From 716b1ed4987a9734252de4c69940d2e3a5d136a4 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Mon, 17 Feb 2014 19:50:57 +0100 Subject: [PATCH] update submodules, determine number of CPU cores. --- configure | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure b/configure index 8bebf3813..546a28180 100755 --- a/configure +++ b/configure @@ -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