Rationalize configure.ac (untested).