I've just been looking at that. The following seems to work:
(in configure.ac)
AM_PROG_VALAC([0.7.6])
VALAC_VERSION=$am__vala_version
AC_SUBST(VALAC_VERSION)
(in Makefile.am)
AM_VALAFLAGS=\
--define="valac_versi...@valac_version@"
I don't like using $am__vala_version, but I don't think AM_PROG_VALAC
emits anything else. Is there a better way of doing this?
-Darren
Michael 'Mickey' Lauer wrote:
You can do the same already with your build system, and this is where I
think it belongs to.
That said, I do would like to see the preprocessor directives being more
powerful anyways.
:M:
_______________________________________________
Vala-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/vala-list
_______________________________________________
Vala-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/vala-list