From a4c63c6e8e161d55778b797e566d9eca7c47f34f Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 1 Mar 2006 12:15:33 +0000 Subject: * Make it easy to run individual tests from the command line. --- configure.ac | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'configure.ac') 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 -- cgit v1.2.3