summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2010-01-22 08:36:13 -0500
committerStephen Gallagher <sgallagh@redhat.com>2010-01-22 09:14:04 -0500
commit796b784bcdce3154d204bfac0a88f92fbe66d2df (patch)
tree2da1bfb5ba9498c4d1751edab5c0dcf107c25834 /common
parent389169e975990a4e07b8fd948aaac4b13d7897e8 (diff)
downloadsssd-796b784bcdce3154d204bfac0a88f92fbe66d2df.tar.gz
sssd-796b784bcdce3154d204bfac0a88f92fbe66d2df.tar.xz
sssd-796b784bcdce3154d204bfac0a88f92fbe66d2df.zip
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
Diffstat (limited to 'common')
-rw-r--r--common/configure.ac3
1 files changed, 2 insertions, 1 deletions
diff --git a/common/configure.ac b/common/configure.ac
index f36a9886b..7496ffe50 100644
--- a/common/configure.ac
+++ b/common/configure.ac
@@ -1,5 +1,6 @@
+m4_include([../version.m4])
AC_INIT([sssd_libs],
- m4_esyscmd([cat ../VERSION |head -n1 | tr -d '\n']),
+ VERSION_NUMBER,
[sssd-devel@lists.fedorahosted.org])
AC_CONFIG_SRCDIR([README])
AC_CONFIG_AUX_DIR([build])