From 4e8740a05e820777edee97f1c6531aeecd467e96 Mon Sep 17 00:00:00 2001 From: Martin Szulecki Date: Thu, 16 Oct 2014 15:11:10 +0200 Subject: Add a pkg-config requirement check in autogen.sh --- autogen.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/autogen.sh b/autogen.sh index 3292973..858fca3 100755 --- a/autogen.sh +++ b/autogen.sh @@ -9,6 +9,10 @@ aclocal -I m4 autoheader automake --add-missing autoconf +requires_pkgconfig=`which pkg-config 2>&1 >/dev/null` +if [ $? -ne 0 ]; then + echo "Missing required pkg-config. Please install it on your system and run again." +fi if [ -z "$NOCONFIGURE" ]; then ./configure "$@" -- cgit v1.1-32-gdbae