--- libxml2-2.9.1/configure.ac.orig	2013-07-24 12:28:02.531424000 +0000
+++ libxml2-2.9.1/configure.ac	2013-07-24 13:33:02.935712400 +0000
@@ -821,7 +821,7 @@
     fi
     if test "$PYTHON_VERSION" != "" -a "$PYTHON_SITE_PACKAGES" = ""
     then
-	if test -d $libdir/python$PYTHON_VERSION/site-packages
+	if test -d $(eval echo $libdir/python$PYTHON_VERSION/site-packages)
 	then
 	    PYTHON_SITE_PACKAGES=$libdir/python$PYTHON_VERSION/site-packages
 	else
