I broke the build

Tom Tromey tromey@redhat.com
Thu Feb 7 11:22:00 GMT 2002


>>>>> "Adam" == Adam Megacz <patches@lists.megacz.com> writes:

Adam> Okay, for some reason AC_HEADER_SYS_WAIT() isn't defining
Adam> HAVE_SYS_WAIT_H on Linux (I only tested mingw, yes I know this
Adam> is bad).

I'm fixing this with the appended patch.
I'm also adding the conditional in name-finder.h.

Adam> I'm too tired to figure out why right now, so I'm committing
Adam> this patch to undo what I did, in the interest of not leaving
Adam> the repository in a broken state.

FYI, you have to add a ChangeLog entry for every change, even one that
just backs out an earlier change.


Also, I've noticed that several files are copyright "Red Hat".
This is incorrect; these should be changed to the FSF.

Tom

Index: ChangeLog
from  Tom Tromey  <tromey@redhat.com>
	* include/name-finder.h: Conditionally include sys/wait.h.
	* include/config.h.in: Rebuilt.

Index: include/config.h.in
===================================================================
RCS file: /cvs/gcc/gcc/libjava/include/config.h.in,v
retrieving revision 1.37
diff -u -r1.37 config.h.in
--- include/config.h.in 2002/02/07 03:24:06 1.37
+++ include/config.h.in 2002/02/07 19:20:17
@@ -13,6 +13,9 @@
 /* Define if you have <alloca.h> and it should be used (not on Ultrix).  */
 #undef HAVE_ALLOCA_H
 
+/* Define if you have <sys/wait.h> that is POSIX.1 compatible.  */
+#undef HAVE_SYS_WAIT_H
+
 /* Define if your struct tm has tm_zone.  */
 #undef HAVE_TM_ZONE
 
Index: include/name-finder.h
===================================================================
RCS file: /cvs/gcc/gcc/libjava/include/name-finder.h,v
retrieving revision 1.4
diff -u -r1.4 name-finder.h
--- include/name-finder.h 2002/02/07 10:02:59 1.4
+++ include/name-finder.h 2002/02/07 19:20:17
@@ -1,6 +1,6 @@
 // name-finder.h - Convert addresses to names
 
-/* Copyright (C) 2000  Red Hat Inc
+/* Copyright (C) 2000, 2002  Red Hat Inc
 
    This file is part of libgcj.
 
@@ -18,7 +18,9 @@
 
 #include <sys/types.h>
 
+#ifdef HAVE_SYS_WAIT_H
 #include <sys/wait.h>
+#endif
 
 #include <string.h>
 #include <stdio.h>



More information about the Java-patches mailing list