update submodules, determine number of CPU cores.

This commit is contained in:
Enno Rehling 2014-02-17 19:50:57 +01:00
parent b795602b5d
commit 716b1ed498
1 changed files with 2 additions and 1 deletions

3
configure vendored
View File

@ -1,10 +1,11 @@
#!/bin/sh
git submodule update --init
MACHINE=`uname -m`
BIN_DIR="build-$MACHINE-Debug"
[ -z "$CC" ] && [ ! -z `which gcc` ] && CC="gcc"
[ -z "$CC" ] && [ ! -z `which tcc` ] && CC="tcc"
[ -z "$CC" ] && [ ! -z `which cc` ] && CC="cc"
[ -z "$JOBS" ] && JOBS=1
[ -z "$JOBS" ] && JOBS=$(nproc)
DISTCC=`which distcc`
if [ ! -z "$DISTCC" ] ; then