Patch: FYI: install fix

Tom Tromey tromey@redhat.com
Fri Aug 1 16:02:00 GMT 2003


I'm checking this in on the trunk.

Last night's build revealed that Geoff's changes to how gcc is
installed didn't take libgcj into account.  This patch fixes the
problem, so that libgcj-config.h is now findable by g++.

Tom

Index: ChangeLog
from  Tom Tromey  <tromey@redhat.com>

	* configure: Rebuilt.
	* configure.in (tool_include_dir): Redefine to match gcc.

Index: configure.in
===================================================================
RCS file: /cvs/gcc/gcc/libjava/configure.in,v
retrieving revision 1.163
diff -u -r1.163 configure.in
--- configure.in 31 Jul 2003 11:55:05 -0000 1.163
+++ configure.in 1 Aug 2003 15:50:06 -0000
@@ -538,7 +538,7 @@
 gcc_version_trigger=${libgcj_basedir}/../gcc/version.c
 gcc_version_full=`grep version_string ${gcc_version_trigger} | sed -e 's/.*\"\([^\"]*\)\".*/\1/'`
 gcc_version=`echo ${gcc_version_full} | sed -e 's/\([^ ]*\) .*/\1/'`
-tool_include_dir='$(libdir)/gcc-lib/$(target_alias)/'${gcc_version}/include
+tool_include_dir='$(libdir)/gcc/$(target_alias)/'${gcc_version}/include
 changequote([,])dnl
 AC_SUBST(tool_include_dir)
 AC_SUBST(gcc_version)



More information about the Java-patches mailing list