$NetBSD: patch-configure,v 1.4 2024/01/10 17:57:15 adam Exp $

Compatibility fixes.

--- configure.orig	2023-12-29 09:23:47.000000000 +0000
+++ configure
@@ -10118,10 +10118,7 @@ printf "%s\n" "#define SUPPORTS_PLATFORM
             LIBS="$LIBS $SDL_LIBS"
             CPPFLAGS="$CPPFLAGS $SDL_CFLAGS"
             if [ "$a8_host" = "win" ]; then
-                CPPFLAGS=${CPPFLAGS/-Dmain=SDL_main/}
-                LIBS=${LIBS/-lSDLmain/}
                 CPPFLAGS="$CPPFLAGS -DNO_STDIO_REDIRECT"
-                LIBS=${LIBS/-mwindows/}
             fi
             a8_use_sdl=yes
 
@@ -11261,10 +11258,7 @@ printf "%s\n" "#define SUPPORTS_PLATFORM
             LIBS="$LIBS $SDL_LIBS"
             CPPFLAGS="$CPPFLAGS $SDL_CFLAGS"
             if [ "$a8_host" = "win" ]; then
-                CPPFLAGS=${CPPFLAGS/-Dmain=SDL_main/}
-                LIBS=${LIBS/-lSDLmain/}
                 CPPFLAGS="$CPPFLAGS -DNO_STDIO_REDIRECT"
-                LIBS=${LIBS/-mwindows/}
             fi
             a8_use_sdl=yes
 
