should it be mesa version specific ? I guess early version of mesa will need --enable-glu. 
would be nice to verify those changes on pcsim before merging