Still more portability.
[p5sagit/p5-mst-13.2.git] / Porting / config_H
index 4634447..4ff3c48 100644 (file)
@@ -17,7 +17,7 @@
 /*
  * Package name      : perl5
  * Source directory  : .
- * Configuration time: Tue Sep 11 04:09:55 EET DST 2001
+ * Configuration time: Wed Mar  6 18:01:27 EET 2002
  * Configured by     : jhi
  * Target system     : osf1 alpha.hut.fi v4.0 878 alpha 
  */
 #define const
 #endif
 
-/* HAS_CRYPT:
- *     This symbol, if defined, indicates that the crypt routine is available
- *     to encrypt passwords and the like.
- */
-#define HAS_CRYPT              /**/
-
 /* HAS_CUSERID:
  *     This symbol, if defined, indicates that the cuserid routine is
  *     available to get character login names.
  */
 #define HAS_SETSID     /**/
 
-/* Shmat_t:
- *     This symbol holds the return type of the shmat() system call.
- *     Usually set to 'void *' or 'char *'.
- */
-/* HAS_SHMAT_PROTOTYPE:
- *     This symbol, if defined, indicates that the sys/shm.h includes
- *     a prototype for shmat().  Otherwise, it is up to the program to
- *     guess one.  Shmat_t shmat _((int, Shmat_t, int)) is a good guess,
- *     but not always right so it should be emitted by the program only
- *     when HAS_SHMAT_PROTOTYPE is not defined to avoid conflicting defs.
- */
-#define Shmat_t void * /**/
-#define HAS_SHMAT_PROTOTYPE    /**/
-
 /* HAS_STRCHR:
  *     This symbol is defined to indicate that the strchr()/strrchr()
  *     functions are available for string searching. If not, try the
  */
 /*#define I_MEMORY             / **/
 
-/* I_NDBM:
- *     This symbol, if defined, indicates that <ndbm.h> exists and should
- *     be included.
- */
-#define I_NDBM /**/
-
 /* I_NET_ERRNO:
  *     This symbol, if defined, indicates that <net/errno.h> exists and 
  *     should be included.
  */
 /*#define I_VFORK      / **/
 
-/* CAN_PROTOTYPE:
- *     If defined, this macro indicates that the C compiler can handle
- *     function prototypes.
- */
-/* _:
- *     This macro is used to declare function parameters for folks who want
- *     to make declarations with prototypes using a different style than
- *     the above macros.  Use double parentheses.  For example:
- *
- *             int main _((int argc, char *argv[]));
- */
-#define        CAN_PROTOTYPE   /**/
-#ifdef CAN_PROTOTYPE
-#define        _(args) args
-#else
-#define        _(args) ()
-#endif
-
 /* INTSIZE:
  *     This symbol contains the value of sizeof(int) so that the C
  *     preprocessor can make decisions based on it.
  *     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.7.2/alpha-dec_osf"            /**/
-#define ARCHLIB_EXP "/opt/perl/lib/5.7.2/alpha-dec_osf"                /**/
+#define ARCHLIB "/opt/perl/lib/5.7.3/alpha-dec_osf"            /**/
+#define ARCHLIB_EXP "/opt/perl/lib/5.7.3/alpha-dec_osf"                /**/
 
 /* ARCHNAME:
  *     This symbol holds a string representing the architecture name.
  *     This symbol, if defined, indicates that the system provides
  *     a prototype for the drand48() function.  Otherwise, it is up
  *     to the program to supply one.  A good guess is
- *             extern double drand48 _((void));
+ *             extern double drand48(void);
  */
 #define        HAS_DRAND48_PROTO       /**/
 
  *     a macro using sprintf("%g") is used. Arguments for the Gconvert
  *     macro are: value, number of digits, whether trailing zeros should
  *     be retained, and the output buffer.
- *     Possible values are:
+ *     The usual values are:
  *             d_Gconvert='gconvert((x),(n),(t),(b))'
  *             d_Gconvert='gcvt((x),(n),(b))'
  *             d_Gconvert='sprintf((b),"%.*g",(n),(x))'
 #define HAS_NTOHL              /**/
 #define HAS_NTOHS              /**/
 
