1
NEWS for Debian packaging of Autoconf
2
-------------------------------------
1
autoconf (2.61-1) unstable; urgency=low
4
This package should be largely compatible with older Autoconf releases
5
back to 2.50, and especially with 2.59 and later. Please read NEWS
8
Two changes bear especial emphasis. First, quoting from the upstream
11
----------------------------------------------------------------------
12
** Directory variables adjusted to recent changes in the GNU Coding Standards.
13
The following directory variables are new:
15
datarootdir read-only architecture-independent data root [PREFIX/share]
16
localedir locale-specific message catalogs [DATAROOTDIR/locale]
17
docdir documentation root [DATAROOTDIR/doc/PACKAGE]
18
htmldir html documentation [DOCDIR]
19
dvidir dvi documentation [DOCDIR]
20
pdfdir pdf documentation [DOCDIR]
21
psdir ps documentation [DOCDIR]
23
The following variables have new default values:
25
datadir read-only architecture-independent data [DATAROOTDIR]
26
infodir info documentation [DATAROOTDIR/info]
27
mandir man documentation [DATAROOTDIR/man]
29
This means that if you use any of `@datadir@', `@infodir@', or
30
`@mandir@' in a file, you will have to ensure `${datarootdir}' is
31
defined in this file. As a temporary measure, if any of those are
32
found but no mention of `datarootdir', the substitutions will be
33
replaced with values that do not contain `${datarootdir}', and a
34
warning will be issued.
35
----------------------------------------------------------------------
37
This has proven to be a problem in some cases where the advice in the
38
manual is not followed. Please refer to the "Defining Directories"
39
node in the manual, titled "How do I `#define' Installation
40
Directories?", for more details. (The manual can be obtained by
41
installing the "autoconf-doc" package from the non-free distribution
42
that accompanies Debian.)
44
Here is a second item that bears mention, again from upstream NEWS:
46
----------------------------------------------------------------------
47
** AC_PROG_CC, AC_PROG_CXX
48
No longer automatically arrange to declare the 'exit' function of C,
49
when a C++ compiler is used. Standard Autoconf macros no longer use
50
'exit', so this is no longer an issue for them. If you use C++, and
51
want to call 'exit', you'll have to arrange for its declaration
52
yourself. But we now suggest you return from 'main' instead.
53
----------------------------------------------------------------------
3
This package should be largely compatible with older Autoconf releases
4
back to 2.50, and especially with 2.59 and later. Please read NEWS
7
Two changes bear especial emphasis. First, quoting from the upstream
10
> ** Directory variables adjusted to recent changes in the GNU Coding
11
> Standards. The following directory variables are new:
13
> datarootdir read-only architecture-independent data root [PREFIX/share]
14
> localedir locale-specific message catalogs [DATAROOTDIR/locale]
15
> docdir documentation root [DATAROOTDIR/doc/PACKAGE]
16
> htmldir html documentation [DOCDIR]
17
> dvidir dvi documentation [DOCDIR]
18
> pdfdir pdf documentation [DOCDIR]
19
> psdir ps documentation [DOCDIR]
21
> The following variables have new default values:
23
> datadir read-only architecture-independent data [DATAROOTDIR]
24
> infodir info documentation [DATAROOTDIR/info]
25
> mandir man documentation [DATAROOTDIR/man]
27
> This means that if you use any of `@datadir@', `@infodir@', or
28
> `@mandir@' in a file, you will have to ensure `${datarootdir}' is
29
> defined in this file. As a temporary measure, if any of those are
30
> found but no mention of `datarootdir', the substitutions will be
31
> replaced with values that do not contain `${datarootdir}', and a
32
> warning will be issued.
34
This has proven to be a problem in some cases where the advice in the
35
manual is not followed. Please refer to the "Defining Directories"
36
node in the manual, titled "How do I `#define' Installation
37
Directories?", for more details. (The manual can be obtained by
38
installing the "autoconf-doc" package from the non-free distribution
39
that accompanies Debian.)
41
Here is a second item that bears mention, again from upstream NEWS:
43
> ** AC_PROG_CC, AC_PROG_CXX
44
> No longer automatically arrange to declare the 'exit' function of C,
45
> when a C++ compiler is used. Standard Autoconf macros no longer use
46
> 'exit', so this is no longer an issue for them. If you use C++, and
47
> want to call 'exit', you'll have to arrange for its declaration
48
> yourself. But we now suggest you return from 'main' instead.
50
-- Ben Pfaff <pfaffben@debian.org> Sun, 26 Nov 2006 09:13:19 -0800