* configure: Remove extraneous output when guessing host type.

* config.guess:  Remove extraneous output when guessing using C
compiler rather than uname, or when guessing fails.
This commit is contained in:
John Gilmore 1993-07-09 01:27:26 +00:00
parent 3bf3f99aa7
commit 8d159a48b0
3 changed files with 14 additions and 6 deletions

View File

@ -1,3 +1,9 @@
Thu Jul 8 18:26:12 1993 John Gilmore (gnu@cygnus.com)
* configure: Remove extraneous output when guessing host type.
* config.guess: Remove extraneous output when guessing using C
compiler rather than uname, or when guessing fails.
Wed Jul 7 17:58:14 1993 david d `zoo' zuhn (zoo at rtl.cygnus.com)
* Makefile.in: remove all.cross and install.cross targets

8
config.guess vendored
View File

@ -145,7 +145,7 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
&& echo i486-ncr-sysv4 && exit 0 ;;
esac
echo '(No uname command or uname output not recognized.)' 1>&2
#echo '(No uname command or uname output not recognized.)' 1>&2
#echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2
cat >dummy.c <<EOF
@ -162,6 +162,10 @@ main()
printf("m68k-hp-bsd\n"); exit(0);
#endif
#if defined(NeXT)
printf("m68k-next-bsd\n"); exit(0);
#endif
#if defined (MULTIMAX) || defined (n16)
#if defined (UMAXV)
printf("ns32k-encore-sysv\n"); exit(0);
@ -198,6 +202,6 @@ EOF
${CC-cc} dummy.c -o dummy && ./dummy && rm dummy.c dummy && exit 0
rm -f dummy.c dummy
echo '(Unable to guess system type)' 1>&2
#echo '(Unable to guess system type)' 1>&2
exit 1

6
configure vendored
View File

@ -323,11 +323,9 @@ case "${fatal}" in
echo '***' Can only configure for one host and one target at a time. 1>&2
fatal=yes
elif [ -z "${host_alias}" -a -z "${undefs}" ] ; then
echo '- You did not tell me what kind of host system you want to configure.
- I will attempt to guess the kind of system this is.' 1>&2
guesssys=`echo ${progname} | sed 's/configure$/config.guess/'`
if tmp_alias=`${guesssys}` ; then
echo "- Looks like this is a ${tmp_alias}" 1>&2
echo "Configuring for a ${tmp_alias} host." 1>&2
host_alias=${tmp_alias}
case "${target_alias}" in
"") target_alias=${tmp_alias} ;;
@ -335,7 +333,7 @@ case "${fatal}" in
esac
arguments="--host=${host_alias} ${arguments}"
else
echo '- Failed to guess the system type. You need to tell me.' 1>&2
echo 'Config.guess failed to determine the host type. You need to specify one.' 1>&2
fatal=yes
fi
else