From 4d5a589570a65d508170c59b4c738b441e216a93 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 15 Aug 2008 19:18:16 +0000 Subject: Install Raul Symbol.hpp. Rework aclocal include crap to not use m4 subdirectory, fix ingen building w/ python. Check for SOAP/HTTP support in ingen configure script as well. git-svn-id: http://svn.drobilla.net/lad/ingen@1391 a436a847-0d15-0410-975c-d299462d15a1 --- acinclude.m4 | 1 + configure.ac | 13 +++++++++++++ 2 files changed, 14 insertions(+) create mode 120000 acinclude.m4 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, -- cgit v1.2.1