afe6ab3b41bc1b9eaddc89fcdd25a4261a32d740
[gnulib.git] / modules / signal
1 Description:
2 A GNU-like <signal.h>.
3
4 Files:
5 lib/signal.in.h
6 m4/signal_h.m4
7
8 Depends-on:
9 include_next
10 link-warning
11
12 configure.ac:
13 gl_SIGNAL_H
14
15 Makefile.am:
16 BUILT_SOURCES += signal.h
17
18 # We need the following in order to create <signal.h> when the system
19 # doesn't have a complete one.
20 signal.h: signal.in.h
21         rm -f $@-t $@
22         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
23           sed -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
24               -e 's|@''NEXT_SIGNAL_H''@|$(NEXT_SIGNAL_H)|g' \
25               -e 's|@''GNULIB_SIGPROCMASK''@|$(GNULIB_SIGPROCMASK)|g' \
26               -e 's|@''GNULIB_SIGACTION''@|$(GNULIB_SIGACTION)|g' \
27               -e 's|@''HAVE_POSIX_SIGNALBLOCKING''@|$(HAVE_POSIX_SIGNALBLOCKING)|g' \
28               -e 's|@''HAVE_SIGSET_T''@|$(HAVE_SIGSET_T)|g' \
29               -e 's|@''HAVE_SIGINFO_T''@|$(HAVE_SIGINFO_T)|g' \
30               -e 's|@''HAVE_SIGACTION''@|$(HAVE_SIGACTION)|g' \
31               -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
32               < $(srcdir)/signal.in.h; \
33         } > $@-t
34         mv $@-t $@
35 MOSTLYCLEANFILES += signal.h signal.h-t
36
37 Include:
38 #include <signal.h>
39
40 License:
41 LGPL
42
43 Maintainer:
44 all