diff options
author | H.J. Lu <hongjiu.lu@intel.com> | 2007-05-30 17:48:10 +0000 |
---|---|---|
committer | H.J. Lu <hjl@gcc.gnu.org> | 2007-05-30 10:48:10 -0700 |
commit | 60c7a11a30c307068de2d0e2881c5c7465ba44b7 (patch) | |
tree | adfa6d442f0557fe79b4eb9707c0333d7d6025d1 | |
parent | 5abc5de9717ff675b52a8c1453ac83ef65ec5eb9 (diff) | |
download | gcc-60c7a11a30c307068de2d0e2881c5c7465ba44b7.zip gcc-60c7a11a30c307068de2d0e2881c5c7465ba44b7.tar.gz gcc-60c7a11a30c307068de2d0e2881c5c7465ba44b7.tar.bz2 |
re PR java/32098 (New libtool doesn't support libjava)
2007-05-30 H.J. Lu <hongjiu.lu@intel.com>
PR libjava/32098
* libtool.m4 (_LT_LANG_GCJ_CONFIG): Use gcc to test gcj features.
From-SVN: r125193
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | libtool.m4 | 10 |
2 files changed, 12 insertions, 3 deletions
@@ -1,3 +1,8 @@ +2007-05-30 H.J. Lu <hongjiu.lu@intel.com> + + PR libjava/32098 + * libtool.m4 (_LT_LANG_GCJ_CONFIG): Use gcc to test gcj features. + 2007-05-30 Richard Guenther <rguenther@suse.de> * MAINTAINERS (Various Maintainers): Add myself as @@ -6757,9 +6757,14 @@ _LT_TAG_COMPILER _LT_COMPILER_BOILERPLATE _LT_LINKER_BOILERPLATE +# We can't call gcj to test gcj features when building libjava in gcc +# since gcj may depend on ecj1 which may not be available yet. We use +# gcc to test gcj features. +ac_ext=c +lt_simple_compile_test_code="int some_variable = 0;" +lt_simple_link_test_code='int main(){return(0);}' + # Allow CC to be a program name with arguments. -lt_save_CC="$CC" -CC=${GCJ-"gcj"} compiler=$CC _LT_TAGVAR(compiler, $1)=$CC _LT_CC_BASENAME([$compiler]) @@ -6786,7 +6791,6 @@ if test -n "$compiler"; then fi AC_LANG_RESTORE -CC="$lt_save_CC" ])# _LT_LANG_GCJ_CONFIG |