This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perl 3.0 patch #42 (combined patch)
[perl5.git] / config.h.SH
index c3c8630..ad1f801 100644 (file)
@@ -37,6 +37,12 @@ sed <<!GROK!THIS! >config.h -e 's!^#undef!/\*#undef!'
 #$d_eunice     EUNICE          /**/
 #$d_eunice     VMS             /**/
 
+/* ALIGNBYTES:
+ *     This symbol contains the number of bytes required to align a double.
+ *     Usual values are 2, 4, and 8.
+ */
+#define ALIGNBYTES $alignbytes         /**/
+
 /* BIN:
  *     This symbol holds the name of the directory in which the user wants
  *     to put publicly executable images for the package in question.  It
@@ -48,7 +54,7 @@ sed <<!GROK!THIS! >config.h -e 's!^#undef!/\*#undef!'
  *     This symbol contains an encoding of the order of bytes in a long.
  *     Usual values (in octal) are 01234, 04321, 02143, 03412...
  */
-#define BYTEORDER 0$byteorder          /**/
+#define BYTEORDER 0x$byteorder         /**/
 
 /* CPPSTDIN:
  *     This symbol contains the first part of the string which will invoke
@@ -77,6 +83,25 @@ sed <<!GROK!THIS! >config.h -e 's!^#undef!/\*#undef!'
  */
 #$d_bcopy      BCOPY           /**/
 
+/* BZERO:
+ *     This symbol, if defined, indicates that the bzero routine is available
+ *     to zero blocks of memory.  Otherwise you should probably use memcpy().
+ */
+#$d_bzero      BZERO           /**/
+
+/* CASTNEGFLOAT:
+ *     This symbol, if defined, indicates that this C compiler knows how to
+ *     cast negative numbers to unsigned longs, ints and shorts.
+ */
+/* CASTFLAGS:
+ *     This symbol contains flags that say what difficulties the compiler
+ *     has casting odd floating values to unsigned long:
+ *             1 = couldn't cast < 0
+ *             2 = couldn't cast >= 0x80000000
+ */
+#$d_castneg    CASTNEGFLOAT    /**/
+#define        CASTFLAGS $castflags    /**/
+
 /* CHARSPRINTF:
  *     This symbol is defined if this system declares "char *sprintf()" in
  *     stdio.h.  The trend seems to be to declare it as "int sprintf()".  It
@@ -85,6 +110,12 @@ sed <<!GROK!THIS! >config.h -e 's!^#undef!/\*#undef!'
  */
 #$d_charsprf   CHARSPRINTF     /**/
 
+/* CHSIZE:
+ *     This symbol, if defined, indicates that the chsize routine is available
+ *     to truncate files.  You might need a -lx to get this routine.
+ */
+#$d_chsize     CHSIZE          /**/
+
 /* CRYPT:
  *     This symbol, if defined, indicates that the crypt routine is available
  *     to encrypt passwords and the like.
@@ -136,6 +167,12 @@ sed <<!GROK!THIS! >config.h -e 's!^#undef!/\*#undef!'
  */
 #$d_fcntl      FCNTL           /**/
 
+/* FLEXFILENAMES:
+ *     This symbol, if defined, indicates that the system supports filenames
+ *     longer than 14 characters.
+ */
+#$d_flexfnam   FLEXFILENAMES           /**/
+
 /* FLOCK:
  *     This symbol, if defined, indicates that the flock() routine is
  *     available to do file locking.
@@ -161,6 +198,12 @@ sed <<!GROK!THIS! >config.h -e 's!^#undef!/\*#undef!'
  */
 #$d_getpgrp    GETPGRP         /**/
 
