mirror of
git://git.savannah.gnu.org/libtool.git
synced 2024-11-21 01:40:57 +08:00
* tests/convenience.at (Java convenience archives): Skip test if
gcj cannot compile a working executable from .java files. Report by Nelson H. F. Beebe.
This commit is contained in:
parent
b04c7061f4
commit
8314993c63
@ -1,5 +1,9 @@
|
||||
2008-03-07 Peter O'Gorman <peter@pogma.com>
|
||||
|
||||
* tests/convenience.at (Java convenience archives): Skip test if
|
||||
gcj cannot compile a working executable from .java files.
|
||||
Report by Nelson H. F. Beebe.
|
||||
|
||||
* libltdl/m4/libtool.m4 (_LT_LANG_GCJ_CONFIG): Need to set LD.
|
||||
Reported by Nelson H. F. Beebe.
|
||||
|
||||
|
@ -262,8 +262,10 @@ EOF
|
||||
# There are just too many broken gcj installations out there, either missing
|
||||
# libgcj.spec or unable to find it. Skip this test for them.
|
||||
if test $i -eq 1; then
|
||||
AT_CHECK[($GCJ $GCJFLAGS -c foo1.java || exit 77], [], [ignore], [ignore])
|
||||
rm -f foo1.o foo1.obj
|
||||
AT_CHECK([$GCJ $GCJFLAGS -c foo1.java || exit 77], [], [ignore], [ignore])
|
||||
AT_CHECK([$GCJ $GCJFLAGS --main=foo1 -o foo1 foo1.java A1.java || exit 77],[],[ignore],[ignore])
|
||||
AT_CHECK([./foo1$EXEEXT || exit 77],[],[ignore],[ignore])
|
||||
rm -f foo1.o foo1.obj foo1$EXEEXT
|
||||
fi
|
||||
|
||||
$LIBTOOL --tag=GCJ --mode=compile $GCJ $GCJFLAGS -c foo$i.java
|
||||
|
Loading…
Reference in New Issue
Block a user