public inbox for location@lists.ipfire.org
 help / color / mirror / Atom feed
* [PATCH] configure: Remove AC_PATH_PROG call for pkg-config
@ 2026-06-24 17:01 Valters Jansons
  0 siblings, 0 replies; only message in thread
From: Valters Jansons @ 2026-06-24 17:01 UTC (permalink / raw)
  To: location

We already use PKG_PROG_PKG_CONFIG macro higher up in configure.ac,
and it populates PKG_CONFIG variable already. This AC_PATH_PROG use
is redundant at best, and breaks cross-compilation support in specific
cases. The legacy left-over is safe to drop.

Signed-off-by: Valters Jansons <valter.jansons@gmail.com>
---
 configure.ac | 2 --
 1 file changed, 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index d1d7d23..07a608f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -221,8 +221,6 @@ AM_CONDITIONAL(HAVE_SYSTEMD, [test "x$have_systemd" = "xyes"])
 
 # ------------------------------------------------------------------------------
 
-AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
-
 # Python
 AM_PATH_PYTHON([3.4])
 PKG_CHECK_MODULES([PYTHON], [python-${PYTHON_VERSION}])
-- 
2.54.0



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-06-24 17:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-24 17:01 [PATCH] configure: Remove AC_PATH_PROG call for pkg-config Valters Jansons

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox