ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/branches/newio/config.guess
(Generate patch)

Comparing ircd-hybrid/trunk/config.guess (file contents):
Revision 1730 by michael, Sun Jan 6 11:27:11 2013 UTC vs.
Revision 2064 by michael, Thu May 16 09:56:02 2013 UTC

# Line 1 | Line 1
1   #! /bin/sh
2   # Attempt to guess a canonical system name.
3 < #   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
4 < #   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
5 < #   2011, 2012, 2013 Free Software Foundation, Inc.
3 > #   Copyright 1992-2013 Free Software Foundation, Inc.
4  
5 < timestamp='2012-12-29'
5 > timestamp='2013-04-24'
6  
7   # This file is free software; you can redistribute it and/or modify it
8   # under the terms of the GNU General Public License as published by
# Line 26 | Line 24 | timestamp='2012-12-29'
24   # program.  This Exception is an additional permission under section 7
25   # of the GNU General Public License, version 3 ("GPLv3").
26   #
27 < # Originally written by Per Bothner.
27 > # Originally written by Per Bothner.
28   #
29   # You can get the latest version of this script from:
30   # http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
# Line 52 | Line 50 | version="\
50   GNU config.guess ($timestamp)
51  
52   Originally written by Per Bothner.
53 < Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
56 < 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011,
57 < 2012, 2013 Free Software Foundation, Inc.
53 > Copyright 1992-2013 Free Software Foundation, Inc.
54  
55   This is free software; see the source for copying conditions.  There is NO
56   warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
# Line 887 | Line 883 | EOF
883          if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
884          echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
885          exit ;;
886 +    arc:Linux:*:* | arceb:Linux:*:*)
887 +        echo ${UNAME_MACHINE}-unknown-linux-gnu
888 +        exit ;;
889      arm*:Linux:*:*)
890          eval $set_cc_for_build
891          if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \
# Line 925 | Line 924 | EOF
924          #ifdef __dietlibc__
925          LIBC=dietlibc
926          #endif
927 +        #else
928 +        #include <features.h>
929 +        #ifdef __UCLIBC__
930 +        LIBC=uclibc
931 +        #endif
932   EOF
933          eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC'`
934          echo "${UNAME_MACHINE}-pc-linux-${LIBC}"
# Line 957 | Line 961 | EOF
961          eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'`
962          test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
963          ;;
964 +    or1k:Linux:*:*)
965 +        echo ${UNAME_MACHINE}-unknown-linux-gnu
966 +        exit ;;
967      or32:Linux:*:*)
968          echo ${UNAME_MACHINE}-unknown-linux-gnu
969          exit ;;
# Line 999 | Line 1006 | EOF
1006          echo ${UNAME_MACHINE}-dec-linux-gnu
1007          exit ;;
1008      x86_64:Linux:*:*)
1009 <        echo ${UNAME_MACHINE}-unknown-linux-gnu
1009 >        LIBC=gnu
1010 >        test -r /lib/libc.so && od -An -S13 /lib/libc.so | grep -q __uClibc_main && LIBC=uclibc
1011 >        echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
1012          exit ;;
1013      xtensa*:Linux:*:*)
1014          echo ${UNAME_MACHINE}-unknown-linux-gnu

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines