specify AC_INIT version externally

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

 



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.



_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux