+if test ${HAVE_AUTORECONF} = false; then
+ echo "No proper autoreconf was found."
+ echo "You must have autoconf 2.59 or later installed."
+ exit 1
+fi
+
+
+# Test for a automake commands.
+
+# Test for a aclocal.
+
+HAVE_ACLOCAL=false
+
+for ACLOCAL in aclocal aclocal-1.10 aclocal-1.9 aclocal19; do
+ if ${ACLOCAL} --version > /dev/null 2>&1; then
+ ACLOCAL_VERSION=`${ACLOCAL} --version | sed 's/^[^0-9]*\([0-9.][0-9.]*\).*/\1/'`
+# echo ${ACLOCAL_VERSION}
+ case ${ACLOCAL_VERSION} in
+ 1.9* | 1.1[0-9]* )
+ HAVE_ACLOCAL=true
+ break;
+ ;;
+ esac
+ fi
+done