$OpenBSD: patch-configure_in,v 1.20 2003/04/18 02:37:06 pvalchev Exp $ --- configure.in.orig Sun Oct 6 14:34:53 2002 +++ configure.in Thu Apr 17 20:27:23 2003 @@ -484,9 +484,6 @@ CheckNASM() win32) NASMFLAGS="-f win32" ;; - openbsd) - NASMFLAGS="-f aoutb" - ;; *) NASMFLAGS="-f elf" ;; @@ -2484,6 +2481,9 @@ fi if test $ARCH = solaris; then SDL_RLD_FLAGS="-R\${exec_prefix}/lib" fi +if test $ARCH = openbsd -a x$enable_video_x11 = xyes; then + SDL_RLD_FLAGS="-L${X11BASE}/lib" +fi case "$ARCH" in openbsd | netbsd | bsdi) @@ -2503,7 +2503,7 @@ esac STATIC_SYSTEM_LIBS="$SYSTEM_LIBS" dnl Output the video drivers we use -if test x$enable_video = xtrue; then +if test x$enable_video = xyes; then if test "$VIDEO_SUBDIRS" = ""; then AC_MSG_ERROR(*** No video drivers are enabled!) fi