net: `Server.listen`, `Server.close` and `Socket.connect` return `this`
[platform/upstream/nodejs.git] / configure
1 #! /bin/sh
2
3 # v8 doesn't like ccache
4 if [ ! -z "`echo $CC | grep ccache`" ]; then
5   echo "Error: V8 doesn't like ccache. Please set your CC env var to 'gcc'"
6   echo "  (ba)sh: export CC=gcc"
7   exit 1
8 fi
9
10 CUR_DIR=$PWD
11
12 #possible relative path
13 WORKINGDIR=`dirname $0`
14 cd "$WORKINGDIR"
15 #abs path
16 WORKINGDIR=`pwd`
17 cd "$CUR_DIR"
18
19 "${WORKINGDIR}/tools/waf-light" --jobs=1 configure $*
20
21 exit $?