[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] Allow the speech-dispatcher module bin dir to be configurable
From: |
Luke Yelavich |
Subject: |
[PATCH] Allow the speech-dispatcher module bin dir to be configurable |
Date: |
Thu, 27 Sep 2012 11:19:40 +1000 |
The speech-dispatcher synthesizer module model is such that any executable
binary or script can perform speech synthesis duties for speech-dispatcher,
as long as it can communicate via the appropriate protocol and file
descriptors. This also extends to using i386 binaries on an amd64 system.
Many distributions now have a model in place that allows the easy use of i386
binaries on an amd64 install. By default, the speech-dispatcher module
directory is placed in ${libdir}, which defaults to a 32-bit or 64-bit library
directory on some distros. Given the above, it should be possible to provide
an architecture independant location for modules to be installed to, and used.
---
configure.ac | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index 711c639..c073a15 100644
--- a/configure.ac
+++ b/configure.ac
@@ -343,7 +343,10 @@ snddatadir='${datadir}/sounds/speech-dispatcher'
AC_SUBST([snddatadir])
# Path for module binaries:
-modulebindir='${libdir}/speech-dispatcher-modules'
+AC_ARG_WITH([module-bindir],
+ AS_HELP_STRING([--with-module-bindir],[Directory where to install
speech-dispatcher modules (defaults to ${libdir}/speech-dispatcher-modules)]),
+ [modulebindir=$withval],
[modulebindir='${libdir}/speech-dispatcher-modules'])
+
AC_SUBST([modulebindir])
# Path for speech-dispatcher libraries:
--
1.7.10.4
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [PATCH] Allow the speech-dispatcher module bin dir to be configurable,
Luke Yelavich <=