diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2006-09-06 01:50:09 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:17:35 -0500 |
commit | 7e251d1f1182c0c3317bbf3d3ab073eadc7f4583 (patch) | |
tree | e419f65464383fd82ebd5644d923c8e89eb264e6 | |
parent | ca720634dd87ec4d7b8c82a1eea46931dab03667 (diff) | |
download | samba-7e251d1f1182c0c3317bbf3d3ab073eadc7f4583.tar.gz samba-7e251d1f1182c0c3317bbf3d3ab073eadc7f4583.tar.bz2 samba-7e251d1f1182c0c3317bbf3d3ab073eadc7f4583.zip |
r18124: Keep right libs when looking for dl*() functions
(This used to be commit 12ce4cef2fcdb4224fdf15c9ecf952ceb797f02c)
-rw-r--r-- | source4/lib/replace/libreplace.m4 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/lib/replace/libreplace.m4 b/source4/lib/replace/libreplace.m4 index ffea11f734..c396f11dfd 100644 --- a/source4/lib/replace/libreplace.m4 +++ b/source4/lib/replace/libreplace.m4 @@ -144,11 +144,11 @@ dnl dummies provided by dlfcn.c if not available save_LIBS="$LIBS" LIBS="" AC_SEARCH_LIBS(dlopen, dl) +AC_CHECK_HEADERS(dlfcn.h) +AC_CHECK_FUNCS(dlopen dlsym dlerror dlclose) LIBDL="$LIBS" AC_SUBST(LIBDL) LIBS="$save_LIBS" -AC_CHECK_HEADERS(dlfcn.h) -AC_CHECK_FUNCS(dlopen dlsym dlerror dlclose) AC_CHECK_FUNCS([syslog memset setnetgrent getnetgrent endnetgrent memcpy],, [AC_MSG_ERROR([Required function not found])]) |