BIND 10 #2448: configure.ac missing checks for --enable-generate-docs

BIND 10 Development do-not-reply at isc.org
Thu Dec 13 07:33:23 UTC 2012


#2448: configure.ac missing checks for --enable-generate-docs
-------------------------------------+-------------------------------------
            Reporter:  jelte         |                        Owner:
                Type:  task          |  UnAssigned
            Priority:  medium        |                       Status:  new
           Component:  build system  |                    Milestone:
            Keywords:                |                   Resolution:
           Sensitive:  0             |                 CVSS Scoring:
         Sub-Project:  Core          |              Defect Severity:  N/A
Estimated Difficulty:  4             |  Feature Depending on Ticket:
         Total Hours:  0             |          Add Hours to Ticket:  0
                                     |                    Internal?:  0
-------------------------------------+-------------------------------------

Comment (by naokikambe):

 That error seems to be caused because of no installed stylesheets for
 docbook, I think. It passed after I installed the `docbook-style-xsl`
 package on my fedora. The error message should be updated to install it?

 BTW quick patches for checking `elinks`:
 {{{#!patch
 diff --git a/configure.ac b/configure.ac
 index 3f7a269..5daf368 100644
 --- a/configure.ac
 +++ b/configure.ac
 @@ -1103,6 +1103,11 @@ if test "x$enable_generate_docs" != xno ; then
      fi
      AC_MSG_RESULT(yes)
    fi
 +  # Check for elinks
 +  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


 diff --git a/doc/guide/Makefile.am b/doc/guide/Makefile.am
 index 1d63c04..6f2b7e2 100644
 --- a/doc/guide/Makefile.am
 +++ b/doc/guide/Makefile.am
 @@ -21,7 +21,7 @@ bind10-guide.html: bind10-guide.xml
 http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl \
                 $(srcdir)/bind10-guide.xml

 -HTML2TXT = elinks -dump -no-numbering -no-references
 +HTML2TXT = @ELINKS@ -dump -no-numbering -no-references

  bind10-guide.txt: bind10-guide.html
         $(HTML2TXT) bind10-guide.html > $@
 }}}
 This issue is rather related to #2527 but it's already closed.

-- 
Ticket URL: <http://bind10.isc.org/ticket/2448#comment:3>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development


More information about the bind10-tickets mailing list