Skip to content

Commit

Permalink
Configure: strxfrm_l
Browse files Browse the repository at this point in the history
  • Loading branch information
khwilliamson committed May 5, 2021
1 parent 926ab66 commit 0336a25
Show file tree
Hide file tree
Showing 14 changed files with 42 additions and 16 deletions.
6 changes: 6 additions & 0 deletions Configure
Expand Up @@ -889,6 +889,7 @@ d_strtoul=''
d_strtoull=''
d_strtouq=''
d_strxfrm=''
d_strxfrm_l=''
d_symlink=''
d_syscall=''
d_syscallproto=''
Expand Down Expand Up @@ -19470,6 +19471,10 @@ esac
set strxfrm d_strxfrm
eval $inlibc

: see if strxfrm_l exists
set strxfrm_l d_strxfrm_l
eval $inlibc

: see if symlink exists
set symlink d_symlink
eval $inlibc
Expand Down Expand Up @@ -24694,6 +24699,7 @@ d_strtoul='$d_strtoul'
d_strtoull='$d_strtoull'
d_strtouq='$d_strtouq'
d_strxfrm='$d_strxfrm'
d_strxfrm_l='$d_strxfrm_l'
d_suidsafe='$d_suidsafe'
d_symlink='$d_symlink'
d_syscall='$d_syscall'
Expand Down
1 change: 1 addition & 0 deletions Cross/config.sh-arm-linux
Expand Up @@ -582,6 +582,7 @@ d_strtoul='define'
d_strtoull='define'
d_strtouq='define'
d_strxfrm='define'
d_strxfrm_l='undef'
d_suidsafe='undef'
d_symlink='define'
d_syscall='define'
Expand Down
1 change: 1 addition & 0 deletions Cross/config.sh-arm-linux-n770
Expand Up @@ -581,6 +581,7 @@ d_strtoul='define'
d_strtoull='define'
d_strtouq='define'
d_strxfrm='define'
d_strxfrm_l='undef'
d_suidsafe='undef'
d_symlink='define'
d_syscall='define'
Expand Down
1 change: 1 addition & 0 deletions NetWare/config.wc
Expand Up @@ -572,6 +572,7 @@ d_strtoul='define'
d_strtoull='undef'
d_strtouq='undef'
d_strxfrm='define'
d_strxfrm_l='undef'
d_suidsafe='undef'
d_symlink='undef'
d_syscall='undef'
Expand Down
1 change: 1 addition & 0 deletions Porting/config.sh
Expand Up @@ -603,6 +603,7 @@ d_strtoul='define'
d_strtoull='define'
d_strtouq='define'
d_strxfrm='define'
d_strxfrm_l='undef'
d_suidsafe='undef'
d_symlink='define'
d_syscall='define'
Expand Down
17 changes: 11 additions & 6 deletions config_h.SH
Expand Up @@ -525,12 +525,6 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
*/
#$d_strtol HAS_STRTOL /**/
/* HAS_STRXFRM:
* This symbol, if defined, indicates that the strxfrm() routine is
* available to transform strings.
*/
#$d_strxfrm HAS_STRXFRM /**/
/* HAS_SYMLINK:
* This symbol, if defined, indicates that the symlink routine is available
* to create symbolic links.
Expand Down Expand Up @@ -3454,6 +3448,17 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
*/
#$d_strtouq HAS_STRTOUQ /**/
/* HAS_STRXFRM:
* This symbol, if defined, indicates that the strxfrm() routine is
* available to transform strings.
*/
/* HAS_STRXFRM_L:
* This symbol, if defined, indicates that the strxfrm_l() routine is
* available to transform strings.
*/
#$d_strxfrm HAS_STRXFRM /**/
#$d_strxfrm_l HAS_STRXFRM_L /**/
/* HAS_SYSCALL_PROTO:
* This symbol, if defined, indicates that the system provides
* a prototype for the syscall() function. Otherwise, it is up
Expand Down
2 changes: 2 additions & 0 deletions configure.com
Expand Up @@ -5618,6 +5618,7 @@ $ d_stdio_ptr_lval="define"
$ d_stdstdio="define"
$ d_strcoll="define"
$ d_strxfrm="define"
$ d_strxfrm_l="undef"
$ i_langinfo="define"
$ i_locale="define"
$ d_stdio_ptr_lval_sets_cnt="undef"
Expand Down Expand Up @@ -6571,6 +6572,7 @@ $ WC "d_strtoul='define'"
$ WC "d_strtoull='" + d_strtoull + "'"
$ WC "d_strtouq='" + d_strtouq + "'"
$ WC "d_strxfrm='" + d_strxfrm + "'"
$ WC "d_strxfrm_l='" + d_strxfrm_l + "'"
$ WC "d_suidsafe='undef'"
$ WC "d_symlink='" + d_symlink + "'"
$ WC "d_syscall='undef'"
Expand Down
3 changes: 1 addition & 2 deletions metaconfig.h
Expand Up @@ -13,7 +13,6 @@
* Symbols should only be here temporarily. Once they are actually used,
* they should be removed from here.
*
* HAS_WCRTOMB
* GETENV_PRESERVES_OTHER_THREAD
* HAS_STRXFRM_L
*
*/
1 change: 1 addition & 0 deletions plan9/config_sh.sample
Expand Up @@ -582,6 +582,7 @@ d_strtoul='define'
d_strtoull='undef'
d_strtouq='undef'
d_strxfrm='define'
d_strxfrm_l='undef'
d_suidsafe='undef'
d_symlink='define'
d_syscall='undef'
Expand Down
21 changes: 13 additions & 8 deletions uconfig.h
Expand Up @@ -490,12 +490,6 @@
*/
#define HAS_STRTOL /**/

