Re: dash and hidden bashisms in configure scripts
Hi Sam,
On Wed, 10 Nov 2021, at 19:18, Sam Hartman wrote:
> I understand that it's generally better to fix bashisms in configure
> scripts.
> Is it possible to force autoconf to prefer bash for a given configure
> script if it's difficult or undesirable to fix bashisms in a configure
> script?
Yes, passing CONFIG_SHELL=/bin/bash to configure with do the thing.
> Yes, I realize that it limits portability to systems with bash.
> And yet, there are a lot of systems with bash:-)
Well, we might make bash non-essential at one point. OTOH development systems are likely to have it anyway.
--
Cheers,
Andrej
Reply to: