[libchamplain/libchamplain-0-4] Add vala bindings as a choice in configure.ac.



commit aa31e8a749f04a8a02ab846a8515a5f2fabdfe09
Author: Tomaž Vajngerl <quikee gmail com>
Date:   Sat Apr 10 13:28:54 2010 +0200

    Add vala bindings as a choice in configure.ac.

 bindings/Makefile.am |    4 ++++
 configure.ac         |    9 +++++++++
 2 files changed, 13 insertions(+), 0 deletions(-)
---
diff --git a/bindings/Makefile.am b/bindings/Makefile.am
index 34ee51f..62dfa06 100644
--- a/bindings/Makefile.am
+++ b/bindings/Makefile.am
@@ -8,5 +8,9 @@ if ENABLE_PYTHON
   SUBDIRS+=python
 endif
 
+if ENABLE_VALA
+  SUBDIRS+=vala
+endif
+
 DIST_SUBDIRS= managed python perl/Champlain vala
 
diff --git a/configure.ac b/configure.ac
index 4a90110..3a9f226 100644
--- a/configure.ac
+++ b/configure.ac
@@ -213,6 +213,15 @@ AM_CONDITIONAL(ENABLE_PYTHON, test "x$enable_python" = "xyes")
 GOBJECT_INTROSPECTION_CHECK([0.6.3])
 
 # -----------------------------------------------------------
+# Enable vala (default to "no")
+# -----------------------------------------------------------
+AC_ARG_ENABLE(vala,
+  AC_HELP_STRING([--enable-vala],[Include vala champlain (and champlain-gtk)]),
+    enable_vala=$enableval, enable_vala=no )
+
+AM_CONDITIONAL(ENABLE_VALA, test "x$enable_vala" = "xyes")
+
+# -----------------------------------------------------------
 AC_CONFIG_FILES([Makefile
                  champlain/Makefile
                  champlain/champlain-version.h



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]