COIN-OR::LEMON - Graph Library

source: lemon-0.x/config/lx_docdir_suffix.m4 @ 1517:b303c1741c9a

Last change on this file since 1517:b303c1741c9a was 1487:6ea6d0d789c6, checked in by Akos Ladanyi, 19 years ago

added macro for setting the name of the directory under datadir/doc

File size: 443 bytes
Line 
1AC_DEFUN([LX_DOCDIR_SUFFIX],
2[
3  AC_ARG_WITH([docsuffix],
4AS_HELP_STRING([--with-docsuffix=DOCSUFFIX], [install the documentation under datadir/doc/DOCSUFFIX]),
5              [], [with_docsuffix=no])
6
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])
14
15  AC_SUBST(DOCSUFFIX)
16])
Note: See TracBrowser for help on using the repository browser.