author | ladanyi |
Fri, 29 Jul 2005 12:30:28 +0000 | |
changeset 1607 | da99ef6dff78 |
permissions | -rw-r--r-- |
1 AC_DEFUN([LX_DOCDIR_SUFFIX],
2 [
3 AC_ARG_WITH([docsuffix],
4 AS_HELP_STRING([--with-docsuffix=DOCSUFFIX], [install the documentation under datadir/doc/DOCSUFFIX]),
5 [], [with_docsuffix=no])
7 AC_MSG_CHECKING([for the value of DOCSUFFIX])
8 if test x"$with_docsuffix" != x"no"; then
9 DOCSUFFIX="$with_docsuffix"
10 else
11 DOCSUFFIX="$PACKAGE_TARNAME-$PACKAGE_VERSION"
12 fi
13 AC_MSG_RESULT([$DOCSUFFIX])
15 AC_SUBST(DOCSUFFIX)
16 ])