From e6239a56e19780d7ce30c435760e320b7fe24a44 Mon Sep 17 00:00:00 2001 From: William S Fulton Date: Tue, 24 Jan 2006 21:34:07 +0000 Subject: [PATCH] Skip gcj tests if c compiler is not gcc git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8542 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- SWIG/configure.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/SWIG/configure.in b/SWIG/configure.in index 53705f561..fd0b4ae34 100644 --- a/SWIG/configure.in +++ b/SWIG/configure.in @@ -1860,7 +1860,11 @@ AC_SUBST(SKIP_UFFI) #---------------------------------------------------------------- SKIP_GCJ= if test -z "$GCJ" || test -z "$GCJH" ; then + SKIP_GCJ="1" +else + if test "$GCC" != yes; then SKIP_GCJ="1" + fi fi AC_SUBST(SKIP_GCJ)