* Put the SVN revision number in the version string.
This commit is contained in:
parent
1c7d6bf5fc
commit
41730f5779
1 changed files with 8 additions and 1 deletions
|
@ -1,8 +1,15 @@
|
|||
AC_INIT(nix, 0.3)
|
||||
AC_INIT(nix, "0.3")
|
||||
AC_CONFIG_SRCDIR(src/nix.cc)
|
||||
AC_CONFIG_AUX_DIR(config)
|
||||
AM_INIT_AUTOMAKE
|
||||
|
||||
# Put the revision number in the version.
|
||||
if REVISION=`svnversion $srcdir 2> /dev/null`; then
|
||||
if test "$REVISION" != "exported"; then
|
||||
VERSION="$VERSION-r$REVISION"
|
||||
fi
|
||||
fi
|
||||
|
||||
AC_PREFIX_DEFAULT(/nix)
|
||||
|
||||
AC_CANONICAL_HOST
|
||||
|
|
Loading…
Reference in a new issue