mirror of
git://git.sv.gnu.org/autoconf
synced 2025-01-30 11:01:45 +08:00
Update.
This commit is contained in:
parent
f3aa0ae8ae
commit
f2d3be14d2
41
config.guess
vendored
41
config.guess
vendored
@ -3,7 +3,7 @@
|
|||||||
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
|
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
|
||||||
# Free Software Foundation, Inc.
|
# Free Software Foundation, Inc.
|
||||||
|
|
||||||
timestamp='2001-03-16'
|
timestamp='2001-04-20'
|
||||||
|
|
||||||
# This file is free software; you can redistribute it and/or modify it
|
# This file is free software; you can redistribute it and/or modify it
|
||||||
# under the terms of the GNU General Public License as published by
|
# under the terms of the GNU General Public License as published by
|
||||||
@ -412,6 +412,9 @@ EOF
|
|||||||
rm -f $dummy.c $dummy
|
rm -f $dummy.c $dummy
|
||||||
echo mips-mips-riscos${UNAME_RELEASE}
|
echo mips-mips-riscos${UNAME_RELEASE}
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
|
Motorola:PowerMAX_OS:*:*)
|
||||||
|
echo powerpc-motorola-powermax
|
||||||
|
exit 0 ;;
|
||||||
Night_Hawk:Power_UNIX:*:*)
|
Night_Hawk:Power_UNIX:*:*)
|
||||||
echo powerpc-harris-powerunix
|
echo powerpc-harris-powerunix
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
@ -459,7 +462,7 @@ EOF
|
|||||||
????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX.
|
????????: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
|
echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id
|
||||||
exit 0 ;; # Note that: echo "'`uname -s`'" gives 'AIX '
|
exit 0 ;; # Note that: echo "'`uname -s`'" gives 'AIX '
|
||||||
i?86:AIX:*:*)
|
i*86:AIX:*:*)
|
||||||
echo i386-ibm-aix
|
echo i386-ibm-aix
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
ia64:AIX:*:*)
|
ia64:AIX:*:*)
|
||||||
@ -639,7 +642,7 @@ EOF
|
|||||||
hp8??:OSF1:*:*)
|
hp8??:OSF1:*:*)
|
||||||
echo hppa1.0-hp-osf
|
echo hppa1.0-hp-osf
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
i?86:OSF1:*:*)
|
i*86:OSF1:*:*)
|
||||||
if [ -x /usr/sbin/sysversion ] ; then
|
if [ -x /usr/sbin/sysversion ] ; then
|
||||||
echo ${UNAME_MACHINE}-unknown-osf1mk
|
echo ${UNAME_MACHINE}-unknown-osf1mk
|
||||||
else
|
else
|
||||||
@ -705,7 +708,7 @@ EOF
|
|||||||
hp300:OpenBSD:*:*)
|
hp300:OpenBSD:*:*)
|
||||||
echo m68k-unknown-openbsd${UNAME_RELEASE}
|
echo m68k-unknown-openbsd${UNAME_RELEASE}
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
i?86:BSD/386:*:* | i?86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*)
|
i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*)
|
||||||
echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE}
|
echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE}
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
sparc*:BSD/OS:*:*)
|
sparc*:BSD/OS:*:*)
|
||||||
@ -876,7 +879,7 @@ EOF
|
|||||||
x86_64:Linux:*:*)
|
x86_64:Linux:*:*)
|
||||||
echo x86_64-unknown-linux-gnu
|
echo x86_64-unknown-linux-gnu
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
i?86:Linux:*:*)
|
i*86:Linux:*:*)
|
||||||
# The BFD linker knows what the default object file format is, so
|
# The BFD linker knows what the default object file format is, so
|
||||||
# first see if it will tell us. cd to the root directory to prevent
|
# first see if it will tell us. cd to the root directory to prevent
|
||||||
# problems with other programs or directories called `ld' in the path.
|
# problems with other programs or directories called `ld' in the path.
|
||||||
@ -887,14 +890,14 @@ EOF
|
|||||||
s/ .*//
|
s/ .*//
|
||||||
p'`
|
p'`
|
||||||
case "$ld_supported_emulations" in
|
case "$ld_supported_emulations" in
|
||||||
i?86linux)
|
i*86linux)
|
||||||
echo "${UNAME_MACHINE}-pc-linux-gnuaout"
|
echo "${UNAME_MACHINE}-pc-linux-gnuaout"
|
||||||
exit 0
|
exit 0
|
||||||
;;
|
;;
|
||||||
elf_i?86)
|
elf_i*86)
|
||||||
TENTATIVE="${UNAME_MACHINE}-pc-linux-gnu"
|
TENTATIVE="${UNAME_MACHINE}-pc-linux-gnu"
|
||||||
;;
|
;;
|
||||||
i?86coff)
|
i*86coff)
|
||||||
echo "${UNAME_MACHINE}-pc-linux-gnucoff"
|
echo "${UNAME_MACHINE}-pc-linux-gnucoff"
|
||||||
exit 0
|
exit 0
|
||||||
;;
|
;;
|
||||||
@ -906,7 +909,7 @@ EOF
|
|||||||
# that means it is gnuoldld.
|
# that means it is gnuoldld.
|
||||||
test -z "$ld_supported_emulations" && echo "${UNAME_MACHINE}-pc-linux-gnuoldld" && exit 0
|
test -z "$ld_supported_emulations" && echo "${UNAME_MACHINE}-pc-linux-gnuoldld" && exit 0
|
||||||
case "${UNAME_MACHINE}" in
|
case "${UNAME_MACHINE}" in
|
||||||
i?86)
|
i*86)
|
||||||
VENDOR=pc;
|
VENDOR=pc;
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
@ -944,10 +947,10 @@ EOF
|
|||||||
;;
|
;;
|
||||||
# ptx 4.0 does uname -s correctly, with DYNIX/ptx in there. earlier versions
|
# 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.
|
# are messed up and put the nodename in both sysname and nodename.
|
||||||
i?86:DYNIX/ptx:4*:*)
|
i*86:DYNIX/ptx:4*:*)
|
||||||
echo i386-sequent-sysv4
|
echo i386-sequent-sysv4
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
i?86:UNIX_SV:4.2MP:2.*)
|
i*86:UNIX_SV:4.2MP:2.*)
|
||||||
# Unixware is an offshoot of SVR4, but it has its own version
|
# Unixware is an offshoot of SVR4, but it has its own version
|
||||||
# number series starting with 2...
|
# number series starting with 2...
|
||||||
# I am not positive that other SVR4 systems won't match this,
|
# I am not positive that other SVR4 systems won't match this,
|
||||||
@ -955,7 +958,7 @@ EOF
|
|||||||
# Use sysv4.2uw... so that sysv4* matches it.
|
# Use sysv4.2uw... so that sysv4* matches it.
|
||||||
echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION}
|
echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION}
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
i?86:*:4.*:* | i?86:SYSTEM_V:4.*:*)
|
i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*)
|
||||||
UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'`
|
UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'`
|
||||||
if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then
|
if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then
|
||||||
echo ${UNAME_MACHINE}-univel-sysv${UNAME_REL}
|
echo ${UNAME_MACHINE}-univel-sysv${UNAME_REL}
|
||||||
@ -963,7 +966,7 @@ EOF
|
|||||||
echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL}
|
echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL}
|
||||||
fi
|
fi
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
i?86:*:5:7*)
|
i*86:*:5:7*)
|
||||||
# Fixed at (any) Pentium or better
|
# Fixed at (any) Pentium or better
|
||||||
UNAME_MACHINE=i586
|
UNAME_MACHINE=i586
|
||||||
if [ ${UNAME_SYSTEM} = "UnixWare" ] ; then
|
if [ ${UNAME_SYSTEM} = "UnixWare" ] ; then
|
||||||
@ -972,7 +975,7 @@ EOF
|
|||||||
echo ${UNAME_MACHINE}-pc-sysv${UNAME_RELEASE}
|
echo ${UNAME_MACHINE}-pc-sysv${UNAME_RELEASE}
|
||||||
fi
|
fi
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
i?86:*:3.2:*)
|
i*86:*:3.2:*)
|
||||||
if test -f /usr/options/cb.name; then
|
if test -f /usr/options/cb.name; then
|
||||||
UNAME_REL=`sed -n 's/.*Version //p' </usr/options/cb.name`
|
UNAME_REL=`sed -n 's/.*Version //p' </usr/options/cb.name`
|
||||||
echo ${UNAME_MACHINE}-pc-isc$UNAME_REL
|
echo ${UNAME_MACHINE}-pc-isc$UNAME_REL
|
||||||
@ -990,7 +993,7 @@ EOF
|
|||||||
echo ${UNAME_MACHINE}-pc-sysv32
|
echo ${UNAME_MACHINE}-pc-sysv32
|
||||||
fi
|
fi
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
i?86:*DOS:*:*)
|
i*86:*DOS:*:*)
|
||||||
echo ${UNAME_MACHINE}-pc-msdosdjgpp
|
echo ${UNAME_MACHINE}-pc-msdosdjgpp
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
pc:*:*:*)
|
pc:*:*:*)
|
||||||
@ -1029,13 +1032,13 @@ EOF
|
|||||||
3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*)
|
3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*)
|
||||||
/bin/uname -p 2>/dev/null | grep 86 >/dev/null \
|
/bin/uname -p 2>/dev/null | grep 86 >/dev/null \
|
||||||
&& echo i486-ncr-sysv4 && exit 0 ;;
|
&& echo i486-ncr-sysv4 && exit 0 ;;
|
||||||
m68*:LynxOS:2.*:*)
|
m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*)
|
||||||
echo m68k-unknown-lynxos${UNAME_RELEASE}
|
echo m68k-unknown-lynxos${UNAME_RELEASE}
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
mc68030:UNIX_System_V:4.*:*)
|
mc68030:UNIX_System_V:4.*:*)
|
||||||
echo m68k-atari-sysv4
|
echo m68k-atari-sysv4
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
i?86:LynxOS:2.*:* | i?86:LynxOS:3.[01]*:*)
|
i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*)
|
||||||
echo i386-unknown-lynxos${UNAME_RELEASE}
|
echo i386-unknown-lynxos${UNAME_RELEASE}
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
TSUNAMI:LynxOS:2.*:*)
|
TSUNAMI:LynxOS:2.*:*)
|
||||||
@ -1044,7 +1047,7 @@ EOF
|
|||||||
rs6000:LynxOS:2.*:*)
|
rs6000:LynxOS:2.*:*)
|
||||||
echo rs6000-unknown-lynxos${UNAME_RELEASE}
|
echo rs6000-unknown-lynxos${UNAME_RELEASE}
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:*)
|
PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.0*:*)
|
||||||
echo powerpc-unknown-lynxos${UNAME_RELEASE}
|
echo powerpc-unknown-lynxos${UNAME_RELEASE}
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
SM[BE]S:UNIX_SV:*:*)
|
SM[BE]S:UNIX_SV:*:*)
|
||||||
@ -1146,7 +1149,7 @@ EOF
|
|||||||
fi
|
fi
|
||||||
echo ${UNAME_MACHINE}-unknown-plan9
|
echo ${UNAME_MACHINE}-unknown-plan9
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
i?86:OS/2:*:*)
|
i*86:OS/2:*:*)
|
||||||
# If we were able to find `uname', then EMX Unix compatibility
|
# If we were able to find `uname', then EMX Unix compatibility
|
||||||
# is probably installed.
|
# is probably installed.
|
||||||
echo ${UNAME_MACHINE}-pc-os2-emx
|
echo ${UNAME_MACHINE}-pc-os2-emx
|
||||||
|
38
config.sub
vendored
38
config.sub
vendored
@ -3,7 +3,7 @@
|
|||||||
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
|
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
|
||||||
# Free Software Foundation, Inc.
|
# Free Software Foundation, Inc.
|
||||||
|
|
||||||
timestamp='2001-03-09'
|
timestamp='2001-05-11'
|
||||||
|
|
||||||
# This file is (in principle) common to ALL GNU software.
|
# This file is (in principle) common to ALL GNU software.
|
||||||
# The presence of a machine in this file suggests that SOME GNU software
|
# The presence of a machine in this file suggests that SOME GNU software
|
||||||
@ -231,8 +231,10 @@ case $basic_machine in
|
|||||||
| mips64orion | mips64orionel | mipstx39 | mipstx39el \
|
| mips64orion | mips64orionel | mipstx39 | mipstx39el \
|
||||||
| mips64vr4300 | mips64vr4300el | mips64vr4100 | mips64vr4100el \
|
| mips64vr4300 | mips64vr4300el | mips64vr4100 | mips64vr4100el \
|
||||||
| mips64vr5000 | miprs64vr5000el | mcore | s390 | s390x \
|
| mips64vr5000 | miprs64vr5000el | mcore | s390 | s390x \
|
||||||
| sparc | sparclet | sparclite | sparc64 | sparcv9 | v850 | c4x \
|
| sparc | sparclet | sparclite | sparc64 | sparcv9 | sparcv9b \
|
||||||
| thumb | d10v | d30v | fr30 | avr | openrisc)
|
| v850 | c4x \
|
||||||
|
| thumb | d10v | d30v | fr30 | avr | openrisc | tic80 \
|
||||||
|
| pj | pjl | h8500 | z8k)
|
||||||
basic_machine=$basic_machine-unknown
|
basic_machine=$basic_machine-unknown
|
||||||
;;
|
;;
|
||||||
m6811 | m68hc11 | m6812 | m68hc12)
|
m6811 | m68hc11 | m6812 | m68hc12)
|
||||||
@ -240,13 +242,13 @@ case $basic_machine in
|
|||||||
basic_machine=$basic_machine-unknown
|
basic_machine=$basic_machine-unknown
|
||||||
os=-none
|
os=-none
|
||||||
;;
|
;;
|
||||||
m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | z8k | v70 | h8500 | w65 | pj | pjl)
|
m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | z8k | v70 | w65 | z8k)
|
||||||
;;
|
;;
|
||||||
|
|
||||||
# We use `pc' rather than `unknown'
|
# We use `pc' rather than `unknown'
|
||||||
# because (1) that's what they normally are, and
|
# because (1) that's what they normally are, and
|
||||||
# (2) the word "unknown" tends to confuse beginning users.
|
# (2) the word "unknown" tends to confuse beginning users.
|
||||||
i[234567]86 | x86_64)
|
i*86 | x86_64)
|
||||||
basic_machine=$basic_machine-pc
|
basic_machine=$basic_machine-pc
|
||||||
;;
|
;;
|
||||||
# Object if more than one company name word.
|
# Object if more than one company name word.
|
||||||
@ -256,7 +258,7 @@ case $basic_machine in
|
|||||||
;;
|
;;
|
||||||
# Recognize the basic CPU types with company name.
|
# Recognize the basic CPU types with company name.
|
||||||
# FIXME: clean up the formatting here.
|
# FIXME: clean up the formatting here.
|
||||||
vax-* | tahoe-* | i[234567]86-* | i860-* | ia64-* | m32r-* | m68k-* | m68000-* \
|
vax-* | tahoe-* | i*86-* | i860-* | ia64-* | m32r-* | m68k-* | m68000-* \
|
||||||
| m88k-* | sparc-* | ns32k-* | fx80-* | arc-* | c[123]* \
|
| m88k-* | sparc-* | ns32k-* | fx80-* | arc-* | c[123]* \
|
||||||
| arm-* | armbe-* | armle-* | armv*-* | strongarm-* | xscale-* \
|
| arm-* | armbe-* | armle-* | armv*-* | strongarm-* | xscale-* \
|
||||||
| mips-* | pyramid-* | tron-* | a29k-* | romp-* | rs6000-* \
|
| mips-* | pyramid-* | tron-* | a29k-* | romp-* | rs6000-* \
|
||||||
@ -269,16 +271,17 @@ case $basic_machine in
|
|||||||
| alphaev6[78]-* \
|
| alphaev6[78]-* \
|
||||||
| we32k-* | cydra-* | ns16k-* | pn-* | np1-* | xps100-* \
|
| we32k-* | cydra-* | ns16k-* | pn-* | np1-* | xps100-* \
|
||||||
| clipper-* | orion-* \
|
| clipper-* | orion-* \
|
||||||
| sparclite-* | pdp10-* | pdp11-* | sh-* | powerpc-* | powerpcle-* \
|
| sparclite-* | pdp10-* | pdp11-* | sh-* | sh[34]-* | sh[34]eb-* \
|
||||||
| sparc64-* | sparcv9-* | sparc86x-* | mips16-* | mips64-* | mipsel-* \
|
| powerpc-* | powerpcle-* | sparc64-* | sparcv9-* | sparcv9b-* | sparc86x-* \
|
||||||
|
| mips16-* | mips64-* | mipsel-* \
|
||||||
| mips64el-* | mips64orion-* | mips64orionel-* \
|
| mips64el-* | mips64orion-* | mips64orionel-* \
|
||||||
| mips64vr4100-* | mips64vr4100el-* | mips64vr4300-* | mips64vr4300el-* \
|
| mips64vr4100-* | mips64vr4100el-* | mips64vr4300-* | mips64vr4300el-* \
|
||||||
| mipstx39-* | mipstx39el-* | mcore-* \
|
| mipstx39-* | mipstx39el-* | mcore-* \
|
||||||
| f30[01]-* | f700-* | s390-* | s390x-* | sv1-* | t3e-* \
|
| f30[01]-* | f700-* | s390-* | s390x-* | sv1-* | t3e-* \
|
||||||
| [cjt]90-* \
|
| [cjt]90-* \
|
||||||
| m88110-* | m680[01234]0-* | m683?2-* | m68360-* | z8k-* | d10v-* \
|
| m88110-* | m680[01234]0-* | m683?2-* | m68360-* | z8k-* | d10v-* \
|
||||||
| thumb-* | v850-* | d30v-* | tic30-* | c30-* | fr30-* \
|
| thumb-* | v850-* | d30v-* | tic30-* | tic80-* | c30-* | fr30-* \
|
||||||
| bs2000-* | tic54x-* | c54x-* | x86_64-*)
|
| bs2000-* | tic54x-* | c54x-* | x86_64-* | pj-* | pjl-*)
|
||||||
;;
|
;;
|
||||||
# Recognize the various machine names and aliases which stand
|
# Recognize the various machine names and aliases which stand
|
||||||
# for a CPU type and a company and sometimes even an OS.
|
# for a CPU type and a company and sometimes even an OS.
|
||||||
@ -505,19 +508,19 @@ case $basic_machine in
|
|||||||
basic_machine=i370-ibm
|
basic_machine=i370-ibm
|
||||||
;;
|
;;
|
||||||
# I'm not sure what "Sysv32" means. Should this be sysv3.2?
|
# I'm not sure what "Sysv32" means. Should this be sysv3.2?
|
||||||
i[34567]86v32)
|
i*86v32)
|
||||||
basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
|
basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
|
||||||
os=-sysv32
|
os=-sysv32
|
||||||
;;
|
;;
|
||||||
i[34567]86v4*)
|
i*86v4*)
|
||||||
basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
|
basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
|
||||||
os=-sysv4
|
os=-sysv4
|
||||||
;;
|
;;
|
||||||
i[34567]86v)
|
i*86v)
|
||||||
basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
|
basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
|
||||||
os=-sysv
|
os=-sysv
|
||||||
;;
|
;;
|
||||||
i[34567]86sol2)
|
i*86sol2)
|
||||||
basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
|
basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
|
||||||
os=-solaris2
|
os=-solaris2
|
||||||
;;
|
;;
|
||||||
@ -934,7 +937,7 @@ case $basic_machine in
|
|||||||
sh3 | sh4)
|
sh3 | sh4)
|
||||||
basic_machine=sh-unknown
|
basic_machine=sh-unknown
|
||||||
;;
|
;;
|
||||||
sparc | sparcv9)
|
sparc | sparcv9 | sparcv9b)
|
||||||
basic_machine=sparc-sun
|
basic_machine=sparc-sun
|
||||||
;;
|
;;
|
||||||
cydra)
|
cydra)
|
||||||
@ -956,6 +959,9 @@ case $basic_machine in
|
|||||||
basic_machine=c4x-none
|
basic_machine=c4x-none
|
||||||
os=-coff
|
os=-coff
|
||||||
;;
|
;;
|
||||||
|
*-unknown)
|
||||||
|
# Make sure to match an already-canonicalized machine name.
|
||||||
|
;;
|
||||||
*)
|
*)
|
||||||
echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
|
echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
|
||||||
exit 1
|
exit 1
|
||||||
@ -1021,7 +1027,7 @@ case $os in
|
|||||||
;;
|
;;
|
||||||
-qnx*)
|
-qnx*)
|
||||||
case $basic_machine in
|
case $basic_machine in
|
||||||
x86-* | i[34567]86-*)
|
x86-* | i*86-*)
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
os=-nto$os
|
os=-nto$os
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
@setfilename standards.info
|
@setfilename standards.info
|
||||||
@settitle GNU Coding Standards
|
@settitle GNU Coding Standards
|
||||||
@c This date is automagically updated when you save this file:
|
@c This date is automagically updated when you save this file:
|
||||||
@set lastupdate March 6, 2001
|
@set lastupdate March 23, 2001
|
||||||
@c %**end of header
|
@c %**end of header
|
||||||
|
|
||||||
@ifinfo
|
@ifinfo
|
||||||
@ -112,25 +112,27 @@ programs written in C, but many of the rules and principles are useful
|
|||||||
even if you write in another programming language. The rules often
|
even if you write in another programming language. The rules often
|
||||||
state reasons for writing in a certain way.
|
state reasons for writing in a certain way.
|
||||||
|
|
||||||
Corrections or suggestions for this document should be sent to
|
|
||||||
@email{bug-standards@@gnu.org}. If you make a suggestion, please include a
|
|
||||||
suggested new wording for it; our time is limited. We prefer a context
|
|
||||||
diff to the @file{standards.texi} or @file{make-stds.texi} files, but if
|
|
||||||
you don't have those files, please mail your suggestion anyway.
|
|
||||||
|
|
||||||
This release of the GNU Coding Standards was last updated
|
This release of the GNU Coding Standards was last updated
|
||||||
@value{lastupdate}.
|
@value{lastupdate}.
|
||||||
|
|
||||||
@cindex where to obtain @code{standards.texi}
|
@cindex where to obtain @code{standards.texi}
|
||||||
@cindex downloading this manual
|
@cindex downloading this manual
|
||||||
If you did not obtain this file directly from the GNU project and
|
If you did not obtain this file directly from the GNU project and
|
||||||
recently, please check for a newer version. You can ftp the GNU Coding
|
recently, please check for a newer version. You can ftp the GNU
|
||||||
Standards from any GNU FTP host in the directory
|
Coding Standards from any GNU FTP host in the directory
|
||||||
@file{/pub/gnu/standards/}. The GNU Coding Standards are available
|
@file{/pub/gnu/standards/}. The GNU Coding Standards are available
|
||||||
there in several different formats: @file{standards.text},
|
there in several different formats: @file{standards.text},
|
||||||
@file{standards.texi}, @file{standards.info}, and @file{standards.dvi}.
|
@file{standards.info}, and @file{standards.dvi}, as well as the
|
||||||
The GNU Coding Standards are also available on the GNU World Wide Web
|
Texinfo ``source'' which is divided in two files:
|
||||||
server: @uref{http://www.gnu.org/prep/standards_toc.html}.
|
@file{standards.texi} and @file{make-stds.texi}. The GNU Coding
|
||||||
|
Standards are also available on the GNU World Wide Web server:
|
||||||
|
@uref{http://www.gnu.org/prep/standards_toc.html}.
|
||||||
|
|
||||||
|
Corrections or suggestions for this document should be sent to
|
||||||
|
@email{bug-standards@@gnu.org}. If you make a suggestion, please include a
|
||||||
|
suggested new wording for it; our time is limited. We prefer a context
|
||||||
|
diff to the @file{standards.texi} or @file{make-stds.texi} files, but if
|
||||||
|
you don't have those files, please mail your suggestion anyway.
|
||||||
|
|
||||||
@node Legal Issues
|
@node Legal Issues
|
||||||
@chapter Keeping Free Software Free
|
@chapter Keeping Free Software Free
|
||||||
|
@ -3,10 +3,10 @@
|
|||||||
% Load plain if necessary, i.e., if running under initex.
|
% Load plain if necessary, i.e., if running under initex.
|
||||||
\expandafter\ifx\csname fmtname\endcsname\relax\input plain\fi
|
\expandafter\ifx\csname fmtname\endcsname\relax\input plain\fi
|
||||||
%
|
%
|
||||||
\def\texinfoversion{2000-12-11.07}
|
\def\texinfoversion{2001-03-28.08}
|
||||||
%
|
%
|
||||||
% Copyright (C) 1985, 86, 88, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 2000
|
% Copyright (C) 1985, 86, 88, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99,
|
||||||
% Free Software Foundation, Inc.
|
% 2000, 01 Free Software Foundation, Inc.
|
||||||
%
|
%
|
||||||
% This texinfo.tex file is free software; you can redistribute it and/or
|
% This texinfo.tex file is free software; you can redistribute it and/or
|
||||||
% modify it under the terms of the GNU General Public License as
|
% modify it under the terms of the GNU General Public License as
|
||||||
@ -730,9 +730,9 @@ where each line of input produces a line of output.}
|
|||||||
\fi
|
\fi
|
||||||
%
|
%
|
||||||
\ifodd\pageno
|
\ifodd\pageno
|
||||||
\def\temp{\inleftmargin\lefttext}%
|
\def\temp{\inrightmargin\righttext}% odd page -> outside is right margin
|
||||||
\else
|
\else
|
||||||
\def\temp{\inrightmargin\righttext}%
|
\def\temp{\inleftmargin\lefttext}%
|
||||||
\fi
|
\fi
|
||||||
\temp
|
\temp
|
||||||
}
|
}
|
||||||
@ -924,11 +924,15 @@ where each line of input produces a line of output.}
|
|||||||
\fi
|
\fi
|
||||||
\ifx\empty\imagewidth\else width \imagewidth \fi
|
\ifx\empty\imagewidth\else width \imagewidth \fi
|
||||||
\ifx\empty\imageheight\else height \imageheight \fi
|
\ifx\empty\imageheight\else height \imageheight \fi
|
||||||
{#1.pdf}%
|
\ifnum\pdftexversion<13
|
||||||
|
#1.pdf%
|
||||||
|
\else
|
||||||
|
{#1.pdf}%
|
||||||
|
\fi
|
||||||
\ifnum\pdftexversion < 14 \else
|
\ifnum\pdftexversion < 14 \else
|
||||||
\pdfrefximage \pdflastximage
|
\pdfrefximage \pdflastximage
|
||||||
\fi}
|
\fi}
|
||||||
\def\pdfmkdest#1{\pdfdest name{#1@} xyz}
|
\def\pdfmkdest#1{\pdfdest name{#1} xyz}
|
||||||
\def\pdfmkpgn#1{#1@}
|
\def\pdfmkpgn#1{#1@}
|
||||||
\let\linkcolor = \Blue % was Cyan, but that seems light?
|
\let\linkcolor = \Blue % was Cyan, but that seems light?
|
||||||
\def\endlink{\Black\pdfendlink}
|
\def\endlink{\Black\pdfendlink}
|
||||||
@ -2904,16 +2908,17 @@ width0pt\relax} \fi
|
|||||||
% Now the real index entry with the fonts.
|
% Now the real index entry with the fonts.
|
||||||
\toks0 = {#2}%
|
\toks0 = {#2}%
|
||||||
%
|
%
|
||||||
% If third (subentry) arg is present, add it to the index
|
% If the third (subentry) arg is present, add it to the index
|
||||||
% string. And include a space.
|
% line to write.
|
||||||
\ifx\thirdarg\emptymacro \else
|
\ifx\thirdarg\emptymacro \else
|
||||||
\toks0 = \expandafter{\the\toks0 \space #3}%
|
\toks0 = \expandafter{\the\toks0{#3}}%
|
||||||
\fi
|
\fi
|
||||||
%
|
%
|
||||||
% Set up the complete index entry, with both the sort key
|
% Set up the complete index entry, with both the sort key and
|
||||||
% and the original text, including any font commands. We write
|
% the original text, including any font commands. We write
|
||||||
% three arguments to \entry to the .?? file, texindex reduces to
|
% three arguments to \entry to the .?? file (four in the
|
||||||
% two when writing the .??s sorted result.
|
% subentry case), texindex reduces to two when writing the .??s
|
||||||
|
% sorted result.
|
||||||
\edef\temp{%
|
\edef\temp{%
|
||||||
\write\csname#1indfile\endcsname{%
|
\write\csname#1indfile\endcsname{%
|
||||||
\realbackslash entry{\indexsorttmp}{\folio}{\the\toks0}}%
|
\realbackslash entry{\indexsorttmp}{\folio}{\the\toks0}}%
|
||||||
@ -3135,11 +3140,18 @@ width0pt\relax} \fi
|
|||||||
\def\primary #1{\line{#1\hfil}}
|
\def\primary #1{\line{#1\hfil}}
|
||||||
|
|
||||||
\newskip\secondaryindent \secondaryindent=0.5cm
|
\newskip\secondaryindent \secondaryindent=0.5cm
|
||||||
|
\def\secondary#1#2{{%
|
||||||
\def\secondary #1#2{
|
\parfillskip=0in
|
||||||
{\parfillskip=0in \parskip=0in
|
\parskip=0in
|
||||||
\hangindent =1in \hangafter=1
|
\hangindent=1in
|
||||||
\noindent\hskip\secondaryindent\hbox{#1}\indexdotfill #2\par
|
\hangafter=1
|
||||||
|
\noindent\hskip\secondaryindent\hbox{#1}\indexdotfill
|
||||||
|
\ifpdf
|
||||||
|
\pdfgettoks#2.\ \the\toksA % The page number ends the paragraph.
|
||||||
|
\else
|
||||||
|
#2
|
||||||
|
\fi
|
||||||
|
\par
|
||||||
}}
|
}}
|
||||||
|
|
||||||
% Define two-column mode, which we use to typeset indexes.
|
% Define two-column mode, which we use to typeset indexes.
|
||||||
@ -5836,7 +5848,8 @@ width0pt\relax} \fi
|
|||||||
\setbox0 = \hbox{\ignorespaces #2}\ifdim\wd0 > 0pt \epsfxsize=#2\relax \fi
|
\setbox0 = \hbox{\ignorespaces #2}\ifdim\wd0 > 0pt \epsfxsize=#2\relax \fi
|
||||||
\setbox0 = \hbox{\ignorespaces #3}\ifdim\wd0 > 0pt \epsfysize=#3\relax \fi
|
\setbox0 = \hbox{\ignorespaces #3}\ifdim\wd0 > 0pt \epsfysize=#3\relax \fi
|
||||||
\begingroup
|
\begingroup
|
||||||
\catcode`\^^M = 5 % in case we're inside an example
|
\catcode`\^^M = 5 % in case we're inside an example
|
||||||
|
\normalturnoffactive % allow _ et al. in names
|
||||||
% If the image is by itself, center it.
|
% If the image is by itself, center it.
|
||||||
\ifvmode
|
\ifvmode
|
||||||
\nobreak\bigskip
|
\nobreak\bigskip
|
||||||
@ -5948,6 +5961,15 @@ should work if nowhere else does.}
|
|||||||
\setemergencystretch
|
\setemergencystretch
|
||||||
}
|
}
|
||||||
|
|
||||||
|
% Use `small' versions.
|
||||||
|
%
|
||||||
|
\def\smallenvironments{%
|
||||||
|
\let\smalldisplay = \smalldisplayx
|
||||||
|
\let\smallexample = \smalllispx
|
||||||
|
\let\smallformat = \smallformatx
|
||||||
|
\let\smalllisp = \smalllispx
|
||||||
|
}
|
||||||
|
|
||||||
% @letterpaper (the default).
|
% @letterpaper (the default).
|
||||||
\def\letterpaper{{\globaldefs = 1
|
\def\letterpaper{{\globaldefs = 1
|
||||||
\parskip = 3pt plus 2pt minus 1pt
|
\parskip = 3pt plus 2pt minus 1pt
|
||||||
@ -5970,11 +5992,7 @@ should work if nowhere else does.}
|
|||||||
\contentsrightmargin = 0pt
|
\contentsrightmargin = 0pt
|
||||||
\deftypemargin = 0pt
|
\deftypemargin = 0pt
|
||||||
\defbodyindent = .5cm
|
\defbodyindent = .5cm
|
||||||
%
|
\smallenvironments
|
||||||
\let\smalldisplay = \smalldisplayx
|
|
||||||
\let\smallexample = \smalllispx
|
|
||||||
\let\smallformat = \smallformatx
|
|
||||||
\let\smalllisp = \smalllispx
|
|
||||||
}}
|
}}
|
||||||
|
|
||||||
% Use @afourpaper to print on European A4 paper.
|
% Use @afourpaper to print on European A4 paper.
|
||||||
@ -5988,6 +6006,26 @@ should work if nowhere else does.}
|
|||||||
\hfuzz = 1pt
|
\hfuzz = 1pt
|
||||||
}}
|
}}
|
||||||
|
|
||||||
|
% Use @afivepaper to print on European A5 paper.
|
||||||
|
% From romildo@urano.iceb.ufop.br, 2 July 2000.
|
||||||
|
% He also recommends making @example and @lisp be small.
|
||||||
|
\def\afivepaper{{\globaldefs = 1
|
||||||
|
\setleading{12.5pt}%
|
||||||
|
\parskip = 2pt plus 1pt minus 0.1pt
|
||||||
|
%
|
||||||
|
\internalpagesizes{166mm}{120mm}{\voffset}{-8mm}{\bindingoffset}{8pt}%
|
||||||
|
%
|
||||||
|
\lispnarrowing = 0.2in
|
||||||
|
\tolerance = 800
|
||||||
|
\hfuzz = 1.2pt
|
||||||
|
\contentsrightmargin = 0mm
|
||||||
|
\deftypemargin = 0pt
|
||||||
|
\defbodyindent = 2mm
|
||||||
|
\tableindent = 12mm
|
||||||
|
%
|
||||||
|
\smallenvironments
|
||||||
|
}}
|
||||||
|
|
||||||
% A specific text layout, 24x15cm overall, intended for A4 paper. Top margin
|
% A specific text layout, 24x15cm overall, intended for A4 paper. Top margin
|
||||||
% 29mm, hence bottom margin 28mm, nominal side margin 3cm.
|
% 29mm, hence bottom margin 28mm, nominal side margin 3cm.
|
||||||
\def\afourlatex{{\globaldefs = 1
|
\def\afourlatex{{\globaldefs = 1
|
||||||
|
Loading…
Reference in New Issue
Block a user