summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorjelmer <jelmer@0c0555d6-39d7-0310-84fc-f1cc0bd64818>2007-11-06 03:43:50 +0000
committerStefan Metzmacher <metze@samba.org>2007-11-06 09:38:58 +0100
commit29303bd12eaf9f9845d9432c6e041d704bfc885e (patch)
tree2118c21e05c0bf607596ba195602b7236c888663 /source3/lib
parenta2cf98daf039d3836a5d58404c536e6a111b4aad (diff)
downloadsamba-29303bd12eaf9f9845d9432c6e041d704bfc885e.tar.gz
samba-29303bd12eaf9f9845d9432c6e041d704bfc885e.tar.bz2
samba-29303bd12eaf9f9845d9432c6e041d704bfc885e.zip
Check for HPUX dl functions.
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25855 0c0555d6-39d7-0310-84fc-f1cc0bd64818 (This used to be commit 9f862e9faf0fa9cddfcc2f87d9f247082718b3e0)
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/replace/dlfcn.m45
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/lib/replace/dlfcn.m4 b/source3/lib/replace/dlfcn.m4
index c5b7597d7a..42f56f26be 100644
--- a/source3/lib/replace/dlfcn.m4
+++ b/source3/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;