cdata.set('HAVE_LIRC', 1)
endif
-openssl_dep = dependency('openssl', version : '>= 0.9', required : false)
+openssl_dep = dependency('openssl', version : '>= 0.9', required : get_option('openssl'))
if openssl_dep.found()
cdata.set('HAVE_OPENSSL', 1)
endif
option('lirc',
type : 'feature', value : 'auto',
description : 'Optional LIRC support')
+option('openssl',
+ type : 'feature', value : 'auto',
+ description : 'Optional OpenSSL support (used for Airtunes/RAOP)')
option('systemd',
type : 'feature', value : 'auto',
description : 'Optional systemd support')
-# Order matters! raop needs rtp!
subdir('rtp')
-subdir('raop')
# module name, sources, [headers, extra flags, extra deps, extra libs]
all_modules = [
endif
if openssl_dep.found()
+ subdir('raop')
all_modules += [
[ 'module-raop-sink', 'raop/module-raop-sink.c', [], [], [], libraop ],
]