summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJamey Sharp <jamey@minilop.net>2006-11-19 00:30:37 -0800
committerJamey Sharp <jamey@minilop.net>2006-11-19 00:34:06 -0800
commit6eee1707ea7bc303620e39911706d5fb71fa16b0 (patch)
tree92e9612caf3394292824a50c8dc7be72dbe8524a
parentda4d56ef5a880eb24014a141e6e16668ab51f180 (diff)
htmldir was introduced in autoconf 2.59c: set a reasonable value for earlier versions.
-rw-r--r--configure.ac6
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])