summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
l---------acinclude.m41
-rw-r--r--configure.ac13
2 files changed, 14 insertions, 0 deletions
diff --git a/acinclude.m4 b/acinclude.m4
new file mode 120000
index 00000000..d84c32a3
--- /dev/null
+++ b/acinclude.m4
@@ -0,0 +1 @@
+../acinclude.m4 \ No newline at end of file
diff --git a/configure.ac b/configure.ac
index 5bb097d1..d5261794 100644
--- a/configure.ac
+++ b/configure.ac
@@ -142,6 +142,19 @@ fi
# OSC support (mandatory for now due to laziness)
PKG_CHECK_MODULES(LIBLO, liblo >= 0.25)
+# HTTP support
+build_http="yes"
+AC_ARG_ENABLE(http,
+ [AS_HELP_STRING(--enable-http, [Build Ingen HTTP interface - Requires: libsoup])],
+ [ if test x$enable_http = xno ; then build_http=no ; fi ])
+if test "$build_http" = "yes"; then
+ PKG_CHECK_MODULES(SOUP, libsoup-2.4 >= 2.4.0, [build_http="yes"], [build_http="no"])
+ if test "x$build_http" = "xyes"; then
+ AC_DEFINE([HAVE_SOUP], 1, [Defined if libsoup is available for HTTP support])
+ fi
+fi
+AM_CONDITIONAL(WITH_SOUP, [test "$build_http" = "yes"])
+
# LV2 support
build_lv2="yes"
AC_ARG_ENABLE(lv2,