#!/bin/csh
# $Id: adssconfig,v 1.2 1996/03/02 03:10:22 ms Exp $

#
# Get the languages set up
#

set path = ( /bin /usr/bin /server/ipdtools4/ilutree/utils/bin /server/OPENWIN/3.0/bin )

set fast = 0

if ($#argv > 0) then
	if ("$argv[1]" == "-fast") then
		set fast = 1
		shift
	else
		echo "Usage:  reconfig [-fast]"
		exit 1
	endif
endif

setenv CXX "/pub/tools/lang/CC"
setenv CC "/pub/tools/lang/acc -Xc"

#
# get rid of the cache
#

if (! $fast) then
	echo "removing old cache..."
	rm -f config.cache
endif
if (! -r config.cache) then
	echo ac_cv_lib_socket='${ac_cv_lib_socket='"'no'}" >config.cache
endif

#
# run the configure script
#
set command = "./configure --enable-sunrpc-protocol --enable-courier-protocol --enable-tcp-support --enable-udp-transport --disable-sunrpc-unix-auth --prefix=/tmp --with-binding-dir=/tmp --enable-python-support --enable-cplusplus-support --enable-corba-iiop"

echo "$command..."
$command




