Add support for NOCONFIGURE environment variable. Patch by Charles A Edwards