From: Akim Demaille Date: Thu, 24 Jan 2002 17:53:52 +0000 (+0000) Subject: * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Use PATH_SEPARATOR. X-Git-Tag: AUTOCONF-2.52g~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fa91df12dd2018394709f3f6e036bd01461a2307;p=thirdparty%2Fautoconf.git * 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. --- diff --git a/ChangeLog b/ChangeLog index 2b94ff579..4feec3cd2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2002-01-24 Akim Demaille + + * 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 * config/config.guess, config/config.sub, config/texinfo.tex: diff --git a/THANKS b/THANKS index 1dfa27787..c8f8eedb9 100644 --- a/THANKS +++ b/THANKS @@ -9,6 +9,7 @@ Akim Demaille akim@freefriends.org 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 diff --git a/configure b/configure index bebd13b47..07ead585e 100755 --- a/configure +++ b/configure @@ -84,7 +84,7 @@ as_cr_alnum=$as_cr_Letters$as_cr_digits # 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 @@ -127,7 +127,7 @@ done 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=. @@ -432,7 +432,7 @@ do 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 \ @@ -913,7 +913,7 @@ for ac_arg 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 ;; @@ -2003,7 +2003,7 @@ as_cr_alnum=$as_cr_Letters$as_cr_digits # 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 @@ -2047,7 +2047,7 @@ echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} 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=. diff --git a/lib/m4sugar/m4sh.m4 b/lib/m4sugar/m4sh.m4 index d4041e1ac..2874b74a5 100644 --- a/lib/m4sugar/m4sh.m4 +++ b/lib/m4sugar/m4sh.m4 @@ -502,7 +502,7 @@ m4_define([_AS_LINENO_PREPARE], 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 /*) @@ -579,7 +579,7 @@ rm -f conf$$ conf$$.exe conf$$.file 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