Thrift: Add a Makefile to build the C# library with Mono.
Reviewed By: mcslee
Test Plan: Installed Mono and built it.
Revert Plan: ok
Other Notes:
Submitted by Ben Maurer.
Actually reviewed by Todd Berman.
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665465 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/configure.ac b/configure.ac
index de9d704..335ec87 100644
--- a/configure.ac
+++ b/configure.ac
@@ -34,6 +34,10 @@
AX_LIB_ZLIB([1.2.3])
AM_CONDITIONAL([AMX_HAVE_ZLIB], [test "$success" = "yes"])
+PKG_CHECK_MODULES(MONO, mono >= 1.2.6, have_mono=yes, have_mono=no)
+AM_CONDITIONAL(ENABLE_MONO, [test "$have_mono" = "yes"])
+
+
AC_C_CONST
AC_C_INLINE
AC_C_VOLATILE
@@ -104,6 +108,7 @@
lib/cpp/thrift.pc
lib/cpp/thrift-nb.pc
lib/cpp/thrift-z.pc
+ lib/csharp/Makefile
lib/py/Makefile
if/Makefile
test/Makefile