+2006-03-16 Stepan Kasal <kasal@ucw.cz>
+
+ * lib/m4sugar/m4sh.m4 (_AS_PREPARE): Move the IFS setup and CDPATH
+ sanitizing...
+ (AS_SHELL_SANITIZE): ...here; mention _AS_PATH_WALK needs IFS set.
+ * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Add an explanation
+ why IFS is restored so late; thank you, Ralf, for reminding us.
+
2006-03-15 Stepan Kasal <kasal@ucw.cz>
* doc/autoconf.texi (Pretty Help Strings): No need to use cached
AC_SUBST([$1_cpu], [$[1]])dnl
AC_SUBST([$1_vendor], [$[2]])dnl
shift; shift
+[# Remember, the first character of IFS is used to create $]*:
AC_SUBST([$1_os], [$[*]])dnl
IFS=$ac_save_IFS
])# _AC_CANONICAL_SPLIT
_AS_PATH_SEPARATOR_PREPARE
_AS_UNSET_PREPARE
+# IFS
+# We need space, tab and new line, in precisely that order.
+# (If _AS_PATH_WALK were called with IFS unset, it would disable word
+# splitting by setting IFS to empty value.)
+as_nl='
+'
+IFS=" $as_nl"
+
# Find who we are. Look in the path if we contain no path at all
# relative or not.
case $[0] in
# Name of the executable.
as_me=`AS_BASENAME("$[0]")`
+# CDPATH.
+$as_unset CDPATH
])
_AS_TEST_PREPARE
_AS_TR_CPP_PREPARE
_AS_TR_SH_PREPARE
-
-# IFS
-# We need space, tab and new line, in precisely that order.
-as_nl='
-'
-IFS=" $as_nl"
-
-# CDPATH.
-$as_unset CDPATH
])