Re: 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?

why not including just another m4 file which defines the version number?
example:

./version.m4
  m4_define([VERSION_NUMBER],[1.2.3])

./package/configure.ac
  m4_include([../version.m4])
  AC_INIT([package],VERSION_NUMBER)


This is how we solved the same problem.

regards,
Carsten


_______________________________________________
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