From b4970900fd3fbf639a1350f44c5ac5dad94e75cf Mon Sep 17 00:00:00 2001 From: Stefan Becker Date: Mon, 6 Nov 2017 19:52:06 +0200 Subject: [PATCH] configure: allow disabling of AppStream tools On older platforms without AppStream tools it must be possible to disable the AppStream XML file validation step. Add a new option --with-appstream with the default of "yes". --- configure.ac | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/configure.ac b/configure.ac index 9aeb9d03..e6881a77 100644 --- a/configure.ac +++ b/configure.ac @@ -158,6 +158,14 @@ PKG_CHECK_MODULES(VALGRIND, [valgrind], [AC_DEFINE(HAVE_VALGRIND, 1, [Define to 1 if you have the valgrind headers])], [AC_MSG_RESULT(no)]) +dnl build option: with AppStream support +AC_ARG_WITH(appstream, + [AC_HELP_STRING([--with-appstream], + [install AppStream XML file @<:@default=yes@:>@])], + [AS_IF([test "x$withval" = xno], [with_appstream=no])], + [with_appstream=yes]) +AM_CONDITIONAL(SIPE_WITH_APPSTREAM, [test "x$with_appstream" != xno]) + dnl build option: with voice & video support (for all backends) AC_ARG_WITH(vv, [AC_HELP_STRING([--with-vv], -- 2.11.4.GIT