annotate modules/search @ 11868:67c2b22aff08

annotate automake snippets with $(AM_V_GEN) and $(AM_V_at) This makes it so packages using automake-1.11's silent-rules option can print e.g., a single "GEN configmake.h" line, rather than the 30+ statements that perform the job. If you want to see the actual commands, you can still run "make V=1". Improved-by: Bruno Haible <bruno@clisp.org> * modules/alloca-opt: Add $(AM_V_GEN) and $(AM_V_at) prefixes so that make output is abbreviated when those variables are defined appropriately. * modules/argz: Likewise. * modules/arpa_inet: Likewise. * modules/byteswap: Likewise. * modules/configmake: Likewise. * modules/dirent: Likewise. * modules/errno: Likewise. * modules/fcntl: Likewise. * modules/float: Likewise. * modules/fnmatch: Likewise. * modules/getopt-posix: Likewise. * modules/glob: Likewise. * modules/iconv_open: Likewise. * modules/inttypes: Likewise. * modules/localcharset: Likewise. * modules/locale: Likewise. * modules/math: Likewise. * modules/netdb: Likewise. * modules/netinet_in: Likewise. * modules/poll: Likewise. * modules/posix_spawnp-tests: Likewise. * modules/sched: Likewise. * modules/search: Likewise. * modules/selinux-h: Likewise. * modules/signal: Likewise. * modules/spawn: Likewise. * modules/stdarg: Likewise. * modules/stdbool: Likewise. * modules/stddef: Likewise. * modules/stdint: Likewise. * modules/stdio: Likewise. * modules/stdlib: Likewise. * modules/string: Likewise. * modules/strings: Likewise. * modules/sys_file: Likewise. * modules/sys_ioctl: Likewise. * modules/sys_select: Likewise. * modules/sys_socket: Likewise. * modules/sys_stat: Likewise. * modules/sys_time: Likewise. * modules/sys_times: Likewise. * modules/sys_utsname: Likewise. * modules/sys_wait: Likewise. * modules/sysexits: Likewise. * modules/time: Likewise. * modules/unistd: Likewise. * modules/wchar: Likewise. * modules/wctype: Likewise.
author Jim Meyering <meyering@redhat.com>
date Sat, 22 Aug 2009 11:28:08 +0200
parents f96e845fc36d
children 18ea6ab4e81d
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:
9258
bee5960c276a Rename search_.h to search.in.h.
Bruno Haible <bruno@clisp.org>
parents: 8995
diff changeset
5 lib/search.in.h
8532
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:
8995
1025663f7658 * m4/include_next.m4 (gl_INCLUDE_NEXT): Define and AC_SUBST
Paul Eggert <eggert@cs.ucla.edu>
parents: 8819
diff changeset
9 include_next
8532
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.
9258
bee5960c276a Rename search_.h to search.in.h.
Bruno Haible <bruno@clisp.org>
parents: 8995
diff changeset
20 search.h: search.in.h
11868
67c2b22aff08 annotate automake snippets with $(AM_V_GEN) and $(AM_V_at)
Jim Meyering <meyering@redhat.com>
parents: 10375
diff changeset
21 $(AM_V_GEN)rm -f $@-t $@ && \
8532
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' \
10375
f96e845fc36d Avoid some "gcc -pedantic" warnings.
Bruno Haible <bruno@clisp.org>
parents: 9595
diff changeset
24 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
f96e845fc36d Avoid some "gcc -pedantic" warnings.
Bruno Haible <bruno@clisp.org>
parents: 9595
diff changeset
25 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
8995
1025663f7658 * m4/include_next.m4 (gl_INCLUDE_NEXT): Define and AC_SUBST
Paul Eggert <eggert@cs.ucla.edu>
parents: 8819
diff changeset
26 -e 's|@''NEXT_SEARCH_H''@|$(NEXT_SEARCH_H)|g' \
8532
11f6a87d953a New module 'search'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
27 -e 's|@''GNULIB_TSEARCH''@|$(GNULIB_TSEARCH)|g' \
11f6a87d953a New module 'search'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
28 -e 's|@''HAVE_TSEARCH''@|$(HAVE_TSEARCH)|g' \
9595
53dc0fa4233a Work around OpenBSD 4.0 tdelete() bug.
Bruno Haible <bruno@clisp.org>
parents: 9258
diff changeset
29 -e 's|@''REPLACE_TSEARCH''@|$(REPLACE_TSEARCH)|g' \
8532
11f6a87d953a New module 'search'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
30 -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
9258
bee5960c276a Rename search_.h to search.in.h.
Bruno Haible <bruno@clisp.org>
parents: 8995
diff changeset
31 < $(srcdir)/search.in.h; \
11868
67c2b22aff08 annotate automake snippets with $(AM_V_GEN) and $(AM_V_at)
Jim Meyering <meyering@redhat.com>
parents: 10375
diff changeset
32 } > $@-t && \
8532
11f6a87d953a New module 'search'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
33 mv $@-t $@
11f6a87d953a New module 'search'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
34 MOSTLYCLEANFILES += search.h search.h-t
11f6a87d953a New module 'search'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
35
11f6a87d953a New module 'search'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
36 Include:
11f6a87d953a New module 'search'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
37 #include <search.h>
11f6a87d953a New module 'search'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
38
11f6a87d953a New module 'search'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
39 License:
11f6a87d953a New module 'search'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
40 LGPL
11f6a87d953a New module 'search'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
41
11f6a87d953a New module 'search'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
42 Maintainer:
11f6a87d953a New module 'search'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
43 all