The Samba-Bugzilla – Attachment 7785 Details for
Bug 9037
Name clash in MD5 cause the "net ads join" fails on T4 (sun4v) systems on Solaris 10.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
This seems to fix the build on FreeBSD.
9037.patch (text/plain), 1.42 KB, created by
Volker Lendecke
on 2012-08-16 20:57:36 UTC
(
hide
)
Description:
This seems to fix the build on FreeBSD.
Filename:
MIME Type:
Creator:
Volker Lendecke
Created:
2012-08-16 20:57:36 UTC
Size:
1.42 KB
patch
obsolete
>From c198db2883957c783e0e6e82b0e1bcefc6ba07eb Mon Sep 17 00:00:00 2001 >From: Volker Lendecke <vl@samba.org> >Date: Thu, 16 Aug 2012 20:10:41 +0200 >Subject: [PATCH] s3: Fix #9037, BSD has -lmd instead of -lmd5 > >--- > source3/configure.in | 25 +++++++++++++++++-------- > 1 files changed, 17 insertions(+), 8 deletions(-) > >diff --git a/source3/configure.in b/source3/configure.in >index 373396a..11cb33d 100644 >--- a/source3/configure.in >+++ b/source3/configure.in >@@ -753,20 +753,29 @@ AC_CHECK_HEADERS(linux/falloc.h) > > dnl check for OS implementation of md5 conformant to rfc1321 > AC_CHECK_HEADERS(md5.h) >+ >+samba_cv_md5lib=none >+ > if test x"$ac_cv_header_md5_h" = x"yes"; then > AC_DEFINE(HAVE_MD5_H, 1, > [Whether md5.h is available.]) >- AC_CHECK_LIB(md5, MD5Update, >- [ >- LIBS="${LIBS} -lmd5" >- CRYPTO_MD5_OBJ= >- AC_DEFINE(HAVE_LIBMD5, 1, >- [Whether libmd5 conformant to rfc1321 is available.])], >- [ >- CRYPTO_MD5_OBJ="../lib/crypto/md5.o"]) >+ AC_CHECK_LIB(md5, MD5Update, [samba_cv_md5lib=md5]) >+fi >+ >+if test x"$ac_cv_header_md5_h" = x"yes" -a \ >+ x"$samba_cv_md5lib" = x"none" ; then >+ AC_CHECK_LIB(md, MD5Update, [samba_cv_md5lib=md]) >+fi >+ >+if test x"$samba_cv_md5lib" != x"none" ; then >+ LIBS="${LIBS} -l${samba_cv_md5lib}" >+ CRYPTO_MD5_OBJ= >+ AC_DEFINE(HAVE_LIBMD5, 1, >+ [Whether libmd5 conformant to rfc1321 is available.]) > else > CRYPTO_MD5_OBJ="../lib/crypto/md5.o" > fi >+ > AC_SUBST(CRYPTO_MD5_OBJ) > > >-- >1.7.5.4 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Flags:
bjacke
:
review+
Actions:
View
Attachments on
bug 9037
:
7699
|
7728
| 7785 |
7819