bug-make
[Top][All Lists]
Advanced

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

make 3.81 beta v3: broken #if test in signame.c


From: Burgers A.R.
Subject: make 3.81 beta v3: broken #if test in signame.c
Date: Tue, 16 Aug 2005 15:37:56 +0200
User-agent: Mozilla/5.0 (X11; U; OSF1 alpha; en-US; rv:1.7.3) Gecko/20040914

LS,

the test on HAVE_DECL_SYS_SIGLIST in signame.c is broken.
HAVE_DECL_SYS_SIGLIST is always defined, but it may be
set to 0 by the configure script. The test will always
evaluate to true.

This is on Tru64 where sig_siglist is not available,
but __sig_siglist is. For a patch regarding __sig_siglist
see

http://lists.gnu.org/archive/html/bug-make/2005-07/msg00002.html

Teun

--- signame.c~ 2005-04-08 14:51:20.000000000 +0200
+++ signame.c 2005-08-16 15:01:07.000000000 +0200
@@ -27,7 +27,7 @@
    Otherwise create our own.
  */

-#if !defined(HAVE_DECL_SYS_SIGLIST)
+#if (HAVE_DECL_SYS_SIGLIST == 0)

 /* Some systems do not define NSIG in <signal.h>.  */
 #ifndef NSIG




reply via email to

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