|
From: | Paul Eggert |
Subject: | Re: AC_PROG_EGREP and $EGREP_TRADITIONAL and shell conditional statements |
Date: | Sat, 1 Apr 2023 20:38:15 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 |
On 2023-03-31 23:19, Khem Raj wrote:
I am also seeing this issue with packages using AC_EGREP_CPP e.g. mcpp https://mcpp.sourceforge.net/download.html when reconfigured it fails to run the resulting configure script checking printf length modifier for the longest integer... (cached) ll checking for value of __GNUC__... 4 checking for value of __GNUC_MINOR__... 2../mcpp-2.7.2/configure: line 14378: syntax error near unexpected token `;;'../mcpp-2.7.2/configure: line 14378: ` '' ;;'
This is surely a bug in mcpp's configure.ac: it's greatly underquoted. I don't recall ever seeing a script that underquoted before.
We're starting to reach the limit of what we can reasonably do in Autoconf to work around buggy usage. That being said, in this particular case the attached simple workaround causes an mcpp 2.7.2 (2008) build to fail on Ubuntu 22.10 the same way that the build fails when running the Autoconf 2.71 that comes with Ubuntu, so I suppose that's progress. I installed the attached.
0001-Support-underquoted-callers-better.patch
Description: Text Data
[Prev in Thread] | Current Thread | [Next in Thread] |