aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2006-03-01 12:15:33 +0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2006-03-01 12:15:33 +0000
commita4c63c6e8e161d55778b797e566d9eca7c47f34f (patch)
tree9caaa0d38d12836f5de88b41aecff988b8ff9472 /configure.ac
parent85793fa438847974330123a8d4160283fcfa18f7 (diff)
* Make it easy to run individual tests from the command line.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac8
1 files changed, 5 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index eee73c07b..f6e548729 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,4 +1,4 @@
-AC_INIT(nix, "0.10")
+AC_INIT(nix, 0.10)
AC_CONFIG_SRCDIR(README)
AC_CONFIG_AUX_DIR(config)
AM_INIT_AUTOMAKE([dist-bzip2 foreign])
@@ -10,12 +10,14 @@ STABLE=0
# Put the revision number in the version.
if test "$STABLE" != "1"; then
if REVISION=`test -d $srcdir/.svn && svnversion $srcdir 2> /dev/null`; then
- VERSION="${VERSION}pre${REVISION}"
+ VERSION=${VERSION}pre${REVISION}
elif REVISION=`cat $srcdir/svn-revision 2> /dev/null`; then
- VERSION="${VERSION}pre${REVISION}"
+ VERSION=${VERSION}pre${REVISION}
fi
fi
+AC_DEFINE_UNQUOTED(NIX_VERSION, ["$(echo $VERSION)"], [version])
+
AC_PREFIX_DEFAULT(/nix)
AC_CANONICAL_HOST