Added check for pkg-config to autogen.sh
authorRichard Boulton <richard@tartarus.org>
Mon, 25 Jun 2001 12:09:31 +0000 (12:09 +0000)
committerRichard Boulton <richard@tartarus.org>
Mon, 25 Jun 2001 12:09:31 +0000 (12:09 +0000)
Original commit message from CVS:
Added check for pkg-config to autogen.sh

autogen.sh

index 1a1f63b..7181f70 100755 (executable)
@@ -102,6 +102,15 @@ fi
 fi
 
 
+(pkg-config --version) < /dev/null > /dev/null 2>&1 || {
+       echo
+       echo "You must have pkg-config installed to compile $package."
+       echo "Download the appropriate package for your distribution,"
+       echo "or get the source tarball at:"
+       echo "http://www.freedesktop.org/software/pkgconfig/"
+       DIE=1
+}
+
 
 (libtool --version) < /dev/null > /dev/null 2>&1 || {
        echo