People are starting to use this in Fedora and are filing bugreports. Here's
another one:
#> cat test.at
m4_define([AT_PACKAGE_NAME], [Regression test])
m4_define([AT_PACKAGE_TARNAME], [Regression-test])
m4_define([AT_PACKAGE_VERSION], [0.0.1])
m4_define([AT_PACKAGE_STRING], [Regression test])
m4_define([AT_PACKAGE_BUGREPORT], [none])
dnl AT_PACKAGE_TEST([PACKAGE], [XFAILS], [VARS], [CONDITION])
dnl ---------------------------------------------------------
m4_define([AT_PACKAGE_TEST], [
AT_SETUP([$1])
AT_KEYWORDS([m4_if([$1], [dummy], [], [$1 ])dummy])
$2
m4_ifval([$4], [AT_CHECK([$4 || exit 77])])
AT_CLEANUP
])
AT_INIT
AT_BANNER([Regression tests.])
AT_PACKAGE_TEST([dummy])
#> autom4te --language=Autotest -o testsuite.tmp test.at
test.at:11: error: possibly undefined macro: m4_if
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
This worked with autoconf-2.61
--
Karsten Hopp | Mail: [EMAIL PROTECTED]
Red Hat Deutschland | Tel: +49-711-96437-0
Hauptstaetterstr.58 | Fax: +49-711-613590
D-70178 Stuttgart | http://www.redhat.de