config/misc.m4
author alpar
Fri, 22 Apr 2005 17:47:01 +0000
changeset 1381 998e8def9676
child 1404 17c80cb3754b
permissions -rw-r--r--
- lp_cplex.h, lp_cplex.cc added
- lp_demo.cc and lp_maxflow_demo.cc uses GLPK is it is found CPLEX otherwise
     1 AC_DEFUN([LX_ENABLE_DOCS],
     2 [
     3   AC_ARG_ENABLE([docs],
     4 AS_HELP_STRING([--enable-docs@<:@=yes|no|full@:>@], [build the documentation (full enables internal documentation too) @<:@default=yes@:>@])
     5 AS_HELP_STRING([--disable-docs], [do not build the documentation]),
     6          [], [enable_docs=yes])
     7 
     8   AC_MSG_CHECKING([whether to build the documention])
     9   case "$enable_docs" in
    10     yes)
    11       DOXYGEN_INTERNAL_DOCS=NO
    12       AC_MSG_RESULT([yes])
    13       ;;
    14     full)
    15       DOXYGEN_INTERNAL_DOCS=YES
    16       AC_MSG_RESULT([full])
    17       ;;
    18     no)
    19       DOXYGEN_INTERNAL_DOCS=NO
    20       AC_MSG_RESULT([no])
    21       ;;
    22     *)
    23       AC_MSG_ERROR([bad value $enable_docs for option --enable-docs])
    24       ;;
    25   esac
    26   AC_SUBST(DOXYGEN_INTERNAL_DOCS)
    27   AM_CONDITIONAL([WANT_DOCS], [test x"$enable_docs" != x"no"])
    28 ])