/[autoconf]/autoconf/lib/m4sugar/m4sh.m4
ViewVC logotype

Diff of /autoconf/lib/m4sugar/m4sh.m4

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.71 by eggert, Thu Nov 1 22:41:54 2001 UTC revision 1.72 by akim, Thu Jan 24 17:53:52 2002 UTC
# Line 502  m4_define([_AS_LINENO_PREPARE], Line 502  m4_define([_AS_LINENO_PREPARE],
502    fi    fi
503    case $CONFIG_SHELL in    case $CONFIG_SHELL in
504    '')    '')
505      _AS_PATH_WALK([/bin:/usr/bin:$PATH],      _AS_PATH_WALK([/bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH],
506        [for as_base in sh bash ksh sh5; do        [for as_base in sh bash ksh sh5; do
507           case $as_dir in           case $as_dir in
508           /*)           /*)
# Line 579  rm -f conf$$ conf$$.exe conf$$.file Line 579  rm -f conf$$ conf$$.exe conf$$.file
579  m4_defun([_AS_PATH_SEPARATOR_PREPARE],  m4_defun([_AS_PATH_SEPARATOR_PREPARE],
580  [# The user is always right.  [# The user is always right.
581  if test "${PATH_SEPARATOR+set}" != set; then  if test "${PATH_SEPARATOR+set}" != set; then
582    echo "#! $SHELL" >conftest.sh    echo "#! /bin/sh" >conftest.sh
583    echo  "exit 0"   >>conftest.sh    echo  "exit 0"   >>conftest.sh
584    chmod +x conftest.sh    chmod +x conftest.sh
585    if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then    if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then

Legend:
Removed from v.1.71  
changed lines
  Added in v.1.72

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26