diff options
-rw-r--r-- | configure.ac | 6 |
1 files changed, 6 insertions, 0 deletions
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) |