[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 01-as-require-shell-fn.patch
From: |
Akim Demaille |
Subject: |
Re: 01-as-require-shell-fn.patch |
Date: |
Thu, 20 Nov 2003 15:54:28 +0100 |
User-agent: |
Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux) |
> This is the resurrection of the first patch to add shell functions. This
> adds m4sh support for shell functions, and the corresponding test case.
The reason I'm not really in favor of this patch is that M4sh has a
loop to select the "best" candidate shell to run the script.
Currently it selects the "best" shell based on LINENO support. I
believe that the proper means to implement shell function support in
M4sh would be the converse: look for a shell that supports functions,
and then check that it supports LINENO.
This does cause a problem: there are two flavors of M4sh scripts, two
flavors of AS_INIT. As a first step, we could introduce
AS_INIT_WITH_FUNCTIONS as a twin of AS_INIT, but which would select a
shell supporting functions.
- 01-as-require-shell-fn.patch, Paolo Bonzini, 2003/11/14
- Re: 01-as-require-shell-fn.patch,
Akim Demaille <=
- Re: 01-as-require-shell-fn.patch, Paolo Bonzini, 2003/11/22
- Re: 01-as-require-shell-fn.patch, Paul Eggert, 2003/11/24
- Re: 01-as-require-shell-fn.patch, Akim Demaille, 2003/11/24
- Re: 01-as-require-shell-fn.patch, Paolo Bonzini, 2003/11/24
- Re: 01-as-require-shell-fn.patch, Akim Demaille, 2003/11/24
- Message not available
- Re: 01-as-require-shell-fn.patch, Akim Demaille, 2003/11/24
- Re: 01-as-require-shell-fn.patch, Bonzini, 2003/11/25
- Re: 01-as-require-shell-fn.patch, Akim Demaille, 2003/11/26
- Re: 01-as-require-shell-fn.patch, Paolo Bonzini, 2003/11/26
- Re: 01-as-require-shell-fn.patch, Akim Demaille, 2003/11/26