mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-20 06:50:22 +03:00
build: quote AC_LANG_PROGRAM to avoid warnings with autoconf 2.68
This commit is contained in:
parent
0b9ab2abf1
commit
30a4ee84c4
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user