$OpenBSD: patch-configure,v 1.6 2008/10/16 17:03:08 ajacoutot Exp $
--- configure.orig	Mon Oct  6 22:30:12 2008
+++ configure	Thu Oct 16 14:55:02 2008
@@ -26767,9 +26767,6 @@ fi
 
 
 XLIBADD=
-if test "x$x_libraries" != "x"; then
-  XLIBADD=" -L$x_libraries "
-fi
 
 # Check whether --enable-xf86vidmode was given.
 if test "${enable_xf86vidmode+set}" = set; then
@@ -29125,7 +29122,7 @@ if test  "x$PYTHON_LIBS" = "x" ; then
 
    python_libdir=`$PYTHON -c "import distutils.sysconfig ; print distutils.sysconfig.get_config_var(\"LIBDIR\")"`
 
-   PYTHON_LIBS="-L${python_libdir} ${python_link}"
+   PYTHON_LIBS="-L${python_libdir} ${python_link} -lutil"
 fi
 
 
