diff options
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 5 |
1 files changed, 4 insertions, 1 deletions
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') |