--- configure.in	2010-10-12 10:44:37.000000000 -0700
+++ configure.in~	2010-10-19 09:51:49.660019364 -0700
@@ -811,7 +811,7 @@
     AC_MSG_RESULT([yes])    
 fi
 
-MOZ_PATH_PROGS(PYTHON, $PYTHON python2.5 python2.4 python)
+MOZ_PATH_PROGS(PYTHON, $PYTHON python2.7 python2.5 python2.4 python)
 if test -z "$PYTHON"; then
     AC_MSG_ERROR([python was not found in \$PATH])
 fi