Mercurial > hg > octave-kai > gnulib-hg
annotate modules/search @ 9258:bee5960c276a
Rename search_.h to search.in.h.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Tue, 02 Oct 2007 00:24:48 +0200 |
parents | 1025663f7658 |
children | 53dc0fa4233a |
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 |
8532 | 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. | |
9258
bee5960c276a
Rename search_.h to search.in.h.
Bruno Haible <bruno@clisp.org>
parents:
8995
diff
changeset
|
20 search.h: search.in.h |
8532 | 21 rm -f $@-t $@ |
22 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ | |
23 sed -e 's|@''HAVE_SEARCH_H''@|$(HAVE_SEARCH_H)|g' \ | |
8995
1025663f7658
* m4/include_next.m4 (gl_INCLUDE_NEXT): Define and AC_SUBST
Paul Eggert <eggert@cs.ucla.edu>
parents:
8819
diff
changeset
|
24 -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \ |
1025663f7658
* m4/include_next.m4 (gl_INCLUDE_NEXT): Define and AC_SUBST
Paul Eggert <eggert@cs.ucla.edu>
parents:
8819
diff
changeset
|
25 -e 's|@''NEXT_SEARCH_H''@|$(NEXT_SEARCH_H)|g' \ |
8532 | 26 -e 's|@''GNULIB_TSEARCH''@|$(GNULIB_TSEARCH)|g' \ |
27 -e 's|@''HAVE_TSEARCH''@|$(HAVE_TSEARCH)|g' \ | |
28 -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
|
29 < $(srcdir)/search.in.h; \ |
8532 | 30 } > $@-t |
31 mv $@-t $@ | |
32 MOSTLYCLEANFILES += search.h search.h-t | |
33 | |
34 Include: | |
35 #include <search.h> | |
36 | |
37 License: | |
38 LGPL | |
39 | |
40 Maintainer: | |
41 all |