+2025-05-04 Bruno Haible <bruno@clisp.org>
+
+ havelib: Fix m4 underquoting bug in AC_LIB_FROMPACKAGE.
+ Reported for GNU clisp by Adam Sampson <ats@offog.org> at
+ <https://gitlab.com/gnu-clisp/clisp/-/issues/60>.
+ * m4/lib-link.m4 (AC_LIB_FROMPACKAGE): Protect the comma in the
+ expansion of [acl_libsinpackage_]PACKUP by one more level of quotes.
+
2025-05-03 Bruno Haible <bruno@clisp.org>
tests: Avoid compilation errors on GNU/kFreeBSD.
# lib-link.m4
-# serial 34
+# serial 35
dnl Copyright (C) 2001-2025 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
pushdef([PACKUP],[m4_translit(PACK,[abcdefghijklmnopqrstuvwxyz./+-],
[ABCDEFGHIJKLMNOPQRSTUVWXYZ____])])
define([acl_libsinpackage_]PACKUP,
- m4_ifdef([acl_libsinpackage_]PACKUP, [m4_defn([acl_libsinpackage_]PACKUP)[, ]],)[lib$1])
+ m4_ifdef([acl_libsinpackage_]PACKUP, [m4_defn([acl_libsinpackage_]PACKUP)[[, ]]],)[lib$1])
popdef([PACKUP])
popdef([PACK])
])