--- configure.orig	2010-09-27 05:39:08.000000000 -0700
+++ configure	2010-09-27 11:54:57.000000000 -0700
@@ -14419,9 +14419,9 @@
 
 
 
-  PYTHON_PREFIX='${prefix}'
+  PYTHON_PREFIX=`$PYTHON -c 'import sys; print sys.prefix;'`
 
-  PYTHON_EXEC_PREFIX='${exec_prefix}'
+  PYTHON_EXEC_PREFIX=`$PYTHON -c 'import sys; print sys.exec_prefix;'`
 
 
 
