#!/bin/sh

set -x

# Remove autoconf 2.5x's cache directory

rm -rf autom4te*.cache

aclocal -I .                            || exit 1
autoheader                              || exit 1
libtoolize --force --copy               || exit 1
automake --foreign --add-missing --copy || exit 1
autoconf                                || exit 1

pushd src/racoon			|| exit 1
rm -rf autom4te*.cache
autoheader				|| exit 1
autoconf				|| exit 1
popd
