From 4137c96cb6f982df44faf170b8930a67722a3ae3 Mon Sep 17 00:00:00 2001 From: "kairo@kairo.at" Date: Mon, 17 Mar 2008 07:53:47 -0700 Subject: [PATCH] bug 423261 - Build failure when gcc was compiled with some option that contains "version", r=ted a1.9=beltzner --- configure.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.in b/configure.in index bddcb352938..250d8f60142 100644 --- a/configure.in +++ b/configure.in @@ -1745,7 +1745,7 @@ case "$target" in *-*linux*) if test "$GNU_CC"; then - GCC_VERSION=`$CC -v 2>&1 | awk '/version/ { print $3 }'` + GCC_VERSION=`$CC -v 2>&1 | awk '/^gcc version/ { print $3 }'` case $GCC_VERSION in 4.1.*|4.2.*) # -Os is broken on gcc 4.1.x and 4.2.x, we need to tweak it to get good results.