* config.guess: Remove the C program that detects ancient

operating systems without using uname(1).
This commit is contained in:
Ben Elliston 2014-01-25 10:55:03 +11:00
parent 83dc3e68b2
commit 4fe9ffeda1
2 changed files with 5 additions and 15 deletions

View File

@ -1,3 +1,8 @@
2014-01-25 Ben Elliston <bje@gnu.org>
* config.guess: Remove the C program that detects ancient
operating systems without using uname(1).
2014-01-25 Ben Elliston <bje@gnu.org> 2014-01-25 Ben Elliston <bje@gnu.org>
* config.guess (arm-acron-riscix): Remove from the C program. * config.guess (arm-acron-riscix): Remove from the C program.

15
config.guess vendored
View File

@ -1371,21 +1371,6 @@ EOF
exit ;; exit ;;
esac esac
eval $set_cc_for_build
cat >$dummy.c <<EOF
#ifdef _SEQUENT_
# include <sys/types.h>
# include <sys/utsname.h>
#endif
main ()
{
exit (1);
}
EOF
$CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && SYSTEM_NAME=`$dummy` &&
{ echo "$SYSTEM_NAME"; exit; }
# Apollos put the system type in the environment. # Apollos put the system type in the environment.
test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit; } test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit; }