aboutsummaryrefslogtreecommitdiff
path: root/libtool.m4
diff options
context:
space:
mode:
authorPaolo Bonzini <bonzini@gnu.org>2007-05-31 06:40:42 +0000
committerPaolo Bonzini <bonzini@gcc.gnu.org>2007-05-31 06:40:42 +0000
commiteecb746156c95ba35140a06a6f056f1f90d3e1a1 (patch)
treebf4dc603a731e0aa2308aba16b30a78ccf7b611c /libtool.m4
parented0e74e0a670f53ee3ea7e9ba58a70a3ce7e9d82 (diff)
downloadgcc-eecb746156c95ba35140a06a6f056f1f90d3e1a1.zip
gcc-eecb746156c95ba35140a06a6f056f1f90d3e1a1.tar.gz
gcc-eecb746156c95ba35140a06a6f056f1f90d3e1a1.tar.bz2
[multiple changes]
2003-05-31 Paolo Bonzini <bonzini@gnu.org> PR libjava/32098 * libtool.m4: Revert previous change. * ltgcc.m4: Put it here. libjava: 2007-05-31 Paolo Bonzini <bonzini@gnu.org> PR libjava/32098 * configure: Regenerated. * aclocal.m4: Regenerated. From-SVN: r125215
Diffstat (limited to 'libtool.m4')
-rw-r--r--libtool.m410
1 files changed, 3 insertions, 7 deletions
diff --git a/libtool.m4 b/libtool.m4
index e4986ca..46d5963 100644
--- a/libtool.m4
+++ b/libtool.m4
@@ -6757,14 +6757,9 @@ _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])
@@ -6791,6 +6786,7 @@ if test -n "$compiler"; then
fi
AC_LANG_RESTORE
+CC="$lt_save_CC"
])# _LT_LANG_GCJ_CONFIG