summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2021-06-09 19:42:04 +0000
committermidipix <writeonce@midipix.org>2021-06-09 19:42:04 +0000
commitab2f8da0c0521ff706db35f97fe77e44d804c678 (patch)
treee689dcf2c70234abe592c52db339557680b7ea97 /configure
parentdd9dbedcf3bc5f6a10d06771c7a26d60dc3ce24d (diff)
downloadslibtool-ab2f8da0c0521ff706db35f97fe77e44d804c678.tar.bz2
slibtool-ab2f8da0c0521ff706db35f97fe77e44d804c678.tar.xz
build system: configure: init_vars(): record explicit CCHOST and --cchost.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure6
1 files changed, 6 insertions, 0 deletions
diff --git a/configure b/configure
index 9c7a6b2..482bf22 100755
--- a/configure
+++ b/configure
@@ -207,6 +207,11 @@ init_vars()
mb_source_dir_set=yes
fi
+ # cchost
+ if [ -n "$CCHOST" ]; then
+ mb_cchost_set=yes
+ fi
+
# step prolog
output_step_prolog ${mb_script} 'init_vars'
@@ -1111,6 +1116,7 @@ for arg ; do
;;
--cchost=*)
mb_cchost=${arg#*=}
+ mb_cchost_set=yes
;;
--cfghost=*)
mb_cfghost=${arg#*=}