Description: Remove gtk2 build dependency
 Replace one macro with another that does not require gtk2
Forwarded: https://gitlab.gnome.org/GNOME/pan/-/issues/116
Origin: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=967894#17
--- a/configure.ac
+++ b/configure.ac
@@ -183,7 +183,7 @@
                       AC_MSG_RESULT(no)
                       ])
    fi
-   AM_PATH_GTK_2_0($GTK_REQUIRED,,exit 1,gthread)
+   PKG_CHECK_MODULES([GTK], [gtk+-2.0 >= $GTK_REQUIRED, gthread-2.0])
 fi
 
 AC_SUBST(ENCHANT_CFLAGS)
