Issue #3884: missing libgtk-3-dev leads to configure syntax error.

This commit is contained in:
Jehan 2020-04-27 12:21:19 +02:00
parent 2d4de85fe3
commit 49351777b6
1 changed files with 3 additions and 3 deletions

View File

@ -812,9 +812,9 @@ LIBS=$gimp_save_LIBS
AC_PATH_XTRA
PKG_CHECK_MODULES(GTK, gtk+-3.0 >= gtk_required_version,,
[add_deps_error([gtk+-3.0 >= gtk_required_version],
[Test for GTK+ failed.])])
# Do not delay GTK errors and exit immediately as it will provoke
# harder to understand syntax errors of missing autoconf macros.
PKG_CHECK_MODULES(GTK, gtk+-3.0 >= gtk_required_version);
AC_PATH_PROGS(GTK_UPDATE_ICON_CACHE, gtk-update-icon-cache-3.0 gtk-update-icon-cache, no)
if test "x$GTK_UPDATE_ICON_CACHE" = xno; then