From ef3e6ef2a2bff1b0c57fbd4dcd99a4b2a2ed2a38 Mon Sep 17 00:00:00 2001 From: infirit Date: Sun, 20 Oct 2013 22:33:43 +0200 Subject: Add update-icon-cache config option for makedistcheck Otherwise the cache file is left behind and make distcheck fails. --- configure.ac | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index cc6d3765..88109ff7 100644 --- a/configure.ac +++ b/configure.ac @@ -439,6 +439,13 @@ AC_ARG_ENABLE(update-mimedb, enable_update_mimedb=yes) AM_CONDITIONAL(ENABLE_UPDATE_MIMEDB, test x$enable_update_mimedb = xyes) +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 cut-n-paste-code/Makefile -- cgit v1.2.1