+/* GETPGRP2:
+ *     This symbol, if defined, indicates that the getpgrp2() (as in DG/UX)
+ *     routine is available to get the current process group.
+ */
+#$d_getpgrp2   GETPGRP2                /**/
+
 /* GETPRIORITY:
  *     This symbol, if defined, indicates that the getpriority() routine is
  *     available to get a process's priority.
@@ -212,6 +255,12 @@ sed <<!GROK!THIS! >config.h -e 's!^#undef!/\*#undef!'
  */
 #$d_killpg     KILLPG          /**/
 
+/* LSTAT:
+ *     This symbol, if defined, indicates that the lstat() routine is
+ *     available to do file locking.
+ */
+#$d_lstat      LSTAT           /**/
+
 /* MEMCMP:
  *     This symbol, if defined, indicates that the memcmp routine is available
  *     to compare blocks of memory.  If undefined, roll your own.
@@ -264,6 +313,12 @@ sed <<!GROK!THIS! >config.h -e 's!^#undef!/\*#undef!'
  */
 #$d_rmdir      RMDIR           /**/
 
+/* SELECT:
+ *     This symbol, if defined, indicates that the select routine is available
+ *     to select active file descriptors.
+ */
+#$d_select     SELECT          /**/
+
 /* SETEGID:
  *     This symbol, if defined, indicates that the setegid routine is available
  *     to change the effective gid of the current program.
@@ -282,6 +337,12 @@ sed <<!GROK!THIS! >config.h -e 's!^#undef!/\*#undef!'
  */
 #$d_setpgrp    SETPGRP         /**/
 
+/* SETPGRP2:
+ *     This symbol, if defined, indicates that the setpgrp2() (as in DG/UX)
+ *     routine is available to set the current process group.
+ */
+#$d_setpgrp2   SETPGRP2                /**/
+
 /* SETPRIORITY:
  *     This symbol, if defined, indicates that the setpriority() routine is
  *     available to set a process's priority.
@@ -361,6 +422,12 @@ sed <<!GROK!THIS! >config.h -e 's!^#undef!/\*#undef!'
  */
 #$d_strctcpy   STRUCTCOPY      /**/
 
+/* STRERROR:
+ *     This symbol, if defined, indicates that the strerror() routine is
+ *     available to translate error numbers to strings.
+ */
+#$d_strerror   STRERROR                /**/
+
 /* SYMLINK:
  *     This symbol, if defined, indicates that the symlink routine is available
  *     to create symbolic links.
@@ -373,22 +440,32 @@ sed <<!GROK!THIS! >config.h -e 's!^#undef!/\*#undef!'
  */
 #$d_syscall    SYSCALL         /**/
 
-/* TMINSYS:
- *     This symbol is defined if this system declares "struct tm" in
- *     in <sys/time.h> rather than <time.h>.  We can't just say
- *     -I/usr/include/sys because some systems have both time files, and
- *     the -I trick gets the wrong one.
+/* SYSVIPC:
+ *     This symbol, if defined, indicates that System V IPC exists.
  */
-/* I_SYSTIME:
- *     This symbol is defined if this system has the file <sys/time.h>.
+/* IPCMSG:
+ *     This symbol, if defined, indicates that System V IPC messages exist.
  */
-/* I_TIMETOO:
- *     This symbol is defined if <sys/time.h> exists but doesn't include
- *     <time.h>.
+/* IPCSEM:
+ *     This symbol, if defined, indicates that System V IPC semaphores exist.
  */
-#$d_tminsys    TMINSYS         /**/
-#$i_systime    I_SYSTIME       /**/
-#$i_timetoo    I_TIMETOO       /**/
+/* IPCSHM:
+ *     This symbol, if defined, indicates that System V IPC shared memory
+ *     exists.
+ */
+#$d_sysvipc    SYSVIPC /**/
+
+#$d_ipcmsg     IPCMSG  /**/
+
+#$d_ipcsem     IPCSEM  /**/
+
+#$d_ipcshm     IPCSHM  /**/
+
+/* TRUNCATE:
+ *     This symbol, if defined, indicates that the truncate routine is
+ *     available to truncate files.
+ */
+#$d_truncate   TRUNCATE                /**/
 
 /* VARARGS:
  *     This symbol, if defined, indicates to the C program that it should
@@ -409,6 +486,12 @@ sed <<!GROK!THIS! >config.h -e 's!^#undef!/\*#undef!'
  */
 #$d_voidsig    VOIDSIG         /**/
 
