From: simonmar Date: Wed, 13 Aug 2003 13:35:07 +0000 (+0000) Subject: [project @ 2003-08-13 13:35:07 by simonmar] X-Git-Tag: Approx_11550_changesets_converted~584 X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=be5ed22c3679f6195f2d73f1ed9951fb61af473e [project @ 2003-08-13 13:35:07 by simonmar] Fix the Alex-version-detecting machinery --- diff --git a/aclocal.m4 b/aclocal.m4 index 66698d1..c2e50b0 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -1,4 +1,4 @@ -dnl $Id: aclocal.m4,v 1.122 2003/08/13 12:34:04 simonmar Exp $ +dnl $Id: aclocal.m4,v 1.123 2003/08/13 13:35:07 simonmar Exp $ dnl dnl Extra autoconf macros for the Glasgow fptools dnl @@ -285,7 +285,7 @@ changequote(, )dnl fptools_cv_alex_version=`grep '^ProjectVersion[ ]*=' $srcdir/alex/mk/version.mk | sed 's/.*\([0-9][0-9]*\.[0-9][0-9]*\).*/\1/g'`; elif test x"$AlexCmd" != x; then fptools_cv_alex_version="`$AlexCmd -v | - grep 'Alex Version' | sed -e 's/Alex Version \([^ ]*\).*/\1/g'`" ; + grep 'Alex [Vv]ersion' | sed -e 's/Alex [Vv]ersion \([0-9\.]*\).*/\1/g'`" ; else fptools_cv_alex_version=""; fi;