aboutsummaryrefslogtreecommitdiffstats
path: root/erts/configure.in
diff options
context:
space:
mode:
authorTuncer Ayaz <[email protected]>2011-06-13 15:17:19 +0200
committerTuncer Ayaz <[email protected]>2011-06-13 15:42:29 +0200
commit8f0f462f80891ca333fdcefd540bc0a43364de30 (patch)
tree405b8e49b1236c1bcf5d75b8126fc8e7f1099a1c /erts/configure.in
parent8b579a299e36a3c80fd421b11c3a20c4c18de3c3 (diff)
downloadotp-8f0f462f80891ca333fdcefd540bc0a43364de30.tar.gz
otp-8f0f462f80891ca333fdcefd540bc0a43364de30.tar.bz2
otp-8f0f462f80891ca333fdcefd540bc0a43364de30.zip
Document fdatasync -lrt requirement (SunOS <= 5.10)
Diffstat (limited to 'erts/configure.in')
-rw-r--r--erts/configure.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/erts/configure.in b/erts/configure.in
index a75cbeee7b..d4298caf11 100644
--- a/erts/configure.in
+++ b/erts/configure.in
@@ -1677,6 +1677,9 @@ dnl fdatasync syscall (Unix only)
AC_CHECK_FUNCS([fdatasync])
dnl Find which C libraries are required to use fdatasync
+dnl TODO: Remove check once SunOS >= 5.11 is required by erts.
+dnl fdatasync requires linking against -lrt on SunOS <= 5.10.
+dnl OpenSolaris 2009.06 is SunOS 5.11 and does not require -lrt.
AC_SEARCH_LIBS(fdatasync, [rt])
dnl ----------------------------------------------------------------------