diff options
author | midipix <writeonce@midipix.org> | 2015-10-31 14:09:54 -0400 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2015-10-31 14:09:54 -0400 |
commit | eb71077fca1bb60bef1e8d11acacc9c4668124d4 (patch) | |
tree | 24e8639e21901366a6cf77dbfe96f5724065cf77 | |
parent | e78ea38af223fefd17ebb54e408855d60d2ad548 (diff) | |
download | pemagine-eb71077fca1bb60bef1e8d11acacc9c4668124d4.tar.bz2 pemagine-eb71077fca1bb60bef1e8d11acacc9c4668124d4.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 |