The test suite needs GNU m4.

Reported by Bob Friesenhahn.

* tests/atconfig.in (M4): Set it.
* tests/base.m4: Use it.
This commit is contained in:
Akim Demaille 2000-05-25 16:37:12 +00:00
parent 52498c9c04
commit b991f500dd
3 changed files with 19 additions and 7 deletions

View File

@ -1,3 +1,11 @@
2000-05-25 Akim Demaille <akim@epita.fr>
The test suite needs GNU m4.
Reported by Bob Friesenhahn.
* tests/atconfig.in (M4): Set it.
* tests/base.m4: Use it.
2000-05-25 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (_AC_INIT_PARSE_ARGS): Don't use negated character

View File

@ -76,4 +76,7 @@ if test -n "@AT_TESTPATH@"; then
else
export PATH; PATH=`pwd`:$PATH
fi
# We need GNU m4.
M4=@M4@
# Snippet )2

View File

@ -6,14 +6,15 @@ Base layer.
EOF
dnl AU_DEFUN
dnl --------
dnl
# AU_DEFUN
# --------
AT_SETUP(m4_wrap)
dnl m4_wrap is used to display the help strings.
dnl Also, check that commas are not swallowed. This can easily happen
dnl because of m4-listification.
# m4_wrap is used to display the help strings. Also, check that
# commas are not swallowed. This can easily happen because of
# m4-listification.
AT_DATA(libm4.in,
[[include(libm4.m4)divert(0)dnl
m4_wrap([Short string */], [ ], [/* ], 20)
@ -47,7 +48,7 @@ AT_DATA(expout,
First, second , third, [,quoted]
]])
AT_CHECK([m4 -I $at_top_srcdir libm4.in], 0, expout)
AT_CHECK([$M4 -I $at_top_srcdir libm4.in], 0, expout)
AT_CLEANUP()