Add IA64-specific tests for virtualization (RHBZ#707508).
[virt-what.git] / configure.ac
index 0aa7deb..8e75938 100644 (file)
@@ -28,6 +28,10 @@ test "x$U" != "x" && AC_MSG_ERROR([Compiler not ANSI compliant])
 
 AM_PROG_CC_C_O
 
+dnl Architecture we are compiling for.
+AC_CANONICAL_HOST
+AM_CONDITIONAL([HOST_CPU_IA64], [ test "x$host_cpu" = "xia64" ])
+
 dnl Produce output files.
 AC_CONFIG_HEADERS([config.h])
 AC_CONFIG_FILES([virt-what],[chmod +x virt-what])