mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04: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/select.h',
|
||||
'sys/socket.h',
|
||||
'sys/un.h',
|
||||
'sys/wait.h',
|
||||
'valgrind/memcheck.h',
|
||||
'xlocale.h',
|
||||
|
|
@ -128,6 +127,11 @@ if cc.has_header('pthread.h')
|
|||
cdata.set('HAVE_PTHREAD', 1)
|
||||
endif
|
||||
|
||||
# FIXME: move this to the above set
|
||||
if cc.has_header('sys/un.h')
|
||||
cdata.set('HAVE_AF_UNIX', 1)
|
||||
endif
|
||||
|
||||
# Functions
|
||||
|
||||
check_functions = [
|
||||
|
|
@ -144,6 +148,7 @@ check_functions = [
|
|||
'getuid',
|
||||
'lstat',
|
||||
'memfd_create',
|
||||
'mkfifo',
|
||||
'mlock',
|
||||
'nanosleep',
|
||||
'paccept',
|
||||
|
|
|
|||
|
|
@ -73,7 +73,7 @@ default_conf = configuration_data()
|
|||
default_conf.merge_from(cdata)
|
||||
default_conf.set('PA_BINARY', cdata.get_unquoted('PA_BINARY'))
|
||||
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(
|
||||
input : 'default.pa.in',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue