diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2009-07-13 20:04:33 +0000 |
---|---|---|
committer | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2009-07-13 20:04:33 +0000 |
commit | 05682af89f0ed47428f1c9e81357c87b22d04271 (patch) | |
tree | b044d5027fcc92b10f38a0605368149bd3a27423 /libada/configure | |
parent | 9122666ca8f979d54b99ffaeffd6233dc825a08f (diff) | |
download | gcc-05682af89f0ed47428f1c9e81357c87b22d04271.zip gcc-05682af89f0ed47428f1c9e81357c87b22d04271.tar.gz gcc-05682af89f0ed47428f1c9e81357c87b22d04271.tar.bz2 |
configure.ac: Include multi.m4 and do not call AC_CANONICAL_SYSTEM.
* configure.ac: Include multi.m4 and do not call AC_CANONICAL_SYSTEM.
* configure: Regenerate.
From-SVN: r149594
Diffstat (limited to 'libada/configure')
-rwxr-xr-x | libada/configure | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/libada/configure b/libada/configure index 56a4b48..bd42f9a 100755 --- a/libada/configure +++ b/libada/configure @@ -1388,6 +1388,7 @@ test -n "$target_alias" && test "$program_prefix$program_suffix$program_transform_name" = \ NONENONEs,x,x, && program_prefix=${target_alias}- +target_alias=${target_alias-$host_alias} # Determine the noncanonical target name, for directory use. case ${build_alias} in @@ -1457,9 +1458,6 @@ else MAINT='#' fi; - -target_alias=${target_alias-$host_alias} - # Default to --enable-multilib # Check whether --enable-multilib or --disable-multilib was given. if test "${enable_multilib+set}" = set; then @@ -1490,6 +1488,13 @@ else fi +# Even if the default multilib is not a cross compilation, +# it may be that some of the other multilibs are. +if test $cross_compiling = no && test $multilib = yes \ + && test "x${with_multisubdir}" != x ; then + cross_compiling=maybe +fi + ac_config_commands="$ac_config_commands default-1" # Calculate toolexeclibdir @@ -3823,6 +3828,9 @@ ac_configure_args="${multilib_arg} ${ac_configure_args}" multi_basedir="$multi_basedir" CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} CC="$CC" +CXX="$CXX" +GFORTRAN="$GFORTRAN" +GCJ="$GCJ" _ACEOF |