autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: specify AC_INIT version externally


From: Ralf Wildenhues
Subject: Re: specify AC_INIT version externally
Date: Tue, 5 Jan 2010 20:07:37 +0100
User-agent: Mutt/1.5.20 (2009-10-28)

Hello,

* esseffe wrote on Mon, Jan 04, 2010 at 05:30:14PM CET:
> 
> What's the easiest way to specify the AC_INIT package version external to
> configure.ac?

One way is to use m4_esyscmd to use a command that is run at autoconf
run time to specify the version.  Autoconf's own configure.ac uses this
method, for example.

If you want changes to the script (or another file) to propagate to
configure automatically, you should set CONFIGURE_DEPENDENCIES in
Makefile.am.

Hope that helps.

Automake still needs changes in order for efficient handling of
fast-changing version strings (as from, e.g., git describe).

Cheers,
Ralf




reply via email to

[Prev in Thread] Current Thread [Next in Thread]