DataMuseum.dk

Presents historical artifacts from the history of:

Regnecentalen RC-900

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about Regnecentalen RC-900

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - metrics - download

⟦3e6a876a6⟧ TextFile

    Length: 1210 (0x4ba)
    Types: TextFile
    Notes: UNIX file
    Names: »preinstall«

Derivation

└─⟦a0a611847⟧ Bits:30004636/disk1.imd INTERACTIVE Motif Environment Development System
└─⟦a0a611847⟧ UNIX Filesystem
    └─⟦this⟧ »xt/install/preinstall« 

TextFile

#	Save away any conflicting Athena Widget stuff, and tell the
#	user that this is being done.
#
TOOLKIT=/usr/lib/libXt.a
TOOLKITOLD=/usr/lib/libXtA.a

if test -f $TOOLKIT -a ! -f $TOOLKITOLD
then
    echo "    386/ix X11 intrinsics library (without OSF/Motif enhancements) found."
    echo "    Saving toolkit to: $TOOLKITOLD"
    echo
    mv $TOOLKIT $TOOLKITOLD
fi

SAVEDIR=/usr/include/X11A
INCL=/usr/include/X11

SAVE=0
for i in VendorP.h Vendor.h StringDefs.h ShellP.h Shell.h Selection.h \
    Quarks.h IntrinsicP.h Intrinsic.h CoreP.h Core.h Constraint.h \
    ConstrainP.h CompositeP.h Composite.h
do
    if test -f $INCL/$i -a ! -f $SAVEDIR/$i
    then
	if test "$SAVE" = "0"
	then
	    if test ! -d $SAVEDIR
	    then
		echo "Building $SAVEDIR (to hold 386/ix X11 toolkit header files)"
		echo
		mkdir -p $SAVEDIR
		chmod 755 $SAVEDIR
		chown bin $SAVEDIR
		chgrp bin $SAVEDIR
	    fi
	    echo "The following 386/ix X11 toolkit header files are being saved"
	    echo "due to differences with the 386/ix X11 VS. INTERACTIVE Motif"
	    echo "X toolkit intrinsics:"
	    echo
	    SAVE=1
	fi
        echo "    moving" $INCL/$i "to" $SAVEDIR/$i
        mv $INCL/$i $SAVEDIR/$i
    fi
done
echo
exit 0