[SCM] Samba Shared Repository - branch v3-6-test updated

Karolin Seeger kseeger at samba.org
Tue Aug 28 01:23:02 MDT 2012


The branch, v3-6-test has been updated
       via  e2200d5 s3: fix #9037 even more - open and netbsd have the md5 symbols in libc
      from  16cda12 s3:smb2_ioctl: add some more validation checks

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-6-test


- Log -----------------------------------------------------------------
commit e2200d51550f73e66924277d4c7290b0eeab3f23
Author: Björn Jacke <bj at sernet.de>
Date:   Fri Aug 24 21:13:45 2012 +0200

    s3: fix #9037 even more - open and netbsd have the md5 symbols in libc

-----------------------------------------------------------------------

Summary of changes:
 source3/configure.in |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/configure.in b/source3/configure.in
index aae2be0..eef3d13 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -767,8 +767,15 @@ if test x"$ac_cv_header_md5_h" = x"yes" -a \
 	AC_CHECK_LIB(md, MD5Update, [samba_cv_md5lib=md])
 fi
 
+if test x"$ac_cv_header_md5_h" = x"yes" -a \
+        x"$samba_cv_md5lib" = x"none" ; then
+	AC_CHECK_LIB(c, MD5Update, [samba_cv_md5lib=""])
+fi
+
 if test x"$samba_cv_md5lib" != x"none" ; then
-	LIBS="${LIBS} -l${samba_cv_md5lib}"
+	if test x"$samba_cv_md5lib" != x ; then
+		LIBS="${LIBS} -l${samba_cv_md5lib}"
+	fi
 	CRYPTO_MD5_OBJ=
 	AC_DEFINE(HAVE_LIBMD5, 1,
 	    [Whether libmd5 conformant to rfc1321 is available.])


-- 
Samba Shared Repository


More information about the samba-cvs mailing list