blob: 81398e2851882b3a99f71e223d0e4a6e960a895c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
diff -Nru squid-3.1.0.15.orig/configure.in squid-3.1.0.15/configure.in
--- squid-3.1.0.15.orig/configure.in 2009-11-23 04:11:00.000000000 +0100
+++ squid-3.1.0.15/configure.in 2009-11-29 09:44:37.000000000 +0100
@@ -2802,7 +2802,11 @@
dnl libcrypt (eg FreeBSD)
AC_CHECK_LIB(crypt, crypt, [CRYPTLIB="-lcrypt"])
dnl Solaris10 provides MD5 natively through libmd5
-AC_CHECK_LIB(md5, MD5Init, [CRYPTLIB="$CRYPTLIB -lmd5"])
+case "$host" in
+ *-solaris*)
+ AC_CHECK_LIB(md5, MD5Init, [CRYPTLIB="$CRYPTLIB -lmd5"])
+ ;;
+esac
AC_SUBST(CRYPTLIB)
dnl Check for libdl, used by auth_modules/PAM
|