Mercurial > hg > octave-lojdl > gnulib-hg
annotate modules/search @ 16364:89227b989588
fatal-signal: use C prototypes (with explicit void).
* lib/fatal-signal.c (uninstall_handlers, install_handlers)
(init_fatal_signal_set, block_fatal_signals): Fix signatures.
author | Akim Demaille <demaille@gostai.com> |
---|---|
date | Wed, 08 Feb 2012 10:36:20 +0100 |
parents | d2437ed29d20 |
children |
rev | line source |
---|---|
8532 | 1 Description: |
2 A GNU-like <search.h>. | |
3 | |
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 | 6 m4/search_h.m4 |
7 | |
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 |
15415
768296dab89a
Rename module 'arg-nonnull' to 'snippet/arg-nonnull'.
Bruno Haible <bruno@clisp.org>
parents:
14894
diff
changeset
|
10 snippet/arg-nonnull |
15416
10b35faca629
Rename module 'c++defs' to 'snippet/c++defs'.
Bruno Haible <bruno@clisp.org>
parents:
15415
diff
changeset
|
11 snippet/c++defs |
15419
d2437ed29d20
Rename module 'warn-on-use' to 'snippet/warn-on-use'.
Bruno Haible <bruno@clisp.org>
parents:
15416
diff
changeset
|
12 snippet/warn-on-use |
8532 | 13 |
14 configure.ac: | |
15 gl_SEARCH_H | |
16 | |
17 Makefile.am: | |
18 BUILT_SOURCES += search.h | |
19 | |
20 # We need the following in order to create <search.h> when the system | |
21 # doesn't have one that works with the given compiler. | |
14527
049942251f65
Ensure to rebuild generated .h files when config.status has changed.
Bruno Haible <bruno@clisp.org>
parents:
14273
diff
changeset
|
22 search.h: search.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) |
11868
67c2b22aff08
annotate automake snippets with $(AM_V_GEN) and $(AM_V_at)
Jim Meyering <meyering@redhat.com>
parents:
10375
diff
changeset
|
23 $(AM_V_GEN)rm -f $@-t $@ && \ |
8532 | 24 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ |
14840
5f709022a256
Allow multiple gnulib generated include files to be combined.
Bruno Haible <bruno@clisp.org>
parents:
14527
diff
changeset
|
25 sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \ |
5f709022a256
Allow multiple gnulib generated include files to be combined.
Bruno Haible <bruno@clisp.org>
parents:
14527
diff
changeset
|
26 -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
|
27 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ |
f96e845fc36d
Avoid some "gcc -pedantic" warnings.
Bruno Haible <bruno@clisp.org>
parents:
9595
diff
changeset
|
28 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ |
13761
a19ace3ba849
Avoid line length limitation from HP NonStop system header files.
Bruno Haible <bruno@clisp.org>
parents:
13288
diff
changeset
|
29 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ |
8995
1025663f7658
* m4/include_next.m4 (gl_INCLUDE_NEXT): Define and AC_SUBST
Paul Eggert <eggert@cs.ucla.edu>
parents:
8819
diff
changeset
|
30 -e 's|@''NEXT_SEARCH_H''@|$(NEXT_SEARCH_H)|g' \ |
14894
b22360ddefc4
gnulib-tool: Better isolation between different gnulib-tool invocations.
Bruno Haible <bruno@clisp.org>
parents:
14840
diff
changeset
|
31 -e 's/@''GNULIB_TSEARCH''@/$(GNULIB_TSEARCH)/g' \ |
8532 | 32 -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
|
33 -e 's|@''REPLACE_TSEARCH''@|$(REPLACE_TSEARCH)|g' \ |
12937
dbc0820f9ddc
search: Avoid #define replacements in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
12766
diff
changeset
|
34 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ |
12422
f7842310a565
New module 'arg-nonnull'. Declare which arguments expect non-NULL values.
Bruno Haible <bruno@clisp.org>
parents:
12410
diff
changeset
|
35 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ |
12766
2c14f1e449e5
warn-on-use: use instead of link-warning
Eric Blake <ebb9@byu.net>
parents:
12422
diff
changeset
|
36 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ |
9258
bee5960c276a
Rename search_.h to search.in.h.
Bruno Haible <bruno@clisp.org>
parents:
8995
diff
changeset
|
37 < $(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
|
38 } > $@-t && \ |
8532 | 39 mv $@-t $@ |
40 MOSTLYCLEANFILES += search.h search.h-t | |
41 | |
42 Include: | |
12008
18ea6ab4e81d
maint: make Include sections of modules consistent
Eric Blake <ebb9@byu.net>
parents:
11868
diff
changeset
|
43 <search.h> |
8532 | 44 |
45 License: | |
13288
0083b2c84821
headers: relax license to LGPLv2+
Eric Blake <eblake@redhat.com>
parents:
12937
diff
changeset
|
46 LGPLv2+ |
8532 | 47 |
48 Maintainer: | |
49 all |