]> Savannah Git Hosting - gnulib.git/commitdiff
Rename module unitypes to unitypes-h.
authorBruno Haible <bruno@clisp.org>
Fri, 27 Dec 2024 22:43:23 +0000 (23:43 +0100)
committerBruno Haible <bruno@clisp.org>
Fri, 27 Dec 2024 22:43:23 +0000 (23:43 +0100)
* modules/unitypes-h: Renamed from modules/unitypes.
* doc/libunistring.texi: Update.
* modules/* (Depends-on): Update.
* modules/unitypes: New file.

22 files changed:
ChangeLog
doc/libunistring.texi
modules/unicase/base
modules/unicase/cased
modules/unicase/ignorable
modules/unicase/u16-is-invariant
modules/unicase/u32-is-invariant
modules/unicase/u8-is-invariant
modules/uniconv/base
modules/unictype/base
modules/unigbrk/base
modules/unilbrk/base
modules/uniname/base
modules/uninorm/base
modules/uninorm/decompose-internal
modules/unistdio/base
modules/unistdio/u-printf-args
modules/unistr/base
modules/unitypes
modules/unitypes-h [new file with mode: 0644]
modules/uniwbrk/base
modules/uniwidth/base

index d672709aa8d7496f4966b2dec24c21ecf69ef3f9..b6ab442adf2f10140384926d23c1ec357f1c3572 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2024-12-27  Bruno Haible  <bruno@clisp.org>
+
+       Rename module unitypes to unitypes-h.
+       * modules/unitypes-h: Renamed from modules/unitypes.
+       * doc/libunistring.texi: Update.
+       * modules/* (Depends-on): Update.
+       * modules/unitypes: New file.
+
 2024-12-27  Bruno Haible  <bruno@clisp.org>
 
        Rename module unistd to unistd-h.
index 226ebb2d1674d5b19272124041e434db41f5c2ae..8984a69a613ef7f0decca6d79941e882a7b4f846 100644 (file)
@@ -83,8 +83,8 @@ GNU libunistring documentation
 @node <unitypes.h> modules
 @subsubsection Declarations in <unitypes.h>
 
-@mindex unitypes
-The @code{<unitypes.h>} header file is provided by the module @code{unitypes}.
+@mindex unitypes-h
+The @code{<unitypes.h>} header file is provided by the module @code{unitypes-h}.
 
 @node <unistr.h> modules
 @subsubsection Declarations in <unistr.h>
index 230dbe64280d4c36be03e2987ecf7153cee36568..0f41ce781cf70663ca8b1c655ae905a562a1df1a 100644 (file)
@@ -8,7 +8,7 @@ m4/unicase_h.m4
 
 Depends-on:
 gen-header
-unitypes
+unitypes-h
 uninorm/base
 stdbool-h
 
index d30b7e70fa41a87634ca5d1398d6bae7ef42abb6..820b77cf9cead5a42690f5073e58a058a1609f2d 100644 (file)
@@ -8,7 +8,7 @@ lib/unicase/cased.h
 lib/unictype/bitmap.h
 
 Depends-on:
-unitypes
+unitypes-h
 stdbool-h
 
 configure.ac:
index 4a0b29cddfa261bbfe521350b2eb19f8acaa5689..f43556d2bd1744117cf05be946ca7e30b1a6911d 100644 (file)
@@ -8,7 +8,7 @@ lib/unicase/ignorable.h
 lib/unictype/bitmap.h
 
 Depends-on:
-unitypes
+unitypes-h
 stdbool-h
 
 configure.ac:
index b4cf576b636bb3c9f7bb55818102d5e3eb851299..872c710b7ba9b8831c6e941a55f5c4793f3ebc0b 100644 (file)
@@ -7,7 +7,7 @@ lib/unicase/invariant.h
 lib/unicase/u-is-invariant.h
 
 Depends-on:
-unitypes
+unitypes-h
 uninorm/base
 uninorm/u16-normalize
 uninorm/nfd
index 4befb5ceecfa7f7f7137b627824794fbdf4b73f8..6a6467ba16855de4e9b3e68ecfde27f0e8c6d93d 100644 (file)
@@ -7,7 +7,7 @@ lib/unicase/invariant.h
 lib/unicase/u-is-invariant.h
 
 Depends-on:
-unitypes
+unitypes-h
 uninorm/base
 uninorm/u32-normalize
 uninorm/nfd
index 6cdd4639f2ce789a6f42927c05e5c0162eb69020..87f6909a78f2fb769a1715cfa2f7e3762133657e 100644 (file)
@@ -7,7 +7,7 @@ lib/unicase/invariant.h
 lib/unicase/u-is-invariant.h
 
 Depends-on:
-unitypes
+unitypes-h
 uninorm/base
 uninorm/u8-normalize
 uninorm/nfd
index a2038a6a7b35cd6744523340877df492a980fdcd..00342935defa5e7c868a5fc2d913341eefe5e1cf 100644 (file)
@@ -11,7 +11,7 @@ m4/libunistring-base.m4
 Depends-on:
 gen-header
 stdbool-h
-unitypes
+unitypes-h
 
 configure.ac:
 gl_LIBUNISTRING_LIBHEADER([0.9.11], [uniconv.h])
index a060ab392a2679f003211674918afaec5f626e72..5de097478d61b043c20628318ea13afb5b6d7864 100644 (file)
@@ -8,7 +8,7 @@ m4/unictype_h.m4
 
 Depends-on:
 gen-header
-unitypes
+unitypes-h
 stdbool-h
 
 configure.ac:
index 30dff8f04b30e223a423051c8012735ab291ebfa..08a82e90a963754f078171d099493e42780f4b3f 100644 (file)
@@ -7,7 +7,7 @@ m4/libunistring-base.m4
 
 Depends-on:
 gen-header
-unitypes
+unitypes-h
 stdbool-h
 
 configure.ac:
index 94b44719195c71666870523e8b239d51706d2af3..1d1dec01067719268698aaf720b13cc32d3bd081 100644 (file)
@@ -7,7 +7,7 @@ m4/libunistring-base.m4
 
 Depends-on:
 gen-header
-unitypes
+unitypes-h
 localcharset
 stdbool-h
 
index f6bac4ebdc468b631cb6bf0445997c82045eec21..9e7979e581564cf8ce3748a2c5315cd2943a7d99 100644 (file)
@@ -7,7 +7,7 @@ m4/libunistring-base.m4
 
 Depends-on:
 gen-header
-unitypes
+unitypes-h
 
 configure.ac:
 gl_LIBUNISTRING_LIBHEADER([0.9.5], [uniname.h])
index d5b885482845b0a7c4edcc647451b4626c285fa6..e2537a7fe2c9c09d76af3837bf5f1d9d7037dcd2 100644 (file)
@@ -8,7 +8,7 @@ m4/uninorm_h.m4
 
 Depends-on:
 gen-header
-unitypes
+unitypes-h
 
 configure.ac:
 gl_LIBUNISTRING_LIBHEADER([1.2], [uninorm.h])
index 28cf341e4ff6e8d8d25b0f4d5b28f316cf948c34..378ceb67c073318b5b1b9540746690feb43d93d2 100644 (file)
@@ -6,7 +6,7 @@ lib/uninorm/decompose-internal.h
 lib/uninorm/decompose-internal.c
 
 Depends-on:
-unitypes
+unitypes-h
 array-mergesort
 
 configure.ac:
index ee27aa3ca945247e688808c714fd2ce2979f2b62..16ef50f2c6534dcd78cb955a06ea127554749a21 100644 (file)
@@ -7,7 +7,7 @@ m4/libunistring-base.m4
 
 Depends-on:
 gen-header
-unitypes
+unitypes-h
 
 configure.ac:
 gl_LIBUNISTRING_LIBHEADER([0.9.11], [unistdio.h])
index 04ad8d15dc952988e841a6a4b1cdfc2d449b4118..efed3d7a2fd01a585b2f00bc1721c8f0cadac818 100644 (file)
@@ -14,7 +14,7 @@ m4/inttypes_h.m4
 Depends-on:
 stdint-h
 limits-h
-unitypes
+unitypes-h
 wchar
 
 configure.ac:
index 6aa25b14f7e06135941cc8b16fd1069b7b74b365..ba45a898faad95b34d9dc7bdfd03b13b847fd452 100644 (file)
@@ -7,7 +7,7 @@ m4/libunistring-base.m4
 
 Depends-on:
 gen-header
-unitypes
+unitypes-h
 stdbool-h
 inline
 
index faf0d89b6cb61b3a13d33f17acc384f6e8017fa0..65073ea12d2cada8375c870f4f83a278c3fbd6ef 100644 (file)
@@ -1,42 +1,20 @@
 Description:
 Base types for Unicode string functions.
 
+Status:
+deprecated
+
+Notice:
+This module is deprecated. Use the module 'unitypes-h' instead.
+
 Files:
-lib/unitypes.in.h
-m4/libunistring-base.m4
 
 Depends-on:
-gen-header
-stdint-h
+unitypes-h
 
 configure.ac:
-gl_LIBUNISTRING_LIBHEADER([0.9.11], [unitypes.h])
-AC_PROG_MKDIR_P
-
-AH_VERBATIM([unitypes_restrict], [
-/* This definition is a duplicate of the one in unitypes.h.
-   It is here so that we can cope with an older version of unitypes.h
-   that does not contain this definition and that is pre-installed among
-   the public header files.  */
-# if defined __restrict \
-     || 2 < __GNUC__ + (95 <= __GNUC_MINOR__) \
-     || __clang_major__ >= 3
-#  define _UC_RESTRICT __restrict
-# elif 199901L <= __STDC_VERSION__ || defined restrict
-#  define _UC_RESTRICT restrict
-# else
-#  define _UC_RESTRICT
-# endif
-])
 
 Makefile.am:
