mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
meson: Add optional legacy-database-entry-format support
Signed-off-by: Arnaud Rebillout <arnaud.rebillout@collabora.com>
This commit is contained in:
parent
104b21f227
commit
8c07419406
2 changed files with 7 additions and 0 deletions
|
|
@ -213,6 +213,10 @@ if get_option('ipv6')
|
||||||
cdata.set('HAVE_IPV6', 1)
|
cdata.set('HAVE_IPV6', 1)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
if get_option('legacy-database-entry-format')
|
||||||
|
cdata.set('ENABLE_LEGACY_DATABASE_ENTRY_FORMAT', 1)
|
||||||
|
endif
|
||||||
|
|
||||||
atomictest = '''void func() {
|
atomictest = '''void func() {
|
||||||
volatile int atomic = 2;
|
volatile int atomic = 2;
|
||||||
__sync_bool_compare_and_swap (&atomic, 2, 3);
|
__sync_bool_compare_and_swap (&atomic, 2, 3);
|
||||||
|
|
|
||||||
|
|
@ -11,6 +11,9 @@ option('database',
|
||||||
type : 'combo', value : 'tdb',
|
type : 'combo', value : 'tdb',
|
||||||
choices : [ 'gdbm', 'tdb', 'simple' ],
|
choices : [ 'gdbm', 'tdb', 'simple' ],
|
||||||
description : 'Database backend')
|
description : 'Database backend')
|
||||||
|
option('legacy-database-entry-format',
|
||||||
|
type : 'boolean', value : 'true',
|
||||||
|
description : 'Try to load legacy (< 1.0) database files (card, device and volume restore)')
|
||||||
option('pulsedspdir',
|
option('pulsedspdir',
|
||||||
type : 'string',
|
type : 'string',
|
||||||
description : 'Specify location where OSS wrapper will be installed')
|
description : 'Specify location where OSS wrapper will be installed')
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue