From 36c62cf8e898860f61f6b0b45d90aeac7ff047c0 Mon Sep 17 00:00:00 2001 From: Arch Librarian Date: Mon, 20 Sep 2004 16:55:24 +0000 Subject: [PATCH] Fix possible bashism in test. Author: doogie Date: 1999-12-10 04:25:33 GMT Fix possible bashism in test. --- buildlib/tools.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildlib/tools.m4 b/buildlib/tools.m4 index 3ee703c0..6ef52d09 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 -- 2.20.1