--- psi4.0b4/configure.orig	2013-04-07 09:13:35.000000000 +0200
+++ psi4.0b4/configure	2013-12-23 15:52:14.531809408 +0100
@@ -4968,7 +4968,7 @@
 if test "${am_cv_python_include+set}" = set; then
   $as_echo_n "(cached) " >&6
 else
-  am_cv_python_include=`${PYTHON}-config --includes`
+  am_cv_python_include=`python ${PYTHON}-config --includes`
 fi
 { $as_echo "$as_me:$LINENO: result: $am_cv_python_include" >&5
 $as_echo "$am_cv_python_include" >&6; }
@@ -4980,7 +4980,7 @@
 if test "${am_cv_python_ldflags+set}" = set; then
   $as_echo_n "(cached) " >&6
 else
-  am_cv_python_ldflags=`${PYTHON}-config --ldflags`
+  am_cv_python_ldflags=`python ${PYTHON}-config --ldflags`
 fi
 { $as_echo "$as_me:$LINENO: result: $am_cv_python_ldflags" >&5
 $as_echo "$am_cv_python_ldflags" >&6; }
