Re: Enabling shell error handling in configure.ac

2024-11-20 Thread Paul Eggert
On 2024-11-20 06:52, R. Diez wrote: Or is there any way to enable such automatic error handling? That would require auditing all of Autoconf, and all the macros in Gnulib and/or whereever else you get your macros from, so that the shell scripts generated are safe to use with those options ena

Enabling shell error handling in configure.ac

2024-11-20 Thread R. Diez
Hi all: I normally enable the following options in my shell scripts: set -o errexit # Alias set -e set -o nounset # Alias set -u set -o pipefail # Now part of the POSIX/IEEE Std 1003.1-2024 specification too I tried enabling them in my configure.ac, and I got weird errors. I gather that most

Re: Enabling shell error handling in configure.ac

2024-11-20 Thread Zack Weinberg
On Wed, Nov 20, 2024, at 11:39 AM, Paul Eggert wrote: > On 2024-11-20 06:52, R. Diez wrote: >> Or is there any way to enable such automatic error handling? > > That would require auditing all of Autoconf, and all the macros in > Gnulib and/or whereever else you get your macros from, so that the sh