From 777616a24d2dec9cef2895bb4e91cddbe411fc3f Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Thu, 22 Feb 2007 20:50:35 +0000 Subject: [PATCH] explicitly check for autocrap tools from the autogen.sh scripts git-svn-id: svn://localhost/ardour2/trunk@1491 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/glibmm2/autogen.sh | 22 ++++++++++++++++++++++ libs/sigc++2/autogen.sh | 21 +++++++++++++++++++++ 2 files changed, 43 insertions(+) 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=. diff --git a/libs/sigc++2/autogen.sh b/libs/sigc++2/autogen.sh index ebb519d373..09597765c6 100755 --- a/libs/sigc++2/autogen.sh +++ b/libs/sigc++2/autogen.sh @@ -1,5 +1,26 @@ #! /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=.