]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Clarify --enable-ecap failure on missing shared library support (#1968)
authorAlex Rousskov <rousskov@measurement-factory.com>
Tue, 31 Dec 2024 20:40:46 +0000 (20:40 +0000)
committerSquid Anubis <squid-anubis@squid-cache.org>
Tue, 31 Dec 2024 20:40:55 +0000 (20:40 +0000)
    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

configure.ac

index 3b06f8bae72cdb1bf04cb4157760d04a6a27b80f..3fd0d6227e3c2bf2a3a29f02050b05c15e808701 100644 (file)
@@ -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"],[