blob: fa3807035e61c9347adaa80438dfb8568668ab37 (
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
|
$NetBSD: patch-ad,v 1.2 2006/11/11 22:26:11 rillig Exp $
--- Configure.orig 2001-09-13 13:15:28.000000000 +0200
+++ Configure 2006-11-11 23:24:42.000000000 +0100
@@ -54,18 +54,15 @@ else
fi
-if [ "${OS}" == "BSD" ]; then
- LDFLAGS="`sdl-config --libs` -lm -L/usr/X11R6/lib -lX11 -lXext -lXxf86dga -lXxf86misc -lXxf86vm"
-elif [ "${OS}" == "Linux" ]; then
- LDFLAGS="`sdl-config --libs`"
-elif [ "${OS}" == "BeOS" ]; then
- LDFLAGS="`sdl-config --libs`"
-elif [ "${OS}" == "UNIX" ]; then
- LDFLAGS="`sdl-config --libs`"
-fi
+case "$OS" in
+BSD) LDFLAGS="`sdl-config --libs` -lm -L/usr/X11R6/lib -lX11 -lXext -lXxf86dga -lXxf86misc -lXxf86vm";;
+Linux) LDFLAGS="`sdl-config --libs`";;
+BeOS) LDFLAGS="`sdl-config --libs`";;
+UNIX) LDFLAGS="`sdl-config --libs`";;
+esac
echo -n "Checking Release Type..."
-if [ "${type}" == "debug" ]; then
+if [ "${type}" = "debug" ]; then
echo "Debug"
CFLAGS="-Wall -g `sdl-config --cflags`"
else
|