Add ap_sigwait() to support old-style sigwait().

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85101 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Sascha Schumann
2000-04-29 23:57:54 +00:00
parent d2892da2e6
commit 0cfb1d0be3
4 changed files with 21 additions and 2 deletions

View File

@ -177,6 +177,24 @@ unsigned long foo = INADDR_NONE;
fi
])
AC_DEFUN(APACHE_CHECK_SIGWAIT_ONE_ARG,[
AC_CACHE_CHECK(whether sigwait takes one argument,ac_cv_sigwait_one_arg,[
AC_TRY_COMPILE([
#include <signal.h>
],[
sigset_t set;
sigwait(&set);
],[
ac_cv_sigwait_one_arg=yes
],[
ac_cv_sigwait_one_arg=no
])])
if test "$ac_cv_sigwait_one_arg" = "yes"; then
AC_DEFINE(SIGWAIT_TAKES_ONE_ARG,1,[ ])
fi
])
AC_DEFUN(APACHE_CHECK_SHM_RW,[
AC_CACHE_CHECK([whether system defines SHM_R,SHM_W],ac_cv_shm_rw,[
AC_TRY_COMPILE([