From 145bc26a0f58943cfa41fe2955fc7258e6bb6f54 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Tue, 6 Nov 2007 03:43:50 +0100 Subject: r25855: Check for HPUX dl functions. (This used to be commit 478b5ac8d92a23a32349bedfe7c6caf98b67fb39) --- source4/lib/replace/dlfcn.m4 | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'source4/lib/replace') 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; -- cgit