about summary refs log tree commit diff
path: root/configure.ac
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2004-10-25T12·15+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2004-10-25T12·15+0000
commit2248becfd3363a5de52ef6b10edf4c2d774bfa1e (patch)
tree2363473c227d5a47de614372cba3b4f01fb14588 /configure.ac
parent50b9caac14bff656b6705efbb09e15ba9dc22d22 (diff)
* Make sure that the prerelease version is included in `--version'.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 2ba8e92384a9..b4dd93c4a367 100644
--- a/configure.ac
+++ b/configure.ac
@@ -14,6 +14,8 @@ if test "$STABLE" != "1"; then
     elif REVISION=`cat $srcdir/svn-revision 2> /dev/null`; then
         VERSION="${VERSION}pre${REVISION}"
     fi
+    NIX_VERSION=$VERSION
+    AC_SUBST(NIX_VERSION)
 fi
 
 AC_PREFIX_DEFAULT(/nix)