autoconf-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

_AS_PATH_WALK


From: Ralf Wildenhues
Subject: _AS_PATH_WALK
Date: Mon, 6 Mar 2006 22:14:01 +0100
User-agent: Mutt/1.5.9i

_AS_PATH_WALK is used in many places, some of which allow the
configure.ac author to override the PATH argument; for example, try
  AC_CHECK_PROG([FOO], [foo], [], [], [$bar])

with unset $bar for fun.

OK? (even if it makes `configure' scripts somewhat longer still ;-)

Cheers,
Ralf

        * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Do not forget to reset
        IFS even in case of empty `$PATH'.

Index: lib/m4sugar/m4sh.m4
===================================================================
RCS file: /cvsroot/autoconf/autoconf/lib/m4sugar/m4sh.m4,v
retrieving revision 1.160
diff -u -r1.160 m4sh.m4
--- lib/m4sugar/m4sh.m4 21 Feb 2006 09:30:01 -0000      1.160
+++ lib/m4sugar/m4sh.m4 6 Mar 2006 21:01:47 -0000
@@ -899,6 +914,7 @@
   test -z "$as_dir" && as_dir=.
   $2
 done
+IFS=$as_save_IFS
 ])
 
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]