[cvs-nhc98] Adjust top-level configure and Makefile for new tool `hat-