svn commit: r1935160 - httpd/httpd/trunk

[email protected] Tue, 09 Jun 2026 06:39:25 -0000
Newsgroups gmane.comp.apache.cvs
Message-ID <178098716567.150811.17095121429962482175@svn03-he-fi>
Author: jorton
Date: Tue Jun  9 06:39:25 2026
New Revision: 1935160

Log:
* 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 <[email protected]>
Github: closes #548

Modified:
   httpd/httpd/trunk/configure.in

Modified: httpd/httpd/trunk/configure.in
==============================================================================
--- httpd/httpd/trunk/configure.in	Tue Jun  9 05:15:24 2026	(r1935159)
+++ httpd/httpd/trunk/configure.in	Tue Jun  9 06:39:25 2026	(r1935160)
@@ -406,7 +406,7 @@ dnl ### need to move some of the argumen
 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