mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-22 11:22:23 +00:00
Improve configure error message about missing Linux headers
This commit is contained in:
parent
d6daeb124b
commit
8d319a2f2d
@ -529,7 +529,7 @@ dnl check for kernel headers required by src/bridge.c
|
|||||||
dnl
|
dnl
|
||||||
if test "$with_qemu" = "yes" || test "$with_lxc" = "yes" ; then
|
if test "$with_qemu" = "yes" || test "$with_lxc" = "yes" ; then
|
||||||
AC_CHECK_HEADERS([linux/param.h linux/sockios.h linux/if_bridge.h linux/if_tun.h],,
|
AC_CHECK_HEADERS([linux/param.h linux/sockios.h linux/if_bridge.h linux/if_tun.h],,
|
||||||
AC_MSG_ERROR([You must install kernel-headers in order to compile libvirt]))
|
AC_MSG_ERROR([You must install kernel-headers in order to compile libvirt with QEMU or LXC support]))
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user