* modules/langinfo-h: Renamed from modules/langinfo.
* modules/langinfo-h-tests: Renamed from modules/langinfo-tests.
* modules/langinfo-h-c++-tests: Renamed from modules/langinfo-c++-tests.
* tests/test-langinfo-h.c: Renamed from tests/test-langinfo.c.
* tests/test-langinfo-h-c++.cc: Renamed from tests/test-langinfo-c++.cc.
* doc/posix-headers/langinfo.texi: Update.
* modules/* (Depends-on): Update.
* modules/langinfo: New file.
+2024-12-27 Bruno Haible <bruno@clisp.org>
+
+ Rename module langinfo to langinfo-h.
+ * modules/langinfo-h: Renamed from modules/langinfo.
+ * modules/langinfo-h-tests: Renamed from modules/langinfo-tests.
+ * modules/langinfo-h-c++-tests: Renamed from modules/langinfo-c++-tests.
+ * tests/test-langinfo-h.c: Renamed from tests/test-langinfo.c.
+ * tests/test-langinfo-h-c++.cc: Renamed from tests/test-langinfo-c++.cc.
+ * doc/posix-headers/langinfo.texi: Update.
+ * modules/* (Depends-on): Update.
+ * modules/langinfo: New file.
+
2024-12-27 Bruno Haible <bruno@clisp.org>
Rename module inttypes to inttypes-h.
POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/langinfo.h.html}
-Gnulib module: langinfo
-@mindex langinfo
+Gnulib module: langinfo-h
+@mindex langinfo-h
Portability problems fixed by Gnulib:
@itemize
m4/intl-thread-locale.m4
Depends-on:
-langinfo
+langinfo-h
configure.ac:
AC_CHECK_FUNCS_ONCE([strfmon_l snprintf_l])
Description:
A GNU-like <langinfo.h>.
+Status:
+deprecated
+
+Notice:
+This module is deprecated. Use the module 'langinfo-h' instead.
+
Files:
-lib/langinfo.in.h
-m4/langinfo_h.m4
Depends-on:
-extensions
-gen-header
-include_next
-snippet/c++defs
-snippet/warn-on-use
+langinfo-h
configure.ac:
-gl_LANGINFO_H
-gl_LANGINFO_H_REQUIRE_DEFAULTS
-AC_PROG_MKDIR_P
Makefile.am:
-BUILT_SOURCES += langinfo.h
-
-# We need the following in order to create an empty placeholder for
-# <langinfo.h> when the system doesn't have one.
-langinfo.h: langinfo.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H)
-@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
- $(gl_V_at)$(SED_HEADER_STDOUT) \
- -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
- -e 's|@''HAVE_LANGINFO_H''@|$(HAVE_LANGINFO_H)|g' \
- -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
- -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
- -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
- -e 's|@''NEXT_LANGINFO_H''@|$(NEXT_LANGINFO_H)|g' \
- -e 's/@''GNULIB_NL_LANGINFO''@/$(GNULIB_NL_LANGINFO)/g' \
- -e 's|@''HAVE_LANGINFO_CODESET''@|$(HAVE_LANGINFO_CODESET)|g' \
- -e 's|@''HAVE_LANGINFO_T_FMT_AMPM''@|$(HAVE_LANGINFO_T_FMT_AMPM)|g' \
- -e 's|@''HAVE_LANGINFO_ALTMON''@|$(HAVE_LANGINFO_ALTMON)|g' \
- -e 's|@''HAVE_LANGINFO_ERA''@|$(HAVE_LANGINFO_ERA)|g' \
- -e 's|@''HAVE_LANGINFO_YESEXPR''@|$(HAVE_LANGINFO_YESEXPR)|g' \
- -e 's|@''HAVE_NL_LANGINFO''@|$(HAVE_NL_LANGINFO)|g' \
- -e 's|@''REPLACE_NL_LANGINFO''@|$(REPLACE_NL_LANGINFO)|g' \
- -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
- -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
- $(srcdir)/langinfo.in.h > $@-t
- $(AM_V_at)mv $@-t $@
-MOSTLYCLEANFILES += langinfo.h langinfo.h-t
Include:
<langinfo.h>
LGPLv2+
Maintainer:
-all
+++ /dev/null
-Files:
-tests/test-langinfo-c++.cc
-tests/signature.h
-
-Status:
-c++-test
-
-Depends-on:
-ansi-c++-opt
-
-configure.ac:
-
-Makefile.am:
-if ANSICXX
-TESTS += test-langinfo-c++
-check_PROGRAMS += test-langinfo-c++
-test_langinfo_c___SOURCES = test-langinfo-c++.cc
-endif
--- /dev/null
+Description:
+A GNU-like <langinfo.h>.
+
+Files:
+lib/langinfo.in.h
+m4/langinfo_h.m4
+
+Depends-on:
+extensions
+gen-header
+include_next
+snippet/c++defs
+snippet/warn-on-use
+
+configure.ac:
+gl_LANGINFO_H
+gl_LANGINFO_H_REQUIRE_DEFAULTS
+AC_PROG_MKDIR_P
+
+Makefile.am:
+BUILT_SOURCES += langinfo.h
+
+# We need the following in order to create an empty placeholder for
+# <langinfo.h> when the system doesn't have one.
+langinfo.h: langinfo.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H)
+@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
+ $(gl_V_at)$(SED_HEADER_STDOUT) \
+ -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
+ -e 's|@''HAVE_LANGINFO_H''@|$(HAVE_LANGINFO_H)|g' \
+ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
+ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
+ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
+ -e 's|@''NEXT_LANGINFO_H''@|$(NEXT_LANGINFO_H)|g' \
+ -e 's/@''GNULIB_NL_LANGINFO''@/$(GNULIB_NL_LANGINFO)/g' \
+ -e 's|@''HAVE_LANGINFO_CODESET''@|$(HAVE_LANGINFO_CODESET)|g' \
+ -e 's|@''HAVE_LANGINFO_T_FMT_AMPM''@|$(HAVE_LANGINFO_T_FMT_AMPM)|g' \
+ -e 's|@''HAVE_LANGINFO_ALTMON''@|$(HAVE_LANGINFO_ALTMON)|g' \
+ -e 's|@''HAVE_LANGINFO_ERA''@|$(HAVE_LANGINFO_ERA)|g' \
+ -e 's|@''HAVE_LANGINFO_YESEXPR''@|$(HAVE_LANGINFO_YESEXPR)|g' \
+ -e 's|@''HAVE_NL_LANGINFO''@|$(HAVE_NL_LANGINFO)|g' \
+ -e 's|@''REPLACE_NL_LANGINFO''@|$(REPLACE_NL_LANGINFO)|g' \
+ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
+ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
+ $(srcdir)/langinfo.in.h > $@-t
+ $(AM_V_at)mv $@-t $@
+MOSTLYCLEANFILES += langinfo.h langinfo.h-t
+
+Include:
+<langinfo.h>
+
+License:
+LGPLv2+
+
+Maintainer:
+all
--- /dev/null
+Files:
+tests/test-langinfo-h-c++.cc
+tests/signature.h
+
+Status:
+c++-test
+
+Depends-on:
+ansi-c++-opt
+
+configure.ac:
+
+Makefile.am:
+if ANSICXX
+TESTS += test-langinfo-h-c++
+check_PROGRAMS += test-langinfo-h-c++
+test_langinfo_h_c___SOURCES = test-langinfo-h-c++.cc
+endif
--- /dev/null
+Files:
+tests/test-langinfo-h.c
+
+Depends-on:
+langinfo-h-c++-tests
+
+configure.ac:
+
+Makefile.am:
+TESTS += test-langinfo-h
+check_PROGRAMS += test-langinfo-h
+++ /dev/null
-Files:
-tests/test-langinfo.c
-
-Depends-on:
-langinfo-c++-tests
-
-configure.ac:
-
-Makefile.am:
-TESTS += test-langinfo
-check_PROGRAMS += test-langinfo
free-posix
strdup
lock
-langinfo
+langinfo-h
setlocale-null
setlocale-null-unlocked
thread-optim
m4/visibility.m4
Depends-on:
-langinfo
+langinfo-h
localeconv [test $HAVE_NL_LANGINFO = 0 || test $REPLACE_NL_LANGINFO = 1]
setlocale-null [test $HAVE_NL_LANGINFO = 0 || test $HAVE_LANGINFO_CODESET = 0]
glob-h
iconv-h
inttypes-h-incomplete
-langinfo
+langinfo-h
locale
malloc-h
math
gnulib-i18n [test $ac_use_included_regex = yes]
intprops [test $ac_use_included_regex = yes]
iswctype [test $ac_use_included_regex = yes]
-langinfo [test $ac_use_included_regex = yes]
+langinfo-h [test $ac_use_included_regex = yes]
libc-config [test $ac_use_included_regex = yes]
limits-h [test $ac_use_included_regex = yes]
lock [test $ac_use_included_regex = yes]