Skip to content

Commit

Permalink
Clarify --enable-ecap failure on missing shared library support (#1968)
Browse files Browse the repository at this point in the history
    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 5a2409b, 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
  • Loading branch information
rousskov authored and squid-anubis committed Dec 31, 2024
1 parent db2697a commit 6e2dbb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -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"],[
Expand Down

0 comments on commit 6e2dbb9

Please sign in to comment.