From eb767047cafca86704e5782591e4a2ac992b8864 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Mon, 8 Sep 2003 00:55:50 +0000 Subject: [PATCH] (AC_SYS_RESTARTABLE_SYSCALLS): Improve the accuracy of the wording about obsolescence. --- lib/autoconf/specific.m4 | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/lib/autoconf/specific.m4 b/lib/autoconf/specific.m4 index 85e4c99d..9b57442b 100644 --- a/lib/autoconf/specific.m4 +++ b/lib/autoconf/specific.m4 @@ -252,9 +252,10 @@ fi # interrupted by a signal, define `HAVE_RESTARTABLE_SYSCALLS'. AC_DEFUN([AC_SYS_RESTARTABLE_SYSCALLS], [AC_DIAGNOSE([obsolete], -[$0: System call restartability is now typically set at runtime. -Remove this `AC_SYS_RESTARTABLE_SYSCALLS' -and adjust your code to use `sigaction' with `SA_RESTART' instead.])dnl +[$0: AC_SYS_RESTARTABLE_SYSCALLS is useful only when supporting very +old systems that lack `sigaction' and `SA_RESTART'. Don't bother with +this macro unless you need to support very old systems like 4.2BSD and +SVR3.])dnl AC_REQUIRE([AC_HEADER_SYS_WAIT])dnl AC_CHECK_HEADERS(unistd.h) AC_CACHE_CHECK(for restartable system calls, ac_cv_sys_restartable_syscalls, -- 2.47.2