possibly undefined macro: AM_PATH_GTK_3_0
GIMP version: git
Operating System: Archlinux with GTK3 3.22.30
Package: gimp-git
Description of the bug
autogen.sh will complain about AM_PATH_GTK_3_0 with gtk3 installed. And at gtk-3.0.m4, AM_PATH_GTK_3_0 seems deprecated and suggested to use PKG_CHECK_MODULES instead.
dnl AM_PATH_GTK_3_0([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND [, MODULES]]]]) dnl Test for GTK+, and define GTK_CFLAGS and GTK_LIBS, if gthread is specified in MODULES, dnl pass to pkg-config dnl AC_DEFUN([AM_PATH_GTK_3_0], [m4_warn([obsolete], [AM_PATH_GTK_3_0 is deprecated, use PKG_CHECK_MODULES([GTK], [gtk+-3.0]) instead]) dnl Get the cflags and libraries from pkg-config dnl
Reproduction
Is the bug reproducible? Always Reproduction steps:
Just run autogen.sh and the error will come out
…
Expected result:
Actual result:
Additional information
I am testing that you have the tools required to build the
GNU Image Manipulation Program from git. This test is not foolproof,
so if anything goes wrong, see the file HACKING for more information...
checking for libtool >= 1.5 ... Major version might be too new (2.4.6.40)
checking for gtkdocize ... yes
checking for autoconf >= 2.54 ... yes (version 2.69)
checking for automake >= 1.13.0 ... yes (version 1.15.1)
checking for intltool >= 0.40.1 ... yes (version 0.51.0)
checking for xsltproc ... yes
I am going to run ./configure with the following arguments:
--prefix=/usr --sysconfdir=/etc --enable-mp --enable-gimp-console --enable-python --without-aa
configure.ac:769: warning: macro 'AM_PATH_GTK_3_0' not found in library
libtoolize: putting auxiliary files in '.'.
libtoolize: linking file './ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4macros'.
libtoolize: linking file 'm4macros/libtool.m4'
libtoolize: linking file 'm4macros/ltoptions.m4'
libtoolize: linking file 'm4macros/ltsugar.m4'
libtoolize: linking file 'm4macros/ltversion.m4'
libtoolize: linking file 'm4macros/lt~obsolete.m4'
configure.ac:242: installing './compile'
configure.ac:243: installing './config.guess'
configure.ac:243: installing './config.sub'
configure.ac:97: installing './install-sh'
configure.ac:97: installing './missing'
Makefile.am: installing './INSTALL'
app-tools/Makefile.am: installing './depcomp'
parallel-tests: installing './test-driver'
plug-ins/common/Makefile.am:296: warning: variable 'animation_play_SOURCES' is defined but no program or
plug-ins/common/Makefile.am:296: library has 'animation_play' as canonical name (possible typo)
plug-ins/common/Makefile.am:551: warning: variable 'curve_bend_SOURCES' is defined but no program or
plug-ins/common/Makefile.am:551: library has 'curve_bend' as canonical name (possible typo)
plug-ins/common/Makefile.am:299: warning: variable 'animation_play_LDADD' is defined but no program or
plug-ins/common/Makefile.am:299: library has 'animation_play' as canonical name (possible typo)
plug-ins/common/Makefile.am:554: warning: variable 'curve_bend_LDADD' is defined but no program or
plug-ins/common/Makefile.am:554: library has 'curve_bend' as canonical name (possible typo)
configure.ac:783: error: possibly undefined macro: AM_PATH_GTK_3_0
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.