COIN-OR::LEMON - Graph Library

Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • configure.ac

    r64 r55  
    1414AC_CONFIG_AUX_DIR([build-aux])
    1515AC_CONFIG_MACRO_DIR([m4])
    16 AM_INIT_AUTOMAKE([-Wall -Werror foreign subdir-objects nostdinc])
     16AM_INIT_AUTOMAKE([-Wall -Werror foreign subdir-objects])
    1717AC_CONFIG_SRCDIR([lemon/list_graph.h])
    1818AC_CONFIG_HEADERS([config.h lemon/config.h])
     
    2727AC_PROG_LIBTOOL
    2828
    29 AC_CHECK_PROG([doxygen_found],[doxygen],[yes],[no])
    30 
    3129if test x"$lx_cmdline_cxxflags_set" != x"set" -a "$GXX" = yes; then
    3230  CXXFLAGS="$CXXFLAGS -Wall -W -Wall -W -Wunused -Wformat=2 -Wctor-dtor-privacy -Wnon-virtual-dtor -Wno-char-subscripts -Wwrite-strings -Wno-char-subscripts -Wreturn-type -Wcast-qual -Wcast-align -Wsign-promo -Woverloaded-virtual -Woverloaded-virtual -ansi -fno-strict-aliasing -Wold-style-cast -Wno-unknown-pragmas"
    3331fi
     32
     33AC_CHECK_PROG([doxygen_found],[doxygen],[yes],[no])
    3434
    3535dnl Checks for libraries.
     
    3737LX_CHECK_CPLEX
    3838LX_CHECK_SOPLEX
     39
     40dnl Enable/disable installing the documentation
     41AC_ARG_ENABLE([doc],
     42AS_HELP_STRING([--enable-doc@<:@=yes|no|full@:>@], [build the documentation (full enables internal documentation too) @<:@default=yes@:>@])
     43AS_HELP_STRING([--disable-doc], [do not build the documentation]),
     44              [], [enable_doc=yes])
     45
     46AC_MSG_CHECKING([whether to build the documention])
     47case "$enable_doc" in
     48  yes)
     49    DOXYGEN_INTERNAL_DOCS=NO
     50    AC_MSG_RESULT([yes])
     51    ;;
     52  full)
     53    DOXYGEN_INTERNAL_DOCS=YES
     54    AC_MSG_RESULT([full])
     55    ;;
     56  no)
     57    DOXYGEN_INTERNAL_DOCS=NO
     58    AC_MSG_RESULT([no])
     59    ;;
     60  *)
     61    AC_MSG_ERROR([bad value $enable_doc for option --enable-doc])
     62    ;;
     63esac
     64AC_SUBST(DOXYGEN_INTERNAL_DOCS)
     65AM_CONDITIONAL([WANT_DOC], [test x"$enable_doc" != x"no"])
    3966
    4067dnl Disable/enable building the demo programs
     
    119146echo $prefix.
    120147echo
     148echo The documentation will be installed in
     149echo -n '  '
     150eval echo ${datadir}/doc/$PACKAGE.
     151echo
    121152echo '*********************************************************************'
    122153
Note: See TracChangeset for help on using the changeset viewer.