set -e causes AS_IF to exit in else clause

2022-03-31 Thread Peter Johansson
Hi, This is with autoconf 2.71. I use autom4te to create a script and discovered that the script exits when the else clause in AS_IF is reached. It seems it's caused by the combination that function as_fn_nop() is called in the else clause and that I have 'set -e' earlier in the script. I s

Re: set -e causes AS_IF to exit in else clause

2022-03-31 Thread Paul Eggert
Thanks for reporting that regression. I installed the attached patch.From 1684650184aea9ed51ded79680bb1b4fcb098f26 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Thu, 31 Mar 2022 22:29:05 -0700 Subject: [PATCH] =?UTF-8?q?Fix=20bug=20with=20AS=5FIF=20and=20=E2=80=98set?= =?UTF-8?q?=20-e=E2=80=9