More adjustments to the PERL5LIB docs by Rick
[p5sagit/p5-mst-13.2.git] / Porting / config_H
index d2cf0a1..920cd90 100644 (file)
@@ -1,3 +1,7 @@
+/* This file (config_H) is a sample config.h file.  If you are unable
+   to successfully run Configure, copy this file to config.h and
+   edit it to suit your system.
+*/
 /*
  * This file was produced by running the config_h.SH script, which
  * gets its values from config.sh, which is generally produced by
@@ -13,9 +17,9 @@
 /*
  * Package name      : perl5
  * Source directory  : .
- * Configuration time: Mon Apr  4 19:32:36 CEST 2005
+ * Configuration time: Mon Apr 10 18:30:53 CEST 2006
  * Configured by     : yourname
- * Target system     : linux grubert.mandrakesoft.com 2.6.10-1mdk #1 fri jan 14 14:31:03 cet 2005 i686 intel(r) pentium(r) 4 cpu 2.80ghz unknown gnulinux 
+ * Target system     : linux pc09 2.6.13-15.8-default #1 tue feb 7 11:07:24 utc 2006 i686 i686 i386 gnulinux 
  */
 
 #ifndef _config_h_
@@ -24,7 +28,7 @@
 /* LOC_SED:
  *     This symbol holds the complete pathname to the sed program.
  */
-#define LOC_SED        "/bin/sed"      /**/
+#define LOC_SED        "/usr/bin/sed"  /**/
 
 /* HAS_ALARM:
  *     This symbol, if defined, indicates that the alarm routine is
  */
 #define I_MATH         /**/
 
-/* LIBM_LIB_VERSION:
- *    This symbol, if defined, indicates that libm exports _LIB_VERSION
- *    and that math.h defines the enum to manipulate it.
- */
-#undef LIBM_LIB_VERSION         /**/
-
 /* I_MEMORY:
  *     This symbol, if defined, indicates to the C program that it should
  *     include <memory.h>.
  */
 /*#define I_VFORK      / **/
 
-/* INTSIZE:
- *     This symbol contains the value of sizeof(int) so that the C
- *     preprocessor can make decisions based on it.
- */
-/* LONGSIZE:
- *     This symbol contains the value of sizeof(long) so that the C
- *     preprocessor can make decisions based on it.
- */
-/* SHORTSIZE:
- *     This symbol contains the value of sizeof(short) so that the C
- *     preprocessor can make decisions based on it.
- */
-#define INTSIZE 4              /**/
-#define LONGSIZE 4             /**/
-#define SHORTSIZE 2            /**/
-
-/* MULTIARCH:
- *     This symbol, if defined, signifies that the build
- *     process will produce some binary files that are going to be
- *     used in a cross-platform environment.  This is the case for
- *     example with the NeXT "fat" binaries that contain executables
- *     for several CPUs.
- */
-/*#define MULTIARCH            / **/
-
-/* 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
- *     of QUAD_IS_INT, QUAD_IS_LONG, QUAD_IS_LONG_LONG, or QUAD_IS_INT64_T.
- */
-#define HAS_QUAD       /**/
-#ifdef HAS_QUAD
-#   define Quad_t long long    /**/
-#   define Uquad_t unsigned long long  /**/
-#   define QUADKIND 3  /**/
-#   define QUAD_IS_INT 1
-#   define QUAD_IS_LONG        2
-#   define QUAD_IS_LONG_LONG   3
-#   define QUAD_IS_INT64_T     4
-#endif
-
 /* HAS_ACCESSX:
  *     This symbol, if defined, indicates that the accessx routine is
  *     available to do extended access checks.
  *     feature tests from Configure are generally more reliable.
  */
 #define OSNAME "linux"         /**/
