From c927532dc37c1e2c86ded2cbec6f8fe3cfaf9866 Mon Sep 17 00:00:00 2001 From: infirit Date: Tue, 28 Jan 2014 15:42:31 +0100 Subject: Fix distcheck: part 2, add option to configure.ac --- configure.ac | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/configure.ac b/configure.ac index 164db54..b54ed04 100644 --- a/configure.ac +++ b/configure.ac @@ -67,6 +67,13 @@ dnl AC_MSG_RESULT(not found) dnl AC_MSG_ERROR(required pyglade version not found) dnl fi +AC_ARG_ENABLE(icon-update, AC_HELP_STRING([--disable-icon-update], + [Disable icon cache update])) +if (test "$enable_icon_update" != no); then + AC_PATH_PROG(UPDATE_ICON_CACHE, [gtk-update-icon-cache]) +fi +AM_CONDITIONAL([ICON_UPDATE], [test -n "$UPDATE_ICON_CACHE"]) + AC_CONFIG_FILES([ Makefile po/Makefile.in -- cgit v1.2.1