Author: doogie
Date: 1999-12-10 04:25:33 GMT
Fix possible bashism in test.
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
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
NUM_CPUS=`$GETCONF _NPROCESSORS_ONLN 2>/dev/null`
else
NUM_CPUS=1