summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xautogen.sh3
-rw-r--r--configure.ac5
-rw-r--r--hosts/lv2_jack_host.c2
3 files changed, 7 insertions, 3 deletions
diff --git a/autogen.sh b/autogen.sh
index 32632c1..b85bb15 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -1,7 +1,8 @@
#!/bin/sh
echo 'Generating necessary files...'
-libtoolize --copy --force
+mkdir -p config
+libtoolize --force
aclocal
autoheader -Wall
automake --foreign --add-missing -Wall
diff --git a/configure.ac b/configure.ac
index f0400b8..016f3aa 100644
--- a/configure.ac
+++ b/configure.ac
@@ -17,10 +17,13 @@ SLV2_API_REVISION=0
SLV2_API_AGE=0
AC_INIT([slv2],[0.0.2pre],[dave@drobilla.net])
+
+AC_CONFIG_AUX_DIR([config])
+
AC_CONFIG_SRCDIR([src/plugin.c])
AC_CONFIG_SRCDIR([slv2/plugin.h])
AC_CONFIG_SRCDIR([utils/lv2_list.c])
-AC_CONFIG_HEADER([config.h])
+AC_CONFIG_HEADER([config/config.h])
AM_INIT_AUTOMAKE
SLV2_SO_VERSION=${SLV2_API_CURRENT}:${SLV2_API_REVISION}:${SLV2_API_AGE}
diff --git a/hosts/lv2_jack_host.c b/hosts/lv2_jack_host.c
index 7c8ef60..96d3e08 100644
--- a/hosts/lv2_jack_host.c
+++ b/hosts/lv2_jack_host.c
@@ -22,7 +22,7 @@
#include <slv2/slv2.h>
#include <jack/jack.h>
#include <jack/midiport.h>
-#include "../config.h"
+#include "../config/config.h"
#include "lv2-miditype.h"
#include "lv2-midifunctions.h"
#include "jack_compat.h"