annotate modules/search @ 8819:34cf20b69fd7

* lib/fcntl_.h: Prefer #include_next <foo.h> to #include @ABSOLUTE_FOO_H@ if @HAVE_INCLUDE_NEXT@. This works better with GCC 4.2, which otherwise issues a lot of warnings. * lib/inttypes_.h, lib/math_.h, lib/search_.h, lib/signal_.h: * lib/stdint_.h, lib/stdio_.h, lib/stdlib_.h, lib/string_.h: * lib/sys_time_.h, lib/time_.h, lib/wchar_.h, lib/wctype_.h: Likewise. * lib/stdlib_.h: Don't bother with #pragma GCC system_header, as it should no longer be needed. * lib/string_.h: Likewise. * modules/absolute-header (HAVE_INCLUDE_NEXT): New 'make' define. * modules/fcntl (fcntl.h): Substitute @HAVE_INCLUDE_NEXT@. * modules/inttypes (inttypes.h): Likewise. * modules/math (math.h): Likewise. * modules/search (search.h): Likewise. * modules/signal (signal.h): Likewise. * modules/stdint (stdint.h): Likewise. * modules/stdio (stdio.h): Likewise. * modules/stdlib (stdlib.h): Likewise. * modules/string (string.h): Likewise. * modules/sys_time (sys/time.h): Likewise. * modules/time (time.h): Likewise. * modules/wchar (wchar.h): Likewise. * modules/wctype (wtype.h): Likewise.
author Paul Eggert <eggert@cs.ucla.edu>
date Thu, 17 May 2007 06:14:29 +0000
parents 11f6a87d953a
children 1025663f7658
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
8532
11f6a87d953a New module 'search'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
1 Description:
11f6a87d953a New module 'search'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
2 A GNU-like <search.h>.
11f6a87d953a New module 'search'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
3
11f6a87d953a New module 'search'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
4 Files:
11f6a87d953a New module 'search'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
5 lib/search_.h
11f6a87d953a New module 'search'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
6 m4/search_h.m4
11f6a87d953a New module 'search'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
7
11f6a87d953a New module 'search'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
8 Depends-on:
11f6a87d953a New module 'search'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
9 absolute-header
11f6a87d953a New module 'search'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
10 link-warning
11f6a87d953a New module 'search'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
11
11f6a87d953a New module 'search'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
12 configure.ac:
11f6a87d953a New module 'search'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
13 gl_SEARCH_H
11f6a87d953a New module 'search'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
14
11f6a87d953a New module 'search'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
15 Makefile.am:
11f6a87d953a New module 'search'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
16 BUILT_SOURCES += search.h
11f6a87d953a New module 'search'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
17
11f6a87d953a New module 'search'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
18 # We need the following in order to create <search.h> when the system
11f6a87d953a New module 'search'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
19 # doesn't have one that works with the given compiler.
11f6a87d953a New module 'search'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
20 search.h: search_.h
11f6a87d953a New module 'search'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
21 rm -f $@-t $@
11f6a87d953a New module 'search'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
22 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
11f6a87d953a New module 'search'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
23 sed -e 's|@''HAVE_SEARCH_H''@|$(HAVE_SEARCH_H)|g' \
8819
34cf20b69fd7 * lib/fcntl_.h: Prefer #include_next <foo.h> to #include
Paul Eggert <eggert@cs.ucla.edu>
parents: 8532
diff changeset
24 -e 's/@''HAVE_INCLUDE_NEXT''@/$(HAVE_INCLUDE_NEXT)/g' \
8532
11f6a87d953a New module 'search'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
25 -e 's|@''ABSOLUTE_SEARCH_H''@|$(ABSOLUTE_SEARCH_H)|g' \
11f6a87d953a New module 'search'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
26 -e 's|@''GNULIB_TSEARCH''@|$(GNULIB_TSEARCH)|g' \
11f6a87d953a New module 'search'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
27 -e 's|@''HAVE_TSEARCH''@|$(HAVE_TSEARCH)|g' \
11f6a87d953a New module 'search'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
28 -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
11f6a87d953a New module 'search'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
29 < $(srcdir)/search_.h; \
11f6a87d953a New module 'search'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
30 } > $@-t
11f6a87d953a New module 'search'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
31 mv $@-t $@
11f6a87d953a New module 'search'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
32 MOSTLYCLEANFILES += search.h search.h-t
11f6a87d953a New module 'search'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
33
11f6a87d953a New module 'search'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
34 Include:
11f6a87d953a New module 'search'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
35 #include <search.h>
11f6a87d953a New module 'search'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
36
11f6a87d953a New module 'search'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
37 License:
11f6a87d953a New module 'search'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
38 LGPL
11f6a87d953a New module 'search'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
39
11f6a87d953a New module 'search'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
40 Maintainer:
11f6a87d953a New module 'search'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
41 all