From d8e1831406ab0da10025e3fa203d9d0ae5c31368 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 3 Oct 2008 01:10:58 +0000 Subject: Support building locally against header-only libraries in autowaf. Remove CONFIG_H_PATH define and replace with just "config.h" (define messed up dependency tracking). git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@1600 a436a847-0d15-0410-975c-d299462d15a1 --- hosts/lv2_jack_host.c | 2 +- src/world.c | 2 +- utils/lv2_inspect.c | 2 +- utils/lv2_list.c | 2 +- wscript | 3 +-- 5 files changed, 5 insertions(+), 6 deletions(-) diff --git a/hosts/lv2_jack_host.c b/hosts/lv2_jack_host.c index 08ae29d..4703ac8 100644 --- a/hosts/lv2_jack_host.c +++ b/hosts/lv2_jack_host.c @@ -16,7 +16,7 @@ * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. */ -#include CONFIG_H_PATH +#include "config.h" #define _XOPEN_SOURCE 500 #include diff --git a/src/world.c b/src/world.c index 41981df..357839d 100644 --- a/src/world.c +++ b/src/world.c @@ -16,7 +16,7 @@ * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. */ -#include CONFIG_H_PATH +#include "config.h" #define _XOPEN_SOURCE 500 #include diff --git a/utils/lv2_inspect.c b/utils/lv2_inspect.c index 901cf96..2347b68 100644 --- a/utils/lv2_inspect.c +++ b/utils/lv2_inspect.c @@ -16,7 +16,7 @@ * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. */ -#include CONFIG_H_PATH +#include "config.h" #include #include #include diff --git a/utils/lv2_list.c b/utils/lv2_list.c index 18aa911..dc9614f 100644 --- a/utils/lv2_list.c +++ b/utils/lv2_list.c @@ -16,7 +16,7 @@ * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. */ -#include CONFIG_H_PATH +#include "config.h" #include #include #include diff --git a/wscript b/wscript index ccc74df..403c2b0 100644 --- a/wscript +++ b/wscript @@ -46,8 +46,7 @@ def configure(conf): autowaf.check_pkg(conf, 'jack', destvar='JACK', vnum='0.107.0', mandatory=False) conf.env.append_value('CCFLAGS', '-std=c99') conf.define('SLV2_VERSION', SLV2_VERSION) - conf.write_config_header('waf-config.h') - conf.env.append_value('CCFLAGS', '-DCONFIG_H_PATH=\\\"waf-config.h\\\"') + conf.write_config_header('config.h') autowaf.print_summary(conf) autowaf.display_header('SLV2 Configuration') -- cgit v1.2.1