On Fri, 29 Aug 2014 19:55:53 +0100
Zé <jose.pas...@gmx.com> wrote:

> So, it appears that defining the VERSION variable ends up replacing
> the VERSION string in the output with the definition provided by the
> newly added m4_define() line.

I thought there might be a conflict. Try:

m4_define([APP_MAJOR_VERSION], [1])
m4_define([APP_MINOR_VERSION], [0])
m4_define([APP_PATCH_VERSION], [0])
m4_define([APP_VERSION],[APP_MAJOR_VERSION.APP_MINOR_VERSION.APP_PATCH_VERSION])

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


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

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

Reply via email to