* modules/net_if-h: Renamed from modules/net_if.
* modules/net_if-h-tests: Renamed from modules/net_if-tests.
* modules/net_if-h-c++-tests: Renamed from modules/net_if-c++-tests.
* tests/test-net_if-h.c: Renamed from tests/test-net_if.c.
* tests/test-net_if-h-c++.cc: Renamed from tests/test-net_if-c++.cc.
* doc/posix-headers/net_if.texi: Update.
* modules/net_if: New file.
+2024-12-27 Bruno Haible <bruno@clisp.org>
+
+ Rename module net_if to net_if-h.
+ * modules/net_if-h: Renamed from modules/net_if.
+ * modules/net_if-h-tests: Renamed from modules/net_if-tests.
+ * modules/net_if-h-c++-tests: Renamed from modules/net_if-c++-tests.
+ * tests/test-net_if-h.c: Renamed from tests/test-net_if.c.
+ * tests/test-net_if-h-c++.cc: Renamed from tests/test-net_if-c++.cc.
+ * doc/posix-headers/net_if.texi: Update.
+ * modules/net_if: New file.
+
2024-12-27 Bruno Haible <bruno@clisp.org>
Rename module netdb to netdb-h.
POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/net_if.h.html}
-Gnulib module: net_if
-@mindex net_if
+Gnulib module: net_if-h
+@mindex net_if-h
Portability problems fixed by Gnulib:
@itemize
Description:
A <net/if.h> for systems lacking it.
+Status:
+deprecated
+
+Notice:
+This module is deprecated. Use the module 'net_if-h' instead.
+
Files:
-lib/net_if.in.h
-m4/net_if_h.m4
Depends-on:
-gen-header
-include_next
-sys_socket
+net_if-h
configure.ac:
-gl_HEADER_NET_IF
-gl_CONDITIONAL_HEADER([net/if.h])
-AC_PROG_MKDIR_P
Makefile.am:
-BUILT_SOURCES += $(NET_IF_H)
-
-# We need the following in order to create <net/if.h> when the system
-# doesn't have one.
-if GL_GENERATE_NET_IF_H
-net/if.h: net_if.in.h $(top_builddir)/config.status
- $(AM_V_GEN)$(MKDIR_P) '%reldir%/net'
- $(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_NET_IF_H''@|$(NEXT_NET_IF_H)|g' \
- -e 's|@''HAVE_NET_IF_H''@|$(HAVE_NET_IF_H)|g' \
- $(srcdir)/net_if.in.h > $@-t
- $(AM_V_at)mv $@-t $@
-else
-net/if.h: $(top_builddir)/config.status
- rm -f $@
-endif
-MOSTLYCLEANFILES += net/if.h net/if.h-t
-MOSTLYCLEANDIRS += net
Include:
<net/if.h>
LGPLv2+
Maintainer:
-Eric Blake
+++ /dev/null
-Files:
-tests/test-net_if-c++.cc
-
-Status:
-c++-test
-
-Depends-on:
-ansi-c++-opt
-net_if-tests
-
-configure.ac:
-
-Makefile.am:
-if ANSICXX
-TESTS += test-net_if-c++
-check_PROGRAMS += test-net_if-c++
-test_net_if_c___SOURCES = test-net_if-c++.cc
-test_net_if_c___LDADD = $(LDADD) @NET_IF_LIB@
-endif
--- /dev/null
+Description:
+A <net/if.h> for systems lacking it.
+
+Files:
+lib/net_if.in.h
+m4/net_if_h.m4
+
+Depends-on:
+gen-header
+include_next
+sys_socket
+
+configure.ac:
+gl_HEADER_NET_IF
+gl_CONDITIONAL_HEADER([net/if.h])
+AC_PROG_MKDIR_P
+
+Makefile.am:
+BUILT_SOURCES += $(NET_IF_H)
+
+# We need the following in order to create <net/if.h> when the system
+# doesn't have one.
+if GL_GENERATE_NET_IF_H
+net/if.h: net_if.in.h $(top_builddir)/config.status
+ $(AM_V_GEN)$(MKDIR_P) '%reldir%/net'
+ $(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_NET_IF_H''@|$(NEXT_NET_IF_H)|g' \
+ -e 's|@''HAVE_NET_IF_H''@|$(HAVE_NET_IF_H)|g' \
+ $(srcdir)/net_if.in.h > $@-t
+ $(AM_V_at)mv $@-t $@
+else
+net/if.h: $(top_builddir)/config.status
+ rm -f $@
+endif
+MOSTLYCLEANFILES += net/if.h net/if.h-t
+MOSTLYCLEANDIRS += net
+
+Include:
+<net/if.h>
+
+License:
+LGPLv2+
+
+Maintainer:
+Eric Blake
--- /dev/null
+Files:
+tests/test-net_if-h-c++.cc
+
+Status:
+c++-test
+
+Depends-on:
+ansi-c++-opt
+net_if-h-tests
+
+configure.ac:
+
+Makefile.am:
+if ANSICXX
+TESTS += test-net_if-h-c++
+check_PROGRAMS += test-net_if-h-c++
+test_net_if_h_c___SOURCES = test-net_if-h-c++.cc
+test_net_if_h_c___LDADD = $(LDADD) @NET_IF_LIB@
+endif
Files:
-tests/test-net_if.c
+tests/test-net_if-h.c
tests/signature.h
Depends-on:
-net_if-c++-tests
+net_if-h-c++-tests
configure.ac:
NET_IF_LIB=
AC_SUBST([NET_IF_LIB])
Makefile.am:
-TESTS += test-net_if
-check_PROGRAMS += test-net_if
-test_net_if_LDADD = $(LDADD) @NET_IF_LIB@
+TESTS += test-net_if-h
+check_PROGRAMS += test-net_if-h
+test_net_if_h_LDADD = $(LDADD) @NET_IF_LIB@