Re: Problem with __sys_siglist test under Tru64

2004-03-03 Thread Jim Meyering
Paul Eggert [EMAIL PROTECTED] wrote:
 Thanks for the bug report.  'configure' is generated from 'configure.ac',
 so I assume the following patch would be better.

 2004-03-01  Paul Eggert  [EMAIL PROTECTED]

   * configure.ac: Include signal.h when checking for strsignal,
   sys_siglist, and friends.  Problem reported by Toney Leneis in
   http://mail.gnu.org/archive/html/bug-coreutils/2004-02/msg00136.html.

Thanks to both of you.
I've applied that patch.


___
Bug-coreutils mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-coreutils


Re: Problem with __sys_siglist test under Tru64

2004-03-01 Thread Paul Eggert
Thanks for the bug report.  'configure' is generated from 'configure.ac',
so I assume the following patch would be better.

2004-03-01  Paul Eggert  [EMAIL PROTECTED]

* configure.ac: Include signal.h when checking for strsignal,
sys_siglist, and friends.  Problem reported by Toney Leneis in
http://mail.gnu.org/archive/html/bug-coreutils/2004-02/msg00136.html.

Index: configure.ac
===
RCS file: /home/meyering/coreutils/cu/configure.ac,v
retrieving revision 1.46
diff -p -u -r1.46 configure.ac
--- configure.ac22 Feb 2004 14:57:52 -  1.46
+++ configure.ac1 Mar 2004 21:31:33 -
@@ -225,7 +225,10 @@ if test $jm_cv_sys_tiocgwinsz_needs_term
 fi
 
 # For src/kill.c.
-AC_CHECK_DECLS([strsignal, strtoimax, sys_siglist, _sys_siglist, __sys_siglist])
+AC_CHECK_DECLS([strtoimax])
+AC_CHECK_DECLS([strsignal, sys_siglist, _sys_siglist, __sys_siglist], , ,
+  [AC_INCLUDES_DEFAULT
+#include signal.h])
 
 jm_LIB_CHECK
 


___
Bug-coreutils mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-coreutils