aboutsummaryrefslogtreecommitdiff
path: root/gnattools/configure
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2016-05-16 08:55:12 +0000
committerEric Botcazou <ebotcazou@gcc.gnu.org>2016-05-16 08:55:12 +0000
commit47e62307a7044bc09063b954383d8bedaf57f28c (patch)
tree2332d7afe677a11a9c05a9d73f2c43b2ddf37919 /gnattools/configure
parente9024729e2f52424472e893ac080289f7677c02e (diff)
downloadgcc-47e62307a7044bc09063b954383d8bedaf57f28c.zip
gcc-47e62307a7044bc09063b954383d8bedaf57f28c.tar.gz
gcc-47e62307a7044bc09063b954383d8bedaf57f28c.tar.bz2
configure.ac: Add ACX_NONCANONICAL_HOST.
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. From-SVN: r236267
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 5243ebd..8c75cc0 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} ;;