Mercurial > hg > octave-lojdl > gnulib-hg
annotate modules/mountlist @ 16916:3d02d25fa13d
stdioext: Add support for musl libc.
* m4/fbufmode.m4 (gl_FUNC_FBUFMODE): Test whether __fbufsize exists.
* lib/fbufmode.c (fbufmode): Add conditional code for musl.
* m4/fseterr.m4: New file.
* lib/fseterr.h (fseterr): Define as an alias of __fseterr if that
function exists.
* modules/fseterr (Files): Add m4/fseterr.m4.
(configure.ac): Invoke gl_FUNC_FSETERR. Compile fseterr.c if
__fseterr does not exist.
(Makefile.am): Remove fseterr.c from lib_SOURCES.
* lib/freadable.h: Update comment.
* lib/fwritable.h: Update comment.
* lib/freading.h: Update comment.
* lib/fwriting.h: Update comment.
* m4/freadahead.m4: New file.
* lib/freadahead.h (freadahead): Define as an alias of __freadahead if
that function exists.
* modules/freadahead (Files): Add m4/freadahead.m4.
(configure.ac): Invoke gl_FUNC_FREADAHEAD. Compile freadahead.c if
__freadahead does not exist.
(Makefile.am): Remove freadahead.c from lib_SOURCES.
* m4/freadptr.m4: New file.
* lib/freadptr.h (freadptr): Define as an alias of __freadptr if that
function exists.
* modules/freadptr (Files): Add m4/freadptr.m4.
(configure.ac): Invoke gl_FUNC_FREADPTR. Compile freadptr.c if
__freadptr does not exist.
(Makefile.am): Remove freadptr.c from lib_SOURCES.
* m4/freadseek.m4: New file.
* lib/freadseek.c (freadptrinc): Use __freadptrinc if that function
exists.
* modules/freadseek (Files): Add m4/freadseek.m4.
(configure.ac): Invoke gl_FUNC_FREADSEEK.
* lib/fpurge.c (fpurge): Update comment.
Reported by and with help from Rich Felker <dalias@aerifal.cx>.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Tue, 19 Jun 2012 23:35:08 +0200 |
parents | 18b690708865 |
children |
rev | line source |
---|---|
4110 | 1 Description: |
6568
b7612c730f92
filesystem -> file system (the POSIX spelling)
Paul Eggert <eggert@cs.ucla.edu>
parents:
5820
diff
changeset
|
2 Return list of mounted file systems. |
4110 | 3 |
4 Files: | |
5 lib/mountlist.h | |
6 lib/mountlist.c | |
7 m4/ls-mntd-fs.m4 | |
8 m4/fstypename.m4 | |
9 m4/mountlist.m4 | |
10 | |
11 Depends-on: | |
5820
aec0a1f23054
(Depends-on): Add stdbool.
Paul Eggert <eggert@cs.ucla.edu>
parents:
5722
diff
changeset
|
12 stdbool |
11395
5442b2430859
avoid gcc warnings about unused macro definitions
Jim Meyering <meyering@redhat.com>
parents:
8070
diff
changeset
|
13 stdint |
11628
59047bad770e
strstr, strcasestr: replace on platforms with broken memchr
Eric Blake <ebb9@byu.net>
parents:
11395
diff
changeset
|
14 strstr-simple |
4110 | 15 xalloc |
16 | |
17 configure.ac: | |
18 gl_MOUNTLIST | |
15054
18b690708865
mountlist: Move AC_LIBOBJ invocations to module description.
Bruno Haible <bruno@clisp.org>
parents:
11628
diff
changeset
|
19 if test $gl_cv_list_mounted_fs = yes; then |
18b690708865
mountlist: Move AC_LIBOBJ invocations to module description.
Bruno Haible <bruno@clisp.org>
parents:
11628
diff
changeset
|
20 AC_LIBOBJ([mountlist]) |
18b690708865
mountlist: Move AC_LIBOBJ invocations to module description.
Bruno Haible <bruno@clisp.org>
parents:
11628
diff
changeset
|
21 gl_PREREQ_MOUNTLIST_EXTRA |
18b690708865
mountlist: Move AC_LIBOBJ invocations to module description.
Bruno Haible <bruno@clisp.org>
parents:
11628
diff
changeset
|
22 fi |
4110 | 23 |
24 Makefile.am: | |
25 | |
26 Include: | |
27 "mountlist.h" | |
28 | |
5251
42b53a22aee5
Add a license tag to every module.
Bruno Haible <bruno@clisp.org>
parents:
4197
diff
changeset
|
29 License: |
42b53a22aee5
Add a license tag to every module.
Bruno Haible <bruno@clisp.org>
parents:
4197
diff
changeset
|
30 GPL |
42b53a22aee5
Add a license tag to every module.
Bruno Haible <bruno@clisp.org>
parents:
4197
diff
changeset
|
31 |
4197 | 32 Maintainer: |
33 Jim Meyering |