blob: d0865340eac8b04a056b67abf1375f8bb2012ae1 (
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
|
$NetBSD: patch-ad,v 1.8 2013/05/19 07:35:56 adam Exp $
Compatibility fixes.
--- configure.orig 2013-03-03 15:58:11.000000000 +0000
+++ configure
@@ -7347,11 +7347,8 @@ $as_echo "#define SDL 1" >>confdefs.h
LIBS="$LIBS $SDL_LIBS"
CPPFLAGS="$CPPFLAGS $SDL_CFLAGS"
if [ "$a8_host" = "win" ]; then
- CPPFLAGS=${CPPFLAGS/-Dmain=SDL_main/}
- LIBS=${LIBS/-lSDLmain/}
OBJS="$OBJS SDL_win32_main.o"
CPPFLAGS="$CPPFLAGS -DNO_STDIO_REDIRECT"
- LIBS=${LIBS/-mwindows/}
fi
a8_use_sdl=yes
@@ -8259,11 +8256,8 @@ $as_echo "#define SDL 1" >>confdefs.h
LIBS="$LIBS $SDL_LIBS"
CPPFLAGS="$CPPFLAGS $SDL_CFLAGS"
if [ "$a8_host" = "win" ]; then
- CPPFLAGS=${CPPFLAGS/-Dmain=SDL_main/}
- LIBS=${LIBS/-lSDLmain/}
OBJS="$OBJS SDL_win32_main.o"
CPPFLAGS="$CPPFLAGS -DNO_STDIO_REDIRECT"
- LIBS=${LIBS/-mwindows/}
fi
a8_use_sdl=yes
@@ -8601,7 +8595,7 @@ $as_echo "#define IDE 1" >>confdefs.h
fi
-if [ "$WANT_IDE" == "yes" ]; then
+if [ "$WANT_IDE" = "yes" ]; then
# Check whether --enable-largefile was given.
if test "${enable_largefile+set}" = set; then :
enableval=$enable_largefile;
|