[pulseaudio-discuss] [PATCH 1/2] configure: Move path to modules to /usr/lib/pulseaudio/modules-x.y

David Henningsson david.henningsson at canonical.com
Wed Oct 15 00:10:01 PDT 2014


The path /usr/lib/pulse-x.y is non-standard, both considering that
other software more often than not have a non-versioned directory
under /usr/lib, and that we ourselves don't use "pulse-x.y" anywhere
else.

It could still be reasonable to have more than one version of PA
installed, so let's have the x.y at the module directory instead.

Signed-off-by: David Henningsson <david.henningsson at canonical.com>
---
 configure.ac | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index f13ddb0..fe4a1e3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1354,8 +1354,8 @@ fi
 
 AC_ARG_WITH(
         [module-dir],
-        AS_HELP_STRING([--with-module-dir],[Directory where to install the modules to (defaults to ${libdir}/pulse-${PA_MAJORMINOR}/modules]),
-        [modlibexecdir=$withval], [modlibexecdir="${libdir}/pulse-${PA_MAJORMINOR}/modules"])
+        AS_HELP_STRING([--with-module-dir],[Directory where to install the modules to (defaults to ${libdir}/pulseaudio/modules-${PA_MAJORMINOR}]),
+        [modlibexecdir=$withval], [modlibexecdir="${libdir}/pulseaudio/modules-${PA_MAJORMINOR}"])
 
 AC_SUBST(modlibexecdir)
 AX_DEFINE_DIR(PA_DLSEARCHPATH, modlibexecdir, [Modules dir])
-- 
1.9.1



More information about the pulseaudio-discuss mailing list