summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2014-10-16 15:11:10 +0200
committerGravatar Martin Szulecki2014-10-16 15:11:10 +0200
commit4e8740a05e820777edee97f1c6531aeecd467e96 (patch)
tree206fbca1e1c0242c8ed666e2559b5362cf6f49e6
parenta5c5f0a9f479b492204382d8528cfccd874ac34b (diff)
downloadusbmuxd-4e8740a05e820777edee97f1c6531aeecd467e96.tar.gz
usbmuxd-4e8740a05e820777edee97f1c6531aeecd467e96.tar.bz2
Add a pkg-config requirement check in autogen.sh
-rwxr-xr-xautogen.sh4
1 files changed, 4 insertions, 0 deletions
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 "$@"