From: Francesco Chemolli <5175948+kinkie@users.noreply.github.com> Date: Mon, 23 Sep 2024 02:09:29 +0000 (+0000) Subject: Bug 5428: Warn if pkg-config is not found (#1902) X-Git-Tag: SQUID_7_0_1~59 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ea10f7de0a37282047630b2e84a52a5605269b26;p=thirdparty%2Fsquid.git Bug 5428: Warn if pkg-config is not found (#1902) Squid builds without pkg-config, but results are likely to surprise administrators because many optional features will not be default-enabled despite properly installed libraries. --- diff --git a/configure.ac b/configure.ac index 19a5cbe7f8..58481fed7f 100644 --- a/configure.ac +++ b/configure.ac @@ -117,6 +117,10 @@ dnl Libtool 2.2.6 requires: rm -f RM="$RM -f" PKG_PROG_PKG_CONFIG +AS_IF([test "x$PKG_CONFIG" = "x"],[ + AC_MSG_WARN([pkg-config not found. Many optional features with external dependencies will not be enabled by default, usually without further warnings.]) +]) + AC_PATH_PROG(PERL, perl, none) AS_IF([test "x$ac_cv_path_PERL" = "xnone"],[