[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: proposed patch to re-execute "configure" with a LINENO-grokking shel
From: |
Tim Van Holder |
Subject: |
Re: proposed patch to re-execute "configure" with a LINENO-grokking shell |
Date: |
Sat, 6 Oct 2001 13:12:26 +0200 |
> @@ -442,6 +446,20 @@ if test "x$as_lineno_1" = "x$as_lineno_
> if test ! -f "$as_myself"; then
> AS_ERROR([cannot find myself; rerun with an absolute path])
> fi
> + case $CONFIG_SHELL in
> + '')
> + _AS_PATH_WALK([/bin:/usr/bin:$PATH],
> + [for as_base in sh bash ksh sh5; do
> + case $as_dir in
> + /*)
> + if ("$as_dir/$as_base" -c "$as_command") 2>/dev/null; then
> + CONFIG_SHELL=$as_dir/$as_base
> + export CONFIG_SHELL
> + exec "$CONFIG_SHELL" "$[0]" ${1+"address@hidden"}
> + fi;;
> + esac
> + done]);;
> + esac
Please use $PATH_SEPARATOR, not ':' (even for such hardcoded Unix
paths), and use "[\\/]* | ?:[\\//]" to check for absolute paths.
I think all DOS/Win32-based systems that can run configure use a
POSIX-compatible shell to do so, but that's no reason not to
support DOSish environments here.
- Re: PATH then SHELLS (Was: bison-1.29c 'configure' problems on Solaris 8), (continued)
- Re: bison-1.29c 'configure' problems on Solaris 8., Akim Demaille, 2001/10/04
- Re: bison-1.29c 'configure' problems on Solaris 8., Paul Eggert, 2001/10/04
- Re: bison-1.29c 'configure' problems on Solaris 8., Akim Demaille, 2001/10/05
- Re: bison-1.29c 'configure' problems on Solaris 8., Gary V. Vaughan, 2001/10/05
- Re: bison-1.29c 'configure' problems on Solaris 8., Akim Demaille, 2001/10/19
- Re: bison-1.29c 'configure' problems on Solaris 8., Gary V. Vaughan, 2001/10/19
- Functions / sattelite scripts (Was: bison-1.29c 'configure' problems on Solaris 8.), Lars J. Aas, 2001/10/20
- Re: bison-1.29c 'configure' problems on Solaris 8., Paul Eggert, 2001/10/05
- proposed patch to re-execute "configure" with a LINENO-grokking shell, Paul Eggert, 2001/10/05
- Re: proposed patch to re-execute "configure" with a LINENO-grokking shell,
Tim Van Holder <=
- Re: proposed patch to re-execute "configure" with a LINENO-grokking shell, Paul Eggert, 2001/10/06
- Re: proposed patch to re-execute "configure" with a LINENO-grokking shell, Tim Van Holder, 2001/10/07
- Re: proposed patch to re-execute "configure" with a LINENO-grokking shell, Paul Eggert, 2001/10/08
- Re: proposed patch to re-execute "configure" with a LINENO-grokking shell, akim, 2001/10/07
- Re: reexec and M4sh (Was: bison-1.29c 'configure' problems on Solaris 8), Akim Demaille, 2001/10/05
- Re: reexec and M4sh (Was: bison-1.29c 'configure' problems on Solaris 8), Paul Eggert, 2001/10/05
- Re: reexec and M4sh (Was: bison-1.29c 'configure' problems on Solaris 8), Raja R Harinath, 2001/10/05
Re: bison-1.29c 'configure' problems on Solaris 8., Akim Demaille, 2001/10/04