From 9c10d69f36fed4962354b7a38261fe47f154ba2b Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Fri, 19 Mar 2010 00:07:08 +0100 Subject: Fix MD5 compile on Solaris. --- configure.ac | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'configure.ac') 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)"]) -- cgit v1.2.3