2001-06-29 Ben Elliston <bje@redhat.com>

* config.guess: Remove stale libc1 tests on PowerPC Linux.
This commit is contained in:
Ben Elliston 2001-06-29 02:38:23 +00:00
parent 21c209a8a5
commit 7f9886cc84
2 changed files with 5 additions and 28 deletions

View File

@ -1,3 +1,7 @@
2001-06-29 Ben Elliston <bje@redhat.com>
* config.guess: Remove stale libc1 tests on PowerPC Linux.
2001-06-29 John Wolfe <jlw@sco.com>
* config.guess: Correct UnixWare 7 and Open UNIX 8.0 change;

29
config.guess vendored
View File

@ -775,34 +775,7 @@ EOF
esac
;;
ppc:Linux:*:*)
# Determine Lib Version
cat >$dummy.c <<EOF
#include <features.h>
#if defined(__GLIBC__)
extern char __libc_version[];
extern char __libc_release[];
#endif
main(argc, argv)
int argc;
char *argv[];
{
#if defined(__GLIBC__)
printf("%s %s\n", __libc_version, __libc_release);
#else
printf("unknown\n");
#endif
return 0;
}
EOF
LIBC=""
eval $set_cc_for_build
$CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null
if test "$?" = 0 ; then
./$dummy | grep 1\.99 > /dev/null
if test "$?" = 0 ; then LIBC="libc1" ; fi
fi
rm -f $dummy.c $dummy
echo powerpc-unknown-linux-gnu${LIBC}
echo powerpc-unknown-linux-gnu
exit 0 ;;
alpha:Linux:*:*)
case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in