]> git.ipfire.org Git - thirdparty/elfutils.git/commit
configure: better error message for [lib]debuginfod missing dependencies
authorMark Wielaard <mark@klomp.org>
Tue, 22 Oct 2024 16:19:09 +0000 (18:19 +0200)
committerMark Wielaard <mark@klomp.org>
Thu, 24 Oct 2024 15:01:12 +0000 (17:01 +0200)
commit42b19e54393f031e6355cf0658e9518571e85ed3
treebc97dcb62d89e00e9729e9430b15c981417a0775
parentf5d6e088f84dd05278c4698a21cbf1ff4569978d
configure: better error message for [lib]debuginfod missing dependencies

When dependencies for libdebuginfod, debuginfod or ima verification are
missing and these features are explicitly enabled the user might not
immediately know which of the dependicies are missing. Move the checks
around a little so checks for dependencies are done immediately before
the enable error message. And add the possible reason to the error to
make things more clear.

     * configure.ac: Move libcurl and json-c tests before libdebuginfod
     check, move libmicrohttpd, sqlite3 and libarchive tests before
     debuginfod check and move librpm, libcrypto and imaevm.h tests
     before ima verification check.

https://sourceware.org/bugzilla/show_bug.cgi?id=32294

Signed-off-by: Mark Wielaard <mark@klomp.org>
configure.ac