autoconf-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AC_DECL_SYS_SIGLIST obsolete


From: Paul Eggert
Subject: Re: AC_DECL_SYS_SIGLIST obsolete
Date: Fri, 11 Oct 2002 11:07:09 -0700 (PDT)

> From: Akim Demaille <address@hidden>
> Date: 11 Oct 2002 14:17:28 +0200
> 
> I'm applying the following.

On second thought, shouldn't AC_DECL_SYS_SIGLIST also try to find
sys_siglist in <signal.h>?  Jim's code didn't do that, but the old
tradition (still followed by GNU/Linux and Solaris) is that
sys_siglist is declared in <signal.h>, not <unistd.h>.  (BSD declares
it in both places.)

Obviously coreutils hasn't run into any hosts where this makes a
difference, but that may be because coreutils doesn't use siglist at
all if strsignal is available.  If some other old Autoconf-using app
uses sys_siglist but not strsignal, it will wrongly avoid using
sys_siglist on GNU/Linux and Solaris.

Sorry I didn't mention this point earlier....




reply via email to

[Prev in Thread] Current Thread [Next in Thread]