+2002-01-24 Akim Demaille <akim@epita.fr>
+
+ * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Use PATH_SEPARATOR.
+ (_AS_PATH_SEPARATOR_PREPARE): Don't expect $SHELL to be
+ Bourne. Use /bin/sh.
+ From Andreas Buening.
+
2002-01-24 Akim Demaille <akim@epita.fr>
* config/config.guess, config/config.sub, config/texinfo.tex:
Alain Knaff Alain.Knaff@imag.fr
Alec Wolman wolman@cs.washington.edu
Alexandre Oliva oliva@lsd.ic.unicamp.br
+Andreas Buening andreas.buening@nexgo.de
Andreas Jaeger aj@suse.de
Andreas Schott schott@rzg.mpg.de
Andreas Schwab schwab@issan.informatik.uni-dortmund.de
# The user is always right.
if test "${PATH_SEPARATOR+set}" != set; then
- echo "#! $SHELL" >conftest.sh
+ echo "#! /bin/sh" >conftest.sh
echo "exit 0" >>conftest.sh
chmod +x conftest.sh
if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
case $CONFIG_SHELL in
'')
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in /bin:/usr/bin:$PATH
+for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
with_fp=no ;;
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
- | --no-cr | --no-c)
+ | --no-cr | --no-c | -n)
no_create=yes ;;
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
do
case $ac_arg in
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
- | --no-cr | --no-c) continue ;;
+ | --no-cr | --no-c | -n ) continue ;;
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
continue ;;
# The user is always right.
if test "${PATH_SEPARATOR+set}" != set; then
- echo "#! $SHELL" >conftest.sh
+ echo "#! /bin/sh" >conftest.sh
echo "exit 0" >>conftest.sh
chmod +x conftest.sh
if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
case $CONFIG_SHELL in
'')
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in /bin:/usr/bin:$PATH
+for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
fi
case $CONFIG_SHELL in
'')
- _AS_PATH_WALK([/bin:/usr/bin:$PATH],
+ _AS_PATH_WALK([/bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH],
[for as_base in sh bash ksh sh5; do
case $as_dir in
/*)
m4_defun([_AS_PATH_SEPARATOR_PREPARE],
[# The user is always right.
if test "${PATH_SEPARATOR+set}" != set; then
- echo "#! $SHELL" >conftest.sh
+ echo "#! /bin/sh" >conftest.sh
echo "exit 0" >>conftest.sh
chmod +x conftest.sh
if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then