summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorBjörn Jacke <bj@sernet.de>2010-05-07 12:53:53 +0200
committerBjörn Jacke <bj@sernet.de>2010-05-07 12:53:53 +0200
commit5910f4cadea4f2564fe360602e5077c388a8c8cd (patch)
treeff66ec130a77762707bf02cf7f8a425f4f5764b8 /source3
parent358a3855c20153d7fe742ca2e6b9bd8a9c92e525 (diff)
downloadsamba-5910f4cadea4f2564fe360602e5077c388a8c8cd.tar.gz
samba-5910f4cadea4f2564fe360602e5077c388a8c8cd.tar.bz2
samba-5910f4cadea4f2564fe360602e5077c388a8c8cd.zip
s3:configure: search fdatasync also in librt
Sun^W Oracle Solaris has it there ...
Diffstat (limited to 'source3')
-rw-r--r--source3/configure.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/configure.in b/source3/configure.in
index 61e60a11b6..050c16a024 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -1054,7 +1054,8 @@ fi
AC_CHECK_FUNCS(getcwd fchown chmod fchmod mknod mknod64)
AC_CHECK_FUNCS(strtol)
AC_CHECK_FUNCS(strchr chflags)
-AC_CHECK_FUNCS(getrlimit fsync fdatasync setpgid)
+AC_CHECK_FUNCS(getrlimit fsync setpgid)
+AC_CHECK_FUNCS(fdatasync,,[AC_CHECK_LIB_EXT(rt, LIBS, fdatasync)])
AC_CHECK_FUNCS(setsid glob strpbrk crypt16 getauthuid)
AC_CHECK_FUNCS(sigprocmask sigblock sigaction sigset innetgr setnetgrent getnetgrent endnetgrent)
AC_CHECK_FUNCS(initgroups select poll rdchk getgrnam getgrent pathconf)