Changes in configure.ac [481:861a9d5ff283:480:64c2641286df] in lemon-main
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
configure.ac
r481 r480 19 19 AC_CONFIG_SRCDIR([lemon/list_graph.h]) 20 20 AC_CONFIG_HEADERS([config.h lemon/config.h]) 21 22 lx_cmdline_cxxflags_set=${CXXFLAGS+set} 21 23 22 24 dnl Do compilation tests using the C++ compiler. … … 45 47 46 48 dnl Set custom compiler flags when using g++. 47 if test "$GXX" = yes -a "$ICC" = no; then48 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"49 if test x"$lx_cmdline_cxxflags_set" != x"set" -a "$GXX" = yes -a "$ICC" = no; then 50 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" 49 51 fi 50 AC_SUBST([WARNINGCXXFLAGS])51 52 52 53 dnl Checks for libraries. 53 LX_CHECK_GLPK 54 LX_CHECK_CPLEX 55 LX_CHECK_SOPLEX 56 LX_CHECK_CLP 57 58 AM_CONDITIONAL([HAVE_LP], [test x"$lx_lp_found" = x"yes"]) 59 AM_CONDITIONAL([HAVE_MIP], [test x"$lx_mip_found" = x"yes"]) 54 #LX_CHECK_GLPK 55 #LX_CHECK_CPLEX 56 #LX_CHECK_SOPLEX 60 57 61 58 dnl Disable/enable building the demo programs. … … 118 115 echo 119 116 echo C++ compiler.................. : $CXX 120 echo C++ compiles flags............ : $ WARNINGCXXFLAGS $CXXFLAGS117 echo C++ compiles flags............ : $CXXFLAGS 121 118 echo 122 echo GLPK support.................. : $lx_glpk_found 123 echo CPLEX support................. : $lx_cplex_found 124 echo SOPLEX support................ : $lx_soplex_found 125 echo CLP support................... : $lx_clp_found 126 echo 119 #echo GLPK support.................. : $lx_glpk_found 120 #echo CPLEX support................. : $lx_cplex_found 121 #echo SOPLEX support................ : $lx_soplex_found 122 #echo 127 123 echo Build demo programs........... : $enable_demo 128 124 echo Build additional tools........ : $enable_tools
Note: See TracChangeset
for help on using the changeset viewer.