Fix MD5 detection in the autoconf build
commit8f4b871e9776245f599a302f569594aaba9d25c9
authorMatthieu Patou <mat@matws.net>
Wed, 21 Nov 2012 20:07:42 +0000 (21 12:07 -0800)
committerStefan Metzmacher <metze@samba.org>
Fri, 23 Nov 2012 09:05:34 +0000 (23 10:05 +0100)
treec3f28063cd2e245706a089ef4205e7400f0a97b8
parent0d9bdcf834cbe9ec4e1354bc7e912f197bf72d7b
Fix MD5 detection in the autoconf build

This is a front port of patches made in 3.6.x branch for bugs:
* 9037
* 9086
* 9094
* 9418

It checks if there is a library for md5 related functions (libmd or
libmd5) and if so it checks for the presence of md5.h headers it also
respect the need for osX build to not use samba's md5 implementation as
it's already present in the system libs.

Signed-off-by: Matthieu Patou <mat@matws.net>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Fri Nov 23 10:05:34 CET 2012 on sn-devel-104
source3/configure.in