summaryrefslogtreecommitdiff
path: root/m4/signal_h.m4
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2007-05-01 18:49:26 +0000
committerBruno Haible <bruno@clisp.org>2007-05-01 18:49:26 +0000
commit5ff2244edac1c60a2172d908b03a9762f50dfa40 (patch)
tree65b7fea7c29cab9739bf67bc9ab55d0de2be536c /m4/signal_h.m4
parent473a663dba5be199561383fcab1c44d5cb73f8b0 (diff)
downloadgnulib-5ff2244edac1c60a2172d908b03a9762f50dfa40.tar.gz
New module 'signal'.
Diffstat (limited to 'm4/signal_h.m4')
-rw-r--r--m4/signal_h.m425
1 files changed, 25 insertions, 0 deletions
diff --git a/m4/signal_h.m4 b/m4/signal_h.m4
new file mode 100644
index 0000000000..4ac1e402ae
--- /dev/null
+++ b/m4/signal_h.m4
@@ -0,0 +1,25 @@
+# signal_h.m4 serial 1
+dnl Copyright (C) 2007 Free Software Foundation, Inc.
+dnl This file is free software; the Free Software Foundation
+dnl gives unlimited permission to copy and/or distribute it,
+dnl with or without modifications, as long as this notice is preserved.
+
+AC_DEFUN([gl_SIGNAL_H],
+[
+ AC_REQUIRE([gl_SIGNAL_H_DEFAULTS])
+ gl_ABSOLUTE_HEADER([signal.h])
+ ABSOLUTE_SIGNAL_H=\"$gl_cv_absolute_signal_h\"
+ AC_SUBST([ABSOLUTE_SIGNAL_H])
+])
+
+AC_DEFUN([gl_SIGNAL_MODULE_INDICATOR],
+[
+ dnl Use AC_REQUIRE here, so that the default settings are expanded once only.
+ AC_REQUIRE([gl_SIGNAL_H_DEFAULTS])
+ GNULIB_[]m4_translit([$1],[abcdefghijklmnopqrstuvwxyz./-],[ABCDEFGHIJKLMNOPQRSTUVWXYZ___])=1
+])
+
+AC_DEFUN([gl_SIGNAL_H_DEFAULTS],
+[
+ dnl Assume proper GNU behavior unless another module says otherwise.
+])