40 lines
1.3 KiB
Plaintext
40 lines
1.3 KiB
Plaintext
$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;
|