From: Alan Modra <amodra@gmail.com>
To: "H.J. Lu" <hjl.tools@gmail.com>
Cc: Binutils <binutils@sourceware.org>
Subject: Re: Use modern AC_INIT in configure.in
Date: Tue, 08 Jul 2014 23:54:00 -0000 [thread overview]
Message-ID: <20140708235348.GN8039@bubble.grove.modra.org> (raw)
In-Reply-To: <CAMe9rOrDmAr2rwO1sX=UefqtggpKXLYmmwV+f3j_PhR1UQiJzg@mail.gmail.com>
On Tue, Jul 08, 2014 at 08:38:30AM -0700, H.J. Lu wrote:
> The old one has
>
> changequote(,)dnl
> BFD_VERSION=`${srcdir}/../bfd/configure --version | sed -n -e '1s,.* ,,p'`
> changequote([,])dnl
> AM_INIT_AUTOMAKE(ld, ${BFD_VERSION})
>
> When BFD_VERSION is changed, we only need to regenerate
> configure in bfd. Can we make it to work with the new scheme?
You can, by using m4_esyscmd to extract the version from
bfd/configure.ac to set versions in other configure dirs, but that way
is a bit messy. I wrote it like that at first, then saw that the
automake docs recommend using an m4 version file.
--
Alan Modra
Australia Development Lab, IBM
prev parent reply other threads:[~2014-07-08 23:54 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-04 3:24 Alan Modra
2014-07-04 3:58 ` Alan Modra
2014-07-08 15:38 ` H.J. Lu
2014-07-08 23:54 ` Alan Modra [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20140708235348.GN8039@bubble.grove.modra.org \
--to=amodra@gmail.com \
--cc=binutils@sourceware.org \
--cc=hjl.tools@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).