Bug#894069: libgtk-3-dv: AM_PATH_GTK_3_0 misuses AC_PATH_PROG
Simon McVittie
smcv at debian.org
Mon Mar 26 08:15:46 UTC 2018
On Mon, 26 Mar 2018 at 08:50:30 +0100, Simon McVittie wrote:
> On Mon, 26 Mar 2018 at 06:28:44 +0200, Helmut Grohne wrote:
> > If AM_PATH_GTK_3_0 was using PKG_PROG_PKG_CONFIG or even
> > PKG_CHECK_MODULES, this problem would have gone away entirely. Is there
> > a reason for not using these macros?
>
> AM_PATH_GTK_3_0 is itself deprecated in favour of PKG_CHECK_MODULES
> (officially since 2014, but its removal was already proposed in 2011).
> I assume that the more-correct pkg-config macros were either unavailable
> or not widely known at the time this macro was written.
The other reason why it doesn't just use PKG_CHECK_MODULES is that this
macro carries out some more elaborate checks for broken installations and
inconsistent environment variables, particularly when not cross-compiling.
smcv
More information about the pkg-gnome-maintainers
mailing list