aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2022-01-12 17:38:35 +0200
committerHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2022-01-12 17:38:35 +0200
commit18f304d988117f2675e7393adda9f960fbf3cb3a (patch)
treeab2ac1953916f6846ab5f0d23c0a4610a5737715 /configure.ac
parent16781e1bc9f8ffc721ebea73434e0066957bc959 (diff)
downloadbitcoin-18f304d988117f2675e7393adda9f960fbf3cb3a.tar.xz
build: Improve error message when pkg-config is not installed
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 9b080eb0c8..042147f782 100644
--- a/configure.ac
+++ b/configure.ac
@@ -13,7 +13,7 @@ AC_CONFIG_HEADERS([src/config/bitcoin-config.h])
AC_CONFIG_AUX_DIR([build-aux])
AC_CONFIG_MACRO_DIR([build-aux/m4])
-m4_ifndef([PKG_PROG_PKG_CONFIG], [AC_MSG_ERROR([PKG_PROG_PKG_CONFIG macro not found. Please install pkg-config and re-run autogen.sh])])
+m4_ifndef([PKG_PROG_PKG_CONFIG], [m4_fatal([PKG_PROG_PKG_CONFIG macro not found. Please install pkg-config and re-run autogen.sh])])
PKG_PROG_PKG_CONFIG
if test "$PKG_CONFIG" = ""; then
AC_MSG_ERROR([pkg-config not found])