Skip to content

Commit

Permalink
* ltcf-gcj.sh (lt_simple_link_test_code): Remove stray `(0)'.
Browse files Browse the repository at this point in the history
* libtool.m4 (_AC_LIBTOOL_GCJ): Pass $CPPFLAGS on.
  • Loading branch information
Alexandre Oliva committed Jan 24, 2001
1 parent e5da8f3 commit ef09975
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
5 changes: 5 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
2001-01-24 Alexandre Oliva <[email protected]>

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

2000-11-07 Philip Blundell <[email protected]>

* Makefile.in (ETC_SUPPORT): Also add configbuild.* and configdev.*.
Expand Down
5 changes: 3 additions & 2 deletions libtool.m4
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
## 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 <[email protected]>, 1996
##
## This program is free software; you can redistribute it and/or modify
Expand Down Expand Up @@ -802,7 +803,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" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
Expand Down
4 changes: 2 additions & 2 deletions ltcf-gcj.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 <[email protected]>, 1996
#
# Original GCJ support by:
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit ef09975

Please sign in to comment.