aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorNathanael Nerode <neroden@gcc.gnu.org>2003-10-14 22:10:20 +0000
committerNathanael Nerode <neroden@gcc.gnu.org>2003-10-14 22:10:20 +0000
commit7903cebc8d5da0ff4b9b21942e44563e400290b5 (patch)
tree9f475ee75e140a7b2260cb2fbac48fe8b17e1672 /gcc
parent87690a2f320694cd98633fdf4cc9bea7f6c601dd (diff)
downloadgcc-7903cebc8d5da0ff4b9b21942e44563e400290b5.zip
gcc-7903cebc8d5da0ff4b9b21942e44563e400290b5.tar.gz
gcc-7903cebc8d5da0ff4b9b21942e44563e400290b5.tar.bz2
configure.in: Clean up some feedback echoes.
* configure.in: Clean up some feedback echoes. * configure: Regenerate. From-SVN: r72503
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog3
-rwxr-xr-xgcc/configure38
-rw-r--r--gcc/configure.in38
3 files changed, 33 insertions, 46 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 72eafab..8e7e28c 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,8 @@
2003-10-14 Nathanael Nerode <neroden@gcc.gnu.org>
+ * 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 ebf8c66..ef0c990 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 a7d8ab7..98d5c7b 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