[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Autoconf 2.57
From: |
Franck Lombardi |
Subject: |
Autoconf 2.57 |
Date: |
Sat, 28 Dec 2002 14:46:14 +0100 |
User-agent: |
KMail/1.4.3 |
This should make `bootstrap' compatible with Autoconf 2.57.
Index: ChangeLog
from Franck Lombardi <address@hidden>
* configure.in: Require Autoconf 2.57.
Run AC_CHECK_DECLS([sys_siglist]) instead of AC_DECL_SYS_SIGLIST.
* lib/signame.c: Require Autoconf 2.57.
Use HAVE_DECL_SYS_SIGLIST instead of SYS_SIGLIST_DECLARED.
Index: configure.in
===================================================================
RCS file: /cvsroot/a2ps/a2ps/configure.in,v
retrieving revision 1.8
diff -u -r1.8 configure.in
--- configure.in 18 Sep 2002 10:04:39 -0000 1.8
+++ configure.in 28 Dec 2002 13:31:43 -0000
@@ -3,7 +3,7 @@
## Initialization. ##
## ---------------- ##
-AC_PREREQ(2.53c)
+AC_PREREQ(2.57)
AC_INIT([GNU a2ps], [4.49a], address@hidden)
AC_COPYRIGHT([Copyright (C) 2002 Akim Demaille, Miguel Santana])
m4_pattern_forbid([^jm_[A-Z]])
@@ -101,7 +101,13 @@
AC_EXEEXT
# Checking for sys_siglist. Stolen from gmake-3.77
-AC_DECL_SYS_SIGLIST
+AC_CHECK_DECLS([sys_siglist],,,
+[#include <sys/types.h>
+#include <signal.h>
+/* NetBSD declares sys_siglist in unistd.h. */
+#if HAVE_UNISTD_H
+# include <unistd.h>
+#endif])
AC_MSG_CHECKING(for sys_siglist)
AC_CACHE_VAL(ac_cv_check_symbol_sys_siglist,
[AC_TRY_LINK(, [extern char *sys_siglist[]; puts(*sys_siglist);],
Index: lib/signame.c
===================================================================
RCS file: /cvsroot/a2ps/a2ps/lib/signame.c,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 signame.c
--- lib/signame.c 4 Mar 2002 18:46:25 -0000 1.1.1.1
+++ lib/signame.c 28 Dec 2002 13:31:43 -0000
@@ -62,9 +62,9 @@
#else /* HAVE_SYS_SIGLIST. */
-#ifndef SYS_SIGLIST_DECLARED
+#if defined HAVE_DECL_SYS_SIGLIST && !HAVE_DECL_SYS_SIGLIST
extern char *sys_siglist[];
-#endif /* Not SYS_SIGLIST_DECLARED. */
+#endif /* Not HAVE_DECL_SYS_SIGLIST. */
#endif /* Not HAVE_SYS_SIGLIST. */
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Autoconf 2.57,
Franck Lombardi <=