Hello,

earlier today, I wrote:

> > 2006-04-01  Eric Blake  <[EMAIL PROTECTED]>
> > 
> >     * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Optimize nonexistent
> >     directories, unless optional third argument supplied.
> >     (AS_UNAME): Don't optimize PATH walk.
> 
> I committed this one exactly as submitted.

... which introduced a bug in autotest.  Some directories were unjustly
removed from the path, and the system autoconf was used instead of the
one from the build.

I fixed this by the patch attached below.

(Actually, it might have been safer the other way round: _AS_PATH_WALK
would skip nonexistent directories only if explicitly requested.)

Stepan
2006-04-02  Stepan Kasal  <[EMAIL PROTECTED]>

        * lib/autotest/general.m4 (AT_INIT): Don't optimize the first PATH walk.

Index: lib/autotest/general.m4
===================================================================
RCS file: /cvsroot/autoconf/autoconf/lib/autotest/general.m4,v
retrieving revision 1.200
diff -u -r1.200 general.m4
--- lib/autotest/general.m4     1 Apr 2006 16:09:13 -0000       1.200
+++ lib/autotest/general.m4     1 Apr 2006 22:44:27 -0000
@@ -556,7 +556,7 @@
       at_path=$at_path$at_top_srcdir/$as_dir
     fi
     ;;
-esac])
+esac], [:])
 
 # Now build and simplify PATH.
 #

Reply via email to