-#define OSVERS "2.6.10-1mdk"           /**/
+#define OSVERS "2.6.13-15.8-default"           /**/
+
+/* USE_CROSS_COMPILE:
+ *     This symbol, if defined, indicates that Perl is being cross-compiled.
+ */
+/* PERL_TARGETARCH:
+ *     This symbol, if defined, indicates the target architecture
+ *     Perl has been cross-compiled to.  Undefined if not a cross-compile.
+ */
+#ifndef USE_CROSS_COMPILE
+/*#define      USE_CROSS_COMPILE       / **/
+#define        PERL_TARGETARCH ""      /**/
+#endif
+
+/* MULTIARCH:
+ *     This symbol, if defined, signifies that the build
+ *     process will produce some binary files that are going to be
+ *     used in a cross-platform environment.  This is the case for
+ *     example with the NeXT "fat" binaries that contain executables
+ *     for several CPUs.
+ */
+/*#define MULTIARCH            / **/
 
 /* MEM_ALIGNBYTES:
  *     This symbol contains the number of bytes required to align a
 #define MEM_ALIGNBYTES 4
 #endif
 
-/* PERL_RELOCATABLE_INC:
- *     This symbol, if defined, indicates that we'd like to relocate entries
- *     in @INC at run time based on the location of the perl binary.
- */
-/*#define PERL_RELOCATABLE_INC         / **/
-
 /* ARCHLIB:
  *     This variable, if defined, holds the name of the directory in
  *     which the user wants to put architecture-dependent public
  *     This symbol contains the ~name expanded version of ARCHLIB, to be used
  *     in programs that are not prepared to deal with ~ expansion at run-time.
  */
-#define ARCHLIB "/opt/perl/lib/5.9.3/i686-linux"               /**/
-#define ARCHLIB_EXP "/opt/perl/lib/5.9.3/i686-linux"           /**/
+#define ARCHLIB "/opt/perl/lib/5.9.4/i686-linux"               /**/
+#define ARCHLIB_EXP "/opt/perl/lib/5.9.4/i686-linux"           /**/
 
 /* ARCHNAME:
  *     This symbol holds a string representing the architecture name.
  *     This symbol is the filename expanded version of the BIN symbol, for
  *     programs that do not want to deal with that at run-time.
  */
+/* PERL_RELOCATABLE_INC:
+ *     This symbol, if defined, indicates that we'd like to relocate entries
+ *     in @INC at run time based on the location of the perl binary.
+ */
 #define BIN "/opt/perl/bin"    /**/
 #define BIN_EXP "/opt/perl/bin"        /**/
+#define PERL_RELOCATABLE_INC "undef"           /**/
+
+/* INTSIZE:
+ *     This symbol contains the value of sizeof(int) so that the C
+ *     preprocessor can make decisions based on it.
+ */
+/* LONGSIZE:
+ *     This symbol contains the value of sizeof(long) so that the C
+ *     preprocessor can make decisions based on it.
+ */
+/* SHORTSIZE:
+ *     This symbol contains the value of sizeof(short) so that the C
+ *     preprocessor can make decisions based on it.
+ */
+#define INTSIZE 4              /**/
+#define LONGSIZE 4             /**/
+#define SHORTSIZE 2            /**/
 
 /* BYTEORDER:
  *     This symbol holds the hexadecimal constant defined in byteorder,
 /* CSH:
  *     This symbol, if defined, contains the full pathname of csh.
  */
-/*#define HAS_CSH              / **/
+#define HAS_CSH                /**/
 #ifdef HAS_CSH
-#define CSH "csh"      /**/
+#define CSH "/usr/bin/csh"     /**/
 #endif
 
 /* HAS_CTIME_R:
  */
 #define HAS_FTELLO             /**/
 
+/* HAS_FUTIMES:
+ *     This symbol, if defined, indicates that the futimes routine is
+ *     available to change file descriptor time stamps with struct timevals.
+ */
+#define HAS_FUTIMES            /**/
+
 /* Gconvert:
  *     This preprocessor macro is defined to convert a floating point
  *     number to a string without a trailing decimal point.  This
  *     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:
  */
 #define HAS_MADVISE            /**/
 
+/* HAS_MALLOC_SIZE:
+ *     This symbol, if defined, indicates that the malloc_size
+ *     routine is available for use.
+ */
+/*#define HAS_MALLOC_SIZE              / **/
+
+/* HAS_MALLOC_GOOD_SIZE:
+ *     This symbol, if defined, indicates that the malloc_good_size
+ *     routine is available for use.
+ */
+/*#define HAS_MALLOC_GOOD_SIZE / **/
+
 /* HAS_MEMCHR:
  *     This symbol, if defined, indicates that the memchr routine is available
  *     to locate characters within a C string.
  *     release 2.2.2 is known to be okay.
  */
 #define HAS_MODFL              /**/
-/*#define HAS_MODFL_PROTO              / **/
+#define HAS_MODFL_PROTO                /**/
 /*#define HAS_MODFL_POW32_BUG          / **/
 
 /* HAS_MPROTECT:
  *     routine is available to yield the execution of the current
  *     thread.  sched_yield is preferable to pthread_yield.
  */
