aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorMatthias Andree <matthias.andree@gmx.de>2010-03-19 00:07:08 +0100
committerMatthias Andree <matthias.andree@gmx.de>2010-03-19 00:07:08 +0100
commit9c10d69f36fed4962354b7a38261fe47f154ba2b (patch)
tree0cbbab94f893644ca88438c361025733dd917bbd /configure.ac
parent8e4bfa7520c919ec2a7b00067c3348f0d1c73c8d (diff)
downloadfetchmail-9c10d69f36fed4962354b7a38261fe47f154ba2b.tar.gz
fetchmail-9c10d69f36fed4962354b7a38261fe47f154ba2b.tar.bz2
fetchmail-9c10d69f36fed4962354b7a38261fe47f154ba2b.zip
Fix MD5 compile on Solaris.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac6
1 files changed, 3 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index 6f47a32c..2076ca86 100644
--- a/configure.ac
+++ b/configure.ac
@@ -114,8 +114,8 @@ darwin*)
;;
# Check for FreeBSD special case: more libs needed
freebsd*)
- AC_MSG_NOTICE(found FreeBSD - Adding -lmd -lkvm -lcom_err to standard libraries)
- LIBS="$LIBS -lmd -lkvm -lcom_err"
+ AC_MSG_NOTICE(found FreeBSD - Adding -lkvm -lcom_err to standard libraries)
+ LIBS="$LIBS -lkvm -lcom_err"
;;
# Check for LynxOS special case: -lbsd needed (at least on 2.3.0) and -s
# not working.
@@ -170,7 +170,7 @@ dnl [LIBS="$LIBS -lintl"])
AC_REPLACE_FUNCS([strstr strcasecmp memmove stpcpy strlcpy strlcat])
-AC_CHECK_FUNC(MD5Init, [],
+AC_SEARCH_LIBS(MD5Init, [md5, md], [],
[AC_LIBSOURCE(md5c.c)
EXTRAOBJ="$EXTRAOBJ md5c.\$(OBJEXT)"])