This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

3.0 Patch: in-tree configury


This patch makes the in-tree configure and build succeed for me on
Solaris 2.6.  I don't have a theory as to why the in-tree build worked
on my x86 Linux build :-(.  The theory of the fix is that
configure.host is actually in srcdir, not `boehm_gc_basedir' -- I
believe that directory only makes sense when multilibs are in use
(though I admit to some confusion about it).

I needed to apply Nathan's libstdc++ `gthr.h' patch to test this.  I
also needed to work around a libffi problem (which I reported
elsewhere).

Nathan, could you give this a try?

Both changes have the same ChangeLog entry.

Please tell me whether this is ok for the branch.

2001-06-12  Tom Tromey  <tromey@redhat.com>

	* aclocal.m4, configure: Rebuilt.
	* acinclude.m4: Find configure.host in srcdir.

Tom

Index: boehm-gc/acinclude.m4
===================================================================
RCS file: /cvs/gcc/gcc/boehm-gc/acinclude.m4,v
retrieving revision 1.10.4.1
diff -u -r1.10.4.1 acinclude.m4
--- acinclude.m4	2001/06/08 17:59:15	1.10.4.1
+++ acinclude.m4	2001/06/12 18:25:32
@@ -140,7 +140,7 @@
   AC_EXEEXT
 fi
 
-. [$]{boehm_gc_basedir}/configure.host
+. [$]{srcdir}/configure.host
 
 case [$]{boehm_gc_basedir} in
 /* | [A-Za-z]:[/\\]*) boehm_gc_flagbasedir=[$]{boehm_gc_basedir} ;;
Index: libjava/acinclude.m4
===================================================================
RCS file: /cvs/gcc/gcc/libjava/acinclude.m4,v
retrieving revision 1.7.4.1
diff -u -r1.7.4.1 acinclude.m4
--- acinclude.m4	2001/06/08 17:58:11	1.7.4.1
+++ acinclude.m4	2001/06/12 18:25:32
@@ -79,7 +79,7 @@
 libgcj_cxxflags=
 libgcj_javaflags=
 
-. [$]{libgcj_basedir}/configure.host
+. [$]{srcdir}/configure.host
 
 case [$]{libgcj_basedir} in
 /* | [A-Za-z]:[/\\]*) libgcj_flagbasedir=[$]{libgcj_basedir} ;;


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]