Hello Noah, > On 2005-05-20, at_top_builddir, a variable `configure' passes to `testsuite' via > `atconfig', changed names to at_top_build_prefix. Consequently, `configure' > generated by `autoconf' predating the change do not properly configure > `testsuite' generated by `autom4te' postdating the change, and vice-versa. I did that change. The goal was to change @top_builddir@ from "../" to ".."--see the NEWS entry. The variable ac_top_builddir still has the old value, but will change in the future. New variable ac_top_build_prefix was introduced; it will keep the old value forever. That was my original work. I was forced to do some patch to Autotest, too. But I don't understand autotest much, thus I wasn't aware of the possibility of mixing different versions. I wrote a quick patch; please find it attached to this mail. Is it OK? > In the mean time, be sure to install a post-2005-05-20 Autoconf before > rebuilding Autoconf's `configure'. Well, I always call tests/autoconf. My installed autoconf 2.59 chokes on AC_PROG_GREP. Have a nice day, Stepan
2005-06-27 Stepan Kasal <kasal@xxxxxx> * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Set also at_top_builddir, for compatibility with older autotest. * lib/autotest/general.m4 (AT_INIT): If at_top_build_prefix is not set, use at_top_builddir, for compatibility with older versions of autoconf. Index: lib/autoconf/autotest.m4 =================================================================== RCS file: /cvsroot/autoconf/autoconf/lib/autoconf/autotest.m4,v retrieving revision 1.18 diff -u -r1.18 autotest.m4 --- lib/autoconf/autotest.m4 20 May 2005 08:13:16 -0000 1.18 +++ lib/autoconf/autotest.m4 27 Jun 2005 09:30:48 -0000 @@ -78,6 +78,9 @@ at_top_build_prefix='$ac_top_build_prefix' abs_top_builddir='$ac_abs_top_builddir' +# Backward compatibility with Autotest <= 2.59b: +at_top_builddir=\$at_top_build_prefix + AUTOTEST_PATH='m4_default([$2], [$1])' SHELL=\${CONFIG_SHELL-'$SHELL'} Index: lib/autotest/general.m4 =================================================================== RCS file: /cvsroot/autoconf/autoconf/lib/autotest/general.m4,v retrieving revision 1.185 diff -u -r1.185 general.m4 --- lib/autotest/general.m4 21 Jun 2005 16:03:59 -0000 1.185 +++ lib/autotest/general.m4 27 Jun 2005 09:30:49 -0000 @@ -178,6 +178,9 @@ . ./$at_file || AS_ERROR([invalid content: $at_file]) done +# Autoconf <=2.59b set at_top_builddir instead of at_top_build_prefix: +: ${at_top_build_prefix=$at_top_builddir} + # atconfig delivers names relative to the directory the test suite is # in, but the groups themselves are run in testsuite-dir/group-dir. if test -n "$at_top_srcdir"; then
_______________________________________________ Autoconf mailing list Autoconf@xxxxxxx http://lists.gnu.org/mailman/listinfo/autoconf