From: Adam Dickmeiss Date: Mon, 18 Jun 2007 18:44:33 +0000 (+0000) Subject: Fixed bug #1201: ./buildconf.sh fails on sarge. X-Git-Tag: PAZPAR2.1.0.0 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=8e2a0929b9ce94a285221336a0144b9cb21bca8d;p=m4-moved-to-github.git Fixed bug #1201: ./buildconf.sh fails on sarge. --- 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)