1 dnl ######################################################################
2 dnl check if a system needs to restart its signal handlers
3 AC_DEFUN([AMU_CHECK_RESTARTABLE_SIGNAL_HANDLER],
5 AC_CACHE_CHECK(if system needs to restart signal handlers,
6 ac_cv_restartable_signal_handler,
8 # select the correct systems to restart signal handlers
9 case "${host_os_name}" in
10 svr3* | svr4* | sysv4* | solaris2* | sunos5* | aoi* | irix* )
11 ac_cv_restartable_signal_handler=yes ;;
13 ac_cv_restartable_signal_handler=no ;;
16 # define REINSTALL_SIGNAL_HANDLER if need to
17 if test "$ac_cv_restartable_signal_handler" = yes
19 AC_DEFINE(REINSTALL_SIGNAL_HANDLER)
22 dnl ======================================================================