comparison modules/search @ 8532:11f6a87d953a

New module 'search'.
author Bruno Haible <bruno@clisp.org>
date Sun, 25 Mar 2007 02:45:24 +0000
parents
children 34cf20b69fd7
comparison
equal deleted inserted replaced
8531:52719799a90e 8532:11f6a87d953a
1 Description:
2 A GNU-like <search.h>.
3
4 Files:
5 lib/search_.h
6 m4/search_h.m4
7
8 Depends-on:
9 absolute-header
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_.h
21 rm -f $@-t $@
22 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
23 sed -e 's|@''HAVE_SEARCH_H''@|$(HAVE_SEARCH_H)|g' \
24 -e 's|@''ABSOLUTE_SEARCH_H''@|$(ABSOLUTE_SEARCH_H)|g' \
25 -e 's|@''GNULIB_TSEARCH''@|$(GNULIB_TSEARCH)|g' \
26 -e 's|@''HAVE_TSEARCH''@|$(HAVE_TSEARCH)|g' \
27 -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
28 < $(srcdir)/search_.h; \
29 } > $@-t
30 mv $@-t $@
31 MOSTLYCLEANFILES += search.h search.h-t
32
33 Include:
34 #include <search.h>
35
36 License:
37 LGPL
38
39 Maintainer:
40 all