2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-30 05:57:52 +00:00

Merge branch '1396-document-bind-9-15-x-need-for-pkg-config' into 'master'

Fail the autoconf script early if pkg-config is not present.

Closes #1396

See merge request isc-projects/bind9!2889
This commit is contained in:
Ondřej Surý 2020-01-14 13:31:17 +00:00
commit 8f902a72ff
2 changed files with 5 additions and 0 deletions

3
configure vendored
View File

@ -12216,6 +12216,9 @@ $as_echo "no" >&6; }
PKG_CONFIG=""
fi
fi
if test -z "$PKG_CONFIG"; then :
as_fn_error $? "The pkg-config script could not be found or is too old." "$LINENO" 5
fi
# Check whether --enable-buffer_useinline was given.
if test "${enable_buffer_useinline+set}" = set; then :

View File

@ -61,6 +61,8 @@ AC_SUBST(BACKTRACECFLAGS)
#
PKG_PROG_PKG_CONFIG
AS_IF([test -z "$PKG_CONFIG"],
[AC_MSG_ERROR([The pkg-config script could not be found or is too old.])])
AC_ARG_ENABLE(buffer_useinline,
AS_HELP_STRING([--enable-buffer-useinline],