mirror of
git://git.savannah.gnu.org/config.git
synced 2025-05-29 02:26:36 +12:00
2001-06-29 Ben Elliston <bje@redhat.com>
* config.guess: Remove stale libc1 tests on PowerPC Linux.
This commit is contained in:
parent
21c209a8a5
commit
7f9886cc84
@ -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
29
config.guess
vendored
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user