]> arthur.barton.de Git - ngircd-alex.git/blobdiff - autogen.sh
Update autogen.sh & INSTALL for pkg-config requirements
[ngircd-alex.git] / autogen.sh
index 3a3f717aa0ad5896d6e05930b278f2cbe5d1d68f..bb5482278ea9d0c52f9582fbda19810e76d997cd 100755 (executable)
@@ -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