summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorinfirit <[email protected]>2014-02-16 22:27:22 +0100
committerinfirit <[email protected]>2014-02-16 22:27:22 +0100
commit2f2e67b88935259b6e1c214a2c70b4c964f59028 (patch)
treeae5f84c2b52774d8d0f5426cf5164b16925f0067 /configure.ac
parent064ef1f010b78db5fb98cbd8cea3893054410ef1 (diff)
downloadlibmateweather-2f2e67b88935259b6e1c214a2c70b4c964f59028.tar.bz2
libmateweather-2f2e67b88935259b6e1c214a2c70b4c964f59028.tar.xz
Add option to disable icon cache updatelibmateweather-1.7.90
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac7
1 files changed, 7 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 4a0e70c..44fb8eb 100644
--- a/configure.ac
+++ b/configure.ac
@@ -163,6 +163,13 @@ AC_SUBST(GETTEXT_PACKAGE)
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", [Gettext Package])
AM_GLIB_GNU_GETTEXT
+dnl icon cache
+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"])
dnl ***************************************************************************
dnl *** REGEX ***