move more extra packages from ./trunk to ./packages
[openwrt/svn-archive/archive.git] / libs / keynote / patches / 002-cross_compile.patch
1 Index: keynote-2.3/configure
2 ===================================================================
3 --- keynote-2.3.orig/configure 2007-06-04 13:22:41.259582872 +0200
4 +++ keynote-2.3/configure 2007-06-04 13:22:41.658522224 +0200
5 @@ -889,52 +889,10 @@
6 done
7 test -n "$YACC" || YACC="yacc"
8
9 -for ac_prog in openssl ssleay
10 -do
11 -# Extract the first word of "$ac_prog", so it can be a program name with args.
12 -set dummy $ac_prog; ac_word=$2
13 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
14 -echo "configure:898: checking for $ac_word" >&5
15 -if eval "test \"`echo '$''{'ac_cv_path_SSLEAY'+set}'`\" = set"; then
16 - echo $ac_n "(cached) $ac_c" 1>&6
17 -else
18 - case "$SSLEAY" in
19 - /*)
20 - ac_cv_path_SSLEAY="$SSLEAY" # Let the user override the test with a path.
21 - ;;
22 - ?:/*)
23 - ac_cv_path_SSLEAY="$SSLEAY" # Let the user override the test with a dos path.
24 - ;;
25 - *)
26 - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
27 - ac_dummy="\
28 - $PATH:/usr/local/bin:/usr/local/ssl/sbin:/usr/local/ssl/bin:/usr/ssl/bin:/usr/ssl/sbin:/usr/sbin:/usr/openssl/bin:/usr/openssl/bin:/usr/local/openssl/bin:/usr/local/openssl/sbin"
29 - for ac_dir in $ac_dummy; do
30 - test -z "$ac_dir" && ac_dir=.
31 - if test -f $ac_dir/$ac_word; then
32 - ac_cv_path_SSLEAY="$ac_dir/$ac_word"
33 - break
34 - fi
35 - done
36 - IFS="$ac_save_ifs"
37 - ;;
38 -esac
39 -fi
40 -SSLEAY="$ac_cv_path_SSLEAY"
41 -if test -n "$SSLEAY"; then
42 - echo "$ac_t""$SSLEAY" 1>&6
43 -else
44 - echo "$ac_t""no" 1>&6
45 -fi
46 -
47 -test -n "$SSLEAY" && break
48 -done
49 -test -n "$SSLEAY" || SSLEAY="/usr/local/bin/ssleay"
50 -
51 # Extract the first word of "rm", so it can be a program name with args.
52 set dummy rm; ac_word=$2
53 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
54 -echo "configure:938: checking for $ac_word" >&5
55 +echo "configure:896: checking for $ac_word" >&5
56 if eval "test \"`echo '$''{'ac_cv_path_RM'+set}'`\" = set"; then
57 echo $ac_n "(cached) $ac_c" 1>&6
58 else
59 @@ -970,7 +928,7 @@
60 # Extract the first word of "ar", so it can be a program name with args.
61 set dummy ar; ac_word=$2
62 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
63 -echo "configure:974: checking for $ac_word" >&5
64 +echo "configure:932: checking for $ac_word" >&5
65 if eval "test \"`echo '$''{'ac_cv_path_AR'+set}'`\" = set"; then
66 echo $ac_n "(cached) $ac_c" 1>&6
67 else
68 @@ -1006,7 +964,7 @@
69 # Extract the first word of "nroff", so it can be a program name with args.
70 set dummy nroff; ac_word=$2
71 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
72 -echo "configure:1010: checking for $ac_word" >&5
73 +echo "configure:968: checking for $ac_word" >&5
74 if eval "test \"`echo '$''{'ac_cv_path_NROFF'+set}'`\" = set"; then
75 echo $ac_n "(cached) $ac_c" 1>&6
76 else
77 @@ -1042,7 +1000,7 @@
78 # Extract the first word of "tar", so it can be a program name with args.
79 set dummy tar; ac_word=$2
80 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
81 -echo "configure:1046: checking for $ac_word" >&5
82 +echo "configure:1004: checking for $ac_word" >&5
83 if eval "test \"`echo '$''{'ac_cv_path_TAR'+set}'`\" = set"; then
84 echo $ac_n "(cached) $ac_c" 1>&6
85 else
86 @@ -1078,7 +1036,7 @@
87 # Extract the first word of "true", so it can be a program name with args.
88 set dummy true; ac_word=$2
89 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
90 -echo "configure:1082: checking for $ac_word" >&5
91 +echo "configure:1040: checking for $ac_word" >&5
92 if eval "test \"`echo '$''{'ac_cv_path_TRUE'+set}'`\" = set"; then
93 echo $ac_n "(cached) $ac_c" 1>&6
94 else
95 @@ -1114,7 +1072,7 @@
96 # Extract the first word of "mkdir", so it can be a program name with args.
97 set dummy mkdir; ac_word=$2
98 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
99 -echo "configure:1118: checking for $ac_word" >&5
100 +echo "configure:1076: checking for $ac_word" >&5
101 if eval "test \"`echo '$''{'ac_cv_path_MKDIR'+set}'`\" = set"; then
102 echo $ac_n "(cached) $ac_c" 1>&6
103 else
104 @@ -1150,7 +1108,7 @@
105 # Extract the first word of "tr", so it can be a program name with args.
106 set dummy tr; ac_word=$2
107 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
108 -echo "configure:1154: checking for $ac_word" >&5
109 +echo "configure:1112: checking for $ac_word" >&5
110 if eval "test \"`echo '$''{'ac_cv_path_TR'+set}'`\" = set"; then
111 echo $ac_n "(cached) $ac_c" 1>&6
112 else
113 @@ -1186,7 +1144,7 @@
114 # Extract the first word of "echo", so it can be a program name with args.
115 set dummy echo; ac_word=$2
116 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
117 -echo "configure:1190: checking for $ac_word" >&5
118 +echo "configure:1148: checking for $ac_word" >&5
119 if eval "test \"`echo '$''{'ac_cv_path_ECHO'+set}'`\" = set"; then
120 echo $ac_n "(cached) $ac_c" 1>&6
121 else
122 @@ -1222,7 +1180,7 @@
123 # Extract the first word of "sed", so it can be a program name with args.
124 set dummy sed; ac_word=$2
125 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
126 -echo "configure:1226: checking for $ac_word" >&5
127 +echo "configure:1184: checking for $ac_word" >&5
128 if eval "test \"`echo '$''{'ac_cv_path_SED'+set}'`\" = set"; then
129 echo $ac_n "(cached) $ac_c" 1>&6
130 else
131 @@ -1256,11 +1214,8 @@
132 fi
133
134
135 -LIBS="-L/usr/lib -L/usr/local/lib -L/usr/ssl/lib -L/usr/openssl/lib\
136 - -L/usr/local/ssl/lib -L/usr/local/openssl/lib -L/usr/pkg/lib -L/pkg/lib"
137 -
138 echo $ac_n "checking for floor in -lm""... $ac_c" 1>&6
139 -echo "configure:1264: checking for floor in -lm" >&5
140 +echo "configure:1219: checking for floor in -lm" >&5
141 ac_lib_var=`echo m'_'floor | sed 'y%./+-%__p_%'`
142 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
143 echo $ac_n "(cached) $ac_c" 1>&6
144 @@ -1268,7 +1223,7 @@
145 ac_save_LIBS="$LIBS"
146 LIBS="-lm $LIBS"
147 cat > conftest.$ac_ext <<EOF
148 -#line 1272 "configure"
149 +#line 1227 "configure"
150 #include "confdefs.h"
151 /* Override any gcc2 internal prototype to avoid an error. */
152 /* We use char because int might match the return type of a gcc2
153 @@ -1279,7 +1234,7 @@
154 floor()
155 ; return 0; }
156 EOF
157 -if { (eval echo configure:1283: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
158 +if { (eval echo configure:1238: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
159 rm -rf conftest*
160 eval "ac_cv_lib_$ac_lib_var=yes"
161 else
162 @@ -1300,7 +1255,7 @@
163 fi
164
165 echo $ac_n "checking for RSAPrivateDecrypt in -lrsaref""... $ac_c" 1>&6
166 -echo "configure:1304: checking for RSAPrivateDecrypt in -lrsaref" >&5
167 +echo "configure:1259: checking for RSAPrivateDecrypt in -lrsaref" >&5
168 ac_lib_var=`echo rsaref'_'RSAPrivateDecrypt | sed 'y%./+-%__p_%'`
169 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
170 echo $ac_n "(cached) $ac_c" 1>&6
171 @@ -1308,7 +1263,7 @@
172 ac_save_LIBS="$LIBS"
173 LIBS="-lrsaref $LIBS"
174 cat > conftest.$ac_ext <<EOF
175 -#line 1312 "configure"
176 +#line 1267 "configure"
177 #include "confdefs.h"
178 /* Override any gcc2 internal prototype to avoid an error. */
179 /* We use char because int might match the return type of a gcc2
180 @@ -1319,7 +1274,7 @@
181 RSAPrivateDecrypt()
182 ; return 0; }
183 EOF
184 -if { (eval echo configure:1323: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
185 +if { (eval echo configure:1278: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
186 rm -rf conftest*
187 eval "ac_cv_lib_$ac_lib_var=yes"
188 else
189 @@ -1340,7 +1295,7 @@
190 fi
191
192 echo $ac_n "checking for i2a_ASN1_STRING in -lcrypto""... $ac_c" 1>&6
193 -echo "configure:1344: checking for i2a_ASN1_STRING in -lcrypto" >&5
194 +echo "configure:1299: checking for i2a_ASN1_STRING in -lcrypto" >&5
195 ac_lib_var=`echo crypto'_'i2a_ASN1_STRING | sed 'y%./+-%__p_%'`
196 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
197 echo $ac_n "(cached) $ac_c" 1>&6
198 @@ -1348,7 +1303,7 @@
199 ac_save_LIBS="$LIBS"
200 LIBS="-lcrypto $LIBS"
201 cat > conftest.$ac_ext <<EOF
202 -#line 1352 "configure"
203 +#line 1307 "configure"
204 #include "confdefs.h"
205 /* Override any gcc2 internal prototype to avoid an error. */
206 /* We use char because int might match the return type of a gcc2
207 @@ -1359,7 +1314,7 @@
208 i2a_ASN1_STRING()
209 ; return 0; }
210 EOF
211 -if { (eval echo configure:1363: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
212 +if { (eval echo configure:1318: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
213 rm -rf conftest*
214 eval "ac_cv_lib_$ac_lib_var=yes"
215 else
216 @@ -1380,7 +1335,7 @@
217 fi
218
219 echo $ac_n "checking for RSA_ref_private_encrypt in -lRSAglue""... $ac_c" 1>&6
220 -echo "configure:1384: checking for RSA_ref_private_encrypt in -lRSAglue" >&5
221 +echo "configure:1339: checking for RSA_ref_private_encrypt in -lRSAglue" >&5
222 ac_lib_var=`echo RSAglue'_'RSA_ref_private_encrypt | sed 'y%./+-%__p_%'`
223 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
224 echo $ac_n "(cached) $ac_c" 1>&6
225 @@ -1388,7 +1343,7 @@
226 ac_save_LIBS="$LIBS"
227 LIBS="-lRSAglue $LIBS"
228 cat > conftest.$ac_ext <<EOF
229 -#line 1392 "configure"
230 +#line 1347 "configure"
231 #include "confdefs.h"
232 /* Override any gcc2 internal prototype to avoid an error. */
233 /* We use char because int might match the return type of a gcc2
234 @@ -1399,7 +1354,7 @@
235 RSA_ref_private_encrypt()
236 ; return 0; }
237 EOF
238 -if { (eval echo configure:1403: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
239 +if { (eval echo configure:1358: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
240 rm -rf conftest*
241 eval "ac_cv_lib_$ac_lib_var=yes"
242 else
243 @@ -1420,12 +1375,9 @@
244 fi
245
246
247 -CPPFLAGS="-I/usr/include -I/usr/local/include -I/usr/ssl/include\
248 - -I/usr/local/ssl/include -I/usr/openssl/include -I/usr/pkg/include\
249 - -I/usr/local/openssl/include -I/pkg/include"
250
251 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
252 -echo "configure:1429: checking how to run the C preprocessor" >&5
253 +echo "configure:1381: checking how to run the C preprocessor" >&5
254 # On Suns, sometimes $CPP names a directory.
255 if test -n "$CPP" && test -d "$CPP"; then
256 CPP=
257 @@ -1440,13 +1392,13 @@
258 # On the NeXT, cc -E runs the code through the compiler's parser,
259 # not just through cpp.
260 cat > conftest.$ac_ext <<EOF
261 -#line 1444 "configure"
262 +#line 1396 "configure"
263 #include "confdefs.h"
264 #include <assert.h>
265 Syntax Error
266 EOF
267 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
268 -{ (eval echo configure:1450: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
269 +{ (eval echo configure:1402: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
270 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
271 if test -z "$ac_err"; then
272 :
273 @@ -1457,13 +1409,13 @@
274 rm -rf conftest*
275 CPP="${CC-cc} -E -traditional-cpp"
276 cat > conftest.$ac_ext <<EOF
277 -#line 1461 "configure"
278 +#line 1413 "configure"
279 #include "confdefs.h"
280 #include <assert.h>
281 Syntax Error
282 EOF
283 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
284 -{ (eval echo configure:1467: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
285 +{ (eval echo configure:1419: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
286 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
287 if test -z "$ac_err"; then
288 :
289 @@ -1474,13 +1426,13 @@
290 rm -rf conftest*
291 CPP="${CC-cc} -nologo -E"
292 cat > conftest.$ac_ext <<EOF
293 -#line 1478 "configure"
294 +#line 1430 "configure"
295 #include "confdefs.h"
296 #include <assert.h>
297 Syntax Error
298 EOF
299 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
300 -{ (eval echo configure:1484: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
301 +{ (eval echo configure:1436: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
302 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
303 if test -z "$ac_err"; then
304 :
305 @@ -1505,12 +1457,12 @@
306 echo "$ac_t""$CPP" 1>&6
307
308 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
309 -echo "configure:1509: checking for ANSI C header files" >&5
310 +echo "configure:1461: checking for ANSI C header files" >&5
311 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
312 echo $ac_n "(cached) $ac_c" 1>&6
313 else
314 cat > conftest.$ac_ext <<EOF
315 -#line 1514 "configure"
316 +#line 1466 "configure"
317 #include "confdefs.h"
318 #include <stdlib.h>
319 #include <stdarg.h>
320 @@ -1518,7 +1470,7 @@
321 #include <float.h>
322 EOF
323 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
324 -{ (eval echo configure:1522: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
325 +{ (eval echo configure:1474: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
326 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
327 if test -z "$ac_err"; then
328 rm -rf conftest*
329 @@ -1535,7 +1487,7 @@
330 if test $ac_cv_header_stdc = yes; then
331 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
332 cat > conftest.$ac_ext <<EOF
333 -#line 1539 "configure"
334 +#line 1491 "configure"
335 #include "confdefs.h"
336 #include <string.h>
337 EOF
338 @@ -1553,7 +1505,7 @@
339 if test $ac_cv_header_stdc = yes; then
340 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
341 cat > conftest.$ac_ext <<EOF
342 -#line 1557 "configure"
343 +#line 1509 "configure"
344 #include "confdefs.h"
345 #include <stdlib.h>
346 EOF
347 @@ -1574,7 +1526,7 @@
348 :
349 else
350 cat > conftest.$ac_ext <<EOF
351 -#line 1578 "configure"
352 +#line 1530 "configure"
353 #include "confdefs.h"
354 #include <ctype.h>
355 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
356 @@ -1585,7 +1537,7 @@
357 exit (0); }
358
359 EOF
360 -if { (eval echo configure:1589: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
361 +if { (eval echo configure:1541: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
362 then
363 :
364 else
365 @@ -1609,12 +1561,12 @@
366 fi
367
368 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
369 -echo "configure:1613: checking whether time.h and sys/time.h may both be included" >&5
370 +echo "configure:1565: checking whether time.h and sys/time.h may both be included" >&5
371 if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then
372 echo $ac_n "(cached) $ac_c" 1>&6
373 else
374 cat > conftest.$ac_ext <<EOF
375 -#line 1618 "configure"
376 +#line 1570 "configure"
377 #include "confdefs.h"
378 #include <sys/types.h>
379 #include <sys/time.h>
380 @@ -1623,7 +1575,7 @@
381 struct tm *tp;
382 ; return 0; }
383 EOF
384 -if { (eval echo configure:1627: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
385 +if { (eval echo configure:1579: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
386 rm -rf conftest*
387 ac_cv_header_time=yes
388 else
389 @@ -1647,17 +1599,17 @@
390 do
391 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
392 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
393 -echo "configure:1651: checking for $ac_hdr" >&5
394 +echo "configure:1603: checking for $ac_hdr" >&5
395 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
396 echo $ac_n "(cached) $ac_c" 1>&6
397 else
398 cat > conftest.$ac_ext <<EOF
399 -#line 1656 "configure"
400 +#line 1608 "configure"
401 #include "confdefs.h"
402 #include <$ac_hdr>
403 EOF
404 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
405 -{ (eval echo configure:1661: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
406 +{ (eval echo configure:1613: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
407 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
408 if test -z "$ac_err"; then
409 rm -rf conftest*
410 @@ -1687,17 +1639,17 @@
411 do
412 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
413 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
414 -echo "configure:1691: checking for $ac_hdr" >&5
415 +echo "configure:1643: checking for $ac_hdr" >&5
416 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
417 echo $ac_n "(cached) $ac_c" 1>&6
418 else
419 cat > conftest.$ac_ext <<EOF
420 -#line 1696 "configure"
421 +#line 1648 "configure"
422 #include "confdefs.h"
423 #include <$ac_hdr>
424 EOF
425 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
426 -{ (eval echo configure:1701: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
427 +{ (eval echo configure:1653: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
428 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
429 if test -z "$ac_err"; then
430 rm -rf conftest*
431 @@ -1726,12 +1678,12 @@
432
433
434 echo $ac_n "checking for working const""... $ac_c" 1>&6
435 -echo "configure:1730: checking for working const" >&5
436 +echo "configure:1682: checking for working const" >&5
437 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
438 echo $ac_n "(cached) $ac_c" 1>&6
439 else
440 cat > conftest.$ac_ext <<EOF
441 -#line 1735 "configure"
442 +#line 1687 "configure"
443 #include "confdefs.h"
444
445 int main() {
446 @@ -1780,7 +1732,7 @@
447
448 ; return 0; }
449 EOF
450 -if { (eval echo configure:1784: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
451 +if { (eval echo configure:1736: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
452 rm -rf conftest*
453 ac_cv_c_const=yes
454 else
455 @@ -1801,12 +1753,12 @@
456 fi
457
458 echo $ac_n "checking for u_int""... $ac_c" 1>&6
459 -echo "configure:1805: checking for u_int" >&5
460 +echo "configure:1757: checking for u_int" >&5
461 if eval "test \"`echo '$''{'ac_cv_type_u_int'+set}'`\" = set"; then
462 echo $ac_n "(cached) $ac_c" 1>&6
463 else
464 cat > conftest.$ac_ext <<EOF
465 -#line 1810 "configure"
466 +#line 1762 "configure"
467 #include "confdefs.h"
468 #include <sys/types.h>
469 #if STDC_HEADERS
470 @@ -1834,12 +1786,12 @@
471 fi
472
473 echo $ac_n "checking for u_char""... $ac_c" 1>&6
474 -echo "configure:1838: checking for u_char" >&5
475 +echo "configure:1790: checking for u_char" >&5
476 if eval "test \"`echo '$''{'ac_cv_type_u_char'+set}'`\" = set"; then
477 echo $ac_n "(cached) $ac_c" 1>&6
478 else
479 cat > conftest.$ac_ext <<EOF
480 -#line 1843 "configure"
481 +#line 1795 "configure"
482 #include "confdefs.h"
483 #include <sys/types.h>
484 #if STDC_HEADERS
485 @@ -1870,12 +1822,12 @@
486 for ac_func in regcomp open close read _open _close _read strchr memcpy
487 do
488 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
489 -echo "configure:1874: checking for $ac_func" >&5
490 +echo "configure:1826: checking for $ac_func" >&5
491 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
492 echo $ac_n "(cached) $ac_c" 1>&6
493 else
494 cat > conftest.$ac_ext <<EOF
495 -#line 1879 "configure"
496 +#line 1831 "configure"
497 #include "confdefs.h"
498 /* System header to define __stub macros and hopefully few prototypes,
499 which can conflict with char $ac_func(); below. */
500 @@ -1898,7 +1850,7 @@
501
502 ; return 0; }
503 EOF
504 -if { (eval echo configure:1902: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
505 +if { (eval echo configure:1854: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
506 rm -rf conftest*
507 eval "ac_cv_func_$ac_func=yes"
508 else
509 @@ -1925,12 +1877,12 @@
510 for ac_func in strcasecmp strncasecmp stricmp strnicmp snprintf __b64_ntop
511 do
512 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
513 -echo "configure:1929: checking for $ac_func" >&5
514 +echo "configure:1881: checking for $ac_func" >&5
515 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
516 echo $ac_n "(cached) $ac_c" 1>&6
517 else
518 cat > conftest.$ac_ext <<EOF
519 -#line 1934 "configure"
520 +#line 1886 "configure"
521 #include "confdefs.h"
522 /* System header to define __stub macros and hopefully few prototypes,
523 which can conflict with char $ac_func(); below. */
524 @@ -1953,7 +1905,7 @@
525
526 ; return 0; }
527 EOF
528 -if { (eval echo configure:1957: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
529 +if { (eval echo configure:1909: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
530 rm -rf conftest*
531 eval "ac_cv_func_$ac_func=yes"
532 else
533 @@ -1980,12 +1932,12 @@
534 for ac_func in getopt
535 do
536 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
537 -echo "configure:1984: checking for $ac_func" >&5
538 +echo "configure:1936: checking for $ac_func" >&5
539 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
540 echo $ac_n "(cached) $ac_c" 1>&6
541 else
542 cat > conftest.$ac_ext <<EOF
543 -#line 1989 "configure"
544 +#line 1941 "configure"
545 #include "confdefs.h"
546 /* System header to define __stub macros and hopefully few prototypes,
547 which can conflict with char $ac_func(); below. */
548 @@ -2008,7 +1960,7 @@
549
550 ; return 0; }
551 EOF
552 -if { (eval echo configure:2012: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
553 +if { (eval echo configure:1964: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
554 rm -rf conftest*
555 eval "ac_cv_func_$ac_func=yes"
556 else
557 @@ -2172,7 +2124,6 @@
558 s%@CC@%$CC%g
559 s%@RANLIB@%$RANLIB%g
560 s%@YACC@%$YACC%g
561 -s%@SSLEAY@%$SSLEAY%g
562 s%@RM@%$RM%g
563 s%@AR@%$AR%g
564 s%@NROFF@%$NROFF%g
565 Index: keynote-2.3/configure.in
566 ===================================================================
567 --- keynote-2.3.orig/configure.in 2007-06-04 13:22:41.389563112 +0200
568 +++ keynote-2.3/configure.in 2007-06-04 13:22:41.658522224 +0200
569 @@ -9,8 +9,8 @@
570 AC_PROG_CC
571 AC_PROG_RANLIB
572 AC_PROG_YACC
573 -AC_PATH_PROGS(SSLEAY, openssl ssleay, /usr/local/bin/ssleay, \
574 - $PATH:/usr/local/bin:/usr/local/ssl/sbin:/usr/local/ssl/bin:/usr/ssl/bin:/usr/ssl/sbin:/usr/sbin:/usr/openssl/bin:/usr/openssl/bin:/usr/local/openssl/bin:/usr/local/openssl/sbin)
575 +dnl AC_PATH_PROGS(SSLEAY, openssl ssleay, /usr/local/bin/ssleay, \
576 +dnl $PATH:/usr/local/bin:/usr/local/ssl/sbin:/usr/local/ssl/bin:/usr/ssl/bin:/usr/ssl/sbin:/usr/sbin:/usr/openssl/bin:/usr/openssl/bin:/usr/local/openssl/bin:/usr/local/openssl/sbin)
577 AC_PATH_PROG(RM, rm, /bin/rm)
578 AC_PATH_PROG(AR, ar, /usr/bin/ar)
579 AC_PATH_PROG(NROFF, nroff, /usr/bin/nroff)
580 @@ -27,7 +27,7 @@
581 AC_CHECK_LIB(RSAglue, RSA_ref_private_encrypt, LIBS="$LIBS -lRSAglue")
582
583 dnl Checks for header files.
584 -CPPFLAGS="-I/usr/include/openssl"
585 +dnl CPPFLAGS="-I/usr/include/openssl"
586
587 AC_HEADER_STDC
588 AC_HEADER_TIME