--- /dev/null
+#EXTRA_DIST = ...
+
+collectd.dll: collectd.cs
+ $(CSC) -target:library -out:$@ $<
+
+all-local: collectd.dll
+
+install-exec-local: collectd.dll
+ mkdir -p "$(DESTDIR)$(pkgdatadir)/csharp"
+ $(INSTALL) -m 644 collectd.dll \
+ "$(DESTDIR)$(pkgdatadir)/csharp"
+
+clean-local:
+ rm -f collectd.dll
AC_PROG_YACC
PKG_PROG_PKG_CONFIG
+AC_CHECK_PROGS([CSC], csc mono-csc, [no])
+AM_CONDITIONAL(BUILD_WITH_CSC, test "x$CSC" != "no")
+
AC_CHECK_PROG([have_protoc_c], [protoc-c], [yes], [no])
AM_CONDITIONAL(HAVE_PROTOC_C, test "x$have_protoc_c" = "xyes")
AC_CONFIG_FILES(src/libcollectdclient/lcc_features.h)
-AC_OUTPUT(Makefile src/Makefile src/collectd.conf src/libcollectdclient/Makefile src/libcollectdclient/libcollectdclient.pc src/liboconfig/Makefile bindings/Makefile bindings/java/Makefile)
+AC_OUTPUT(Makefile src/Makefile src/collectd.conf src/libcollectdclient/Makefile src/libcollectdclient/libcollectdclient.pc src/liboconfig/Makefile bindings/Makefile bindings/csharp/Makefile bindings/java/Makefile)
if test "x$with_librrd" = "xyes" \
&& test "x$librrd_threadsafe" != "xyes"
libxmms . . . . . . . $with_libxmms
libyajl . . . . . . . $with_libyajl
libevent . . . . . . $with_libevent
+ csc . . . . . . . . . $CSC
protobuf-c . . . . . $have_protoc_c
oracle . . . . . . . $with_oracle
python . . . . . . . $with_python