]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
* configure.in: Fix cross-compilation:
authorJoe Orton <jorton@apache.org>
Tue, 9 Jun 2026 06:39:25 +0000 (06:39 +0000)
committerJoe Orton <jorton@apache.org>
Tue, 9 Jun 2026 06:39:25 +0000 (06:39 +0000)
./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 <rouca@debian.org>
Github: closes #548

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1935160 13f79535-47bb-0310-9956-ffa450edef68

configure.in

index 3f51b79dc35a32274b3fac165faaaa749686a4af..124cdb58c39e9dbedc196fd062736e6b7cea2818 100644 (file)
@@ -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