-/* HAS_ICONV:
- *     This symbol, if defined, indicates that the iconv routine is
- *     available to do character set conversions.
- */
-#define HAS_ICONV              /**/
-
 /* HAS_INT64_T:
  *     This symbol will defined if the C compiler supports int64_t.
  *     Usually the <inttypes.h> needs to be included, but sometimes
  *     to the program to supply one.  A good guess is
  *             extern off_t lseek(int, off_t, int);
  */
-#      HAS_LSEEK_PROTO /**/
+#define        HAS_LSEEK_PROTO /**/
 
 /* HAS_MADVISE:
  *     This symbol, if defined, indicates that the madvise system call is
  *     This symbol, if defined, indicates that the system provides
  *     a prototype for the sbrk() function.  Otherwise, it is up
  *     to the program to supply one.  Good guesses are
- *             extern void* sbrk _((int));
- *             extern void* sbrk _((size_t));
+ *             extern void* sbrk(int);
+ *             extern void* sbrk(size_t);
  */
 #define        HAS_SBRK_PROTO  /**/
 
  *     This symbol, if defined, indicates that the system provides
  *     a prototype for the telldir() function.  Otherwise, it is up
  *     to the program to supply one.  A good guess is
- *             extern long telldir _((DIR*));
+ *             extern long telldir(DIR*);
  */
 #define        HAS_TELLDIR_PROTO       /**/
 
 #define I_GRP          /**/
 #define GRPASSWD       /**/
 
-/* I_ICONV:
- *     This symbol, if defined, indicates that <iconv.h> exists and
- *     should be included.
- */
-#define        I_ICONV         /**/
-
 /* I_IEEEFP:
  *     This symbol, if defined, indicates that <ieeefp.h> exists and
  *     should be included.
  *     This symbol, if defined, indicates to the C program that it should
  *     include <sys/time.h> with KERNEL defined.
  */
+/* HAS_TM_TM_ZONE:
+ *     This symbol, if defined, indicates to the C program that
+ *     the struct tm has a tm_zone field.
+ */
 /*#define I_TIME               / **/
 #define I_SYS_TIME             /**/
 /*#define I_SYS_TIME_KERNEL            / **/
+#define HAS_TM_TM_ZONE         /**/
 
 /* I_USTAT:
  *     This symbol, if defined, indicates that <ustat.h> exists and
  *     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.7.2"          /**/
-#define PRIVLIB_EXP "/opt/perl/lib/5.7.2"              /**/
+#define PRIVLIB "/opt/perl/lib/5.7.3"          /**/
+#define PRIVLIB_EXP "/opt/perl/lib/5.7.3"              /**/
 
 /* 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.7.2/alpha-dec_osf"         /**/
-#define SITEARCH_EXP "/opt/perl/lib/site_perl/5.7.2/alpha-dec_osf"             /**/
+#define SITEARCH "/opt/perl/lib/site_perl/5.7.3/alpha-dec_osf"         /**/
+#define SITEARCH_EXP "/opt/perl/lib/site_perl/5.7.3/alpha-dec_osf"             /**/
 
 /* 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.7.2"                /**/
-#define SITELIB_EXP "/opt/perl/lib/site_perl/5.7.2"            /**/
+#define SITELIB "/opt/perl/lib/site_perl/5.7.3"                /**/
+#define SITELIB_EXP "/opt/perl/lib/site_perl/5.7.3"            /**/
 #define SITELIB_STEM "/opt/perl/lib/site_perl"         /**/
 
 /* Size_t_size:
  *     script to make sure (one hopes) that it runs with perl and not
  *     some shell.
  */
-#define STARTPERL "#!/opt/perl/bin/perl5.7.2"          /**/
+#define STARTPERL "#!/opt/perl/bin/perl5.7.3"          /**/
 
 /* STDCHAR:
  *     This symbol is defined to be the type of char used in stdio.h.
 /* 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 /opt/perl/lib/site_perl/5.7.2/alpha-dec_osf for older
+ *     lib/lib.pm will automatically search in /opt/perl/lib/site_perl/5.7.3/alpha-dec_osf 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.
  *     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 /opt/perl/lib/site_perl/5.7.2 for older directories across major versions
+ *     search in /opt/perl/lib/site_perl/5.7.3 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
 #define PERL_XS_APIVERSION "5.005"
 #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_CRYPT              /**/
