Article View: gnu.utils.bug
Article #1317GNU make 3.63: configure.in fix
From: Jun Hamano
Date: Tue, 26 Jan 1993 01:29
Date: Tue, 26 Jan 1993 01:29
41 lines
1938 bytes
1938 bytes
In make.h, SYS_SIGLIST_DECLARED is used to avoid the type conflict, but this preprocessor macro is not defined automatically by configure. The following patch fixes this problem. Note that I added acconfig.h file so that SYS_SIGLIST_DECLARED is included in generated config.h.in. Also, HAVE_UNION_WAIT is added since autoheader reported it is not covered the acconfig.h came with autoconf. Our autoheader might be of a bit different version from what `make' maintainers are using. -- >8 ---- >8 ---- >8 ---- >8 ---- >8 ---- >8 ---- >8 ---- >8 -- diff -c -r1.1 configure.in *** configure.in 1993/01/24 08:48:29 1.1 --- configure.in 1993/01/24 08:49:06 *************** *** 43,48 **** --- 43,53 ---- [union wait status; return wait (&status);], AC_DEFINE(HAVE_UNION_WAIT)) + dnl Check to see if sys_siglist is declared in the header. + AC_COMPILE_CHECK(sys_siglist declaration, + [#include <signal.h>], [void *p = sys_siglist;], + AC_DEFINE(SYS_SIGLIST_DECLARED)) + # The presence of the following is not meant to imply # that make necessarily works on those systems. AC_DYNIX_SEQ diff -c -r1.1 acconfig.h *** acconfig.h 1993/01/24 08:54:36 1.1 --- acconfig.h 1993/01/24 08:54:47 *************** *** 0 **** --- 1,5 ---- + /* Define if `union wait' is the type of the first arg to wait functions. */ + #undef HAVE_UNION_WAIT + + /* Define if `sys_siglist' is declared in <signal.h> */ + #undef SYS_SIGLIST_DECLARED
Technical Details
Message-ID:
<9301240924.AA27293@shadow.twinsun.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!cis.ohio-state.edu!shadow.TWinsun.COM!junioShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!cis.ohio-state.edu!shadow.TWinsun.COM!junio From: junio@shadow.TWinsun.COM (Jun Hamano) Newsgroups: gnu.utils.bug Subject: GNU make 3.63: configure.in fix Date: 25 Jan 1993 20:29:39 -0500 Organization: GNUs Not Usenet Lines: 42 Sender: daemon@cis.ohio-state.edu Approved: bug-gnu-utils@prep.ai.mit.edu Distribution: gnu Message-ID: <9301240924.AA27293@shadow.twinsun.com>