build: Don't add version extra string to the version number.
authorRichard Jones <rjones@redhat.com>
Fri, 27 Aug 2010 12:38:49 +0000 (13:38 +0100)
committerRichard Jones <rjones@redhat.com>
Fri, 27 Aug 2010 21:10:30 +0000 (22:10 +0100)
commitd88defecffa56887b0caa83629b2bb370fc149ed
tree69de0f6b1f049fa16836e76163e8b47a43a0dad7
parent20273a9ee6a245ac6f9137531f8428af98ddcbc0
build: Don't add version extra string to the version number.

If this string was non-empty, then it broke a lot of things because
autoconf and other parts of the build system were expecting this
string to contain a simple MAJOR.MINOR.RELEASE version number.

This requires changes to guestfish and guestmount so they use the
guestfs_version API to fetch the version from the library.  (The
Perl tools were already doing it this way).  In a way this is more
accurate, because it's no longer hard-coded in the binary, but
fetched from the dynamically linked libguestfs.so.
(cherry picked from commit 4932fdca3ca1e9002164a1c0b73876f32739d34d)
configure.ac
fish/fish.c
fuse/guestmount.c