[Libreoffice-commits] .: configure.ac
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Wed Oct 31 11:44:58 PDT 2012
configure.ac | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
New commits:
commit 388ec32d79616bbb9a69f67dea0bad1751d46f48
Author: Michael Stahl <mstahl at redhat.com>
Date: Wed Oct 31 19:40:41 2012 +0100
configure: fix --with-parallelism, --without-parallelism
"make -jyes" considered useless
Change-Id: I044e95f76e8ea961e781e75c4b6923e700e0d375
diff --git a/configure.ac b/configure.ac
index 145569b..b420286 100644
--- a/configure.ac
+++ b/configure.ac
@@ -12531,8 +12531,13 @@ dnl ===================================================================
dnl Number of CPUs to use during the build
dnl ===================================================================
AC_MSG_CHECKING([for number of processors to use])
-if test -n "$with_parallelism"; then
- PARALLELISM=$with_parallelism
+# plain --with-parallelism is just the default
+if test -n "$with_parallelism" -a "$with_parallelism" != "yes"; then
+ if test "$with_parallelism" = "no"; then
+ PARALLELISM=1
+ else
+ PARALLELISM=$with_parallelism
+ fi
else
if test "$enable_icecream" = "yes"; then
PARALLELISM="10"
More information about the Libreoffice-commits
mailing list