From 58d8ec274a472ed177715b6389b2892563a38d74 Mon Sep 17 00:00:00 2001 From: "Bastian M. Wojek" Date: Thu, 2 Jul 2009 21:15:46 +0000 Subject: [PATCH] Final commit of BMW regarding musrfit core-features --- autogen.sh | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/autogen.sh b/autogen.sh index df81ca10..babb518a 100755 --- a/autogen.sh +++ b/autogen.sh @@ -20,6 +20,29 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +PATHTOAUTOCONF=$(which autoconf) +PATHTOAUTOMAKE=$(which automake) +PATHTOLIBTOOL=$(which libtoolize) + +if [ "$PATHTOAUTOCONF" == "" ]; then + echo + echo ">> GNU autoconf has not been found!" + echo ">> Please install it first and then re-run the script!" + echo + exit 1 +elif [ "$PATHTOAUTOMAKE" == "" ]; then + echo + echo ">> GNU automake has not been found!" + echo ">> Please install it first and then re-run the script!" + echo + exit 1 +elif [ "$PATHTOLIBTOOL" == "" ]; then + echo + echo ">> GNU libtool has not been found!" + echo ">> Please install it first and then re-run the script!" + echo + exit 1 +fi dir=`echo "$0" | sed 's,[^/]*$,,'` test "x${dir}" = "x" && dir='.'