summaryrefslogtreecommitdiffhomepage
path: root/configure
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2015-10-31 14:57:23 -0400
committermidipix <writeonce@midipix.org>2015-10-31 14:57:23 -0400
commit76ddd8eb3ed54f2244f04528ef6689e765fe461f (patch)
treee8347566a1c33dca47a40dc31a0bd59c9097e090 /configure
parentc561078c571f35c2c8ad98c3eb61c2751e499a3d (diff)
downloaddalist-76ddd8eb3ed54f2244f04528ef6689e765fe461f.tar.bz2
dalist-76ddd8eb3ed54f2244f04528ef6689e765fe461f.tar.xz
build system: perform the host-targeting toolchain tests (host.tag)
as part of configure.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure11
1 files changed, 11 insertions, 0 deletions
diff --git a/configure b/configure
index e1651d0..73585fa 100755
--- a/configure
+++ b/configure
@@ -297,6 +297,16 @@ config_copy()
}
+config_host()
+{
+ make host.tag && return 0
+
+ error_msg "configure was able to generate a Makefile for the selected host,"
+ error_msg "however the host-targeting toolchain was found to be missing"
+ error_msg "at least one of the required headers or features."
+ exit 2
+}
+
# one: init
init_vars
@@ -379,6 +389,7 @@ cross_defaults
# four: config
config_copy
+config_host
# all done