Commit 0006091e by Alexandre Oliva Committed by Alexandre Oliva

ltcf-gcj.sh (lt_simple_link_test_code): Remove stray `(0)'.

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

From-SVN: r39223
parent 240f9c2b
2001-01-24 Alexandre Oliva <aoliva@redhat.com>
* ltcf-gcj.sh (lt_simple_link_test_code): Remove stray `(0)'.
* libtool.m4 (_AC_LIBTOOL_GCJ): Pass $CPPFLAGS on.
2001-01-23 Bryce McKinlay <bryce@albatross.co.nz> 2001-01-23 Bryce McKinlay <bryce@albatross.co.nz>
* configure.in: Enable libgcj on several additional platforms. * configure.in: Enable libgcj on several additional platforms.
......
## libtool.m4 - Configure libtool for the host system. -*-Shell-script-*- ## libtool.m4 - Configure libtool for the host system. -*-Shell-script-*-
## Copyright (C) 1996-1999,2000 Free Software Foundation, Inc. ## Copyright 1996, 1997, 1998, 1999, 2000, 2001
## Free Software Foundation, Inc.
## Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996 ## Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
## ##
## This program is free software; you can redistribute it and/or modify ## This program is free software; you can redistribute it and/or modify
...@@ -802,7 +803,7 @@ lt_save_CC="$CC" ...@@ -802,7 +803,7 @@ lt_save_CC="$CC"
lt_save_CFLAGS="$CFLAGS" lt_save_CFLAGS="$CFLAGS"
dnl Make sure LTCC is set to the C compiler, i.e. set LTCC before CC dnl Make sure LTCC is set to the C compiler, i.e. set LTCC before CC
dnl is set to the C++ compiler. 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" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \ MAGIC_CMD="$MAGIC_CMD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \ LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \ AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
# ltcf-gcj.sh - Create a GCJ compiler specific configuration # 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 <gord@gnu.ai.mit.edu>, 1996 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
# #
# Original GCJ support by: # Original GCJ support by:
...@@ -38,7 +38,7 @@ objext=o ...@@ -38,7 +38,7 @@ objext=o
lt_simple_compile_test_code="class foo {}" lt_simple_compile_test_code="class foo {}"
# Code to be used in simple link tests # 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 ## Linker Characteristics
case "$host_os" in case "$host_os" in
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment