summaryrefslogtreecommitdiffstats
path: root/patches/Frodo-4.1b/0001-enable-sdl.diff.patch
blob: 2d83ea2221c89cdcd0472b5dfbfba93aec5f9a40 (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
From 6e30f01c5dc810e943123f0b272a2299f194c94a Mon Sep 17 00:00:00 2001
From: unknown author <unknown.author@example.com>
Date: Thu, 16 Jun 2011 21:13:59 +0200
Subject: [PATCH 01/10] enable-sdl.diff

---
 Src/configure.in |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/Src/configure.in b/Src/configure.in
index cee913c..b439941 100644
--- a/Src/configure.in
+++ b/Src/configure.in
@@ -80,15 +80,15 @@ elif [[ x"$no_x" = "xyes" ]]; then
     TARGET=svgalib
     CFLAGS="$CFLAGS -D__svgalib__"
     LIBS="$LIBS -lvga"
+  elif [[ x"$HAVE_SDL" = "xyes" ]]; then
+    AC_MSG_RESULT([SDL])
+    TARGET=sdl
+    CFLAGS="$CFLAGS $SDL_CFLAGS -DHAVE_SDL"
+    LIBS="$LIBS $SDL_LIBS"
   else
     AC_MSG_RESULT([Ummm...])
     AC_MSG_ERROR([Neither X nor SVGAlib found, don't know what target to use.])
   fi
-elif [[ x"$HAVE_SDL" = "xyes" ]]; then
-  AC_MSG_RESULT([SDL])
-  TARGET=sdl
-  CFLAGS="$CFLAGS $SDL_CFLAGS -DHAVE_SDL"
-  LIBS="$LIBS $SDL_LIBS"
 else
   AC_MSG_RESULT([X Window System])
   TARGET=x11
-- 
1.7.5.3