Reported-by: William Tu <u9012...@gmail.com>
Signed-off-by: Ben Pfaff <b...@ovn.org>
---
 tests/ovs-macros.at | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/tests/ovs-macros.at b/tests/ovs-macros.at
index bfd0681..aa2936e 100644
--- a/tests/ovs-macros.at
+++ b/tests/ovs-macros.at
@@ -153,3 +153,13 @@ on_exit () {
     mv cleanup.tmp cleanup
 }
 ])
+
+dnl Autoconf 2.64 introduced AS_VAR_APPEND, so introduce a compat version
+dnl for Autoconf 2.63.
+m4_ifndef([AS_VAR_APPEND],
+  [m4_divert_text([PREPARE_TESTS],
+    [as_var_append () {
+       eval $1=\$$1\$2
+     }
+])
+   m4_define([AS_VAR_APPEND], [as_var_append $1 $2])])
-- 
2.1.3

_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to