[gimp] Issue #1683 - possibly undefined macro: AM_PATH_GTK_3_0



commit 2c81d9cbcfc6c51e4c80c01e52ec5d3e415277a8
Author: Michael Natterer <mitch gimp org>
Date:   Wed Jan 30 21:43:32 2019 +0100

    Issue #1683 - possibly undefined macro: AM_PATH_GTK_3_0
    
    Stop using AM_PATH_GTK_3_0(), it's deprecated, use PKG_CHECK_MODULES()
    instead.

 configure.ac | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index ca9ff18725..c89b168512 100644
--- a/configure.ac
+++ b/configure.ac
@@ -819,9 +819,9 @@ LIBS=$gimp_save_LIBS
 
 AC_PATH_XTRA
 
-AM_PATH_GTK_3_0(gtk_required_version, :,
-  add_deps_error([gtk+-3.0 >= gtk_required_version],
-                 [Test for GTK+ failed.]))
+PKG_CHECK_MODULES(GTK, gtk+-3.0 >= gtk_required_version,,
+                  [add_deps_error([gtk+-3.0 >= gtk_required_version],
+                                  [Test for GTK+ failed.])])
 
 AC_PATH_PROG(GTK_UPDATE_ICON_CACHE, gtk-update-icon-cache, no)
 if test "x$GTK_UPDATE_ICON_CACHE" = xno; then


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