diff options
author | Björn Jacke <bj@sernet.de> | 2009-02-12 11:14:18 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2009-02-12 13:00:45 +0100 |
commit | 4f6d1728254c8503e71c6fdd008fb7264dec26c5 (patch) | |
tree | 358ab4c8ee23c661ffd4cb1d8ac106bad3c7f5d5 /source3 | |
parent | 263b798db9bd6c26a51fbf38e4d5d693d234fa5f (diff) | |
download | samba-4f6d1728254c8503e71c6fdd008fb7264dec26c5.tar.gz samba-4f6d1728254c8503e71c6fdd008fb7264dec26c5.tar.bz2 samba-4f6d1728254c8503e71c6fdd008fb7264dec26c5.zip |
There are systems where nanosleep is in libc *and* in librt.
Let's just do the test in librt when the first one failed.
Diffstat (limited to 'source3')
-rw-r--r-- | source3/configure.in | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/configure.in b/source3/configure.in index 46e863a14d..d11ece1b53 100644 --- 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) |