author | alpar |
Mon, 04 Jul 2005 17:16:05 +0000 | |
changeset 1537 | 0d9f1a71be27 |
permissions | -rw-r--r-- |
ladanyi@1487 | 1 |
AC_DEFUN([LX_DOCDIR_SUFFIX], |
ladanyi@1487 | 2 |
[ |
ladanyi@1487 | 3 |
AC_ARG_WITH([docsuffix], |
ladanyi@1487 | 4 |
AS_HELP_STRING([--with-docsuffix=DOCSUFFIX], [install the documentation under datadir/doc/DOCSUFFIX]), |
ladanyi@1487 | 5 |
[], [with_docsuffix=no]) |
ladanyi@1487 | 6 |
|
ladanyi@1487 | 7 |
AC_MSG_CHECKING([for the value of DOCSUFFIX]) |
ladanyi@1487 | 8 |
if test x"$with_docsuffix" != x"no"; then |
ladanyi@1487 | 9 |
DOCSUFFIX="$with_docsuffix" |
ladanyi@1487 | 10 |
else |
ladanyi@1487 | 11 |
DOCSUFFIX="$PACKAGE_TARNAME-$PACKAGE_VERSION" |
ladanyi@1487 | 12 |
fi |
ladanyi@1487 | 13 |
AC_MSG_RESULT([$DOCSUFFIX]) |
ladanyi@1487 | 14 |
|
ladanyi@1487 | 15 |
AC_SUBST(DOCSUFFIX) |
ladanyi@1487 | 16 |
]) |