[Libreoffice-commits] core.git: Branch 'libreoffice-6-2' - configure.ac

Michael Stahl (via logerrit) logerrit at kemper.freedesktop.org
Wed Aug 14 09:25:01 UTC 2019


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

New commits:
commit 36353add4180e8643f3adcb24c2a50881a3570ae
Author:     Michael Stahl <Michael.Stahl at cib.de>
AuthorDate: Tue Aug 13 10:39:00 2019 +0200
Commit:     Thorsten Behrens <Thorsten.Behrens at CIB.de>
CommitDate: Wed Aug 14 11:24:17 2019 +0200

    configure: don't enable export validation if there are no schemas
    
    Schemas are excluded from tarballs since commit
    34dced99c33a97dab86c4538fa267ad4ad4fb41f because of the license.
    
    Change-Id: I6540926d9ebb390d7956bbd1df3bb915adebb64b
    Reviewed-on: https://gerrit.libreoffice.org/77383
    Tested-by: Jenkins
    Reviewed-by: Michael Stahl <Michael.Stahl at cib.de>
    (cherry picked from commit c78dd0a726b32d922a0d75a26a51d4c30612368c)
    Reviewed-on: https://gerrit.libreoffice.org/77393
    Reviewed-by: Thorsten Behrens <Thorsten.Behrens at CIB.de>

diff --git a/configure.ac b/configure.ac
index b43544e51dad..3f5b426032da 100644
--- a/configure.ac
+++ b/configure.ac
@@ -7385,6 +7385,12 @@ if test "$with_export_validation" != "no"; then
         else
             AC_MSG_RESULT([no, as Java is too old, need Java 8])
         fi
+    elif ! test -d "${SRC_ROOT}/schema"; then
+        if test "$with_export_validation" = "yes"; then
+            AC_MSG_ERROR([requested, but schema directory is missing (it is excluded from tarballs)])
+        else
+            AC_MSG_RESULT([no, schema directory is missing (it is excluded from tarballs)])
+        fi
     else
         AC_MSG_RESULT([yes])
         AC_DEFINE(HAVE_EXPORT_VALIDATION)


More information about the Libreoffice-commits mailing list