summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xautogen.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/autogen.sh b/autogen.sh
index b483139f9..294a95fae 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -1,2 +1,14 @@
#!/bin/sh
+if ! pkg-config --version >/dev/null
+then
+ echo "You need to install pkg-config"
+ exit 1
+fi
+
+if ! libtool --version >/dev/null
+then
+ echo "You need to install libtool"
+ exit 1
+fi
+
autoreconf --force --install -I m4