summaryrefslogtreecommitdiff
path: root/buildlib/tools.m4
diff options
context:
space:
mode:
authorArch Librarian <arch@canonical.com>2004-09-20 16:55:24 +0000
committerArch Librarian <arch@canonical.com>2004-09-20 16:55:24 +0000
commit36c62cf8e898860f61f6b0b45d90aeac7ff047c0 (patch)
tree9b6d677ba71ad789f7a9ce82312030e25cffc668 /buildlib/tools.m4
parent6a15675b2a78d2ed14da05befdd94a7f633b82ad (diff)
Fix possible bashism in test.
Author: doogie Date: 1999-12-10 04:25:33 GMT Fix possible bashism in test.
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 3ee703c00..6ef52d09c 100644
--- a/buildlib/tools.m4
+++ b/buildlib/tools.m4
@@ -19,7 +19,7 @@ AC_DEFUN(ah_NUM_CPUS,
AC_ARG_WITH(cpus,
[ --with-cpus The number of cpus to be used for building(see --with-procs, default 1)],
[if test "$withval" = "yes"; then
- if test "$GETCONF";then
+ if test ! -z "$GETCONF";then
NUM_CPUS=`$GETCONF _NPROCESSORS_ONLN 2>/dev/null`
else
NUM_CPUS=1