mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
configure: output clearer message when missing libmagic
Some of users probably don't know which packages they exactly need to install while they experienced the error message: libmagic (part of the "file" command) is required. So add corresponding package information into error message. Signed-off-by: Lin Ma <lma@suse.com>
This commit is contained in:
committed by
Richard W.M. Jones
parent
ec0bf981bd
commit
a682c6776d
@@ -263,7 +263,8 @@ AC_CHECK_LIB([magic],[magic_file],[
|
||||
], [])
|
||||
],[])
|
||||
AS_IF([test -z "$MAGIC_LIBS"],
|
||||
[AC_MSG_ERROR([libmagic (part of the "file" command) is required])])
|
||||
[AC_MSG_ERROR([libmagic (part of the "file" command) is required.
|
||||
Please install the file devel package])])
|
||||
|
||||
dnl libvirt (highly recommended)
|
||||
AC_ARG_WITH([libvirt],[
|
||||
|
||||
Reference in New Issue
Block a user