make/make-3.79.1-siglist.patch
cvsdist 7da83e4821 auto-import changelog data from make-3.79.1-17.src.rpm
Wed Jan 22 2003 Tim Powers <timp@redhat.com>
- rebuilt
Sun Dec 29 2002 Tim Powers <timp@redhat.com>
- fix references to %install in the changelog so that the package will
    build
Tue Dec 03 2002 Elliot Lee <sopwith@redhat.com> 3.79.1-15
- _smp_mflags
- Fix ppc build (sys_siglist issues in patch2)
2004-09-09 08:14:09 +00:00

37 lines
1.1 KiB
Diff

--- make-3.79.1/configure.in.sopwith 2002-12-03 09:51:07.000000000 -0500
+++ make-3.79.1/configure.in 2002-12-03 09:51:07.000000000 -0500
@@ -32,7 +32,7 @@
AC_TYPE_PID_T
AC_TYPE_SIGNAL
AC_CHECK_HEADERS(stdlib.h unistd.h limits.h sys/param.h fcntl.h string.h \
- memory.h sys/time.h sys/timeb.h)
+ memory.h sys/time.h sys/timeb.h signal.h)
AC_PROG_CC_C_O
AM_PROG_CC_STDC
AC_C_CONST dnl getopt needs this.
@@ -144,7 +144,12 @@
fi
AC_MSG_RESULT($make_cv_union_wait)
-AC_DECL_SYS_SIGLIST
+ac_includes_default="$ac_includes_default
+#ifdef HAVE_SIGNAL_H
+#include <signal.h>
+#endif
+"
+AC_SYS_SIGLIST_DECLARED
# The presence of the following is not meant to imply
# that make necessarily works on those systems.
--- make-3.79.1/signame.c.sopwith 2002-12-03 09:53:15.000000000 -0500
+++ make-3.79.1/signame.c 2002-12-03 09:54:28.000000000 -0500
@@ -47,7 +47,7 @@
#else /* HAVE_SYS_SIGLIST. */
-#ifndef SYS_SIGLIST_DECLARED
+#if !defined(SYS_SIGLIST_DECLARED) && !defined(HAVE_DECL_SYS_SIGLIST)
extern char *sys_siglist[];
#endif /* Not SYS_SIGLIST_DECLARED. */