add a top-level configure script