look for mono when using gmcs C# compiler

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9872 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2007-07-19 22:37:35 +00:00
commit a64fd9013e

View file

@ -1515,11 +1515,12 @@ if test -z "$CSHARPBIN" ; then
CSHARPCOMPILER="mcs"
fi
fi
if test "mcs" = "$CSHARPCOMPILER" ; then
AC_CHECK_PROGS(CSHARPCILINTERPRETER, mono) # Mono JIT
else
if test "mcs" != "$CSHARPCOMPILER" ; then
echo "mcs is not a working Mono C# compiler"
fi
fi
if test "mcs" = "$CSHARPCOMPILER" || test "gmcs" = "$CSHARPCOMPILER"; then
AC_CHECK_PROGS(CSHARPCILINTERPRETER, mono) # Mono JIT
else
if test "csc" = "$CSHARPCOMPILER"; then
CSHARPPATHSEPARATOR="\\\\"