diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 72eafabdb7d..8e7e28c7ffc 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,8 @@ 2003-10-14 Nathanael Nerode + * configure.in: Clean up some feedback echoes. + * configure: Regenerate. + * aclocal.m4: Properly quote names of macros being defined. * config.gcc (am33_2.0-*-linux*): Use t-slibgcc-elf-ver. diff --git a/gcc/configure b/gcc/configure index ebf8c66c992..ef0c990562f 100755 --- a/gcc/configure +++ b/gcc/configure @@ -7900,30 +7900,22 @@ objdir=`${PWDCMD-pwd}` -# Echo that links are built -if test x$host = x$target -then - str1="native " +# Echo link setup. +if test x${build} = x${host} ; then + if test x${host} = x${target} ; then + echo "Links are now set up to build a native compiler for ${target}." 1>&2 + else + echo "Links are now set up to build a cross-compiler" 1>&2 + echo " from ${host} to ${target}." 1>&2 + fi else - str1="cross-" - str2=" from $host" -fi - -if test x$host != x$build -then - str3=" on a $build system" -fi - -if test "x$str2" != x || test "x$str3" != x -then - str4= -fi - -echo "Links are now set up to build a ${str1}compiler for ${target}$str4" 1>&2 - -if test "x$str2" != x || test "x$str3" != x -then - echo " ${str2}${str3}." 1>&2 + if test x${host} = x${target} ; then + echo "Links are now set up to build (on ${build}) a native compiler" 1>&2 + echo " for ${target}." 1>&2 + else + echo "Links are now set up to build (on ${build}) a cross-compiler" 1>&2 + echo " from ${host} to ${target}." 1>&2 + fi fi # Configure the subdirectories diff --git a/gcc/configure.in b/gcc/configure.in index a7d8ab7f0a9..98d5c7b698d 100644 --- a/gcc/configure.in +++ b/gcc/configure.in @@ -2988,30 +2988,22 @@ AC_SUBST(target_cpu_default) AC_SUBST_FILE(language_hooks) -# Echo that links are built -if test x$host = x$target -then - str1="native " +# Echo link setup. +if test x${build} = x${host} ; then + if test x${host} = x${target} ; then + echo "Links are now set up to build a native compiler for ${target}." 1>&2 + else + echo "Links are now set up to build a cross-compiler" 1>&2 + echo " from ${host} to ${target}." 1>&2 + fi else - str1="cross-" - str2=" from $host" -fi - -if test x$host != x$build -then - str3=" on a $build system" -fi - -if test "x$str2" != x || test "x$str3" != x -then - str4= -fi - -echo "Links are now set up to build a ${str1}compiler for ${target}$str4" 1>&2 - -if test "x$str2" != x || test "x$str3" != x -then - echo " ${str2}${str3}." 1>&2 + if test x${host} = x${target} ; then + echo "Links are now set up to build (on ${build}) a native compiler" 1>&2 + echo " for ${target}." 1>&2 + else + echo "Links are now set up to build (on ${build}) a cross-compiler" 1>&2 + echo " from ${host} to ${target}." 1>&2 + fi fi # Configure the subdirectories