#! /bin/bash

# This two commands throw some errors ... Never mind
aclocal -I macros
automake -a

# Should run without error neither warning
autoconf
# Manually check that the necessary packages are recognized.
#case `hostname` in
#jrl001*) ./configure CXX=g++-3.3 --with-visp2=/home/nmansard/src/ViSP/ViSP-2 --with-boost=/usr/share/boost;;
#jrlhrp01*) ./configure CXX=g++-3.3.2 --with-visp2=/home/grxuser/nmansard/ViSP/ViSP-2 --with-boost-version=1_33_1;;
#*) echo "Host not known ...";;
#esac

./configure CXX=g++-3.3 --with-boost-thread=/usr/local/3.3 --with-dynamicsjrl=/usr/local/3.3 --with-maal=/home/nmansard/src/MatrixAbstractLayer/include --with-openhrp
#./configure CXX=g++-3.3 --without-boost-thread --with-dynamicsjrl=/usr/local/3.3 --with-maal=/home/nmansard/src/MatrixAbstractLayer/include --with-openhrp

# OK, let's compile
make -k
