From: simonm Date: Mon, 8 Sep 1997 09:44:39 +0000 (+0000) Subject: [project @ 1997-09-08 09:44:39 by simonm] X-Git-Tag: Approx_2487_patches~1517 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=8bd7efc8aefb9ed6b731072c4207f360b9a6e4b9;p=ghc-hetmet.git [project @ 1997-09-08 09:44:39 by simonm] Fix the sed string for the gcc check, it was referring to sub-regexps that didn't exist. --- diff --git a/aclocal.m4 b/aclocal.m4 index b1d177a..05e0334 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -240,7 +240,7 @@ AC_DEFUN(AC_HAVE_GCC, ac_cv_have_gcc='no' else changequote(, )dnl - cmd_string="`$CC -v 2>&1 | grep 'version ' | sed -e 's/.*version \([0-9][0-9]*\)\.\([0-9][0-9]*\).*/expr 20 \\\< \2 \\\* 10 + \3/g' `" + cmd_string="`$CC -v 2>&1 | grep 'version ' | sed -e 's/.*version \([0-9][0-9]*\)\.\([0-9][0-9]*\).*/expr 20 \\\< \1 \\\* 10 + \2/g' `" changequote([, ])dnl if test `eval $cmd_string 2>/dev/null` != "1"; then echo ''