better approach to running gcj tests

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8286 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2006-01-08 01:30:37 +00:00
commit bf80147426
5 changed files with 44 additions and 2 deletions

View file

@ -4,6 +4,7 @@ constants
constants2
funcptr
import
java
mpointer
multimap
multiple_inheritance

View file

@ -12,6 +12,7 @@ funcptr2
functor
import
import_template
java
#libffi
mpointer
multimap

View file

@ -9,6 +9,7 @@ functor
hashargs
import
import_template
java
mark_function
mpointer
multimap

View file

@ -5,6 +5,7 @@ contract
enum
funcptr
import
java
mpointer
multimap
operator

View file

@ -703,8 +703,8 @@ AC_SUBST(PERL5CCFLAGS)
#----------------------------------------------------------------
AC_ARG_WITH(java, AS_HELP_STRING([--without-java], [Disable Java])
AS_HELP_STRING([--with-java=path], [Set location of Java executable]),[JAVABIN="$withval"], [JAVABIN=yes])
AC_ARG_WITH(javac, [ --with-javac=path Set location of Javac executable],[JAVACBIN="$withval"], [JAVACBIN=])
AS_HELP_STRING([--with-java=path], [Set location of java executable]),[JAVABIN="$withval"], [JAVABIN=yes])
AC_ARG_WITH(javac, [ --with-javac=path Set location of javac executable],[JAVACBIN="$withval"], [JAVACBIN=])
# First, check for "--without-java" or "--with-java=no".
if test x"${JAVABIN}" = xno -o x"${with_alllang}" = xno ; then
@ -813,6 +813,34 @@ AC_SUBST(JAVALDSHARED)
AC_SUBST(JAVACXXSHARED)
AC_SUBST(JAVACFLAGS)
#----------------------------------------------------------------
# Look for gcj
#----------------------------------------------------------------
AC_ARG_WITH(gcj, AS_HELP_STRING([--without-gcj], [Disable GCJ])
AS_HELP_STRING([--with-gcj=path], [Set location of gcj executable]),[GCJBIN="$withval"], [GCJBIN=yes])
AC_ARG_WITH(gcjh, [ --with-gcjh=path Set location of gcjh executable],[GCJHBIN="$withval"], [GCJHBIN=])
# First, check for "--without-gcj" or "--with-gcj=no".
if test x"${GCJBIN}" = xno -o x"${with_alllang}" = xno ; then
AC_MSG_NOTICE([Disabling GCJ])
else
if test "x$GCJBIN" = xyes; then
AC_CHECK_PROGS(GCJ, gcj)
else
GCJ="$GCJBIN"
fi
if test -z "$GCJCBIN"; then
AC_CHECK_PROGS(GCJH, gcjh)
else
GCJH="$GCJHBIN"
fi
fi
AC_SUBST(GCJ)
AC_SUBST(GCJH)
#----------------------------------------------------------------
# Look for Guile
#----------------------------------------------------------------
@ -1777,6 +1805,16 @@ if test -z "$ALLEGROCLBIN" ; then
fi
AC_SUBST(SKIP_ALLEGROCL)
#----------------------------------------------------------------
# Additional language dependencies
#----------------------------------------------------------------
SKIP_GCJ=
if test -z "$GCJ" || test -z "$GCJH" ; then
SKIP_GCJ="1"
fi
AC_SUBST(SKIP_GCJ)
#----------------------------------------------------------------
# Miscellaneous
#----------------------------------------------------------------