Commit fc9c7025 authored by Ondřej Surý's avatar Ondřej Surý

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

parent 4f74e756
Pipeline #30696 passed with stages
in 19 minutes and 53 seconds
......@@ -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 :
......
......@@ -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],
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment