tools: Use a simpler git version for configure.ac
tools: Use a simpler git version for configure.ac

Because configure.ac VERSION is not updated for every commit,
it's incorrect to include the commit id in the version number.
So just add '.x' if we're not right at a tag.

That is: 0.73.x instead of 0.73-git6f46301

In addition, the latter version numbers are not compatible
with a whole bunch of packaging software (not that they're
usually released) because they include a '-'.

Closes #2660
Reviewed-by: Marius Vollmer <bb11c6e942c5cc765df5f04da146b3198127a7a3@redhat.com>

petervo/cockpit,larskarlitski/cockpit,michalskrivanek/cockpit,andreasn/cockpit,Scribery/cockpit,michalskrivanek/cockpit,mvollmer/cockpit,SotolitoLabs/cockpit,stefwalter/cockpit,harishanand95/cockpit,matobet/cockpit,moolitayer/cockpit,moraleslazaro/cockpit,stefwalter/cockpit,mareklibra/cockpit,cockpit-project/cockpit,vanloswang/cockpit,andreasn/cockpit,SotolitoLabs/cockpit,larsu/cockpit,michalskrivanek/cockpit,FireDrunk/cockpit,petervo/cockpit,deryni/cockpit,FireDrunk/cockpit,petervo/cockpit,martinpitt/cockpit,sgallagher/cockpit,moolitayer/cockpit,cockpituous/cockpit,martinpitt/cockpit,mareklibra/cockpit,sgallagher/cockpit,dperpeet/cockpit,cockpituous/cockpit,haiyangd/cockpit_view,dperpeet/cockpit,xhad/cockpit,andreasn/cockpit,denysvitali/cockpit,jscotka/cockpit,michalskrivanek/cockpit,arilivigni/cockpit,denysvitali/cockpit,garrett/cockpit,haiyangd/cockpit_view,SotolitoLabs/cockpit,vanloswang/cockpit,deryni/cockpit,cockpituous/cockpit,harishanand95/cockpit,mvollmer/cockpit,harishanand95/cockpit,moraleslazaro/cockpit,larskarlitski/cockpit,denysvitali/cockpit,vanloswang/cockpit,martinpitt/cockpit,harishanand95/cockpit,garrett/cockpit,andreasn/cockpit,Scribery/cockpit,larskarlitski/cockpit,SotolitoLabs/cockpit,moolitayer/cockpit,zigitax/cockpit,Armstrong1992/cockpit,zigitax/cockpit,cockpit-project/cockpit,stefwalter/cockpit,haiyangd/cockpit_view,moraleslazaro/cockpit,garrett/cockpit,xhad/cockpit,Armstrong1992/cockpit,xhad/cockpit,FireDrunk/cockpit,xhad/cockpit,xhad/cockpit,jscotka/cockpit,mareklibra/cockpit,zigitax/cockpit,dperpeet/cockpit,mareklibra/cockpit,Scribery/cockpit,sgallagher/cockpit,andreasn/cockpit,stefwalter/cockpit,larsu/cockpit,sgallagher/cockpit,andreasn/cockpit,mareklibra/cockpit,moraleslazaro/cockpit,dperpeet/cockpit,vanloswang/cockpit,larskarlitski/cockpit,moolitayer/cockpit,vanloswang/cockpit,xhad/cockpit,larsu/cockpit,matobet/cockpit,michalskrivanek/cockpit,arilivigni/cockpit,vanloswang/cockpit,zigitax/cockpit,matobet/cockpit,Armstrong1992/cockpit,michalskrivanek/cockpit,deryni/cockpit,larskarlitski/cockpit,mareklibra/cockpit,larskarlitski/cockpit,cockpituous/cockpit,cockpituous/cockpit,dperpeet/cockpit,dperpeet/cockpit,denysvitali/cockpit,petervo/cockpit,haiyangd/cockpit_view,petervo/cockpit,Armstrong1992/cockpit,petervo/cockpit,cockpit-project/cockpit,andreasn/cockpit,Armstrong1992/cockpit,garrett/cockpit,arilivigni/cockpit,moolitayer/cockpit,haiyangd/cockpit_view,garrett/cockpit,Scribery/cockpit,matobet/cockpit,deryni/cockpit,arilivigni/cockpit,harishanand95/cockpit,stefwalter/cockpit,FireDrunk/cockpit,mvollmer/cockpit,harishanand95/cockpit,jscotka/cockpit,arilivigni/cockpit,michalskrivanek/cockpit,harishanand95/cockpit,martinpitt/cockpit,cockpituous/cockpit,Scribery/cockpit,moraleslazaro/cockpit,jscotka/cockpit,mvollmer/cockpit,deryni/cockpit,sgallagher/cockpit,xhad/cockpit,matobet/cockpit,denysvitali/cockpit,cockpit-project/cockpit,SotolitoLabs/cockpit,moraleslazaro/cockpit,stefwalter/cockpit,larskarlitski/cockpit,SotolitoLabs/cockpit,jscotka/cockpit,mvollmer/cockpit,sgallagher/cockpit,dperpeet/cockpit,larsu/cockpit,vanloswang/cockpit,cockpit-project/cockpit,deryni/cockpit,larsu/cockpit,Scribery/cockpit,larsu/cockpit,Scribery/cockpit,deryni/cockpit,arilivigni/cockpit,zigitax/cockpit,petervo/cockpit,mareklibra/cockpit,SotolitoLabs/cockpit,arilivigni/cockpit,sgallagher/cockpit,FireDrunk/cockpit,jscotka/cockpit,matobet/cockpit,martinpitt/cockpit,moraleslazaro/cockpit,stefwalter/cockpit