--- src/auto/configure.orig 2014-02-18 03:23:18.386325000 +0800 +++ src/auto/configure 2014-02-18 05:46:24.780735971 +0800 @@ -5511,7 +5511,7 @@ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_pythoninterp" >&5 $as_echo "$enable_pythoninterp" >&6; } if test "$enable_pythoninterp" = "yes" -o "$enable_pythoninterp" = "dynamic"; then - for ac_prog in python2 python + for ac_prog in python2.7 do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 @@ -5818,7 +5818,7 @@ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_python3interp" >&5 $as_echo "$enable_python3interp" >&6; } if test "$enable_python3interp" = "yes" -o "$enable_python3interp" = "dynamic"; then - for ac_prog in python3 python + for ac_prog in python3.3 python3.2 python3.1 do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2