-/*#define HAS_PTHREAD_YIELD    / **/
+#define HAS_PTHREAD_YIELD      /**/
 #define SCHED_YIELD    sched_yield()   /**/
 #define HAS_SCHED_YIELD        /**/
 
 #define Siglongjmp(buf,retval) longjmp((buf),(retval))
 #endif
 
+/* USE_SITECUSTOMIZE:
+ *     This symbol, if defined, indicates that sitecustomize should
+ *     be used.
+ */
+#ifndef USE_SITECUSTOMIZE
+/*#define      USE_SITECUSTOMIZE               / **/
+#endif
+
+/* HAS_SNPRINTF:
+ *     This symbol, if defined, indicates that the snprintf () library
+ *     function is available for use.
+ */
+/* HAS_VSNPRINTF:
+ *     This symbol, if defined, indicates that the vsnprintf () library
+ *     function is available for use.
+ */
+#define HAS_SNPRINTF   /**/
+#define HAS_VSNPRINTF  /**/
+
 /* HAS_SOCKET:
  *     This symbol, if defined, indicates that the BSD socket interface is
  *     supported.
 /*#define HAS_STRERROR_R          / **/
 #define STRERROR_R_PROTO 0        /**/
 
-/* HAS_STRLCAT:
- *     This symbol, if defined, indicates that the strlcat () routine is
- *     available to do string concatenation.
- */
-/*#define HAS_STRLCAT          / **/
-
-/* HAS_STRLCPY:
- *     This symbol, if defined, indicates that the strlcpy () routine is
- *     available to do string copying.
- */
-/*#define HAS_STRLCPY          / **/
-
 /* HAS_STRTOLD:
  *     This symbol, if defined, indicates that the strtold routine is
  *     available to convert strings to long doubles.
  */
 /*#define HAS_UNORDERED                / **/
 
+/* HAS_UNSETENV:
+ *     This symbol, if defined, indicates that the unsetenv () routine is
+ *     available for use.
+ */
+#define HAS_UNSETENV           /**/
+
 /* HAS_USTAT:
  *     This symbol, if defined, indicates that the ustat system call is
  *     available to query file system statistics by dev_t.
  */
 #define DB_Hash_t      u_int32_t               /**/
 #define DB_Prefix_t    size_t          /**/
-#define DB_VERSION_MAJOR_CFG           /**/
-#define DB_VERSION_MINOR_CFG           /**/
-#define DB_VERSION_PATCH_CFG           /**/
+#define DB_VERSION_MAJOR_CFG   4       /**/
+#define DB_VERSION_MINOR_CFG   3       /**/
+#define DB_VERSION_PATCH_CFG   27      /**/
 
 /* I_FP_CLASS:
  *     This symbol, if defined, indicates that <fp_class.h> exists and
  *     for a C initialization string.  See the inc_version_list entry
  *     in Porting/Glossary for more details.
  */
-#define PERL_INC_VERSION_LIST 0                /**/
+/*#define PERL_INC_VERSION_LIST 0              / **/
 
 /* INSTALL_USR_BIN_PERL:
  *     This symbol, if defined, indicates that Perl is to be installed
  */
 /*#define PERL_OTHERLIBDIRS " "                / **/
 
+/* 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
+ *     of QUAD_IS_INT, QUAD_IS_LONG, QUAD_IS_LONG_LONG, or QUAD_IS_INT64_T.
+ */
+#define HAS_QUAD       /**/
+#ifdef HAS_QUAD
+#   define Quad_t long long    /**/
+#   define Uquad_t unsigned long long  /**/
+#   define QUADKIND 3  /**/
+#   define QUAD_IS_INT 1
+#   define QUAD_IS_LONG        2
+#   define QUAD_IS_LONG_LONG   3
+#   define QUAD_IS_INT64_T     4
+#endif
+
 /* IVTYPE:
  *     This symbol defines the C type used for Perl's IV.
  */
  *     This symbol contains the number of bits a variable of type NVTYPE
  *     can preserve of a variable of type UVTYPE.
  */
+/* NV_ZERO_IS_ALLBITS_ZERO:
+ *     This symbol, if defined, indicates that a variable of type NVTYPE
+ *     stores 0.0 in memory as all bits zero.
+ */
 #define        IVTYPE          long            /**/
 #define        UVTYPE          unsigned long           /**/
 #define        I8TYPE          char            /**/
 #define        NVSIZE          8               /**/
 #define        NV_PRESERVES_UV
 #define        NV_PRESERVES_UV_BITS    32
