This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [RFC] Update to current automake/autoconf/libtool versions.
- From: Klee Dienes <klee at apple dot com>
- To: Andrew Cagney <ac131313 at redhat dot com>
- Cc: binutils at sources dot redhat dot com,gdb-patches at sources dot redhat dot com
- Date: Thu, 5 Dec 2002 11:22:07 -0500
- Subject: Re: [RFC] Update to current automake/autoconf/libtool versions.
On Thursday, December 5, 2002, at 10:43 AM, Andrew Cagney wrote:
I don't understand this:
- $(SHELL) $(YLWRAP) "$(YACC)" $(srcdir)/c-exp.y y.tab.c c-exp.tmp --
$(YFLAGS)
+ $(SHELL) $(YLWRAP) $(srcdir)/c-exp.y y.tab.c c-exp.tmp -- "$(YACC)"
$(YFLAGS)
isn't it independant of the switch?
It's a result of using the ylwrap from autoconf-1.7, which is needed
since the rules for the binutils/ parsers are automatically generated
by automake.
Same with this?
- AC_DEFINE(HAVE_LONG_DOUBLE)
+ AC_DEFINE([HAVE_LONG_DOUBLE], [], [Define if the `long double' type
works])
(or did the new autoconf change the interface causing a warning if the
three parameters were not present?).
Not even a warning: it blows out autoheader with an error. The new
AC_DEFINE interface deprecates the use of a template file, and instead
requires all the information to be provided by the AC_DEFINE commands
(it's particularly annoying since the warning about the existence of a
template file is about 10 lines long, ALL CAPS, and can't be turned off
with --warnings=none).
I actually made a point of not fixing any warnings during the
conversion that weren't symptoms of real errors. My reasoning is that
once the flag day part of the conversion is done, we can fix the
warnings in individual directories individually, but that for the
initial conversion it was best to keep it as simple as possible.