aboutsummaryrefslogtreecommitdiffstats
path: root/erts
diff options
context:
space:
mode:
authorTuncer Ayaz <[email protected]>2011-06-07 19:26:01 +0200
committerTuncer Ayaz <[email protected]>2011-06-09 19:02:07 +0200
commit8b579a299e36a3c80fd421b11c3a20c4c18de3c3 (patch)
tree3d4a0381b2a4f51a42379cf9814cee5dd27b3f40 /erts
parent751ec4f918bed2f5455538e6296c6b925bcca002 (diff)
downloadotp-8b579a299e36a3c80fd421b11c3a20c4c18de3c3.tar.gz
otp-8b579a299e36a3c80fd421b11c3a20c4c18de3c3.tar.bz2
otp-8b579a299e36a3c80fd421b11c3a20c4c18de3c3.zip
Move fdatasync autoconf checks to proper place
Diffstat (limited to 'erts')
-rw-r--r--erts/configure.in12
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])