]> git.ipfire.org Git - thirdparty/autoconf.git/commit
Fix use of $3 in _AC_FUNC_MALLOC_IF etc
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 1 Nov 2024 01:29:54 +0000 (18:29 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 1 Nov 2024 02:01:05 +0000 (19:01 -0700)
commitf8c82d292699fbce6d60abb46259a3781578f7fc
treed3bddb6224a7a0f37bfbe7414548115eccd37f07
parent9ae3a35b19b6a5b5892e1a60610814c195f530b9
Fix use of $3 in _AC_FUNC_MALLOC_IF etc

Use m4_default in case $3 is omitted.
Problem reported by Bruno Haible in:
https://lists.gnu.org/r/bug-gnulib/2024-10/msg00284.html
Also, use AS_CASE to defend against $3 containing macros
that might be expaned.
lib/autoconf/functions.m4