#! /bin/sh

if ! [ -f "$(dirname $0)/git-core/configure.ac" ]; then
	echo 'The git-core submodule is not initialized. Please run `git submodule update --init`' >&2
	exit 1
fi

cd $(dirname $0)/git-core

autoconf
exec ./configure "$@"
