diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2016-05-16 08:55:12 +0000 |
---|---|---|
committer | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2016-05-16 08:55:12 +0000 |
commit | 47e62307a7044bc09063b954383d8bedaf57f28c (patch) | |
tree | 2332d7afe677a11a9c05a9d73f2c43b2ddf37919 /gcc/configure | |
parent | e9024729e2f52424472e893ac080289f7677c02e (diff) | |
download | gcc-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 'gcc/configure')
-rwxr-xr-x | gcc/configure | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/gcc/configure b/gcc/configure index 319dcc3..c8d8abc 100755 --- a/gcc/configure +++ b/gcc/configure @@ -822,6 +822,7 @@ host_subdir build_subdir build_libsubdir target_noncanonical +host_noncanonical target_os target_vendor target_cpu @@ -3323,7 +3324,7 @@ test -n "$target_alias" && NONENONEs,x,x, && program_prefix=${target_alias}- -# Determine the noncanonical target name, for directory use. +# Determine the noncanonical host name, for Ada. case ${build_alias} in "") build_noncanonical=${build} ;; *) build_noncanonical=${build_alias} ;; @@ -3334,6 +3335,10 @@ esac *) host_noncanonical=${host_alias} ;; esac + + + +# Determine the noncanonical target name, for directory use. case ${target_alias} in "") target_noncanonical=${host_noncanonical} ;; *) target_noncanonical=${target_alias} ;; @@ -18474,7 +18479,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 18477 "configure" +#line 18482 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -18580,7 +18585,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 18583 "configure" +#line 18588 "configure" #include "confdefs.h" #if HAVE_DLFCN_H |