[Spice-devel] [spice-common] m4: Fix SPICE_WARNING on el6

Christophe Fergeau cfergeau at redhat.com
Mon Dec 14 06:32:25 PST 2015


autogen.sh fails on el6 unless the second argument to
AC_DEFUN([SPICE_WARNING]) is enclosed in []
---
 m4/spice-deps.m4 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/m4/spice-deps.m4 b/m4/spice-deps.m4
index 6237a10..f854eb1 100644
--- a/m4/spice-deps.m4
+++ b/m4/spice-deps.m4
@@ -11,7 +11,7 @@ m4_ifndef([AS_VAR_COPY],
 # ----------------------
 # Collect warnings and print them at the end so they are clearly visible.
 # ---------------------
-AC_DEFUN([SPICE_WARNING],AS_VAR_APPEND([spice_warnings],["|$1"]))
+AC_DEFUN([SPICE_WARNING],[AS_VAR_APPEND([spice_warnings],["|$1"])])
 AC_DEFUN([SPICE_PRINT_MESSAGES],[
     ac_save_IFS="$IFS"
     IFS="|"
-- 
2.5.0



More information about the Spice-devel mailing list