Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100755 22 lines (16 sloc) 0.388 kb
9e5cd01 @ry Revert "Unify configure scripts"
ry authored
1 #! /bin/sh
5cf4cef @ry add configure
ry authored
2
9e5cd01 @ry Revert "Unify configure scripts"
ry authored
3 # v8 doesn't like ccache
4 if [ ! -z "`echo $CC | grep ccache`" ]; then
790f13d @bnoordhuis Fix typo in configure script
bnoordhuis authored
5 echo "Error: V8 doesn't like ccache. Please set your CC env var to 'gcc'"
9e5cd01 @ry Revert "Unify configure scripts"
ry authored
6 echo " (ba)sh: export CC=gcc"
7 exit 1
8 fi
5cf4cef @ry add configure
ry authored
9
9e5cd01 @ry Revert "Unify configure scripts"
ry authored
10 CUR_DIR=$PWD
97c9745 @ry Back to WAF
ry authored
11
9e5cd01 @ry Revert "Unify configure scripts"
ry authored
12 #possible relative path
13 WORKINGDIR=`dirname $0`
14 cd "$WORKINGDIR"
15 #abs path
16 WORKINGDIR=`pwd`
17 cd "$CUR_DIR"
97c9745 @ry Back to WAF
ry authored
18
9e5cd01 @ry Revert "Unify configure scripts"
ry authored
19 "${WORKINGDIR}/tools/waf-light" --jobs=1 configure $*
97c9745 @ry Back to WAF
ry authored
20
9e5cd01 @ry Revert "Unify configure scripts"
ry authored
21 exit $?
Something went wrong with that request. Please try again.