8013920: Configure sets JOBS to 0 if memory is too low.

Wed, 29 May 2013 13:58:40 +0200

author
erikj
date
Wed, 29 May 2013 13:58:40 +0200
changeset 724
33b6df33a2b7
parent 719
3a36c926a7aa
child 725
03e60e87d92a

8013920: Configure sets JOBS to 0 if memory is too low.
Reviewed-by: tbell

common/autoconf/build-performance.m4 file | annotate | diff | comparison | revisions
common/autoconf/generated-configure.sh file | annotate | diff | comparison | revisions
     1.1 --- a/common/autoconf/build-performance.m4	Tue May 28 17:57:40 2013 -0700
     1.2 +++ b/common/autoconf/build-performance.m4	Wed May 29 13:58:40 2013 +0200
     1.3 @@ -145,6 +145,9 @@
     1.4      if test "$JOBS" -gt "16"; then
     1.5        JOBS=16
     1.6      fi
     1.7 +    if test "$JOBS" -eq "0"; then
     1.8 +      JOBS=1
     1.9 +    fi
    1.10      AC_MSG_RESULT([$JOBS])
    1.11    else
    1.12      JOBS=$with_jobs
     2.1 --- a/common/autoconf/generated-configure.sh	Tue May 28 17:57:40 2013 -0700
     2.2 +++ b/common/autoconf/generated-configure.sh	Wed May 29 13:58:40 2013 +0200
     2.3 @@ -3780,7 +3780,7 @@
     2.4  #CUSTOM_AUTOCONF_INCLUDE
     2.5  
     2.6  # Do not change or remove the following line, it is needed for consistency checks:
     2.7 -DATE_WHEN_GENERATED=1369723814
     2.8 +DATE_WHEN_GENERATED=1369828684
     2.9  
    2.10  ###############################################################################
    2.11  #
    2.12 @@ -32933,6 +32933,9 @@
    2.13      if test "$JOBS" -gt "16"; then
    2.14        JOBS=16
    2.15      fi
    2.16 +    if test "$JOBS" -eq "0"; then
    2.17 +      JOBS=1
    2.18 +    fi
    2.19      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JOBS" >&5
    2.20  $as_echo "$JOBS" >&6; }
    2.21    else

mercurial