[squid-dev] squid master build with alternate openssl fails
Amos Jeffries
squid3 at treenet.co.nz
Fri May 8 14:50:16 UTC 2020
Does this change resolve the issue for you?
diff --git a/acinclude/squid-util.m4 b/acinclude/squid-util.m4
index 7f5a72e5b..5860b690e 100644
--- a/acinclude/squid-util.m4
+++ b/acinclude/squid-util.m4
@@ -188,9 +188,9 @@ AC_DEFUN([SQUID_OPTIONAL_LIB],[
squid_auto_lib=`echo $1|tr "\-" "_"`
set with_$squid_auto_lib = no
AC_ARG_WITH([$1],AS_HELP_STRING([--with-$1],[Compile with the $2
library.]),[
- AS_CASE(["$with_$1"],[yes|no],,[
- AS_IF([test ! -d "$with_$1"],AC_MSG_ERROR([--with-$1 path does
not point to a directory]))
- with_$squid_auto_lib=yes
+ AS_CASE(["$withval"],[yes|no],,[
+ AS_IF([test ! -d "$withval"],AC_MSG_ERROR([--with-$1 path does
not point to a directory]))
+ set with_$squid_auto_lib = yes
AS_IF([test -d "$withval/lib64"],[$3_PATH += "-L$withval/lib64"])
AS_IF([test -d "$withval/lib"],[$3_PATH += "-L$withval/lib"])
$3_CFLAGS="-I$withval/include"
More information about the squid-dev
mailing list