0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2025-03-13 21:10:32 +01:00

configure: Fail on missing libmagic.

This commit is contained in:
Jason Volk 2018-06-14 20:56:25 -06:00
parent 67d912d16d
commit ae5caa4871

View file

@ -1442,6 +1442,7 @@ AC_CHECK_LIB(magic, magic_version,
AC_DEFINE(HAVE_MAGIC, 1, [Define to 1 if libmagic (-lmagic) is available.])
], [
have_magic="no"
AC_MSG_ERROR([libmagic is required but not found. Try apt-get install libmagic-dev])
])
AM_CONDITIONAL([MAGIC], [test "x$have_magic" = "xyes"])