./bootstrap.sh && \
LDFLAGS="-L/usr/lib32 -m32" CXXFLAGS="-m32 $DBG" ./configure \
  --libdir=/usr/local/lib32 \
  --build=x86_64 \
  --host=i386 && \
make && \
sudo make install && \
make clean && \
CXXFLAGS="$DBG" ./configure \
  --prefix=/opt/local/i586-mingw32msvc \
  --build=x86_64 \
  --host=i586-mingw32msvc && \
make && \
sudo make install && \
make clean && \
CXXFLAGS="$DBG" ./configure && \
make check && \
sudo make install

