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

[project @ 1997-09-04 10:27:21 by simonm]

use * instead of ?, since some seds don't recognise ?, and some also
don't recognise the alternative \{0,1\}. sigh.
parent c188b205
Branches wip/T19847
No related tags found
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 \(egcs-\)\?\([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 \(egcs-\)*\([0-9][0-9]*\)\.\([0-9][0-9]*\).*/expr 20 \\\< \2 \\\* 10 + \3/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