This reverts part of commit a3765cd363. The MesonProject class was not used, but the "configure" function.
a3765cd363