Sync with YAZ' version YAZPP.ERE3
authorAdam Dickmeiss <adam@indexdata.dk>
Mon, 12 Sep 2005 12:49:29 +0000 (12:49 +0000)
committerAdam Dickmeiss <adam@indexdata.dk>
Mon, 12 Sep 2005 12:49:29 +0000 (12:49 +0000)
yaz.m4

diff --git a/yaz.m4 b/yaz.m4
index 645d872..2782a1d 100644 (file)
--- a/yaz.m4
+++ b/yaz.m4
@@ -19,12 +19,13 @@ AC_ARG_WITH(docbook-dtd,[[  --with-docbook-dtd=DIR  use docbookx.dtd in DIR]],
                 /usr/share/sgml/docbook/xml-dtd-4.* 
        do
                if test -f $d/docbookx.dtd; then
-                       AC_MSG_RESULT($d)
                        DTD_DIR=$d
                fi
        done
        if test -z "$DTD_DIR"; then
                AC_MSG_RESULT(Not found)
+       else
+               AC_MSG_RESULT($d)
        fi
 ])
 AC_SUBST(DSSSL_DIR)