]> git.ipfire.org Git - thirdparty/shadow.git/commit
configure: move cmocka library detection master
authorIker Pedrosa <ipedrosa@redhat.com>
Mon, 27 May 2024 13:33:45 +0000 (15:33 +0200)
committerSerge Hallyn <serge@hallyn.com>
Wed, 29 May 2024 00:19:58 +0000 (19:19 -0500)
commit4e2453fa9f0c1e0c18d1f118140af69d5fb82b8e
tree42e1f3818b733408848209fd7dbe733b75dec570
parentd0fef040eddc02a8681a7ccee6b628e835243a29
configure: move cmocka library detection

`PKG_CONFIG` variable needs to be set for `PKG_CHECK_MODULES` to
succeed, but this wasn't happening in Fedora because the first
appearance of `PKG_CHECK_MODULES` was conditionally skipped because this
distribution is compiled without `libbsd` support. Thus, moving the
cmocka library detection before libbsd fixes the problem.

Suggested-by: Lukas Slebodnik <lslebodn@fedoraproject.org>
Signed-off-by: Iker Pedrosa <ipedrosa@redhat.com>
configure.ac