From 15d57bac34bb6486abcff48ec090efd2b0276d4d Mon Sep 17 00:00:00 2001 From: soochoi Date: Thu, 4 May 2006 20:40:09 +0000 Subject: [PATCH] autotools: windows makefiles change --- configure.in | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/configure.in b/configure.in index d3b8c948..314f6d7b 100644 --- a/configure.in +++ b/configure.in @@ -29,9 +29,23 @@ AM_MAINTAINER_MODE # # Check for a valid C# compiler # -AC_CHECK_PROG(CSC, csc, csc) -test -z "$CSC" && AC_CHECK_PROG(CSC, mcs, mcs) -test -z "$CSC" && AC_MSG_ERROR([no acceptable C Sharp compiler found in \$PATH]) +#AC_CHECK_PROG(CSC, csc, csc) +#test -z "$CSC" && AC_CHECK_PROG(CSC, mcs, mcs) +#test -z "$CSC" && AC_MSG_ERROR([no acceptable C Sharp compiler found in \$PATH]) + +# +# Check for valid C# compiler in linux +# +case $host_os in + cygwin*) + ;; + *) + AC_CHECK_PROG(CSC, csc, csc) + test -z "$CSC" && AC_CHECK_PROG(CSC, mcs, mcs) + test -z "$CSC" && AC_MSG_ERROR([no acceptable C Sharp compiler found in \$PATH]) + + ;; +esac case $CSC in #