提交 30a4ee84 编写于 作者: D Diego Elio Pettenò 提交者: Eric Blake

build: quote AC_LANG_PROGRAM to avoid warnings with autoconf 2.68

上级 0b9ab2ab
......@@ -73,7 +73,7 @@ VERSION_SCRIPT_FLAGS=-Wl,--version-script=
LIBVIRT_COMPILE_WARNINGS([maximum])
AC_MSG_CHECKING([for CPUID instruction])
AC_COMPILE_IFELSE(AC_LANG_PROGRAM(
AC_COMPILE_IFELSE([AC_LANG_PROGRAM(
[[
#include <stdint.h>
]],
......@@ -83,7 +83,7 @@ AC_COMPILE_IFELSE(AC_LANG_PROGRAM(
"cpuid"
: "=a" (eax), "=b" (ebx), "=c" (ecx), "=d" (edx)
: "a" (eax));
]]),
]])],
[have_cpuid=yes],
[have_cpuid=no])
if test "x$have_cpuid" = xyes; then
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册