~ubuntu-branches/ubuntu/breezy/exif/breezy

« back to all changes in this revision

Viewing changes to config.guess

  • Committer: Bazaar Package Importer
  • Author(s): Frederic Peters
  • Date: 2004-10-17 12:35:57 UTC
  • Revision ID: james.westby@ubuntu.com-20041017123557-k2smjlwvozim5bqu
Tags: 0.6.9-2
* Adopted package.
* debian/control: updated Maintainer field and description

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /bin/sh
2
2
# Attempt to guess a canonical system name.
3
3
#   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
4
 
#   2000, 2001, 2002, 2003 Free Software Foundation, Inc.
 
4
#   2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
5
5
 
6
 
timestamp='2004-03-12'
 
6
timestamp='2004-08-13'
7
7
 
8
8
# This file is free software; you can redistribute it and/or modify it
9
9
# under the terms of the GNU General Public License as published by
53
53
GNU config.guess ($timestamp)
54
54
 
55
55
Originally written by Per Bothner.
56
 
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
 
56
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004
57
57
Free Software Foundation, Inc.
58
58
 
59
59
This is free software; see the source for copying conditions.  There is NO
203
203
    amiga:OpenBSD:*:*)
204
204
        echo m68k-unknown-openbsd${UNAME_RELEASE}
205
205
        exit 0 ;;
206
 
    arc:OpenBSD:*:*)
207
 
        echo mipsel-unknown-openbsd${UNAME_RELEASE}
208
 
        exit 0 ;;
209
206
    cats:OpenBSD:*:*)
210
207
        echo arm-unknown-openbsd${UNAME_RELEASE}
211
208
        exit 0 ;;
212
209
    hp300:OpenBSD:*:*)
213
210
        echo m68k-unknown-openbsd${UNAME_RELEASE}
214
211
        exit 0 ;;
 
212
    luna88k:OpenBSD:*:*)
 
213
        echo m88k-unknown-openbsd${UNAME_RELEASE}
 
214
        exit 0 ;;
215
215
    mac68k:OpenBSD:*:*)
216
216
        echo m68k-unknown-openbsd${UNAME_RELEASE}
217
217
        exit 0 ;;
227
227
    mvmeppc:OpenBSD:*:*)
228
228
        echo powerpc-unknown-openbsd${UNAME_RELEASE}
229
229
        exit 0 ;;
230
 
    pegasos:OpenBSD:*:*)
231
 
        echo powerpc-unknown-openbsd${UNAME_RELEASE}
232
 
        exit 0 ;;
233
 
    pmax:OpenBSD:*:*)
234
 
        echo mipsel-unknown-openbsd${UNAME_RELEASE}
235
 
        exit 0 ;;
236
230
    sgi:OpenBSD:*:*)
237
 
        echo mipseb-unknown-openbsd${UNAME_RELEASE}
 
231
        echo mips64-unknown-openbsd${UNAME_RELEASE}
238
232
        exit 0 ;;
239
233
    sun3:OpenBSD:*:*)
240
234
        echo m68k-unknown-openbsd${UNAME_RELEASE}
241
235
        exit 0 ;;
242
 
    wgrisc:OpenBSD:*:*)
243
 
        echo mipsel-unknown-openbsd${UNAME_RELEASE}
244
 
        exit 0 ;;
245
236
    *:OpenBSD:*:*)
246
237
        echo ${UNAME_MACHINE}-unknown-openbsd${UNAME_RELEASE}
247
238
        exit 0 ;;
307
298
        # 1.2 uses "1.2" for uname -r.
308
299
        echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
309
300
        exit 0 ;;
310
 
    Alpha*:OpenVMS:*:*)
311
 
        echo alpha-hp-vms
312
 
        exit 0 ;;
313
301
    Alpha\ *:Windows_NT*:*)
314
302
        # How do we know it's Interix rather than the generic POSIX subsystem?
315
303
        # Should we change UNAME_MACHINE based on the output of uname instead
764
752
        echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
765
753
        exit 0 ;;
766
754
    *:UNICOS/mp:*:*)
767
 
        echo nv1-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
 
755
        echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
768
756
        exit 0 ;;
769
757
    F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*)
770
758
        FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
787
775
        echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
788
776
        exit 0 ;;
789
777
    *:FreeBSD:*:*)
790
 
        # Determine whether the default compiler uses glibc.
791
 
        eval $set_cc_for_build
792
 
        sed 's/^        //' << EOF >$dummy.c
793
 
        #include <features.h>
794
 
        #if __GLIBC__ >= 2
795
 
        LIBC=gnu
796
 
        #else
797
 
        LIBC=
798
 
        #endif
799
 
EOF
800
 
        eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=`
801
 
        # GNU/KFreeBSD systems have a "k" prefix to indicate we are using
802
 
        # FreeBSD's kernel, but not the complete OS.
803
 
        case ${LIBC} in gnu) kernel_only='k' ;; esac
804
 
        echo ${UNAME_MACHINE}-unknown-${kernel_only}freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`${LIBC:+-$LIBC}
 
778
        echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
805
779
        exit 0 ;;
806
780
    i*:CYGWIN*:*)
807
781
        echo ${UNAME_MACHINE}-pc-cygwin
1096
1070
    M680?0:D-NIX:5.3:*)
1097
1071
        echo m68k-diab-dnix
1098
1072
        exit 0 ;;
1099
 
    M68*:*:R3V[567]*:*)
 
1073
    M68*:*:R3V[5678]*:*)
1100
1074
        test -r /sysV68 && echo 'm68k-motorola-sysv' && exit 0 ;;
1101
 
    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)
 
1075
    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 | S7501*:*:4.0:3.0)
1102
1076
        OS_REL=''
1103
1077
        test -r /etc/.relid \
1104
1078
        && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
1196
1170
        echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE}
1197
1171
        exit 0 ;;
1198
1172
    *:Darwin:*:*)
1199
 
        case `uname -p` in
 
1173
        UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown
 
1174
        case $UNAME_PROCESSOR in
1200
1175
            *86) UNAME_PROCESSOR=i686 ;;
1201
 
            powerpc) UNAME_PROCESSOR=powerpc ;;
 
1176
            unknown) UNAME_PROCESSOR=powerpc ;;
1202
1177
        esac
1203
1178
        echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
1204
1179
        exit 0 ;;
1260
1235
    *:DragonFly:*:*)
1261
1236
        echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
1262
1237
        exit 0 ;;
 
1238
    *:*VMS:*:*)
 
1239
        UNAME_MACHINE=`(uname -p) 2>/dev/null`
 
1240
        case "${UNAME_MACHINE}" in
 
1241
            A*) echo alpha-dec-vms && exit 0 ;;
 
1242
            I*) echo ia64-dec-vms && exit 0 ;;
 
1243
            V*) echo vax-dec-vms && exit 0 ;;
 
1244
        esac
1263
1245
esac
1264
1246
 
1265
1247
#echo '(No uname command or uname output not recognized.)' 1>&2