config/lx_docdir_suffix.m4
author klao
Tue, 21 Jun 2005 14:57:17 +0000
changeset 1507 14ca1624e8e8
permissions -rw-r--r--
Get CPLEX location (include and libdir) from the environment.
(On lemon.cs.elte.hu use "cplex_env" command to set the environment
appropriately.)
     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])
     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 ])