#!/bin/sh
#
# bootstrap -- run the GNU autotools in a "bare" package directory
#
# This script runs aclocal, autoheader, automake, autoconf, etc. when
# the package's source directory is "bare," i.e., contains nothing but
# the bare sources and autotools input files. After running this script,
# the directory should be all set with a configure script, Makefile.in
# and other such files required to perform the build.
#
# NOTE: The autotools are expected to be in the target host's PATH.

[ -d config ] || mkdir config

aclocal &&
autoheader &&
autoconf &&
libtoolize -c -f &&
automake -a -c -f --foreign
