[Libreoffice-commits] core.git: configure.ac

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Mon Oct 29 14:56:58 UTC 2018


 configure.ac |    8 ++++++++
 1 file changed, 8 insertions(+)

New commits:
commit 6b56ca7a9bf67bcada666f4cb1c2e20e7c0d512e
Author:     Mike Kaganski <mike.kaganski at collabora.com>
AuthorDate: Mon Oct 29 14:36:24 2018 +0100
Commit:     Mike Kaganski <mike.kaganski at collabora.com>
CommitDate: Mon Oct 29 15:56:33 2018 +0100

    Add check for en_US.utf8 locale
    
    Change-Id: I62ce7680c65ec49dd81085d4087c578f3b6c7907
    Reviewed-on: https://gerrit.libreoffice.org/62508
    Tested-by: Jenkins
    Reviewed-by: Mike Kaganski <mike.kaganski at collabora.com>

diff --git a/configure.ac b/configure.ac
index 66ef56202d1a..0312d7f07841 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2411,6 +2411,14 @@ if test -z "$BASH"; then
 fi
 AC_SUBST(BASH)
 
+AC_MSG_CHECKING([for en_US.utf8 locale])
+if locale -a | egrep -q 'en_US\.(UTF-8|utf8)'; then
+    AC_MSG_RESULT(present)
+else
+    AC_MSG_RESULT(absent)
+    AC_MSG_ERROR([you need en_US.utf8 locale to build])
+fi
+
 AC_MSG_CHECKING([for GNU or BSD tar])
 for a in $GNUTAR gtar gnutar bsdtar tar /usr/sfw/bin/gtar; do
     $a --version 2> /dev/null | egrep "GNU|bsdtar"  2>&1 > /dev/null


More information about the Libreoffice-commits mailing list