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

jelmer at samba.org jelmer at samba.org
Sat Dec 25 22:18:13 GMT 2004


Author: jelmer
Date: 2004-12-25 22:18:12 +0000 (Sat, 25 Dec 2004)
New Revision: 4363

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

Log:
value "none required" is set if no library is needed (autoconf does this the same way)

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 21:49:21 UTC (rev 4362)
+++ branches/SAMBA_4_0/source/build/m4/rewrite.m4	2004-12-25 22:18:12 UTC (rev 4363)
@@ -281,7 +281,13 @@
 
 ############################################
 # 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, [$ac_cv_search_dlopen])])
+AC_SEARCH_LIBS(dlopen, [dl], [
+			   tmp=$ac_cv_search_dlopen
+			   if test "$ac_cv_search_dlopen" = "none required"; then 
+			       tmp=""
+			   fi
+			   SMB_EXT_LIB(DL, [$tmp])]
+			   )
 # dlopen/dlclose/dlsym/dlerror will be checked again later and defines will be set then
 
 ############################################



More information about the samba-cvs mailing list