Detect Linux kvm.h. If anyone wants any hope of using Windows XP inside this emulator, we are going to need to support Linux KVM virtualization on x86

This commit is contained in:
Jonathan Campbell 2025-01-17 12:13:27 -08:00
parent 122d300b2c
commit f9de143db1

View File

@ -300,6 +300,10 @@ int x=10;if( __builtin_expect ((x==1),0) ) ;
#switch language back
AC_LANG_POP(C++)
dnl Check for linux/kvm.h
AH_TEMPLATE(C_HAVE_LINUX_KVM,[Define to 1 if you have linux/kvm.h and KVM virtualization])
AC_CHECK_HEADER([linux/kvm.h], [AC_DEFINE(C_HAVE_LINUX_KVM,1)])
dnl Check for mach_vm_remap (Darwin)
AH_TEMPLATE(C_HAVE_MACH_VM_REMAP,[Define to 1 if you have the mach_vm_remap function])
AC_CHECK_HEADER([mach/mach.h], [