svn commit: samba r17769 - in branches/SAMBA_4_0/source/lib/ldb: .

tridge at samba.org tridge at samba.org
Thu Aug 24 06:04:12 GMT 2006


Author: tridge
Date: 2006-08-24 06:04:12 +0000 (Thu, 24 Aug 2006)
New Revision: 17769

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=17769

Log:

only look for dlopen in -ldl if not found in libc. Needed for us4

Modified:
   branches/SAMBA_4_0/source/lib/ldb/configure.in


Changeset:
Modified: branches/SAMBA_4_0/source/lib/ldb/configure.in
===================================================================
--- branches/SAMBA_4_0/source/lib/ldb/configure.in	2006-08-24 04:14:34 UTC (rev 17768)
+++ branches/SAMBA_4_0/source/lib/ldb/configure.in	2006-08-24 06:04:12 UTC (rev 17769)
@@ -37,8 +37,7 @@
 AC_PATH_PROG(SLAPD,slapd)
 AC_CHECK_HEADERS(stdint.h dlfcn.h)
 AC_CONFIG_HEADER(include/config.h)
-AC_CHECK_LIB(dl, dlopen)
-AC_CHECK_FUNCS(dlopen dlsym dlclose)
+AC_SEARCH_LIBS(dlopen, dl, AC_DEFINE(HAVE_DLOPEN, [1], [have dlopen]))
 
 SHLIBEXT="so" # Should be set based on OS later on
 AC_SUBST(SHLIBEXT)



More information about the samba-cvs mailing list