summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-06-25 16:18:15 -0400
committermidipix <writeonce@midipix.org>2016-11-10 23:35:50 -0500
commit5d92f21a0730906aa47981d77093fffe8b3717b5 (patch)
tree63ad0344001386ba66ad4580e7630c5a30f3e540
parent81367e03c5fa8dd3ef050de362dde0d4da33de1d (diff)
downloadperk-5d92f21a0730906aa47981d77093fffe8b3717b5.tar.bz2
perk-5d92f21a0730906aa47981d77093fffe8b3717b5.tar.xz
build system: configure test optimization: remove `expr` sub-shell invocation.
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 309b128..6894bc6 100755
--- a/configure
+++ b/configure
@@ -316,7 +316,7 @@ native_defaults()
mb_native_os_sizeof_pointer=`$mb_native_cc -dM -E - < /dev/null \
| awk '$2 == "__SIZEOF_POINTER__" { print $3 }'`
- mb_native_os_bits=`expr '8' '*' '0'"$mb_native_os_sizeof_pointer"`
+ mb_native_os_bits=$((8 * ${mb_native_os_sizeof_pointer:-0}))
if [ $mb_native_os_bits = 32 ]; then
mb_native_os_underscore='_'