1#!/bin/sh
2# Run this to generate configure, Makefile.in's, etc
3
4(autoreconf --version) < /dev/null > /dev/null 2>&1 || {
5  (autoconf --version) < /dev/null > /dev/null 2>&1 || {
6    echo
7    echo "**Error**: You must have the GNU Build System (autoconf, automake, "
8    echo "libtool, etc) to update the build system.  Download the appropriate"
9    echo "packages for your distribution, or get the source tar balls from"
10    echo "ftp://ftp.gnu.org/pub/gnu/."
11    exit 1
12  }
13  echo
14  echo "**Error**: Your version of autoconf is too old (you need at least 2.57)"
15  echo "to update the build system.  Download the appropriate updated package"
16  echo "for your distribution, or get the source tar ball from"
17  echo "ftp://ftp.gnu.org/pub/gnu/."
18  exit 1
19}
20
21echo Running autoreconf --verbose --install --force
22autoreconf --verbose --install --force
23
24echo Removing autom4te.cache
25rm -rf autom4te.cache
26
27