diff options
-rw-r--r-- | source3/configure.in | 3 |
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) |