commit ce5e2d54bbcf82c9dad5c07b36b04461e7d98c5a
parent bd176c91f1e54dd5a81b99be9b78e6046c881de5
Author: Ricardo Mones <ricardo@mones.org>
Date: Fri, 31 Aug 2018 20:36:54 +0200
Fix bug #3418 ‘Building on a Cross Compiling toolchain doesn't work’
The bug is really fixed in commit 8eee2fd5ddb9d24d8f58bf88afdea8ca67daaea5
This only adds a slight modification of the remaining portion of the
patch checking the macro itself, from the original attached to the bug
by ridai.govinda@gmail.com.
Diffstat:
1 file changed, 8 insertions(+), 0 deletions(-)
diff --git a/configure.ac b/configure.ac
@@ -65,6 +65,14 @@ 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)
+dnl Require pkg-config
+m4_ifndef([PKG_PROG_PKG_CONFIG],
+ [m4_fatal([Could not locate the pkg-config autoconf macros. These
+are usually located in /usr/share/aclocal/pkg.m4. If your macros
+are in a different location, try setting the environment variable
+ACLOCAL_FLAGS before running ./autogen.sh or autoreconf again. E.g.:
+export ACLOCAL_FLAGS="-I/other/macro/dir"])
+])
PKG_PROG_PKG_CONFIG
dnl libtool versioning