1#!/bin/sh
2# Run this to generate all the initial makefiles, etc.
3
4set -e
5
6if [ ! -f configure.ac -o ! -f COPYING ]; then
7	echo "Doesn't look like you're in the source directory" >&2
8	exit 1
9fi
10
11# old autoreconf/aclocal versions fail hard if m4 doesn't exist
12mkdir -p m4
13autoreconf --force --install
14echo "Now type './configure ...' and 'make' to compile."
15