COIN-OR::LEMON - Graph Library

Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • configure.ac

    r627 r500  
    1919AC_CONFIG_SRCDIR([lemon/list_graph.h])
    2020AC_CONFIG_HEADERS([config.h lemon/config.h])
     21
     22lx_cmdline_cxxflags_set=${CXXFLAGS+set}
    2123
    2224dnl Do compilation tests using the C++ compiler.
     
    5153
    5254dnl Set custom compiler flags when using g++.
    53 if test "$GXX" = yes -a "$ICC" = no; then
    54   WARNINGCXXFLAGS="-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 -ansi -fno-strict-aliasing -Wold-style-cast -Wno-unknown-pragmas"
     55if test x"$lx_cmdline_cxxflags_set" != x"set" -a "$GXX" = yes -a "$ICC" = no; then
     56  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"
    5557fi
    56 AC_SUBST([WARNINGCXXFLAGS])
    5758
    5859dnl Checks for libraries.
    59 LX_CHECK_GLPK
    60 LX_CHECK_CPLEX
    61 LX_CHECK_SOPLEX
    62 LX_CHECK_COIN
     60#LX_CHECK_GLPK
     61#LX_CHECK_CPLEX
     62#LX_CHECK_SOPLEX
    6363
    64 AM_CONDITIONAL([HAVE_LP], [test x"$lx_lp_found" = x"yes"])
    65 AM_CONDITIONAL([HAVE_MIP], [test x"$lx_mip_found" = x"yes"])
     64dnl Disable/enable building the demo programs.
     65AC_ARG_ENABLE([demo],
     66AS_HELP_STRING([--enable-demo], [build the demo programs])
     67AS_HELP_STRING([--disable-demo], [do not build the demo programs @<:@default@:>@]),
     68              [], [enable_demo=no])
     69AC_MSG_CHECKING([whether to build the demo programs])
     70if test x"$enable_demo" != x"no"; then
     71  AC_MSG_RESULT([yes])
     72else
     73  AC_MSG_RESULT([no])
     74fi
     75AM_CONDITIONAL([WANT_DEMO], [test x"$enable_demo" != x"no"])
    6676
    6777dnl Disable/enable building the binary tools.
     
    98108AC_CONFIG_FILES([
    99109Makefile
    100 demo/Makefile
    101110cmake/version.cmake
    102111doc/Doxyfile
     
    112121echo
    113122echo C++ compiler.................. : $CXX
    114 echo C++ compiles flags............ : $WARNINGCXXFLAGS $CXXFLAGS
     123echo C++ compiles flags............ : $CXXFLAGS
    115124echo
    116125echo Compiler supports long long... : $long_long_found
    117126echo
    118 echo GLPK support.................. : $lx_glpk_found
    119 echo CPLEX support................. : $lx_cplex_found
    120 echo SOPLEX support................ : $lx_soplex_found
    121 echo CLP support................... : $lx_clp_found
    122 echo CBC support................... : $lx_cbc_found
    123 echo
     127#echo GLPK support.................. : $lx_glpk_found
     128#echo CPLEX support................. : $lx_cplex_found
     129#echo SOPLEX support................ : $lx_soplex_found
     130#echo
     131echo Build demo programs........... : $enable_demo
    124132echo Build additional tools........ : $enable_tools
    125133echo
Note: See TracChangeset for help on using the changeset viewer.