mirror of
git://git.sv.gnu.org/autoconf
synced 2025-01-30 11:01:45 +08:00
* BUGS: Remove mention of VPATH problem, since it's now documented
not to be a bug in the Autoconf build procedure itself, but rather a problem with the proprietary `make' programs. * doc/autoconf.texi (Build Directories): Add a cross reference to VPATH and Make. * build-aux/config.guess, build-aux/config.sub, build-aux/texinfo.tex: * doc/standards.texi: Sync from gnulib.
This commit is contained in:
parent
093479b077
commit
888d88c141
6
BUGS
6
BUGS
@ -3,7 +3,7 @@
|
||||
This file lists the bugs you must be aware of. Be sure to check this
|
||||
file before using Autoconf, and especially CVS versions of Autoconf.
|
||||
|
||||
Copyright 2000, 2001, 2002 Free Software Foundation, Inc.
|
||||
Copyright (C) 2000, 2001, 2002, 2006 Free Software Foundation, Inc.
|
||||
|
||||
This file is part of GNU Autoconf.
|
||||
|
||||
@ -36,8 +36,4 @@ and use with caution an Autoconf with ``Important bugs''.
|
||||
|
||||
* Minor Problems
|
||||
|
||||
Some Makefile segments do not behave correctly in VPATH builds with proprietary
|
||||
`make' programs. Some BSD `make's will work. For best results, build in the
|
||||
source directory or use GNU `make'.
|
||||
|
||||
Parallel builds via `make -jN' do not work.
|
||||
|
10
ChangeLog
10
ChangeLog
@ -1,5 +1,15 @@
|
||||
2006-12-10 Paul Eggert <eggert@cs.ucla.edu>
|
||||
|
||||
* BUGS: Remove mention of VPATH problem, since it's now documented
|
||||
not to be a bug in the Autoconf build procedure itself, but rather
|
||||
a problem with the proprietary `make' programs.
|
||||
|
||||
* doc/autoconf.texi (Build Directories): Add a cross reference
|
||||
to VPATH and Make.
|
||||
|
||||
* build-aux/config.guess, build-aux/config.sub, build-aux/texinfo.tex:
|
||||
* doc/standards.texi: Sync from gnulib.
|
||||
|
||||
* man/autoconf.1, man/autoheader.1, man/autom4te.1, man/autoreconf.1:
|
||||
* man/autoscan.1, man/autoupdate.1, man/config.guess.1:
|
||||
* man/config.sub.1, man/ifnames.1: Remove from CVS, since they're
|
||||
|
8
build-aux/config.guess
vendored
8
build-aux/config.guess
vendored
@ -4,7 +4,7 @@
|
||||
# 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation,
|
||||
# Inc.
|
||||
|
||||
timestamp='2006-11-15'
|
||||
timestamp='2006-12-08'
|
||||
|
||||
# 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
|
||||
@ -951,6 +951,9 @@ EOF
|
||||
x86_64:Linux:*:*)
|
||||
echo x86_64-unknown-linux-gnu
|
||||
exit ;;
|
||||
xtensa:Linux:*:*)
|
||||
echo xtensa-unknown-linux-gnu
|
||||
exit ;;
|
||||
i*86:Linux:*:*)
|
||||
# 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
|
||||
@ -1209,6 +1212,9 @@ EOF
|
||||
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 ;;
|
||||
|
6
build-aux/config.sub
vendored
6
build-aux/config.sub
vendored
@ -4,7 +4,7 @@
|
||||
# 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation,
|
||||
# Inc.
|
||||
|
||||
timestamp='2006-11-07'
|
||||
timestamp='2006-12-08'
|
||||
|
||||
# This file is (in principle) common to ALL GNU software.
|
||||
# The presence of a machine in this file suggests that SOME GNU software
|
||||
@ -245,7 +245,7 @@ case $basic_machine in
|
||||
| bfin \
|
||||
| c4x | clipper \
|
||||
| d10v | d30v | dlx | dsp16xx \
|
||||
| fr30 | frv \
|
||||
| fido | fr30 | frv \
|
||||
| h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
|
||||
| i370 | i860 | i960 | ia64 \
|
||||
| ip2k | iq2000 \
|
||||
@ -324,7 +324,7 @@ case $basic_machine in
|
||||
| clipper-* | craynv-* | cydra-* \
|
||||
| d10v-* | d30v-* | dlx-* \
|
||||
| elxsi-* \
|
||||
| f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \
|
||||
| f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \
|
||||
| h8300-* | h8500-* \
|
||||
| hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
|
||||
| i*86-* | i860-* | i960-* | ia64-* \
|
||||
|
@ -3,7 +3,7 @@
|
||||
% Load plain if necessary, i.e., if running under initex.
|
||||
\expandafter\ifx\csname fmtname\endcsname\relax\input plain\fi
|
||||
%
|
||||
\def\texinfoversion{2006-11-08.17}
|
||||
\def\texinfoversion{2006-12-05.11}
|
||||
%
|
||||
% Copyright (C) 1985, 1986, 1988, 1990, 1991, 1992, 1993, 1994, 1995,
|
||||
% 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free
|
||||
@ -7126,11 +7126,305 @@ output) for that.)}
|
||||
is empty. Maybe you need to install it? In the current directory
|
||||
should work if nowhere else does.}
|
||||
|
||||
% Set the catcode of characters 128 through 255 to the specified number.
|
||||
%
|
||||
\def\setnonasciicharscatcode#1{
|
||||
\count255=128
|
||||
\loop\ifnum\count255<256
|
||||
\global\catcode\count255=#1
|
||||
\advance\count255 by 1
|
||||
\repeat
|
||||
}
|
||||
|
||||
% @documentencoding should change something in TeX eventually, most
|
||||
% likely, but for now just recognize it.
|
||||
\let\documentencoding = \comment
|
||||
% @documentencoding sets the definition of non-ASCII characters
|
||||
% according to the specified encoding.
|
||||
%
|
||||
\parseargdef\documentencoding{%
|
||||
% Encoding being declared for the document.
|
||||
\def\declaredencoding{\csname #1.enc\endcsname}%
|
||||
%
|
||||
% Supported encodings: names converted to tokens in order to be able
|
||||
% to compare them with \ifx.
|
||||
\def\latone{\csname ISO-8859-1.enc\endcsname}%
|
||||
\def\latnine{\csname ISO-8859-15.enc\endcsname}%
|
||||
\def\lattwo{\csname ISO-8859-2.enc\endcsname}%
|
||||
\def\ascii{\csname US-ASCII.enc\endcsname}%
|
||||
%
|
||||
\ifx \declaredencoding \ascii
|
||||
\asciichardefs
|
||||
%
|
||||
\else \ifx \declaredencoding \lattwo
|
||||
\setnonasciicharscatcode\active
|
||||
\lattwochardefs
|
||||
%
|
||||
\else \ifx \declaredencoding \latone
|
||||
\setnonasciicharscatcode\active
|
||||
\latonechardefs
|
||||
%
|
||||
\else \ifx \declaredencoding \latnine
|
||||
\setnonasciicharscatcode\active
|
||||
\latninechardefs
|
||||
%
|
||||
\else
|
||||
\message{Unknown document encoding #1, ignoring.}%
|
||||
%
|
||||
\fi % latnine
|
||||
\fi % latone
|
||||
\fi % lattwo
|
||||
\fi % ascii
|
||||
}
|
||||
|
||||
% A message to be logged when using a character that isn't available
|
||||
% the default font encoding (OT1).
|
||||
%
|
||||
\def\missingcharmsg#1{\message{Character missing in OT1 encoding: #1.}}
|
||||
|
||||
% Take account of \c (plain) vs. \, (Texinfo) difference.
|
||||
\def\cedilla#1{\ifx\c\ptexc\c{#1}\else\,{#1}\fi}
|
||||
|
||||
% First, make active non-ASCII characters in order for them to be
|
||||
% correctly categorized when TeX reads the replacement text of
|
||||
% macros containing the character definitions.
|
||||
\setnonasciicharscatcode\active
|
||||
%
|
||||
% Latin1 (ISO-8859-1) character definitions.
|
||||
\def\latonechardefs{%
|
||||
\gdef^^a0{~}
|
||||
\gdef^^a1{\exclamdown}
|
||||
\gdef^^a2{\missingcharmsg{CENT SIGN}}
|
||||
\gdef^^a3{{\pounds}}
|
||||
\gdef^^a4{\missingcharmsg{CURRENCY SIGN}}
|
||||
\gdef^^a5{\missingcharmsg{YEN SIGN}}
|
||||
\gdef^^a6{\missingcharmsg{BROKEN BAR}}
|
||||
\gdef^^a7{\S}
|
||||
\gdef^^a8{\"{}}
|
||||
\gdef^^a9{\copyright}
|
||||
\gdef^^aa{\ordf}
|
||||
\gdef^^ab{\missingcharmsg{LEFT-POINTING DOUBLE ANGLE QUOTATION MARK}}
|
||||
\gdef^^ac{$\lnot$}
|
||||
\gdef^^ad{\-}
|
||||
\gdef^^ae{\registeredsymbol}
|
||||
\gdef^^af{\={}}
|
||||
%
|
||||
\gdef^^b0{\textdegree}
|
||||
\gdef^^b1{$\pm$}
|
||||
\gdef^^b2{$^2$}
|
||||
\gdef^^b3{$^3$}
|
||||
\gdef^^b4{\'{}}
|
||||
\gdef^^b5{$\mu$}
|
||||
\gdef^^b6{\P}
|
||||
%
|
||||
\gdef^^b7{$^.$}
|
||||
\gdef^^b8{\cedilla\ }
|
||||
\gdef^^b9{$^1$}
|
||||
\gdef^^ba{\ordm}
|
||||
%
|
||||
\gdef^^bb{\missingcharmsg{RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK}}
|
||||
\gdef^^bc{$1\over4$}
|
||||
\gdef^^bd{$1\over2$}
|
||||
\gdef^^be{$3\over4$}
|
||||
\gdef^^bf{\questiondown}
|
||||
%
|
||||
\gdef^^c0{\`A}
|
||||
\gdef^^c1{\'A}
|
||||
\gdef^^c2{\^A}
|
||||
\gdef^^c3{\~A}
|
||||
\gdef^^c4{\"A}
|
||||
\gdef^^c5{\ringaccent A}
|
||||
\gdef^^c6{\AE}
|
||||
\gdef^^c7{\cedilla C}
|
||||
\gdef^^c8{\`E}
|
||||
\gdef^^c9{\'E}
|
||||
\gdef^^ca{\^E}
|
||||
\gdef^^cb{\"E}
|
||||
\gdef^^cc{\`I}
|
||||
\gdef^^cd{\'I}
|
||||
\gdef^^ce{\^I}
|
||||
\gdef^^cf{\"I}
|
||||
%
|
||||
\gdef^^d0{\missingcharmsg{LATIN CAPITAL LETTER ETH}}
|
||||
\gdef^^d1{\~N}
|
||||
\gdef^^d2{\`O}
|
||||
\gdef^^d3{\'O}
|
||||
\gdef^^d4{\^O}
|
||||
\gdef^^d5{\~O}
|
||||
\gdef^^d6{\"O}
|
||||
\gdef^^d7{$\times$}
|
||||
\gdef^^d8{\O}
|
||||
\gdef^^d9{\`U}
|
||||
\gdef^^da{\'U}
|
||||
\gdef^^db{\^U}
|
||||
\gdef^^dc{\"U}
|
||||
\gdef^^dd{\'Y}
|
||||
\gdef^^de{\missingcharmsg{LATIN CAPITAL LETTER THORN}}
|
||||
\gdef^^df{\ss}
|
||||
%
|
||||
\gdef^^e0{\`a}
|
||||
\gdef^^e1{\'a}
|
||||
\gdef^^e2{\^a}
|
||||
\gdef^^e3{\~a}
|
||||
\gdef^^e4{\"a}
|
||||
\gdef^^e5{\ringaccent a}
|
||||
\gdef^^e6{\ae}
|
||||
\gdef^^e7{\cedilla c}
|
||||
\gdef^^e8{\`e}
|
||||
\gdef^^e9{\'e}
|
||||
\gdef^^ea{\^e}
|
||||
\gdef^^eb{\"e}
|
||||
\gdef^^ec{\`{\dotless i}}
|
||||
\gdef^^ed{\'{\dotless i}}
|
||||
\gdef^^ee{\^{\dotless i}}
|
||||
\gdef^^ef{\"{\dotless i}}
|
||||
%
|
||||
\gdef^^f0{\missingcharmsg{LATIN SMALL LETTER ETH}}
|
||||
\gdef^^f1{\~n}
|
||||
\gdef^^f2{\`o}
|
||||
\gdef^^f3{\'o}
|
||||
\gdef^^f4{\^o}
|
||||
\gdef^^f5{\~o}
|
||||
\gdef^^f6{\"o}
|
||||
\gdef^^f7{$\div$}
|
||||
\gdef^^f8{\o}
|
||||
\gdef^^f9{\`u}
|
||||
\gdef^^fa{\'u}
|
||||
\gdef^^fb{\^u}
|
||||
\gdef^^fc{\"u}
|
||||
\gdef^^fd{\'y}
|
||||
\gdef^^fe{\missingcharmsg{LATIN SMALL LETTER THORN}}
|
||||
\gdef^^ff{\"y}
|
||||
}
|
||||
|
||||
% Latin9 (ISO-8859-15) encoding character definitions.
|
||||
\def\latninechardefs{%
|
||||
% Encoding is almost identical to Latin1.
|
||||
\latonechardefs
|
||||
%
|
||||
\gdef^^a4{\euro}
|
||||
\gdef^^a6{\v S}
|
||||
\gdef^^a8{\v s}
|
||||
\gdef^^b4{\v Z}
|
||||
\gdef^^b8{\v z}
|
||||
\gdef^^bc{\OE}
|
||||
\gdef^^bd{\oe}
|
||||
\gdef^^be{\"Y}
|
||||
}
|
||||
|
||||
% Latin2 (ISO-8859-2) character definitions.
|
||||
\def\lattwochardefs{%
|
||||
\gdef^^a0{~}
|
||||
\gdef^^a1{\missingcharmsg{LATIN CAPITAL LETTER A WITH OGONEK}}
|
||||
\gdef^^a2{\u{}}
|
||||
\gdef^^a3{\L}
|
||||
\gdef^^a4{\missingcharmsg{CURRENCY SIGN}}
|
||||
\gdef^^a5{\v L}
|
||||
\gdef^^a6{\'S}
|
||||
\gdef^^a7{\S}
|
||||
\gdef^^a8{\"{}}
|
||||
\gdef^^a9{\v S}
|
||||
\gdef^^aa{\cedilla S}
|
||||
\gdef^^ab{\v T}
|
||||
\gdef^^ac{\'Z}
|
||||
\gdef^^ad{\-}
|
||||
\gdef^^ae{\v Z}
|
||||
\gdef^^af{\dotaccent Z}
|
||||
%
|
||||
\gdef^^b0{\textdegree}
|
||||
\gdef^^b1{\missingcharmsg{LATIN SMALL LETTER A WITH OGONEK}}
|
||||
\gdef^^b2{\missingcharmsg{OGONEK}}
|
||||
\gdef^^b3{\l}
|
||||
\gdef^^b4{\'{}}
|
||||
\gdef^^b5{\v l}
|
||||
\gdef^^b6{\'s}
|
||||
\gdef^^b7{\v{}}
|
||||
\gdef^^b8{\cedilla\ }
|
||||
\gdef^^b9{\v s}
|
||||
\gdef^^ba{\cedilla s}
|
||||
\gdef^^bb{\v t}
|
||||
\gdef^^bc{\'z}
|
||||
\gdef^^bd{\H{}}
|
||||
\gdef^^be{\v z}
|
||||
\gdef^^bf{\dotaccent z}
|
||||
%
|
||||
\gdef^^c0{\'R}
|
||||
\gdef^^c1{\'A}
|
||||
\gdef^^c2{\^A}
|
||||
\gdef^^c3{\u A}
|
||||
\gdef^^c4{\"A}
|
||||
\gdef^^c5{\'L}
|
||||
\gdef^^c6{\'C}
|
||||
\gdef^^c7{\cedilla C}
|
||||
\gdef^^c8{\v C}
|
||||
\gdef^^c9{\'E}
|
||||
\gdef^^ca{\missingcharmsg{LATIN CAPITAL LETTER E WITH OGONEK}}
|
||||
\gdef^^cb{\"E}
|
||||
\gdef^^cc{\v E}
|
||||
\gdef^^cd{\'I}
|
||||
\gdef^^ce{\^I}
|
||||
\gdef^^cf{\v D}
|
||||
%
|
||||
\gdef^^d0{\missingcharmsg{LATIN CAPITAL LETTER D WITH STROKE}}
|
||||
\gdef^^d1{\'N}
|
||||
\gdef^^d2{\v N}
|
||||
\gdef^^d3{\'O}
|
||||
\gdef^^d4{\^O}
|
||||
\gdef^^d5{\H O}
|
||||
\gdef^^d6{\"O}
|
||||
\gdef^^d7{$\times$}
|
||||
\gdef^^d8{\v R}
|
||||
\gdef^^d9{\ringaccent U}
|
||||
\gdef^^da{\'U}
|
||||
\gdef^^db{\H U}
|
||||
\gdef^^dc{\"U}
|
||||
\gdef^^dd{\'Y}
|
||||
\gdef^^de{\cedilla T}
|
||||
\gdef^^df{\ss}
|
||||
%
|
||||
\gdef^^e0{\'r}
|
||||
\gdef^^e1{\'a}
|
||||
\gdef^^e2{\^a}
|
||||
\gdef^^e3{\u a}
|
||||
\gdef^^e4{\"a}
|
||||
\gdef^^e5{\'l}
|
||||
\gdef^^e6{\'c}
|
||||
\gdef^^e7{\cedilla c}
|
||||
\gdef^^e8{\v c}
|
||||
\gdef^^e9{\'e}
|
||||
\gdef^^ea{\missingcharmsg{LATIN SMALL LETTER E WITH OGONEK}}
|
||||
\gdef^^eb{\"e}
|
||||
\gdef^^ec{\v e}
|
||||
\gdef^^ed{\'\i}
|
||||
\gdef^^ee{\^\i}
|
||||
\gdef^^ef{\v d}
|
||||
%
|
||||
\gdef^^f0{\missingcharmsg{LATIN SMALL LETTER D WITH STROKE}}
|
||||
\gdef^^f1{\'n}
|
||||
\gdef^^f2{\v n}
|
||||
\gdef^^f3{\'o}
|
||||
\gdef^^f4{\^o}
|
||||
\gdef^^f5{\H o}
|
||||
\gdef^^f6{\"o}
|
||||
\gdef^^f7{$\div$}
|
||||
\gdef^^f8{\v r}
|
||||
\gdef^^f9{\ringaccent u}
|
||||
\gdef^^fa{\'u}
|
||||
\gdef^^fb{\H u}
|
||||
\gdef^^fc{\"u}
|
||||
\gdef^^fd{\'y}
|
||||
\gdef^^fe{\cedilla t}
|
||||
\gdef^^ff{\dotaccent{}}
|
||||
}
|
||||
|
||||
% US-ASCII character definitions.
|
||||
\def\asciichardefs{%
|
||||
% Nothing needs to be done
|
||||
\relax
|
||||
}
|
||||
|
||||
% Make non-ASCII characters printable again for compatibility with
|
||||
% existing Texinfo documents that may use them, even without declaring a
|
||||
% document encoding.
|
||||
%
|
||||
\setnonasciicharscatcode \other
|
||||
|
||||
% Page size parameters.
|
||||
%
|
||||
|
@ -2785,7 +2785,9 @@ for each architecture are kept in their own directory.
|
||||
|
||||
To support doing this, @command{make} uses the @code{VPATH} variable to
|
||||
find the files that are in the source directory. @acronym{GNU} Make
|
||||
and most other recent @command{make} programs can do this. Older
|
||||
can do this. Most other recent @command{make} programs can do this as
|
||||
well, though they may have difficulties and it is often simpler to
|
||||
recommend @acronym{GNU} @command{make} (@pxref{VPATH and Make}). Older
|
||||
@command{make} programs do not support @code{VPATH}; when using them, the
|
||||
source code must be in the same directory as the object files.
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
@setfilename standards.info
|
||||
@settitle GNU Coding Standards
|
||||
@c This date is automagically updated when you save this file:
|
||||
@set lastupdate November 15, 2006
|
||||
@set lastupdate November 30, 2006
|
||||
@c %**end of header
|
||||
|
||||
@dircategory GNU organization
|
||||
@ -2201,10 +2201,14 @@ when writing GNU software.
|
||||
@cindex open brace
|
||||
@cindex braces, in C source
|
||||
It is important to put the open-brace that starts the body of a C
|
||||
function in column one, and avoid putting any other open-brace or
|
||||
open-parenthesis or open-bracket in column one. Several tools look
|
||||
for open-braces in column one to find the beginnings of C functions.
|
||||
These tools will not work on code not formatted that way.
|
||||
function in column one, so that they will start a defun. Several
|
||||
tools look for open-braces in column one to find the beginnings of C
|
||||
functions. These tools will not work on code not formatted that way.
|
||||
|
||||
Avoid putting open-brace, open-parenthesis or open-bracket in column
|
||||
one when they are inside a function, so that they won't start a defun.
|
||||
The open-brace that starts a @code{struct} body can go in column one
|
||||
if you find it useful to treat that definition as a defun.
|
||||
|
||||
It is also important for function definitions to start the name of the
|
||||
function in column one. This helps people to search for function
|
||||
|
Loading…
Reference in New Issue
Block a user