summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2014-10-21 12:49:19 +0200
committerKonstantin Käfer <mail@kkaefer.com>2014-10-21 12:49:19 +0200
commitab42c0cf936758192f384589e80b4c9693d1146d (patch)
treeb25e95ce84d770e6861a66e88a28f7c0f6ec0f75 /configure
parentef1792fe470a6b280aa2864ae988561c4784ddb2 (diff)
downloadqtlocation-mapboxgl-ab42c0cf936758192f384589e80b4c9693d1146d.tar.gz
cleanup makefile
[skip ci]
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure b/configure
index dc32be1356..e943690513 100755
--- a/configure
+++ b/configure
@@ -3,6 +3,8 @@
set -e
set -o pipefail
+CONFIG_FILE=${1:-config.gypi}
+
. ~/.nvm/nvm.sh
nvm use 0.10
@@ -30,11 +32,13 @@ if [ -z "${BOOST_ROOT}" ]; then
BOOST_ROOT='/usr'
else
>&2 echo -e "\033[1m\033[31mCannot find Boost\033[0m";
+ exit 1
fi
fi
if [ ! -d "${BOOST_ROOT}/include/boost" ]; then
>&2 echo -e "\033[1m\033[31mCannot find Boost at ${BOOST_ROOT}\033[0m";
+ exit 1
else
>&2 echo -e "\033[1m\033[32m* Using Boost installation at ${BOOST_ROOT}\033[0m";
fi