Mercurial > gnulib
annotate modules/tmpfile @ 40160:5c7e0484c1e9
tmpfile: Add support for Android.
* m4/tmpfile.m4 (gl_FUNC_TMPFILE): Add a runtime test whether tmpfile()
works.
* lib/tmpfile.c (tmpfile): Add an alternative implementation for
Android.
* modules/tmpfile (Depends-on): Add 'stdbool'.
* doc/posix-functions/tmpfile.texi: Mention the Android bug.
* modules/argv-iter-tests (Depends-on): Add 'tmpfile'.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Sun, 27 Jan 2019 22:03:14 +0100 |
parents | 51231c56c0a1 |
children |
rev | line source |
---|---|
8162 | 1 Description: |
2 tmpfile() function: create a temporary file. | |
3 | |
4 Files: | |
5 lib/tmpfile.c | |
6 m4/tmpfile.m4 | |
7 | |
8 Depends-on: | |
13137
fd3c9fa89efe
tmpfile: Fix C++ test error on mingw.
Bruno Haible <bruno@clisp.org>
parents:
12008
diff
changeset
|
9 stdio |
15474
51231c56c0a1
Add dependencies to the 'largefile' module.
Paul Eggert <eggert@cs.ucla.edu>
parents:
15128
diff
changeset
|
10 largefile |
14683
efab6978105e
Avoid unnecessary compilation units, through conditional dependencies.
Bruno Haible <bruno@clisp.org>
parents:
13138
diff
changeset
|
11 pathmax [test $REPLACE_TMPFILE = 1] |
40160
5c7e0484c1e9
tmpfile: Add support for Android.
Bruno Haible <bruno@clisp.org>
parents:
15474
diff
changeset
|
12 stdbool [test $REPLACE_TMPFILE = 1] |
14683
efab6978105e
Avoid unnecessary compilation units, through conditional dependencies.
Bruno Haible <bruno@clisp.org>
parents:
13138
diff
changeset
|
13 tempname [test $REPLACE_TMPFILE = 1] |
efab6978105e
Avoid unnecessary compilation units, through conditional dependencies.
Bruno Haible <bruno@clisp.org>
parents:
13138
diff
changeset
|
14 tmpdir [test $REPLACE_TMPFILE = 1] |
8162 | 15 |
16 configure.ac: | |
13138 | 17 gl_FUNC_TMPFILE |
15128
c7623a5ec63d
tmpfile: Move AC_LIBOBJ invocations to module description.
Bruno Haible <bruno@clisp.org>
parents:
14689
diff
changeset
|
18 if test $REPLACE_TMPFILE = 1; then |
c7623a5ec63d
tmpfile: Move AC_LIBOBJ invocations to module description.
Bruno Haible <bruno@clisp.org>
parents:
14689
diff
changeset
|
19 AC_LIBOBJ([tmpfile]) |
c7623a5ec63d
tmpfile: Move AC_LIBOBJ invocations to module description.
Bruno Haible <bruno@clisp.org>
parents:
14689
diff
changeset
|
20 gl_PREREQ_TMPFILE |
c7623a5ec63d
tmpfile: Move AC_LIBOBJ invocations to module description.
Bruno Haible <bruno@clisp.org>
parents:
14689
diff
changeset
|
21 fi |
13137
fd3c9fa89efe
tmpfile: Fix C++ test error on mingw.
Bruno Haible <bruno@clisp.org>
parents:
12008
diff
changeset
|
22 gl_STDIO_MODULE_INDICATOR([tmpfile]) |
8162 | 23 |
24 Makefile.am: | |
25 | |
26 Include: | |
12008
18ea6ab4e81d
maint: make Include sections of modules consistent
Eric Blake <ebb9@byu.net>
parents:
8162
diff
changeset
|
27 <stdio.h> |
8162 | 28 |
29 License: | |
14689
4cb6df751d68
tmpfile: Relicense under LGPL.
Bruno Haible <bruno@clisp.org>
parents:
14683
diff
changeset
|
30 LGPL |
8162 | 31 |
32 Maintainer: | |
33 Ben Pfaff |