From d9059fbbd9aec9f6f62d3419c932304884c81158 Mon Sep 17 00:00:00 2001 From: rbuj Date: Sun, 17 Oct 2021 09:57:58 +0200 Subject: Let user disable collection menu entry [--disable-collection] --- configure.ac | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index a41e815..6448195 100644 --- a/configure.ac +++ b/configure.ac @@ -41,6 +41,15 @@ PKG_CHECK_MODULES(GIO_UNIX, gio-unix-2.0 >= 2.50.0) AC_SUBST(GIO_UNIX_CFLAGS) AC_SUBST(GIO_UNIX_LIBS) +AC_ARG_ENABLE(collection, + AC_HELP_STRING([--enable-collection], + [enable collection menu entry]),, + enable_collection=yes) + +if test x$enable_collection = xyes; then + AC_DEFINE(WITH_COLLECTION,1,[Build with collection menu entry support]) +fi + AC_ARG_ENABLE(deprecation_flags, [AC_HELP_STRING([--enable-deprecation-flags], [use *_DISABLE_DEPRECATED flags @<:@default=no@:>@])],, @@ -102,6 +111,7 @@ echo " Use *_DISABLE_DEPRECATED: ${enable_deprecation_flags} Turn on debugging: ${ax_enable_debug} + Collection menu entry: ${enable_collection} Build introspection support: ${found_introspection} Native Language support: ${USE_NLS} -- cgit v1.2.1