blob: a4ff7a312ce8d74c34512bb5369f7212ee5cb14c (
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
|
$NetBSD: patch-ad,v 1.6 2010/12/25 10:53:22 adam Exp $
--- configure.orig 2009-03-27 10:13:51.000000000 +0100
+++ configure
@@ -3506,9 +3506,6 @@ case "$a8_target" in
sdlcheck="X_`sdl-config --cflags`"
if [ "$sdlcheck" != "X_" ]; then
CFLAGS="$CFLAGS `sdl-config --cflags`"
- if [ "$a8_host" = "win" ]; then
- CFLAGS=${CFLAGS/-Dmain=SDL_main/}
- fi
else
{ { echo "$as_me:$LINENO: error: \"No output from sdl-config! Is sdl-config installed?\"" >&5
echo "$as_me: error: \"No output from sdl-config! Is sdl-config installed?\"" >&2;}
@@ -6558,10 +6557,8 @@ _ACEOF
OBJS="atari_sdl.o"
CFLAGS="$CFLAGS -ansi -pedantic -Waggregate-return -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wstrict-prototypes -Winline"
if [ "$a8_host" = "win" ]; then
- LIBS=${LIBS/-lSDLmain/}
OBJS="$OBJS SDL_win32_main.o"
CFLAGS="$CFLAGS -DNO_STDIO_REDIRECT"
- LIBS=${LIBS/-mwindows/}
fi
cat >>confdefs.h <<\_ACEOF
|