fixed fftw header lookup problem in sconstruct
authorJesse Chappell <jesse@essej.net>
Wed, 21 Nov 2007 01:35:51 +0000 (01:35 +0000)
committerJesse Chappell <jesse@essej.net>
Wed, 21 Nov 2007 01:35:51 +0000 (01:35 +0000)
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2709 d708f5d6-7413-0410-9779-e7cbd77b26cf

SConstruct

index 9268e9af4a2682de20defbf179fbfc7914df7aad..67cdc5e7594af8477eecf024ae0dbc143ee8db46 100644 (file)
@@ -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')