* config.guess (x86_64:Linux:*:*): Test for uClibc.

Signed-off-by: Ben Elliston <bje@gnu.org>
This commit is contained in:
Jim Pryor 2013-04-24 10:32:17 +10:00 committed by Ben Elliston
parent fd4dee4466
commit bb562af3ec
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2013-04-24 Jim Pryor <dubiousjim@gmail.com>
* config.guess (x86_64:Linux:*:*): Test for uClibc.
2013-02-12 Christian Svensson <blue@cmd.nu> 2013-02-12 Christian Svensson <blue@cmd.nu>
* config.guess (or1k:Linux:*:*): New. * config.guess (or1k:Linux:*:*): New.

6
config.guess vendored
View File

@ -2,7 +2,7 @@
# Attempt to guess a canonical system name. # Attempt to guess a canonical system name.
# Copyright 1992-2013 Free Software Foundation, Inc. # Copyright 1992-2013 Free Software Foundation, Inc.
timestamp='2013-02-12' timestamp='2013-04-24'
# This file is free software; you can redistribute it and/or modify it # This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by # under the terms of the GNU General Public License as published by
@ -998,7 +998,9 @@ EOF
echo ${UNAME_MACHINE}-dec-linux-gnu echo ${UNAME_MACHINE}-dec-linux-gnu
exit ;; exit ;;
x86_64:Linux:*:*) x86_64:Linux:*:*)
echo ${UNAME_MACHINE}-unknown-linux-gnu LIBC=gnu
test -r /lib/libc.so && od -An -S13 /lib/libc.so | grep -q __uClibc_main && LIBC=uclibc
echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
exit ;; exit ;;
xtensa*:Linux:*:*) xtensa*:Linux:*:*)
echo ${UNAME_MACHINE}-unknown-linux-gnu echo ${UNAME_MACHINE}-unknown-linux-gnu