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 7af917f..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
@@ -87,7 +93,14 @@ sed <<!GROK!THIS! >config.h -e 's!^#undef!/\*#undef!'
  *     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
@@ -97,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.
@@ -148,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.
@@ -288,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.
@@ -409,6 +440,33 @@ sed <<!GROK!THIS! >config.h -e 's!^#undef!/\*#undef!'
  */
 #$d_syscall    SYSCALL         /**/
 
+/* SYSVIPC:
+ *     This symbol, if defined, indicates that System V IPC exists.
+ */
+/* IPCMSG:
+ *     This symbol, if defined, indicates that System V IPC messages exist.
+ */
+/* IPCSEM:
+ *     This symbol, if defined, indicates that System V IPC semaphores exist.
+ */
+/* 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
  *     include varargs.h.
@@ -453,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.
@@ -493,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.
@@ -514,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        /**/
@@ -582,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.
  */