[Coding style] improve structure of configure.ac