Fixes #101: Obscure ./configure error when pkg-config is not installed

Produce a more meaningful error message at autoconf time when pkg-config
is not installed on the host system.
This commit is contained in:
Alexey Kopytov
2017-01-16 08:41:48 +03:00
parent 4a90b2455a
commit 60778578f8

View File

@ -19,6 +19,9 @@ AC_CONFIG_SRCDIR([sysbench/sysbench.c])
AC_CONFIG_HEADER([config/config.h])
AC_CONFIG_MACRO_DIR([m4])
m4_pattern_forbid([^PKG_[A-Z_]+$],
[pkg-config has to be installed to build sysbench])
ACX_USE_SYSTEM_EXTENSIONS
AC_PROG_CC