]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
* lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Use PATH_SEPARATOR.
authorAkim Demaille <akim@epita.fr>
Thu, 24 Jan 2002 17:53:52 +0000 (17:53 +0000)
committerAkim Demaille <akim@epita.fr>
Thu, 24 Jan 2002 17:53:52 +0000 (17:53 +0000)
(_AS_PATH_SEPARATOR_PREPARE): Don't expect $SHELL to be
Bourne. Use /bin/sh.
From Andreas Buening.

ChangeLog
THANKS
configure
lib/m4sugar/m4sh.m4

index 2b94ff57940f3fcbec57db6c6fe971f759420528..4feec3cd288d1390821e4464d2e6bab523699320 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+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:
diff --git a/THANKS b/THANKS
index 1dfa277872b81102037e8330487e587d35e46b7a..c8f8eedb930810b8fd4f6874c8bdc603a56e164f 100644 (file)
--- 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
index bebd13b4796bb905748bbe3c7b83aff635cec591..07ead585ed20d6c74afbce70a5fb35315403bf6e 100755 (executable)
--- 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=.
index d4041e1acbb3406fe293f6c04717bbdca5eab492..2874b74a5919520ecc059cdacd7f95023bcc71df 100644 (file)
@@ -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