mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-12-15 08:56:34 -05:00
meson: Fix HAVE_AF_UNIX, add check for mkfifo function
Signed-off-by: Arnaud Rebillout <arnaud.rebillout@collabora.com>
This commit is contained in:
parent
12f0e9232f
commit
de44c8885d
2 changed files with 7 additions and 2 deletions
|
|
@ -110,7 +110,6 @@ check_headers = [
|
||||||
'sys/resource.h',
|
'sys/resource.h',
|
||||||
'sys/select.h',
|
'sys/select.h',
|
||||||
'sys/socket.h',
|
'sys/socket.h',
|
||||||
'sys/un.h',
|
|
||||||
'sys/wait.h',
|
'sys/wait.h',
|
||||||
'valgrind/memcheck.h',
|
'valgrind/memcheck.h',
|
||||||
'xlocale.h',
|
'xlocale.h',
|
||||||
|
|
@ -128,6 +127,11 @@ if cc.has_header('pthread.h')
|
||||||
cdata.set('HAVE_PTHREAD', 1)
|
cdata.set('HAVE_PTHREAD', 1)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
# FIXME: move this to the above set
|
||||||
|
if cc.has_header('sys/un.h')
|
||||||
|
cdata.set('HAVE_AF_UNIX', 1)
|
||||||
|
endif
|
||||||
|
|
||||||
# Functions
|
# Functions
|
||||||
|
|
||||||
check_functions = [
|
check_functions = [
|
||||||
|
|
@ -144,6 +148,7 @@ check_functions = [
|
||||||
'getuid',
|
'getuid',
|
||||||
'lstat',
|
'lstat',
|
||||||
'memfd_create',
|
'memfd_create',
|
||||||
|
'mkfifo',
|
||||||
'mlock',
|
'mlock',
|
||||||
'nanosleep',
|
'nanosleep',
|
||||||
'paccept',
|
'paccept',
|
||||||
|
|
|
||||||
|
|
@ -73,7 +73,7 @@ default_conf = configuration_data()
|
||||||
default_conf.merge_from(cdata)
|
default_conf.merge_from(cdata)
|
||||||
default_conf.set('PA_BINARY', cdata.get_unquoted('PA_BINARY'))
|
default_conf.set('PA_BINARY', cdata.get_unquoted('PA_BINARY'))
|
||||||
default_conf.set('PA_SOEXT', cdata.get_unquoted('PA_SOEXT'))
|
default_conf.set('PA_SOEXT', cdata.get_unquoted('PA_SOEXT'))
|
||||||
# TODO: OS_IS_WIN32, HAVE_MKFIFO, HAVE_AF_UNIX
|
# TODO: OS_IS_WIN32
|
||||||
|
|
||||||
default_template_file = configure_file(
|
default_template_file = configure_file(
|
||||||
input : 'default.pa.in',
|
input : 'default.pa.in',
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue