This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Dual-life Text::Abbrev
[perl5.git] / plan9 / config.plan9
index cbafb38..d01f489 100644 (file)
 
 /* HAS_QUAD:
  *     This symbol, if defined, tells that there's a 64-bit integer type,
- *     Quad_t, and its unsigned counterpar, Uquad_t. QUADKIND will be one
+ *     Quad_t, and its unsigned counterpart, Uquad_t. QUADKIND will be one
  *     of QUAD_IS_INT, QUAD_IS_LONG, QUAD_IS_LONG_LONG, or QUAD_IS_INT64_T.
  */
 #define HAS_QUAD       /**/
 
 /* HAS_GETESPWNAM:
  *     This symbol, if defined, indicates that the getespwnam system call is
- *     available to retrieve enchanced (shadow) password entries by name.
+ *     available to retrieve enhanced (shadow) password entries by name.
  */
 /*#define HAS_GETESPWNAM               / **/
 
  *     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
+ */
 /* LOCALTIME_R_PROTO:
  *     This symbol encodes the prototype of localtime_r.
  *     It is zero if d_localtime_r is undef, and one of the
  *     is defined.
  */
 /*#define HAS_LOCALTIME_R         / **/
+/*#define LOCALTIME_R_NEEDS_TZSET         / **/
 #define LOCALTIME_R_PROTO 0       /**/
 
 /* HAS_LONG_DOUBLE:
 
 /* HAS_MKSTEMPS:
  *     This symbol, if defined, indicates that the mkstemps routine is
- *     available to excluslvely create and open a uniquely named
+ *     available to exclusively create and open a uniquely named
  *     (with a suffix) temporary file.
  */
 /*#define HAS_MKSTEMPS         / **/
 #define Siglongjmp(buf,retval) longjmp((buf),(retval))
 #endif
 
+/* HAS_STATIC_INLINE:
+ *     This symbol, if defined, indicates that the C compiler supports
+ *     C99-style static inline.  That is, the function can't be called
+ *     from another translation unit.
+ */
+/* PERL_STATIC_INLINE:
+ *     This symbol gives the best-guess incantation to use for static
+ *     inline functions.  If HAS_STATIC_INLINE is defined, this will
+ *     give C99-style inline.  If HAS_STATIC_INLINE is not defined,
+ *     this will give a plain 'static'.  It will always be defined
+ *     to something that gives static linkage.
+ *     Possibilities include
+ *             static inline       (c99)
+ *             static __inline__   (gcc -ansi)
+ *             static __inline     (MSVC)
+ *             static _inline      (older MSVC)
+ *             static              (c89 compilers)
+ */
+/*#define HAS_STATIC_INLINE                            / **/
+#define PERL_STATIC_INLINE static              /**/
+
 /* HAS_SOCKET:
  *     This symbol, if defined, indicates that the BSD socket interface is
  *     supported.
  *     This symbol contains the ~name expanded version of PRIVLIB, to be used
  *     in programs that are not prepared to deal with ~ expansion at run-time.
  */
-#define PRIVLIB "/sys/lib/perl/5.8.0"          /**/
-#define PRIVLIB_EXP "/sys/lib/perl/5.8.0"              /**/
+#define PRIVLIB "/sys/lib/perl/5.15.0"         /**/
+#define PRIVLIB_EXP "/sys/lib/perl/5.15.0"             /**/
 
 /* PTRSIZE:
  *     This symbol contains the size of a pointer, so that the C preprocessor
  *     removed.  The elements in inc_version_list (inc_version_list.U) can
  *     be tacked onto this variable to generate a list of directories to search.
  */
-#define SITELIB "/sys/lib/perl/5.8.0/site_perl"                /**/
-#define SITELIB_EXP "/sys/lib/perl/5.8.0/site_perl"            /**/
-#define SITELIB_STEM "/sys/lib/perl/5.8.0/site_perl"           /**/
+#define SITELIB "/sys/lib/perl/5.15.0/site_perl"               /**/
+#define SITELIB_EXP "/sys/lib/perl/5.15.0/site_perl"           /**/
+#define SITELIB_STEM "/sys/lib/perl/5.15.0/site_perl"          /**/
 
 /* Size_t_size:
  *     This symbol holds the size of a Size_t in bytes.
  *     unsigned long, int, etc.  It may be necessary to include
  *     <sys/types.h> to get any typedef'ed information.
  */
-#define Size_t size_t   /* length paramater for string functions */
+#define Size_t size_t   /* length parameter for string functions */
 
 /* Sock_size_t:
  *     This symbol holds the type used for the size argument of
  *         2 = supports arrays of pointers to functions returning void
  *         4 = supports comparisons between pointers to void functions and
  *                 addresses of void functions
- *         8 = suports declaration of generic void pointers
+ *         8 = supports declaration of generic void pointers
  *
  *     The package designer should define VOIDUSED to indicate the requirements
  *     of the package.  This can be done either by #defining VOIDUSED before
 #define M_VOID                 /* Xenix strikes again */
 #endif
 
-/* PERL_XS_APIVERSION:
- *     This variable contains the version of the oldest perl binary
- *     compatible with the present perl.  perl.c:incpush() and
- *     lib/lib.pm will automatically search in /sys/lib/perl/5.8.0/site_perl/386 for older
- *     directories across major versions back to xs_apiversion.
- *     This is only useful if you have a perl library directory tree
- *     structured like the default one.
- *     See INSTALL for how this works.
- *     The versioned site_perl directory was introduced in 5.005,
- *     so that is the lowest possible value.
- *     Since this can depend on compile time options
- *     it is set by Configure.  Other non-default sources
- *     of potential incompatibility, such as multiplicity, threads,
- *     debugging, 64bits, sfio, etc., are not checked for currently,
- *     though in principle we could go snooping around in old
- *     Config.pm files.
- */
-/* PERL_PM_APIVERSION:
- *     This variable contains the version of the oldest perl
- *     compatible with the present perl.  (That is, pure perl modules
- *     written for pm_apiversion will still work for the current
- *     version).  perl.c:incpush() and lib/lib.pm will automatically
- *     search in /sys/lib/perl/5.8.0/site_perl for older directories across major versions
- *     back to pm_apiversion.  This is only useful if you have a perl
- *     library directory tree structured like the default one.  The
- *     versioned site_perl library was introduced in 5.005, so that's
- *     the default setting for this variable.  It's hard to imagine
- *     it changing before Perl6.  It is included here for symmetry
- *     with xs_apiveprsion -- the searching algorithms will
- *     (presumably) be similar.
- *     See the INSTALL file for how this works.
- */
-#define PERL_XS_APIVERSION "5.8.0"
-#define PERL_PM_APIVERSION "5.005"
-
 /* HAS_CRYPT:
  *     This symbol, if defined, indicates that the crypt routine is available
  *     to encrypt passwords and the like.
  */
 /*#define 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.
+ */
+/*#define USE_CPLUSPLUS                /**/
+
 /* HAS_DBMINIT_PROTO:
  *     This symbol, if defined, indicates that the system provides
  *     a prototype for the dbminit() function.  Otherwise, it is up
 
 /* HAS_PTHREAD_ATFORK:
  *     This symbol, if defined, indicates that the pthread_atfork routine
- *     is available setup fork handlers.
+ *     is available to setup fork handlers.
  */
 /*#define HAS_PTHREAD_ATFORK           / **/