Changeset 1034:00eb23240db1 in roaraudio
Legend:
- Unmodified
- Added
- Removed
-
configure
r1019 r1034 396 396 echo -n 'checking for square root func... ' 397 397 398 echo '#include <math.h>' > $TF_C 399 echo 'int main (void) { sqrtl(0); return 0; }' >> $TF_C 400 401 if $CCTF -lm 2> /dev/null; 402 then 403 echo '#define ROAR_HAVE_SQRTL' >&3 404 echo 'sqrtl()' 405 else 406 echo 'sqrt()' 398 echo "$SYSNAME" | if grep CYGWIN > /dev/null 399 then 400 echo 'sqrt() (cygwin)' 401 else 402 echo '#include <math.h>' > $TF_C 403 echo 'int main (void) { sqrtl(0); return 0; }' >> $TF_C 404 405 if $CCTF -lm 2> /dev/null; 406 then 407 echo '#define ROAR_HAVE_SQRTL' >&3 408 echo 'sqrtl()' 409 else 410 echo 'sqrt()' 411 fi 407 412 fi 408 413 … … 590 595 echo "$SYSNAME" | if grep CYGWIN > /dev/null 591 596 then 592 rm -f $TF_E 597 rm -f $TF_E.exe 593 598 echo 'patching Makefiles for cygwin...' 594 599 find . -name Makefile -print0 | xargs -0 sed 's/\.so/.dll'/g -i
Note: See TracChangeset
for help on using the changeset viewer.