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

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Tue Mar 5 21:32:23 UTC 2019


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

New commits:
commit a6b2708ef58fd23dd536606ec8fe4778c285952f
Author:     Henry Castro <hcastro at collabora.com>
AuthorDate: Sun Feb 10 11:38:03 2019 -0400
Commit:     Henry Castro <hcastro at collabora.com>
CommitDate: Tue Mar 5 17:31:57 2019 -0400

    configure: check "msgfmt" installation
    
    Change-Id: Ib6661e3e79e4ceba6379097875d5d1e7998838e6

diff --git a/configure.ac b/configure.ac
index dc4a51977..651a0660e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -225,6 +225,12 @@ else
 fi
 AC_SUBST(ENABLE_BROWSERSYNC)
 
+AC_CHECK_PROGS(MSGFMT, [msgfmt])
+AC_CHECK_PROGS(MSGCAT, [msgcat])
+if test -z "$MSGFMT"; then
+    AC_MSG_ERROR([msgfmt not found. Install GNU gettext])
+fi
+
 if test -n "$with_logfile" ; then
    LOOLWSD_LOGFILE="$with_logfile"
 fi


More information about the Libreoffice-commits mailing list