Final(?) patch to update libtool in GCC and src trees

Dave Korn
Wed Apr 11 09:25:00 GMT 2007

On 11 April 2007 09:59, Paolo Bonzini wrote:

>>> Does AS_IF put required macros outside its expansion?  That's a
>>> cool feature if it does.
>> Only with Autoconf 2.60 and newer.
> I see; so it's ruled out for now.

  I used 2.60 to regenerate in newlib/, was that the wrong thing to do?

/usr/build/src-winsup/newlib $ head -3 configure
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.60 for newlib 1.15.0.

>>> However, if this is the case, it is also a problem.
>>> AM_PROG_LIBTOOL used to expand its subparts via
>>> AC_REQUIRE, which would sort of undo the effect of
>>> the if statement.
>> Yes, I don't think it'll help here.  But also I don't see why CXX should
>> come into play here at all, if not by an old 1.5.x libtool.m4 file that
>> is picked up by aclocal (without having tested anything, though).
> Dave, can you check the content of newlib/aclocal.m4?
> Paolo

  That would be the freshly regenerated one:

/usr/build/src-winsup/newlib $ head -1 aclocal.m4
# generated automatically by aclocal 1.9.6 -*- Autoconf -*-

Can't think of a witty .sigline today....

More information about the Newlib mailing list