ce92b6eb9c
[most importantly] put back dependencies accidentaly eliminated in check-in #13342.
The stuff in here is based on patches supplied to me by Steven Schoch <schoch@sheba.arc.nasa.gov> to do DSS. I have since modified a them a little but a debt of gratitude is due for doing the initial work.