summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorinfirit <[email protected]>2013-10-22 13:58:20 +0200
committerinfirit <[email protected]>2013-10-22 14:37:24 +0200
commit8328d19662bc7cc61d2ed730a5acd7667838c416 (patch)
treeac11b40f4fc091a4f6ad2eb0e38fd4fbb969a571 /configure.ac
parent0656ca9fb350ebcf05d205dc861cacc875067dd7 (diff)
downloadmate-notification-daemon-8328d19662bc7cc61d2ed730a5acd7667838c416.tar.bz2
mate-notification-daemon-8328d19662bc7cc61d2ed730a5acd7667838c416.tar.xz
Add update-icon-cache config option for makedistcheck
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac10
1 files changed, 10 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index a622f23..c40cc48 100644
--- a/configure.ac
+++ b/configure.ac
@@ -243,6 +243,16 @@ if test "$GCC" = "yes" -a "$set_more_warnings" != "no"; then
else
AC_MSG_RESULT(no)
fi
+
+dnl ---------------------------------------------------------------------------
+dnl Enabel/disable icon cache generation
+dnl ---------------------------------------------------------------------------
+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"])
AM_CFLAGS="$AM_CFLAGS $WARN_CFLAGS $WARNINGCFLAGS"
AM_CXXFLAGS="$AM_CXXFLAGS $WARN_CXXFLAGS"