talons

Fork of Claws Mail https://www.claws-mail
Log | Files | Refs | README | LICENSE

commit 8eee2fd5ddb9d24d8f58bf88afdea8ca67daaea5
parent 9883b5177048b9aae430bde299db57293eb16f06
Author: Paul <paul@claws-mail.org>
Date:   Mon, 27 Aug 2018 18:42:44 +0100

fix lintian autotools-pkg-config-macro-not-cross-compilation-safe warning

see
https://lintian.debian.org/tags/autotools-pkg-config-macro-not-cross-compilation-safe.html

Diffstat:
Mconfigure.ac | 7++-----
1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/configure.ac b/configure.ac @@ -65,10 +65,7 @@ AC_SUBST(GIT_VERSION) AC_CHECK_PROG(HAVE_GTK_ICON_CACHE, gtk-update-icon-cache, yes, no) AM_CONDITIONAL(UPDATE_GTK_ICON_CACHE, test x"$HAVE_GTK_ICON_CACHE" = xyes) -AC_PATH_PROG(PKG_CONFIG, pkg-config, no) -if test x$PKG_CONFIG = xno ; then - AC_MSG_ERROR([*** pkg-config not found. See http://www.freedesktop.org/software/pkgconfig/]) -fi +PKG_PROG_PKG_CONFIG dnl libtool versioning LT_RELEASE=$MAJOR_VERSION.$MINOR_VERSION @@ -427,7 +424,7 @@ dnl ***************** dnl check for glib PKG_CHECK_MODULES(GLIB, glib-2.0 >= 2.28 gmodule-2.0 >= 2.28 gobject-2.0 >= 2.28 gthread-2.0 >= 2.28) -GLIB_GENMARSHAL=`pkg-config --variable=glib_genmarshal glib-2.0` +GLIB_GENMARSHAL=`$PKG_CONFIG --variable=glib_genmarshal glib-2.0` AC_SUBST(GLIB_GENMARSHAL) AC_SUBST(GLIB_CFLAGS)