Change in core[master]: WITH_LANG: add en-US if it is missing

David Ostrovsky (via Code Review) gerrit at gerrit.libreoffice.org
Tue Jan 29 11:48:16 PST 2013


Hi,

I have submitted a patch for review:

    https://gerrit.libreoffice.org/1919

To pull it, you can do:

    git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/19/1919/1

WITH_LANG: add en-US if it is missing

Change-Id: Ie12913691fa3d01bc7ad2fc0c108821d0937d250
---
M configure.ac
1 file changed, 4 insertions(+), 0 deletions(-)



diff --git a/configure.ac b/configure.ac
index a18eed4..9afbc5f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -11808,6 +11808,10 @@
         AC_MSG_ERROR([invalid language: $lang; supported languages are: $ALL_LANGS])
     fi
 done
+if test -n "$WITH_LANG" -a "$WITH_LANG" != "ALL"; then
+    echo $WITH_LANG | grep en-US 2>&1 > /dev/null
+    test $? -ne 1 || WITH_LANG=`echo $WITH_LANG en-US`
+fi
 # list with substituted ALL
 WITH_LANG_LIST=`echo $WITH_LANG | sed "s/ALL/$ALL_LANGS/"`
 test -z "$WITH_LANG_LIST" && WITH_LANG_LIST="en-US"

-- 
To view, visit https://gerrit.libreoffice.org/1919
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie12913691fa3d01bc7ad2fc0c108821d0937d250
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: David Ostrovsky <David.Ostrovsky at gmx.de>


More information about the LibreOffice mailing list