htmldir was introduced in autoconf 2.59c: set a reasonable value for earlier versions.

This commit is contained in:
Jamey Sharp 2006-11-19 00:30:37 -08:00
parent da4d56ef5a
commit 6eee1707ea

View File

@ -114,6 +114,12 @@ AC_SUBST(CWARNFLAGS)
GCC_CHECK_VISIBILITY() 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() AM_CHECK_DOXYGEN()
AC_CONFIG_FILES([Makefile src/Makefile tests/Makefile doc/Makefile]) AC_CONFIG_FILES([Makefile src/Makefile tests/Makefile doc/Makefile])