Fix timebomb in LIBVIRT_VERSION_INFO calculation
Fix timebomb in LIBVIRT_VERSION_INFO calculation

The way LIBVIRT_VERSION_INFO is calculated has a timebomb that
will cause us to accidentally break soname when we change the
major version number to a non-zero value !

Given CURRENT:REVISION:AGE, libtool will generate

   libvirt.so.($CURRENT-$AGE).$AGE.$REVISION

We set CURRENT to be MAJOR+MINOR and AGE to $MINOR, so as
soon as MAJOR changes to non-zero, we get libvirt.so.1
as the soname, eg  1.3.9 would create libvirt.so.1.3.9
Looks natural but is not ABI compatible with libvirt.so.0.x.y

The fix is to set CURRENT to always be exactly the same
as AGE. We want to have the major version reflected in
the so symlinks though. So then we set AGE to MAJOR*1000+MINOR
eg, so 1.3.9 would create libvirt.so.0.1003.9 and libvirt
2.51.3 would create libvirt.so.0.2051.3

fabianfreyer/libvirt,wiedi/libvirt,siboulet/libvirt-openvz,emaste/libvirt,andreabolognani/libvirt,warewolf/libvirt,novel/fbsd-libvirt,crobinso/libvirt,zippy2/libvirt,libvirt/libvirt,emaste/libvirt,agx/libvirt,wiedi/libvirt,warewolf/libvirt,warewolf/libvirt,datto/libvirt,jeckersb/libvirt,trainstack/libvirt,andreabolognani/libvirt,eskultety/libvirt,jeckersb/libvirt,olafhering/libvirt,taget/libvirt,agx/libvirt,emaste/libvirt,zippy2/libvirt,cbosdo/libvirt,olafhering/libvirt,elmarco/libvirt,jeckersb/libvirt,rlaager/libvirt,novel/fbsd-libvirt,elmarco/libvirt,iam-TJ/libvirt,warewolf/libvirt,jardasgit/libvirt,zhlcindy/libvirt-1.1.4-maintain,wiedi/libvirt,novel/fbsd-libvirt,eskultety/libvirt,iam-TJ/libvirt,elmarco/libvirt,bjzhang/libvirt,iam-TJ/libvirt,cbosdo/libvirt,olafhering/libvirt,trainstack/libvirt,zhlcindy/libvirt-1.1.4-maintain,zhlcindy/libvirt-1.1.4-maintain,siboulet/libvirt-openvz,wiedi/libvirt,taget/libvirt,crobinso/libvirt,trainstack/libvirt,datto/libvirt,nertpinx/libvirt,datto/libvirt,novel/fbsd-libvirt,siboulet/libvirt-openvz,iam-TJ/libvirt,jfehlig/libvirt,libvirt/libvirt,wiedi/libvirt,novel/fbsd-libvirt,eskultety/libvirt,shugaoye/libvirt,eskultety/libvirt,jeckersb/libvirt,novel/fbsd-libvirt,zhlcindy/libvirt-1.1.4-maintain,rlaager/libvirt,trainstack/libvirt,zippy2/libvirt,elmarco/libvirt,VenkatDatta/libvirt,shugaoye/libvirt,fabianfreyer/libvirt,rlaager/libvirt,emaste/libvirt,nertpinx/libvirt,siboulet/libvirt-openvz,iam-TJ/libvirt,rlaager/libvirt,eskultety/libvirt,jardasgit/libvirt,jfehlig/libvirt,warewolf/libvirt,wiedi/libvirt,crobinso/libvirt,VenkatDatta/libvirt,jardasgit/libvirt,warewolf/libvirt,cbosdo/libvirt,trainstack/libvirt,andreabolognani/libvirt,agx/libvirt,bjzhang/libvirt,taget/libvirt,crobinso/libvirt,nertpinx/libvirt,jfehlig/libvirt,cbosdo/libvirt,fabianfreyer/libvirt,wiedi/libvirt,bjzhang/libvirt,shugaoye/libvirt,jfehlig/libvirt,warewolf/libvirt,shugaoye/libvirt,jeckersb/libvirt,datto/libvirt,fabianfreyer/libvirt,zhlcindy/libvirt-1.1.4-maintain,novel/fbsd-libvirt,jeckersb/libvirt,agx/libvirt,shugaoye/libvirt,zippy2/libvirt,emaste/libvirt,jeckersb/libvirt,jardasgit/libvirt,emaste/libvirt,trainstack/libvirt,VenkatDatta/libvirt,iam-TJ/libvirt,libvirt/libvirt,nertpinx/libvirt,siboulet/libvirt-openvz,datto/libvirt,nertpinx/libvirt,andreabolognani/libvirt,andreabolognani/libvirt,VenkatDatta/libvirt,jardasgit/libvirt,elmarco/libvirt,bjzhang/libvirt,taget/libvirt,fabianfreyer/libvirt,bjzhang/libvirt,rlaager/libvirt,iam-TJ/libvirt,emaste/libvirt,olafhering/libvirt,libvirt/libvirt,novel/fbsd-libvirt,VenkatDatta/libvirt,novel/fbsd-libvirt,taget/libvirt,agx/libvirt,trainstack/libvirt,cbosdo/libvirt