From ad8c4b8efb4c77c961516db6ed8917a6421e3d56 Mon Sep 17 00:00:00 2001 From: Alexander Barton Date: Sat, 20 Apr 2019 18:51:39 +0200 Subject: Update autogen.sh & INSTALL for pkg-config requirements --- autogen.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'autogen.sh') diff --git a/autogen.sh b/autogen.sh index 3a3f717a..bb548227 100755 --- a/autogen.sh +++ b/autogen.sh @@ -103,7 +103,8 @@ Search() Notfound() { echo "Error: $* not found!" - echo "Please install recent versions of GNU autoconf and GNU automake." + echo 'Please install supported versions of GNU autoconf, GNU automake' + echo 'and pkg-config: see the INSTALL file for details.' exit 1 } @@ -161,6 +162,7 @@ AUTOMAKE_VERSION=$(echo $AUTOMAKE | cut -d'-' -f2-) [ -z "$GO" ] && [ -n "$CONFIGURE_ARGS" ] && GO=1 # Verify that all tools have been found +command -v pkg-config >/dev/null || Notfound pkg-config [ -z "$ACLOCAL" ] && Notfound aclocal [ -z "$AUTOHEADER" ] && Notfound autoheader [ -z "$AUTOMAKE" ] && Notfound automake -- cgit 1.4.1