configure.ac checks if the operating system family is Linux or WINNT and
refuses to enable graphite support if this is not the case.

I'm using graphite on DragonFly and FreeBSD ports also enable it with a local
patch; the Linux or WINNT check should be removed.

Patch vs -master attached.

-- 
Francois Tigeot
>From 9d033067bb7854c19b36bc21cba230eaa3d5815c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Fran=C3=A7ois=20Tigeot?= <ftig...@wolfpond.org>
Date: Wed, 2 Jan 2013 13:06:11 +0100
Subject: [PATCH] configure: graphite can be used on non-Linux, non-WINNT
 platforms

Change-Id: I9e4b041273c07e39824e173ee06f125d2fbf937c
---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index 68723f4..9eefb03 100644
--- a/configure.ac
+++ b/configure.ac
@@ -8445,7 +8445,7 @@ dnl Graphite
 dnl ===================================================================
 
 AC_MSG_CHECKING([whether to enable graphite support])
-if test "$_os" = "WINNT" -o "$_os" = "Linux" && test "$enable_graphite" = "" 
-o "$enable_graphite" != "no"; then
+if test "$enable_graphite" = "" -o "$enable_graphite" != "no"; then
     AC_MSG_RESULT([yes])
     ENABLE_GRAPHITE="TRUE"
     AC_DEFINE(ENABLE_GRAPHITE)
-- 
1.7.12

_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to