AC_INIT receiving PACKAGE_VERSION from outside

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

 



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.



_______________________________________________
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