[Xcb-commit] configure.ac

Jamey Sharp jamey at kemper.freedesktop.org
Sun Nov 19 10:55:34 PST 2006


 configure.ac |    6 ++++++
 1 files changed, 6 insertions(+)

New commits:
diff-tree 6eee1707ea7bc303620e39911706d5fb71fa16b0 (from da4d56ef5a880eb24014a141e6e16668ab51f180)
Author: Jamey Sharp <jamey at minilop.net>
Date:   Sun Nov 19 00:30:37 2006 -0800

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

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])


More information about the xcb-commit mailing list