summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjörn Jacke <bj@sernet.de>2009-01-30 17:28:18 +0100
committerKarolin Seeger <kseeger@samba.org>2009-02-09 09:15:52 +0100
commitc7377b2c4d31b293a47d1cae85304fd7668a82f2 (patch)
tree3d160a8de37b0ce6e51bab4df2ef1c3a8d579701
parentc3b9b6c8aae1dea8df5fc7bff873a015aaa92d6e (diff)
downloadsamba-c7377b2c4d31b293a47d1cae85304fd7668a82f2.tar.gz
samba-c7377b2c4d31b293a47d1cae85304fd7668a82f2.tar.bz2
samba-c7377b2c4d31b293a47d1cae85304fd7668a82f2.zip
look for nanosleep in librt, some Unix flavours have it there
-rw-r--r--source3/configure.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/configure.in b/source3/configure.in
index 431d330295..37ee9a131f 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -1042,6 +1042,7 @@ AC_CHECK_FUNCS(setenv strcasecmp fcvt fcvtl)
AC_CHECK_FUNCS(syslog vsyslog timegm)
AC_CHECK_FUNCS(setlocale nl_langinfo)
AC_CHECK_FUNCS(nanosleep)
+AC_CHECK_LIB_EXT(rt, LIBS, nanosleep)
AC_CHECK_FUNCS(mlock munlock mlockall munlockall)
AC_CHECK_FUNCS(memalign posix_memalign hstrerror)
AC_CHECK_HEADERS(sys/mman.h)