summaryrefslogtreecommitdiff
path: root/emulators/atari800/patches/patch-configure
blob: b22458a111863ede18ec1e8b82bfd97b5c95b8f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
$NetBSD: patch-configure,v 1.3 2020/01/18 21:33:13 nia Exp $

Compatibility fixes.

--- configure.orig	2019-12-28 17:00:31.000000000 +0000
+++ configure
@@ -9143,10 +9143,7 @@ $as_echo "#define SUPPORTS_PLATFORM_TIME
             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
 
@@ -9527,7 +9524,7 @@ fi
 
 
 
-if [ "$a8_target" == "libatari800" ]; then
+if [ "$a8_target" = "libatari800" ]; then
     WANT_NEW_CYCLE_EXACT=yes
     WANT_VERY_SLOW=no
     WANT_CRASH_MENU=no
@@ -10245,10 +10242,7 @@ $as_echo "#define SUPPORTS_PLATFORM_TIME
             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
 
@@ -10621,7 +10615,7 @@ $as_echo "#define VOICEBOX 1" >>confdefs
     fi
 
 
-    if [ "$with_sound" == "libatari800" ]; then
+    if [ "$with_sound" = "libatari800" ]; then
         WANT_SOUND_CALLBACK=no
         WANT_CONSOLE_SOUND=yes
         WANT_SERIO_SOUND=yes
@@ -10985,7 +10979,7 @@ $as_echo "#define POKEYREC 1" >>confdefs
 
     fi
 
-if [ "$WANT_POKEYREC" == "yes" ]; then
+if [ "$WANT_POKEYREC" = "yes" ]; then
     # Check whether --enable-largefile was given.
 if test "${enable_largefile+set}" = set; then :
   enableval=$enable_largefile;