git.samba.org
/
amitay
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
263b798
)
There are systems where nanosleep is in libc *and* in librt.
author
Björn Jacke
<bj@sernet.de>
Thu, 12 Feb 2009 10:14:18 +0000
(11:14 +0100)
committer
Volker Lendecke
<vl@samba.org>
Thu, 12 Feb 2009 12:00:45 +0000
(13:00 +0100)
Let's just do the test in librt when the first one failed.
source3/configure.in
patch
|
blob
|
history
diff --git
a/source3/configure.in
b/source3/configure.in
index 46e863a14d6ec794647a93b10302cfb9dbae611e..d11ece1b539fe35241f837fe91ce9904cd20ffed 100644
(file)
--- a/
source3/configure.in
+++ b/
source3/configure.in
@@
-1029,8
+1029,7
@@
AC_CHECK_FUNCS(getdents64)
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(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)