summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorNalin Dahyabhai <nalin.dahyabhai@pobox.com>2008-07-09 15:02:24 -0400
committerNalin Dahyabhai <nalin.dahyabhai@pobox.com>2008-07-09 15:02:24 -0400
commitefc81cbd4f21fcbaba2edc34f173d512c537c7f2 (patch)
treefe1a9e974ad865fad87898563bcf88c43e8e4f85 /configure.ac
parenta25d7824c8b5046c135e2db0d3ac1f4f7c571ce3 (diff)
downloadslapi-nis-efc81cbd4f21fcbaba2edc34f173d512c537c7f2.tar.gz
slapi-nis-efc81cbd4f21fcbaba2edc34f173d512c537c7f2.tar.xz
slapi-nis-efc81cbd4f21fcbaba2edc34f173d512c537c7f2.zip
- packaging changes: drop the -0 from the distdir and tarball, add a .spec file
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac7
1 files changed, 6 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index f864337..48edf88 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,9 +1,14 @@
-AC_INIT(slapi-nis,0.1)
+AC_INIT(slapi-nis,0.2)
AM_INIT_AUTOMAKE(foreign)
AC_PROG_LIBTOOL
AM_CONDITIONAL(GCC,[test x$GCC = xyes])
AM_MAINTAINER_MODE
+specversion=`awk '/^Version:/ {print $NF}' $srcdir/slapi-nis.spec | head -n1`
+if test x$specversion != x$PACKAGE_VERSION ; then
+ AC_MSG_ERROR([Package version skew between slapi-nis.spec and configure.ac.])
+fi
+
AC_ARG_WITH(tcp-wrappers,
AS_HELP_STRING([--with-tcp-wrappers=AUTO]
[use tcp-wrappers]),