diff options
author | Tomaž Vajngerl <quikee@gmail.com> | 2010-04-10 13:28:54 +0200 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2010-04-10 13:28:54 +0200 |
commit | aa31e8a749f04a8a02ab846a8515a5f2fabdfe09 (patch) | |
tree | 98bbf112170d860f9dbf00be590d61446bae9bfd | |
parent | 47b8220b3577477699a4f63fd6f788c9e6917492 (diff) | |
download | libchamplain-aa31e8a749f04a8a02ab846a8515a5f2fabdfe09.tar.gz |
Add vala bindings as a choice in configure.ac.
-rw-r--r-- | bindings/Makefile.am | 4 | ||||
-rw-r--r-- | 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 |