libtool-patches
[Top][All Lists]
Advanced

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

Obvious fixes for GCJ support in MLB


From: Alexandre Oliva
Subject: Obvious fixes for GCJ support in MLB
Date: 24 Jan 2001 00:21:53 -0200
User-agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Crater Lake)

I'm checking this in.

Index: ChangeLog
from  Alexandre Oliva  <address@hidden>

        * ltcf-gcj.sh (lt_simple_link_test_code): Remove stray `(0)'.
        * libtool.m4 (_AC_LIBTOOL_GCJ): Pass $CPPFLAGS on.

Index: ltcf-gcj.sh
===================================================================
RCS file: /home/cvs/libtool/Attic/ltcf-gcj.sh,v
retrieving revision 1.1.2.9
diff -u -p -r1.1.2.9 ltcf-gcj.sh
--- ltcf-gcj.sh 2000/11/01 00:18:34 1.1.2.9
+++ ltcf-gcj.sh 2001/01/24 02:14:24
@@ -2,7 +2,7 @@
 
 # ltcf-gcj.sh - Create a GCJ compiler specific configuration
 #
-# Copyright (C) 1996-1999,2000 Free Software Foundation, Inc.
+# Copyright (C) 1996-1999, 2000, 2001 Free Software Foundation, Inc.
 # Originally by Gordon Matzigkeit <address@hidden>, 1996
 #
 # Original GCJ support by:
@@ -38,7 +38,7 @@ objext=o
 lt_simple_compile_test_code="class foo {}"
 
 # Code to be used in simple link tests
-lt_simple_link_test_code='public class conftest { public static void 
main(String[] argv) {} (0); }'
+lt_simple_link_test_code='public class conftest { public static void 
main(String[] argv) {}; }'
 
 ## Linker Characteristics
 case "$host_os" in
Index: libtool.m4
===================================================================
RCS file: /home/cvs/libtool/libtool.m4,v
retrieving revision 1.71.2.43
diff -u -p -r1.71.2.43 libtool.m4
--- libtool.m4 2000/12/16 13:43:52 1.71.2.43
+++ libtool.m4 2001/01/24 02:14:25
@@ -1,5 +1,6 @@
 ## libtool.m4 - Configure libtool for the host system. -*-Shell-script-*-
-## Copyright 1996, 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
+## Copyright 1996, 1997, 1998, 1999, 2000, 2001
+## Free Software Foundation, Inc.
 ## Originally by Gordon Matzigkeit <address@hidden>, 1996
 ##
 ## This program is free software; you can redistribute it and/or modify
@@ -820,7 +821,7 @@ lt_save_CC="$CC"
 lt_save_CFLAGS="$CFLAGS"
 dnl Make sure LTCC is set to the C compiler, i.e. set LTCC before CC
 dnl is set to the C++ compiler.
-AR="$AR" LTCC="$CC" CC="$GCJ" CFLAGS="$GCJFLAGS" CPPFLAGS="" \
+AR="$AR" LTCC="$CC" CC="$GCJ" CFLAGS="$GCJFLAGS" CPPFLAGS="$CPPFLAGS" \
 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  address@hidden, redhat.com}
CS PhD student at IC-Unicamp        address@hidden, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me

reply via email to

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