From 3f80f51ceb9d1d0e902cd2bb17858a8b2615cd33 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 10 Jan 2007 17:41:25 +0000 Subject: Moved RDFWriter to RAUL. More work on LADSPA->LV2 converter (use RAUL's RDFWriter now). git-svn-id: http://svn.drobilla.net/lad/slv2@246 a436a847-0d15-0410-975c-d299462d15a1 --- configure.ac | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 9dfe443..c6773a3 100644 --- a/configure.ac +++ b/configure.ac @@ -2,7 +2,7 @@ AC_PREREQ(2.59) AC_INIT([libslv2],[0.0.1],[drobilla@connect.carleton.ca]) AC_CONFIG_SRCDIR([src/plugin.c]) AC_CONFIG_SRCDIR([slv2/plugin.h]) -AC_CONFIG_SRCDIR([utils/ladspa2lv2.c]) +AC_CONFIG_SRCDIR([utils/ladspa2lv2.cc]) AC_CONFIG_SRCDIR([examples/plugins/Amp-swh.lv2/amp.c]) AC_CONFIG_SRCDIR([examples/hosts/test_host.c]) AC_CONFIG_HEADER([config.h]) @@ -27,8 +27,10 @@ AC_ARG_ENABLE(debug, [debug="$enableval"]) if test "$debug" = "yes"; then CFLAGS="-O0 -g -DDEBUG" + CXXFLAGS="-O0 -g -DDEBUG" else CFLAGS="$CFLAGS -DNDEBUG" + CXXFLAGS="$CFLAGS -DNDEBUG" fi # Check for strict flag @@ -38,6 +40,7 @@ AC_ARG_ENABLE(strict, [strict="$enableval"]) if test "$strict" = "yes"; then CFLAGS="$CFLAGS -std=c99 -pedantic -Wall -Wextra -Wconversion -Winit-self" + CXXFLAGS="$CFLAGS -ansi -pedantic -Wall -Wextra -Wconversion -Winit-self" fi # Build utilities? @@ -45,6 +48,10 @@ build_utilities="no" AC_ARG_ENABLE(utilities, [AS_HELP_STRING(--enable-utilities, [Build utilities (no) - EXPERIMENTAL])], [build_utilities="$enableval"]) +if test "$build_utilities" = "yes"; then + AC_PROG_CXX + PKG_CHECK_MODULES(RAUL, raul >= 0.0.0) +fi AM_CONDITIONAL(BUILD_UTILITIES, [test "$build_utilities" = "yes"]) # Bolt on a few specific flags to CXXFLAGS that should always be used -- cgit v1.2.1