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_7_0_1~12 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6e2dbb99ca5e9e1f11c2e577f7b377c03d7deaaf;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 3b06f8bae7..3fd0d6227e 100644 --- a/configure.ac +++ b/configure.ac @@ -840,7 +840,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"],[