version 1.1.1.2, 2012/05/29 09:29:44
|
version 1.1.1.3, 2021/03/17 13:38:46
|
Line 1
|
Line 1
|
# signal_h.m4 serial 16 | # signal_h.m4 serial 18 |
dnl Copyright (C) 2007-2011 Free Software Foundation, Inc. | dnl Copyright (C) 2007-2019 Free Software Foundation, Inc. |
dnl This file is free software; the Free Software Foundation |
dnl This file is free software; the Free Software Foundation |
dnl gives unlimited permission to copy and/or distribute it, |
dnl gives unlimited permission to copy and/or distribute it, |
dnl with or without modifications, as long as this notice is preserved. |
dnl with or without modifications, as long as this notice is preserved. |
Line 17 AC_DEFUN([gl_SIGNAL_H],
|
Line 17 AC_DEFUN([gl_SIGNAL_H],
|
#include <signal.h> |
#include <signal.h> |
]]) |
]]) |
|
|
|
dnl Ensure the type pid_t gets defined. |
|
AC_REQUIRE([AC_TYPE_PID_T]) |
|
|
AC_REQUIRE([AC_TYPE_UID_T]) |
AC_REQUIRE([AC_TYPE_UID_T]) |
|
|
dnl Persuade glibc <signal.h> to define sighandler_t. |
dnl Persuade glibc <signal.h> to define sighandler_t. |
Line 59 AC_DEFUN([gl_SIGNAL_MODULE_INDICATOR],
|
Line 62 AC_DEFUN([gl_SIGNAL_MODULE_INDICATOR],
|
AC_DEFUN([gl_SIGNAL_H_DEFAULTS], |
AC_DEFUN([gl_SIGNAL_H_DEFAULTS], |
[ |
[ |
GNULIB_PTHREAD_SIGMASK=0; AC_SUBST([GNULIB_PTHREAD_SIGMASK]) |
GNULIB_PTHREAD_SIGMASK=0; AC_SUBST([GNULIB_PTHREAD_SIGMASK]) |
|
GNULIB_RAISE=0; AC_SUBST([GNULIB_RAISE]) |
GNULIB_SIGNAL_H_SIGPIPE=0; AC_SUBST([GNULIB_SIGNAL_H_SIGPIPE]) |
GNULIB_SIGNAL_H_SIGPIPE=0; AC_SUBST([GNULIB_SIGNAL_H_SIGPIPE]) |
GNULIB_SIGPROCMASK=0; AC_SUBST([GNULIB_SIGPROCMASK]) |
GNULIB_SIGPROCMASK=0; AC_SUBST([GNULIB_SIGPROCMASK]) |
GNULIB_SIGACTION=0; AC_SUBST([GNULIB_SIGACTION]) |
GNULIB_SIGACTION=0; AC_SUBST([GNULIB_SIGACTION]) |
dnl Assume proper GNU behavior unless another module says otherwise. |
dnl Assume proper GNU behavior unless another module says otherwise. |
HAVE_POSIX_SIGNALBLOCKING=1; AC_SUBST([HAVE_POSIX_SIGNALBLOCKING]) |
HAVE_POSIX_SIGNALBLOCKING=1; AC_SUBST([HAVE_POSIX_SIGNALBLOCKING]) |
HAVE_PTHREAD_SIGMASK=1; AC_SUBST([HAVE_PTHREAD_SIGMASK]) |
HAVE_PTHREAD_SIGMASK=1; AC_SUBST([HAVE_PTHREAD_SIGMASK]) |
|
HAVE_RAISE=1; AC_SUBST([HAVE_RAISE]) |
HAVE_SIGSET_T=1; AC_SUBST([HAVE_SIGSET_T]) |
HAVE_SIGSET_T=1; AC_SUBST([HAVE_SIGSET_T]) |
HAVE_SIGINFO_T=1; AC_SUBST([HAVE_SIGINFO_T]) |
HAVE_SIGINFO_T=1; AC_SUBST([HAVE_SIGINFO_T]) |
HAVE_SIGACTION=1; AC_SUBST([HAVE_SIGACTION]) |
HAVE_SIGACTION=1; AC_SUBST([HAVE_SIGACTION]) |
Line 74 AC_DEFUN([gl_SIGNAL_H_DEFAULTS],
|
Line 79 AC_DEFUN([gl_SIGNAL_H_DEFAULTS],
|
AC_SUBST([HAVE_TYPE_VOLATILE_SIG_ATOMIC_T]) |
AC_SUBST([HAVE_TYPE_VOLATILE_SIG_ATOMIC_T]) |
HAVE_SIGHANDLER_T=1; AC_SUBST([HAVE_SIGHANDLER_T]) |
HAVE_SIGHANDLER_T=1; AC_SUBST([HAVE_SIGHANDLER_T]) |
REPLACE_PTHREAD_SIGMASK=0; AC_SUBST([REPLACE_PTHREAD_SIGMASK]) |
REPLACE_PTHREAD_SIGMASK=0; AC_SUBST([REPLACE_PTHREAD_SIGMASK]) |
|
REPLACE_RAISE=0; AC_SUBST([REPLACE_RAISE]) |
]) |
]) |