changeset 7297:2cda05620383 HEAD

Added support for autoconf versions older than 2.59c.
author Timo Sirainen <tss@iki.fi>
date Tue, 26 Feb 2008 19:56:05 +0200
parents ecf5a34a4758
children 86af79a203d7
files configure.in
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/configure.in	Tue Feb 26 19:53:28 2008 +0200
+++ b/configure.in	Tue Feb 26 19:56:05 2008 +0200
@@ -2124,6 +2124,12 @@
 
 CFLAGS="$CFLAGS $EXTRA_CFLAGS"
 
+if test "$docdir" = ""; then
+  dnl docdir supported only by autoconf v2.59c and later
+  docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
+fi
+AC_SUBST(docdir)
+
 AC_CONFIG_HEADERS([config.h])
 AC_CONFIG_FILES([
 Makefile