annotate modules/nanosleep @ 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 a8e98ddfd3a1
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4110
632b6cf5063f Module description.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
1 Description:
4172
5321105558d8 Add module descriptions.
Bruno Haible <bruno@clisp.org>
parents: 4110
diff changeset
2 nanosleep() function: pause execution for a specified time.
4110
632b6cf5063f Module description.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
3
632b6cf5063f Module description.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
4 Files:
632b6cf5063f Module description.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
5 lib/nanosleep.c
632b6cf5063f Module description.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
6 m4/nanosleep.m4
632b6cf5063f Module description.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
7
632b6cf5063f Module description.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
8 Depends-on:
14683
efab6978105e Avoid unnecessary compilation units, through conditional dependencies.
Bruno Haible <bruno@clisp.org>
parents: 12948
diff changeset
9 time
7897
b7a83a69ac23 * MODULES.html.sh (Support for systems lacking POSIX:2001): New
Paul Eggert <eggert@cs.ucla.edu>
parents: 7772
diff changeset
10 extensions
11069
8488a80e49bc nanosleep: skip configure test (fail it) for apple universal builds
Bruno Haible <bruno@clisp.org>
parents: 10230
diff changeset
11 multiarch
14683
efab6978105e Avoid unnecessary compilation units, through conditional dependencies.
Bruno Haible <bruno@clisp.org>
parents: 12948
diff changeset
12 intprops [test $HAVE_NANOSLEEP = 0 || test $REPLACE_NANOSLEEP = 1]
efab6978105e Avoid unnecessary compilation units, through conditional dependencies.
Bruno Haible <bruno@clisp.org>
parents: 12948
diff changeset
13 select [test $HAVE_NANOSLEEP = 0 || test $REPLACE_NANOSLEEP = 1]
efab6978105e Avoid unnecessary compilation units, through conditional dependencies.
Bruno Haible <bruno@clisp.org>
parents: 12948
diff changeset
14 sigaction [test $HAVE_NANOSLEEP = 0 || test $REPLACE_NANOSLEEP = 1]
efab6978105e Avoid unnecessary compilation units, through conditional dependencies.
Bruno Haible <bruno@clisp.org>
parents: 12948
diff changeset
15 stdbool [test $HAVE_NANOSLEEP = 0 || test $REPLACE_NANOSLEEP = 1]
efab6978105e Avoid unnecessary compilation units, through conditional dependencies.
Bruno Haible <bruno@clisp.org>
parents: 12948
diff changeset
16 sys_select [test $HAVE_NANOSLEEP = 0 || test $REPLACE_NANOSLEEP = 1]
efab6978105e Avoid unnecessary compilation units, through conditional dependencies.
Bruno Haible <bruno@clisp.org>
parents: 12948
diff changeset
17 sys_time [test $HAVE_NANOSLEEP = 0 || test $REPLACE_NANOSLEEP = 1]
efab6978105e Avoid unnecessary compilation units, through conditional dependencies.
Bruno Haible <bruno@clisp.org>
parents: 12948
diff changeset
18 verify [test $HAVE_NANOSLEEP = 0 || test $REPLACE_NANOSLEEP = 1]
4110
632b6cf5063f Module description.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
19
632b6cf5063f Module description.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
20 configure.ac:
5016
7141ea4946af Change jm_ to gl_ in AC_DEFINE'd names. Update all uses.
Jim Meyering <jim@meyering.net>
parents: 4197
diff changeset
21 gl_FUNC_NANOSLEEP
15055
a8e98ddfd3a1 nanosleep: Move AC_LIBOBJ invocations to module description.
Bruno Haible <bruno@clisp.org>
parents: 14692
diff changeset
22 if test $HAVE_NANOSLEEP = 0 || test $REPLACE_NANOSLEEP = 1; then
a8e98ddfd3a1 nanosleep: Move AC_LIBOBJ invocations to module description.
Bruno Haible <bruno@clisp.org>
parents: 14692
diff changeset
23 AC_LIBOBJ([nanosleep])
a8e98ddfd3a1 nanosleep: Move AC_LIBOBJ invocations to module description.
Bruno Haible <bruno@clisp.org>
parents: 14692
diff changeset
24 gl_PREREQ_NANOSLEEP
a8e98ddfd3a1 nanosleep: Move AC_LIBOBJ invocations to module description.
Bruno Haible <bruno@clisp.org>
parents: 14692
diff changeset
25 fi
12948
ea38eeab7d0f time: Avoid #define replacements in C++ mode.
Bruno Haible <bruno@clisp.org>
parents: 12327
diff changeset
26 gl_TIME_MODULE_INDICATOR([nanosleep])
4110
632b6cf5063f Module description.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
27
632b6cf5063f Module description.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
28 Makefile.am:
632b6cf5063f Module description.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
29
632b6cf5063f Module description.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
30 Include:
8146
b31580167c2b New module 'time', so that apps can include <time.h> as per
Paul Eggert <eggert@cs.ucla.edu>
parents: 8055
diff changeset
31 <time.h>
4110
632b6cf5063f Module description.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
32
8055
5c79d44f739d New module description field 'Link'.
Bruno Haible <bruno@clisp.org>
parents: 7897
diff changeset
33 Link:
5c79d44f739d New module description field 'Link'.
Bruno Haible <bruno@clisp.org>
parents: 7897
diff changeset
34 $(LIB_NANOSLEEP)
5c79d44f739d New module description field 'Link'.
Bruno Haible <bruno@clisp.org>
parents: 7897
diff changeset
35
5251
42b53a22aee5 Add a license tag to every module.
Bruno Haible <bruno@clisp.org>
parents: 5016
diff changeset
36 License:
14692
f5423095465f nanosleep: Relicense under LGPL.
Bruno Haible <bruno@clisp.org>
parents: 14683
diff changeset
37 LGPL
5251
42b53a22aee5 Add a license tag to every module.
Bruno Haible <bruno@clisp.org>
parents: 5016
diff changeset
38
4197
3ccc6d0d52bb Add a Maintainer.
Bruno Haible <bruno@clisp.org>
parents: 4172
diff changeset
39 Maintainer:
3ccc6d0d52bb Add a Maintainer.
Bruno Haible <bruno@clisp.org>
parents: 4172
diff changeset
40 Jim Meyering