Propagate debug settings from configure.