diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2006-05-03 20:51:08 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2006-05-03 20:51:08 +0000 |
commit | 5e6703c481f7ffdbb7f467d7716c2eb2619b50ea (patch) | |
tree | 863ce372de45137bf1ed8b43f1cc74bda5f85d7e /SConstruct | |
parent | 979b95a56e0ef76238513ecb42a3b9e7f4be2e58 (diff) |
dmalloc link support
git-svn-id: svn://localhost/trunk/ardour2@491 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/SConstruct b/SConstruct index 1af4cb2a8a..be96ad0699 100644 --- a/SConstruct +++ b/SConstruct @@ -35,7 +35,8 @@ opts.AddOptions( EnumOption('DIST_TARGET', 'Build target for cross compiling packagers', 'auto', allowed_values=('auto', 'i386', 'i686', 'x86_64', 'powerpc', 'tiger', 'panther', 'none' ), ignorecase=2), BoolOption('FPU_OPTIMIZATION', 'Build runtime checked assembler code', 1), BoolOption('FFT_ANALYSIS', 'Include FFT analysis window', 0), - BoolOption('SURFACES', 'Build support for control surfaces', 0) + BoolOption('SURFACES', 'Build support for control surfaces', 0), + BoolOption('DMALLOC', 'Compile and link using the dmalloc library', 0) ) #---------------------------------------------------------------------- @@ -415,6 +416,23 @@ else: libraries['usb'] = conf.Finish () # +# Check for dmalloc + +libraries['dmalloc'] = LibraryInfo () + +# +# look for the threaded version +# + +conf = Configure (libraries['dmalloc']) +if conf.CheckLib ('dmallocth', 'dmalloc_shutdown'): + have_libdmalloc = True +else: + have_libdmalloc = False + +libraries['dmalloc'] = conf.Finish () + +# # # Audio/MIDI library (needed for MIDI, since audio is all handled via JACK) |