#!/bin/bash

if [ -n "$CVSCOMPILE_NO_MAKE" ]; then
	echo Use of CVSCOMPILE_NO_MAKE is deprecated, use GITCOMPILE_NO_MAKE instead.
	GITCOMPILE_NO_MAKE=1
fi

autoconf
echo "./configure $@"
sh ./configure $@ || exit 1
if [ -z "$GITCOMPILE_NO_MAKE" ]; then
  make || exit 1
fi
exit 0
