From 74a6f18207d25ee61420f3f99354d8a32aea15cb Mon Sep 17 00:00:00 2001 From: "Zeeshan Ali (Khattak)" Date: Sun, 15 Jun 2008 13:32:37 +0000 Subject: [PATCH] Check for gconf-2.0 Vala bindings and add it to the Vala compiler flags. svn path=/trunk/; revision=171 --- ChangeLog | 8 ++++++++ configure.ac | 4 ++++ src/Makefile.am | 3 ++- 3 files changed, 14 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 8cf4528..15cfafa 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,14 @@ 2008-06-13 Zeeshan Ali Khattak * configure.ac: + * src/Makefile.am: + + Check for gconf-2.0 Vala bindings and add it to the Vala compiler + flags. + +2008-06-13 Zeeshan Ali Khattak + + * configure.ac: Introduce a separate configure option for a strict C compiler. diff --git a/configure.ac b/configure.ac index ee2afc6..05a29ed 100644 --- a/configure.ac +++ b/configure.ac @@ -47,6 +47,10 @@ AC_CHECK_FILE("${VAPIDIR}/dbus-glib-1.vapi", true, [AC_MSG_ERROR("Unable to find Vala bindings for dbus-glib-1")]) +AC_CHECK_FILE("${VAPIDIR}/gconf-2.0.vapi", + true, + [AC_MSG_ERROR("Unable to find Vala bindings for gconf-2.0")]) + # glib-genmarshal GLIB_GENMARSHAL=`pkg-config --variable=glib_genmarshal glib-2.0` AC_SUBST(GLIB_GENMARSHAL) diff --git a/src/Makefile.am b/src/Makefile.am index fdf6cab..cfacb68 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -29,7 +29,8 @@ gupnp_media_server_SOURCES = main.c \ gupnp-media-tracker.vala gupnp-media-server.stamp: $(filter %.vala,$(gupnp_media_server_SOURCES)) - $(VALAC) -C --pkg gupnp-1.0 --pkg gupnp-av-1.0 --pkg dbus-glib-1 $^ + $(VALAC) -C --pkg gupnp-1.0 \ + --pkg gupnp-av-1.0 --pkg dbus-glib-1 --pkg gconf-2.0 $^ touch $@ gupnp_media_server_LDADD = $(LIBGUPNP_LIBS) \ -- 2.7.4