summaryrefslogtreecommitdiff
path: root/buildlib/tools.m4
diff options
context:
space:
mode:
authorArch Librarian <arch@canonical.com>2004-09-20 16:55:23 +0000
committerArch Librarian <arch@canonical.com>2004-09-20 16:55:23 +0000
commit6a15675b2a78d2ed14da05befdd94a7f633b82ad (patch)
tree13bb8ae2c2744583f65a725cab1f08b491bdc24b /buildlib/tools.m4
parentf43579d10c48a2a21c8f418a2a1a7de118b52429 (diff)
Let is bash specific. Use expr.
Author: doogie Date: 1999-12-10 03:42:51 GMT Let is bash specific. Use expr.
Diffstat (limited to 'buildlib/tools.m4')
-rw-r--r--buildlib/tools.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/buildlib/tools.m4 b/buildlib/tools.m4
index de9c8a103..3ee703c00 100644
--- a/buildlib/tools.m4
+++ b/buildlib/tools.m4
@@ -64,11 +64,11 @@ AC_DEFUN(ah_NUM_PROCS,
AC_ARG_WITH(procs,
[ --with-procs The number of processes to run in parallel during make(num_cpus * multiplier).],
[if test "$withval" = "yes"; then
- let "NUM_PROCS=$NUM_CPUS*$PROC_MULTIPLY"
+ NUM_PROCS=`expr $NUM_CPUS \* $PROC_MULTIPLY`
elif test ! "$withval" = "no";then
NUM_PROCS=$withval
fi],
- [let "NUM_PROCS=$NUM_CPUS*$PROC_MULTIPLY"]
+ [NUM_PROCS=`expr $NUM_CPUS \* $PROC_MULTIPLY`]
)
AC_MSG_RESULT([$NUM_PROCS])
AC_SUBST(NUM_PROCS)