[svn] r6258: nemerle/trunk/configure
nazgul
svnadmin at nemerle.org
Fri May 12 19:00:19 CEST 2006
Log:
Do not build MSBuild task on old mono
Author: nazgul
Date: Fri May 12 19:00:17 2006
New Revision: 6258
Modified:
nemerle/trunk/configure
Modified: nemerle/trunk/configure
==============================================================================
--- nemerle/trunk/configure (original)
+++ nemerle/trunk/configure Fri May 12 19:00:17 2006
@@ -773,16 +773,20 @@
echo_check_for "MSBuild"
try_execute "${netFRAMEWORK}MSBuild.exe"
-if test $? -lt 126; then
+if (($? < 126)); then
echo_result found
msbuild="${netFRAMEWORK}MSBuild.exe"
else
try_execute "${monopath}xbuild"
res=$?
- if test $res -lt 126 && test $res -ne 2; then
+ if ((res < 126 && res != 2)); then
+ if ((m_major > 1 || m_major == 1 && m_minor > 2 || m_major == 1 && m_minor == 1 && m_revision > 14)); then
echo_result found
msbuild="${monopath}xbuild"
else
+ echo_result "found, but mono is too old (at least 1.1.15 required), won't use it"
+ fi
+ else
echo_result "not found"
fi
fi
More information about the svn
mailing list