*/
#$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.
+/* HAS_CTERMID:
+ * This symbol, if defined, indicates that the ctermid routine is
+ * available to generate filename for terminal.
*/
-#$d_const HASCONST /**/
-#ifndef HASCONST
-#define const
-#endif
+#$d_ctermid HAS_CTERMID /**/
/* HAS_CUSERID:
* This symbol, if defined, indicates that the cuserid routine is
*/
#$i_float I_FLOAT /**/
+/* I_GDBM:
+ * This symbol, if defined, indicates that <gdbm.h> exists and should
+ * be included.
+ */
+#$i_gdbm I_GDBM /**/
+
/* I_LIMITS:
* This symbol, if defined, indicates to the C program that it should
* include <limits.h> to get definition of symbols like WORD_BIT or
/* HASATTRIBUTE_FORMAT:
* Can we handle GCC attribute for checking printf-style formats
*/
+/* PRINTF_FORMAT_NULL_OK:
+ * Allows __printf__ format to be null when checking printf-style
+ */
/* HASATTRIBUTE_MALLOC:
* Can we handle GCC attribute for malloc-style functions.
*/
* Can we handle GCC attribute for warning on unused results
*/
#$d_attribute_format HASATTRIBUTE_FORMAT /**/
+#$d_printf_format_null PRINTF_FORMAT_NULL_OK /**/
#$d_attribute_noreturn HASATTRIBUTE_NORETURN /**/
#$d_attribute_malloc HASATTRIBUTE_MALLOC /**/
#$d_attribute_nonnull HASATTRIBUTE_NONNULL /**/
*/
#$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.
*/
#$d_dbminitproto HAS_DBMINIT_PROTO /**/
+/* HAS_DIR_DD_FD:
+ * This symbol, if defined, indicates that the the DIR* dirstream
+ * structure contains a member variable named dd_fd.
+ */
+#$d_dir_dd_fd HAS_DIR_DD_FD /**/
+
/* HAS_DIRFD:
* This manifest constant lets the C program know that dirfd
* is available.
* This symbol, if defined, indicates that the localtime_r routine
* is available to localtime re-entrantly.
*/
+/* LOCALTIME_R_NEEDS_TZSET:
+ * Many libc's localtime_r implementations do not call tzset,
+ * making them differ from localtime(), and making timezone
+ * changes using $ENV{TZ} without explicitly calling tzset
+ * impossible. This symbol makes us call tzset before localtime_r
+ */
+#$d_localtime_r_needs_tzset LOCALTIME_R_NEEDS_TZSET /**/
+#ifdef LOCALTIME_R_NEEDS_TZSET
+#define L_R_TZSET tzset(),
+#else
+#define L_R_TZSET
+#endif
+
/* LOCALTIME_R_PROTO:
* This symbol encodes the prototype of localtime_r.
* It is zero if d_localtime_r is undef, and one of the
/* 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 /**/
*/
#$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.
*/
#$d_vfork HAS_VFORK /**/
+/* HAS_PSEUDOFORK:
+ * This symbol, if defined, indicates that an emulation of the
+ * fork routine is available.
+ */
+#$d_pseudofork HAS_PSEUDOFORK /**/
+
/* Signal_t:
* This symbol's value is either "void" or "int", corresponding to the
* appropriate return type of a signal handler. Thus, you can declare
*/
#define Pid_t $pidtype /* PID type */
+/* INSTALL_PREFIX:
+ * This symbol contains the "root" of installation tree for this package.
+ * The program should be prepared to do ~ expansion.
+ */
+/* INSTALL_PREFIX_EXP:
+ * This symbol contains the "root" of installation tree for this package
+ * to be used
+ * in programs that are not prepared to deal with ~ expansion at run-time.
+ */
+#define INSTALL_PREFIX "$installprefix" /**/
+#define INSTALL_PREFIX_EXP "$installprefixexp" /**/
+
/* PRIVLIB:
* This symbol contains the name of the private library for this package.
* The library is private in the sense that it needn't be in anyone's
/* USE_5005THREADS:
* This symbol, if defined, indicates that Perl should be built to
* use the 5.005-based threading implementation.
+ * Only valid up to 5.8.x.
*/
/* OLD_PTHREADS_API:
* This symbol, if defined, indicates that Perl should
#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!