incorrect CXXFLAGS test in configure
Brought to you by:
brama
the configure.ac file reads:
if [ -z "$CXXFLAGS" ] ; then
CXXFLAGS="-O2 -Wall -W -fno-strength-reduce"
fi
this is incorrect for two reasons ... one, "[" is a quote character in m4 ... you need to use the standard "test" binary instead
two, testing for empty CXXFLAGS is incorrect, you need to test if CXXFLAGS is set:
if test "${CXXFLAGS+set}" != "set" ; then
CXXFLAGS="-O2 -Wall -W -fno-strength-reduce"
fi