From: Joe Orton Date: Tue, 9 Jun 2026 06:39:25 +0000 (+0000) Subject: * configure.in: Fix cross-compilation: X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f02e35323acbb68b1691ecb219a38cb1a9cd7c7f;p=thirdparty%2Fapache%2Fhttpd.git * configure.in: Fix cross-compilation: ./configure fails finding .pc files, because it uses the build architecture pkg-config. It should be using AC_PATH_TOOL (or better PKG_PROG_PKG_CONFIG) rather than AC_PATH_PROG. Submitted by: Bastien Roucariès Github: closes #548 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1935160 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/configure.in b/configure.in index 3f51b79dc3..124cdb58c3 100644 --- a/configure.in +++ b/configure.in @@ -406,7 +406,7 @@ dnl ### need to move some of the arguments "up here" dnl ## Check for programs AC_PATH_PROG(RM, rm) -AC_PATH_PROG(PKGCONFIG, pkg-config) +AC_PATH_TOOL(PKGCONFIG, pkg-config) AC_PATH_PROG(RSYNC, rsync) AC_PATH_PROG(SVN, svn) AC_PROG_AWK