This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [PATCH] bfd function for chasing .gnu_debuglink
Nick Clifton <nickc@redhat.com> writes:
|> Hi Andreas,
|>
|> > |> * The patch made use of the AH_TEMPLATE macro in the configure.in
|> > |> file, which is not supported by autoconf 2.13. Unfortunately
|> > |> binutils is still using version 2.13, and since I am no autoconf
|> > |> wizard, I did not know how to replicate the behavior of the
|> > |> AH_TEMPLATE macro. Instead I have not applied the configure.in
|> > |> part of your patch and commented out the use of DEBUGDIR in
|> > |> bfd_follow_gnu_debuglink().
|> >
|> > AH_TEMPLATE is the replacement for putting a template into
|> > acconfig.h,
|>
|> Err, but that is a host system file isn't it ? ie not something that
|> can be part of a binutils release ? Or can you have local copies of
|> acconfig.h that override/extend the system acconfig.h ?
Yes. *Note (autoconf)acconfig.h::.
|> > or using the optional fourth argument of AC_DEFINE.
|>
|> Err, how do you do this ? [I am not at all familiar with autoconf
|> macros].
AC_DEFINE can take four parameters, with the last two being optional. The
third parameter defaults to `1', and the fourth parameter is the comment
for config.h.in. *Note Defining C Preprocessor Symbols:
(autoconf)Defining Symbols:.
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."