Changeset 1441:bc1afa66cc36 in roaraudio


Ignore:
Timestamp:
03/26/09 19:59:49 (15 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

test for mmap()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • configure

    r1427 r1441  
    642642fi 
    643643 
     644echo -n 'checking for mmap()... ' 
     645 
     646echo '#include <sys/mman.h>' > $TF_C 
     647echo 'int main (void) { mmap((void*)0, 0, 0, 0, 0, 0); return 0; }' >> $TF_C 
     648 
     649if $CCTF 2> /dev/null; 
     650then 
     651 echo '#define ROAR_HAVE_MMAP' >&3 
     652 echo yes 
     653else 
     654 echo no 
     655fi 
     656 
    644657echo -n 'checking for fsync()... ' 
    645658 
Note: See TracChangeset for help on using the changeset viewer.