[Spice-devel] [PATCH spice-common] Remove obsolete Autoconf macros

Frediano Ziglio fziglio at redhat.com
Wed Jan 30 09:19:08 UTC 2019


Autoconf 2.63 was released on September 2008.
These simple macros conflict with system ones and can
causes issues with some systems (currently MacOS).

Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
---
 m4/spice-deps.m4 | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/m4/spice-deps.m4 b/m4/spice-deps.m4
index 7f977278..02230ddd 100644
--- a/m4/spice-deps.m4
+++ b/m4/spice-deps.m4
@@ -1,11 +1,3 @@
-# For autoconf < 2.63
-m4_ifndef([AS_VAR_APPEND],
-          AC_DEFUN([AS_VAR_APPEND], $1=$$1$2))
-m4_ifndef([AS_VAR_COPY],
-          [m4_define([AS_VAR_COPY],
-          [AS_LITERAL_IF([$1[]$2], [$1=$$2], [eval $1=\$$2])])])
-
-
 # SPICE_WARNING(warning)
 # SPICE_PRINT_MESSAGES
 # ----------------------
-- 
2.20.1



More information about the Spice-devel mailing list