From: Alex Rousskov Date: Tue, 31 Dec 2024 20:40:46 +0000 (+0000) Subject: Clarify --enable-ecap failure on missing shared library support (#1968) X-Git-Tag: SQUID_6_13~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2293c768d3fbf7e3211a732805947a67085b171f;p=thirdparty%2Fsquid.git Clarify --enable-ecap failure on missing shared library support (#1968) checking if libtool supports shared libraries... no checking whether to build shared libraries... no configure: error: eCAP support requires loadable modules. Please do not use --disable-shared with --enable-ecap. After 2022 commit 5a2409b7, our advice for handling the above error became misleading in environments that do not --disable-shared explicitly but lack shared libraries support for other reasons --- diff --git a/configure.ac b/configure.ac index e7a06516fa..05aede6eb8 100644 --- a/configure.ac +++ b/configure.ac @@ -887,7 +887,7 @@ AC_ARG_ENABLE(ecap, dnl Perform configuration consistency checks for eCAP AS_IF([test "x$enable_ecap" != "xno"],[ AS_IF([test "x$enable_shared" != "xyes"],[ - AC_MSG_ERROR([eCAP support requires loadable modules. Please do not use --disable-shared with --enable-ecap.]) + AC_MSG_ERROR([eCAP support requires loadable modules (i.e. --enable-shared or equivalent).]) ]) AS_IF([test -n "$PKG_CONFIG"],[