diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2006-09-12 10:19:32 +0300 |
---|---|---|
committer | H.Merijn Brand <h.m.brand@xs4all.nl> | 2006-09-13 06:51:55 +0000 |
commit | f244a5024a702eda24be5d03683683a27d10f206 (patch) | |
tree | d510a4ae5062c5755f10d52266fd92ebf9a56e02 /config_h.SH | |
parent | c9b9f90938a22f06e1d50b6595cbb0b943c4e4c7 (diff) | |
download | perl-f244a5024a702eda24be5d03683683a27d10f206.tar.gz |
Accumulated fixes from earlier backports, amongst of which:
Subject: [PATCH] remove -Wdeclaration-after-statement scan from Configure
Message-ID: <45063554.1040301@iki.fi>
p4raw-id: //depot/perl@28829
Diffstat (limited to 'config_h.SH')
-rw-r--r-- | config_h.SH | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/config_h.SH b/config_h.SH index 1642058e79..8c2dcabcc9 100644 --- a/config_h.SH +++ b/config_h.SH @@ -92,17 +92,6 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un */ #$d_chsize HAS_CHSIZE /**/ -/* 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_CUSERID: * This symbol, if defined, indicates that the cuserid routine is * available to get character login names. @@ -1253,6 +1242,17 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un */ #$d_cmsghdr_s HAS_STRUCT_CMSGHDR /**/ +/* 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_COPYSIGNL: * This symbol, if defined, indicates that the copysignl routine is * available. If aintl is also present we can emulate modfl. @@ -2432,6 +2432,13 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un */ #$d_open3 HAS_OPEN3 /**/ +/* HAS_POLL: + * This symbol, if defined, indicates that the poll routine is + * available to poll active file descriptors. You may safely + * include <poll.h> when both this symbol *and* I_POLL are defined. + */ +#$d_poll HAS_POLL /**/ + /* HAS_PROCSELFEXE: * This symbol is defined if PROCSELFEXE_PATH is a symlink * to the absolute pathname of the executing program. @@ -4424,12 +4431,5 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un #define M_VOID /* Xenix strikes again */ #endif -/* HAS_POLL: - * This symbol, if defined, indicates that the poll routine is - * available to poll active file descriptors. You may safely - * include <poll.h> when both this symbol *and* I_POLL are defined. - */ -#$d_poll HAS_POLL /**/ - #endif !GROK!THIS! |