/[gcl]/gcl/gmp3/configfsf.guess
ViewVC logotype

Diff of /gcl/gmp3/configfsf.guess

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3 by camm, Tue Jul 15 18:03:37 2003 UTC revision 1.4 by camm, Thu Nov 6 16:08:07 2003 UTC
# Line 3  Line 3 
3  #   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,  #   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
4  #   2000, 2001, 2002, 2003 Free Software Foundation, Inc.  #   2000, 2001, 2002, 2003 Free Software Foundation, Inc.
5    
6  timestamp='2003-05-19'  timestamp='2003-10-07'
7    
8  # 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
9  # under the terms of the GNU General Public License as published by  # under the terms of the GNU General Public License as published by
# Line 106  trap "rm -f \$tmpfiles 2>/dev/null; rmdi Line 106  trap "rm -f \$tmpfiles 2>/dev/null; rmdi
106  : ${TMPDIR=/tmp} ;  : ${TMPDIR=/tmp} ;
107   { tmp=`(umask 077 && mktemp -d -q "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } ||   { tmp=`(umask 077 && mktemp -d -q "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } ||
108   { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } ||   { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } ||
109     { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } ||
110   { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ;   { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ;
111  dummy=$tmp/dummy ;  dummy=$tmp/dummy ;
112  tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ;  tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ;
# Line 282  case "${UNAME_MACHINE}:${UNAME_SYSTEM}:$ Line 283  case "${UNAME_MACHINE}:${UNAME_SYSTEM}:$
283          # 1.2 uses "1.2" for uname -r.          # 1.2 uses "1.2" for uname -r.
284          echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[VTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`          echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[VTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
285          exit 0 ;;          exit 0 ;;
286        Alpha*:OpenVMS:*:*)
287            echo alpha-hp-vms
288            exit 0 ;;
289      Alpha\ *:Windows_NT*:*)      Alpha\ *:Windows_NT*:*)
290          # How do we know it's Interix rather than the generic POSIX subsystem?          # How do we know it's Interix rather than the generic POSIX subsystem?
291          # Should we change UNAME_MACHINE based on the output of uname instead          # Should we change UNAME_MACHINE based on the output of uname instead
# Line 320  case "${UNAME_MACHINE}:${UNAME_SYSTEM}:$ Line 324  case "${UNAME_MACHINE}:${UNAME_SYSTEM}:$
324      NILE*:*:*:dcosx)      NILE*:*:*:dcosx)
325          echo pyramid-pyramid-svr4          echo pyramid-pyramid-svr4
326          exit 0 ;;          exit 0 ;;
327        DRS?6000:unix:4.0:6*)
328            echo sparc-icl-nx6
329            exit 0 ;;
330      DRS?6000:UNIX_SV:4.2*:7*)      DRS?6000:UNIX_SV:4.2*:7*)
331          case `/usr/bin/uname -p` in          case `/usr/bin/uname -p` in
332              sparc) echo sparc-icl-nx7 && exit 0 ;;              sparc) echo sparc-icl-nx7 && exit 0 ;;
# Line 727  EOF Line 734  EOF
734          echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'          echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
735          exit 0 ;;          exit 0 ;;
736      *:UNICOS/mp:*:*)      *:UNICOS/mp:*:*)
737          echo nv1-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'          echo nv1-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
738          exit 0 ;;          exit 0 ;;
739      F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*)      F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*)
740          FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`          FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
# Line 744  EOF Line 751  EOF
751      *:BSD/OS:*:*)      *:BSD/OS:*:*)
752          echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}          echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
753          exit 0 ;;          exit 0 ;;
754      *:FreeBSD:*:*|*:GNU/FreeBSD:*:*)      *:FreeBSD:*:*)
755          # Determine whether the default compiler uses glibc.          # Determine whether the default compiler uses glibc.
756          eval $set_cc_for_build          eval $set_cc_for_build
757          sed 's/^        //' << EOF >$dummy.c          sed 's/^        //' << EOF >$dummy.c
# Line 756  EOF Line 763  EOF
763          #endif          #endif
764  EOF  EOF
765          eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=`          eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=`
766          echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`${LIBC:+-$LIBC}          # GNU/KFreeBSD systems have a "k" prefix to indicate we are using
767            # FreeBSD's kernel, but not the complete OS.
768            case ${LIBC} in gnu) kernel_only='k' ;; esac
769            echo ${UNAME_MACHINE}-unknown-${kernel_only}freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`${LIBC:+-$LIBC}
770          exit 0 ;;          exit 0 ;;
771      i*:CYGWIN*:*)      i*:CYGWIN*:*)
772          echo ${UNAME_MACHINE}-pc-cygwin          echo ${UNAME_MACHINE}-pc-cygwin
# Line 767  EOF Line 777  EOF
777      i*:PW*:*)      i*:PW*:*)
778          echo ${UNAME_MACHINE}-pc-pw32          echo ${UNAME_MACHINE}-pc-pw32
779          exit 0 ;;          exit 0 ;;
780      x86:Interix*:3*)      x86:Interix*:[34]*)
781          echo i586-pc-interix3          echo i586-pc-interix${UNAME_RELEASE}|sed -e 's/\..*//'
782          exit 0 ;;          exit 0 ;;
783      [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)      [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
784          echo i${UNAME_MACHINE}-pc-mks          echo i${UNAME_MACHINE}-pc-mks
# Line 789  EOF Line 799  EOF
799          echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`          echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
800          exit 0 ;;          exit 0 ;;
801      *:GNU:*:*)      *:GNU:*:*)
802            # the GNU system
803          echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`          echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
804          exit 0 ;;          exit 0 ;;
805        *:GNU/*:*:*)
806            # other systems with GNU libc and userland
807            echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu
808            exit 0 ;;
809      i*86:Minix:*:*)      i*86:Minix:*:*)
810          echo ${UNAME_MACHINE}-pc-minix          echo ${UNAME_MACHINE}-pc-minix
811          exit 0 ;;          exit 0 ;;
# Line 878  EOF Line 893  EOF
893      s390:Linux:*:* | s390x:Linux:*:*)      s390:Linux:*:* | s390x:Linux:*:*)
894          echo ${UNAME_MACHINE}-ibm-linux          echo ${UNAME_MACHINE}-ibm-linux
895          exit 0 ;;          exit 0 ;;
896        sh64*:Linux:*:*)
897            echo ${UNAME_MACHINE}-unknown-linux-gnu
898            exit 0 ;;
899      sh*:Linux:*:*)      sh*:Linux:*:*)
900          echo ${UNAME_MACHINE}-unknown-linux-gnu          echo ${UNAME_MACHINE}-unknown-linux-gnu
901          exit 0 ;;          exit 0 ;;
# Line 935  EOF Line 953  EOF
953          LIBC=gnuaout          LIBC=gnuaout
954          #endif          #endif
955          #endif          #endif
956            #ifdef __dietlibc__
957            LIBC=dietlibc
958            #endif
959  EOF  EOF
960          eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=`          eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=`
961          test x"${LIBC}" != x && echo "${UNAME_MACHINE}-pc-linux-${LIBC}" && exit 0          test x"${LIBC}" != x && echo "${UNAME_MACHINE}-pc-linux-${LIBC}" && exit 0
# Line 1036  EOF Line 1057  EOF
1057          exit 0 ;;          exit 0 ;;
1058      M68*:*:R3V[567]*:*)      M68*:*:R3V[567]*:*)
1059          test -r /sysV68 && echo 'm68k-motorola-sysv' && exit 0 ;;          test -r /sysV68 && echo 'm68k-motorola-sysv' && exit 0 ;;
1060      3[34]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0)      3[345]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0)
1061          OS_REL=''          OS_REL=''
1062          test -r /etc/.relid \          test -r /etc/.relid \
1063          && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`          && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
# Line 1151  EOF Line 1172  EOF
1172      *:QNX:*:4*)      *:QNX:*:4*)
1173          echo i386-pc-qnx          echo i386-pc-qnx
1174          exit 0 ;;          exit 0 ;;
1175      NSR-[DGKLNPTVW]:NONSTOP_KERNEL:*:*)      NSR-[DGKLNPTVWY]:NONSTOP_KERNEL:*:*)
1176          echo nsr-tandem-nsk${UNAME_RELEASE}          echo nsr-tandem-nsk${UNAME_RELEASE}
1177          exit 0 ;;          exit 0 ;;
1178      *:NonStop-UX:*:*)      *:NonStop-UX:*:*)
# Line 1192  EOF Line 1213  EOF
1213      *:ITS:*:*)      *:ITS:*:*)
1214          echo pdp10-unknown-its          echo pdp10-unknown-its
1215          exit 0 ;;          exit 0 ;;
1216        SEI:*:*:SEIUX)
1217            echo mips-sei-seiux${UNAME_RELEASE}
1218            exit 0 ;;
1219  esac  esac
1220    
1221  #echo '(No uname command or uname output not recognized.)' 1>&2  #echo '(No uname command or uname output not recognized.)' 1>&2

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26