]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
(AC_SYS_RESTARTABLE_SYSCALLS):
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 8 Sep 2003 00:55:50 +0000 (00:55 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 8 Sep 2003 00:55:50 +0000 (00:55 +0000)
Improve the accuracy of the wording about obsolescence.

lib/autoconf/specific.m4

index 85e4c99d83c52206baa01f8429d60ee8e0cf6f0c..9b57442b408ae03fe17e76001dd63abc335735f7 100644 (file)
@@ -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,