Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISC Open Source Projects
Kea
Commits
8c15d974
Commit
8c15d974
authored
Jul 16, 2019
by
Michal Nowikowski
Browse files
disabled discovery of old tools in ./configure
parent
d1f24e17
Changes
1
Hide whitespace changes
Inline
Side-by-side
configure.ac
View file @
8c15d974
...
...
@@ -1455,41 +1455,41 @@ if test "x$enable_generate_docs" != xno ; then
AC_MSG_RESULT(yes (found in $SPHINXBUILD))
fi
# xsltproc --nonet parameter
NONET="--nonet"
AC_ARG_VAR(XSLTPROC_NET, [xsltproc uses the Internet to fetch DTDs, entities or documents.])
if test "x$XSLTPROC_NET" != x ; then
NONET=
fi
AC_SUBST(NONET)
#
# xsltproc --nonet parameter
#
NONET="--nonet"
#
AC_ARG_VAR(XSLTPROC_NET, [xsltproc uses the Internet to fetch DTDs, entities or documents.])
#
if test "x$XSLTPROC_NET" != x ; then
#
NONET=
#
fi
#
AC_SUBST(NONET)
# Check for xsltproc
AC_PATH_PROG([XSLTPROC], [xsltproc])
if test -z "$XSLTPROC"; then
AC_MSG_ERROR("xsltproc not found; it is required for --enable-generate-docs")
else
AC_MSG_CHECKING([if $XSLTPROC works])
# run xsltproc to see if works
$XSLTPROC --novalid --xinclude $NONET http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
if test $? -ne 0 ; then
AC_MSG_ERROR("Error with $XSLTPROC using release/xsl/current/manpages/docbook.xsl")
fi
$XSLTPROC --novalid --xinclude $NONET http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl
if test $? -ne 0 ; then
AC_MSG_ERROR("Error with $XSLTPROC using release/xsl/current/html/docbook.xsl")
fi
AC_MSG_RESULT(yes)
fi
AC_PATH_PROG([ELINKS], [elinks])
if test -z "$ELINKS"; then
AC_MSG_ERROR("elinks not found; it is required for --enable-generate-docs")
fi
#
AC_PATH_PROG([XSLTPROC], [xsltproc])
#
if test -z "$XSLTPROC"; then
#
AC_MSG_ERROR("xsltproc not found; it is required for --enable-generate-docs")
#
else
#
AC_MSG_CHECKING([if $XSLTPROC works])
#
# run xsltproc to see if works
#
$XSLTPROC --novalid --xinclude $NONET http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
#
if test $? -ne 0 ; then
#
AC_MSG_ERROR("Error with $XSLTPROC using release/xsl/current/manpages/docbook.xsl")
#
fi
#
$XSLTPROC --novalid --xinclude $NONET http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl
#
if test $? -ne 0 ; then
#
AC_MSG_ERROR("Error with $XSLTPROC using release/xsl/current/html/docbook.xsl")
#
fi
#
AC_MSG_RESULT(yes)
#
fi
#
AC_PATH_PROG([ELINKS], [elinks])
#
if test -z "$ELINKS"; then
#
AC_MSG_ERROR("elinks not found; it is required for --enable-generate-docs")
#
fi
fi
# Don't fail here if not found, used to generate PDF documentation.
AC_PATH_PROG([DBLATEX], [dblatex])
AM_CONDITIONAL(HAVE_DBLATEX, test "x$DBLATEX" != "x")
#
AC_PATH_PROG([DBLATEX], [dblatex])
#
AM_CONDITIONAL(HAVE_DBLATEX, test "x$DBLATEX" != "x")
AM_CONDITIONAL(GENERATE_DOCS, test x$enable_generate_docs != xno)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment