Changeset 1397:9b4664b6c3dc in roaraudio for configure
Legend:
- Unmodified
- Added
- Removed
-
configure
r1394 r1397 38 38 PROC_NET_DECNET="/proc/net/decnet" 39 39 TTY_DEV="none" 40 41 FSYNC=false 40 42 41 43 DEFAULT_GRP='' … … 612 614 fi 613 615 616 echo -n 'checking for fsync()... ' 617 618 echo '#include <unistd.h>' > $TF_C 619 echo 'int main (void) { fsync(0); return 0; }' >> $TF_C 620 621 if $CCTF 2> /dev/null; 622 then 623 echo '#define ROAR_HAVE_FSYNC' >&3 624 FSYNC=true 625 echo yes 626 else 627 FSYNC=false 628 echo no 629 fi 630 614 631 echo -n 'checking for fdatasync()... ' 615 632 … … 623 640 echo yes 624 641 else 625 echo '#define ROAR_FDATASYNC fsync' >&3642 $FSYNC && echo '#define ROAR_FDATASYNC fsync' >&3 626 643 echo no 627 644 fi
Note: See TracChangeset
for help on using the changeset viewer.