[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 0/2] First steps in making autoconf ensure a POSIX shell
From: |
Stefano Lattarini |
Subject: |
Re: [PATCH 0/2] First steps in making autoconf ensure a POSIX shell |
Date: |
Sat, 10 Nov 2012 10:00:17 +0100 |
On 11/10/2012 01:45 AM, Eric Blake wrote:
>
> [SNIP]
>
> What I'm thinking right now (but don't have the patch ready yet) is that
> we will reinstate a spy that loudly warns if autoconf can't find a POSIX
> shell, with a request for bug reports, and in parallel add a new macro
> (maybe named AS_SHELL_POSIX) that other packages can use to require a
> POSIX shell even with autoconf 2.70. That is, using the new macro would
> switch autoconf from spying to requiring POSIX, but packages that aren't
> ready to require POSIX can still safely use 2.70, and the spy will help
> us know if anyone is really stuck on a non-museum system where it matters.
>
This is a good idea. It might also scale well in case we'll decide to
allow the user to request more POSIX or not-so-POSIX features from the
shell: that could be implemented with a similar macro AS_SHELL_EXTRA
(say), or, for finer control and granularity, by having AS_SHELL_POSIX
take arguments specifying extra suggested or required features:
AS_SHELL_POSIX([
set-x-dont-corrupt-stderr=suggested
set-e-respects-exit-traps=required
])
Thanks,
Stefano
- [PATCH 0/2] First steps in making autoconf ensure a POSIX shell, Stefano Lattarini, 2012/11/07
- [PATCH 1/2] m4sh: require POSIX arithmetic $((...)) unconditionally, Stefano Lattarini, 2012/11/07
- [PATCH 2/2] m4sh: require a POSIX shell, Stefano Lattarini, 2012/11/07
- Re: [PATCH 0/2] First steps in making autoconf ensure a POSIX shell, Paul Eggert, 2012/11/07
- Re: [PATCH 0/2] First steps in making autoconf ensure a POSIX shell, Stefano Lattarini, 2012/11/07
- Re: [PATCH 0/2] First steps in making autoconf ensure a POSIX shell, Adrian Bunk, 2012/11/07
- Re: [PATCH 0/2] First steps in making autoconf ensure a POSIX shell, Eric Blake, 2012/11/07
- Re: [PATCH 0/2] First steps in making autoconf ensure a POSIX shell, Stefano Lattarini, 2012/11/07
- Re: [PATCH 0/2] First steps in making autoconf ensure a POSIX shell, Eric Blake, 2012/11/09
- Re: [PATCH 0/2] First steps in making autoconf ensure a POSIX shell,
Stefano Lattarini <=
- Re: [PATCH 0/2] First steps in making autoconf ensure a POSIX shell, Adrian Bunk, 2012/11/10
- Re: [PATCH 0/2] First steps in making autoconf ensure a POSIX shell, Stefano Lattarini, 2012/11/10
- Re: [PATCH 0/2] First steps in making autoconf ensure a POSIX shell, Adrian Bunk, 2012/11/10
- Re: [PATCH 0/2] First steps in making autoconf ensure a POSIX shell, Stefano Lattarini, 2012/11/10
- Re: [PATCH 0/2] First steps in making autoconf ensure a POSIX shell, Adrian Bunk, 2012/11/10
- Re: [PATCH 0/2] First steps in making autoconf ensure a POSIX shell, Stefano Lattarini, 2012/11/10
- Re: [PATCH 0/2] First steps in making autoconf ensure a POSIX shell, Adrian Bunk, 2012/11/10
- Re: [PATCH 0/2] First steps in making autoconf ensure a POSIX shell, Stefano Lattarini, 2012/11/10