cdata.set_quoted('PULSEDSP_LOCATION', pulsedspdir)
endif
+if get_option('hal-compat')
+ cdata.set('HAVE_HAL_COMPAT', 1)
+endif
+
avahi_dep = dependency('avahi-client', version : '>= 0.6.0', required : get_option('avahi'))
if avahi_dep.found()
cdata.set('HAVE_AVAHI', 1)
option('fftw',
type : 'feature', value : 'auto',
description : 'Optional FFTW support')
+option('hal-compat',
+ type : 'boolean',
+ description : 'Optional HAL->udev transition compatibility support (needs udev)')
option('jack',
type : 'feature', value : 'auto',
description : 'Optional JACK support')
[ 'module-filter-apply', 'module-filter-apply.c' ],
[ 'module-filter-heuristics', 'module-filter-heuristics.c' ],
# [ 'module-gconf', 'gconf/module-gconf.c' ],
- [ 'module-hal-detect', 'module-hal-detect-compat.c' ],
[ 'module-http-protocol-tcp', 'module-protocol-stub.c', [], ['-DUSE_PROTOCOL_HTTP', '-DUSE_TCP_SOCKETS'], [], libprotocol_http ],
[ 'module-http-protocol-unix', 'module-protocol-stub.c', [], ['-DUSE_PROTOCOL_HTTP', '-DUSE_UNIX_SOCKETS'], [], libprotocol_http ],
[ 'module-intended-roles', 'module-intended-roles.c' ],
if udev_dep.found()
all_modules += [ [ 'module-udev-detect', 'module-udev-detect.c', [], [], [udev_dep] ] ]
+ if get_option('hal-compat')
+ all_modules += [ [ 'module-hal-detect', 'module-hal-detect-compat.c' ] ]
+ endif
endif
if x11_dep.found()