Re: autoconf: ./configure fails on cygwin for crosstool-ng-1.24.0

Philipp <[email protected]> Mon, 6 May 2019 23:02:47 +0200
Newsgroups gmane.comp.gcc.cross-compiling,gmane.comp.sysutils.autoconf.bugs
Message-ID <[email protected]>
Hi Allan,

thank you for your suggestion.
Unfortunately, this leads to the same result and error message.

Based on your suggestion, I installed other shells:
zsh 5.5.1-1
   $ /bin/zsh ./configure
   ./configure: This script requires a shell more modern than all
   ./configure: the shells that I found on your system.
   ./configure: In particular, zsh 5.5.1 has bugs and should
   ./configure: be upgraded to zsh 4.3.4 or later.

zsh 5.1.1-1
   $ /bin/zsh ./configure
   ./configure: This script requires a shell more modern than all
   ./configure: the shells that I found on your system.
   ./configure: In particular, zsh 5.1.1 has bugs and should
   ./configure: be upgraded to zsh 4.3.4 or later.

dash 0.5.9.1-1
   $ /bin/dash ./configure
   ./configure: This script requires a shell more modern than all
   ./configure: the shells that I found on your system.
   ./configure: Please tell [email protected] and
   ./configure: [email protected] about your system, including
   ./configure: any error possibly output before this message. Then
   ./configure: install a modern shell, or manually run the script
   ./configure: under such a shell if you do have one.

I don't want to build zsh 4.3.4. from source unless I have really no
other option.
I'm not convinced this would work though as it fails with a newer version.
What shell would be suited best for autoconf?

Best regards,
Philipp

Am 06.05.2019 um 22:32 schrieb Allan Clark:
> Hi;
>
> Try prefixing with the shell:
>
> from:
>     ./configure {options} {options}
> to:
>     /bin/bash ./configure {options} {options}
>
> The reason I suggest this is because you might be assuming the shell
> it's using, and even though bash might not be the perfect shell for
> autoconf, this might reduce assumptions between your bug report and
> what's automagically happening.
>
> Allan
>
> --
> [email protected] <mailto:[email protected]>  "金鱼"
> http://linkedin.com/in/goldfish