Skip to content

Commit

Permalink
Clarify --enable-ecap failure on missing shared library support
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 committed Dec 23, 2024
1 parent 16cafa1 commit 0e6a82f
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 0e6a82f

Please sign in to comment.