changeset 722:33b6df33a2b7

8013920: Configure sets JOBS to 0 if memory is too low. Reviewed-by: tbell
author erikj
date Wed, 29 May 2013 13:58:40 +0200
parents 3a36c926a7aa
children 03e60e87d92a
files common/autoconf/build-performance.m4 common/autoconf/generated-configure.sh
diffstat 2 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/common/autoconf/build-performance.m4	Tue May 28 17:57:40 2013 -0700
+++ b/common/autoconf/build-performance.m4	Wed May 29 13:58:40 2013 +0200
@@ -145,6 +145,9 @@
     if test "$JOBS" -gt "16"; then
       JOBS=16
     fi
+    if test "$JOBS" -eq "0"; then
+      JOBS=1
+    fi
     AC_MSG_RESULT([$JOBS])
   else
     JOBS=$with_jobs
--- a/common/autoconf/generated-configure.sh	Tue May 28 17:57:40 2013 -0700
+++ b/common/autoconf/generated-configure.sh	Wed May 29 13:58:40 2013 +0200
@@ -3780,7 +3780,7 @@
 #CUSTOM_AUTOCONF_INCLUDE
 
 # Do not change or remove the following line, it is needed for consistency checks:
-DATE_WHEN_GENERATED=1369723814
+DATE_WHEN_GENERATED=1369828684
 
 ###############################################################################
 #
@@ -32933,6 +32933,9 @@
     if test "$JOBS" -gt "16"; then
       JOBS=16
     fi
+    if test "$JOBS" -eq "0"; then
+      JOBS=1
+    fi
     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JOBS" >&5
 $as_echo "$JOBS" >&6; }
   else