diff options
Diffstat (limited to 'aclocal.m4')
-rw-r--r-- | aclocal.m4 | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/aclocal.m4 b/aclocal.m4 index fca030414c..942d6bbab6 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -1498,21 +1498,11 @@ if test "$RELEASE" = "NO"; then fi PACKAGE_VERSION=${PACKAGE_VERSION}.$ver_date AC_MSG_RESULT(inferred $PACKAGE_VERSION) - elif test -d _darcs; then - # TODO: Remove this branch after conversion to Git - changequote(, )dnl - ver_date=`darcs changes --quiet --no-summary --xml | head -500 | grep 'date=' | sed "s/^.*date='\([0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]\).*$/\1/g" | ${SortCmd} -n | tail -1` - if echo $ver_date | grep '^[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]$' 2>&1 >/dev/null; then true; else - changequote([, ])dnl - AC_MSG_ERROR([failed to detect version date: check that darcs is in your path]) - fi - PACKAGE_VERSION=${PACKAGE_VERSION}.$ver_date - AC_MSG_RESULT(inferred $PACKAGE_VERSION) elif test -f VERSION; then PACKAGE_VERSION=`cat VERSION` AC_MSG_RESULT(given $PACKAGE_VERSION) else - AC_MSG_WARN([cannot determine snapshot version: no .git or _darcs directory and no VERSION file]) + AC_MSG_WARN([cannot determine snapshot version: no .git directory and no VERSION file]) fi fi |