diff options
author | midipix <writeonce@midipix.org> | 2015-10-31 15:17:47 -0400 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2015-10-31 15:17:47 -0400 |
commit | dedbf5b2d105a1d1844e2afe3769882295ec30d8 (patch) | |
tree | c74ba5f5f58d8c12c7ccea0fb715861fc73af5bf | |
parent | 56e957546144361ef525391ee22c3b6649b6d02e (diff) | |
download | ntapi-dedbf5b2d105a1d1844e2afe3769882295ec30d8.tar.bz2 ntapi-dedbf5b2d105a1d1844e2afe3769882295ec30d8.tar.xz |
build system: perform the host-targeting toolchain tests (host.tag)
as part of configure.
-rwxr-xr-x | configure | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -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 |