Changeset 1519:b39602c225c5 in roaraudio


Ignore:
Timestamp:
04/11/09 22:38:03 (15 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

test for cygwin more efficent, disable -fPIC on cygwin...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • configure

    r1503 r1519  
    7777TARGET_WIN32=false 
    7878TARGET_MICROCONTROLLER=false 
     79TARGET_CYGWIN=false 
    7980 
    8081EXEC_HELPER='' 
     
    465466exec 3> config.h 4> Makefile.conf 
    466467 
     468echo "$SYSNAME" | if grep CYGWIN > /dev/null 
     469then 
     470 TARGET_CYGWIN=true 
     471# echo "cygwin detected" 
     472fi 
     473 
    467474if [ "$SYSNAME" = 'Darwin' ] 
    468475then 
     
    488495then 
    489496 echo "Adding win32 build arguments..." 
     497 fPIC=false 
     498elif $TARGET_CYGWIN 
     499then 
     500 echo "Adding cygwin build arguments..." 
    490501 fPIC=false 
    491502fi 
     
    932943echo -n 'checking for square root func... ' 
    933944 
    934 echo "$SYSNAME" | if grep CYGWIN > /dev/null 
     945if $TARGET_CYGWIN 
    935946then 
    936947 echo 'sqrt() (cygwin)' 
     
    12841295echo 'config.h created and moved into include/roaraudio/' 
    12851296 
    1286 echo "$SYSNAME" | if grep CYGWIN > /dev/null 
     1297if $TARGET_CYGWIN 
    12871298then 
    12881299 rm -f $TF_E.exe 
Note: See TracChangeset for help on using the changeset viewer.