diff options
author | simonpj@microsoft.com <unknown> | 2009-07-06 10:34:13 +0000 |
---|---|---|
committer | simonpj@microsoft.com <unknown> | 2009-07-06 10:34:13 +0000 |
commit | b41067a9f85d660e42f2105a9484e7935fd02169 (patch) | |
tree | 5240d3ac79dfcaa23c8f9e1aa42f304f42b584dd /aclocal.m4 | |
parent | 8464822fd829e63b2301ced2c2027edeb788f527 (diff) | |
download | haskell-b41067a9f85d660e42f2105a9484e7935fd02169.tar.gz |
Windows fixes to build system: use the 'find' and 'sort' found by configure
The build system should use 'find' and 'sort' that are discovered by
configure, not the ones in your path. On Windows the ones in your path
might well be the non-Unixy Windows versions.
This patch fixes the ones I tripped over. There may be more.
Diffstat (limited to 'aclocal.m4')
-rw-r--r-- | aclocal.m4 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/aclocal.m4 b/aclocal.m4 index bb717ad223..f98d5f3f08 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -1017,7 +1017,7 @@ if test "$RELEASE" = "NO"; then 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" | sort -n | tail -1` + 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]) |