diff options
-rw-r--r-- | buildlib/tools.m4 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/buildlib/tools.m4 b/buildlib/tools.m4 index 6ef52d09..32b7d795 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 |