#!/bin/csh -f
setenv BASEDIR /usr/local/share/gid
set glx_capable=`/usr/local/bin/xdpyinfo | grep GLX`
if ( "$glx_capable" == "") then
setenv LD_LIBRARY_PATH $BASEDIR/lib/mesa26:$BASEDIR/lib
else
setenv LD_LIBRARY_PATH $BASEDIR/lib
endif
setenv GIDDEFAULT $BASEDIR
setenv GIDDEFAULTTCL $GIDDEFAULT/scripts
setenv GIDEXE $BASEDIR
setenv TCL_LIBRARY $GIDDEFAULTTCL
setenv TK_LIBRARY $GIDDEFAULTTCL
$GIDEXE/gid.exe $*
