#!/bin/sh
autogen_error () {
   echo "Generating configuration files failed!"
   echo "Make sure you have the following packages installed:"
   echo ""
   echo "   automake"
   echo "   autopoint (gettext tool)"
   echo "   intltool"
   exit 1
}
autoreconf --verbose --install --force || autogen_error
intltoolize --force || autogen_error
