From: Paul Brossier Date: Thu, 5 Nov 2009 17:08:38 +0000 (+0100) Subject: src/aubio.h: do not include config.h, do not install it X-Git-Tag: bzr2git~31 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=9d3fa49dd788dc6fd01cc81081b64241bf3837f8;p=aubio.git src/aubio.h: do not include config.h, do not install it --- diff --git a/src/Makefile.am b/src/Makefile.am index 1593a5b5..cff551ed 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -35,7 +35,7 @@ nobase_pkginclude_HEADERS = \ tempo/tempo.h \ tempo/beattracking.h -nodist_pkginclude_HEADERS = config.h +nodist_noinst_HEADERS = config.h lib_LTLIBRARIES = libaubio.la libaubio_la_SOURCES = \ diff --git a/src/aubio.h b/src/aubio.h index fe3d160b..3079e75b 100644 --- a/src/aubio.h +++ b/src/aubio.h @@ -152,9 +152,6 @@ extern "C" { #endif -/* first the generated config file */ -#include "config.h" - /* in this order */ #include "types.h" #include "fvec.h" diff --git a/src/wscript_build b/src/wscript_build index e88e0631..e4282cfe 100644 --- a/src/wscript_build +++ b/src/wscript_build @@ -9,5 +9,5 @@ libaubio = bld.new_task_gen( # install headers, except _priv.h ones for file in bld.path.ant_glob('**/*.h').split(): - if '_priv.h' in file: continue + if '_priv.h' in file or file == 'config.h': continue bld.install_as('${PREFIX}/include/aubio/' + file, file)