[Libreoffice-commits] .: configure.in

Bernhard Rosenkraenzer bero at kemper.freedesktop.org
Tue Nov 9 05:36:03 PST 2010


 configure.in |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 6ee3d3ed4c997aa0a1fc845184853f1404c66a9f
Author: Bernhard Rosenkraenzer <br at blankpage.ch>
Date:   Tue Nov 9 14:33:01 2010 +0059

    Fix --with-lang=ALL
    
    The language checks for sun templates and lightproof didn't check for
    the ALL keyword, therefore they were disabled for all languages with
    --with-lang=ALL

diff --git a/configure.in b/configure.in
index 91a2aaa..05cb229 100755
--- a/configure.in
+++ b/configure.in
@@ -1461,7 +1461,7 @@ else
     SUNTEMPLATES_LANG=
     # check whether the langs are requested at all
     for lang in $wanted_sun_templates ; do
-        if test -n "`echo $with_lang | grep "$lang"`" ; then
+        if test "$with_lang" = "ALL" -o -n "`echo $with_lang | grep "$lang"`" ; then
                 SUNTEMPLATES_LANG="$SUNTEMPLATES_LANG $lang"
         fi
     done
@@ -1618,7 +1618,7 @@ if test "$enable_extensions" != "no" ; then
                 LIGHTPROOF_FILENAMES=
             # check whether the langs are requested at all
             for lang in $wanted_lightproof ; do
-                if test -n "`echo $with_lang | grep "$lang"`" ; then
+                if test "$with_lang" = "ALL" -o -n "`echo $with_lang | grep "$lang"`" ; then
                         LIGHTPROOF_LANG="$LIGHTPROOF_LANG $lang"
                         case $lang in
                         "hu") LIGHTPROOF_FILENAMES="$LIGHTPROOF_FILENAMES lightproof-hu-1.2.oxt";;


More information about the Libreoffice-commits mailing list