Dash:
[t2.git] / package / emulators / lcdemu / lcdemuhotfix.patch
blobd92d5bf2c4e3170853d9eca2a8fde7b15d87a3b8
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
3 #
4 # T2 SDE: package/.../lcdemu/lcdemuhotfix.patch
5 # Copyright (C) 2004 - 2005 The T2 SDE Project
6 # Copyright (C) 1998 - 2003 ROCK Linux Project
7 #
8 # More information can be found in the files COPYING and README.
9 #
10 # This patch file is dual-licensed. It is available under the license the
11 # patched project is licensed under, as long as it is an OpenSource license
12 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
13 # of the GNU General Public License as published by the Free Software
14 # Foundation; either version 2 of the License, or (at your option) any later
15 # version.
16 # --- T2-COPYRIGHT-NOTE-END ---
18 --- lcdemu-0.6-beta1/configure.in Fri Dec 6 16:12:30 2002
19 +++ lcdemu-0.6.0/configure.in Mon Mar 17 00:04:59 2003
20 @@ -17,7 +17,10 @@
22 AC_ARG_ENABLE(debug,
23 [ --enable-debug turn on debugging [default=no]],
24 - AC_DEFINE(DEBUG, 1, [Define to switch on debug messages]),)
25 + echo $enableval
26 + if [[[ "$enableval" = "yes" ]]]; then
27 + AC_DEFINE(DEBUG, 1, [Define to switch on debug messages])
28 + fi,)
30 AC_ARG_ENABLE(debug-dump-buffer,
31 [ --enable-dump_buffer turn on buffer dump output [default=no]],
32 --- lcdemu-0.6-beta1/configure Fri Dec 6 16:12:41 2002
33 +++ lcdemu-0.6.0/configure Mon Mar 17 00:05:01 2003
34 @@ -1,6 +1,6 @@
35 #! /bin/sh
36 # Guess values for system-dependent variables and create Makefiles.
37 -# Generated by GNU Autoconf 2.54.
38 +# Generated by GNU Autoconf 2.57.
40 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
41 # Free Software Foundation, Inc.
42 @@ -36,7 +36,10 @@
43 PS4='+ '
45 # NLS nuisances.
46 -for as_var in LANG LANGUAGE LC_ALL LC_COLLATE LC_CTYPE LC_NUMERIC LC_MESSAGES LC_TIME
47 +for as_var in \
48 + LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
49 + LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
50 + LC_TELEPHONE LC_TIME
52 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
53 eval $as_var=C; export $as_var
54 @@ -82,15 +85,15 @@
56 # The user is always right.
57 if test "${PATH_SEPARATOR+set}" != set; then
58 - echo "#! /bin/sh" >conftest.sh
59 - echo "exit 0" >>conftest.sh
60 - chmod +x conftest.sh
61 - if (PATH="/nonexistent;."; conftest.sh) >/dev/null 2>&1; then
62 + echo "#! /bin/sh" >conf$$.sh
63 + echo "exit 0" >>conf$$.sh
64 + chmod +x conf$$.sh
65 + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
66 PATH_SEPARATOR=';'
67 else
68 PATH_SEPARATOR=:
70 - rm -f conftest.sh
71 + rm -f conf$$.sh
75 @@ -900,7 +903,7 @@
76 running configure, to aid debugging if configure makes a mistake.
78 It was created by $as_me, which was
79 -generated by GNU Autoconf 2.54. Invocation command line was
80 +generated by GNU Autoconf 2.57. Invocation command line was
82 $ $0 $@
84 @@ -952,24 +955,54 @@
86 # Keep a trace of the command line.
87 # Strip out --no-create and --no-recursion so they do not pile up.
88 +# Strip out --silent because we don't want to record it for future runs.
89 # Also quote any args containing shell meta-characters.
90 +# Make two passes to allow for proper duplicate-argument suppression.
91 ac_configure_args=
92 +ac_configure_args0=
93 +ac_configure_args1=
94 ac_sep=
95 -for ac_arg
96 +ac_must_keep_next=false
97 +for ac_pass in 1 2
99 - case $ac_arg in
100 - -no-create | --no-create | --no-creat | --no-crea | --no-cre \
101 - | --no-cr | --no-c | -n ) continue ;;
102 - -no-recursion | --no-recursion | --no-recursio | --no-recursi \
103 - | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
104 - continue ;;
105 - *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
106 - ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
107 - esac
108 - ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
109 - # Get rid of the leading space.
110 - ac_sep=" "
111 + for ac_arg
112 + do
113 + case $ac_arg in
114 + -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
115 + -q | -quiet | --quiet | --quie | --qui | --qu | --q \
116 + | -silent | --silent | --silen | --sile | --sil)
117 + continue ;;
118 + *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
119 + ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
120 + esac
121 + case $ac_pass in
122 + 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
123 + 2)
124 + ac_configure_args1="$ac_configure_args1 '$ac_arg'"
125 + if test $ac_must_keep_next = true; then
126 + ac_must_keep_next=false # Got value, back to normal.
127 + else
128 + case $ac_arg in
129 + *=* | --config-cache | -C | -disable-* | --disable-* \
130 + | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
131 + | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
132 + | -with-* | --with-* | -without-* | --without-* | --x)
133 + case "$ac_configure_args0 " in
134 + "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
135 + esac
136 + ;;
137 + -* ) ac_must_keep_next=true ;;
138 + esac
139 + fi
140 + ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
141 + # Get rid of the leading space.
142 + ac_sep=" "
143 + ;;
144 + esac
145 + done
146 done
147 +$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
148 +$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
150 # When interrupted or exit'd, cleanup temporary files, and complete
151 # config.log. We remove comments because anyway the quotes in there
152 @@ -1412,15 +1445,15 @@
153 test -n "$AWK" && break
154 done
156 -echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \${MAKE}" >&5
157 -echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
158 +echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
159 +echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
160 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
161 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
162 echo $ECHO_N "(cached) $ECHO_C" >&6
163 else
164 cat >conftest.make <<\_ACEOF
165 all:
166 - @echo 'ac_maketemp="${MAKE}"'
167 + @echo 'ac_maketemp="$(MAKE)"'
168 _ACEOF
169 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
170 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
171 @@ -1996,8 +2029,10 @@
175 -test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH" >&5
176 -echo "$as_me: error: no acceptable C compiler found in \$PATH" >&2;}
177 +test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
178 +See \`config.log' for more details." >&5
179 +echo "$as_me: error: no acceptable C compiler found in \$PATH
180 +See \`config.log' for more details." >&2;}
181 { (exit 1); exit 1; }; }
183 # Provide some information about the compiler.
184 @@ -2022,7 +2057,11 @@
186 cat >conftest.$ac_ext <<_ACEOF
187 #line $LINENO "configure"
188 -#include "confdefs.h"
189 +/* confdefs.h. */
190 +_ACEOF
191 +cat confdefs.h >>conftest.$ac_ext
192 +cat >>conftest.$ac_ext <<_ACEOF
193 +/* end confdefs.h. */
196 main ()
197 @@ -2033,7 +2072,7 @@
199 _ACEOF
200 ac_clean_files_save=$ac_clean_files
201 -ac_clean_files="$ac_clean_files a.out a.exe"
202 +ac_clean_files="$ac_clean_files a.out a.exe b.out"
203 # Try to create an executable without -o first, disregard a.out.
204 # It will help us diagnose broken compilers, and finding out an intuition
205 # of exeext.
206 @@ -2052,27 +2091,39 @@
207 # Be careful to initialize this variable, since it used to be cached.
208 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
209 ac_cv_exeext=
210 -for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.*; do
211 +# b.out is created by i960 compilers.
212 +for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
214 test -f "$ac_file" || continue
215 case $ac_file in
216 - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
217 - a.out ) # We found the default executable, but exeext='' is most
218 - # certainly right.
219 - break;;
220 - *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
221 - # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
222 - export ac_cv_exeext
223 - break;;
224 - * ) break;;
225 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
226 + ;;
227 + conftest.$ac_ext )
228 + # This is the source file.
229 + ;;
230 + [ab].out )
231 + # We found the default executable, but exeext='' is most
232 + # certainly right.
233 + break;;
234 + *.* )
235 + ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
236 + # FIXME: I believe we export ac_cv_exeext for Libtool,
237 + # but it would be cool to find out if it's true. Does anybody
238 + # maintain Libtool? --akim.
239 + export ac_cv_exeext
240 + break;;
241 + * )
242 + break;;
243 esac
244 done
245 else
246 echo "$as_me: failed program was:" >&5
247 -cat conftest.$ac_ext >&5
248 +sed 's/^/| /' conftest.$ac_ext >&5
250 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
251 -check \`config.log' for details." >&5
252 +See \`config.log' for more details." >&5
253 echo "$as_me: error: C compiler cannot create executables
254 -check \`config.log' for details." >&2;}
255 +See \`config.log' for more details." >&2;}
256 { (exit 77); exit 77; }; }
259 @@ -2099,9 +2150,11 @@
260 cross_compiling=yes
261 else
262 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
263 -If you meant to cross compile, use \`--host'." >&5
264 +If you meant to cross compile, use \`--host'.
265 +See \`config.log' for more details." >&5
266 echo "$as_me: error: cannot run C compiled programs.
267 -If you meant to cross compile, use \`--host'." >&2;}
268 +If you meant to cross compile, use \`--host'.
269 +See \`config.log' for more details." >&2;}
270 { (exit 1); exit 1; }; }
273 @@ -2109,7 +2162,7 @@
274 echo "$as_me:$LINENO: result: yes" >&5
275 echo "${ECHO_T}yes" >&6
277 -rm -f a.out a.exe conftest$ac_cv_exeext
278 +rm -f a.out a.exe conftest$ac_cv_exeext b.out
279 ac_clean_files=$ac_clean_files_save
280 # Check the compiler produces executables we can run. If not, either
281 # the compiler is broken, or we cross compile.
282 @@ -2140,8 +2193,10 @@
283 esac
284 done
285 else
286 - { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link" >&5
287 -echo "$as_me: error: cannot compute suffix of executables: cannot compile and link" >&2;}
288 + { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
289 +See \`config.log' for more details." >&5
290 +echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
291 +See \`config.log' for more details." >&2;}
292 { (exit 1); exit 1; }; }
295 @@ -2159,7 +2214,11 @@
296 else
297 cat >conftest.$ac_ext <<_ACEOF
298 #line $LINENO "configure"
299 -#include "confdefs.h"
300 +/* confdefs.h. */
301 +_ACEOF
302 +cat confdefs.h >>conftest.$ac_ext
303 +cat >>conftest.$ac_ext <<_ACEOF
304 +/* end confdefs.h. */
307 main ()
308 @@ -2184,9 +2243,12 @@
309 done
310 else
311 echo "$as_me: failed program was:" >&5
312 -cat conftest.$ac_ext >&5
313 -{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile" >&5
314 -echo "$as_me: error: cannot compute suffix of object files: cannot compile" >&2;}
315 +sed 's/^/| /' conftest.$ac_ext >&5
317 +{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
318 +See \`config.log' for more details." >&5
319 +echo "$as_me: error: cannot compute suffix of object files: cannot compile
320 +See \`config.log' for more details." >&2;}
321 { (exit 1); exit 1; }; }
324 @@ -2203,7 +2265,11 @@
325 else
326 cat >conftest.$ac_ext <<_ACEOF
327 #line $LINENO "configure"
328 -#include "confdefs.h"
329 +/* confdefs.h. */
330 +_ACEOF
331 +cat confdefs.h >>conftest.$ac_ext
332 +cat >>conftest.$ac_ext <<_ACEOF
333 +/* end confdefs.h. */
336 main ()
337 @@ -2231,7 +2297,8 @@
338 ac_compiler_gnu=yes
339 else
340 echo "$as_me: failed program was:" >&5
341 -cat conftest.$ac_ext >&5
342 +sed 's/^/| /' conftest.$ac_ext >&5
344 ac_compiler_gnu=no
346 rm -f conftest.$ac_objext conftest.$ac_ext
347 @@ -2251,7 +2318,11 @@
348 else
349 cat >conftest.$ac_ext <<_ACEOF
350 #line $LINENO "configure"
351 -#include "confdefs.h"
352 +/* confdefs.h. */
353 +_ACEOF
354 +cat confdefs.h >>conftest.$ac_ext
355 +cat >>conftest.$ac_ext <<_ACEOF
356 +/* end confdefs.h. */
359 main ()
360 @@ -2276,7 +2347,8 @@
361 ac_cv_prog_cc_g=yes
362 else
363 echo "$as_me: failed program was:" >&5
364 -cat conftest.$ac_ext >&5
365 +sed 's/^/| /' conftest.$ac_ext >&5
367 ac_cv_prog_cc_g=no
369 rm -f conftest.$ac_objext conftest.$ac_ext
370 @@ -2307,7 +2379,11 @@
371 ac_save_CC=$CC
372 cat >conftest.$ac_ext <<_ACEOF
373 #line $LINENO "configure"
374 -#include "confdefs.h"
375 +/* confdefs.h. */
376 +_ACEOF
377 +cat confdefs.h >>conftest.$ac_ext
378 +cat >>conftest.$ac_ext <<_ACEOF
379 +/* end confdefs.h. */
380 #include <stdarg.h>
381 #include <stdio.h>
382 #include <sys/types.h>
383 @@ -2370,7 +2446,8 @@
384 break
385 else
386 echo "$as_me: failed program was:" >&5
387 -cat conftest.$ac_ext >&5
388 +sed 's/^/| /' conftest.$ac_ext >&5
391 rm -f conftest.$ac_objext
392 done
393 @@ -2421,7 +2498,11 @@
395 cat >conftest.$ac_ext <<_ACEOF
396 #line $LINENO "configure"
397 -#include "confdefs.h"
398 +/* confdefs.h. */
399 +_ACEOF
400 +cat confdefs.h >>conftest.$ac_ext
401 +cat >>conftest.$ac_ext <<_ACEOF
402 +/* end confdefs.h. */
403 #include <stdlib.h>
404 $ac_declaration
406 @@ -2447,13 +2528,18 @@
408 else
409 echo "$as_me: failed program was:" >&5
410 -cat conftest.$ac_ext >&5
411 +sed 's/^/| /' conftest.$ac_ext >&5
413 continue
415 rm -f conftest.$ac_objext conftest.$ac_ext
416 cat >conftest.$ac_ext <<_ACEOF
417 #line $LINENO "configure"
418 -#include "confdefs.h"
419 +/* confdefs.h. */
420 +_ACEOF
421 +cat confdefs.h >>conftest.$ac_ext
422 +cat >>conftest.$ac_ext <<_ACEOF
423 +/* end confdefs.h. */
424 $ac_declaration
426 main ()
427 @@ -2478,7 +2564,8 @@
428 break
429 else
430 echo "$as_me: failed program was:" >&5
431 -cat conftest.$ac_ext >&5
432 +sed 's/^/| /' conftest.$ac_ext >&5
435 rm -f conftest.$ac_objext conftest.$ac_ext
436 done
437 @@ -2491,7 +2578,8 @@
439 else
440 echo "$as_me: failed program was:" >&5
441 -cat conftest.$ac_ext >&5
442 +sed 's/^/| /' conftest.$ac_ext >&5
445 rm -f conftest.$ac_objext conftest.$ac_ext
446 ac_ext=c
447 @@ -2592,7 +2680,11 @@
448 LIBS="-lcposix $LIBS"
449 cat >conftest.$ac_ext <<_ACEOF
450 #line $LINENO "configure"
451 -#include "confdefs.h"
452 +/* confdefs.h. */
453 +_ACEOF
454 +cat confdefs.h >>conftest.$ac_ext
455 +cat >>conftest.$ac_ext <<_ACEOF
456 +/* end confdefs.h. */
458 /* Override any gcc2 internal prototype to avoid an error. */
459 #ifdef __cplusplus
460 @@ -2624,7 +2716,8 @@
461 ac_cv_lib_cposix_strerror=yes
462 else
463 echo "$as_me: failed program was:" >&5
464 -cat conftest.$ac_ext >&5
465 +sed 's/^/| /' conftest.$ac_ext >&5
467 ac_cv_lib_cposix_strerror=no
469 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
470 @@ -2947,8 +3040,10 @@
474 -test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH" >&5
475 -echo "$as_me: error: no acceptable C compiler found in \$PATH" >&2;}
476 +test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
477 +See \`config.log' for more details." >&5
478 +echo "$as_me: error: no acceptable C compiler found in \$PATH
479 +See \`config.log' for more details." >&2;}
480 { (exit 1); exit 1; }; }
482 # Provide some information about the compiler.
483 @@ -2978,7 +3073,11 @@
484 else
485 cat >conftest.$ac_ext <<_ACEOF
486 #line $LINENO "configure"
487 -#include "confdefs.h"
488 +/* confdefs.h. */
489 +_ACEOF
490 +cat confdefs.h >>conftest.$ac_ext
491 +cat >>conftest.$ac_ext <<_ACEOF
492 +/* end confdefs.h. */
495 main ()
496 @@ -3006,7 +3105,8 @@
497 ac_compiler_gnu=yes
498 else
499 echo "$as_me: failed program was:" >&5
500 -cat conftest.$ac_ext >&5
501 +sed 's/^/| /' conftest.$ac_ext >&5
503 ac_compiler_gnu=no
505 rm -f conftest.$ac_objext conftest.$ac_ext
506 @@ -3026,7 +3126,11 @@
507 else
508 cat >conftest.$ac_ext <<_ACEOF
509 #line $LINENO "configure"
510 -#include "confdefs.h"
511 +/* confdefs.h. */
512 +_ACEOF
513 +cat confdefs.h >>conftest.$ac_ext
514 +cat >>conftest.$ac_ext <<_ACEOF
515 +/* end confdefs.h. */
518 main ()
519 @@ -3051,7 +3155,8 @@
520 ac_cv_prog_cc_g=yes
521 else
522 echo "$as_me: failed program was:" >&5
523 -cat conftest.$ac_ext >&5
524 +sed 's/^/| /' conftest.$ac_ext >&5
526 ac_cv_prog_cc_g=no
528 rm -f conftest.$ac_objext conftest.$ac_ext
529 @@ -3082,7 +3187,11 @@
530 ac_save_CC=$CC
531 cat >conftest.$ac_ext <<_ACEOF
532 #line $LINENO "configure"
533 -#include "confdefs.h"
534 +/* confdefs.h. */
535 +_ACEOF
536 +cat confdefs.h >>conftest.$ac_ext
537 +cat >>conftest.$ac_ext <<_ACEOF
538 +/* end confdefs.h. */
539 #include <stdarg.h>
540 #include <stdio.h>
541 #include <sys/types.h>
542 @@ -3145,7 +3254,8 @@
543 break
544 else
545 echo "$as_me: failed program was:" >&5
546 -cat conftest.$ac_ext >&5
547 +sed 's/^/| /' conftest.$ac_ext >&5
550 rm -f conftest.$ac_objext
551 done
552 @@ -3196,7 +3306,11 @@
554 cat >conftest.$ac_ext <<_ACEOF
555 #line $LINENO "configure"
556 -#include "confdefs.h"
557 +/* confdefs.h. */
558 +_ACEOF
559 +cat confdefs.h >>conftest.$ac_ext
560 +cat >>conftest.$ac_ext <<_ACEOF
561 +/* end confdefs.h. */
562 #include <stdlib.h>
563 $ac_declaration
565 @@ -3222,13 +3336,18 @@
567 else
568 echo "$as_me: failed program was:" >&5
569 -cat conftest.$ac_ext >&5
570 +sed 's/^/| /' conftest.$ac_ext >&5
572 continue
574 rm -f conftest.$ac_objext conftest.$ac_ext
575 cat >conftest.$ac_ext <<_ACEOF
576 #line $LINENO "configure"
577 -#include "confdefs.h"
578 +/* confdefs.h. */
579 +_ACEOF
580 +cat confdefs.h >>conftest.$ac_ext
581 +cat >>conftest.$ac_ext <<_ACEOF
582 +/* end confdefs.h. */
583 $ac_declaration
585 main ()
586 @@ -3253,7 +3372,8 @@
587 break
588 else
589 echo "$as_me: failed program was:" >&5
590 -cat conftest.$ac_ext >&5
591 +sed 's/^/| /' conftest.$ac_ext >&5
594 rm -f conftest.$ac_objext conftest.$ac_ext
595 done
596 @@ -3266,7 +3386,8 @@
598 else
599 echo "$as_me: failed program was:" >&5
600 -cat conftest.$ac_ext >&5
601 +sed 's/^/| /' conftest.$ac_ext >&5
604 rm -f conftest.$ac_objext conftest.$ac_ext
605 ac_ext=c
606 @@ -3378,7 +3499,11 @@
607 CC="$ac_save_CC $ac_arg"
608 cat >conftest.$ac_ext <<_ACEOF
609 #line $LINENO "configure"
610 -#include "confdefs.h"
611 +/* confdefs.h. */
612 +_ACEOF
613 +cat confdefs.h >>conftest.$ac_ext
614 +cat >>conftest.$ac_ext <<_ACEOF
615 +/* end confdefs.h. */
616 #include <stdarg.h>
617 #include <stdio.h>
618 #include <sys/types.h>
619 @@ -3433,7 +3558,8 @@
620 am_cv_prog_cc_stdc="$ac_arg"; break
621 else
622 echo "$as_me: failed program was:" >&5
623 -cat conftest.$ac_ext >&5
624 +sed 's/^/| /' conftest.$ac_ext >&5
627 rm -f conftest.$ac_objext conftest.$ac_ext
628 done
629 @@ -3476,12 +3602,22 @@
631 # Use a header file that comes with gcc, so configuring glibc
632 # with a fresh cross-compiler works.
633 + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
634 + # <limits.h> exists even on freestanding compilers.
635 # On the NeXT, cc -E runs the code through the compiler's parser,
636 # not just through cpp. "Syntax error" is here to catch this case.
637 cat >conftest.$ac_ext <<_ACEOF
638 #line $LINENO "configure"
639 -#include "confdefs.h"
640 -#include <assert.h>
641 +/* confdefs.h. */
642 +_ACEOF
643 +cat confdefs.h >>conftest.$ac_ext
644 +cat >>conftest.$ac_ext <<_ACEOF
645 +/* end confdefs.h. */
646 +#ifdef __STDC__
647 +# include <limits.h>
648 +#else
649 +# include <assert.h>
650 +#endif
651 Syntax error
652 _ACEOF
653 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
654 @@ -3504,7 +3640,8 @@
656 else
657 echo "$as_me: failed program was:" >&5
658 - cat conftest.$ac_ext >&5
659 +sed 's/^/| /' conftest.$ac_ext >&5
661 # Broken: fails on valid input.
662 continue
664 @@ -3514,7 +3651,11 @@
665 # can be detected and how.
666 cat >conftest.$ac_ext <<_ACEOF
667 #line $LINENO "configure"
668 -#include "confdefs.h"
669 +/* confdefs.h. */
670 +_ACEOF
671 +cat confdefs.h >>conftest.$ac_ext
672 +cat >>conftest.$ac_ext <<_ACEOF
673 +/* end confdefs.h. */
674 #include <ac_nonexistent.h>
675 _ACEOF
676 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
677 @@ -3538,7 +3679,8 @@
678 continue
679 else
680 echo "$as_me: failed program was:" >&5
681 - cat conftest.$ac_ext >&5
682 +sed 's/^/| /' conftest.$ac_ext >&5
684 # Passes both tests.
685 ac_preproc_ok=:
686 break
687 @@ -3567,12 +3709,22 @@
689 # Use a header file that comes with gcc, so configuring glibc
690 # with a fresh cross-compiler works.
691 + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
692 + # <limits.h> exists even on freestanding compilers.
693 # On the NeXT, cc -E runs the code through the compiler's parser,
694 # not just through cpp. "Syntax error" is here to catch this case.
695 cat >conftest.$ac_ext <<_ACEOF
696 #line $LINENO "configure"
697 -#include "confdefs.h"
698 -#include <assert.h>
699 +/* confdefs.h. */
700 +_ACEOF
701 +cat confdefs.h >>conftest.$ac_ext
702 +cat >>conftest.$ac_ext <<_ACEOF
703 +/* end confdefs.h. */
704 +#ifdef __STDC__
705 +# include <limits.h>
706 +#else
707 +# include <assert.h>
708 +#endif
709 Syntax error
710 _ACEOF
711 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
712 @@ -3595,7 +3747,8 @@
714 else
715 echo "$as_me: failed program was:" >&5
716 - cat conftest.$ac_ext >&5
717 +sed 's/^/| /' conftest.$ac_ext >&5
719 # Broken: fails on valid input.
720 continue
722 @@ -3605,7 +3758,11 @@
723 # can be detected and how.
724 cat >conftest.$ac_ext <<_ACEOF
725 #line $LINENO "configure"
726 -#include "confdefs.h"
727 +/* confdefs.h. */
728 +_ACEOF
729 +cat confdefs.h >>conftest.$ac_ext
730 +cat >>conftest.$ac_ext <<_ACEOF
731 +/* end confdefs.h. */
732 #include <ac_nonexistent.h>
733 _ACEOF
734 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
735 @@ -3629,7 +3786,8 @@
736 continue
737 else
738 echo "$as_me: failed program was:" >&5
739 - cat conftest.$ac_ext >&5
740 +sed 's/^/| /' conftest.$ac_ext >&5
742 # Passes both tests.
743 ac_preproc_ok=:
744 break
745 @@ -3642,8 +3800,10 @@
746 if $ac_preproc_ok; then
748 else
749 - { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check" >&5
750 -echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
751 + { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
752 +See \`config.log' for more details." >&5
753 +echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
754 +See \`config.log' for more details." >&2;}
755 { (exit 1); exit 1; }; }
758 @@ -3676,43 +3836,54 @@
759 else
760 cat >conftest.$ac_ext <<_ACEOF
761 #line $LINENO "configure"
762 -#include "confdefs.h"
763 +/* confdefs.h. */
764 +_ACEOF
765 +cat confdefs.h >>conftest.$ac_ext
766 +cat >>conftest.$ac_ext <<_ACEOF
767 +/* end confdefs.h. */
768 #include <stdlib.h>
769 #include <stdarg.h>
770 #include <string.h>
771 #include <float.h>
773 +int
774 +main ()
778 + return 0;
780 _ACEOF
781 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
782 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
783 +rm -f conftest.$ac_objext
784 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
785 + (eval $ac_compile) 2>&5
786 ac_status=$?
787 - grep -v '^ *+' conftest.er1 >conftest.err
788 - rm -f conftest.er1
789 - cat conftest.err >&5
790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
791 - (exit $ac_status); } >/dev/null; then
792 - if test -s conftest.err; then
793 - ac_cpp_err=$ac_c_preproc_warn_flag
794 - else
795 - ac_cpp_err=
796 - fi
797 -else
798 - ac_cpp_err=yes
800 -if test -z "$ac_cpp_err"; then
801 + (exit $ac_status); } &&
802 + { ac_try='test -s conftest.$ac_objext'
803 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
804 + (eval $ac_try) 2>&5
805 + ac_status=$?
806 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
807 + (exit $ac_status); }; }; then
808 ac_cv_header_stdc=yes
809 else
810 echo "$as_me: failed program was:" >&5
811 - cat conftest.$ac_ext >&5
812 - ac_cv_header_stdc=no
813 +sed 's/^/| /' conftest.$ac_ext >&5
815 +ac_cv_header_stdc=no
817 -rm -f conftest.err conftest.$ac_ext
818 +rm -f conftest.$ac_objext conftest.$ac_ext
820 if test $ac_cv_header_stdc = yes; then
821 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
822 cat >conftest.$ac_ext <<_ACEOF
823 #line $LINENO "configure"
824 -#include "confdefs.h"
825 +/* confdefs.h. */
826 +_ACEOF
827 +cat confdefs.h >>conftest.$ac_ext
828 +cat >>conftest.$ac_ext <<_ACEOF
829 +/* end confdefs.h. */
830 #include <string.h>
832 _ACEOF
833 @@ -3730,7 +3901,11 @@
834 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
835 cat >conftest.$ac_ext <<_ACEOF
836 #line $LINENO "configure"
837 -#include "confdefs.h"
838 +/* confdefs.h. */
839 +_ACEOF
840 +cat confdefs.h >>conftest.$ac_ext
841 +cat >>conftest.$ac_ext <<_ACEOF
842 +/* end confdefs.h. */
843 #include <stdlib.h>
845 _ACEOF
846 @@ -3751,13 +3926,18 @@
847 else
848 cat >conftest.$ac_ext <<_ACEOF
849 #line $LINENO "configure"
850 -#include "confdefs.h"
851 +/* confdefs.h. */
852 +_ACEOF
853 +cat confdefs.h >>conftest.$ac_ext
854 +cat >>conftest.$ac_ext <<_ACEOF
855 +/* end confdefs.h. */
856 #include <ctype.h>
857 #if ((' ' & 0x0FF) == 0x020)
858 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
859 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
860 #else
861 -# define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
862 +# define ISLOWER(c) \
863 + (('a' <= (c) && (c) <= 'i') \
864 || ('j' <= (c) && (c) <= 'r') \
865 || ('s' <= (c) && (c) <= 'z'))
866 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
867 @@ -3790,7 +3970,8 @@
868 else
869 echo "$as_me: program exited with status $ac_status" >&5
870 echo "$as_me: failed program was:" >&5
871 -cat conftest.$ac_ext >&5
872 +sed 's/^/| /' conftest.$ac_ext >&5
874 ( exit $ac_status )
875 ac_cv_header_stdc=no
877 @@ -3914,11 +4095,14 @@
878 # Check whether --enable-debug or --disable-debug was given.
879 if test "${enable_debug+set}" = set; then
880 enableval="$enable_debug"
881 + echo $enableval
882 + if [ "$enableval" = "yes" ]; then
884 cat >>confdefs.h <<\_ACEOF
885 #define DEBUG 1
886 _ACEOF
888 + fi
891 # Check whether --enable-debug-dump-buffer or --disable-debug-dump-buffer was given.
892 @@ -3987,7 +4171,7 @@
893 t end
894 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
895 : end' >>confcache
896 -if cmp -s $cache_file confcache; then :; else
897 +if diff $cache_file confcache >/dev/null 2>&1; then :; else
898 if test -w $cache_file; then
899 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
900 cat confcache >$cache_file
901 @@ -4075,6 +4259,8 @@
902 # configure, is in config.log if it exists.
904 debug=false
905 +ac_cs_recheck=false
906 +ac_cs_silent=false
907 SHELL=\${CONFIG_SHELL-$SHELL}
908 _ACEOF
910 @@ -4109,7 +4295,10 @@
911 PS4='+ '
913 # NLS nuisances.
914 -for as_var in LANG LANGUAGE LC_ALL LC_COLLATE LC_CTYPE LC_NUMERIC LC_MESSAGES LC_TIME
915 +for as_var in \
916 + LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
917 + LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
918 + LC_TELEPHONE LC_TIME
920 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
921 eval $as_var=C; export $as_var
922 @@ -4155,15 +4344,15 @@
924 # The user is always right.
925 if test "${PATH_SEPARATOR+set}" != set; then
926 - echo "#! /bin/sh" >conftest.sh
927 - echo "exit 0" >>conftest.sh
928 - chmod +x conftest.sh
929 - if (PATH="/nonexistent;."; conftest.sh) >/dev/null 2>&1; then
930 + echo "#! /bin/sh" >conf$$.sh
931 + echo "exit 0" >>conf$$.sh
932 + chmod +x conf$$.sh
933 + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
934 PATH_SEPARATOR=';'
935 else
936 PATH_SEPARATOR=:
938 - rm -f conftest.sh
939 + rm -f conf$$.sh
943 @@ -4326,7 +4515,7 @@
944 cat >&5 <<_CSEOF
946 This file was extended by $as_me, which was
947 -generated by GNU Autoconf 2.54. Invocation command line was
948 +generated by GNU Autoconf 2.57. Invocation command line was
950 CONFIG_FILES = $CONFIG_FILES
951 CONFIG_HEADERS = $CONFIG_HEADERS
952 @@ -4366,6 +4555,7 @@
954 -h, --help print this help, then exit
955 -V, --version print version number, then exit
956 + -q, --quiet do not print progress messages
957 -d, --debug don't remove temporary files
958 --recheck update $as_me by reconfiguring in the same conditions
959 --file=FILE[:TEMPLATE]
960 @@ -4388,7 +4578,7 @@
961 cat >>$CONFIG_STATUS <<_ACEOF
962 ac_cs_version="\\
963 config.status
964 -configured by $0, generated by GNU Autoconf 2.54,
965 +configured by $0, generated by GNU Autoconf 2.57,
966 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
968 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
969 @@ -4425,12 +4615,9 @@
970 case $ac_option in
971 # Handling of the options.
972 _ACEOF
973 -cat >>$CONFIG_STATUS <<_ACEOF
974 - -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
975 - echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
976 - exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
977 -_ACEOF
978 cat >>$CONFIG_STATUS <<\_ACEOF
979 + -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
980 + ac_cs_recheck=: ;;
981 --version | --vers* | -V )
982 echo "$ac_cs_version"; exit 0 ;;
983 --he | --h)
984 @@ -4452,6 +4639,9 @@
985 $ac_shift
986 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
987 ac_need_defaults=false;;
988 + -q | -quiet | --quiet | --quie | --qui | --qu | --q \
989 + | -silent | --silent | --silen | --sile | --sil | --si | --s)
990 + ac_cs_silent=: ;;
992 # This is an error.
993 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
994 @@ -4466,6 +4656,20 @@
995 shift
996 done
998 +ac_configure_extra_args=
1000 +if $ac_cs_silent; then
1001 + exec 6>/dev/null
1002 + ac_configure_extra_args="$ac_configure_extra_args --silent"
1005 +_ACEOF
1006 +cat >>$CONFIG_STATUS <<_ACEOF
1007 +if \$ac_cs_recheck; then
1008 + echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
1009 + exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
1012 _ACEOF
1014 cat >>$CONFIG_STATUS <<_ACEOF
1015 @@ -4504,6 +4708,9 @@
1016 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
1019 +# Have a temporary directory for convenience. Make it in the build tree
1020 +# simply because there is no reason to put it here, and in addition,
1021 +# creating and moving files from /tmp can sometimes cause problems.
1022 # Create a temporary directory, and hook for its removal unless debugging.
1023 $debug ||
1025 @@ -4512,17 +4719,17 @@
1028 # Create a (secure) tmp directory for tmp files.
1029 -: ${TMPDIR=/tmp}
1032 - tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
1033 + tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
1034 test -n "$tmp" && test -d "$tmp"
1035 } ||
1037 - tmp=$TMPDIR/cs$$-$RANDOM
1038 + tmp=./confstat$$-$RANDOM
1039 (umask 077 && mkdir $tmp)
1040 } ||
1042 - echo "$me: cannot create a temporary directory in $TMPDIR" >&2
1043 + echo "$me: cannot create a temporary directory in ." >&2
1044 { (exit 1); exit 1; }
1047 @@ -4991,7 +5198,7 @@
1048 cat $tmp/in >>$tmp/config.h
1049 rm -f $tmp/in
1050 if test x"$ac_file" != x-; then
1051 - if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
1052 + if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
1053 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
1054 echo "$as_me: $ac_file is unchanged" >&6;}
1055 else
1056 @@ -5223,8 +5430,11 @@
1057 # need to make the FD available again.
1058 if test "$no_create" != yes; then
1059 ac_cs_success=:
1060 + ac_config_status_args=
1061 + test "$silent" = yes &&
1062 + ac_config_status_args="$ac_config_status_args --quiet"
1063 exec 5>/dev/null
1064 - $SHELL $CONFIG_STATUS || ac_cs_success=false
1065 + $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
1066 exec 5>>config.log
1067 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
1068 # would make configure fail if this is the last instruction.