diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2008-03-24 20:13:48 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2008-03-24 20:13:48 +0000 |
commit | dfe979c7182fae4655becf5c2347c75f51fe6aaf (patch) | |
tree | cd216f104665f5cb09603cea3fce0dd41dfec1ba | |
parent | c8616fde7e43a956bf6ce43a14a4cec1eb3cd985 (diff) |
don't check for libcurl unless really necessary
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3178 d708f5d6-7413-0410-9779-e7cbd77b26cf
-rw-r--r-- | SConstruct | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/SConstruct b/SConstruct index 173985251d..739c00ec7d 100644 --- a/SConstruct +++ b/SConstruct @@ -519,9 +519,6 @@ if conf.CheckPKGExists ('fftw3'): libraries['fftw3'] = LibraryInfo() libraries['fftw3'].ParseConfig('pkg-config --cflags --libs fftw3') -libraries['curl'] = LibraryInfo() -libraries['curl'].ParseConfig('pkg-config --cflags --libs libcurl') - env = conf.Finish () if env['FFT_ANALYSIS']: @@ -546,6 +543,11 @@ if env['FREESOUND']: if conf.CheckHeader ('curl/curl.h') == False: print ('Ardour cannot be compiled without the curl headers, which do not seem to be installed') sys.exit (1) + + else: + libraries['curl'] = LibraryInfo() + libraries['curl'].ParseConfig('pkg-config --cflags --libs libcurl') + conf.Finish() if env['LV2']: |