diff options
-rw-r--r-- | configure.ac | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 2846184..a831f34 100644 --- a/configure.ac +++ b/configure.ac @@ -114,6 +114,12 @@ AC_SUBST(CWARNFLAGS) GCC_CHECK_VISIBILITY() +# htmldir is not defined prior to autoconf 2.59c, so on earlier versions +# set an equivalent value. +AC_PREREQ([2.59c], [], [AC_SUBST([htmldir], [m4_ifset([AC_PACKAGE_TARNAME], + ['${datadir}/doc/${PACKAGE_TARNAME}'], + ['${datadir}/doc/${PACKAGE}']) +])]) AM_CHECK_DOXYGEN() AC_CONFIG_FILES([Makefile src/Makefile tests/Makefile doc/Makefile]) |