252 |
# interrupted by a signal, define `HAVE_RESTARTABLE_SYSCALLS'. |
# interrupted by a signal, define `HAVE_RESTARTABLE_SYSCALLS'. |
253 |
AC_DEFUN([AC_SYS_RESTARTABLE_SYSCALLS], |
AC_DEFUN([AC_SYS_RESTARTABLE_SYSCALLS], |
254 |
[AC_DIAGNOSE([obsolete], |
[AC_DIAGNOSE([obsolete], |
255 |
[$0: System call restartability is now typically set at runtime. |
[$0: AC_SYS_RESTARTABLE_SYSCALLS is useful only when supporting very |
256 |
Remove this `AC_SYS_RESTARTABLE_SYSCALLS' |
old systems that lack `sigaction' and `SA_RESTART'. Don't bother with |
257 |
and adjust your code to use `sigaction' with `SA_RESTART' instead.])dnl |
this macro unless you need to support very old systems like 4.2BSD and |
258 |
|
SVR3.])dnl |
259 |
AC_REQUIRE([AC_HEADER_SYS_WAIT])dnl |
AC_REQUIRE([AC_HEADER_SYS_WAIT])dnl |
260 |
AC_CHECK_HEADERS(unistd.h) |
AC_CHECK_HEADERS(unistd.h) |
261 |
AC_CACHE_CHECK(for restartable system calls, ac_cv_sys_restartable_syscalls, |
AC_CACHE_CHECK(for restartable system calls, ac_cv_sys_restartable_syscalls, |