From 8e2a0929b9ce94a285221336a0144b9cb21bca8d Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Mon, 18 Jun 2007 18:44:33 +0000 Subject: [PATCH] Fixed bug #1201: ./buildconf.sh fails on sarge. --- yaz.m4 | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/yaz.m4 b/yaz.m4 index ebfd774..eebfa70 100644 --- a/yaz.m4 +++ b/yaz.m4 @@ -4,6 +4,11 @@ dnl ----- Setup Docbook documentation for YAZ AC_DEFUN([YAZ_DOC], [ +dnl autoconf < 2.60 does not define docdir +if test -n "$docdir"; then + docdir="${datadir}/doc/${PACKAGE}" + AC_SUBST([docdir]) +fi AC_SUBST(XSLTPROC_COMPILE) XSLTPROC_COMPILE='xsltproc -path ".:$(srcdir)"' AC_SUBST(MAN_COMPILE) -- 1.7.10.4