summaryrefslogtreecommitdiffstats
path: root/gl/m4/gnulib-comp.m4
diff options
context:
space:
mode:
Diffstat (limited to 'gl/m4/gnulib-comp.m4')
-rw-r--r--gl/m4/gnulib-comp.m471
1 files changed, 40 insertions, 31 deletions
diff --git a/gl/m4/gnulib-comp.m4 b/gl/m4/gnulib-comp.m4
index 50e98454..cdd46759 100644
--- a/gl/m4/gnulib-comp.m4
+++ b/gl/m4/gnulib-comp.m4
@@ -1,5 +1,5 @@
1# DO NOT EDIT! GENERATED AUTOMATICALLY! 1# DO NOT EDIT! GENERATED AUTOMATICALLY!
2# Copyright (C) 2002-2025 Free Software Foundation, Inc. 2# Copyright (C) 2002-2026 Free Software Foundation, Inc.
3# 3#
4# This file is free software; you can redistribute it and/or modify 4# This file is free software; you can redistribute it and/or modify
5# it under the terms of the GNU General Public License as published by 5# it under the terms of the GNU General Public License as published by
@@ -209,6 +209,7 @@ AC_DEFUN([gl_EARLY],
209 # Code from module stdint-h: 209 # Code from module stdint-h:
210 # Code from module stdio-h: 210 # Code from module stdio-h:
211 gl_STDIO_H_EARLY 211 gl_STDIO_H_EARLY
212 # Code from module stdio-windows:
212 # Code from module stdlib-h: 213 # Code from module stdlib-h:
213 # Code from module strcase: 214 # Code from module strcase:
214 # Code from module strcasecmp: 215 # Code from module strcasecmp:
@@ -218,6 +219,7 @@ AC_DEFUN([gl_EARLY],
218 # Code from module strerror: 219 # Code from module strerror:
219 # Code from module strerror-override: 220 # Code from module strerror-override:
220 # Code from module string-h: 221 # Code from module string-h:
222 # Code from module stringeq:
221 # Code from module strings-h: 223 # Code from module strings-h:
222 # Code from module strncasecmp: 224 # Code from module strncasecmp:
223 # Code from module strncpy: 225 # Code from module strncpy:
@@ -570,7 +572,8 @@ AC_DEFUN([gl_INIT],
570 ]) 572 ])
571 gl_UNISTD_MODULE_INDICATOR([getdtablesize]) 573 gl_UNISTD_MODULE_INDICATOR([getdtablesize])
572 gl_FUNC_GETHOSTNAME 574 gl_FUNC_GETHOSTNAME
573 gl_CONDITIONAL([GL_COND_OBJ_GETHOSTNAME], [test $HAVE_GETHOSTNAME = 0]) 575 gl_CONDITIONAL([GL_COND_OBJ_GETHOSTNAME],
576 [test $HAVE_GETHOSTNAME = 0 || test $UNISTD_H_HAVE_WINSOCK2_H = 1])
574 AM_COND_IF([GL_COND_OBJ_GETHOSTNAME], [ 577 AM_COND_IF([GL_COND_OBJ_GETHOSTNAME], [
575 gl_PREREQ_GETHOSTNAME 578 gl_PREREQ_GETHOSTNAME
576 ]) 579 ])
@@ -614,8 +617,7 @@ AC_DEFUN([gl_INIT],
614 gl_PREREQ_GETPROGNAME 617 gl_PREREQ_GETPROGNAME
615 ]) 618 ])
616 gl_STDLIB_MODULE_INDICATOR([getprogname]) 619 gl_STDLIB_MODULE_INDICATOR([getprogname])
617 AC_SUBST([LIBINTL]) 620 gl_GETTEXT_H
618 AC_SUBST([LTLIBINTL])
619 AC_PROG_MKDIR_P 621 AC_PROG_MKDIR_P
620 GNULIB_I18N 622 GNULIB_I18N
621 AC_REQUIRE([gl_FUNC_SETLOCALE_NULL]) 623 AC_REQUIRE([gl_FUNC_SETLOCALE_NULL])
@@ -884,19 +886,6 @@ AC_DEFUN([gl_INIT],
884 gl_STDIO_H 886 gl_STDIO_H
885 gl_STDIO_H_REQUIRE_DEFAULTS 887 gl_STDIO_H_REQUIRE_DEFAULTS
886 AC_PROG_MKDIR_P 888 AC_PROG_MKDIR_P
887 USES_MSVCRT=0
888 case "$host_os" in
889 mingw* | windows*)
890 AC_EGREP_CPP([Special], [
891 #ifndef _UCRT
892 Special
893 #endif
894 ],
895 [USES_MSVCRT=1])
896 ;;
897 esac
898 gl_CONDITIONAL([GL_COND_OBJ_STDIO_CONSOLESAFE], [test $USES_MSVCRT = 1])
899 AC_CHECK_FUNCS([vasprintf])
900 gl_CONDITIONAL([GL_COND_OBJ_STDIO_READ], [test $REPLACE_STDIO_READ_FUNCS = 1]) 889 gl_CONDITIONAL([GL_COND_OBJ_STDIO_READ], [test $REPLACE_STDIO_READ_FUNCS = 1])
901 gl_CONDITIONAL([GL_COND_OBJ_STDIO_WRITE], [test $REPLACE_STDIO_WRITE_FUNCS = 1]) 890 gl_CONDITIONAL([GL_COND_OBJ_STDIO_WRITE], [test $REPLACE_STDIO_WRITE_FUNCS = 1])
902 dnl No need to create extra modules for these functions. Everyone who uses 891 dnl No need to create extra modules for these functions. Everyone who uses
@@ -922,6 +911,20 @@ AC_DEFUN([gl_INIT],
922 gl_STDIO_MODULE_INDICATOR([fputs]) 911 gl_STDIO_MODULE_INDICATOR([fputs])
923 gl_STDIO_MODULE_INDICATOR([puts]) 912 gl_STDIO_MODULE_INDICATOR([puts])
924 gl_STDIO_MODULE_INDICATOR([fwrite]) 913 gl_STDIO_MODULE_INDICATOR([fwrite])
914 AC_REQUIRE([AC_CANONICAL_HOST])
915 USES_MSVCRT=0
916 case "$host_os" in
917 mingw* | windows*)
918 AC_EGREP_CPP([Special], [
919 #ifndef _UCRT
920 Special
921 #endif
922 ],
923 [USES_MSVCRT=1])
924 ;;
925 esac
926 gl_CONDITIONAL([GL_COND_OBJ_STDIO_CONSOLESAFE], [test $USES_MSVCRT = 1])
927 AC_CHECK_FUNCS([vasprintf])
925 gl_STDLIB_H 928 gl_STDLIB_H
926 gl_STDLIB_H_REQUIRE_DEFAULTS 929 gl_STDLIB_H_REQUIRE_DEFAULTS
927 AC_PROG_MKDIR_P 930 AC_PROG_MKDIR_P
@@ -957,6 +960,9 @@ AC_DEFUN([gl_INIT],
957 gl_STRING_H 960 gl_STRING_H
958 gl_STRING_H_REQUIRE_DEFAULTS 961 gl_STRING_H_REQUIRE_DEFAULTS
959 AC_PROG_MKDIR_P 962 AC_PROG_MKDIR_P
963 gl_FUNC_STREQ
964 gl_FUNC_MEMEQ
965 gl_STRING_MODULE_INDICATOR([stringeq])
960 gl_STRINGS_H 966 gl_STRINGS_H
961 gl_STRINGS_H_REQUIRE_DEFAULTS 967 gl_STRINGS_H_REQUIRE_DEFAULTS
962 AC_PROG_MKDIR_P 968 AC_PROG_MKDIR_P
@@ -1021,35 +1027,35 @@ AC_DEFUN([gl_INIT],
1021 gl_UNICASE_H 1027 gl_UNICASE_H
1022 gl_UNICASE_H_REQUIRE_DEFAULTS 1028 gl_UNICASE_H_REQUIRE_DEFAULTS
1023 AC_PROG_MKDIR_P 1029 AC_PROG_MKDIR_P
1024 gl_LIBUNISTRING_MODULE([1.3], [unicase/tolower]) 1030 gl_LIBUNISTRING_MODULE([1.4], [unicase/tolower])
1025 gl_LIBUNISTRING_LIBHEADER([1.3], [unictype.h]) 1031 gl_LIBUNISTRING_LIBHEADER([1.3], [unictype.h])
1026 gl_UNICTYPE_H 1032 gl_UNICTYPE_H
1027 gl_UNICTYPE_H_REQUIRE_DEFAULTS 1033 gl_UNICTYPE_H_REQUIRE_DEFAULTS
1028 AC_PROG_MKDIR_P 1034 AC_PROG_MKDIR_P
1029 AC_REQUIRE([AC_C_INLINE]) 1035 AC_REQUIRE([AC_C_INLINE])
1030 gl_LIBUNISTRING_MODULE([1.3], [unictype/ctype-alnum]) 1036 gl_LIBUNISTRING_MODULE([1.4], [unictype/ctype-alnum])
1031 AC_REQUIRE([AC_C_INLINE]) 1037 AC_REQUIRE([AC_C_INLINE])
1032 gl_LIBUNISTRING_MODULE([1.3], [unictype/ctype-alpha]) 1038 gl_LIBUNISTRING_MODULE([1.4], [unictype/ctype-alpha])
1033 AC_REQUIRE([AC_C_INLINE]) 1039 AC_REQUIRE([AC_C_INLINE])
1034 gl_LIBUNISTRING_MODULE([0.9.8], [unictype/ctype-blank]) 1040 gl_LIBUNISTRING_MODULE([1.4], [unictype/ctype-blank])
1035 AC_REQUIRE([AC_C_INLINE]) 1041 AC_REQUIRE([AC_C_INLINE])
1036 gl_LIBUNISTRING_MODULE([0.9.8], [unictype/ctype-cntrl]) 1042 gl_LIBUNISTRING_MODULE([1.4], [unictype/ctype-cntrl])
1037 AC_REQUIRE([AC_C_INLINE]) 1043 AC_REQUIRE([AC_C_INLINE])
1038 gl_LIBUNISTRING_MODULE([0.9.8], [unictype/ctype-digit]) 1044 gl_LIBUNISTRING_MODULE([1.4], [unictype/ctype-digit])
1039 AC_REQUIRE([AC_C_INLINE]) 1045 AC_REQUIRE([AC_C_INLINE])
1040 gl_LIBUNISTRING_MODULE([1.3], [unictype/ctype-graph]) 1046 gl_LIBUNISTRING_MODULE([1.4], [unictype/ctype-graph])
1041 AC_REQUIRE([AC_C_INLINE]) 1047 AC_REQUIRE([AC_C_INLINE])
1042 gl_LIBUNISTRING_MODULE([1.3], [unictype/ctype-lower]) 1048 gl_LIBUNISTRING_MODULE([1.4], [unictype/ctype-lower])
1043 AC_REQUIRE([AC_C_INLINE]) 1049 AC_REQUIRE([AC_C_INLINE])
1044 gl_LIBUNISTRING_MODULE([1.3], [unictype/ctype-print]) 1050 gl_LIBUNISTRING_MODULE([1.4], [unictype/ctype-print])
1045 AC_REQUIRE([AC_C_INLINE]) 1051 AC_REQUIRE([AC_C_INLINE])
1046 gl_LIBUNISTRING_MODULE([1.3], [unictype/ctype-punct]) 1052 gl_LIBUNISTRING_MODULE([1.4], [unictype/ctype-punct])
1047 AC_REQUIRE([AC_C_INLINE]) 1053 AC_REQUIRE([AC_C_INLINE])
1048 gl_LIBUNISTRING_MODULE([0.9.8], [unictype/ctype-space]) 1054 gl_LIBUNISTRING_MODULE([1.4], [unictype/ctype-space])
1049 AC_REQUIRE([AC_C_INLINE]) 1055 AC_REQUIRE([AC_C_INLINE])
1050 gl_LIBUNISTRING_MODULE([1.3], [unictype/ctype-upper]) 1056 gl_LIBUNISTRING_MODULE([1.4], [unictype/ctype-upper])
1051 AC_REQUIRE([AC_C_INLINE]) 1057 AC_REQUIRE([AC_C_INLINE])
1052 gl_LIBUNISTRING_MODULE([0.9.8], [unictype/ctype-xdigit]) 1058 gl_LIBUNISTRING_MODULE([1.4], [unictype/ctype-xdigit])
1053 gl_LIBUNISTRING_LIBHEADER([1.2], [uninorm.h]) 1059 gl_LIBUNISTRING_LIBHEADER([1.2], [uninorm.h])
1054 gl_UNINORM_H 1060 gl_UNINORM_H
1055 gl_UNINORM_H_REQUIRE_DEFAULTS 1061 gl_UNINORM_H_REQUIRE_DEFAULTS
@@ -1062,7 +1068,7 @@ AC_DEFUN([gl_INIT],
1062 gl_UNITYPES_H 1068 gl_UNITYPES_H
1063 gl_LIBUNISTRING_LIBHEADER([0.9.11], [uniwidth.h]) 1069 gl_LIBUNISTRING_LIBHEADER([0.9.11], [uniwidth.h])
1064 AC_PROG_MKDIR_P 1070 AC_PROG_MKDIR_P
1065 gl_LIBUNISTRING_MODULE([1.3], [uniwidth/width]) 1071 gl_LIBUNISTRING_MODULE([1.4], [uniwidth/width])
1066 gl_FUNC_GLIBC_UNLOCKED_IO 1072 gl_FUNC_GLIBC_UNLOCKED_IO
1067 gl_FUNC_UNSETENV 1073 gl_FUNC_UNSETENV
1068 gl_CONDITIONAL([GL_COND_OBJ_UNSETENV], 1074 gl_CONDITIONAL([GL_COND_OBJ_UNSETENV],
@@ -1535,6 +1541,7 @@ AC_DEFUN([gl_FILE_LIST], [
1535 lib/strerror-override.c 1541 lib/strerror-override.c
1536 lib/strerror-override.h 1542 lib/strerror-override.h
1537 lib/strerror.c 1543 lib/strerror.c
1544 lib/string.c
1538 lib/string.in.h 1545 lib/string.in.h
1539 lib/strings.in.h 1546 lib/strings.in.h
1540 lib/stripslash.c 1547 lib/stripslash.c
@@ -1677,6 +1684,7 @@ AC_DEFUN([gl_FILE_LIST], [
1677 m4/getloadavg.m4 1684 m4/getloadavg.m4
1678 m4/getopt.m4 1685 m4/getopt.m4
1679 m4/getprogname.m4 1686 m4/getprogname.m4
1687 m4/gettext_h.m4
1680 m4/gl-openssl.m4 1688 m4/gl-openssl.m4
1681 m4/gnulib-common.m4 1689 m4/gnulib-common.m4
1682 m4/gnulib-i18n.m4 1690 m4/gnulib-i18n.m4
@@ -1773,6 +1781,7 @@ AC_DEFUN([gl_FILE_LIST], [
1773 m4/strcasestr.m4 1781 m4/strcasestr.m4
1774 m4/strerror.m4 1782 m4/strerror.m4
1775 m4/string_h.m4 1783 m4/string_h.m4
1784 m4/stringeq.m4
1776 m4/strings_h.m4 1785 m4/strings_h.m4
1777 m4/strncasecmp.m4 1786 m4/strncasecmp.m4
1778 m4/strncpy.m4 1787 m4/strncpy.m4