$OpenBSD: patch-configure,v 1.13 2008/11/25 18:27:39 ajacoutot Exp $ --- configure.orig Wed Sep 3 20:49:49 2008 +++ configure Tue Nov 25 17:28:13 2008 @@ -30952,7 +30952,6 @@ fi if test x$with_tcp_wrappers = xno ; then echo "TCP wrappers disabled" else - LIBWRAP_PATH="" case "$host" in *-*-solaris*) if test -f /usr/lib/libwrap.so; then @@ -31007,6 +31006,8 @@ cat >>conftest.$ac_ext <<_ACEOF #ifdef __cplusplus extern "C" #endif +int allow_severity = 1; +int deny_severity = 1; char hosts_ctl (); int main () @@ -31162,7 +31163,6 @@ else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 - LIBWRAP_PATH="" fi rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ @@ -32942,7 +32942,7 @@ fi # # Define some variables to represent the directories we use. # -authdir=${localstatedir}/gdm +authdir=${localstatedir}/db/gdm gdmlocaledir=${gdmconfdir} @@ -33777,6 +33777,12 @@ else GDM_USER_PATH="$GDM_USER_PATH:/usr/bin/X11:/usr/X11R6/bin:/usr/local/bin:/opt/X11R6/bin" X_CONFIG_OPTIONS="-audit 0" fi + +case $host in + i386-*-openbsd*|amd64-*-openbsd*) + X_CONFIG_OPTIONS="$X_CONFIG_OPTIONS vt5" + ;; +esac # Use Xephyr if it is available. It works better than Xnest since Xephyr # supports the Xserver extensions, even if on a remote machine.