Move the code dealing with init scripts to a separate file so configure.ac itself can be a little bit smaller.