Commit 1479bda8 authored by Simon McVittie's avatar Simon McVittie Committed by Simon McVittie
Browse files

configure: Use PKG_PROG_PKG_CONFIG instead of reinventing it



When cross-compiling (for example for aarch64 on x86), using AC_PATH_PROG
to search for pkg-config will find the build architecture (x86)
pkg-config, but what we want is the host architecture (aarch64)
pkg-config. PKG_PROG_PKG_CONFIG does this correctly, by using
AC_PATH_TOOL.
Signed-off-by: Simon McVittie's avatarSimon McVittie <smcv@debian.org>
parent 8909b350
This commit is part of merge request !20. Comments created here will be created in the context of that merge request.
......@@ -71,7 +71,7 @@ AC_PROG_LN_S
AC_PROG_MAKE_SET
AM_DISABLE_STATIC
AM_PROG_LIBTOOL
AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
PKG_PROG_PKG_CONFIG
AM_GNU_GETTEXT([external])
# FIXME: Remove AM_GNU_GETTEXT_VERSION once autoreconf supports REQUIRE_VERSION
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment