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:
parent
67d912d16d
commit
ae5caa4871
1 changed files with 1 additions and 0 deletions
|
@ -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"])
|
||||
|
|
Loading…
Add table
Reference in a new issue