[gtk-vnc] Disable VAPI generation for gtk+ 2.0
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk-vnc] Disable VAPI generation for gtk+ 2.0
- Date: Fri, 28 Oct 2011 14:59:34 +0000 (UTC)
commit 2043197b77ed8fd5833620f858884e0a3e1bc8ba
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date: Fri Oct 28 17:57:59 2011 +0300
Disable VAPI generation for gtk+ 2.0
Disable vala checks and binding generation by default when building
against gtk 2.0.
configure.ac | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 3e9221d..d072173 100644
--- a/configure.ac
+++ b/configure.ac
@@ -402,9 +402,15 @@ fi
AM_CONDITIONAL([WITH_GOBJECT_INTROSPECTION], [test "x$enable_introspection" = "xyes"])
AM_CONDITIONAL([G_IR_SCANNER_SYMBOL_PREFIX], [test "x$has_symbol_prefix" = "xyes"])
+if test "x$with_gtk" = "x3.0"; then
+ default_vala=check
+else
+ default_vala=no
+fi
+
AC_ARG_ENABLE([vala],
AS_HELP_STRING([--enable-vala], [enable Vala binding generation]),
- [], [enable_vala=check])
+ [], [enable_vala="$default_vala"])
if test "x$enable_introspection" = "xyes" ; then
if test "x$enable_vala" != "xno" ; then
AC_PATH_PROG(VAPIGEN, vapigen, no)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]