add proper conditional-header creation and inclusion for VAMP plugins

git-svn-id: svn://localhost/ardour2/branches/3.0@7012 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2010-04-28 12:25:16 +00:00
parent f796c0f177
commit 27dfb74bda
2 changed files with 5 additions and 0 deletions

View File

@ -34,6 +34,10 @@
authorization.
*/
#ifdef WAF_BUILD
#include "libvampplugins-config.h"
#endif
#include "vamp/vamp.h"
#include "vamp-sdk/PluginAdapter.h"

View File

@ -27,6 +27,7 @@ def configure(conf):
conf.check_tool('compiler_cxx')
autowaf.check_pkg(conf, 'fftw3f', uselib_store='FFTW3F', mandatory=True)
autowaf.check_pkg(conf, 'aubio', uselib_store='AUBIO', mandatory=False)
conf.write_config_header('libvampplugins-config.h')
def build(bld):
# Library