Lines Matching +full:- +full:- +full:with +full:- +full:metadata +full:- +full:generator
1 dnl SPDX-License-Identifier: GPL-2.0-or-later
5 AC_MSG_NOTICE(checking asciidoctor as metadata generator)
8 # pdf requires both asciidoctor and asciidoctor-pdf
10 AC_PATH_TOOL(asciidoctor_pdf, "asciidoctor-pdf")
16 AC_MSG_NOTICE(checking asciidoc as metadata generator)
19 version="`$a2x --version | cut -d ' ' -f2 `"
44 if test "x$enable_metadata_html" = xyes -o "x$enable_metadata_pdf" = xyes; then
49 if test "x$with_metadata_generator" = xasciidoctor -o "x$with_metadata_generator" = xdetect; then
54 …AC_MSG_ERROR([invalid metadata generator '$with_metadata_generator', use --with-metadata-generator…
60 …# problems with Asciidoctor: (html enabled && not found) || (pdf enabled && not found) => try Asci…
61 if test "x$enable_metadata_html" = xyes -a "x$metadata_generator_html" = x ||
62 test "x$enable_metadata_pdf" = xyes -a "x$metadata_generator_pdf" = x; then
70 …if test "x$enable_metadata_html" != xyes -o "x$backup_html" != x -o "x$metadata_generator_html" = …
71 …test "x$enable_metadata_pdf" != xyes -o "x$backup_pdf" != x -o "x$metadata_generator_pdf" = x; then
77 if test "x$metadata_generator_html" != x -o "x$metadata_generator_pdf" != x; then
78 AC_MSG_NOTICE(choosing $with_metadata_generator for metadata generation)
83 AC_MSG_NOTICE(HTML metadata generation disabled)
89 AC_MSG_NOTICE(PDF metadata generation disabled)
95 reason="metadata generation skipped due missing suitable generator"
96 …fy correct generator with --with-metadata-generator=asciidoc|asciidoctor or use --disable-metadata…
98 if test -z "$ax_perl_modules_failed"; then
99 AC_MSG_NOTICE(metadata generation disabled)
101 AC_MSG_WARN(metadata generation skipped due missing required Perl modules)
102 elif test "x$with_metadata_html" = xno -a "x$with_metadata_pdf" = xno; then
107 if test "x$with_metadata_html" = xno -a "x$enable_metadata_html" = xyes; then
110 if test "x$with_metadata_pdf" = xno -a "x$enable_metadata_pdf" = xyes; then