Signed-off-by: Arnaud Rebillout <arnaud.rebillout@collabora.com>
'sys/resource.h',
'sys/select.h',
'sys/socket.h',
+ 'sys/un.h',
'sys/wait.h',
'valgrind/memcheck.h',
'xlocale.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 = [
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'))
+default_conf.set10('HAVE_AF_UNIX', cc.has_header('sys/un.h'))
default_template_file = configure_file(
input : 'default.pa.in',