summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@redhat.com>2012-10-30 22:01:55 +0100
committerChristophe Fergeau <cfergeau@redhat.com>2012-10-31 10:11:47 +0100
commit23c87a26b1d2657546f4a52e41c7a0421526bbfc (patch)
treef1e8fda9c573d47aa18378731175564124d8cf04 /configure.ac
parentf485c777272954a8b406d1faec1dd26e88121e63 (diff)
build-sys: Use git-version-gen
This gives much better version numbers when using git snapshots.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac8
1 files changed, 2 insertions, 6 deletions
diff --git a/configure.ac b/configure.ac
index 5cb4f6c..3fb17ee 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2,13 +2,9 @@
# Copyright (C) 2011 Christophe Fergeau <cfergeau@redhat.com>
AC_PREREQ(2.63)
-m4_define([vdagent_major_version], [0])
-m4_define([vdagent_minor_version], [7])
-m4_define([vdagent_micro_version], [0])
-m4_define([vdagent_version],
- [vdagent_major_version.vdagent_minor_version.vdagent_micro_version])
+AC_INIT([vdagent-win],
+ m4_esyscmd([build-aux/git-version-gen .tarball-version]))
-AC_INIT([vdagent-win],[vdagent_version])
AC_CONFIG_SRCDIR([vdagent])
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_MACRO_DIR([m4])