/* HAS_STRXFRM:
* This symbol, if defined, indicates that the strxfrm() routine is
* available to transform strings.
*/
/*#define HAS_STRXFRM / **/

/* HAS_SYMLINK:
* This symbol, if defined, indicates that the symlink routine is available
* to create symbolic links.
Expand Down Expand Up @@ -3419,6 +3413,17 @@
*/
/*#define HAS_STRTOUQ / **/

/* HAS_STRXFRM:
* This symbol, if defined, indicates that the strxfrm() routine is
* available to transform strings.
*/
/* HAS_STRXFRM_L:
* This symbol, if defined, indicates that the strxfrm_l() routine is
* available to transform strings.
*/
/*#define HAS_STRXFRM / **/
/*#define HAS_STRXFRM_L / **/

/* HAS_SYSCALL_PROTO:
* This symbol, if defined, indicates that the system provides
* a prototype for the syscall() function. Otherwise, it is up
Expand Down Expand Up @@ -5282,6 +5287,6 @@
#endif

/* Generated from:
* 6edd641b187b02d0daa8cb53f5d22f2dcca115a0d3e744f51b0292d2db484ca5 config_h.SH
* b53784d20c0f250807f47a3130cdc8e01a92da948e6747af87ebc24f11904722 uconfig.sh
* b6be0cdf42911de6ab39996d890a9de03291cff8c16c83228fc551310ef299f9 config_h.SH
* 3702f490ec6fcb2ef710170631dc4b16653519d6b6b25ee7e6a3537da8d16037 uconfig.sh
* ex: set ro: */
1 change: 1 addition & 0 deletions uconfig.sh
Expand Up @@ -522,6 +522,7 @@ d_strtoul='define'
d_strtoull='undef'
d_strtouq='undef'
d_strxfrm='undef'
d_strxfrm_l='undef'
d_suidsafe='undef'
d_symlink='undef'
d_syscall='undef'
Expand Down
1 change: 1 addition & 0 deletions uconfig64.sh
Expand Up @@ -522,6 +522,7 @@ d_strtoul='define'
d_strtoull='undef'
d_strtouq='undef'
d_strxfrm='undef'
d_strxfrm_l='undef'
d_suidsafe='undef'
d_symlink='undef'
d_syscall='undef'
Expand Down
1 change: 1 addition & 0 deletions win32/config.gc
Expand Up @@ -571,6 +571,7 @@ d_strtoul='define'
d_strtoull='undef'
d_strtouq='undef'
d_strxfrm='define'
d_strxfrm_l='undef'
d_suidsafe='undef'
d_symlink='define'
d_syscall='undef'
Expand Down
1 change: 1 addition & 0 deletions win32/config.vc
Expand Up @@ -571,6 +571,7 @@ d_strtoul='define'
d_strtoull='undef'
d_strtouq='undef'
d_strxfrm='define'
d_strxfrm_l='undef'
d_suidsafe='undef'
d_symlink='define'
d_syscall='undef'
Expand Down

0 comments on commit 0336a25

Please sign in to comment.