[squid-dev] squid master build with alternate openssl fails

Christos Tsantilas christos at chtsanti.net
Sun May 10 07:02:37 UTC 2020


On 8/5/20 5:50 μ.μ., Amos Jeffries wrote:
> Does this change resolve the issue for you?

It is a step but this is not enough.

I am attaching a patch which finally solved the issue. However still it 
is not enough, there are other similar cases need to be fixed in 
squid-util.m4 and probably in configure.ac


> 
> 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"
> 
> _______________________________________________
> squid-dev mailing list
> squid-dev at lists.squid-cache.org
> http://lists.squid-cache.org/listinfo/squid-dev
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix-openssl-detect.patch
Type: text/x-patch
Size: 1376 bytes
Desc: not available
URL: <http://lists.squid-cache.org/pipermail/squid-dev/attachments/20200510/ff1393d0/attachment.bin>


More information about the squid-dev mailing list