Skip to content

Commit

Permalink
tests: Add Autoconf 2.63 compatibility support for AS_VAR_APPEND.
Browse files Browse the repository at this point in the history
Reported-by: William Tu <[email protected]>
Signed-off-by: Ben Pfaff <[email protected]>
  • Loading branch information
blp committed Feb 26, 2016
1 parent 98c23f6 commit fc99370
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions tests/ovs-macros.at
Original file line number Diff line number Diff line change
Expand Up @@ -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])])

0 comments on commit fc99370

Please sign in to comment.