summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndres G. Aragoneses <knocte@gmail.com>2014-03-31 17:46:02 +0200
committerStephan Sundermann <ssundermann@gnome.org>2014-04-01 02:01:21 +0200
commitf4181f0223f454ab24024c632a9e996d61950abd (patch)
treec1077b2264023e4174f110e8a13e8aad78342467
parent07f09dd3dad1438ed23e690c89b80bb962e09b69 (diff)
autogen.sh: advice about installing autoconf if autoreconf not found
-rwxr-xr-xautogen.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/autogen.sh b/autogen.sh
index e1e46f8..6546c6e 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -1,5 +1,8 @@
#!/bin/sh
-
+which autoreconf > /dev/null
+if [ $? -ne 0 ] ; then
+ echo "Please install autoconf" && exit 1;
+fi
mkdir -p m4
autoreconf -i --force --warnings=none -I . -I m4
./configure --enable-maintainer-mode $*