Re: AC_CHECK_HEADER/AC_CHECK_DECL 2.69->2.69c probably changed quoting, breaks gimp as "...: ${+y}: bad substitution"

2020-10-25 Thread Sergei Trofimovich
On Sun, 25 Oct 2020 09:54:42 -0400 Zack Weinberg wrote: > On Sun, Oct 25, 2020 at 9:13 AM Sergei Trofimovich wrote: > ... > > gimp's use of macros looks underquoted > > Yes, this is an underquotation problem, and also a "macros that use > AC_REQUIRE internally are not safe to use inside

Re: AC_CHECK_HEADER/AC_CHECK_DECL 2.69->2.69c probably changed quoting, breaks gimp as "...: ${+y}: bad substitution"

2020-10-25 Thread Zack Weinberg
On Sun, Oct 25, 2020 at 9:13 AM Sergei Trofimovich wrote: ... > gimp's use of macros looks underquoted Yes, this is an underquotation problem, and also a "macros that use AC_REQUIRE internally are not safe to use inside hand-coded shell conditionals" problem. This particular example is so badly

AC_CHECK_HEADER/AC_CHECK_DECL 2.69->2.69c probably changed quoting, breaks gimp as "...: ${+y}: bad substitution"

2020-10-25 Thread Sergei Trofimovich
The failure initially observed on gimp-2.10.22 source and fails the same way on gimp from git. Smaller example extracted from https://gitlab.gnome.org/GNOME/gimp/-/blob/master/configure.ac#L2131 $ cat configure.ac AC_INIT([GIMP], [gimp_version],