[ooo-build-commit] .: configure.in

Thorsten Behrens thorsten at kemper.freedesktop.org
Tue Sep 21 08:49:22 PDT 2010


 configure.in |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 2acfa653b967c14d20b945c3102a7f718b4cbe99
Author: Thorsten Behrens <thb at openoffice.org>
Date:   Tue Sep 21 17:40:45 2010 +0200

    Properly catch unknown cpu number situation

diff --git a/configure.in b/configure.in
index 6dfa4dd..69b5529 100644
--- a/configure.in
+++ b/configure.in
@@ -7387,7 +7387,7 @@ BUILD_NCPUS=`grep $'^processor\t*:' /proc/cpuinfo | wc -l`
 if test "z$with_num_cpus" != "z"; then
     BUILD_NCPUS=$with_num_cpus
 fi
-if test "$BUILD_NCPUS" = "0" ; then
+if echo "$BUILD_NCPUS" | $EGREP -q '^[[[:space:]]]*0[[[:space:]]]*$' ; then
    BUILD_NCPUS=1
 fi
 AC_MSG_RESULT([$BUILD_NCPUS])


More information about the ooo-build-commit mailing list