Extended configure.ac mods.
Now largely the same as otserver.