Mercurial > hg > octave-kai > gnulib-hg
annotate modules/fnmatch @ 4384:4bf5f9b5190a
Make .h file creation more reliable.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Sat, 07 Jun 2003 16:41:48 +0000 |
parents | 3ccc6d0d52bb |
children | 24c461677d8c |
rev | line source |
---|---|
4110 | 1 Description: |
4172 | 2 GNU fnmatch() implementation. |
4110 | 3 |
4 Files: | |
5 lib/fnmatch_.h | |
6 lib/fnmatch.c | |
7 lib/fnmatch_loop.c | |
8 m4/mbstate_t.m4 | |
9 m4/fnmatch.m4 | |
10 | |
11 Depends-on: | |
12 alloca | |
13 | |
14 configure.ac: | |
15 # No macro. You should also use one of fnmatch-posix or fnmatch-gnu. | |
16 | |
17 Makefile.am: | |
4384
4bf5f9b5190a
Make .h file creation more reliable.
Bruno Haible <bruno@clisp.org>
parents:
4197
diff
changeset
|
18 EXTRA_DIST += fnmatch_.h fnmatch_loop.c |
4bf5f9b5190a
Make .h file creation more reliable.
Bruno Haible <bruno@clisp.org>
parents:
4197
diff
changeset
|
19 |
4bf5f9b5190a
Make .h file creation more reliable.
Bruno Haible <bruno@clisp.org>
parents:
4197
diff
changeset
|
20 # We need the following in order to create an <fnmatch.h> when the system |
4bf5f9b5190a
Make .h file creation more reliable.
Bruno Haible <bruno@clisp.org>
parents:
4197
diff
changeset
|
21 # doesn't have one that supports the required API. |
4bf5f9b5190a
Make .h file creation more reliable.
Bruno Haible <bruno@clisp.org>
parents:
4197
diff
changeset
|
22 all-local $(lib_OBJECTS): @FNMATCH_H@ |
4bf5f9b5190a
Make .h file creation more reliable.
Bruno Haible <bruno@clisp.org>
parents:
4197
diff
changeset
|
23 fnmatch.h: fnmatch_.h |
4bf5f9b5190a
Make .h file creation more reliable.
Bruno Haible <bruno@clisp.org>
parents:
4197
diff
changeset
|
24 cp $(srcdir)/fnmatch_.h fnmatch.h-t |
4bf5f9b5190a
Make .h file creation more reliable.
Bruno Haible <bruno@clisp.org>
parents:
4197
diff
changeset
|
25 mv fnmatch.h-t fnmatch.h |
4bf5f9b5190a
Make .h file creation more reliable.
Bruno Haible <bruno@clisp.org>
parents:
4197
diff
changeset
|
26 MOSTLYCLEANFILES += fnmatch.h fnmatch.h-t |
4110 | 27 |
28 Include: | |
4197 | 29 <fnmatch.h> |
4110 | 30 |
4197 | 31 Maintainer: |
32 all, glibc | |
33 |