autotools-dev-20130810.1/0000755000000000000000000000000012201430542011575 5ustar autotools-dev-20130810.1/testsuite/0000755000000000000000000000000012201430542013626 5ustar autotools-dev-20130810.1/testsuite/config-sub.sh0000644000000000000000000000137512201430542016224 0ustar #!/bin/sh # # Copyright 2004, 2005, 2009 Free Software Foundation, Inc. # Contributed by Ben Elliston . # # This test reads pairs from config-sub.data: an alias and its # canonical triplet. The config.sub scripts is invoked and the test # checks that the alias expands to the expected canonical triplet. verbose=false run_config_sub () { rc=0 while read alias canonical ; do output=`sh ../config.sub $alias` if test $output != $canonical ; then echo "FAIL: $alias -> $output, but expected $canonical" rc=1 else $verbose && echo "PASS: $alias" fi done < config-sub.data return $rc } if run_config_sub ; then $verbose || echo "PASS: config.sub checks" else echo "Unexpected failures." exit 1 fi exit 0 autotools-dev-20130810.1/testsuite/config-sub.data0000644000000000000000000002212612201430542016520 0ustar aarch64-elf aarch64-unknown-elf aarch64-linux aarch64-unknown-linux-gnu aarch64-unknown-elf aarch64-unknown-elf aarch64-unknown-linux aarch64-unknown-linux-gnu aarch64_be-elf aarch64_be-unknown-elf aarch64_be-linux aarch64_be-unknown-linux-gnu aarch64_be-unknown-elf aarch64_be-unknown-elf aarch64_be-unknown-linux aarch64_be-unknown-linux-gnu amd64-cygwin x86_64-pc-cygwin amd64-kfreebsd5.4-gnu x86_64-pc-kfreebsd5.4-gnu amd64-unknown-freebsd5.2 x86_64-unknown-freebsd5.2 arc-linux arc-unknown-linux-gnu arceb-linux arceb-unknown-linux-gnu arm-cegcc arm-unknown-cegcc arm-coff arm-unknown-coff arm-elf arm-unknown-elf arm-linux-androideabi arm-unknown-linux-androideabi arm-mingw32ce arm-unknown-mingw32ce arm-riscos arm-unknown-riscos arm-unknown-riscos arm-unknown-riscos armv6-linux-gnu armv6-unknown-linux-gnu armv7a-linux-gnueabi armv7a-unknown-linux-gnueabi armv8b-linux-gnueabi armv8b-unknown-linux-gnueabi aros i386-pc-aros avr32 avr32-unknown-none avr32-linux avr32-unknown-linux-gnu be32-none be32-unknown-none be64-none be64-unknown-none bfin bfin-unknown-none bfin-elf bfin-unknown-elf blackfin bfin-unknown-linux-gnu c54x-coff tic54x-unknown-coff c54x-none-coff tic54x-none-coff c54x tic54x-unknown-coff c54x-unknown-coff tic54x-unknown-coff c55x-coff tic55x-unknown-coff c55x-none-coff tic55x-none-coff c55x tic55x-unknown-coff c55x-unknown-coff tic55x-unknown-coff c6x-coff tic6x-unknown-coff c6x-elf tic6x-unknown-elf c6x-none-coff tic6x-none-coff c6x-none-elf tic6x-none-elf c6x tic6x-unknown-coff c6x-uclinux tic6x-unknown-uclinux c6x-unknown-coff tic6x-unknown-coff c6x-unknown-elf tic6x-unknown-elf c8051 c8051-unknown-elf c8051-elf c8051-unknown-elf cegcc arm-unknown-cegcc cr16-elf cr16-unknown-elf cr16-random-elf cr16-unknown-elf cris-linux cris-axis-linux-gnu crisv32-linux crisv32-axis-linux-gnu dicos i686-pc-dicos djgpp i586-pc-msdosdjgpp epiphany epiphany-unknown-none epiphany-elf epiphany-unknown-elf fido-elf fido-unknown-elf fido fido-unknown-none frv-linux frv-unknown-linux-gnu hexagon-linux hexagon-unknown-linux-gnu hexagon hexagon-unknown-elf i386-aros i386-pc-aros i386-bitrig i386-pc-bitrig i386-drops1.0 i386-pc-drops1.0 i386-elf i386-pc-elf i386-es i386-pc-es i386-freebsd i386-pc-freebsd i386-haiku i386-pc-haiku i386-linux i386-pc-linux-gnu i386-linux-newlib i386-pc-linux-newlib i386-linux-musl i386-pc-linux-musl i386-mingw32 i386-pc-mingw32 i386-msys i386-pc-msys i386-netbsd i386-pc-netbsd i386-openbsd i386-pc-openbsd i386-os2 i386-pc-os2 i386-pc-nacl i386-pc-nacl i386-pc-sco5v6 i386-pc-sco5v6 i386-pc-sco6 i386-pc-sco5v6 i386-solidbsd i386-pc-solidbsd i486-elf i486-pc-elf i586-auroraux5.0 i586-pc-auroraux5.0 i586-auroraux i586-pc-auroraux i586-elf i586-pc-elf i586-rdos i586-pc-rdos i586-skyos i586-pc-skyos i686-android-linux i686-unknown-linux-android i686-dicos i686-pc-dicos i686-elf i686-pc-elf i686-ericsson-dicos i686-ericsson-dicos i686-kopensolaris5.11-gnu i686-pc-kopensolaris5.11-gnu i786-elf i786-pc-elf ibm i370-ibm-aix le32-nacl le32-unknown-nacl le64-none le64-unknown-none lm32-elf lm32-unknown-elf lm32 lm32-unknown-none m32c-elf m32c-unknown-elf m32c m32c-unknown-none m68knommu m68k-unknown-linux-gnu maxq-elf maxq-unknown-elf maxq maxq-unknown-none mb-elf mb-unknown-elf mep-elf mep-unknown-elf mep mep-unknown-elf metag-linux metag-unknown-linux-gnu metag metag-unknown-none microblaze-elf microblaze-unknown-elf microblazeel-elf microblazeel-unknown-elf microblaze-linux microblaze-unknown-linux-gnu microblazeel-linux microblazeel-unknown-linux-gnu microblaze microblaze-unknown-none microblazeel microblazeel-unknown-none mingw32 i686-pc-mingw32 mingw32ce arm-unknown-mingw32ce mingw64 x86_64-pc-mingw64 mips64octeonel-elf mips64octeonel-unknown-elf mips64octeon-elf mips64octeon-unknown-elf mips64octeonel mips64octeonel-unknown-elf mips64octeon mips64octeon-unknown-elf mips64r5900el-elf mips64r5900el-unknown-elf mips64r5900-elf mips64r5900-unknown-elf mips64r5900el mips64r5900el-unknown-elf mips64r5900 mips64r5900-unknown-elf mips64vr5900el-elf mips64vr5900el-unknown-elf mips64vr5900-elf mips64vr5900-unknown-elf mips64vr5900el mips64vr5900el-unknown-elf mips64vr5900 mips64vr5900-unknown-elf mipsr5900 mipsr5900-unknown-elf mipsr5900el mipsr5900el-unknown-elf mips-sde-elf mips-sde-elf mmix-elf mmix-knuth-elf mmix mmix-knuth-mmixware msys i686-pc-msys moxie-elf moxie-unknown-elf ms1-elf mt-unknown-elf ms1 mt-unknown-none mt-elf mt-unknown-elf mt mt-unknown-none nacl le32-unknown-nacl nds32-elf nds32-unknown-elf nds32le-elf nds32le-unknown-elf nds32le nds32le-unknown-none nds32 nds32-unknown-none nios2-elf nios2-unknown-elf nios2 nios2-unknown-none nios2eb-elf nios2eb-unknown-elf nios2eb nios2eb-unknown-none nios2el-elf nios2el-unknown-elf nios2el nios2el-unknown-none nios-elf nios-unknown-elf nios nios-unknown-none open8-elf open8-unknown-elf open8 open8-unknown-none openrisc-linux or32-unknown-linux-gnu or1k-elf or1k-unknown-elf or1k-linux or1k-unknown-linux-gnu or32-linux or32-unknown-linux-gnu os400 powerpc-ibm-os400 parisc hppa-unknown-linux-gnu pc98-freebsd i386-pc-freebsd picochip picochip-unknown-none powerpc-bluegene powerpc-ibm-cnk powerpc-cnk powerpc-ibm-cnk powerpc-elf-lynxos powerpc-elf-lynxos powerpc-elf-lynxos5 powerpc-elf-lynxos5 powerpc-xcoff-lynxos178 powerpc-xcoff-lynxos178 powerpc-haiku powerpc-unknown-haiku ppcbe-elf powerpc-unknown-elf ppcbe-none-elf powerpc-none-elf ppcbe powerpc-unknown-none ppc-elf powerpc-unknown-elf ppcle-elf powerpcle-unknown-elf ppcle-none-elf powerpcle-none-elf ppcle powerpcle-unknown-none ppc-none-elf powerpc-none-elf ppc powerpc-unknown-none rdos x86_64-pc-rdos rdos32 i386-pc-rdos rdos64 x86_64-pc-rdos rl78-linux rl78-unknown-linux-gnu rl78 rl78-unknown-none rx-linux rx-unknown-linux-gnu rx rx-unknown-none s390-ibm-zvmoe s390-ibm-zvmoe score-elf score-unknown-elf score score-unknown-elf sde-elf mipsisa32-sde-elf sh1-elf sh1-unknown-elf sh1le-elf sh1le-unknown-elf sh2aeb-elf sh2aeb-unknown-elf sh2aeb sh2aeb-unknown-none sh2a-elf sh2a-unknown-elf sh2e-elf sh2e-unknown-elf sh2-elf sh2-unknown-elf sh2le-elf sh2le-unknown-elf sh3eb-elf sh3eb-unknown-elf sh3e-elf sh3e-unknown-elf sh3ele-elf sh3ele-unknown-elf sh3-elf sh3-unknown-elf sh3le-elf sh3le-unknown-elf sh4aeb-elf sh4aeb-unknown-elf sh4aeb sh4aeb-unknown-none sh4a-elf sh4a-unknown-elf sh4eb-elf sh4eb-unknown-elf sh4-elf sh4-unknown-elf sh4le-elf sh4le-unknown-elf sh5el-elf sh5le-unknown-elf sh5el-netbsd sh5le-unknown-netbsd sh64-elf sh64-unknown-elf sh64 sh64-unknown-none shbe-elf shbe-unknown-elf sheb-elf sheb-unknown-elf sh-elf sh-unknown-elf shle-elf shle-unknown-elf sh-toppers sh-unknown-toppers sparc64b-linux sparc64b-unknown-linux-gnu sparc64-linux sparc64-unknown-linux-gnu sparc64v-elf sparc64v-unknown-elf sparc64v-solaris2.9 sparc64v-unknown-solaris2.9 sparc-haiku sparc-unknown-haiku sparcv9v-elf sparcv9v-unknown-elf sparcv9v-solaris2.9 sparcv9v-unknown-solaris2.9 spu-elf spu-unknown-elf spu-linux spu-unknown-linux-gnu spu spu-unknown-elf strongarm arm-unknown-none strongarm-none-elf arm-none-elf sun3 m68k-sun-sunos4.1.1 sun4 sparc-sun-sunos4.1.1 thumb arm-unknown-none thumb-none-elf arm-none-elf tic54x-coff tic54x-unknown-coff tic54x-none-coff tic54x-none-coff tic54x tic54x-unknown-coff tic54x-unknown-coff tic54x-unknown-coff tic55x-coff tic55x-unknown-coff tic55x-none-coff tic55x-none-coff tic55x tic55x-unknown-coff tic55x-unknown-coff tic55x-unknown-coff tic6x-coff tic6x-unknown-coff tic6x-elf tic6x-unknown-elf tic6x-none-coff tic6x-none-coff tic6x-none-elf tic6x-none-elf tic6x tic6x-unknown-coff tic6x-uclinux tic6x-unknown-uclinux tic6x-unknown-coff tic6x-unknown-coff tic6x-unknown-elf tic6x-unknown-elf tile64 tile64-unknown-linux-gnu tilegx-linux tilegx-unknown-linux-gnu tilegx tilegx-unknown-linux-gnu tilegx-unknown-linux tilegx-unknown-linux-gnu tile-linux tile-unknown-linux-gnu tile tile-unknown-linux-gnu tile-unknown-linux tile-unknown-linux-gnu ubicom32-elf ubicom32-unknown-elf ubicom32 ubicom32-unknown-none v850e1-elf v850e1-unknown-elf v850e2-elf v850e2-unknown-elf v850e2v3-elf v850e2v3-unknown-elf v850e-elf v850e-unknown-elf v850-elf v850-unknown-elf v850es-elf v850es-unknown-elf x86_64-cygwin x86_64-pc-cygwin x86_64-dicos x86_64-pc-dicos x86_64-ericsson-dicos x86_64-ericsson-dicos xbox i686-pc-mingw32 xc16x-elf xc16x-unknown-elf xc16x xc16x-unknown-none xgate xgate-unknown-none xscale arm-unknown-none xscaleeb armeb-unknown-none xscaleeb-none-elf armeb-none-elf xscaleel armel-unknown-none xscaleel-none-elf armel-none-elf xscale-none-elf arm-none-elf xtensa_dc232b-linux xtensa_dc232b-unknown-linux-gnu xtensa-elf xtensa-unknown-elf xtensa-linux xtensa-unknown-linux-gnu z80-coff z80-unknown-coff i386-plan9 i386-pc-plan9 autotools-dev-20130810.1/testsuite/config-guess.sh0000644000000000000000000000242712201430542016560 0ustar #!/bin/sh # # Copyright 2004, 2005, 2009, 2012 Free Software Foundation, Inc. # Contributed by Ben Elliston . # # This test reads 5-tuples from config-guess.data: the components of # the simulated uname(1) output and the expected GNU system triplet. verbose=false PATH=`pwd`:$PATH run_config_guess () { rc=0 while read machine release system version triplet ; do sed \ -e "s,@MACHINE@,$machine," \ -e "s,@RELEASE@,$release," \ -e "s,@SYSTEM@,$system," \ -e "s,@VERSION@,$version," > uname << EOF #!/bin/sh [ \$# -ne 1 ] && exec sh \$0 -s [ \$1 = -m ] && echo "@MACHINE@" && exit 0 [ \$1 = -r ] && echo "@RELEASE@" && exit 0 [ \$1 = -s ] && echo "@SYSTEM@" && exit 0 [ \$1 = -v ] && echo "@VERSION@" && exit 0 [ \$1 = -p ] && echo "Pentium III(TM)-ISA/PCI" EOF chmod +x uname output=`sh ../config.guess 2>/dev/null` if test $? != 0 ; then echo "FAIL: unable to guess $machine:$release:$system:$version" rc=1 continue fi if test $output != $triplet ; then echo "FAIL: $output (expected $triplet)" rc=1 continue fi $verbose && echo "PASS: $triplet" done return $rc } if run_config_guess < config-guess.data ; then $verbose || echo "PASS: config.guess checks" else echo "Unexpected failures." exit 1 fi exit 0 autotools-dev-20130810.1/testsuite/config-guess.data0000644000000000000000000000632112201430542017054 0ustar 2064 ignored z/VM ignored s390-ibm-zvmoe 3 2.3.3 XENIX SysV i386-pc-xenix 8664 1.0 Windows_NT ignored x86_64-pc-mks aarch64 ignored Linux ignored aarch64-unknown-linux-gnu aarch64_be ignored Linux ignored aarch64_be-unknown-linux-gnu amd64 1.5.12(0.116/4/2) CYGWIN_NT-5.2 ignored x86_64-unknown-cygwin arc ignored Linux ignored arc-unknown-linux-gnu arceb ignored Linux ignored arceb-unknown-linux-gnu arm ignored riscos ignored arm-unknown-riscos arm ignored RISCOS ignored arm-unknown-riscos armv4l ignored riscos ignored arm-unknown-riscos authenticamd 6.0 Interix ignored x86_64-unknown-interix6.0 avr32 2.6.15 Linux ignored avr32-unknown-linux-gnu BePC 1.0 Haiku ignored i586-pc-haiku crayx1 2.5.20 UNICOS/mp ignored craynv-cray-unicosmp2.5.X cris 2.6.6 Linux ignored cris-axis-linux-gnu crisv32 2.6.6 Linux ignored crisv32-axis-linux-gnu EM64T 5.2 Interix ignored x86_64-unknown-interix5.2 frv 2.4.24 Linux ignored frv-unknown-linux-gnu genuineintel 6.0 Interix ignored x86_64-unknown-interix6.0 hexagon 1.0 Linux ignored hexagon-unknown-linux-gnu i386 1.0 MINGW ignored i386-pc-mingw32 i386 12.1 AROS ignored i386-pc-aros i386 4.2 LynxOS ignored i386-unknown-lynxos4.2 i386 ignored VOS ignored i386-stratus-vos i586 1.0 SolidBSD ignored i586-unknown-solidbsd1.0 i586 5.0.0 skyos ignored i586-pc-skyos5.0.0 i586 ignored rdos ignored i586-pc-rdos i686 1.0.17(0.48/3/2) MSYS_NT-6.0 ignored i686-pc-msys i686 5.11-686 GNU/kOpenSolaris ignored i686-unknown-kopensolaris5.11-gnu i686 5.4-1-686 GNU/kFreeBSD ignored i686-unknown-kfreebsd5.4-gnu i786-pc ignored windows32 ignored i786-pc-mingw32 i86pc 5.0 AuroraUX ignored i386-pc-auroraux5.0 i86xen 5.0 AuroraUX ignored i386-pc-auroraux5.0 IA64 6.0 Interix ignored ia64-unknown-interix6.0 macppc 1.0 MirBSD ignored powerpc-unknown-mirbsd1.0 NEO-1 1.0 NONSTOP_KERNEL ignored neo-tandem-nsk1.0 NSE-1 1.0 NONSTOP_KERNEL ignored nse-tandem-nsk1.0 NSE-N 1.0 NONSTOP_KERNEL ignored nse-tandem-nsk1.0 NSE-NN 1.0 NONSTOP_KERNEL ignored nse-tandem-nsk1.0 or1k ignored Linux ignored or1k-unknown-linux-gnu or32 ignored Linux ignored or32-unknown-linux-gnu padre 2.6.15 Linux ignored sparc-unknown-linux-gnu pc 1.0 ignored ignored i586-pc-msdosdjgpp PowerPC 4.2 LynxOS ignored powerpc-unknown-lynxos4.2 ppc 2.6.9-22 Linux ignored powerpc-unknown-linux-gnu ppc64 2.6.9-22 Linux ignored powerpc64-unknown-linux-gnu s390x 5.6 SunOS ignored s390x-ibm-solaris2.6 SX-7 1.0 SUPER-UX ignored sx7-nec-superux1.0 SX-8 1.0 SUPER-UX ignored sx8-nec-superux1.0 SX-8R 1.0 SUPER-UX ignored sx8r-nec-superux1.0 tile 2.6.36 Linux ignored tile-unknown-linux-gnu tilegx 2.6.36 Linux ignored tilegx-unknown-linux-gnu vax 2.6.15 Linux ignored vax-dec-linux-gnu x86 5.2 Interix ignored i586-pc-interix5.2 x86 6.0 Interix ignored i586-pc-interix6.0 x86_64 1.0 MINGW ignored x86_64-pc-mingw32 x86_64 1.0 MINGW64 ignored x86_64-pc-mingw64 x86_64 2.6.32 Linux ignored x86_64-unknown-linux-gnu x86_64 2.6.32 VMkernel ignored x86_64-unknown-esx x86_64 1.5.18(0.132/4/2) CYGWIN_NT-5.2 ignored x86_64-unknown-cygwin x86_64 1.0 Haiku ignored x86_64-unknown-haiku xtensa 2.6.15 Linux ignored xtensa-unknown-linux-gnu autotools-dev-20130810.1/debian/0000755000000000000000000000000012201430542013017 5ustar autotools-dev-20130810.1/debian/upstream.mail.template0000644000000000000000000000163412201430542017341 0ustar From: foo@debian.org To: bar@upstream.org Subject: [foobar package] GNU config issues with your program Bar, I have recently updated the config.sub and config.guess (aka GNU config) files in the Debian packaging of foobar. The ones you include are too old, and cause build failures in many architetures. Unfortunately, by design, these two files must be kept up-to-date. In Debian we have a maintainer and a package tracking the GNU config git repository, as well as some automated scripts to update packages from master copies; However, since most people are not aware of the problem with old GNU config files, I thought I should notify you of the issue, just in case. Up-to-date GNU config files are available through anonymous git access. Instructions on how to use such a beast are available at: http://savannah.gnu.org/git/?group=config Your downstream Debian maintainer, foo -- Witty signature goes here autotools-dev-20130810.1/debian/source/0000755000000000000000000000000012201430542014317 5ustar autotools-dev-20130810.1/debian/source/format0000644000000000000000000000001512201430542015526 0ustar 3.0 (native) autotools-dev-20130810.1/debian/rules0000755000000000000000000000326712201430542014107 0ustar #!/usr/bin/make -f # debian/rules file for autotools-dev # Copyright (c) 1997-2012 by Henrique M. Holschuh and others # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 build: build-stamp build-indep: build-stamp build-stamp: dh_testdir pod2man -c Debhelper debian/dh_autotools-dev_updateconfig debian/dh_autotools-dev_updateconfig.1 pod2man -c Debhelper debian/dh_autotools-dev_restoreconfig debian/dh_autotools-dev_restoreconfig.1 touch build-stamp clean: dh_testdir dh_testroot -rm -f debian/dh_autotools-dev_updateconfig.1 debian/dh_autotools-dev_restoreconfig.1 -rm -f build-stamp dh_clean install: build dh_testdir dh_testroot dh_prep dh_installdirs install config.guess config.sub $(CURDIR)/debian/autotools-dev/usr/share/misc install debian/dh_autotools-dev_updateconfig debian/dh_autotools-dev_restoreconfig $(CURDIR)/debian/autotools-dev/usr/bin install debian/autotools_dev.pm $(CURDIR)/debian/autotools-dev/usr/share/perl5/Debian/Debhelper/Sequence build-arch: # Build architecture-dependent files here. binary-arch: # We have nothing to do by default. # Build architecture-independent files here. binary-indep: build-indep install dh_testdir dh_testroot # dh_installdebconf dh_installdocs dh_installexamples # dh_installmenu # dh_installlogrotate # dh_installemacsen # dh_installpam # dh_installmime # dh_installinit # dh_installcron dh_installman # dh_installinfo # dh_undocumented dh_installchangelogs ChangeLog dh_strip dh_compress dh_fixperms # dh_makeshlibs dh_installdeb # dh_perl dh_shlibdeps dh_gencontrol dh_md5sums dh_builddeb binary: binary-indep binary-arch .PHONY: build clean binary-indep binary-arch binary build-indep build-arch install autotools-dev-20130810.1/debian/dh_autotools-dev_updateconfig0000644000000000000000000000254312201430542020756 0ustar #!/usr/bin/perl -w =head1 NAME dh_autotools-dev_updateconfig - update B and B =cut use strict; use Debian::Debhelper::Dh_Lib; =head1 SYNOPSIS B [S>] =head1 DESCRIPTION dh_autotools-dev_updateconfig replaces all occurances of B and B in the source tree by the up-to-date versions found in the autotools-dev package. The original files are backed up under the names B and B. =head1 EXAMPLES dh_autotools-dev_updateconfig is usually called indirectly in a rules file via the dh command. %: dh $@ --with autotools_dev It can also be direcly called at the start of the build (or configure) rule. build: dh_autotools-dev_updateconfig ./configure $(MAKE) =cut init(); complex_doit('for c_g in `find -type f -name config.guess` ; do if ! test -e "$c_g.dh-orig" ; then mv -f "$c_g" "$c_g.dh-orig" ; cp -f /usr/share/misc/config.guess "$c_g" ; fi ; done'); complex_doit('for c_s in `find -type f -name config.sub` ; do if ! test -e "$c_s.dh-orig" ; then mv -f "$c_s" "$c_s.dh-orig" ; cp -f /usr/share/misc/config.sub "$c_s" ; fi ; done'); =head1 SEE ALSO L, L. This program is meant to be used together with debhelper. =head1 AUTHOR Fabian Greffrath =cut autotools-dev-20130810.1/debian/dh_autotools-dev_restoreconfig0000644000000000000000000000252512201430542021157 0ustar #!/usr/bin/perl -w =head1 NAME dh_autotools-dev_restoreconfig - restore B and B =cut use strict; use Debian::Debhelper::Dh_Lib; =head1 SYNOPSIS B [S>] =head1 DESCRIPTION dh_autotools-dev_restoreconfig restores the original B and B files that have been backed up by dh_autotools-dev_updateconfig under the names B and B. =head1 EXAMPLES dh_autotools-dev_restoreconfig is usually called indirectly in a rules file via the dh command. %: dh $@ --with autotools_dev It can also be direcly called in the clean rule. clean: dh_testdir dh_testroot [ ! -f Makefile ] || $(MAKE) clean dh_autotools-dev_restoreconfig dh_clean =cut init(); complex_doit('for c_g in `find . -type f -name config.guess` ; do if test -e "$c_g.dh-orig" ; then mv -f "$c_g.dh-orig" "$c_g" ; fi ; done'); complex_doit('for c_s in `find . -type f -name config.sub` ; do if test -e "$c_s.dh-orig" ; then mv -f "$c_s.dh-orig" "$c_s" ; fi ; done'); complex_doit('find . -type f \( -name config.guess.dh-orig -o -name config.sub.dh-orig \) -delete'); =head1 SEE ALSO L, L. This program is meant to be used together with debhelper. =head1 AUTHOR Fabian Greffrath =cut autotools-dev-20130810.1/debian/copyright0000644000000000000000000000310012201430542014744 0ustar This package was debianized by Henrique de Moraes Holschuh on Mon, 23 Apr 2001 16:35:06 -0300. It was downloaded directly from GNU cvs, cvs.gnu.org, module "config" in the past. Nowadays, it is downloaded using git merges from git://git.savannah.gnu.org/config.git Upstream Authors: The GNU project (http://www.gnu.org) "GNU config.{sub,guess} upstream" Upstream copyright notices: Copyright 1992-2013 Free Software Foundation, Inc. This file is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, see . As a special exception to the GNU General Public License, if you distribute this file as part of a program that contains a configuration script generated by Autoconf, you may include it under the same distribution terms that you use for the rest of that program. This Exception is an additional permission under section 7 of the GNU General Public License, version 3 ("GPLv3"). The GPL may be found in /usr/share/common-licenses/GPL on a Debian system. autotools-dev-20130810.1/debian/control0000644000000000000000000000223612201430542014425 0ustar Source: autotools-dev Section: devel Priority: optional Maintainer: Henrique de Moraes Holschuh Build-Depends: debhelper (>> 7) Build-Depends-Indep: perl Standards-Version: 3.9.3 Homepage: http://savannah.gnu.org/projects/config/ Vcs-Browser: http://git.debian.org/?p=users/hmh/autotools-dev.git Vcs-Git: git://git.debian.org/users/hmh/autotools-dev.git Package: autotools-dev Architecture: all Multi-Arch: foreign Depends: ${misc:Depends} Enhances: cdbs, debhelper Description: Update infrastructure for config.{guess,sub} files This package installs an up-to-date version of config.guess and config.sub, used by the automake and libtool packages. It provides the canonical copy of those files for other packages as well. . It also documents in /usr/share/doc/autotools-dev/README.Debian.gz best practices and guidelines for using autoconf, automake and friends on Debian packages. This is a must-read for any developers packaging software that uses the GNU autotools, or GNU gettext. . Additionally this package provides seamless integration into Debhelper or CDBS, allowing maintainers to easily update config.{guess,sub} files in their packages. autotools-dev-20130810.1/debian/compat0000644000000000000000000000000212201430542014215 0ustar 7 autotools-dev-20130810.1/debian/changelog0000644000000000000000000007143312201430542014701 0ustar autotools-dev (20130810.1) unstable; urgency=low * Sync to upstream git 2013-08-10 (closes: #719272) [commit 6ce9fc8a12ad86d2ab6a56694998905b5b75e490] + Add support for ppc64le, ppcle -- Henrique de Moraes Holschuh Sat, 10 Aug 2013 09:23:55 -0300 autotools-dev (20130515.1) unstable; urgency=low [ Henrique de Moraes Holschuh ] * Sync to upstream git 2013-05-15 (closes: #709748) [commit 20f0b7ebd0a4b44c00f6ecff0115539768f26f48] + Switch license to GPLv3 with exception + Detect and use -uclibc suffix for uClibc targets on i*86 and x86_64 + handle armv6/v7/v8 targets + new targets: linux-musl*, microblazeel, or1k:Linux, arc:Linux, arceb:Linux + s390:Linux:*, switch to -gnu and -uclibc suffixes * dh_autotools-dev: better shell escaping and clean behaviour * debian/copyright: update to GPLv3 with exception * NEWS.Debian: note the license change and autoconf-restricted exception [ Raúl Benencia ] * README.Debian: fix typo (closes: #699391) -- Henrique de Moraes Holschuh Thu, 30 May 2013 20:28:51 -0300 autotools-dev (20120608.1) unstable; urgency=medium [ Henrique de Moraes Holschuh ] * Sync to upstream git 2012-06-12 [commit 97cde7c78583af2e0694fb1ab518a8294664bda8] + hexagon support * debian/control: bump standars version to 3.9.3 (no changes required) * Medium urgency upload due to multiarch release goal [ Steve Langasek ] * Mark autotools-dev Multi-Arch: foreign (closes: #666450) -- Henrique de Moraes Holschuh Fri, 08 Jun 2012 12:48:45 -0300 autotools-dev (20120210.1) unstable; urgency=high * Sync to upstream git 2012-02-13 [commit d6f39afaf50f884f62a6f6c04d5057884a098a4f] + ARM 64bit ABI support (aarch64) * Set urgency to high by request of Jonathan Austin (ARM), to start the GNU config bootstrap of the new arch in Debian and Ubuntu ASAP * Update README.Debian: + Rework time-stamp skew build problems section. Note that dpkg enforces limited sanity on package unpack, but that does not cover all possibilities of inducing time-stamp skew breakage (closes: #589083) + Some minor rewording and fixes. This document really could use a rewrite... + Mention to dh-autoreconf and the autotools-dev dh helpers in the main text. Mention that CDBS takes care of certain details automatically, and to not use dh-autoreconf and dh-autotools-dev* at the same time. Mention the brilliant dpkg-source "extend-diff-ignore" option to keep the diffs clean (closes: #615894) * Remove extremely outdated examples. Patches with new ones are welcome! * debian/rules: + remove ancient cruft and update copyright + add build-arch and build-indep targets * debian/control: bump standards-version to 3.9.2 (no changes) * debian/copyright: move from autotools-dev.copyright, and update for 2012 -- Henrique de Moraes Holschuh Mon, 13 Feb 2012 21:25:55 -0200 autotools-dev (20110511.1) unstable; urgency=low * Sync to upstream git 2011-05-11 [commit 0783756885327f171aab844db8ad331b8586ed62] + Add support for armhf (closes: #626101) -- Henrique de Moraes Holschuh Wed, 11 May 2011 04:41:20 -0300 autotools-dev (20110508.1) unstable; urgency=low * Sync to upstreqam git 2011-05-08 [commit 626f5d2f5ee2e5effe8a4671cc9b223c2dc1148d] * Update examples for dh_autotools-dev_restoreconfig and dh_autotools-dev_updateconfig, to dh $@ --with foo (closes: #602773) * Bump standards-version to 3.9.1 (no changes) * Remove editor junk from the end of the Debian changelog * Update to debhelper mode v7 * Update example "ask upstream to update GNU config" mail template: + Wrap at 74 characters + Upstream GNU config now uses git... -- Henrique de Moraes Holschuh Sun, 08 May 2011 19:44:58 -0300 autotools-dev (20100122.1) unstable; urgency=low [ Fabian Greffrath ] * Update reference URL in upstream.mail.template (closes: #559424) * control: add misc:Depends dependency to the binary package (lintian) * Add debhelper helpers, and update CDBS information: + Add new dh_autotools-dev_updateconfig and dh_autotools-dev_restoreconfig commands to be used within debhelper. Also add a debhelper addon so that the dh command can update and restore config.{guess,sub} files with a simple "dh --with autotools_dev $@" in the tiny rules file provided by debhelper 7 (closes: #527581) + Add Build-Depends-Indep on perl for pod2man and man page generation of new dh_autotools-dev_* commands + Document in README.Debian that CDBS updates config.{guess,sub} automatically (closes: #544893) + Add "Enhances: cdbs, debhelper" in debian/control [ Henrique de Moraes Holschuh ] * Sync to upstream git 2010-01-22 [e69eddec0ed7f65cdc4318bdc9eb149200b7c0c3] -- Henrique de Moraes Holschuh Sat, 06 Mar 2010 10:02:41 -0300 autotools-dev (20090611.1) unstable; urgency=low * Sync to upstream git 2009-06-11 [8e40fa5a8487dff4] * debian/control: + Add Vcs-* fields -- Henrique de Moraes Holschuh Thu, 23 Jul 2009 17:31:03 -0300 autotools-dev (20090427.1) unstable; urgency=low * Sync to upstream git 2009-04-27 [93b5037172b15ad2] * debian/control: + Update the package description to not mention CVS + Add homepage field + Update to standards version 3.8.0 * debian/copyright: add upstream's copyright line, and update for the git repository location * README.Debian: switch to the current best practice, which is to rebuild the build system completely on every build. Also, make it clear that config.sub and config.guess are to be refreshed on the build target prerequisites, and not on the clean target. (Closes: #482716) * debian/*: move some files to match a newer style of debhelper file naming. -- Henrique de Moraes Holschuh Sun, 03 May 2009 20:23:53 -0300 autotools-dev (20080123.2) unstable; urgency=low * Fix bashism in examples/autogen.sh (closes: #489539) -- Henrique de Moraes Holschuh Mon, 07 Jul 2008 20:40:03 -0300 autotools-dev (20080123.1) unstable; urgency=low * Sync to CVS 20080123 (config.sub 20080116; config.guess 20080123) + config.guess (arm*:Linux:*:*): Determine ABI in use. + config.sub (blackfin, blackfin-*, m68knommu, m68knommu-*, parisc, parisc-*): New Linux-specific aliases for conformity with Linux architecture names * Last upstream CVS release, next releases will be done through git (insert here a happy happy dance!) -- Henrique de Moraes Holschuh Sun, 17 Feb 2008 17:07:52 -0300 autotools-dev (20070725.1) unstable; urgency=low * Sync to CVS 20070725 (config.sub 20070628; config.guess 20070722) -- Henrique de Moraes Holschuh Fri, 17 Aug 2007 00:12:16 -0300 autotools-dev (20070306.1) unstable; urgency=low * Sync to CVS 20070306 (config.sub 20070118; config.guess 20070306) -- Henrique de Moraes Holschuh Thu, 19 Apr 2007 23:06:42 -0300 autotools-dev (20060920.1) unstable; urgency=high * Sync to CVS 20060920 (config.sub 20060920; config.guess 20060702) * README.Debian: add idea from Bill Allombert to exec the up-to-date config.sub/config.guess instead of replacing the old ones * Move debhelper to Build-Depends from Build-Depends-Indep. Thanks, lintian -- Henrique de Moraes Holschuh Thu, 12 Oct 2006 09:51:21 -0300 autotools-dev (20060702.1) unstable; urgency=low * Sync to CVS 20060702 (config.sub 20060702; config.guess 20060702) (closes: #380479) + Important changes for SPARC4V + Support for avr32 * Switch to debhelper compatibility level V5 * Bump standards-version to 3.7.2 (no changes required) * Add .gz to README.Debian in description (closes: #357333) -- Henrique de Moraes Holschuh Thu, 10 Aug 2006 12:13:13 -0300 autotools-dev (20060223.1) unstable; urgency=low * Sync to CVS 20060223 (config.sub 20060223; config.guess 20060223) * Update from new upstream repository * Switch to debhelper compatibility level V4 * Revamp README.Debian a little: mention that --host and --build support is not optional, ever. Reword some paragraphs, etc. * Support get-orig-source target. Rename cvsfetch target to get-debian-source, and use get-orig-source -- Henrique de Moraes Holschuh Sat, 25 Feb 2006 12:24:25 -0300 autotools-dev (20051223.1) unstable; urgency=low * Sync to CVS 20051223 (config.sub 20051223; config.guess 20051223) -- Henrique de Moraes Holschuh Wed, 28 Dec 2005 12:21:59 -0200 autotools-dev (20051213.1) unstable; urgency=low * Sync to CVS 20051213 (config.sub 20051211; config.guess 20051213) * debian/rules: Update cvsfetch target to new savanna cvs -- Henrique de Moraes Holschuh Wed, 21 Dec 2005 21:20:03 -0200 autotools-dev (20051113.1) unstable; urgency=low * Sync to CVS 20051113 (config.sub 20051113; config.guess 20051111) -- Henrique de Moraes Holschuh Wed, 16 Nov 2005 19:04:36 -0200 autotools-dev (20050803.1) unstable; urgency=low * Sync to CVS 20050803 (config.sub 20050708; config.guess 20050803) * New standards version (3.6.2, no changes) -- Henrique de Moraes Holschuh Sun, 14 Aug 2005 00:51:00 -0300 autotools-dev (20050422.1) unstable; urgency=high * Sync to CVS 20050422 (config.sub 20050422; config.guess 20050422) + Adds support for linux-sparc64b, which might be important * Ship new upstream README file -- Henrique de Moraes Holschuh Sun, 24 Apr 2005 17:00:06 -0300 autotools-dev (20050324.2) unstable; urgency=low * Remove useless leftover dir /usr/bin (closes: #304486) -- Henrique de Moraes Holschuh Wed, 13 Apr 2005 12:20:39 -0300 autotools-dev (20050324.1) unstable; urgency=high * The "last upload before the great freeze (I hope)" release * Sync to CVS 20050324 (config.sub 20050210; config.guess 20050324) * Remove configurewrapper, we are not going to use it anytime soon anyway... (closes: #281906) * README: Mention libtool and prefix overriding problem (see #302195) * README: Include \$${prefix} trick in automake2.13 hints (closes: #193873) * README: Add executive summary of packaging-with-automake/conf strategies (closes: #290607) * Update example autogen.sh and rules file to those in the HPLIP package, which are far more up-to-date and advanced -- Henrique de Moraes Holschuh Sat, 2 Apr 2005 08:14:20 -0300 autotools-dev (20041130.2) unstable; urgency=high * Add missing testsuite/ files (doh!) -- Henrique de Moraes Holschuh Fri, 24 Dec 2004 00:40:07 -0200 autotools-dev (20041130.1) unstable; urgency=low * Sync to CVS 20041130 (config.sub 20041130; config.guess 20041112) -- Henrique de Moraes Holschuh Tue, 30 Nov 2004 12:49:35 -0200 autotools-dev (20041112.1) unstable; urgency=low * Sync to CVS 20041112 (config.sub 20041112; config.guess 20041112) -- Henrique de Moraes Holschuh Mon, 15 Nov 2004 11:38:55 -0200 autotools-dev (20041025.1) unstable; urgency=low * Sync to CVS 20041025 (config.sub 20040829; config.guess 20041025) -- Henrique de Moraes Holschuh Mon, 25 Oct 2004 12:40:06 -0300 autotools-dev (20040907.1) unstable; urgency=low * Sync to CVS 20040907 (config.sub 20040829; config.guess 20040907) -- Henrique de Moraes Holschuh Tue, 28 Sep 2004 21:13:24 -0300 autotools-dev (20040822.1) unstable; urgency=high * Sync to CVS 20040822 (config.sub 20040624; config.guess 20040813) + No Linux or GNU/BSD changes * Explain how the automake and autoconf packages work, and how to get a sane build environment out of them * Mention the autotools best-practice documentation in the control file * Urgency high to get the updated docs into sarge. -- Henrique de Moraes Holschuh Wed, 25 Aug 2004 11:16:13 -0300 autotools-dev (20040719.1) unstable; urgency=high * Sync to CVS 20040719 (config.sub 20040624; config.guess 20040719) + config.guess (*:FreeBSD:*:*): Remove check for glibc (unneeded since GNU/kFreeBSD systems match *:GNU/*:*:* instead) * Update README.Debian with proper cross-compiling info for autoconf2.13 (closes: #262090). The short version of it is: "don't". See #262090 for a lot of data about the issue. * Update examples to hint that autoconf2.13 might screw the autogen.sh scripts, and one might want to build-conflict with it in a proper autotool build environment (i.e. one that uses automake 1.7+/autoconf 2.58+/libtool 1.5.6+) packages, instead of the highly buggy earlier versions of those. * Update README according to Scott James Remnant's talk on new libtool and autotools: + Remove the code snipped that added notices to changelog that we updated config.sub/.guess. + Mention libtool. * Update GNU Savannah CVS access instructions in upstream mail template, since Savannah now uses "anonymous CVS over ssh access". -- Henrique de Moraes Holschuh Sun, 8 Aug 2004 16:35:37 -0300 autotools-dev (20040312.1) unstable; urgency=low * Sync to CVS 20040312 (config.sub 20040312; config.guess 20040312) * Bump standards-version to 3.6.1 (no changes) -- Henrique de Moraes Holschuh Sat, 15 May 2004 10:26:34 -0300 autotools-dev (20040211.1) unstable; urgency=low * Sync to CVS 20040211 (config.sub 20040211; config.guess 20040202) -- Henrique de Moraes Holschuh Fri, 13 Feb 2004 08:23:41 -0200 autotools-dev (20040105.1) unstable; urgency=low * Sync to CVS 20040105 (config.sub 20040105; config.guess 20040105) + Handle amd64-* * Change debian/rules cvsfetch target to work with new sshv2-based anonymous checkout. -- Henrique de Moraes Holschuh Fri, 9 Jan 2004 01:09:38 -0200 autotools-dev (20031007.1) unstable; urgency=high * Sync to CVS 20031007 (config.sub 20031007; config.guess 20031007) * Changes needed by the *BSD group -- Henrique de Moraes Holschuh Tue, 7 Oct 2003 10:08:04 -0300 autotools-dev (20030818.1) unstable; urgency=low * Sync to CVS 20030818 (config.sub 20030818; config.guess 20030818) -- Henrique de Moraes Holschuh Thu, 4 Sep 2003 16:31:21 -0300 autotools-dev (20030717.1) unstable; urgency=low * Sync to CVS 20030717 (config.sub 20030717; config.guess 20030702) + New cris arch for Linux (welcome to the club, whatever it is) + Some fixes required/useful to Debian BSD (closes: #201329) * Change README.Debian for policy v3.6 (closes: #201874) * Bump standard version to 3.6.0 -- Henrique de Moraes Holschuh Sun, 20 Jul 2003 12:54:21 -0300 autotools-dev (20030519.1) unstable; urgency=low * Sync to CVS 20030519 (config.sub 20030509; config.guess 20030519) -- Henrique de Moraes Holschuh Wed, 21 May 2003 14:04:10 -0300 autotools-dev (20030509.1) unstable; urgency=low * Sync to CVS 20030509 (config.sub 20030509; config.guess 20030509) * GNU/FreeBSD changes -- Henrique de Moraes Holschuh Sat, 10 May 2003 10:45:00 -0300 autotools-dev (20030222.1) unstable; urgency=low * Sync to CVS 20030222 (config.sub 20030222; config.guess 20030222) -- Henrique de Moraes Holschuh Mon, 24 Feb 2003 12:24:00 -0300 autotools-dev (20030203.1) unstable; urgency=low * Sync to CVS 20030203 (config.sub 20030203; config.guess 20030130) -- Henrique de Moraes Holschuh Fri, 7 Feb 2003 17:37:32 -0200 autotools-dev (20030110.1) unstable; urgency=low * Sync to CVS 20030110 (config.sub 20030103; config.guess 20030110) -- Henrique de Moraes Holschuh Sat, 11 Jan 2003 18:47:49 -0200 autotools-dev (20021223.1) unstable; urgency=low * Sync to CVS 20021223 (config.sub 20021130; config.guess 20021223) -- Henrique de Moraes Holschuh Mon, 30 Dec 2002 17:36:34 -0200 autotools-dev (20021211.1) unstable; urgency=low * Sync to CVS 20021211 (config.sub 20021130; config.guess 20021211) -- Henrique de Moraes Holschuh Wed, 11 Dec 2002 16:32:51 -0200 autotools-dev (20021130.1) unstable; urgency=low * Sync to CVS 20021130 (config.sub 20021130; config.guess 20021130) + config.guess: Append "-gnu" to triplet on Debian/NetBSD systems. + config.sub: Recognise netbsd*-gnu* (closes: #161693) -- Henrique de Moraes Holschuh Mon, 2 Dec 2002 00:48:50 -0200 autotools-dev (20021113.1) unstable; urgency=low * Sync to CVS 20021113 (config.sub 20021113; config.guess 20021113) -- Henrique de Moraes Holschuh Thu, 14 Nov 2002 21:58:19 -0200 autotools-dev (20021021.1) unstable; urgency=low * Sync to CVS 20021021 (config.sub 20020905; config.guess 20021021) -- Henrique de Moraes Holschuh Wed, 30 Oct 2002 10:06:34 -0300 autotools-dev (20020905.1) unstable; urgency=low * Sync to CVS 20020905 (config.sub 20020905; config.guess 20020903) + nothing really useful * Add GNU config upstream email address to copyright file -- Henrique de Moraes Holschuh Sat, 12 Oct 2002 17:22:06 -0300 autotools-dev (20020703.1) unstable; urgency=low * Sync to CVS 20020703 (config.sub 20020703; config.guess 20020709) + config.guess (set_cc_for_build): Create a chmod 700 directory in /tmp (or $TMPDIR, if set) to store temporary files generated for use by the C compiler (closes: #102154) + config.guess: For FreeBSD systems using glibc, add suffix "-gnu" + config.sub: Accept freebsd-gnu system name, handle freebsd* * DEBIAN *BSD GUYS: CONTACT GNU CONFIG UPSTREAM ABOUT THE DEBIAN *BSD REQUIREMENTS FOR GNU CONFIG ASAP! DON'T COMPLAIN LATER, YOU HAVE BEEN WARNED, BOTH BY THIS LOG EMAILED TO YOU, AND DIRECTLY AT DEBCONF2! * Updated examples to use the symlink method, which works just as well as far as Debian is concerned, and reduces diff size a lot (and it is actually far better for maintenance) * Updated README to emphasize the symlink method, and also added warning about dch and fakeroot (closes: #151861) -- Henrique de Moraes Holschuh Mon, 15 Jul 2002 13:40:45 -0300 autotools-dev (20020621.1) unstable; urgency=low * Sync to CVS 20020621 (config.sub 20020621; config.guess 20020529) + config.sub: Add support for sh[12], sh3e, sh[1234]le, sh3ele, shle, sh[1234]le, sh3ele. + config.sub: Accept sh64le and sh64le-*. + config.sub: Add Broadcom SiByte SB-1 processor support (mipsisa64sb1, mipsisa64sb1el). Add little-endian variants of mipsisa32 and mipsisa64 (mipsisa32el and mipsisa64el, respectively). Sort MIPS entries and split their lines a bit more logically. Make sure that all of the MIPS entries in the "without company name" target list are echoed in the "with company name" list. + config.guess: Don't use egrep, as POSIX 1003.1-2001 no longer requires egrep. Use grep instead. * Expand the bit about using links for config.sub and config.guess in README.Debian -- Henrique de Moraes Holschuh Mon, 1 Jul 2002 09:12:25 -0300 autotools-dev (20020320.1) unstable; urgency=medium * Sync to CVS 20020320 (config.sub 20020307; config.guess 20020320) + config.guess (ia64:Linux:*:*): Output "ia64-unknown-linux-gnu" + config.guess (set_cc_for_build): Add c99 to list of candidates -- Henrique de Moraes Holschuh Mon, 1 Apr 2002 09:12:05 -0300 autotools-dev (20020306.1) unstable; urgency=low * Sync to CVS 20020306 (config.sub 20020307; config.guess 20020304) + config.sub: Add support for mipsisa64 -- Henrique de Moraes Holschuh Sun, 10 Mar 2002 23:20:21 -0300 autotools-dev (20020222.2) unstable; urgency=critical * Fix extreme bogosity in README.Debian, on advice by autoconf upstream. It appears the autoconf 2.52 docs are very bogus indeed... It would also break in autoconf 2.13-generated scripts, and cause 2.52 to half-enter crosscompiling mode (don't ask, it is too ugly a tale, dwelling on half-done compatibility code left in 2.52, bad docs, and sour wine). I just hope the bad stuff didn't make it to other packages... * Urgency critical because I only changed text files, and I want the correct docs in place ASAP to avoid snowball effects. -- Henrique de Moraes Holschuh Mon, 4 Mar 2002 21:02:42 -0300 autotools-dev (20020222.1) unstable; urgency=high * Sync to CVS 20020222 (config.sub 20020222; config.guess 20020219) + config.sub (case $basic_machine): Add mips and clean up other Linux specific cases. Now `config.sub mips` yields mips-unknown-elf + config.guess: Set LC_ALL, not LANG, when running ld --help. * Add configurewrapper wrapper (_that does nothing_) to make sure woody has one, just in case we need it later (and there is a very high chance that we will) * Add pointer to GNU config CVS to upstream.mail.template -- Henrique de Moraes Holschuh Sun, 24 Feb 2002 08:54:04 -0300 autotools-dev (20020201.1) unstable; urgency=low * Sync to CVS 20020201 (config.sub 20020201; config.guess 20020130) + config.sub (sh64, sh64-*): Add new machine. * Updates to README.Debian, dealing with the invocation of configure scripts, and the symlink to /usr/share/misc/config.{sub,guess} method -- Henrique de Moraes Holschuh Fri, 8 Feb 2002 14:51:51 -0200 autotools-dev (20020131.1) unstable; urgency=medium * Sync to CVS 20020131 (config.sub 20020201; config.guess 20020130) + config.guess (i*86:Linux:*:*): Fixed: export LANG=C before running ld so that linker output can be assumed to be in English, and it works with non-default locales. * Rework README.Debian a bit, to increase changes of people reading what really needs to be read. -- Henrique de Moraes Holschuh Fri, 1 Feb 2002 09:14:34 -0200 autotools-dev (20020102.1) unstable; urgency=high * Sync to CVS 20020102 (config.sub 20020102; config.guess 20020102) + config.sub (alpha64*): New basic_machine * debian/rules(cvsfetch) New upstream CVS location * Proper config.guess support for new 2.4.x procinfo for mips, mipsel, however if you need this it means you are doing it wrong. You should use dpkg-architecture, please refer to README.Debian -- which will skip the config.guess call. This fix must make it to testing ASAP (closes: #127538) -- Henrique de Moraes Holschuh Thu, 3 Jan 2002 08:23:16 -0200 autotools-dev (20011130.1) unstable; urgency=low * Sync to CVS 20011130 (config.sub 20011130; config.guess 20011126) -- Henrique de Moraes Holschuh Sun, 2 Dec 2001 10:44:22 -0200 autotools-dev (20011116.1) unstable; urgency=low * Sync to CVS 20011116 (config.sub 20011121; config.guess 20011108) -- Henrique de Moraes Holschuh Sat, 24 Nov 2001 14:56:38 -0200 autotools-dev (20011108.1) unstable; urgency=low * Sync to CVS 20011108 (config.sub 20011108; config.guess 20011108) -- Henrique de Moraes Holschuh Sun, 11 Nov 2001 00:37:45 -0200 autotools-dev (20011005.2) unstable; urgency=low * Fix typos in README.Debian; Thanks to Florian Hinzmann . * Mention AM_MAINTAINER_MODE in README.Debian (closes: #117841) -- Henrique de Moraes Holschuh Thu, 1 Nov 2001 16:37:48 -0200 autotools-dev (20011005.1) unstable; urgency=low * Sync to CVS 20011005 (config.sub 20011005; config.guess 20011005) * Seriously revamped README.Debian. It is now a general guide to properly using GNU autoconf/automake and GNU config in Debian packages. *****READ IT***** * debian/crontrol: s/Build-Depends:/Build-Depends-Indep:/ -- Henrique de Moraes Holschuh Fri, 12 Oct 2001 10:08:02 -0300 autotools-dev (20010914.1) unstable; urgency=low * Sync to CVS 20010914 (config.sub 20010914; config.guess 20010913) -- Henrique de Moraes Holschuh Sat, 15 Sep 2001 20:08:09 -0300 autotools-dev (20010907.1) unstable; urgency=low * Sync to CVS 20010907 (config.sub 20010907; config.guess 20010904) -- Henrique de Moraes Holschuh Sat, 8 Sep 2001 09:51:15 -0300 autotools-dev (20010809.1) unstable; urgency=low * Sync to CVS 20010809 (config.sub 20010802; config.guess 20010809) + config.guess: Detect Alpha ev68 on OSF/1 and Linux. -- Henrique de Moraes Holschuh Sat, 11 Aug 2001 12:04:12 -0300 autotools-dev (20010804.1) unstable; urgency=low * Sync to CVS 20010804 (config.sub 20010802; config.guess 20010804) -- Henrique de Moraes Holschuh Sat, 4 Aug 2001 13:42:05 -0300 autotools-dev (20010801.1) unstable; urgency=low * Sync to CVS 20010801 (config.sub 20010801; config.guess 20010731) -- Henrique de Moraes Holschuh Wed, 1 Aug 2001 21:44:35 -0300 autotools-dev (20010719.1) unstable; urgency=low * Sync to CVS 20010719 (config.sub 20010608; config.guess 20010719) * config.guess - add suport for Linux in ppc64 * Provide sample template for contacting upstream about config.sub/guess issues. Educate your upstream today! (closes: #105626) -- Henrique de Moraes Holschuh Fri, 20 Jul 2001 15:51:09 -0300 autotools-dev (20010712.1) unstable; urgency=low * Sync to CVS 20010712 (config.sub 20010608; config.guess 20010712) -- Henrique de Moraes Holschuh Sat, 14 Jul 2001 15:12:34 -0300 autotools-dev (20010702.1) unstable; urgency=low * Sync to CVS 20010702 (config.sub 20010608; config.guess 20010629) * Better README.Debian with new sample code for debian/rules. Also closes: #103842, as one is now less likely to miss the fact that debhelped did not add dh_autotools yet. -- Henrique de Moraes Holschuh Sat, 7 Jul 2001 23:19:48 -0300 autotools-dev (20010629.1) unstable; urgency=low * Sync to CVS 20010629 (config.sub 20010608; config.guess 20010629) + config.guess: On Alpha Linux, use /proc/cpuinfo to determine the CPU model, rather than assembling a small test program. + config.guess: Do not unconditionally run the script fragment to set $CC_FOR_BUILD. Put the script in the shell variable $set_cc_for_build and only evaluate it before $CC_FOR_BUILD is referenced. (Poor man's function inlining!) * More upstream changes that help with #102154 -- Henrique de Moraes Holschuh Fri, 29 Jun 2001 22:10:59 -0300 autotools-dev (20010626.2) unstable; urgency=low * Rebuild with dpkg 1.9.10 (closes: #102520) -- Henrique de Moraes Holschuh Wed, 27 Jun 2001 13:58:34 -0300 autotools-dev (20010626.1) unstable; urgency=low * Sync to CVS 20010626 (config.sub 20010608; config.guess 20010626) + config.guess: Do not use C compiler to detect endianness of MIPS Linux (helps with #102154) -- Henrique de Moraes Holschuh Tue, 26 Jun 2001 10:18:52 -0300 autotools-dev (20010612.2) unstable; urgency=low * Fix package description (closes: #101975) * Also fix missing quoting in config.guess (not noted in CVS changelog, apparently) -- Henrique de Moraes Holschuh Sat, 23 Jun 2001 08:32:28 -0300 autotools-dev (20010612.1) unstable; urgency=low * Sync to CVS 20010612 (config.sub 20010608; config.guess 20010612) + config.sub: Add support for Sun Chorus * Update README.Debian, as dh_autotools isn't available yet -- Henrique de Moraes Holschuh Tue, 12 Jun 2001 14:03:27 -0300 autotools-dev (20010601.1) unstable; urgency=low * Sync to CVS 20010601 (config.sub 20010530; config.guess 20010601) + config.guess switched to parsing targets instead of emulations in ld's output. -- Henrique de Moraes Holschuh Fri, 1 Jun 2001 21:16:38 -0300 autotools-dev (20010511.3) unstable; urgency=low * Fix glaring stupid mistake, this package does not Depend: on debhelper (it used to, in a pre-20010511.1 version) * Clean up other useless cruft, such as an empty /usr/bin dir -- Henrique de Moraes Holschuh Tue, 22 May 2001 20:31:56 -0300 autotools-dev (20010511.2) unstable; urgency=low * Remove the versioned conflicts to old automake and libtool for now, on request by the automake maintainer -- Henrique de Moraes Holschuh Mon, 21 May 2001 11:22:19 -0300 autotools-dev (20010511.1) unstable; urgency=low * Sync to CVS 20010511 * Initial Release. Version numbering is: CVS ChangeLog date (YYYYMMDD) as the major release number, debian-revision as the minor release number. * We conflict with the current libtool and automake. The libtool maintainer will upload a new version that uses this package, and an NMU will take care of automake. -- Henrique de Moraes Holschuh Mon, 23 Apr 2001 16:35:06 -0300 autotools-dev-20130810.1/debian/autotools_dev.pm0000644000000000000000000000032012201430542016237 0ustar #!/usr/bin/perl use warnings; use strict; use Debian::Debhelper::Dh_Lib; insert_before("dh_auto_configure", "dh_autotools-dev_updateconfig"); insert_before("dh_clean", "dh_autotools-dev_restoreconfig"); 1; autotools-dev-20130810.1/debian/autotools-dev.manpages0000644000000000000000000000011712201430542017340 0ustar debian/dh_autotools-dev_updateconfig.1 debian/dh_autotools-dev_restoreconfig.1 autotools-dev-20130810.1/debian/autotools-dev.docs0000644000000000000000000000003612201430542016475 0ustar debian/upstream.mail.template autotools-dev-20130810.1/debian/autotools-dev.dirs0000644000000000000000000000010112201430542016477 0ustar usr/bin usr/share/misc usr/share/perl5/Debian/Debhelper/Sequence autotools-dev-20130810.1/debian/autotools-dev.TODO0000644000000000000000000000072112201430542016313 0ustar * Debian policy 3.9.2, MULTIARCH - update docs, it probably requires special flags for configure if one does not want to do all the multiarchifying of paths manually Old stuff, might not apply anymore: o Verify if policy 3.6, section 7.6 is not broken for arch all re. clean target o Implement transition plan for DEB_*_GNU_TYPE written with Marcus Brinkmann . Check ML archives for thread. This is post-woody. autotools-dev-20130810.1/debian/autotools-dev.README.Debian0000644000000000000000000005202512201430542017670 0ustar autotools-dev for Debian ======================== (Before packaging something in Debian that uses GNU autoconf, you must read the "Introduction" and the "Calling GNU configure properly" sections) Note: libtool is part of the autotools toolchain, but we don't cover libtool well in this document. However, there are a few big fat warnings that I will repeat here: Your package must use an up-to-date libtool. See the libtool package for more information. Always retool (rebuild all autotools-generated files) on package build time when using libtool. Introduction: ------------- The autotools are a set of tools that help one (most of the time, anyway) write architecture-independent code, and write a build system capable of supporting a large number of architectures (plus cross-compiling and a few extras). The main components are autoconf (processes .in and .ac files), and automake (processes Makefile.am into Makefile.in). Other common components are aclocal (helper for autoconf), libtool (complex tool for library linking support), gettext/autopoint (i18n support). Autoconf is architecture-aware, as this is required for cross-compiling. This means it should always be called in a certain way (in Debian package builds) so that it picks up the proper architectures from dpkg-architecture. Autoconf's more advanced architecture-aware code (invoked when the AC_CANONICAL family of macros are used, which is always the case if libtool is being used, for example) also needs two extra helper scripts: config.sub and config.guess. These two helpers, config.guess and config.sub, need to be constantly updated to address new architectures. Unfortunately, Debian's automake package has failed to provide such timely updates regularly, and even if it did, most developers are not even aware of the need for such updates. Their upstream often isn't, either. The result ends up as serious bugs filled in the BTS by porters. Given the amount of packages using autoconf and automake in Debian, we are talking about a rather large number of bugs every time we start supporting a new architecture. There is currently no way around an updated config.sub file. Even if one supplies to a GNU autoconf (configure) script the build and target host system name, config.sub is needed to get the canonical GNU host system name for the build. In fact, an outdated config.sub script in that case might break any new architecture in Debian just the same. This package gives you tools to fix this problem, as well as some of the accumulated knowledge from dealing with the GNU autotools and their effect on upstream, on Debian auto-builders, and on version-controlled source trees. Please read this file entirely before you package something that uses GNU config, autoconf and automake. If your package uses libtool at all, you must also read the documentation that comes with the Debian libtool package. Basic summary of packaging source that uses autotools: ------------------------------------------------------ You have three choices for packaging upstream source which uses automake and autoconf and contains generated files. 1. Patch the autotools files (*.in, *.am) using the method of your choice when needed. Remove (or move away) all auto-generated files in the clean (and possibly in other targets), and have the autotools suite rebuild the build system (e.g. using autoreconf). This is called "retooling". dh_autoreconf can help automate retooling at package build time. Please refer to its manpage for details. You should consider using the extend-diff-ignore option in debian/source/options to get dpkg-source to ignore changes to the autogenerated files, see dpkg-source(1) for details. Don't forget to make sure all the build dependencies are correct for a full re-autotoolization (hint: conflicting with autoconf2.13 is always a good idea if you're not using autoconf 2.13 and automake 1.4). This means that the auto-builders will have to rerun the entire thing, and so will anyone else building the package. But it also means there will be no surprise breakages at bad times (e.g. during a security update) as the build system will be always fresh and throughout tested by all build daemons on all supported arches. This method is the current best practice, and you're well advised to use it on your packages. 2. Tolerate the big diff size, and retool the autotools stuff before you create the Debian source package. Modern dpkg will take care of avoiding the time-stamp skew issues this method sometimes caused. Nowadays, there is no reason to do this. You are strongly advised to use method 1 above, instead. This method is extremely prone to cause time-stamp skew issues, and it is a continuous source of build breakage. 3. Live with whatever crap upstream used, but update config.sub and config.guess to (hopefully) not break new arches. This is always a very bad choice. It can easily break anyway, and cause very annoying issues if anyone ever needs to update the autotools-generated files only to find out upstream did something funny. You do *not* have the choice of using this method when libtool is being used in the build. Use the method 1 above, instead. You can use dh_autotools* to help automate the config.sub and config.guess update at package build time. This document contains enough information to properly implement any of the three choices. But make no mistake, method 1 is the best practice, and it is the one you should use in your packages. Running and build-depending on autoconf and automake: ----------------------------------------------------- The autoconf2.13 package diverts autoconf, autoheader and autoreconf from the autoconf package to autoconf2.50, autoheader2.50 and autoreconf2.50. You must make sure you are not depending on the existence of the diverted scripts. The automake packages provide alternatives for the automake command, with increased priority for newer versions. There is one exception: the automake1.4 package provides a higher priority alternative for the automake command than the newer automake packages. These are only issues if you need to run autoconf or automake during build. To make sure you do not get build failures, or difficult-to-track problems, please follow these guidelines: For automake 1.4 and autoconf 2.13: - Build-Depends: autoconf2.13, automake1.4 - Call the autoconf suite using simple names ("autoconf", "autoheader", etc.) - Call the automake suite using simple names ("automake", "aclocal", etc) - autoreconf is probably buggy as all hell, don't use it - PLEASE upgrade your package to use the newest autoconf/automake, and send the fixes upstream - If you need to override prefix during make install, you should set the other directories relative to it, as in: ./configure --prefix=/usr --mandir=\$${prefix}/share/man [...] $(MAKE) prefix=$(CURDIR)/debian/pkg/usr install For automake 1.6 and above, and newest autoconf: - Build-Depends: autoconf, automake - Build-Conflicts: autoconf2.13, automake1.4 - Call the autoconf suite using simple names ("autoconf", "autoheader", etc.) - Call the automake suite using *versioned* names ("automake-1.9", etc), OR use autoreconf, but set the environment variables accordingly to the versioned names. Otherwise, you may get a higher version than what you expected. If you know your Makefile.am files are very well behaved, and will not break with a newer automake, versioned names are optional. - Use DESTDIR on the make install line to get the files installed elsewhere Libtool warning: *never* override prefix during make install when using libtool, as the .la files will hardcode the wrong path information. If you absolutely have to do so, fix the .la files after the make install file. Overriding DESTDIR is fine, it does not break libtool. Why should I help upstream upgrade their autotools scripts: ----------------------------------------------------------- Because after they are sanitized well enough, you probably can get away with always using the latest automake, autoconf, libtool and gettext, without errors. Using these tools as packaged by Debian gives us real benefits, such as a sane building environment with bug fixes that are often quite important. Using the latest libtool and gettext *do* *make* *a* *difference*, as in critical functionality fixes. This is especially true for libtool. Libtool and gettext have minimum autoconf version requirements, so you will have to switch to new autoconf sooner or later anyway, if you are using gettext or libtool. The sooner, the better for everyone. That means it is actually better to refresh the autotools, libtool and gettext build environment with whatever is packaged in Debian over whatever upstream is using. Calling GNU configure properly: ------------------------------- Autoconf always use the host/build architecture information, even if the AC_CANONICAL macros are not being used, and config.sub and config.guess are not required. That means there are no exceptions to the rules in this section: you must always tell configure the architectures to use. You should not[1] simply call ./configure with the proper prefix and package-dependent options and be done with it (regardless of the fact that many Debian packages do so). [1] As in: it is a bug if you do so, see Debian policy 3.6, section 4.3. CDBS automates the configure invocation with the proper parameters. debhelper offers dh_auto_configure (which is used automatically by the dh wrapper) to do the same. Please refer to their documentation for details. Calling GNU configure manually: Unless you know better, and your package has very specific needs (hint: you build several sub-arch variants, such as with MMX, i586-optimized, i686-optimized... binary packages AND you use the config.guess output to detect your build target), you should call configure this way (for autoconf 2.52): export DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) export DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) # FOR AUTOCONF 2.52 AND NEWER ONLY ifeq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE)) confflags += --build $(DEB_HOST_GNU_TYPE) else confflags += --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE) endif ./configure $(confflags) \ ....... (other configure options) ...... This will tell configure to build for the proper architecture, even if you do not use dpkg-buildpackage, or manually override DEB_HOST_GNU_TYPE and DEB_BUILD_GNU_TYPE for cross-compiling. It requires GNU make and dpkg-dev, but those packages are build-essential in Debian, so that should not be a problem. YOU STILL NEED AN UP-TO-DATE config.sub FILE TO AVOID BREAKAGE IN NEW ARCHITECTURES, EVEN WITH THIS SETUP, IF YOUR BUILD USES AC_CANONICAL MACROS OR LIBTOOL. BTW, autoconf 2.52+ should enter cross-compiling mode if --host is specified. It will build in cross-compiling mode even if build and host type are the same (this information comes directly from autoconf upstream). This goes against what is in the docs of autoconf 2.59, and it may be a bug somewhere. One could remove (or fail to update) config.guess when using the above setup, since it is usually not called by configure anymore. I prefer to keep both files updated and in place just in case, and for completeness. When building cross-compilers, you may need to inform --target as well (if you are cross-compiling a cross-compiler(!)). For packages that use the outdated autoconf 2.13, one should use: # FOR AUTOCONF 2.13 ONLY ifeq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE)) confflags += $(DEB_HOST_GNU_TYPE) else $(error Cannot cross-compile this package out-of-the-box) endif cross-compiling with autoconf 2.13 is an Evil art, which shall turn sane and bright minds into quivering wrecks upon contact with the madness that lies in that path. It is very easy to know which version of autoconf was used to build a configure script. Just use "head configure" and read the comments. If your package is still using autoconf 2.13, please seriously consider upgrading it to autoconf 2.58 or newer, and sending the changes upstream. The outdated GNU config.{sub,guess} problem and solutions: ---------------------------------------------------------- GNU autotools need the config.sub (and sometimes config.guess) file when the AC_CANONICAL_HOST, AC_CANONICAL_SYSTEM macros are used, and also when libtool is in use. It might need them in other circumstances, so don't hold your breath. An out-of-date config.sub will break builds in any architecture it doesn't know about. The same goes for config.guess, if it is used (so, don't use it, read "Calling GNU configure properly" above and call configure properly). To fix this particular problem automatically, we need both a source of fresh copies for config.{sub,guess} in Debian, as well as a way to get them inside the packages during their build. autotools-dev provides the fresh copies of config.{sub,guess} for any programs that might need them (in /usr/share/misc), including automake and libtool. The best way to get the updated files into the package is to remove all auto-generated files in the clean target, and to use autoreconf and related commands to regenerate the build system at build time. The reasons for this being the preferred method to deal with this have already been explained in a previous section of this document. You could also use something like autoreconf --force, to update the build system (including config.sub and config.guess). If you are also upstream for a package, this is probably what you should be doing. Make sure you have set the proper environment variables and package build-dependencies so as to get an autotools environment that will work for the package after autoreconf is run. See the autoreconf man/info page for more details. Packages calling autoreconf, automake, autoconf, aclocal and their friends must do so in a sane environment. This is explained elsewhere in this document. When updating auto-generated files, always remove them all in the clean target, and recreate/update them in a prerequisite of the build targets. Trying to autoreconf or freshen config.sub and config.guess on the clean target would cause a lot of useless cruft to migrate to the Debian diff, and can interact badly with the new patch-aware dpkg source formats. This can often be avoided if special care is taken to inform dpkg-source of all files it should ignore (using debian/source/options and the extend-diff-ignore option). Should autoreconfing be impossible, at least config.sub and config.guess should always be updated at build time. To do that, the two files should be removed on the clean target. On a prerequisite target of the build target, before configure runs, they should be copied from (or symlinked to) the fresh copies provided by autotools-dev in /usr/share/misc. This requires a build-dependency on autotools-dev, of course. Using the debhelper helpers: If you use the "dh" command provided by debhelper mode v7 and newer, please check the dh_autotools-dev_updateconfig manpage on how to enable the "autotools_dev" dh module. It will update config.sub and config.guess for the build. You should also check the dh-autoreconf documentation to automate retooling on build time, which is preferred over just updating config.sub and config.guess. Do NOT use dh-autoreconf and dh_autotools-dev_* helpers at the same time, dh-autoreconf takes care of updating config.sub and config.guess by itself. dh_autotools-dev_updateconfig and dh_autotools-dev_restoreconfig can be used directly instead of the "dh" module. Refer to their respective manpages for examples. CDBS-based packages: For CDBS-using packages, if your package Build-Depends on autotools-dev, CDBS will automatically update config.guess and config.sub without needing to take further action. Reducing the annoyance factor with diffs: By adding a suitable extend-diff-ignore option to debian/source/options, one can instruct dpkg-source to ignore config.sub, config.guess, and any other autogenerated files (such as Makefile when autoconf is used, Makefile and Makefile.in when automake is used, etc). For example, you could use: extend-diff-ignore="(^|/)(config\.sub|config\.guess|Makefile)$" The problem with time-stamp skews and Debian source packages: ------------------------------------------------------------- File time-stamp skew can cause "make" and similar tools to decide that a file has to be regenerated when files are modified out of dependency order. This is a major problem when it happens in an unexpected build environment, and it does include the build system auto-generated files created by the autotools. Time-stamp skew is not a problem for the packages that employ the current best practice, which is to regenerate all auto-generated files on every build (this is not restricted to, but it does include most of the files generated by the autotools). You can use dh_autoreconf to retool an autotools-based build system at build time. File time-stamp skews are often caused by patching or modifying files at build time, unless special care is taken to ensure strict ordering. dpkg will set the time-stamps on all files it patches at source unpack time to the same value, but unless you patch all files in the tooling dependency graph, things will still break. For example, if you patch configure.in and configure, but not Makefile.in, Makefile.am and Makefile, only configure.in and configure will have their time-stamps updated by dpkg. This will cause Makefile to attempt to run configure for the initial "make clean". Should this happen before config.sub and config.guess are updated, the build will break. Depending on which files were patched, it is possible that autotools would try to rerun autoconf, automake, etc. When regenerating a specific auto-generated file is strongly undesirable, you must ensure that time stamp ordering is enforced by debian/rules where required (e.g. using "touch foo && touch bar && touch baz"). To remove time stamp skews in an entire file tree, use "touch -r" or "touch -d" to set the files to exactly the same time stamp. GNU config, autoconf/automake/autoheader, libtool, gettext and version control systems: -------------------------------------------------- This text applies to any machine-generated build-time files, such as those one gets when one runs gettextize (now called autopoint), libtoolize, autoconf, automake, autoheader, aclocal, bison... Experience shows that such files must NOT be kept under version control in the work tree. From a distro (not end-user!) point of view, such files are supposed to be regenerated at every build, from up-to-date, fresh copies of their master files. "But upstream keeps such stuff in his CVS/SVN/bzr/hg/git/whatever repository!" you could say. Well, your upstream probably doesn't know better. I know for a fact some of mine didn't, either. Nor did I at first, for that matter. By regenerating the files, you're making sure that the entire package can be fully built from the source files, and that the build is not going to break for untraceable reasons (such as changes done by hand by upstream to files that were supposed to be auto-generated). When such files are auto-generated properly at every build, outdated config.{sub,guess} (as well as the outdated gettext, outdated libtool, outdated automake...) are not an issue anymore. Also, the auto-builders will help you catch any problems early, before they creep in a stable release only to blow up on a security update. Build time will be a little longer, but that's an acceptable compromise. We do not want whatever possibly broken crap upstream has for gettext, autoconf and friends screwing up Debian builds, automated or otherwise. The gettext, libtool and autoconf Debian maintainers take great pain to make sure their packages are up-to-date, bug-free and work sanely on all Debian-supported architectures. All that work goes down the drain if you leave some old config.sub or libtool.sh from an unknown variant of some weird distribution of 3 years ago just because your upstream happens to like it. The usual way to automatically regenerate the build system is to create an autogen.sh script, that one runs from debian/rules as a pre-requisite to the build targets. This script should call aclocal, autoheader, autoconf, automake, libtoolize, gettextize in the proper order, and with the proper parameters (or better yet, call autoreconf with the proper environment variables). Just don't run it on the clean target, run it before the actual build. One can also have it all inside debian/rules, but that's a little less clear, and less useful if you are also the upstream maintainer. Also, here's a free hint: make sure your VCS ignores all the automatically generated files. That can make adding a new upstream release a lot easier. Use of dpkg-source's extend-diff-ignore option to ignore all auto-generated files will make sure any changes done at build time are not going to propagate to the source package. This can be permanently set on debian/source/options. -- Henrique de Moraes Holschuh Fabian Greffrath autotools-dev-20130810.1/debian/autotools-dev.NEWS0000644000000000000000000000203312201430542016320 0ustar autotools-dev (20130515.1) unstable; urgency=low GNU Config (config.sub and config.guess) has changed its license upstream to the GPLv3, with an added exception clause that allows the config.sub and config.guess files to be distributed under a different license in a specific condition: config.sub and config.guess can be included in programs that contain a configuration script generated by GNU autoconf under the license of the program itself. Please refer to the complete license which is included inside the config.sub and config.guess files themselves for details. This is not going to be a problem at all for any packages that use GNU autoconf/automake, nor it will be a problem for packages distributed under the GPLv3. Howerver, it may become a problem for the rare packages which do not use GNU autoconf, are distributed with licenses other than the GPLv3, and need config.sub or config.guess. -- Henrique de Moraes Holschuh Thu, 31 May 2013 17:55:03 -0300 autotools-dev-20130810.1/config.sub0000755000000000000000000010535412201430542013570 0ustar #! /bin/sh # Configuration validation subroutine script. # Copyright 1992-2013 Free Software Foundation, Inc. timestamp='2013-08-10' # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, see . # # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that # program. This Exception is an additional permission under section 7 # of the GNU General Public License, version 3 ("GPLv3"). # Please send patches with a ChangeLog entry to config-patches@gnu.org. # # Configuration subroutine to validate and canonicalize a configuration type. # Supply the specified configuration type as an argument. # If it is invalid, we print an error message on stderr and exit with code 1. # Otherwise, we print the canonical config type on stdout and succeed. # You can get the latest version of this script from: # http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD # This file is supposed to be the same for all GNU packages # and recognize all the CPU types, system types and aliases # that are meaningful with *any* GNU software. # Each package is responsible for reporting which valid configurations # it does not support. The user should be able to distinguish # a failure to support a valid configuration from a meaningless # configuration. # The goal of this file is to map all the various variations of a given # machine specification into a single specification in the form: # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM # or in some cases, the newer four-part form: # CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM # It is wrong to echo any other type of specification. me=`echo "$0" | sed -e 's,.*/,,'` usage="\ Usage: $0 [OPTION] CPU-MFR-OPSYS $0 [OPTION] ALIAS Canonicalize a configuration name. Operation modes: -h, --help print this help, then exit -t, --time-stamp print date of last modification, then exit -v, --version print version number, then exit Report bugs and patches to ." version="\ GNU config.sub ($timestamp) Copyright 1992-2013 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." help=" Try \`$me --help' for more information." # Parse command line while test $# -gt 0 ; do case $1 in --time-stamp | --time* | -t ) echo "$timestamp" ; exit ;; --version | -v ) echo "$version" ; exit ;; --help | --h* | -h ) echo "$usage"; exit ;; -- ) # Stop option processing shift; break ;; - ) # Use stdin as input. break ;; -* ) echo "$me: invalid option $1$help" exit 1 ;; *local*) # First pass through any local machine types. echo $1 exit ;; * ) break ;; esac done case $# in 0) echo "$me: missing argument$help" >&2 exit 1;; 1) ;; *) echo "$me: too many arguments$help" >&2 exit 1;; esac # Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any). # Here we must recognize all the valid KERNEL-OS combinations. maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` case $maybe_os in nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \ linux-musl* | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \ knetbsd*-gnu* | netbsd*-gnu* | \ kopensolaris*-gnu* | \ storm-chaos* | os2-emx* | rtmk-nova*) os=-$maybe_os basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` ;; android-linux) os=-linux-android basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`-unknown ;; *) basic_machine=`echo $1 | sed 's/-[^-]*$//'` if [ $basic_machine != $1 ] then os=`echo $1 | sed 's/.*-/-/'` else os=; fi ;; esac ### Let's recognize common machines as not being operating systems so ### that things like config.sub decstation-3100 work. We also ### recognize some manufacturers as not being operating systems, so we ### can provide default operating systems below. case $os in -sun*os*) # Prevent following clause from handling this invalid input. ;; -dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \ -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \ -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \ -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\ -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \ -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \ -apple | -axis | -knuth | -cray | -microblaze*) os= basic_machine=$1 ;; -bluegene*) os=-cnk ;; -sim | -cisco | -oki | -wec | -winbond) os= basic_machine=$1 ;; -scout) ;; -wrs) os=-vxworks basic_machine=$1 ;; -chorusos*) os=-chorusos basic_machine=$1 ;; -chorusrdb) os=-chorusrdb basic_machine=$1 ;; -hiux*) os=-hiuxwe2 ;; -sco6) os=-sco5v6 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -sco5) os=-sco3.2v5 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -sco4) os=-sco3.2v4 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -sco3.2.[4-9]*) os=`echo $os | sed -e 's/sco3.2./sco3.2v/'` basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -sco3.2v[4-9]*) # Don't forget version if it is 3.2v4 or newer. basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -sco5v6*) # Don't forget version if it is 3.2v4 or newer. basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -sco*) os=-sco3.2v2 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -udk*) basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -isc) os=-isc2.2 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -clix*) basic_machine=clipper-intergraph ;; -isc*) basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -lynx*178) os=-lynxos178 ;; -lynx*5) os=-lynxos5 ;; -lynx*) os=-lynxos ;; -ptx*) basic_machine=`echo $1 | sed -e 's/86-.*/86-sequent/'` ;; -windowsnt*) os=`echo $os | sed -e 's/windowsnt/winnt/'` ;; -psos*) os=-psos ;; -mint | -mint[0-9]*) basic_machine=m68k-atari os=-mint ;; esac # Decode aliases for certain CPU-COMPANY combinations. case $basic_machine in # Recognize the basic CPU types without company name. # Some are omitted here because they have special meanings below. 1750a | 580 \ | a29k \ | aarch64 | aarch64_be \ | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ | am33_2.0 \ | arc | arceb \ | arm | arm[bl]e | arme[lb] | armv[2-8] | armv[3-8][lb] | armv7[arm] \ | avr | avr32 \ | be32 | be64 \ | bfin \ | c4x | c8051 | clipper \ | d10v | d30v | dlx | dsp16xx \ | epiphany \ | fido | fr30 | frv \ | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ | hexagon \ | i370 | i860 | i960 | ia64 \ | ip2k | iq2000 \ | le32 | le64 \ | lm32 \ | m32c | m32r | m32rle | m68000 | m68k | m88k \ | maxq | mb | microblaze | microblazeel | mcore | mep | metag \ | mips | mipsbe | mipseb | mipsel | mipsle \ | mips16 \ | mips64 | mips64el \ | mips64octeon | mips64octeonel \ | mips64orion | mips64orionel \ | mips64r5900 | mips64r5900el \ | mips64vr | mips64vrel \ | mips64vr4100 | mips64vr4100el \ | mips64vr4300 | mips64vr4300el \ | mips64vr5000 | mips64vr5000el \ | mips64vr5900 | mips64vr5900el \ | mipsisa32 | mipsisa32el \ | mipsisa32r2 | mipsisa32r2el \ | mipsisa64 | mipsisa64el \ | mipsisa64r2 | mipsisa64r2el \ | mipsisa64sb1 | mipsisa64sb1el \ | mipsisa64sr71k | mipsisa64sr71kel \ | mipsr5900 | mipsr5900el \ | mipstx39 | mipstx39el \ | mn10200 | mn10300 \ | moxie \ | mt \ | msp430 \ | nds32 | nds32le | nds32be \ | nios | nios2 | nios2eb | nios2el \ | ns16k | ns32k \ | open8 \ | or1k | or32 \ | pdp10 | pdp11 | pj | pjl \ | powerpc | powerpc64 | powerpc64le | powerpcle \ | pyramid \ | rl78 | rx \ | score \ | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \ | sh64 | sh64le \ | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \ | sparcv8 | sparcv9 | sparcv9b | sparcv9v \ | spu \ | tahoe | tic4x | tic54x | tic55x | tic6x | tic80 | tron \ | ubicom32 \ | v850 | v850e | v850e1 | v850e2 | v850es | v850e2v3 \ | we32k \ | x86 | xc16x | xstormy16 | xtensa \ | z8k | z80) basic_machine=$basic_machine-unknown ;; c54x) basic_machine=tic54x-unknown ;; c55x) basic_machine=tic55x-unknown ;; c6x) basic_machine=tic6x-unknown ;; m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | picochip) basic_machine=$basic_machine-unknown os=-none ;; m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k) ;; ms1) basic_machine=mt-unknown ;; strongarm | thumb | xscale) basic_machine=arm-unknown ;; xgate) basic_machine=$basic_machine-unknown os=-none ;; xscaleeb) basic_machine=armeb-unknown ;; xscaleel) basic_machine=armel-unknown ;; # We use `pc' rather than `unknown' # because (1) that's what they normally are, and # (2) the word "unknown" tends to confuse beginning users. i*86 | x86_64) basic_machine=$basic_machine-pc ;; # Object if more than one company name word. *-*-*) echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 exit 1 ;; # Recognize the basic CPU types with company name. 580-* \ | a29k-* \ | aarch64-* | aarch64_be-* \ | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \ | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ | alphapca5[67]-* | alpha64pca5[67]-* | arc-* | arceb-* \ | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ | avr-* | avr32-* \ | be32-* | be64-* \ | bfin-* | bs2000-* \ | c[123]* | c30-* | [cjt]90-* | c4x-* \ | c8051-* | clipper-* | craynv-* | cydra-* \ | d10v-* | d30v-* | dlx-* \ | elxsi-* \ | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \ | h8300-* | h8500-* \ | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ | hexagon-* \ | i*86-* | i860-* | i960-* | ia64-* \ | ip2k-* | iq2000-* \ | le32-* | le64-* \ | lm32-* \ | m32c-* | m32r-* | m32rle-* \ | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ | m88110-* | m88k-* | maxq-* | mcore-* | metag-* \ | microblaze-* | microblazeel-* \ | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ | mips16-* \ | mips64-* | mips64el-* \ | mips64octeon-* | mips64octeonel-* \ | mips64orion-* | mips64orionel-* \ | mips64r5900-* | mips64r5900el-* \ | mips64vr-* | mips64vrel-* \ | mips64vr4100-* | mips64vr4100el-* \ | mips64vr4300-* | mips64vr4300el-* \ | mips64vr5000-* | mips64vr5000el-* \ | mips64vr5900-* | mips64vr5900el-* \ | mipsisa32-* | mipsisa32el-* \ | mipsisa32r2-* | mipsisa32r2el-* \ | mipsisa64-* | mipsisa64el-* \ | mipsisa64r2-* | mipsisa64r2el-* \ | mipsisa64sb1-* | mipsisa64sb1el-* \ | mipsisa64sr71k-* | mipsisa64sr71kel-* \ | mipsr5900-* | mipsr5900el-* \ | mipstx39-* | mipstx39el-* \ | mmix-* \ | mt-* \ | msp430-* \ | nds32-* | nds32le-* | nds32be-* \ | nios-* | nios2-* | nios2eb-* | nios2el-* \ | none-* | np1-* | ns16k-* | ns32k-* \ | open8-* \ | orion-* \ | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \ | pyramid-* \ | rl78-* | romp-* | rs6000-* | rx-* \ | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \ | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \ | sparclite-* \ | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | sv1-* | sx?-* \ | tahoe-* \ | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \ | tile*-* \ | tron-* \ | ubicom32-* \ | v850-* | v850e-* | v850e1-* | v850es-* | v850e2-* | v850e2v3-* \ | vax-* \ | we32k-* \ | x86-* | x86_64-* | xc16x-* | xps100-* \ | xstormy16-* | xtensa*-* \ | ymp-* \ | z8k-* | z80-*) ;; # Recognize the basic CPU types without company name, with glob match. xtensa*) basic_machine=$basic_machine-unknown ;; # Recognize the various machine names and aliases which stand # for a CPU type and a company and sometimes even an OS. 386bsd) basic_machine=i386-unknown os=-bsd ;; 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc) basic_machine=m68000-att ;; 3b*) basic_machine=we32k-att ;; a29khif) basic_machine=a29k-amd os=-udi ;; abacus) basic_machine=abacus-unknown ;; adobe68k) basic_machine=m68010-adobe os=-scout ;; alliant | fx80) basic_machine=fx80-alliant ;; altos | altos3068) basic_machine=m68k-altos ;; am29k) basic_machine=a29k-none os=-bsd ;; amd64) basic_machine=x86_64-pc ;; amd64-*) basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'` ;; amdahl) basic_machine=580-amdahl os=-sysv ;; amiga | amiga-*) basic_machine=m68k-unknown ;; amigaos | amigados) basic_machine=m68k-unknown os=-amigaos ;; amigaunix | amix) basic_machine=m68k-unknown os=-sysv4 ;; apollo68) basic_machine=m68k-apollo os=-sysv ;; apollo68bsd) basic_machine=m68k-apollo os=-bsd ;; aros) basic_machine=i386-pc os=-aros ;; aux) basic_machine=m68k-apple os=-aux ;; balance) basic_machine=ns32k-sequent os=-dynix ;; blackfin) basic_machine=bfin-unknown os=-linux ;; blackfin-*) basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'` os=-linux ;; bluegene*) basic_machine=powerpc-ibm os=-cnk ;; c54x-*) basic_machine=tic54x-`echo $basic_machine | sed 's/^[^-]*-//'` ;; c55x-*) basic_machine=tic55x-`echo $basic_machine | sed 's/^[^-]*-//'` ;; c6x-*) basic_machine=tic6x-`echo $basic_machine | sed 's/^[^-]*-//'` ;; c90) basic_machine=c90-cray os=-unicos ;; cegcc) basic_machine=arm-unknown os=-cegcc ;; convex-c1) basic_machine=c1-convex os=-bsd ;; convex-c2) basic_machine=c2-convex os=-bsd ;; convex-c32) basic_machine=c32-convex os=-bsd ;; convex-c34) basic_machine=c34-convex os=-bsd ;; convex-c38) basic_machine=c38-convex os=-bsd ;; cray | j90) basic_machine=j90-cray os=-unicos ;; craynv) basic_machine=craynv-cray os=-unicosmp ;; cr16 | cr16-*) basic_machine=cr16-unknown os=-elf ;; crds | unos) basic_machine=m68k-crds ;; crisv32 | crisv32-* | etraxfs*) basic_machine=crisv32-axis ;; cris | cris-* | etrax*) basic_machine=cris-axis ;; crx) basic_machine=crx-unknown os=-elf ;; da30 | da30-*) basic_machine=m68k-da30 ;; decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn) basic_machine=mips-dec ;; decsystem10* | dec10*) basic_machine=pdp10-dec os=-tops10 ;; decsystem20* | dec20*) basic_machine=pdp10-dec os=-tops20 ;; delta | 3300 | motorola-3300 | motorola-delta \ | 3300-motorola | delta-motorola) basic_machine=m68k-motorola ;; delta88) basic_machine=m88k-motorola os=-sysv3 ;; dicos) basic_machine=i686-pc os=-dicos ;; djgpp) basic_machine=i586-pc os=-msdosdjgpp ;; dpx20 | dpx20-*) basic_machine=rs6000-bull os=-bosx ;; dpx2* | dpx2*-bull) basic_machine=m68k-bull os=-sysv3 ;; ebmon29k) basic_machine=a29k-amd os=-ebmon ;; elxsi) basic_machine=elxsi-elxsi os=-bsd ;; encore | umax | mmax) basic_machine=ns32k-encore ;; es1800 | OSE68k | ose68k | ose | OSE) basic_machine=m68k-ericsson os=-ose ;; fx2800) basic_machine=i860-alliant ;; genix) basic_machine=ns32k-ns ;; gmicro) basic_machine=tron-gmicro os=-sysv ;; go32) basic_machine=i386-pc os=-go32 ;; h3050r* | hiux*) basic_machine=hppa1.1-hitachi os=-hiuxwe2 ;; h8300hms) basic_machine=h8300-hitachi os=-hms ;; h8300xray) basic_machine=h8300-hitachi os=-xray ;; h8500hms) basic_machine=h8500-hitachi os=-hms ;; harris) basic_machine=m88k-harris os=-sysv3 ;; hp300-*) basic_machine=m68k-hp ;; hp300bsd) basic_machine=m68k-hp os=-bsd ;; hp300hpux) basic_machine=m68k-hp os=-hpux ;; hp3k9[0-9][0-9] | hp9[0-9][0-9]) basic_machine=hppa1.0-hp ;; hp9k2[0-9][0-9] | hp9k31[0-9]) basic_machine=m68000-hp ;; hp9k3[2-9][0-9]) basic_machine=m68k-hp ;; hp9k6[0-9][0-9] | hp6[0-9][0-9]) basic_machine=hppa1.0-hp ;; hp9k7[0-79][0-9] | hp7[0-79][0-9]) basic_machine=hppa1.1-hp ;; hp9k78[0-9] | hp78[0-9]) # FIXME: really hppa2.0-hp basic_machine=hppa1.1-hp ;; hp9k8[67]1 | hp8[67]1 | hp9k80[24] | hp80[24] | hp9k8[78]9 | hp8[78]9 | hp9k893 | hp893) # FIXME: really hppa2.0-hp basic_machine=hppa1.1-hp ;; hp9k8[0-9][13679] | hp8[0-9][13679]) basic_machine=hppa1.1-hp ;; hp9k8[0-9][0-9] | hp8[0-9][0-9]) basic_machine=hppa1.0-hp ;; hppa-next) os=-nextstep3 ;; hppaosf) basic_machine=hppa1.1-hp os=-osf ;; hppro) basic_machine=hppa1.1-hp os=-proelf ;; i370-ibm* | ibm*) basic_machine=i370-ibm ;; i*86v32) basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` os=-sysv32 ;; i*86v4*) basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` os=-sysv4 ;; i*86v) basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` os=-sysv ;; i*86sol2) basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` os=-solaris2 ;; i386mach) basic_machine=i386-mach os=-mach ;; i386-vsta | vsta) basic_machine=i386-unknown os=-vsta ;; iris | iris4d) basic_machine=mips-sgi case $os in -irix*) ;; *) os=-irix4 ;; esac ;; isi68 | isi) basic_machine=m68k-isi os=-sysv ;; m68knommu) basic_machine=m68k-unknown os=-linux ;; m68knommu-*) basic_machine=m68k-`echo $basic_machine | sed 's/^[^-]*-//'` os=-linux ;; m88k-omron*) basic_machine=m88k-omron ;; magnum | m3230) basic_machine=mips-mips os=-sysv ;; merlin) basic_machine=ns32k-utek os=-sysv ;; microblaze*) basic_machine=microblaze-xilinx ;; mingw64) basic_machine=x86_64-pc os=-mingw64 ;; mingw32) basic_machine=i686-pc os=-mingw32 ;; mingw32ce) basic_machine=arm-unknown os=-mingw32ce ;; miniframe) basic_machine=m68000-convergent ;; *mint | -mint[0-9]* | *MiNT | *MiNT[0-9]*) basic_machine=m68k-atari os=-mint ;; mips3*-*) basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'` ;; mips3*) basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown ;; monitor) basic_machine=m68k-rom68k os=-coff ;; morphos) basic_machine=powerpc-unknown os=-morphos ;; msdos) basic_machine=i386-pc os=-msdos ;; ms1-*) basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'` ;; msys) basic_machine=i686-pc os=-msys ;; mvs) basic_machine=i370-ibm os=-mvs ;; nacl) basic_machine=le32-unknown os=-nacl ;; ncr3000) basic_machine=i486-ncr os=-sysv4 ;; netbsd386) basic_machine=i386-unknown os=-netbsd ;; netwinder) basic_machine=armv4l-rebel os=-linux ;; news | news700 | news800 | news900) basic_machine=m68k-sony os=-newsos ;; news1000) basic_machine=m68030-sony os=-newsos ;; news-3600 | risc-news) basic_machine=mips-sony os=-newsos ;; necv70) basic_machine=v70-nec os=-sysv ;; next | m*-next ) basic_machine=m68k-next case $os in -nextstep* ) ;; -ns2*) os=-nextstep2 ;; *) os=-nextstep3 ;; esac ;; nh3000) basic_machine=m68k-harris os=-cxux ;; nh[45]000) basic_machine=m88k-harris os=-cxux ;; nindy960) basic_machine=i960-intel os=-nindy ;; mon960) basic_machine=i960-intel os=-mon960 ;; nonstopux) basic_machine=mips-compaq os=-nonstopux ;; np1) basic_machine=np1-gould ;; neo-tandem) basic_machine=neo-tandem ;; nse-tandem) basic_machine=nse-tandem ;; nsr-tandem) basic_machine=nsr-tandem ;; op50n-* | op60c-*) basic_machine=hppa1.1-oki os=-proelf ;; openrisc | openrisc-*) basic_machine=or32-unknown ;; os400) basic_machine=powerpc-ibm os=-os400 ;; OSE68000 | ose68000) basic_machine=m68000-ericsson os=-ose ;; os68k) basic_machine=m68k-none os=-os68k ;; pa-hitachi) basic_machine=hppa1.1-hitachi os=-hiuxwe2 ;; paragon) basic_machine=i860-intel os=-osf ;; parisc) basic_machine=hppa-unknown os=-linux ;; parisc-*) basic_machine=hppa-`echo $basic_machine | sed 's/^[^-]*-//'` os=-linux ;; pbd) basic_machine=sparc-tti ;; pbb) basic_machine=m68k-tti ;; pc532 | pc532-*) basic_machine=ns32k-pc532 ;; pc98) basic_machine=i386-pc ;; pc98-*) basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'` ;; pentium | p5 | k5 | k6 | nexgen | viac3) basic_machine=i586-pc ;; pentiumpro | p6 | 6x86 | athlon | athlon_*) basic_machine=i686-pc ;; pentiumii | pentium2 | pentiumiii | pentium3) basic_machine=i686-pc ;; pentium4) basic_machine=i786-pc ;; pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*) basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'` ;; pentiumpro-* | p6-* | 6x86-* | athlon-*) basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` ;; pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*) basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` ;; pentium4-*) basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'` ;; pn) basic_machine=pn-gould ;; power) basic_machine=power-ibm ;; ppc | ppcbe) basic_machine=powerpc-unknown ;; ppc-* | ppcbe-*) basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'` ;; ppcle | powerpclittle | ppc-le | powerpc-little) basic_machine=powerpcle-unknown ;; ppcle-* | powerpclittle-*) basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'` ;; ppc64) basic_machine=powerpc64-unknown ;; ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'` ;; ppc64le | powerpc64little | ppc64-le | powerpc64-little) basic_machine=powerpc64le-unknown ;; ppc64le-* | powerpc64little-*) basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'` ;; ps2) basic_machine=i386-ibm ;; pw32) basic_machine=i586-unknown os=-pw32 ;; rdos | rdos64) basic_machine=x86_64-pc os=-rdos ;; rdos32) basic_machine=i386-pc os=-rdos ;; rom68k) basic_machine=m68k-rom68k os=-coff ;; rm[46]00) basic_machine=mips-siemens ;; rtpc | rtpc-*) basic_machine=romp-ibm ;; s390 | s390-*) basic_machine=s390-ibm ;; s390x | s390x-*) basic_machine=s390x-ibm ;; sa29200) basic_machine=a29k-amd os=-udi ;; sb1) basic_machine=mipsisa64sb1-unknown ;; sb1el) basic_machine=mipsisa64sb1el-unknown ;; sde) basic_machine=mipsisa32-sde os=-elf ;; sei) basic_machine=mips-sei os=-seiux ;; sequent) basic_machine=i386-sequent ;; sh) basic_machine=sh-hitachi os=-hms ;; sh5el) basic_machine=sh5le-unknown ;; sh64) basic_machine=sh64-unknown ;; sparclite-wrs | simso-wrs) basic_machine=sparclite-wrs os=-vxworks ;; sps7) basic_machine=m68k-bull os=-sysv2 ;; spur) basic_machine=spur-unknown ;; st2000) basic_machine=m68k-tandem ;; stratus) basic_machine=i860-stratus os=-sysv4 ;; strongarm-* | thumb-*) basic_machine=arm-`echo $basic_machine | sed 's/^[^-]*-//'` ;; sun2) basic_machine=m68000-sun ;; sun2os3) basic_machine=m68000-sun os=-sunos3 ;; sun2os4) basic_machine=m68000-sun os=-sunos4 ;; sun3os3) basic_machine=m68k-sun os=-sunos3 ;; sun3os4) basic_machine=m68k-sun os=-sunos4 ;; sun4os3) basic_machine=sparc-sun os=-sunos3 ;; sun4os4) basic_machine=sparc-sun os=-sunos4 ;; sun4sol2) basic_machine=sparc-sun os=-solaris2 ;; sun3 | sun3-*) basic_machine=m68k-sun ;; sun4) basic_machine=sparc-sun ;; sun386 | sun386i | roadrunner) basic_machine=i386-sun ;; sv1) basic_machine=sv1-cray os=-unicos ;; symmetry) basic_machine=i386-sequent os=-dynix ;; t3e) basic_machine=alphaev5-cray os=-unicos ;; t90) basic_machine=t90-cray os=-unicos ;; tile*) basic_machine=$basic_machine-unknown os=-linux-gnu ;; tx39) basic_machine=mipstx39-unknown ;; tx39el) basic_machine=mipstx39el-unknown ;; toad1) basic_machine=pdp10-xkl os=-tops20 ;; tower | tower-32) basic_machine=m68k-ncr ;; tpf) basic_machine=s390x-ibm os=-tpf ;; udi29k) basic_machine=a29k-amd os=-udi ;; ultra3) basic_machine=a29k-nyu os=-sym1 ;; v810 | necv810) basic_machine=v810-nec os=-none ;; vaxv) basic_machine=vax-dec os=-sysv ;; vms) basic_machine=vax-dec os=-vms ;; vpp*|vx|vx-*) basic_machine=f301-fujitsu ;; vxworks960) basic_machine=i960-wrs os=-vxworks ;; vxworks68) basic_machine=m68k-wrs os=-vxworks ;; vxworks29k) basic_machine=a29k-wrs os=-vxworks ;; w65*) basic_machine=w65-wdc os=-none ;; w89k-*) basic_machine=hppa1.1-winbond os=-proelf ;; xbox) basic_machine=i686-pc os=-mingw32 ;; xps | xps100) basic_machine=xps100-honeywell ;; xscale-* | xscalee[bl]-*) basic_machine=`echo $basic_machine | sed 's/^xscale/arm/'` ;; ymp) basic_machine=ymp-cray os=-unicos ;; z8k-*-coff) basic_machine=z8k-unknown os=-sim ;; z80-*-coff) basic_machine=z80-unknown os=-sim ;; none) basic_machine=none-none os=-none ;; # Here we handle the default manufacturer of certain CPU types. It is in # some cases the only manufacturer, in others, it is the most popular. w89k) basic_machine=hppa1.1-winbond ;; op50n) basic_machine=hppa1.1-oki ;; op60c) basic_machine=hppa1.1-oki ;; romp) basic_machine=romp-ibm ;; mmix) basic_machine=mmix-knuth ;; rs6000) basic_machine=rs6000-ibm ;; vax) basic_machine=vax-dec ;; pdp10) # there are many clones, so DEC is not a safe bet basic_machine=pdp10-unknown ;; pdp11) basic_machine=pdp11-dec ;; we32k) basic_machine=we32k-att ;; sh[1234] | sh[24]a | sh[24]aeb | sh[34]eb | sh[1234]le | sh[23]ele) basic_machine=sh-unknown ;; sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v) basic_machine=sparc-sun ;; cydra) basic_machine=cydra-cydrome ;; orion) basic_machine=orion-highlevel ;; orion105) basic_machine=clipper-highlevel ;; mac | mpw | mac-mpw) basic_machine=m68k-apple ;; pmac | pmac-mpw) basic_machine=powerpc-apple ;; *-unknown) # Make sure to match an already-canonicalized machine name. ;; *) echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 exit 1 ;; esac # Here we canonicalize certain aliases for manufacturers. case $basic_machine in *-digital*) basic_machine=`echo $basic_machine | sed 's/digital.*/dec/'` ;; *-commodore*) basic_machine=`echo $basic_machine | sed 's/commodore.*/cbm/'` ;; *) ;; esac # Decode manufacturer-specific aliases for certain operating systems. if [ x"$os" != x"" ] then case $os in # First match some system type aliases # that might get confused with valid system types. # -solaris* is a basic system type, with this one exception. -auroraux) os=-auroraux ;; -solaris1 | -solaris1.*) os=`echo $os | sed -e 's|solaris1|sunos4|'` ;; -solaris) os=-solaris2 ;; -svr4*) os=-sysv4 ;; -unixware*) os=-sysv4.2uw ;; -gnu/linux*) os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'` ;; # First accept the basic system types. # The portable systems comes first. # Each alternative MUST END IN A *, to match a version number. # -sysv* is not here because it comes later, after sysvr4. -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \ | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\ | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \ | -sym* | -kopensolaris* | -plan9* \ | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \ | -aos* | -aros* \ | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \ | -bitrig* | -openbsd* | -solidbsd* \ | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \ | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ | -chorusos* | -chorusrdb* | -cegcc* \ | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \ | -linux-newlib* | -linux-musl* | -linux-uclibc* \ | -uxpv* | -beos* | -mpeix* | -udk* \ | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es*) # Remember, each alternative MUST END IN *, to match a version number. ;; -qnx*) case $basic_machine in x86-* | i*86-*) ;; *) os=-nto$os ;; esac ;; -nto-qnx*) ;; -nto*) os=`echo $os | sed -e 's|nto|nto-qnx|'` ;; -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \ | -windows* | -osx | -abug | -netware* | -os9* | -beos* | -haiku* \ | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*) ;; -mac*) os=`echo $os | sed -e 's|mac|macos|'` ;; -linux-dietlibc) os=-linux-dietlibc ;; -linux*) os=`echo $os | sed -e 's|linux|linux-gnu|'` ;; -sunos5*) os=`echo $os | sed -e 's|sunos5|solaris2|'` ;; -sunos6*) os=`echo $os | sed -e 's|sunos6|solaris3|'` ;; -opened*) os=-openedition ;; -os400*) os=-os400 ;; -wince*) os=-wince ;; -osfrose*) os=-osfrose ;; -osf*) os=-osf ;; -utek*) os=-bsd ;; -dynix*) os=-bsd ;; -acis*) os=-aos ;; -atheos*) os=-atheos ;; -syllable*) os=-syllable ;; -386bsd) os=-bsd ;; -ctix* | -uts*) os=-sysv ;; -nova*) os=-rtmk-nova ;; -ns2 ) os=-nextstep2 ;; -nsk*) os=-nsk ;; # Preserve the version number of sinix5. -sinix5.*) os=`echo $os | sed -e 's|sinix|sysv|'` ;; -sinix*) os=-sysv4 ;; -tpf*) os=-tpf ;; -triton*) os=-sysv3 ;; -oss*) os=-sysv3 ;; -svr4) os=-sysv4 ;; -svr3) os=-sysv3 ;; -sysvr4) os=-sysv4 ;; # This must come after -sysvr4. -sysv*) ;; -ose*) os=-ose ;; -es1800*) os=-ose ;; -xenix) os=-xenix ;; -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) os=-mint ;; -aros*) os=-aros ;; -zvmoe) os=-zvmoe ;; -dicos*) os=-dicos ;; -nacl*) ;; -none) ;; *) # Get rid of the `-' at the beginning of $os. os=`echo $os | sed 's/[^-]*-//'` echo Invalid configuration \`$1\': system \`$os\' not recognized 1>&2 exit 1 ;; esac else # Here we handle the default operating systems that come with various machines. # The value should be what the vendor currently ships out the door with their # machine or put another way, the most popular os provided with the machine. # Note that if you're going to try to match "-MANUFACTURER" here (say, # "-sun"), then you have to tell the case statement up towards the top # that MANUFACTURER isn't an operating system. Otherwise, code above # will signal an error saying that MANUFACTURER isn't an operating # system, and we'll never get to this point. case $basic_machine in score-*) os=-elf ;; spu-*) os=-elf ;; *-acorn) os=-riscix1.2 ;; arm*-rebel) os=-linux ;; arm*-semi) os=-aout ;; c4x-* | tic4x-*) os=-coff ;; c8051-*) os=-elf ;; hexagon-*) os=-elf ;; tic54x-*) os=-coff ;; tic55x-*) os=-coff ;; tic6x-*) os=-coff ;; # This must come before the *-dec entry. pdp10-*) os=-tops20 ;; pdp11-*) os=-none ;; *-dec | vax-*) os=-ultrix4.2 ;; m68*-apollo) os=-domain ;; i386-sun) os=-sunos4.0.2 ;; m68000-sun) os=-sunos3 ;; m68*-cisco) os=-aout ;; mep-*) os=-elf ;; mips*-cisco) os=-elf ;; mips*-*) os=-elf ;; or1k-*) os=-elf ;; or32-*) os=-coff ;; *-tti) # must be before sparc entry or we get the wrong os. os=-sysv3 ;; sparc-* | *-sun) os=-sunos4.1.1 ;; *-be) os=-beos ;; *-haiku) os=-haiku ;; *-ibm) os=-aix ;; *-knuth) os=-mmixware ;; *-wec) os=-proelf ;; *-winbond) os=-proelf ;; *-oki) os=-proelf ;; *-hp) os=-hpux ;; *-hitachi) os=-hiux ;; i860-* | *-att | *-ncr | *-altos | *-motorola | *-convergent) os=-sysv ;; *-cbm) os=-amigaos ;; *-dg) os=-dgux ;; *-dolphin) os=-sysv3 ;; m68k-ccur) os=-rtu ;; m88k-omron*) os=-luna ;; *-next ) os=-nextstep ;; *-sequent) os=-ptx ;; *-crds) os=-unos ;; *-ns) os=-genix ;; i370-*) os=-mvs ;; *-next) os=-nextstep3 ;; *-gould) os=-sysv ;; *-highlevel) os=-bsd ;; *-encore) os=-bsd ;; *-sgi) os=-irix ;; *-siemens) os=-sysv4 ;; *-masscomp) os=-rtu ;; f30[01]-fujitsu | f700-fujitsu) os=-uxpv ;; *-rom68k) os=-coff ;; *-*bug) os=-coff ;; *-apple) os=-macos ;; *-atari*) os=-mint ;; *) os=-none ;; esac fi # Here we handle the case where we know the os, and the CPU type, but not the # manufacturer. We pick the logical manufacturer. vendor=unknown case $basic_machine in *-unknown) case $os in -riscix*) vendor=acorn ;; -sunos*) vendor=sun ;; -cnk*|-aix*) vendor=ibm ;; -beos*) vendor=be ;; -hpux*) vendor=hp ;; -mpeix*) vendor=hp ;; -hiux*) vendor=hitachi ;; -unos*) vendor=crds ;; -dgux*) vendor=dg ;; -luna*) vendor=omron ;; -genix*) vendor=ns ;; -mvs* | -opened*) vendor=ibm ;; -os400*) vendor=ibm ;; -ptx*) vendor=sequent ;; -tpf*) vendor=ibm ;; -vxsim* | -vxworks* | -windiss*) vendor=wrs ;; -aux*) vendor=apple ;; -hms*) vendor=hitachi ;; -mpw* | -macos*) vendor=apple ;; -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) vendor=atari ;; -vos*) vendor=stratus ;; esac basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"` ;; esac echo $basic_machine$os exit # Local variables: # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "timestamp='" # time-stamp-format: "%:y-%02m-%02d" # time-stamp-end: "'" # End: autotools-dev-20130810.1/config.guess0000755000000000000000000013036112201430542014121 0ustar #! /bin/sh # Attempt to guess a canonical system name. # Copyright 1992-2013 Free Software Foundation, Inc. timestamp='2013-06-10' # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, see . # # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that # program. This Exception is an additional permission under section 7 # of the GNU General Public License, version 3 ("GPLv3"). # # Originally written by Per Bothner. # # You can get the latest version of this script from: # http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD # # Please send patches with a ChangeLog entry to config-patches@gnu.org. me=`echo "$0" | sed -e 's,.*/,,'` usage="\ Usage: $0 [OPTION] Output the configuration name of the system \`$me' is run on. Operation modes: -h, --help print this help, then exit -t, --time-stamp print date of last modification, then exit -v, --version print version number, then exit Report bugs and patches to ." version="\ GNU config.guess ($timestamp) Originally written by Per Bothner. Copyright 1992-2013 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." help=" Try \`$me --help' for more information." # Parse command line while test $# -gt 0 ; do case $1 in --time-stamp | --time* | -t ) echo "$timestamp" ; exit ;; --version | -v ) echo "$version" ; exit ;; --help | --h* | -h ) echo "$usage"; exit ;; -- ) # Stop option processing shift; break ;; - ) # Use stdin as input. break ;; -* ) echo "$me: invalid option $1$help" >&2 exit 1 ;; * ) break ;; esac done if test $# != 0; then echo "$me: too many arguments$help" >&2 exit 1 fi trap 'exit 1' 1 2 15 # CC_FOR_BUILD -- compiler used by this script. Note that the use of a # compiler to aid in system detection is discouraged as it requires # temporary files to be created and, as you can see below, it is a # headache to deal with in a portable fashion. # Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still # use `HOST_CC' if defined, but it is deprecated. # Portable tmp directory creation inspired by the Autoconf team. set_cc_for_build=' trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ; trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ; : ${TMPDIR=/tmp} ; { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } || { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } || { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } || { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ; dummy=$tmp/dummy ; tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ; case $CC_FOR_BUILD,$HOST_CC,$CC in ,,) echo "int x;" > $dummy.c ; for c in cc gcc c89 c99 ; do if ($c -c -o $dummy.o $dummy.c) >/dev/null 2>&1 ; then CC_FOR_BUILD="$c"; break ; fi ; done ; if test x"$CC_FOR_BUILD" = x ; then CC_FOR_BUILD=no_compiler_found ; fi ;; ,,*) CC_FOR_BUILD=$CC ;; ,*,*) CC_FOR_BUILD=$HOST_CC ;; esac ; set_cc_for_build= ;' # This is needed to find uname on a Pyramid OSx when run in the BSD universe. # (ghazi@noc.rutgers.edu 1994-08-24) if (test -f /.attbin/uname) >/dev/null 2>&1 ; then PATH=$PATH:/.attbin ; export PATH fi UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown case "${UNAME_SYSTEM}" in Linux|GNU|GNU/*) # If the system lacks a compiler, then just pick glibc. # We could probably try harder. LIBC=gnu eval $set_cc_for_build cat <<-EOF > $dummy.c #include #if defined(__UCLIBC__) LIBC=uclibc #elif defined(__dietlibc__) LIBC=dietlibc #else LIBC=gnu #endif EOF eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC'` ;; esac # Note: order is significant - the case branches are not exclusive. case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in *:NetBSD:*:*) # NetBSD (nbsd) targets should (where applicable) match one or # more of the tuples: *-*-netbsdelf*, *-*-netbsdaout*, # *-*-netbsdecoff* and *-*-netbsd*. For targets that recently # switched to ELF, *-*-netbsd* would select the old # object file format. This provides both forward # compatibility and a consistent mechanism for selecting the # object file format. # # Note: NetBSD doesn't particularly care about the vendor # portion of the name. We always set it to "unknown". sysctl="sysctl -n hw.machine_arch" UNAME_MACHINE_ARCH=`(/sbin/$sysctl 2>/dev/null || \ /usr/sbin/$sysctl 2>/dev/null || echo unknown)` case "${UNAME_MACHINE_ARCH}" in armeb) machine=armeb-unknown ;; arm*) machine=arm-unknown ;; sh3el) machine=shl-unknown ;; sh3eb) machine=sh-unknown ;; sh5el) machine=sh5le-unknown ;; *) machine=${UNAME_MACHINE_ARCH}-unknown ;; esac # The Operating System including object format, if it has switched # to ELF recently, or will in the future. case "${UNAME_MACHINE_ARCH}" in arm*|i386|m68k|ns32k|sh3*|sparc|vax) eval $set_cc_for_build if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \ | grep -q __ELF__ then # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout). # Return netbsd for either. FIX? os=netbsd else os=netbsdelf fi ;; *) os=netbsd ;; esac # The OS release # Debian GNU/NetBSD machines have a different userland, and # thus, need a distinct triplet. However, they do not need # kernel version information, so it can be replaced with a # suitable tag, in the style of linux-gnu. case "${UNAME_VERSION}" in Debian*) release='-gnu' ;; *) release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'` ;; esac # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM: # contains redundant information, the shorter form: # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used. echo "${machine}-${os}${release}" exit ;; *:Bitrig:*:*) UNAME_MACHINE_ARCH=`arch | sed 's/Bitrig.//'` echo ${UNAME_MACHINE_ARCH}-unknown-bitrig${UNAME_RELEASE} exit ;; *:OpenBSD:*:*) UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'` echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE} exit ;; *:ekkoBSD:*:*) echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE} exit ;; *:SolidBSD:*:*) echo ${UNAME_MACHINE}-unknown-solidbsd${UNAME_RELEASE} exit ;; macppc:MirBSD:*:*) echo powerpc-unknown-mirbsd${UNAME_RELEASE} exit ;; *:MirBSD:*:*) echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE} exit ;; alpha:OSF1:*:*) case $UNAME_RELEASE in *4.0) UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'` ;; *5.*) UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'` ;; esac # According to Compaq, /usr/sbin/psrinfo has been available on # OSF/1 and Tru64 systems produced since 1995. I hope that # covers most systems running today. This code pipes the CPU # types through head -n 1, so we only detect the type of CPU 0. ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^ The alpha \(.*\) processor.*$/\1/p' | head -n 1` case "$ALPHA_CPU_TYPE" in "EV4 (21064)") UNAME_MACHINE="alpha" ;; "EV4.5 (21064)") UNAME_MACHINE="alpha" ;; "LCA4 (21066/21068)") UNAME_MACHINE="alpha" ;; "EV5 (21164)") UNAME_MACHINE="alphaev5" ;; "EV5.6 (21164A)") UNAME_MACHINE="alphaev56" ;; "EV5.6 (21164PC)") UNAME_MACHINE="alphapca56" ;; "EV5.7 (21164PC)") UNAME_MACHINE="alphapca57" ;; "EV6 (21264)") UNAME_MACHINE="alphaev6" ;; "EV6.7 (21264A)") UNAME_MACHINE="alphaev67" ;; "EV6.8CB (21264C)") UNAME_MACHINE="alphaev68" ;; "EV6.8AL (21264B)") UNAME_MACHINE="alphaev68" ;; "EV6.8CX (21264D)") UNAME_MACHINE="alphaev68" ;; "EV6.9A (21264/EV69A)") UNAME_MACHINE="alphaev69" ;; "EV7 (21364)") UNAME_MACHINE="alphaev7" ;; "EV7.9 (21364A)") UNAME_MACHINE="alphaev79" ;; esac # A Pn.n version is a patched version. # A Vn.n version is a released version. # A Tn.n version is a released field test version. # A Xn.n version is an unreleased experimental baselevel. # 1.2 uses "1.2" for uname -r. echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` # Reset EXIT trap before exiting to avoid spurious non-zero exit code. exitcode=$? trap '' 0 exit $exitcode ;; Alpha\ *:Windows_NT*:*) # How do we know it's Interix rather than the generic POSIX subsystem? # Should we change UNAME_MACHINE based on the output of uname instead # of the specific Alpha model? echo alpha-pc-interix exit ;; 21064:Windows_NT:50:3) echo alpha-dec-winnt3.5 exit ;; Amiga*:UNIX_System_V:4.0:*) echo m68k-unknown-sysv4 exit ;; *:[Aa]miga[Oo][Ss]:*:*) echo ${UNAME_MACHINE}-unknown-amigaos exit ;; *:[Mm]orph[Oo][Ss]:*:*) echo ${UNAME_MACHINE}-unknown-morphos exit ;; *:OS/390:*:*) echo i370-ibm-openedition exit ;; *:z/VM:*:*) echo s390-ibm-zvmoe exit ;; *:OS400:*:*) echo powerpc-ibm-os400 exit ;; arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*) echo arm-acorn-riscix${UNAME_RELEASE} exit ;; arm*:riscos:*:*|arm*:RISCOS:*:*) echo arm-unknown-riscos exit ;; SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*) echo hppa1.1-hitachi-hiuxmpp exit ;; Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*) # akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE. if test "`(/bin/universe) 2>/dev/null`" = att ; then echo pyramid-pyramid-sysv3 else echo pyramid-pyramid-bsd fi exit ;; NILE*:*:*:dcosx) echo pyramid-pyramid-svr4 exit ;; DRS?6000:unix:4.0:6*) echo sparc-icl-nx6 exit ;; DRS?6000:UNIX_SV:4.2*:7* | DRS?6000:isis:4.2*:7*) case `/usr/bin/uname -p` in sparc) echo sparc-icl-nx7; exit ;; esac ;; s390x:SunOS:*:*) echo ${UNAME_MACHINE}-ibm-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; sun4H:SunOS:5.*:*) echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*) echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; i86pc:AuroraUX:5.*:* | i86xen:AuroraUX:5.*:*) echo i386-pc-auroraux${UNAME_RELEASE} exit ;; i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*) eval $set_cc_for_build SUN_ARCH="i386" # If there is a compiler, see if it is configured for 64-bit objects. # Note that the Sun cc does not turn __LP64__ into 1 like gcc does. # This test works for both compilers. if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \ (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \ grep IS_64BIT_ARCH >/dev/null then SUN_ARCH="x86_64" fi fi echo ${SUN_ARCH}-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; sun4*:SunOS:6*:*) # According to config.sub, this is the proper way to canonicalize # SunOS6. Hard to guess exactly what SunOS6 will be like, but # it's likely to be more like Solaris than SunOS4. echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; sun4*:SunOS:*:*) case "`/usr/bin/arch -k`" in Series*|S4*) UNAME_RELEASE=`uname -v` ;; esac # Japanese Language versions have a version number like `4.1.3-JL'. echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'` exit ;; sun3*:SunOS:*:*) echo m68k-sun-sunos${UNAME_RELEASE} exit ;; sun*:*:4.2BSD:*) UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null` test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3 case "`/bin/arch`" in sun3) echo m68k-sun-sunos${UNAME_RELEASE} ;; sun4) echo sparc-sun-sunos${UNAME_RELEASE} ;; esac exit ;; aushp:SunOS:*:*) echo sparc-auspex-sunos${UNAME_RELEASE} exit ;; # The situation for MiNT is a little confusing. The machine name # can be virtually everything (everything which is not # "atarist" or "atariste" at least should have a processor # > m68000). The system name ranges from "MiNT" over "FreeMiNT" # to the lowercase version "mint" (or "freemint"). Finally # the system name "TOS" denotes a system which is actually not # MiNT. But MiNT is downward compatible to TOS, so this should # be no problem. atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*) echo m68k-atari-mint${UNAME_RELEASE} exit ;; atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*) echo m68k-atari-mint${UNAME_RELEASE} exit ;; *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*) echo m68k-atari-mint${UNAME_RELEASE} exit ;; milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*) echo m68k-milan-mint${UNAME_RELEASE} exit ;; hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*) echo m68k-hades-mint${UNAME_RELEASE} exit ;; *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*) echo m68k-unknown-mint${UNAME_RELEASE} exit ;; m68k:machten:*:*) echo m68k-apple-machten${UNAME_RELEASE} exit ;; powerpc:machten:*:*) echo powerpc-apple-machten${UNAME_RELEASE} exit ;; RISC*:Mach:*:*) echo mips-dec-mach_bsd4.3 exit ;; RISC*:ULTRIX:*:*) echo mips-dec-ultrix${UNAME_RELEASE} exit ;; VAX*:ULTRIX*:*:*) echo vax-dec-ultrix${UNAME_RELEASE} exit ;; 2020:CLIX:*:* | 2430:CLIX:*:*) echo clipper-intergraph-clix${UNAME_RELEASE} exit ;; mips:*:*:UMIPS | mips:*:*:RISCos) eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #ifdef __cplusplus #include /* for printf() prototype */ int main (int argc, char *argv[]) { #else int main (argc, argv) int argc; char *argv[]; { #endif #if defined (host_mips) && defined (MIPSEB) #if defined (SYSTYPE_SYSV) printf ("mips-mips-riscos%ssysv\n", argv[1]); exit (0); #endif #if defined (SYSTYPE_SVR4) printf ("mips-mips-riscos%ssvr4\n", argv[1]); exit (0); #endif #if defined (SYSTYPE_BSD43) || defined(SYSTYPE_BSD) printf ("mips-mips-riscos%sbsd\n", argv[1]); exit (0); #endif #endif exit (-1); } EOF $CC_FOR_BUILD -o $dummy $dummy.c && dummyarg=`echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` && SYSTEM_NAME=`$dummy $dummyarg` && { echo "$SYSTEM_NAME"; exit; } echo mips-mips-riscos${UNAME_RELEASE} exit ;; Motorola:PowerMAX_OS:*:*) echo powerpc-motorola-powermax exit ;; Motorola:*:4.3:PL8-*) echo powerpc-harris-powermax exit ;; Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*) echo powerpc-harris-powermax exit ;; Night_Hawk:Power_UNIX:*:*) echo powerpc-harris-powerunix exit ;; m88k:CX/UX:7*:*) echo m88k-harris-cxux7 exit ;; m88k:*:4*:R4*) echo m88k-motorola-sysv4 exit ;; m88k:*:3*:R3*) echo m88k-motorola-sysv3 exit ;; AViiON:dgux:*:*) # DG/UX returns AViiON for all architectures UNAME_PROCESSOR=`/usr/bin/uname -p` if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ] then if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \ [ ${TARGET_BINARY_INTERFACE}x = x ] then echo m88k-dg-dgux${UNAME_RELEASE} else echo m88k-dg-dguxbcs${UNAME_RELEASE} fi else echo i586-dg-dgux${UNAME_RELEASE} fi exit ;; M88*:DolphinOS:*:*) # DolphinOS (SVR3) echo m88k-dolphin-sysv3 exit ;; M88*:*:R3*:*) # Delta 88k system running SVR3 echo m88k-motorola-sysv3 exit ;; XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3) echo m88k-tektronix-sysv3 exit ;; Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD) echo m68k-tektronix-bsd exit ;; *:IRIX*:*:*) echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'` exit ;; ????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX. echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id exit ;; # Note that: echo "'`uname -s`'" gives 'AIX ' i*86:AIX:*:*) echo i386-ibm-aix exit ;; ia64:AIX:*:*) if [ -x /usr/bin/oslevel ] ; then IBM_REV=`/usr/bin/oslevel` else IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} fi echo ${UNAME_MACHINE}-ibm-aix${IBM_REV} exit ;; *:AIX:2:3) if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #include main() { if (!__power_pc()) exit(1); puts("powerpc-ibm-aix3.2.5"); exit(0); } EOF if $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` then echo "$SYSTEM_NAME" else echo rs6000-ibm-aix3.2.5 fi elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then echo rs6000-ibm-aix3.2.4 else echo rs6000-ibm-aix3.2 fi exit ;; *:AIX:*:[4567]) IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'` if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then IBM_ARCH=rs6000 else IBM_ARCH=powerpc fi if [ -x /usr/bin/oslevel ] ; then IBM_REV=`/usr/bin/oslevel` else IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} fi echo ${IBM_ARCH}-ibm-aix${IBM_REV} exit ;; *:AIX:*:*) echo rs6000-ibm-aix exit ;; ibmrt:4.4BSD:*|romp-ibm:BSD:*) echo romp-ibm-bsd4.4 exit ;; ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC BSD and echo romp-ibm-bsd${UNAME_RELEASE} # 4.3 with uname added to exit ;; # report: romp-ibm BSD 4.3 *:BOSX:*:*) echo rs6000-bull-bosx exit ;; DPX/2?00:B.O.S.:*:*) echo m68k-bull-sysv3 exit ;; 9000/[34]??:4.3bsd:1.*:*) echo m68k-hp-bsd exit ;; hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*) echo m68k-hp-bsd4.4 exit ;; 9000/[34678]??:HP-UX:*:*) HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` case "${UNAME_MACHINE}" in 9000/31? ) HP_ARCH=m68000 ;; 9000/[34]?? ) HP_ARCH=m68k ;; 9000/[678][0-9][0-9]) if [ -x /usr/bin/getconf ]; then sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null` sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null` case "${sc_cpu_version}" in 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1 532) # CPU_PA_RISC2_0 case "${sc_kernel_bits}" in 32) HP_ARCH="hppa2.0n" ;; 64) HP_ARCH="hppa2.0w" ;; '') HP_ARCH="hppa2.0" ;; # HP-UX 10.20 esac ;; esac fi if [ "${HP_ARCH}" = "" ]; then eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #define _HPUX_SOURCE #include #include int main () { #if defined(_SC_KERNEL_BITS) long bits = sysconf(_SC_KERNEL_BITS); #endif long cpu = sysconf (_SC_CPU_VERSION); switch (cpu) { case CPU_PA_RISC1_0: puts ("hppa1.0"); break; case CPU_PA_RISC1_1: puts ("hppa1.1"); break; case CPU_PA_RISC2_0: #if defined(_SC_KERNEL_BITS) switch (bits) { case 64: puts ("hppa2.0w"); break; case 32: puts ("hppa2.0n"); break; default: puts ("hppa2.0"); break; } break; #else /* !defined(_SC_KERNEL_BITS) */ puts ("hppa2.0"); break; #endif default: puts ("hppa1.0"); break; } exit (0); } EOF (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy` test -z "$HP_ARCH" && HP_ARCH=hppa fi ;; esac if [ ${HP_ARCH} = "hppa2.0w" ] then eval $set_cc_for_build # hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating # 32-bit code. hppa64-hp-hpux* has the same kernel and a compiler # generating 64-bit code. GNU and HP use different nomenclature: # # $ CC_FOR_BUILD=cc ./config.guess # => hppa2.0w-hp-hpux11.23 # $ CC_FOR_BUILD="cc +DA2.0w" ./config.guess # => hppa64-hp-hpux11.23 if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | grep -q __LP64__ then HP_ARCH="hppa2.0w" else HP_ARCH="hppa64" fi fi echo ${HP_ARCH}-hp-hpux${HPUX_REV} exit ;; ia64:HP-UX:*:*) HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` echo ia64-hp-hpux${HPUX_REV} exit ;; 3050*:HI-UX:*:*) eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #include int main () { long cpu = sysconf (_SC_CPU_VERSION); /* The order matters, because CPU_IS_HP_MC68K erroneously returns true for CPU_PA_RISC1_0. CPU_IS_PA_RISC returns correct results, however. */ if (CPU_IS_PA_RISC (cpu)) { switch (cpu) { case CPU_PA_RISC1_0: puts ("hppa1.0-hitachi-hiuxwe2"); break; case CPU_PA_RISC1_1: puts ("hppa1.1-hitachi-hiuxwe2"); break; case CPU_PA_RISC2_0: puts ("hppa2.0-hitachi-hiuxwe2"); break; default: puts ("hppa-hitachi-hiuxwe2"); break; } } else if (CPU_IS_HP_MC68K (cpu)) puts ("m68k-hitachi-hiuxwe2"); else puts ("unknown-hitachi-hiuxwe2"); exit (0); } EOF $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` && { echo "$SYSTEM_NAME"; exit; } echo unknown-hitachi-hiuxwe2 exit ;; 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* ) echo hppa1.1-hp-bsd exit ;; 9000/8??:4.3bsd:*:*) echo hppa1.0-hp-bsd exit ;; *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*) echo hppa1.0-hp-mpeix exit ;; hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* ) echo hppa1.1-hp-osf exit ;; hp8??:OSF1:*:*) echo hppa1.0-hp-osf exit ;; i*86:OSF1:*:*) if [ -x /usr/sbin/sysversion ] ; then echo ${UNAME_MACHINE}-unknown-osf1mk else echo ${UNAME_MACHINE}-unknown-osf1 fi exit ;; parisc*:Lites*:*:*) echo hppa1.1-hp-lites exit ;; C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*) echo c1-convex-bsd exit ;; C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*) if getsysinfo -f scalar_acc then echo c32-convex-bsd else echo c2-convex-bsd fi exit ;; C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*) echo c34-convex-bsd exit ;; C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*) echo c38-convex-bsd exit ;; C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*) echo c4-convex-bsd exit ;; CRAY*Y-MP:*:*:*) echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit ;; CRAY*[A-Z]90:*:*:*) echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \ | sed -e 's/CRAY.*\([A-Z]90\)/\1/' \ -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \ -e 's/\.[^.]*$/.X/' exit ;; CRAY*TS:*:*:*) echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit ;; CRAY*T3E:*:*:*) echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit ;; CRAY*SV1:*:*:*) echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit ;; *:UNICOS/mp:*:*) echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit ;; F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*) FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'` echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" exit ;; 5000:UNIX_System_V:4.*:*) FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'` echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" exit ;; i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*) echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE} exit ;; sparc*:BSD/OS:*:*) echo sparc-unknown-bsdi${UNAME_RELEASE} exit ;; *:BSD/OS:*:*) echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE} exit ;; *:FreeBSD:*:*) UNAME_PROCESSOR=`/usr/bin/uname -p` case ${UNAME_PROCESSOR} in amd64) echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; *) echo ${UNAME_PROCESSOR}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; esac exit ;; i*:CYGWIN*:*) echo ${UNAME_MACHINE}-pc-cygwin exit ;; *:MINGW64*:*) echo ${UNAME_MACHINE}-pc-mingw64 exit ;; *:MINGW*:*) echo ${UNAME_MACHINE}-pc-mingw32 exit ;; i*:MSYS*:*) echo ${UNAME_MACHINE}-pc-msys exit ;; i*:windows32*:*) # uname -m includes "-pc" on this system. echo ${UNAME_MACHINE}-mingw32 exit ;; i*:PW*:*) echo ${UNAME_MACHINE}-pc-pw32 exit ;; *:Interix*:*) case ${UNAME_MACHINE} in x86) echo i586-pc-interix${UNAME_RELEASE} exit ;; authenticamd | genuineintel | EM64T) echo x86_64-unknown-interix${UNAME_RELEASE} exit ;; IA64) echo ia64-unknown-interix${UNAME_RELEASE} exit ;; esac ;; [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*) echo i${UNAME_MACHINE}-pc-mks exit ;; 8664:Windows_NT:*) echo x86_64-pc-mks exit ;; i*:Windows_NT*:* | Pentium*:Windows_NT*:*) # How do we know it's Interix rather than the generic POSIX subsystem? # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we # UNAME_MACHINE based on the output of uname instead of i386? echo i586-pc-interix exit ;; i*:UWIN*:*) echo ${UNAME_MACHINE}-pc-uwin exit ;; amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*) echo x86_64-unknown-cygwin exit ;; p*:CYGWIN*:*) echo powerpcle-unknown-cygwin exit ;; prep*:SunOS:5.*:*) echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; *:GNU:*:*) # the GNU system echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-${LIBC}`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'` exit ;; *:GNU/*:*:*) # other systems with GNU libc and userland echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-${LIBC} exit ;; i*86:Minix:*:*) echo ${UNAME_MACHINE}-pc-minix exit ;; aarch64:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; aarch64_be:Linux:*:*) UNAME_MACHINE=aarch64_be echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; alpha:Linux:*:*) case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in EV5) UNAME_MACHINE=alphaev5 ;; EV56) UNAME_MACHINE=alphaev56 ;; PCA56) UNAME_MACHINE=alphapca56 ;; PCA57) UNAME_MACHINE=alphapca56 ;; EV6) UNAME_MACHINE=alphaev6 ;; EV67) UNAME_MACHINE=alphaev67 ;; EV68*) UNAME_MACHINE=alphaev68 ;; esac objdump --private-headers /bin/sh | grep -q ld.so.1 if test "$?" = 0 ; then LIBC="gnulibc1" ; fi echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; arc:Linux:*:* | arceb:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; arm*:Linux:*:*) eval $set_cc_for_build if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \ | grep -q __ARM_EABI__ then echo ${UNAME_MACHINE}-unknown-linux-${LIBC} else if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \ | grep -q __ARM_PCS_VFP then echo ${UNAME_MACHINE}-unknown-linux-${LIBC}eabi else echo ${UNAME_MACHINE}-unknown-linux-${LIBC}eabihf fi fi exit ;; avr32*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; cris:Linux:*:*) echo ${UNAME_MACHINE}-axis-linux-${LIBC} exit ;; crisv32:Linux:*:*) echo ${UNAME_MACHINE}-axis-linux-${LIBC} exit ;; frv:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; hexagon:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; i*86:Linux:*:*) echo ${UNAME_MACHINE}-pc-linux-${LIBC} exit ;; ia64:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; m32r*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; m68*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; mips:Linux:*:* | mips64:Linux:*:*) eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #undef CPU #undef ${UNAME_MACHINE} #undef ${UNAME_MACHINE}el #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL) CPU=${UNAME_MACHINE}el #else #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB) CPU=${UNAME_MACHINE} #else CPU= #endif #endif EOF eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'` test x"${CPU}" != x && { echo "${CPU}-unknown-linux-${LIBC}"; exit; } ;; or1k:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; or32:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; padre:Linux:*:*) echo sparc-unknown-linux-${LIBC} exit ;; parisc64:Linux:*:* | hppa64:Linux:*:*) echo hppa64-unknown-linux-${LIBC} exit ;; parisc:Linux:*:* | hppa:Linux:*:*) # Look for CPU level case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in PA7*) echo hppa1.1-unknown-linux-${LIBC} ;; PA8*) echo hppa2.0-unknown-linux-${LIBC} ;; *) echo hppa-unknown-linux-${LIBC} ;; esac exit ;; ppc64:Linux:*:*) echo powerpc64-unknown-linux-${LIBC} exit ;; ppc:Linux:*:*) echo powerpc-unknown-linux-${LIBC} exit ;; ppc64le:Linux:*:*) echo powerpc64le-unknown-linux-${LIBC} exit ;; ppcle:Linux:*:*) echo powerpcle-unknown-linux-${LIBC} exit ;; s390:Linux:*:* | s390x:Linux:*:*) echo ${UNAME_MACHINE}-ibm-linux-${LIBC} exit ;; sh64*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; sh*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; sparc:Linux:*:* | sparc64:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; tile*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; vax:Linux:*:*) echo ${UNAME_MACHINE}-dec-linux-${LIBC} exit ;; x86_64:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; xtensa*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; i*86:DYNIX/ptx:4*:*) # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there. # earlier versions are messed up and put the nodename in both # sysname and nodename. echo i386-sequent-sysv4 exit ;; i*86:UNIX_SV:4.2MP:2.*) # Unixware is an offshoot of SVR4, but it has its own version # number series starting with 2... # I am not positive that other SVR4 systems won't match this, # I just have to hope. -- rms. # Use sysv4.2uw... so that sysv4* matches it. echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION} exit ;; i*86:OS/2:*:*) # If we were able to find `uname', then EMX Unix compatibility # is probably installed. echo ${UNAME_MACHINE}-pc-os2-emx exit ;; i*86:XTS-300:*:STOP) echo ${UNAME_MACHINE}-unknown-stop exit ;; i*86:atheos:*:*) echo ${UNAME_MACHINE}-unknown-atheos exit ;; i*86:syllable:*:*) echo ${UNAME_MACHINE}-pc-syllable exit ;; i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.[02]*:*) echo i386-unknown-lynxos${UNAME_RELEASE} exit ;; i*86:*DOS:*:*) echo ${UNAME_MACHINE}-pc-msdosdjgpp exit ;; i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*) UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'` if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then echo ${UNAME_MACHINE}-univel-sysv${UNAME_REL} else echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL} fi exit ;; i*86:*:5:[678]*) # UnixWare 7.x, OpenUNIX and OpenServer 6. case `/bin/uname -X | grep "^Machine"` in *486*) UNAME_MACHINE=i486 ;; *Pentium) UNAME_MACHINE=i586 ;; *Pent*|*Celeron) UNAME_MACHINE=i686 ;; esac echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION} exit ;; i*86:*:3.2:*) if test -f /usr/options/cb.name; then UNAME_REL=`sed -n 's/.*Version //p' /dev/null >/dev/null ; then UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')` (/bin/uname -X|grep i80486 >/dev/null) && UNAME_MACHINE=i486 (/bin/uname -X|grep '^Machine.*Pentium' >/dev/null) \ && UNAME_MACHINE=i586 (/bin/uname -X|grep '^Machine.*Pent *II' >/dev/null) \ && UNAME_MACHINE=i686 (/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \ && UNAME_MACHINE=i686 echo ${UNAME_MACHINE}-pc-sco$UNAME_REL else echo ${UNAME_MACHINE}-pc-sysv32 fi exit ;; pc:*:*:*) # Left here for compatibility: # uname -m prints for DJGPP always 'pc', but it prints nothing about # the processor, so we play safe by assuming i586. # Note: whatever this is, it MUST be the same as what config.sub # prints for the "djgpp" host, or else GDB configury will decide that # this is a cross-build. echo i586-pc-msdosdjgpp exit ;; Intel:Mach:3*:*) echo i386-pc-mach3 exit ;; paragon:*:*:*) echo i860-intel-osf1 exit ;; i860:*:4.*:*) # i860-SVR4 if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then echo i860-stardent-sysv${UNAME_RELEASE} # Stardent Vistra i860-SVR4 else # Add other i860-SVR4 vendors below as they are discovered. echo i860-unknown-sysv${UNAME_RELEASE} # Unknown i860-SVR4 fi exit ;; mini*:CTIX:SYS*5:*) # "miniframe" echo m68010-convergent-sysv exit ;; mc68k:UNIX:SYSTEM5:3.51m) echo m68k-convergent-sysv exit ;; M680?0:D-NIX:5.3:*) echo m68k-diab-dnix exit ;; M68*:*:R3V[5678]*:*) test -r /sysV68 && { echo 'm68k-motorola-sysv'; exit; } ;; 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) OS_REL='' test -r /etc/.relid \ && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ && { echo i486-ncr-sysv4.3${OS_REL}; exit; } /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;; 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*) /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ && { echo i486-ncr-sysv4; exit; } ;; NCR*:*:4.2:* | MPRAS*:*:4.2:*) OS_REL='.3' test -r /etc/.relid \ && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ && { echo i486-ncr-sysv4.3${OS_REL}; exit; } /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ && { echo i586-ncr-sysv4.3${OS_REL}; exit; } /bin/uname -p 2>/dev/null | /bin/grep pteron >/dev/null \ && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;; m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*) echo m68k-unknown-lynxos${UNAME_RELEASE} exit ;; mc68030:UNIX_System_V:4.*:*) echo m68k-atari-sysv4 exit ;; TSUNAMI:LynxOS:2.*:*) echo sparc-unknown-lynxos${UNAME_RELEASE} exit ;; rs6000:LynxOS:2.*:*) echo rs6000-unknown-lynxos${UNAME_RELEASE} exit ;; PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.[02]*:*) echo powerpc-unknown-lynxos${UNAME_RELEASE} exit ;; SM[BE]S:UNIX_SV:*:*) echo mips-dde-sysv${UNAME_RELEASE} exit ;; RM*:ReliantUNIX-*:*:*) echo mips-sni-sysv4 exit ;; RM*:SINIX-*:*:*) echo mips-sni-sysv4 exit ;; *:SINIX-*:*:*) if uname -p 2>/dev/null >/dev/null ; then UNAME_MACHINE=`(uname -p) 2>/dev/null` echo ${UNAME_MACHINE}-sni-sysv4 else echo ns32k-sni-sysv fi exit ;; PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort # says echo i586-unisys-sysv4 exit ;; *:UNIX_System_V:4*:FTX*) # From Gerald Hewes . # How about differentiating between stratus architectures? -djm echo hppa1.1-stratus-sysv4 exit ;; *:*:*:FTX*) # From seanf@swdc.stratus.com. echo i860-stratus-sysv4 exit ;; i*86:VOS:*:*) # From Paul.Green@stratus.com. echo ${UNAME_MACHINE}-stratus-vos exit ;; *:VOS:*:*) # From Paul.Green@stratus.com. echo hppa1.1-stratus-vos exit ;; mc68*:A/UX:*:*) echo m68k-apple-aux${UNAME_RELEASE} exit ;; news*:NEWS-OS:6*:*) echo mips-sony-newsos6 exit ;; R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*) if [ -d /usr/nec ]; then echo mips-nec-sysv${UNAME_RELEASE} else echo mips-unknown-sysv${UNAME_RELEASE} fi exit ;; BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only. echo powerpc-be-beos exit ;; BeMac:BeOS:*:*) # BeOS running on Mac or Mac clone, PPC only. echo powerpc-apple-beos exit ;; BePC:BeOS:*:*) # BeOS running on Intel PC compatible. echo i586-pc-beos exit ;; BePC:Haiku:*:*) # Haiku running on Intel PC compatible. echo i586-pc-haiku exit ;; x86_64:Haiku:*:*) echo x86_64-unknown-haiku exit ;; SX-4:SUPER-UX:*:*) echo sx4-nec-superux${UNAME_RELEASE} exit ;; SX-5:SUPER-UX:*:*) echo sx5-nec-superux${UNAME_RELEASE} exit ;; SX-6:SUPER-UX:*:*) echo sx6-nec-superux${UNAME_RELEASE} exit ;; SX-7:SUPER-UX:*:*) echo sx7-nec-superux${UNAME_RELEASE} exit ;; SX-8:SUPER-UX:*:*) echo sx8-nec-superux${UNAME_RELEASE} exit ;; SX-8R:SUPER-UX:*:*) echo sx8r-nec-superux${UNAME_RELEASE} exit ;; Power*:Rhapsody:*:*) echo powerpc-apple-rhapsody${UNAME_RELEASE} exit ;; *:Rhapsody:*:*) echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE} exit ;; *:Darwin:*:*) UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown eval $set_cc_for_build if test "$UNAME_PROCESSOR" = unknown ; then UNAME_PROCESSOR=powerpc fi if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \ (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \ grep IS_64BIT_ARCH >/dev/null then case $UNAME_PROCESSOR in i386) UNAME_PROCESSOR=x86_64 ;; powerpc) UNAME_PROCESSOR=powerpc64 ;; esac fi fi echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE} exit ;; *:procnto*:*:* | *:QNX:[0123456789]*:*) UNAME_PROCESSOR=`uname -p` if test "$UNAME_PROCESSOR" = "x86"; then UNAME_PROCESSOR=i386 UNAME_MACHINE=pc fi echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE} exit ;; *:QNX:*:4*) echo i386-pc-qnx exit ;; NEO-?:NONSTOP_KERNEL:*:*) echo neo-tandem-nsk${UNAME_RELEASE} exit ;; NSE-*:NONSTOP_KERNEL:*:*) echo nse-tandem-nsk${UNAME_RELEASE} exit ;; NSR-?:NONSTOP_KERNEL:*:*) echo nsr-tandem-nsk${UNAME_RELEASE} exit ;; *:NonStop-UX:*:*) echo mips-compaq-nonstopux exit ;; BS2000:POSIX*:*:*) echo bs2000-siemens-sysv exit ;; DS/*:UNIX_System_V:*:*) echo ${UNAME_MACHINE}-${UNAME_SYSTEM}-${UNAME_RELEASE} exit ;; *:Plan9:*:*) # "uname -m" is not consistent, so use $cputype instead. 386 # is converted to i386 for consistency with other x86 # operating systems. if test "$cputype" = "386"; then UNAME_MACHINE=i386 else UNAME_MACHINE="$cputype" fi echo ${UNAME_MACHINE}-unknown-plan9 exit ;; *:TOPS-10:*:*) echo pdp10-unknown-tops10 exit ;; *:TENEX:*:*) echo pdp10-unknown-tenex exit ;; KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*) echo pdp10-dec-tops20 exit ;; XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*) echo pdp10-xkl-tops20 exit ;; *:TOPS-20:*:*) echo pdp10-unknown-tops20 exit ;; *:ITS:*:*) echo pdp10-unknown-its exit ;; SEI:*:*:SEIUX) echo mips-sei-seiux${UNAME_RELEASE} exit ;; *:DragonFly:*:*) echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` exit ;; *:*VMS:*:*) UNAME_MACHINE=`(uname -p) 2>/dev/null` case "${UNAME_MACHINE}" in A*) echo alpha-dec-vms ; exit ;; I*) echo ia64-dec-vms ; exit ;; V*) echo vax-dec-vms ; exit ;; esac ;; *:XENIX:*:SysV) echo i386-pc-xenix exit ;; i*86:skyos:*:*) echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE}` | sed -e 's/ .*$//' exit ;; i*86:rdos:*:*) echo ${UNAME_MACHINE}-pc-rdos exit ;; i*86:AROS:*:*) echo ${UNAME_MACHINE}-pc-aros exit ;; x86_64:VMkernel:*:*) echo ${UNAME_MACHINE}-unknown-esx exit ;; esac eval $set_cc_for_build cat >$dummy.c < # include #endif main () { #if defined (sony) #if defined (MIPSEB) /* BFD wants "bsd" instead of "newsos". Perhaps BFD should be changed, I don't know.... */ printf ("mips-sony-bsd\n"); exit (0); #else #include printf ("m68k-sony-newsos%s\n", #ifdef NEWSOS4 "4" #else "" #endif ); exit (0); #endif #endif #if defined (__arm) && defined (__acorn) && defined (__unix) printf ("arm-acorn-riscix\n"); exit (0); #endif #if defined (hp300) && !defined (hpux) printf ("m68k-hp-bsd\n"); exit (0); #endif #if defined (NeXT) #if !defined (__ARCHITECTURE__) #define __ARCHITECTURE__ "m68k" #endif int version; version=`(hostinfo | sed -n 's/.*NeXT Mach \([0-9]*\).*/\1/p') 2>/dev/null`; if (version < 4) printf ("%s-next-nextstep%d\n", __ARCHITECTURE__, version); else printf ("%s-next-openstep%d\n", __ARCHITECTURE__, version); exit (0); #endif #if defined (MULTIMAX) || defined (n16) #if defined (UMAXV) printf ("ns32k-encore-sysv\n"); exit (0); #else #if defined (CMU) printf ("ns32k-encore-mach\n"); exit (0); #else printf ("ns32k-encore-bsd\n"); exit (0); #endif #endif #endif #if defined (__386BSD__) printf ("i386-pc-bsd\n"); exit (0); #endif #if defined (sequent) #if defined (i386) printf ("i386-sequent-dynix\n"); exit (0); #endif #if defined (ns32000) printf ("ns32k-sequent-dynix\n"); exit (0); #endif #endif #if defined (_SEQUENT_) struct utsname un; uname(&un); if (strncmp(un.version, "V2", 2) == 0) { printf ("i386-sequent-ptx2\n"); exit (0); } if (strncmp(un.version, "V1", 2) == 0) { /* XXX is V1 correct? */ printf ("i386-sequent-ptx1\n"); exit (0); } printf ("i386-sequent-ptx\n"); exit (0); #endif #if defined (vax) # if !defined (ultrix) # include # if defined (BSD) # if BSD == 43 printf ("vax-dec-bsd4.3\n"); exit (0); # else # if BSD == 199006 printf ("vax-dec-bsd4.3reno\n"); exit (0); # else printf ("vax-dec-bsd\n"); exit (0); # endif # endif # else printf ("vax-dec-bsd\n"); exit (0); # endif # else printf ("vax-dec-ultrix\n"); exit (0); # endif #endif #if defined (alliant) && defined (i860) printf ("i860-alliant-bsd\n"); exit (0); #endif exit (1); } EOF $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && SYSTEM_NAME=`$dummy` && { echo "$SYSTEM_NAME"; exit; } # Apollos put the system type in the environment. test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit; } # Convex versions that predate uname can use getsysinfo(1) if [ -x /usr/convex/getsysinfo ] then case `getsysinfo -f cpu_type` in c1*) echo c1-convex-bsd exit ;; c2*) if getsysinfo -f scalar_acc then echo c32-convex-bsd else echo c2-convex-bsd fi exit ;; c34*) echo c34-convex-bsd exit ;; c38*) echo c38-convex-bsd exit ;; c4*) echo c4-convex-bsd exit ;; esac fi cat >&2 < in order to provide the needed information to handle your system. config.guess timestamp = $timestamp uname -m = `(uname -m) 2>/dev/null || echo unknown` uname -r = `(uname -r) 2>/dev/null || echo unknown` uname -s = `(uname -s) 2>/dev/null || echo unknown` uname -v = `(uname -v) 2>/dev/null || echo unknown` /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null` /bin/uname -X = `(/bin/uname -X) 2>/dev/null` hostinfo = `(hostinfo) 2>/dev/null` /bin/universe = `(/bin/universe) 2>/dev/null` /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null` /bin/arch = `(/bin/arch) 2>/dev/null` /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null` /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null` UNAME_MACHINE = ${UNAME_MACHINE} UNAME_RELEASE = ${UNAME_RELEASE} UNAME_SYSTEM = ${UNAME_SYSTEM} UNAME_VERSION = ${UNAME_VERSION} EOF exit 1 # Local variables: # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "timestamp='" # time-stamp-format: "%:y-%02m-%02d" # time-stamp-end: "'" # End: autotools-dev-20130810.1/Makefile0000644000000000000000000000021712201430542013235 0ustar all: check: check-guess check-sub check-guess: cd testsuite && sh config-guess.sh && rm uname check-sub: cd testsuite && sh config-sub.sh autotools-dev-20130810.1/ChangeLog0000644000000000000000000023771112201430542013362 0ustar 2013-08-10 Earnie Boyd Ben Elliston * config.sub (mingw32, msys): Default basic_machine to i686. * testsuite/config-sub.data: Add test cases. 2013-08-08 Luis Machado * config.sub (c8051): New. * testsuite/config-sub.data: Add testcases for c8051. 2013-06-08 Basil Peace * testsuite/config-guess.sh: Insert a shebang for /bin/sh into the generated uname script. 2013-06-06 Anton Blanchard * config.guess (ppc64le:Linux:*:*, ppcle:Linux:*:*): New. 2013-05-16 Mike Frysinger * config.guess (s390:Linux:*:*|s390x:Linux:*:*): s390 targets include "-gnu" suffixes like other Linux targets (and "-uclibc" with uclibc targets). 2013-05-16 Mike Frysinger * config.guess: Hoist C library detection code up to a common location so all Linux targets can use it. 2013-05-16 Torsten Maehne * config.guess (*:Darwin:*:*): Check for powerpc64. 2013-04-24 Mischa Jonker * config.sub (arceb): New. * config.guess (arc:Linux:*:*, arceb:Linux:*:*): New. * testsuite/config-guess.data: Add test cases. * testsuite/config-sub.data: Add test cases. 2013-04-24 Jim Pryor * config.guess (i*86:Linux:*:*): Test for uClibc. 2013-04-24 Jim Pryor * config.guess (x86_64:Linux:*:*): Test for uClibc. 2013-02-12 Christian Svensson * config.guess (or1k:Linux:*:*): New. * config.sub (or1k): Likewise. * testsuite/config-guess.data: Test for or1k:Linux. * testsuite/config-sub.data: Tests for or1k-linux, or1k-elf. 2013-02-04 Ben Elliston * config.guess: Contract the list of copyright years into the range 1992-2013. Remove "(C)" character sequence from copyright statements. Per http://www.gnu.org/licenses/gpl-howto.html. * config.sub: Likewise. 2013-01-23 Sandra Loosemore * config.sub (nios2eb, nios2el): New. * testsuite/config-sub.data: Add test cases. 2013-01-11 Juergen Urban * config.sub (mips5900, mipsr5900el): New. * testsuite/config-sub.data: Add test cases. 2013-01-04 Jens Staal Ben Elliston * config.sub (plan9): New. * testsuite/config-sub.data: Add a test case. 2012-12-31 Uwe Stieber * config.sub (kaos*): Remove. 2012-12-29 Ben Elliston * config.guess: Bring up to GPLv3. * config.sub: Likewise. 2012-12-23 Ben Elliston * config.guess: Update copyright years. * config.sub: Likewise. 2012-12-06 Leif Ekblad * config.sub (rdos): Expand to x86_64-pc-rdos. (rdos32, rdos64): New. 2012-11-11 Mike Frysinger * Makefile (check-guess, check-sub): New targets. (check): Depend on check-guess and check-sub. 2012-11-11 Mike Frysinger * config.sub (arm): Handle armv6/armv7/armv8 targets. * testsuite/config-sub.data: Add test cases. 2012-10-10 David Holsgrove * config.sub (microblazeel): New. * testsuite/config-sub.data: Add a test case. 2012-09-25 Theo Markettos * config.guess (arm:*:riscos:*): Allow arm*. * testsuite/config-guess.data: Add a test case. 2012-08-18 Anthony G. Basile * config.sub (linux-musl*): New. * testsuite/config-sub.data: Add a test case. 2012-08-14 Alex Smith * config.guess (x86_64:Haiku:*:*): New. * testsuite/config-guess.data: Add a test case. 2012-07-31 Ben Elliston * testsuite/config-guess.sh: Don't export PATH. 2012-07-31 Earnie Boyd Ben Elliston * config.guess (*:MINGW64*:*): New. * config.sub (mingw64): Likewise. * testsuite/config-guess.data: Add a test case. * testsuite/config-sub.data: Likewise. 2012-07-30 Ben Elliston * testsuite/config-guess.sh: Incorporate uname.in as a heredoc. * testsuite/uname.in: Remove. 2012-07-29 Ben Elliston * uname: Remove. 2012-07-29 Ben Elliston * config.guess: Remove commented code, circa 1994. 2012-06-17 David Hill * config.guess (*:Bitrig:*:*): New. * config.sub (-bitrig*): Likewise. * testsuite/config-sub.data: Add a test case. 2012-06-10 Dmitriy Fedchenko Ben Elliston * config.guess (NSE-?:NONSTOP_KERNEL:*:*): Match NSE-* as the substring can be longer than one character. * testsuite/config-guess.data: Add a new test case. 2012-05-24 Joe Seymour * config.sub (hexagon): Set default operating system to elf. * testsuite/config-sub.data: Change "hexagon" mapping to hexagon-unknown-elf. 2012-04-18 Joel Brobecker * config.sub (*-lynx*178, *-lynx*5): New. * testsuite/config-sub.data: Add powerpc-elf-lynxos, powerpc-elf-lynxos5, powerpc-xcoff-lynxos178 testing. 2012-02-14 Marcus Shawcroft * config.guess (aarch64:Linux:*:*, aarch64_be:Linux:*:*): New. * config.sub (aarch64-*, aarch64_be-*): New. * testsuite/config-sub.data: Add aarch64-elf, aarch64-linux aarch64-unknown-elf, aarch64-unknown-linux, aarch64_be-elf, aarch64_be-linux, aarch64_be-unknown-elf, aarch64_be-unknown-linux. * testsuite/config-guess.data: Add aarch64, aarch64_be. 2012-02-10 Paul Eggert Fix incorrect FSF snail mail addresses. * config.guess, config.sub: Replace (slightly wrong) snail mail addresses with a URL, as per current GNU coding standards. See . 2012-02-10 Ben Elliston Reported by thom.fitzpatrick@hp.com. * config.guess (x86_64:VMkernel:*:*): New. * testsuite/config-guess.data: Add test case. 2012-01-28 Bruno Haible Ben Elliston * config.guess: Canonicalize CPU-android-linux to CPU-unknown- linux-android. * testsuite/config-sub.data: Add test cases. 2012-01-28 Sean Keys Ben Elliston * config.sub: Add xgate (Freescale XGATE processor) and m68hcs12x. * testsuite/config-sub.data: Add a test case. 2012-01-01 Ben Elliston * config.guess: Update copyright years. * config.sub: Likewise. 2011-12-30 Ben Elliston * config.sub: Remove some comments (over 10 years old) that are either now resolved or completely irrelevant. 2011-12-30 Paul Eggert * config.guess: Fix a minor misspelling ("tupples"). 2011-12-29 Ben Elliston * config.guess (cris:Linux:*:*): Replace fixed CPU name in the triplet with ${UNAME_MACHINE}, as it is identical. (crisv32:Linux:*:*): Likewise. (frv:Linux:*:*): Likewise. (hexagon:Linux:*:*): Likewise. (or32:Linux:*:*): Likewise. (x86_64:Linux:*:*): Likewise. * testsuite/config-guess.data: Add some missing GNU/Linux tests. 2011-12-29 Ben Elliston * Makefile (check): Test config.guess before config.sub. * testsuite/config-guess.data: Sort. 2011-11-11 Charles Wilson * config.guess (i*:MSYS*:*): New. * config.sub: Recognize -msys*. * testsuite/config-guess.data: Add test case. 2011-10-29 DJ Delorie * config.sub (rl78): New. * testsuite/config-sub.data: Add new tests. 2011-10-08 Joern Rennecke Ben Elliston * config.sub (epiphany): New. * testsuite/config-sub.data: Add new tests. 2011-10-01 Linas Vepstas Ben Elliston * config.guess (hexagon:Linux:*:*): New. * testsuite/config-guess.data: Add a test case. 2011-09-09 Linas Vepstas Ben Elliston * config.sub (hexagon, hexagon-*): New. * testsuite/config-sub.data: Add test cases. 2011-08-23 Roland McGrath * config.sub: Rename 32eb to be32, 32el to le32, 64el to le64, and 64eb to be64. * testsuite/config-sub.data: Adjust test cases. 2011-08-20 Ben Elliston * config.guess (*:FreeBSD:*:*): Switch on ${UNAME_PROCESSOR}. * testsuite/config-guess.data: Remove hard to test FreeBSD cases. 2011-08-16 Roland McGrath * config.sub (32eb, 32el, 64eb, 64el): New (pseudo-)CPUs. (nacl): Grok as alias for 32el-unknown-nacl. * testsuite/config.sub: Add tests for those cases. 2011-08-14 Ben Elliston * testsuite/config-sub.data: Sort. 2011-06-03 Nick Clifton Ben Elliston * config.sub (v850e1, v850es, v850e2, v850e2v3): New. * testsuite/config-sub.data: Add tests for all V850 variants. 2011-05-30 Chris Metcalf Ben Elliston * config.guess (tile*:Linux:*:*): Use vendor "unknown", not "tilera", for consistency with other architectures. * config.sub (tile*-*, tilegx-*): Use a more general pattern for "tile" to allow matching tilepro, tilegx32 and other variants. * testsuite/config-guess.data: Update tests. * testsuite/config-sub.data: Likewise. 2011-05-11 Hector Oron Konstantinos Margaritis * config.guess (arm*:Linux:*:*): Add support for gnueabihf. 2011-03-31 Kirk Hays Ben Elliston * config.sub: Add configuration support for Open8 MCU softcore. * testsuite/config-sub.data: Add some simple test cases. 2011-03-23 Joseph Myers * config.sub: Map ppcbe to powerpc. * testsuite/config-sub.data: Add test cases. 2011-03-23 Joseph Myers * config.sub: Map strongarm-*, thumb-* and xscale*-* to corresponding arm targets. * testsuite/config-sub.data: Add test cases. 2011-02-24 Jason Jacques * config.sub (version): Bump copyright years. 2011-02-02 Ben Elliston Paul Eggert * config.guess, config.sub, testsuite/config-sub.data: Eliminate whitespace issues throughout (as found by M-x whitespace-report). Jim Meyering reports that git am complains about spaces before tabs in the Emacs source code. 2011-01-23 Ralf Wildenhues * config.guess (version): Bump copyright years. (alpha:OSF1:*:*): Reset EXIT trap before exiting to avoid a spurious non-zero exit status on alphaev67-dec-osf5.1. 2011-01-01 Ben Elliston * config.guess: Update copyright years. * config.sub: Likewise. 2010-12-26 Ben Elliston Revert due to problems with the Tru64 shell. From Urs Jan?en. 2010-04-03 Wolfram Sang * config.guess: Use signal names instead of numbers with trap. 2010-12-11 Masaki Muranaka * config.sub: Accept cr16-*-elf. * testsuite/config-sub.data: Add test cases. 2010-09-24 Ben Elliston From Joachim Schmitz : * config.guess (NEO-?:NONSTOP_KERNEL:*:*): New. * testsuite/config-guess.data: Add test cases. 2010-09-11 Ben Elliston From Joachim Schmitz : * config.sub (neo-tandem, nse-tandem): New. 2010-09-07 Ben Elliston From Macpaul Lin . * config.sub (nds32, nds32le, nds32be): New. * testsuite/config-sub.data: Add test cases. 2010-08-21 Ben Elliston From Chris Metcalf . * config.guess (tile*:Linux:*:*): New. * testsuite/config-guess.data: Add a test case. 2010-07-29 Ben Elliston Patch from Rainer Tammer : * config.guess (*:AIX:*:[4567]): Handle AIX 7.x. 2010-05-20 Maxim Kuvyrkov * config.sub: Recognize *-linux-android*. 2010-04-03 Wolfram Sang * config.guess: Use signal names instead of numbers with trap. 2010-03-23 Joseph Myers * config.sub: Always map c54x-*, c55x-* and c6x-* to corresponding tic54x, tic55x and tic6x names. Only use -coff as a default OS if no OS specified. * testsuite/config-sub.data: Add test cases. 2010-01-22 Chris Metcalf Ben Elliston * config.sub: Handle tilegx-*. * testsuite/config-sub.data: Add a test. 2009-12-31 David Barksdale Ben Elliston * config.sub (os): Handle nacl. * testsuite/config-sub.data: Add a test case. 2009-12-30 Ben Elliston * config.sub (version): Add 2010. * config.guess (version): Likewise. 2009-12-16 Ben Elliston * testsuite/config-guess.sh: Simplify some shell logic. * testsuite/config-sub.sh: Likewise. 2009-12-13 Alfred M. Szmidt * config.sub (version): Add the year 2009. * config.guess (version): Likewise. 2009-11-20 Edward O'Callaghan Ben Elliston * config.guess (i86pc:AuroraUX:5.*:*): New. (i86xen:AuroraUX:5.*:*): Likewise. * config.sub (-auroraux, -auroraux*): New. * testsuite/config-guess.data: Add test cases. * testsuite/config-sub.data: Likewise. 2009-11-19 Ben Elliston * config.guess (i*86:Linux:*:*): Reintroduce dietlibc detection. (mips:Linux:*:* | mips64:Linux:*:*): Simplfy with grep, not sed, to pull CPU= lines from the preprocessor output. 2009-11-08 Jerker Bäck Ben Elliston * config.guess (*:Interix*:*): Allow any uname -r value so that Interix 2.* is detected. 2009-11-07 Yakup Akbay Ben Elliston * config.sub: Handle ubicom32, ubicom32-*. * testsuite/config-sub.data: Add a test case. 2009-10-07 Shiki Okasaka Ben Elliston * config.sub (-es*): Recognize the ES operating system. * testsuite/config-sub.data: Add a test case. 2009-09-25 Hariharan Sandanagobalane Ben Elliston * config.sub: Add support for Picochip. * testsuite/config-sub.data: Add test cases. 2009-09-23 Nick Clifton Ben Elliston * config.sub: Add support for RX. * testsuite/config-sub.data: Add two test cases for RX. 2009-09-18 Jack Howarth * config.guess (*:Darwin:*:*): Handle 64-bit compilers on i386. 2009-09-18 Ben Elliston * config.guess (i*86:Linux:*:*): Remove checks for whether the default compiler produces a.out binaries. For all i*86 GNU/Linux systems, the triplet guess is now ${UNAME_MACHINE}-pc-linux-gnu. 2009-09-18 Ben Elliston * config.guess (*:Linux:*:*): Reorder the Linux architectures so that 'grep :Linux:' matches 'grep :Linux: | sort'. 2009-09-16 Ben Elliston * testsuite/config-guess.data: Remove i86xen and i86pc Solaris tests as these triplet checks depend on the system C compiler. Reported by Mike Frysinger. 2009-08-19 Ben Elliston * config.guess: Document where to get the latest version from. * config.sub: Likewise. 2009-08-17 Ben Elliston * Makefile (UPLOAD, upload): Remove variable and target. (all): Make this a dummy target. 2009-08-17 Michael Eager * config.sub: Add Microblaze aliases. * testsuite/config-sub.data: Add test cases. 2009-06-11 Steven G. Johnson Ben Elliston * config.sub (bluegene, -bluegene, -cnk*): New CNK aliases. * testsuite/config-sub.data: Add test cases. 2009-06-09 Olli Savia Ben Elliston * config.guess: Add detection for LynxOS 4.2. * testsuite/config-guess.data: Add a test case. 2009-06-09 Ben Elliston * config.guess (*:NetBSD:*:*): Use grep -q, which is supported on this host, instead of the less tidy grep > /dev/null. (9000/[34678]??:HP-UX:*:*): Likewise. (alpha:Linux:*:*): Likewise. 2009-06-02 Ben Elliston * config.guess: Factor mips:Linux:*:* and mips64:Linux:*:*. 2009-06-02 Ben Elliston * config.guess: Drop detection for i386-pc-linux-gnuaout on systems with the a.out executable format. "Here's 5c, kid". 2009-06-02 Ben Elliston * config.guess: Drop detection for i386-pc-linux-gnuoldld on systems with a pre-BFD linker. "Here's 5c, kid." 2009-06-01 Ben Elliston Reported by bob.strahan@hp.com. * config.guess (8664:Windows_NT:*): MKS on x86-64 machines. * testsuite/config-guess.data: Add a test case. 2009-04-27 Neale Ferguson Ben Elliston * config.guess (s390x:SunOS:*:*): Add s390x-ibm-solaris*. * testsuite/config-guess.data: Add a test case. 2009-04-17 Eli Zaretskii * config.guess (pc:*:*:*): Return i586-pc-msdosdjgpp, for consistency with config.sub. * testsuite/config-guess.data: Add a test case. 2009-04-17 Anthony Green Ben Elliston * config.sub: Handle moxie. * testsuite/config-sub.data: New test case. 2009-02-03 Ben Elliston Report from Przemyslaw Szczygielski. * config.guess (i*86:AROS:*:*): Detect AROS. * config.sub (aros, aros-*): Handle these. * testsuite/config-guess.data: Add test cases. * testsuite/config-sub.data: Likewise. 2009-01-19 Robert Millan * config.sub: Handle -kopensolaris*. * testsuite/config-guess.data: Add test case. * testsuite/config-sub.data: Likewise. 2008-12-19 Ben Elliston * config.guess (NCR*:*:4.2:*, MPRAS*:*:4.2:*): Add detection for NCR MPRAS. From Lucas Silacci . 2008-12-18 Ben Elliston * config.guess (i86pc:SunOS:5.*:*, i86xen:SunOS:5.*:*): Remove the need for /usr/bin/echo by improving shell portability. Thanks to Ralf Wildenhues for the suggestion. 2008-12-11 Ben Elliston * config.guess (i86pc:SunOS:5.*:*, i86xen:SunOS:5.*:*): The full path to /usr/bin/echo is necessary to work around the shell builtins for echo that do not handle newlines. From Ali Bahrami. 2008-12-11 Joel Sherrill * config.sub (lm32): New. * testsuite/config-sub.data: Add a test case. 2008-12-09 Kieran Bingham Ben Elliston * config.sub (sh[24]aeb): Handle big endian variants. * testsuite/config-sub.data: Add test cases. 2008-11-16 Ben Elliston * config.guess (i86pc:SunOS:5.*:*, i86xen:SunOS:5.*:*): No need to invoke echo as /usr/bin/echo; we've never done it this way before. * testsuite/config-guess.data: Add powerpc-unknown-linux-gnu case. 2008-11-15 Ali Bahrami Ben Elliston * config.guess: Add support for detecting x86_64 Solaris. * testsuite/config-guess.data: Add a previously missing test case for i86pc SunOS. 2008-09-28 Ben Elliston Dann Corbit * config.guess (*:Interix*:[3456]*): Handle "genuineintel". * testsuite/config-guess.data: Add a test case. 2008-09-28 Ben Elliston From boris.seve@drillscan.com. * config.guess (padre:Linux:*:*): New. * testsuite/config-guess.data: Add a test case. 2008-09-08 Alan Modra Ben Elliston * config.sub (z80, z80-*): Handle. * testsuite/config-sub.data: Add a test case. 2008-06-16 Ben Elliston * testsuite/config-sub.data: Strip stray whitespace. 2008-06-16 Vincent Torri Ben Elliston * config.sub (cegcc, -cegcc*): New. * testsuite/config-sub.data: Add test cases. 2008-04-14 Pedro Alves * config.sub (dicos): New. * testsuite/config-sub.data: Add test cases. 2008-04-08 Ben Elliston * config.guess (i*86:Linux:*:*): Remove handling of i386-coff ld. 2008-03-26 Will Newton * config.sub: Add metag-*. * testsuite/config-sub.data: Add test for metag. 2008-03-12 Alexander Deynichenko Ben Elliston * config.guess (BePC:Haiku*:*): New. * testsuite/config-guess.data: Add test case. 2008-03-08 Ben Elliston From Chris Metcalf : * config.sub: Handle tile-*. * testsuite/config-sub.data: Add a test. 2008-02-05 Adam Nemet Ben Elliston * config.sub (mips64octeon, mips64octeonel): New machines. * testsuite/config-sub.data: Add test cases. 2008-02-05 Ben Elliston * config.sub (mips64r5900, mips64r5900el): New machines. * testsuite/config-sub.data: Add test cases. 2008-01-23 Ben Elliston * config.guess: Update URL for script location. 2008-01-16 Chris Metcalf Ben Elliston * config.sub (tile*): New. * testsuite/config-sub.data: Add test cases. 2008-01-08 Ben Elliston * config.guess: Update copyright years in version output. * config.sub: Likewise. 2008-01-07 Ralf Wildenhues * config.guess (*:AIX:*:[4-9]): Accept UNAME_VERSIONs > 5, for AIX 6.1. Reported by Rainer Tammer . 2007-12-12 Ben Elliston * config.guess (*:Interix*:[3456]*): Handle IA64 ${UNAME_MACHINE}. Return ia64-unknown-interix${UNAME_RELEASE}. * testsuite/config-guess.data: Add a test case. 2007-12-05 Lennert Buytenhek * config.guess (arm*:Linux:*:*): Determine ABI in use. 2007-12-05 Steve Kenton Ben Elliston * config.sub (blackfin, blackfin-*, m68knommu, m68knommu-*, parisc, parisc-*): New Linux-specific aliases for conformity with Linux architecture names. * testsuite/config-sub.data: Add test cases. 2007-11-19 Marc Gauthier * config.guess (xtensa*:Linux:*:*): Accept variants. * config.sub (xtensa*): Accept variants. * testsuite/config-sub.data: Add test case. 2007-07-25 Mike Frysinger * testsuite/config-guess.sh (run_config_guess): Do not prefix with "function" as this is not permitted by POSIX. * testsuite/config-sub.sh (run_config_sub): Likewise. 2007-07-24 Ben Elliston * config.guess: Remove trailing whitespace. 2007-07-22 Ben Elliston Reported by Luke Mewburn : * config.guess: Fix typo ix86xen -> i86xen. 2007-06-28 Ben Elliston From M R Swami Reddy : * config.sub: Rename cr16c to cr16. 2007-05-17 Ben Elliston From Luke Mewburn : * config.guess (i86xen:SunOS:5.*:*): New. * testsuite/config-guess.data: Add test case. 2007-04-29 Ben Elliston From Pedro Alves : * config.sub (mingw32ce): New. * testsuite/config-sub.data: Add test cases. 2007-03-06 Ben Elliston * config.guess (*:Interix*:[3456]*): Consolidate all machine possibilities into a single entry with a case statement that examines ${UNAME_MACHINE}. Suggested by . 2007-01-18 Ben Elliston * testsuite/config-sub.data: Add MeP test cases. From Dave Brolley 2001-03-19 Ben Elliston * config.sub (mep, mep-*): Add. 2007-01-15 Ben Elliston * config.guess (SX-8R:SUPER-UX:*:*): New. * testsuite/config-guess.data: Add a test case. 2007-01-04 Ben Elliston From Alexander Boettcher via Dalibor Topic: * config.sub: Recognise -drops*. * testsuite/config-sub.data: Add a test. 2006-12-22 Ben Elliston * config.guess (i*:MINGW:*:*): Rename from this .. (*:MINGW:*:*): .. to this. * testsuite/config-guess.data: Add test cases. 2006-12-08 Bob Wilson * config.guess (xtensa:Linux:*:*): New. * testsuite/config-guess.data: Add test case. * testsuite/config-sub.data: Add xtensa-elf and xtensa-linux. 2006-12-08 Kazu Hirata Ben Elliston * config.sub: Recognize fido and fido-*. * testsuite/config-sub.data: Add test cases. 2006-11-30 Ben Elliston * config.guess (SX-7:SUPER-UX:*:*): New. * testsuite/config-guess.data: Add test case. 2006-11-15 Ben Elliston From Josselin Mouette : * config.guess (SX-8:SUPER-UX:*:*): New. * testsuite/config-guess.data: Add test case. 2006-11-08 Ben Elliston * config.guess (authenticamd:Interix*:[3456]*): Another AMD64. * testsuite/config-guess.data: Add test case. 2006-11-07 Steve Woodford Ben Elliston * config.guess (*:NetBSD:*:*): Handle sh5el arch. * config.sub (sh5el): New basic_machine. * testsuite/config-sub.data: Add test cases. 2006-09-20 Ben Elliston * config.sub (score, score-*): New. * testsuite/config-sub.data: Add test cases. 2006-08-14 Thiemo Seufer Nigel Stephens David Ung * config.sub (sde): New. * testsuite/config-sub.data: Add test cases. 2006-08-14 Vijay K. Munjal * config.sub (xc16x, xc16x-*): New. * testsuite/config-sub.data: Add test cases. 2006-07-02 Masaki MURANAKA * config.sub (toppers-*): New. * testsuite/config-sub.data: Add test case. 2006-07-02 Ben Elliston * config.guess (macppc:MirBSD:*:*): Fix typo. * testsuite/config-guess.data: Add test case. 2006-07-02 Ben Elliston * config.guess: Handle Interix 6. * testsuite/config-guess.data: Add test case. 2006-06-06 Ben Elliston From H??vard Skinnemoen : * config.guess (avr32*:Linux:*:*): New. * config.sub (avr32, avr32-*): Likewise. * testsuite/config-guess.data: Add test case. * testsuite/config-sub.data: Likewise. 2006-05-13 Ben Elliston * config.sub: Specify -elf as the default OS for spu. (c4x-* | tic4x-*): Tidy formatting. * testsuite/config-sub.data: Update tests. 2006-05-13 Bruno Haible * config.guess: Change support for Sun C/C++ 5.9 on Linux/x86 to use compiler-specific predefines other than __sun. 2006-05-12 Ben Elliston * config.sub (spu): New. * testsuite/config-sub.data: Add test case. 2006-05-12 Ben Elliston * config.sub (m32c, m32c-*): Fold into the standard case. 2006-04-26 Bruno Haible Ben Elliston * config.guess (amd64:FreeBSD:*:*) Detect as x86_64. * testsuite/config-guess.data: Add test case. 2006-03-13 Ben Elliston Revert these patches at Earnie Boyd's request: * testsuite/config-guess.data: Tweak MSYS_NT-5.1 test. * config.guess: Handle i*:MSYS_NT-*:*:* for MSYS/Mingw. * testsuite/config-guess.data: Add test case. 2006-03-07 Mike Frysinger * config.sub (sheb, sheb-*): Handle these in addition to shbe. * testsuite/config-sub.data: Add test case. 2006-03-06 Ben Elliston * uname: Exit with exit code 0. 2006-02-27 David S. Miller Ben Elliston * config.sub (sparcv9v, sparc64v): Recognise SUN4V-based SPARCs. * testsuite/config-sub.data: Add test cases. 2006-02-27 Ben Elliston * config.guess, config.sub: Add 2006 to copyright years. 2006-02-23 Ben Elliston * config.guess (EM64T:Interix:*:*): New case. * testsuite/config-guess.data: Add test case. 2006-02-23 Mike Frysinger * config.sub (nios, nios2): New. * testsuite/config-sub.data: Add test cases. 2006-02-23 Ben Elliston * config.guess (x86:Interix*:[345]*): Retain full Interix version. * testsuite/config-guess.data: Update Interix test(s). 2006-02-23 Ben Elliston * testsuite/config-guess.data: Tweak MSYS_NT-5.1 test. 2006-02-23 Dan Nicolaescu * config.guess (i*86:Linux:*:*): Recognise the Sun Studio compiler by handling #if defined(__sun). 2006-02-23 Ben Elliston * config.guess: Handle i*:MSYS_NT-*:*:* for MSYS/Mingw. * testsuite/config-guess.data: Add test case. 2006-01-30 Ralf Wildenhues * config.guess: Don't use semicolons to separate sed commands, as POSIX says it's not portable. Noted by Paul Eggert . 2006-01-30 Ralf Wildenhues * config.guess (set_cc_for_build): Do not pass `-q' to mktemp. Reported by Bruce Korb . 2006-01-19 Robert Millan * testsuite/config-guess.data: Add test case for GNU/kFreeBSD. * testsuite/config-sub.data: Add test case for amd64-kfreebsd5.4-gnu. 2006-01-02 Ben Elliston * config.guess (*:SolidBSD:*:*): New. * config.sub (-solidbsd*): New. * testsuite/config-guess.data: Add test case. * testsuite/config-sub.data: Ditto. 2005-12-23 Ben Elliston From Takahashi Yoshihiro : * config.guess (pc98:FreeBSD:*:*) Add special case. * config.sub (pc98, pc98-*): New. * testsuite/config-guess.data: Add test case. * testsuite/config-sub.data: Ditto. 2005-12-22 Ben Elliston From John Williams : * config.sub (mb, microblaze): New basic_machine. * testsuite/config-sub.data: New tests. 2005-12-13 Ralf Wildenhues * config.guess (mips:Linux:*:*, mips64:Linux:*:*, i*86:Linux:*:*): Fix quoting of eval command line, allow for preprocessor to insert white space between C tokens. (i*86:Linux:*:*): Handle Portland Group pgcc like Intel icc; it doesn't define __ELF__ either. 2005-12-11 Ben Elliston From Shaun Jackman : * config.sub: Add the KERNEL-OS combination linux-newlib*. * testsuite/config-sub.data: Add a test for i386-linux-newlib. 2005-12-11 Ben Elliston Reported by Leif Ekblad : * config.guess (i*86:rdos:*:*): New. * config.sub: Handle rdos. * testsuite/config-guess.data: Add test case for RDOS. * testsuite/config-sub.data: Likewise. 2005-12-09 Ben Elliston Reported by Jan-Benedict Glaw : * config.guess (vax:Linux:*:): Detect as vax-dec-linux-gnu. * testsuite/config-guess.data: Add test. 2005-12-09 Nathan Sidwell * config.sub (mt): Rename from ms1. (ms1): Alias it to mt for backward compatibility. * testsuite/config-sub.data: Update testsuite. 2005-11-13 Kean Johnston * config.sub: Allow -sco6 and -sco5v6 to be aliases for SCO OpenServer 6. * testsuite/config-sub.data: New tests. 2005-11-11 Ben Elliston * testsuite/config-guess.data: Add test case for Linux PPC64. 2005-11-11 Ben Elliston * config.guess (x86:Interix*:[345]*): Handle Interix version 5. * testsuite/config-guess.data: Add test case. 2005-09-19 Gerben Wierda * config.guess (*:Darwin:*:*): Don't treat *86 specifically. 2005-08-03 Ben Elliston Reported by Kulkin Alexey : * config.guess (x86_64:CYGWIN*:*:*): New case. * testsuite/config-guess.data: Add test case. 2005-07-14 Robert Millan * config.guess (or32:Linux:*:*): Detect. * testsuite/config-guess.data: Add test case. 2005-07-08 Michael Haubenwallner * config.guess: Let set_cc_for_build evaluate only once to avoid creation of more than one tmpdir without removing the old one. 2005-07-08 Ben Elliston * config.sub: Add support for Haiku. * testsuite/config-sub.data: Add test cases for i386, SPARC and PowerPC Haiku. 2005-07-08 Ben Elliston * Makefile (SHELL): Remove override. 2005-07-04 Ben Elliston Paul Mundt * config.sub: Handle sh2a/sh4a. * testsuite/config-sub.data: Add test cases. 2005-07-01 Robert Millan * config.sub: Deprecate "openrisc" in favour of "or32". Do not default the OS field to "coff". * testsuite/config-sub.data: Add a test case. 2005-06-30 Ben Elliston * config.sub (sh64): Remove duplicate entry. * testsuite/config-sub.data: Add test case for sh64. 2005-06-30 Mike Frysinger * config.sub (mips64vr5900, mips64vr5900el): New machines. * testsuite/config-sub.data: Add test cases. 2005-06-30 Brad Smith * config.guess: Simplify OpenBSD support. 2005-06-02 Aldy Hernandez * config.sub (ms1, ms1-*): New. * testsuite/config-sub.data: Add test cases. 2005-06-02 Jim Blandy * config.sub (m32c, m32c-*): New. * testsuite/config-sub.data: Add test cases. 2005-05-27 Ben Elliston * config.guess (i*:windows32*:*): uname -m includes "-pc", so no need to emit it additionally. * testsuite/config-guess.data: Update test case. 2005-05-15 Ben Elliston Reported by Sam Steingold : * config.guess (i*:windows32*:*): New. * testsuite/config-guess.data: Add a corresponding test case. 2005-05-15 Paul Eggert * config.guess: Fix remaining problematic uses of "exit 0" (and one problematic use of "&& exit"). 2005-05-12 Ben Elliston * config.guess: Update Free Software Foundation address. * config.sub: Likewise. 2005-05-12 Ben Elliston * uname: Similar to the last change, remove all exit commands and let the script exit with the exit code of the last command. 2005-05-12 Paul Eggert Explanation for this subtle change: From: Paul Eggert To: config-patches@gnu.org Subject: config.guess, config.sub misdiagnose write errors config.guess and config.sub sometimes mishandle write errors to stdout: they either ignore the errors, or output invalid diagnostics when they occur. For a simple (albeit unrealistic) example, on my Solaris 8 (sparc) host, the command "config.guess >&-" exits with status 0; it should exit with status 1, due to the write failure. * config.guess: Don't exit with an explicit exit code of 0. * config.sub: Likewise. 2005-05-12 Ben Elliston * config.guess (i*86:skyos:*:*): New. * config.sub (case $os): Handle "-skyos*" as a valid OS. * testsuite/config-guess.data: Add a test case. * testsuite/config-sub.data: Likewise. 2005-05-12 Tim Rice * config.guess: Add support for SCO OpenServer 6. 2005-05-12 Noah Misch * config.guess (9000/[34678]??:HP-UX:*:*): Discard stderr of `cc -E -'; HP `cc' emits an error for it but still preprocesses standard input as expected. Add comment. 2005-05-12 Nick Burrett Ben Elliston * config.guess (arm:riscos:*:*): New configuration. * testsuite/config-sub.data: New tests. * testsuite/config-guess.data: Likewise. 2005-05-12 Nick Burrett * config.guess: Add a missing newline to arm-acorn-riscix string. 2005-04-22 Paul Green Ben Elliston * config.guess: Add Stratus VOS IA32 systems. * testsuite/config-guess.data: Add a testcase. 2005-04-22 Ben Elliston Bernd Schmidt * config.sub (bfin): New target. * testsuite/config-sub.data: Test bfin-elf. 2005-04-22 Ben Elliston Dave Miller * config.sub (sparc64b): Handle. * testsuite/config-sub.data: Test sparc64-linux, sparc64b-linux. 2005-03-24 Paul Eggert * config.guess: Update URL for script location. Problem reported by Bruno Haible. 2005-02-10 Ben Elliston J Shepherd * config.guess (NSE-?:NONSTOP_KERNEL:*:*): New. * testsuite/config-guess.data: Test for nse-tandem-nsk. 2005-02-10 Ben Elliston * testsuite/config-guess.data: Add craynv-cray-unicosmp2.5.X case. 2005-02-10 Ben Elliston * testsuite/config-sub.sh (run_config_sub): New function. Compute $rc within the function and return it. * testsuite/config-guess.sh (run_config_guess): Likewise. 2005-02-10 Ben Elliston * config.guess (amd64:CYGWIN*:*:*): New. * testsuite/config-sub.data: Add amd64-cygwin, x86_64-cygwin. * testsuite/config-guess.data: Add x86_64-unknown-cygwin test. 2005-02-10 Ben Elliston * config.guess: Update copyright years. * config.sub: Likewise. 2005-01-11 Inderpreet Singh Ben Elliston * config.sub: Handle maxq target. * testsuite/config-sub.data: Add maxq and maxq-elf tests. 2004-11-30 Melissa Mears * config.sub: Handle xbox alias. * testsuite/config-sub.data: Add xbox case. 2004-11-17 Ian Lance Taylor Ben Elliston * config.sub: Recognize xscalee[bl]. * testsuite/config-sub.data: Add xscale, xscalee[bl] cases. 2004-11-12 Ben Elliston * config.guess (*:z/VM:*:*): Add new case. * config.sub (os): Add case for -zvmoe. * testsuite/config-guess.data: Add a test case. * testsuite/config-sub.data: Likewise. 2004-11-12 Ben Elliston * testsuite/config-guess.sh: Use , and not / as the sed delimiter. 2004-11-12 Andris Pavenis * config.sub (djgpp): Alias to i586-pc-msdosdjgpp. * testsuite/config-sub.data: Add a test case. 2004-10-25 Ben Elliston * testsuite/config-guess.sh: Reduce recurring tabs into a single tab, to allow the test data to be better aligned in columns. 2004-10-25 Ben Elliston Reported by Monty Solomon : * config.guess (*:XENIX:*:SysV): New. * testsuite/config-guess.data: Add a test case. 2004-10-25 Ben Elliston Reported by Martin Hammer : * config.guess (DRS?6000:isis:4.2*:7*): New pattern. 2004-09-07 Ben Elliston * config.guess (frv:Linux:*:*): New. * testsuite/config-sub.data: Add cris-linux, frv-linux. * testsuite/config-guess.data: Add frv-linux-unknown-gnu case. 2004-08-27 Hans-Peter Nilsson * config.sub: Handle crisv32, alias etraxfs. * config.guess (crisv32:Linux:*:*): Handle. * testsuite/config-sub.data: Add test case. * testsuite/config-guess.data: Likewise. 2004-08-22 Ben Elliston * Makefile (check): Run config-guess.sh tests as well. * testsuite/config-guess.sh: New test. * testsuite/config-guess.data: New file. * testsuite/uname.in: Likewise. * testsuite/config-sub.data (amd64-unknown-freebsd5.2): New case. 2004-08-13 Brad Smith * config.guess (*:OpenBSD:*:*): Remove defunct MIPS machines. (sgi:OpenBSD:*:*): Emit mips64, not mipseb. 2004-08-11 Paul Eggert * config.guess (*:Darwin:*:*): If uname -p reports "unknown", assume the processor is a powerpc. This is because coreutils uname (at least versions 4.5.7 through 5.2.1) outputs "unknown" in this case, due to a MacOS X bug that causes sysctl ((int[]) {CTL_HW, HW_MACHINE_ARCH}, 2, buffer, &bufsize, 0, 0) to return a negative number. Problem reported by Petter Reinholdtsen in: http://lists.gnu.org/archive/html/bug-gnu-utils/2003-02/msg00201.html 2004-07-19 Ben Elliston * config.guess (S7501:*:4.0:3.0): Handle NCR System V UNIX machine. 2004-07-02 Ben Elliston * testsuite/config-sub.data: Add i386-elf to i786-elf. 2004-06-30 Ben Elliston * testsuite/config-sub.data: Add more new tests. 2004-06-25 Ben Elliston * Makefile (check): New target. * testsuite/config-sub.sh: New test. * testsuite/config-sub.data: New file. 2004-06-24 Ben Elliston * config.guess: Update copyright years. * config.sub: Likewise. 2004-06-22 Robert Millan * config.guess (*:FreeBSD:*:*): Remove check for glibc (unneeded since GNU/kFreeBSD systems match *:GNU/*:*:* instead). 2004-06-22 Stanley F. Quayle * config.guess (*:*VMS:*:*): New entry. Replaces Alpha:OpenVMS:*. Recognize and advertise all VMS flavors as dec manufacturer. 2004-06-22 Ben Elliston * config.guess: Cray fixes from Wendy Palm . * config.sub: Likewise. 2004-06-22 Ben Elliston Reported by Hans-Peter Nilsson : * config.sub: Correctly handle mmix-knuth and mmix-knuth-mmixware. 2004-06-21 Ben Elliston * Makefile: New file. 2004-06-11 Ben Elliston * config.guess (pegasos:OpenBSD:*:*): Remove. 2004-06-11 Ben Elliston From Wouter Verhelst : * config.guess (M68*:*:R3V[5678]:*): Detect R3V8. 2004-06-11 Ben Elliston * config.guess (luna88k:OpenBSD:*:*): New. 2004-03-12 Kazuhiro Inaoka * config.guess (m32r*:Linux:*:*): New case. * config.sub: Handle m32rle. 2004-03-12 Ben Elliston From Jens Petersen : * config.sub: Handle sparcv8. 2004-03-03 Ben Elliston From Tom Smith : * config.guess: Version suffixes are equally significant on Tru64 V4.* and V5.*, so do not ignore them on V5.*. Handle a version prefix of "P" (patched kernel). 2004-02-23 Tal Agmon * config.sub: Add support for National Semiconductor CRX target. 2004-02-16 Thorsten Glaser * config.guess (*:MirBSD:*:*, macppc:MirBSD:*:*): Handle. * config.sub: Handle -mirbsd*. 2004-02-16 Brad Smith * config.guess: Recognize OpenBSD on AMD64 and CATS hardware. 2004-02-11 Ben Elliston * config.sub (abacus): Add. 2004-02-11 Galit Heller * config.sub: Add support for National Semiconductor CR16C target. 2004-02-02 Ben Elliston * config.guess (*:ekkoBSD:*:*): Handle. * config.guess: Handle -ekkobsd*. 2004-01-30 Ben Elliston * NEWS: Remove. 2004-01-24 Ben Elliston From Brett E. Wynkoop : * config.guess (m68k:machten:*:*): Handle. 2004-01-20 Jeroen Ruigrok van der Werven * config.guess: Fix DragonFly entry to really work. 2004-01-05 Ben Elliston Joachim Schmitz * config.guess: Handle NSR-? to accept any CPU type. 2004-01-05 Ben Elliston * config.sub: Handle amd64-*. 2003-11-20 Kristian Van Der Vliet * config.guess (i*86:syllable:*:*): New. * config.sub (-syllable*): Likewise. 2003-11-18 Jeroen Ruigrok van der Werven * config.guess (*:DRAGONFLY:*:*): New. * config.sub (-dragonfly*): Likewise. 2003-11-03 Ben Elliston * config.guess: Detect OpenBSD on Pegasos I hardware. 2003-11-03 Jim Tison Ulrich Weigand * config.sub (tpf, -tpf*): Recognize. 2003-10-16 Ben Elliston * config.guess (5000:UNIX_System_V:4.*:*): Detect the Fujitsu VPP5000. Reported by Naoki Yoshida . 2003-10-16 Bernardo Innocenti * config.sub (linux-uclibc, uclinux-uclibc): Handle. 2003-10-16 Ben Elliston Reported by Todd Humphrey : * config.guess (*:OS400:*:*): Detect OS/400 on AS/400 machines. * config.sub (os400, -os400*): Recognise. 2003-10-07 Robert Millan Ben Elliston * config.guess (*:GNU/*:*:*): New. Generic check for systems with GNU libc and userland (matches GNU/KFreeBSD and GNU/KNetBSD). (*:GNU/FreeBSD:*:*): Remove, superceeded by GNU/*. * config.sub: Handle -knetbsd*. 2003-10-07 Ben Elliston * config.guess (3[345]??:*:4.0:3.0): Expand pattern to match 3526. 2003-10-03 Chris Demetriou * config.sub (mipsisa64r2*): Add. 2003-10-03 Ben Elliston Joachim Schmitz * config.guess (NSR-*:NONSTOP_KERNEL:*:*): Recognise NSR-Y. 2003-08-18 Andreas Krennmair * config.guess: Add detection for diet libc. * config.sub: Handle linux-dietlibc. 2003-07-29 Ben Elliston * NEWS: New draft file. 2003-07-17 Ben Elliston Reported as missing by Doug Evans: * config.sub: Handle iq2000 and iq2000-*. 2003-07-15 Alexandre Oliva * config.sub: Add am33_2.0 machine. 2003-07-04 Ben Elliston * config.sub: Handle -kfreebsd*. From Robert Millan. 2003-07-02 Robert Millan * config.guess (*:GNU/FreeBSD:*:*): Prefix GNU/FreeBSD triplet with a "k" to indicate the system is based on FreeBSD's kernel and not the whole OS. 2003-06-17 Ben Elliston From by Stephen Thomas : * config.guess (sh64*:*:*:Linux): New case. * config.sub (sh64): Map to sh64-unknown. 2003-06-17 Ben Elliston Reported by Dennis Grevenstein : * config.guess (sei:*:*:seiux): Detect SEIUX running on MIPS-based workstations manufactured by Sumitomo Electric Industries. * config.sub (sei, -sei*): Handle. 2003-06-13 Svein E. Seldal * config.sub (c4x, tic4x): Re-arrange and fix. 2003-06-12 Bernard Giroud * config.guess (Alpha*:OpenVMS:*:*): New entry. 2003-06-06 Ben Elliston * config.sub: Recognise pentium3 and pentium4. From Kelley Cook . 2003-06-06 Douglas B Rupp * config.guess: Recognize Interix 4. 2003-06-04 Ben Elliston * config.guess (set_cc_for_build): Allow insecure temporary filenames to be generated on systems without mktemp(1) or $RANDOM, but issue a warning to standard error. Suggested by Hans-Peter Nilsson. 2003-05-24 Ben Elliston * config.sub: Handle $os values of -nx6 and -nx7. 2003-05-22 Ben Elliston * config.guess: Detect ICL NX version 6 running on ICL/Fujitsu DRS 6000 machines. Reported by . 2003-05-19 Hans-Peter Nilsson * config.guess (cris:Linux:*:*): New case. 2003-05-09 Ben Elliston * config.guess (SHG2:*:4.0:3.0): Handle NCR System V UNIX machine. Reported by Raj Mannar . 2003-05-09 Andreas Jaeger * config.sub (maybe_os): Add alias amd64 for x86_64. 2003-05-09 Ben Elliston From Robert Millan * config.guess (*:GNU/FreeBSD:*:*): Handle. 2003-02-22 Ben Elliston Revert the following due to the demise of MicroBSD: 2003-01-03 Scott Kamp * config.guess: Detect MicroBSD operating system on i386 CPUs. * config.sub: Handle aliases for such. 2003-02-03 Ben Elliston * config.sub: Handle -kaos*. 2003-02-03 Charles Lepple * config.sub: Handle TI tic55x-* and tic6x-* targets. 2003-01-30 Ben Elliston * config.guess (alpha:OSF1:*:*): Use /usr/sbin/psrinfo -v to detect the Alpha CPU type, not an assembled program requiring $CC_FOR_BUILD. 2003-01-28 Nick Clifton * config.sub: Add sh2e support. 2003-01-22 Fabio Alemagna * config.sub: Handle -aros*. 2003-01-10 Stuart Hastings * config.guess: Make i686 the default for Darwin/x86. 2003-01-03 Scott Kamp * config.guess: Detect MicroBSD operating system on i386 CPUs. * config.sub: Handle aliases for such. 2003-01-02 Ben Elliston From Wendy Palm : * config.guess (CRAY*T3D:*:*:*): Remove. (*:UNICOS/mp:*:*): New system. * config.sub (t3d): Remove. (nv1): Add. 2003-01-02 Ben Elliston * config.sub: Fix mipstx39-* and mipstx39el-* handling (typo). 2003-01-02 Ben Elliston From Dmitry Diky : * config.sub (basic_machine): Add msp430 and msp430-*. 2003-01-02 Chris Demetriou * config.sub (mipsisa32r2*): Add. 2002-12-23 Ben Elliston * config.guess (set_cc_for_build): Rework to do more secure tmp directory creation. Remove temporary files and tmp directory on exit; remove redundant rm(1) and rmdir(1) commands throughout. 2002-12-17 John David Anglin * config.guess (hppa*): Remove tmpdir when CC_FOR_BUILD is set. 2002-12-11 Ben Elliston Dave Anglin Ross Alexander * config.guess (*:HP-UX:*:*): Detect 64-bit compiler. 2002-11-30 J.T. Conklin * config.sub (-nto-qnx*): New $os pattern. (-nto*): Preserve OS version when converting to -nto-qnx*. 2002-11-30 Ben Elliston From Stefan Neis : * config.guess: Reorder entries so that hosts with a different operating system won't be misdetected as System V simply because their version number happens to be 3.2, 4.* or 5. This is needed for OS/2, at least, which is currently at version 4.52. 2002-11-30 Ben Elliston From Joel Baker : * config.guess: Append "-gnu" to triplet on Debian/NetBSD systems. * config.sub: Recognise netbsd*-gnu*. 2002-11-30 Maciej W. Rozycki * config.guess (mips64:Linux:*:*): Recognize. (mips:Linux:*:*): Recognize as mips-unknown-linux-gnu instead of mips-pc-linux-gnu. 2002-11-30 Douglas B Rupp * config.guess: Make default Interix arch "i586". 2002-11-30 Ben Elliston * config.guess: Add "SDS2" to machines that run NCR System V UNIX. Reported by . 2002-11-13 Ben Elliston * config.sub (windows32): Remove bad idea. 2002-11-13 Werner Lemberg * config.sub: Add -mks*. 2002-11-13 Jeff Conrad * config.guess: Detect MKS running on Windows {95,98,NT}. 2002-11-13 Ben Elliston * config.guess: Detect PowerMAX OS on Concurrent Synergy machines. Reported by Sam Williams . 2002-11-08 Ben Elliston * config.guess: Detect m68k-diab-dnix. * config.sub: Handle -dnix*. 2002-10-21 Paul Eggert * config.guess (CC_FOR_BUILD): Put "-o outputfile" before any operands. POSIX 1003.1-2001 says that "c99 file.c -o file" is not supported; you must put all options before all operands, e.g. "c99 -o file file.c". 2002-09-05 Svein E. Seldal * config.sub: Add tic4x target. 2002-09-03 Ben Elliston * config.guess: Detect NSR-D machines for nsr-tandem-nsk. Reported by . 2002-08-23 Ben Elliston * config.guess: Detect Concurrent PowerMaxion. Reported by Lloyd Goldston . * config.guess: Detect Convergent 3B1 machines (running AT&T UNIX). Reported by Bruce Lilly . 2002-08-22 Urs Janßen * config.sub: Cosmetic whitespace fixes. 2002-08-20 Phil Edwards * config.sub: Accept athlon_* patterns as synonyms for i686-pc. 2002-08-20 Ben Elliston From Chris Demetriou : * config.sub (sb1, sb1el): Treat these machines as mipsisa64sb1-unknown and mipsisa64sb1el-unknown, respectively. 2002-08-19 Ben Elliston * config.guess: Detect Super-UX on NEC SX-6. Reported by Joachim Worringen . 2002-08-16 Eric Christopher * config.sub (mipsisa64sr71k*, mips64vr*): Add. 2002-07-23 Ben Elliston * config.guess: Detect alphaev7. Reported by urs@akk.org. 2002-07-03 Ben Elliston * config.guess: Use umask to create temporary directly safely. Using mkdir and chmod introduces a race. 2002-07-03 Ben Elliston * config.guess: Detect ICL NX version 7 running on ICL/Fujitsu DRS 6000 machines. Reported by Henrik N. Spuur Hansen . 2002-07-03 Ben Elliston * config.guess: Execute $dummy, not ./$dummy, throughout. * config.guess (set_cc_for_build): Create a chmod 700 directory in /tmp (or $TMPDIR, if set) to store temporary files generated for use by the C compiler. This should resist the /tmp symbolic link race vulnerability reported by Lawrence Teo. 2002-07-03 Ben Elliston * config.sub: Handle freebsd*. From Bruno Haible. 2002-07-01 Bruno Haible * config.guess: For FreeBSD systems using glibc, add suffix "-gnu". * config.sub: Accept freebsd-gnu system name. 2002-06-21 J"orn Rennecke * config.sub: Add support for sh[12], sh3e, sh[1234]le, sh3ele, shle, sh[1234]le, sh3ele. 2002-06-21 Dave Brolley * config.sub: Add support for frv. 2002-06-20 Chris Demetriou * config.sub: Add Broadcom SiByte SB-1 processor support (mipsisa64sb1, mipsisa64sb1el). Add little-endian variants of mipsisa32 and mipsisa64 (mipsisa32el and mipsisa64el, respectively). Sort MIPS entries and split their lines a bit more logically. Make sure that all of the MIPS entries in the "without company name" target list are echoed in the "with company name" list. 2002-06-19 Denis Chertykov * (config.sub): Add ip2k support. 2002-06-19 J"orn Rennecke * config.sub: Accept sh64le and sh64le-*. 2002-05-29 Paul Eggert * config.guess: Don't use egrep, as POSIX 1003.1-2001 no longer requires egrep. Use grep instead. 2002-05-28 Kuang Hwa Lin * config.sub: Add DLX support. 2002-05-22 Jason Thorpe * config.guess: Add case for "armeb" in NetBSD section. * config.sub: Allow "armeb" as a valid CPU type. 2002-05-16 Ben Elliston * config.guess: Detect PowerMAX OS on Concurrent Night Hawk. * config.sub: Handle -powermax*. 2002-05-02 Ben Elliston * config.guess: Add "4400" to machines that run NCR System V UNIX. 2002-04-25 Mark Mitchell * config.sub (*-wrs-windiss): New targets. 2002-03-20 Keith Thompson * config.guess (ia64:Linux:*:*): Output "ia64-unknown-linux-gnu". 2002-03-20 Ben Elliston * config.guess (set_cc_for_build): Add c99 to list of candidates. 2002-03-12 J.T. Conklin * config.guess: Add OS release to QNX config strings. 2002-03-06 Chris Demetriou * config.sub: Add support for mipsisa64. 2002-03-04 Ben Elliston From Kevin Ryde : * config.sub (sparclet-*-*): Accept any vendor. (sparc86x): Expand to sparc86x-unknown-none. 2002-03-04 Adrian Bunk * config.guess (*:NetBSD:*:*): Use "sysctl -n hw.machine_arch" instead of "uname -p" to get UNAME_MACHINE_ARCH. 2002-02-22 Ben Elliston Thiemo Seufer * config.sub (case $basic_machine): Add mips and clean up other Linux specific cases. Now `config.sub mips` yields mips-unknown-elf. 2002-02-22 Ben Elliston From Kevin Ryde : * config.sub (sv1-*, ymp-*, c90-*): Preserve CPU type in output. (t3d-*, t3e-*): Canonicalize to alpha and alphaev5. 2002-02-18 Jim Meyering * config.guess: Don't use `head -1'; it's no longer portable. Use `sed 1q' instead. 2002-02-15 Ben Elliston * config.sub (rtmk*, rtmk-nova*): Recognise. From Johan Rydberg . 2002-02-15 Wendy Palm * config.guess (CRAY*X-MP:*:*:*, CRAY-2:*:*:*): Remove, as we know they no longer exist in the field. * config.sub (cray2, xmp): Likewise. (cray, ymp, [cj]90-cray): basic_machine is now j90-cray. (sv1-cray, cray-t3e, cray-t3d, cray-t90): New basic machine patterns. 2002-02-15 Ben Elliston * config.sub: Accept m68060. 2002-02-12 Ben Elliston * config.sub (sx?-*, superux*): New basic_machine and os. From Len Makin . 2002-02-12 Ben Elliston * config.guess: Set LC_ALL, not LANG, when running ld --help. From Nicola Pero . 2002-02-01 Ben Elliston * config.sub (sh64, sh64-*): Add new machine. 2002-01-31 Ivan Guzvinec * config.sub: Add support for or32. 2002-01-26 Andy Olson * config.guess (*:QNX:*:*): Report i386-* rather than x86pc-*. Discussed with and approved by . 2002-01-23 Ben Elliston * config.guess (i*86:Linux:*:*): Specifically handle the Intel icc compiler, which doesn't define __ELF__. Submitted by Erik Lindahl . 2002-01-22 Nicola Pero * config.guess (i*86:Linux:*:*): Fixed: export LANG=C before running ld so that linker output can be assumed to be in English, and it works with non-default locales. 2002-01-10 Ben Elliston * config.guess: Update Per Bothner's mail address. 2002-01-02 Douglas B. Rupp * config.sub (alpha64*): New basic_machine. 2002-01-02 Ben Elliston From Sigbjorn Skjaeret . * config.guess: Add detection for MorphOS. * config.sub: Handle morphos*. 2002-01-02 H.J. Lu * config.guess (mips:Linux:*:*): Undef CPU, mips and mipsel first. 2001-12-13 Douglas B. Rupp * config.guess: Recognize x86 Interix version 3. 2001-12-12 Ben Elliston * config.guess (i*86:Linux:*:*): Minor simplification: have the preprocessor emit shell assignments and just eval the output. 2001-12-12 H.J. Lu * config.guess (mips:Linux:*:*): Re-work. 2001-12-12 Ben Elliston * config.guess (i*86:Linux:*:*): Speed up detection of x86 Linux systems by using just the C preprocessor rather than assembling and linking a final executable. 2001-12-12 Jason Thorpe * config.guess: Simplify assignment of machine for NetBSD targets, and make it match the convention that NetBSD uses. List all NetBSD architectures that require "elf" at the end of the OS name. 2001-12-10 Lars Brinkhoff * config.sub: Recognize a few PDP-10 aliases. 2001-12-03 Ben Elliston * config.sub: Recognise the Nucleus family of operating systems. From . 2001-12-03 Bob Wilson * config.sub: Add support for Xtensa targets. 2001-11-30 Ben Elliston * config.sub: Recognise NEC v850e. From Miles Bader . 2001-11-26 Ben Elliston * config.guess (nsr-tandem-nsk): Detect all known NSR processor types. Contributed by Kjetil Barvik . 2001-11-16 Ben Elliston * config.sub: Accept "-atheos*" as a valid OS. From Taco Witte . 2001-11-08 Ben Elliston * config.guess: Handle 3487/3488 machines for NCR SysV UNIX. Contributed by Melvin M. Bagaforo . 2001-11-07 Adrian von Bidder * config.sub: Accept "-uclinux*" as a valid OS. 2001-11-07 D.J. Barrow * config.sub: Added S/390 31 and 64 bit target. 2001-11-06 John Marshall * config.sub: Accept "-palmos*" as a valid OS. 2001-11-07 Geoffrey Keating * config.sub: Change 'stormy16' to 'xstormy16' in the two places it appears. 2001-10-05 Ben Elliston * config.guess: Add "SKA40" as a machine type for NCR SysV UNIX. From Rudi Heitbaum . 2001-10-05 Rodney Brown * config.guess (9000/[34678]??:HP-UX:*:*): Unconditionally try /usr/bin/getconf which is available on HP-UX 10.20. Reindent. 2001-10-04 Ben Elliston * config.sub: Handle viac3 as an i586-class CPU. * config.sub: Handle simso-wrs (Wind River's VxWorks Solaris simulator target). From dpovey@dstc.qut.edu.au. 2001-09-14 H.J. Lu * config.sub: Support avr-vendor-*. 2001-09-13 Ben Elliston * config.guess (*-*-openbsd): Reorganise and clean up. Contributed by brad@openbsd.org. 2001-09-12 Ben Elliston * config.guess (sparc*-*-netbsd): Properly match 32-bit NetBSD/sparc64 as sparc-unknown-netbsd. From Matthew Green . 2001-09-07 Ben Elliston * config.sub: Add mipseb-* alias (whoops). 2001-09-04 Ben Elliston * config.sub: Add mipseb alias. 2001-09-04 Eric Christopher Jason Eckhardt * config.sub: Add support for mipsisa32. 2001-09-04 Ben Elliston * config.guess: Move eval $set_cc_for_build in most cases, to prevent this script fragment from cloberring a previously constructed C program in $dummy.c. 2001-08-23 Ben Elliston * config.guess: Detect AtheOS on x86 systems. Based on info provided by Taco Witte . 2001-08-23 Geoffrey Keating * config.sub: Add stormy16-elf. 2001-08-21 matthew green * config.guess (sparc*:NetBSD:*): Use $MACHINE_ARCH, not $MACHINE. 2001-08-13 Ben Elliston * config.sub: Handle complete system name for elxsi. From Zack Weinberg . 2001-08-09 Ben Elliston * config.guess: Detect Alpha ev68 on OSF/1 and Linux. From Ken Whaley . 2001-08-04 Darrell Hamilton * config.guess: Unisys places the host id in ${UNAME_SYSTEM} which is too unique to flag this system. Detect it with * instead. 2001-08-02 Alan Modra * config.sub: Sort basic cpu patterns. Combine hppa patterns. 2001-08-01 Alan Modra * config.sub: Recognise powerpc64, powerpc64le, ppc64 variations. 2001-07-31 Ben Elliston * config.guess: Detect Stratus VOS operating system. * config.sub: Handle aliases for such. 2001-07-30 Ben Elliston * config.guess: Detect STOP operating system on x86 CPUs. From Hans Edwards . 2001-07-27 Niibe Yutaka * config.sub: Recognize sh3eb and sh4eb (big endian) aliases. 2001-07-19 Ben Elliston * config.guess: Detect Linux on the PPC64 architecture. 2001-07-12 Keith Thompson * config.guess: Strip trailing sub-version number from $UNAME_RELEASE on Cray YMP or Cray [A-Z]90 models. 2001-07-09 Mark Klein * config.guess: Update MPE/iX to handle A and N class HPe3000. 2001-07-02 Graham Stott * config.sub (basic_machine): Fix typo for mips64vr5000el. 2001-06-29 Ben Elliston * config.guess: Remove stale libc1 tests on PowerPC Linux. 2001-06-29 John Wolfe * config.guess: Correct UnixWare 7 and Open UNIX 8.0 change; test for i586 must be a string that ends with "Pentium". 2001-06-28 Ben Elliston * config.guess: On Alpha Linux, use /proc/cpuinfo to determine the CPU model, rather than assembling a small test program. 2001-06-27 Ben Elliston * config.guess: Do not unconditionally run the script fragment to set $CC_FOR_BUILD. Put the script in the shell variable $set_cc_for_build and only evaluate it before $CC_FOR_BUILD is referenced. (Poor man's function inlining!) In future, the goal will be to reduce the dependence on a C compiler to detect system types by utilising other means. 2001-06-26 Ben Elliston * config.guess: On MIPS Linux, use /proc/cpuinfo to determine the endian mode of the CPU, rather than compiling and running a small C program. 2001-06-12 John Wolfe * config.guess: Standardize triplet for UnixWare 7 and Open UNIX 8.0, improve processor detection and maintain "sysv5" prefix on third segment. 2001-06-08 Christopher Faylor * config.sub: Add support for Sun Chorus. 2001-06-05 Tomislav Greguric * config.guess: Add 2001 to copyright notice issued for -v. 2001-06-01 Ben Elliston * config.guess (i*86:Linux:*:*): Examine the list of supported targets, not the list of supported emulations when capturing the output of "ld --help". This causes problems on systems where GNU ld is built with support for all targets. Adjust cases in the switch accordingly. * config.guess: Other small Linux cleanups. Remove unnecessary logic for setting $VENDOR, since UNAME_MACHINE will always be i*86 in this case. 2001-05-30 Mo DeJong * config.sub: Handle windows32 and runtimes. 2001-05-24 Ben Elliston * config.sub: Remove duplicate z8k entry. 2001-05-11 Yaegashi Takeshi * config.sub: Handle sh[34]-* and sh[34]eb-*. 2001-05-09 Ben Elliston * config.sub: Handle z8k-coff. From Christian Groessler . 2001-04-20 Ben Elliston * config.sub: Handle sparcv9b. From Dave Miller . * config.guess: Detect PowerMAX OS on PowerPC. 2001-04-20 Tyson Dowd Fergus Henderson * config.guess: Replace i?86 with i*86 to match newer Pentiums. * config.sub: Likewise. 2001-03-30 Peter Buckingham * config.guess: Update LynxOS version numbers. 2001-03-30 Alexandre Oliva * config.sub: Make sure to match an already-canonicalized machine name (eg. mn10300-unknown-elf). 2001-03-19 Philip Blundell * config.sub: Allow tic80 as machine type. Allow company name for h8500 and pj targets; add `unknown' component when canonicalising h8500-*, pj-* and pjl-*. 2001-03-16 Ben Elliston * config.guess: Detect Linux on SPARC64. 2001-03-14 Ben Elliston * config.guess: Detect ELF-based m68k Linux systems. Reported by Michael Fedrowitz . 2001-03-09 H.J. Lu * config.sub: Recognize s390/s390x as valid $basic_machine. 2001-03-05 Pavel Roskin * config.guess: Never use `rm' without `-f' since it may be interactive. 2001-02-24 Ben Elliston * config.guess: Match Linux x86 systems explicitly. Allow unknown architectures to fall through to the default case. 2001-02-23 Ben Elliston * config.guess: More Linux cleanup. Match more in the top-level case statement and less by groking the output of ld. 2001-02-16 Ben Elliston * config.sub: Recognise [cjt]90-*. From Kevin Ryde. 2001-02-13 David Edelsohn * config.guess (ia64:AIX): New case. (*:AIX): Expand AIX V4 case to include V5. Remove unnecessary `H' option from lsattr. Check for string "POWER" with prepended space to distinguish from PowerPC_POWER3. Use ${UNAME_VERSION} instead of assuming "4" to match the expanded case. 2001-02-13 Kevin Ryde * config.sub: Recognise t90, c90, j90 without -cray. Preserve t90 and j90--don't transform to c90. 2001-02-13 Ben Elliston * config.guess: More Linux cleanup. 2001-02-13 Martin Schwidefsky * config.guess: Add Linux target for S/390x. * config.sub: Likewise. 2001-02-13 Ben Elliston * config.guess: Rework detection of many Linux platforms, where detection is straightforward. 2001-01-31 Ben Elliston * config.guess: Handle hppa64-linux systems. From Alan Modra . 2001-01-29 Michael Sokolov * config.guess: Specifically identify 4.3BSD and 4.3BSD-Reno in the original VAX UNIX detection logic based on the BSD define in . 2001-01-17 Pavel Roskin * config.sub: Removed cases that cannot match. Vendor changed from "unknown" to "pc" for "mingw", "msdos" and "go32". 2001-01-17 Ben Elliston * config.guess: Detect HI-UX on Hitachi SR8000 machines. It has been difficult to discover what type of CPU is in this machine, so we'll punt on hppa1.1 for now. 2001-01-14 Pavel Roskin * config.guess: Don't use $version in the error message. Use $timestamp instead. Minor changes in the error text. 2001-01-12 Ben Elliston * config.guess: Delete $dummy.rel after compiling test programs on PDP-10 systems whose compilers produce this output file. From Lars Brinkhoff . * config.sub: Handle EMX on OS/2. From Pavel Roskin. 2001-01-12 Ben Elliston * config.guess: Detect common kernels running on various PDP-10 architectures. Contributed by Lars Brinkhoff . * config.sub: Handle PDP-10. 2001-01-10 Ben Elliston * config.guess: Detect LynxOS 3.x on PowerPC architectures. 2001-01-07 Ben Elliston * config.sub: Recognise openrisc-*-*. 2000-12-21 Ben Elliston * config.guess: Detect HP-UX on IA-64 hosts. From Jonathan Thackray . 2000-12-20 Pavel Roskin * config.sub: Handle mint with version number as recognized OS. Contributed by Tomas Berndtsson . 2000-12-20 Pavel Roskin * config.guess: Detect Fujitsu f700 machines. * config.sub: Handle f700 and f700-fujitsu. 2000-12-15 Ben Elliston * config.guess: Detect AIX version 5. Contributed by Dan McNichol . * config.sub: Accept f301 for Fujitsu machines. Reported by Pavel Roskin . 2000-12-07 Ben Elliston * config.sub: Add more detail to version information. * config.guess: Likewise. 2000-12-06 Ben Elliston * config.sub: Add --version option. * config.guess: Likewise. 2000-12-02 Ben Elliston * config.guess: Only append "elf" to "netbsd" for platforms that have switched to the ELF object file format in recent history. From Matthew Green . 2000-11-24 Nick Clifton * config.sub: Add xscale as a recognised CPU name. 2000-11-23 Ben Elliston Patches from Akim Demaille . * config.sub (version): Rename from this .. (timestamp): .. to this. (usage): Replace --version with --time-stamp. Add additional help and copyleft notice. (time-stamp-start): Replace with "timestamp=". * config.guess (version): Rename from this .. (timestamp): .. to this. (usage): Replace --version with --time-stamp. Add additional help and copyleft notice. (CC_FOR_BUILD): Rework this logic. (time-stamp-start): Replace with "timestamp=". 2000-11-21 Ben Elliston * config.guess: Detect EMX on OS/2. Reported by Ilya Zakharevich . 2000-11-16 Ben Elliston * config.guess: Use getconf(1) on HP-UX 11.x systems (when available) to eliminate the need for compiling a small test program. From Neil Schellenberger . 2000-11-15 Ben Elliston * config.sub: Expand `power' to `power-ibm-aix' for consistency. From Kevin Ryde. * config.guess: Differentiate Cray T3D and T3E. From Kevin Ryde . 2000-11-10 Ben Elliston * config.sub: Map pentiumpro and pentiumii aliases onto i686-pc. From Kevin Ryde . * config.guess: Search for a working C compiler if CC_FOR_BUILD is not specified. From Kevin Ryde. * config.guess: Set CPU architecture to "hppa" by default, in case tests fail to produce a result. From Kevin Ryde. 2000-11-08 Ben Elliston * config.guess: Detect sparc-unknown-linux-gnu. Reported by Peter Storkey . 2000-11-02 Per Lundberg * config.sub: Add support for the *-storm-chaos OS. 2000-10-25 Ed Satterthwaite * config.sub: NexGen, not nexen, is the x86 CPU clone manufacturer. 2000-10-23 Ben Elliston * config.guess: Detect NonStop-UX on Compaq MIPS machines. * config.sub: Handle aliases for mips-compaq-nonstopux. From Tom Bates . 2000-10-12 Ben Elliston * config.guess: Detect GNU/Linux on HP PA-RISC systems. From David Huggins-Daines . 2000-10-09 Ben Elliston * config.sub: Typo fix for sh{3,4} case. 2000-10-08 Ben Elliston * config.guess: Handle 8-way NCR 4300s -- uname(1) returns 3446A. From Ken Cormack . 2000-10-03 Ben Elliston * config.guess: Do not hold ld's output in a shell variable; feed the output directly into the command pipline to avoid a limitation in variable lengths in ash(1). From Pavel Roskin . 2000-09-11 Ben Elliston * config.sub: Handle nsk*. 2000-09-11 Philip Blundell * config.sub: Fix mistake in change of 2000-08-06. 2000-09-05 Andreas Jaeger * config.sub (maybe_os): Recognise AMD x86-64 as x86_64. * config.guess: Detect x86_64-unknown-linux-gnu. 2000-09-05 Ben Elliston * config.guess: Handle Tandem NSR-K machines. Reported by Andres Junge . 2000-09-05 Paul Sokolovsky * config.guess: Detect the PW32 POSIX-on-Win32 environment. * config.sub: Handle pw32 aliases. 2000-08-31 Ben Elliston * config.guess: Correctly detect Sony NEWS-OS 6.x. From Kimio Ishii . 2000-08-06 Philip Blundell * config.sub: Accept `-conix*' as a valid OS. Accept `armv*' as a valid CPU without a company name. 2000-07-31 Mark Kettenis * config.guess: Restore detection of libc version for x86 Linux/GNU ELF systems, but fall back on tentative name based on ld emulation. Use i?86-pc-linux-gnu as tentative name since that's the canonical name. 2000-07-27 Ben Elliston * config.sub: Use "unknown" for the manufacturer field of Amiga systems, not "cbm". Contributed by Ruediger Kuhlmann . * config.sub: Likewise. 2000-07-24 Ben Elliston * config.guess: Detect Plan 9. 2000-07-06 Andrew Cagney * config.sub: Recognise d30v as a valid basic_machine. 2000-06-28 Ben Elliston * config.sub: Recognise Motorola 68HC11/12 targets. From Stephane Carrez . 2000-06-20 Ben Elliston * config.sub: Recognise tic54x (Texas Instruments TMS320C54x) and c54x (IBM C54XDSP). From Tim Wall . 2000-06-13 Ben Elliston * config.guess: Detect Minix on x86 machines. * config.sub: Recognise i286. From . * config.sub: Recognise sh3 and sh4 aliases. From Kazumoto Kojima . * config.sub: Per Bothner is not the author. 2000-06-10 Hans-Peter Nilsson * config.sub (os): Recognize axis as manufacturer. (basic_machine): Recognize cris and etrax* as cris-axis. 2000-05-31 Ben Elliston * config.sub: Accept athlon as an i686 variant. From Philipp Thomas . 2000-05-30 Ben Elliston * config.guess: Re-word some output. * config.sub: Fix a syntax error introduced by yesterday's changes. Correct a spelling mistake. From Steven G. Johnson . 2000-05-02 Akim Demaille * config.guess: Add --help and --version options. Add Emacs hooks. * config.sub: Likewise. 2000-05-27 Ben Elliston * config.guess: Handle GNU/Linux on Hitachi SuperH. From Niibe Yutaka . 2000-05-19 Ben Elliston * config.sub: Recognise hppa64 as a valid cpu type. From Jeff Law. 2000-05-10 Ben Elliston * config.sub: Recognise bs2000-siemens as a basic_machine type. From Jean-Frederic Clere . 2000-05-07 Ben Elliston * config.guess: Mac OS X will never return "Mac OS" as a uname value, so remove these cases and punt to the "Darwin" case. From Wilfredo Sanchez . 2000-04-30 Ben Elliston * config.guess: Handle Fujitsu UXP/DS. From Fu-Chuan Tsai . 2000-04-26 Ben Elliston * config.guess: Handle an ld emulation of elf_i?86. From Bruce Korb . 2000-04-22 Ben Elliston * config.guess: Do not differentiate FreeBSD systems that use the ELF object file format. From David O'Brien . 2000-04-22 Ben Elliston * config.guess: Detect Siemens BS2000 machines. From Jean-Frederic Clere . 2000-04-22 Ben Elliston * config.guess: Fix a syntax error in the DG/UX test. 2000-04-06 Ben Elliston * config.guess: Define _HPUX_SOURCE for the HP-UX test program. From Bruno Haible . 2000-04-06 Ben Elliston * config.guess: Detect Apple's Darwin operating system. * config.sub: Handle an appropriate alias. From Assar Westerlund. 2000-03-27 Ben Elliston * config.guess: Detect Ascend Embedded/OS, which is really BSDI. From Assar Westerlund . 2000-03-20 Ben Elliston * config.guess: Detect the NonStop Kernel on Tandem machines. Suggested by Kelly F. Hickel . * config.sub: Handle nsr-tandem and -nsk aliases. 2000-02-29 Peter van der Veen * config.guess: Add support for QNX Neutrino. * config.sub: Improve support for QNX Neutrino. 2000-02-29 Ossama Othman * config.sub: Add support for QNX Neutrino. 2000-02-24 Nick Clifton * config.sub: Support an OS of "wince". 2000-02-15 Andrew Cagney * config.guess: Rewrite NetBSD code. Return *-*-netbsdelf* for ELF systems and *-*-netbsd* for all others. Provide a guideline for how to match a NetBSD tuple. 2000-02-15 Richard Henderson * config.guess (alpha-osf, alpha-linux): Detect ev67. * config.sub: Accept alphaev6[78], alphaev8. 2000-02-15 Philip Blundell * config.guess: Distinguish arm-*-linux-gnuoldld from arm*-linux-gnu. 2000-02-15 Ben Elliston * config.sub: Handle avr. From Denis Chertykov . * config.guess: Detect GNU/Linux on IBM S/390 machines. * config.sub: Handle s390-*. From Adam J. Thornton . * config.guess: Detect MacOS X on PowerPC and other machines. From Stephen G. Johnson . 2000-02-08 John W. Eaton * config.sub: Recognize sv1-cray as a basic_machine type. 2000-02-07 Ben Elliston * config.guess: Replace sub-minor system version number with an `X' on certain Cray platforms. From Keith Thompson . * config.sub: Add support for mmix and mmixware. From Hans-Peter Nilsson . 2000-02-06 Ben Elliston * config.guess: Include when compiling test programs with a C++ compiler. Function prototypes are mandatory in C++. From Ossama Othman . * config.guess: Fix a regression in PowerPC Linux detection. From Franz Sirl. 2000-02-03 Ben Elliston * config.guess: Handle versions of DJGPP's uname(1) command which return the exact machine type and not just `pc'. From Laurynas Biveinis . * config.guess: Import from autoconf source tree. * config.sub: Likewise.