better approach to running gcj tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8286 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
4d5e38b01f
commit
529882178a
5 changed files with 44 additions and 2 deletions
|
|
@ -4,6 +4,7 @@ constants
|
||||||
constants2
|
constants2
|
||||||
funcptr
|
funcptr
|
||||||
import
|
import
|
||||||
|
java
|
||||||
mpointer
|
mpointer
|
||||||
multimap
|
multimap
|
||||||
multiple_inheritance
|
multiple_inheritance
|
||||||
|
|
|
||||||
|
|
@ -12,6 +12,7 @@ funcptr2
|
||||||
functor
|
functor
|
||||||
import
|
import
|
||||||
import_template
|
import_template
|
||||||
|
java
|
||||||
#libffi
|
#libffi
|
||||||
mpointer
|
mpointer
|
||||||
multimap
|
multimap
|
||||||
|
|
|
||||||
|
|
@ -9,6 +9,7 @@ functor
|
||||||
hashargs
|
hashargs
|
||||||
import
|
import
|
||||||
import_template
|
import_template
|
||||||
|
java
|
||||||
mark_function
|
mark_function
|
||||||
mpointer
|
mpointer
|
||||||
multimap
|
multimap
|
||||||
|
|
|
||||||
|
|
@ -5,6 +5,7 @@ contract
|
||||||
enum
|
enum
|
||||||
funcptr
|
funcptr
|
||||||
import
|
import
|
||||||
|
java
|
||||||
mpointer
|
mpointer
|
||||||
multimap
|
multimap
|
||||||
operator
|
operator
|
||||||
|
|
|
||||||
|
|
@ -703,8 +703,8 @@ AC_SUBST(PERL5CCFLAGS)
|
||||||
#----------------------------------------------------------------
|
#----------------------------------------------------------------
|
||||||
|
|
||||||
AC_ARG_WITH(java, AS_HELP_STRING([--without-java], [Disable Java])
|
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])
|
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=])
|
AC_ARG_WITH(javac, [ --with-javac=path Set location of javac executable],[JAVACBIN="$withval"], [JAVACBIN=])
|
||||||
|
|
||||||
# First, check for "--without-java" or "--with-java=no".
|
# First, check for "--without-java" or "--with-java=no".
|
||||||
if test x"${JAVABIN}" = xno -o x"${with_alllang}" = xno ; then
|
if test x"${JAVABIN}" = xno -o x"${with_alllang}" = xno ; then
|
||||||
|
|
@ -813,6 +813,34 @@ AC_SUBST(JAVALDSHARED)
|
||||||
AC_SUBST(JAVACXXSHARED)
|
AC_SUBST(JAVACXXSHARED)
|
||||||
AC_SUBST(JAVACFLAGS)
|
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
|
# Look for Guile
|
||||||
#----------------------------------------------------------------
|
#----------------------------------------------------------------
|
||||||
|
|
@ -1777,6 +1805,16 @@ if test -z "$ALLEGROCLBIN" ; then
|
||||||
fi
|
fi
|
||||||
AC_SUBST(SKIP_ALLEGROCL)
|
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
|
# Miscellaneous
|
||||||
#----------------------------------------------------------------
|
#----------------------------------------------------------------
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue