#!/bin/sh
# DBS Telephony Server Copyright (c) 1997-1998 Tycho Softworks.
# $Id: config 1.1 Sat, 19 Sep 1998 20:57:22 -0400 dyfet $

build='no'
if test ! -f config.cache ; then
	build='y'
fi

if test ! -f sdk/_config.h ; then
	build='y'
fi

if test ! -z "$*" ; then
	build='y'
fi

sdk/bin/config $*
if test $? = '0' ; then
	if test $build = 'y' ; then
		cd sdk/std ; make clean ; exec make
	fi
else
	rm sdk/_config.h
fi
