Actually I used versioncmp way because otherwise I would need a  bunch of extra variables to set the appropriate stanza for each section in the apache conf file that was different for apache 2.4.
In my opinion that would get very unweildable and likely very confusing.

I did try it other ways and I did try it without the fact and it was way too complex and hard to read.