From df5f8dfa36c6d099e9d7b542098fd98d5f6706f1 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/SWIG@8542 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- configure.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/configure.in b/configure.in index 53705f561..fd0b4ae34 100644 --- a/configure.in +++ b/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)