diff options
author | midipix <writeonce@midipix.org> | 2015-10-27 22:02:30 -0400 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-11-10 23:35:23 -0500 |
commit | e61178ba8cd56269061af28be164bdb50b2285e7 (patch) | |
tree | f7167a7d7a4d990e9669a162b1ac3910fa56ed4e | |
parent | 4304d4df8f56703d70e4329e4c5f2fa4997cdc24 (diff) | |
download | perk-e61178ba8cd56269061af28be164bdb50b2285e7.tar.bz2 perk-e61178ba8cd56269061af28be164bdb50b2285e7.tar.xz |
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 |