diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/configure.ac b/configure.ac index c5cd37b6618e..e666b8c47411 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 |