Changeset 1385:59fc0c9c9ba5 in roaraudio


Ignore:
Timestamp:
03/25/09 14:18:40 (15 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

test for wait() and fork()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • configure

    r1384 r1385  
    641641fi 
    642642 
     643echo -n 'checking for fork()... ' 
     644 
     645echo '#include <unistd.h>'      > $TF_C 
     646echo 'int main (void) { fork(); return 0; }' >> $TF_C 
     647 
     648if $CCTF 2> /dev/null; 
     649then 
     650 echo '#define ROAR_HAVE_FORK' >&3 
     651 echo yes 
     652else 
     653 echo no 
     654fi 
     655 
     656echo -n 'checking for wait()... ' 
     657 
     658echo '#include <sys/wait.h>'      > $TF_C 
     659echo 'int main (void) { wait(NULL); return 0; }' >> $TF_C 
     660 
     661if $CCTF 2> /dev/null; 
     662then 
     663 echo '#define ROAR_HAVE_WAIT' >&3 
     664 echo yes 
     665else 
     666 echo no 
     667fi 
     668 
    643669echo -n 'checking for square root func... ' 
    644670 
Note: See TracChangeset for help on using the changeset viewer.