summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2010-01-18 08:49:58 -0500
committerStephen Gallagher <sgallagh@redhat.com>2010-01-21 15:02:15 -0500
commit579958aee2aa008c2307c58a57009b515f6df32e (patch)
treeb91f65b1b0e4513c63856ae1cee2cb9373abe1a8 /configure.ac
parenta799f03edc51320e3a70dfbfe2039d56f3cda260 (diff)
downloadding-libs-579958aee2aa008c2307c58a57009b515f6df32e.tar.gz
ding-libs-579958aee2aa008c2307c58a57009b515f6df32e.tar.xz
ding-libs-579958aee2aa008c2307c58a57009b515f6df32e.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 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index d069708..1df6c22 100644
--- a/configure.ac
+++ b/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])