signal.h: always support 'volatile sig_atomic_t'
authorEric Blake <ebb9@byu.net>
Sat, 21 Mar 2009 23:57:40 +0000 (17:57 -0600)
committerEric Blake <ebb9@byu.net>
Mon, 23 Mar 2009 10:55:12 +0000 (04:55 -0600)
commitbde8c798d44b81439cc2701ae74d39727fe7c105
treebc9f43d25f6db1548121f814e0c4d95cba475742
parent7f4b1f45ce477f8374d382bd75f5f0a7e865e2c6
signal.h: always support 'volatile sig_atomic_t'

* m4/signal_h.m4 (gl_SIGNAL_H): Check for AIX limitation.
(gl_SIGNAL_H_DEFAULTS): Add a default.
* modules/signal (Makefile.am): Substitute if needed.
* lib/signal.in.h (sig_atomic_t): Redefine if needed, so that
users can blindly add volatile.
* doc/posix-headers/signal.texi (signal.h): Document it.
Reported by Matthew Woehlke.

Signed-off-by: Eric Blake <ebb9@byu.net>
ChangeLog
doc/posix-headers/signal.texi
lib/signal.in.h
m4/signal_h.m4
modules/signal