+#define        NV_ZERO_IS_ALLBITS_ZERO
 #if UVSIZE == 8
 #   ifdef BYTEORDER
 #       if BYTEORDER == 0x1234
  *     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 "/opt/perl/lib/5.9.3"          /**/
-#define PRIVLIB_EXP "/opt/perl/lib/5.9.3"              /**/
+#define PRIVLIB "/opt/perl/lib/5.9.4"          /**/
+#define PRIVLIB_EXP "/opt/perl/lib/5.9.4"              /**/
 
 /* PTRSIZE:
  *     This symbol contains the size of a pointer, so that the C preprocessor
  *     This symbol contains the ~name expanded version of SITEARCH, to be used
  *     in programs that are not prepared to deal with ~ expansion at run-time.
  */
-#define SITEARCH "/opt/perl/lib/site_perl/5.9.3/i686-linux"            /**/
-#define SITEARCH_EXP "/opt/perl/lib/site_perl/5.9.3/i686-linux"                /**/
+#define SITEARCH "/opt/perl/lib/site_perl/5.9.4/i686-linux"            /**/
+#define SITEARCH_EXP "/opt/perl/lib/site_perl/5.9.4/i686-linux"                /**/
 
 /* SITELIB:
  *     This symbol contains the name of the private library for this package.
  *     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 "/opt/perl/lib/site_perl/5.9.3"                /**/
-#define SITELIB_EXP "/opt/perl/lib/site_perl/5.9.3"            /**/
+#define SITELIB "/opt/perl/lib/site_perl/5.9.4"                /**/
+#define SITELIB_EXP "/opt/perl/lib/site_perl/5.9.4"            /**/
 #define SITELIB_STEM "/opt/perl/lib/site_perl"         /**/
 
-/* USE_SITECUSTOMIZE:
- *    This symbol, if defined, indicates that sitecustomize should
- *    be used.
- */
-/*#define     USE_SITECUSTOMIZE               / **/
-
 /* Size_t_size:
  *     This symbol holds the size of a Size_t in bytes.
  */
  *     script to make sure (one hopes) that it runs with perl and not
  *     some shell.
  */
-#define STARTPERL "#!/opt/perl/bin/perl5.9.3"          /**/
+#define STARTPERL "#!/opt/perl/bin/perl5.9.4"          /**/
 
 /* STDCHAR:
  *     This symbol is defined to be the type of char used in stdio.h.
  *     If defined, this symbol contains the name of a private library.
  *     The library is private in the sense that it needn't be in anyone's
  *     execution path, but it should be accessible by the world.
- *     It may have a ~ on the front. 
+ *     It may have a ~ on the front.
  *     The standard distribution will put nothing in this directory.
  *     Vendors who distribute perl may wish to place their own
  *     architecture-dependent modules and extensions in this directory with
- *             MakeMaker Makefile.PL INSTALLDIRS=vendor 
+ *             MakeMaker Makefile.PL INSTALLDIRS=vendor
  *     or equivalent.  See INSTALL for details.
  */
 /* PERL_VENDORARCH_EXP:
 #define M_VOID                 /* Xenix strikes again */
 #endif
 
-/* HASATTRIBUTE:
- *     This symbol indicates the C compiler can check for function attributes,
- *     such as printf formats. This is normally only supported by GNU cc.
+/* HASATTRIBUTE_FORMAT:
+ *     Can we handle GCC attribute for checking printf-style formats
  */
-#define HASATTRIBUTE   /**/
-#ifndef HASATTRIBUTE
-#ifdef __attribute__
-#undef __attribute__
-#endif
-#define __attribute__(_arg_)
-#endif
+/* HASATTRIBUTE_MALLOC:
+ *     Can we handle GCC attribute for malloc-style functions.
+ */
+/* HASATTRIBUTE_NONNULL:
+ *     Can we handle GCC attribute for nonnull function parms.
+ */
+/* HASATTRIBUTE_NORETURN:
+ *     Can we handle GCC attribute for functions that do not return
+ */
+/* HASATTRIBUTE_PURE:
+ *     Can we handle GCC attribute for pure functions
+ */
+/* HASATTRIBUTE_UNUSED:
+ *     Can we handle GCC attribute for unused variables and arguments
+ */
+/* HASATTRIBUTE_WARN_UNUSED_RESULT:
+ *     Can we handle GCC attribute for warning on unused results
+ */
+#define HASATTRIBUTE_FORMAT    /**/
+#define HASATTRIBUTE_NORETURN  /**/
+#define HASATTRIBUTE_MALLOC    /**/
+#define HASATTRIBUTE_NONNULL   /**/
+#define HASATTRIBUTE_PURE      /**/
+#define HASATTRIBUTE_UNUSED    /**/
+#define HASATTRIBUTE_WARN_UNUSED_RESULT        /**/
 
 /* HAS_CRYPT:
  *     This symbol, if defined, indicates that the crypt routine is available
  */
 #define SH_PATH "/bin/sh"  /**/
 
