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 |
/*) |
/*) |
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 |