Skip to content

Commit

Permalink
Bug 5428: Warn if pkg-config is not found (#1902)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
kinkie authored and squid-anubis committed Sep 20, 2024
1 parent 84f5cdd commit 5b8668e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -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"],[
Expand Down

0 comments on commit 5b8668e

Please sign in to comment.