From 47e62307a7044bc09063b954383d8bedaf57f28c Mon Sep 17 00:00:00 2001 From: Eric Botcazou Date: Mon, 16 May 2016 08:55:12 +0000 Subject: 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 --- gcc/configure | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'gcc/configure') 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 -- cgit v1.1