autoconf
[Top][All Lists]
Advanced

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

AC_INIT receiving PACKAGE_VERSION from outside


From: Sam Steingold
Subject: AC_INIT receiving PACKAGE_VERSION from outside
Date: Thu, 10 Mar 2005 13:13:47 -0500
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt)

Is there a way to keep the package version outside of
configure.ac:AC_INIT?

e.g., the following:
--- version.sh ---
myversion="1.2.3.4"
--- version.sh ---

--- configure.ac ---
. ./version.sh
AC_INIT(my package, ${myversion})
--- configure.ac ---

does not work because the version argument in AC_INIT is quoted.

so, can I keep the package version outside of configure.ac (so that I do
not have to regenerate the configure script whenever I bump the
version)?

thanks!

-- 
Sam Steingold (http://www.podval.org/~sds) running w2k
<http://www.memri.org/> <http://www.mideasttruth.com/> <http://www.camera.org>
<http://www.honestreporting.com> <http://www.iris.org.il> <http://pmw.org.il/>
Shady characters are often very bright.





reply via email to

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