Changeset 1034:00eb23240db1 in roaraudio


Ignore:
Timestamp:
12/22/08 13:04:31 (15 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

new set of cygwin patches: there is no working sqrtl() on cygwin and delete $TF_E.exe not $TFE

File:
1 edited

Legend:

Unmodified
Added
Removed
  • configure

    r1019 r1034  
    396396echo -n 'checking for square root func... ' 
    397397 
    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()' 
     398echo "$SYSNAME" | if grep CYGWIN > /dev/null 
     399then 
     400 echo 'sqrt() (cygwin)' 
     401else 
     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 
    407412fi 
    408413 
     
    590595echo "$SYSNAME" | if grep CYGWIN > /dev/null 
    591596then 
    592  rm -f $TF_E 
     597 rm -f $TF_E.exe 
    593598 echo 'patching Makefiles for cygwin...' 
    594599 find . -name Makefile -print0 | xargs -0 sed 's/\.so/.dll'/g -i 
Note: See TracChangeset for help on using the changeset viewer.