+/* HASVOLATILE:
+ *     This symbol, if defined, indicates that this C compiler knows about
+ *     the volatile declaration.
+ */
+#$d_volatile   HASVOLATILE     /**/
+
 /* VPRINTF:
  *     This symbol, if defined, indicates that the vprintf routine is available
  *     to printf with a pointer to an argument list.  If unavailable, you
@@ -428,6 +511,11 @@ sed <<!GROK!THIS! >config.h -e 's!^#undef!/\*#undef!'
  */
 #$d_wait4      WAIT4   /**/
 
+/* WAITPID:
+ *     This symbol, if defined, indicates that waitpid() exists.
+ */
+#$d_waitpid    WAITPID /**/
+
 /* GIDTYPE:
  *     This symbol has a value like gid_t, int, ushort, or whatever type is
  *     used to declare group ids in the kernel.
@@ -468,6 +556,10 @@ sed <<!GROK!THIS! >config.h -e 's!^#undef!/\*#undef!'
  *     This symbol, if defined, indicates to the C program that it should
  *     include pwd.h.
  */
+/* PWCOMMENT:
+ *     This symbol, if defined, indicates to the C program that struct passwd
+ *     contains pw_comment.
+ */
 /* PWQUOTA:
  *     This symbol, if defined, indicates to the C program that struct passwd
  *     contains pw_quota.
@@ -489,6 +581,7 @@ sed <<!GROK!THIS! >config.h -e 's!^#undef!/\*#undef!'
  *     contains pw_expire.
  */
 #$i_pwd        I_PWD           /**/
+#$d_pwcomment  PWCOMMENT       /**/
 #$d_pwquota    PWQUOTA         /**/
 #$d_pwage      PWAGE           /**/
 #$d_pwchange   PWCHANGE        /**/
@@ -507,6 +600,32 @@ sed <<!GROK!THIS! >config.h -e 's!^#undef!/\*#undef!'
  */
 #$i_sysioctl   I_SYSIOCTL              /**/
 
+/* I_SYSNDIR:
+ *     This symbol, if defined, indicates to the C program that it should
+ *     include sys/ndir.h.
+ */
+#$i_sysndir    I_SYSNDIR               /**/
+
+/* I_TIME:
+ *     This symbol is defined if the program should include <time.h>.
+ */
+/* I_SYSTIME:
+ *     This symbol is defined if the program should include <sys/time.h>.
+ */
+/* I_SYSTIMEKERNEL:
+ *     This symbol is defined if the program should include <sys/time.h>
+ *     with KERNEL defined.
+ */
+#$i_time               I_TIME          /**/
+#$i_systime    I_SYSTIME       /**/
+#$d_systimekernel      SYSTIMEKERNEL   /**/
+
+/* I_UTIME:
+ *     This symbol, if defined, indicates to the C program that it should
+ *     include utime.h.
+ */
+#$i_utime      I_UTIME         /**/
+
 /* I_VARARGS:
  *     This symbol, if defined, indicates to the C program that it should
  *     include varargs.h.
@@ -531,6 +650,13 @@ sed <<!GROK!THIS! >config.h -e 's!^#undef!/\*#undef!'
  */
 #define RANDBITS $randbits             /**/
 
+/* SCRIPTDIR:
+ *     This symbol holds the name of the directory in which the user wants
+ *     to put publicly executable scripts for the package in question.  It
+ *     is often a directory that is mounted across diverse architectures.
+ */
+#define SCRIPTDIR "$scriptdir"             /**/
+
 /* SIG_NAME:
  *     This symbol contains an list of signal names in order.
  */