]> git.saurik.com Git - apt.git/commitdiff
Let is bash specific. Use expr.
authorArch Librarian <arch@canonical.com>
Mon, 20 Sep 2004 16:55:23 +0000 (16:55 +0000)
committerArch Librarian <arch@canonical.com>
Mon, 20 Sep 2004 16:55:23 +0000 (16:55 +0000)
Author: doogie
Date: 1999-12-10 03:42:51 GMT
Let is bash specific.  Use expr.

buildlib/tools.m4

index de9c8a1033a07ce68a0047799f2fbc93a3e99a20..3ee703c00204b557fab075b873f0c6886ebea2f0 100644 (file)
@@ -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)