summaryrefslogtreecommitdiffhomepage
path: root/configure
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-11-12 10:16:53 -0500
committermidipix <writeonce@midipix.org>2016-11-12 10:19:10 -0500
commiteb8e2bf42cad2cdb0a472df54adabeebc1e73cc0 (patch)
tree2c0c6840ebc8621206ba48b378575d0b89768fa9 /configure
parentf07c118d85d90b899e1dfd3d2a90d404ef5ac8fc (diff)
downloadapimagic-eb8e2bf42cad2cdb0a472df54adabeebc1e73cc0.tar.bz2
apimagic-eb8e2bf42cad2cdb0a472df54adabeebc1e73cc0.tar.xz
build system: configure: mb_native_os: respect overrides.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure b/configure
index baac353..c13f5f4 100755
--- a/configure
+++ b/configure
@@ -330,7 +330,9 @@ native_defaults()
# os
- mb_native_os=`uname | tr '[:upper:]' '[:lower:]'`
+ if [ -z "$mb_native_os" ]; then
+ mb_native_os=`uname | tr '[:upper:]' '[:lower:]'`
+ fi
mb_native_os_sizeof_pointer=`$mb_native_cc -dM -E - < /dev/null \
| awk '$2 == "__SIZEOF_POINTER__" { print $3 }'`