[ovs-dev] [PATCH] autoconf: Fix missing AS_VAR_APPEND for version 2.63.

William Tu u9012063 at gmail.com
Thu Feb 18 02:00:21 UTC 2016


autoconf version 2.63 does not have AS_VAR_APPEND, resulting errors below:
tests/testsuite.tmp:3863: error: possibly undefined macro: AS_VAR_APPEND
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
      make[2]: *** [tests/testsuite] Error 1

Signed-off-by: William Tu <u9012063 at gmail.com>
---
 m4/compat.at | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/m4/compat.at b/m4/compat.at
index 736f1ff..607d1eb 100644
--- a/m4/compat.at
+++ b/m4/compat.at
@@ -30,3 +30,7 @@ m4_ifndef([AT_FAIL_IF],
 m4_ifndef([AS_VAR_COPY],
   [m4_define([AS_VAR_COPY],
     [AS_LITERAL_IF([$1[]$2], [$1=$$2], [eval $1=\$$2])])])
+
+m4_ifndef([AS_VAR_APPEND],
+  [m4_define([AS_VAR_APPEND],
+      [$1=$$1$2])])
-- 
2.5.0




More information about the dev mailing list