diff options
author | Tuncer Ayaz <[email protected]> | 2011-06-07 19:26:01 +0200 |
---|---|---|
committer | Tuncer Ayaz <[email protected]> | 2011-06-09 19:02:07 +0200 |
commit | 8b579a299e36a3c80fd421b11c3a20c4c18de3c3 (patch) | |
tree | 3d4a0381b2a4f51a42379cf9814cee5dd27b3f40 /erts/configure.in | |
parent | 751ec4f918bed2f5455538e6296c6b925bcca002 (diff) | |
download | otp-8b579a299e36a3c80fd421b11c3a20c4c18de3c3.tar.gz otp-8b579a299e36a3c80fd421b11c3a20c4c18de3c3.tar.bz2 otp-8b579a299e36a3c80fd421b11c3a20c4c18de3c3.zip |
Move fdatasync autoconf checks to proper place
Diffstat (limited to 'erts/configure.in')
-rw-r--r-- | erts/configure.in | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/erts/configure.in b/erts/configure.in index fac07f8b6a..a75cbeee7b 100644 --- a/erts/configure.in +++ b/erts/configure.in @@ -1673,6 +1673,12 @@ esac AC_C_BIGENDIAN +dnl fdatasync syscall (Unix only) +AC_CHECK_FUNCS([fdatasync]) + +dnl Find which C libraries are required to use fdatasync +AC_SEARCH_LIBS(fdatasync, [rt]) + dnl ---------------------------------------------------------------------- dnl Checks for library functions. dnl ---------------------------------------------------------------------- @@ -1860,12 +1866,6 @@ fi dnl Need by run_erl. AC_CHECK_FUNCS([openpty]) -dnl fdatasync syscall (Unix only) -AC_CHECK_FUNCS([fdatasync]) - -dnl Find which C libraries are required to use fdatasync -AC_SEARCH_LIBS(fdatasync, [rt]) - AC_CHECK_HEADERS(net/if_dl.h ifaddrs.h netpacket/packet.h) AC_CHECK_FUNCS([getifaddrs]) |