This only needs to be done if r1 is True, i.e. this section can be moved down to where the configure script is run.