diff options
author | infirit <[email protected]> | 2013-10-22 13:58:20 +0200 |
---|---|---|
committer | infirit <[email protected]> | 2013-10-22 14:09:26 +0200 |
commit | c88b2e459400bc9f4bcdac18a467d21c403e4b3f (patch) | |
tree | 135a30d8fbd7be8192f0aac8725e6366c68c7c1e /configure.ac | |
parent | 6f064dfd7f52202df314d31edefcca1826e2324b (diff) | |
download | mate-notification-daemon-c88b2e459400bc9f4bcdac18a467d21c403e4b3f.tar.bz2 mate-notification-daemon-c88b2e459400bc9f4bcdac18a467d21c403e4b3f.tar.xz |
Add update-icon-cache config option for makedistcheck
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 39d5d8c..e6760de 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" |