diff options
author | Aaron Crane <arc@cpan.org> | 2018-11-27 11:32:11 +0000 |
---|---|---|
committer | Aaron Crane <arc@cpan.org> | 2018-11-27 11:43:22 +0000 |
commit | 79ad5206c03201d76b9dcd75277ed02999f26eac (patch) | |
tree | 1bea1cac242a399a4aaae569a303b54b325b68cc /config_h.SH | |
parent | daced5aea4695da4ec9e629bb3153a865d480075 (diff) | |
download | perl-79ad5206c03201d76b9dcd75277ed02999f26eac.tar.gz |
Rely on C89 "const"
The metaconfig probe for <db.h> previously relied on the d_const symbol set
by the "const" probe, so generating Configure here has been done against
metaconfig commit 1204d4627a06b11f16620188f3fa83159ed35fd9 which changes
that.
Thanks to khw++ for pointing out this oversight in my attempt last year to
make the codebase rely on C89.
Diffstat (limited to 'config_h.SH')
-rwxr-xr-x | config_h.SH | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/config_h.SH b/config_h.SH index f275932e21..388c1fe050 100755 --- a/config_h.SH +++ b/config_h.SH @@ -1514,17 +1514,6 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un */ #$d_backtrace HAS_BACKTRACE /**/ -/* HASCONST: - * This symbol, if defined, indicates that this C compiler knows about - * the const type. There is no need to actually test for that symbol - * within your programs. The mere use of the "const" keyword will - * trigger the necessary tests. - */ -#$d_const HASCONST /**/ -#ifndef HASCONST -#define const -#endif - /* HAS_CSH: * This symbol, if defined, indicates that the C-shell exists. */ |