summaryrefslogtreecommitdiff
path: root/buildlib/tools.m4
diff options
context:
space:
mode:
Diffstat (limited to 'buildlib/tools.m4')
-rw-r--r--buildlib/tools.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/buildlib/tools.m4 b/buildlib/tools.m4
index 6ef52d09c..32b7d7956 100644
--- a/buildlib/tools.m4
+++ b/buildlib/tools.m4
@@ -27,7 +27,7 @@ AC_DEFUN(ah_NUM_CPUS,
elif test ! "$withval" = "no";then
NUM_CPUS=$withval
fi],
- [if test "$GETCONF";then
+ [if test ! -z "$GETCONF";then
NUM_CPUS=`$GETCONF _NPROCESSORS_ONLN 2>/dev/null`
else
NUM_CPUS=1