maint: make Include sections of modules consistent
[gnulib.git] / modules / search
1 Description:
2 A GNU-like <search.h>.
3
4 Files:
5 lib/search.in.h
6 m4/search_h.m4
7
8 Depends-on:
9 include_next
10 link-warning
11
12 configure.ac:
13 gl_SEARCH_H
14
15 Makefile.am:
16 BUILT_SOURCES += search.h
17
18 # We need the following in order to create <search.h> when the system
19 # doesn't have one that works with the given compiler.
20 search.h: search.in.h
21         $(AM_V_GEN)rm -f $@-t $@ && \
22         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
23           sed -e 's|@''HAVE_SEARCH_H''@|$(HAVE_SEARCH_H)|g' \
24               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
25               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
26               -e 's|@''NEXT_SEARCH_H''@|$(NEXT_SEARCH_H)|g' \
27               -e 's|@''GNULIB_TSEARCH''@|$(GNULIB_TSEARCH)|g' \
28               -e 's|@''HAVE_TSEARCH''@|$(HAVE_TSEARCH)|g' \
29               -e 's|@''REPLACE_TSEARCH''@|$(REPLACE_TSEARCH)|g' \
30               -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
31               < $(srcdir)/search.in.h; \
32         } > $@-t && \
33         mv $@-t $@
34 MOSTLYCLEANFILES += search.h search.h-t
35
36 Include:
37 <search.h>
38
39 License:
40 LGPL
41
42 Maintainer:
43 all