+2006-10-25 Jürg Billeter <j@bitron.ch>
+
+ * configure.ac: Post-release version bump
+ * compiler/valacompiler.vala: --version support
+ * compiler/Makefile.am: always include config.h to keep compatibility
+ * vapi/config.vala: add binding for config.h
+ * vapi/Makefile.am: update
+
2006-10-25 Jürg Billeter <j@bitron.ch>
* vala/valasourcefile.vala: support dependencies on constants
$(NULL)
valac.vala.stamp: $(filter %.vala,$(valac_SOURCES))
- $(VALAC) --vapidir $(srcdir)/../vapi --vapidir ../ccode --pkg ccode --vapidir ../vala --pkg vala $^
+ $(VALAC) --vapidir $(srcdir)/../vapi --vapidir ../ccode --pkg ccode --vapidir ../vala --pkg vala --pkg config $^
touch $@
+valac_CPPFLAGS = -include config.h
+
valac_LDADD = \
$(GLIB_LIBS) \
../vala/libvala.la \
-AC_INIT([vala], [0.0.4], [j@bitron.ch], [vala])
+AC_INIT([vala], [0.0.5], [j@bitron.ch], [vala])
AC_CONFIG_SRCDIR([Makefile.am])
AC_CONFIG_HEADERS(config.h)
AM_INIT_AUTOMAKE([dist-bzip2])
--- /dev/null
+/* config.vala
+ *
+ * Copyright (C) 2006 Jürg Billeter
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ *
+ * Author:
+ * Jürg Billeter <j@bitron.ch>
+ */
+
+[CCode (cprefix = "", cheader_filename = "config.h")]
+namespace Config {
+ public const string PACKAGE_VERSION;
+}