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

Paolo Bonzini paolo.bonzini@lu.unisi.ch
Wed Apr 11 08:51:00 GMT 2007


>> I would rewrite them at the very least as
>>
>> AC_PROG_AWK
>> AC_PROG_CXX
>>
>> if test "${use_libtool}" = "yes"; then
>> AC_LIBTOOL_WIN32_DLL
>> AM_PROG_LIBTOOL
>> fi
> 
> I think that should use AS_IF instead.

Does AS_IF put required macros outside its expansion?  That's a
cool feature if it does.

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.

Paolo



More information about the Gdb-patches mailing list