Mercurial > hg > xemacs-beta
comparison ChangeLog @ 4991:97c45e3ad810
implement configure test for whether ndbm.h prototypes are broken
-------------------- ChangeLog entries follow: --------------------
ChangeLog addition:
2010-02-06 Ben Wing <ben@xemacs.org>
* configure:
* configure.ac (AC_LANG):
* configure.ac (TAB):
Add AC_LANG(C++) defs in a way very similar to AC_LANG(C), inserting
our own flags, compiler, etc.
When using g++, if we found ndbm, check whether we can compile a
file using g++ and ndbm.h, calling some DBM routines. Currently, this
fails because the prototypes in ndbm.h are incomplete, omitting the
arguments, which doesn't work with g++. When ndbm.h is bad, we don't
include it and instead provide our own prototypes; otherwise, we
define TRUST_NDBM_H_PROTOTYPES, which signals to use the ones in
ndbm.h.
src/ChangeLog addition:
2010-02-06 Ben Wing <ben@xemacs.org>
* config.h.in: Add undef for TRUST_NDBM_H_PROTOTYPES.
* database.c:
* database.c (struct):
Use TRUST_NDBM_H_PROTOTYPES to determine whether to include ndbm.h
or to specify our own prototypes, in place of CYGWIN_HEADERS (or
more generally, any random list of systems).
* depend: Regenerate.
author | Ben Wing <ben@xemacs.org> |
---|---|
date | Sat, 06 Feb 2010 03:26:34 -0600 |
parents | cbe181529c34 |
children | 2ade80e8c640 |
comparison
equal
deleted
inserted
replaced
4983:fbcf988fbb33 | 4991:97c45e3ad810 |
---|---|
1 2010-02-06 Ben Wing <ben@xemacs.org> | |
2 | |
3 * configure: | |
4 * configure.ac (AC_LANG): | |
5 * configure.ac (TAB): | |
6 Add AC_LANG(C++) defs in a way very similar to AC_LANG(C), inserting | |
7 our own flags, compiler, etc. | |
8 | |
9 When using g++, if we found ndbm, check whether we can compile a | |
10 file using g++ and ndbm.h, calling some DBM routines. Currently, this | |
11 fails because the prototypes in ndbm.h are incomplete, omitting the | |
12 arguments, which doesn't work with g++. When ndbm.h is bad, we don't | |
13 include it and instead provide our own prototypes; otherwise, we | |
14 define TRUST_NDBM_H_PROTOTYPES, which signals to use the ones in | |
15 ndbm.h. | |
16 | |
1 2010-01-31 Ben Wing <ben@xemacs.org> | 17 2010-01-31 Ben Wing <ben@xemacs.org> |
2 | 18 |
3 * configure.ac (TAB): | 19 * configure.ac (TAB): |
4 Say "This Xft feature" rather than just "This feature" to make it | 20 Say "This Xft feature" rather than just "This feature" to make it |
5 possible to more safely filter out the warning in my `runcc' | 21 possible to more safely filter out the warning in my `runcc' |