$OpenBSD: patch-configure,v 1.1 2004/11/17 23:47:13 espie Exp $
--- configure.orig	Thu Nov 18 00:41:48 2004
+++ configure	Thu Nov 18 00:44:12 2004
@@ -1502,8 +1502,10 @@ ac_config_commands="$ac_config_commands 
 BASEMODULES="gtk+-2.0 libxml-2.0"
 HAVE_GTKSPELL=yes
 
+: ${WANT_GTKSPELL:=no}
   succeeded=no
 
+if test $WANT_GTKSPELL = yes; then
   if test -z "$PKG_CONFIG"; then
     # Extract the first word of "pkg-config", so it can be a program name with args.
 set dummy pkg-config; ac_word=$2
@@ -1591,6 +1593,7 @@ echo "${ECHO_T}$LOGJAM_LIBS" >&6
      fi
   fi
 
+fi
   if test $succeeded = yes; then
      :
   else
