* modules/search-h: Renamed from modules/search.
* modules/search-h-tests: Renamed from modules/search-tests.
* modules/search-h-c++-tests: Renamed from modules/search-c++-tests.
* tests/test-search-h.c: Renamed from tests/test-search.c.
* tests/test-search-h-c++.cc: Renamed from tests/test-search-c++.cc.
* doc/posix-headers/search.texi: Update.
* modules/* (Depends-on): Update.
* modules/search: New file.
+2024-12-27 Bruno Haible <bruno@clisp.org>
+
+ Rename module search to search-h.
+ * modules/search-h: Renamed from modules/search.
+ * modules/search-h-tests: Renamed from modules/search-tests.
+ * modules/search-h-c++-tests: Renamed from modules/search-c++-tests.
+ * tests/test-search-h.c: Renamed from tests/test-search.c.
+ * tests/test-search-h-c++.cc: Renamed from tests/test-search-c++.cc.
+ * doc/posix-headers/search.texi: Update.
+ * modules/* (Depends-on): Update.
+ * modules/search: New file.
+
2024-12-27 Bruno Haible <bruno@clisp.org>
Rename module sched to sched-h.
POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/search.h.html}
-Gnulib module: search
-@mindex search
+Gnulib module: search-h
+@mindex search-h
Portability problems fixed by Gnulib:
@itemize
pthread-h
pty-h
sched-h
-search
+search-h
signal-h
spawn
stdio
Description:
A GNU-like <search.h>.
+Status:
+deprecated
+
+Notice:
+This module is deprecated. Use the module 'search-h' instead.
+
Files:
-lib/search.in.h
-m4/search_h.m4
Depends-on:
-gen-header
-include_next
-snippet/arg-nonnull
-snippet/c++defs
-snippet/warn-on-use
+search-h
configure.ac:
-gl_SEARCH_H
-gl_SEARCH_H_REQUIRE_DEFAULTS
-AC_PROG_MKDIR_P
Makefile.am:
-BUILT_SOURCES += search.h
-
-# We need the following in order to create <search.h> when the system
-# doesn't have one that works with the given compiler.
-search.h: search.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
-@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
- $(gl_V_at)$(SED_HEADER_STDOUT) \
- -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
- -e 's|@''HAVE_SEARCH_H''@|$(HAVE_SEARCH_H)|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_SEARCH_H''@|$(NEXT_SEARCH_H)|g' \
- -e 's|@''HAVE_TYPE_VISIT''@|$(HAVE_TYPE_VISIT)|g' \
- -e 's/@''GNULIB_TSEARCH''@/$(GNULIB_TSEARCH)/g' \
- -e 's/@''GNULIB_MDA_LFIND''@/$(GNULIB_MDA_LFIND)/g' \
- -e 's/@''GNULIB_MDA_LSEARCH''@/$(GNULIB_MDA_LSEARCH)/g' \
- -e 's|@''HAVE_TSEARCH''@|$(HAVE_TSEARCH)|g' \
- -e 's|@''HAVE_TWALK''@|$(HAVE_TWALK)|g' \
- -e 's|@''REPLACE_TSEARCH''@|$(REPLACE_TSEARCH)|g' \
- -e 's|@''REPLACE_TWALK''@|$(REPLACE_TWALK)|g' \
- -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
- -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
- -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
- $(srcdir)/search.in.h > $@-t
- $(AM_V_at)mv $@-t $@
-MOSTLYCLEANFILES += search.h search.h-t
Include:
<search.h>
LGPLv2+
Maintainer:
-all
+++ /dev/null
-Files:
-tests/test-search-c++.cc
-tests/signature.h
-
-Status:
-c++-test
-
-Depends-on:
-ansi-c++-opt
-
-configure.ac:
-
-Makefile.am:
-if ANSICXX
-TESTS += test-search-c++
-check_PROGRAMS += test-search-c++
-test_search_c___SOURCES = test-search-c++.cc
-test_search_c___LDADD = $(LDADD) $(LIBINTL) $(NANOSLEEP_LIB)
-endif
--- /dev/null
+Description:
+A GNU-like <search.h>.
+
+Files:
+lib/search.in.h
+m4/search_h.m4
+
+Depends-on:
+gen-header
+include_next
+snippet/arg-nonnull
+snippet/c++defs
+snippet/warn-on-use
+
+configure.ac:
+gl_SEARCH_H
+gl_SEARCH_H_REQUIRE_DEFAULTS
+AC_PROG_MKDIR_P
+
+Makefile.am:
+BUILT_SOURCES += search.h
+
+# We need the following in order to create <search.h> when the system
+# doesn't have one that works with the given compiler.
+search.h: search.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
+@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
+ $(gl_V_at)$(SED_HEADER_STDOUT) \
+ -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
+ -e 's|@''HAVE_SEARCH_H''@|$(HAVE_SEARCH_H)|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_SEARCH_H''@|$(NEXT_SEARCH_H)|g' \
+ -e 's|@''HAVE_TYPE_VISIT''@|$(HAVE_TYPE_VISIT)|g' \
+ -e 's/@''GNULIB_TSEARCH''@/$(GNULIB_TSEARCH)/g' \
+ -e 's/@''GNULIB_MDA_LFIND''@/$(GNULIB_MDA_LFIND)/g' \
+ -e 's/@''GNULIB_MDA_LSEARCH''@/$(GNULIB_MDA_LSEARCH)/g' \
+ -e 's|@''HAVE_TSEARCH''@|$(HAVE_TSEARCH)|g' \
+ -e 's|@''HAVE_TWALK''@|$(HAVE_TWALK)|g' \
+ -e 's|@''REPLACE_TSEARCH''@|$(REPLACE_TSEARCH)|g' \
+ -e 's|@''REPLACE_TWALK''@|$(REPLACE_TWALK)|g' \
+ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
+ -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
+ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
+ $(srcdir)/search.in.h > $@-t
+ $(AM_V_at)mv $@-t $@
+MOSTLYCLEANFILES += search.h search.h-t
+
+Include:
+<search.h>
+
+License:
+LGPLv2+
+
+Maintainer:
+all
--- /dev/null
+Files:
+tests/test-search-h-c++.cc
+tests/signature.h
+
+Status:
+c++-test
+
+Depends-on:
+ansi-c++-opt
+
+configure.ac:
+
+Makefile.am:
+if ANSICXX
+TESTS += test-search-h-c++
+check_PROGRAMS += test-search-h-c++
+test_search_h_c___SOURCES = test-search-h-c++.cc
+test_search_h_c___LDADD = $(LDADD) $(LIBINTL) $(NANOSLEEP_LIB)
+endif
--- /dev/null
+Files:
+tests/test-search-h.c
+
+Depends-on:
+search-h-c++-tests
+
+configure.ac:
+
+Makefile.am:
+TESTS += test-search-h
+check_PROGRAMS += test-search-h
+++ /dev/null
-Files:
-tests/test-search.c
-
-Depends-on:
-search-c++-tests
-
-configure.ac:
-
-Makefile.am:
-TESTS += test-search
-check_PROGRAMS += test-search
m4/tsearch.m4
Depends-on:
-search
+search-h
configure.ac:
gl_FUNC_TSEARCH