Re: AS_IF

2020-10-12 Thread Zack Weinberg
On Mon, Oct 12, 2020 at 3:01 AM Paul Eggert wrote: > On 10/6/20 5:52 PM, Zack Weinberg wrote: > > I'm not sure we should say AS_IF/CASE > > are equivalent to plain shell if/case inside an AC_DEFUN; they do do > > more than just make the m4 expansion stack not be empty. > > Yes, that goes a bit too

Re: AS_IF

2020-10-12 Thread Paul Eggert
On 10/6/20 5:52 PM, Zack Weinberg wrote: I agree that this should be clarified; I just had the same conversation in another thread. I'm not sure we should say AS_IF/CASE are equivalent to plain shell if/case inside an AC_DEFUN; they do do more than just make the m4 expansion stack not be empty.

Re: AS_IF

2020-10-06 Thread Zack Weinberg
On Tue, Oct 6, 2020 at 5:57 PM Bruno Haible wrote: > Paul Eggert wrote in > : > > > AFAICS, this is relevant for code written directly into configure.ac. But > > > inside an AC_DEFUN it is irrelevant, because required macros are

Re: AS_IF

2020-10-06 Thread Bruno Haible
[CCing autoconf-patches] Paul Eggert wrote in : > > AFAICS, this is relevant for code written directly into configure.ac. But > > inside an AC_DEFUN it is irrelevant, because required macros are hoisted > > before the body of the

Re: AS_IF

2020-10-04 Thread Paul Eggert
On 10/4/20 4:40 PM, Bruno Haible wrote: AFAICS, this is relevant for code written directly into configure.ac. But inside an AC_DEFUN it is irrelevant, because required macros are hoisted before the body of the AC_DEFUN anyway. I was playing it safe based on this NEWS item from Autoconf 2.69c:

Re: AS_IF

2020-10-04 Thread Bruno Haible
Hi Paul, > The third patch merely streamlines 'configure' when running on platforms like > Solaris that need not use libsigsegv. > > - if test "$gl_cv_lib_sigsegv" = yes \ > - && test "$gl_cv_sys_xsi_stack_overflow_heuristic" != yes; then > - AC_SUBST([LIBCSTACK], [$LIBSIGSEGV]) > -