Skip to content
Snippets Groups Projects
Commit 8bd7efc8 authored by Simon Marlow's avatar Simon Marlow
Browse files

[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.
parent 3f10036b
No related merge requests found
......@@ -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 ''
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment