Changeset 3350:96ac7354a1bf in roaraudio


Ignore:
Timestamp:
02/08/10 02:43:23 (10 years ago)
Author:
phi
Branch:
default
Message:

test for strcasestr()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • configure

    r3336 r3350  
    11801180fi 
    11811181 
     1182 
     1183#test_func_defmake ROAR_HAVE_STRCASESTR strcasestr 'strcasestr("", "")'       -- string.h 
     1184echo -n 'checking for strcasestr()... ' 
     1185 
     1186echo '#define _GNU_SOURCE' > $TF_C 
     1187echo '#include <string.h>' >> $TF_C 
     1188echo 'int main (void) { strcasestr("", ""); return 0; }' >> $TF_C 
     1189 
     1190if $CCTF 2> /dev/null; 
     1191then 
     1192 echo '#define ROAR_HAVE_STRCASESTR' >&3 
     1193 NEED_GNU_SOURCE=true 
     1194 echo yes 
     1195else 
     1196 echo no 
     1197fi 
     1198 
    11821199echo -n 'checking for fopencookie()... ' 
    11831200 
Note: See TracChangeset for help on using the changeset viewer.