summaryrefslogtreecommitdiff
path: root/aclocal.m4
diff options
context:
space:
mode:
authorDavid Terei <davidterei@gmail.com>2013-02-10 23:30:55 -0800
committerDavid Terei <davidterei@gmail.com>2013-02-14 04:10:27 +0100
commitc894db1527b3c63310e450b84a15743c32c6f0a5 (patch)
treec70fb1036fb32b387706970da71ceaf39f4ae5d9 /aclocal.m4
parent64aaaa19aa32c69a13daa375c8316041a44eed5c (diff)
downloadhaskell-c894db1527b3c63310e450b84a15743c32c6f0a5.tar.gz
Remove dead darcs handling from configure.
Diffstat (limited to 'aclocal.m4')
-rw-r--r--aclocal.m412
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