Fix MD5 detection in the autoconf build
commitb0595adc6618c26621c379abdab8247a3327d941
authorMatthieu Patou <mat@matws.net>
Wed, 21 Nov 2012 20:07:42 +0000 (21 12:07 -0800)
committerKarolin Seeger <kseeger@samba.org>
Thu, 29 Nov 2012 08:02:09 +0000 (29 09:02 +0100)
treeccddba933520eb19a40e2c4b1c0e7409f4ae02be
parent1036f3d93311f7521ba2ef56a83d74a0b7ac2e36
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
(cherry picked from commit 8f4b871e9776245f599a302f569594aaba9d25c9)
source3/configure.in