* lib/fcntl_.h: Prefer #include_next <foo.h> to #include
[gnulib.git] / modules / signal
1 Description:
2 A GNU-like <signal.h>.
3
4 Files:
5 lib/signal_.h
6 m4/signal_h.m4
7
8 Depends-on:
9 absolute-header
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_.h
21         rm -f $@-t $@
22         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
23           sed -e 's|@''ABSOLUTE_SIGNAL_H''@|$(ABSOLUTE_SIGNAL_H)|g' \
24               -e 's/@''HAVE_INCLUDE_NEXT''@/$(HAVE_INCLUDE_NEXT)/g' \
25               -e 's|@''GNULIB_SIGPROCMASK''@|$(GNULIB_SIGPROCMASK)|g' \
26               -e 's|@''HAVE_POSIX_SIGNALBLOCKING''@|$(HAVE_POSIX_SIGNALBLOCKING)|g' \
27               -e 's|@''HAVE_SIGSET_T''@|$(HAVE_SIGSET_T)|g' \
28               -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
29               < $(srcdir)/signal_.h; \
30         } > $@-t
31         mv $@-t $@
32 MOSTLYCLEANFILES += signal.h signal.h-t
33
34 Include:
35 #include <signal.h>
36
37 License:
38 LGPL
39
40 Maintainer:
41 all