From 7c6563a2ad352f90562af0dae963e13f82877709 Mon Sep 17 00:00:00 2001 From: Marko Kreen Date: Wed, 4 Jun 2008 14:15:48 +0000 Subject: [PATCH] support docdir on 2.59 --- configure.ac | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index f747860..d8d9d32 100644 --- a/configure.ac +++ b/configure.ac @@ -84,11 +84,16 @@ AC_SYS_LARGEFILE AC_TYPE_PID_T AC_TYPE_SIZE_T -dnl autoconfigure based on autoconf abilities +dnl autoconf 2.59 does not have UINT macros nor docdir m4_ifdef([AC_TYPE_UINT8_T], [ AC_TYPE_UINT8_T AC_TYPE_UINT32_T AC_TYPE_UINT64_T +], [ + datarootdir='${prefix}/share' + docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' + AC_SUBST(datarootdir) + AC_SUBST(docdir) ]) dnl Checks for library functions. -- 2.40.0