[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: M4sh tests 77 and 78 vs /bin/sh -> dash
From: |
Michael Orlitzky |
Subject: |
Re: M4sh tests 77 and 78 vs /bin/sh -> dash |
Date: |
Thu, 12 Mar 2020 18:46:04 -0400 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.2 |
On 3/12/20 4:53 PM, Zack Weinberg wrote:
>
> On further investigation, there is a concrete reason why autoconf 2.69
> prefers SHELL=/bin/bash to SHELL=/bin/dash, namely that dash doesn't
> support $LINENO, necessitating a complicated and fragile workaround
The $LINENO support in dash is configurable and enabled by default. You
have to disable it with ./configure --disable-lineno. Apparently, Debian
does so [0] to ensure that autoconf scripts with bashisms in them keep
working. In other words, they break dash just enough that bash will be
used as a fallback.
[0] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=842242
- Re: M4sh tests 77 and 78 vs /bin/sh -> dash, (continued)
- Re: M4sh tests 77 and 78 vs /bin/sh -> dash, Bob Friesenhahn, 2020/03/12
- Re: M4sh tests 77 and 78 vs /bin/sh -> dash, Zack Weinberg, 2020/03/12
- Re: M4sh tests 77 and 78 vs /bin/sh -> dash, Bob Friesenhahn, 2020/03/12
- Re: M4sh tests 77 and 78 vs /bin/sh -> dash, Andrew W. Nosenko, 2020/03/12
- Re: M4sh tests 77 and 78 vs /bin/sh -> dash, Sébastien Hinderer, 2020/03/13
- Re: M4sh tests 77 and 78 vs /bin/sh -> dash, Bob Friesenhahn, 2020/03/13
- Re: M4sh tests 77 and 78 vs /bin/sh -> dash, Bob Friesenhahn, 2020/03/13
- Re: M4sh tests 77 and 78 vs /bin/sh -> dash, Michael Orlitzky, 2020/03/13
- Re: M4sh tests 77 and 78 vs /bin/sh -> dash, Bob Friesenhahn, 2020/03/13
- Re: M4sh tests 77 and 78 vs /bin/sh -> dash, Sébastien Hinderer, 2020/03/13
- Re: M4sh tests 77 and 78 vs /bin/sh -> dash,
Michael Orlitzky <=
- Re: M4sh tests 77 and 78 vs /bin/sh -> dash, Zack Weinberg, 2020/03/13
- Re: M4sh tests 77 and 78 vs /bin/sh -> dash, Paul Eggert, 2020/03/12
- Re: M4sh tests 77 and 78 vs /bin/sh -> dash, Zack Weinberg, 2020/03/13
- Re: M4sh tests 77 and 78 vs /bin/sh -> dash, Zack Weinberg, 2020/03/13
- Re: M4sh tests 77 and 78 vs /bin/sh -> dash, Paul Eggert, 2020/03/13
- Re: M4sh tests 77 and 78 vs /bin/sh -> dash, Eric Blake, 2020/03/20
- Re: M4sh tests 77 and 78 vs /bin/sh -> dash, Zack Weinberg, 2020/03/23
- Re: M4sh tests 77 and 78 vs /bin/sh -> dash, Paul Eggert, 2020/03/23
- Re: M4sh tests 77 and 78 vs /bin/sh -> dash, Bob Friesenhahn, 2020/03/23
- Re: M4sh tests 77 and 78 vs /bin/sh -> dash, Zack Weinberg, 2020/03/23