From 30a224367595f9e2506e41053fc9c7cb96a90928 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Wed, 22 May 2013 00:14:19 +1000 Subject: build: Update md5.h detection in waf and autoconf to use sys/md5.h and -lmd This brings the two build systems in sync, without using md5.h (which is a problem name) Tested on FreeBSD Andrew Bartlett Reviewed-by: Richard Sharpe Autobuild-User(master): Richard Sharpe Autobuild-Date(master): Wed May 22 10:06:40 CEST 2013 on sn-devel-104 --- source3/configure.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3/configure.in') diff --git a/source3/configure.in b/source3/configure.in index 822c5f4442..0e2f1267a7 100644 --- a/source3/configure.in +++ b/source3/configure.in @@ -620,11 +620,11 @@ if test x"$samba_cv_md5lib" = x"none" ; then fi if test x"$samba_cv_md5lib" != x"none" ; then - AC_CHECK_HEADERS(md5.h) + AC_CHECK_HEADERS(sys/md5.h) fi CRYPTO_MD5_OBJ="../lib/crypto/md5.o" -if test x"$ac_cv_header_md5_h" = x"yes" -a \ +if test x"$ac_cv_header_sys_md5_h" = x"yes" -a \ x"$samba_cv_md5lib" != x"none" ; then if test x"$samba_cv_md5lib" != x ; then LIBS="${LIBS} -l${samba_cv_md5lib}" -- cgit