configure checks which options to use to switch on c++11