diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/daemon/meson.build | 1 | ||||
-rw-r--r-- | src/modules/meson.build | 9 |
2 files changed, 8 insertions, 2 deletions
diff --git a/src/daemon/meson.build b/src/daemon/meson.build index 4423da2d1..9bc3bf18e 100644 --- a/src/daemon/meson.build +++ b/src/daemon/meson.build @@ -94,6 +94,7 @@ 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_conf.set10('OS_IS_WIN32', host_machine.system() == 'windows') +default_conf.set10('HAVE_MKFIFO', cc.has_function('mkfifo')) # We don't support the deprecated GConf option in meson default_conf.set10('HAVE_GCONF', 0) diff --git a/src/modules/meson.build b/src/modules/meson.build index 8562bdfa9..92d5871f9 100644 --- a/src/modules/meson.build +++ b/src/modules/meson.build @@ -38,8 +38,6 @@ all_modules = [ [ 'module-native-protocol-unix', 'module-protocol-stub.c', [], ['-DUSE_PROTOCOL_NATIVE', '-DUSE_UNIX_SOCKETS'], [], libprotocol_native ], [ 'module-null-sink', 'module-null-sink.c' ], [ 'module-null-source', 'module-null-source.c' ], - [ 'module-pipe-sink', 'module-pipe-sink.c' ], - [ 'module-pipe-source', 'module-pipe-source.c' ], [ 'module-position-event-sounds', 'module-position-event-sounds.c' ], [ 'module-remap-sink', 'module-remap-sink.c' ], [ 'module-remap-source', 'module-remap-source.c' ], @@ -83,6 +81,13 @@ if cc.has_header('sys/soundcard.h') ] endif +if cc.has_function('mkfifo') + all_modules += [ + [ 'module-pipe-sink', 'module-pipe-sink.c' ], + [ 'module-pipe-source', 'module-pipe-source.c' ] + ] +endif + # Modules enabled by dependencies if alsa_dep.found() |