]> git.ipfire.org Git - thirdparty/util-linux.git/commit
configure.ac: Improve check for magic
authorMateusz Marciniec <mateuszmar2@gmail.com>
Fri, 19 Aug 2022 12:47:49 +0000 (14:47 +0200)
committerMateusz Marciniec <mateuszmar2@gmail.com>
Fri, 19 Aug 2022 12:58:43 +0000 (14:58 +0200)
commit263381ddd46eea2293c70bc811273b66bc52087b
treeeaf69abb195c4eacd207e459f24a2587d3750a18
parent819210f37d66949f54fb2f830bc62cb3635a83d5
configure.ac: Improve check for magic

Check whether magic.h header exists before defining HAVE_MAGIC.

Despite library availability there still can be missing header.
Current test doesn't cover that possibility which will lead compilation
to fail in case of separate sysroot.

Signed-off-by: Mateusz Marciniec <mateuszmar2@gmail.com>
Signed-off-by: Tomasz Dziendzielski <tomasz.dziendzielski@gmail.com>
configure.ac