mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-10 07:26:32 +01:00
don't check for libcurl unless really necessary
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3178 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
c8616fde7e
commit
dfe979c718
1 changed files with 5 additions and 3 deletions
|
|
@ -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']:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue