Re: Strategy to specify major, minor, and patch versions

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

 



On Fri, 29 Aug 2014 13:52:05 +0100
Zé <jose.passes@xxxxxxx> wrote:

> The configure.in file starts off with this:
> 
> # Autoconf script
> 
> AC_PREREQ(2.61)
> 
> m4_define([MAJOR_VERSION], [1])
> m4_define([MINOR_VERSION], [0])
> m4_define([PATCH_VERSION], [0])
> 
> AC_INIT(foo,[MAJOR_VERSION.MINOR_VERSION.PATCH_VERSION])
> AM_INIT_AUTOMAKE(foo,[MAJOR_VERSION.MINOR_VERSION.PATCH_VERSION])

I'm new to all this but can this be done?

m4_define([MAJOR_VERSION], [1])
m4_define([MINOR_VERSION], [0])
m4_define([PATCH_VERSION], [0])
m4_define([VERSION],[MAJOR_VERSION.MINOR_VERSION.PATCH_VERSION])

AC_INIT(foo,[VERSION])
AM_INIT_AUTOMAKE(foo,[VERSION])


-- 
Don't stop where the ink does.
	Shawn

_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
https://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