summaryrefslogtreecommitdiff
path: root/source4/lib
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-11-06 03:43:50 +0100
committerStefan Metzmacher <metze@samba.org>2007-12-21 05:44:29 +0100
commit145bc26a0f58943cfa41fe2955fc7258e6bb6f54 (patch)
tree6e26e326f698bc21d0c9f66e33c3a8bf2b35d645 /source4/lib
parentf0be600e0dc1c768cbb9b65f56fa4d344b23c335 (diff)
downloadsamba-145bc26a0f58943cfa41fe2955fc7258e6bb6f54.tar.gz
samba-145bc26a0f58943cfa41fe2955fc7258e6bb6f54.tar.bz2
samba-145bc26a0f58943cfa41fe2955fc7258e6bb6f54.zip
r25855: Check for HPUX dl functions.
(This used to be commit 478b5ac8d92a23a32349bedfe7c6caf98b67fb39)
Diffstat (limited to 'source4/lib')
-rw-r--r--source4/lib/replace/dlfcn.m45
1 files changed, 5 insertions, 0 deletions
diff --git a/source4/lib/replace/dlfcn.m4 b/source4/lib/replace/dlfcn.m4
index c5b7597d7a..42f56f26be 100644
--- a/source4/lib/replace/dlfcn.m4
+++ b/source4/lib/replace/dlfcn.m4
@@ -8,6 +8,11 @@ AC_SEARCH_LIBS(dlopen, dl)
AC_CHECK_HEADERS(dlfcn.h)
AC_CHECK_FUNCS([dlopen dlsym dlerror dlclose],[],[libreplace_cv_dlfcn=yes])
+libreplace_cv_shl=no
+AC_SEARCH_LIBS(shl_load, sl)
+AC_CHECK_HEADERS(dl.h)
+AC_CHECK_FUNCS([shl_load shl_unload shl_findsym],[],[libreplace_cv_shl=yes])
+
AC_VERIFY_C_PROTOTYPE([void *dlopen(const char* filename, unsigned int flags)],
[
return 0;