X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=config_h.SH;h=8c2dcabcc9c53bf0d2835745f8b6f82c1120742a;hb=b2a156bd8e464af88881c77344280160fd844dcf;hp=463910269e4fbd345d6ad62923ea151f5245da08;hpb=eaf812ae1a347289872c15b0fb8a27a85b03dc2f;p=p5sagit%2Fp5-mst-13.2.git diff --git a/config_h.SH b/config_h.SH index 4639102..8c2dcab 100644 --- a/config_h.SH +++ b/config_h.SH @@ -92,17 +92,6 @@ sed <$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. @@ -373,13 +362,6 @@ sed <$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un */ #$d_pipe HAS_PIPE /**/ -/* HAS_POLL: - * This symbol, if defined, indicates that the poll routine is - * available to poll active file descriptors. You may safely - * include when this symbol is defined. - */ -#$d_poll HAS_POLL /**/ - /* HAS_READDIR: * This symbol, if defined, indicates that the readdir routine is * available to read directory entries. You may have to include @@ -1198,6 +1180,11 @@ sed <$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un #$d_builtin_expect HAS_BUILTIN_EXPECT /**/ #$d_builtin_choose_expr HAS_BUILTIN_CHOOSE_EXPR /**/ +/* HAS_C99_VARIADIC_MACROS: + * If defined, the compiler supports C99 variadic macros. + */ +#$d_c99_variadic_macros HAS_C99_VARIADIC_MACROS /**/ + /* CASTI32: * This symbol is defined if the C compiler can cast negative * or large floating point numbers to 32-bit ints. @@ -1255,12 +1242,29 @@ sed <$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. */ #$d_copysignl HAS_COPYSIGNL /**/ +/* USE_CPLUSPLUS: + * This symbol, if defined, indicates that a C++ compiler was + * used to compiled Perl and will be used to compile extensions. + */ +#$d_cplusplus USE_CPLUSPLUS /**/ + /* HAS_CRYPT: * This symbol, if defined, indicates that the crypt routine is available * to encrypt passwords and the like. @@ -2366,7 +2370,7 @@ sed <$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un /* Mmap_t: * This symbol holds the return type of the mmap() system call * (and simultaneously the type of the first argument). - * Usually set to 'void *' or 'cadd_t'. + * Usually set to 'void *' or 'caddr_t'. */ #$d_mmap HAS_MMAP /**/ #define Mmap_t $mmaptype /**/ @@ -2428,6 +2432,13 @@ sed <$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 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. @@ -3499,7 +3510,7 @@ sed <$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un /* I_POLL: * This symbol, if defined, indicates that exists and - * should be included. + * should be included. (see also HAS_POLL) */ #$i_poll I_POLL /**/