]> git.donarmstrong.com Git - deb_pkgs/spamass-milter.git/blob - debian/patches/01_automake_config.guess.diff
Load spamass-milter-0.3.0 into spamass-milter/trunk.
[deb_pkgs/spamass-milter.git] / debian / patches / 01_automake_config.guess.diff
1 --- config.guess        2004-12-30 08:00:40.000000000 -0800
2 +++ /usr/share/automake-1.7/config.guess        2004-12-23 18:40:32.000000000 -0800
3 @@ -1,9 +1,9 @@
4  #! /bin/sh
5  # Attempt to guess a canonical system name.
6  #   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
7 -#   2000, 2001, 2002, 2003 Free Software Foundation, Inc.
8 +#   2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
9  
10 -timestamp='2003-07-02'
11 +timestamp='2004-11-12'
12  
13  # This file is free software; you can redistribute it and/or modify it
14  # under the terms of the GNU General Public License as published by
15 @@ -53,7 +53,7 @@
16  GNU config.guess ($timestamp)
17  
18  Originally written by Per Bothner.
19 -Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
20 +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004
21  Free Software Foundation, Inc.
22  
23  This is free software; see the source for copying conditions.  There is NO
24 @@ -197,15 +197,21 @@
25         # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
26         echo "${machine}-${os}${release}"
27         exit 0 ;;
28 +    amd64:OpenBSD:*:*)
29 +       echo x86_64-unknown-openbsd${UNAME_RELEASE}
30 +       exit 0 ;;
31      amiga:OpenBSD:*:*)
32         echo m68k-unknown-openbsd${UNAME_RELEASE}
33         exit 0 ;;
34 -    arc:OpenBSD:*:*)
35 -       echo mipsel-unknown-openbsd${UNAME_RELEASE}
36 +    cats:OpenBSD:*:*)
37 +       echo arm-unknown-openbsd${UNAME_RELEASE}
38         exit 0 ;;
39      hp300:OpenBSD:*:*)
40         echo m68k-unknown-openbsd${UNAME_RELEASE}
41         exit 0 ;;
42 +    luna88k:OpenBSD:*:*)
43 +       echo m88k-unknown-openbsd${UNAME_RELEASE}
44 +       exit 0 ;;
45      mac68k:OpenBSD:*:*)
46         echo m68k-unknown-openbsd${UNAME_RELEASE}
47         exit 0 ;;
48 @@ -221,25 +227,33 @@
49      mvmeppc:OpenBSD:*:*)
50         echo powerpc-unknown-openbsd${UNAME_RELEASE}
51         exit 0 ;;
52 -    pmax:OpenBSD:*:*)
53 -       echo mipsel-unknown-openbsd${UNAME_RELEASE}
54 -       exit 0 ;;
55      sgi:OpenBSD:*:*)
56 -       echo mipseb-unknown-openbsd${UNAME_RELEASE}
57 +       echo mips64-unknown-openbsd${UNAME_RELEASE}
58         exit 0 ;;
59      sun3:OpenBSD:*:*)
60         echo m68k-unknown-openbsd${UNAME_RELEASE}
61         exit 0 ;;
62 -    wgrisc:OpenBSD:*:*)
63 -       echo mipsel-unknown-openbsd${UNAME_RELEASE}
64 -       exit 0 ;;
65      *:OpenBSD:*:*)
66         echo ${UNAME_MACHINE}-unknown-openbsd${UNAME_RELEASE}
67         exit 0 ;;
68 +    *:ekkoBSD:*:*)
69 +       echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE}
70 +       exit 0 ;;
71 +    macppc:MirBSD:*:*)
72 +       echo powerppc-unknown-mirbsd${UNAME_RELEASE}
73 +       exit 0 ;;
74 +    *:MirBSD:*:*)
75 +       echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE}
76 +       exit 0 ;;
77      alpha:OSF1:*:*)
78 -       if test $UNAME_RELEASE = "V4.0"; then
79 +       case $UNAME_RELEASE in
80 +       *4.0)
81                 UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'`
82 -       fi
83 +               ;;
84 +       *5.*)
85 +               UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'`
86 +               ;;
87 +       esac
88         # According to Compaq, /usr/sbin/psrinfo has been available on
89         # OSF/1 and Tru64 systems produced since 1995.  I hope that
90         # covers most systems running today.  This code pipes the CPU
91 @@ -277,14 +291,12 @@
92             "EV7.9 (21364A)")
93                 UNAME_MACHINE="alphaev79" ;;
94         esac
95 +       # A Pn.n version is a patched version.
96         # A Vn.n version is a released version.
97         # A Tn.n version is a released field test version.
98         # A Xn.n version is an unreleased experimental baselevel.
99         # 1.2 uses "1.2" for uname -r.
100 -       echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[VTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
101 -       exit 0 ;;
102 -    Alpha*:OpenVMS:*:*)
103 -       echo alpha-hp-vms
104 +       echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
105         exit 0 ;;
106      Alpha\ *:Windows_NT*:*)
107         # How do we know it's Interix rather than the generic POSIX subsystem?
108 @@ -307,6 +319,12 @@
109      *:OS/390:*:*)
110         echo i370-ibm-openedition
111         exit 0 ;;
112 +    *:z/VM:*:*)
113 +       echo s390-ibm-zvmoe
114 +       exit 0 ;;
115 +    *:OS400:*:*)
116 +        echo powerpc-ibm-os400
117 +       exit 0 ;;
118      arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
119         echo arm-acorn-riscix${UNAME_RELEASE}
120         exit 0;;
121 @@ -327,7 +345,7 @@
122      DRS?6000:unix:4.0:6*)
123         echo sparc-icl-nx6
124         exit 0 ;;
125 -    DRS?6000:UNIX_SV:4.2*:7*)
126 +    DRS?6000:UNIX_SV:4.2*:7* | DRS?6000:isis:4.2*:7*)
127         case `/usr/bin/uname -p` in
128             sparc) echo sparc-icl-nx7 && exit 0 ;;
129         esac ;;
130 @@ -399,6 +417,9 @@
131      *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*)
132          echo m68k-unknown-mint${UNAME_RELEASE}
133          exit 0 ;;
134 +    m68k:machten:*:*)
135 +       echo m68k-apple-machten${UNAME_RELEASE}
136 +       exit 0 ;;
137      powerpc:machten:*:*)
138         echo powerpc-apple-machten${UNAME_RELEASE}
139         exit 0 ;;
140 @@ -734,7 +755,7 @@
141         echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
142         exit 0 ;;
143      *:UNICOS/mp:*:*)
144 -       echo nv1-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' 
145 +       echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
146         exit 0 ;;
147      F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*)
148         FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
149 @@ -742,6 +763,11 @@
150          FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'`
151          echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
152          exit 0 ;;
153 +    5000:UNIX_System_V:4.*:*)
154 +        FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
155 +        FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'`
156 +        echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
157 +       exit 0 ;;
158      i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*)
159         echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE}
160         exit 0 ;;
161 @@ -751,22 +777,8 @@
162      *:BSD/OS:*:*)
163         echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
164         exit 0 ;;
165 -    *:FreeBSD:*:*|*:GNU/FreeBSD:*:*)
166 -       # Determine whether the default compiler uses glibc.
167 -       eval $set_cc_for_build
168 -       sed 's/^        //' << EOF >$dummy.c
169 -       #include <features.h>
170 -       #if __GLIBC__ >= 2
171 -       LIBC=gnu
172 -       #else
173 -       LIBC=
174 -       #endif
175 -EOF
176 -       eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=`
177 -       # GNU/FreeBSD systems have a "k" prefix to indicate we are using
178 -       # FreeBSD's kernel, but not the complete OS.
179 -       case ${LIBC} in gnu) kernel_only='k' ;; esac
180 -       echo ${UNAME_MACHINE}-unknown-${kernel_only}freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`${LIBC:+-$LIBC}
181 +    *:FreeBSD:*:*)
182 +       echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
183         exit 0 ;;
184      i*:CYGWIN*:*)
185         echo ${UNAME_MACHINE}-pc-cygwin
186 @@ -799,8 +811,13 @@
187         echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
188         exit 0 ;;
189      *:GNU:*:*)
190 +       # the GNU system
191         echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
192         exit 0 ;;
193 +    *:GNU/*:*:*)
194 +       # other systems with GNU libc and userland
195 +       echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu
196 +       exit 0 ;;
197      i*86:Minix:*:*)
198         echo ${UNAME_MACHINE}-pc-minix
199         exit 0 ;;
200 @@ -810,9 +827,18 @@
201      cris:Linux:*:*)
202         echo cris-axis-linux-gnu
203         exit 0 ;;
204 +    crisv32:Linux:*:*)
205 +       echo crisv32-axis-linux-gnu
206 +       exit 0 ;;
207 +    frv:Linux:*:*)
208 +       echo frv-unknown-linux-gnu
209 +       exit 0 ;;
210      ia64:Linux:*:*)
211         echo ${UNAME_MACHINE}-unknown-linux-gnu
212         exit 0 ;;
213 +    m32r*:Linux:*:*)
214 +       echo ${UNAME_MACHINE}-unknown-linux-gnu
215 +       exit 0 ;;
216      m68*:Linux:*:*)
217         echo ${UNAME_MACHINE}-unknown-linux-gnu
218         exit 0 ;;
219 @@ -948,6 +974,9 @@
220         LIBC=gnuaout
221         #endif
222         #endif
223 +       #ifdef __dietlibc__
224 +       LIBC=dietlibc
225 +       #endif
226  EOF
227         eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=`
228         test x"${LIBC}" != x && echo "${UNAME_MACHINE}-pc-linux-${LIBC}" && exit 0
229 @@ -978,6 +1007,9 @@
230      i*86:atheos:*:*)
231         echo ${UNAME_MACHINE}-unknown-atheos
232         exit 0 ;;
233 +       i*86:syllable:*:*)
234 +       echo ${UNAME_MACHINE}-pc-syllable
235 +       exit 0 ;;
236      i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*)
237         echo i386-unknown-lynxos${UNAME_RELEASE}
238         exit 0 ;;
239 @@ -1047,9 +1079,9 @@
240      M680?0:D-NIX:5.3:*)
241         echo m68k-diab-dnix
242         exit 0 ;;
243 -    M68*:*:R3V[567]*:*)
244 +    M68*:*:R3V[5678]*:*)
245         test -r /sysV68 && echo 'm68k-motorola-sysv' && exit 0 ;;
246 -    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)
247 +    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)
248         OS_REL=''
249         test -r /etc/.relid \
250         && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
251 @@ -1147,9 +1179,10 @@
252         echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE}
253         exit 0 ;;
254      *:Darwin:*:*)
255 -       case `uname -p` in
256 +       UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown
257 +       case $UNAME_PROCESSOR in
258             *86) UNAME_PROCESSOR=i686 ;;
259 -           powerpc) UNAME_PROCESSOR=powerpc ;;
260 +           unknown) UNAME_PROCESSOR=powerpc ;;
261         esac
262         echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
263         exit 0 ;;
264 @@ -1164,7 +1197,7 @@
265      *:QNX:*:4*)
266         echo i386-pc-qnx
267         exit 0 ;;
268 -    NSR-[DGKLNPTVW]:NONSTOP_KERNEL:*:*)
269 +    NSR-?:NONSTOP_KERNEL:*:*)
270         echo nsr-tandem-nsk${UNAME_RELEASE}
271         exit 0 ;;
272      *:NonStop-UX:*:*)
273 @@ -1208,6 +1241,19 @@
274      SEI:*:*:SEIUX)
275          echo mips-sei-seiux${UNAME_RELEASE}
276         exit 0 ;;
277 +    *:DragonFly:*:*)
278 +       echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
279 +       exit 0 ;;
280 +    *:*VMS:*:*)
281 +       UNAME_MACHINE=`(uname -p) 2>/dev/null`
282 +       case "${UNAME_MACHINE}" in
283 +           A*) echo alpha-dec-vms && exit 0 ;;
284 +           I*) echo ia64-dec-vms && exit 0 ;;
285 +           V*) echo vax-dec-vms && exit 0 ;;
286 +       esac ;;
287 +    *:XENIX:*:SysV)
288 +       echo i386-pc-xenix
289 +       exit 0 ;;
290  esac
291  
292  #echo '(No uname command or uname output not recognized.)' 1>&2