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"
_______________________________________________ squid-dev mailing list squid-dev@lists.squid-cache.org http://lists.squid-cache.org/listinfo/squid-dev