Remove the wcwidth.h file. Move wcwidth's declaration to wchar_.h.
[gnulib.git] / m4 / signal_h.m4
index 4ac1e40..37ebca9 100644 (file)
@@ -1,4 +1,4 @@
-# signal_h.m4 serial 1
+# signal_h.m4 serial 3
 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,
@@ -7,9 +7,7 @@ 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])
+  gl_CHECK_NEXT_HEADERS([signal.h])
 ])
 
 AC_DEFUN([gl_SIGNAL_MODULE_INDICATOR],
@@ -21,5 +19,8 @@ AC_DEFUN([gl_SIGNAL_MODULE_INDICATOR],
 
 AC_DEFUN([gl_SIGNAL_H_DEFAULTS],
 [
+  GNULIB_SIGPROCMASK=0;        AC_SUBST([GNULIB_SIGPROCMASK])
   dnl Assume proper GNU behavior unless another module says otherwise.
+  HAVE_POSIX_SIGNALBLOCKING=1; AC_SUBST([HAVE_POSIX_SIGNALBLOCKING])
+  HAVE_SIGSET_T=1;             AC_SUBST([HAVE_SIGSET_T])
 ])