From 796b784bcdce3154d204bfac0a88f92fbe66d2df Mon Sep 17 00:00:00 2001 From: Stephen Gallagher Date: Fri, 22 Jan 2010 08:36:13 -0500 Subject: Use version.m4 for setting the SSSD version This is the preferred way of setting the version in a file, as autotools will properly monitor this file for changes and rerun autoconf/configure when necessary to update the version. This means that we don't need to manually perform an autoreconf in order to build a new RPM --- sss_client/configure.ac | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sss_client') diff --git a/sss_client/configure.ac b/sss_client/configure.ac index ab670723a..c32bb6fd6 100644 --- a/sss_client/configure.ac +++ b/sss_client/configure.ac @@ -1,6 +1,7 @@ AC_PREREQ(2.50) +m4_include([../version.m4]) AC_INIT([sss_client], - m4_esyscmd([cat ../VERSION |head -n1 | tr -d '\n']), + VERSION_NUMBER, [sssd-devel@lists.fedorahosted.org]) AC_CONFIG_SRCDIR([common.c]) AC_CONFIG_HEADER(config.h) -- cgit