[gimp] configure: check for gtk-update-icon-cache



commit 6aa53ed2c6600755f93ab455724090142feda536
Author: Michael Natterer <mitch gimp org>
Date:   Tue May 6 20:14:39 2014 +0200

    configure: check for gtk-update-icon-cache

 configure.ac |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index a93c639..62e030f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -583,6 +583,11 @@ AC_PATH_XTRA
 AM_PATH_GTK_2_0(gtk_required_version, :,
   AC_MSG_ERROR(Test for GTK+ failed. See the file 'INSTALL' for help.))
 
+AC_PATH_PROG(GTK_UPDATE_ICON_CACHE, gtk-update-icon-cache, no)
+if test "x$GTK_UPDATE_ICON_CACHE" = xno; then
+  AC_MSG_ERROR(Could not find gtk-update-icon-cache in your PATH)
+fi
+
 # GTK+ 2.26.0 will never be released, we keep the check around anyway
 # because we will need it again after the switch to GTK+ 3.x
 AC_MSG_CHECKING([if GTK+ is version 2.26.0 or newer (bogus placeholder check)])


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]