diff options
author | Ben Pfaff <blp@ovn.org> | 2016-02-26 12:46:48 -0800 |
---|---|---|
committer | Ben Pfaff <blp@ovn.org> | 2016-02-26 12:46:48 -0800 |
commit | fc99370f0ec7a120c33eade822d1d826b4188a3d (patch) | |
tree | 66c53672a444486d4479cc5838477742d2c86310 /tests | |
parent | 98c23f638e706fb8d26091910e04d05992a416b2 (diff) | |
download | openvswitch-fc99370f0ec7a120c33eade822d1d826b4188a3d.tar.gz |
tests: Add Autoconf 2.63 compatibility support for AS_VAR_APPEND.
Reported-by: William Tu <u9012063@gmail.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/ovs-macros.at | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/ovs-macros.at b/tests/ovs-macros.at index bfd06818b..6c0f58dd8 100644 --- a/tests/ovs-macros.at +++ b/tests/ovs-macros.at @@ -153,3 +153,12 @@ on_exit () { mv cleanup.tmp cleanup } ]) + +dnl Autoconf 2.63 compatibility verison of macro introduced in Autoconf 2.64: +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])]) |