This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: 6.1: Quote macro names being defined by AC_DEFUN


On Thu, 22 Apr 2004, Daniel Jacobowitz wrote:

> > Daniel, were you looking at upgrading GDB to autoconf 2.5.x?
> 
> I've been looking at it on and off, but not working on it - not until I
> get done with binutils.  I'll need to touch GDB for a change to
> top-level ylwrap but I have been putting that off until I have more
> time to test it.

 With the other patch (config-subdirs) I've proposed her recently gdb/
appears to be safe for use with autoconf 2.59, i.e. there are no errors
from autoconf and the configuration output seems correct.  But I did
limited testing only (mipsel-linux and i386-linux targets only) and with
the top-level converted to autoconf 2.59, too.  Additional testing would
be definitely desirable.

 The sim/ directory requires additional patches, which I've implemented
and made available.  Unfortunately it also hits a nasty bug in autoconf
2.58/2.59 (and likely older versions), which I'm told "would require
considerable poking around in m4sugar.m4 to fix."  I have a workaround for 
the bug for sim/, but given the current setup works, perhaps it's better 
to wait for autoconf to be fixed.

 This (am18) patch is orthogonal to autoconf -- it's required to shut up
aclocal (which promises to bail out in this case in a future version), and
it's just a sanitization of macro definitions.  The quoting was always
valid here and perhaps recommended for autoconf 2.13 vintage tools, too.  
It wasn't forced back then, but the tools were much less picky about
unsafe constructs in general.

  Maciej

-- 
+  Maciej W. Rozycki, Technical University of Gdansk, Poland   +
+--------------------------------------------------------------+
+        e-mail: macro@ds2.pg.gda.pl, PGP key available        +


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]