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

Michael Stahl mstahl at redhat.com
Mon Jul 24 13:14:27 UTC 2017


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

New commits:
commit 68d7faae7d748b6adcf8ba71a5b7ec9d80031c1b
Author: Michael Stahl <mstahl at redhat.com>
Date:   Mon Jul 24 15:11:57 2017 +0200

    configure: check that msgfmt/msguniq were actually found
    
    Change-Id: I6134b01644bf156154256ba5c4ad64ff5acd0f1d

diff --git a/configure.ac b/configure.ac
index d0e4c9b80d29..cc4f11844b28 100644
--- a/configure.ac
+++ b/configure.ac
@@ -11598,7 +11598,13 @@ else
     fi
     if test -z "$MSGFMT"; then
         AC_CHECK_PROGS(MSGFMT, [msgfmt])
+        if test -z "$MSGFMT"; then
+            AC_MSG_ERROR([msgfmt not found. Install GNU gettext, or re-run without languages.])
+        fi
         AC_CHECK_PROGS(MSGUNIQ, [msguniq])
+        if test -z "$MSGUNIQ"; then
+            AC_MSG_ERROR([msguniq not found. Install GNU gettext, or re-run without languages.])
+        fi
     fi
 fi
 AC_SUBST(MSGFMT)


More information about the Libreoffice-commits mailing list