Skip to content

Commit

Permalink
Regenerate Configure from latest metaconfig
Browse files Browse the repository at this point in the history
This includes the LC_ALL notation unit, not yet merged in metaconfig.

It turns out that in order to get quite a few elements from being
dropped, I had to add them to metaconfig.h
  • Loading branch information
khwilliamson committed Aug 2, 2023
1 parent e139fae commit c4db344
Show file tree
Hide file tree
Showing 10 changed files with 784 additions and 383 deletions.
977 changes: 608 additions & 369 deletions Configure

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions Cross/config.sh-arm-linux
Original file line number Diff line number Diff line change
Expand Up @@ -433,6 +433,9 @@ d_open3='define'
d_openat='undef'
d_pathconf='define'
d_pause='define'
d_perl_lc_all_category_positions_init='define'
d_perl_lc_all_separator='define'
d_perl_lc_all_uses_name_value_pairs='define'
d_perl_otherlibdirs='undef'
d_phostname='undef'
d_pipe2='undef'
Expand Down Expand Up @@ -970,6 +973,8 @@ patchlevel='9'
path_sep=':'
perl5='/usr/bin/perl'
perl=''
perl_lc_all_category_positions_init='define'
perl_lc_all_separator='define'
perl_patchlevel=''
perl_static_inline='static'
perl_thread_local=''
Expand Down
5 changes: 5 additions & 0 deletions Cross/config.sh-arm-linux-n770
Original file line number Diff line number Diff line change
Expand Up @@ -432,6 +432,9 @@ d_open3='define'
d_openat='undef'
d_pathconf='define'
d_pause='define'
d_perl_lc_all_category_positions_init='define'
d_perl_lc_all_separator='define'
d_perl_lc_all_uses_name_value_pairs='define'
d_perl_otherlibdirs='undef'
d_phostname='undef'
d_pipe2='undef'
Expand Down Expand Up @@ -968,6 +971,8 @@ patchlevel='11'
path_sep=':'
perl5='/usr/bin/perl'
perl=''
perl_lc_all_category_positions_init='define'
perl_lc_all_separator='define'
perl_patchlevel=''
perl_static_inline='static'
perl_thread_local=''
Expand Down
5 changes: 5 additions & 0 deletions Porting/config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -446,6 +446,9 @@ d_open3='define'
d_openat='define'
d_pathconf='define'
d_pause='define'
d_perl_lc_all_category_positions_init='define'
d_perl_lc_all_separator='define'
d_perl_lc_all_uses_name_value_pairs='define'
d_perl_otherlibdirs='undef'
d_phostname='undef'
d_pipe2='define'
Expand Down Expand Up @@ -994,6 +997,8 @@ patchlevel='37'
path_sep=':'
perl5='/pro/bin/perl'
perl='perl'
perl_lc_all_category_positions_init='define'
perl_lc_all_separator='define'
perl_patchlevel=''
perl_static_inline='static __inline__'
perl_thread_local='_Thread_local'
Expand Down
44 changes: 32 additions & 12 deletions config_h.SH
Original file line number Diff line number Diff line change
Expand Up @@ -3178,10 +3178,16 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
/* 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>
* available to return locale data. You will also need <langinfo.h>
* and therefore I_LANGINFO.
*/
/* HAS_NL_LANGINFO_L:
* This symbol, if defined, indicates that the nl_langinfo_l routine is
* available to return locale data. You will also need <langinfo.h>
* and therefore I_LANGINFO.
*/
#$d_nl_langinfo HAS_NL_LANGINFO /**/
#$d_nl_langinfo_l HAS_NL_LANGINFO_L /**/
/* HAS_OFF64_T:
* This symbol will be defined if the C compiler supports off64_t.
Expand Down Expand Up @@ -3645,6 +3651,31 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
*/
#$default_inc_excludes_dot DEFAULT_INC_EXCLUDES_DOT /**/
/* PERL_LC_ALL_USES_NAME_VALUE_PAIRS:
* This symbol, if defined, indicates to the C program that the string
* returned by setlocale(LC_ALL, NULL) uses 'name=value;' pairs to
* indicate what each category's locale is when they aren't all set to the
* same locale. For example, "LC_NUMERIC=C;LC_CTYPE=de_DE;..."
* When not defined, the system uses positional notation.
*/
/* PERL_LC_ALL_SEPARATOR:
* This symbol, if defined, gives the string returned by
* setlocale(LC_ALL, NULL) to separate categories that are in different
* locales on systems that use a positional notation as opposed to
* 'name=value' pairs. An example on some platforms could be the '/' in
* "C/de_DE/C/en_UK/C/C"
*/
/* PERL_LC_ALL_CATEGORY_POSITIONS_INIT:
* This symbol, when defined, gives the C initializer for an array whose
* element [0] is the first category in the string returned by
* setlocale(LC_ALL, NULL) when not all categories are the same, on
* systems that use a positional notation. After element [0] is
* LC_ALL_SEPARATOR, then the category given by element [1] and so on.
*/
#$d_perl_lc_all_uses_name_value_pairs PERL_LC_ALL_USES_NAME_VALUE_PAIRS /**/
#$d_perl_lc_all_separator PERL_LC_ALL_SEPARATOR $perl_lc_all_separator /**/
#$d_perl_lc_all_category_positions_init PERL_LC_ALL_CATEGORY_POSITIONS_INIT $perl_lc_all_category_positions_init /**/
/* USE_DYNAMIC_LOADING:
* This symbol, if defined, indicates that dynamic loading of
* some sort is available.
Expand Down Expand Up @@ -4991,17 +5022,6 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
*/
#$d_mbrtowc HAS_MBRTOWC /**/
/* HAS_NL_LANGINFO_L:
* This symbol, when defined, indicates presence of the nl_langinfo_l()
* function
*/
/* HAS_THREAD_SAFE_NL_LANGINFO_L:
* This symbol, when defined, indicates presence of the nl_langinfo_l()
* function, and that it is thread-safe.
*/
#$d_nl_langinfo_l HAS_NL_LANGINFO_L /**/
#$d_thread_safe_nl_langinfo_l HAS_THREAD_SAFE_NL_LANGINFO_L /**/
/* OLD_PTHREAD_CREATE_JOINABLE:
* This symbol, if defined, indicates how to create pthread
* in joinable (aka undetached) state. NOTE: not defined
Expand Down
6 changes: 6 additions & 0 deletions configure.com
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

$! OpenVMS configuration procedure for Perl -- do not attempt to run under DOS
$ sav_ver = 'F$VERIFY(0)'
$ on control_y then goto clean_up
Expand Down Expand Up @@ -6215,6 +6216,9 @@ $ WC "d_oldpthreads='" + d_oldpthreads + "'"
$ WC "d_oldsock='undef'"
$ WC "d_open3='define'"
$ WC "d_openat='undef'"
$ WC "d_perl_lc_all_category_positions_init='undef'"
$ WC "d_perl_lc_all_separator='undef'"
$ WC "d_perl_lc_all_uses_name_value_pairs='undef'"
$ WC "d_unlinkat='undef'"
$ WC "d_renameat='undef'"
$ WC "d_linkat='undef'"
Expand Down Expand Up @@ -6679,6 +6683,8 @@ $ WC "package='" + package + "'"
$ WC "pager='" + pager + "'"
$ WC "patchlevel='" + patchlevel + "'"
$ WC "path_sep='|'"
$ WC "perl_lc_all_category_positions_init='undef'"
$ WC "perl_lc_all_separator='undef'"
$ WC "perl_root='" + perl_root + "'" ! VMS specific $trnlnm()
$ WC "perladmin='" + perladmin + "'"
$ WC "perllibs='" + perllibs + "'"
Expand Down
110 changes: 108 additions & 2 deletions metaconfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,112 @@
* Symbols should only be here temporarily. Once they are actually used,
* they should be removed from here.
*
* HAS_NON_INT_BITFIELDS
*
* BIN
* CASTI32
* CASTNEGFLOAT
* CPPLAST
* CPPMINUS
* CPPRUN
* CPPSTDIN
* DOSUID
* DOUBLE_HAS_NEGATIVE_ZERO
* DOUBLE_HAS_SUBNORMALS
* DOUBLEMANTBITS
* DOUBLE_STYLE_CRAY
* DOUBLE_STYLE_IBM
* DOUBLE_STYLE_IEEE
* DOUBLE_STYLE_VAX
* DRAND48_R_PROTO
* Gid_t_f
* HAS_ASCTIME64
* HAS_ATOLF
* HAS_BUILTIN_ADD_OVERFLOW
* HAS_BUILTIN_MUL_OVERFLOW
* HAS_BUILTIN_SUB_OVERFLOW
* HAS_CSH
* HAS_CTERMID
* HAS_CTIME64
* HAS_DIFFTIME64
* HAS_DRAND48_PROTO
* HAS_DRAND48_R
* HAS_FD_SET
* HAS_FFS
* HAS_FFSL
* HAS_GETMNT
* HAS_GMTIME64
* HAS_GNULIBC
* HAS_INT64_T
* HAS_IPV6_MREQ_SOURCE
* HAS_ISLESS
* HAS_ISNORMAL
* HAS_LGAMMA_R
* HAS_LOCALECONV_L
* HAS_LOCALTIME64
* HAS_LSEEK_PROTO
* HAS_MKTIME64
* HAS_NANOSLEEP
* HAS_OPEN3
* HAS_OPENAT
* HAS_PRCTL
* HAS_PSEUDOFORK
* HAS_RANDOM_R
* HAS_SIGINFO_SI_VALUE
* HAS_SIGSETJMP
* HAS_SRAND48_R
* HAS_SRANDOM_R
* HAS_STRTOD_L
* HAS_STRTOLD_L
* HAS_STRUCT_FS_DATA
* HAS_STRUCT_STATFS
* HAS_STRUCT_STATFS_F_FLAGS
* HAS_TIME
* HAS_USTAT
* HAS_VFORK
* HAS_WCSCMP
* HAS_WCSXFRM
* I16SIZE
* I32SIZE
* I64SIZE
* I8SIZE
* I_GDBM
* INSTALL_USR_BIN_PERL
* I_STDBOOL
* I_SYS_MOUNT
* I_SYS_STATFS
* I_SYS_STATVFS
* I_SYS_VFS
* I_TIME
* I_USTAT
* I_VFORK
* I_XLOCALE
* LOCALTIME_R_NEEDS_TZSET
* LOC_SED
* LONGDBLMANTBITS
* LONG_DOUBLE_STYLE_IEEE
* LONG_DOUBLE_STYLE_IEEE_DOUBLEDOUBLE
* LONG_DOUBLE_STYLE_IEEE_EXTENDED
* LONG_DOUBLE_STYLE_IEEE_STD
* LONG_DOUBLE_STYLE_VAX
* OSVERS
* PERL_LC_ALL_CATEGORY_POSITIONS_INIT
* PERL_LC_ALL_SEPARATOR
* PERL_LC_ALL_USES_NAME_VALUE_PAIRS
* PERL_PRIeldbl
* PERL_SCNfldbl
* PERL_TARGETARCH
* PERL_VENDORARCH
* RANDOM_R_PROTO
* SRAND48_R_PROTO
* SRANDOM_R_PROTO
* STARTPERL
* ST_INO_SIGN
* ST_INO_SIZE
* U32_ALIGNMENT_REQUIRED
* U32of
* U32xf
* U32Xf
* U8SIZE
* Uid_t_f
* USE_CROSS_COMPILE
* USE_MORE_BITS
*/
5 changes: 5 additions & 0 deletions plan9/config_sh.sample
Original file line number Diff line number Diff line change
Expand Up @@ -433,6 +433,9 @@ d_open3='define'
d_openat='undef'
d_pathconf='define'
d_pause='define'
d_perl_lc_all_category_positions_init='define'
d_perl_lc_all_separator='define'
d_perl_lc_all_uses_name_value_pairs='define'
d_perl_otherlibdirs='undef'
d_phostname='undef'
d_pipe2='undef'
Expand Down Expand Up @@ -951,6 +954,8 @@ patchlevel='8'
path_sep=':'
perl5=''
perl=''
perl_lc_all_category_positions_init='define'
perl_lc_all_separator='define'
perl_patchlevel=''
perl_static_inline='static'
perl_thread_local=''
Expand Down
5 changes: 5 additions & 0 deletions win32/config.gc
Original file line number Diff line number Diff line change
Expand Up @@ -422,6 +422,9 @@ d_open3='undef'
d_openat='undef'
d_pathconf='undef'
d_pause='define'
d_perl_lc_all_category_positions_init='define'
d_perl_lc_all_separator='define'
d_perl_lc_all_uses_name_value_pairs='define'
d_perl_otherlibdirs='undef'
d_phostname='undef'
d_pipe2='undef'
Expand Down Expand Up @@ -964,6 +967,8 @@ patchlevel='~PERL_VERSION~'
path_sep=';'
perl5=''
perl='perl'
perl_lc_all_category_positions_init='define'
perl_lc_all_separator='define'
perl_patchlevel='~PERL_PATCHLEVEL~'
perl_static_inline='static __inline__'
perl_thread_local=''
Expand Down
5 changes: 5 additions & 0 deletions win32/config.vc
Original file line number Diff line number Diff line change
Expand Up @@ -422,6 +422,9 @@ d_open3='undef'
d_openat='undef'
d_pathconf='undef'
d_pause='define'
d_perl_lc_all_category_positions_init='define'
d_perl_lc_all_separator='define'
d_perl_lc_all_uses_name_value_pairs='define'
d_perl_otherlibdirs='undef'
d_phostname='undef'
d_pipe2='undef'
Expand Down Expand Up @@ -963,6 +966,8 @@ patchlevel='~PERL_VERSION~'
path_sep=';'
perl5=''
perl='perl'
perl_lc_all_category_positions_init='define'
perl_lc_all_separator='define'
perl_patchlevel='~PERL_PATCHLEVEL~'
perl_static_inline='static __inline'
perl_thread_local=''
Expand Down

0 comments on commit c4db344

Please sign in to comment.