Kaydet (Commit) 427ef167 authored tarafından Miklos Vajna's avatar Miklos Vajna

configure: check for validators if --with-export-validation is used

Change-Id: I535669e46f2535f0a0c0b106b964bfbc3a2e2d7e
üst b49abbbd
...@@ -2723,6 +2723,15 @@ AC_MSG_CHECKING([whether to enable export file validation]) ...@@ -2723,6 +2723,15 @@ AC_MSG_CHECKING([whether to enable export file validation])
if test "$with_export_validation" = yes; then if test "$with_export_validation" = yes; then
AC_MSG_RESULT([yes]) AC_MSG_RESULT([yes])
AC_DEFINE(HAVE_EXPORT_VALIDATION) AC_DEFINE(HAVE_EXPORT_VALIDATION)
AC_CHECK_PROGS(ODFVALIDATOR, odfvalidator)
if test -z "$ODFVALIDATOR"; then
AC_MSG_ERROR([odfvalidator is not found in PATH, but required by --with-export-validation])
fi
AC_CHECK_PROGS(OFFICEOTRON, officeotron)
if test -z "$OFFICEOTRON"; then
AC_MSG_ERROR([officeotron is not found in PATH, but required by --with-export-validation])
fi
else else
AC_MSG_RESULT([no]) AC_MSG_RESULT([no])
fi fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment