summaryrefslogtreecommitdiffhomepage
path: root/configure
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-06-25 16:18:15 -0400
committermidipix <writeonce@midipix.org>2016-06-25 17:34:42 -0400
commit2266b2f37333c7b69304ed2d61776c9b21abe5fb (patch)
tree484e4fcb4b5b29d2176dbda12a86c205dd2a623f /configure
parent404306ffb92f889070c9b2e1bd13531013c7ca7a (diff)
downloaddalist-2266b2f37333c7b69304ed2d61776c9b21abe5fb.tar.bz2
dalist-2266b2f37333c7b69304ed2d61776c9b21abe5fb.tar.xz
build system: configure test optimization: remove `expr` sub-shell invocation.
Diffstat (limited to 'configure')
-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='_'