about summary refs log tree commit diff
path: root/configure.ac
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2008-11-26T01·13+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2008-11-26T01·13+0000
commit5d4eb9dd07ddd589ec03582c3eeb82d490023282 (patch)
treecad3a0f498e5105461f105215bc9fbb0aaca1f69 /configure.ac
parent0c478d2f4d7459c4af4e7608ed45ae3b2f09c7dc (diff)
* Moved the build farm job for building Nix to the Nix tree.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac15
1 files changed, 1 insertions, 14 deletions
diff --git a/configure.ac b/configure.ac
index c5cd37b661..e666b8c474 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,21 +1,8 @@
-AC_INIT(nix, 0.13)
+AC_INIT(nix, m4_esyscmd([echo -n 0.13$VERSION_SUFFIX]))
 AC_CONFIG_SRCDIR(README)
 AC_CONFIG_AUX_DIR(config)
 AM_INIT_AUTOMAKE([dist-bzip2 foreign])
 
-# Change to `1' to produce a `stable' release (i.e., the `preREVISION'
-# suffix is not added).
-STABLE=0
-
-# Put the revision number in the version.
-if test "$STABLE" != "1"; then
-    if REVISION=`test -d $srcdir/.svn && svnversion -n $srcdir 2> /dev/null`; then
-        VERSION=${VERSION}pre${REVISION}
-    elif REVISION=`cat $srcdir/svn-revision 2> /dev/null`; then
-        VERSION=${VERSION}pre${REVISION}
-    fi
-fi
-
 AC_DEFINE_UNQUOTED(NIX_VERSION, ["$VERSION"], [Nix version.])
 
 AC_CANONICAL_HOST