Mercurial > hg > octave-shane > gnulib-hg
annotate m4/sigaction.m4 @ 12518:b5e42ef33b49
update nearly all FSF copyright year lists to include 2009
The files named by the following are exempted:
grep -v '^#' config/srclist.txt|grep -v '^$' \
| while read src dst; do
test -f "$dst" && { echo "$dst"; continue; }
test -d "$dst" || continue
echo "$dst"/$(basename "$src")
done > exempt
git ls-files tests/unictype >> exempt
In the remaining files, convert to all-interval notation if
- there is already at least one year interval like 2000-2003
- the file is maintained by me
- the file is in lib/uni*/, where that style already prevails
Otherwise, use update-copyright's default.
author | Jim Meyering <meyering@redhat.com> |
---|---|
date | Mon, 28 Dec 2009 10:50:36 +0100 |
parents | 28f81af863b9 |
children | c2cbabec01dd |
rev | line source |
---|---|
10460
28f81af863b9
Make autoconf tests structure consistent with source files in lib/.
Bruno Haible <bruno@clisp.org>
parents:
10321
diff
changeset
|
1 # sigaction.m4 serial 5 |
12518
b5e42ef33b49
update nearly all FSF copyright year lists to include 2009
Jim Meyering <meyering@redhat.com>
parents:
10460
diff
changeset
|
2 dnl Copyright (C) 2008, 2009 Free Software Foundation, Inc. |
10229 | 3 dnl This file is free software; the Free Software Foundation |
4 dnl gives unlimited permission to copy and/or distribute it, | |
5 dnl with or without modifications, as long as this notice is preserved. | |
6 | |
7 # Determine if sigaction interface is present. | |
8 AC_DEFUN([gl_SIGACTION], | |
9 [ | |
10234
82d7fa700d94
Require gl_SIGNAL_H_DEFAULTS.
Bruno Haible <bruno@clisp.org>
parents:
10233
diff
changeset
|
10 AC_REQUIRE([gl_SIGNAL_H_DEFAULTS]) |
10460
28f81af863b9
Make autoconf tests structure consistent with source files in lib/.
Bruno Haible <bruno@clisp.org>
parents:
10321
diff
changeset
|
11 AC_CHECK_FUNCS_ONCE([sigaction]) |
28f81af863b9
Make autoconf tests structure consistent with source files in lib/.
Bruno Haible <bruno@clisp.org>
parents:
10321
diff
changeset
|
12 if test $ac_cv_func_sigaction = yes; then |
28f81af863b9
Make autoconf tests structure consistent with source files in lib/.
Bruno Haible <bruno@clisp.org>
parents:
10321
diff
changeset
|
13 AC_CHECK_MEMBERS([struct sigaction.sa_sigaction], , , |
28f81af863b9
Make autoconf tests structure consistent with source files in lib/.
Bruno Haible <bruno@clisp.org>
parents:
10321
diff
changeset
|
14 [[#include <signal.h>]]) |
28f81af863b9
Make autoconf tests structure consistent with source files in lib/.
Bruno Haible <bruno@clisp.org>
parents:
10321
diff
changeset
|
15 if test $ac_cv_member_struct_sigaction_sa_sigaction = no; then |
28f81af863b9
Make autoconf tests structure consistent with source files in lib/.
Bruno Haible <bruno@clisp.org>
parents:
10321
diff
changeset
|
16 HAVE_STRUCT_SIGACTION_SA_SIGACTION=0 |
28f81af863b9
Make autoconf tests structure consistent with source files in lib/.
Bruno Haible <bruno@clisp.org>
parents:
10321
diff
changeset
|
17 fi |
28f81af863b9
Make autoconf tests structure consistent with source files in lib/.
Bruno Haible <bruno@clisp.org>
parents:
10321
diff
changeset
|
18 else |
10229 | 19 HAVE_SIGACTION=0 |
10460
28f81af863b9
Make autoconf tests structure consistent with source files in lib/.
Bruno Haible <bruno@clisp.org>
parents:
10321
diff
changeset
|
20 AC_LIBOBJ([sigaction]) |
10229 | 21 gl_PREREQ_SIGACTION |
22 fi | |
23 ]) | |
24 | |
10233 | 25 # Prerequisites of the part of lib/signal.in.h and of lib/sigaction.c. |
10229 | 26 AC_DEFUN([gl_PREREQ_SIGACTION], |
27 [ | |
10233 | 28 AC_REQUIRE([gl_SIGNAL_H_DEFAULTS]) |
10229 | 29 AC_REQUIRE([AC_C_RESTRICT]) |
30 AC_REQUIRE([AC_TYPE_UID_T]) | |
10321
a6493a165dd2
c-stack: fix regression on Irix 5.3 from 2008-06-21
Eric Blake <ebb9@byu.net>
parents:
10245
diff
changeset
|
31 AC_REQUIRE([gl_PREREQ_SIG_HANDLER_H]) |
10229 | 32 AC_CHECK_FUNCS_ONCE([sigaltstack siginterrupt]) |
33 AC_CHECK_TYPES([siginfo_t], [], [], [[ | |
34 #include <signal.h> | |
35 ]]) | |
36 if test $ac_cv_type_siginfo_t = no; then | |
37 HAVE_SIGINFO_T=0 | |
38 fi | |
39 ]) | |
10245
18a5b4f796a2
Update after lib/sig-handler.h is no longer included by lib/sigprocmask.c.
Bruno Haible <bruno@clisp.org>
parents:
10243
diff
changeset
|
40 |
18a5b4f796a2
Update after lib/sig-handler.h is no longer included by lib/sigprocmask.c.
Bruno Haible <bruno@clisp.org>
parents:
10243
diff
changeset
|
41 # Prerequisites of lib/sig-handler.h. |
18a5b4f796a2
Update after lib/sig-handler.h is no longer included by lib/sigprocmask.c.
Bruno Haible <bruno@clisp.org>
parents:
10243
diff
changeset
|
42 AC_DEFUN([gl_PREREQ_SIG_HANDLER_H], |
18a5b4f796a2
Update after lib/sig-handler.h is no longer included by lib/sigprocmask.c.
Bruno Haible <bruno@clisp.org>
parents:
10243
diff
changeset
|
43 [ |
18a5b4f796a2
Update after lib/sig-handler.h is no longer included by lib/sigprocmask.c.
Bruno Haible <bruno@clisp.org>
parents:
10243
diff
changeset
|
44 AC_REQUIRE([AC_C_INLINE]) |
18a5b4f796a2
Update after lib/sig-handler.h is no longer included by lib/sigprocmask.c.
Bruno Haible <bruno@clisp.org>
parents:
10243
diff
changeset
|
45 ]) |