#!/bin/sh
# $Id: unproto-conf,v 1.1 1996/01/09 16:21:42 dickey Exp $
OUT=td-conf.out
cat >>$OUT <<EOF/
** `date`
** node: `uname -a`
** from: `pwd`
** user: `id`
** conf: $*
EOF/
#
rm -f config.cache
rm -f config.status
TOP=/usr/local
SRC=""
LINT=lint-unproto; export LINT
if test -d .@; then
	SRC="--srcdir .@"
fi
for S in configure Configure
do
	if [ -f $S -a -x $S ]
	then
		INSTALL=`which td-install` CC=cc-unproto ./$S --verbose -prefix=$TOP -exec-prefix=$TOP $SRC $* 2>&1 |tee -a $OUT
		exit
	fi
done
#
echo '? did not find a [Cc]onfigure script'
exit 1
