summaryrefslogtreecommitdiff
path: root/gnattools/configure
diff options
context:
space:
mode:
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>2016-05-16 08:55:12 +0000
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>2016-05-16 08:55:12 +0000
commit5788a3249e37a34cd76c097318a096037a13b197 (patch)
tree2332d7afe677a11a9c05a9d73f2c43b2ddf37919 /gnattools/configure
parent92bf9b3623d8837ebc8f4fb8d135934fc432215c (diff)
downloadgcc-5788a3249e37a34cd76c097318a096037a13b197.tar.gz
gnattools/
* configure.ac: Add ACX_NONCANONICAL_HOST. * configure: Regenerate. * Makefile.in: Replace host_alias with host_noncanonical. (gnattools-cross): Do not rename the tools. gcc/ * configure.ac: Add ACX_NONCANONICAL_HOST. * configure: Regenerate. * Makefile.in: Set host_noncanonical. gcc/ada * gcc-interface/Make-lang.in (GNATMAKE_FOR_HOST): In the canadian cross case, use host_noncanonical instead of host as prefix. (GNATBIND_FOR_HOST): Likewise. (GNATLINK_FOR_HOST): Likewise. (GNATLS_FOR_HOST): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@236267 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gnattools/configure')
-rwxr-xr-xgnattools/configure3
1 files changed, 3 insertions, 0 deletions
diff --git a/gnattools/configure b/gnattools/configure
index 5243ebd70e4..8c75cc06eb5 100755
--- a/gnattools/configure
+++ b/gnattools/configure
@@ -567,6 +567,7 @@ TOOLS_TARGET_PAIRS
default_gnattools_target
LN_S
target_noncanonical
+host_noncanonical
target_os
target_vendor
target_cpu
@@ -1990,6 +1991,8 @@ esac
*) host_noncanonical=${host_alias} ;;
esac
+
+
case ${target_alias} in
"") target_noncanonical=${host_noncanonical} ;;
*) target_noncanonical=${target_alias} ;;