Revert "update configure"

This reverts commit 227abba3877df25f1d641ce2d086086af6cdbdcf.