From 806f4efc342a3dcf383264f678fbb75cd5046afa Mon Sep 17 00:00:00 2001 From: Dane Springmeyer Date: Fri, 11 Apr 2014 14:37:14 -0400 Subject: [PATCH] check for autotools --- setup-libraries.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/setup-libraries.sh b/setup-libraries.sh index adca11e09..090ac4d78 100755 --- a/setup-libraries.sh +++ b/setup-libraries.sh @@ -1,8 +1,13 @@ #!/bin/sh set -e -u +if [ ! `which aclocal` ] || [ ! `which automake` ] || [ ! `which autoconf` ] || [ ! `which glibtool` ]; then + echo 'autotools commands not found: run "brew install autoconf automake libtool" before continuing' + exit 1 +fi + if [ ! -d 'mapnik-packaging' ]; then - git clone --depth=0 https://github.com/mapnik/mapnik-packaging.git + git clone --depth=1 https://github.com/mapnik/mapnik-packaging.git fi cd mapnik-packaging/osx/