This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: [gcj-eclipse-merge-branch] gcj-dbtool and cross-compilation
Tom Tromey <tromey@redhat.com> writes:
>>>>>> "Andrew" == Andrew Haley <aph@redhat.com> writes:
> Andrew> Just take out the call to gcj-dbtool when cross-compiling.
> This should already be done... see dbexec_DATA in Makefile.am, it is
> conditional on NATIVE being defined. If this isn't working then there
> is a bug somewhere -- either in configure or we picked the wrong
> condition here.
I found the following to be necessary. Ok to commit? (I'm being
overly careful for the first few days "back in the code" lest I
stumble over something that changed a lot -- just want to double
check).
- a
Index: libjava/configure.ac
===================================================================
--- libjava/configure.ac (revision 119574)
+++ libjava/configure.ac (working copy)
@@ -1315,6 +1315,7 @@
AC_SUBST(EXCEPTIONSPEC)
AC_SUBST(BACKTRACESPEC)
AC_SUBST(IEEESPEC)
+AC_SUBST(NATIVE)
AM_CONDITIONAL(NATIVE, test "$NATIVE" = yes)
AM_CONDITIONAL(NEEDS_DATA_START, test "$NEEDS_DATA_START" = yes && test "$NATIVE" = yes)