diff --git a/ac/ax_docbook.m4 b/ac/ax_docbook.m4 index 740d84640..8061d9234 100644 --- a/ac/ax_docbook.m4 +++ b/ac/ax_docbook.m4 @@ -8,7 +8,11 @@ if ! test -z "$DOCBOOK_ROOT"; then else AC_MSG_CHECKING([for DocBook XSL root directory]) - for i in /usr/share/xml/docbook/stylesheet/xsl/nwalsh /usr/share/xml/docbook/stylesheet/nwalsh `ls -d /usr/share/sgml/docbook/xsl-stylesheets* /usr/share/xml/docbook/xsl-stylesheets* 2> /dev/null`; do + for i in `ls -d /usr/share/xml/docbook/xsl-stylesheets*-nons 2> /dev/null` \ + /usr/share/xml/docbook/stylesheet/xsl/nwalsh \ + /usr/share/xml/docbook/stylesheet/nwalsh \ + `ls -d /usr/share/sgml/docbook/xsl-stylesheets* /usr/share/xml/docbook/xsl-stylesheets* 2> /dev/null` \ + ; do if test -f "$i/manpages/docbook.xsl"; then DOCBOOK_ROOT="$i" break