summaryrefslogtreecommitdiffstats
path: root/server
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
commitee359fe1384507fed6c2274e7bfe81d288de4542 (patch)
tree01456edcb93f2313f3f345c714c5f2d0cf21e7ad /server
parent5ddaa324c529f15f10abc0c8b454da2f4bdf1a39 (diff)
downloadsssd-ee359fe1384507fed6c2274e7bfe81d288de4542.tar.gz
sssd-ee359fe1384507fed6c2274e7bfe81d288de4542.tar.xz
sssd-ee359fe1384507fed6c2274e7bfe81d288de4542.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 'server')
-rw-r--r--server/configure.ac5
1 files changed, 4 insertions, 1 deletions
diff --git a/server/configure.ac b/server/configure.ac
index 4f560239a..75c07dab6 100644
--- a/server/configure.ac
+++ b/server/configure.ac
@@ -11,9 +11,12 @@ AC_DEFUN([SMB_MODULE_DEFAULT], [echo -n ""])
AC_DEFUN([SMB_LIBRARY_ENABLE], [echo -n ""])
AC_DEFUN([SMB_EXT_LIB], [echo -n ""])
AC_DEFUN([SMB_ENABLE], [echo -n ""])
+
+m4_include([../version.m4])
AC_INIT([sss_daemon],
- m4_esyscmd([cat ../VERSION |head -n1 | tr -d '\n']),
+ VERSION_NUMBER,
[sssd-devel@lists.fedorahosted.org])
+
CFLAGS="$CFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE"
AC_CONFIG_SRCDIR([conf_macros.m4])