[libvirt] [PATCH 2/2] build: quote AC_LANG_PROGRAM to avoid warnings with autoconf 2.68

Diego Elio Pettenò flameeyes at gmail.com
Mon Dec 13 13:44:47 UTC 2010


---
 configure.ac |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index b5c995f..eb1425a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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
-- 
1.7.3.3




More information about the libvir-list mailing list