[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
specify AC_INIT version externally
From: |
esseffe |
Subject: |
specify AC_INIT version externally |
Date: |
Mon, 4 Jan 2010 08:30:14 -0800 (PST) |
What's the easiest way to specify the AC_INIT package version external to
configure.ac?
I have about 12 sets of configure.ac/Makefile.am that compile the same code
in slightly different ways. The version set in AC_INIT has to be the same
for all configure.ac's. I want to avoid having to set this manually in each
configure.ac each time the version is changed. I have a script which invokes
configure and make for each package. I pass to the script the version, and
would like to have a way to pass this version to either configure or make so
that it is included in the name of the source distribution file.
Alternatively, is there a way to set up configure.ac and the Makefile.am's
so that the twelve different source distribution files (the
<package>-<version>-tar.gz files) can be generated from a single
configure.ac?
Thanks,
esseffe
--
View this message in context:
http://old.nabble.com/specify-AC_INIT-version-externally-tp27015393p27015393.html
Sent from the Gnu - Autoconf - General mailing list archive at Nabble.com.
- specify AC_INIT version externally,
esseffe <=