* modules/netinet_in-h: Renamed from modules/netinet_in.
* modules/netinet_in-h-tests: Renamed from modules/netinet_in-tests.
* modules/netinet_in-h-c++-tests: Renamed from
modules/netinet_in-c++-tests.
* tests/test-netinet_in-h.c: Renamed from tests/test-netinet_in.c.
* tests/test-netinet_in-h-c++.cc: Renamed from
tests/test-netinet_in-c++.cc.
* doc/posix-headers/netinet_in.texi: Update.
* modules/* (Depends-on): Update.
* modules/netinet_in: New file.
+2024-12-27 Bruno Haible <bruno@clisp.org>
+
+ Rename module netinet_in to netinet_in-h.
+ * modules/netinet_in-h: Renamed from modules/netinet_in.
+ * modules/netinet_in-h-tests: Renamed from modules/netinet_in-tests.
+ * modules/netinet_in-h-c++-tests: Renamed from
+ modules/netinet_in-c++-tests.
+ * tests/test-netinet_in-h.c: Renamed from tests/test-netinet_in.c.
+ * tests/test-netinet_in-h-c++.cc: Renamed from
+ tests/test-netinet_in-c++.cc.
+ * doc/posix-headers/netinet_in.texi: Update.
+ * modules/* (Depends-on): Update.
+ * modules/netinet_in: New file.
+
2024-12-27 Bruno Haible <bruno@clisp.org>
Rename module net_if to net_if-h.
POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/netinet_in.h.html}
-Gnulib module: netinet_in
-@mindex netinet_in
+Gnulib module: netinet_in-h
+@mindex netinet_in-h
Portability problems fixed by Gnulib:
@itemize
tests/macros.h
Depends-on:
-netinet_in
+netinet_in-h
sockets
configure.ac:
Depends-on:
fcntl-h
-netinet_in
+netinet_in-h
binary-io
sockets
tests/macros.h
Depends-on:
-netinet_in
+netinet_in-h
sockets
inet_pton
tests/macros.h
Depends-on:
-netinet_in
+netinet_in-h
sockets
inet_pton
tests/macros.h
Depends-on:
-netinet_in
+netinet_in-h
sockets
configure.ac:
tests/macros.h
Depends-on:
-netinet_in
+netinet_in-h
arpa_inet-h
inet_pton
errno-h
tests/macros.h
Depends-on:
-netinet_in
+netinet_in-h
sockets
configure.ac:
extensions
sys_socket [test $HAVE_INET_NTOP = 0 || test $REPLACE_INET_NTOP = 1]
errno-h [test $HAVE_INET_NTOP = 0 || test $REPLACE_INET_NTOP = 1]
-netinet_in [test $HAVE_INET_NTOP = 0 || test $REPLACE_INET_NTOP = 1]
+netinet_in-h [test $HAVE_INET_NTOP = 0 || test $REPLACE_INET_NTOP = 1]
configure.ac:
gl_FUNC_INET_NTOP
tests/macros.h
Depends-on:
-netinet_in
+netinet_in-h
sys_socket
configure.ac:
c-ctype [test $HAVE_INET_PTON = 0 || test $REPLACE_INET_PTON = 1]
sys_socket [test $HAVE_INET_PTON = 0 || test $REPLACE_INET_PTON = 1]
errno-h [test $HAVE_INET_PTON = 0 || test $REPLACE_INET_PTON = 1]
-netinet_in [test $HAVE_INET_PTON = 0 || test $REPLACE_INET_PTON = 1]
+netinet_in-h [test $HAVE_INET_PTON = 0 || test $REPLACE_INET_PTON = 1]
configure.ac:
gl_FUNC_INET_PTON
tests/macros.h
Depends-on:
-netinet_in
+netinet_in-h
sys_socket
configure.ac:
Description:
A <netinet/in.h> for systems lacking it.
+Status:
+deprecated
+
+Notice:
+This module is deprecated. Use the module 'netinet_in-h' instead.
+
Files:
-lib/netinet_in.in.h
-m4/netinet_in_h.m4
Depends-on:
-gen-header
-include_next
-sys_socket
+netinet_in-h
configure.ac:
-gl_HEADER_NETINET_IN
-gl_CONDITIONAL_HEADER([netinet/in.h])
-AC_PROG_MKDIR_P
Makefile.am:
-BUILT_SOURCES += $(NETINET_IN_H)
-
-# We need the following in order to create <netinet/in.h> when the system
-# doesn't have one.
-if GL_GENERATE_NETINET_IN_H
-netinet/in.h: netinet_in.in.h $(top_builddir)/config.status
- $(AM_V_GEN)$(MKDIR_P) '%reldir%/netinet'
- $(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_NETINET_IN_H''@|$(NEXT_NETINET_IN_H)|g' \
- -e 's|@''HAVE_NETINET_IN_H''@|$(HAVE_NETINET_IN_H)|g' \
- $(srcdir)/netinet_in.in.h > $@-t
- $(AM_V_at)mv $@-t $@
-else
-netinet/in.h: $(top_builddir)/config.status
- rm -f $@
-endif
-MOSTLYCLEANFILES += netinet/in.h netinet/in.h-t
-MOSTLYCLEANDIRS += netinet
Include:
<netinet/in.h>
LGPLv2+
Maintainer:
-Simon Josefsson
+++ /dev/null
-Files:
-tests/test-netinet_in-c++.cc
-
-Status:
-c++-test
-
-Depends-on:
-ansi-c++-opt
-
-configure.ac:
-
-Makefile.am:
-if ANSICXX
-TESTS += test-netinet_in-c++
-check_PROGRAMS += test-netinet_in-c++
-test_netinet_in_c___SOURCES = test-netinet_in-c++.cc
-endif
--- /dev/null
+Description:
+A <netinet/in.h> for systems lacking it.
+
+Files:
+lib/netinet_in.in.h
+m4/netinet_in_h.m4
+
+Depends-on:
+gen-header
+include_next
+sys_socket
+
+configure.ac:
+gl_HEADER_NETINET_IN
+gl_CONDITIONAL_HEADER([netinet/in.h])
+AC_PROG_MKDIR_P
+
+Makefile.am:
+BUILT_SOURCES += $(NETINET_IN_H)
+
+# We need the following in order to create <netinet/in.h> when the system
+# doesn't have one.
+if GL_GENERATE_NETINET_IN_H
+netinet/in.h: netinet_in.in.h $(top_builddir)/config.status
+ $(AM_V_GEN)$(MKDIR_P) '%reldir%/netinet'
+ $(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_NETINET_IN_H''@|$(NEXT_NETINET_IN_H)|g' \
+ -e 's|@''HAVE_NETINET_IN_H''@|$(HAVE_NETINET_IN_H)|g' \
+ $(srcdir)/netinet_in.in.h > $@-t
+ $(AM_V_at)mv $@-t $@
+else
+netinet/in.h: $(top_builddir)/config.status
+ rm -f $@
+endif
+MOSTLYCLEANFILES += netinet/in.h netinet/in.h-t
+MOSTLYCLEANDIRS += netinet
+
+Include:
+<netinet/in.h>
+
+License:
+LGPLv2+
+
+Maintainer:
+Simon Josefsson
--- /dev/null
+Files:
+tests/test-netinet_in-h-c++.cc
+
+Status:
+c++-test
+
+Depends-on:
+ansi-c++-opt
+
+configure.ac:
+
+Makefile.am:
+if ANSICXX
+TESTS += test-netinet_in-h-c++
+check_PROGRAMS += test-netinet_in-h-c++
+test_netinet_in_h_c___SOURCES = test-netinet_in-h-c++.cc
+endif
--- /dev/null
+Files:
+tests/test-netinet_in-h.c
+
+Depends-on:
+netinet_in-h-c++-tests
+
+configure.ac:
+
+Makefile.am:
+TESTS += test-netinet_in-h
+check_PROGRAMS += test-netinet_in-h
+++ /dev/null
-Files:
-tests/test-netinet_in.c
-
-Depends-on:
-netinet_in-c++-tests
-
-configure.ac:
-
-Makefile.am:
-TESTS += test-netinet_in
-check_PROGRAMS += test-netinet_in
wait-process
environ
posix_spawnp
-netinet_in
+netinet_in-h
arpa_inet-h
socket
setsockopt
Depends-on:
stdbool
sys_socket
-netinet_in
+netinet_in-h
arpa_inet-h
sys_ioctl
extensions
Depends-on:
stdbool
-netinet_in
+netinet_in-h
arpa_inet-h
unistd
sys_ioctl
tests/macros.h
Depends-on:
-netinet_in
+netinet_in-h
sockets
configure.ac:
Depends-on:
stdbool
sys_socket
-netinet_in
+netinet_in-h
arpa_inet-h
unistd
sys_ioctl
tests/macros.h
Depends-on:
-netinet_in
+netinet_in-h
sockets
inet_pton
tests/macros.h
Depends-on:
-netinet_in
+netinet_in-h
sockets
configure.ac: