mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-09 01:18:00 +03:00
m4: libxl: properly fail when libxl is required
We specify "true" as the fail-action for LIBVIRT_CHECK_PKG. This was used when we had a fallback to non-pkg-config detection, then removed in commit5bdcef13d1
later re-introduced in commitdc3d2c9f8c
and then left in when removing the old detection again in commit18981877d2
Remove it to properly error out when libxl was requested but not detected. Signed-off-by: Ján Tomko <jtomko@redhat.com> Fixes:18981877d2
Reviewed-by: Andrea Bolognani <abologna@redhat.com>
This commit is contained in:
parent
739bb1f26f
commit
215b5daf43
@ -30,7 +30,7 @@ AC_DEFUN([LIBVIRT_DRIVER_CHECK_LIBXL], [
|
||||
|
||||
dnl search for libxl, aka libxenlight
|
||||
old_with_libxl="$with_libxl"
|
||||
LIBVIRT_CHECK_PKG([LIBXL], [xenlight], [4.6.0], [true])
|
||||
LIBVIRT_CHECK_PKG([LIBXL], [xenlight], [4.6.0])
|
||||
if test "x$with_libxl" = "xyes" ; then
|
||||
LIBXL_FIRMWARE_DIR=$($PKG_CONFIG --variable xenfirmwaredir xenlight)
|
||||
LIBXL_EXECBIN_DIR=$($PKG_CONFIG --variable libexec_bin xenlight)
|
||||
|
Loading…
Reference in New Issue
Block a user