]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Resurrect --with(out)-openssl. Controls if openssl should be used, not the same as...
authorHenrik Nordstrom <henrik@henriknordstrom.net>
Sun, 2 May 2010 18:47:44 +0000 (20:47 +0200)
committerHenrik Nordstrom <henrik@henriknordstrom.net>
Sun, 2 May 2010 18:47:44 +0000 (20:47 +0200)
configure.in

index 9eabe54dc8b9ace9c5a63913103f00dcd023cc40..73b72a2fd5f4a2c8dfd995729f333f30b2606e22 100644 (file)
@@ -1109,7 +1109,8 @@ AC_ARG_WITH(openssl,
                   installation can be specified if outside of the
                   system standard directories]), [ 
 case "$with_openssl" in
-  yes|no) AC_MSG_ERROR([--with-openssl requires a path argument])
+  yes|no)
+    : # Nothing special to do here
     ;;
   *)
     if test ! -d $withval ; then
@@ -1117,13 +1118,14 @@ case "$with_openssl" in
     fi
     SSLLIBDIR="$with_openssl/lib"
     CPPFLAGS="-I$with_openssl/include $CPPFLAGS"
-    enable_ssl=yes
+    with_openssl=yes
   esac
 ])
-AC_MSG_NOTICE([Using OpenSSL MD5 implementation: $enable_ssl])
+AC_MSG_NOTICE([SSL/TLS Support: $with_openssl])
 SQUID_DEFINE_UNQUOTED(USE_SSL,$enable_ssl,
    [Define this to include code for SSL gatewaying support])
-SQUID_DEFINE_UNQUOTED(USE_OPENSSL,$enable_ssl,
+AC_MSG_NOTICE([Using OpenSSL MD5 implementation: $with_openssl])
+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