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

ChangeLog
doc/posix-headers/sys_msg.texi
modules/sys_msg
modules/sys_msg-h [new file with mode: 0644]

index ec7e2c105f927b84f5f7d514ac6f38df58b6cb66..81bc906b37b34f09dab5c93167ecf8b84f84f2ee 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2024-12-27  Bruno Haible  <bruno@clisp.org>
+
+       Rename module sys_msg to sys_msg-h.
+       * modules/sys_msg-h: Renamed from modules/sys_msg.
+       * doc/posix-headers/sys_msg.texi: Update.
+       * modules/sys_msg: New file.
+
 2024-12-27  Bruno Haible  <bruno@clisp.org>
 
        Rename module sys_ioctl to sys_ioctl-h.
index e4a9f711afa4f99d5cd718d16e9596a098593b21..daa62738607c98253331cc8d853704be6ac1d323 100644 (file)
@@ -3,8 +3,8 @@
 
 POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/sys_msg.h.html}
 
-Gnulib module: sys_msg
-@mindex sys_msg
+Gnulib module: sys_msg-h
+@mindex sys_msg-h
 
 Portability problems fixed by Gnulib:
 @itemize
index 6b059cfc49fafffaba1d2f844b15a7863b4065df..fa29a1eeb3b6c4325068f4d1c85da64aee760b69 100644 (file)
@@ -1,40 +1,20 @@
 Description:
 <sys/msg.h> with extra checks.
 
+Status:
+deprecated
+
+Notice:
+This module is deprecated. Use the module 'sys_msg-h' instead.
+
 Files:
-lib/sys_msg.in.h
-m4/sys_msg_h.m4
 
 Depends-on:
-gen-header
-include_next
+sys_msg-h
 
 configure.ac:
-gl_SYS_MSG_H
-gl_CONDITIONAL_HEADER([sys/msg.h])
-AC_PROG_MKDIR_P
 
 Makefile.am:
-BUILT_SOURCES += $(SYS_MSG_H)
-
-# We need the following in order to create <sys/msg.h> when desired.
-if GL_GENERATE_SYS_MSG_H
-sys/msg.h: sys_msg.in.h $(top_builddir)/config.status
-       $(AM_V_GEN)$(MKDIR_P) '%reldir%/sys'
-       $(AM_V_at)$(SED_HEADER_STDOUT) \
-             -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|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_SYS_MSG_H''@|$(NEXT_SYS_MSG_H)|g' \
-             $(srcdir)/sys_msg.in.h > $@-t
-       $(AM_V_at)mv $@-t $@
-else
-sys/msg.h: $(top_builddir)/config.status
-       rm -f $@
-endif
-MOSTLYCLEANFILES += sys/msg.h sys/msg.h-t
-MOSTLYCLEANDIRS += sys
 
 Include:
 #if HAVE_SYS_MSG_H
@@ -45,4 +25,3 @@ License:
 LGPLv2+
 
 Maintainer:
-all
diff --git a/modules/sys_msg-h b/modules/sys_msg-h
new file mode 100644 (file)
index 0000000..6b059cf
--- /dev/null
@@ -0,0 +1,48 @@
+Description:
+<sys/msg.h> with extra checks.
+
+Files:
+lib/sys_msg.in.h
+m4/sys_msg_h.m4
+
+Depends-on:
+gen-header
+include_next
+
+configure.ac:
+gl_SYS_MSG_H
+gl_CONDITIONAL_HEADER([sys/msg.h])
+AC_PROG_MKDIR_P
+
+Makefile.am:
+BUILT_SOURCES += $(SYS_MSG_H)
+
+# We need the following in order to create <sys/msg.h> when desired.
+if GL_GENERATE_SYS_MSG_H
+sys/msg.h: sys_msg.in.h $(top_builddir)/config.status
+       $(AM_V_GEN)$(MKDIR_P) '%reldir%/sys'
+       $(AM_V_at)$(SED_HEADER_STDOUT) \
+             -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|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_SYS_MSG_H''@|$(NEXT_SYS_MSG_H)|g' \
+             $(srcdir)/sys_msg.in.h > $@-t
+       $(AM_V_at)mv $@-t $@
+else
+sys/msg.h: $(top_builddir)/config.status
+       rm -f $@
+endif
+MOSTLYCLEANFILES += sys/msg.h sys/msg.h-t
+MOSTLYCLEANDIRS += sys
+
+Include:
+#if HAVE_SYS_MSG_H
+<sys/msg.h>
+#endif
+
+License:
+LGPLv2+
+
+Maintainer:
+all