src/aubio.h: do not include config.h, do not install it
authorPaul Brossier <piem@piem.org>
Thu, 5 Nov 2009 17:08:38 +0000 (18:08 +0100)
committerPaul Brossier <piem@piem.org>
Thu, 5 Nov 2009 17:08:38 +0000 (18:08 +0100)
src/Makefile.am
src/aubio.h
src/wscript_build

index 1593a5b..cff551e 100644 (file)
@@ -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 = \
index fe3d160..3079e75 100644 (file)
@@ -152,9 +152,6 @@ extern "C"
 {
 #endif
 
-/* first the generated config file */
-#include "config.h"
-
 /* in this order */
 #include "types.h"
 #include "fvec.h"
index e88e063..e4282cf 100644 (file)
@@ -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)