--- configure 2004-03-03 15:47:08.000000000 -0500 +++ configure.new 2007-03-19 09:09:00.000000000 -0400 @@ -9513,7 +9513,7 @@ echo "Using $CC compiler" if test "$CC" = "gcc" ; then -if $CC -dumpversion|egrep -q "^3\.*"; then +if $CC -dumpversion|egrep -q -e '^3\.*' -e '^4\.*'; then echo "GCC ok" else echo "*****************************************"