From: Mike Taylor Date: Tue, 4 Jan 2005 21:31:44 +0000 (+0000) Subject: Recognise yet ANOTHER location where docbookx.dtd may be found -- this X-Git-Tag: YAZ.2.0.32~12 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=d35622cea47fdf58f47d31023e28e49eaf1ecb47;p=yaz-moved-to-github.git Recognise yet ANOTHER location where docbookx.dtd may be found -- this time, it's /usr/share/sgml/docbook/dtd/4.2 which is what my Debian testing laptop uses. Must be a change in sarge. --- diff --git a/yaz.m4 b/yaz.m4 index 9626319..5ca3d60 100644 --- a/yaz.m4 +++ b/yaz.m4 @@ -13,11 +13,12 @@ AC_ARG_WITH(docbook-dtd, [ --with-docbook-dtd[=DIR] use docbookx.dtd in DIR], ],[ AC_MSG_CHECKING(for docbookx.dtd) DTD_DIR="" - for d in /usr/share/sgml/docbook/dtd/xml/4.1.2 \ - /usr/share/sgml/docbook/xml-dtd-4.1.2* \ - /usr/share/sgml/docbook/xml-dtd-4.1 \ - /usr/share/sgml/docbook/dtd/xml/4.0 \ - /usr/lib/sgml/dtd/docbook-xml + for d in /usr/lib/sgml/dtd/docbook-xml \ + /usr/share/sgml/docbook/dtd/4.2 \ + /usr/share/sgml/docbook/dtd/xml/4.0 \ + /usr/share/sgml/docbook/dtd/xml/4.1.2 \ + /usr/share/sgml/docbook/xml-dtd-4.1 \ + /usr/share/sgml/docbook/xml-dtd-4.1.2* do if test -f $d/docbookx.dtd; then AC_MSG_RESULT($d)