Mercurial > gnulib
annotate modules/mkstemp @ 17363:5a51fb7777a9
sys_select, sys_time: port 2013-01-30 Solaris 2.6 fix to Cygwin
Problem reported by Marco Atzeri in
<http://lists.gnu.org/archive/html/bug-gnulib/2013-03/msg00000.html>.
* lib/sys_select.in.h [HAVE_SYS_SELECT_H && _CYGWIN_SYS_TIME_H]:
Simply delegate to the system <sys/select.h> in this case too.
Also, pay attention to _GL_SYS_SELECT_H_REDIRECT_FROM_SYS_TIME_H only
if OSF/1, since otherwise Cygwin breaks, and it doesn't seem to
be needed on Solaris either.
* lib/sys_time.in.h [_CYGWIN_SYS_TIME_H]:
Simply delgate to the system <sys/time.h> in this case.
author | Paul Eggert <eggert@cs.ucla.edu> |
---|---|
date | Tue, 19 Mar 2013 09:08:47 -0700 |
parents | 51231c56c0a1 |
children |
rev | line source |
---|---|
4110 | 1 Description: |
4172 | 2 mkstemp() function: create a private temporary file. |
4110 | 3 |
4 Files: | |
5 lib/mkstemp.c | |
6 m4/mkstemp.m4 | |
7 | |
8 Depends-on: | |
14683
efab6978105e
Avoid unnecessary compilation units, through conditional dependencies.
Bruno Haible <bruno@clisp.org>
parents:
10311
diff
changeset
|
9 stdlib |
7338 | 10 extensions |
15474
51231c56c0a1
Add dependencies to the 'largefile' module.
Paul Eggert <eggert@cs.ucla.edu>
parents:
15051
diff
changeset
|
11 largefile |
14683
efab6978105e
Avoid unnecessary compilation units, through conditional dependencies.
Bruno Haible <bruno@clisp.org>
parents:
10311
diff
changeset
|
12 tempname [test $HAVE_MKSTEMP = 0 || test $REPLACE_MKSTEMP = 1] |
4110 | 13 |
14 configure.ac: | |
5033
7ada1cee8b2f
Change UTILS_ macro name prefix to gl_.
Jim Meyering <jim@meyering.net>
parents:
4197
diff
changeset
|
15 gl_FUNC_MKSTEMP |
15051
f3891cfd5901
mkstemp: Move AC_LIBOBJ invocations to module description.
Bruno Haible <bruno@clisp.org>
parents:
14683
diff
changeset
|
16 if test $HAVE_MKSTEMP = 0 || test $REPLACE_MKSTEMP = 1; then |
f3891cfd5901
mkstemp: Move AC_LIBOBJ invocations to module description.
Bruno Haible <bruno@clisp.org>
parents:
14683
diff
changeset
|
17 AC_LIBOBJ([mkstemp]) |
f3891cfd5901
mkstemp: Move AC_LIBOBJ invocations to module description.
Bruno Haible <bruno@clisp.org>
parents:
14683
diff
changeset
|
18 gl_PREREQ_MKSTEMP |
f3891cfd5901
mkstemp: Move AC_LIBOBJ invocations to module description.
Bruno Haible <bruno@clisp.org>
parents:
14683
diff
changeset
|
19 fi |
8193
acdb54cba552
mkstemp.h is replaced with <stdlib.h>.
Bruno Haible <bruno@clisp.org>
parents:
7575
diff
changeset
|
20 gl_STDLIB_MODULE_INDICATOR([mkstemp]) |
4110 | 21 |
22 Makefile.am: | |
23 | |
24 Include: | |
8193
acdb54cba552
mkstemp.h is replaced with <stdlib.h>.
Bruno Haible <bruno@clisp.org>
parents:
7575
diff
changeset
|
25 <stdlib.h> |
4110 | 26 |
5251
42b53a22aee5
Add a license tag to every module.
Bruno Haible <bruno@clisp.org>
parents:
5033
diff
changeset
|
27 License: |
10311
cf0f3d5f214e
* modules/mkstemp (License): Relicense under LGPLv2+.
Jim Meyering <meyering@redhat.com>
parents:
8193
diff
changeset
|
28 LGPLv2+ |
5251
42b53a22aee5
Add a license tag to every module.
Bruno Haible <bruno@clisp.org>
parents:
5033
diff
changeset
|
29 |
4197 | 30 Maintainer: |
31 Jim Meyering |