$OpenBSD: patch-configure,v 1.4 2004/09/15 04:15:25 marcm Exp $
--- configure.orig	Wed Aug 18 13:09:11 2004
+++ configure	Sun Sep 12 15:24:16 2004
@@ -26748,7 +26748,6 @@ else
   echo "$as_me: failed program was:" >&5
 sed 's/^/| /' conftest.$ac_ext >&5
 
-LIBWRAP_PATH=""
 fi
 rm -f conftest.err conftest.$ac_objext \
       conftest$ac_exeext conftest.$ac_ext
@@ -27950,7 +27949,7 @@ cat >>confdefs.h <<_ACEOF
 _ACEOF
 
 
-AUTHDIR_TMP="$localstatedir/gdm"
+AUTHDIR_TMP="$localstatedir/db/gdm"
 EXPANDED_AUTHDIR=`eval echo $AUTHDIR_TMP`
 
 cat >>confdefs.h <<_ACEOF
@@ -28141,7 +28140,14 @@ if test -x /usr/X11R6/bin/X; then
    X_SERVER_PATH="/usr/X11R6/bin"
    X_SERVER="/usr/X11R6/bin/X"
    X_CONF_PATH="/usr/bin/X11:/usr/X11R6/bin:/usr/local/bin:/opt/X11R6/bin"
-   X_CONFIG_OPTIONS="-audit 0"
+   case $host in
+     i386-*-openbsd*|amd64-*-openbsd*)
+       X_CONFIG_OPTIONS="-audit 0 vt5"
+       ;;
+     *)
+       X_CONFIG_OPTIONS="-audit 0"
+       ;;
+   esac
 elif test -x /usr/openwin/bin/Xsun; then
    X_PATH="/usr/openwin/bin"
    X_SERVER_PATH="/usr/openwin/bin"
