Outdated libtool creates trouble on macOS

Marc Glisse marc.glisse at inria.fr
Mon Aug 21 14:43:49 CEST 2023


On Mon, 31 Jul 2023, FX Coudert wrote:

> Hopefully this makes gmp future-proof for at least 10 years in terms of autoconf/automake :)

I pushed most of your changes (the windows one will have to wait a bit), 
thanks. There should not be any regressions with the old autotools. But 
note that if I generate with new autotools then run configure, I am still 
seeing the broken behavior

checking for BSD- or MS-compatible name lister (nm)... 
/home/glisse/repos/gmp/configure: line 12165: 1q: command not found
/home/glisse/repos/gmp/configure: line 12171: 1q: command not found
/home/glisse/repos/gmp/configure: line 12165: 1q: command not found
/home/glisse/repos/gmp/configure: line 12171: 1q: command not found
/home/glisse/repos/gmp/configure: line 12165: 1q: command not found
/home/glisse/repos/gmp/configure: line 12171: 1q: command not found

because SED is used before it is set. I guess AC_PROG_SED might help, but 
since all the uses of SED are introduced by autotools, it feels like a bug 
that they don't add it automatically.

-- 
Marc Glisse


More information about the gmp-bugs mailing list