configure: replace ${CXXLAGS} with ${CXXFLAGS_for_sh}

Variable CXXLAGS expands to nothing, CXXFLAGS something unusable
here; CXXFLAGS_for_sh expands to what we expect here.
This commit is contained in:
Tomi Ollila 2016-05-03 20:23:44 +03:00 committed by David Bremner
parent 73339ade99
commit 43eb32527b

2
configure vendored
View file

@ -380,7 +380,7 @@ int main(int argc, char** argv) {
Xapian::WritableDatabase db("test.db",Xapian::DB_CREATE_OR_OPEN); Xapian::WritableDatabase db("test.db",Xapian::DB_CREATE_OR_OPEN);
} }
EOF EOF
${CXX} ${CXXLAGS} ${xapian_cxxflags} _default_backend.cc -o _default_backend ${xapian_ldflags} ${CXX} ${CXXFLAGS_for_sh} ${xapian_cxxflags} _default_backend.cc -o _default_backend ${xapian_ldflags}
./_default_backend ./_default_backend
if [ -f test.db/iamglass ]; then if [ -f test.db/iamglass ]; then
default_xapian_backend=glass default_xapian_backend=glass