diff options
author | Doug McLain <doug@nostar.net> | 2007-06-25 21:26:34 +0000 |
---|---|---|
committer | Doug McLain <doug@nostar.net> | 2007-06-25 21:26:34 +0000 |
commit | c94583a81db5fff682482ac7cc6f81a62e2be458 (patch) | |
tree | feeb381efa6f0a219c9107bd70c310b7103e92d8 /SConstruct | |
parent | fde8d11d9da56d32c7fbd2388cbe8938fea30814 (diff) |
make libsndfile build with or without flac support based on flac version checking
git-svn-id: svn://localhost/ardour2/trunk@2032 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/SConstruct b/SConstruct index 34a7071a66..84000ba90a 100644 --- a/SConstruct +++ b/SConstruct @@ -745,11 +745,10 @@ libraries['flac'].Append(CCFLAGS="-I/usr/local/include", LINKFLAGS="-L/usr/local conf = Configure (libraries['flac']) if conf.CheckLib ('FLAC', 'FLAC__seekable_stream_decoder_init', language='CXX'): conf.env.Append(CCFLAGS='-DHAVE_FLAC') - use_flac = False -else: use_flac = True +else: + use_flac = False libraries['flac'] = conf.Finish () - # or if that fails... #libraries['flac'] = LibraryInfo (LIBS='FLAC') |