gravatar
alpar (Alpar Juttner)
alpar@cs.elte.hu
Valgring option for ./scripts/bootstrap.sh
0 1 0
default
1 file changed with 8 insertions and 0 deletions:
↑ Collapse diff ↑
Ignore white space 16 line context
... ...
@@ -97,16 +97,23 @@
97 97
then
98 98
    werror_flags=' -Werror'
99 99
else
100 100
    werror_flags=''
101 101
fi
102 102

	
103 103
cxx_flags="CXXFLAGS=-ggdb$opt_flags$werror_flags"
104 104

	
105
if yesorno "Check with valgrind" "n" 
106
then
107
    valgrind_flags=' --enable-valgrind'
108
else
109
    valgrind_flags=''
110
fi
111

	
105 112
if [ -f ${COIN_OR_PREFIX}/include/coin/config_coinutils.h ]; then
106 113
    if yesorno "Use COIN-OR (CBC/CLP)" "n"
107 114
    then
108 115
        coin_flag="--with-coin=$COIN_OR_PREFIX"
109 116
    else
110 117
        coin_flag=""
111 118
    fi
112 119
else
... ...
@@ -123,12 +130,13 @@
123 130
else
124 131
    soplex_flag=""
125 132
fi
126 133

	
127 134
if [ "x$AUTORE" == "xyes" ]; then
128 135
    autoreconf -vif;
129 136
fi
130 137
${CONFIGURE_PATH}/configure --prefix=$LEMON_INSTALL_PREFIX \
138
$valgrind_flags \
131 139
"$cxx_flags" \
132 140
$coin_flag \
133 141
$soplex_flag \
134 142
$*
0 comments (0 inline)