Recognise yet ANOTHER location where docbookx.dtd may be found -- this
authorMike Taylor <mike@indexdata.com>
Tue, 4 Jan 2005 21:31:44 +0000 (21:31 +0000)
committerMike Taylor <mike@indexdata.com>
Tue, 4 Jan 2005 21:31:44 +0000 (21:31 +0000)
time, it's /usr/share/sgml/docbook/dtd/4.2 which is what my Debian
testing laptop uses.  Must be a change in sarge.

yaz.m4

diff --git a/yaz.m4 b/yaz.m4
index 9626319..5ca3d60 100644 (file)
--- 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)