IRIX has _sys_siglist.
Tru64 UNIX has __sys_siglist.

-- 
albert chin ([EMAIL PROTECTED])

-- snip snip
--- configure.in.orig   2005-07-05 14:32:45.287084000 -0500
+++ configure.in        2005-07-05 14:33:39.677488000 -0500
@@ -167,8 +167,9 @@
   fi
 fi
 
-AC_CHECK_DECLS([sys_siglist],,,
-[#include <signal.h>
+AC_CHECK_DECLS([sys_siglist, _sys_siglist, __sys_siglist], , ,
+  [AC_INCLUDES_DEFAULT
+#include <signal.h>
 /* NetBSD declares sys_siglist in unistd.h.  */
 #if HAVE_UNISTD_H
 # include <unistd.h>
--- signame.c.orig      2005-07-05 14:35:11.648785000 -0500
+++ signame.c   2005-07-05 14:41:35.062652000 -0500
@@ -27,7 +27,7 @@
    Otherwise create our own.
  */
 
-#if !defined(HAVE_DECL_SYS_SIGLIST)
+#if ! HAVE_DECL_SYS_SIGLIST
 
 /* Some systems do not define NSIG in <signal.h>.  */
 #ifndef        NSIG
@@ -235,6 +235,11 @@
   static char buf[] = "Signal 12345678901234567890";
 
 #if ! HAVE_DECL_SYS_SIGLIST
+#if HAVE_DECL__SYS_SIGLIST
+#define sys_siglist _sys_siglist
+#elif HAVE_DECL___SYS_SIGLIST
+#define sys_siglist __sys_siglist
+#endif
   static char sig_initted = 0;
 
   if (!sig_initted)


_______________________________________________
Bug-make mailing list
Bug-make@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-make

Reply via email to