home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / gnu / utils / bug / 2454 < prev    next >
Encoding:
Internet Message Format  |  1993-01-25  |  1.8 KB

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!cis.ohio-state.edu!shadow.TWinsun.COM!junio
  2. From: junio@shadow.TWinsun.COM (Jun Hamano)
  3. Newsgroups: gnu.utils.bug
  4. Subject: GNU make 3.63: configure.in fix
  5. Date: 25 Jan 1993 20:29:39 -0500
  6. Organization: GNUs Not Usenet
  7. Lines: 42
  8. Sender: daemon@cis.ohio-state.edu
  9. Approved: bug-gnu-utils@prep.ai.mit.edu
  10. Distribution: gnu
  11. Message-ID: <9301240924.AA27293@shadow.twinsun.com>
  12.  
  13. In make.h, SYS_SIGLIST_DECLARED is used to avoid the type
  14. conflict, but this preprocessor macro is not defined
  15. automatically by configure.  The following patch fixes this
  16. problem.
  17.  
  18. Note that I added acconfig.h file so that SYS_SIGLIST_DECLARED is
  19. included in generated config.h.in.  Also, HAVE_UNION_WAIT is
  20. added since autoheader reported it is not covered the acconfig.h
  21. came with autoconf.  Our autoheader might be of a bit different
  22. version from what `make' maintainers are using.
  23.  
  24. -- >8 ---- >8 ---- >8 ---- >8 ---- >8 ---- >8 ---- >8 ---- >8 --
  25. diff -c -r1.1 configure.in
  26. *** configure.in    1993/01/24 08:48:29    1.1
  27. --- configure.in    1993/01/24 08:49:06
  28. ***************
  29. *** 43,48 ****
  30. --- 43,53 ----
  31.             [union wait status; return wait (&status);],
  32.            AC_DEFINE(HAVE_UNION_WAIT))
  33.   
  34. + dnl Check to see if sys_siglist is declared in the header.
  35. + AC_COMPILE_CHECK(sys_siglist declaration,
  36. + [#include <signal.h>], [void *p = sys_siglist;],
  37. + AC_DEFINE(SYS_SIGLIST_DECLARED))
  38.   # The presence of the following is not meant to imply
  39.   # that make necessarily works on those systems.
  40.   AC_DYNIX_SEQ
  41.  
  42. diff -c -r1.1 acconfig.h
  43. *** acconfig.h    1993/01/24 08:54:36    1.1
  44. --- acconfig.h    1993/01/24 08:54:47
  45. ***************
  46. *** 0 ****
  47. --- 1,5 ----
  48. + /* Define if `union wait' is the type of the first arg to wait functions.  */
  49. + #undef HAVE_UNION_WAIT
  50. + /* Define if `sys_siglist' is declared in <signal.h> */
  51. + #undef SYS_SIGLIST_DECLARED
  52.  
  53.