[orca] Fix for bug 721017 - orca has an automagic dependency on liblouis for braille support
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Fix for bug 721017 - orca has an automagic dependency on liblouis for braille support
- Date: Tue, 24 Dec 2013 14:12:04 +0000 (UTC)
commit e60dfc7221154cc90715986daa3688d38cf30056
Author: Pacho Ramos <pachoramos1 gmail com>
Date: Tue Dec 24 09:10:21 2013 -0500
Fix for bug 721017 - orca has an automagic dependency on liblouis for braille support
Submitted patch authored by Chris Brannon.
configure.ac | 12 +++++++++++-
1 files changed, 11 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 9fa6ac9..eec9f90 100644
--- a/configure.ac
+++ b/configure.ac
@@ -47,8 +47,18 @@ AM_CHECK_PYMOD(gi,,,[AC_MSG_ERROR(Could not find python module: gi)])
AM_CHECK_PYMOD(json,,,[AC_MSG_ERROR(Could not find python module: json)])
AM_CHECK_PYMOD(brlapi,,[brlapi_available="yes"],[brlapi_available="no"])
AM_CHECK_PYMOD(speechd,,[speechd_available="yes"],[speechd_available="no"])
+AC_ARG_WITH([liblouis],
+ AS_HELP_STRING([--without-liblouis], [Disable liblouis support]))
+
+AS_IF([test "x$with_liblouis" != xno],
+ [AM_CHECK_PYMOD(louis,,[louis_available="yes"],[louis_available="no"])],
+ [louis_available=no])
+
+if test "x$with_liblouis" = xyes -a "x$louis_available" = xno; then
+ AC_MSG_ERROR([Liblouis was requested but could not be found])
+fi
+
LOUIS_TABLE_DIR=""
-AM_CHECK_PYMOD(louis,,[louis_available="yes"],[louis_available="no"])
if test x$louis_available = "xyes"; then
LOUIS_TABLE_DIR=`pkg-config --variable=tablesdir liblouis`
fi
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]