export CFLAGS="-g -O4"
export FFLAGS="-g -O0 -keepC"
export CXXFLAGS="-g -O4"
aclocal
automake -a
autoconf
./configure --prefix=/xxx --with-log4cxx=/opt/log4cxx --enable-gprof=no
make