[couchdb-glib] Add auto-generated Mono bindings
- From: Rodrigo Moya <rodrigo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [couchdb-glib] Add auto-generated Mono bindings
- Date: Tue, 4 May 2010 15:59:53 +0000 (UTC)
commit f5072d68411f4409bcd25491a12b4ff685a792a7
Author: Rodrigo Moya <rodrigo gnome-db org>
Date: Tue May 4 17:56:50 2010 +0200
Add auto-generated Mono bindings
configure.ac | 35 +++++++++++++++++++++++++++++++++--
1 files changed, 33 insertions(+), 2 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index bcee9ef..457e272 100644
--- a/configure.ac
+++ b/configure.ac
@@ -58,6 +58,33 @@ AC_SUBST(LIBCOUCHDBGLIB_REVISION)
AC_SUBST(LIBCOUCHDBGLIB_AGE)
##################################################
+# Check for Mono bindings
+##################################################
+mono_bindings="no"
+AC_PATH_PROG(MONO_GAPI_PARSER, gapi2-parser, no)
+if test "x$MONO_GAPI_PARSER" != "xno"; then
+ AC_PATH_PROG(MONO_GAPI_CODEGEN, gapi2-codegen, no)
+ if test "x$MONO_GAPI_CODEGEN" != "xno"; then
+ AC_PATH_PROG(MONO_GAPI_FIXUP, gapi2-fixup, no)
+ if test "x$MONO_GAPI_FIXUP" != "xno"; then
+ AC_PATH_PROG(MONO_CSC, gmcs, no)
+ if test "x$MONO_CSC" != "xno"; then
+ mono_bindings="yes"
+ else
+ AC_MSG_WARN(could not find gmcs compiler. Mono bindings not built)
+ fi
+ else
+ AC_MSG_WARN(could not find gapi2-fixup. Mono bindings not built)
+ fi
+ else
+ AC_MSG_WARN(could not find gapi2-codegen. Mono bindings not built)
+ fi
+else
+ AC_MSG_WARN(could not find gapi2-parser. Mono bindings not built)
+fi
+AM_CONDITIONAL(BUILD_MONO_BINDINGS, test "x$mono_bindings" = "xyes")
+
+##################################################
# Check for gtk-doc.
##################################################
GTK_DOC_CHECK(1.0)
@@ -75,6 +102,9 @@ couchdb-glib.pc
desktopcouch-glib.pc
couchdb-glib/Makefile
desktopcouch-glib/Makefile
+bindings/Makefile
+bindings/mono/Makefile
+bindings/mono/couchdb-glib-sharp.dll.config
tests/Makefile
doc/Makefile
doc/reference/Makefile
@@ -85,7 +115,8 @@ AC_MSG_NOTICE([
couchdb-glib configured:
------------------------
- version: $VERSION
- oAuth: $have_oauth
+ version: $VERSION
+ oAuth: $have_oauth
+ bindings: Mono ($mono_bindings)
])
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]