--- configure	Fri Aug 30 18:03:12 2002
+++ configure	Wed Dec 31 16:56:16 2003
@@ -134,7 +134,7 @@
 # gcc 3 does not seem to like -O3 with mpgtx very much 
 
 # next line is from Chris Danis
-gcc_major=`gcc --version | cut -b 1`
+gcc_major=`cc --version | cut -b 1`
 
 if test $gcc_major = "3"; then
 	optimization_cflags="-O2";
