summaryrefslogtreecommitdiffstats
path: root/libtool.m4
diff options
context:
space:
mode:
authorH.J. Lu <hongjiu.lu@intel.com>2007-05-30 17:48:10 +0000
committerH.J. Lu <hjl@gcc.gnu.org>2007-05-30 10:48:10 -0700
commit60c7a11a30c307068de2d0e2881c5c7465ba44b7 (patch)
treeadfa6d442f0557fe79b4eb9707c0333d7d6025d1 /libtool.m4
parentgenrecog.c: Include regs.h in generated file. (diff)
downloadgcc-60c7a11a30c307068de2d0e2881c5c7465ba44b7.tar.gz
gcc-60c7a11a30c307068de2d0e2881c5c7465ba44b7.tar.bz2
gcc-60c7a11a30c307068de2d0e2881c5c7465ba44b7.tar.xz
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
Diffstat (limited to 'libtool.m4')
-rw-r--r--libtool.m410
1 files changed, 7 insertions, 3 deletions
diff --git a/libtool.m4 b/libtool.m4
index 46d59635dfa..e4986cadf79 100644
--- a/libtool.m4
+++ b/libtool.m4
@@ -6757,9 +6757,14 @@ _LT_TAG_COMPILER
6757_LT_COMPILER_BOILERPLATE 6757_LT_COMPILER_BOILERPLATE
6758_LT_LINKER_BOILERPLATE 6758_LT_LINKER_BOILERPLATE
6759 6759
6760# We can't call gcj to test gcj features when building libjava in gcc
6761# since gcj may depend on ecj1 which may not be available yet. We use
6762# gcc to test gcj features.
6763ac_ext=c
6764lt_simple_compile_test_code="int some_variable = 0;"
6765lt_simple_link_test_code='int main(){return(0);}'
6766
6760# Allow CC to be a program name with arguments. 6767# Allow CC to be a program name with arguments.
6761lt_save_CC="$CC"
6762CC=${GCJ-"gcj"}
6763compiler=$CC 6768compiler=$CC
6764_LT_TAGVAR(compiler, $1)=$CC 6769_LT_TAGVAR(compiler, $1)=$CC
6765_LT_CC_BASENAME([$compiler]) 6770_LT_CC_BASENAME([$compiler])
@@ -6786,7 +6791,6 @@ if test -n "$compiler"; then
6786fi 6791fi
6787 6792
6788AC_LANG_RESTORE 6793AC_LANG_RESTORE
6789CC="$lt_save_CC"
6790])# _LT_LANG_GCJ_CONFIG 6794])# _LT_LANG_GCJ_CONFIG
6791 6795
6792 6796