#!/bin/sh
# XView linux port, installation utility
# 12/1992 K.Osterberg
# 4/1993 -- "" --
# 9/1993 -- "" --
# 10/1993 -- "" --

# Location of XFree
X11HOME=/usr/X386
OPENWINHOME=/usr/openwin; export OPENWINHOME
OLDLIBFILE=/usr/tmp/xvinst.tmp

if [ -x /usr/bin/clear ]; then
	/usr/bin/clear
fi
echo "XView Linux port, release 5.1. Starting installation"
echo ""

if [ ! -f openwin.tar ]
then
	echo "Please change your directory to where the distribution files reside"
	exit 1
fi

if [ -d $OPENWINHOME -o -f /usr/lib/libxview.a -o -f /lib/libxv3.so.1 ]
then

	if [ ! -f $OPENWINHOME/lib/libolg.so.2.? ]; then
		keepoldmajor=0
	else
		echo "You seem to have                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               