]> 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)
committerFrancesco Chemolli <5175948+kinkie@users.noreply.github.com>
Sun, 19 Jan 2025 22:24:18 +0000 (22:24 +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 e7a06516fa93eaad67f259e21d6fc1bf7b45fd3e..05aede6eb867e9b73e626eb338e08d286278d691 100644 (file)
@@ -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"],[