Codebase list bumprace / dc99c53
Import Debian changes 1.4.6-5 bumprace (1.4.6-5) unstable; urgency=low * added automatic config.{sub|guess} updating (closes: #316793) * GNU config automated update: config.sub (20021130 to 20050422), config.guess (20021130 to 20050422) Christian T. Steigies 5 years ago
4 changed file(s) with 369 addition(s) and 167 deletion(s). Raw diff Collapse all Expand all
00 #! /bin/sh
11 # Attempt to guess a canonical system name.
22 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
3 # 2000, 2001, 2002 Free Software Foundation, Inc.
4
5 timestamp='2002-11-30'
3 # 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
4
5 timestamp='2005-04-22'
66
77 # This file is free software; you can redistribute it and/or modify it
88 # under the terms of the GNU General Public License as published by
5252 GNU config.guess ($timestamp)
5353
5454 Originally written by Per Bothner.
55 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
55 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
5656 Free Software Foundation, Inc.
5757
5858 This is free software; see the source for copying conditions. There is NO
9797 # Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still
9898 # use `HOST_CC' if defined, but it is deprecated.
9999
100 # This shell variable is my proudest work .. or something. --bje
101
102 set_cc_for_build='tmpdir=${TMPDIR-/tmp}/config-guess-$$ ;
103 (old=`umask` && umask 077 && mkdir $tmpdir && umask $old && unset old)
104 || (echo "$me: cannot create $tmpdir" >&2 && exit 1) ;
105 dummy=$tmpdir/dummy ;
106 files="$dummy.c $dummy.o $dummy.rel $dummy" ;
107 trap '"'"'rm -f $files; rmdir $tmpdir; exit 1'"'"' 1 2 15 ;
100 # Portable tmp directory creation inspired by the Autoconf team.
101
102 set_cc_for_build='
103 trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ;
104 trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ;
105 : ${TMPDIR=/tmp} ;
106 { tmp=`(umask 077 && mktemp -d -q "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } ||
107 { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } ||
108 { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } ||
109 { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ;
110 dummy=$tmp/dummy ;
111 tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ;
108112 case $CC_FOR_BUILD,$HOST_CC,$CC in
109113 ,,) echo "int x;" > $dummy.c ;
110114 for c in cc gcc c89 c99 ; do
112116 CC_FOR_BUILD="$c"; break ;
113117 fi ;
114118 done ;
115 rm -f $files ;
116119 if test x"$CC_FOR_BUILD" = x ; then
117120 CC_FOR_BUILD=no_compiler_found ;
118121 fi
119122 ;;
120123 ,,*) CC_FOR_BUILD=$CC ;;
121124 ,*,*) CC_FOR_BUILD=$HOST_CC ;;
122 esac ;
123 unset files'
125 esac ;'
124126
125127 # This is needed to find uname on a Pyramid OSx when run in the BSD universe.
126128 # (ghazi@noc.rutgers.edu 1994-08-24)
194196 # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
195197 echo "${machine}-${os}${release}"
196198 exit 0 ;;
199 amd64:OpenBSD:*:*)
200 echo x86_64-unknown-openbsd${UNAME_RELEASE}
201 exit 0 ;;
197202 amiga:OpenBSD:*:*)
198203 echo m68k-unknown-openbsd${UNAME_RELEASE}
199204 exit 0 ;;
200 arc:OpenBSD:*:*)
201 echo mipsel-unknown-openbsd${UNAME_RELEASE}
205 cats:OpenBSD:*:*)
206 echo arm-unknown-openbsd${UNAME_RELEASE}
202207 exit 0 ;;
203208 hp300:OpenBSD:*:*)
204209 echo m68k-unknown-openbsd${UNAME_RELEASE}
205210 exit 0 ;;
211 luna88k:OpenBSD:*:*)
212 echo m88k-unknown-openbsd${UNAME_RELEASE}
213 exit 0 ;;
206214 mac68k:OpenBSD:*:*)
207215 echo m68k-unknown-openbsd${UNAME_RELEASE}
208216 exit 0 ;;
218226 mvmeppc:OpenBSD:*:*)
219227 echo powerpc-unknown-openbsd${UNAME_RELEASE}
220228 exit 0 ;;
221 pmax:OpenBSD:*:*)
222 echo mipsel-unknown-openbsd${UNAME_RELEASE}
223 exit 0 ;;
224229 sgi:OpenBSD:*:*)
225 echo mipseb-unknown-openbsd${UNAME_RELEASE}
230 echo mips64-unknown-openbsd${UNAME_RELEASE}
226231 exit 0 ;;
227232 sun3:OpenBSD:*:*)
228233 echo m68k-unknown-openbsd${UNAME_RELEASE}
229234 exit 0 ;;
230 wgrisc:OpenBSD:*:*)
231 echo mipsel-unknown-openbsd${UNAME_RELEASE}
232 exit 0 ;;
233235 *:OpenBSD:*:*)
234236 echo ${UNAME_MACHINE}-unknown-openbsd${UNAME_RELEASE}
235237 exit 0 ;;
238 *:ekkoBSD:*:*)
239 echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE}
240 exit 0 ;;
241 macppc:MirBSD:*:*)
242 echo powerppc-unknown-mirbsd${UNAME_RELEASE}
243 exit 0 ;;
244 *:MirBSD:*:*)
245 echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE}
246 exit 0 ;;
236247 alpha:OSF1:*:*)
237 if test $UNAME_RELEASE = "V4.0"; then
248 case $UNAME_RELEASE in
249 *4.0)
238250 UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'`
239 fi
251 ;;
252 *5.*)
253 UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'`
254 ;;
255 esac
256 # According to Compaq, /usr/sbin/psrinfo has been available on
257 # OSF/1 and Tru64 systems produced since 1995. I hope that
258 # covers most systems running today. This code pipes the CPU
259 # types through head -n 1, so we only detect the type of CPU 0.
260 ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^ The alpha \(.*\) processor.*$/\1/p' | head -n 1`
261 case "$ALPHA_CPU_TYPE" in
262 "EV4 (21064)")
263 UNAME_MACHINE="alpha" ;;
264 "EV4.5 (21064)")
265 UNAME_MACHINE="alpha" ;;
266 "LCA4 (21066/21068)")
267 UNAME_MACHINE="alpha" ;;
268 "EV5 (21164)")
269 UNAME_MACHINE="alphaev5" ;;
270 "EV5.6 (21164A)")
271 UNAME_MACHINE="alphaev56" ;;
272 "EV5.6 (21164PC)")
273 UNAME_MACHINE="alphapca56" ;;
274 "EV5.7 (21164PC)")
275 UNAME_MACHINE="alphapca57" ;;
276 "EV6 (21264)")
277 UNAME_MACHINE="alphaev6" ;;
278 "EV6.7 (21264A)")
279 UNAME_MACHINE="alphaev67" ;;
280 "EV6.8CB (21264C)")
281 UNAME_MACHINE="alphaev68" ;;
282 "EV6.8AL (21264B)")
283 UNAME_MACHINE="alphaev68" ;;
284 "EV6.8CX (21264D)")
285 UNAME_MACHINE="alphaev68" ;;
286 "EV6.9A (21264/EV69A)")
287 UNAME_MACHINE="alphaev69" ;;
288 "EV7 (21364)")
289 UNAME_MACHINE="alphaev7" ;;
290 "EV7.9 (21364A)")
291 UNAME_MACHINE="alphaev79" ;;
292 esac
293 # A Pn.n version is a patched version.
240294 # A Vn.n version is a released version.
241295 # A Tn.n version is a released field test version.
242296 # A Xn.n version is an unreleased experimental baselevel.
243297 # 1.2 uses "1.2" for uname -r.
244 eval $set_cc_for_build
245 cat <<EOF >$dummy.s
246 .data
247 \$Lformat:
248 .byte 37,100,45,37,120,10,0 # "%d-%x\n"
249
250 .text
251 .globl main
252 .align 4
253 .ent main
254 main:
255 .frame \$30,16,\$26,0
256 ldgp \$29,0(\$27)
257 .prologue 1
258 .long 0x47e03d80 # implver \$0
259 lda \$2,-1
260 .long 0x47e20c21 # amask \$2,\$1
261 lda \$16,\$Lformat
262 mov \$0,\$17
263 not \$1,\$18
264 jsr \$26,printf
265 ldgp \$29,0(\$26)
266 mov 0,\$16
267 jsr \$26,exit
268 .end main
269 EOF
270 $CC_FOR_BUILD -o $dummy $dummy.s 2>/dev/null
271 if test "$?" = 0 ; then
272 case `$dummy` in
273 0-0)
274 UNAME_MACHINE="alpha"
275 ;;
276 1-0)
277 UNAME_MACHINE="alphaev5"
278 ;;
279 1-1)
280 UNAME_MACHINE="alphaev56"
281 ;;
282 1-101)
283 UNAME_MACHINE="alphapca56"
284 ;;
285 2-303)
286 UNAME_MACHINE="alphaev6"
287 ;;
288 2-307)
289 UNAME_MACHINE="alphaev67"
290 ;;
291 2-1307)
292 UNAME_MACHINE="alphaev68"
293 ;;
294 3-1307)
295 UNAME_MACHINE="alphaev7"
296 ;;
297 esac
298 fi
299 rm -f $dummy.s $dummy && rmdir $tmpdir
300 echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[VTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
298 echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
301299 exit 0 ;;
302300 Alpha\ *:Windows_NT*:*)
303301 # How do we know it's Interix rather than the generic POSIX subsystem?
319317 exit 0 ;;
320318 *:OS/390:*:*)
321319 echo i370-ibm-openedition
320 exit 0 ;;
321 *:z/VM:*:*)
322 echo s390-ibm-zvmoe
323 exit 0 ;;
324 *:OS400:*:*)
325 echo powerpc-ibm-os400
322326 exit 0 ;;
323327 arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
324328 echo arm-acorn-riscix${UNAME_RELEASE}
337341 NILE*:*:*:dcosx)
338342 echo pyramid-pyramid-svr4
339343 exit 0 ;;
340 DRS?6000:UNIX_SV:4.2*:7*)
344 DRS?6000:unix:4.0:6*)
345 echo sparc-icl-nx6
346 exit 0 ;;
347 DRS?6000:UNIX_SV:4.2*:7* | DRS?6000:isis:4.2*:7*)
341348 case `/usr/bin/uname -p` in
342349 sparc) echo sparc-icl-nx7 && exit 0 ;;
343350 esac ;;
409416 *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*)
410417 echo m68k-unknown-mint${UNAME_RELEASE}
411418 exit 0 ;;
419 m68k:machten:*:*)
420 echo m68k-apple-machten${UNAME_RELEASE}
421 exit 0 ;;
412422 powerpc:machten:*:*)
413423 echo powerpc-apple-machten${UNAME_RELEASE}
414424 exit 0 ;;
449459 EOF
450460 $CC_FOR_BUILD -o $dummy $dummy.c \
451461 && $dummy `echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` \
452 && rm -f $dummy.c $dummy && rmdir $tmpdir && exit 0
453 rm -f $dummy.c $dummy && rmdir $tmpdir
462 && exit 0
454463 echo mips-mips-riscos${UNAME_RELEASE}
455464 exit 0 ;;
456465 Motorola:PowerMAX_OS:*:*)
534543 exit(0);
535544 }
536545 EOF
537 $CC_FOR_BUILD -o $dummy $dummy.c && $dummy && rm -f $dummy.c $dummy && rmdir $tmpdir && exit 0
538 rm -f $dummy.c $dummy && rmdir $tmpdir
546 $CC_FOR_BUILD -o $dummy $dummy.c && $dummy && exit 0
539547 echo rs6000-ibm-aix3.2.5
540548 elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then
541549 echo rs6000-ibm-aix3.2.4
634642 }
635643 EOF
636644 (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy`
637 if test -z "$HP_ARCH"; then HP_ARCH=hppa; fi
638 rm -f $dummy.c $dummy && rmdir $tmpdir
645 test -z "$HP_ARCH" && HP_ARCH=hppa
639646 fi ;;
640647 esac
648 if [ ${HP_ARCH} = "hppa2.0w" ]
649 then
650 # avoid double evaluation of $set_cc_for_build
651 test -n "$CC_FOR_BUILD" || eval $set_cc_for_build
652 if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E -) | grep __LP64__ >/dev/null
653 then
654 HP_ARCH="hppa2.0w"
655 else
656 HP_ARCH="hppa64"
657 fi
658 fi
641659 echo ${HP_ARCH}-hp-hpux${HPUX_REV}
642660 exit 0 ;;
643661 ia64:HP-UX:*:*)
671689 exit (0);
672690 }
673691 EOF
674 $CC_FOR_BUILD -o $dummy $dummy.c && $dummy && rm -f $dummy.c $dummy && rmdir $tmpdir && exit 0
675 rm -f $dummy.c $dummy && rmdir $tmpdir
692 $CC_FOR_BUILD -o $dummy $dummy.c && $dummy && exit 0
676693 echo unknown-hitachi-hiuxwe2
677694 exit 0 ;;
678695 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* )
730747 CRAY*TS:*:*:*)
731748 echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
732749 exit 0 ;;
733 CRAY*T3D:*:*:*)
734 echo alpha-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
735 exit 0 ;;
736750 CRAY*T3E:*:*:*)
737751 echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
738752 exit 0 ;;
739753 CRAY*SV1:*:*:*)
740754 echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
755 exit 0 ;;
756 *:UNICOS/mp:*:*)
757 echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
741758 exit 0 ;;
742759 F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*)
743760 FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
745762 FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'`
746763 echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
747764 exit 0 ;;
765 5000:UNIX_System_V:4.*:*)
766 FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
767 FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'`
768 echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
769 exit 0 ;;
748770 i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*)
749771 echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE}
750772 exit 0 ;;
755777 echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
756778 exit 0 ;;
757779 *:FreeBSD:*:*)
758 # Determine whether the default compiler uses glibc.
759 eval $set_cc_for_build
760 sed 's/^ //' << EOF >$dummy.c
761 #include <features.h>
762 #if __GLIBC__ >= 2
763 LIBC=gnu
764 #else
765 LIBC=
766 #endif
767 EOF
768 eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=`
769 rm -f $dummy.c && rmdir $tmpdir
770 echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`${LIBC:+-$LIBC}
780 echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
771781 exit 0 ;;
772782 i*:CYGWIN*:*)
773783 echo ${UNAME_MACHINE}-pc-cygwin
778788 i*:PW*:*)
779789 echo ${UNAME_MACHINE}-pc-pw32
780790 exit 0 ;;
781 x86:Interix*:3*)
782 echo i586-pc-interix3
791 x86:Interix*:[34]*)
792 echo i586-pc-interix${UNAME_RELEASE}|sed -e 's/\..*//'
783793 exit 0 ;;
784794 [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
785795 echo i${UNAME_MACHINE}-pc-mks
793803 i*:UWIN*:*)
794804 echo ${UNAME_MACHINE}-pc-uwin
795805 exit 0 ;;
806 amd64:CYGWIN*:*:*)
807 echo x86_64-unknown-cygwin
808 exit 0 ;;
796809 p*:CYGWIN*:*)
797810 echo powerpcle-unknown-cygwin
798811 exit 0 ;;
800813 echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
801814 exit 0 ;;
802815 *:GNU:*:*)
816 # the GNU system
803817 echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
818 exit 0 ;;
819 *:GNU/*:*:*)
820 # other systems with GNU libc and userland
821 echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu
804822 exit 0 ;;
805823 i*86:Minix:*:*)
806824 echo ${UNAME_MACHINE}-pc-minix
808826 arm*:Linux:*:*)
809827 echo ${UNAME_MACHINE}-unknown-linux-gnu
810828 exit 0 ;;
829 cris:Linux:*:*)
830 echo cris-axis-linux-gnu
831 exit 0 ;;
832 crisv32:Linux:*:*)
833 echo crisv32-axis-linux-gnu
834 exit 0 ;;
835 frv:Linux:*:*)
836 echo frv-unknown-linux-gnu
837 exit 0 ;;
811838 ia64:Linux:*:*)
839 echo ${UNAME_MACHINE}-unknown-linux-gnu
840 exit 0 ;;
841 m32r*:Linux:*:*)
812842 echo ${UNAME_MACHINE}-unknown-linux-gnu
813843 exit 0 ;;
814844 m68*:Linux:*:*)
831861 #endif
832862 EOF
833863 eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=`
834 rm -f $dummy.c && rmdir $tmpdir
835864 test x"${CPU}" != x && echo "${CPU}-unknown-linux-gnu" && exit 0
836865 ;;
837866 mips64:Linux:*:*)
851880 #endif
852881 EOF
853882 eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=`
854 rm -f $dummy.c && rmdir $tmpdir
855883 test x"${CPU}" != x && echo "${CPU}-unknown-linux-gnu" && exit 0
856884 ;;
857885 ppc:Linux:*:*)
887915 exit 0 ;;
888916 s390:Linux:*:* | s390x:Linux:*:*)
889917 echo ${UNAME_MACHINE}-ibm-linux
918 exit 0 ;;
919 sh64*:Linux:*:*)
920 echo ${UNAME_MACHINE}-unknown-linux-gnu
890921 exit 0 ;;
891922 sh*:Linux:*:*)
892923 echo ${UNAME_MACHINE}-unknown-linux-gnu
945976 LIBC=gnuaout
946977 #endif
947978 #endif
979 #ifdef __dietlibc__
980 LIBC=dietlibc
981 #endif
948982 EOF
949983 eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=`
950 rm -f $dummy.c && rmdir $tmpdir
951984 test x"${LIBC}" != x && echo "${UNAME_MACHINE}-pc-linux-${LIBC}" && exit 0
952985 test x"${TENTATIVE}" != x && echo "${TENTATIVE}" && exit 0
953986 ;;
9751008 exit 0 ;;
9761009 i*86:atheos:*:*)
9771010 echo ${UNAME_MACHINE}-unknown-atheos
1011 exit 0 ;;
1012 i*86:syllable:*:*)
1013 echo ${UNAME_MACHINE}-pc-syllable
9781014 exit 0 ;;
9791015 i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*)
9801016 echo i386-unknown-lynxos${UNAME_RELEASE}
10451081 M680?0:D-NIX:5.3:*)
10461082 echo m68k-diab-dnix
10471083 exit 0 ;;
1048 M68*:*:R3V[567]*:*)
1084 M68*:*:R3V[5678]*:*)
10491085 test -r /sysV68 && echo 'm68k-motorola-sysv' && exit 0 ;;
1050 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)
1086 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)
10511087 OS_REL=''
10521088 test -r /etc/.relid \
10531089 && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
11031139 # From seanf@swdc.stratus.com.
11041140 echo i860-stratus-sysv4
11051141 exit 0 ;;
1142 i*86:VOS:*:*)
1143 # From Paul.Green@stratus.com.
1144 echo ${UNAME_MACHINE}-stratus-vos
1145 exit 0 ;;
11061146 *:VOS:*:*)
11071147 # From Paul.Green@stratus.com.
11081148 echo hppa1.1-stratus-vos
11451185 echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE}
11461186 exit 0 ;;
11471187 *:Darwin:*:*)
1148 echo `uname -p`-apple-darwin${UNAME_RELEASE}
1188 UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown
1189 case $UNAME_PROCESSOR in
1190 *86) UNAME_PROCESSOR=i686 ;;
1191 unknown) UNAME_PROCESSOR=powerpc ;;
1192 esac
1193 echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
11491194 exit 0 ;;
11501195 *:procnto*:*:* | *:QNX:[0123456789]*:*)
11511196 UNAME_PROCESSOR=`uname -p`
11581203 *:QNX:*:4*)
11591204 echo i386-pc-qnx
11601205 exit 0 ;;
1161 NSR-[DGKLNPTVW]:NONSTOP_KERNEL:*:*)
1206 NSE-?:NONSTOP_KERNEL:*:*)
1207 echo nse-tandem-nsk${UNAME_RELEASE}
1208 exit 0 ;;
1209 NSR-?:NONSTOP_KERNEL:*:*)
11621210 echo nsr-tandem-nsk${UNAME_RELEASE}
11631211 exit 0 ;;
11641212 *:NonStop-UX:*:*)
11981246 exit 0 ;;
11991247 *:ITS:*:*)
12001248 echo pdp10-unknown-its
1249 exit 0 ;;
1250 SEI:*:*:SEIUX)
1251 echo mips-sei-seiux${UNAME_RELEASE}
1252 exit 0 ;;
1253 *:DragonFly:*:*)
1254 echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
1255 exit 0 ;;
1256 *:*VMS:*:*)
1257 UNAME_MACHINE=`(uname -p) 2>/dev/null`
1258 case "${UNAME_MACHINE}" in
1259 A*) echo alpha-dec-vms && exit 0 ;;
1260 I*) echo ia64-dec-vms && exit 0 ;;
1261 V*) echo vax-dec-vms && exit 0 ;;
1262 esac ;;
1263 *:XENIX:*:SysV)
1264 echo i386-pc-xenix
12011265 exit 0 ;;
12021266 esac
12031267
13191383 }
13201384 EOF
13211385
1322 $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && $dummy && rm -f $dummy.c $dummy && rmdir $tmpdir && exit 0
1323 rm -f $dummy.c $dummy && rmdir $tmpdir
1386 $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && $dummy && exit 0
13241387
13251388 # Apollos put the system type in the environment.
13261389
13591422 the operating system you are using. It is advised that you
13601423 download the most up to date version of the config scripts from
13611424
1362 ftp://ftp.gnu.org/pub/gnu/config/
1425 http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.guess
1426 and
1427 http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.sub
13631428
13641429 If the version you run ($0) is already up to date, please
13651430 send the following data and any information you think might be
00 #! /bin/sh
11 # Configuration validation subroutine script.
22 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
3 # 2000, 2001, 2002 Free Software Foundation, Inc.
4
5 timestamp='2002-11-30'
3 # 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
4
5 timestamp='2005-04-22'
66
77 # This file is (in principle) common to ALL GNU software.
88 # The presence of a machine in this file suggests that SOME GNU software
6969 version="\
7070 GNU config.sub ($timestamp)
7171
72 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
72 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
7373 Free Software Foundation, Inc.
7474
7575 This is free software; see the source for copying conditions. There is NO
117117 # Here we must recognize all the valid KERNEL-OS combinations.
118118 maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
119119 case $maybe_os in
120 nto-qnx* | linux-gnu* | freebsd*-gnu* | netbsd*-gnu* | storm-chaos* | os2-emx* | rtmk-nova*)
120 nto-qnx* | linux-gnu* | linux-dietlibc | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | \
121 kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | storm-chaos* | os2-emx* | rtmk-nova*)
121122 os=-$maybe_os
122123 basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
123124 ;;
143144 -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
144145 -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
145146 -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
146 -apple | -axis)
147 -apple | -axis | -knuth | -cray)
147148 os=
148149 basic_machine=$1
149150 ;;
227228 | a29k \
228229 | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
229230 | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
231 | am33_2.0 \
230232 | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \
231 | clipper \
233 | bfin \
234 | c4x | clipper \
232235 | d10v | d30v | dlx | dsp16xx \
233236 | fr30 | frv \
234237 | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
235238 | i370 | i860 | i960 | ia64 \
236 | ip2k \
237 | m32r | m68000 | m68k | m88k | mcore \
239 | ip2k | iq2000 \
240 | m32r | m32rle | m68000 | m68k | m88k | maxq | mcore \
238241 | mips | mipsbe | mipseb | mipsel | mipsle \
239242 | mips16 \
240243 | mips64 | mips64el \
244247 | mips64vr4300 | mips64vr4300el \
245248 | mips64vr5000 | mips64vr5000el \
246249 | mipsisa32 | mipsisa32el \
250 | mipsisa32r2 | mipsisa32r2el \
247251 | mipsisa64 | mipsisa64el \
252 | mipsisa64r2 | mipsisa64r2el \
248253 | mipsisa64sb1 | mipsisa64sb1el \
249254 | mipsisa64sr71k | mipsisa64sr71kel \
250255 | mipstx39 | mipstx39el \
251256 | mn10200 | mn10300 \
257 | msp430 \
252258 | ns16k | ns32k \
253259 | openrisc | or32 \
254260 | pdp10 | pdp11 | pj | pjl \
255261 | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
256262 | pyramid \
257 | sh | sh[1234] | sh3e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \
263 | sh | sh[1234] | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \
258264 | sh64 | sh64le \
259 | sparc | sparc64 | sparc86x | sparclet | sparclite | sparcv9 | sparcv9b \
265 | sparc | sparc64 | sparc64b | sparc86x | sparclet | sparclite \
266 | sparcv8 | sparcv9 | sparcv9b \
260267 | strongarm \
261 | tahoe | thumb | tic80 | tron \
268 | tahoe | thumb | tic4x | tic80 | tron \
262269 | v850 | v850e \
263270 | we32k \
264 | x86 | xscale | xstormy16 | xtensa \
271 | x86 | xscale | xscalee[bl] | xstormy16 | xtensa \
265272 | z8k)
266273 basic_machine=$basic_machine-unknown
267274 ;;
292299 | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
293300 | arm-* | armbe-* | armle-* | armeb-* | armv*-* \
294301 | avr-* \
295 | bs2000-* \
296 | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* \
297 | clipper-* | cydra-* \
302 | bfin-* | bs2000-* \
303 | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \
304 | clipper-* | craynv-* | cydra-* \
298305 | d10v-* | d30v-* | dlx-* \
299306 | elxsi-* \
300307 | f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \
301308 | h8300-* | h8500-* \
302309 | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
303310 | i*86-* | i860-* | i960-* | ia64-* \
304 | ip2k-* \
305 | m32r-* \
311 | ip2k-* | iq2000-* \
312 | m32r-* | m32rle-* \
306313 | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
307 | m88110-* | m88k-* | mcore-* \
314 | m88110-* | m88k-* | maxq-* | mcore-* \
308315 | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
309316 | mips16-* \
310317 | mips64-* | mips64el-* \
314321 | mips64vr4300-* | mips64vr4300el-* \
315322 | mips64vr5000-* | mips64vr5000el-* \
316323 | mipsisa32-* | mipsisa32el-* \
324 | mipsisa32r2-* | mipsisa32r2el-* \
317325 | mipsisa64-* | mipsisa64el-* \
326 | mipsisa64r2-* | mipsisa64r2el-* \
318327 | mipsisa64sb1-* | mipsisa64sb1el-* \
319328 | mipsisa64sr71k-* | mipsisa64sr71kel-* \
320 | mipstx39 | mipstx39el \
329 | mipstx39-* | mipstx39el-* \
330 | mmix-* \
331 | msp430-* \
321332 | none-* | np1-* | ns16k-* | ns32k-* \
322333 | orion-* \
323334 | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
324335 | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
325336 | pyramid-* \
326337 | romp-* | rs6000-* \
327 | sh-* | sh[1234]-* | sh3e-* | sh[34]eb-* | shbe-* \
338 | sh-* | sh[1234]-* | sh[23]e-* | sh[34]eb-* | shbe-* \
328339 | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
329 | sparc-* | sparc64-* | sparc86x-* | sparclet-* | sparclite-* \
330 | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \
331 | tahoe-* | thumb-* | tic30-* | tic4x-* | tic54x-* | tic80-* | tron-* \
340 | sparc-* | sparc64-* | sparc64b-* | sparc86x-* | sparclet-* \
341 | sparclite-* \
342 | sparcv8-* | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \
343 | tahoe-* | thumb-* \
344 | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
345 | tron-* \
332346 | v850-* | v850e-* | vax-* \
333347 | we32k-* \
334 | x86-* | x86_64-* | xps100-* | xscale-* | xstormy16-* \
335 | xtensa-* \
348 | x86-* | x86_64-* | xps100-* | xscale-* | xscalee[bl]-* \
349 | xstormy16-* | xtensa-* \
336350 | ymp-* \
337351 | z8k-*)
338352 ;;
352366 basic_machine=a29k-amd
353367 os=-udi
354368 ;;
369 abacus)
370 basic_machine=abacus-unknown
371 ;;
355372 adobe68k)
356373 basic_machine=m68010-adobe
357374 os=-scout
366383 basic_machine=a29k-none
367384 os=-bsd
368385 ;;
386 amd64)
387 basic_machine=x86_64-pc
388 ;;
389 amd64-*)
390 basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'`
391 ;;
369392 amdahl)
370393 basic_machine=580-amdahl
371394 os=-sysv
425448 basic_machine=j90-cray
426449 os=-unicos
427450 ;;
451 craynv)
452 basic_machine=craynv-cray
453 os=-unicosmp
454 ;;
455 cr16c)
456 basic_machine=cr16c-unknown
457 os=-elf
458 ;;
428459 crds | unos)
429460 basic_machine=m68k-crds
430461 ;;
462 crisv32 | crisv32-* | etraxfs*)
463 basic_machine=crisv32-axis
464 ;;
431465 cris | cris-* | etrax*)
432466 basic_machine=cris-axis
467 ;;
468 crx)
469 basic_machine=crx-unknown
470 os=-elf
433471 ;;
434472 da30 | da30-*)
435473 basic_machine=m68k-da30
452490 delta88)
453491 basic_machine=m88k-motorola
454492 os=-sysv3
493 ;;
494 djgpp)
495 basic_machine=i586-pc
496 os=-msdosdjgpp
455497 ;;
456498 dpx20 | dpx20-*)
457499 basic_machine=rs6000-bull
630672 ;;
631673 mips3*)
632674 basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown
633 ;;
634 mmix*)
635 basic_machine=mmix-knuth
636 os=-mmixware
637675 ;;
638676 monitor)
639677 basic_machine=m68k-rom68k
726764 basic_machine=or32-unknown
727765 os=-coff
728766 ;;
767 os400)
768 basic_machine=powerpc-ibm
769 os=-os400
770 ;;
729771 OSE68000 | ose68000)
730772 basic_machine=m68000-ericsson
731773 os=-ose
757799 pentiumpro | p6 | 6x86 | athlon | athlon_*)
758800 basic_machine=i686-pc
759801 ;;
760 pentiumii | pentium2)
802 pentiumii | pentium2 | pentiumiii | pentium3)
761803 basic_machine=i686-pc
804 ;;
805 pentium4)
806 basic_machine=i786-pc
762807 ;;
763808 pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*)
764809 basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'`
766811 pentiumpro-* | p6-* | 6x86-* | athlon-*)
767812 basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
768813 ;;
769 pentiumii-* | pentium2-*)
814 pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*)
770815 basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
816 ;;
817 pentium4-*)
818 basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'`
771819 ;;
772820 pn)
773821 basic_machine=pn-gould
827875 sb1el)
828876 basic_machine=mipsisa64sb1el-unknown
829877 ;;
878 sei)
879 basic_machine=mips-sei
880 os=-seiux
881 ;;
830882 sequent)
831883 basic_machine=i386-sequent
832884 ;;
834886 basic_machine=sh-hitachi
835887 os=-hms
836888 ;;
889 sh64)
890 basic_machine=sh64-unknown
891 ;;
837892 sparclite-wrs | simso-wrs)
838893 basic_machine=sparclite-wrs
839894 os=-vxworks
900955 basic_machine=i386-sequent
901956 os=-dynix
902957 ;;
903 t3d)
904 basic_machine=alpha-cray
905 os=-unicos
906 ;;
907958 t3e)
908959 basic_machine=alphaev5-cray
909960 os=-unicos
912963 basic_machine=t90-cray
913964 os=-unicos
914965 ;;
915 tic4x | c4x*)
916 basic_machine=tic4x-unknown
917 os=-coff
918 ;;
919966 tic54x | c54x*)
920967 basic_machine=tic54x-unknown
921968 os=-coff
922969 ;;
970 tic55x | c55x*)
971 basic_machine=tic55x-unknown
972 os=-coff
973 ;;
974 tic6x | c6x*)
975 basic_machine=tic6x-unknown
976 os=-coff
977 ;;
923978 tx39)
924979 basic_machine=mipstx39-unknown
925980 ;;
933988 tower | tower-32)
934989 basic_machine=m68k-ncr
935990 ;;
991 tpf)
992 basic_machine=s390x-ibm
993 os=-tpf
994 ;;
936995 udi29k)
937996 basic_machine=a29k-amd
938997 os=-udi
9751034 w89k-*)
9761035 basic_machine=hppa1.1-winbond
9771036 os=-proelf
1037 ;;
1038 xbox)
1039 basic_machine=i686-pc
1040 os=-mingw32
9781041 ;;
9791042 xps | xps100)
9801043 basic_machine=xps100-honeywell
10061069 romp)
10071070 basic_machine=romp-ibm
10081071 ;;
1072 mmix)
1073 basic_machine=mmix-knuth
1074 ;;
10091075 rs6000)
10101076 basic_machine=rs6000-ibm
10111077 ;;
10221088 we32k)
10231089 basic_machine=we32k-att
10241090 ;;
1025 sh3 | sh4 | sh3eb | sh4eb | sh[1234]le | sh3ele)
1091 sh3 | sh4 | sh[34]eb | sh[1234]le | sh[23]ele)
10261092 basic_machine=sh-unknown
10271093 ;;
10281094 sh64)
10291095 basic_machine=sh64-unknown
10301096 ;;
1031 sparc | sparcv9 | sparcv9b)
1097 sparc | sparcv8 | sparcv9 | sparcv9b)
10321098 basic_machine=sparc-sun
10331099 ;;
10341100 cydra)
11011167 | -aos* \
11021168 | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
11031169 | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
1104 | -hiux* | -386bsd* | -netbsd* | -openbsd* | -freebsd* | -riscix* \
1105 | -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
1170 | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* | -openbsd* \
1171 | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
1172 | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
11061173 | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
11071174 | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
11081175 | -chorusos* | -chorusrdb* \
11091176 | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
1110 | -mingw32* | -linux-gnu* | -uxpv* | -beos* | -mpeix* | -udk* \
1177 | -mingw32* | -linux-gnu* | -linux-uclibc* | -uxpv* | -beos* | -mpeix* | -udk* \
11111178 | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
11121179 | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
11131180 | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
11141181 | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
11151182 | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
1116 | -powermax* | -dnix*)
1183 | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly*)
11171184 # Remember, each alternative MUST END IN *, to match a version number.
11181185 ;;
11191186 -qnx*)
11371204 -mac*)
11381205 os=`echo $os | sed -e 's|mac|macos|'`
11391206 ;;
1207 -linux-dietlibc)
1208 os=-linux-dietlibc
1209 ;;
11401210 -linux*)
11411211 os=`echo $os | sed -e 's|linux|linux-gnu|'`
11421212 ;;
11491219 -opened*)
11501220 os=-openedition
11511221 ;;
1222 -os400*)
1223 os=-os400
1224 ;;
11521225 -wince*)
11531226 os=-wince
11541227 ;;
11691242 ;;
11701243 -atheos*)
11711244 os=-atheos
1245 ;;
1246 -syllable*)
1247 os=-syllable
11721248 ;;
11731249 -386bsd)
11741250 os=-bsd
11921268 -sinix*)
11931269 os=-sysv4
11941270 ;;
1271 -tpf*)
1272 os=-tpf
1273 ;;
11951274 -triton*)
11961275 os=-sysv3
11971276 ;;
12211300 ;;
12221301 -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
12231302 os=-mint
1303 ;;
1304 -aros*)
1305 os=-aros
1306 ;;
1307 -kaos*)
1308 os=-kaos
1309 ;;
1310 -zvmoe)
1311 os=-zvmoe
12241312 ;;
12251313 -none)
12261314 ;;
12531341 arm*-semi)
12541342 os=-aout
12551343 ;;
1344 c4x-* | tic4x-*)
1345 os=-coff
1346 ;;
12561347 # This must come before the *-dec entry.
12571348 pdp10-*)
12581349 os=-tops20
12981389 ;;
12991390 *-ibm)
13001391 os=-aix
1392 ;;
1393 *-knuth)
1394 os=-mmixware
13011395 ;;
13021396 *-wec)
13031397 os=-proelf
14311525 -mvs* | -opened*)
14321526 vendor=ibm
14331527 ;;
1528 -os400*)
1529 vendor=ibm
1530 ;;
14341531 -ptx*)
14351532 vendor=sequent
1533 ;;
1534 -tpf*)
1535 vendor=ibm
14361536 ;;
14371537 -vxsim* | -vxworks* | -windiss*)
14381538 vendor=wrs
0 bumprace (1.4.6-5) unstable; urgency=low
1
2 * added automatic config.{sub|guess} updating (closes: #316793)
3 * GNU config automated update: config.sub (20021130 to 20050422),
4 config.guess (20021130 to 20050422)
5
6 -- Christian T. Steigies <cts@debian.org> Tue, 5 Jul 2005 21:04:29 +0000
7
08 bumprace (1.4.6-4) unstable; urgency=high
19
210 * really, really fix buffer overflow by applying patches in configure,
2828 INSTALL_PROGRAM += -s
2929 endif
3030
31 export DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
32 export DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
33
34 # FOR AUTOCONF 2.52 AND NEWER ONLY
35 ifeq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE))
36 confflags += --build $(DEB_HOST_GNU_TYPE)
37 else
38 confflags += --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE)
39 endif
40
41 # The autotools target adds forced build-time dependencies on
42 # autotools-dev (for /usr/share/misc/config.*) and devscripts (for dch)
43 # It's also a .PHONY make target.
44 autotools:
45 -chmod +x config.sub config.guess
46 OLDDATESUB=`./config.sub -t | tr -d -` ;\
47 OLDDATEGUESS=`./config.guess -t | tr -d -` ;\
48 NEWDATESUB=`/usr/share/misc/config.sub -t | tr -d -` ;\
49 NEWDATEGUESS=`/usr/share/misc/config.guess -t | tr -d -` ;\
50 if [ $$OLDDATESUB -lt $$NEWDATESUB -o \
51 $$OLDDATEGUESS -lt $$NEWDATEGUESS ]; then \
52 dch -a -p "GNU config automated update: config.sub\
53 ($$OLDDATESUB to $$NEWDATESUB), config.guess\
54 ($$OLDDATEGUESS to $$NEWDATEGUESS)" ;\
55 cp -f /usr/share/misc/config.sub config.sub ;\
56 cp -f /usr/share/misc/config.guess config.guess ;\
57 echo WARNING: GNU config scripts updated from master copies 1>&2 ;\
58 fi
59
3160 configure: configure-stamp
3261 configure-stamp:
3362 dh_testdir
5079
5180 touch build-stamp
5281
53 clean:
82 clean: autotools
5483 dh_testdir
5584 dh_testroot
5685 rm -f build-stamp configure-stamp