Changeset 1749:c2a6a18b3726 in roaraudio
Legend:
- Unmodified
- Added
- Removed
-
configure
r1739 r1749 823 823 fi 824 824 825 echo -n 'checking for getgid()... ' 826 827 echo '#include <sys/types.h>' > $TF_C 828 echo '#include <unistd.h>' >> $TF_C 829 echo 'int main (void) { getgid(); return 0; }' >> $TF_C 830 831 if $CCTF 2> /dev/null; 832 then 833 echo '#define ROAR_HAVE_GETGID' >&3 834 echo yes 835 else 836 echo no 837 fi 838 839 840 echo -n 'checking for getuid()... ' 841 842 echo '#include <sys/types.h>' > $TF_C 843 echo '#include <unistd.h>' >> $TF_C 844 echo 'int main (void) { getuid(); return 0; }' >> $TF_C 845 846 if $CCTF 2> /dev/null; 847 then 848 echo '#define ROAR_HAVE_GETUID' >&3 849 echo yes 850 else 851 echo no 852 fi 825 853 826 854 echo -n 'checking for setgid()... ' … … 853 881 fi 854 882 883 echo -n 'checking for setsid()... ' 884 echo '#include <sys/types.h>' > $TF_C 885 echo '#include <unistd.h>' >> $TF_C 886 echo 'int main (void) { setsid(); return 0; }' >> $TF_C 887 888 if $CCTF 2> /dev/null; 889 then 890 echo '#define ROAR_HAVE_SETSID' >&3 891 echo yes 892 else 893 echo no 894 fi 895 855 896 856 897 echo -n 'checking for gettimeofday()... ' … … 868 909 fi 869 910 911 echo -n 'checking for usleep()... ' 912 913 echo '#include <sys/types.h>' > $TF_C 914 echo '#include <unistd.h>' >> $TF_C 915 echo 'int main (void) { usleep(0); return 0; }' >> $TF_C 916 917 if $CCTF 2> /dev/null; 918 then 919 echo '#define ROAR_HAVE_USLEEP' >&3 920 echo yes 921 else 922 echo no 923 fi 870 924 871 925 echo -n 'checking for basic IO calls... '
Note: See TracChangeset
for help on using the changeset viewer.