[cvs-nhc98] New hat-configure and Makefile.hat for the separate hat di