summaryrefslogtreecommitdiff
path: root/libs/glibmm2/autogen.sh
diff options
context:
space:
mode:
Diffstat (limited to 'libs/glibmm2/autogen.sh')
-rwxr-xr-xlibs/glibmm2/autogen.sh22
1 files changed, 22 insertions, 0 deletions
diff --git a/libs/glibmm2/autogen.sh b/libs/glibmm2/autogen.sh
index c58ddd27a2..f2f287d325 100755
--- a/libs/glibmm2/autogen.sh
+++ b/libs/glibmm2/autogen.sh
@@ -1,5 +1,27 @@
#! /bin/sh
+# check all tools first
+
+if /usr/bin/which libtoolize >/dev/null 2>&1 ; then
+ :
+else
+ echo "You do not have libtool installed, which is very sadly required to build part of Ardour"
+ exit 1
+fi
+if /usr/bin/which automake >/dev/null 2>&1 ; then
+ :
+else
+ echo "You do not have automake installed, which is very sadly required to build part of Ardour"
+ exit 1
+fi
+if /usr/bin/which autoconf >/dev/null 2>&1 ; then
+ :
+else
+ echo "You do not have autoconf installed, which is very sadly required to build part of Ardour"
+ exit 1
+fi
+
+
srcdir=`dirname $0`
test -z "$srcdir" && srcdir=.