Skip to content

Commit

Permalink
Build new configure file
Browse files Browse the repository at this point in the history
  • Loading branch information
fsundermeyer committed Nov 10, 2023
1 parent 198d0a0 commit 22381d7
Show file tree
Hide file tree
Showing 2 changed files with 72 additions and 0 deletions.
63 changes: 63 additions & 0 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -4502,6 +4502,40 @@ if test -z "$HAVE_DOCBOOK_51"; then
printf "%s\n" "$as_me: WARNING: Seems you do not have DocBook 5.1 installed." >&2;}
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: ===== Checking for DocBook 5.2..." >&5
printf "%s\n" "$as_me: ===== Checking for DocBook 5.2..." >&6;}
for XML_SCHEMA in "http://docbook.org/xml/5.2/rng/docbookxi.rng" \
"http://docbook.org/xml/5.2/rng/docbookxi.rnc" \
"http://docbook.org/xml/5.2/rng/docbook.rng" \
"http://docbook.org/xml/5.2/rng/docbook.rnc" \
"http://docbook.org/xml/5.2/rng/assembly.rng" \
"http://docbook.org/xml/5.2/rng/assembly.rnc" \
"http://docbook.org/xml/5.2/rng/dbits.rng" \
"http://docbook.org/xml/5.2/rng/dbits.rnc" ; do
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $XML_SCHEMA" >&5
printf %s "checking for $XML_SCHEMA... " >&6; }
if { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$XMLCATALOG --noout \"\$root_catalog\" \"\$XML_SCHEMA\" >&2"; } >&5
($XMLCATALOG --noout "$root_catalog" "$XML_SCHEMA" >&2) 2>&5
ac_status=$?
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; }; then
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
printf "%s\n" "yes" >&6; }
HAVE_DOCBOOK_52=1
db5_version="5.2"
else
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
printf "%s\n" "no" >&6; }
fi
done
if test -z "$HAVE_DOCBOOK_52"; then
HAVE_DOCBOOK_52=0
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Seems you do not have DocBook 5.2 installed." >&5
printf "%s\n" "$as_me: WARNING: Seems you do not have DocBook 5.2 installed." >&2;}
fi
# In case DocBook 5 is not installed, setting db5_version fails and the
# URI in etc/config is set to an invalid value. Therefore let's set
# 5.0 as a hopefully sane default
Expand Down Expand Up @@ -7103,6 +7137,35 @@ else
printf "%s\n" "DocBook 5.1 support | yes |" >&6; }
fi
if test 0 = "$HAVE_DOCBOOK_52"; then
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: DocBook 5.2 support | no | install DocBook 5.2, the
| | DocBook 5 XSL stylesheets,
| | and jing
" >&5
printf "%s\n" "DocBook 5.2 support | no | install DocBook 5.2, the
| | DocBook 5 XSL stylesheets,
| | and jing
" >&6; }
else
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: DocBook 5.2 support | yes |" >&5
printf "%s\n" "DocBook 5.2 support | yes |" >&6; }
fi
if test 0 = "$HAVE_DOCBOOK_52"; then
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: DocBook Assembly support | no | install DocBook 5.2, the
| | DocBook 5 XSL stylesheets,
| | and jing
" >&5
printf "%s\n" "DocBook Assembly support | no | install DocBook 5.2, the
| | DocBook 5 XSL stylesheets,
| | and jing
" >&6; }
else
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: DocBook Assembly support | yes |" >&5
printf "%s\n" "DocBook Assembly support | yes |" >&6; }
fi
if test 0 = "$ASCIIDOCTOR"; then
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: Support AsciiDoc sources | no | install asciidoctor
| | rubygem" >&5
Expand Down
9 changes: 9 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -503,6 +503,15 @@ else
AC_MSG_RESULT([DocBook 5.2 support | yes |])
fi

if test 0 = "$HAVE_DOCBOOK_52"; then
AC_MSG_RESULT([DocBook Assembly support | no | install DocBook 5.2, the
| | DocBook 5 XSL stylesheets,
| | and jing
])
else
AC_MSG_RESULT([DocBook Assembly support | yes |])
fi


dnl AsciiDoc support
if test 0 = "$ASCIIDOCTOR"; then
Expand Down

0 comments on commit 22381d7

Please sign in to comment.