Line 0
Link Here
|
|
|
1 |
--- configure.orig Fri Aug 22 08:07:20 2003 |
2 |
+++ configure Sun Aug 24 12:25:25 2003 |
3 |
@@ -5602,7 +5602,7 @@ |
4 |
path="" |
5 |
for tmp in /usr/local /usr/X11R6 /usr $with_sdl_dir |
6 |
do |
7 |
- if test -f $tmp/include/SDL/SDL.h ; then |
8 |
+ if test -f $tmp/include/SDL11/SDL.h ; then |
9 |
path=$tmp |
10 |
fi |
11 |
done |
12 |
@@ -5612,8 +5612,8 @@ |
13 |
else |
14 |
echo "$as_me:$LINENO: result: $path" >&5 |
15 |
echo "${ECHO_T}$path" >&6 |
16 |
- CPPFLAGS="$CPPFLAGS -I$path/include" |
17 |
- CXXFLAGS="$CXXFLAGS -I$path/include" |
18 |
+ CPPFLAGS="$CPPFLAGS -I$path/include/SDL11" |
19 |
+ CXXFLAGS="$CXXFLAGS -I$path/include/SDL11" |
20 |
LIBS="$LIBS -L$path/lib" |
21 |
fi |
22 |
|
23 |
@@ -6280,8 +6280,8 @@ |
24 |
|
25 |
|
26 |
if test "${ac_cv_header_SDL_SDL_h+set}" = set; then |
27 |
- echo "$as_me:$LINENO: checking for SDL/SDL.h" >&5 |
28 |
-echo $ECHO_N "checking for SDL/SDL.h... $ECHO_C" >&6 |
29 |
+ echo "$as_me:$LINENO: checking for SDL11/SDL.h" >&5 |
30 |
+echo $ECHO_N "checking for SDL11/SDL.h... $ECHO_C" >&6 |
31 |
if test "${ac_cv_header_SDL_SDL_h+set}" = set; then |
32 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
33 |
fi |
34 |
@@ -6289,8 +6289,8 @@ |
35 |
echo "${ECHO_T}$ac_cv_header_SDL_SDL_h" >&6 |
36 |
else |
37 |
# Is the header compilable? |
38 |
-echo "$as_me:$LINENO: checking SDL/SDL.h usability" >&5 |
39 |
-echo $ECHO_N "checking SDL/SDL.h usability... $ECHO_C" >&6 |
40 |
+echo "$as_me:$LINENO: checking SDL11/SDL.h usability" >&5 |
41 |
+echo $ECHO_N "checking SDL11/SDL.h usability... $ECHO_C" >&6 |
42 |
cat >conftest.$ac_ext <<_ACEOF |
43 |
#line $LINENO "configure" |
44 |
/* confdefs.h. */ |
45 |
@@ -6299,7 +6299,7 @@ |
46 |
cat >>conftest.$ac_ext <<_ACEOF |
47 |
/* end confdefs.h. */ |
48 |
$ac_includes_default |
49 |
-#include <SDL/SDL.h> |
50 |
+#include <SDL11/SDL.h> |
51 |
_ACEOF |
52 |
rm -f conftest.$ac_objext |
53 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
54 |
@@ -6325,8 +6325,8 @@ |
55 |
echo "${ECHO_T}$ac_header_compiler" >&6 |
56 |
|
57 |
# Is the header present? |
58 |
-echo "$as_me:$LINENO: checking SDL/SDL.h presence" >&5 |
59 |
-echo $ECHO_N "checking SDL/SDL.h presence... $ECHO_C" >&6 |
60 |
+echo "$as_me:$LINENO: checking SDL11/SDL.h presence" >&5 |
61 |
+echo $ECHO_N "checking SDL11/SDL.h presence... $ECHO_C" >&6 |
62 |
cat >conftest.$ac_ext <<_ACEOF |
63 |
#line $LINENO "configure" |
64 |
/* confdefs.h. */ |
65 |
@@ -6334,7 +6334,7 @@ |
66 |
cat confdefs.h >>conftest.$ac_ext |
67 |
cat >>conftest.$ac_ext <<_ACEOF |
68 |
/* end confdefs.h. */ |
69 |
-#include <SDL/SDL.h> |
70 |
+#include <SDL11/SDL.h> |
71 |
_ACEOF |
72 |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
73 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
74 |
@@ -6367,10 +6367,10 @@ |
75 |
# So? What about this header? |
76 |
case $ac_header_compiler:$ac_header_preproc in |
77 |
yes:no ) |
78 |
- { echo "$as_me:$LINENO: WARNING: SDL/SDL.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
79 |
-echo "$as_me: WARNING: SDL/SDL.h: accepted by the compiler, rejected by the preprocessor!" >&2;} |
80 |
- { echo "$as_me:$LINENO: WARNING: SDL/SDL.h: proceeding with the preprocessor's result" >&5 |
81 |
-echo "$as_me: WARNING: SDL/SDL.h: proceeding with the preprocessor's result" >&2;} |
82 |
+ { echo "$as_me:$LINENO: WARNING: SDL11/SDL.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
83 |
+echo "$as_me: WARNING: SDL11/SDL.h: accepted by the compiler, rejected by the preprocessor!" >&2;} |
84 |
+ { echo "$as_me:$LINENO: WARNING: SDL11/SDL.h: proceeding with the preprocessor's result" >&5 |
85 |
+echo "$as_me: WARNING: SDL11/SDL.h: proceeding with the preprocessor's result" >&2;} |
86 |
( |
87 |
cat <<\_ASBOX |
88 |
## ------------------------------------ ## |
89 |
@@ -6381,12 +6381,12 @@ |
90 |
sed "s/^/$as_me: WARNING: /" >&2 |
91 |
;; |
92 |
no:yes ) |
93 |
- { echo "$as_me:$LINENO: WARNING: SDL/SDL.h: present but cannot be compiled" >&5 |
94 |
-echo "$as_me: WARNING: SDL/SDL.h: present but cannot be compiled" >&2;} |
95 |
- { echo "$as_me:$LINENO: WARNING: SDL/SDL.h: check for missing prerequisite headers?" >&5 |
96 |
-echo "$as_me: WARNING: SDL/SDL.h: check for missing prerequisite headers?" >&2;} |
97 |
- { echo "$as_me:$LINENO: WARNING: SDL/SDL.h: proceeding with the preprocessor's result" >&5 |
98 |
-echo "$as_me: WARNING: SDL/SDL.h: proceeding with the preprocessor's result" >&2;} |
99 |
+ { echo "$as_me:$LINENO: WARNING: SDL11/SDL.h: present but cannot be compiled" >&5 |
100 |
+echo "$as_me: WARNING: SDL11/SDL.h: present but cannot be compiled" >&2;} |
101 |
+ { echo "$as_me:$LINENO: WARNING: SDL11/SDL.h: check for missing prerequisite headers?" >&5 |
102 |
+echo "$as_me: WARNING: SDL11/SDL.h: check for missing prerequisite headers?" >&2;} |
103 |
+ { echo "$as_me:$LINENO: WARNING: SDL11/SDL.h: proceeding with the preprocessor's result" >&5 |
104 |
+echo "$as_me: WARNING: SDL11/SDL.h: proceeding with the preprocessor's result" >&2;} |
105 |
( |
106 |
cat <<\_ASBOX |
107 |
## ------------------------------------ ## |
108 |
@@ -6397,8 +6397,8 @@ |
109 |
sed "s/^/$as_me: WARNING: /" >&2 |
110 |
;; |
111 |
esac |
112 |
-echo "$as_me:$LINENO: checking for SDL/SDL.h" >&5 |
113 |
-echo $ECHO_N "checking for SDL/SDL.h... $ECHO_C" >&6 |
114 |
+echo "$as_me:$LINENO: checking for SDL11/SDL.h" >&5 |
115 |
+echo $ECHO_N "checking for SDL11/SDL.h... $ECHO_C" >&6 |
116 |
if test "${ac_cv_header_SDL_SDL_h+set}" = set; then |
117 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
118 |
else |
119 |
@@ -6420,8 +6420,8 @@ |
120 |
|
121 |
|
122 |
if test "${ac_cv_header_SDL_SDL_mixer_h+set}" = set; then |
123 |
- echo "$as_me:$LINENO: checking for SDL/SDL_mixer.h" >&5 |
124 |
-echo $ECHO_N "checking for SDL/SDL_mixer.h... $ECHO_C" >&6 |
125 |
+ echo "$as_me:$LINENO: checking for SDL11/SDL_mixer.h" >&5 |
126 |
+echo $ECHO_N "checking for SDL11/SDL_mixer.h... $ECHO_C" >&6 |
127 |
if test "${ac_cv_header_SDL_SDL_mixer_h+set}" = set; then |
128 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
129 |
fi |
130 |
@@ -6429,8 +6429,8 @@ |
131 |
echo "${ECHO_T}$ac_cv_header_SDL_SDL_mixer_h" >&6 |
132 |
else |
133 |
# Is the header compilable? |
134 |
-echo "$as_me:$LINENO: checking SDL/SDL_mixer.h usability" >&5 |
135 |
-echo $ECHO_N "checking SDL/SDL_mixer.h usability... $ECHO_C" >&6 |
136 |
+echo "$as_me:$LINENO: checking SDL11/SDL_mixer.h usability" >&5 |
137 |
+echo $ECHO_N "checking SDL11/SDL_mixer.h usability... $ECHO_C" >&6 |
138 |
cat >conftest.$ac_ext <<_ACEOF |
139 |
#line $LINENO "configure" |
140 |
/* confdefs.h. */ |
141 |
@@ -6439,7 +6439,7 @@ |
142 |
cat >>conftest.$ac_ext <<_ACEOF |
143 |
/* end confdefs.h. */ |
144 |
$ac_includes_default |
145 |
-#include <SDL/SDL_mixer.h> |
146 |
+#include <SDL11/SDL_mixer.h> |
147 |
_ACEOF |
148 |
rm -f conftest.$ac_objext |
149 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
150 |
@@ -6465,8 +6465,8 @@ |
151 |
echo "${ECHO_T}$ac_header_compiler" >&6 |
152 |
|
153 |
# Is the header present? |
154 |
-echo "$as_me:$LINENO: checking SDL/SDL_mixer.h presence" >&5 |
155 |
-echo $ECHO_N "checking SDL/SDL_mixer.h presence... $ECHO_C" >&6 |
156 |
+echo "$as_me:$LINENO: checking SDL11/SDL_mixer.h presence" >&5 |
157 |
+echo $ECHO_N "checking SDL11/SDL_mixer.h presence... $ECHO_C" >&6 |
158 |
cat >conftest.$ac_ext <<_ACEOF |
159 |
#line $LINENO "configure" |
160 |
/* confdefs.h. */ |
161 |
@@ -6474,7 +6474,7 @@ |
162 |
cat confdefs.h >>conftest.$ac_ext |
163 |
cat >>conftest.$ac_ext <<_ACEOF |
164 |
/* end confdefs.h. */ |
165 |
-#include <SDL/SDL_mixer.h> |
166 |
+#include <SDL11/SDL_mixer.h> |
167 |
_ACEOF |
168 |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
169 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
170 |
@@ -6507,10 +6507,10 @@ |
171 |
# So? What about this header? |
172 |
case $ac_header_compiler:$ac_header_preproc in |
173 |
yes:no ) |
174 |
- { echo "$as_me:$LINENO: WARNING: SDL/SDL_mixer.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
175 |
-echo "$as_me: WARNING: SDL/SDL_mixer.h: accepted by the compiler, rejected by the preprocessor!" >&2;} |
176 |
- { echo "$as_me:$LINENO: WARNING: SDL/SDL_mixer.h: proceeding with the preprocessor's result" >&5 |
177 |
-echo "$as_me: WARNING: SDL/SDL_mixer.h: proceeding with the preprocessor's result" >&2;} |
178 |
+ { echo "$as_me:$LINENO: WARNING: SDL11/SDL_mixer.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
179 |
+echo "$as_me: WARNING: SDL11/SDL_mixer.h: accepted by the compiler, rejected by the preprocessor!" >&2;} |
180 |
+ { echo "$as_me:$LINENO: WARNING: SDL11/SDL_mixer.h: proceeding with the preprocessor's result" >&5 |
181 |
+echo "$as_me: WARNING: SDL11/SDL_mixer.h: proceeding with the preprocessor's result" >&2;} |
182 |
( |
183 |
cat <<\_ASBOX |
184 |
## ------------------------------------ ## |
185 |
@@ -6521,12 +6521,12 @@ |
186 |
sed "s/^/$as_me: WARNING: /" >&2 |
187 |
;; |
188 |
no:yes ) |
189 |
- { echo "$as_me:$LINENO: WARNING: SDL/SDL_mixer.h: present but cannot be compiled" >&5 |
190 |
-echo "$as_me: WARNING: SDL/SDL_mixer.h: present but cannot be compiled" >&2;} |
191 |
- { echo "$as_me:$LINENO: WARNING: SDL/SDL_mixer.h: check for missing prerequisite headers?" >&5 |
192 |
-echo "$as_me: WARNING: SDL/SDL_mixer.h: check for missing prerequisite headers?" >&2;} |
193 |
- { echo "$as_me:$LINENO: WARNING: SDL/SDL_mixer.h: proceeding with the preprocessor's result" >&5 |
194 |
-echo "$as_me: WARNING: SDL/SDL_mixer.h: proceeding with the preprocessor's result" >&2;} |
195 |
+ { echo "$as_me:$LINENO: WARNING: SDL11/SDL_mixer.h: present but cannot be compiled" >&5 |
196 |
+echo "$as_me: WARNING: SDL11/SDL_mixer.h: present but cannot be compiled" >&2;} |
197 |
+ { echo "$as_me:$LINENO: WARNING: SDL11/SDL_mixer.h: check for missing prerequisite headers?" >&5 |
198 |
+echo "$as_me: WARNING: SDL11/SDL_mixer.h: check for missing prerequisite headers?" >&2;} |
199 |
+ { echo "$as_me:$LINENO: WARNING: SDL11/SDL_mixer.h: proceeding with the preprocessor's result" >&5 |
200 |
+echo "$as_me: WARNING: SDL11/SDL_mixer.h: proceeding with the preprocessor's result" >&2;} |
201 |
( |
202 |
cat <<\_ASBOX |
203 |
## ------------------------------------ ## |
204 |
@@ -6537,8 +6537,8 @@ |
205 |
sed "s/^/$as_me: WARNING: /" >&2 |
206 |
;; |
207 |
esac |
208 |
-echo "$as_me:$LINENO: checking for SDL/SDL_mixer.h" >&5 |
209 |
-echo $ECHO_N "checking for SDL/SDL_mixer.h... $ECHO_C" >&6 |
210 |
+echo "$as_me:$LINENO: checking for SDL11/SDL_mixer.h" >&5 |
211 |
+echo $ECHO_N "checking for SDL11/SDL_mixer.h... $ECHO_C" >&6 |
212 |
if test "${ac_cv_header_SDL_SDL_mixer_h+set}" = set; then |
213 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
214 |
else |
215 |
@@ -6743,13 +6743,13 @@ |
216 |
echo "$as_me: WARNING: GLUT not found - please install GLUT or MesaGLUT" >&2;} |
217 |
fi |
218 |
|
219 |
-echo "$as_me:$LINENO: checking for SDL_Init in -lSDL" >&5 |
220 |
-echo $ECHO_N "checking for SDL_Init in -lSDL... $ECHO_C" >&6 |
221 |
+echo "$as_me:$LINENO: checking for SDL_Init in -lSDL-1.1" >&5 |
222 |
+echo $ECHO_N "checking for SDL_Init in -lSDL-1.1... $ECHO_C" >&6 |
223 |
if test "${ac_cv_lib_SDL_SDL_Init+set}" = set; then |
224 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
225 |
else |
226 |
ac_check_lib_save_LIBS=$LIBS |
227 |
-LIBS="-lSDL -lpthread $LIBS" |
228 |
+LIBS="-lSDL-1.1 -pthread $LIBS" |
229 |
cat >conftest.$ac_ext <<_ACEOF |
230 |
#line $LINENO "configure" |
231 |
/* confdefs.h. */ |
232 |
@@ -6798,7 +6798,7 @@ |
233 |
echo "$as_me:$LINENO: result: $ac_cv_lib_SDL_SDL_Init" >&5 |
234 |
echo "${ECHO_T}$ac_cv_lib_SDL_SDL_Init" >&6 |
235 |
if test $ac_cv_lib_SDL_SDL_Init = yes; then |
236 |
- LIBS="$LIBS -lSDL -lSDLmain" |
237 |
+ LIBS="$LIBS -lSDL-1.1 -lSDLmain-1.1" |
238 |
else |
239 |
{ echo "$as_me:$LINENO: WARNING: SDL not found - please install SDL" >&5 |
240 |
echo "$as_me: WARNING: SDL not found - please install SDL" >&2;} |