svn commit: samba r4362 - in branches/SAMBA_4_0/source/build/m4: .

jelmer at samba.org jelmer at samba.org
Sat Dec 25 21:49:21 GMT 2004


Author: jelmer
Date: 2004-12-25 21:49:21 +0000 (Sat, 25 Dec 2004)
New Revision: 4362

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

Log:
dlopen() doesn't imply -ldl
Should fix the build on several *BSD systems that have dlopen() in libc

Modified:
   branches/SAMBA_4_0/source/build/m4/rewrite.m4


Changeset:
Modified: branches/SAMBA_4_0/source/build/m4/rewrite.m4
===================================================================
--- branches/SAMBA_4_0/source/build/m4/rewrite.m4	2004-12-25 14:12:31 UTC (rev 4361)
+++ branches/SAMBA_4_0/source/build/m4/rewrite.m4	2004-12-25 21:49:21 UTC (rev 4362)
@@ -281,7 +281,7 @@
 
 ############################################
 # we need dlopen/dlclose/dlsym/dlerror for PAM, the password database plugins and the plugin loading code
-AC_SEARCH_LIBS(dlopen, [dl], [SMB_EXT_LIB(DL, [-ldl])])
+AC_SEARCH_LIBS(dlopen, [dl], [SMB_EXT_LIB(DL, [$ac_cv_search_dlopen])])
 # dlopen/dlclose/dlsym/dlerror will be checked again later and defines will be set then
 
 ############################################



More information about the samba-cvs mailing list