Do the Windows oldnames workaround through the C++ GNULIB_NAMESPACE.
[gnulib.git] / modules / signal-h
blob2f38e9bf7ddec61597e2827a53a0329c5c21f329
1 Description:
2 A GNU-like <signal.h>.
4 Files:
5 lib/signal.in.h
6 m4/signal_h.m4
7 m4/pid_t.m4
9 Depends-on:
10 include_next
11 snippet/arg-nonnull
12 snippet/c++defs
13 snippet/warn-on-use
14 extensions
16 configure.ac:
17 gl_SIGNAL_H
19 Makefile.am:
20 BUILT_SOURCES += signal.h
22 # We need the following in order to create <signal.h> when the system
23 # doesn't have a complete one.
24 signal.h: signal.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
25         $(AM_V_GEN)rm -f $@-t $@ && \
26         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
27           sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
28               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
29               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
30               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
31               -e 's|@''NEXT_SIGNAL_H''@|$(NEXT_SIGNAL_H)|g' \
32               -e 's/@''GNULIB_PTHREAD_SIGMASK''@/$(GNULIB_PTHREAD_SIGMASK)/g' \
33               -e 's/@''GNULIB_RAISE''@/$(GNULIB_RAISE)/g' \
34               -e 's/@''GNULIB_SIGNAL_H_SIGPIPE''@/$(GNULIB_SIGNAL_H_SIGPIPE)/g' \
35               -e 's/@''GNULIB_SIGPROCMASK''@/$(GNULIB_SIGPROCMASK)/g' \
36               -e 's/@''GNULIB_SIGACTION''@/$(GNULIB_SIGACTION)/g' \
37               -e 's|@''HAVE_POSIX_SIGNALBLOCKING''@|$(HAVE_POSIX_SIGNALBLOCKING)|g' \
38               -e 's|@''HAVE_PTHREAD_SIGMASK''@|$(HAVE_PTHREAD_SIGMASK)|g' \
39               -e 's|@''HAVE_RAISE''@|$(HAVE_RAISE)|g' \
40               -e 's|@''HAVE_SIGSET_T''@|$(HAVE_SIGSET_T)|g' \
41               -e 's|@''HAVE_SIGINFO_T''@|$(HAVE_SIGINFO_T)|g' \
42               -e 's|@''HAVE_SIGACTION''@|$(HAVE_SIGACTION)|g' \
43               -e 's|@''HAVE_STRUCT_SIGACTION_SA_SIGACTION''@|$(HAVE_STRUCT_SIGACTION_SA_SIGACTION)|g' \
44               -e 's|@''HAVE_TYPE_VOLATILE_SIG_ATOMIC_T''@|$(HAVE_TYPE_VOLATILE_SIG_ATOMIC_T)|g' \
45               -e 's|@''HAVE_SIGHANDLER_T''@|$(HAVE_SIGHANDLER_T)|g' \
46               -e 's|@''REPLACE_PTHREAD_SIGMASK''@|$(REPLACE_PTHREAD_SIGMASK)|g' \
47               -e 's|@''REPLACE_RAISE''@|$(REPLACE_RAISE)|g' \
48               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
49               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
50               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
51               < $(srcdir)/signal.in.h; \
52         } > $@-t && \
53         mv $@-t $@
54 MOSTLYCLEANFILES += signal.h signal.h-t
56 Include:
57 <signal.h>
59 License:
60 LGPLv2+
62 Maintainer:
63 all