-BUILT_SOURCES += $(LIBUNISTRING_UNITYPES_H)
-
-unitypes.h: unitypes.in.h
-@NMD@  $(AM_V_GEN)$(MKDIR_P) '%reldir%'
-       $(gl_V_at)$(SED_HEADER_TO_AT_t) $(srcdir)/unitypes.in.h
-       $(AM_V_at)mv $@-t $@
-MOSTLYCLEANFILES += unitypes.h unitypes.h-t
 
 Include:
 "unitypes.h"
@@ -45,4 +23,3 @@ License:
 LGPLv2+
 
 Maintainer:
-all
diff --git a/modules/unitypes-h b/modules/unitypes-h
new file mode 100644 (file)
index 0000000..faf0d89
--- /dev/null
@@ -0,0 +1,48 @@
+Description:
+Base types for Unicode string functions.
+
+Files:
+lib/unitypes.in.h
+m4/libunistring-base.m4
+
+Depends-on:
+gen-header
+stdint-h
+
+configure.ac:
+gl_LIBUNISTRING_LIBHEADER([0.9.11], [unitypes.h])
+AC_PROG_MKDIR_P
+
+AH_VERBATIM([unitypes_restrict], [
+/* This definition is a duplicate of the one in unitypes.h.
+   It is here so that we can cope with an older version of unitypes.h
+   that does not contain this definition and that is pre-installed among
+   the public header files.  */
+# if defined __restrict \
+     || 2 < __GNUC__ + (95 <= __GNUC_MINOR__) \
+     || __clang_major__ >= 3
+#  define _UC_RESTRICT __restrict
+# elif 199901L <= __STDC_VERSION__ || defined restrict
+#  define _UC_RESTRICT restrict
+# else
+#  define _UC_RESTRICT
+# endif
+])
+
+Makefile.am:
+BUILT_SOURCES += $(LIBUNISTRING_UNITYPES_H)
+
+unitypes.h: unitypes.in.h
+@NMD@  $(AM_V_GEN)$(MKDIR_P) '%reldir%'
+       $(gl_V_at)$(SED_HEADER_TO_AT_t) $(srcdir)/unitypes.in.h
+       $(AM_V_at)mv $@-t $@
+MOSTLYCLEANFILES += unitypes.h unitypes.h-t
+
+Include:
+"unitypes.h"
+
+License:
+LGPLv2+
+
+Maintainer:
+all
index 556bb002cc7655fa76ff77a744a7625b790b6187..48b9f94708dbc7b3551bbb92eb2908eb3fc666a6 100644 (file)
@@ -7,7 +7,7 @@ m4/libunistring-base.m4
 
 Depends-on:
 gen-header
-unitypes
+unitypes-h
 
 configure.ac:
 gl_LIBUNISTRING_LIBHEADER([0.9.11], [uniwbrk.h])
index 8d8615ff22e9d0ec7e66afd6b5bea25f898458b3..76ac75c37f8fda676a81ed7c9638e764b3b17e5a 100644 (file)
@@ -8,7 +8,7 @@ m4/libunistring-base.m4
 
 Depends-on:
 gen-header
-unitypes
+unitypes-h
 
 configure.ac:
 gl_LIBUNISTRING_LIBHEADER([0.9.11], [uniwidth.h])