Changeset 747:a42f46828cc1 in lemon-1.2 for scripts/bootstrap.sh
- Timestamp:
- 10/05/09 09:48:57 (15 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
scripts/bootstrap.sh
r732 r747 47 47 augment_config COIN_OR_PREFIX /usr/local/coin-or \ 48 48 "# COIN-OR installation root prefix (used for CLP/CBC)" 49 50 augment_config SOPLEX_PREFIX /usr/local/soplex \ 51 "# Soplex build prefix" 49 52 50 53 … … 100 103 cxx_flags="CXXFLAGS=-ggdb$opt_flags$werror_flags" 101 104 102 if yesorno "Use COIN" "n" 103 then 104 coin_flag="--with-coin=$COIN_OR_PREFIX" 105 if [ -f ${COIN_OR_PREFIX}/include/coin/config_coinutils.h ]; then 106 if yesorno "Use COIN-OR (CBC/CLP)" "n" 107 then 108 coin_flag="--with-coin=$COIN_OR_PREFIX" 109 else 110 coin_flag="" 111 fi 105 112 else 106 coin_flag="" 113 coin_flag="" 107 114 fi 108 115 116 if [ -f ${SOPLEX_PREFIX}/src/soplex.h ]; then 117 if yesorno "Use Soplex" "n" 118 then 119 soplex_flag="--with-soplex=$SOPLEX_PREFIX" 120 else 121 soplex_flag="" 122 fi 123 else 124 soplex_flag="" 125 fi 109 126 110 127 if [ "x$AUTORE" == "xyes" ]; then … … 114 131 "$cxx_flags" \ 115 132 $coin_flag \ 133 $soplex_flag \ 116 134 $*
Note: See TracChangeset
for help on using the changeset viewer.