mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-12-15 08:56:34 -05:00
meson: Add optional IPv6 support
Signed-off-by: Arnaud Rebillout <arnaud.rebillout@collabora.com>
This commit is contained in:
parent
6eba2f823d
commit
b9a3437a5d
2 changed files with 7 additions and 0 deletions
|
|
@ -209,6 +209,10 @@ elif get_option('database') == 'gdbm'
|
||||||
database_dep = cc.find_library('gdbm', required : true)
|
database_dep = cc.find_library('gdbm', required : true)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
if get_option('ipv6')
|
||||||
|
cdata.set('HAVE_IPV6', 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);
|
||||||
|
|
|
||||||
|
|
@ -53,6 +53,9 @@ option('gtk',
|
||||||
option('hal-compat',
|
option('hal-compat',
|
||||||
type : 'boolean',
|
type : 'boolean',
|
||||||
description : 'Optional HAL->udev transition compatibility support (needs udev)')
|
description : 'Optional HAL->udev transition compatibility support (needs udev)')
|
||||||
|
option('ipv6',
|
||||||
|
type : 'boolean',
|
||||||
|
description : 'Optional IPv6 support')
|
||||||
option('jack',
|
option('jack',
|
||||||
type : 'feature', value : 'auto',
|
type : 'feature', value : 'auto',
|
||||||
description : 'Optional JACK support')
|
description : 'Optional JACK support')
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue