configure Makefile and runtest shell scripts