1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
4 # T2 SDE: package/.../lcdemu/lcdemuhotfix.patch
5 # Copyright (C) 2004 - 2005 The T2 SDE Project
6 # Copyright (C) 1998 - 2003 ROCK Linux Project
8 # More information can be found in the files COPYING and README.
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
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
23 [ --enable-debug turn on debugging [default=no]],
24 - AC_DEFINE(DEBUG, 1, [Define to switch on debug messages]),)
26 + if [[[ "$enableval" = "yes" ]]]; then
27 + AC_DEFINE(DEBUG, 1, [Define to switch on debug messages])
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
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.
46 -for as_var in LANG LANGUAGE LC_ALL LC_COLLATE LC_CTYPE LC_NUMERIC LC_MESSAGES LC_TIME
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
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
65 + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
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
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.
96 +ac_must_keep_next=false
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)
105 - *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
106 - ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
108 - ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
109 - # Get rid of the leading space.
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)
118 + *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
119 + ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
122 + 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
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.
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 ;;
137 + -* ) ac_must_keep_next=true ;;
140 + ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
141 + # Get rid of the leading space.
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
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
164 cat >conftest.make <<\_ACEOF
166 - @echo 'ac_maketemp="${MAKE}"'
167 + @echo 'ac_maketemp="$(MAKE)"'
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"
191 +cat confdefs.h >>conftest.$ac_ext
192 +cat >>conftest.$ac_ext <<_ACEOF
193 +/* end confdefs.h. */
197 @@ -2033,7 +2072,7 @@
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
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.
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
216 - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
217 - a.out ) # We found the default executable, but exeext='' is most
220 - *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
221 - # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
222 - export ac_cv_exeext
225 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
228 + # This is the source file.
231 + # We found the default executable, but exeext='' is most
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
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 @@
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 @@
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 @@
297 cat >conftest.$ac_ext <<_ACEOF
298 #line $LINENO "configure"
299 -#include "confdefs.h"
302 +cat confdefs.h >>conftest.$ac_ext
303 +cat >>conftest.$ac_ext <<_ACEOF
304 +/* end confdefs.h. */
308 @@ -2184,9 +2243,12 @@
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 @@
326 cat >conftest.$ac_ext <<_ACEOF
327 #line $LINENO "configure"
328 -#include "confdefs.h"
331 +cat confdefs.h >>conftest.$ac_ext
332 +cat >>conftest.$ac_ext <<_ACEOF
333 +/* end confdefs.h. */
337 @@ -2231,7 +2297,8 @@
340 echo "$as_me: failed program was:" >&5
341 -cat conftest.$ac_ext >&5
342 +sed 's/^/| /' conftest.$ac_ext >&5
346 rm -f conftest.$ac_objext conftest.$ac_ext
347 @@ -2251,7 +2318,11 @@
349 cat >conftest.$ac_ext <<_ACEOF
350 #line $LINENO "configure"
351 -#include "confdefs.h"
354 +cat confdefs.h >>conftest.$ac_ext
355 +cat >>conftest.$ac_ext <<_ACEOF
356 +/* end confdefs.h. */
360 @@ -2276,7 +2347,8 @@
363 echo "$as_me: failed program was:" >&5
364 -cat conftest.$ac_ext >&5
365 +sed 's/^/| /' conftest.$ac_ext >&5
369 rm -f conftest.$ac_objext conftest.$ac_ext
370 @@ -2307,7 +2379,11 @@
372 cat >conftest.$ac_ext <<_ACEOF
373 #line $LINENO "configure"
374 -#include "confdefs.h"
377 +cat confdefs.h >>conftest.$ac_ext
378 +cat >>conftest.$ac_ext <<_ACEOF
379 +/* end confdefs.h. */
382 #include <sys/types.h>
383 @@ -2370,7 +2446,8 @@
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
393 @@ -2421,7 +2498,11 @@
395 cat >conftest.$ac_ext <<_ACEOF
396 #line $LINENO "configure"
397 -#include "confdefs.h"
400 +cat confdefs.h >>conftest.$ac_ext
401 +cat >>conftest.$ac_ext <<_ACEOF
402 +/* end confdefs.h. */
406 @@ -2447,13 +2528,18 @@
409 echo "$as_me: failed program was:" >&5
410 -cat conftest.$ac_ext >&5
411 +sed 's/^/| /' conftest.$ac_ext >&5
415 rm -f conftest.$ac_objext conftest.$ac_ext
416 cat >conftest.$ac_ext <<_ACEOF
417 #line $LINENO "configure"
418 -#include "confdefs.h"
421 +cat confdefs.h >>conftest.$ac_ext
422 +cat >>conftest.$ac_ext <<_ACEOF
423 +/* end confdefs.h. */
427 @@ -2478,7 +2564,8 @@
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
437 @@ -2491,7 +2578,8 @@
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
447 @@ -2592,7 +2680,11 @@
448 LIBS="-lcposix $LIBS"
449 cat >conftest.$ac_ext <<_ACEOF
450 #line $LINENO "configure"
451 -#include "confdefs.h"
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. */
460 @@ -2624,7 +2716,8 @@
461 ac_cv_lib_cposix_strerror=yes
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 @@
485 cat >conftest.$ac_ext <<_ACEOF
486 #line $LINENO "configure"
487 -#include "confdefs.h"
490 +cat confdefs.h >>conftest.$ac_ext
491 +cat >>conftest.$ac_ext <<_ACEOF
492 +/* end confdefs.h. */
496 @@ -3006,7 +3105,8 @@
499 echo "$as_me: failed program was:" >&5
500 -cat conftest.$ac_ext >&5
501 +sed 's/^/| /' conftest.$ac_ext >&5
505 rm -f conftest.$ac_objext conftest.$ac_ext
506 @@ -3026,7 +3126,11 @@
508 cat >conftest.$ac_ext <<_ACEOF
509 #line $LINENO "configure"
510 -#include "confdefs.h"
513 +cat confdefs.h >>conftest.$ac_ext
514 +cat >>conftest.$ac_ext <<_ACEOF
515 +/* end confdefs.h. */
519 @@ -3051,7 +3155,8 @@
522 echo "$as_me: failed program was:" >&5
523 -cat conftest.$ac_ext >&5
524 +sed 's/^/| /' conftest.$ac_ext >&5
528 rm -f conftest.$ac_objext conftest.$ac_ext
529 @@ -3082,7 +3187,11 @@
531 cat >conftest.$ac_ext <<_ACEOF
532 #line $LINENO "configure"
533 -#include "confdefs.h"
536 +cat confdefs.h >>conftest.$ac_ext
537 +cat >>conftest.$ac_ext <<_ACEOF
538 +/* end confdefs.h. */
541 #include <sys/types.h>
542 @@ -3145,7 +3254,8 @@
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
552 @@ -3196,7 +3306,11 @@
554 cat >conftest.$ac_ext <<_ACEOF
555 #line $LINENO "configure"
556 -#include "confdefs.h"
559 +cat confdefs.h >>conftest.$ac_ext
560 +cat >>conftest.$ac_ext <<_ACEOF
561 +/* end confdefs.h. */
565 @@ -3222,13 +3336,18 @@
568 echo "$as_me: failed program was:" >&5
569 -cat conftest.$ac_ext >&5
570 +sed 's/^/| /' conftest.$ac_ext >&5
574 rm -f conftest.$ac_objext conftest.$ac_ext
575 cat >conftest.$ac_ext <<_ACEOF
576 #line $LINENO "configure"
577 -#include "confdefs.h"
580 +cat confdefs.h >>conftest.$ac_ext
581 +cat >>conftest.$ac_ext <<_ACEOF
582 +/* end confdefs.h. */
586 @@ -3253,7 +3372,8 @@
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
596 @@ -3266,7 +3386,8 @@
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
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"
613 +cat confdefs.h >>conftest.$ac_ext
614 +cat >>conftest.$ac_ext <<_ACEOF
615 +/* end confdefs.h. */
618 #include <sys/types.h>
619 @@ -3433,7 +3558,8 @@
620 am_cv_prog_cc_stdc="$ac_arg"; break
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
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"
643 +cat confdefs.h >>conftest.$ac_ext
644 +cat >>conftest.$ac_ext <<_ACEOF
645 +/* end confdefs.h. */
647 +# include <limits.h>
649 +# include <assert.h>
653 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
654 @@ -3504,7 +3640,8 @@
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.
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"
671 +cat confdefs.h >>conftest.$ac_ext
672 +cat >>conftest.$ac_ext <<_ACEOF
673 +/* end confdefs.h. */
674 #include <ac_nonexistent.h>
676 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
677 @@ -3538,7 +3679,8 @@
680 echo "$as_me: failed program was:" >&5
681 - cat conftest.$ac_ext >&5
682 +sed 's/^/| /' conftest.$ac_ext >&5
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"
701 +cat confdefs.h >>conftest.$ac_ext
702 +cat >>conftest.$ac_ext <<_ACEOF
703 +/* end confdefs.h. */
705 +# include <limits.h>
707 +# include <assert.h>
711 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
712 @@ -3595,7 +3747,8 @@
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.
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"
729 +cat confdefs.h >>conftest.$ac_ext
730 +cat >>conftest.$ac_ext <<_ACEOF
731 +/* end confdefs.h. */
732 #include <ac_nonexistent.h>
734 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
735 @@ -3629,7 +3786,8 @@
738 echo "$as_me: failed program was:" >&5
739 - cat conftest.$ac_ext >&5
740 +sed 's/^/| /' conftest.$ac_ext >&5
745 @@ -3642,8 +3800,10 @@
746 if $ac_preproc_ok; then
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 @@
760 cat >conftest.$ac_ext <<_ACEOF
761 #line $LINENO "configure"
762 -#include "confdefs.h"
765 +cat confdefs.h >>conftest.$ac_ext
766 +cat >>conftest.$ac_ext <<_ACEOF
767 +/* end confdefs.h. */
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
787 - grep -v '^ *+' conftest.er1 >conftest.err
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
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
806 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
807 + (exit $ac_status); }; }; then
808 ac_cv_header_stdc=yes
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"
827 +cat confdefs.h >>conftest.$ac_ext
828 +cat >>conftest.$ac_ext <<_ACEOF
829 +/* end confdefs.h. */
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"
840 +cat confdefs.h >>conftest.$ac_ext
841 +cat >>conftest.$ac_ext <<_ACEOF
842 +/* end confdefs.h. */
846 @@ -3751,13 +3926,18 @@
848 cat >conftest.$ac_ext <<_ACEOF
849 #line $LINENO "configure"
850 -#include "confdefs.h"
853 +cat confdefs.h >>conftest.$ac_ext
854 +cat >>conftest.$ac_ext <<_ACEOF
855 +/* end confdefs.h. */
857 #if ((' ' & 0x0FF) == 0x020)
858 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
859 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
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 @@
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
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"
882 + if [ "$enableval" = "yes" ]; then
884 cat >>confdefs.h <<\_ACEOF
891 # Check whether --enable-debug-dump-buffer or --disable-debug-dump-buffer was given.
892 @@ -3987,7 +4171,7 @@
894 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
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.
907 SHELL=\${CONFIG_SHELL-$SHELL}
910 @@ -4109,7 +4295,10 @@
914 -for as_var in LANG LANGUAGE LC_ALL LC_COLLATE LC_CTYPE LC_NUMERIC LC_MESSAGES LC_TIME
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
933 + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
943 @@ -4326,7 +4515,7 @@
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
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 @@
971 # Handling of the options.
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 ;;
978 cat >>$CONFIG_STATUS <<\_ACEOF
979 + -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
981 --version | --vers* | -V )
982 echo "$ac_cs_version"; exit 0 ;;
984 @@ -4452,6 +4639,9 @@
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)
993 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
994 @@ -4466,6 +4656,20 @@
998 +ac_configure_extra_args=
1000 +if $ac_cs_silent; then
1002 + ac_configure_extra_args="$ac_configure_extra_args --silent"
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
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.
1025 @@ -4512,17 +4719,17 @@
1028 # Create a (secure) tmp directory for tmp files.
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"
1037 - tmp=$TMPDIR/cs$$-$RANDOM
1038 + tmp=./confstat$$-$RANDOM
1039 (umask 077 && mkdir $tmp)
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
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;}
1056 @@ -5223,8 +5430,11 @@
1057 # need to make the FD available again.
1058 if test "$no_create" != yes; then
1060 + ac_config_status_args=
1061 + test "$silent" = yes &&
1062 + ac_config_status_args="$ac_config_status_args --quiet"
1064 - $SHELL $CONFIG_STATUS || ac_cs_success=false
1065 + $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
1067 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
1068 # would make configure fail if this is the last instruction.