Changeset 1468:dd5c3b050dc6 in roaraudio
Legend:
- Unmodified
- Added
- Removed
-
configure
r1462 r1468 24 24 SHARED_CF='' 25 25 fPIC=true 26 MMCU='' 26 27 PKG_CONFIG=false 27 28 RUNTIME_DETECT=false … … 153 154 echo '--without-xmms - Disable build of XMMS plugin' 154 155 echo 156 echo '--mmcu MMCU - Sets -mmcu compiler/linker option' 155 157 echo '--minimal - Disable all optional components' 156 158 echo '--cross-compile - Enable cross compiler workarounds' … … 296 298 shift; 297 299 ;; 300 '--mmcu') 301 MMCU="$2" 302 shift; 303 ;; 298 304 '--cross-compile') 299 305 CROSS_COMPILE=true … … 472 478 473 479 [ "$DEFAULT_GRP" = '' ] && DEFAULT_GRP='audio' 480 481 if [ "$MMCU" != '' ] 482 then 483 CC="$CC -mmcu=$MMCU" 484 fi 474 485 475 486 # now write the cc name to Makefile.conf … … 813 824 fi 814 825 826 echo -n 'checking for select()... ' 827 cat <<EOF > $TF_C 828 #include <sys/select.h> 829 #include <sys/time.h> 830 #include <sys/types.h> 831 #include <unistd.h> 832 833 int main (void) { 834 fd_set rfds; 835 struct timeval tv; 836 837 FD_ZERO(&rfds); 838 FD_SET(0, &rfds); 839 840 tv.tv_sec = 0; 841 tv.tv_usec = 0; 842 843 select(1, &rfds, NULL, NULL, &tv); 844 845 return 0; 846 } 847 EOF 848 849 if $CCTF 2> /dev/null; 850 then 851 echo '#define ROAR_HAVE_SELECT' >&3 852 echo yes 853 else 854 echo no 855 fi 856 815 857 echo -n 'checking for getobjectbyname()... ' 816 858 echo '#include <netdnet/dn.h>' > $TF_C
Note: See TracChangeset
for help on using the changeset viewer.