[ 
https://issues.apache.org/jira/browse/THRIFT-309?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12672432#action_12672432
 ] 

David Reiss commented on THRIFT-309:
------------------------------------

This version is working for me with mono 1.2.6.  The first check fails, but the 
second succeeds.  If I had no mono, they would both fail.  If I had 2.0.0, the 
first would succeed, and the second would be cached.  If you're good with this, 
I'll check in.

{noformat}
 AX_THRIFT_LIB(csharp, [C#], yes)
 if test "$with_csharp" = "yes";  then
-  PKG_CHECK_MODULES(MONO, mono >= 1.2.6, have_mono=yes, have_mono=no)
+  PKG_CHECK_MODULES(MONO, mono >= 2.0.0, net_3_5=yes, net_3_5=no)
+  PKG_CHECK_MODULES(MONO, mono >= 1.2.4, have_mono=yes, have_mono=no)
 fi
 AM_CONDITIONAL(WITH_MONO, [test "$have_mono" = "yes"])
+AM_CONDITIONAL(NET_2_0, [test "$net_3_5" = "no"])
{noformat}

> Thrift should run on plain .NET 2.0 and compatible Mono, with no additional 
> dependencies
> ----------------------------------------------------------------------------------------
>
>                 Key: THRIFT-309
>                 URL: https://issues.apache.org/jira/browse/THRIFT-309
>             Project: Thrift
>          Issue Type: Improvement
>          Components: Compiler (C#), Library (C#)
>            Reporter: Michael Greene
>            Assignee: Michael Greene
>             Fix For: 0.1
>
>         Attachments: thrift-309-001.diff
>
>
> The current requirements for Thrift are:
> .NET 3.5 on Visual Studio 2008
> or
> Mono 1.2.6+ with special compiler flags or Mono 2.0 standard
> This does not need to be.  We can support the following setup without too 
> much difficulty:
> .NET 2.0+ on Visual Studio 2005+
> Mono 1.2.4+ standard
> I think we should, as this has come up several times via complaints on blogs, 
> notes on the Wiki, or confusion on the mailing list.  .NET 2.0's penetration 
> is much higher than 3.5, and this moves support for Thrift out to ~2007 on 
> the Mono side and ~2005 on the .NET side versus the current ~2008 for both.
> Just wrapping this up over here, patch will be available later today.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to