Mercurial > hg > octave-kai > gnulib-hg
annotate modules/fnmatch @ 16063:c3b6b5b6bc32
More conditional dependencies.
* modules/faccessat (Depends-on): Add conditions.
* modules/fchmodat (Depends-on): Likewise.
* modules/fchownat (Depends-on): Likewise.
* modules/fstatat (Depends-on): Likewise.
* modules/mkfifoat (Depends-on): Likewise.
* modules/readlinkat (Depends-on): Likewise.
* modules/symlinkat (Depends-on): Likewise.
* modules/unlinkat (Depends-on): Likewise.
* modules/utimensat (Depends-on): Likewise.
* modules/mkdirat (Depends-on): Add sys_stat. Add conditions.
* modules/linkat (Depends-on): Refine the conditions.
* modules/renameat (Depends-on): Likewise.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Wed, 09 Nov 2011 02:42:45 +0100 |
parents | 768296dab89a |
children |
rev | line source |
---|---|
4110 | 1 Description: |
11541
052491fe562d
Move the fnmatch-posix module into the fnmatch module.
Bruno Haible <bruno@clisp.org>
parents:
11449
diff
changeset
|
2 fnmatch() function: wildcard matching. |
4110 | 3 |
4 Files: | |
9249
49a9df6cebc4
Rename fnmatch_.h to fnmatch.in.h.
Bruno Haible <bruno@clisp.org>
parents:
9209
diff
changeset
|
5 lib/fnmatch.in.h |
4110 | 6 lib/fnmatch.c |
7 lib/fnmatch_loop.c | |
8 m4/mbstate_t.m4 | |
9 m4/fnmatch.m4 | |
10 | |
11 Depends-on: | |
9209
5a0294ce5372
Track CVS Autoconf on AC_USE_SYSTEM_EXTENSIONS.
Eric Blake <ebb9@byu.net>
parents:
9102
diff
changeset
|
12 extensions |
15415
768296dab89a
Rename module 'arg-nonnull' to 'snippet/arg-nonnull'.
Bruno Haible <bruno@clisp.org>
parents:
14941
diff
changeset
|
13 snippet/arg-nonnull |
14683
efab6978105e
Avoid unnecessary compilation units, through conditional dependencies.
Bruno Haible <bruno@clisp.org>
parents:
14528
diff
changeset
|
14 alloca [test -n "$FNMATCH_H"] |
efab6978105e
Avoid unnecessary compilation units, through conditional dependencies.
Bruno Haible <bruno@clisp.org>
parents:
14528
diff
changeset
|
15 stdbool [test -n "$FNMATCH_H"] |
efab6978105e
Avoid unnecessary compilation units, through conditional dependencies.
Bruno Haible <bruno@clisp.org>
parents:
14528
diff
changeset
|
16 wchar [test -n "$FNMATCH_H"] |
efab6978105e
Avoid unnecessary compilation units, through conditional dependencies.
Bruno Haible <bruno@clisp.org>
parents:
14528
diff
changeset
|
17 wctype-h [test -n "$FNMATCH_H"] |
efab6978105e
Avoid unnecessary compilation units, through conditional dependencies.
Bruno Haible <bruno@clisp.org>
parents:
14528
diff
changeset
|
18 memchr [test -n "$FNMATCH_H"] |
efab6978105e
Avoid unnecessary compilation units, through conditional dependencies.
Bruno Haible <bruno@clisp.org>
parents:
14528
diff
changeset
|
19 memcmp [test -n "$FNMATCH_H"] |
efab6978105e
Avoid unnecessary compilation units, through conditional dependencies.
Bruno Haible <bruno@clisp.org>
parents:
14528
diff
changeset
|
20 mbsrtowcs [test -n "$FNMATCH_H"] |
efab6978105e
Avoid unnecessary compilation units, through conditional dependencies.
Bruno Haible <bruno@clisp.org>
parents:
14528
diff
changeset
|
21 mbsinit [test -n "$FNMATCH_H"] |
4110 | 22 |
23 configure.ac: | |
11541
052491fe562d
Move the fnmatch-posix module into the fnmatch module.
Bruno Haible <bruno@clisp.org>
parents:
11449
diff
changeset
|
24 gl_FUNC_FNMATCH_POSIX |
14941
56ef3f2912e0
fnmatch, fnmatch-gnu: Move AC_LIBOBJ invocations to module description.
Bruno Haible <bruno@clisp.org>
parents:
14683
diff
changeset
|
25 if test -n "$FNMATCH_H"; then |
56ef3f2912e0
fnmatch, fnmatch-gnu: Move AC_LIBOBJ invocations to module description.
Bruno Haible <bruno@clisp.org>
parents:
14683
diff
changeset
|
26 AC_LIBOBJ([fnmatch]) |
56ef3f2912e0
fnmatch, fnmatch-gnu: Move AC_LIBOBJ invocations to module description.
Bruno Haible <bruno@clisp.org>
parents:
14683
diff
changeset
|
27 gl_PREREQ_FNMATCH |
56ef3f2912e0
fnmatch, fnmatch-gnu: Move AC_LIBOBJ invocations to module description.
Bruno Haible <bruno@clisp.org>
parents:
14683
diff
changeset
|
28 fi |
4110 | 29 |
30 Makefile.am: | |
4578 | 31 BUILT_SOURCES += $(FNMATCH_H) |
4384
4bf5f9b5190a
Make .h file creation more reliable.
Bruno Haible <bruno@clisp.org>
parents:
4197
diff
changeset
|
32 |
6001
322a0918d54a
* modules/alloca-opt (Makefile.am): Remove explicit dependency on
Paul Eggert <eggert@cs.ucla.edu>
parents:
5820
diff
changeset
|
33 # We need the following in order to create <fnmatch.h> when the system |
4384
4bf5f9b5190a
Make .h file creation more reliable.
Bruno Haible <bruno@clisp.org>
parents:
4197
diff
changeset
|
34 # doesn't have one that supports the required API. |
14528
662ae53d8d37
Remove leftover generated .h files after config.status changed.
Bruno Haible <bruno@clisp.org>
parents:
14304
diff
changeset
|
35 if GL_GENERATE_FNMATCH_H |
662ae53d8d37
Remove leftover generated .h files after config.status changed.
Bruno Haible <bruno@clisp.org>
parents:
14304
diff
changeset
|
36 fnmatch.h: fnmatch.in.h $(top_builddir)/config.status $(ARG_NONNULL_H) |
11868
67c2b22aff08
annotate automake snippets with $(AM_V_GEN) and $(AM_V_at)
Jim Meyering <meyering@redhat.com>
parents:
11858
diff
changeset
|
37 $(AM_V_GEN)rm -f $@-t $@ && \ |
7421
8bace4b08db5
Mark generated files as "DO NOT EDIT".
Bruno Haible <bruno@clisp.org>
parents:
7274
diff
changeset
|
38 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ |
12422
f7842310a565
New module 'arg-nonnull'. Declare which arguments expect non-NULL values.
Bruno Haible <bruno@clisp.org>
parents:
11868
diff
changeset
|
39 sed -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ |
f7842310a565
New module 'arg-nonnull'. Declare which arguments expect non-NULL values.
Bruno Haible <bruno@clisp.org>
parents:
11868
diff
changeset
|
40 < $(srcdir)/fnmatch.in.h; \ |
11868
67c2b22aff08
annotate automake snippets with $(AM_V_GEN) and $(AM_V_at)
Jim Meyering <meyering@redhat.com>
parents:
11858
diff
changeset
|
41 } > $@-t && \ |
7274
9ff9e0f3d681
Don't make generated files read-only. That would bother too many
Jim Meyering <jim@meyering.net>
parents:
7268
diff
changeset
|
42 mv -f $@-t $@ |
14528
662ae53d8d37
Remove leftover generated .h files after config.status changed.
Bruno Haible <bruno@clisp.org>
parents:
14304
diff
changeset
|
43 else |
662ae53d8d37
Remove leftover generated .h files after config.status changed.
Bruno Haible <bruno@clisp.org>
parents:
14304
diff
changeset
|
44 fnmatch.h: $(top_builddir)/config.status |
662ae53d8d37
Remove leftover generated .h files after config.status changed.
Bruno Haible <bruno@clisp.org>
parents:
14304
diff
changeset
|
45 rm -f $@ |
662ae53d8d37
Remove leftover generated .h files after config.status changed.
Bruno Haible <bruno@clisp.org>
parents:
14304
diff
changeset
|
46 endif |
4384
4bf5f9b5190a
Make .h file creation more reliable.
Bruno Haible <bruno@clisp.org>
parents:
4197
diff
changeset
|
47 MOSTLYCLEANFILES += fnmatch.h fnmatch.h-t |
4110 | 48 |
49 Include: | |
4197 | 50 <fnmatch.h> |
4110 | 51 |
5251
42b53a22aee5
Add a license tag to every module.
Bruno Haible <bruno@clisp.org>
parents:
4578
diff
changeset
|
52 License: |
9102
404dc8725caf
Use the synonymous term LGPLv2.
Bruno Haible <bruno@clisp.org>
parents:
7888
diff
changeset
|
53 LGPLv2+ |
5251
42b53a22aee5
Add a license tag to every module.
Bruno Haible <bruno@clisp.org>
parents:
4578
diff
changeset
|
54 |
4197 | 55 Maintainer: |
56 all, glibc |