[Libreoffice-commits] .: Branch 'libreoffice-3-3' - configure.in

Petr Mladek pmladek at kemper.freedesktop.org
Tue Nov 2 09:55:46 PDT 2010


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

New commits:
commit e2cb483262c61c79648fe3a4c2072c6b48ae11b5
Author: Bernhard Rosenkraenzer <bero at arklinux.org>
Date:   Mon Nov 1 17:34:28 2010 +0100

    correctly check Template Pack and Lightproof with --with-lang=ALL

diff --git a/configure.in b/configure.in
index 38d2e7b..e6206f3 100644
--- a/configure.in
+++ b/configure.in
@@ -6990,7 +6990,7 @@ else
     LIGHTPROOF_LANG=
     # 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"
     fi
     done
@@ -7164,7 +7164,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


More information about the Libreoffice-commits mailing list