--- configure.orig	2009-07-11 00:18:11.000000000 +1000
+++ configure	2009-07-11 00:18:11.000000000 +1000
@@ -22005,7 +22005,7 @@ else
   with_freetype=yes
 fi
 
-if test "x$with_freetype" == "xyes"; then
+if test "x$with_freetype" = "xyes"; then
 
 pkg_failed=no
 { $as_echo "$as_me:$LINENO: checking for PANGOFT2" >&5
@@ -23393,7 +23393,7 @@ $as_echo "no" >&6; }
 fi
 
 
-if test "$XGETTEXT" == none ; then
+if test "$XGETTEXT" = none ; then
    { { $as_echo "$as_me:$LINENO: error: xgettext program not found: $XGETTEXT." >&5
 $as_echo "$as_me: error: xgettext program not found: $XGETTEXT." >&2;}
    { (exit 1); exit 1; }; }
@@ -26619,7 +26619,7 @@ $as_echo_n "checking local Python config
 
   fi
 
-
+  PYTHON_EXEC_PREFIX=${LOCALBASE}
 
   PYTHON_PLATFORM=`$PYTHON -c "import sys; print sys.platform"`
 
@@ -26681,12 +26681,12 @@ except ImportError:
 except:
         sys.exit(0)
 sys.exit(0)"
-if $PYTHON -c "$prog" 1>&5 2>&5
-  then
+#if $PYTHON -c "$prog" 1>&5 2>&5
+#  then
     eval "py_cv_mod_$py_mod_var=yes"
-  else
-    eval "py_cv_mod_$py_mod_var=no"
-  fi
+#  else
+#    eval "py_cv_mod_$py_mod_var=no"
+#  fi
 
 fi
 
@@ -27022,7 +27022,7 @@ $as_echo "no" >&6; }
 fi
 
 
-if  test "x$dblatex" == "xno"; then
+if  test "x$dblatex" = "xno"; then
   if test "x$jw" != "xno"; then
   WITH_JW_TRUE=
   WITH_JW_FALSE='#'
@@ -27043,7 +27043,7 @@ fi
 fi
 hardbook_ok=no
 xsltproc_ok=no
-if test "x$with_hardbooks" == "xno"; then
+if test "x$with_hardbooks" = "xno"; then
    if test "xno" != "xno"; then
   WITH_JW_TRUE=
   WITH_JW_FALSE='#'
