diff options
| author | Alexander Barton <alex@barton.de> | 2019-04-20 18:51:39 +0200 |
|---|---|---|
| committer | Alexander Barton <alex@barton.de> | 2019-04-20 18:51:39 +0200 |
| commit | ad8c4b8efb4c77c961516db6ed8917a6421e3d56 (patch) | |
| tree | cb65cbd1a3782d272e085e66a2859a0880e26df2 /autogen.sh | |
| parent | ad86a41eeed9f85d74bb50a25fa0bf4515aaf3af (diff) | |
| download | ngircd-ad8c4b8efb4c77c961516db6ed8917a6421e3d56.tar.gz ngircd-ad8c4b8efb4c77c961516db6ed8917a6421e3d56.zip | |
Update autogen.sh & INSTALL for pkg-config requirements
Diffstat (limited to 'autogen.sh')
| -rwxr-xr-x | autogen.sh | 4 |
1 files changed, 3 insertions, 1 deletions
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 |