freebsd-ports/sysutils/cfengine39/files/patch-configure.ac
Steven Kreuzer 681a868bef Add support for detecting when cfengine is running under Xen.
Reviewed by:	cy, gjb
Approved by:	cy
Differential Revision:	D8607
2016-12-07 19:31:27 +00:00

11 lines
451 B
Text

--- configure.ac.orig 2016-07-28 21:25:32 UTC
+++ configure.ac
@@ -1438,7 +1438,7 @@ dnl ####################################
AC_MSG_CHECKING(for Xen cpuid-based HVM detection)
if test x"$GCC" = "xyes"; then
case $host_cpu in
- i[[3456]]86*|x86_64*)
+ i[[3456]]86*|x86_64*|amd64)
AC_DEFINE(XEN_CPUID_SUPPORT, 1, [Define if XEN cpuid-based HVM detection is available.])
AC_MSG_RESULT(yes)
;;