summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorRichard Jones <rjones@redhat.com>2010-08-27 13:38:49 +0100
committerRichard Jones <rjones@redhat.com>2010-08-27 13:38:49 +0100
commit4932fdca3ca1e9002164a1c0b73876f32739d34d (patch)
treee50fccae719c568353e06da31d2c5dcd9c0d4309 /configure.ac
parent1c523760d32b9e4db8441fc11d59539e213635b5 (diff)
downloadlibguestfs-4932fdca3ca1e9002164a1c0b73876f32739d34d.tar.gz
libguestfs-4932fdca3ca1e9002164a1c0b73876f32739d34d.tar.xz
libguestfs-4932fdca3ca1e9002164a1c0b73876f32739d34d.zip
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.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 9f81ee1b..a9e4496a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -22,7 +22,7 @@ m4_define([libguestfs_release], [5])
# extra can be any string
m4_define([libguestfs_extra], [])
-AC_INIT([libguestfs],libguestfs_major.libguestfs_minor.libguestfs_release[]libguestfs_extra)
+AC_INIT([libguestfs],libguestfs_major.libguestfs_minor.libguestfs_release)
AC_CONFIG_AUX_DIR([build-aux])
AM_INIT_AUTOMAKE([foreign])