Mono C# mods

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5984 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2004-06-15 19:45:12 +00:00
commit 586c6d0b07

View file

@ -1328,7 +1328,7 @@ AC_SUBST(CHICKENLIB)
AC_SUBST(CHICKENSHAREDLIB) AC_SUBST(CHICKENSHAREDLIB)
#---------------------------------------------------------------- #----------------------------------------------------------------
# Look for csharp # Look for C#
#---------------------------------------------------------------- #----------------------------------------------------------------
AC_ARG_WITH(cil-interpreter, [ --with-cil-interpreter=path Set location of CIL interpreter for CSharp],[CSHARPBIN="$withval"], [CSHARPBIN=]) AC_ARG_WITH(cil-interpreter, [ --with-cil-interpreter=path Set location of CIL interpreter for CSharp],[CSHARPBIN="$withval"], [CSHARPBIN=])
@ -1337,7 +1337,7 @@ AC_ARG_WITH(csharp-compiler, [ --with-csharp-compiler=path Set location of
if test -z "$CSHARPCOMPILERBIN" ; then if test -z "$CSHARPCOMPILERBIN" ; then
case $host in case $host in
*-*-cygwin* | *-*-mingw*) *-*-cygwin* | *-*-mingw*)
AC_CHECK_PROGS(CSHARPCOMPILER, mcs.bat cscc csc);; AC_CHECK_PROGS(CSHARPCOMPILER, csc mcs cscc);;
*)AC_CHECK_PROGS(CSHARPCOMPILER, mcs cscc);; *)AC_CHECK_PROGS(CSHARPCOMPILER, mcs cscc);;
esac esac
else else
@ -1363,12 +1363,7 @@ if test -z "$CSHARPBIN" ; then
fi fi
fi fi
# mono interpreter (ver 0.26 doesn't seem to work on Windows platforms) AC_CHECK_PROGS(CSHARPCILINTERPRETER, mint)
case $host in
*-*-cygwin* | *-*-mingw*)
;;
*)AC_CHECK_PROGS(CSHARPCILINTERPRETER, mint);;
esac
else else
if test "csc" = "$CSHARPCOMPILER"; then if test "csc" = "$CSHARPCOMPILER"; then
CSHARPPATHSEPARATOR="\\\\" CSHARPPATHSEPARATOR="\\\\"