This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
fix O_CREAT without O_TRUNC in cpan/autodie/t/utf8_open.t
[perl5.git] / config_h.SH
index 988273f..be47a6b 100755 (executable)
@@ -1,3 +1,5 @@
+#!/bin/sh
+#
 # THIS IS A GENERATED FILE
 # DO NOT HAND-EDIT
 #
@@ -925,6 +927,15 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
 #define OSNAME "$osname"               /**/
 #define OSVERS "$osvers"               /**/
 
+/* 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.
+ */
+#$multiarch MULTIARCH          /**/
+
 /* USE_CROSS_COMPILE:
  *     This symbol, if defined, indicates that Perl is being cross-compiled.
  */
@@ -937,25 +948,13 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
 #define        PERL_TARGETARCH "$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.
- */
-#$multiarch MULTIARCH          /**/
-
 /* MEM_ALIGNBYTES:
  *     This symbol contains the number of bytes required to align a
  *     double, or a long double when applicable. Usual values are 2,
- *     4 and 8. The default is eight, for safety.
+ *     4 and 8. The default is eight, for safety.  For cross-compiling
+ *     or multiarch support, Configure will set a minimum of 8.
  */
-#if defined(USE_CROSS_COMPILE) || defined(MULTIARCH)
-#  define MEM_ALIGNBYTES 8
-#else
 #define MEM_ALIGNBYTES $alignbytes
-#endif
 
 /* ARCHLIB:
  *     This variable, if defined, holds the name of the directory in
@@ -1017,7 +1016,7 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
  *     This symbol holds the hexadecimal constant defined in byteorder,
  *     in a UV, i.e. 0x1234 or 0x4321 or 0x12345678, etc...
  *     If the compiler supports cross-compiling or multiple-architecture
- *     binaries (eg. on NeXT systems), use compiler-defined macros to
+ *     binaries (e.g. on NeXT systems), use compiler-defined macros to
  *     determine the byte order.
  *     On NeXT 3.2 (and greater), you can build "Fat" Multiple Architecture
  *     Binaries (MAB) on either big endian or little endian machines.
@@ -2709,10 +2708,17 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
 #define DOUBLESIZE $doublesize         /**/
 
 /* EBCDIC:
- *     This symbol, if defined, indicates that this system uses
+ *     This symbol, if defined, indicates that this system uses
  *     EBCDIC encoding.
  */
+/* BOOTSTRAP_CHARSET:
+ *     This symbol, if defined, indicates that this system needs
+ *     converting various files to the native character set before
+ *     bringing up perl on a system that has a non-ASCII character
+ *     set and no working perl.
+ */
 #$ebcdic       EBCDIC          /**/
+#$bootstrap_charset    BOOTSTRAP_CHARSET       /**/
 
 /* Fpos_t:
  *     This symbol holds the type used to declare file positions in libc.
@@ -2727,7 +2733,7 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
 #define        Gid_t_f         $gidformat              /**/
 
 /* Gid_t_sign:
- *     This symbol holds the signedess of a Gid_t.
+ *     This symbol holds the signedness of a Gid_t.
  *     1 for unsigned, -1 for signed.
  */
 #define Gid_t_sign     $gidsign                /* GID sign */
@@ -3141,10 +3147,10 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
  *     function used to generate normalized random numbers.
  *     Values include 15, 16, 31, and 48.
  */
-#define Drand01()              $drand01                /**/
-#define Rand_seed_t            $randseedtype           /**/
-#define seedDrand01(x) $seedfunc((Rand_seed_t)x)       /**/
-#define RANDBITS               $randbits               /**/
+#define Drand01()              $drand01                /**/
+#define Rand_seed_t            $randseedtype           /**/
+#define seedDrand01(x) $seedfunc((Rand_seed_t)x)       /**/
+#define RANDBITS               $randbits               /**/
 
 /* Select_fd_set_t:
  *     This symbol holds the type used for the 2nd, 3rd, and 4th
@@ -3286,7 +3292,7 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
 #define        Uid_t_f         $uidformat              /**/
 
 /* Uid_t_sign:
- *     This symbol holds the signedess of a Uid_t.
+ *     This symbol holds the signedness of a Uid_t.
  *     1 for unsigned, -1 for signed.
  */
 #define Uid_t_sign     $uidsign                /* UID sign */
@@ -3749,7 +3755,7 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
 #$d_int64_t     HAS_INT64_T               /**/
 
 /* HAS_ISBLANK:
- *     This manifest constant lets the C program know that isblank 
+ *     This manifest constant lets the C program know that isblank
  *     is available.
  */
 #$d_isblank HAS_ISBLANK                /**/
@@ -4629,7 +4635,7 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
  *     This variable contains the size of struct stat's st_ino in bytes.
  */
 /* ST_INO_SIGN:
- *     This symbol holds the signedess of struct stat's st_ino.
+ *     This symbol holds the signedness of struct stat's st_ino.
  *     1 for unsigned, -1 for signed.
  */
 #define ST_INO_SIGN $st_ino_sign       /* st_ino sign */