-/* USE_CROSS_COMPILE:
- *     This symbol, if defined, indicates that Perl is being cross-compiled.
- */
-/* PERL_TARGETARCH:
- *     This symbol, if defined, indicates the target architecture
- *     Perl has been cross-compiled to.  Undefined if not a cross-compile.
- */
-#ifndef USE_CROSS_COMPILE
-/*#define      USE_CROSS_COMPILE       / **/
-#define        PERL_TARGETARCH ""      /**/
-#endif
-
 /* HAS_AINTL:
  *     This symbol, if defined, indicates that the aintl routine is
  *     available.  If copysignl is also present we can emulate modfl.
  */
 /*#define HAS_AINTL            / **/
 
+/* HAS_BUILTIN_CHOOSE_EXPR:
+ *     Can we handle GCC builtin for compile-time ternary-like expressions
+ */
+/* HAS_BUILTIN_EXPECT:
+ *     Can we handle GCC builtin for telling that certain values are more
+ *     likely
+ */
+/*#define HAS_BUILTIN_EXPECT   / **/
+#define HAS_BUILTIN_CHOOSE_EXPR        /**/
+
+/* HAS_CLEARENV:
+ *     This symbol, if defined, indicates that the clearenv () routine is
+ *     available for use.
+ */
+#define HAS_CLEARENV           /**/
+
 /* HAS_COPYSIGNL:
  *     This symbol, if defined, indicates that the copysignl routine is
  *     available.  If aintl is also present we can emulate modfl.
  */
 #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
  */
 #define HAS_ILOGBL             /**/
 
+/* LIBM_LIB_VERSION:
+ *     This symbol, if defined, indicates that libm exports _LIB_VERSION
+ *     and that math.h defines the enum to manipulate it.
+ */
+#define LIBM_LIB_VERSION               /**/
+
 /* HAS_NL_LANGINFO:
  *     This symbol, if defined, indicates that the nl_langinfo routine is
  *     available to return local data.  You will also need <langinfo.h>
  */
 /*#define      HAS_SOCKATMARK_PROTO    / **/
 
+/* SPRINTF_RETURNS_STRLEN:
+ *     This variable defines whether sprintf returns the length of the string
+ *     (as per the ANSI spec). Some C libraries retain compatibility with
+ *     pre-ANSI C and return a pointer to the passed in buffer; for these
+ *     this variable will be undef.
+ */
+#define SPRINTF_RETURNS_STRLEN /**/
+
 /* HAS_SETRESGID_PROTO:
  *     This symbol, if defined, indicates that the system provides
  *     a prototype for the setresgid() function.  Otherwise, it is up
  */
 #define HAS_STRFTIME           /**/
 
+/* HAS_STRLCAT:
+ *     This symbol, if defined, indicates that the strlcat () routine is
+ *     available to do string concatenation.
+ */
+/*#define HAS_STRLCAT          / **/
+
+/* HAS_STRLCPY:
+ *     This symbol, if defined, indicates that the strlcpy () routine is
+ *     available to do string copying.
+ */
+/*#define HAS_STRLCPY          / **/
+
 /* HAS_SYSCALL_PROTO:
  *     This symbol, if defined, indicates that the system provides
  *     a prototype for the syscall() function.  Otherwise, it is up
  */
 #define        I_LANGINFO              /**/
 
+/* PERL_MAD:
+ *     This symbol, if defined, indicates that the Misc Attribution
+ *     Declaration code should be conditionally compiled.
+ */
+/*#define      PERL_MAD                / **/
+
 /* USE_FAST_STDIO:
  *     This symbol, if defined, indicates that Perl should
  *     be built to use 'fast stdio'.