annotate modules/error @ 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 b86e9061a6d0
children 8981b79e1271
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:
9550
6bc27027a2d6 Avoid using the syntax symbol() in formatted documentation.
Bruno Haible <bruno@clisp.org>
parents: 9415
diff changeset
2 error and error_at_line functions: Error reporting.
4110
632b6cf5063f Module description.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
3
9415
8ea12c7d7d59 Notify xgettext about functions that have a format string argument.
Bruno Haible <bruno@clisp.org>
parents: 9224
diff changeset
4 Notice:
8ea12c7d7d59 Notify xgettext about functions that have a format string argument.
Bruno Haible <bruno@clisp.org>
parents: 9224
diff changeset
5 If you are using GNU gettext version 0.16.1 or older, add the following options
8ea12c7d7d59 Notify xgettext about functions that have a format string argument.
Bruno Haible <bruno@clisp.org>
parents: 9224
diff changeset
6 to XGETTEXT_OPTIONS in your po/Makevars:
8ea12c7d7d59 Notify xgettext about functions that have a format string argument.
Bruno Haible <bruno@clisp.org>
parents: 9224
diff changeset
7 --flag=error:3:c-format --flag=error_at_line:5:c-format
8ea12c7d7d59 Notify xgettext about functions that have a format string argument.
Bruno Haible <bruno@clisp.org>
parents: 9224
diff changeset
8
4110
632b6cf5063f Module description.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
9 Files:
632b6cf5063f Module description.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
10 lib/error.h
632b6cf5063f Module description.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
11 lib/error.c
632b6cf5063f Module description.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
12 m4/error.m4
632b6cf5063f Module description.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
13
632b6cf5063f Module description.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
14 Depends-on:
14683
efab6978105e Avoid unnecessary compilation units, through conditional dependencies.
Bruno Haible <bruno@clisp.org>
parents: 12337
diff changeset
15 strerror [test $ac_cv_lib_error_at_line = no]
efab6978105e Avoid unnecessary compilation units, through conditional dependencies.
Bruno Haible <bruno@clisp.org>
parents: 12337
diff changeset
16 unistd [test $ac_cv_lib_error_at_line = no]
15752
b86e9061a6d0 New module 'msvc-nothrow'. Makes _get_osfhandle safe on MSVC 9.
Bruno Haible <bruno@clisp.org>
parents: 14934
diff changeset
17 msvc-nothrow [test $ac_cv_lib_error_at_line = no]
4110
632b6cf5063f Module description.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
18
632b6cf5063f Module description.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
19 configure.ac:
632b6cf5063f Module description.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
20 gl_ERROR
14934
26590ccc3b4c error: Move AC_LIBOBJ invocations to module description.
Bruno Haible <bruno@clisp.org>
parents: 14683
diff changeset
21 if test $ac_cv_lib_error_at_line = no; then
26590ccc3b4c error: Move AC_LIBOBJ invocations to module description.
Bruno Haible <bruno@clisp.org>
parents: 14683
diff changeset
22 AC_LIBOBJ([error])
26590ccc3b4c error: Move AC_LIBOBJ invocations to module description.
Bruno Haible <bruno@clisp.org>
parents: 14683
diff changeset
23 gl_PREREQ_ERROR
26590ccc3b4c error: Move AC_LIBOBJ invocations to module description.
Bruno Haible <bruno@clisp.org>
parents: 14683
diff changeset
24 fi
9415
8ea12c7d7d59 Notify xgettext about functions that have a format string argument.
Bruno Haible <bruno@clisp.org>
parents: 9224
diff changeset
25 m4_ifdef([AM_XGETTEXT_OPTION],
11796
b9a762d04d6c Avoid warnings from 'aclocal' when AM_XGETTEXT_OPTION is not defined.
Bruno Haible <bruno@clisp.org>
parents: 9550
diff changeset
26 [AM_][XGETTEXT_OPTION([--flag=error:3:c-format])
b9a762d04d6c Avoid warnings from 'aclocal' when AM_XGETTEXT_OPTION is not defined.
Bruno Haible <bruno@clisp.org>
parents: 9550
diff changeset
27 AM_][XGETTEXT_OPTION([--flag=error_at_line:5:c-format])])
4110
632b6cf5063f Module description.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
28
632b6cf5063f Module description.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
29 Makefile.am:
632b6cf5063f Module description.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
30
632b6cf5063f Module description.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
31 Include:
632b6cf5063f Module description.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
32 "error.h"
632b6cf5063f Module description.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
33
5251
42b53a22aee5 Add a license tag to every module.
Bruno Haible <bruno@clisp.org>
parents: 4315
diff changeset
34 License:
42b53a22aee5 Add a license tag to every module.
Bruno Haible <bruno@clisp.org>
parents: 4315
diff changeset
35 LGPL
42b53a22aee5 Add a license tag to every module.
Bruno Haible <bruno@clisp.org>
parents: 4315
diff changeset
36
4197
3ccc6d0d52bb Add a Maintainer.
Bruno Haible <bruno@clisp.org>
parents: 4172
diff changeset
37 Maintainer:
3ccc6d0d52bb Add a Maintainer.
Bruno Haible <bruno@clisp.org>
parents: 4172
diff changeset
38 all, glibc