summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorSanchayan Maity <sanchayan@asymptotic.io>2020-09-02 19:19:07 +0530
committerArun Raghavan <arun@arunraghavan.net>2020-11-23 22:07:36 +0000
commit45abd0b43c7901b375afcba6d9b0e1cca2f349a8 (patch)
treeae94702b02361a514a02a04b92bf336f64db1bf8 /configure.ac
parenta28f2e7293a055588f7bba568b5049ff91b3aad0 (diff)
Add default.pa.d folder support
The .include meta command already supports specifying a directory and when including a directory, all files with the extension '.pa' in that directory will be parsed in alphabetical order. This feature can be used to add support for default.pa.d directory, so that packages for other applications or users can just drop in a file for configuration without changing the default.pa which is shipped. We use the PA_DEFAULT_CONFIG_DIR for this, however, since meson quotes this build variable, introduce an unquoted version for this purpose and use it with .include. Fixes: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/issues/909 Signed-off-by: Sanchayan Maity <sanchayan@asymptotic.io>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index caabef6ed..6e6049fec 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1394,6 +1394,7 @@ AC_DEFINE(PA_SOEXT, [".so"], [Shared object extension])
AC_SUBST(pulseconfdir, ["${sysconfdir}/pulse"])
AX_DEFINE_DIR(PA_DEFAULT_CONFIG_DIR, pulseconfdir, [Location of configuration files])
+AX_DEFINE_DIR(PA_DEFAULT_CONFIG_DIR_UNQUOTED, pulseconfdir, [Location of configuration files])
#### Mac OSX specific stuff #####