Remove unused code from configure.