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

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

index 7803ce823c18bcd86b5dfd9736a8fc38a213390c..9a726228cbb4f3b42c8810fbc40bc8881ccffe70 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2024-12-27  Bruno Haible  <bruno@clisp.org>
+
+       Rename module sys_shm to sys_shm-h.
+       * modules/sys_shm-h: Renamed from modules/sys_shm.
+       * doc/posix-headers/sys_shm.texi: Update.
+       * modules/sys_shm: New file.
+
 2024-12-27  Bruno Haible  <bruno@clisp.org>
 
        Rename module sys_sem to sys_sem-h.
index 74b30cce82add940827237a8305323a3438ff558..c7cee4205c1d6d2036a7aaea9807ae376a730d67 100644 (file)
@@ -3,8 +3,8 @@
 
 POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/sys_shm.h.html}
 
-Gnulib module: sys_shm
-@mindex sys_shm
+Gnulib module: sys_shm-h
+@mindex sys_shm-h
 
 Portability problems fixed by Gnulib:
 @itemize
index fd2a5fb196a807da7545bd9cff7a3d7ab977fe35..d0d96174ae69866de3998dbc822e2b7744e663a6 100644 (file)
@@ -1,40 +1,20 @@
 Description:
 <sys/shm.h> with extra checks.
 
+Status:
+deprecated
+
+Notice:
+This module is deprecated. Use the module 'sys_shm-h' instead.
+
 Files:
-lib/sys_shm.in.h
-m4/sys_shm_h.m4
 
 Depends-on:
-gen-header
-include_next
+sys_shm-h
 
 configure.ac:
-gl_SYS_SHM_H
-gl_CONDITIONAL_HEADER([sys/shm.h])
-AC_PROG_MKDIR_P
 
 Makefile.am:
-BUILT_SOURCES += $(SYS_SHM_H)
-
-# We need the following in order to create <sys/shm.h> when desired.
-if GL_GENERATE_SYS_SHM_H
-sys/shm.h: sys_shm.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_SHM_H''@|$(NEXT_SYS_SHM_H)|g' \
-             $(srcdir)/sys_shm.in.h > $@-t
-       $(AM_V_at)mv $@-t $@
-else
-sys/shm.h: $(top_builddir)/config.status
-       rm -f $@
-endif
-MOSTLYCLEANFILES += sys/shm.h sys/shm.h-t
-MOSTLYCLEANDIRS += sys
 
 Include:
 #if HAVE_SYS_SHM_H
@@ -45,4 +25,3 @@ License:
 LGPLv2+
 
 Maintainer:
-all
diff --git a/modules/sys_shm-h b/modules/sys_shm-h
new file mode 100644 (file)
index 0000000..fd2a5fb
--- /dev/null
@@ -0,0 +1,48 @@
+Description:
+<sys/shm.h> with extra checks.
+
+Files:
+lib/sys_shm.in.h
+m4/sys_shm_h.m4
+
+Depends-on:
+gen-header
+include_next
+
+configure.ac:
+gl_SYS_SHM_H
+gl_CONDITIONAL_HEADER([sys/shm.h])
+AC_PROG_MKDIR_P
+
+Makefile.am:
+BUILT_SOURCES += $(SYS_SHM_H)
+
+# We need the following in order to create <sys/shm.h> when desired.
+if GL_GENERATE_SYS_SHM_H
+sys/shm.h: sys_shm.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_SHM_H''@|$(NEXT_SYS_SHM_H)|g' \
+             $(srcdir)/sys_shm.in.h > $@-t
+       $(AM_V_at)mv $@-t $@
+else
+sys/shm.h: $(top_builddir)/config.status
+       rm -f $@
+endif
+MOSTLYCLEANFILES += sys/shm.h sys/shm.h-t
+MOSTLYCLEANDIRS += sys
+
+Include:
+#if HAVE_SYS_SHM_H
+<sys/shm.h>
+#endif
+
+License:
+LGPLv2+
+
+Maintainer:
+all