From 39e6435db2314670c55ef1c88aa2d83c2bce6e18 Mon Sep 17 00:00:00 2001 From: Jesse Chappell Date: Wed, 21 Nov 2007 01:35:51 +0000 Subject: fixed fftw header lookup problem in sconstruct git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2709 d708f5d6-7413-0410-9779-e7cbd77b26cf --- SConstruct | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'SConstruct') diff --git a/SConstruct b/SConstruct index 9268e9af4a..67cdc5e759 100644 --- a/SConstruct +++ b/SConstruct @@ -495,10 +495,13 @@ if env['FFT_ANALYSIS']: # # Check for fftw3 header as well as the library # - conf = env.Configure() + + conf = Configure(libraries['fftw3']) + if conf.CheckHeader ('fftw3.h') == False: print ('FFT Analysis cannot be compiled without the FFTW3 headers, which do not seem to be installed') sys.exit (1) + conf.Finish() libraries['jack'] = LibraryInfo() libraries['jack'].ParseConfig('pkg-config --cflags --libs jack') -- cgit v1.2.3