+
 /* SETUID_SCRIPTS_ARE_SECURE_NOW:
  *     This symbol, if defined, indicates that the bug that prevents
  *     setuid scripts from being secure is not present in this kernel.
 /*#define SETUID_SCRIPTS_ARE_SECURE_NOW        / **/
 /*#define DOSUID               / **/
 
+/* Shmat_t:
+ *     This symbol holds the return type of the shmat() system call.
+ *     Usually set to 'void *' or 'char *'.
+ */
+/* HAS_SHMAT_PROTOTYPE:
+ *     This symbol, if defined, indicates that the sys/shm.h includes
+ *     a prototype for shmat().  Otherwise, it is up to the program to
+ *     guess one.  Shmat_t shmat(int, Shmat_t, int) is a good guess,
+ *     but not always right so it should be emitted by the program only
+ *     when HAS_SHMAT_PROTOTYPE is not defined to avoid conflicting defs.
+ */
+#define Shmat_t void * /**/
+#define HAS_SHMAT_PROTOTYPE    /**/
+
+/* I_NDBM:
+ *     This symbol, if defined, indicates that <ndbm.h> exists and should
+ *     be included.
+ */
+#define I_NDBM /**/
+
 /* I_STDARG:
  *     This symbol, if defined, indicates that <stdarg.h> exists and should
  *     be included.
 #define I_STDARG               /**/
 /*#define I_VARARGS    / **/
 
+/* CAN_PROTOTYPE:
+ *     If defined, this macro indicates that the C compiler can handle
+ *     function prototypes.
+ */
+/* _:
+ *     This macro is used to declare function parameters for folks who want
+ *     to make declarations with prototypes using a different style than
+ *     the above macros.  Use double parentheses.  For example:
+ *
+ *             int main _((int argc, char *argv[]));
+ */
+#define        CAN_PROTOTYPE   /**/
+#ifdef CAN_PROTOTYPE
+#define        _(args) args
+#else
+#define        _(args) ()
+#endif
+
 /* SH_PATH:
  *     This symbol contains the full pathname to the shell used on this
  *     on this system to execute Bourne shell scripts.  Usually, this will be
  */
 /*#define      HAS_DBMINIT_PROTO       / **/
 
+/* HAS_DIRFD:
+ *     This manifest constant lets the C program know that dirfd
+ *     is available.
+ */
+#define HAS_DIRFD              /**/
+
 /* HAS_FLOCK_PROTO:
  *     This symbol, if defined, indicates that the system provides
  *     a prototype for the flock() function.  Otherwise, it is up
  */
 #define HAS_NL_LANGINFO                /**/
 
+/* HAS_PROCSELFEXE:
+ *     This symbol is defined if PROCSELFEXE_PATH is a symlink
+ *     to the absolute pathname of the executing program.
+ */
+/* PROCSELFEXE_PATH:
+ *     If HAS_PROCSELFEXE is defined this symbol is the filename
+ *     of the symbolic link pointing to the absolute pathname of
+ *     the executing program.
+ */
+/*#define HAS_PROCSELFEXE      / **/
+#if defined(HAS_PROCSELFEXE) && !defined(PROCSELFEXE_PATH)
+#define PROCSELFEXE_PATH               /**/
+#endif
+
 /* HAS_SIGPROCMASK:
  *     This symbol, if defined, indicates that the sigprocmask
  *     system call is available to examine or change the signal mask
  *     This symbol, if defined, indicates that the system provides
  *     a prototype for the sockatmark() function.  Otherwise, it is up
  *     to the program to supply one.  A good guess is
- *             extern int sockatmark _((int));
+ *             extern int sockatmark(int);
  */
 /*#define      HAS_SOCKATMARK_PROTO    / **/