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:47 -0500
commitdaebfce69f8dfb1ab09b11149c36735a374d6a93 (patch)
treee5e25bbc4f42615c2f7ca332d11f16353a826b4d /configure
parent981756713611b5e67eff9df5e0d98b6c829f79c4 (diff)
downloadntcon-daebfce69f8dfb1ab09b11149c36735a374d6a93.tar.bz2
ntcon-daebfce69f8dfb1ab09b11149c36735a374d6a93.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 }'`