8013920: Configure sets JOBS to 0 if memory is too low.
authorerikj
Wed, 29 May 2013 13:58:40 +0200
changeset 17660 b226baa345a2
parent 17654 2fd6acba737b
child 17661 55c5e0f7b9cc
8013920: Configure sets JOBS to 0 if memory is too low. Reviewed-by: tbell
common/autoconf/build-performance.m4
common/autoconf/generated-configure.sh
--- a/common/autoconf/build-performance.m4	Wed Jul 05 18:57:05 2017 +0200
+++ 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	Wed Jul 05 18:57:05 2017 +0200
+++ 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