svn commit: samba r18124 - in branches/SAMBA_4_0/source/lib/replace: .

jelmer at samba.org jelmer at samba.org
Wed Sep 6 01:50:10 GMT 2006


Author: jelmer
Date: 2006-09-06 01:50:09 +0000 (Wed, 06 Sep 2006)
New Revision: 18124

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

Log:
Keep right libs when looking for dl*() functions

Modified:
   branches/SAMBA_4_0/source/lib/replace/libreplace.m4


Changeset:
Modified: branches/SAMBA_4_0/source/lib/replace/libreplace.m4
===================================================================
--- branches/SAMBA_4_0/source/lib/replace/libreplace.m4	2006-09-06 01:45:07 UTC (rev 18123)
+++ branches/SAMBA_4_0/source/lib/replace/libreplace.m4	2006-09-06 01:50:09 UTC (rev 18124)
@@ -144,11 +144,11 @@
 save_LIBS="$LIBS"
 LIBS=""
 AC_SEARCH_LIBS(dlopen, dl)
+AC_CHECK_HEADERS(dlfcn.h)
+AC_CHECK_FUNCS(dlopen dlsym dlerror dlclose)
 LIBDL="$LIBS"
 AC_SUBST(LIBDL)
 LIBS="$save_LIBS"
-AC_CHECK_HEADERS(dlfcn.h)
-AC_CHECK_FUNCS(dlopen dlsym dlerror dlclose)
 
 AC_CHECK_FUNCS([syslog memset setnetgrent getnetgrent endnetgrent memcpy],,
 			   [AC_MSG_ERROR([Required function not found])])



More information about the samba-cvs mailing list