shithub: aubio

Download patch

ref: 9d3fa49dd788dc6fd01cc81081b64241bf3837f8
parent: 8beee53e161cb3b542b387ae03bc4ebedf808a01
author: Paul Brossier <piem@piem.org>
date: Thu Nov 5 13:08:38 EST 2009

src/aubio.h: do not include config.h, do not install it

--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -35,7 +35,7 @@
 	tempo/tempo.h \
 	tempo/beattracking.h
 
-nodist_pkginclude_HEADERS = config.h
+nodist_noinst_HEADERS = config.h
 
 lib_LTLIBRARIES = libaubio.la 
 libaubio_la_SOURCES = \
--- a/src/aubio.h
+++ b/src/aubio.h
@@ -152,9 +152,6 @@
 {
 #endif
 
-/* first the generated config file */
-#include "config.h"
-
 /* in this order */
 #include "types.h"
 #include "fvec.h"
--- a/src/wscript_build
+++ b/src/wscript_build
@@ -9,5 +9,5 @@
 
 # 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)