diff options
-rw-r--r-- | configure.ac | 7 | ||||
-rw-r--r-- | gtk/Makefile.am | 6 |
2 files changed, 12 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 233ce4d..e246f16 100644 --- a/configure.ac +++ b/configure.ac @@ -513,6 +513,13 @@ PKG_CHECK_EXISTS([GOBJECT_INTROSPECTION], GOBJECT_INTROSPECTION_CHECK([0.6.7]) AM_CONDITIONAL([G_IR_SCANNER_SYMBOL_PREFIX], [test "x$has_symbol_prefix" = "xyes"]) +AC_ARG_ENABLE([controller], + AS_HELP_STRING([--enable-controller], [Enable controller build @<:@default=yes@:>@]), + [], + enable_controller="yes") + +AM_CONDITIONAL(WITH_CONTROLLER, [test "x$enable_controller" != "xno"]) + AC_ARG_ENABLE([vala], AS_HELP_STRING([--enable-vala], [Check for vala requirements @<:@default=no@:>@]), [], diff --git a/gtk/Makefile.am b/gtk/Makefile.am index fcfc086..785736d 100644 --- a/gtk/Makefile.am +++ b/gtk/Makefile.am @@ -1,6 +1,10 @@ NULL = -SUBDIRS = controller +SUBDIRS = + +if WITH_CONTROLLER +SUBDIRS += controller +endif # Avoid need for perl(Text::CSV) by end users KEYMAPS = \ |