--- a/configure
+++ b/configure
@@ -3957,6 +3957,8 @@ fi
 $as_echo "$URLHOST" >&6; }
 rm -f conftest.out conftest.py
 
+PYTHON=/usr/bin/python
+
 # Checks for libraries.
 
 for ac_func in strerror setregid syslog
