signal: Define sighandler_t.
authorBruno Haible <bruno@clisp.org>
Thu, 5 May 2011 17:03:57 +0000 (19:03 +0200)
committerBruno Haible <bruno@clisp.org>
Thu, 5 May 2011 17:03:57 +0000 (19:03 +0200)
commitfa6f00004c5ea9f4b341a7c60db177a7419f06aa
treeeabd77caa03c7e838feed8f3b795058093915032
parente5c4538ab6673e3f3f66fd1ad715c201cf34907c
signal: Define sighandler_t.

* lib/signal.in.h (sighandler_t): New type.
* m4/signal_h.m4 (gl_SIGNAL_H): Require AC_USE_SYSTEM_EXTENSIONS. Test
whether sighandler_t is defined.
(gl_SIGNAL_H_DEFAULTS): Initialize HAVE_SIGHANDLER_T.
* modules/signal (Depends-on): Add extensions.
(Makefile.am): Substitute HAVE_SIGHANDLER_T.
* doc/posix-headers/signal.texi: Mention the problem with sighandler_t.
Suggested by Markus Steinborn <gnugv_maintainer@yahoo.de>.
ChangeLog
doc/posix-headers/signal.texi
lib/signal.in.h
m4/signal_h.m4
modules/signal