bison-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Bison m4/subpipe.m4 patch for sys/wait.h


From: Paul Eggert
Subject: Bison m4/subpipe.m4 patch for sys/wait.h
Date: 12 Mar 2003 16:03:40 -0800
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.3

I noticed the following output when configuring CVS Bison on Solaris 7:

checking for sys/wait.h... yes
checking for sys/wait.h that is POSIX.1 compatible... (cached) yes

The first item should not establish a cache for the second one,
so I installed this patch:

2003-03-12  Paul Eggert  <address@hidden>

        * m4/subpipe.m4 (BISON_PREREQ_SUBPIPE): Don't
        AC_CHECK_HEADERS([sys/wait.h]), as this interferes with
        AC_HEADER_SYS_WAIT.

--- m4/subpipe.m4       20 Oct 2002 06:27:35 -0000      1.1
+++ m4/subpipe.m4       12 Mar 2003 23:57:08 -0000
@@ -1,7 +1,7 @@
 # -*- Autoconf -*-
 # Checks required to run `subpipe'.
 #
-# Copyright (C) 2002 Free Software Foundation, Inc.
+# Copyright (C) 2002, 2003 Free Software Foundation, Inc.
 #
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -23,7 +23,7 @@
 AC_DEFUN([BISON_PREREQ_SUBPIPE],
 [
  AC_TYPE_PID_T
- AC_CHECK_HEADERS([fcntl.h sys/wait.h])
+ AC_CHECK_HEADERS([fcntl.h])
  AC_HEADER_SYS_WAIT
  AC_CHECK_FUNCS(dup2 waitpid)
  AC_FUNC_FORK




reply via email to

[Prev in Thread] Current Thread [Next in Thread]