From: Henrik Nordstrom Date: Sun, 2 May 2010 20:21:27 +0000 (+0200) Subject: Correct --with-openssl processing when not given X-Git-Tag: SQUID_3_2_0_1~239 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a024f63d45bdbfa2843f3d8f5a68886366eec47b;p=thirdparty%2Fsquid.git Correct --with-openssl processing when not given --- diff --git a/configure.in b/configure.in index 73b72a2fd5..920f130e86 100644 --- a/configure.in +++ b/configure.in @@ -1097,6 +1097,9 @@ if test ${enable_ssl:=no} = "yes" ; then else SSLLIB='-lssl -lcrypto' fi + if test -z "$with_openssl"; then + with_openssl=yes + fi fi AM_CONDITIONAL(ENABLE_SSL,[ test $enable_ssl = "yes" ]) AC_MSG_NOTICE([SSL gatewaying support enabled: $enable_ssl]) @@ -1121,11 +1124,10 @@ case "$with_openssl" in with_openssl=yes esac ]) -AC_MSG_NOTICE([SSL/TLS Support: $with_openssl]) SQUID_DEFINE_UNQUOTED(USE_SSL,$enable_ssl, [Define this to include code for SSL gatewaying support]) -AC_MSG_NOTICE([Using OpenSSL MD5 implementation: $with_openssl]) -SQUID_DEFINE_UNQUOTED(USE_OPENSSL,$with_openssl, +AC_MSG_NOTICE([Using OpenSSL MD5 implementation: ${with_openssl:=no}]) +SQUID_DEFINE_UNQUOTED(USE_OPENSSL,${with_openssl}, [Define this to make use of the OpenSSL libraries for MD5 calculation rather than Squid-supplied MD5 implementation or if building with SSL encryption]) if test "$enable_ssl" = "yes"; then if test -z "$SSLLIB"; then