#! /bin/sh

if [ ! `which automake-1.7` ]; then
    echo -e "\n*** You need automake-1.7 to compile this software ***\n"
    exit 1
elif [ ! `automake --version | grep -q 1.7` ]; then
    AUTOMAKE_VERSION="-1.7"
fi
 
aclocal$AUTOMAKE_VERSION -I /usr/share/aclocal && autoheader && automake$AUTOMAKE_VERSION --add-missing --copy --ignore-deps && autoconf
