]> git.saurik.com Git - wxWidgets.git/blob - configure
removed remains of build system support for contrib
[wxWidgets.git] / configure
1 #! /bin/sh
2 # From configure.in Id: configure.in 49855 2007-11-12 10:44:06Z RR .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.61 for wxWidgets 2.9.0.
5 #
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
7 #
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
10 # This configure script is free software; the Free Software Foundation
11 # gives unlimited permission to copy, distribute and modify it.
12 ## --------------------- ##
13 ## M4sh Initialization. ##
14 ## --------------------- ##
15
16 # Be more Bourne compatible
17 DUALCASE=1; export DUALCASE # for MKS sh
18 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
19 emulate sh
20 NULLCMD=:
21 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22 # is contrary to our usage. Disable this feature.
23 alias -g '${1+"$@"}'='"$@"'
24 setopt NO_GLOB_SUBST
25 else
26 case `(set -o) 2>/dev/null` in
27 *posix*) set -o posix ;;
28 esac
29
30 fi
31
32
33
34
35 # PATH needs CR
36 # Avoid depending upon Character Ranges.
37 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
38 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
39 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
40 as_cr_digits='0123456789'
41 as_cr_alnum=$as_cr_Letters$as_cr_digits
42
43 # The user is always right.
44 if test "${PATH_SEPARATOR+set}" != set; then
45 echo "#! /bin/sh" >conf$$.sh
46 echo "exit 0" >>conf$$.sh
47 chmod +x conf$$.sh
48 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
49 PATH_SEPARATOR=';'
50 else
51 PATH_SEPARATOR=:
52 fi
53 rm -f conf$$.sh
54 fi
55
56 # Support unset when possible.
57 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
58 as_unset=unset
59 else
60 as_unset=false
61 fi
62
63
64 # IFS
65 # We need space, tab and new line, in precisely that order. Quoting is
66 # there to prevent editors from complaining about space-tab.
67 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
68 # splitting by setting IFS to empty value.)
69 as_nl='
70 '
71 IFS=" "" $as_nl"
72
73 # Find who we are. Look in the path if we contain no directory separator.
74 case $0 in
75 *[\\/]* ) as_myself=$0 ;;
76 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77 for as_dir in $PATH
78 do
79 IFS=$as_save_IFS
80 test -z "$as_dir" && as_dir=.
81 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
82 done
83 IFS=$as_save_IFS
84
85 ;;
86 esac
87 # We did not find ourselves, most probably we were run as `sh COMMAND'
88 # in which case we are not to be found in the path.
89 if test "x$as_myself" = x; then
90 as_myself=$0
91 fi
92 if test ! -f "$as_myself"; then
93 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
94 { (exit 1); exit 1; }
95 fi
96
97 # Work around bugs in pre-3.0 UWIN ksh.
98 for as_var in ENV MAIL MAILPATH
99 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
100 done
101 PS1='$ '
102 PS2='> '
103 PS4='+ '
104
105 # NLS nuisances.
106 for as_var in \
107 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
108 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
109 LC_TELEPHONE LC_TIME
110 do
111 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
112 eval $as_var=C; export $as_var
113 else
114 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
115 fi
116 done
117
118 # Required to use basename.
119 if expr a : '\(a\)' >/dev/null 2>&1 &&
120 test "X`expr 00001 : '.*\(...\)'`" = X001; then
121 as_expr=expr
122 else
123 as_expr=false
124 fi
125
126 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
127 as_basename=basename
128 else
129 as_basename=false
130 fi
131
132
133 # Name of the executable.
134 as_me=`$as_basename -- "$0" ||
135 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
136 X"$0" : 'X\(//\)$' \| \
137 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
138 echo X/"$0" |
139 sed '/^.*\/\([^/][^/]*\)\/*$/{
140 s//\1/
141 q
142 }
143 /^X\/\(\/\/\)$/{
144 s//\1/
145 q
146 }
147 /^X\/\(\/\).*/{
148 s//\1/
149 q
150 }
151 s/.*/./; q'`
152
153 # CDPATH.
154 $as_unset CDPATH
155
156
157 if test "x$CONFIG_SHELL" = x; then
158 if (eval ":") 2>/dev/null; then
159 as_have_required=yes
160 else
161 as_have_required=no
162 fi
163
164 if test $as_have_required = yes && (eval ":
165 (as_func_return () {
166 (exit \$1)
167 }
168 as_func_success () {
169 as_func_return 0
170 }
171 as_func_failure () {
172 as_func_return 1
173 }
174 as_func_ret_success () {
175 return 0
176 }
177 as_func_ret_failure () {
178 return 1
179 }
180
181 exitcode=0
182 if as_func_success; then
183 :
184 else
185 exitcode=1
186 echo as_func_success failed.
187 fi
188
189 if as_func_failure; then
190 exitcode=1
191 echo as_func_failure succeeded.
192 fi
193
194 if as_func_ret_success; then
195 :
196 else
197 exitcode=1
198 echo as_func_ret_success failed.
199 fi
200
201 if as_func_ret_failure; then
202 exitcode=1
203 echo as_func_ret_failure succeeded.
204 fi
205
206 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
207 :
208 else
209 exitcode=1
210 echo positional parameters were not saved.
211 fi
212
213 test \$exitcode = 0) || { (exit 1); exit 1; }
214
215 (
216 as_lineno_1=\$LINENO
217 as_lineno_2=\$LINENO
218 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
219 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
220 ") 2> /dev/null; then
221 :
222 else
223 as_candidate_shells=
224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
225 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
226 do
227 IFS=$as_save_IFS
228 test -z "$as_dir" && as_dir=.
229 case $as_dir in
230 /*)
231 for as_base in sh bash ksh sh5; do
232 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
233 done;;
234 esac
235 done
236 IFS=$as_save_IFS
237
238
239 for as_shell in $as_candidate_shells $SHELL; do
240 # Try only shells that exist, to save several forks.
241 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
242 { ("$as_shell") 2> /dev/null <<\_ASEOF
243 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
244 emulate sh
245 NULLCMD=:
246 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
247 # is contrary to our usage. Disable this feature.
248 alias -g '${1+"$@"}'='"$@"'
249 setopt NO_GLOB_SUBST
250 else
251 case `(set -o) 2>/dev/null` in
252 *posix*) set -o posix ;;
253 esac
254
255 fi
256
257
258 :
259 _ASEOF
260 }; then
261 CONFIG_SHELL=$as_shell
262 as_have_required=yes
263 if { "$as_shell" 2> /dev/null <<\_ASEOF
264 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
265 emulate sh
266 NULLCMD=:
267 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
268 # is contrary to our usage. Disable this feature.
269 alias -g '${1+"$@"}'='"$@"'
270 setopt NO_GLOB_SUBST
271 else
272 case `(set -o) 2>/dev/null` in
273 *posix*) set -o posix ;;
274 esac
275
276 fi
277
278
279 :
280 (as_func_return () {
281 (exit $1)
282 }
283 as_func_success () {
284 as_func_return 0
285 }
286 as_func_failure () {
287 as_func_return 1
288 }
289 as_func_ret_success () {
290 return 0
291 }
292 as_func_ret_failure () {
293 return 1
294 }
295
296 exitcode=0
297 if as_func_success; then
298 :
299 else
300 exitcode=1
301 echo as_func_success failed.
302 fi
303
304 if as_func_failure; then
305 exitcode=1
306 echo as_func_failure succeeded.
307 fi
308
309 if as_func_ret_success; then
310 :
311 else
312 exitcode=1
313 echo as_func_ret_success failed.
314 fi
315
316 if as_func_ret_failure; then
317 exitcode=1
318 echo as_func_ret_failure succeeded.
319 fi
320
321 if ( set x; as_func_ret_success y && test x = "$1" ); then
322 :
323 else
324 exitcode=1
325 echo positional parameters were not saved.
326 fi
327
328 test $exitcode = 0) || { (exit 1); exit 1; }
329
330 (
331 as_lineno_1=$LINENO
332 as_lineno_2=$LINENO
333 test "x$as_lineno_1" != "x$as_lineno_2" &&
334 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
335
336 _ASEOF
337 }; then
338 break
339 fi
340
341 fi
342
343 done
344
345 if test "x$CONFIG_SHELL" != x; then
346 for as_var in BASH_ENV ENV
347 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
348 done
349 export CONFIG_SHELL
350 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
351 fi
352
353
354 if test $as_have_required = no; then
355 echo This script requires a shell more modern than all the
356 echo shells that I found on your system. Please install a
357 echo modern shell, or manually run the script under such a
358 echo shell if you do have one.
359 { (exit 1); exit 1; }
360 fi
361
362
363 fi
364
365 fi
366
367
368
369 (eval "as_func_return () {
370 (exit \$1)
371 }
372 as_func_success () {
373 as_func_return 0
374 }
375 as_func_failure () {
376 as_func_return 1
377 }
378 as_func_ret_success () {
379 return 0
380 }
381 as_func_ret_failure () {
382 return 1
383 }
384
385 exitcode=0
386 if as_func_success; then
387 :
388 else
389 exitcode=1
390 echo as_func_success failed.
391 fi
392
393 if as_func_failure; then
394 exitcode=1
395 echo as_func_failure succeeded.
396 fi
397
398 if as_func_ret_success; then
399 :
400 else
401 exitcode=1
402 echo as_func_ret_success failed.
403 fi
404
405 if as_func_ret_failure; then
406 exitcode=1
407 echo as_func_ret_failure succeeded.
408 fi
409
410 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
411 :
412 else
413 exitcode=1
414 echo positional parameters were not saved.
415 fi
416
417 test \$exitcode = 0") || {
418 echo No shell found that supports shell functions.
419 echo Please tell autoconf@gnu.org about your system,
420 echo including any error possibly output before this
421 echo message
422 }
423
424
425
426 as_lineno_1=$LINENO
427 as_lineno_2=$LINENO
428 test "x$as_lineno_1" != "x$as_lineno_2" &&
429 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
430
431 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
432 # uniformly replaced by the line number. The first 'sed' inserts a
433 # line-number line after each line using $LINENO; the second 'sed'
434 # does the real work. The second script uses 'N' to pair each
435 # line-number line with the line containing $LINENO, and appends
436 # trailing '-' during substitution so that $LINENO is not a special
437 # case at line end.
438 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
439 # scripts with optimization help from Paolo Bonzini. Blame Lee
440 # E. McMahon (1931-1989) for sed's syntax. :-)
441 sed -n '
442 p
443 /[$]LINENO/=
444 ' <$as_myself |
445 sed '
446 s/[$]LINENO.*/&-/
447 t lineno
448 b
449 :lineno
450 N
451 :loop
452 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
453 t loop
454 s/-\n.*//
455 ' >$as_me.lineno &&
456 chmod +x "$as_me.lineno" ||
457 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
458 { (exit 1); exit 1; }; }
459
460 # Don't try to exec as it changes $[0], causing all sort of problems
461 # (the dirname of $[0] is not the place where we might find the
462 # original and so on. Autoconf is especially sensitive to this).
463 . "./$as_me.lineno"
464 # Exit status is that of the last command.
465 exit
466 }
467
468
469 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
470 as_dirname=dirname
471 else
472 as_dirname=false
473 fi
474
475 ECHO_C= ECHO_N= ECHO_T=
476 case `echo -n x` in
477 -n*)
478 case `echo 'x\c'` in
479 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
480 *) ECHO_C='\c';;
481 esac;;
482 *)
483 ECHO_N='-n';;
484 esac
485
486 if expr a : '\(a\)' >/dev/null 2>&1 &&
487 test "X`expr 00001 : '.*\(...\)'`" = X001; then
488 as_expr=expr
489 else
490 as_expr=false
491 fi
492
493 rm -f conf$$ conf$$.exe conf$$.file
494 if test -d conf$$.dir; then
495 rm -f conf$$.dir/conf$$.file
496 else
497 rm -f conf$$.dir
498 mkdir conf$$.dir
499 fi
500 echo >conf$$.file
501 if ln -s conf$$.file conf$$ 2>/dev/null; then
502 as_ln_s='ln -s'
503 # ... but there are two gotchas:
504 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
505 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
506 # In both cases, we have to default to `cp -p'.
507 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
508 as_ln_s='cp -p'
509 elif ln conf$$.file conf$$ 2>/dev/null; then
510 as_ln_s=ln
511 else
512 as_ln_s='cp -p'
513 fi
514 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
515 rmdir conf$$.dir 2>/dev/null
516
517 if mkdir -p . 2>/dev/null; then
518 as_mkdir_p=:
519 else
520 test -d ./-p && rmdir ./-p
521 as_mkdir_p=false
522 fi
523
524 if test -x / >/dev/null 2>&1; then
525 as_test_x='test -x'
526 else
527 if ls -dL / >/dev/null 2>&1; then
528 as_ls_L_option=L
529 else
530 as_ls_L_option=
531 fi
532 as_test_x='
533 eval sh -c '\''
534 if test -d "$1"; then
535 test -d "$1/.";
536 else
537 case $1 in
538 -*)set "./$1";;
539 esac;
540 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
541 ???[sx]*):;;*)false;;esac;fi
542 '\'' sh
543 '
544 fi
545 as_executable_p=$as_test_x
546
547 # Sed expression to map a string onto a valid CPP name.
548 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
549
550 # Sed expression to map a string onto a valid variable name.
551 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
552
553
554
555 exec 7<&0 </dev/null 6>&1
556
557 # Name of the host.
558 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
559 # so uname gets run too.
560 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
561
562 #
563 # Initializations.
564 #
565 ac_default_prefix=/usr/local
566 ac_clean_files=
567 ac_config_libobj_dir=.
568 LIBOBJS=
569 cross_compiling=no
570 subdirs=
571 MFLAGS=
572 MAKEFLAGS=
573 SHELL=${CONFIG_SHELL-/bin/sh}
574
575 # Identity of this package.
576 PACKAGE_NAME='wxWidgets'
577 PACKAGE_TARNAME='wxwidgets'
578 PACKAGE_VERSION='2.9.0'
579 PACKAGE_STRING='wxWidgets 2.9.0'
580 PACKAGE_BUGREPORT='wx-dev@lists.wxwidgets.org'
581
582 ac_unique_file="wx-config.in"
583 # Factoring default headers for most tests.
584 ac_includes_default="\
585 #include <stdio.h>
586 #ifdef HAVE_SYS_TYPES_H
587 # include <sys/types.h>
588 #endif
589 #ifdef HAVE_SYS_STAT_H
590 # include <sys/stat.h>
591 #endif
592 #ifdef STDC_HEADERS
593 # include <stdlib.h>
594 # include <stddef.h>
595 #else
596 # ifdef HAVE_STDLIB_H
597 # include <stdlib.h>
598 # endif
599 #endif
600 #ifdef HAVE_STRING_H
601 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
602 # include <memory.h>
603 # endif
604 # include <string.h>
605 #endif
606 #ifdef HAVE_STRINGS_H
607 # include <strings.h>
608 #endif
609 #ifdef HAVE_INTTYPES_H
610 # include <inttypes.h>
611 #endif
612 #ifdef HAVE_STDINT_H
613 # include <stdint.h>
614 #endif
615 #ifdef HAVE_UNISTD_H
616 # include <unistd.h>
617 #endif"
618
619 ac_subst_vars='SHELL
620 PATH_SEPARATOR
621 PACKAGE_NAME
622 PACKAGE_TARNAME
623 PACKAGE_VERSION
624 PACKAGE_STRING
625 PACKAGE_BUGREPORT
626 exec_prefix
627 prefix
628 program_transform_name
629 bindir
630 sbindir
631 libexecdir
632 datarootdir
633 datadir
634 sysconfdir
635 sharedstatedir
636 localstatedir
637 includedir
638 oldincludedir
639 docdir
640 infodir
641 htmldir
642 dvidir
643 pdfdir
644 psdir
645 libdir
646 localedir
647 mandir
648 DEFS
649 ECHO_C
650 ECHO_N
651 ECHO_T
652 LIBS
653 build_alias
654 host_alias
655 target_alias
656 build
657 build_cpu
658 build_vendor
659 build_os
660 host
661 host_cpu
662 host_vendor
663 host_os
664 target
665 target_cpu
666 target_vendor
667 target_os
668 wx_top_builddir
669 CC
670 CFLAGS
671 LDFLAGS
672 CPPFLAGS
673 ac_ct_CC
674 EXEEXT
675 OBJEXT
676 CPP
677 GREP
678 EGREP
679 CXX
680 CXXFLAGS
681 ac_ct_CXX
682 AR
683 subdirs
684 PKG_CONFIG
685 GTK_CFLAGS
686 GTK_LIBS
687 GTK_CONFIG
688 DIRECTFB_CFLAGS
689 DIRECTFB_LIBS
690 XMKMF
691 X_CFLAGS
692 X_PRE_LIBS
693 X_LIBS
694 X_EXTRA_LIBS
695 PANGOX_CFLAGS
696 PANGOX_LIBS
697 PANGOFT2_CFLAGS
698 PANGOFT2_LIBS
699 PANGOXFT_CFLAGS
700 PANGOXFT_LIBS
701 CFLAGS_VISIBILITY
702 CXXFLAGS_VISIBILITY
703 LIBICONV
704 SDL_CONFIG
705 SDL_CFLAGS
706 SDL_LIBS
707 GTKPRINT_CFLAGS
708 GTKPRINT_LIBS
709 LIBGNOMEPRINTUI_CFLAGS
710 LIBGNOMEPRINTUI_LIBS
711 GNOMEVFS_CFLAGS
712 GNOMEVFS_LIBS
713 HILDON_CFLAGS
714 HILDON_LIBS
715 CAIRO_CFLAGS
716 CAIRO_LIBS
717 GST_CFLAGS
718 GST_LIBS
719 ALL_WX_LIBS
720 BUILT_WX_LIBS
721 STD_BASE_LIBS
722 STD_GUI_LIBS
723 wxUSE_ZLIB
724 wxUSE_REGEX
725 wxUSE_EXPAT
726 wxUSE_LIBJPEG
727 wxUSE_LIBPNG
728 wxUSE_LIBTIFF
729 VENDOR
730 OFFICIAL_BUILD
731 WX_FLAVOUR
732 WX_LIB_FLAVOUR
733 WXUNIV
734 MONOLITHIC
735 USE_PLUGINS
736 CXXWARNINGS
737 EXTRALIBS
738 EXTRALIBS_XML
739 EXTRALIBS_HTML
740 EXTRALIBS_GUI
741 EXTRALIBS_OPENGL
742 EXTRALIBS_SDL
743 WITH_PLUGIN_SDL
744 EXTRALIBS_GTKPRINT
745 EXTRALIBS_GNOMEPRINT
746 EXTRALIBS_GNOMEVFS
747 EXTRALIBS_HILDON
748 UNICODE
749 BUILD
750 DEBUG_INFO
751 DEBUG_FLAG
752 TOOLKIT_LOWERCASE
753 TOOLKIT_VERSION
754 SAMPLES_RPATH_FLAG
755 SAMPLES_RPATH_POSTLINK
756 HOST_SUFFIX
757 CPPUNIT_CFLAGS
758 CPPUNIT_LIBS
759 RANLIB
760 INSTALL_PROGRAM
761 INSTALL_SCRIPT
762 INSTALL_DATA
763 LN_S
764 SET_MAKE
765 MAKE_SET
766 AROPTIONS
767 STRIP
768 NM
769 INSTALL_DIR
770 LDFLAGS_GUI
771 IF_GNU_MAKE
772 PLATFORM_UNIX
773 PLATFORM_WIN32
774 PLATFORM_MSDOS
775 PLATFORM_MAC
776 PLATFORM_MACOS
777 PLATFORM_MACOSX
778 PLATFORM_OS2
779 PLATFORM_BEOS
780 SO_SUFFIX
781 SO_SUFFIX_MODULE
782 DLLIMP_SUFFIX
783 LIBPREFIX
784 LIBEXT
785 DLLPREFIX
786 DLLPREFIX_MODULE
787 dlldir
788 AIX_CXX_LD
789 SHARED_LD_CC
790 SHARED_LD_CXX
791 SHARED_LD_MODULE_CC
792 SHARED_LD_MODULE_CXX
793 PIC_FLAG
794 WINDOWS_IMPLIB
795 USE_SOVERSION
796 USE_SOVERLINUX
797 USE_SOVERSOLARIS
798 USE_SOVERCYGWIN
799 USE_MACVERSION
800 USE_SOSYMLINKS
801 SONAME_FLAG
802 DEPS_TRACKING
803 BK_DEPS
804 WINDRES
805 REZ
806 SETFILE
807 GCC_PCH
808 ICC_PCH
809 BK_MAKE_PCH
810 COND_BUILD_DEBUG
811 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
812 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
813 COND_BUILD_DEBUG_UNICODE_0
814 COND_BUILD_DEBUG_UNICODE_1
815 COND_BUILD_RELEASE
816 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
817 COND_BUILD_RELEASE_UNICODE_0
818 COND_BUILD_RELEASE_UNICODE_1
819 COND_DEBUG_FLAG_1
820 COND_DEBUG_INFO_0
821 COND_DEBUG_INFO_1
822 COND_DEPS_TRACKING_0
823 COND_DEPS_TRACKING_1
824 COND_GCC_PCH_1
825 COND_ICC_PCH_1
826 COND_MONOLITHIC_0
827 COND_MONOLITHIC_0_SHARED_0
828 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
829 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
830 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
831 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
832 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
833 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
834 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
835 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
836 COND_MONOLITHIC_0_SHARED_1
837 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
838 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
839 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
840 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
841 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
842 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
843 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
844 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
845 COND_MONOLITHIC_0_USE_AUI_1
846 COND_MONOLITHIC_0_USE_GUI_1
847 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
848 COND_MONOLITHIC_0_USE_HTML_1
849 COND_MONOLITHIC_0_USE_MEDIA_1
850 COND_MONOLITHIC_0_USE_QA_1
851 COND_MONOLITHIC_0_USE_RICHTEXT_1
852 COND_MONOLITHIC_0_USE_STC_1
853 COND_MONOLITHIC_0_USE_XRC_1
854 COND_MONOLITHIC_1
855 COND_MONOLITHIC_1_SHARED_0
856 COND_MONOLITHIC_1_SHARED_1
857 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
858 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
859 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
860 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
861 COND_PLATFORM_MACOSX_1
862 COND_PLATFORM_MACOSX_1_TOOLKIT_
863 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
864 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
865 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
866 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
867 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
868 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
869 COND_PLATFORM_MACOSX_1_USE_GUI_1
870 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
871 COND_PLATFORM_MACOS_1
872 COND_PLATFORM_MAC_1
873 COND_PLATFORM_MSDOS_1
874 COND_PLATFORM_OS2_1
875 COND_PLATFORM_UNIX_0
876 COND_PLATFORM_UNIX_1
877 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
878 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
879 COND_PLATFORM_UNIX_1_USE_GUI_1
880 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
881 COND_PLATFORM_WIN32_0
882 COND_PLATFORM_WIN32_1
883 COND_SHARED_0
884 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
885 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
886 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
887 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
888 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
889 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
890 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
891 COND_SHARED_0_USE_STC_1
892 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
893 COND_SHARED_0_WXUSE_REGEX_BUILTIN
894 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
895 COND_SHARED_1
896 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
897 COND_TOOLKIT_
898 COND_TOOLKIT_COCOA
899 COND_TOOLKIT_COCOA_USE_GUI_1
900 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
901 COND_TOOLKIT_DFB
902 COND_TOOLKIT_DFB_USE_GUI_1
903 COND_TOOLKIT_GTK
904 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
905 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
906 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
907 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
908 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0
909 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
910 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
911 COND_TOOLKIT_GTK_USE_GUI_1
912 COND_TOOLKIT_MAC
913 COND_TOOLKIT_MAC_USE_GUI_1
914 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
915 COND_TOOLKIT_MGL
916 COND_TOOLKIT_MGL_USE_GUI_1
917 COND_TOOLKIT_MOTIF
918 COND_TOOLKIT_MOTIF_USE_GUI_1
919 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
920 COND_TOOLKIT_MSW
921 COND_TOOLKIT_MSW_USE_GUI_1
922 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
923 COND_TOOLKIT_MSW_WXUNIV_0
924 COND_TOOLKIT_PM
925 COND_TOOLKIT_PM_USE_GUI_1
926 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
927 COND_TOOLKIT_WINCE
928 COND_TOOLKIT_WINCE_USE_GUI_1
929 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
930 COND_TOOLKIT_WINCE_WXUNIV_0
931 COND_TOOLKIT_X11
932 COND_TOOLKIT_X11_USE_GUI_1
933 COND_UNICODE_1
934 COND_USE_EXCEPTIONS_0
935 COND_USE_EXCEPTIONS_1
936 COND_USE_GUI_0
937 COND_USE_GUI_1
938 COND_USE_GUI_1_USE_OPENGL_1
939 COND_USE_GUI_1_WXUNIV_0
940 COND_USE_GUI_1_WXUNIV_1
941 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
942 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
943 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
944 COND_USE_PCH_1
945 COND_USE_PLUGINS_0
946 COND_USE_RTTI_0
947 COND_USE_RTTI_1
948 COND_USE_SOSYMLINKS_1
949 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
950 COND_USE_SOVERLINUX_1
951 COND_USE_SOVERSION_0
952 COND_USE_SOVERSOLARIS_1
953 COND_USE_STC_1
954 COND_USE_THREADS_0
955 COND_USE_THREADS_1
956 COND_USE_XRC_1
957 COND_WINDOWS_IMPLIB_1
958 COND_WITH_PLUGIN_SDL_1
959 COND_WXUNIV_0
960 COND_WXUNIV_1
961 COND_WXUSE_EXPAT_BUILTIN
962 COND_WXUSE_LIBJPEG_BUILTIN
963 COND_WXUSE_LIBPNG_BUILTIN
964 COND_WXUSE_LIBTIFF_BUILTIN
965 COND_WXUSE_REGEX_BUILTIN
966 COND_WXUSE_ZLIB_BUILTIN
967 DEREZ
968 SHARED
969 WX_LIBRARY_BASENAME_NOGUI
970 WX_LIBRARY_BASENAME_GUI
971 USE_GUI
972 AFMINSTALL
973 WIN32INSTALL
974 TOOLKIT
975 TOOLKIT_DIR
976 TOOLCHAIN_NAME
977 TOOLCHAIN_FULLNAME
978 cross_compiling
979 WIDGET_SET
980 WX_RELEASE
981 WX_VERSION
982 WX_SUBVERSION
983 WX_CHARTYPE
984 WX_DEBUGTYPE
985 WXCONFIG_CPPFLAGS
986 WXCONFIG_CFLAGS
987 WXCONFIG_CXXFLAGS
988 WXCONFIG_LIBS
989 WXCONFIG_RPATH
990 WXCONFIG_LDFLAGS_GUI
991 WXCONFIG_RESFLAGS
992 GUIDIST
993 DISTDIR
994 SAMPLES_SUBDIRS
995 LDFLAGS_GL
996 OPENGL_LIBS
997 DMALLOC_LIBS
998 WX_VERSION_TAG
999 RESCOMP
1000 RESFLAGS
1001 RESPROGRAMOBJ
1002 WX_RESOURCES_MACOSX_ASCII
1003 WX_RESOURCES_MACOSX_DATA
1004 LIBWXMACRES
1005 POSTLINK_COMMAND
1006 MACSETFILE
1007 GCC
1008 DLLTOOL
1009 CPPUNIT_CONFIG
1010 LIBOBJS
1011 LTLIBOBJS'
1012 ac_subst_files=''
1013 ac_precious_vars='build_alias
1014 host_alias
1015 target_alias
1016 CC
1017 CFLAGS
1018 LDFLAGS
1019 LIBS
1020 CPPFLAGS
1021 CPP
1022 CXX
1023 CXXFLAGS
1024 CCC
1025 PKG_CONFIG
1026 DIRECTFB_CFLAGS
1027 DIRECTFB_LIBS
1028 XMKMF
1029 PANGOX_CFLAGS
1030 PANGOX_LIBS
1031 PANGOFT2_CFLAGS
1032 PANGOFT2_LIBS
1033 PANGOXFT_CFLAGS
1034 PANGOXFT_LIBS
1035 GTKPRINT_CFLAGS
1036 GTKPRINT_LIBS
1037 LIBGNOMEPRINTUI_CFLAGS
1038 LIBGNOMEPRINTUI_LIBS
1039 GNOMEVFS_CFLAGS
1040 GNOMEVFS_LIBS
1041 HILDON_CFLAGS
1042 HILDON_LIBS
1043 CAIRO_CFLAGS
1044 CAIRO_LIBS
1045 GST_CFLAGS
1046 GST_LIBS'
1047 ac_subdirs_all='src/tiff
1048 src/expat'
1049
1050 # Initialize some variables set by options.
1051 ac_init_help=
1052 ac_init_version=false
1053 # The variables have the same names as the options, with
1054 # dashes changed to underlines.
1055 cache_file=/dev/null
1056 exec_prefix=NONE
1057 no_create=
1058 no_recursion=
1059 prefix=NONE
1060 program_prefix=NONE
1061 program_suffix=NONE
1062 program_transform_name=s,x,x,
1063 silent=
1064 site=
1065 srcdir=
1066 verbose=
1067 x_includes=NONE
1068 x_libraries=NONE
1069
1070 # Installation directory options.
1071 # These are left unexpanded so users can "make install exec_prefix=/foo"
1072 # and all the variables that are supposed to be based on exec_prefix
1073 # by default will actually change.
1074 # Use braces instead of parens because sh, perl, etc. also accept them.
1075 # (The list follows the same order as the GNU Coding Standards.)
1076 bindir='${exec_prefix}/bin'
1077 sbindir='${exec_prefix}/sbin'
1078 libexecdir='${exec_prefix}/libexec'
1079 datarootdir='${prefix}/share'
1080 datadir='${datarootdir}'
1081 sysconfdir='${prefix}/etc'
1082 sharedstatedir='${prefix}/com'
1083 localstatedir='${prefix}/var'
1084 includedir='${prefix}/include'
1085 oldincludedir='/usr/include'
1086 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1087 infodir='${datarootdir}/info'
1088 htmldir='${docdir}'
1089 dvidir='${docdir}'
1090 pdfdir='${docdir}'
1091 psdir='${docdir}'
1092 libdir='${exec_prefix}/lib'
1093 localedir='${datarootdir}/locale'
1094 mandir='${datarootdir}/man'
1095
1096 ac_prev=
1097 ac_dashdash=
1098 for ac_option
1099 do
1100 # If the previous option needs an argument, assign it.
1101 if test -n "$ac_prev"; then
1102 eval $ac_prev=\$ac_option
1103 ac_prev=
1104 continue
1105 fi
1106
1107 case $ac_option in
1108 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1109 *) ac_optarg=yes ;;
1110 esac
1111
1112 # Accept the important Cygnus configure options, so we can diagnose typos.
1113
1114 case $ac_dashdash$ac_option in
1115 --)
1116 ac_dashdash=yes ;;
1117
1118 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1119 ac_prev=bindir ;;
1120 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1121 bindir=$ac_optarg ;;
1122
1123 -build | --build | --buil | --bui | --bu)
1124 ac_prev=build_alias ;;
1125 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1126 build_alias=$ac_optarg ;;
1127
1128 -cache-file | --cache-file | --cache-fil | --cache-fi \
1129 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1130 ac_prev=cache_file ;;
1131 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1132 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1133 cache_file=$ac_optarg ;;
1134
1135 --config-cache | -C)
1136 cache_file=config.cache ;;
1137
1138 -datadir | --datadir | --datadi | --datad)
1139 ac_prev=datadir ;;
1140 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1141 datadir=$ac_optarg ;;
1142
1143 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1144 | --dataroo | --dataro | --datar)
1145 ac_prev=datarootdir ;;
1146 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1147 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1148 datarootdir=$ac_optarg ;;
1149
1150 -disable-* | --disable-*)
1151 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1152 # Reject names that are not valid shell variable names.
1153 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1154 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1155 { (exit 1); exit 1; }; }
1156 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1157 eval enable_$ac_feature=no ;;
1158
1159 -docdir | --docdir | --docdi | --doc | --do)
1160 ac_prev=docdir ;;
1161 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1162 docdir=$ac_optarg ;;
1163
1164 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1165 ac_prev=dvidir ;;
1166 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1167 dvidir=$ac_optarg ;;
1168
1169 -enable-* | --enable-*)
1170 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1171 # Reject names that are not valid shell variable names.
1172 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1173 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1174 { (exit 1); exit 1; }; }
1175 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1176 eval enable_$ac_feature=\$ac_optarg ;;
1177
1178 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1179 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1180 | --exec | --exe | --ex)
1181 ac_prev=exec_prefix ;;
1182 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1183 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1184 | --exec=* | --exe=* | --ex=*)
1185 exec_prefix=$ac_optarg ;;
1186
1187 -gas | --gas | --ga | --g)
1188 # Obsolete; use --with-gas.
1189 with_gas=yes ;;
1190
1191 -help | --help | --hel | --he | -h)
1192 ac_init_help=long ;;
1193 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1194 ac_init_help=recursive ;;
1195 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1196 ac_init_help=short ;;
1197
1198 -host | --host | --hos | --ho)
1199 ac_prev=host_alias ;;
1200 -host=* | --host=* | --hos=* | --ho=*)
1201 host_alias=$ac_optarg ;;
1202
1203 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1204 ac_prev=htmldir ;;
1205 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1206 | --ht=*)
1207 htmldir=$ac_optarg ;;
1208
1209 -includedir | --includedir | --includedi | --included | --include \
1210 | --includ | --inclu | --incl | --inc)
1211 ac_prev=includedir ;;
1212 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1213 | --includ=* | --inclu=* | --incl=* | --inc=*)
1214 includedir=$ac_optarg ;;
1215
1216 -infodir | --infodir | --infodi | --infod | --info | --inf)
1217 ac_prev=infodir ;;
1218 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1219 infodir=$ac_optarg ;;
1220
1221 -libdir | --libdir | --libdi | --libd)
1222 ac_prev=libdir ;;
1223 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1224 libdir=$ac_optarg ;;
1225
1226 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1227 | --libexe | --libex | --libe)
1228 ac_prev=libexecdir ;;
1229 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1230 | --libexe=* | --libex=* | --libe=*)
1231 libexecdir=$ac_optarg ;;
1232
1233 -localedir | --localedir | --localedi | --localed | --locale)
1234 ac_prev=localedir ;;
1235 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1236 localedir=$ac_optarg ;;
1237
1238 -localstatedir | --localstatedir | --localstatedi | --localstated \
1239 | --localstate | --localstat | --localsta | --localst | --locals)
1240 ac_prev=localstatedir ;;
1241 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1242 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1243 localstatedir=$ac_optarg ;;
1244
1245 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1246 ac_prev=mandir ;;
1247 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1248 mandir=$ac_optarg ;;
1249
1250 -nfp | --nfp | --nf)
1251 # Obsolete; use --without-fp.
1252 with_fp=no ;;
1253
1254 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1255 | --no-cr | --no-c | -n)
1256 no_create=yes ;;
1257
1258 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1259 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1260 no_recursion=yes ;;
1261
1262 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1263 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1264 | --oldin | --oldi | --old | --ol | --o)
1265 ac_prev=oldincludedir ;;
1266 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1267 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1268 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1269 oldincludedir=$ac_optarg ;;
1270
1271 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1272 ac_prev=prefix ;;
1273 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1274 prefix=$ac_optarg ;;
1275
1276 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1277 | --program-pre | --program-pr | --program-p)
1278 ac_prev=program_prefix ;;
1279 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1280 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1281 program_prefix=$ac_optarg ;;
1282
1283 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1284 | --program-suf | --program-su | --program-s)
1285 ac_prev=program_suffix ;;
1286 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1287 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1288 program_suffix=$ac_optarg ;;
1289
1290 -program-transform-name | --program-transform-name \
1291 | --program-transform-nam | --program-transform-na \
1292 | --program-transform-n | --program-transform- \
1293 | --program-transform | --program-transfor \
1294 | --program-transfo | --program-transf \
1295 | --program-trans | --program-tran \
1296 | --progr-tra | --program-tr | --program-t)
1297 ac_prev=program_transform_name ;;
1298 -program-transform-name=* | --program-transform-name=* \
1299 | --program-transform-nam=* | --program-transform-na=* \
1300 | --program-transform-n=* | --program-transform-=* \
1301 | --program-transform=* | --program-transfor=* \
1302 | --program-transfo=* | --program-transf=* \
1303 | --program-trans=* | --program-tran=* \
1304 | --progr-tra=* | --program-tr=* | --program-t=*)
1305 program_transform_name=$ac_optarg ;;
1306
1307 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1308 ac_prev=pdfdir ;;
1309 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1310 pdfdir=$ac_optarg ;;
1311
1312 -psdir | --psdir | --psdi | --psd | --ps)
1313 ac_prev=psdir ;;
1314 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1315 psdir=$ac_optarg ;;
1316
1317 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1318 | -silent | --silent | --silen | --sile | --sil)
1319 silent=yes ;;
1320
1321 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1322 ac_prev=sbindir ;;
1323 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1324 | --sbi=* | --sb=*)
1325 sbindir=$ac_optarg ;;
1326
1327 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1328 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1329 | --sharedst | --shareds | --shared | --share | --shar \
1330 | --sha | --sh)
1331 ac_prev=sharedstatedir ;;
1332 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1333 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1334 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1335 | --sha=* | --sh=*)
1336 sharedstatedir=$ac_optarg ;;
1337
1338 -site | --site | --sit)
1339 ac_prev=site ;;
1340 -site=* | --site=* | --sit=*)
1341 site=$ac_optarg ;;
1342
1343 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1344 ac_prev=srcdir ;;
1345 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1346 srcdir=$ac_optarg ;;
1347
1348 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1349 | --syscon | --sysco | --sysc | --sys | --sy)
1350 ac_prev=sysconfdir ;;
1351 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1352 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1353 sysconfdir=$ac_optarg ;;
1354
1355 -target | --target | --targe | --targ | --tar | --ta | --t)
1356 ac_prev=target_alias ;;
1357 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1358 target_alias=$ac_optarg ;;
1359
1360 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1361 verbose=yes ;;
1362
1363 -version | --version | --versio | --versi | --vers | -V)
1364 ac_init_version=: ;;
1365
1366 -with-* | --with-*)
1367 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1368 # Reject names that are not valid shell variable names.
1369 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1370 { echo "$as_me: error: invalid package name: $ac_package" >&2
1371 { (exit 1); exit 1; }; }
1372 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1373 eval with_$ac_package=\$ac_optarg ;;
1374
1375 -without-* | --without-*)
1376 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1377 # Reject names that are not valid shell variable names.
1378 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1379 { echo "$as_me: error: invalid package name: $ac_package" >&2
1380 { (exit 1); exit 1; }; }
1381 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1382 eval with_$ac_package=no ;;
1383
1384 --x)
1385 # Obsolete; use --with-x.
1386 with_x=yes ;;
1387
1388 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1389 | --x-incl | --x-inc | --x-in | --x-i)
1390 ac_prev=x_includes ;;
1391 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1392 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1393 x_includes=$ac_optarg ;;
1394
1395 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1396 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1397 ac_prev=x_libraries ;;
1398 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1399 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1400 x_libraries=$ac_optarg ;;
1401
1402 -*) { echo "$as_me: error: unrecognized option: $ac_option
1403 Try \`$0 --help' for more information." >&2
1404 { (exit 1); exit 1; }; }
1405 ;;
1406
1407 *=*)
1408 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1409 # Reject names that are not valid shell variable names.
1410 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1411 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1412 { (exit 1); exit 1; }; }
1413 eval $ac_envvar=\$ac_optarg
1414 export $ac_envvar ;;
1415
1416 *)
1417 # FIXME: should be removed in autoconf 3.0.
1418 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1419 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1420 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1421 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1422 ;;
1423
1424 esac
1425 done
1426
1427 if test -n "$ac_prev"; then
1428 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1429 { echo "$as_me: error: missing argument to $ac_option" >&2
1430 { (exit 1); exit 1; }; }
1431 fi
1432
1433 # Be sure to have absolute directory names.
1434 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1435 datadir sysconfdir sharedstatedir localstatedir includedir \
1436 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1437 libdir localedir mandir
1438 do
1439 eval ac_val=\$$ac_var
1440 case $ac_val in
1441 [\\/$]* | ?:[\\/]* ) continue;;
1442 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1443 esac
1444 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1445 { (exit 1); exit 1; }; }
1446 done
1447
1448 # There might be people who depend on the old broken behavior: `$host'
1449 # used to hold the argument of --host etc.
1450 # FIXME: To remove some day.
1451 build=$build_alias
1452 host=$host_alias
1453 target=$target_alias
1454
1455 # FIXME: To remove some day.
1456 if test "x$host_alias" != x; then
1457 if test "x$build_alias" = x; then
1458 cross_compiling=maybe
1459 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1460 If a cross compiler is detected then cross compile mode will be used." >&2
1461 elif test "x$build_alias" != "x$host_alias"; then
1462 cross_compiling=yes
1463 fi
1464 fi
1465
1466 ac_tool_prefix=
1467 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1468
1469 test "$silent" = yes && exec 6>/dev/null
1470
1471
1472 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1473 ac_ls_di=`ls -di .` &&
1474 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1475 { echo "$as_me: error: Working directory cannot be determined" >&2
1476 { (exit 1); exit 1; }; }
1477 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1478 { echo "$as_me: error: pwd does not report name of working directory" >&2
1479 { (exit 1); exit 1; }; }
1480
1481
1482 # Find the source files, if location was not specified.
1483 if test -z "$srcdir"; then
1484 ac_srcdir_defaulted=yes
1485 # Try the directory containing this script, then the parent directory.
1486 ac_confdir=`$as_dirname -- "$0" ||
1487 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1488 X"$0" : 'X\(//\)[^/]' \| \
1489 X"$0" : 'X\(//\)$' \| \
1490 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1491 echo X"$0" |
1492 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1493 s//\1/
1494 q
1495 }
1496 /^X\(\/\/\)[^/].*/{
1497 s//\1/
1498 q
1499 }
1500 /^X\(\/\/\)$/{
1501 s//\1/
1502 q
1503 }
1504 /^X\(\/\).*/{
1505 s//\1/
1506 q
1507 }
1508 s/.*/./; q'`
1509 srcdir=$ac_confdir
1510 if test ! -r "$srcdir/$ac_unique_file"; then
1511 srcdir=..
1512 fi
1513 else
1514 ac_srcdir_defaulted=no
1515 fi
1516 if test ! -r "$srcdir/$ac_unique_file"; then
1517 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1518 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1519 { (exit 1); exit 1; }; }
1520 fi
1521 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1522 ac_abs_confdir=`(
1523 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1524 { (exit 1); exit 1; }; }
1525 pwd)`
1526 # When building in place, set srcdir=.
1527 if test "$ac_abs_confdir" = "$ac_pwd"; then
1528 srcdir=.
1529 fi
1530 # Remove unnecessary trailing slashes from srcdir.
1531 # Double slashes in file names in object file debugging info
1532 # mess up M-x gdb in Emacs.
1533 case $srcdir in
1534 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1535 esac
1536 for ac_var in $ac_precious_vars; do
1537 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1538 eval ac_env_${ac_var}_value=\$${ac_var}
1539 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1540 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1541 done
1542
1543 #
1544 # Report the --help message.
1545 #
1546 if test "$ac_init_help" = "long"; then
1547 # Omit some internal or obsolete options to make the list less imposing.
1548 # This message is too long to be a string in the A/UX 3.1 sh.
1549 cat <<_ACEOF
1550 \`configure' configures wxWidgets 2.9.0 to adapt to many kinds of systems.
1551
1552 Usage: $0 [OPTION]... [VAR=VALUE]...
1553
1554 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1555 VAR=VALUE. See below for descriptions of some of the useful variables.
1556
1557 Defaults for the options are specified in brackets.
1558
1559 Configuration:
1560 -h, --help display this help and exit
1561 --help=short display options specific to this package
1562 --help=recursive display the short help of all the included packages
1563 -V, --version display version information and exit
1564 -q, --quiet, --silent do not print \`checking...' messages
1565 --cache-file=FILE cache test results in FILE [disabled]
1566 -C, --config-cache alias for \`--cache-file=config.cache'
1567 -n, --no-create do not create output files
1568 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1569
1570 Installation directories:
1571 --prefix=PREFIX install architecture-independent files in PREFIX
1572 [$ac_default_prefix]
1573 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1574 [PREFIX]
1575
1576 By default, \`make install' will install all the files in
1577 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1578 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1579 for instance \`--prefix=\$HOME'.
1580
1581 For better control, use the options below.
1582
1583 Fine tuning of the installation directories:
1584 --bindir=DIR user executables [EPREFIX/bin]
1585 --sbindir=DIR system admin executables [EPREFIX/sbin]
1586 --libexecdir=DIR program executables [EPREFIX/libexec]
1587 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1588 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1589 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1590 --libdir=DIR object code libraries [EPREFIX/lib]
1591 --includedir=DIR C header files [PREFIX/include]
1592 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1593 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1594 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1595 --infodir=DIR info documentation [DATAROOTDIR/info]
1596 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1597 --mandir=DIR man documentation [DATAROOTDIR/man]
1598 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1599 --htmldir=DIR html documentation [DOCDIR]
1600 --dvidir=DIR dvi documentation [DOCDIR]
1601 --pdfdir=DIR pdf documentation [DOCDIR]
1602 --psdir=DIR ps documentation [DOCDIR]
1603 _ACEOF
1604
1605 cat <<\_ACEOF
1606
1607 X features:
1608 --x-includes=DIR X include files are in DIR
1609 --x-libraries=DIR X library files are in DIR
1610
1611 System types:
1612 --build=BUILD configure for building on BUILD [guessed]
1613 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1614 --target=TARGET configure for building compilers for TARGET [HOST]
1615 _ACEOF
1616 fi
1617
1618 if test -n "$ac_init_help"; then
1619 case $ac_init_help in
1620 short | recursive ) echo "Configuration of wxWidgets 2.9.0:";;
1621 esac
1622 cat <<\_ACEOF
1623
1624 Optional Features:
1625 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1626 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1627 --disable-gui don't build GUI parts of the library
1628 --enable-monolithic build wxWidgets as single library
1629 --enable-plugins build parts of wxWidgets as loadable components
1630 --enable-official_build official build of wxWidgets (win32 DLL only)
1631 --enable-vendor=VENDOR vendor name (win32 DLL only)
1632 --disable-all-features disable all optional features to build minimal library
1633 --enable-universal use wxWidgets GUI controls instead of native ones
1634 --enable-nanox use NanoX
1635 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1636 --enable-gpe use GNOME PDA Environment features if possible
1637 --disable-shared create static library instead of shared
1638 --disable-optimise create optimised code
1639 --enable-debug same as debug_flag and debug_info
1640 --enable-stl use STL for containers
1641 --enable-std_iostreams use standard C++ stream classes
1642 --enable-std_string use standard C++ string classes
1643 --disable-unicode compile without Unicode support
1644 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1645 --enable-utf8 use UTF-8 representation for strings (Unix only)
1646 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1647 --enable-extended_rtti use extended RTTI (XTI)
1648 --enable-omf use OMF object format
1649 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
1650 --enable-debug_info create code with debugging information
1651 --enable-debug_gdb create code with extra GDB debugging information
1652 --enable-debug_cntxt use wxDebugContext
1653 --enable-mem_tracing create code with memory tracing
1654 --enable-profile create code with profiling information
1655 --enable-no_rtti create code without RTTI information
1656 --enable-no_exceptions create code without C++ exceptions handling
1657 --enable-permissive compile code disregarding strict ANSI
1658 --enable-no_deps create code without dependency information
1659 --disable-vararg_macros don't use vararg macros, even if they are supported
1660 --enable-universal_binary create Mac PowerPC and Intel Universal binary
1661 --enable-compat26 enable wxWidgets 2.6 compatibility
1662 --disable-compat28 disable wxWidgets 2.8 compatibility
1663 --disable-rpath disable use of rpath for uninstalled builds
1664 --enable-objc_uniquifying enable Objective-C class name uniquifying
1665 --disable-visibility disable use of ELF symbols visibility even if supported
1666 --enable-intl use internationalization system
1667 --enable-config use wxConfig (and derived) classes
1668 --enable-protocols use wxProtocol and derived classes
1669 --enable-ftp use wxFTP (requires wxProtocol
1670 --enable-http use wxHTTP (requires wxProtocol
1671 --enable-fileproto use wxFileProto class (requires wxProtocol
1672 --enable-sockets use socket/network classes
1673 --enable-ipv6 enable IPv6 support in wxSocket
1674 --enable-ole use OLE classes (Win32 only)
1675 --enable-dataobj use data object classes
1676 --enable-ipc use interprocess communication (wxSocket etc.)
1677 --enable-baseevtloop use event loop in console programs too
1678 --enable-epollloop use wxEpollDispatcher class (Linux only)
1679 --enable-selectloop use wxSelectDispatcher class
1680 --enable-apple_ieee use the Apple IEEE codec
1681 --enable-arcstream use wxArchive streams
1682 --enable-base64 use base64 encoding/decoding functions
1683 --enable-backtrace use wxStackWalker class for getting backtraces
1684 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
1685 --enable-cmdline use wxCmdLineParser class
1686 --enable-datetime use wxDateTime class
1687 --enable-debugreport use wxDebugReport class
1688 --enable-dialupman use dialup network classes
1689 --enable-dynlib use wxLibrary class for DLL loading
1690 --enable-dynamicloader use (new) wxDynamicLibrary class
1691 --enable-exceptions build exception-safe library
1692 --enable-ffile use wxFFile class
1693 --enable-file use wxFile class
1694 --enable-filesystem use virtual file systems classes
1695 --enable-fontenum use wxFontEnumerator class
1696 --enable-fontmap use font encodings conversion classes
1697 --enable-fs_archive use virtual archive filesystems
1698 --enable-fs_inet use virtual HTTP/FTP filesystems
1699 --enable-fs_zip now replaced by fs_archive
1700 --enable-geometry use geometry class
1701 --enable-log use logging system
1702 --enable-longlong use wxLongLong class
1703 --enable-mimetype use wxMimeTypesManager
1704 --enable-snglinst use wxSingleInstanceChecker class
1705 --enable-stdpaths use wxStandardPaths class
1706 --enable-stopwatch use wxStopWatch class
1707 --enable-streams use wxStream etc classes
1708 --enable-sysoptions use wxSystemOptions
1709 --enable-tarstream use wxTar streams
1710 --enable-textbuf use wxTextBuffer class
1711 --enable-textfile use wxTextFile class
1712 --enable-timer use wxTimer class
1713 --enable-sound use wxSound class
1714 --enable-mediactrl use wxMediaCtrl class
1715 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1716 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1717 --enable-zipstream use wxZip streams
1718 --enable-url use wxURL class
1719 --enable-variant use wxVariant class
1720 --enable-protocol use wxProtocol class
1721 --enable-protocol-http HTTP support in wxProtocol
1722 --enable-protocol-ftp FTP support in wxProtocol
1723 --enable-protocol-file FILE support in wxProtocol
1724 --enable-threads use threads
1725 --enable-iniconf use wxIniConfig (Win32 only)
1726 --enable-regkey use wxRegKey class (Win32 only)
1727 --enable-docview use document view architecture
1728 --enable-help use help subsystem
1729 --enable-mshtmlhelp use MS HTML Help (win32)
1730 --enable-html use wxHTML sub-library
1731 --enable-htmlhelp use wxHTML-based help
1732 --enable-xrc use XRC resources sub-library
1733 --enable-aui use AUI docking library
1734 --enable-stc use wxStyledTextCtrl library
1735 --enable-constraints use layout-constraints system
1736 --enable-printarch use printing architecture
1737 --enable-mdi use multiple document interface architecture
1738 --enable-mdidoc use docview architecture with MDI
1739 --enable-loggui use standard GUI logger
1740 --enable-logwin use wxLogWindow
1741 --enable-logdialog use wxLogDialog
1742 --enable-webkit use wxWebKitCtrl (Mac)
1743 --enable-richtext use wxRichTextCtrl
1744 --enable-graphics_ctx use graphics context 2D drawing API
1745 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1746 --enable-svg use wxSVGFileDC device context
1747 --enable-clipboard use wxClipboard class
1748 --enable-dnd use Drag'n'Drop classes
1749 --enable-metafile use win32 metafiles
1750 --disable-controls disable compilation of all standard controls
1751 --enable-accel use accelerators
1752 --enable-animatectrl use wxAnimationCtrl class
1753 --enable-button use wxButton class
1754 --enable-bmpbutton use wxBitmapButton class
1755 --enable-bmpcombobox use wxBitmapComboBox class
1756 --enable-calendar use wxCalendarCtrl class
1757 --enable-caret use wxCaret class
1758 --enable-checkbox use wxCheckBox class
1759 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1760 --enable-choice use wxChoice class
1761 --enable-choicebook use wxChoicebook class
1762 --enable-collpane use wxCollapsiblePane class
1763 --enable-colourpicker use wxColourPickerCtrl class
1764 --enable-combobox use wxComboBox class
1765 --enable-comboctrl use wxComboCtrl class
1766 --enable-datepick use wxDatePickerCtrl class
1767 --enable-dirpicker use wxDirPickerCtrl class
1768 --enable-display use wxDisplay class
1769 --enable-detect_sm use code to detect X11 session manager
1770 --enable-editablebox use wxEditableListBox class
1771 --enable-filepicker use wxFilePickerCtrl class
1772 --enable-filectrl use wxFileCtrl class
1773 --enable-fontpicker use wxFontPickerCtrl class
1774 --enable-gauge use wxGauge class
1775 --enable-grid use wxGrid class
1776 --enable-dataviewctrl use wxDataViewCtrl class
1777 --enable-hyperlink use wxHyperlinkCtrl class
1778 --enable-imaglist use wxImageList class
1779 --enable-listbook use wxListbook class
1780 --enable-listbox use wxListBox class
1781 --enable-listctrl use wxListCtrl class
1782 --enable-notebook use wxNotebook class
1783 --enable-odcombobox use wxOwnerDrawnComboBox class
1784 --enable-radiobox use wxRadioBox class
1785 --enable-radiobtn use wxRadioButton class
1786 --enable-sash use wxSashWindow class
1787 --enable-scrollbar use wxScrollBar class and scrollable windows
1788 --enable-searchctrl use wxSearchCtrl class
1789 --enable-slider use wxSlider class
1790 --enable-spinbtn use wxSpinButton class
1791 --enable-spinctrl use wxSpinCtrl class
1792 --enable-splitter use wxSplitterWindow class
1793 --enable-statbmp use wxStaticBitmap class
1794 --enable-statbox use wxStaticBox class
1795 --enable-statline use wxStaticLine class
1796 --enable-stattext use wxStaticText class
1797 --enable-statusbar use wxStatusBar class
1798 --enable-tabdialog use wxTabControl class
1799 --enable-taskbaricon use wxTaskBarIcon class
1800 --enable-textctrl use wxTextCtrl class
1801 --enable-togglebtn use wxToggleButton class
1802 --enable-toolbar use wxToolBar class
1803 --enable-tbarnative use native wxToolBar class
1804 --enable-treebook use wxTreebook class
1805 --enable-toolbook use wxToolbook class
1806 --enable-treectrl use wxTreeCtrl class
1807 --enable-tipwindow use wxTipWindow class
1808 --enable-popupwin use wxPopUpWindow class
1809 --enable-commondlg use all common dialogs
1810 --enable-aboutdlg use wxAboutBox
1811 --enable-choicedlg use wxChoiceDialog
1812 --enable-coldlg use wxColourDialog
1813 --enable-filedlg use wxFileDialog
1814 --enable-finddlg use wxFindReplaceDialog
1815 --enable-fontdlg use wxFontDialog
1816 --enable-dirdlg use wxDirDialog
1817 --enable-msgdlg use wxMessageDialog
1818 --enable-numberdlg use wxNumberEntryDialog
1819 --enable-splash use wxSplashScreen
1820 --enable-textdlg use wxTextDialog
1821 --enable-tipdlg use startup tips
1822 --enable-progressdlg use wxProgressDialog
1823 --enable-wizarddlg use wxWizard
1824 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1825 --enable-miniframe use wxMiniFrame class
1826 --enable-tooltips use wxToolTip class
1827 --enable-splines use spline drawing code
1828 --enable-mousewheel use mousewheel
1829 --enable-validators use wxValidator and derived classes
1830 --enable-busyinfo use wxBusyInfo
1831 --enable-joystick use wxJoystick
1832 --enable-metafiles use wxMetaFile (Win32 only)
1833 --enable-dragimage use wxDragImage
1834 --enable-accessibility enable accessibility support
1835 --enable-palette use wxPalette class
1836 --enable-image use wxImage class
1837 --enable-gif use gif images (GIF file format)
1838 --enable-pcx use pcx images (PCX file format)
1839 --enable-tga use tga images (TGA file format)
1840 --enable-iff use iff images (IFF file format)
1841 --enable-pnm use pnm images (PNM file format)
1842 --enable-xpm use xpm images (XPM file format)
1843 --enable-icocur use Windows ICO and CUR formats
1844 --enable-dccache cache temporary wxDC objects (Win32 only)
1845 --enable-ps-in-msw use PS printing in wxMSW (Win32 only)
1846 --enable-ownerdrawn use owner drawn controls (Win32 and OS/2 only)
1847 --enable-uxtheme enable support for Windows XP themed look (Win32 only)
1848 --enable-wxdib use wxDIB class (Win32 only)
1849 --disable-largefile omit support for large files
1850 --disable-gtktest do not try to compile and run a test GTK+ program
1851 --disable-gtktest Do not try to compile and run a test GTK program
1852 --disable-sdltest Do not try to compile and run a test SDL program
1853 --enable-omf use OMF object format (OS/2)
1854 --disable-dependency-tracking
1855 don't use dependency tracking even if the compiler
1856 can
1857 --disable-precomp-headers
1858 don't use precompiled headers even if compiler can
1859
1860 Optional Packages:
1861 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1862 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1863 --without-subdirs don't generate makefiles for samples/demos/...
1864 --with-flavour=NAME specify a name to identify this build
1865 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1866 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1867 --with-motif use Motif/Lesstif
1868 --with-mac use Mac OS X
1869 --with-cocoa use Cocoa
1870 --with-wine use Wine
1871 --with-msw use MS-Windows
1872 --with-pm use OS/2 Presentation Manager
1873 --with-mgl use SciTech MGL
1874 --with-directfb use DirectFB
1875 --with-microwin use MicroWindows
1876 --with-x11 use X11
1877 --with-libpng use libpng (PNG image format)
1878 --with-libjpeg use libjpeg (JPEG file format)
1879 --with-libtiff use libtiff (TIFF file format)
1880 --with-libxpm use libxpm (XPM file format)
1881 --with-libmspack use libmspack (CHM help files loading)
1882 --without-gtkprint don't use GTK printing support
1883 --without-gnomeprint don't use GNOME printing libraries
1884 --with-gnomevfs use GNOME VFS for associating MIME types
1885 --with-hildon use Hildon framework for Nokia 770
1886 --with-opengl use OpenGL (or Mesa)
1887 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1888 --with-sdl use SDL for audio on Unix
1889 --with-regex enable support for wxRegEx class
1890 --with-zlib use zlib for LZW compression
1891 --with-expat enable XML support using expat parser
1892 --with-macosx-sdk=PATH use an OS X SDK at PATH
1893 --with-macosx-version-min=VER build binaries which require at least this OS X version
1894 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1895 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1896 --with-x use the X Window System
1897 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1898 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1899 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1900 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1901 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1902
1903 Some influential environment variables:
1904 CC C compiler command
1905 CFLAGS C compiler flags
1906 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1907 nonstandard directory <lib dir>
1908 LIBS libraries to pass to the linker, e.g. -l<library>
1909 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1910 you have headers in a nonstandard directory <include dir>
1911 CPP C preprocessor
1912 CXX C++ compiler command
1913 CXXFLAGS C++ compiler flags
1914 PKG_CONFIG path to pkg-config utility
1915 DIRECTFB_CFLAGS
1916 C compiler flags for DIRECTFB, overriding pkg-config
1917 DIRECTFB_LIBS
1918 linker flags for DIRECTFB, overriding pkg-config
1919 XMKMF Path to xmkmf, Makefile generator for X Window System
1920 PANGOX_CFLAGS
1921 C compiler flags for PANGOX, overriding pkg-config
1922 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1923 PANGOFT2_CFLAGS
1924 C compiler flags for PANGOFT2, overriding pkg-config
1925 PANGOFT2_LIBS
1926 linker flags for PANGOFT2, overriding pkg-config
1927 PANGOXFT_CFLAGS
1928 C compiler flags for PANGOXFT, overriding pkg-config
1929 PANGOXFT_LIBS
1930 linker flags for PANGOXFT, overriding pkg-config
1931 GTKPRINT_CFLAGS
1932 C compiler flags for GTKPRINT, overriding pkg-config
1933 GTKPRINT_LIBS
1934 linker flags for GTKPRINT, overriding pkg-config
1935 LIBGNOMEPRINTUI_CFLAGS
1936 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1937 LIBGNOMEPRINTUI_LIBS
1938 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1939 GNOMEVFS_CFLAGS
1940 C compiler flags for GNOMEVFS, overriding pkg-config
1941 GNOMEVFS_LIBS
1942 linker flags for GNOMEVFS, overriding pkg-config
1943 HILDON_CFLAGS
1944 C compiler flags for HILDON, overriding pkg-config
1945 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1946 CAIRO_CFLAGS
1947 C compiler flags for CAIRO, overriding pkg-config
1948 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1949 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1950 GST_LIBS linker flags for GST, overriding pkg-config
1951
1952 Use these variables to override the choices made by `configure' or to help
1953 it to find libraries and programs with nonstandard names/locations.
1954
1955 Report bugs to <wx-dev@lists.wxwidgets.org>.
1956 _ACEOF
1957 ac_status=$?
1958 fi
1959
1960 if test "$ac_init_help" = "recursive"; then
1961 # If there are subdirs, report their specific --help.
1962 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1963 test -d "$ac_dir" || continue
1964 ac_builddir=.
1965
1966 case "$ac_dir" in
1967 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1968 *)
1969 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1970 # A ".." for each directory in $ac_dir_suffix.
1971 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1972 case $ac_top_builddir_sub in
1973 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1974 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1975 esac ;;
1976 esac
1977 ac_abs_top_builddir=$ac_pwd
1978 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1979 # for backward compatibility:
1980 ac_top_builddir=$ac_top_build_prefix
1981
1982 case $srcdir in
1983 .) # We are building in place.
1984 ac_srcdir=.
1985 ac_top_srcdir=$ac_top_builddir_sub
1986 ac_abs_top_srcdir=$ac_pwd ;;
1987 [\\/]* | ?:[\\/]* ) # Absolute name.
1988 ac_srcdir=$srcdir$ac_dir_suffix;
1989 ac_top_srcdir=$srcdir
1990 ac_abs_top_srcdir=$srcdir ;;
1991 *) # Relative name.
1992 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1993 ac_top_srcdir=$ac_top_build_prefix$srcdir
1994 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1995 esac
1996 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1997
1998 cd "$ac_dir" || { ac_status=$?; continue; }
1999 # Check for guested configure.
2000 if test -f "$ac_srcdir/configure.gnu"; then
2001 echo &&
2002 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2003 elif test -f "$ac_srcdir/configure"; then
2004 echo &&
2005 $SHELL "$ac_srcdir/configure" --help=recursive
2006 else
2007 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2008 fi || ac_status=$?
2009 cd "$ac_pwd" || { ac_status=$?; break; }
2010 done
2011 fi
2012
2013 test -n "$ac_init_help" && exit $ac_status
2014 if $ac_init_version; then
2015 cat <<\_ACEOF
2016 wxWidgets configure 2.9.0
2017 generated by GNU Autoconf 2.61
2018
2019 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2020 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2021 This configure script is free software; the Free Software Foundation
2022 gives unlimited permission to copy, distribute and modify it.
2023 _ACEOF
2024 exit
2025 fi
2026 cat >config.log <<_ACEOF
2027 This file contains any messages produced by compilers while
2028 running configure, to aid debugging if configure makes a mistake.
2029
2030 It was created by wxWidgets $as_me 2.9.0, which was
2031 generated by GNU Autoconf 2.61. Invocation command line was
2032
2033 $ $0 $@
2034
2035 _ACEOF
2036 exec 5>>config.log
2037 {
2038 cat <<_ASUNAME
2039 ## --------- ##
2040 ## Platform. ##
2041 ## --------- ##
2042
2043 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2044 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2045 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2046 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2047 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2048
2049 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2050 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2051
2052 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2053 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2054 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2055 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2056 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2057 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2058 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2059
2060 _ASUNAME
2061
2062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2063 for as_dir in $PATH
2064 do
2065 IFS=$as_save_IFS
2066 test -z "$as_dir" && as_dir=.
2067 echo "PATH: $as_dir"
2068 done
2069 IFS=$as_save_IFS
2070
2071 } >&5
2072
2073 cat >&5 <<_ACEOF
2074
2075
2076 ## ----------- ##
2077 ## Core tests. ##
2078 ## ----------- ##
2079
2080 _ACEOF
2081
2082
2083 # Keep a trace of the command line.
2084 # Strip out --no-create and --no-recursion so they do not pile up.
2085 # Strip out --silent because we don't want to record it for future runs.
2086 # Also quote any args containing shell meta-characters.
2087 # Make two passes to allow for proper duplicate-argument suppression.
2088 ac_configure_args=
2089 ac_configure_args0=
2090 ac_configure_args1=
2091 ac_must_keep_next=false
2092 for ac_pass in 1 2
2093 do
2094 for ac_arg
2095 do
2096 case $ac_arg in
2097 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2098 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2099 | -silent | --silent | --silen | --sile | --sil)
2100 continue ;;
2101 *\'*)
2102 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2103 esac
2104 case $ac_pass in
2105 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2106 2)
2107 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2108 if test $ac_must_keep_next = true; then
2109 ac_must_keep_next=false # Got value, back to normal.
2110 else
2111 case $ac_arg in
2112 *=* | --config-cache | -C | -disable-* | --disable-* \
2113 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2114 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2115 | -with-* | --with-* | -without-* | --without-* | --x)
2116 case "$ac_configure_args0 " in
2117 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2118 esac
2119 ;;
2120 -* ) ac_must_keep_next=true ;;
2121 esac
2122 fi
2123 ac_configure_args="$ac_configure_args '$ac_arg'"
2124 ;;
2125 esac
2126 done
2127 done
2128 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2129 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2130
2131 # When interrupted or exit'd, cleanup temporary files, and complete
2132 # config.log. We remove comments because anyway the quotes in there
2133 # would cause problems or look ugly.
2134 # WARNING: Use '\'' to represent an apostrophe within the trap.
2135 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2136 trap 'exit_status=$?
2137 # Save into config.log some information that might help in debugging.
2138 {
2139 echo
2140
2141 cat <<\_ASBOX
2142 ## ---------------- ##
2143 ## Cache variables. ##
2144 ## ---------------- ##
2145 _ASBOX
2146 echo
2147 # The following way of writing the cache mishandles newlines in values,
2148 (
2149 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2150 eval ac_val=\$$ac_var
2151 case $ac_val in #(
2152 *${as_nl}*)
2153 case $ac_var in #(
2154 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2155 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2156 esac
2157 case $ac_var in #(
2158 _ | IFS | as_nl) ;; #(
2159 *) $as_unset $ac_var ;;
2160 esac ;;
2161 esac
2162 done
2163 (set) 2>&1 |
2164 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2165 *${as_nl}ac_space=\ *)
2166 sed -n \
2167 "s/'\''/'\''\\\\'\'''\''/g;
2168 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2169 ;; #(
2170 *)
2171 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2172 ;;
2173 esac |
2174 sort
2175 )
2176 echo
2177
2178 cat <<\_ASBOX
2179 ## ----------------- ##
2180 ## Output variables. ##
2181 ## ----------------- ##
2182 _ASBOX
2183 echo
2184 for ac_var in $ac_subst_vars
2185 do
2186 eval ac_val=\$$ac_var
2187 case $ac_val in
2188 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2189 esac
2190 echo "$ac_var='\''$ac_val'\''"
2191 done | sort
2192 echo
2193
2194 if test -n "$ac_subst_files"; then
2195 cat <<\_ASBOX
2196 ## ------------------- ##
2197 ## File substitutions. ##
2198 ## ------------------- ##
2199 _ASBOX
2200 echo
2201 for ac_var in $ac_subst_files
2202 do
2203 eval ac_val=\$$ac_var
2204 case $ac_val in
2205 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2206 esac
2207 echo "$ac_var='\''$ac_val'\''"
2208 done | sort
2209 echo
2210 fi
2211
2212 if test -s confdefs.h; then
2213 cat <<\_ASBOX
2214 ## ----------- ##
2215 ## confdefs.h. ##
2216 ## ----------- ##
2217 _ASBOX
2218 echo
2219 cat confdefs.h
2220 echo
2221 fi
2222 test "$ac_signal" != 0 &&
2223 echo "$as_me: caught signal $ac_signal"
2224 echo "$as_me: exit $exit_status"
2225 } >&5
2226 rm -f core *.core core.conftest.* &&
2227 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2228 exit $exit_status
2229 ' 0
2230 for ac_signal in 1 2 13 15; do
2231 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2232 done
2233 ac_signal=0
2234
2235 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2236 rm -f -r conftest* confdefs.h
2237
2238 # Predefined preprocessor variables.
2239
2240 cat >>confdefs.h <<_ACEOF
2241 #define PACKAGE_NAME "$PACKAGE_NAME"
2242 _ACEOF
2243
2244
2245 cat >>confdefs.h <<_ACEOF
2246 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2247 _ACEOF
2248
2249
2250 cat >>confdefs.h <<_ACEOF
2251 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2252 _ACEOF
2253
2254
2255 cat >>confdefs.h <<_ACEOF
2256 #define PACKAGE_STRING "$PACKAGE_STRING"
2257 _ACEOF
2258
2259
2260 cat >>confdefs.h <<_ACEOF
2261 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2262 _ACEOF
2263
2264
2265 # Let the site file select an alternate cache file if it wants to.
2266 # Prefer explicitly selected file to automatically selected ones.
2267 if test -n "$CONFIG_SITE"; then
2268 set x "$CONFIG_SITE"
2269 elif test "x$prefix" != xNONE; then
2270 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2271 else
2272 set x "$ac_default_prefix/share/config.site" \
2273 "$ac_default_prefix/etc/config.site"
2274 fi
2275 shift
2276 for ac_site_file
2277 do
2278 if test -r "$ac_site_file"; then
2279 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2280 echo "$as_me: loading site script $ac_site_file" >&6;}
2281 sed 's/^/| /' "$ac_site_file" >&5
2282 . "$ac_site_file"
2283 fi
2284 done
2285
2286 if test -r "$cache_file"; then
2287 # Some versions of bash will fail to source /dev/null (special
2288 # files actually), so we avoid doing that.
2289 if test -f "$cache_file"; then
2290 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2291 echo "$as_me: loading cache $cache_file" >&6;}
2292 case $cache_file in
2293 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2294 *) . "./$cache_file";;
2295 esac
2296 fi
2297 else
2298 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2299 echo "$as_me: creating cache $cache_file" >&6;}
2300 >$cache_file
2301 fi
2302
2303 # Check that the precious variables saved in the cache have kept the same
2304 # value.
2305 ac_cache_corrupted=false
2306 for ac_var in $ac_precious_vars; do
2307 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2308 eval ac_new_set=\$ac_env_${ac_var}_set
2309 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2310 eval ac_new_val=\$ac_env_${ac_var}_value
2311 case $ac_old_set,$ac_new_set in
2312 set,)
2313 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2314 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2315 ac_cache_corrupted=: ;;
2316 ,set)
2317 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2318 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2319 ac_cache_corrupted=: ;;
2320 ,);;
2321 *)
2322 if test "x$ac_old_val" != "x$ac_new_val"; then
2323 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2324 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2325 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2326 echo "$as_me: former value: $ac_old_val" >&2;}
2327 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2328 echo "$as_me: current value: $ac_new_val" >&2;}
2329 ac_cache_corrupted=:
2330 fi;;
2331 esac
2332 # Pass precious variables to config.status.
2333 if test "$ac_new_set" = set; then
2334 case $ac_new_val in
2335 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2336 *) ac_arg=$ac_var=$ac_new_val ;;
2337 esac
2338 case " $ac_configure_args " in
2339 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2340 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2341 esac
2342 fi
2343 done
2344 if $ac_cache_corrupted; then
2345 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2346 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2347 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2348 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2349 { (exit 1); exit 1; }; }
2350 fi
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376 ac_ext=c
2377 ac_cpp='$CPP $CPPFLAGS'
2378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2381
2382
2383
2384
2385
2386 ac_aux_dir=
2387 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2388 if test -f "$ac_dir/install-sh"; then
2389 ac_aux_dir=$ac_dir
2390 ac_install_sh="$ac_aux_dir/install-sh -c"
2391 break
2392 elif test -f "$ac_dir/install.sh"; then
2393 ac_aux_dir=$ac_dir
2394 ac_install_sh="$ac_aux_dir/install.sh -c"
2395 break
2396 elif test -f "$ac_dir/shtool"; then
2397 ac_aux_dir=$ac_dir
2398 ac_install_sh="$ac_aux_dir/shtool install -c"
2399 break
2400 fi
2401 done
2402 if test -z "$ac_aux_dir"; then
2403 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2404 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2405 { (exit 1); exit 1; }; }
2406 fi
2407
2408 # These three variables are undocumented and unsupported,
2409 # and are intended to be withdrawn in a future Autoconf release.
2410 # They can cause serious problems if a builder's source tree is in a directory
2411 # whose full name contains unusual characters.
2412 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2413 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2414 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2415
2416
2417 # Make sure we can run config.sub.
2418 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2419 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2420 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2421 { (exit 1); exit 1; }; }
2422
2423 { echo "$as_me:$LINENO: checking build system type" >&5
2424 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2425 if test "${ac_cv_build+set}" = set; then
2426 echo $ECHO_N "(cached) $ECHO_C" >&6
2427 else
2428 ac_build_alias=$build_alias
2429 test "x$ac_build_alias" = x &&
2430 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2431 test "x$ac_build_alias" = x &&
2432 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2433 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2434 { (exit 1); exit 1; }; }
2435 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2436 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2437 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2438 { (exit 1); exit 1; }; }
2439
2440 fi
2441 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2442 echo "${ECHO_T}$ac_cv_build" >&6; }
2443 case $ac_cv_build in
2444 *-*-*) ;;
2445 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2446 echo "$as_me: error: invalid value of canonical build" >&2;}
2447 { (exit 1); exit 1; }; };;
2448 esac
2449 build=$ac_cv_build
2450 ac_save_IFS=$IFS; IFS='-'
2451 set x $ac_cv_build
2452 shift
2453 build_cpu=$1
2454 build_vendor=$2
2455 shift; shift
2456 # Remember, the first character of IFS is used to create $*,
2457 # except with old shells:
2458 build_os=$*
2459 IFS=$ac_save_IFS
2460 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2461
2462
2463 { echo "$as_me:$LINENO: checking host system type" >&5
2464 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2465 if test "${ac_cv_host+set}" = set; then
2466 echo $ECHO_N "(cached) $ECHO_C" >&6
2467 else
2468 if test "x$host_alias" = x; then
2469 ac_cv_host=$ac_cv_build
2470 else
2471 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2472 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2473 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2474 { (exit 1); exit 1; }; }
2475 fi
2476
2477 fi
2478 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2479 echo "${ECHO_T}$ac_cv_host" >&6; }
2480 case $ac_cv_host in
2481 *-*-*) ;;
2482 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2483 echo "$as_me: error: invalid value of canonical host" >&2;}
2484 { (exit 1); exit 1; }; };;
2485 esac
2486 host=$ac_cv_host
2487 ac_save_IFS=$IFS; IFS='-'
2488 set x $ac_cv_host
2489 shift
2490 host_cpu=$1
2491 host_vendor=$2
2492 shift; shift
2493 # Remember, the first character of IFS is used to create $*,
2494 # except with old shells:
2495 host_os=$*
2496 IFS=$ac_save_IFS
2497 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2498
2499
2500 { echo "$as_me:$LINENO: checking target system type" >&5
2501 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2502 if test "${ac_cv_target+set}" = set; then
2503 echo $ECHO_N "(cached) $ECHO_C" >&6
2504 else
2505 if test "x$target_alias" = x; then
2506 ac_cv_target=$ac_cv_host
2507 else
2508 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2509 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2510 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2511 { (exit 1); exit 1; }; }
2512 fi
2513
2514 fi
2515 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2516 echo "${ECHO_T}$ac_cv_target" >&6; }
2517 case $ac_cv_target in
2518 *-*-*) ;;
2519 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2520 echo "$as_me: error: invalid value of canonical target" >&2;}
2521 { (exit 1); exit 1; }; };;
2522 esac
2523 target=$ac_cv_target
2524 ac_save_IFS=$IFS; IFS='-'
2525 set x $ac_cv_target
2526 shift
2527 target_cpu=$1
2528 target_vendor=$2
2529 shift; shift
2530 # Remember, the first character of IFS is used to create $*,
2531 # except with old shells:
2532 target_os=$*
2533 IFS=$ac_save_IFS
2534 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2535
2536
2537 # The aliases save the names the user supplied, while $host etc.
2538 # will get canonicalized.
2539 test -n "$target_alias" &&
2540 test "$program_prefix$program_suffix$program_transform_name" = \
2541 NONENONEs,x,x, &&
2542 program_prefix=${target_alias}-
2543
2544
2545
2546 wx_major_version_number=2
2547 wx_minor_version_number=9
2548 wx_release_number=0
2549 wx_subrelease_number=0
2550
2551 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2552 WX_VERSION=$WX_RELEASE.$wx_release_number
2553 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2554
2555 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2556
2557
2558 wx_top_builddir="`pwd`"
2559
2560
2561
2562
2563 USE_UNIX=1
2564 USE_OS2=0
2565 USE_WIN32=0
2566 USE_DOS=0
2567 USE_BEOS=0
2568 USE_MAC=0
2569
2570 USE_AIX=
2571 USE_BSD= USE_DARWIN= USE_FREEBSD=
2572 USE_GNU= USE_HPUX=
2573 USE_LINUX=
2574 USE_NETBSD=
2575 USE_OPENBSD=
2576 USE_OSF= USE_SGI=
2577 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2578 USE_ULTRIX=
2579 USE_UNIXWARE=
2580
2581 USE_ALPHA=
2582
2583 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2584
2585 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
2586
2587 DEFAULT_wxUSE_COCOA=0
2588 DEFAULT_wxUSE_GTK=0
2589 DEFAULT_wxUSE_MAC=0
2590 DEFAULT_wxUSE_MGL=0
2591 DEFAULT_wxUSE_MICROWIN=0
2592 DEFAULT_wxUSE_MOTIF=0
2593 DEFAULT_wxUSE_MSW=0
2594 DEFAULT_wxUSE_PM=0
2595 DEFAULT_wxUSE_X11=0
2596 DEFAULT_wxUSE_DFB=0
2597
2598 DEFAULT_DEFAULT_wxUSE_COCOA=0
2599 DEFAULT_DEFAULT_wxUSE_GTK=0
2600 DEFAULT_DEFAULT_wxUSE_MAC=0
2601 DEFAULT_DEFAULT_wxUSE_MGL=0
2602 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2603 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2604 DEFAULT_DEFAULT_wxUSE_MSW=0
2605 DEFAULT_DEFAULT_wxUSE_PM=0
2606 DEFAULT_DEFAULT_wxUSE_X11=0
2607 DEFAULT_DEFAULT_wxUSE_DFB=0
2608
2609 PROGRAM_EXT=
2610 SO_SUFFIX=so
2611 SAMPLES_RPATH_FLAG=
2612 SAMPLES_RPATH_POSTLINK=
2613
2614 DEFAULT_STD_FLAG=yes
2615
2616 case "${host}" in
2617 *-hp-hpux* )
2618 USE_HPUX=1
2619 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2620 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2621 SO_SUFFIX=sl
2622 cat >>confdefs.h <<\_ACEOF
2623 #define __HPUX__ 1
2624 _ACEOF
2625
2626
2627 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2628 ;;
2629 *-*-linux* )
2630 USE_LINUX=1
2631 cat >>confdefs.h <<\_ACEOF
2632 #define __LINUX__ 1
2633 _ACEOF
2634
2635 TMP=`uname -m`
2636 if test "x$TMP" = "xalpha"; then
2637 USE_ALPHA=1
2638 cat >>confdefs.h <<\_ACEOF
2639 #define __ALPHA__ 1
2640 _ACEOF
2641
2642 fi
2643 DEFAULT_DEFAULT_wxUSE_GTK=1
2644 ;;
2645 *-*-gnu* | *-*-k*bsd*-gnu )
2646 USE_GNU=1
2647 TMP=`uname -m`
2648 if test "x$TMP" = "xalpha"; then
2649 USE_ALPHA=1
2650 cat >>confdefs.h <<\_ACEOF
2651 #define __ALPHA__ 1
2652 _ACEOF
2653
2654 fi
2655 DEFAULT_DEFAULT_wxUSE_GTK=1
2656 ;;
2657 *-*-irix5* | *-*-irix6* )
2658 USE_SGI=1
2659 USE_SVR4=1
2660 cat >>confdefs.h <<\_ACEOF
2661 #define __SGI__ 1
2662 _ACEOF
2663
2664 cat >>confdefs.h <<\_ACEOF
2665 #define __SVR4__ 1
2666 _ACEOF
2667
2668 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2669 ;;
2670 *-*-solaris2* )
2671 USE_SUN=1
2672 USE_SOLARIS=1
2673 USE_SVR4=1
2674 cat >>confdefs.h <<\_ACEOF
2675 #define __SUN__ 1
2676 _ACEOF
2677
2678 cat >>confdefs.h <<\_ACEOF
2679 #define __SOLARIS__ 1
2680 _ACEOF
2681
2682 cat >>confdefs.h <<\_ACEOF
2683 #define __SVR4__ 1
2684 _ACEOF
2685
2686 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2687 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2688 ;;
2689 *-*-sunos4* )
2690 USE_SUN=1
2691 USE_SUNOS=1
2692 USE_BSD=1
2693 cat >>confdefs.h <<\_ACEOF
2694 #define __SUN__ 1
2695 _ACEOF
2696
2697 cat >>confdefs.h <<\_ACEOF
2698 #define __SUNOS__ 1
2699 _ACEOF
2700
2701 cat >>confdefs.h <<\_ACEOF
2702 #define __BSD__ 1
2703 _ACEOF
2704
2705 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2706 ;;
2707 *-*-freebsd*)
2708 USE_BSD=1
2709 USE_FREEBSD=1
2710 cat >>confdefs.h <<\_ACEOF
2711 #define __FREEBSD__ 1
2712 _ACEOF
2713
2714 cat >>confdefs.h <<\_ACEOF
2715 #define __BSD__ 1
2716 _ACEOF
2717
2718 DEFAULT_DEFAULT_wxUSE_GTK=1
2719 ;;
2720 *-*-openbsd*|*-*-mirbsd*)
2721 USE_BSD=1
2722 USE_OPENBSD=1
2723 cat >>confdefs.h <<\_ACEOF
2724 #define __OPENBSD__ 1
2725 _ACEOF
2726
2727 cat >>confdefs.h <<\_ACEOF
2728 #define __BSD__ 1
2729 _ACEOF
2730
2731 DEFAULT_DEFAULT_wxUSE_GTK=1
2732 ;;
2733 *-*-netbsd*)
2734 USE_BSD=1
2735 USE_NETBSD=1
2736 cat >>confdefs.h <<\_ACEOF
2737 #define __NETBSD__ 1
2738 _ACEOF
2739
2740 cat >>confdefs.h <<\_ACEOF
2741 #define __BSD__ 1
2742 _ACEOF
2743
2744 DEFAULT_DEFAULT_wxUSE_GTK=1
2745 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2746
2747 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2748 ;;
2749 *-*-osf* )
2750 USE_ALPHA=1
2751 USE_OSF=1
2752 cat >>confdefs.h <<\_ACEOF
2753 #define __ALPHA__ 1
2754 _ACEOF
2755
2756 cat >>confdefs.h <<\_ACEOF
2757 #define __OSF__ 1
2758 _ACEOF
2759
2760 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2761 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2762 ;;
2763 *-*-dgux5* )
2764 USE_ALPHA=1
2765 USE_SVR4=1
2766 cat >>confdefs.h <<\_ACEOF
2767 #define __ALPHA__ 1
2768 _ACEOF
2769
2770 cat >>confdefs.h <<\_ACEOF
2771 #define __SVR4__ 1
2772 _ACEOF
2773
2774 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2775 ;;
2776 *-*-sysv5* )
2777 USE_SYSV=1
2778 USE_SVR4=1
2779 cat >>confdefs.h <<\_ACEOF
2780 #define __SYSV__ 1
2781 _ACEOF
2782
2783 cat >>confdefs.h <<\_ACEOF
2784 #define __SVR4__ 1
2785 _ACEOF
2786
2787 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2788 ;;
2789 *-*-aix* )
2790 USE_AIX=1
2791 USE_SYSV=1
2792 USE_SVR4=1
2793 SO_SUFFIX=a
2794 cat >>confdefs.h <<\_ACEOF
2795 #define __AIX__ 1
2796 _ACEOF
2797
2798 cat >>confdefs.h <<\_ACEOF
2799 #define __SYSV__ 1
2800 _ACEOF
2801
2802 cat >>confdefs.h <<\_ACEOF
2803 #define __SVR4__ 1
2804 _ACEOF
2805
2806 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2807 ;;
2808
2809 *-*-*UnixWare*)
2810 USE_SYSV=1
2811 USE_SVR4=1
2812 USE_UNIXWARE=1
2813 cat >>confdefs.h <<\_ACEOF
2814 #define __UNIXWARE__ 1
2815 _ACEOF
2816
2817 ;;
2818
2819 *-*-cygwin* | *-*-mingw32* )
2820 SO_SUFFIX=dll
2821 PROGRAM_EXT=".exe"
2822 DEFAULT_DEFAULT_wxUSE_MSW=1
2823 ;;
2824
2825 *-pc-msdosdjgpp )
2826 USE_UNIX=0
2827 USE_DOS=1
2828 cat >>confdefs.h <<\_ACEOF
2829 #define __DOS__ 1
2830 _ACEOF
2831
2832 PROGRAM_EXT=".exe"
2833 DEFAULT_DEFAULT_wxUSE_MGL=1
2834 ;;
2835
2836 *-pc-os2_emx | *-pc-os2-emx )
2837 cat >>confdefs.h <<\_ACEOF
2838 #define __EMX__ 1
2839 _ACEOF
2840
2841 USE_OS2=1
2842 cat >>confdefs.h <<\_ACEOF
2843 #define __OS2__ 1
2844 _ACEOF
2845
2846 PROGRAM_EXT=".exe"
2847 DEFAULT_DEFAULT_wxUSE_PM=1
2848 CXX=gcc
2849 LDFLAGS="$LDFLAGS -Zcrtdll"
2850 ac_executable_extensions=".exe"
2851 export ac_executable_extensions
2852 ac_save_IFS="$IFS"
2853 IFS='\\'
2854 ac_TEMP_PATH=
2855 for ac_dir in $PATH; do
2856 IFS=$ac_save_IFS
2857 if test -z "$ac_TEMP_PATH"; then
2858 ac_TEMP_PATH="$ac_dir"
2859 else
2860 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2861 fi
2862 done
2863 export PATH="$ac_TEMP_PATH"
2864 unset ac_TEMP_PATH
2865 DEFAULT_STD_FLAG=no
2866 ;;
2867
2868 *-*-darwin* )
2869 USE_BSD=1
2870 USE_DARWIN=1
2871 SO_SUFFIX=dylib
2872 cat >>confdefs.h <<\_ACEOF
2873 #define __BSD__ 1
2874 _ACEOF
2875
2876 cat >>confdefs.h <<\_ACEOF
2877 #define __DARWIN__ 1
2878 _ACEOF
2879
2880 cat >>confdefs.h <<\_ACEOF
2881 #define TARGET_CARBON 1
2882 _ACEOF
2883
2884 DEFAULT_DEFAULT_wxUSE_MAC=1
2885 DEFAULT_STD_FLAG=no
2886 ;;
2887 powerpc-apple-macos* )
2888 USE_UNIX=0
2889 ac_cv_c_bigendian=yes
2890 SO_SUFFIX=shlib
2891 DEFAULT_DEFAULT_wxUSE_MAC=1
2892 DEFAULT_STD_FLAG=no
2893 ;;
2894
2895 *-*-beos* )
2896 USE_BEOS=1
2897 cat >>confdefs.h <<\_ACEOF
2898 #define __BEOS__ 1
2899 _ACEOF
2900
2901 ;;
2902
2903 *)
2904 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2905 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2906 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2907 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2908
2909 DEFAULT_DEFAULT_wxUSE_X11=1
2910 DEFAULT_wxUSE_SHARED=no
2911 esac
2912
2913
2914
2915
2916 wx_arg_cache_file="configarg.cache"
2917 echo "loading argument cache $wx_arg_cache_file"
2918 rm -f ${wx_arg_cache_file}.tmp
2919 touch ${wx_arg_cache_file}.tmp
2920 touch ${wx_arg_cache_file}
2921
2922
2923 DEFAULT_wxUSE_ALL_FEATURES=yes
2924
2925 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2926 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2927
2928 DEFAULT_wxUSE_DMALLOC=no
2929 DEFAULT_wxUSE_LIBGNOMEVFS=no
2930 DEFAULT_wxUSE_LIBHILDON=no
2931 DEFAULT_wxUSE_LIBMSPACK=no
2932 DEFAULT_wxUSE_LIBSDL=no
2933 DEFAULT_wxUSE_OPENGL=no
2934
2935 DEFAULT_wxUSE_ACCESSIBILITY=no
2936 DEFAULT_wxUSE_DATAVIEWCTRL=no
2937 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2938 DEFAULT_wxUSE_IPV6=no
2939 DEFAULT_wxUSE_MEDIACTRL=no
2940 DEFAULT_wxUSE_TAB_DIALOG=no
2941 DEFAULT_wxUSE_GSTREAMER8=no
2942
2943 DEFAULT_wxUSE_UNICODE_UTF8=auto
2944 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
2945
2946 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2947
2948 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2949
2950 DEFAULT_wxUSE_GTK2=yes
2951
2952 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
2953
2954
2955 for toolkit in $ALL_TOOLKITS; do
2956 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2957 if test "x$LINE" != "x" ; then
2958 has_toolkit_in_cache=1
2959 eval "DEFAULT_$LINE"
2960 eval "CACHE_$toolkit=1"
2961
2962 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2963 if test "x$LINE" != "x" ; then
2964 eval "DEFAULT_$LINE"
2965 fi
2966 fi
2967 done
2968
2969
2970
2971
2972
2973 enablestring=disable
2974 defaultval=
2975 if test -z "$defaultval"; then
2976 if test x"$enablestring" = xdisable; then
2977 defaultval=yes
2978 else
2979 defaultval=no
2980 fi
2981 fi
2982
2983 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2984 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
2985 # Check whether --enable-gui was given.
2986 if test "${enable_gui+set}" = set; then
2987 enableval=$enable_gui;
2988 if test "$enableval" = yes; then
2989 wx_cv_use_gui='wxUSE_GUI=yes'
2990 else
2991 wx_cv_use_gui='wxUSE_GUI=no'
2992 fi
2993 cache=yes
2994
2995 else
2996
2997 LINE=`grep "^wxUSE_GUI=" ${wx_arg_cache_file}`
2998 if test "x$LINE" != x ; then
2999 eval "DEFAULT_$LINE"
3000 cache=yes
3001 else
3002 cache=no
3003 fi
3004
3005 wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
3006
3007 fi
3008
3009
3010 eval "$wx_cv_use_gui"
3011 if test "x$cache" = xyes; then
3012 echo "wxUSE_GUI=$wxUSE_GUI" >> ${wx_arg_cache_file}.tmp
3013 fi
3014
3015 if test x"$enablestring" = xdisable; then
3016 if test $wxUSE_GUI = yes; then
3017 result=no
3018 else
3019 result=yes
3020 fi
3021 else
3022 result=$wxUSE_GUI
3023 fi
3024
3025 { echo "$as_me:$LINENO: result: $result" >&5
3026 echo "${ECHO_T}$result" >&6; }
3027
3028
3029 enablestring=
3030 defaultval=
3031 if test -z "$defaultval"; then
3032 if test x"$enablestring" = xdisable; then
3033 defaultval=yes
3034 else
3035 defaultval=no
3036 fi
3037 fi
3038
3039 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3040 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3041 # Check whether --enable-monolithic was given.
3042 if test "${enable_monolithic+set}" = set; then
3043 enableval=$enable_monolithic;
3044 if test "$enableval" = yes; then
3045 wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3046 else
3047 wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3048 fi
3049 cache=yes
3050
3051 else
3052
3053 LINE=`grep "^wxUSE_MONOLITHIC=" ${wx_arg_cache_file}`
3054 if test "x$LINE" != x ; then
3055 eval "DEFAULT_$LINE"
3056 cache=yes
3057 else
3058 cache=no
3059 fi
3060
3061 wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3062
3063 fi
3064
3065
3066 eval "$wx_cv_use_monolithic"
3067 if test "x$cache" = xyes; then
3068 echo "wxUSE_MONOLITHIC=$wxUSE_MONOLITHIC" >> ${wx_arg_cache_file}.tmp
3069 fi
3070
3071 if test x"$enablestring" = xdisable; then
3072 if test $wxUSE_MONOLITHIC = yes; then
3073 result=no
3074 else
3075 result=yes
3076 fi
3077 else
3078 result=$wxUSE_MONOLITHIC
3079 fi
3080
3081 { echo "$as_me:$LINENO: result: $result" >&5
3082 echo "${ECHO_T}$result" >&6; }
3083
3084
3085 enablestring=
3086 defaultval=
3087 if test -z "$defaultval"; then
3088 if test x"$enablestring" = xdisable; then
3089 defaultval=yes
3090 else
3091 defaultval=no
3092 fi
3093 fi
3094
3095 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3096 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3097 # Check whether --enable-plugins was given.
3098 if test "${enable_plugins+set}" = set; then
3099 enableval=$enable_plugins;
3100 if test "$enableval" = yes; then
3101 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3102 else
3103 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3104 fi
3105 cache=yes
3106
3107 else
3108
3109 LINE=`grep "^wxUSE_PLUGINS=" ${wx_arg_cache_file}`
3110 if test "x$LINE" != x ; then
3111 eval "DEFAULT_$LINE"
3112 cache=yes
3113 else
3114 cache=no
3115 fi
3116
3117 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3118
3119 fi
3120
3121
3122 eval "$wx_cv_use_plugins"
3123 if test "x$cache" = xyes; then
3124 echo "wxUSE_PLUGINS=$wxUSE_PLUGINS" >> ${wx_arg_cache_file}.tmp
3125 fi
3126
3127 if test x"$enablestring" = xdisable; then
3128 if test $wxUSE_PLUGINS = yes; then
3129 result=no
3130 else
3131 result=yes
3132 fi
3133 else
3134 result=$wxUSE_PLUGINS
3135 fi
3136
3137 { echo "$as_me:$LINENO: result: $result" >&5
3138 echo "${ECHO_T}$result" >&6; }
3139
3140
3141 withstring=without
3142 defaultval=$wxUSE_ALL_FEATURES
3143 if test -z "$defaultval"; then
3144 if test x"$withstring" = xwithout; then
3145 defaultval=yes
3146 else
3147 defaultval=no
3148 fi
3149 fi
3150 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3151 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3152
3153 # Check whether --with-subdirs was given.
3154 if test "${with_subdirs+set}" = set; then
3155 withval=$with_subdirs;
3156 if test "$withval" = yes; then
3157 wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3158 else
3159 wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
3160 fi
3161 cache=yes
3162
3163 else
3164
3165 LINE=`grep "^wxWITH_SUBDIRS=" ${wx_arg_cache_file}`
3166 if test "x$LINE" != x ; then
3167 eval "DEFAULT_$LINE"
3168 cache=yes
3169 else
3170 cache=no
3171 fi
3172
3173 wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3174
3175 fi
3176
3177
3178 eval "$wx_cv_use_subdirs"
3179 if test "x$cache" = xyes; then
3180 echo "wxWITH_SUBDIRS=$wxWITH_SUBDIRS" >> ${wx_arg_cache_file}.tmp
3181 fi
3182
3183 if test x"$withstring" = xwithout; then
3184 if test $wxWITH_SUBDIRS = yes; then
3185 result=no
3186 else
3187 result=yes
3188 fi
3189 else
3190 result=$wxWITH_SUBDIRS
3191 fi
3192
3193 { echo "$as_me:$LINENO: result: $result" >&5
3194 echo "${ECHO_T}$result" >&6; }
3195
3196
3197 # Check whether --with-flavour was given.
3198 if test "${with_flavour+set}" = set; then
3199 withval=$with_flavour; WX_FLAVOUR="$withval"
3200 fi
3201
3202
3203 enablestring=
3204 defaultval=
3205 if test -z "$defaultval"; then
3206 if test x"$enablestring" = xdisable; then
3207 defaultval=yes
3208 else
3209 defaultval=no
3210 fi
3211 fi
3212
3213 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3214 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3215 # Check whether --enable-official_build was given.
3216 if test "${enable_official_build+set}" = set; then
3217 enableval=$enable_official_build;
3218 if test "$enableval" = yes; then
3219 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
3220 else
3221 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
3222 fi
3223 cache=yes
3224
3225 else
3226
3227 LINE=`grep "^wxUSE_OFFICIAL_BUILD=" ${wx_arg_cache_file}`
3228 if test "x$LINE" != x ; then
3229 eval "DEFAULT_$LINE"
3230 cache=yes
3231 else
3232 cache=no
3233 fi
3234
3235 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3236
3237 fi
3238
3239
3240 eval "$wx_cv_use_official_build"
3241 if test "x$cache" = xyes; then
3242 echo "wxUSE_OFFICIAL_BUILD=$wxUSE_OFFICIAL_BUILD" >> ${wx_arg_cache_file}.tmp
3243 fi
3244
3245 if test x"$enablestring" = xdisable; then
3246 if test $wxUSE_OFFICIAL_BUILD = yes; then
3247 result=no
3248 else
3249 result=yes
3250 fi
3251 else
3252 result=$wxUSE_OFFICIAL_BUILD
3253 fi
3254
3255 { echo "$as_me:$LINENO: result: $result" >&5
3256 echo "${ECHO_T}$result" >&6; }
3257
3258 # Check whether --enable-vendor was given.
3259 if test "${enable_vendor+set}" = set; then
3260 enableval=$enable_vendor; VENDOR="$enableval"
3261 fi
3262
3263 if test "x$VENDOR" = "x"; then
3264 VENDOR="custom"
3265 fi
3266
3267
3268 enablestring=disable
3269 defaultval=
3270 if test -z "$defaultval"; then
3271 if test x"$enablestring" = xdisable; then
3272 defaultval=yes
3273 else
3274 defaultval=no
3275 fi
3276 fi
3277
3278 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-all-features" >&5
3279 echo $ECHO_N "checking for --${enablestring:-enable}-all-features... $ECHO_C" >&6; }
3280 # Check whether --enable-all-features was given.
3281 if test "${enable_all_features+set}" = set; then
3282 enableval=$enable_all_features;
3283 if test "$enableval" = yes; then
3284 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3285 else
3286 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3287 fi
3288 cache=yes
3289
3290 else
3291
3292 LINE=`grep "^wxUSE_ALL_FEATURES=" ${wx_arg_cache_file}`
3293 if test "x$LINE" != x ; then
3294 eval "DEFAULT_$LINE"
3295 cache=yes
3296 else
3297 cache=no
3298 fi
3299
3300 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3301
3302 fi
3303
3304
3305 eval "$wx_cv_use_all_features"
3306 if test "x$cache" = xyes; then
3307 echo "wxUSE_ALL_FEATURES=$wxUSE_ALL_FEATURES" >> ${wx_arg_cache_file}.tmp
3308 fi
3309
3310 if test x"$enablestring" = xdisable; then
3311 if test $wxUSE_ALL_FEATURES = yes; then
3312 result=no
3313 else
3314 result=yes
3315 fi
3316 else
3317 result=$wxUSE_ALL_FEATURES
3318 fi
3319
3320 { echo "$as_me:$LINENO: result: $result" >&5
3321 echo "${ECHO_T}$result" >&6; }
3322
3323
3324
3325 if test "$wxUSE_GUI" = "yes"; then
3326
3327
3328 enablestring=
3329 defaultval=
3330 if test -z "$defaultval"; then
3331 if test x"$enablestring" = xdisable; then
3332 defaultval=yes
3333 else
3334 defaultval=no
3335 fi
3336 fi
3337
3338 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3339 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3340 # Check whether --enable-universal was given.
3341 if test "${enable_universal+set}" = set; then
3342 enableval=$enable_universal;
3343 if test "$enableval" = yes; then
3344 wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
3345 else
3346 wx_cv_use_universal='wxUSE_UNIVERSAL=no'
3347 fi
3348 cache=yes
3349
3350 else
3351
3352 LINE=`grep "^wxUSE_UNIVERSAL=" ${wx_arg_cache_file}`
3353 if test "x$LINE" != x ; then
3354 eval "DEFAULT_$LINE"
3355 cache=yes
3356 else
3357 cache=no
3358 fi
3359
3360 wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3361
3362 fi
3363
3364
3365 eval "$wx_cv_use_universal"
3366 if test "x$cache" = xyes; then
3367 echo "wxUSE_UNIVERSAL=$wxUSE_UNIVERSAL" >> ${wx_arg_cache_file}.tmp
3368 fi
3369
3370 if test x"$enablestring" = xdisable; then
3371 if test $wxUSE_UNIVERSAL = yes; then
3372 result=no
3373 else
3374 result=yes
3375 fi
3376 else
3377 result=$wxUSE_UNIVERSAL
3378 fi
3379
3380 { echo "$as_me:$LINENO: result: $result" >&5
3381 echo "${ECHO_T}$result" >&6; }
3382
3383 if test "$wxUSE_UNIVERSAL" = "yes"; then
3384
3385 # Check whether --with-themes was given.
3386 if test "${with_themes+set}" = set; then
3387 withval=$with_themes; wxUNIV_THEMES="$withval"
3388 fi
3389
3390 fi
3391
3392
3393 # Check whether --with-gtk was given.
3394 if test "${with_gtk+set}" = set; then
3395 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3396 fi
3397
3398
3399 # Check whether --with-motif was given.
3400 if test "${with_motif+set}" = set; then
3401 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3402 fi
3403
3404
3405 # Check whether --with-mac was given.
3406 if test "${with_mac+set}" = set; then
3407 withval=$with_mac; wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
3408 fi
3409
3410
3411 # Check whether --with-cocoa was given.
3412 if test "${with_cocoa+set}" = set; then
3413 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3414 fi
3415
3416
3417 # Check whether --with-wine was given.
3418 if test "${with_wine+set}" = set; then
3419 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3420 fi
3421
3422
3423 # Check whether --with-msw was given.
3424 if test "${with_msw+set}" = set; then
3425 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3426 fi
3427
3428
3429 # Check whether --with-pm was given.
3430 if test "${with_pm+set}" = set; then
3431 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3432 fi
3433
3434
3435 # Check whether --with-mgl was given.
3436 if test "${with_mgl+set}" = set; then
3437 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3438 fi
3439
3440
3441 # Check whether --with-directfb was given.
3442 if test "${with_directfb+set}" = set; then
3443 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3444 fi
3445
3446
3447 # Check whether --with-microwin was given.
3448 if test "${with_microwin+set}" = set; then
3449 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3450 fi
3451
3452
3453 # Check whether --with-x11 was given.
3454 if test "${with_x11+set}" = set; then
3455 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3456 fi
3457
3458
3459 enablestring=
3460 defaultval=
3461 if test -z "$defaultval"; then
3462 if test x"$enablestring" = xdisable; then
3463 defaultval=yes
3464 else
3465 defaultval=no
3466 fi
3467 fi
3468
3469 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3470 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3471 # Check whether --enable-nanox was given.
3472 if test "${enable_nanox+set}" = set; then
3473 enableval=$enable_nanox;
3474 if test "$enableval" = yes; then
3475 wx_cv_use_nanox='wxUSE_NANOX=yes'
3476 else
3477 wx_cv_use_nanox='wxUSE_NANOX=no'
3478 fi
3479 cache=yes
3480
3481 else
3482
3483 LINE=`grep "^wxUSE_NANOX=" ${wx_arg_cache_file}`
3484 if test "x$LINE" != x ; then
3485 eval "DEFAULT_$LINE"
3486 cache=yes
3487 else
3488 cache=no
3489 fi
3490
3491 wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3492
3493 fi
3494
3495
3496 eval "$wx_cv_use_nanox"
3497 if test "x$cache" = xyes; then
3498 echo "wxUSE_NANOX=$wxUSE_NANOX" >> ${wx_arg_cache_file}.tmp
3499 fi
3500
3501 if test x"$enablestring" = xdisable; then
3502 if test $wxUSE_NANOX = yes; then
3503 result=no
3504 else
3505 result=yes
3506 fi
3507 else
3508 result=$wxUSE_NANOX
3509 fi
3510
3511 { echo "$as_me:$LINENO: result: $result" >&5
3512 echo "${ECHO_T}$result" >&6; }
3513
3514
3515 # Check whether --enable-gtk2 was given.
3516 if test "${enable_gtk2+set}" = set; then
3517 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3518 fi
3519
3520
3521 enablestring=
3522 defaultval=
3523 if test -z "$defaultval"; then
3524 if test x"$enablestring" = xdisable; then
3525 defaultval=yes
3526 else
3527 defaultval=no
3528 fi
3529 fi
3530
3531 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3532 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3533 # Check whether --enable-gpe was given.
3534 if test "${enable_gpe+set}" = set; then
3535 enableval=$enable_gpe;
3536 if test "$enableval" = yes; then
3537 wx_cv_use_gpe='wxUSE_GPE=yes'
3538 else
3539 wx_cv_use_gpe='wxUSE_GPE=no'
3540 fi
3541 cache=yes
3542
3543 else
3544
3545 LINE=`grep "^wxUSE_GPE=" ${wx_arg_cache_file}`
3546 if test "x$LINE" != x ; then
3547 eval "DEFAULT_$LINE"
3548 cache=yes
3549 else
3550 cache=no
3551 fi
3552
3553 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3554
3555 fi
3556
3557
3558 eval "$wx_cv_use_gpe"
3559 if test "x$cache" = xyes; then
3560 echo "wxUSE_GPE=$wxUSE_GPE" >> ${wx_arg_cache_file}.tmp
3561 fi
3562
3563 if test x"$enablestring" = xdisable; then
3564 if test $wxUSE_GPE = yes; then
3565 result=no
3566 else
3567 result=yes
3568 fi
3569 else
3570 result=$wxUSE_GPE
3571 fi
3572
3573 { echo "$as_me:$LINENO: result: $result" >&5
3574 echo "${ECHO_T}$result" >&6; }
3575
3576
3577
3578
3579 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3580 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3581
3582 # Check whether --with-libpng was given.
3583 if test "${with_libpng+set}" = set; then
3584 withval=$with_libpng;
3585 if test "$withval" = yes; then
3586 wx_cv_use_libpng='wxUSE_LIBPNG=yes'
3587 elif test "$withval" = no; then
3588 wx_cv_use_libpng='wxUSE_LIBPNG=no'
3589 elif test "$withval" = sys; then
3590 wx_cv_use_libpng='wxUSE_LIBPNG=sys'
3591 elif test "$withval" = builtin; then
3592 wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
3593 else
3594 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3595 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3596 { (exit 1); exit 1; }; }
3597 fi
3598 cache=yes
3599
3600 else
3601
3602 LINE=`grep "^wxUSE_LIBPNG=" ${wx_arg_cache_file}`
3603 if test "x$LINE" != x ; then
3604 eval "DEFAULT_$LINE"
3605 cache=yes
3606 else
3607 cache=no
3608 fi
3609
3610 wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3611
3612 fi
3613
3614
3615 eval "$wx_cv_use_libpng"
3616 if test "x$cache" = xyes; then
3617 echo "wxUSE_LIBPNG=$wxUSE_LIBPNG" >> ${wx_arg_cache_file}.tmp
3618 fi
3619
3620 if test "$wxUSE_LIBPNG" = yes; then
3621 { echo "$as_me:$LINENO: result: yes" >&5
3622 echo "${ECHO_T}yes" >&6; }
3623 elif test "$wxUSE_LIBPNG" = no; then
3624 { echo "$as_me:$LINENO: result: no" >&5
3625 echo "${ECHO_T}no" >&6; }
3626 elif test "$wxUSE_LIBPNG" = sys; then
3627 { echo "$as_me:$LINENO: result: system version" >&5
3628 echo "${ECHO_T}system version" >&6; }
3629 elif test "$wxUSE_LIBPNG" = builtin; then
3630 { echo "$as_me:$LINENO: result: builtin version" >&5
3631 echo "${ECHO_T}builtin version" >&6; }
3632 else
3633 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3634 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3635 { (exit 1); exit 1; }; }
3636 fi
3637
3638
3639 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3640 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3641
3642 # Check whether --with-libjpeg was given.
3643 if test "${with_libjpeg+set}" = set; then
3644 withval=$with_libjpeg;
3645 if test "$withval" = yes; then
3646 wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3647 elif test "$withval" = no; then
3648 wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3649 elif test "$withval" = sys; then
3650 wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3651 elif test "$withval" = builtin; then
3652 wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3653 else
3654 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3655 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3656 { (exit 1); exit 1; }; }
3657 fi
3658 cache=yes
3659
3660 else
3661
3662 LINE=`grep "^wxUSE_LIBJPEG=" ${wx_arg_cache_file}`
3663 if test "x$LINE" != x ; then
3664 eval "DEFAULT_$LINE"
3665 cache=yes
3666 else
3667 cache=no
3668 fi
3669
3670 wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3671
3672 fi
3673
3674
3675 eval "$wx_cv_use_libjpeg"
3676 if test "x$cache" = xyes; then
3677 echo "wxUSE_LIBJPEG=$wxUSE_LIBJPEG" >> ${wx_arg_cache_file}.tmp
3678 fi
3679
3680 if test "$wxUSE_LIBJPEG" = yes; then
3681 { echo "$as_me:$LINENO: result: yes" >&5
3682 echo "${ECHO_T}yes" >&6; }
3683 elif test "$wxUSE_LIBJPEG" = no; then
3684 { echo "$as_me:$LINENO: result: no" >&5
3685 echo "${ECHO_T}no" >&6; }
3686 elif test "$wxUSE_LIBJPEG" = sys; then
3687 { echo "$as_me:$LINENO: result: system version" >&5
3688 echo "${ECHO_T}system version" >&6; }
3689 elif test "$wxUSE_LIBJPEG" = builtin; then
3690 { echo "$as_me:$LINENO: result: builtin version" >&5
3691 echo "${ECHO_T}builtin version" >&6; }
3692 else
3693 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3694 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3695 { (exit 1); exit 1; }; }
3696 fi
3697
3698
3699 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3700 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3701
3702 # Check whether --with-libtiff was given.
3703 if test "${with_libtiff+set}" = set; then
3704 withval=$with_libtiff;
3705 if test "$withval" = yes; then
3706 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3707 elif test "$withval" = no; then
3708 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3709 elif test "$withval" = sys; then
3710 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3711 elif test "$withval" = builtin; then
3712 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3713 else
3714 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3715 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3716 { (exit 1); exit 1; }; }
3717 fi
3718 cache=yes
3719
3720 else
3721
3722 LINE=`grep "^wxUSE_LIBTIFF=" ${wx_arg_cache_file}`
3723 if test "x$LINE" != x ; then
3724 eval "DEFAULT_$LINE"
3725 cache=yes
3726 else
3727 cache=no
3728 fi
3729
3730 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3731
3732 fi
3733
3734
3735 eval "$wx_cv_use_libtiff"
3736 if test "x$cache" = xyes; then
3737 echo "wxUSE_LIBTIFF=$wxUSE_LIBTIFF" >> ${wx_arg_cache_file}.tmp
3738 fi
3739
3740 if test "$wxUSE_LIBTIFF" = yes; then
3741 { echo "$as_me:$LINENO: result: yes" >&5
3742 echo "${ECHO_T}yes" >&6; }
3743 elif test "$wxUSE_LIBTIFF" = no; then
3744 { echo "$as_me:$LINENO: result: no" >&5
3745 echo "${ECHO_T}no" >&6; }
3746 elif test "$wxUSE_LIBTIFF" = sys; then
3747 { echo "$as_me:$LINENO: result: system version" >&5
3748 echo "${ECHO_T}system version" >&6; }
3749 elif test "$wxUSE_LIBTIFF" = builtin; then
3750 { echo "$as_me:$LINENO: result: builtin version" >&5
3751 echo "${ECHO_T}builtin version" >&6; }
3752 else
3753 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3754 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3755 { (exit 1); exit 1; }; }
3756 fi
3757
3758
3759 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3760 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3761
3762 # Check whether --with-libxpm was given.
3763 if test "${with_libxpm+set}" = set; then
3764 withval=$with_libxpm;
3765 if test "$withval" = yes; then
3766 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
3767 elif test "$withval" = no; then
3768 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
3769 elif test "$withval" = sys; then
3770 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
3771 elif test "$withval" = builtin; then
3772 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3773 else
3774 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3775 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3776 { (exit 1); exit 1; }; }
3777 fi
3778 cache=yes
3779
3780 else
3781
3782 LINE=`grep "^wxUSE_LIBXPM=" ${wx_arg_cache_file}`
3783 if test "x$LINE" != x ; then
3784 eval "DEFAULT_$LINE"
3785 cache=yes
3786 else
3787 cache=no
3788 fi
3789
3790 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3791
3792 fi
3793
3794
3795 eval "$wx_cv_use_libxpm"
3796 if test "x$cache" = xyes; then
3797 echo "wxUSE_LIBXPM=$wxUSE_LIBXPM" >> ${wx_arg_cache_file}.tmp
3798 fi
3799
3800 if test "$wxUSE_LIBXPM" = yes; then
3801 { echo "$as_me:$LINENO: result: yes" >&5
3802 echo "${ECHO_T}yes" >&6; }
3803 elif test "$wxUSE_LIBXPM" = no; then
3804 { echo "$as_me:$LINENO: result: no" >&5
3805 echo "${ECHO_T}no" >&6; }
3806 elif test "$wxUSE_LIBXPM" = sys; then
3807 { echo "$as_me:$LINENO: result: system version" >&5
3808 echo "${ECHO_T}system version" >&6; }
3809 elif test "$wxUSE_LIBXPM" = builtin; then
3810 { echo "$as_me:$LINENO: result: builtin version" >&5
3811 echo "${ECHO_T}builtin version" >&6; }
3812 else
3813 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3814 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3815 { (exit 1); exit 1; }; }
3816 fi
3817
3818
3819 withstring=
3820 defaultval=$wxUSE_ALL_FEATURES
3821 if test -z "$defaultval"; then
3822 if test x"$withstring" = xwithout; then
3823 defaultval=yes
3824 else
3825 defaultval=no
3826 fi
3827 fi
3828 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3829 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3830
3831 # Check whether --with-libmspack was given.
3832 if test "${with_libmspack+set}" = set; then
3833 withval=$with_libmspack;
3834 if test "$withval" = yes; then
3835 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3836 else
3837 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3838 fi
3839 cache=yes
3840
3841 else
3842
3843 LINE=`grep "^wxUSE_LIBMSPACK=" ${wx_arg_cache_file}`
3844 if test "x$LINE" != x ; then
3845 eval "DEFAULT_$LINE"
3846 cache=yes
3847 else
3848 cache=no
3849 fi
3850
3851 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3852
3853 fi
3854
3855
3856 eval "$wx_cv_use_libmspack"
3857 if test "x$cache" = xyes; then
3858 echo "wxUSE_LIBMSPACK=$wxUSE_LIBMSPACK" >> ${wx_arg_cache_file}.tmp
3859 fi
3860
3861 if test x"$withstring" = xwithout; then
3862 if test $wxUSE_LIBMSPACK = yes; then
3863 result=no
3864 else
3865 result=yes
3866 fi
3867 else
3868 result=$wxUSE_LIBMSPACK
3869 fi
3870
3871 { echo "$as_me:$LINENO: result: $result" >&5
3872 echo "${ECHO_T}$result" >&6; }
3873
3874
3875 withstring=without
3876 defaultval=$wxUSE_ALL_FEATURES
3877 if test -z "$defaultval"; then
3878 if test x"$withstring" = xwithout; then
3879 defaultval=yes
3880 else
3881 defaultval=no
3882 fi
3883 fi
3884 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gtkprint" >&5
3885 echo $ECHO_N "checking for --${withstring:-with}-gtkprint... $ECHO_C" >&6; }
3886
3887 # Check whether --with-gtkprint was given.
3888 if test "${with_gtkprint+set}" = set; then
3889 withval=$with_gtkprint;
3890 if test "$withval" = yes; then
3891 wx_cv_use_gtkprint='wxUSE_GTKPRINT=yes'
3892 else
3893 wx_cv_use_gtkprint='wxUSE_GTKPRINT=no'
3894 fi
3895 cache=yes
3896
3897 else
3898
3899 LINE=`grep "^wxUSE_GTKPRINT=" ${wx_arg_cache_file}`
3900 if test "x$LINE" != x ; then
3901 eval "DEFAULT_$LINE"
3902 cache=yes
3903 else
3904 cache=no
3905 fi
3906
3907 wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3908
3909 fi
3910
3911
3912 eval "$wx_cv_use_gtkprint"
3913 if test "x$cache" = xyes; then
3914 echo "wxUSE_GTKPRINT=$wxUSE_GTKPRINT" >> ${wx_arg_cache_file}.tmp
3915 fi
3916
3917 if test x"$withstring" = xwithout; then
3918 if test $wxUSE_GTKPRINT = yes; then
3919 result=no
3920 else
3921 result=yes
3922 fi
3923 else
3924 result=$wxUSE_GTKPRINT
3925 fi
3926
3927 { echo "$as_me:$LINENO: result: $result" >&5
3928 echo "${ECHO_T}$result" >&6; }
3929
3930
3931 withstring=without
3932 defaultval=$wxUSE_ALL_FEATURES
3933 if test -z "$defaultval"; then
3934 if test x"$withstring" = xwithout; then
3935 defaultval=yes
3936 else
3937 defaultval=no
3938 fi
3939 fi
3940 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3941 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3942
3943 # Check whether --with-gnomeprint was given.
3944 if test "${with_gnomeprint+set}" = set; then
3945 withval=$with_gnomeprint;
3946 if test "$withval" = yes; then
3947 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3948 else
3949 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3950 fi
3951 cache=yes
3952
3953 else
3954
3955 LINE=`grep "^wxUSE_LIBGNOMEPRINT=" ${wx_arg_cache_file}`
3956 if test "x$LINE" != x ; then
3957 eval "DEFAULT_$LINE"
3958 cache=yes
3959 else
3960 cache=no
3961 fi
3962
3963 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
3964
3965 fi
3966
3967
3968 eval "$wx_cv_use_gnomeprint"
3969 if test "x$cache" = xyes; then
3970 echo "wxUSE_LIBGNOMEPRINT=$wxUSE_LIBGNOMEPRINT" >> ${wx_arg_cache_file}.tmp
3971 fi
3972
3973 if test x"$withstring" = xwithout; then
3974 if test $wxUSE_LIBGNOMEPRINT = yes; then
3975 result=no
3976 else
3977 result=yes
3978 fi
3979 else
3980 result=$wxUSE_LIBGNOMEPRINT
3981 fi
3982
3983 { echo "$as_me:$LINENO: result: $result" >&5
3984 echo "${ECHO_T}$result" >&6; }
3985
3986
3987 withstring=
3988 defaultval=$wxUSE_ALL_FEATURES
3989 if test -z "$defaultval"; then
3990 if test x"$withstring" = xwithout; then
3991 defaultval=yes
3992 else
3993 defaultval=no
3994 fi
3995 fi
3996 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3997 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
3998
3999 # Check whether --with-gnomevfs was given.
4000 if test "${with_gnomevfs+set}" = set; then
4001 withval=$with_gnomevfs;
4002 if test "$withval" = yes; then
4003 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
4004 else
4005 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
4006 fi
4007 cache=yes
4008
4009 else
4010
4011 LINE=`grep "^wxUSE_LIBGNOMEVFS=" ${wx_arg_cache_file}`
4012 if test "x$LINE" != x ; then
4013 eval "DEFAULT_$LINE"
4014 cache=yes
4015 else
4016 cache=no
4017 fi
4018
4019 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
4020
4021 fi
4022
4023
4024 eval "$wx_cv_use_gnomevfs"
4025 if test "x$cache" = xyes; then
4026 echo "wxUSE_LIBGNOMEVFS=$wxUSE_LIBGNOMEVFS" >> ${wx_arg_cache_file}.tmp
4027 fi
4028
4029 if test x"$withstring" = xwithout; then
4030 if test $wxUSE_LIBGNOMEVFS = yes; then
4031 result=no
4032 else
4033 result=yes
4034 fi
4035 else
4036 result=$wxUSE_LIBGNOMEVFS
4037 fi
4038
4039 { echo "$as_me:$LINENO: result: $result" >&5
4040 echo "${ECHO_T}$result" >&6; }
4041
4042
4043 withstring=
4044 defaultval=$wxUSE_ALL_FEATURES
4045 if test -z "$defaultval"; then
4046 if test x"$withstring" = xwithout; then
4047 defaultval=yes
4048 else
4049 defaultval=no
4050 fi
4051 fi
4052 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
4053 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
4054
4055 # Check whether --with-hildon was given.
4056 if test "${with_hildon+set}" = set; then
4057 withval=$with_hildon;
4058 if test "$withval" = yes; then
4059 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
4060 else
4061 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
4062 fi
4063 cache=yes
4064
4065 else
4066
4067 LINE=`grep "^wxUSE_LIBHILDON=" ${wx_arg_cache_file}`
4068 if test "x$LINE" != x ; then
4069 eval "DEFAULT_$LINE"
4070 cache=yes
4071 else
4072 cache=no
4073 fi
4074
4075 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
4076
4077 fi
4078
4079
4080 eval "$wx_cv_use_hildon"
4081 if test "x$cache" = xyes; then
4082 echo "wxUSE_LIBHILDON=$wxUSE_LIBHILDON" >> ${wx_arg_cache_file}.tmp
4083 fi
4084
4085 if test x"$withstring" = xwithout; then
4086 if test $wxUSE_LIBHILDON = yes; then
4087 result=no
4088 else
4089 result=yes
4090 fi
4091 else
4092 result=$wxUSE_LIBHILDON
4093 fi
4094
4095 { echo "$as_me:$LINENO: result: $result" >&5
4096 echo "${ECHO_T}$result" >&6; }
4097
4098
4099 withstring=
4100 defaultval=$wxUSE_ALL_FEATURES
4101 if test -z "$defaultval"; then
4102 if test x"$withstring" = xwithout; then
4103 defaultval=yes
4104 else
4105 defaultval=no
4106 fi
4107 fi
4108 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4109 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4110
4111 # Check whether --with-opengl was given.
4112 if test "${with_opengl+set}" = set; then
4113 withval=$with_opengl;
4114 if test "$withval" = yes; then
4115 wx_cv_use_opengl='wxUSE_OPENGL=yes'
4116 else
4117 wx_cv_use_opengl='wxUSE_OPENGL=no'
4118 fi
4119 cache=yes
4120
4121 else
4122
4123 LINE=`grep "^wxUSE_OPENGL=" ${wx_arg_cache_file}`
4124 if test "x$LINE" != x ; then
4125 eval "DEFAULT_$LINE"
4126 cache=yes
4127 else
4128 cache=no
4129 fi
4130
4131 wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4132
4133 fi
4134
4135
4136 eval "$wx_cv_use_opengl"
4137 if test "x$cache" = xyes; then
4138 echo "wxUSE_OPENGL=$wxUSE_OPENGL" >> ${wx_arg_cache_file}.tmp
4139 fi
4140
4141 if test x"$withstring" = xwithout; then
4142 if test $wxUSE_OPENGL = yes; then
4143 result=no
4144 else
4145 result=yes
4146 fi
4147 else
4148 result=$wxUSE_OPENGL
4149 fi
4150
4151 { echo "$as_me:$LINENO: result: $result" >&5
4152 echo "${ECHO_T}$result" >&6; }
4153
4154
4155 fi
4156
4157
4158 withstring=
4159 defaultval=$wxUSE_ALL_FEATURES
4160 if test -z "$defaultval"; then
4161 if test x"$withstring" = xwithout; then
4162 defaultval=yes
4163 else
4164 defaultval=no
4165 fi
4166 fi
4167 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4168 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4169
4170 # Check whether --with-dmalloc was given.
4171 if test "${with_dmalloc+set}" = set; then
4172 withval=$with_dmalloc;
4173 if test "$withval" = yes; then
4174 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4175 else
4176 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4177 fi
4178 cache=yes
4179
4180 else
4181
4182 LINE=`grep "^wxUSE_DMALLOC=" ${wx_arg_cache_file}`
4183 if test "x$LINE" != x ; then
4184 eval "DEFAULT_$LINE"
4185 cache=yes
4186 else
4187 cache=no
4188 fi
4189
4190 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4191
4192 fi
4193
4194
4195 eval "$wx_cv_use_dmalloc"
4196 if test "x$cache" = xyes; then
4197 echo "wxUSE_DMALLOC=$wxUSE_DMALLOC" >> ${wx_arg_cache_file}.tmp
4198 fi
4199
4200 if test x"$withstring" = xwithout; then
4201 if test $wxUSE_DMALLOC = yes; then
4202 result=no
4203 else
4204 result=yes
4205 fi
4206 else
4207 result=$wxUSE_DMALLOC
4208 fi
4209
4210 { echo "$as_me:$LINENO: result: $result" >&5
4211 echo "${ECHO_T}$result" >&6; }
4212
4213
4214 withstring=
4215 defaultval=$wxUSE_ALL_FEATURES
4216 if test -z "$defaultval"; then
4217 if test x"$withstring" = xwithout; then
4218 defaultval=yes
4219 else
4220 defaultval=no
4221 fi
4222 fi
4223 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4224 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4225
4226 # Check whether --with-sdl was given.
4227 if test "${with_sdl+set}" = set; then
4228 withval=$with_sdl;
4229 if test "$withval" = yes; then
4230 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
4231 else
4232 wx_cv_use_sdl='wxUSE_LIBSDL=no'
4233 fi
4234 cache=yes
4235
4236 else
4237
4238 LINE=`grep "^wxUSE_LIBSDL=" ${wx_arg_cache_file}`
4239 if test "x$LINE" != x ; then
4240 eval "DEFAULT_$LINE"
4241 cache=yes
4242 else
4243 cache=no
4244 fi
4245
4246 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4247
4248 fi
4249
4250
4251 eval "$wx_cv_use_sdl"
4252 if test "x$cache" = xyes; then
4253 echo "wxUSE_LIBSDL=$wxUSE_LIBSDL" >> ${wx_arg_cache_file}.tmp
4254 fi
4255
4256 if test x"$withstring" = xwithout; then
4257 if test $wxUSE_LIBSDL = yes; then
4258 result=no
4259 else
4260 result=yes
4261 fi
4262 else
4263 result=$wxUSE_LIBSDL
4264 fi
4265
4266 { echo "$as_me:$LINENO: result: $result" >&5
4267 echo "${ECHO_T}$result" >&6; }
4268
4269
4270 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4271 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4272
4273 # Check whether --with-regex was given.
4274 if test "${with_regex+set}" = set; then
4275 withval=$with_regex;
4276 if test "$withval" = yes; then
4277 wx_cv_use_regex='wxUSE_REGEX=yes'
4278 elif test "$withval" = no; then
4279 wx_cv_use_regex='wxUSE_REGEX=no'
4280 elif test "$withval" = sys; then
4281 wx_cv_use_regex='wxUSE_REGEX=sys'
4282 elif test "$withval" = builtin; then
4283 wx_cv_use_regex='wxUSE_REGEX=builtin'
4284 else
4285 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4286 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4287 { (exit 1); exit 1; }; }
4288 fi
4289 cache=yes
4290
4291 else
4292
4293 LINE=`grep "^wxUSE_REGEX=" ${wx_arg_cache_file}`
4294 if test "x$LINE" != x ; then
4295 eval "DEFAULT_$LINE"
4296 cache=yes
4297 else
4298 cache=no
4299 fi
4300
4301 wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4302
4303 fi
4304
4305
4306 eval "$wx_cv_use_regex"
4307 if test "x$cache" = xyes; then
4308 echo "wxUSE_REGEX=$wxUSE_REGEX" >> ${wx_arg_cache_file}.tmp
4309 fi
4310
4311 if test "$wxUSE_REGEX" = yes; then
4312 { echo "$as_me:$LINENO: result: yes" >&5
4313 echo "${ECHO_T}yes" >&6; }
4314 elif test "$wxUSE_REGEX" = no; then
4315 { echo "$as_me:$LINENO: result: no" >&5
4316 echo "${ECHO_T}no" >&6; }
4317 elif test "$wxUSE_REGEX" = sys; then
4318 { echo "$as_me:$LINENO: result: system version" >&5
4319 echo "${ECHO_T}system version" >&6; }
4320 elif test "$wxUSE_REGEX" = builtin; then
4321 { echo "$as_me:$LINENO: result: builtin version" >&5
4322 echo "${ECHO_T}builtin version" >&6; }
4323 else
4324 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4325 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4326 { (exit 1); exit 1; }; }
4327 fi
4328
4329
4330 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4331 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4332
4333 # Check whether --with-zlib was given.
4334 if test "${with_zlib+set}" = set; then
4335 withval=$with_zlib;
4336 if test "$withval" = yes; then
4337 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4338 elif test "$withval" = no; then
4339 wx_cv_use_zlib='wxUSE_ZLIB=no'
4340 elif test "$withval" = sys; then
4341 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4342 elif test "$withval" = builtin; then
4343 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4344 else
4345 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4346 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4347 { (exit 1); exit 1; }; }
4348 fi
4349 cache=yes
4350
4351 else
4352
4353 LINE=`grep "^wxUSE_ZLIB=" ${wx_arg_cache_file}`
4354 if test "x$LINE" != x ; then
4355 eval "DEFAULT_$LINE"
4356 cache=yes
4357 else
4358 cache=no
4359 fi
4360
4361 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4362
4363 fi
4364
4365
4366 eval "$wx_cv_use_zlib"
4367 if test "x$cache" = xyes; then
4368 echo "wxUSE_ZLIB=$wxUSE_ZLIB" >> ${wx_arg_cache_file}.tmp
4369 fi
4370
4371 if test "$wxUSE_ZLIB" = yes; then
4372 { echo "$as_me:$LINENO: result: yes" >&5
4373 echo "${ECHO_T}yes" >&6; }
4374 elif test "$wxUSE_ZLIB" = no; then
4375 { echo "$as_me:$LINENO: result: no" >&5
4376 echo "${ECHO_T}no" >&6; }
4377 elif test "$wxUSE_ZLIB" = sys; then
4378 { echo "$as_me:$LINENO: result: system version" >&5
4379 echo "${ECHO_T}system version" >&6; }
4380 elif test "$wxUSE_ZLIB" = builtin; then
4381 { echo "$as_me:$LINENO: result: builtin version" >&5
4382 echo "${ECHO_T}builtin version" >&6; }
4383 else
4384 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4385 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4386 { (exit 1); exit 1; }; }
4387 fi
4388
4389
4390 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4391 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4392
4393 # Check whether --with-expat was given.
4394 if test "${with_expat+set}" = set; then
4395 withval=$with_expat;
4396 if test "$withval" = yes; then
4397 wx_cv_use_expat='wxUSE_EXPAT=yes'
4398 elif test "$withval" = no; then
4399 wx_cv_use_expat='wxUSE_EXPAT=no'
4400 elif test "$withval" = sys; then
4401 wx_cv_use_expat='wxUSE_EXPAT=sys'
4402 elif test "$withval" = builtin; then
4403 wx_cv_use_expat='wxUSE_EXPAT=builtin'
4404 else
4405 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4406 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4407 { (exit 1); exit 1; }; }
4408 fi
4409 cache=yes
4410
4411 else
4412
4413 LINE=`grep "^wxUSE_EXPAT=" ${wx_arg_cache_file}`
4414 if test "x$LINE" != x ; then
4415 eval "DEFAULT_$LINE"
4416 cache=yes
4417 else
4418 cache=no
4419 fi
4420
4421 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4422
4423 fi
4424
4425
4426 eval "$wx_cv_use_expat"
4427 if test "x$cache" = xyes; then
4428 echo "wxUSE_EXPAT=$wxUSE_EXPAT" >> ${wx_arg_cache_file}.tmp
4429 fi
4430
4431 if test "$wxUSE_EXPAT" = yes; then
4432 { echo "$as_me:$LINENO: result: yes" >&5
4433 echo "${ECHO_T}yes" >&6; }
4434 elif test "$wxUSE_EXPAT" = no; then
4435 { echo "$as_me:$LINENO: result: no" >&5
4436 echo "${ECHO_T}no" >&6; }
4437 elif test "$wxUSE_EXPAT" = sys; then
4438 { echo "$as_me:$LINENO: result: system version" >&5
4439 echo "${ECHO_T}system version" >&6; }
4440 elif test "$wxUSE_EXPAT" = builtin; then
4441 { echo "$as_me:$LINENO: result: builtin version" >&5
4442 echo "${ECHO_T}builtin version" >&6; }
4443 else
4444 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4445 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4446 { (exit 1); exit 1; }; }
4447 fi
4448
4449
4450 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4451 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4452
4453 # Check whether --with-macosx-sdk was given.
4454 if test "${with_macosx_sdk+set}" = set; then
4455 withval=$with_macosx_sdk;
4456 wxUSE_MACOSX_SDK=$withval
4457 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4458 echo "wxUSE_MACOSX_SDK=$wxUSE_MACOSX_SDK" >> ${wx_arg_cache_file}.tmp
4459
4460 else
4461
4462 # NOTE: Empty string on purpose so that --without-macosx-sdk (thus no)
4463 # will override --enable-universal_binary's automatic SDK usage.
4464 wxUSE_MACOSX_SDK=
4465 LINE=`grep "^wxUSE_MACOSX_SDK=" ${wx_arg_cache_file}`
4466 if test "x$LINE" != x ; then
4467 eval "$LINE"
4468 echo "$LINE" >> ${wx_arg_cache_file}.tmp
4469 fi
4470
4471 fi
4472
4473 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4474 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4475
4476 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4477 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4478
4479 # Check whether --with-macosx-version-min was given.
4480 if test "${with_macosx_version_min+set}" = set; then
4481 withval=$with_macosx_version_min;
4482 wxUSE_MACOSX_VERSION_MIN=$withval
4483 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4484 echo "wxUSE_MACOSX_VERSION_MIN=$wxUSE_MACOSX_VERSION_MIN" >> ${wx_arg_cache_file}.tmp
4485
4486 else
4487
4488 # default "yes" because when not using an SDK it means the same as no
4489 # but when using an SDK it means to use the SDK version
4490 wxUSE_MACOSX_VERSION_MIN=yes
4491 # See if there is a value in the cache
4492 LINE=`grep "^wxUSE_MACOSX_VERSION_MIN=" ${wx_arg_cache_file}`
4493 if test "x$LINE" != x ; then
4494 eval "$LINE"
4495 echo "$LINE" >> ${wx_arg_cache_file}.tmp
4496 fi
4497
4498 fi
4499
4500 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4501 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4502
4503
4504
4505 enablestring=disable
4506 defaultval=
4507 if test -z "$defaultval"; then
4508 if test x"$enablestring" = xdisable; then
4509 defaultval=yes
4510 else
4511 defaultval=no
4512 fi
4513 fi
4514
4515 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4516 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4517 # Check whether --enable-shared was given.
4518 if test "${enable_shared+set}" = set; then
4519 enableval=$enable_shared;
4520 if test "$enableval" = yes; then
4521 wx_cv_use_shared='wxUSE_SHARED=yes'
4522 else
4523 wx_cv_use_shared='wxUSE_SHARED=no'
4524 fi
4525 cache=yes
4526
4527 else
4528
4529 LINE=`grep "^wxUSE_SHARED=" ${wx_arg_cache_file}`
4530 if test "x$LINE" != x ; then
4531 eval "DEFAULT_$LINE"
4532 cache=yes
4533 else
4534 cache=no
4535 fi
4536
4537 wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4538
4539 fi
4540
4541
4542 eval "$wx_cv_use_shared"
4543 if test "x$cache" = xyes; then
4544 echo "wxUSE_SHARED=$wxUSE_SHARED" >> ${wx_arg_cache_file}.tmp
4545 fi
4546
4547 if test x"$enablestring" = xdisable; then
4548 if test $wxUSE_SHARED = yes; then
4549 result=no
4550 else
4551 result=yes
4552 fi
4553 else
4554 result=$wxUSE_SHARED
4555 fi
4556
4557 { echo "$as_me:$LINENO: result: $result" >&5
4558 echo "${ECHO_T}$result" >&6; }
4559
4560
4561 enablestring=disable
4562 defaultval=
4563 if test -z "$defaultval"; then
4564 if test x"$enablestring" = xdisable; then
4565 defaultval=yes
4566 else
4567 defaultval=no
4568 fi
4569 fi
4570
4571 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4572 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4573 # Check whether --enable-optimise was given.
4574 if test "${enable_optimise+set}" = set; then
4575 enableval=$enable_optimise;
4576 if test "$enableval" = yes; then
4577 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
4578 else
4579 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
4580 fi
4581 cache=yes
4582
4583 else
4584
4585 LINE=`grep "^wxUSE_OPTIMISE=" ${wx_arg_cache_file}`
4586 if test "x$LINE" != x ; then
4587 eval "DEFAULT_$LINE"
4588 cache=yes
4589 else
4590 cache=no
4591 fi
4592
4593 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
4594
4595 fi
4596
4597
4598 eval "$wx_cv_use_optimise"
4599 if test "x$cache" = xyes; then
4600 echo "wxUSE_OPTIMISE=$wxUSE_OPTIMISE" >> ${wx_arg_cache_file}.tmp
4601 fi
4602
4603 if test x"$enablestring" = xdisable; then
4604 if test $wxUSE_OPTIMISE = yes; then
4605 result=no
4606 else
4607 result=yes
4608 fi
4609 else
4610 result=$wxUSE_OPTIMISE
4611 fi
4612
4613 { echo "$as_me:$LINENO: result: $result" >&5
4614 echo "${ECHO_T}$result" >&6; }
4615
4616
4617 enablestring=
4618 defaultval=
4619 if test -z "$defaultval"; then
4620 if test x"$enablestring" = xdisable; then
4621 defaultval=yes
4622 else
4623 defaultval=no
4624 fi
4625 fi
4626
4627 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
4628 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6; }
4629 # Check whether --enable-debug was given.
4630 if test "${enable_debug+set}" = set; then
4631 enableval=$enable_debug;
4632 if test "$enableval" = yes; then
4633 wx_cv_use_debug='wxUSE_DEBUG=yes'
4634 else
4635 wx_cv_use_debug='wxUSE_DEBUG=no'
4636 fi
4637 cache=yes
4638
4639 else
4640
4641 LINE=`grep "^wxUSE_DEBUG=" ${wx_arg_cache_file}`
4642 if test "x$LINE" != x ; then
4643 eval "DEFAULT_$LINE"
4644 cache=yes
4645 else
4646 cache=no
4647 fi
4648
4649 wx_cv_use_debug='wxUSE_DEBUG=${'DEFAULT_wxUSE_DEBUG":-$defaultval}"
4650
4651 fi
4652
4653
4654 eval "$wx_cv_use_debug"
4655 if test "x$cache" = xyes; then
4656 echo "wxUSE_DEBUG=$wxUSE_DEBUG" >> ${wx_arg_cache_file}.tmp
4657 fi
4658
4659 if test x"$enablestring" = xdisable; then
4660 if test $wxUSE_DEBUG = yes; then
4661 result=no
4662 else
4663 result=yes
4664 fi
4665 else
4666 result=$wxUSE_DEBUG
4667 fi
4668
4669 { echo "$as_me:$LINENO: result: $result" >&5
4670 echo "${ECHO_T}$result" >&6; }
4671
4672
4673 enablestring=
4674 defaultval=
4675 if test -z "$defaultval"; then
4676 if test x"$enablestring" = xdisable; then
4677 defaultval=yes
4678 else
4679 defaultval=no
4680 fi
4681 fi
4682
4683 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4684 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4685 # Check whether --enable-stl was given.
4686 if test "${enable_stl+set}" = set; then
4687 enableval=$enable_stl;
4688 if test "$enableval" = yes; then
4689 wx_cv_use_stl='wxUSE_STL=yes'
4690 else
4691 wx_cv_use_stl='wxUSE_STL=no'
4692 fi
4693 cache=yes
4694
4695 else
4696
4697 LINE=`grep "^wxUSE_STL=" ${wx_arg_cache_file}`
4698 if test "x$LINE" != x ; then
4699 eval "DEFAULT_$LINE"
4700 cache=yes
4701 else
4702 cache=no
4703 fi
4704
4705 wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4706
4707 fi
4708
4709
4710 eval "$wx_cv_use_stl"
4711 if test "x$cache" = xyes; then
4712 echo "wxUSE_STL=$wxUSE_STL" >> ${wx_arg_cache_file}.tmp
4713 fi
4714
4715 if test x"$enablestring" = xdisable; then
4716 if test $wxUSE_STL = yes; then
4717 result=no
4718 else
4719 result=yes
4720 fi
4721 else
4722 result=$wxUSE_STL
4723 fi
4724
4725 { echo "$as_me:$LINENO: result: $result" >&5
4726 echo "${ECHO_T}$result" >&6; }
4727
4728
4729 enablestring=
4730 defaultval=
4731 if test -z "$defaultval"; then
4732 if test x"$enablestring" = xdisable; then
4733 defaultval=yes
4734 else
4735 defaultval=no
4736 fi
4737 fi
4738
4739 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4740 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4741 # Check whether --enable-std_iostreams was given.
4742 if test "${enable_std_iostreams+set}" = set; then
4743 enableval=$enable_std_iostreams;
4744 if test "$enableval" = yes; then
4745 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4746 else
4747 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4748 fi
4749 cache=yes
4750
4751 else
4752
4753 LINE=`grep "^wxUSE_STD_IOSTREAM=" ${wx_arg_cache_file}`
4754 if test "x$LINE" != x ; then
4755 eval "DEFAULT_$LINE"
4756 cache=yes
4757 else
4758 cache=no
4759 fi
4760
4761 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4762
4763 fi
4764
4765
4766 eval "$wx_cv_use_std_iostreams"
4767 if test "x$cache" = xyes; then
4768 echo "wxUSE_STD_IOSTREAM=$wxUSE_STD_IOSTREAM" >> ${wx_arg_cache_file}.tmp
4769 fi
4770
4771 if test x"$enablestring" = xdisable; then
4772 if test $wxUSE_STD_IOSTREAM = yes; then
4773 result=no
4774 else
4775 result=yes
4776 fi
4777 else
4778 result=$wxUSE_STD_IOSTREAM
4779 fi
4780
4781 { echo "$as_me:$LINENO: result: $result" >&5
4782 echo "${ECHO_T}$result" >&6; }
4783
4784
4785 enablestring=
4786 defaultval=
4787 if test -z "$defaultval"; then
4788 if test x"$enablestring" = xdisable; then
4789 defaultval=yes
4790 else
4791 defaultval=no
4792 fi
4793 fi
4794
4795 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4796 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4797 # Check whether --enable-std_string was given.
4798 if test "${enable_std_string+set}" = set; then
4799 enableval=$enable_std_string;
4800 if test "$enableval" = yes; then
4801 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4802 else
4803 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4804 fi
4805 cache=yes
4806
4807 else
4808
4809 LINE=`grep "^wxUSE_STD_STRING=" ${wx_arg_cache_file}`
4810 if test "x$LINE" != x ; then
4811 eval "DEFAULT_$LINE"
4812 cache=yes
4813 else
4814 cache=no
4815 fi
4816
4817 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4818
4819 fi
4820
4821
4822 eval "$wx_cv_use_std_string"
4823 if test "x$cache" = xyes; then
4824 echo "wxUSE_STD_STRING=$wxUSE_STD_STRING" >> ${wx_arg_cache_file}.tmp
4825 fi
4826
4827 if test x"$enablestring" = xdisable; then
4828 if test $wxUSE_STD_STRING = yes; then
4829 result=no
4830 else
4831 result=yes
4832 fi
4833 else
4834 result=$wxUSE_STD_STRING
4835 fi
4836
4837 { echo "$as_me:$LINENO: result: $result" >&5
4838 echo "${ECHO_T}$result" >&6; }
4839
4840
4841 enablestring=disable
4842 defaultval=
4843 if test -z "$defaultval"; then
4844 if test x"$enablestring" = xdisable; then
4845 defaultval=yes
4846 else
4847 defaultval=no
4848 fi
4849 fi
4850
4851 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4852 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4853 # Check whether --enable-unicode was given.
4854 if test "${enable_unicode+set}" = set; then
4855 enableval=$enable_unicode;
4856 if test "$enableval" = yes; then
4857 wx_cv_use_unicode='wxUSE_UNICODE=yes'
4858 else
4859 wx_cv_use_unicode='wxUSE_UNICODE=no'
4860 fi
4861 cache=yes
4862
4863 else
4864
4865 LINE=`grep "^wxUSE_UNICODE=" ${wx_arg_cache_file}`
4866 if test "x$LINE" != x ; then
4867 eval "DEFAULT_$LINE"
4868 cache=yes
4869 else
4870 cache=no
4871 fi
4872
4873 wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4874
4875 fi
4876
4877
4878 eval "$wx_cv_use_unicode"
4879 if test "x$cache" = xyes; then
4880 echo "wxUSE_UNICODE=$wxUSE_UNICODE" >> ${wx_arg_cache_file}.tmp
4881 fi
4882
4883 if test x"$enablestring" = xdisable; then
4884 if test $wxUSE_UNICODE = yes; then
4885 result=no
4886 else
4887 result=yes
4888 fi
4889 else
4890 result=$wxUSE_UNICODE
4891 fi
4892
4893 { echo "$as_me:$LINENO: result: $result" >&5
4894 echo "${ECHO_T}$result" >&6; }
4895
4896
4897 enablestring=
4898 defaultval=
4899 if test -z "$defaultval"; then
4900 if test x"$enablestring" = xdisable; then
4901 defaultval=yes
4902 else
4903 defaultval=no
4904 fi
4905 fi
4906
4907 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4908 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
4909 # Check whether --enable-mslu was given.
4910 if test "${enable_mslu+set}" = set; then
4911 enableval=$enable_mslu;
4912 if test "$enableval" = yes; then
4913 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4914 else
4915 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4916 fi
4917 cache=yes
4918
4919 else
4920
4921 LINE=`grep "^wxUSE_UNICODE_MSLU=" ${wx_arg_cache_file}`
4922 if test "x$LINE" != x ; then
4923 eval "DEFAULT_$LINE"
4924 cache=yes
4925 else
4926 cache=no
4927 fi
4928
4929 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4930
4931 fi
4932
4933
4934 eval "$wx_cv_use_mslu"
4935 if test "x$cache" = xyes; then
4936 echo "wxUSE_UNICODE_MSLU=$wxUSE_UNICODE_MSLU" >> ${wx_arg_cache_file}.tmp
4937 fi
4938
4939 if test x"$enablestring" = xdisable; then
4940 if test $wxUSE_UNICODE_MSLU = yes; then
4941 result=no
4942 else
4943 result=yes
4944 fi
4945 else
4946 result=$wxUSE_UNICODE_MSLU
4947 fi
4948
4949 { echo "$as_me:$LINENO: result: $result" >&5
4950 echo "${ECHO_T}$result" >&6; }
4951
4952
4953 enablestring=
4954 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
4955 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
4956 # Check whether --enable-utf8 was given.
4957 if test "${enable_utf8+set}" = set; then
4958 enableval=$enable_utf8;
4959 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
4960 cache=yes
4961
4962 else
4963
4964 LINE=`grep "^wxUSE_UNICODE_UTF8=" ${wx_arg_cache_file}`
4965 if test "x$LINE" != x ; then
4966 eval "DEFAULT_$LINE"
4967 cache=yes
4968 else
4969 cache=no
4970 fi
4971
4972 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4973
4974 fi
4975
4976
4977 eval "$wx_cv_use_utf8"
4978 if test "x$cache" = xyes; then
4979 echo "wxUSE_UNICODE_UTF8=$wxUSE_UNICODE_UTF8" >> ${wx_arg_cache_file}.tmp
4980 fi
4981
4982 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
4983 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4984
4985
4986 enablestring=
4987 defaultval=
4988 if test -z "$defaultval"; then
4989 if test x"$enablestring" = xdisable; then
4990 defaultval=yes
4991 else
4992 defaultval=no
4993 fi
4994 fi
4995
4996 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
4997 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
4998 # Check whether --enable-utf8only was given.
4999 if test "${enable_utf8only+set}" = set; then
5000 enableval=$enable_utf8only;
5001 if test "$enableval" = yes; then
5002 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
5003 else
5004 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
5005 fi
5006 cache=yes
5007
5008 else
5009
5010 LINE=`grep "^wxUSE_UNICODE_UTF8_LOCALE=" ${wx_arg_cache_file}`
5011 if test "x$LINE" != x ; then
5012 eval "DEFAULT_$LINE"
5013 cache=yes
5014 else
5015 cache=no
5016 fi
5017
5018 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
5019
5020 fi
5021
5022
5023 eval "$wx_cv_use_utf8only"
5024 if test "x$cache" = xyes; then
5025 echo "wxUSE_UNICODE_UTF8_LOCALE=$wxUSE_UNICODE_UTF8_LOCALE" >> ${wx_arg_cache_file}.tmp
5026 fi
5027
5028 if test x"$enablestring" = xdisable; then
5029 if test $wxUSE_UNICODE_UTF8_LOCALE = yes; then
5030 result=no
5031 else
5032 result=yes
5033 fi
5034 else
5035 result=$wxUSE_UNICODE_UTF8_LOCALE
5036 fi
5037
5038 { echo "$as_me:$LINENO: result: $result" >&5
5039 echo "${ECHO_T}$result" >&6; }
5040
5041
5042 enablestring=
5043 defaultval=
5044 if test -z "$defaultval"; then
5045 if test x"$enablestring" = xdisable; then
5046 defaultval=yes
5047 else
5048 defaultval=no
5049 fi
5050 fi
5051
5052 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
5053 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
5054 # Check whether --enable-extended_rtti was given.
5055 if test "${enable_extended_rtti+set}" = set; then
5056 enableval=$enable_extended_rtti;
5057 if test "$enableval" = yes; then
5058 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
5059 else
5060 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
5061 fi
5062 cache=yes
5063
5064 else
5065
5066 LINE=`grep "^wxUSE_EXTENDED_RTTI=" ${wx_arg_cache_file}`
5067 if test "x$LINE" != x ; then
5068 eval "DEFAULT_$LINE"
5069 cache=yes
5070 else
5071 cache=no
5072 fi
5073
5074 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
5075
5076 fi
5077
5078
5079 eval "$wx_cv_use_extended_rtti"
5080 if test "x$cache" = xyes; then
5081 echo "wxUSE_EXTENDED_RTTI=$wxUSE_EXTENDED_RTTI" >> ${wx_arg_cache_file}.tmp
5082 fi
5083
5084 if test x"$enablestring" = xdisable; then
5085 if test $wxUSE_EXTENDED_RTTI = yes; then
5086 result=no
5087 else
5088 result=yes
5089 fi
5090 else
5091 result=$wxUSE_EXTENDED_RTTI
5092 fi
5093
5094 { echo "$as_me:$LINENO: result: $result" >&5
5095 echo "${ECHO_T}$result" >&6; }
5096
5097 if test "$USE_OS2" = 1; then
5098 DEFAULT_wxUSE_OMF=no
5099
5100 enablestring=
5101 defaultval=
5102 if test -z "$defaultval"; then
5103 if test x"$enablestring" = xdisable; then
5104 defaultval=yes
5105 else
5106 defaultval=no
5107 fi
5108 fi
5109
5110 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
5111 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
5112 # Check whether --enable-omf was given.
5113 if test "${enable_omf+set}" = set; then
5114 enableval=$enable_omf;
5115 if test "$enableval" = yes; then
5116 wx_cv_use_omf='wxUSE_OMF=yes'
5117 else
5118 wx_cv_use_omf='wxUSE_OMF=no'
5119 fi
5120 cache=yes
5121
5122 else
5123
5124 LINE=`grep "^wxUSE_OMF=" ${wx_arg_cache_file}`
5125 if test "x$LINE" != x ; then
5126 eval "DEFAULT_$LINE"
5127 cache=yes
5128 else
5129 cache=no
5130 fi
5131
5132 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
5133
5134 fi
5135
5136
5137 eval "$wx_cv_use_omf"
5138 if test "x$cache" = xyes; then
5139 echo "wxUSE_OMF=$wxUSE_OMF" >> ${wx_arg_cache_file}.tmp
5140 fi
5141
5142 if test x"$enablestring" = xdisable; then
5143 if test $wxUSE_OMF = yes; then
5144 result=no
5145 else
5146 result=yes
5147 fi
5148 else
5149 result=$wxUSE_OMF
5150 fi
5151
5152 { echo "$as_me:$LINENO: result: $result" >&5
5153 echo "${ECHO_T}$result" >&6; }
5154
5155 fi
5156
5157 if test "$wxUSE_DEBUG" = "yes"; then
5158 DEFAULT_wxUSE_DEBUG_FLAG=yes
5159 DEFAULT_wxUSE_DEBUG_INFO=yes
5160 BUILD=debug
5161 elif test "$wxUSE_DEBUG" = "no"; then
5162 DEFAULT_wxUSE_DEBUG_FLAG=no
5163 DEFAULT_wxUSE_DEBUG_INFO=no
5164 BUILD=release
5165 fi
5166
5167
5168 enablestring=
5169 defaultval=
5170 if test -z "$defaultval"; then
5171 if test x"$enablestring" = xdisable; then
5172 defaultval=yes
5173 else
5174 defaultval=no
5175 fi
5176 fi
5177
5178 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
5179 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
5180 # Check whether --enable-debug_flag was given.
5181 if test "${enable_debug_flag+set}" = set; then
5182 enableval=$enable_debug_flag;
5183 if test "$enableval" = yes; then
5184 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
5185 else
5186 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
5187 fi
5188 cache=yes
5189
5190 else
5191
5192 LINE=`grep "^wxUSE_DEBUG_FLAG=" ${wx_arg_cache_file}`
5193 if test "x$LINE" != x ; then
5194 eval "DEFAULT_$LINE"
5195 cache=yes
5196 else
5197 cache=no
5198 fi
5199
5200 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
5201
5202 fi
5203
5204
5205 eval "$wx_cv_use_debug_flag"
5206 if test "x$cache" = xyes; then
5207 echo "wxUSE_DEBUG_FLAG=$wxUSE_DEBUG_FLAG" >> ${wx_arg_cache_file}.tmp
5208 fi
5209
5210 if test x"$enablestring" = xdisable; then
5211 if test $wxUSE_DEBUG_FLAG = yes; then
5212 result=no
5213 else
5214 result=yes
5215 fi
5216 else
5217 result=$wxUSE_DEBUG_FLAG
5218 fi
5219
5220 { echo "$as_me:$LINENO: result: $result" >&5
5221 echo "${ECHO_T}$result" >&6; }
5222
5223
5224 enablestring=
5225 defaultval=
5226 if test -z "$defaultval"; then
5227 if test x"$enablestring" = xdisable; then
5228 defaultval=yes
5229 else
5230 defaultval=no
5231 fi
5232 fi
5233
5234 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
5235 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
5236 # Check whether --enable-debug_info was given.
5237 if test "${enable_debug_info+set}" = set; then
5238 enableval=$enable_debug_info;
5239 if test "$enableval" = yes; then
5240 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
5241 else
5242 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
5243 fi
5244 cache=yes
5245
5246 else
5247
5248 LINE=`grep "^wxUSE_DEBUG_INFO=" ${wx_arg_cache_file}`
5249 if test "x$LINE" != x ; then
5250 eval "DEFAULT_$LINE"
5251 cache=yes
5252 else
5253 cache=no
5254 fi
5255
5256 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
5257
5258 fi
5259
5260
5261 eval "$wx_cv_use_debug_info"
5262 if test "x$cache" = xyes; then
5263 echo "wxUSE_DEBUG_INFO=$wxUSE_DEBUG_INFO" >> ${wx_arg_cache_file}.tmp
5264 fi
5265
5266 if test x"$enablestring" = xdisable; then
5267 if test $wxUSE_DEBUG_INFO = yes; then
5268 result=no
5269 else
5270 result=yes
5271 fi
5272 else
5273 result=$wxUSE_DEBUG_INFO
5274 fi
5275
5276 { echo "$as_me:$LINENO: result: $result" >&5
5277 echo "${ECHO_T}$result" >&6; }
5278
5279
5280 enablestring=
5281 defaultval=
5282 if test -z "$defaultval"; then
5283 if test x"$enablestring" = xdisable; then
5284 defaultval=yes
5285 else
5286 defaultval=no
5287 fi
5288 fi
5289
5290 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
5291 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
5292 # Check whether --enable-debug_gdb was given.
5293 if test "${enable_debug_gdb+set}" = set; then
5294 enableval=$enable_debug_gdb;
5295 if test "$enableval" = yes; then
5296 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
5297 else
5298 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
5299 fi
5300 cache=yes
5301
5302 else
5303
5304 LINE=`grep "^wxUSE_DEBUG_GDB=" ${wx_arg_cache_file}`
5305 if test "x$LINE" != x ; then
5306 eval "DEFAULT_$LINE"
5307 cache=yes
5308 else
5309 cache=no
5310 fi
5311
5312 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
5313
5314 fi
5315
5316
5317 eval "$wx_cv_use_debug_gdb"
5318 if test "x$cache" = xyes; then
5319 echo "wxUSE_DEBUG_GDB=$wxUSE_DEBUG_GDB" >> ${wx_arg_cache_file}.tmp
5320 fi
5321
5322 if test x"$enablestring" = xdisable; then
5323 if test $wxUSE_DEBUG_GDB = yes; then
5324 result=no
5325 else
5326 result=yes
5327 fi
5328 else
5329 result=$wxUSE_DEBUG_GDB
5330 fi
5331
5332 { echo "$as_me:$LINENO: result: $result" >&5
5333 echo "${ECHO_T}$result" >&6; }
5334
5335
5336 enablestring=
5337 defaultval=
5338 if test -z "$defaultval"; then
5339 if test x"$enablestring" = xdisable; then
5340 defaultval=yes
5341 else
5342 defaultval=no
5343 fi
5344 fi
5345
5346 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
5347 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
5348 # Check whether --enable-debug_cntxt was given.
5349 if test "${enable_debug_cntxt+set}" = set; then
5350 enableval=$enable_debug_cntxt;
5351 if test "$enableval" = yes; then
5352 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
5353 else
5354 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
5355 fi
5356 cache=yes
5357
5358 else
5359
5360 LINE=`grep "^wxUSE_DEBUG_CONTEXT=" ${wx_arg_cache_file}`
5361 if test "x$LINE" != x ; then
5362 eval "DEFAULT_$LINE"
5363 cache=yes
5364 else
5365 cache=no
5366 fi
5367
5368 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
5369
5370 fi
5371
5372
5373 eval "$wx_cv_use_debug_cntxt"
5374 if test "x$cache" = xyes; then
5375 echo "wxUSE_DEBUG_CONTEXT=$wxUSE_DEBUG_CONTEXT" >> ${wx_arg_cache_file}.tmp
5376 fi
5377
5378 if test x"$enablestring" = xdisable; then
5379 if test $wxUSE_DEBUG_CONTEXT = yes; then
5380 result=no
5381 else
5382 result=yes
5383 fi
5384 else
5385 result=$wxUSE_DEBUG_CONTEXT
5386 fi
5387
5388 { echo "$as_me:$LINENO: result: $result" >&5
5389 echo "${ECHO_T}$result" >&6; }
5390
5391
5392 enablestring=
5393 defaultval=
5394 if test -z "$defaultval"; then
5395 if test x"$enablestring" = xdisable; then
5396 defaultval=yes
5397 else
5398 defaultval=no
5399 fi
5400 fi
5401
5402 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
5403 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
5404 # Check whether --enable-mem_tracing was given.
5405 if test "${enable_mem_tracing+set}" = set; then
5406 enableval=$enable_mem_tracing;
5407 if test "$enableval" = yes; then
5408 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
5409 else
5410 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
5411 fi
5412 cache=yes
5413
5414 else
5415
5416 LINE=`grep "^wxUSE_MEM_TRACING=" ${wx_arg_cache_file}`
5417 if test "x$LINE" != x ; then
5418 eval "DEFAULT_$LINE"
5419 cache=yes
5420 else
5421 cache=no
5422 fi
5423
5424 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
5425
5426 fi
5427
5428
5429 eval "$wx_cv_use_mem_tracing"
5430 if test "x$cache" = xyes; then
5431 echo "wxUSE_MEM_TRACING=$wxUSE_MEM_TRACING" >> ${wx_arg_cache_file}.tmp
5432 fi
5433
5434 if test x"$enablestring" = xdisable; then
5435 if test $wxUSE_MEM_TRACING = yes; then
5436 result=no
5437 else
5438 result=yes
5439 fi
5440 else
5441 result=$wxUSE_MEM_TRACING
5442 fi
5443
5444 { echo "$as_me:$LINENO: result: $result" >&5
5445 echo "${ECHO_T}$result" >&6; }
5446
5447
5448 enablestring=
5449 defaultval=
5450 if test -z "$defaultval"; then
5451 if test x"$enablestring" = xdisable; then
5452 defaultval=yes
5453 else
5454 defaultval=no
5455 fi
5456 fi
5457
5458 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5459 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5460 # Check whether --enable-profile was given.
5461 if test "${enable_profile+set}" = set; then
5462 enableval=$enable_profile;
5463 if test "$enableval" = yes; then
5464 wx_cv_use_profile='wxUSE_PROFILE=yes'
5465 else
5466 wx_cv_use_profile='wxUSE_PROFILE=no'
5467 fi
5468 cache=yes
5469
5470 else
5471
5472 LINE=`grep "^wxUSE_PROFILE=" ${wx_arg_cache_file}`
5473 if test "x$LINE" != x ; then
5474 eval "DEFAULT_$LINE"
5475 cache=yes
5476 else
5477 cache=no
5478 fi
5479
5480 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5481
5482 fi
5483
5484
5485 eval "$wx_cv_use_profile"
5486 if test "x$cache" = xyes; then
5487 echo "wxUSE_PROFILE=$wxUSE_PROFILE" >> ${wx_arg_cache_file}.tmp
5488 fi
5489
5490 if test x"$enablestring" = xdisable; then
5491 if test $wxUSE_PROFILE = yes; then
5492 result=no
5493 else
5494 result=yes
5495 fi
5496 else
5497 result=$wxUSE_PROFILE
5498 fi
5499
5500 { echo "$as_me:$LINENO: result: $result" >&5
5501 echo "${ECHO_T}$result" >&6; }
5502
5503
5504 enablestring=
5505 defaultval=
5506 if test -z "$defaultval"; then
5507 if test x"$enablestring" = xdisable; then
5508 defaultval=yes
5509 else
5510 defaultval=no
5511 fi
5512 fi
5513
5514 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5515 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5516 # Check whether --enable-no_rtti was given.
5517 if test "${enable_no_rtti+set}" = set; then
5518 enableval=$enable_no_rtti;
5519 if test "$enableval" = yes; then
5520 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5521 else
5522 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5523 fi
5524 cache=yes
5525
5526 else
5527
5528 LINE=`grep "^wxUSE_NO_RTTI=" ${wx_arg_cache_file}`
5529 if test "x$LINE" != x ; then
5530 eval "DEFAULT_$LINE"
5531 cache=yes
5532 else
5533 cache=no
5534 fi
5535
5536 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5537
5538 fi
5539
5540
5541 eval "$wx_cv_use_no_rtti"
5542 if test "x$cache" = xyes; then
5543 echo "wxUSE_NO_RTTI=$wxUSE_NO_RTTI" >> ${wx_arg_cache_file}.tmp
5544 fi
5545
5546 if test x"$enablestring" = xdisable; then
5547 if test $wxUSE_NO_RTTI = yes; then
5548 result=no
5549 else
5550 result=yes
5551 fi
5552 else
5553 result=$wxUSE_NO_RTTI
5554 fi
5555
5556 { echo "$as_me:$LINENO: result: $result" >&5
5557 echo "${ECHO_T}$result" >&6; }
5558
5559
5560 enablestring=
5561 defaultval=
5562 if test -z "$defaultval"; then
5563 if test x"$enablestring" = xdisable; then
5564 defaultval=yes
5565 else
5566 defaultval=no
5567 fi
5568 fi
5569
5570 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5571 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5572 # Check whether --enable-no_exceptions was given.
5573 if test "${enable_no_exceptions+set}" = set; then
5574 enableval=$enable_no_exceptions;
5575 if test "$enableval" = yes; then
5576 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5577 else
5578 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5579 fi
5580 cache=yes
5581
5582 else
5583
5584 LINE=`grep "^wxUSE_NO_EXCEPTIONS=" ${wx_arg_cache_file}`
5585 if test "x$LINE" != x ; then
5586 eval "DEFAULT_$LINE"
5587 cache=yes
5588 else
5589 cache=no
5590 fi
5591
5592 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5593
5594 fi
5595
5596
5597 eval "$wx_cv_use_no_exceptions"
5598 if test "x$cache" = xyes; then
5599 echo "wxUSE_NO_EXCEPTIONS=$wxUSE_NO_EXCEPTIONS" >> ${wx_arg_cache_file}.tmp
5600 fi
5601
5602 if test x"$enablestring" = xdisable; then
5603 if test $wxUSE_NO_EXCEPTIONS = yes; then
5604 result=no
5605 else
5606 result=yes
5607 fi
5608 else
5609 result=$wxUSE_NO_EXCEPTIONS
5610 fi
5611
5612 { echo "$as_me:$LINENO: result: $result" >&5
5613 echo "${ECHO_T}$result" >&6; }
5614
5615
5616 enablestring=
5617 defaultval=
5618 if test -z "$defaultval"; then
5619 if test x"$enablestring" = xdisable; then
5620 defaultval=yes
5621 else
5622 defaultval=no
5623 fi
5624 fi
5625
5626 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5627 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5628 # Check whether --enable-permissive was given.
5629 if test "${enable_permissive+set}" = set; then
5630 enableval=$enable_permissive;
5631 if test "$enableval" = yes; then
5632 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5633 else
5634 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5635 fi
5636 cache=yes
5637
5638 else
5639
5640 LINE=`grep "^wxUSE_PERMISSIVE=" ${wx_arg_cache_file}`
5641 if test "x$LINE" != x ; then
5642 eval "DEFAULT_$LINE"
5643 cache=yes
5644 else
5645 cache=no
5646 fi
5647
5648 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5649
5650 fi
5651
5652
5653 eval "$wx_cv_use_permissive"
5654 if test "x$cache" = xyes; then
5655 echo "wxUSE_PERMISSIVE=$wxUSE_PERMISSIVE" >> ${wx_arg_cache_file}.tmp
5656 fi
5657
5658 if test x"$enablestring" = xdisable; then
5659 if test $wxUSE_PERMISSIVE = yes; then
5660 result=no
5661 else
5662 result=yes
5663 fi
5664 else
5665 result=$wxUSE_PERMISSIVE
5666 fi
5667
5668 { echo "$as_me:$LINENO: result: $result" >&5
5669 echo "${ECHO_T}$result" >&6; }
5670
5671
5672 enablestring=
5673 defaultval=
5674 if test -z "$defaultval"; then
5675 if test x"$enablestring" = xdisable; then
5676 defaultval=yes
5677 else
5678 defaultval=no
5679 fi
5680 fi
5681
5682 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5683 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5684 # Check whether --enable-no_deps was given.
5685 if test "${enable_no_deps+set}" = set; then
5686 enableval=$enable_no_deps;
5687 if test "$enableval" = yes; then
5688 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5689 else
5690 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5691 fi
5692 cache=yes
5693
5694 else
5695
5696 LINE=`grep "^wxUSE_NO_DEPS=" ${wx_arg_cache_file}`
5697 if test "x$LINE" != x ; then
5698 eval "DEFAULT_$LINE"
5699 cache=yes
5700 else
5701 cache=no
5702 fi
5703
5704 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5705
5706 fi
5707
5708
5709 eval "$wx_cv_use_no_deps"
5710 if test "x$cache" = xyes; then
5711 echo "wxUSE_NO_DEPS=$wxUSE_NO_DEPS" >> ${wx_arg_cache_file}.tmp
5712 fi
5713
5714 if test x"$enablestring" = xdisable; then
5715 if test $wxUSE_NO_DEPS = yes; then
5716 result=no
5717 else
5718 result=yes
5719 fi
5720 else
5721 result=$wxUSE_NO_DEPS
5722 fi
5723
5724 { echo "$as_me:$LINENO: result: $result" >&5
5725 echo "${ECHO_T}$result" >&6; }
5726
5727
5728 enablestring=disable
5729 defaultval=
5730 if test -z "$defaultval"; then
5731 if test x"$enablestring" = xdisable; then
5732 defaultval=yes
5733 else
5734 defaultval=no
5735 fi
5736 fi
5737
5738 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5739 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5740 # Check whether --enable-vararg_macros was given.
5741 if test "${enable_vararg_macros+set}" = set; then
5742 enableval=$enable_vararg_macros;
5743 if test "$enableval" = yes; then
5744 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5745 else
5746 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5747 fi
5748 cache=yes
5749
5750 else
5751
5752 LINE=`grep "^wxUSE_VARARG_MACROS=" ${wx_arg_cache_file}`
5753 if test "x$LINE" != x ; then
5754 eval "DEFAULT_$LINE"
5755 cache=yes
5756 else
5757 cache=no
5758 fi
5759
5760 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5761
5762 fi
5763
5764
5765 eval "$wx_cv_use_vararg_macros"
5766 if test "x$cache" = xyes; then
5767 echo "wxUSE_VARARG_MACROS=$wxUSE_VARARG_MACROS" >> ${wx_arg_cache_file}.tmp
5768 fi
5769
5770 if test x"$enablestring" = xdisable; then
5771 if test $wxUSE_VARARG_MACROS = yes; then
5772 result=no
5773 else
5774 result=yes
5775 fi
5776 else
5777 result=$wxUSE_VARARG_MACROS
5778 fi
5779
5780 { echo "$as_me:$LINENO: result: $result" >&5
5781 echo "${ECHO_T}$result" >&6; }
5782
5783
5784 enablestring=
5785 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5786 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5787 # Check whether --enable-universal_binary was given.
5788 if test "${enable_universal_binary+set}" = set; then
5789 enableval=$enable_universal_binary;
5790 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5791 cache=yes
5792
5793 else
5794
5795 LINE=`grep "^wxUSE_UNIVERSAL_BINARY=" ${wx_arg_cache_file}`
5796 if test "x$LINE" != x ; then
5797 eval "DEFAULT_$LINE"
5798 cache=yes
5799 else
5800 cache=no
5801 fi
5802
5803 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5804
5805 fi
5806
5807
5808 eval "$wx_cv_use_universal_binary"
5809 if test "x$cache" = xyes; then
5810 echo "wxUSE_UNIVERSAL_BINARY=$wxUSE_UNIVERSAL_BINARY" >> ${wx_arg_cache_file}.tmp
5811 fi
5812
5813 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5814 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5815
5816
5817
5818 enablestring=
5819 defaultval=
5820 if test -z "$defaultval"; then
5821 if test x"$enablestring" = xdisable; then
5822 defaultval=yes
5823 else
5824 defaultval=no
5825 fi
5826 fi
5827
5828 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5829 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5830 # Check whether --enable-compat26 was given.
5831 if test "${enable_compat26+set}" = set; then
5832 enableval=$enable_compat26;
5833 if test "$enableval" = yes; then
5834 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5835 else
5836 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5837 fi
5838 cache=yes
5839
5840 else
5841
5842 LINE=`grep "^WXWIN_COMPATIBILITY_2_6=" ${wx_arg_cache_file}`
5843 if test "x$LINE" != x ; then
5844 eval "DEFAULT_$LINE"
5845 cache=yes
5846 else
5847 cache=no
5848 fi
5849
5850 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5851
5852 fi
5853
5854
5855 eval "$wx_cv_use_compat26"
5856 if test "x$cache" = xyes; then
5857 echo "WXWIN_COMPATIBILITY_2_6=$WXWIN_COMPATIBILITY_2_6" >> ${wx_arg_cache_file}.tmp
5858 fi
5859
5860 if test x"$enablestring" = xdisable; then
5861 if test $WXWIN_COMPATIBILITY_2_6 = yes; then
5862 result=no
5863 else
5864 result=yes
5865 fi
5866 else
5867 result=$WXWIN_COMPATIBILITY_2_6
5868 fi
5869
5870 { echo "$as_me:$LINENO: result: $result" >&5
5871 echo "${ECHO_T}$result" >&6; }
5872
5873
5874 enablestring=disable
5875 defaultval=
5876 if test -z "$defaultval"; then
5877 if test x"$enablestring" = xdisable; then
5878 defaultval=yes
5879 else
5880 defaultval=no
5881 fi
5882 fi
5883
5884 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5885 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5886 # Check whether --enable-compat28 was given.
5887 if test "${enable_compat28+set}" = set; then
5888 enableval=$enable_compat28;
5889 if test "$enableval" = yes; then
5890 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5891 else
5892 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5893 fi
5894 cache=yes
5895
5896 else
5897
5898 LINE=`grep "^WXWIN_COMPATIBILITY_2_8=" ${wx_arg_cache_file}`
5899 if test "x$LINE" != x ; then
5900 eval "DEFAULT_$LINE"
5901 cache=yes
5902 else
5903 cache=no
5904 fi
5905
5906 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5907
5908 fi
5909
5910
5911 eval "$wx_cv_use_compat28"
5912 if test "x$cache" = xyes; then
5913 echo "WXWIN_COMPATIBILITY_2_8=$WXWIN_COMPATIBILITY_2_8" >> ${wx_arg_cache_file}.tmp
5914 fi
5915
5916 if test x"$enablestring" = xdisable; then
5917 if test $WXWIN_COMPATIBILITY_2_8 = yes; then
5918 result=no
5919 else
5920 result=yes
5921 fi
5922 else
5923 result=$WXWIN_COMPATIBILITY_2_8
5924 fi
5925
5926 { echo "$as_me:$LINENO: result: $result" >&5
5927 echo "${ECHO_T}$result" >&6; }
5928
5929
5930
5931 enablestring=disable
5932 defaultval=
5933 if test -z "$defaultval"; then
5934 if test x"$enablestring" = xdisable; then
5935 defaultval=yes
5936 else
5937 defaultval=no
5938 fi
5939 fi
5940
5941 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5942 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5943 # Check whether --enable-rpath was given.
5944 if test "${enable_rpath+set}" = set; then
5945 enableval=$enable_rpath;
5946 if test "$enableval" = yes; then
5947 wx_cv_use_rpath='wxUSE_RPATH=yes'
5948 else
5949 wx_cv_use_rpath='wxUSE_RPATH=no'
5950 fi
5951 cache=yes
5952
5953 else
5954
5955 LINE=`grep "^wxUSE_RPATH=" ${wx_arg_cache_file}`
5956 if test "x$LINE" != x ; then
5957 eval "DEFAULT_$LINE"
5958 cache=yes
5959 else
5960 cache=no
5961 fi
5962
5963 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5964
5965 fi
5966
5967
5968 eval "$wx_cv_use_rpath"
5969 if test "x$cache" = xyes; then
5970 echo "wxUSE_RPATH=$wxUSE_RPATH" >> ${wx_arg_cache_file}.tmp
5971 fi
5972
5973 if test x"$enablestring" = xdisable; then
5974 if test $wxUSE_RPATH = yes; then
5975 result=no
5976 else
5977 result=yes
5978 fi
5979 else
5980 result=$wxUSE_RPATH
5981 fi
5982
5983 { echo "$as_me:$LINENO: result: $result" >&5
5984 echo "${ECHO_T}$result" >&6; }
5985
5986
5987
5988 enablestring=
5989 defaultval=
5990 if test -z "$defaultval"; then
5991 if test x"$enablestring" = xdisable; then
5992 defaultval=yes
5993 else
5994 defaultval=no
5995 fi
5996 fi
5997
5998 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5999 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
6000 # Check whether --enable-objc_uniquifying was given.
6001 if test "${enable_objc_uniquifying+set}" = set; then
6002 enableval=$enable_objc_uniquifying;
6003 if test "$enableval" = yes; then
6004 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
6005 else
6006 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
6007 fi
6008 cache=yes
6009
6010 else
6011
6012 LINE=`grep "^wxUSE_OBJC_UNIQUIFYING=" ${wx_arg_cache_file}`
6013 if test "x$LINE" != x ; then
6014 eval "DEFAULT_$LINE"
6015 cache=yes
6016 else
6017 cache=no
6018 fi
6019
6020 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
6021
6022 fi
6023
6024
6025 eval "$wx_cv_use_objc_uniquifying"
6026 if test "x$cache" = xyes; then
6027 echo "wxUSE_OBJC_UNIQUIFYING=$wxUSE_OBJC_UNIQUIFYING" >> ${wx_arg_cache_file}.tmp
6028 fi
6029
6030 if test x"$enablestring" = xdisable; then
6031 if test $wxUSE_OBJC_UNIQUIFYING = yes; then
6032 result=no
6033 else
6034 result=yes
6035 fi
6036 else
6037 result=$wxUSE_OBJC_UNIQUIFYING
6038 fi
6039
6040 { echo "$as_me:$LINENO: result: $result" >&5
6041 echo "${ECHO_T}$result" >&6; }
6042
6043
6044
6045 enablestring=disable
6046 defaultval=
6047 if test -z "$defaultval"; then
6048 if test x"$enablestring" = xdisable; then
6049 defaultval=yes
6050 else
6051 defaultval=no
6052 fi
6053 fi
6054
6055 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
6056 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
6057 # Check whether --enable-visibility was given.
6058 if test "${enable_visibility+set}" = set; then
6059 enableval=$enable_visibility;
6060 if test "$enableval" = yes; then
6061 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
6062 else
6063 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
6064 fi
6065 cache=yes
6066
6067 else
6068
6069 LINE=`grep "^wxUSE_VISIBILITY=" ${wx_arg_cache_file}`
6070 if test "x$LINE" != x ; then
6071 eval "DEFAULT_$LINE"
6072 cache=yes
6073 else
6074 cache=no
6075 fi
6076
6077 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
6078
6079 fi
6080
6081
6082 eval "$wx_cv_use_visibility"
6083 if test "x$cache" = xyes; then
6084 echo "wxUSE_VISIBILITY=$wxUSE_VISIBILITY" >> ${wx_arg_cache_file}.tmp
6085 fi
6086
6087 if test x"$enablestring" = xdisable; then
6088 if test $wxUSE_VISIBILITY = yes; then
6089 result=no
6090 else
6091 result=yes
6092 fi
6093 else
6094 result=$wxUSE_VISIBILITY
6095 fi
6096
6097 { echo "$as_me:$LINENO: result: $result" >&5
6098 echo "${ECHO_T}$result" >&6; }
6099
6100
6101
6102
6103 enablestring=
6104 defaultval=$wxUSE_ALL_FEATURES
6105 if test -z "$defaultval"; then
6106 if test x"$enablestring" = xdisable; then
6107 defaultval=yes
6108 else
6109 defaultval=no
6110 fi
6111 fi
6112
6113 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
6114 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
6115 # Check whether --enable-intl was given.
6116 if test "${enable_intl+set}" = set; then
6117 enableval=$enable_intl;
6118 if test "$enableval" = yes; then
6119 wx_cv_use_intl='wxUSE_INTL=yes'
6120 else
6121 wx_cv_use_intl='wxUSE_INTL=no'
6122 fi
6123 cache=yes
6124
6125 else
6126
6127 LINE=`grep "^wxUSE_INTL=" ${wx_arg_cache_file}`
6128 if test "x$LINE" != x ; then
6129 eval "DEFAULT_$LINE"
6130 cache=yes
6131 else
6132 cache=no
6133 fi
6134
6135 wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
6136
6137 fi
6138
6139
6140 eval "$wx_cv_use_intl"
6141 if test "x$cache" = xyes; then
6142 echo "wxUSE_INTL=$wxUSE_INTL" >> ${wx_arg_cache_file}.tmp
6143 fi
6144
6145 if test x"$enablestring" = xdisable; then
6146 if test $wxUSE_INTL = yes; then
6147 result=no
6148 else
6149 result=yes
6150 fi
6151 else
6152 result=$wxUSE_INTL
6153 fi
6154
6155 { echo "$as_me:$LINENO: result: $result" >&5
6156 echo "${ECHO_T}$result" >&6; }
6157
6158
6159 enablestring=
6160 defaultval=$wxUSE_ALL_FEATURES
6161 if test -z "$defaultval"; then
6162 if test x"$enablestring" = xdisable; then
6163 defaultval=yes
6164 else
6165 defaultval=no
6166 fi
6167 fi
6168
6169 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
6170 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
6171 # Check whether --enable-config was given.
6172 if test "${enable_config+set}" = set; then
6173 enableval=$enable_config;
6174 if test "$enableval" = yes; then
6175 wx_cv_use_config='wxUSE_CONFIG=yes'
6176 else
6177 wx_cv_use_config='wxUSE_CONFIG=no'
6178 fi
6179 cache=yes
6180
6181 else
6182
6183 LINE=`grep "^wxUSE_CONFIG=" ${wx_arg_cache_file}`
6184 if test "x$LINE" != x ; then
6185 eval "DEFAULT_$LINE"
6186 cache=yes
6187 else
6188 cache=no
6189 fi
6190
6191 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
6192
6193 fi
6194
6195
6196 eval "$wx_cv_use_config"
6197 if test "x$cache" = xyes; then
6198 echo "wxUSE_CONFIG=$wxUSE_CONFIG" >> ${wx_arg_cache_file}.tmp
6199 fi
6200
6201 if test x"$enablestring" = xdisable; then
6202 if test $wxUSE_CONFIG = yes; then
6203 result=no
6204 else
6205 result=yes
6206 fi
6207 else
6208 result=$wxUSE_CONFIG
6209 fi
6210
6211 { echo "$as_me:$LINENO: result: $result" >&5
6212 echo "${ECHO_T}$result" >&6; }
6213
6214
6215
6216 enablestring=
6217 defaultval=$wxUSE_ALL_FEATURES
6218 if test -z "$defaultval"; then
6219 if test x"$enablestring" = xdisable; then
6220 defaultval=yes
6221 else
6222 defaultval=no
6223 fi
6224 fi
6225
6226 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
6227 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
6228 # Check whether --enable-protocols was given.
6229 if test "${enable_protocols+set}" = set; then
6230 enableval=$enable_protocols;
6231 if test "$enableval" = yes; then
6232 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
6233 else
6234 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
6235 fi
6236 cache=yes
6237
6238 else
6239
6240 LINE=`grep "^wxUSE_PROTOCOL=" ${wx_arg_cache_file}`
6241 if test "x$LINE" != x ; then
6242 eval "DEFAULT_$LINE"
6243 cache=yes
6244 else
6245 cache=no
6246 fi
6247
6248 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
6249
6250 fi
6251
6252
6253 eval "$wx_cv_use_protocols"
6254 if test "x$cache" = xyes; then
6255 echo "wxUSE_PROTOCOL=$wxUSE_PROTOCOL" >> ${wx_arg_cache_file}.tmp
6256 fi
6257
6258 if test x"$enablestring" = xdisable; then
6259 if test $wxUSE_PROTOCOL = yes; then
6260 result=no
6261 else
6262 result=yes
6263 fi
6264 else
6265 result=$wxUSE_PROTOCOL
6266 fi
6267
6268 { echo "$as_me:$LINENO: result: $result" >&5
6269 echo "${ECHO_T}$result" >&6; }
6270
6271
6272 enablestring=
6273 defaultval=$wxUSE_ALL_FEATURES
6274 if test -z "$defaultval"; then
6275 if test x"$enablestring" = xdisable; then
6276 defaultval=yes
6277 else
6278 defaultval=no
6279 fi
6280 fi
6281
6282 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
6283 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
6284 # Check whether --enable-ftp was given.
6285 if test "${enable_ftp+set}" = set; then
6286 enableval=$enable_ftp;
6287 if test "$enableval" = yes; then
6288 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
6289 else
6290 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
6291 fi
6292 cache=yes
6293
6294 else
6295
6296 LINE=`grep "^wxUSE_PROTOCOL_FTP=" ${wx_arg_cache_file}`
6297 if test "x$LINE" != x ; then
6298 eval "DEFAULT_$LINE"
6299 cache=yes
6300 else
6301 cache=no
6302 fi
6303
6304 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
6305
6306 fi
6307
6308
6309 eval "$wx_cv_use_ftp"
6310 if test "x$cache" = xyes; then
6311 echo "wxUSE_PROTOCOL_FTP=$wxUSE_PROTOCOL_FTP" >> ${wx_arg_cache_file}.tmp
6312 fi
6313
6314 if test x"$enablestring" = xdisable; then
6315 if test $wxUSE_PROTOCOL_FTP = yes; then
6316 result=no
6317 else
6318 result=yes
6319 fi
6320 else
6321 result=$wxUSE_PROTOCOL_FTP
6322 fi
6323
6324 { echo "$as_me:$LINENO: result: $result" >&5
6325 echo "${ECHO_T}$result" >&6; }
6326
6327
6328 enablestring=
6329 defaultval=$wxUSE_ALL_FEATURES
6330 if test -z "$defaultval"; then
6331 if test x"$enablestring" = xdisable; then
6332 defaultval=yes
6333 else
6334 defaultval=no
6335 fi
6336 fi
6337
6338 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
6339 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
6340 # Check whether --enable-http was given.
6341 if test "${enable_http+set}" = set; then
6342 enableval=$enable_http;
6343 if test "$enableval" = yes; then
6344 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
6345 else
6346 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
6347 fi
6348 cache=yes
6349
6350 else
6351
6352 LINE=`grep "^wxUSE_PROTOCOL_HTTP=" ${wx_arg_cache_file}`
6353 if test "x$LINE" != x ; then
6354 eval "DEFAULT_$LINE"
6355 cache=yes
6356 else
6357 cache=no
6358 fi
6359
6360 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
6361
6362 fi
6363
6364
6365 eval "$wx_cv_use_http"
6366 if test "x$cache" = xyes; then
6367 echo "wxUSE_PROTOCOL_HTTP=$wxUSE_PROTOCOL_HTTP" >> ${wx_arg_cache_file}.tmp
6368 fi
6369
6370 if test x"$enablestring" = xdisable; then
6371 if test $wxUSE_PROTOCOL_HTTP = yes; then
6372 result=no
6373 else
6374 result=yes
6375 fi
6376 else
6377 result=$wxUSE_PROTOCOL_HTTP
6378 fi
6379
6380 { echo "$as_me:$LINENO: result: $result" >&5
6381 echo "${ECHO_T}$result" >&6; }
6382
6383
6384 enablestring=
6385 defaultval=$wxUSE_ALL_FEATURES
6386 if test -z "$defaultval"; then
6387 if test x"$enablestring" = xdisable; then
6388 defaultval=yes
6389 else
6390 defaultval=no
6391 fi
6392 fi
6393
6394 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
6395 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
6396 # Check whether --enable-fileproto was given.
6397 if test "${enable_fileproto+set}" = set; then
6398 enableval=$enable_fileproto;
6399 if test "$enableval" = yes; then
6400 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
6401 else
6402 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
6403 fi
6404 cache=yes
6405
6406 else
6407
6408 LINE=`grep "^wxUSE_PROTOCOL_FILE=" ${wx_arg_cache_file}`
6409 if test "x$LINE" != x ; then
6410 eval "DEFAULT_$LINE"
6411 cache=yes
6412 else
6413 cache=no
6414 fi
6415
6416 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
6417
6418 fi
6419
6420
6421 eval "$wx_cv_use_fileproto"
6422 if test "x$cache" = xyes; then
6423 echo "wxUSE_PROTOCOL_FILE=$wxUSE_PROTOCOL_FILE" >> ${wx_arg_cache_file}.tmp
6424 fi
6425
6426 if test x"$enablestring" = xdisable; then
6427 if test $wxUSE_PROTOCOL_FILE = yes; then
6428 result=no
6429 else
6430 result=yes
6431 fi
6432 else
6433 result=$wxUSE_PROTOCOL_FILE
6434 fi
6435
6436 { echo "$as_me:$LINENO: result: $result" >&5
6437 echo "${ECHO_T}$result" >&6; }
6438
6439
6440 enablestring=
6441 defaultval=$wxUSE_ALL_FEATURES
6442 if test -z "$defaultval"; then
6443 if test x"$enablestring" = xdisable; then
6444 defaultval=yes
6445 else
6446 defaultval=no
6447 fi
6448 fi
6449
6450 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
6451 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
6452 # Check whether --enable-sockets was given.
6453 if test "${enable_sockets+set}" = set; then
6454 enableval=$enable_sockets;
6455 if test "$enableval" = yes; then
6456 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
6457 else
6458 wx_cv_use_sockets='wxUSE_SOCKETS=no'
6459 fi
6460 cache=yes
6461
6462 else
6463
6464 LINE=`grep "^wxUSE_SOCKETS=" ${wx_arg_cache_file}`
6465 if test "x$LINE" != x ; then
6466 eval "DEFAULT_$LINE"
6467 cache=yes
6468 else
6469 cache=no
6470 fi
6471
6472 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
6473
6474 fi
6475
6476
6477 eval "$wx_cv_use_sockets"
6478 if test "x$cache" = xyes; then
6479 echo "wxUSE_SOCKETS=$wxUSE_SOCKETS" >> ${wx_arg_cache_file}.tmp
6480 fi
6481
6482 if test x"$enablestring" = xdisable; then
6483 if test $wxUSE_SOCKETS = yes; then
6484 result=no
6485 else
6486 result=yes
6487 fi
6488 else
6489 result=$wxUSE_SOCKETS
6490 fi
6491
6492 { echo "$as_me:$LINENO: result: $result" >&5
6493 echo "${ECHO_T}$result" >&6; }
6494
6495
6496 enablestring=
6497 defaultval=$wxUSE_ALL_FEATURES
6498 if test -z "$defaultval"; then
6499 if test x"$enablestring" = xdisable; then
6500 defaultval=yes
6501 else
6502 defaultval=no
6503 fi
6504 fi
6505
6506 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipv6" >&5
6507 echo $ECHO_N "checking for --${enablestring:-enable}-ipv6... $ECHO_C" >&6; }
6508 # Check whether --enable-ipv6 was given.
6509 if test "${enable_ipv6+set}" = set; then
6510 enableval=$enable_ipv6;
6511 if test "$enableval" = yes; then
6512 wx_cv_use_ipv6='wxUSE_IPV6=yes'
6513 else
6514 wx_cv_use_ipv6='wxUSE_IPV6=no'
6515 fi
6516 cache=yes
6517
6518 else
6519
6520 LINE=`grep "^wxUSE_IPV6=" ${wx_arg_cache_file}`
6521 if test "x$LINE" != x ; then
6522 eval "DEFAULT_$LINE"
6523 cache=yes
6524 else
6525 cache=no
6526 fi
6527
6528 wx_cv_use_ipv6='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
6529
6530 fi
6531
6532
6533 eval "$wx_cv_use_ipv6"
6534 if test "x$cache" = xyes; then
6535 echo "wxUSE_IPV6=$wxUSE_IPV6" >> ${wx_arg_cache_file}.tmp
6536 fi
6537
6538 if test x"$enablestring" = xdisable; then
6539 if test $wxUSE_IPV6 = yes; then
6540 result=no
6541 else
6542 result=yes
6543 fi
6544 else
6545 result=$wxUSE_IPV6
6546 fi
6547
6548 { echo "$as_me:$LINENO: result: $result" >&5
6549 echo "${ECHO_T}$result" >&6; }
6550
6551
6552 enablestring=
6553 defaultval=$wxUSE_ALL_FEATURES
6554 if test -z "$defaultval"; then
6555 if test x"$enablestring" = xdisable; then
6556 defaultval=yes
6557 else
6558 defaultval=no
6559 fi
6560 fi
6561
6562 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
6563 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
6564 # Check whether --enable-ole was given.
6565 if test "${enable_ole+set}" = set; then
6566 enableval=$enable_ole;
6567 if test "$enableval" = yes; then
6568 wx_cv_use_ole='wxUSE_OLE=yes'
6569 else
6570 wx_cv_use_ole='wxUSE_OLE=no'
6571 fi
6572 cache=yes
6573
6574 else
6575
6576 LINE=`grep "^wxUSE_OLE=" ${wx_arg_cache_file}`
6577 if test "x$LINE" != x ; then
6578 eval "DEFAULT_$LINE"
6579 cache=yes
6580 else
6581 cache=no
6582 fi
6583
6584 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6585
6586 fi
6587
6588
6589 eval "$wx_cv_use_ole"
6590 if test "x$cache" = xyes; then
6591 echo "wxUSE_OLE=$wxUSE_OLE" >> ${wx_arg_cache_file}.tmp
6592 fi
6593
6594 if test x"$enablestring" = xdisable; then
6595 if test $wxUSE_OLE = yes; then
6596 result=no
6597 else
6598 result=yes
6599 fi
6600 else
6601 result=$wxUSE_OLE
6602 fi
6603
6604 { echo "$as_me:$LINENO: result: $result" >&5
6605 echo "${ECHO_T}$result" >&6; }
6606
6607
6608 enablestring=
6609 defaultval=$wxUSE_ALL_FEATURES
6610 if test -z "$defaultval"; then
6611 if test x"$enablestring" = xdisable; then
6612 defaultval=yes
6613 else
6614 defaultval=no
6615 fi
6616 fi
6617
6618 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
6619 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
6620 # Check whether --enable-dataobj was given.
6621 if test "${enable_dataobj+set}" = set; then
6622 enableval=$enable_dataobj;
6623 if test "$enableval" = yes; then
6624 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6625 else
6626 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6627 fi
6628 cache=yes
6629
6630 else
6631
6632 LINE=`grep "^wxUSE_DATAOBJ=" ${wx_arg_cache_file}`
6633 if test "x$LINE" != x ; then
6634 eval "DEFAULT_$LINE"
6635 cache=yes
6636 else
6637 cache=no
6638 fi
6639
6640 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6641
6642 fi
6643
6644
6645 eval "$wx_cv_use_dataobj"
6646 if test "x$cache" = xyes; then
6647 echo "wxUSE_DATAOBJ=$wxUSE_DATAOBJ" >> ${wx_arg_cache_file}.tmp
6648 fi
6649
6650 if test x"$enablestring" = xdisable; then
6651 if test $wxUSE_DATAOBJ = yes; then
6652 result=no
6653 else
6654 result=yes
6655 fi
6656 else
6657 result=$wxUSE_DATAOBJ
6658 fi
6659
6660 { echo "$as_me:$LINENO: result: $result" >&5
6661 echo "${ECHO_T}$result" >&6; }
6662
6663
6664
6665 enablestring=
6666 defaultval=$wxUSE_ALL_FEATURES
6667 if test -z "$defaultval"; then
6668 if test x"$enablestring" = xdisable; then
6669 defaultval=yes
6670 else
6671 defaultval=no
6672 fi
6673 fi
6674
6675 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6676 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6677 # Check whether --enable-ipc was given.
6678 if test "${enable_ipc+set}" = set; then
6679 enableval=$enable_ipc;
6680 if test "$enableval" = yes; then
6681 wx_cv_use_ipc='wxUSE_IPC=yes'
6682 else
6683 wx_cv_use_ipc='wxUSE_IPC=no'
6684 fi
6685 cache=yes
6686
6687 else
6688
6689 LINE=`grep "^wxUSE_IPC=" ${wx_arg_cache_file}`
6690 if test "x$LINE" != x ; then
6691 eval "DEFAULT_$LINE"
6692 cache=yes
6693 else
6694 cache=no
6695 fi
6696
6697 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6698
6699 fi
6700
6701
6702 eval "$wx_cv_use_ipc"
6703 if test "x$cache" = xyes; then
6704 echo "wxUSE_IPC=$wxUSE_IPC" >> ${wx_arg_cache_file}.tmp
6705 fi
6706
6707 if test x"$enablestring" = xdisable; then
6708 if test $wxUSE_IPC = yes; then
6709 result=no
6710 else
6711 result=yes
6712 fi
6713 else
6714 result=$wxUSE_IPC
6715 fi
6716
6717 { echo "$as_me:$LINENO: result: $result" >&5
6718 echo "${ECHO_T}$result" >&6; }
6719
6720
6721
6722 enablestring=
6723 defaultval=$wxUSE_ALL_FEATURES
6724 if test -z "$defaultval"; then
6725 if test x"$enablestring" = xdisable; then
6726 defaultval=yes
6727 else
6728 defaultval=no
6729 fi
6730 fi
6731
6732 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6733 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6734 # Check whether --enable-baseevtloop was given.
6735 if test "${enable_baseevtloop+set}" = set; then
6736 enableval=$enable_baseevtloop;
6737 if test "$enableval" = yes; then
6738 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
6739 else
6740 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
6741 fi
6742 cache=yes
6743
6744 else
6745
6746 LINE=`grep "^wxUSE_CONSOLE_EVENTLOOP=" ${wx_arg_cache_file}`
6747 if test "x$LINE" != x ; then
6748 eval "DEFAULT_$LINE"
6749 cache=yes
6750 else
6751 cache=no
6752 fi
6753
6754 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6755
6756 fi
6757
6758
6759 eval "$wx_cv_use_baseevtloop"
6760 if test "x$cache" = xyes; then
6761 echo "wxUSE_CONSOLE_EVENTLOOP=$wxUSE_CONSOLE_EVENTLOOP" >> ${wx_arg_cache_file}.tmp
6762 fi
6763
6764 if test x"$enablestring" = xdisable; then
6765 if test $wxUSE_CONSOLE_EVENTLOOP = yes; then
6766 result=no
6767 else
6768 result=yes
6769 fi
6770 else
6771 result=$wxUSE_CONSOLE_EVENTLOOP
6772 fi
6773
6774 { echo "$as_me:$LINENO: result: $result" >&5
6775 echo "${ECHO_T}$result" >&6; }
6776
6777
6778 enablestring=
6779 defaultval=$wxUSE_ALL_FEATURES
6780 if test -z "$defaultval"; then
6781 if test x"$enablestring" = xdisable; then
6782 defaultval=yes
6783 else
6784 defaultval=no
6785 fi
6786 fi
6787
6788 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epollloop" >&5
6789 echo $ECHO_N "checking for --${enablestring:-enable}-epollloop... $ECHO_C" >&6; }
6790 # Check whether --enable-epollloop was given.
6791 if test "${enable_epollloop+set}" = set; then
6792 enableval=$enable_epollloop;
6793 if test "$enableval" = yes; then
6794 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
6795 else
6796 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
6797 fi
6798 cache=yes
6799
6800 else
6801
6802 LINE=`grep "^wxUSE_EPOLL_DISPATCHER=" ${wx_arg_cache_file}`
6803 if test "x$LINE" != x ; then
6804 eval "DEFAULT_$LINE"
6805 cache=yes
6806 else
6807 cache=no
6808 fi
6809
6810 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6811
6812 fi
6813
6814
6815 eval "$wx_cv_use_epollloop"
6816 if test "x$cache" = xyes; then
6817 echo "wxUSE_EPOLL_DISPATCHER=$wxUSE_EPOLL_DISPATCHER" >> ${wx_arg_cache_file}.tmp
6818 fi
6819
6820 if test x"$enablestring" = xdisable; then
6821 if test $wxUSE_EPOLL_DISPATCHER = yes; then
6822 result=no
6823 else
6824 result=yes
6825 fi
6826 else
6827 result=$wxUSE_EPOLL_DISPATCHER
6828 fi
6829
6830 { echo "$as_me:$LINENO: result: $result" >&5
6831 echo "${ECHO_T}$result" >&6; }
6832
6833
6834 enablestring=
6835 defaultval=$wxUSE_ALL_FEATURES
6836 if test -z "$defaultval"; then
6837 if test x"$enablestring" = xdisable; then
6838 defaultval=yes
6839 else
6840 defaultval=no
6841 fi
6842 fi
6843
6844 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6845 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6846 # Check whether --enable-selectloop was given.
6847 if test "${enable_selectloop+set}" = set; then
6848 enableval=$enable_selectloop;
6849 if test "$enableval" = yes; then
6850 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
6851 else
6852 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
6853 fi
6854 cache=yes
6855
6856 else
6857
6858 LINE=`grep "^wxUSE_SELECT_DISPATCHER=" ${wx_arg_cache_file}`
6859 if test "x$LINE" != x ; then
6860 eval "DEFAULT_$LINE"
6861 cache=yes
6862 else
6863 cache=no
6864 fi
6865
6866 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6867
6868 fi
6869
6870
6871 eval "$wx_cv_use_selectloop"
6872 if test "x$cache" = xyes; then
6873 echo "wxUSE_SELECT_DISPATCHER=$wxUSE_SELECT_DISPATCHER" >> ${wx_arg_cache_file}.tmp
6874 fi
6875
6876 if test x"$enablestring" = xdisable; then
6877 if test $wxUSE_SELECT_DISPATCHER = yes; then
6878 result=no
6879 else
6880 result=yes
6881 fi
6882 else
6883 result=$wxUSE_SELECT_DISPATCHER
6884 fi
6885
6886 { echo "$as_me:$LINENO: result: $result" >&5
6887 echo "${ECHO_T}$result" >&6; }
6888
6889
6890
6891 enablestring=
6892 defaultval=$wxUSE_ALL_FEATURES
6893 if test -z "$defaultval"; then
6894 if test x"$enablestring" = xdisable; then
6895 defaultval=yes
6896 else
6897 defaultval=no
6898 fi
6899 fi
6900
6901 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6902 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6903 # Check whether --enable-apple_ieee was given.
6904 if test "${enable_apple_ieee+set}" = set; then
6905 enableval=$enable_apple_ieee;
6906 if test "$enableval" = yes; then
6907 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6908 else
6909 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6910 fi
6911 cache=yes
6912
6913 else
6914
6915 LINE=`grep "^wxUSE_APPLE_IEEE=" ${wx_arg_cache_file}`
6916 if test "x$LINE" != x ; then
6917 eval "DEFAULT_$LINE"
6918 cache=yes
6919 else
6920 cache=no
6921 fi
6922
6923 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6924
6925 fi
6926
6927
6928 eval "$wx_cv_use_apple_ieee"
6929 if test "x$cache" = xyes; then
6930 echo "wxUSE_APPLE_IEEE=$wxUSE_APPLE_IEEE" >> ${wx_arg_cache_file}.tmp
6931 fi
6932
6933 if test x"$enablestring" = xdisable; then
6934 if test $wxUSE_APPLE_IEEE = yes; then
6935 result=no
6936 else
6937 result=yes
6938 fi
6939 else
6940 result=$wxUSE_APPLE_IEEE
6941 fi
6942
6943 { echo "$as_me:$LINENO: result: $result" >&5
6944 echo "${ECHO_T}$result" >&6; }
6945
6946
6947 enablestring=
6948 defaultval=$wxUSE_ALL_FEATURES
6949 if test -z "$defaultval"; then
6950 if test x"$enablestring" = xdisable; then
6951 defaultval=yes
6952 else
6953 defaultval=no
6954 fi
6955 fi
6956
6957 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6958 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6959 # Check whether --enable-arcstream was given.
6960 if test "${enable_arcstream+set}" = set; then
6961 enableval=$enable_arcstream;
6962 if test "$enableval" = yes; then
6963 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6964 else
6965 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6966 fi
6967 cache=yes
6968
6969 else
6970
6971 LINE=`grep "^wxUSE_ARCHIVE_STREAMS=" ${wx_arg_cache_file}`
6972 if test "x$LINE" != x ; then
6973 eval "DEFAULT_$LINE"
6974 cache=yes
6975 else
6976 cache=no
6977 fi
6978
6979 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6980
6981 fi
6982
6983
6984 eval "$wx_cv_use_arcstream"
6985 if test "x$cache" = xyes; then
6986 echo "wxUSE_ARCHIVE_STREAMS=$wxUSE_ARCHIVE_STREAMS" >> ${wx_arg_cache_file}.tmp
6987 fi
6988
6989 if test x"$enablestring" = xdisable; then
6990 if test $wxUSE_ARCHIVE_STREAMS = yes; then
6991 result=no
6992 else
6993 result=yes
6994 fi
6995 else
6996 result=$wxUSE_ARCHIVE_STREAMS
6997 fi
6998
6999 { echo "$as_me:$LINENO: result: $result" >&5
7000 echo "${ECHO_T}$result" >&6; }
7001
7002
7003 enablestring=
7004 defaultval=$wxUSE_ALL_FEATURES
7005 if test -z "$defaultval"; then
7006 if test x"$enablestring" = xdisable; then
7007 defaultval=yes
7008 else
7009 defaultval=no
7010 fi
7011 fi
7012
7013 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
7014 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
7015 # Check whether --enable-base64 was given.
7016 if test "${enable_base64+set}" = set; then
7017 enableval=$enable_base64;
7018 if test "$enableval" = yes; then
7019 wx_cv_use_base64='wxUSE_BASE64=yes'
7020 else
7021 wx_cv_use_base64='wxUSE_BASE64=no'
7022 fi
7023 cache=yes
7024
7025 else
7026
7027 LINE=`grep "^wxUSE_BASE64=" ${wx_arg_cache_file}`
7028 if test "x$LINE" != x ; then
7029 eval "DEFAULT_$LINE"
7030 cache=yes
7031 else
7032 cache=no
7033 fi
7034
7035 wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
7036
7037 fi
7038
7039
7040 eval "$wx_cv_use_base64"
7041 if test "x$cache" = xyes; then
7042 echo "wxUSE_BASE64=$wxUSE_BASE64" >> ${wx_arg_cache_file}.tmp
7043 fi
7044
7045 if test x"$enablestring" = xdisable; then
7046 if test $wxUSE_BASE64 = yes; then
7047 result=no
7048 else
7049 result=yes
7050 fi
7051 else
7052 result=$wxUSE_BASE64
7053 fi
7054
7055 { echo "$as_me:$LINENO: result: $result" >&5
7056 echo "${ECHO_T}$result" >&6; }
7057
7058
7059 enablestring=
7060 defaultval=$wxUSE_ALL_FEATURES
7061 if test -z "$defaultval"; then
7062 if test x"$enablestring" = xdisable; then
7063 defaultval=yes
7064 else
7065 defaultval=no
7066 fi
7067 fi
7068
7069 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
7070 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
7071 # Check whether --enable-backtrace was given.
7072 if test "${enable_backtrace+set}" = set; then
7073 enableval=$enable_backtrace;
7074 if test "$enableval" = yes; then
7075 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
7076 else
7077 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
7078 fi
7079 cache=yes
7080
7081 else
7082
7083 LINE=`grep "^wxUSE_STACKWALKER=" ${wx_arg_cache_file}`
7084 if test "x$LINE" != x ; then
7085 eval "DEFAULT_$LINE"
7086 cache=yes
7087 else
7088 cache=no
7089 fi
7090
7091 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
7092
7093 fi
7094
7095
7096 eval "$wx_cv_use_backtrace"
7097 if test "x$cache" = xyes; then
7098 echo "wxUSE_STACKWALKER=$wxUSE_STACKWALKER" >> ${wx_arg_cache_file}.tmp
7099 fi
7100
7101 if test x"$enablestring" = xdisable; then
7102 if test $wxUSE_STACKWALKER = yes; then
7103 result=no
7104 else
7105 result=yes
7106 fi
7107 else
7108 result=$wxUSE_STACKWALKER
7109 fi
7110
7111 { echo "$as_me:$LINENO: result: $result" >&5
7112 echo "${ECHO_T}$result" >&6; }
7113
7114
7115 enablestring=
7116 defaultval=$wxUSE_ALL_FEATURES
7117 if test -z "$defaultval"; then
7118 if test x"$enablestring" = xdisable; then
7119 defaultval=yes
7120 else
7121 defaultval=no
7122 fi
7123 fi
7124
7125 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
7126 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
7127 # Check whether --enable-catch_segvs was given.
7128 if test "${enable_catch_segvs+set}" = set; then
7129 enableval=$enable_catch_segvs;
7130 if test "$enableval" = yes; then
7131 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
7132 else
7133 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
7134 fi
7135 cache=yes
7136
7137 else
7138
7139 LINE=`grep "^wxUSE_ON_FATAL_EXCEPTION=" ${wx_arg_cache_file}`
7140 if test "x$LINE" != x ; then
7141 eval "DEFAULT_$LINE"
7142 cache=yes
7143 else
7144 cache=no
7145 fi
7146
7147 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
7148
7149 fi
7150
7151
7152 eval "$wx_cv_use_catch_segvs"
7153 if test "x$cache" = xyes; then
7154 echo "wxUSE_ON_FATAL_EXCEPTION=$wxUSE_ON_FATAL_EXCEPTION" >> ${wx_arg_cache_file}.tmp
7155 fi
7156
7157 if test x"$enablestring" = xdisable; then
7158 if test $wxUSE_ON_FATAL_EXCEPTION = yes; then
7159 result=no
7160 else
7161 result=yes
7162 fi
7163 else
7164 result=$wxUSE_ON_FATAL_EXCEPTION
7165 fi
7166
7167 { echo "$as_me:$LINENO: result: $result" >&5
7168 echo "${ECHO_T}$result" >&6; }
7169
7170
7171 enablestring=
7172 defaultval=$wxUSE_ALL_FEATURES
7173 if test -z "$defaultval"; then
7174 if test x"$enablestring" = xdisable; then
7175 defaultval=yes
7176 else
7177 defaultval=no
7178 fi
7179 fi
7180
7181 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
7182 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
7183 # Check whether --enable-cmdline was given.
7184 if test "${enable_cmdline+set}" = set; then
7185 enableval=$enable_cmdline;
7186 if test "$enableval" = yes; then
7187 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
7188 else
7189 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
7190 fi
7191 cache=yes
7192
7193 else
7194
7195 LINE=`grep "^wxUSE_CMDLINE_PARSER=" ${wx_arg_cache_file}`
7196 if test "x$LINE" != x ; then
7197 eval "DEFAULT_$LINE"
7198 cache=yes
7199 else
7200 cache=no
7201 fi
7202
7203 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
7204
7205 fi
7206
7207
7208 eval "$wx_cv_use_cmdline"
7209 if test "x$cache" = xyes; then
7210 echo "wxUSE_CMDLINE_PARSER=$wxUSE_CMDLINE_PARSER" >> ${wx_arg_cache_file}.tmp
7211 fi
7212
7213 if test x"$enablestring" = xdisable; then
7214 if test $wxUSE_CMDLINE_PARSER = yes; then
7215 result=no
7216 else
7217 result=yes
7218 fi
7219 else
7220 result=$wxUSE_CMDLINE_PARSER
7221 fi
7222
7223 { echo "$as_me:$LINENO: result: $result" >&5
7224 echo "${ECHO_T}$result" >&6; }
7225
7226
7227 enablestring=
7228 defaultval=$wxUSE_ALL_FEATURES
7229 if test -z "$defaultval"; then
7230 if test x"$enablestring" = xdisable; then
7231 defaultval=yes
7232 else
7233 defaultval=no
7234 fi
7235 fi
7236
7237 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
7238 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
7239 # Check whether --enable-datetime was given.
7240 if test "${enable_datetime+set}" = set; then
7241 enableval=$enable_datetime;
7242 if test "$enableval" = yes; then
7243 wx_cv_use_datetime='wxUSE_DATETIME=yes'
7244 else
7245 wx_cv_use_datetime='wxUSE_DATETIME=no'
7246 fi
7247 cache=yes
7248
7249 else
7250
7251 LINE=`grep "^wxUSE_DATETIME=" ${wx_arg_cache_file}`
7252 if test "x$LINE" != x ; then
7253 eval "DEFAULT_$LINE"
7254 cache=yes
7255 else
7256 cache=no
7257 fi
7258
7259 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
7260
7261 fi
7262
7263
7264 eval "$wx_cv_use_datetime"
7265 if test "x$cache" = xyes; then
7266 echo "wxUSE_DATETIME=$wxUSE_DATETIME" >> ${wx_arg_cache_file}.tmp
7267 fi
7268
7269 if test x"$enablestring" = xdisable; then
7270 if test $wxUSE_DATETIME = yes; then
7271 result=no
7272 else
7273 result=yes
7274 fi
7275 else
7276 result=$wxUSE_DATETIME
7277 fi
7278
7279 { echo "$as_me:$LINENO: result: $result" >&5
7280 echo "${ECHO_T}$result" >&6; }
7281
7282
7283 enablestring=
7284 defaultval=$wxUSE_ALL_FEATURES
7285 if test -z "$defaultval"; then
7286 if test x"$enablestring" = xdisable; then
7287 defaultval=yes
7288 else
7289 defaultval=no
7290 fi
7291 fi
7292
7293 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
7294 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
7295 # Check whether --enable-debugreport was given.
7296 if test "${enable_debugreport+set}" = set; then
7297 enableval=$enable_debugreport;
7298 if test "$enableval" = yes; then
7299 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
7300 else
7301 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
7302 fi
7303 cache=yes
7304
7305 else
7306
7307 LINE=`grep "^wxUSE_DEBUGREPORT=" ${wx_arg_cache_file}`
7308 if test "x$LINE" != x ; then
7309 eval "DEFAULT_$LINE"
7310 cache=yes
7311 else
7312 cache=no
7313 fi
7314
7315 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
7316
7317 fi
7318
7319
7320 eval "$wx_cv_use_debugreport"
7321 if test "x$cache" = xyes; then
7322 echo "wxUSE_DEBUGREPORT=$wxUSE_DEBUGREPORT" >> ${wx_arg_cache_file}.tmp
7323 fi
7324
7325 if test x"$enablestring" = xdisable; then
7326 if test $wxUSE_DEBUGREPORT = yes; then
7327 result=no
7328 else
7329 result=yes
7330 fi
7331 else
7332 result=$wxUSE_DEBUGREPORT
7333 fi
7334
7335 { echo "$as_me:$LINENO: result: $result" >&5
7336 echo "${ECHO_T}$result" >&6; }
7337
7338
7339 enablestring=
7340 defaultval=$wxUSE_ALL_FEATURES
7341 if test -z "$defaultval"; then
7342 if test x"$enablestring" = xdisable; then
7343 defaultval=yes
7344 else
7345 defaultval=no
7346 fi
7347 fi
7348
7349 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
7350 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
7351 # Check whether --enable-dialupman was given.
7352 if test "${enable_dialupman+set}" = set; then
7353 enableval=$enable_dialupman;
7354 if test "$enableval" = yes; then
7355 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
7356 else
7357 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
7358 fi
7359 cache=yes
7360
7361 else
7362
7363 LINE=`grep "^wxUSE_DIALUP_MANAGER=" ${wx_arg_cache_file}`
7364 if test "x$LINE" != x ; then
7365 eval "DEFAULT_$LINE"
7366 cache=yes
7367 else
7368 cache=no
7369 fi
7370
7371 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
7372
7373 fi
7374
7375
7376 eval "$wx_cv_use_dialupman"
7377 if test "x$cache" = xyes; then
7378 echo "wxUSE_DIALUP_MANAGER=$wxUSE_DIALUP_MANAGER" >> ${wx_arg_cache_file}.tmp
7379 fi
7380
7381 if test x"$enablestring" = xdisable; then
7382 if test $wxUSE_DIALUP_MANAGER = yes; then
7383 result=no
7384 else
7385 result=yes
7386 fi
7387 else
7388 result=$wxUSE_DIALUP_MANAGER
7389 fi
7390
7391 { echo "$as_me:$LINENO: result: $result" >&5
7392 echo "${ECHO_T}$result" >&6; }
7393
7394
7395 enablestring=
7396 defaultval=$wxUSE_ALL_FEATURES
7397 if test -z "$defaultval"; then
7398 if test x"$enablestring" = xdisable; then
7399 defaultval=yes
7400 else
7401 defaultval=no
7402 fi
7403 fi
7404
7405 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
7406 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
7407 # Check whether --enable-dynlib was given.
7408 if test "${enable_dynlib+set}" = set; then
7409 enableval=$enable_dynlib;
7410 if test "$enableval" = yes; then
7411 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
7412 else
7413 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
7414 fi
7415 cache=yes
7416
7417 else
7418
7419 LINE=`grep "^wxUSE_DYNLIB_CLASS=" ${wx_arg_cache_file}`
7420 if test "x$LINE" != x ; then
7421 eval "DEFAULT_$LINE"
7422 cache=yes
7423 else
7424 cache=no
7425 fi
7426
7427 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
7428
7429 fi
7430
7431
7432 eval "$wx_cv_use_dynlib"
7433 if test "x$cache" = xyes; then
7434 echo "wxUSE_DYNLIB_CLASS=$wxUSE_DYNLIB_CLASS" >> ${wx_arg_cache_file}.tmp
7435 fi
7436
7437 if test x"$enablestring" = xdisable; then
7438 if test $wxUSE_DYNLIB_CLASS = yes; then
7439 result=no
7440 else
7441 result=yes
7442 fi
7443 else
7444 result=$wxUSE_DYNLIB_CLASS
7445 fi
7446
7447 { echo "$as_me:$LINENO: result: $result" >&5
7448 echo "${ECHO_T}$result" >&6; }
7449
7450
7451 enablestring=
7452 defaultval=$wxUSE_ALL_FEATURES
7453 if test -z "$defaultval"; then
7454 if test x"$enablestring" = xdisable; then
7455 defaultval=yes
7456 else
7457 defaultval=no
7458 fi
7459 fi
7460
7461 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
7462 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
7463 # Check whether --enable-dynamicloader was given.
7464 if test "${enable_dynamicloader+set}" = set; then
7465 enableval=$enable_dynamicloader;
7466 if test "$enableval" = yes; then
7467 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
7468 else
7469 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
7470 fi
7471 cache=yes
7472
7473 else
7474
7475 LINE=`grep "^wxUSE_DYNAMIC_LOADER=" ${wx_arg_cache_file}`
7476 if test "x$LINE" != x ; then
7477 eval "DEFAULT_$LINE"
7478 cache=yes
7479 else
7480 cache=no
7481 fi
7482
7483 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
7484
7485 fi
7486
7487
7488 eval "$wx_cv_use_dynamicloader"
7489 if test "x$cache" = xyes; then
7490 echo "wxUSE_DYNAMIC_LOADER=$wxUSE_DYNAMIC_LOADER" >> ${wx_arg_cache_file}.tmp
7491 fi
7492
7493 if test x"$enablestring" = xdisable; then
7494 if test $wxUSE_DYNAMIC_LOADER = yes; then
7495 result=no
7496 else
7497 result=yes
7498 fi
7499 else
7500 result=$wxUSE_DYNAMIC_LOADER
7501 fi
7502
7503 { echo "$as_me:$LINENO: result: $result" >&5
7504 echo "${ECHO_T}$result" >&6; }
7505
7506
7507 enablestring=
7508 defaultval=$wxUSE_ALL_FEATURES
7509 if test -z "$defaultval"; then
7510 if test x"$enablestring" = xdisable; then
7511 defaultval=yes
7512 else
7513 defaultval=no
7514 fi
7515 fi
7516
7517 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
7518 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
7519 # Check whether --enable-exceptions was given.
7520 if test "${enable_exceptions+set}" = set; then
7521 enableval=$enable_exceptions;
7522 if test "$enableval" = yes; then
7523 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
7524 else
7525 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
7526 fi
7527 cache=yes
7528
7529 else
7530
7531 LINE=`grep "^wxUSE_EXCEPTIONS=" ${wx_arg_cache_file}`
7532 if test "x$LINE" != x ; then
7533 eval "DEFAULT_$LINE"
7534 cache=yes
7535 else
7536 cache=no
7537 fi
7538
7539 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
7540
7541 fi
7542
7543
7544 eval "$wx_cv_use_exceptions"
7545 if test "x$cache" = xyes; then
7546 echo "wxUSE_EXCEPTIONS=$wxUSE_EXCEPTIONS" >> ${wx_arg_cache_file}.tmp
7547 fi
7548
7549 if test x"$enablestring" = xdisable; then
7550 if test $wxUSE_EXCEPTIONS = yes; then
7551 result=no
7552 else
7553 result=yes
7554 fi
7555 else
7556 result=$wxUSE_EXCEPTIONS
7557 fi
7558
7559 { echo "$as_me:$LINENO: result: $result" >&5
7560 echo "${ECHO_T}$result" >&6; }
7561
7562
7563 enablestring=
7564 defaultval=$wxUSE_ALL_FEATURES
7565 if test -z "$defaultval"; then
7566 if test x"$enablestring" = xdisable; then
7567 defaultval=yes
7568 else
7569 defaultval=no
7570 fi
7571 fi
7572
7573 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
7574 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
7575 # Check whether --enable-ffile was given.
7576 if test "${enable_ffile+set}" = set; then
7577 enableval=$enable_ffile;
7578 if test "$enableval" = yes; then
7579 wx_cv_use_ffile='wxUSE_FFILE=yes'
7580 else
7581 wx_cv_use_ffile='wxUSE_FFILE=no'
7582 fi
7583 cache=yes
7584
7585 else
7586
7587 LINE=`grep "^wxUSE_FFILE=" ${wx_arg_cache_file}`
7588 if test "x$LINE" != x ; then
7589 eval "DEFAULT_$LINE"
7590 cache=yes
7591 else
7592 cache=no
7593 fi
7594
7595 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
7596
7597 fi
7598
7599
7600 eval "$wx_cv_use_ffile"
7601 if test "x$cache" = xyes; then
7602 echo "wxUSE_FFILE=$wxUSE_FFILE" >> ${wx_arg_cache_file}.tmp
7603 fi
7604
7605 if test x"$enablestring" = xdisable; then
7606 if test $wxUSE_FFILE = yes; then
7607 result=no
7608 else
7609 result=yes
7610 fi
7611 else
7612 result=$wxUSE_FFILE
7613 fi
7614
7615 { echo "$as_me:$LINENO: result: $result" >&5
7616 echo "${ECHO_T}$result" >&6; }
7617
7618
7619 enablestring=
7620 defaultval=$wxUSE_ALL_FEATURES
7621 if test -z "$defaultval"; then
7622 if test x"$enablestring" = xdisable; then
7623 defaultval=yes
7624 else
7625 defaultval=no
7626 fi
7627 fi
7628
7629 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
7630 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
7631 # Check whether --enable-file was given.
7632 if test "${enable_file+set}" = set; then
7633 enableval=$enable_file;
7634 if test "$enableval" = yes; then
7635 wx_cv_use_file='wxUSE_FILE=yes'
7636 else
7637 wx_cv_use_file='wxUSE_FILE=no'
7638 fi
7639 cache=yes
7640
7641 else
7642
7643 LINE=`grep "^wxUSE_FILE=" ${wx_arg_cache_file}`
7644 if test "x$LINE" != x ; then
7645 eval "DEFAULT_$LINE"
7646 cache=yes
7647 else
7648 cache=no
7649 fi
7650
7651 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
7652
7653 fi
7654
7655
7656 eval "$wx_cv_use_file"
7657 if test "x$cache" = xyes; then
7658 echo "wxUSE_FILE=$wxUSE_FILE" >> ${wx_arg_cache_file}.tmp
7659 fi
7660
7661 if test x"$enablestring" = xdisable; then
7662 if test $wxUSE_FILE = yes; then
7663 result=no
7664 else
7665 result=yes
7666 fi
7667 else
7668 result=$wxUSE_FILE
7669 fi
7670
7671 { echo "$as_me:$LINENO: result: $result" >&5
7672 echo "${ECHO_T}$result" >&6; }
7673
7674
7675 enablestring=
7676 defaultval=$wxUSE_ALL_FEATURES
7677 if test -z "$defaultval"; then
7678 if test x"$enablestring" = xdisable; then
7679 defaultval=yes
7680 else
7681 defaultval=no
7682 fi
7683 fi
7684
7685 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
7686 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
7687 # Check whether --enable-filesystem was given.
7688 if test "${enable_filesystem+set}" = set; then
7689 enableval=$enable_filesystem;
7690 if test "$enableval" = yes; then
7691 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
7692 else
7693 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
7694 fi
7695 cache=yes
7696
7697 else
7698
7699 LINE=`grep "^wxUSE_FILESYSTEM=" ${wx_arg_cache_file}`
7700 if test "x$LINE" != x ; then
7701 eval "DEFAULT_$LINE"
7702 cache=yes
7703 else
7704 cache=no
7705 fi
7706
7707 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
7708
7709 fi
7710
7711
7712 eval "$wx_cv_use_filesystem"
7713 if test "x$cache" = xyes; then
7714 echo "wxUSE_FILESYSTEM=$wxUSE_FILESYSTEM" >> ${wx_arg_cache_file}.tmp
7715 fi
7716
7717 if test x"$enablestring" = xdisable; then
7718 if test $wxUSE_FILESYSTEM = yes; then
7719 result=no
7720 else
7721 result=yes
7722 fi
7723 else
7724 result=$wxUSE_FILESYSTEM
7725 fi
7726
7727 { echo "$as_me:$LINENO: result: $result" >&5
7728 echo "${ECHO_T}$result" >&6; }
7729
7730
7731 enablestring=
7732 defaultval=$wxUSE_ALL_FEATURES
7733 if test -z "$defaultval"; then
7734 if test x"$enablestring" = xdisable; then
7735 defaultval=yes
7736 else
7737 defaultval=no
7738 fi
7739 fi
7740
7741 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
7742 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
7743 # Check whether --enable-fontenum was given.
7744 if test "${enable_fontenum+set}" = set; then
7745 enableval=$enable_fontenum;
7746 if test "$enableval" = yes; then
7747 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
7748 else
7749 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
7750 fi
7751 cache=yes
7752
7753 else
7754
7755 LINE=`grep "^wxUSE_FONTENUM=" ${wx_arg_cache_file}`
7756 if test "x$LINE" != x ; then
7757 eval "DEFAULT_$LINE"
7758 cache=yes
7759 else
7760 cache=no
7761 fi
7762
7763 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
7764
7765 fi
7766
7767
7768 eval "$wx_cv_use_fontenum"
7769 if test "x$cache" = xyes; then
7770 echo "wxUSE_FONTENUM=$wxUSE_FONTENUM" >> ${wx_arg_cache_file}.tmp
7771 fi
7772
7773 if test x"$enablestring" = xdisable; then
7774 if test $wxUSE_FONTENUM = yes; then
7775 result=no
7776 else
7777 result=yes
7778 fi
7779 else
7780 result=$wxUSE_FONTENUM
7781 fi
7782
7783 { echo "$as_me:$LINENO: result: $result" >&5
7784 echo "${ECHO_T}$result" >&6; }
7785
7786
7787 enablestring=
7788 defaultval=$wxUSE_ALL_FEATURES
7789 if test -z "$defaultval"; then
7790 if test x"$enablestring" = xdisable; then
7791 defaultval=yes
7792 else
7793 defaultval=no
7794 fi
7795 fi
7796
7797 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
7798 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
7799 # Check whether --enable-fontmap was given.
7800 if test "${enable_fontmap+set}" = set; then
7801 enableval=$enable_fontmap;
7802 if test "$enableval" = yes; then
7803 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
7804 else
7805 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
7806 fi
7807 cache=yes
7808
7809 else
7810
7811 LINE=`grep "^wxUSE_FONTMAP=" ${wx_arg_cache_file}`
7812 if test "x$LINE" != x ; then
7813 eval "DEFAULT_$LINE"
7814 cache=yes
7815 else
7816 cache=no
7817 fi
7818
7819 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7820
7821 fi
7822
7823
7824 eval "$wx_cv_use_fontmap"
7825 if test "x$cache" = xyes; then
7826 echo "wxUSE_FONTMAP=$wxUSE_FONTMAP" >> ${wx_arg_cache_file}.tmp
7827 fi
7828
7829 if test x"$enablestring" = xdisable; then
7830 if test $wxUSE_FONTMAP = yes; then
7831 result=no
7832 else
7833 result=yes
7834 fi
7835 else
7836 result=$wxUSE_FONTMAP
7837 fi
7838
7839 { echo "$as_me:$LINENO: result: $result" >&5
7840 echo "${ECHO_T}$result" >&6; }
7841
7842
7843 enablestring=
7844 defaultval=$wxUSE_ALL_FEATURES
7845 if test -z "$defaultval"; then
7846 if test x"$enablestring" = xdisable; then
7847 defaultval=yes
7848 else
7849 defaultval=no
7850 fi
7851 fi
7852
7853 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7854 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7855 # Check whether --enable-fs_archive was given.
7856 if test "${enable_fs_archive+set}" = set; then
7857 enableval=$enable_fs_archive;
7858 if test "$enableval" = yes; then
7859 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
7860 else
7861 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
7862 fi
7863 cache=yes
7864
7865 else
7866
7867 LINE=`grep "^wxUSE_FS_ARCHIVE=" ${wx_arg_cache_file}`
7868 if test "x$LINE" != x ; then
7869 eval "DEFAULT_$LINE"
7870 cache=yes
7871 else
7872 cache=no
7873 fi
7874
7875 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7876
7877 fi
7878
7879
7880 eval "$wx_cv_use_fs_archive"
7881 if test "x$cache" = xyes; then
7882 echo "wxUSE_FS_ARCHIVE=$wxUSE_FS_ARCHIVE" >> ${wx_arg_cache_file}.tmp
7883 fi
7884
7885 if test x"$enablestring" = xdisable; then
7886 if test $wxUSE_FS_ARCHIVE = yes; then
7887 result=no
7888 else
7889 result=yes
7890 fi
7891 else
7892 result=$wxUSE_FS_ARCHIVE
7893 fi
7894
7895 { echo "$as_me:$LINENO: result: $result" >&5
7896 echo "${ECHO_T}$result" >&6; }
7897
7898
7899 enablestring=
7900 defaultval=$wxUSE_ALL_FEATURES
7901 if test -z "$defaultval"; then
7902 if test x"$enablestring" = xdisable; then
7903 defaultval=yes
7904 else
7905 defaultval=no
7906 fi
7907 fi
7908
7909 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7910 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7911 # Check whether --enable-fs_inet was given.
7912 if test "${enable_fs_inet+set}" = set; then
7913 enableval=$enable_fs_inet;
7914 if test "$enableval" = yes; then
7915 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
7916 else
7917 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
7918 fi
7919 cache=yes
7920
7921 else
7922
7923 LINE=`grep "^wxUSE_FS_INET=" ${wx_arg_cache_file}`
7924 if test "x$LINE" != x ; then
7925 eval "DEFAULT_$LINE"
7926 cache=yes
7927 else
7928 cache=no
7929 fi
7930
7931 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7932
7933 fi
7934
7935
7936 eval "$wx_cv_use_fs_inet"
7937 if test "x$cache" = xyes; then
7938 echo "wxUSE_FS_INET=$wxUSE_FS_INET" >> ${wx_arg_cache_file}.tmp
7939 fi
7940
7941 if test x"$enablestring" = xdisable; then
7942 if test $wxUSE_FS_INET = yes; then
7943 result=no
7944 else
7945 result=yes
7946 fi
7947 else
7948 result=$wxUSE_FS_INET
7949 fi
7950
7951 { echo "$as_me:$LINENO: result: $result" >&5
7952 echo "${ECHO_T}$result" >&6; }
7953
7954
7955 enablestring=
7956 defaultval=$wxUSE_ALL_FEATURES
7957 if test -z "$defaultval"; then
7958 if test x"$enablestring" = xdisable; then
7959 defaultval=yes
7960 else
7961 defaultval=no
7962 fi
7963 fi
7964
7965 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7966 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7967 # Check whether --enable-fs_zip was given.
7968 if test "${enable_fs_zip+set}" = set; then
7969 enableval=$enable_fs_zip;
7970 if test "$enableval" = yes; then
7971 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
7972 else
7973 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7974 fi
7975 cache=yes
7976
7977 else
7978
7979 LINE=`grep "^wxUSE_FS_ZIP=" ${wx_arg_cache_file}`
7980 if test "x$LINE" != x ; then
7981 eval "DEFAULT_$LINE"
7982 cache=yes
7983 else
7984 cache=no
7985 fi
7986
7987 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7988
7989 fi
7990
7991
7992 eval "$wx_cv_use_fs_zip"
7993 if test "x$cache" = xyes; then
7994 echo "wxUSE_FS_ZIP=$wxUSE_FS_ZIP" >> ${wx_arg_cache_file}.tmp
7995 fi
7996
7997 if test x"$enablestring" = xdisable; then
7998 if test $wxUSE_FS_ZIP = yes; then
7999 result=no
8000 else
8001 result=yes
8002 fi
8003 else
8004 result=$wxUSE_FS_ZIP
8005 fi
8006
8007 { echo "$as_me:$LINENO: result: $result" >&5
8008 echo "${ECHO_T}$result" >&6; }
8009
8010
8011 enablestring=
8012 defaultval=$wxUSE_ALL_FEATURES
8013 if test -z "$defaultval"; then
8014 if test x"$enablestring" = xdisable; then
8015 defaultval=yes
8016 else
8017 defaultval=no
8018 fi
8019 fi
8020
8021 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
8022 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
8023 # Check whether --enable-geometry was given.
8024 if test "${enable_geometry+set}" = set; then
8025 enableval=$enable_geometry;
8026 if test "$enableval" = yes; then
8027 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
8028 else
8029 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
8030 fi
8031 cache=yes
8032
8033 else
8034
8035 LINE=`grep "^wxUSE_GEOMETRY=" ${wx_arg_cache_file}`
8036 if test "x$LINE" != x ; then
8037 eval "DEFAULT_$LINE"
8038 cache=yes
8039 else
8040 cache=no
8041 fi
8042
8043 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
8044
8045 fi
8046
8047
8048 eval "$wx_cv_use_geometry"
8049 if test "x$cache" = xyes; then
8050 echo "wxUSE_GEOMETRY=$wxUSE_GEOMETRY" >> ${wx_arg_cache_file}.tmp
8051 fi
8052
8053 if test x"$enablestring" = xdisable; then
8054 if test $wxUSE_GEOMETRY = yes; then
8055 result=no
8056 else
8057 result=yes
8058 fi
8059 else
8060 result=$wxUSE_GEOMETRY
8061 fi
8062
8063 { echo "$as_me:$LINENO: result: $result" >&5
8064 echo "${ECHO_T}$result" >&6; }
8065
8066
8067 enablestring=
8068 defaultval=$wxUSE_ALL_FEATURES
8069 if test -z "$defaultval"; then
8070 if test x"$enablestring" = xdisable; then
8071 defaultval=yes
8072 else
8073 defaultval=no
8074 fi
8075 fi
8076
8077 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
8078 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
8079 # Check whether --enable-log was given.
8080 if test "${enable_log+set}" = set; then
8081 enableval=$enable_log;
8082 if test "$enableval" = yes; then
8083 wx_cv_use_log='wxUSE_LOG=yes'
8084 else
8085 wx_cv_use_log='wxUSE_LOG=no'
8086 fi
8087 cache=yes
8088
8089 else
8090
8091 LINE=`grep "^wxUSE_LOG=" ${wx_arg_cache_file}`
8092 if test "x$LINE" != x ; then
8093 eval "DEFAULT_$LINE"
8094 cache=yes
8095 else
8096 cache=no
8097 fi
8098
8099 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
8100
8101 fi
8102
8103
8104 eval "$wx_cv_use_log"
8105 if test "x$cache" = xyes; then
8106 echo "wxUSE_LOG=$wxUSE_LOG" >> ${wx_arg_cache_file}.tmp
8107 fi
8108
8109 if test x"$enablestring" = xdisable; then
8110 if test $wxUSE_LOG = yes; then
8111 result=no
8112 else
8113 result=yes
8114 fi
8115 else
8116 result=$wxUSE_LOG
8117 fi
8118
8119 { echo "$as_me:$LINENO: result: $result" >&5
8120 echo "${ECHO_T}$result" >&6; }
8121
8122
8123 enablestring=
8124 defaultval=$wxUSE_ALL_FEATURES
8125 if test -z "$defaultval"; then
8126 if test x"$enablestring" = xdisable; then
8127 defaultval=yes
8128 else
8129 defaultval=no
8130 fi
8131 fi
8132
8133 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
8134 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
8135 # Check whether --enable-longlong was given.
8136 if test "${enable_longlong+set}" = set; then
8137 enableval=$enable_longlong;
8138 if test "$enableval" = yes; then
8139 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
8140 else
8141 wx_cv_use_longlong='wxUSE_LONGLONG=no'
8142 fi
8143 cache=yes
8144
8145 else
8146
8147 LINE=`grep "^wxUSE_LONGLONG=" ${wx_arg_cache_file}`
8148 if test "x$LINE" != x ; then
8149 eval "DEFAULT_$LINE"
8150 cache=yes
8151 else
8152 cache=no
8153 fi
8154
8155 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
8156
8157 fi
8158
8159
8160 eval "$wx_cv_use_longlong"
8161 if test "x$cache" = xyes; then
8162 echo "wxUSE_LONGLONG=$wxUSE_LONGLONG" >> ${wx_arg_cache_file}.tmp
8163 fi
8164
8165 if test x"$enablestring" = xdisable; then
8166 if test $wxUSE_LONGLONG = yes; then
8167 result=no
8168 else
8169 result=yes
8170 fi
8171 else
8172 result=$wxUSE_LONGLONG
8173 fi
8174
8175 { echo "$as_me:$LINENO: result: $result" >&5
8176 echo "${ECHO_T}$result" >&6; }
8177
8178
8179 enablestring=
8180 defaultval=$wxUSE_ALL_FEATURES
8181 if test -z "$defaultval"; then
8182 if test x"$enablestring" = xdisable; then
8183 defaultval=yes
8184 else
8185 defaultval=no
8186 fi
8187 fi
8188
8189 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
8190 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
8191 # Check whether --enable-mimetype was given.
8192 if test "${enable_mimetype+set}" = set; then
8193 enableval=$enable_mimetype;
8194 if test "$enableval" = yes; then
8195 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
8196 else
8197 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
8198 fi
8199 cache=yes
8200
8201 else
8202
8203 LINE=`grep "^wxUSE_MIMETYPE=" ${wx_arg_cache_file}`
8204 if test "x$LINE" != x ; then
8205 eval "DEFAULT_$LINE"
8206 cache=yes
8207 else
8208 cache=no
8209 fi
8210
8211 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
8212
8213 fi
8214
8215
8216 eval "$wx_cv_use_mimetype"
8217 if test "x$cache" = xyes; then
8218 echo "wxUSE_MIMETYPE=$wxUSE_MIMETYPE" >> ${wx_arg_cache_file}.tmp
8219 fi
8220
8221 if test x"$enablestring" = xdisable; then
8222 if test $wxUSE_MIMETYPE = yes; then
8223 result=no
8224 else
8225 result=yes
8226 fi
8227 else
8228 result=$wxUSE_MIMETYPE
8229 fi
8230
8231 { echo "$as_me:$LINENO: result: $result" >&5
8232 echo "${ECHO_T}$result" >&6; }
8233
8234
8235 enablestring=
8236 defaultval=$wxUSE_ALL_FEATURES
8237 if test -z "$defaultval"; then
8238 if test x"$enablestring" = xdisable; then
8239 defaultval=yes
8240 else
8241 defaultval=no
8242 fi
8243 fi
8244
8245 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
8246 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
8247 # Check whether --enable-snglinst was given.
8248 if test "${enable_snglinst+set}" = set; then
8249 enableval=$enable_snglinst;
8250 if test "$enableval" = yes; then
8251 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
8252 else
8253 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
8254 fi
8255 cache=yes
8256
8257 else
8258
8259 LINE=`grep "^wxUSE_SNGLINST_CHECKER=" ${wx_arg_cache_file}`
8260 if test "x$LINE" != x ; then
8261 eval "DEFAULT_$LINE"
8262 cache=yes
8263 else
8264 cache=no
8265 fi
8266
8267 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
8268
8269 fi
8270
8271
8272 eval "$wx_cv_use_snglinst"
8273 if test "x$cache" = xyes; then
8274 echo "wxUSE_SNGLINST_CHECKER=$wxUSE_SNGLINST_CHECKER" >> ${wx_arg_cache_file}.tmp
8275 fi
8276
8277 if test x"$enablestring" = xdisable; then
8278 if test $wxUSE_SNGLINST_CHECKER = yes; then
8279 result=no
8280 else
8281 result=yes
8282 fi
8283 else
8284 result=$wxUSE_SNGLINST_CHECKER
8285 fi
8286
8287 { echo "$as_me:$LINENO: result: $result" >&5
8288 echo "${ECHO_T}$result" >&6; }
8289
8290
8291 enablestring=
8292 defaultval=$wxUSE_ALL_FEATURES
8293 if test -z "$defaultval"; then
8294 if test x"$enablestring" = xdisable; then
8295 defaultval=yes
8296 else
8297 defaultval=no
8298 fi
8299 fi
8300
8301 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
8302 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
8303 # Check whether --enable-stdpaths was given.
8304 if test "${enable_stdpaths+set}" = set; then
8305 enableval=$enable_stdpaths;
8306 if test "$enableval" = yes; then
8307 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
8308 else
8309 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
8310 fi
8311 cache=yes
8312
8313 else
8314
8315 LINE=`grep "^wxUSE_STDPATHS=" ${wx_arg_cache_file}`
8316 if test "x$LINE" != x ; then
8317 eval "DEFAULT_$LINE"
8318 cache=yes
8319 else
8320 cache=no
8321 fi
8322
8323 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
8324
8325 fi
8326
8327
8328 eval "$wx_cv_use_stdpaths"
8329 if test "x$cache" = xyes; then
8330 echo "wxUSE_STDPATHS=$wxUSE_STDPATHS" >> ${wx_arg_cache_file}.tmp
8331 fi
8332
8333 if test x"$enablestring" = xdisable; then
8334 if test $wxUSE_STDPATHS = yes; then
8335 result=no
8336 else
8337 result=yes
8338 fi
8339 else
8340 result=$wxUSE_STDPATHS
8341 fi
8342
8343 { echo "$as_me:$LINENO: result: $result" >&5
8344 echo "${ECHO_T}$result" >&6; }
8345
8346
8347 enablestring=
8348 defaultval=$wxUSE_ALL_FEATURES
8349 if test -z "$defaultval"; then
8350 if test x"$enablestring" = xdisable; then
8351 defaultval=yes
8352 else
8353 defaultval=no
8354 fi
8355 fi
8356
8357 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
8358 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
8359 # Check whether --enable-stopwatch was given.
8360 if test "${enable_stopwatch+set}" = set; then
8361 enableval=$enable_stopwatch;
8362 if test "$enableval" = yes; then
8363 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
8364 else
8365 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
8366 fi
8367 cache=yes
8368
8369 else
8370
8371 LINE=`grep "^wxUSE_STOPWATCH=" ${wx_arg_cache_file}`
8372 if test "x$LINE" != x ; then
8373 eval "DEFAULT_$LINE"
8374 cache=yes
8375 else
8376 cache=no
8377 fi
8378
8379 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
8380
8381 fi
8382
8383
8384 eval "$wx_cv_use_stopwatch"
8385 if test "x$cache" = xyes; then
8386 echo "wxUSE_STOPWATCH=$wxUSE_STOPWATCH" >> ${wx_arg_cache_file}.tmp
8387 fi
8388
8389 if test x"$enablestring" = xdisable; then
8390 if test $wxUSE_STOPWATCH = yes; then
8391 result=no
8392 else
8393 result=yes
8394 fi
8395 else
8396 result=$wxUSE_STOPWATCH
8397 fi
8398
8399 { echo "$as_me:$LINENO: result: $result" >&5
8400 echo "${ECHO_T}$result" >&6; }
8401
8402
8403 enablestring=
8404 defaultval=$wxUSE_ALL_FEATURES
8405 if test -z "$defaultval"; then
8406 if test x"$enablestring" = xdisable; then
8407 defaultval=yes
8408 else
8409 defaultval=no
8410 fi
8411 fi
8412
8413 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
8414 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
8415 # Check whether --enable-streams was given.
8416 if test "${enable_streams+set}" = set; then
8417 enableval=$enable_streams;
8418 if test "$enableval" = yes; then
8419 wx_cv_use_streams='wxUSE_STREAMS=yes'
8420 else
8421 wx_cv_use_streams='wxUSE_STREAMS=no'
8422 fi
8423 cache=yes
8424
8425 else
8426
8427 LINE=`grep "^wxUSE_STREAMS=" ${wx_arg_cache_file}`
8428 if test "x$LINE" != x ; then
8429 eval "DEFAULT_$LINE"
8430 cache=yes
8431 else
8432 cache=no
8433 fi
8434
8435 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
8436
8437 fi
8438
8439
8440 eval "$wx_cv_use_streams"
8441 if test "x$cache" = xyes; then
8442 echo "wxUSE_STREAMS=$wxUSE_STREAMS" >> ${wx_arg_cache_file}.tmp
8443 fi
8444
8445 if test x"$enablestring" = xdisable; then
8446 if test $wxUSE_STREAMS = yes; then
8447 result=no
8448 else
8449 result=yes
8450 fi
8451 else
8452 result=$wxUSE_STREAMS
8453 fi
8454
8455 { echo "$as_me:$LINENO: result: $result" >&5
8456 echo "${ECHO_T}$result" >&6; }
8457
8458
8459 enablestring=
8460 defaultval=$wxUSE_ALL_FEATURES
8461 if test -z "$defaultval"; then
8462 if test x"$enablestring" = xdisable; then
8463 defaultval=yes
8464 else
8465 defaultval=no
8466 fi
8467 fi
8468
8469 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
8470 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
8471 # Check whether --enable-system_options was given.
8472 if test "${enable_system_options+set}" = set; then
8473 enableval=$enable_system_options;
8474 if test "$enableval" = yes; then
8475 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
8476 else
8477 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
8478 fi
8479 cache=yes
8480
8481 else
8482
8483 LINE=`grep "^wxUSE_SYSTEM_OPTIONS=" ${wx_arg_cache_file}`
8484 if test "x$LINE" != x ; then
8485 eval "DEFAULT_$LINE"
8486 cache=yes
8487 else
8488 cache=no
8489 fi
8490
8491 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
8492
8493 fi
8494
8495
8496 eval "$wx_cv_use_system_options"
8497 if test "x$cache" = xyes; then
8498 echo "wxUSE_SYSTEM_OPTIONS=$wxUSE_SYSTEM_OPTIONS" >> ${wx_arg_cache_file}.tmp
8499 fi
8500
8501 if test x"$enablestring" = xdisable; then
8502 if test $wxUSE_SYSTEM_OPTIONS = yes; then
8503 result=no
8504 else
8505 result=yes
8506 fi
8507 else
8508 result=$wxUSE_SYSTEM_OPTIONS
8509 fi
8510
8511 { echo "$as_me:$LINENO: result: $result" >&5
8512 echo "${ECHO_T}$result" >&6; }
8513
8514
8515 enablestring=
8516 defaultval=$wxUSE_ALL_FEATURES
8517 if test -z "$defaultval"; then
8518 if test x"$enablestring" = xdisable; then
8519 defaultval=yes
8520 else
8521 defaultval=no
8522 fi
8523 fi
8524
8525 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
8526 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
8527 # Check whether --enable-tarstream was given.
8528 if test "${enable_tarstream+set}" = set; then
8529 enableval=$enable_tarstream;
8530 if test "$enableval" = yes; then
8531 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
8532 else
8533 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
8534 fi
8535 cache=yes
8536
8537 else
8538
8539 LINE=`grep "^wxUSE_TARSTREAM=" ${wx_arg_cache_file}`
8540 if test "x$LINE" != x ; then
8541 eval "DEFAULT_$LINE"
8542 cache=yes
8543 else
8544 cache=no
8545 fi
8546
8547 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
8548
8549 fi
8550
8551
8552 eval "$wx_cv_use_tarstream"
8553 if test "x$cache" = xyes; then
8554 echo "wxUSE_TARSTREAM=$wxUSE_TARSTREAM" >> ${wx_arg_cache_file}.tmp
8555 fi
8556
8557 if test x"$enablestring" = xdisable; then
8558 if test $wxUSE_TARSTREAM = yes; then
8559 result=no
8560 else
8561 result=yes
8562 fi
8563 else
8564 result=$wxUSE_TARSTREAM
8565 fi
8566
8567 { echo "$as_me:$LINENO: result: $result" >&5
8568 echo "${ECHO_T}$result" >&6; }
8569
8570
8571 enablestring=
8572 defaultval=$wxUSE_ALL_FEATURES
8573 if test -z "$defaultval"; then
8574 if test x"$enablestring" = xdisable; then
8575 defaultval=yes
8576 else
8577 defaultval=no
8578 fi
8579 fi
8580
8581 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
8582 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
8583 # Check whether --enable-textbuf was given.
8584 if test "${enable_textbuf+set}" = set; then
8585 enableval=$enable_textbuf;
8586 if test "$enableval" = yes; then
8587 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
8588 else
8589 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
8590 fi
8591 cache=yes
8592
8593 else
8594
8595 LINE=`grep "^wxUSE_TEXTBUFFER=" ${wx_arg_cache_file}`
8596 if test "x$LINE" != x ; then
8597 eval "DEFAULT_$LINE"
8598 cache=yes
8599 else
8600 cache=no
8601 fi
8602
8603 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
8604
8605 fi
8606
8607
8608 eval "$wx_cv_use_textbuf"
8609 if test "x$cache" = xyes; then
8610 echo "wxUSE_TEXTBUFFER=$wxUSE_TEXTBUFFER" >> ${wx_arg_cache_file}.tmp
8611 fi
8612
8613 if test x"$enablestring" = xdisable; then
8614 if test $wxUSE_TEXTBUFFER = yes; then
8615 result=no
8616 else
8617 result=yes
8618 fi
8619 else
8620 result=$wxUSE_TEXTBUFFER
8621 fi
8622
8623 { echo "$as_me:$LINENO: result: $result" >&5
8624 echo "${ECHO_T}$result" >&6; }
8625
8626
8627 enablestring=
8628 defaultval=$wxUSE_ALL_FEATURES
8629 if test -z "$defaultval"; then
8630 if test x"$enablestring" = xdisable; then
8631 defaultval=yes
8632 else
8633 defaultval=no
8634 fi
8635 fi
8636
8637 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
8638 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
8639 # Check whether --enable-textfile was given.
8640 if test "${enable_textfile+set}" = set; then
8641 enableval=$enable_textfile;
8642 if test "$enableval" = yes; then
8643 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
8644 else
8645 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
8646 fi
8647 cache=yes
8648
8649 else
8650
8651 LINE=`grep "^wxUSE_TEXTFILE=" ${wx_arg_cache_file}`
8652 if test "x$LINE" != x ; then
8653 eval "DEFAULT_$LINE"
8654 cache=yes
8655 else
8656 cache=no
8657 fi
8658
8659 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
8660
8661 fi
8662
8663
8664 eval "$wx_cv_use_textfile"
8665 if test "x$cache" = xyes; then
8666 echo "wxUSE_TEXTFILE=$wxUSE_TEXTFILE" >> ${wx_arg_cache_file}.tmp
8667 fi
8668
8669 if test x"$enablestring" = xdisable; then
8670 if test $wxUSE_TEXTFILE = yes; then
8671 result=no
8672 else
8673 result=yes
8674 fi
8675 else
8676 result=$wxUSE_TEXTFILE
8677 fi
8678
8679 { echo "$as_me:$LINENO: result: $result" >&5
8680 echo "${ECHO_T}$result" >&6; }
8681
8682
8683 enablestring=
8684 defaultval=$wxUSE_ALL_FEATURES
8685 if test -z "$defaultval"; then
8686 if test x"$enablestring" = xdisable; then
8687 defaultval=yes
8688 else
8689 defaultval=no
8690 fi
8691 fi
8692
8693 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
8694 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
8695 # Check whether --enable-timer was given.
8696 if test "${enable_timer+set}" = set; then
8697 enableval=$enable_timer;
8698 if test "$enableval" = yes; then
8699 wx_cv_use_timer='wxUSE_TIMER=yes'
8700 else
8701 wx_cv_use_timer='wxUSE_TIMER=no'
8702 fi
8703 cache=yes
8704
8705 else
8706
8707 LINE=`grep "^wxUSE_TIMER=" ${wx_arg_cache_file}`
8708 if test "x$LINE" != x ; then
8709 eval "DEFAULT_$LINE"
8710 cache=yes
8711 else
8712 cache=no
8713 fi
8714
8715 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
8716
8717 fi
8718
8719
8720 eval "$wx_cv_use_timer"
8721 if test "x$cache" = xyes; then
8722 echo "wxUSE_TIMER=$wxUSE_TIMER" >> ${wx_arg_cache_file}.tmp
8723 fi
8724
8725 if test x"$enablestring" = xdisable; then
8726 if test $wxUSE_TIMER = yes; then
8727 result=no
8728 else
8729 result=yes
8730 fi
8731 else
8732 result=$wxUSE_TIMER
8733 fi
8734
8735 { echo "$as_me:$LINENO: result: $result" >&5
8736 echo "${ECHO_T}$result" >&6; }
8737
8738
8739 enablestring=
8740 defaultval=$wxUSE_ALL_FEATURES
8741 if test -z "$defaultval"; then
8742 if test x"$enablestring" = xdisable; then
8743 defaultval=yes
8744 else
8745 defaultval=no
8746 fi
8747 fi
8748
8749 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
8750 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
8751 # Check whether --enable-sound was given.
8752 if test "${enable_sound+set}" = set; then
8753 enableval=$enable_sound;
8754 if test "$enableval" = yes; then
8755 wx_cv_use_sound='wxUSE_SOUND=yes'
8756 else
8757 wx_cv_use_sound='wxUSE_SOUND=no'
8758 fi
8759 cache=yes
8760
8761 else
8762
8763 LINE=`grep "^wxUSE_SOUND=" ${wx_arg_cache_file}`
8764 if test "x$LINE" != x ; then
8765 eval "DEFAULT_$LINE"
8766 cache=yes
8767 else
8768 cache=no
8769 fi
8770
8771 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
8772
8773 fi
8774
8775
8776 eval "$wx_cv_use_sound"
8777 if test "x$cache" = xyes; then
8778 echo "wxUSE_SOUND=$wxUSE_SOUND" >> ${wx_arg_cache_file}.tmp
8779 fi
8780
8781 if test x"$enablestring" = xdisable; then
8782 if test $wxUSE_SOUND = yes; then
8783 result=no
8784 else
8785 result=yes
8786 fi
8787 else
8788 result=$wxUSE_SOUND
8789 fi
8790
8791 { echo "$as_me:$LINENO: result: $result" >&5
8792 echo "${ECHO_T}$result" >&6; }
8793
8794
8795 enablestring=
8796 defaultval=$wxUSE_ALL_FEATURES
8797 if test -z "$defaultval"; then
8798 if test x"$enablestring" = xdisable; then
8799 defaultval=yes
8800 else
8801 defaultval=no
8802 fi
8803 fi
8804
8805 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
8806 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
8807 # Check whether --enable-mediactrl was given.
8808 if test "${enable_mediactrl+set}" = set; then
8809 enableval=$enable_mediactrl;
8810 if test "$enableval" = yes; then
8811 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
8812 else
8813 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
8814 fi
8815 cache=yes
8816
8817 else
8818
8819 LINE=`grep "^wxUSE_MEDIACTRL=" ${wx_arg_cache_file}`
8820 if test "x$LINE" != x ; then
8821 eval "DEFAULT_$LINE"
8822 cache=yes
8823 else
8824 cache=no
8825 fi
8826
8827 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
8828
8829 fi
8830
8831
8832 eval "$wx_cv_use_mediactrl"
8833 if test "x$cache" = xyes; then
8834 echo "wxUSE_MEDIACTRL=$wxUSE_MEDIACTRL" >> ${wx_arg_cache_file}.tmp
8835 fi
8836
8837 if test x"$enablestring" = xdisable; then
8838 if test $wxUSE_MEDIACTRL = yes; then
8839 result=no
8840 else
8841 result=yes
8842 fi
8843 else
8844 result=$wxUSE_MEDIACTRL
8845 fi
8846
8847 { echo "$as_me:$LINENO: result: $result" >&5
8848 echo "${ECHO_T}$result" >&6; }
8849
8850
8851 enablestring=
8852 defaultval=$wxUSE_ALL_FEATURES
8853 if test -z "$defaultval"; then
8854 if test x"$enablestring" = xdisable; then
8855 defaultval=yes
8856 else
8857 defaultval=no
8858 fi
8859 fi
8860
8861 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
8862 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
8863 # Check whether --enable-gstreamer8 was given.
8864 if test "${enable_gstreamer8+set}" = set; then
8865 enableval=$enable_gstreamer8;
8866 if test "$enableval" = yes; then
8867 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
8868 else
8869 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
8870 fi
8871 cache=yes
8872
8873 else
8874
8875 LINE=`grep "^wxUSE_GSTREAMER8=" ${wx_arg_cache_file}`
8876 if test "x$LINE" != x ; then
8877 eval "DEFAULT_$LINE"
8878 cache=yes
8879 else
8880 cache=no
8881 fi
8882
8883 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
8884
8885 fi
8886
8887
8888 eval "$wx_cv_use_gstreamer8"
8889 if test "x$cache" = xyes; then
8890 echo "wxUSE_GSTREAMER8=$wxUSE_GSTREAMER8" >> ${wx_arg_cache_file}.tmp
8891 fi
8892
8893 if test x"$enablestring" = xdisable; then
8894 if test $wxUSE_GSTREAMER8 = yes; then
8895 result=no
8896 else
8897 result=yes
8898 fi
8899 else
8900 result=$wxUSE_GSTREAMER8
8901 fi
8902
8903 { echo "$as_me:$LINENO: result: $result" >&5
8904 echo "${ECHO_T}$result" >&6; }
8905
8906
8907 enablestring=
8908 defaultval=$wxUSE_ALL_FEATURES
8909 if test -z "$defaultval"; then
8910 if test x"$enablestring" = xdisable; then
8911 defaultval=yes
8912 else
8913 defaultval=no
8914 fi
8915 fi
8916
8917 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
8918 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
8919 # Check whether --enable-printfposparam was given.
8920 if test "${enable_printfposparam+set}" = set; then
8921 enableval=$enable_printfposparam;
8922 if test "$enableval" = yes; then
8923 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
8924 else
8925 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
8926 fi
8927 cache=yes
8928
8929 else
8930
8931 LINE=`grep "^wxUSE_PRINTF_POS_PARAMS=" ${wx_arg_cache_file}`
8932 if test "x$LINE" != x ; then
8933 eval "DEFAULT_$LINE"
8934 cache=yes
8935 else
8936 cache=no
8937 fi
8938
8939 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
8940
8941 fi
8942
8943
8944 eval "$wx_cv_use_printfposparam"
8945 if test "x$cache" = xyes; then
8946 echo "wxUSE_PRINTF_POS_PARAMS=$wxUSE_PRINTF_POS_PARAMS" >> ${wx_arg_cache_file}.tmp
8947 fi
8948
8949 if test x"$enablestring" = xdisable; then
8950 if test $wxUSE_PRINTF_POS_PARAMS = yes; then
8951 result=no
8952 else
8953 result=yes
8954 fi
8955 else
8956 result=$wxUSE_PRINTF_POS_PARAMS
8957 fi
8958
8959 { echo "$as_me:$LINENO: result: $result" >&5
8960 echo "${ECHO_T}$result" >&6; }
8961
8962
8963 enablestring=
8964 defaultval=$wxUSE_ALL_FEATURES
8965 if test -z "$defaultval"; then
8966 if test x"$enablestring" = xdisable; then
8967 defaultval=yes
8968 else
8969 defaultval=no
8970 fi
8971 fi
8972
8973 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
8974 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
8975 # Check whether --enable-zipstream was given.
8976 if test "${enable_zipstream+set}" = set; then
8977 enableval=$enable_zipstream;
8978 if test "$enableval" = yes; then
8979 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
8980 else
8981 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
8982 fi
8983 cache=yes
8984
8985 else
8986
8987 LINE=`grep "^wxUSE_ZIPSTREAM=" ${wx_arg_cache_file}`
8988 if test "x$LINE" != x ; then
8989 eval "DEFAULT_$LINE"
8990 cache=yes
8991 else
8992 cache=no
8993 fi
8994
8995 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
8996
8997 fi
8998
8999
9000 eval "$wx_cv_use_zipstream"
9001 if test "x$cache" = xyes; then
9002 echo "wxUSE_ZIPSTREAM=$wxUSE_ZIPSTREAM" >> ${wx_arg_cache_file}.tmp
9003 fi
9004
9005 if test x"$enablestring" = xdisable; then
9006 if test $wxUSE_ZIPSTREAM = yes; then
9007 result=no
9008 else
9009 result=yes
9010 fi
9011 else
9012 result=$wxUSE_ZIPSTREAM
9013 fi
9014
9015 { echo "$as_me:$LINENO: result: $result" >&5
9016 echo "${ECHO_T}$result" >&6; }
9017
9018
9019
9020 enablestring=
9021 defaultval=$wxUSE_ALL_FEATURES
9022 if test -z "$defaultval"; then
9023 if test x"$enablestring" = xdisable; then
9024 defaultval=yes
9025 else
9026 defaultval=no
9027 fi
9028 fi
9029
9030 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
9031 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
9032 # Check whether --enable-url was given.
9033 if test "${enable_url+set}" = set; then
9034 enableval=$enable_url;
9035 if test "$enableval" = yes; then
9036 wx_cv_use_url='wxUSE_URL=yes'
9037 else
9038 wx_cv_use_url='wxUSE_URL=no'
9039 fi
9040 cache=yes
9041
9042 else
9043
9044 LINE=`grep "^wxUSE_URL=" ${wx_arg_cache_file}`
9045 if test "x$LINE" != x ; then
9046 eval "DEFAULT_$LINE"
9047 cache=yes
9048 else
9049 cache=no
9050 fi
9051
9052 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
9053
9054 fi
9055
9056
9057 eval "$wx_cv_use_url"
9058 if test "x$cache" = xyes; then
9059 echo "wxUSE_URL=$wxUSE_URL" >> ${wx_arg_cache_file}.tmp
9060 fi
9061
9062 if test x"$enablestring" = xdisable; then
9063 if test $wxUSE_URL = yes; then
9064 result=no
9065 else
9066 result=yes
9067 fi
9068 else
9069 result=$wxUSE_URL
9070 fi
9071
9072 { echo "$as_me:$LINENO: result: $result" >&5
9073 echo "${ECHO_T}$result" >&6; }
9074
9075
9076 enablestring=
9077 defaultval=$wxUSE_ALL_FEATURES
9078 if test -z "$defaultval"; then
9079 if test x"$enablestring" = xdisable; then
9080 defaultval=yes
9081 else
9082 defaultval=no
9083 fi
9084 fi
9085
9086 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
9087 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
9088 # Check whether --enable-variant was given.
9089 if test "${enable_variant+set}" = set; then
9090 enableval=$enable_variant;
9091 if test "$enableval" = yes; then
9092 wx_cv_use_variant='wxUSE_VARIANT=yes'
9093 else
9094 wx_cv_use_variant='wxUSE_VARIANT=no'
9095 fi
9096 cache=yes
9097
9098 else
9099
9100 LINE=`grep "^wxUSE_VARIANT=" ${wx_arg_cache_file}`
9101 if test "x$LINE" != x ; then
9102 eval "DEFAULT_$LINE"
9103 cache=yes
9104 else
9105 cache=no
9106 fi
9107
9108 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
9109
9110 fi
9111
9112
9113 eval "$wx_cv_use_variant"
9114 if test "x$cache" = xyes; then
9115 echo "wxUSE_VARIANT=$wxUSE_VARIANT" >> ${wx_arg_cache_file}.tmp
9116 fi
9117
9118 if test x"$enablestring" = xdisable; then
9119 if test $wxUSE_VARIANT = yes; then
9120 result=no
9121 else
9122 result=yes
9123 fi
9124 else
9125 result=$wxUSE_VARIANT
9126 fi
9127
9128 { echo "$as_me:$LINENO: result: $result" >&5
9129 echo "${ECHO_T}$result" >&6; }
9130
9131
9132 enablestring=
9133 defaultval=$wxUSE_ALL_FEATURES
9134 if test -z "$defaultval"; then
9135 if test x"$enablestring" = xdisable; then
9136 defaultval=yes
9137 else
9138 defaultval=no
9139 fi
9140 fi
9141
9142 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
9143 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
9144 # Check whether --enable-protocol was given.
9145 if test "${enable_protocol+set}" = set; then
9146 enableval=$enable_protocol;
9147 if test "$enableval" = yes; then
9148 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
9149 else
9150 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
9151 fi
9152 cache=yes
9153
9154 else
9155
9156 LINE=`grep "^wxUSE_PROTOCOL=" ${wx_arg_cache_file}`
9157 if test "x$LINE" != x ; then
9158 eval "DEFAULT_$LINE"
9159 cache=yes
9160 else
9161 cache=no
9162 fi
9163
9164 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
9165
9166 fi
9167
9168
9169 eval "$wx_cv_use_protocol"
9170 if test "x$cache" = xyes; then
9171 echo "wxUSE_PROTOCOL=$wxUSE_PROTOCOL" >> ${wx_arg_cache_file}.tmp
9172 fi
9173
9174 if test x"$enablestring" = xdisable; then
9175 if test $wxUSE_PROTOCOL = yes; then
9176 result=no
9177 else
9178 result=yes
9179 fi
9180 else
9181 result=$wxUSE_PROTOCOL
9182 fi
9183
9184 { echo "$as_me:$LINENO: result: $result" >&5
9185 echo "${ECHO_T}$result" >&6; }
9186
9187
9188 enablestring=
9189 defaultval=$wxUSE_ALL_FEATURES
9190 if test -z "$defaultval"; then
9191 if test x"$enablestring" = xdisable; then
9192 defaultval=yes
9193 else
9194 defaultval=no
9195 fi
9196 fi
9197
9198 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
9199 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
9200 # Check whether --enable-protocol_http was given.
9201 if test "${enable_protocol_http+set}" = set; then
9202 enableval=$enable_protocol_http;
9203 if test "$enableval" = yes; then
9204 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
9205 else
9206 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
9207 fi
9208 cache=yes
9209
9210 else
9211
9212 LINE=`grep "^wxUSE_PROTOCOL_HTTP=" ${wx_arg_cache_file}`
9213 if test "x$LINE" != x ; then
9214 eval "DEFAULT_$LINE"
9215 cache=yes
9216 else
9217 cache=no
9218 fi
9219
9220 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
9221
9222 fi
9223
9224
9225 eval "$wx_cv_use_protocol_http"
9226 if test "x$cache" = xyes; then
9227 echo "wxUSE_PROTOCOL_HTTP=$wxUSE_PROTOCOL_HTTP" >> ${wx_arg_cache_file}.tmp
9228 fi
9229
9230 if test x"$enablestring" = xdisable; then
9231 if test $wxUSE_PROTOCOL_HTTP = yes; then
9232 result=no
9233 else
9234 result=yes
9235 fi
9236 else
9237 result=$wxUSE_PROTOCOL_HTTP
9238 fi
9239
9240 { echo "$as_me:$LINENO: result: $result" >&5
9241 echo "${ECHO_T}$result" >&6; }
9242
9243
9244 enablestring=
9245 defaultval=$wxUSE_ALL_FEATURES
9246 if test -z "$defaultval"; then
9247 if test x"$enablestring" = xdisable; then
9248 defaultval=yes
9249 else
9250 defaultval=no
9251 fi
9252 fi
9253
9254 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
9255 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
9256 # Check whether --enable-protocol_ftp was given.
9257 if test "${enable_protocol_ftp+set}" = set; then
9258 enableval=$enable_protocol_ftp;
9259 if test "$enableval" = yes; then
9260 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
9261 else
9262 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
9263 fi
9264 cache=yes
9265
9266 else
9267
9268 LINE=`grep "^wxUSE_PROTOCOL_FTP=" ${wx_arg_cache_file}`
9269 if test "x$LINE" != x ; then
9270 eval "DEFAULT_$LINE"
9271 cache=yes
9272 else
9273 cache=no
9274 fi
9275
9276 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
9277
9278 fi
9279
9280
9281 eval "$wx_cv_use_protocol_ftp"
9282 if test "x$cache" = xyes; then
9283 echo "wxUSE_PROTOCOL_FTP=$wxUSE_PROTOCOL_FTP" >> ${wx_arg_cache_file}.tmp
9284 fi
9285
9286 if test x"$enablestring" = xdisable; then
9287 if test $wxUSE_PROTOCOL_FTP = yes; then
9288 result=no
9289 else
9290 result=yes
9291 fi
9292 else
9293 result=$wxUSE_PROTOCOL_FTP
9294 fi
9295
9296 { echo "$as_me:$LINENO: result: $result" >&5
9297 echo "${ECHO_T}$result" >&6; }
9298
9299
9300 enablestring=
9301 defaultval=$wxUSE_ALL_FEATURES
9302 if test -z "$defaultval"; then
9303 if test x"$enablestring" = xdisable; then
9304 defaultval=yes
9305 else
9306 defaultval=no
9307 fi
9308 fi
9309
9310 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
9311 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
9312 # Check whether --enable-protocol_file was given.
9313 if test "${enable_protocol_file+set}" = set; then
9314 enableval=$enable_protocol_file;
9315 if test "$enableval" = yes; then
9316 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
9317 else
9318 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
9319 fi
9320 cache=yes
9321
9322 else
9323
9324 LINE=`grep "^wxUSE_PROTOCOL_FILE=" ${wx_arg_cache_file}`
9325 if test "x$LINE" != x ; then
9326 eval "DEFAULT_$LINE"
9327 cache=yes
9328 else
9329 cache=no
9330 fi
9331
9332 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
9333
9334 fi
9335
9336
9337 eval "$wx_cv_use_protocol_file"
9338 if test "x$cache" = xyes; then
9339 echo "wxUSE_PROTOCOL_FILE=$wxUSE_PROTOCOL_FILE" >> ${wx_arg_cache_file}.tmp
9340 fi
9341
9342 if test x"$enablestring" = xdisable; then
9343 if test $wxUSE_PROTOCOL_FILE = yes; then
9344 result=no
9345 else
9346 result=yes
9347 fi
9348 else
9349 result=$wxUSE_PROTOCOL_FILE
9350 fi
9351
9352 { echo "$as_me:$LINENO: result: $result" >&5
9353 echo "${ECHO_T}$result" >&6; }
9354
9355
9356
9357 enablestring=
9358 defaultval=$wxUSE_ALL_FEATURES
9359 if test -z "$defaultval"; then
9360 if test x"$enablestring" = xdisable; then
9361 defaultval=yes
9362 else
9363 defaultval=no
9364 fi
9365 fi
9366
9367 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
9368 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
9369 # Check whether --enable-threads was given.
9370 if test "${enable_threads+set}" = set; then
9371 enableval=$enable_threads;
9372 if test "$enableval" = yes; then
9373 wx_cv_use_threads='wxUSE_THREADS=yes'
9374 else
9375 wx_cv_use_threads='wxUSE_THREADS=no'
9376 fi
9377 cache=yes
9378
9379 else
9380
9381 LINE=`grep "^wxUSE_THREADS=" ${wx_arg_cache_file}`
9382 if test "x$LINE" != x ; then
9383 eval "DEFAULT_$LINE"
9384 cache=yes
9385 else
9386 cache=no
9387 fi
9388
9389 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
9390
9391 fi
9392
9393
9394 eval "$wx_cv_use_threads"
9395 if test "x$cache" = xyes; then
9396 echo "wxUSE_THREADS=$wxUSE_THREADS" >> ${wx_arg_cache_file}.tmp
9397 fi
9398
9399 if test x"$enablestring" = xdisable; then
9400 if test $wxUSE_THREADS = yes; then
9401 result=no
9402 else
9403 result=yes
9404 fi
9405 else
9406 result=$wxUSE_THREADS
9407 fi
9408
9409 { echo "$as_me:$LINENO: result: $result" >&5
9410 echo "${ECHO_T}$result" >&6; }
9411
9412
9413
9414 enablestring=
9415 defaultval=
9416 if test -z "$defaultval"; then
9417 if test x"$enablestring" = xdisable; then
9418 defaultval=yes
9419 else
9420 defaultval=no
9421 fi
9422 fi
9423
9424 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iniconf" >&5
9425 echo $ECHO_N "checking for --${enablestring:-enable}-iniconf... $ECHO_C" >&6; }
9426 # Check whether --enable-iniconf was given.
9427 if test "${enable_iniconf+set}" = set; then
9428 enableval=$enable_iniconf;
9429 if test "$enableval" = yes; then
9430 wx_cv_use_iniconf='wxUSE_INICONF=yes'
9431 else
9432 wx_cv_use_iniconf='wxUSE_INICONF=no'
9433 fi
9434 cache=yes
9435
9436 else
9437
9438 LINE=`grep "^wxUSE_INICONF=" ${wx_arg_cache_file}`
9439 if test "x$LINE" != x ; then
9440 eval "DEFAULT_$LINE"
9441 cache=yes
9442 else
9443 cache=no
9444 fi
9445
9446 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
9447
9448 fi
9449
9450
9451 eval "$wx_cv_use_iniconf"
9452 if test "x$cache" = xyes; then
9453 echo "wxUSE_INICONF=$wxUSE_INICONF" >> ${wx_arg_cache_file}.tmp
9454 fi
9455
9456 if test x"$enablestring" = xdisable; then
9457 if test $wxUSE_INICONF = yes; then
9458 result=no
9459 else
9460 result=yes
9461 fi
9462 else
9463 result=$wxUSE_INICONF
9464 fi
9465
9466 { echo "$as_me:$LINENO: result: $result" >&5
9467 echo "${ECHO_T}$result" >&6; }
9468
9469
9470 enablestring=
9471 defaultval=$wxUSE_ALL_FEATURES
9472 if test -z "$defaultval"; then
9473 if test x"$enablestring" = xdisable; then
9474 defaultval=yes
9475 else
9476 defaultval=no
9477 fi
9478 fi
9479
9480 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
9481 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
9482 # Check whether --enable-regkey was given.
9483 if test "${enable_regkey+set}" = set; then
9484 enableval=$enable_regkey;
9485 if test "$enableval" = yes; then
9486 wx_cv_use_regkey='wxUSE_REGKEY=yes'
9487 else
9488 wx_cv_use_regkey='wxUSE_REGKEY=no'
9489 fi
9490 cache=yes
9491
9492 else
9493
9494 LINE=`grep "^wxUSE_REGKEY=" ${wx_arg_cache_file}`
9495 if test "x$LINE" != x ; then
9496 eval "DEFAULT_$LINE"
9497 cache=yes
9498 else
9499 cache=no
9500 fi
9501
9502 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
9503
9504 fi
9505
9506
9507 eval "$wx_cv_use_regkey"
9508 if test "x$cache" = xyes; then
9509 echo "wxUSE_REGKEY=$wxUSE_REGKEY" >> ${wx_arg_cache_file}.tmp
9510 fi
9511
9512 if test x"$enablestring" = xdisable; then
9513 if test $wxUSE_REGKEY = yes; then
9514 result=no
9515 else
9516 result=yes
9517 fi
9518 else
9519 result=$wxUSE_REGKEY
9520 fi
9521
9522 { echo "$as_me:$LINENO: result: $result" >&5
9523 echo "${ECHO_T}$result" >&6; }
9524
9525
9526 if test "$wxUSE_GUI" = "yes"; then
9527
9528
9529
9530 enablestring=
9531 defaultval=$wxUSE_ALL_FEATURES
9532 if test -z "$defaultval"; then
9533 if test x"$enablestring" = xdisable; then
9534 defaultval=yes
9535 else
9536 defaultval=no
9537 fi
9538 fi
9539
9540 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
9541 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
9542 # Check whether --enable-docview was given.
9543 if test "${enable_docview+set}" = set; then
9544 enableval=$enable_docview;
9545 if test "$enableval" = yes; then
9546 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
9547 else
9548 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
9549 fi
9550 cache=yes
9551
9552 else
9553
9554 LINE=`grep "^wxUSE_DOC_VIEW_ARCHITECTURE=" ${wx_arg_cache_file}`
9555 if test "x$LINE" != x ; then
9556 eval "DEFAULT_$LINE"
9557 cache=yes
9558 else
9559 cache=no
9560 fi
9561
9562 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
9563
9564 fi
9565
9566
9567 eval "$wx_cv_use_docview"
9568 if test "x$cache" = xyes; then
9569 echo "wxUSE_DOC_VIEW_ARCHITECTURE=$wxUSE_DOC_VIEW_ARCHITECTURE" >> ${wx_arg_cache_file}.tmp
9570 fi
9571
9572 if test x"$enablestring" = xdisable; then
9573 if test $wxUSE_DOC_VIEW_ARCHITECTURE = yes; then
9574 result=no
9575 else
9576 result=yes
9577 fi
9578 else
9579 result=$wxUSE_DOC_VIEW_ARCHITECTURE
9580 fi
9581
9582 { echo "$as_me:$LINENO: result: $result" >&5
9583 echo "${ECHO_T}$result" >&6; }
9584
9585
9586 enablestring=
9587 defaultval=$wxUSE_ALL_FEATURES
9588 if test -z "$defaultval"; then
9589 if test x"$enablestring" = xdisable; then
9590 defaultval=yes
9591 else
9592 defaultval=no
9593 fi
9594 fi
9595
9596 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
9597 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
9598 # Check whether --enable-help was given.
9599 if test "${enable_help+set}" = set; then
9600 enableval=$enable_help;
9601 if test "$enableval" = yes; then
9602 wx_cv_use_help='wxUSE_HELP=yes'
9603 else
9604 wx_cv_use_help='wxUSE_HELP=no'
9605 fi
9606 cache=yes
9607
9608 else
9609
9610 LINE=`grep "^wxUSE_HELP=" ${wx_arg_cache_file}`
9611 if test "x$LINE" != x ; then
9612 eval "DEFAULT_$LINE"
9613 cache=yes
9614 else
9615 cache=no
9616 fi
9617
9618 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
9619
9620 fi
9621
9622
9623 eval "$wx_cv_use_help"
9624 if test "x$cache" = xyes; then
9625 echo "wxUSE_HELP=$wxUSE_HELP" >> ${wx_arg_cache_file}.tmp
9626 fi
9627
9628 if test x"$enablestring" = xdisable; then
9629 if test $wxUSE_HELP = yes; then
9630 result=no
9631 else
9632 result=yes
9633 fi
9634 else
9635 result=$wxUSE_HELP
9636 fi
9637
9638 { echo "$as_me:$LINENO: result: $result" >&5
9639 echo "${ECHO_T}$result" >&6; }
9640
9641
9642 enablestring=
9643 defaultval=$wxUSE_ALL_FEATURES
9644 if test -z "$defaultval"; then
9645 if test x"$enablestring" = xdisable; then
9646 defaultval=yes
9647 else
9648 defaultval=no
9649 fi
9650 fi
9651
9652 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
9653 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
9654 # Check whether --enable-mshtmlhelp was given.
9655 if test "${enable_mshtmlhelp+set}" = set; then
9656 enableval=$enable_mshtmlhelp;
9657 if test "$enableval" = yes; then
9658 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
9659 else
9660 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
9661 fi
9662 cache=yes
9663
9664 else
9665
9666 LINE=`grep "^wxUSE_MS_HTML_HELP=" ${wx_arg_cache_file}`
9667 if test "x$LINE" != x ; then
9668 eval "DEFAULT_$LINE"
9669 cache=yes
9670 else
9671 cache=no
9672 fi
9673
9674 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
9675
9676 fi
9677
9678
9679 eval "$wx_cv_use_mshtmlhelp"
9680 if test "x$cache" = xyes; then
9681 echo "wxUSE_MS_HTML_HELP=$wxUSE_MS_HTML_HELP" >> ${wx_arg_cache_file}.tmp
9682 fi
9683
9684 if test x"$enablestring" = xdisable; then
9685 if test $wxUSE_MS_HTML_HELP = yes; then
9686 result=no
9687 else
9688 result=yes
9689 fi
9690 else
9691 result=$wxUSE_MS_HTML_HELP
9692 fi
9693
9694 { echo "$as_me:$LINENO: result: $result" >&5
9695 echo "${ECHO_T}$result" >&6; }
9696
9697
9698 enablestring=
9699 defaultval=$wxUSE_ALL_FEATURES
9700 if test -z "$defaultval"; then
9701 if test x"$enablestring" = xdisable; then
9702 defaultval=yes
9703 else
9704 defaultval=no
9705 fi
9706 fi
9707
9708 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
9709 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
9710 # Check whether --enable-html was given.
9711 if test "${enable_html+set}" = set; then
9712 enableval=$enable_html;
9713 if test "$enableval" = yes; then
9714 wx_cv_use_html='wxUSE_HTML=yes'
9715 else
9716 wx_cv_use_html='wxUSE_HTML=no'
9717 fi
9718 cache=yes
9719
9720 else
9721
9722 LINE=`grep "^wxUSE_HTML=" ${wx_arg_cache_file}`
9723 if test "x$LINE" != x ; then
9724 eval "DEFAULT_$LINE"
9725 cache=yes
9726 else
9727 cache=no
9728 fi
9729
9730 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
9731
9732 fi
9733
9734
9735 eval "$wx_cv_use_html"
9736 if test "x$cache" = xyes; then
9737 echo "wxUSE_HTML=$wxUSE_HTML" >> ${wx_arg_cache_file}.tmp
9738 fi
9739
9740 if test x"$enablestring" = xdisable; then
9741 if test $wxUSE_HTML = yes; then
9742 result=no
9743 else
9744 result=yes
9745 fi
9746 else
9747 result=$wxUSE_HTML
9748 fi
9749
9750 { echo "$as_me:$LINENO: result: $result" >&5
9751 echo "${ECHO_T}$result" >&6; }
9752
9753
9754 enablestring=
9755 defaultval=$wxUSE_ALL_FEATURES
9756 if test -z "$defaultval"; then
9757 if test x"$enablestring" = xdisable; then
9758 defaultval=yes
9759 else
9760 defaultval=no
9761 fi
9762 fi
9763
9764 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
9765 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
9766 # Check whether --enable-htmlhelp was given.
9767 if test "${enable_htmlhelp+set}" = set; then
9768 enableval=$enable_htmlhelp;
9769 if test "$enableval" = yes; then
9770 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
9771 else
9772 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
9773 fi
9774 cache=yes
9775
9776 else
9777
9778 LINE=`grep "^wxUSE_WXHTML_HELP=" ${wx_arg_cache_file}`
9779 if test "x$LINE" != x ; then
9780 eval "DEFAULT_$LINE"
9781 cache=yes
9782 else
9783 cache=no
9784 fi
9785
9786 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
9787
9788 fi
9789
9790
9791 eval "$wx_cv_use_htmlhelp"
9792 if test "x$cache" = xyes; then
9793 echo "wxUSE_WXHTML_HELP=$wxUSE_WXHTML_HELP" >> ${wx_arg_cache_file}.tmp
9794 fi
9795
9796 if test x"$enablestring" = xdisable; then
9797 if test $wxUSE_WXHTML_HELP = yes; then
9798 result=no
9799 else
9800 result=yes
9801 fi
9802 else
9803 result=$wxUSE_WXHTML_HELP
9804 fi
9805
9806 { echo "$as_me:$LINENO: result: $result" >&5
9807 echo "${ECHO_T}$result" >&6; }
9808
9809
9810 enablestring=
9811 defaultval=$wxUSE_ALL_FEATURES
9812 if test -z "$defaultval"; then
9813 if test x"$enablestring" = xdisable; then
9814 defaultval=yes
9815 else
9816 defaultval=no
9817 fi
9818 fi
9819
9820 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
9821 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
9822 # Check whether --enable-xrc was given.
9823 if test "${enable_xrc+set}" = set; then
9824 enableval=$enable_xrc;
9825 if test "$enableval" = yes; then
9826 wx_cv_use_xrc='wxUSE_XRC=yes'
9827 else
9828 wx_cv_use_xrc='wxUSE_XRC=no'
9829 fi
9830 cache=yes
9831
9832 else
9833
9834 LINE=`grep "^wxUSE_XRC=" ${wx_arg_cache_file}`
9835 if test "x$LINE" != x ; then
9836 eval "DEFAULT_$LINE"
9837 cache=yes
9838 else
9839 cache=no
9840 fi
9841
9842 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
9843
9844 fi
9845
9846
9847 eval "$wx_cv_use_xrc"
9848 if test "x$cache" = xyes; then
9849 echo "wxUSE_XRC=$wxUSE_XRC" >> ${wx_arg_cache_file}.tmp
9850 fi
9851
9852 if test x"$enablestring" = xdisable; then
9853 if test $wxUSE_XRC = yes; then
9854 result=no
9855 else
9856 result=yes
9857 fi
9858 else
9859 result=$wxUSE_XRC
9860 fi
9861
9862 { echo "$as_me:$LINENO: result: $result" >&5
9863 echo "${ECHO_T}$result" >&6; }
9864
9865
9866 enablestring=
9867 defaultval=$wxUSE_ALL_FEATURES
9868 if test -z "$defaultval"; then
9869 if test x"$enablestring" = xdisable; then
9870 defaultval=yes
9871 else
9872 defaultval=no
9873 fi
9874 fi
9875
9876 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
9877 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
9878 # Check whether --enable-aui was given.
9879 if test "${enable_aui+set}" = set; then
9880 enableval=$enable_aui;
9881 if test "$enableval" = yes; then
9882 wx_cv_use_aui='wxUSE_AUI=yes'
9883 else
9884 wx_cv_use_aui='wxUSE_AUI=no'
9885 fi
9886 cache=yes
9887
9888 else
9889
9890 LINE=`grep "^wxUSE_AUI=" ${wx_arg_cache_file}`
9891 if test "x$LINE" != x ; then
9892 eval "DEFAULT_$LINE"
9893 cache=yes
9894 else
9895 cache=no
9896 fi
9897
9898 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
9899
9900 fi
9901
9902
9903 eval "$wx_cv_use_aui"
9904 if test "x$cache" = xyes; then
9905 echo "wxUSE_AUI=$wxUSE_AUI" >> ${wx_arg_cache_file}.tmp
9906 fi
9907
9908 if test x"$enablestring" = xdisable; then
9909 if test $wxUSE_AUI = yes; then
9910 result=no
9911 else
9912 result=yes
9913 fi
9914 else
9915 result=$wxUSE_AUI
9916 fi
9917
9918 { echo "$as_me:$LINENO: result: $result" >&5
9919 echo "${ECHO_T}$result" >&6; }
9920
9921
9922 enablestring=
9923 defaultval=$wxUSE_ALL_FEATURES
9924 if test -z "$defaultval"; then
9925 if test x"$enablestring" = xdisable; then
9926 defaultval=yes
9927 else
9928 defaultval=no
9929 fi
9930 fi
9931
9932 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
9933 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
9934 # Check whether --enable-stc was given.
9935 if test "${enable_stc+set}" = set; then
9936 enableval=$enable_stc;
9937 if test "$enableval" = yes; then
9938 wx_cv_use_stc='wxUSE_STC=yes'
9939 else
9940 wx_cv_use_stc='wxUSE_STC=no'
9941 fi
9942 cache=yes
9943
9944 else
9945
9946 LINE=`grep "^wxUSE_STC=" ${wx_arg_cache_file}`
9947 if test "x$LINE" != x ; then
9948 eval "DEFAULT_$LINE"
9949 cache=yes
9950 else
9951 cache=no
9952 fi
9953
9954 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
9955
9956 fi
9957
9958
9959 eval "$wx_cv_use_stc"
9960 if test "x$cache" = xyes; then
9961 echo "wxUSE_STC=$wxUSE_STC" >> ${wx_arg_cache_file}.tmp
9962 fi
9963
9964 if test x"$enablestring" = xdisable; then
9965 if test $wxUSE_STC = yes; then
9966 result=no
9967 else
9968 result=yes
9969 fi
9970 else
9971 result=$wxUSE_STC
9972 fi
9973
9974 { echo "$as_me:$LINENO: result: $result" >&5
9975 echo "${ECHO_T}$result" >&6; }
9976
9977
9978 enablestring=
9979 defaultval=$wxUSE_ALL_FEATURES
9980 if test -z "$defaultval"; then
9981 if test x"$enablestring" = xdisable; then
9982 defaultval=yes
9983 else
9984 defaultval=no
9985 fi
9986 fi
9987
9988 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
9989 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
9990 # Check whether --enable-constraints was given.
9991 if test "${enable_constraints+set}" = set; then
9992 enableval=$enable_constraints;
9993 if test "$enableval" = yes; then
9994 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
9995 else
9996 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
9997 fi
9998 cache=yes
9999
10000 else
10001
10002 LINE=`grep "^wxUSE_CONSTRAINTS=" ${wx_arg_cache_file}`
10003 if test "x$LINE" != x ; then
10004 eval "DEFAULT_$LINE"
10005 cache=yes
10006 else
10007 cache=no
10008 fi
10009
10010 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
10011
10012 fi
10013
10014
10015 eval "$wx_cv_use_constraints"
10016 if test "x$cache" = xyes; then
10017 echo "wxUSE_CONSTRAINTS=$wxUSE_CONSTRAINTS" >> ${wx_arg_cache_file}.tmp
10018 fi
10019
10020 if test x"$enablestring" = xdisable; then
10021 if test $wxUSE_CONSTRAINTS = yes; then
10022 result=no
10023 else
10024 result=yes
10025 fi
10026 else
10027 result=$wxUSE_CONSTRAINTS
10028 fi
10029
10030 { echo "$as_me:$LINENO: result: $result" >&5
10031 echo "${ECHO_T}$result" >&6; }
10032
10033
10034 enablestring=
10035 defaultval=$wxUSE_ALL_FEATURES
10036 if test -z "$defaultval"; then
10037 if test x"$enablestring" = xdisable; then
10038 defaultval=yes
10039 else
10040 defaultval=no
10041 fi
10042 fi
10043
10044 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
10045 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
10046 # Check whether --enable-printarch was given.
10047 if test "${enable_printarch+set}" = set; then
10048 enableval=$enable_printarch;
10049 if test "$enableval" = yes; then
10050 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
10051 else
10052 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
10053 fi
10054 cache=yes
10055
10056 else
10057
10058 LINE=`grep "^wxUSE_PRINTING_ARCHITECTURE=" ${wx_arg_cache_file}`
10059 if test "x$LINE" != x ; then
10060 eval "DEFAULT_$LINE"
10061 cache=yes
10062 else
10063 cache=no
10064 fi
10065
10066 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
10067
10068 fi
10069
10070
10071 eval "$wx_cv_use_printarch"
10072 if test "x$cache" = xyes; then
10073 echo "wxUSE_PRINTING_ARCHITECTURE=$wxUSE_PRINTING_ARCHITECTURE" >> ${wx_arg_cache_file}.tmp
10074 fi
10075
10076 if test x"$enablestring" = xdisable; then
10077 if test $wxUSE_PRINTING_ARCHITECTURE = yes; then
10078 result=no
10079 else
10080 result=yes
10081 fi
10082 else
10083 result=$wxUSE_PRINTING_ARCHITECTURE
10084 fi
10085
10086 { echo "$as_me:$LINENO: result: $result" >&5
10087 echo "${ECHO_T}$result" >&6; }
10088
10089
10090 enablestring=
10091 defaultval=$wxUSE_ALL_FEATURES
10092 if test -z "$defaultval"; then
10093 if test x"$enablestring" = xdisable; then
10094 defaultval=yes
10095 else
10096 defaultval=no
10097 fi
10098 fi
10099
10100 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
10101 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
10102 # Check whether --enable-mdi was given.
10103 if test "${enable_mdi+set}" = set; then
10104 enableval=$enable_mdi;
10105 if test "$enableval" = yes; then
10106 wx_cv_use_mdi='wxUSE_MDI=yes'
10107 else
10108 wx_cv_use_mdi='wxUSE_MDI=no'
10109 fi
10110 cache=yes
10111
10112 else
10113
10114 LINE=`grep "^wxUSE_MDI=" ${wx_arg_cache_file}`
10115 if test "x$LINE" != x ; then
10116 eval "DEFAULT_$LINE"
10117 cache=yes
10118 else
10119 cache=no
10120 fi
10121
10122 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
10123
10124 fi
10125
10126
10127 eval "$wx_cv_use_mdi"
10128 if test "x$cache" = xyes; then
10129 echo "wxUSE_MDI=$wxUSE_MDI" >> ${wx_arg_cache_file}.tmp
10130 fi
10131
10132 if test x"$enablestring" = xdisable; then
10133 if test $wxUSE_MDI = yes; then
10134 result=no
10135 else
10136 result=yes
10137 fi
10138 else
10139 result=$wxUSE_MDI
10140 fi
10141
10142 { echo "$as_me:$LINENO: result: $result" >&5
10143 echo "${ECHO_T}$result" >&6; }
10144
10145
10146 enablestring=
10147 defaultval=$wxUSE_ALL_FEATURES
10148 if test -z "$defaultval"; then
10149 if test x"$enablestring" = xdisable; then
10150 defaultval=yes
10151 else
10152 defaultval=no
10153 fi
10154 fi
10155
10156 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
10157 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
10158 # Check whether --enable-mdidoc was given.
10159 if test "${enable_mdidoc+set}" = set; then
10160 enableval=$enable_mdidoc;
10161 if test "$enableval" = yes; then
10162 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
10163 else
10164 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
10165 fi
10166 cache=yes
10167
10168 else
10169
10170 LINE=`grep "^wxUSE_MDI_ARCHITECTURE=" ${wx_arg_cache_file}`
10171 if test "x$LINE" != x ; then
10172 eval "DEFAULT_$LINE"
10173 cache=yes
10174 else
10175 cache=no
10176 fi
10177
10178 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
10179
10180 fi
10181
10182
10183 eval "$wx_cv_use_mdidoc"
10184 if test "x$cache" = xyes; then
10185 echo "wxUSE_MDI_ARCHITECTURE=$wxUSE_MDI_ARCHITECTURE" >> ${wx_arg_cache_file}.tmp
10186 fi
10187
10188 if test x"$enablestring" = xdisable; then
10189 if test $wxUSE_MDI_ARCHITECTURE = yes; then
10190 result=no
10191 else
10192 result=yes
10193 fi
10194 else
10195 result=$wxUSE_MDI_ARCHITECTURE
10196 fi
10197
10198 { echo "$as_me:$LINENO: result: $result" >&5
10199 echo "${ECHO_T}$result" >&6; }
10200
10201
10202 enablestring=
10203 defaultval=$wxUSE_ALL_FEATURES
10204 if test -z "$defaultval"; then
10205 if test x"$enablestring" = xdisable; then
10206 defaultval=yes
10207 else
10208 defaultval=no
10209 fi
10210 fi
10211
10212 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
10213 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
10214 # Check whether --enable-loggui was given.
10215 if test "${enable_loggui+set}" = set; then
10216 enableval=$enable_loggui;
10217 if test "$enableval" = yes; then
10218 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
10219 else
10220 wx_cv_use_loggui='wxUSE_LOGGUI=no'
10221 fi
10222 cache=yes
10223
10224 else
10225
10226 LINE=`grep "^wxUSE_LOGGUI=" ${wx_arg_cache_file}`
10227 if test "x$LINE" != x ; then
10228 eval "DEFAULT_$LINE"
10229 cache=yes
10230 else
10231 cache=no
10232 fi
10233
10234 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
10235
10236 fi
10237
10238
10239 eval "$wx_cv_use_loggui"
10240 if test "x$cache" = xyes; then
10241 echo "wxUSE_LOGGUI=$wxUSE_LOGGUI" >> ${wx_arg_cache_file}.tmp
10242 fi
10243
10244 if test x"$enablestring" = xdisable; then
10245 if test $wxUSE_LOGGUI = yes; then
10246 result=no
10247 else
10248 result=yes
10249 fi
10250 else
10251 result=$wxUSE_LOGGUI
10252 fi
10253
10254 { echo "$as_me:$LINENO: result: $result" >&5
10255 echo "${ECHO_T}$result" >&6; }
10256
10257
10258 enablestring=
10259 defaultval=$wxUSE_ALL_FEATURES
10260 if test -z "$defaultval"; then
10261 if test x"$enablestring" = xdisable; then
10262 defaultval=yes
10263 else
10264 defaultval=no
10265 fi
10266 fi
10267
10268 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
10269 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
10270 # Check whether --enable-logwin was given.
10271 if test "${enable_logwin+set}" = set; then
10272 enableval=$enable_logwin;
10273 if test "$enableval" = yes; then
10274 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
10275 else
10276 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
10277 fi
10278 cache=yes
10279
10280 else
10281
10282 LINE=`grep "^wxUSE_LOGWINDOW=" ${wx_arg_cache_file}`
10283 if test "x$LINE" != x ; then
10284 eval "DEFAULT_$LINE"
10285 cache=yes
10286 else
10287 cache=no
10288 fi
10289
10290 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
10291
10292 fi
10293
10294
10295 eval "$wx_cv_use_logwin"
10296 if test "x$cache" = xyes; then
10297 echo "wxUSE_LOGWINDOW=$wxUSE_LOGWINDOW" >> ${wx_arg_cache_file}.tmp
10298 fi
10299
10300 if test x"$enablestring" = xdisable; then
10301 if test $wxUSE_LOGWINDOW = yes; then
10302 result=no
10303 else
10304 result=yes
10305 fi
10306 else
10307 result=$wxUSE_LOGWINDOW
10308 fi
10309
10310 { echo "$as_me:$LINENO: result: $result" >&5
10311 echo "${ECHO_T}$result" >&6; }
10312
10313
10314 enablestring=
10315 defaultval=$wxUSE_ALL_FEATURES
10316 if test -z "$defaultval"; then
10317 if test x"$enablestring" = xdisable; then
10318 defaultval=yes
10319 else
10320 defaultval=no
10321 fi
10322 fi
10323
10324 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
10325 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
10326 # Check whether --enable-logdialog was given.
10327 if test "${enable_logdialog+set}" = set; then
10328 enableval=$enable_logdialog;
10329 if test "$enableval" = yes; then
10330 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
10331 else
10332 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
10333 fi
10334 cache=yes
10335
10336 else
10337
10338 LINE=`grep "^wxUSE_LOGDIALOG=" ${wx_arg_cache_file}`
10339 if test "x$LINE" != x ; then
10340 eval "DEFAULT_$LINE"
10341 cache=yes
10342 else
10343 cache=no
10344 fi
10345
10346 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
10347
10348 fi
10349
10350
10351 eval "$wx_cv_use_logdialog"
10352 if test "x$cache" = xyes; then
10353 echo "wxUSE_LOGDIALOG=$wxUSE_LOGDIALOG" >> ${wx_arg_cache_file}.tmp
10354 fi
10355
10356 if test x"$enablestring" = xdisable; then
10357 if test $wxUSE_LOGDIALOG = yes; then
10358 result=no
10359 else
10360 result=yes
10361 fi
10362 else
10363 result=$wxUSE_LOGDIALOG
10364 fi
10365
10366 { echo "$as_me:$LINENO: result: $result" >&5
10367 echo "${ECHO_T}$result" >&6; }
10368
10369
10370 enablestring=
10371 defaultval=$wxUSE_ALL_FEATURES
10372 if test -z "$defaultval"; then
10373 if test x"$enablestring" = xdisable; then
10374 defaultval=yes
10375 else
10376 defaultval=no
10377 fi
10378 fi
10379
10380 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
10381 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
10382 # Check whether --enable-webkit was given.
10383 if test "${enable_webkit+set}" = set; then
10384 enableval=$enable_webkit;
10385 if test "$enableval" = yes; then
10386 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
10387 else
10388 wx_cv_use_webkit='wxUSE_WEBKIT=no'
10389 fi
10390 cache=yes
10391
10392 else
10393
10394 LINE=`grep "^wxUSE_WEBKIT=" ${wx_arg_cache_file}`
10395 if test "x$LINE" != x ; then
10396 eval "DEFAULT_$LINE"
10397 cache=yes
10398 else
10399 cache=no
10400 fi
10401
10402 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
10403
10404 fi
10405
10406
10407 eval "$wx_cv_use_webkit"
10408 if test "x$cache" = xyes; then
10409 echo "wxUSE_WEBKIT=$wxUSE_WEBKIT" >> ${wx_arg_cache_file}.tmp
10410 fi
10411
10412 if test x"$enablestring" = xdisable; then
10413 if test $wxUSE_WEBKIT = yes; then
10414 result=no
10415 else
10416 result=yes
10417 fi
10418 else
10419 result=$wxUSE_WEBKIT
10420 fi
10421
10422 { echo "$as_me:$LINENO: result: $result" >&5
10423 echo "${ECHO_T}$result" >&6; }
10424
10425
10426 enablestring=
10427 defaultval=$wxUSE_ALL_FEATURES
10428 if test -z "$defaultval"; then
10429 if test x"$enablestring" = xdisable; then
10430 defaultval=yes
10431 else
10432 defaultval=no
10433 fi
10434 fi
10435
10436 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
10437 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
10438 # Check whether --enable-richtext was given.
10439 if test "${enable_richtext+set}" = set; then
10440 enableval=$enable_richtext;
10441 if test "$enableval" = yes; then
10442 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
10443 else
10444 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
10445 fi
10446 cache=yes
10447
10448 else
10449
10450 LINE=`grep "^wxUSE_RICHTEXT=" ${wx_arg_cache_file}`
10451 if test "x$LINE" != x ; then
10452 eval "DEFAULT_$LINE"
10453 cache=yes
10454 else
10455 cache=no
10456 fi
10457
10458 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
10459
10460 fi
10461
10462
10463 eval "$wx_cv_use_richtext"
10464 if test "x$cache" = xyes; then
10465 echo "wxUSE_RICHTEXT=$wxUSE_RICHTEXT" >> ${wx_arg_cache_file}.tmp
10466 fi
10467
10468 if test x"$enablestring" = xdisable; then
10469 if test $wxUSE_RICHTEXT = yes; then
10470 result=no
10471 else
10472 result=yes
10473 fi
10474 else
10475 result=$wxUSE_RICHTEXT
10476 fi
10477
10478 { echo "$as_me:$LINENO: result: $result" >&5
10479 echo "${ECHO_T}$result" >&6; }
10480
10481
10482 enablestring=
10483 defaultval=$wxUSE_ALL_FEATURES
10484 if test -z "$defaultval"; then
10485 if test x"$enablestring" = xdisable; then
10486 defaultval=yes
10487 else
10488 defaultval=no
10489 fi
10490 fi
10491
10492 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
10493 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
10494 # Check whether --enable-graphics_ctx was given.
10495 if test "${enable_graphics_ctx+set}" = set; then
10496 enableval=$enable_graphics_ctx;
10497 if test "$enableval" = yes; then
10498 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
10499 else
10500 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
10501 fi
10502 cache=yes
10503
10504 else
10505
10506 LINE=`grep "^wxUSE_GRAPHICS_CONTEXT=" ${wx_arg_cache_file}`
10507 if test "x$LINE" != x ; then
10508 eval "DEFAULT_$LINE"
10509 cache=yes
10510 else
10511 cache=no
10512 fi
10513
10514 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
10515
10516 fi
10517
10518
10519 eval "$wx_cv_use_graphics_ctx"
10520 if test "x$cache" = xyes; then
10521 echo "wxUSE_GRAPHICS_CONTEXT=$wxUSE_GRAPHICS_CONTEXT" >> ${wx_arg_cache_file}.tmp
10522 fi
10523
10524 if test x"$enablestring" = xdisable; then
10525 if test $wxUSE_GRAPHICS_CONTEXT = yes; then
10526 result=no
10527 else
10528 result=yes
10529 fi
10530 else
10531 result=$wxUSE_GRAPHICS_CONTEXT
10532 fi
10533
10534 { echo "$as_me:$LINENO: result: $result" >&5
10535 echo "${ECHO_T}$result" >&6; }
10536
10537
10538 enablestring=
10539 defaultval=$wxUSE_ALL_FEATURES
10540 if test -z "$defaultval"; then
10541 if test x"$enablestring" = xdisable; then
10542 defaultval=yes
10543 else
10544 defaultval=no
10545 fi
10546 fi
10547
10548 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
10549 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
10550 # Check whether --enable-postscript was given.
10551 if test "${enable_postscript+set}" = set; then
10552 enableval=$enable_postscript;
10553 if test "$enableval" = yes; then
10554 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
10555 else
10556 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
10557 fi
10558 cache=yes
10559
10560 else
10561
10562 LINE=`grep "^wxUSE_POSTSCRIPT=" ${wx_arg_cache_file}`
10563 if test "x$LINE" != x ; then
10564 eval "DEFAULT_$LINE"
10565 cache=yes
10566 else
10567 cache=no
10568 fi
10569
10570 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
10571
10572 fi
10573
10574
10575 eval "$wx_cv_use_postscript"
10576 if test "x$cache" = xyes; then
10577 echo "wxUSE_POSTSCRIPT=$wxUSE_POSTSCRIPT" >> ${wx_arg_cache_file}.tmp
10578 fi
10579
10580 if test x"$enablestring" = xdisable; then
10581 if test $wxUSE_POSTSCRIPT = yes; then
10582 result=no
10583 else
10584 result=yes
10585 fi
10586 else
10587 result=$wxUSE_POSTSCRIPT
10588 fi
10589
10590 { echo "$as_me:$LINENO: result: $result" >&5
10591 echo "${ECHO_T}$result" >&6; }
10592
10593
10594 enablestring=
10595 defaultval=$wxUSE_ALL_FEATURES
10596 if test -z "$defaultval"; then
10597 if test x"$enablestring" = xdisable; then
10598 defaultval=yes
10599 else
10600 defaultval=no
10601 fi
10602 fi
10603
10604 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
10605 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
10606 # Check whether --enable-svg was given.
10607 if test "${enable_svg+set}" = set; then
10608 enableval=$enable_svg;
10609 if test "$enableval" = yes; then
10610 wx_cv_use_svg='wxUSE_SVG=yes'
10611 else
10612 wx_cv_use_svg='wxUSE_SVG=no'
10613 fi
10614 cache=yes
10615
10616 else
10617
10618 LINE=`grep "^wxUSE_SVG=" ${wx_arg_cache_file}`
10619 if test "x$LINE" != x ; then
10620 eval "DEFAULT_$LINE"
10621 cache=yes
10622 else
10623 cache=no
10624 fi
10625
10626 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
10627
10628 fi
10629
10630
10631 eval "$wx_cv_use_svg"
10632 if test "x$cache" = xyes; then
10633 echo "wxUSE_SVG=$wxUSE_SVG" >> ${wx_arg_cache_file}.tmp
10634 fi
10635
10636 if test x"$enablestring" = xdisable; then
10637 if test $wxUSE_SVG = yes; then
10638 result=no
10639 else
10640 result=yes
10641 fi
10642 else
10643 result=$wxUSE_SVG
10644 fi
10645
10646 { echo "$as_me:$LINENO: result: $result" >&5
10647 echo "${ECHO_T}$result" >&6; }
10648
10649
10650
10651
10652 enablestring=
10653 defaultval=$wxUSE_ALL_FEATURES
10654 if test -z "$defaultval"; then
10655 if test x"$enablestring" = xdisable; then
10656 defaultval=yes
10657 else
10658 defaultval=no
10659 fi
10660 fi
10661
10662 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
10663 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
10664 # Check whether --enable-clipboard was given.
10665 if test "${enable_clipboard+set}" = set; then
10666 enableval=$enable_clipboard;
10667 if test "$enableval" = yes; then
10668 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
10669 else
10670 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
10671 fi
10672 cache=yes
10673
10674 else
10675
10676 LINE=`grep "^wxUSE_CLIPBOARD=" ${wx_arg_cache_file}`
10677 if test "x$LINE" != x ; then
10678 eval "DEFAULT_$LINE"
10679 cache=yes
10680 else
10681 cache=no
10682 fi
10683
10684 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
10685
10686 fi
10687
10688
10689 eval "$wx_cv_use_clipboard"
10690 if test "x$cache" = xyes; then
10691 echo "wxUSE_CLIPBOARD=$wxUSE_CLIPBOARD" >> ${wx_arg_cache_file}.tmp
10692 fi
10693
10694 if test x"$enablestring" = xdisable; then
10695 if test $wxUSE_CLIPBOARD = yes; then
10696 result=no
10697 else
10698 result=yes
10699 fi
10700 else
10701 result=$wxUSE_CLIPBOARD
10702 fi
10703
10704 { echo "$as_me:$LINENO: result: $result" >&5
10705 echo "${ECHO_T}$result" >&6; }
10706
10707
10708 enablestring=
10709 defaultval=$wxUSE_ALL_FEATURES
10710 if test -z "$defaultval"; then
10711 if test x"$enablestring" = xdisable; then
10712 defaultval=yes
10713 else
10714 defaultval=no
10715 fi
10716 fi
10717
10718 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
10719 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
10720 # Check whether --enable-dnd was given.
10721 if test "${enable_dnd+set}" = set; then
10722 enableval=$enable_dnd;
10723 if test "$enableval" = yes; then
10724 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
10725 else
10726 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
10727 fi
10728 cache=yes
10729
10730 else
10731
10732 LINE=`grep "^wxUSE_DRAG_AND_DROP=" ${wx_arg_cache_file}`
10733 if test "x$LINE" != x ; then
10734 eval "DEFAULT_$LINE"
10735 cache=yes
10736 else
10737 cache=no
10738 fi
10739
10740 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
10741
10742 fi
10743
10744
10745 eval "$wx_cv_use_dnd"
10746 if test "x$cache" = xyes; then
10747 echo "wxUSE_DRAG_AND_DROP=$wxUSE_DRAG_AND_DROP" >> ${wx_arg_cache_file}.tmp
10748 fi
10749
10750 if test x"$enablestring" = xdisable; then
10751 if test $wxUSE_DRAG_AND_DROP = yes; then
10752 result=no
10753 else
10754 result=yes
10755 fi
10756 else
10757 result=$wxUSE_DRAG_AND_DROP
10758 fi
10759
10760 { echo "$as_me:$LINENO: result: $result" >&5
10761 echo "${ECHO_T}$result" >&6; }
10762
10763
10764 enablestring=
10765 defaultval=$wxUSE_ALL_FEATURES
10766 if test -z "$defaultval"; then
10767 if test x"$enablestring" = xdisable; then
10768 defaultval=yes
10769 else
10770 defaultval=no
10771 fi
10772 fi
10773
10774 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
10775 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
10776 # Check whether --enable-metafile was given.
10777 if test "${enable_metafile+set}" = set; then
10778 enableval=$enable_metafile;
10779 if test "$enableval" = yes; then
10780 wx_cv_use_metafile='wxUSE_METAFILE=yes'
10781 else
10782 wx_cv_use_metafile='wxUSE_METAFILE=no'
10783 fi
10784 cache=yes
10785
10786 else
10787
10788 LINE=`grep "^wxUSE_METAFILE=" ${wx_arg_cache_file}`
10789 if test "x$LINE" != x ; then
10790 eval "DEFAULT_$LINE"
10791 cache=yes
10792 else
10793 cache=no
10794 fi
10795
10796 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
10797
10798 fi
10799
10800
10801 eval "$wx_cv_use_metafile"
10802 if test "x$cache" = xyes; then
10803 echo "wxUSE_METAFILE=$wxUSE_METAFILE" >> ${wx_arg_cache_file}.tmp
10804 fi
10805
10806 if test x"$enablestring" = xdisable; then
10807 if test $wxUSE_METAFILE = yes; then
10808 result=no
10809 else
10810 result=yes
10811 fi
10812 else
10813 result=$wxUSE_METAFILE
10814 fi
10815
10816 { echo "$as_me:$LINENO: result: $result" >&5
10817 echo "${ECHO_T}$result" >&6; }
10818
10819
10820
10821 DEFAULT_wxUSE_CONTROLS=none
10822
10823 enablestring=disable
10824 defaultval=
10825 if test -z "$defaultval"; then
10826 if test x"$enablestring" = xdisable; then
10827 defaultval=yes
10828 else
10829 defaultval=no
10830 fi
10831 fi
10832
10833 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
10834 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
10835 # Check whether --enable-controls was given.
10836 if test "${enable_controls+set}" = set; then
10837 enableval=$enable_controls;
10838 if test "$enableval" = yes; then
10839 wx_cv_use_controls='wxUSE_CONTROLS=yes'
10840 else
10841 wx_cv_use_controls='wxUSE_CONTROLS=no'
10842 fi
10843 cache=yes
10844
10845 else
10846
10847 LINE=`grep "^wxUSE_CONTROLS=" ${wx_arg_cache_file}`
10848 if test "x$LINE" != x ; then
10849 eval "DEFAULT_$LINE"
10850 cache=yes
10851 else
10852 cache=no
10853 fi
10854
10855 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
10856
10857 fi
10858
10859
10860 eval "$wx_cv_use_controls"
10861 if test "x$cache" = xyes; then
10862 echo "wxUSE_CONTROLS=$wxUSE_CONTROLS" >> ${wx_arg_cache_file}.tmp
10863 fi
10864
10865 if test x"$enablestring" = xdisable; then
10866 if test $wxUSE_CONTROLS = yes; then
10867 result=no
10868 else
10869 result=yes
10870 fi
10871 else
10872 result=$wxUSE_CONTROLS
10873 fi
10874
10875 { echo "$as_me:$LINENO: result: $result" >&5
10876 echo "${ECHO_T}$result" >&6; }
10877
10878
10879 if test "$wxUSE_CONTROLS" = "yes"; then
10880 DEFAULT_wxUSE_ACCEL=yes
10881 DEFAULT_wxUSE_ANIMATIONCTRL=yes
10882 DEFAULT_wxUSE_BMPBUTTON=yes
10883 DEFAULT_wxUSE_BUTTON=yes
10884 DEFAULT_wxUSE_CALCTRL=yes
10885 DEFAULT_wxUSE_CARET=yes
10886 DEFAULT_wxUSE_COMBOBOX=yes
10887 DEFAULT_wxUSE_CHECKBOX=yes
10888 DEFAULT_wxUSE_CHECKLISTBOX=yes
10889 DEFAULT_wxUSE_CHOICE=yes
10890 DEFAULT_wxUSE_CHOICEBOOK=yes
10891 DEFAULT_wxUSE_COLLPANE=yes
10892 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
10893 DEFAULT_wxUSE_COMBOBOX=yes
10894 DEFAULT_wxUSE_DATEPICKCTRL=yes
10895 DEFAULT_wxUSE_DISPLAY=yes
10896 DEFAULT_wxUSE_DETECT_SM=yes
10897 DEFAULT_wxUSE_DIRPICKERCTRL=yes
10898 DEFAULT_wxUSE_FILECTRL=yes
10899 DEFAULT_wxUSE_FILEPICKERCTRL=yes
10900 DEFAULT_wxUSE_FONTPICKERCTRL=yes
10901 DEFAULT_wxUSE_GAUGE=yes
10902 DEFAULT_wxUSE_GRID=yes
10903 DEFAULT_wxUSE_HYPERLINKCTRL=yes
10904 DEFAULT_wxUSE_DATAVIEWCTRL=no
10905 DEFAULT_wxUSE_IMAGLIST=yes
10906 DEFAULT_wxUSE_LISTBOOK=yes
10907 DEFAULT_wxUSE_LISTBOX=yes
10908 DEFAULT_wxUSE_LISTCTRL=yes
10909 DEFAULT_wxUSE_NOTEBOOK=yes
10910 DEFAULT_wxUSE_RADIOBOX=yes
10911 DEFAULT_wxUSE_RADIOBTN=yes
10912 DEFAULT_wxUSE_SASH=yes
10913 DEFAULT_wxUSE_SCROLLBAR=yes
10914 DEFAULT_wxUSE_SEARCHCTRL=yes
10915 DEFAULT_wxUSE_SLIDER=yes
10916 DEFAULT_wxUSE_SPINBTN=yes
10917 DEFAULT_wxUSE_SPINCTRL=yes
10918 DEFAULT_wxUSE_SPLITTER=yes
10919 DEFAULT_wxUSE_STATBMP=yes
10920 DEFAULT_wxUSE_STATBOX=yes
10921 DEFAULT_wxUSE_STATLINE=yes
10922 DEFAULT_wxUSE_STATUSBAR=yes
10923 DEFAULT_wxUSE_TAB_DIALOG=yes
10924 DEFAULT_wxUSE_TOGGLEBTN=yes
10925 DEFAULT_wxUSE_TOOLBAR=yes
10926 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
10927 DEFAULT_wxUSE_TOOLTIPS=yes
10928 DEFAULT_wxUSE_TREEBOOK=yes
10929 DEFAULT_wxUSE_TOOLBOOK=yes
10930 DEFAULT_wxUSE_TREECTRL=yes
10931 DEFAULT_wxUSE_POPUPWIN=yes
10932 DEFAULT_wxUSE_TIPWINDOW=yes
10933 elif test "$wxUSE_CONTROLS" = "no"; then
10934 DEFAULT_wxUSE_ACCEL=no
10935 DEFAULT_wxUSE_ANIMATIONCTRL=no
10936 DEFAULT_wxUSE_BMPBUTTON=no
10937 DEFAULT_wxUSE_BUTTON=no
10938 DEFAULT_wxUSE_CALCTRL=no
10939 DEFAULT_wxUSE_CARET=no
10940 DEFAULT_wxUSE_COLLPANE=no
10941 DEFAULT_wxUSE_COMBOBOX=no
10942 DEFAULT_wxUSE_CHECKBOX=no
10943 DEFAULT_wxUSE_CHECKLISTBOX=no
10944 DEFAULT_wxUSE_CHOICE=no
10945 DEFAULT_wxUSE_CHOICEBOOK=no
10946 DEFAULT_wxUSE_COLOURPICKERCTRL=no
10947 DEFAULT_wxUSE_COMBOBOX=no
10948 DEFAULT_wxUSE_DATEPICKCTRL=no
10949 DEFAULT_wxUSE_DISPLAY=no
10950 DEFAULT_wxUSE_DETECT_SM=no
10951 DEFAULT_wxUSE_DIRPICKERCTRL=no
10952 DEFAULT_wxUSE_FILECTRL=no
10953 DEFAULT_wxUSE_FILEPICKERCTRL=no
10954 DEFAULT_wxUSE_FONTPICKERCTRL=no
10955 DEFAULT_wxUSE_GAUGE=no
10956 DEFAULT_wxUSE_GRID=no
10957 DEFAULT_wxUSE_HYPERLINKCTRL=no
10958 DEFAULT_wxUSE_DATAVIEWCTRL=no
10959 DEFAULT_wxUSE_IMAGLIST=no
10960 DEFAULT_wxUSE_LISTBOOK=no
10961 DEFAULT_wxUSE_LISTBOX=no
10962 DEFAULT_wxUSE_LISTCTRL=no
10963 DEFAULT_wxUSE_NOTEBOOK=no
10964 DEFAULT_wxUSE_RADIOBOX=no
10965 DEFAULT_wxUSE_RADIOBTN=no
10966 DEFAULT_wxUSE_SASH=no
10967 DEFAULT_wxUSE_SCROLLBAR=no
10968 DEFAULT_wxUSE_SEARCHCTRL=no
10969 DEFAULT_wxUSE_SLIDER=no
10970 DEFAULT_wxUSE_SPINBTN=no
10971 DEFAULT_wxUSE_SPINCTRL=no
10972 DEFAULT_wxUSE_SPLITTER=no
10973 DEFAULT_wxUSE_STATBMP=no
10974 DEFAULT_wxUSE_STATBOX=no
10975 DEFAULT_wxUSE_STATLINE=no
10976 DEFAULT_wxUSE_STATUSBAR=no
10977 DEFAULT_wxUSE_TAB_DIALOG=no
10978 DEFAULT_wxUSE_TOGGLEBTN=no
10979 DEFAULT_wxUSE_TOOLBAR=no
10980 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
10981 DEFAULT_wxUSE_TOOLTIPS=no
10982 DEFAULT_wxUSE_TREEBOOK=no
10983 DEFAULT_wxUSE_TOOLBOOK=no
10984 DEFAULT_wxUSE_TREECTRL=no
10985 DEFAULT_wxUSE_POPUPWIN=no
10986 DEFAULT_wxUSE_TIPWINDOW=no
10987 fi
10988
10989
10990 enablestring=
10991 defaultval=$wxUSE_ALL_FEATURES
10992 if test -z "$defaultval"; then
10993 if test x"$enablestring" = xdisable; then
10994 defaultval=yes
10995 else
10996 defaultval=no
10997 fi
10998 fi
10999
11000 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
11001 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
11002 # Check whether --enable-accel was given.
11003 if test "${enable_accel+set}" = set; then
11004 enableval=$enable_accel;
11005 if test "$enableval" = yes; then
11006 wx_cv_use_accel='wxUSE_ACCEL=yes'
11007 else
11008 wx_cv_use_accel='wxUSE_ACCEL=no'
11009 fi
11010 cache=yes
11011
11012 else
11013
11014 LINE=`grep "^wxUSE_ACCEL=" ${wx_arg_cache_file}`
11015 if test "x$LINE" != x ; then
11016 eval "DEFAULT_$LINE"
11017 cache=yes
11018 else
11019 cache=no
11020 fi
11021
11022 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
11023
11024 fi
11025
11026
11027 eval "$wx_cv_use_accel"
11028 if test "x$cache" = xyes; then
11029 echo "wxUSE_ACCEL=$wxUSE_ACCEL" >> ${wx_arg_cache_file}.tmp
11030 fi
11031
11032 if test x"$enablestring" = xdisable; then
11033 if test $wxUSE_ACCEL = yes; then
11034 result=no
11035 else
11036 result=yes
11037 fi
11038 else
11039 result=$wxUSE_ACCEL
11040 fi
11041
11042 { echo "$as_me:$LINENO: result: $result" >&5
11043 echo "${ECHO_T}$result" >&6; }
11044
11045
11046 enablestring=
11047 defaultval=$wxUSE_ALL_FEATURES
11048 if test -z "$defaultval"; then
11049 if test x"$enablestring" = xdisable; then
11050 defaultval=yes
11051 else
11052 defaultval=no
11053 fi
11054 fi
11055
11056 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
11057 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
11058 # Check whether --enable-animatectrl was given.
11059 if test "${enable_animatectrl+set}" = set; then
11060 enableval=$enable_animatectrl;
11061 if test "$enableval" = yes; then
11062 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
11063 else
11064 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
11065 fi
11066 cache=yes
11067
11068 else
11069
11070 LINE=`grep "^wxUSE_ANIMATIONCTRL=" ${wx_arg_cache_file}`
11071 if test "x$LINE" != x ; then
11072 eval "DEFAULT_$LINE"
11073 cache=yes
11074 else
11075 cache=no
11076 fi
11077
11078 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
11079
11080 fi
11081
11082
11083 eval "$wx_cv_use_animatectrl"
11084 if test "x$cache" = xyes; then
11085 echo "wxUSE_ANIMATIONCTRL=$wxUSE_ANIMATIONCTRL" >> ${wx_arg_cache_file}.tmp
11086 fi
11087
11088 if test x"$enablestring" = xdisable; then
11089 if test $wxUSE_ANIMATIONCTRL = yes; then
11090 result=no
11091 else
11092 result=yes
11093 fi
11094 else
11095 result=$wxUSE_ANIMATIONCTRL
11096 fi
11097
11098 { echo "$as_me:$LINENO: result: $result" >&5
11099 echo "${ECHO_T}$result" >&6; }
11100
11101
11102 enablestring=
11103 defaultval=$wxUSE_ALL_FEATURES
11104 if test -z "$defaultval"; then
11105 if test x"$enablestring" = xdisable; then
11106 defaultval=yes
11107 else
11108 defaultval=no
11109 fi
11110 fi
11111
11112 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
11113 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
11114 # Check whether --enable-button was given.
11115 if test "${enable_button+set}" = set; then
11116 enableval=$enable_button;
11117 if test "$enableval" = yes; then
11118 wx_cv_use_button='wxUSE_BUTTON=yes'
11119 else
11120 wx_cv_use_button='wxUSE_BUTTON=no'
11121 fi
11122 cache=yes
11123
11124 else
11125
11126 LINE=`grep "^wxUSE_BUTTON=" ${wx_arg_cache_file}`
11127 if test "x$LINE" != x ; then
11128 eval "DEFAULT_$LINE"
11129 cache=yes
11130 else
11131 cache=no
11132 fi
11133
11134 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
11135
11136 fi
11137
11138
11139 eval "$wx_cv_use_button"
11140 if test "x$cache" = xyes; then
11141 echo "wxUSE_BUTTON=$wxUSE_BUTTON" >> ${wx_arg_cache_file}.tmp
11142 fi
11143
11144 if test x"$enablestring" = xdisable; then
11145 if test $wxUSE_BUTTON = yes; then
11146 result=no
11147 else
11148 result=yes
11149 fi
11150 else
11151 result=$wxUSE_BUTTON
11152 fi
11153
11154 { echo "$as_me:$LINENO: result: $result" >&5
11155 echo "${ECHO_T}$result" >&6; }
11156
11157
11158 enablestring=
11159 defaultval=$wxUSE_ALL_FEATURES
11160 if test -z "$defaultval"; then
11161 if test x"$enablestring" = xdisable; then
11162 defaultval=yes
11163 else
11164 defaultval=no
11165 fi
11166 fi
11167
11168 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
11169 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
11170 # Check whether --enable-bmpbutton was given.
11171 if test "${enable_bmpbutton+set}" = set; then
11172 enableval=$enable_bmpbutton;
11173 if test "$enableval" = yes; then
11174 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
11175 else
11176 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
11177 fi
11178 cache=yes
11179
11180 else
11181
11182 LINE=`grep "^wxUSE_BMPBUTTON=" ${wx_arg_cache_file}`
11183 if test "x$LINE" != x ; then
11184 eval "DEFAULT_$LINE"
11185 cache=yes
11186 else
11187 cache=no
11188 fi
11189
11190 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
11191
11192 fi
11193
11194
11195 eval "$wx_cv_use_bmpbutton"
11196 if test "x$cache" = xyes; then
11197 echo "wxUSE_BMPBUTTON=$wxUSE_BMPBUTTON" >> ${wx_arg_cache_file}.tmp
11198 fi
11199
11200 if test x"$enablestring" = xdisable; then
11201 if test $wxUSE_BMPBUTTON = yes; then
11202 result=no
11203 else
11204 result=yes
11205 fi
11206 else
11207 result=$wxUSE_BMPBUTTON
11208 fi
11209
11210 { echo "$as_me:$LINENO: result: $result" >&5
11211 echo "${ECHO_T}$result" >&6; }
11212
11213
11214 enablestring=
11215 defaultval=$wxUSE_ALL_FEATURES
11216 if test -z "$defaultval"; then
11217 if test x"$enablestring" = xdisable; then
11218 defaultval=yes
11219 else
11220 defaultval=no
11221 fi
11222 fi
11223
11224 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
11225 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
11226 # Check whether --enable-bmpcombobox was given.
11227 if test "${enable_bmpcombobox+set}" = set; then
11228 enableval=$enable_bmpcombobox;
11229 if test "$enableval" = yes; then
11230 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
11231 else
11232 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
11233 fi
11234 cache=yes
11235
11236 else
11237
11238 LINE=`grep "^wxUSE_BITMAPCOMBOBOX=" ${wx_arg_cache_file}`
11239 if test "x$LINE" != x ; then
11240 eval "DEFAULT_$LINE"
11241 cache=yes
11242 else
11243 cache=no
11244 fi
11245
11246 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
11247
11248 fi
11249
11250
11251 eval "$wx_cv_use_bmpcombobox"
11252 if test "x$cache" = xyes; then
11253 echo "wxUSE_BITMAPCOMBOBOX=$wxUSE_BITMAPCOMBOBOX" >> ${wx_arg_cache_file}.tmp
11254 fi
11255
11256 if test x"$enablestring" = xdisable; then
11257 if test $wxUSE_BITMAPCOMBOBOX = yes; then
11258 result=no
11259 else
11260 result=yes
11261 fi
11262 else
11263 result=$wxUSE_BITMAPCOMBOBOX
11264 fi
11265
11266 { echo "$as_me:$LINENO: result: $result" >&5
11267 echo "${ECHO_T}$result" >&6; }
11268
11269
11270 enablestring=
11271 defaultval=$wxUSE_ALL_FEATURES
11272 if test -z "$defaultval"; then
11273 if test x"$enablestring" = xdisable; then
11274 defaultval=yes
11275 else
11276 defaultval=no
11277 fi
11278 fi
11279
11280 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
11281 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
11282 # Check whether --enable-calendar was given.
11283 if test "${enable_calendar+set}" = set; then
11284 enableval=$enable_calendar;
11285 if test "$enableval" = yes; then
11286 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
11287 else
11288 wx_cv_use_calendar='wxUSE_CALCTRL=no'
11289 fi
11290 cache=yes
11291
11292 else
11293
11294 LINE=`grep "^wxUSE_CALCTRL=" ${wx_arg_cache_file}`
11295 if test "x$LINE" != x ; then
11296 eval "DEFAULT_$LINE"
11297 cache=yes
11298 else
11299 cache=no
11300 fi
11301
11302 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
11303
11304 fi
11305
11306
11307 eval "$wx_cv_use_calendar"
11308 if test "x$cache" = xyes; then
11309 echo "wxUSE_CALCTRL=$wxUSE_CALCTRL" >> ${wx_arg_cache_file}.tmp
11310 fi
11311
11312 if test x"$enablestring" = xdisable; then
11313 if test $wxUSE_CALCTRL = yes; then
11314 result=no
11315 else
11316 result=yes
11317 fi
11318 else
11319 result=$wxUSE_CALCTRL
11320 fi
11321
11322 { echo "$as_me:$LINENO: result: $result" >&5
11323 echo "${ECHO_T}$result" >&6; }
11324
11325
11326 enablestring=
11327 defaultval=$wxUSE_ALL_FEATURES
11328 if test -z "$defaultval"; then
11329 if test x"$enablestring" = xdisable; then
11330 defaultval=yes
11331 else
11332 defaultval=no
11333 fi
11334 fi
11335
11336 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
11337 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
11338 # Check whether --enable-caret was given.
11339 if test "${enable_caret+set}" = set; then
11340 enableval=$enable_caret;
11341 if test "$enableval" = yes; then
11342 wx_cv_use_caret='wxUSE_CARET=yes'
11343 else
11344 wx_cv_use_caret='wxUSE_CARET=no'
11345 fi
11346 cache=yes
11347
11348 else
11349
11350 LINE=`grep "^wxUSE_CARET=" ${wx_arg_cache_file}`
11351 if test "x$LINE" != x ; then
11352 eval "DEFAULT_$LINE"
11353 cache=yes
11354 else
11355 cache=no
11356 fi
11357
11358 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
11359
11360 fi
11361
11362
11363 eval "$wx_cv_use_caret"
11364 if test "x$cache" = xyes; then
11365 echo "wxUSE_CARET=$wxUSE_CARET" >> ${wx_arg_cache_file}.tmp
11366 fi
11367
11368 if test x"$enablestring" = xdisable; then
11369 if test $wxUSE_CARET = yes; then
11370 result=no
11371 else
11372 result=yes
11373 fi
11374 else
11375 result=$wxUSE_CARET
11376 fi
11377
11378 { echo "$as_me:$LINENO: result: $result" >&5
11379 echo "${ECHO_T}$result" >&6; }
11380
11381
11382 enablestring=
11383 defaultval=$wxUSE_ALL_FEATURES
11384 if test -z "$defaultval"; then
11385 if test x"$enablestring" = xdisable; then
11386 defaultval=yes
11387 else
11388 defaultval=no
11389 fi
11390 fi
11391
11392 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
11393 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
11394 # Check whether --enable-checkbox was given.
11395 if test "${enable_checkbox+set}" = set; then
11396 enableval=$enable_checkbox;
11397 if test "$enableval" = yes; then
11398 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
11399 else
11400 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
11401 fi
11402 cache=yes
11403
11404 else
11405
11406 LINE=`grep "^wxUSE_CHECKBOX=" ${wx_arg_cache_file}`
11407 if test "x$LINE" != x ; then
11408 eval "DEFAULT_$LINE"
11409 cache=yes
11410 else
11411 cache=no
11412 fi
11413
11414 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
11415
11416 fi
11417
11418
11419 eval "$wx_cv_use_checkbox"
11420 if test "x$cache" = xyes; then
11421 echo "wxUSE_CHECKBOX=$wxUSE_CHECKBOX" >> ${wx_arg_cache_file}.tmp
11422 fi
11423
11424 if test x"$enablestring" = xdisable; then
11425 if test $wxUSE_CHECKBOX = yes; then
11426 result=no
11427 else
11428 result=yes
11429 fi
11430 else
11431 result=$wxUSE_CHECKBOX
11432 fi
11433
11434 { echo "$as_me:$LINENO: result: $result" >&5
11435 echo "${ECHO_T}$result" >&6; }
11436
11437
11438 enablestring=
11439 defaultval=$wxUSE_ALL_FEATURES
11440 if test -z "$defaultval"; then
11441 if test x"$enablestring" = xdisable; then
11442 defaultval=yes
11443 else
11444 defaultval=no
11445 fi
11446 fi
11447
11448 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
11449 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
11450 # Check whether --enable-checklst was given.
11451 if test "${enable_checklst+set}" = set; then
11452 enableval=$enable_checklst;
11453 if test "$enableval" = yes; then
11454 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
11455 else
11456 wx_cv_use_checklst='wxUSE_CHECKLST=no'
11457 fi
11458 cache=yes
11459
11460 else
11461
11462 LINE=`grep "^wxUSE_CHECKLST=" ${wx_arg_cache_file}`
11463 if test "x$LINE" != x ; then
11464 eval "DEFAULT_$LINE"
11465 cache=yes
11466 else
11467 cache=no
11468 fi
11469
11470 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
11471
11472 fi
11473
11474
11475 eval "$wx_cv_use_checklst"
11476 if test "x$cache" = xyes; then
11477 echo "wxUSE_CHECKLST=$wxUSE_CHECKLST" >> ${wx_arg_cache_file}.tmp
11478 fi
11479
11480 if test x"$enablestring" = xdisable; then
11481 if test $wxUSE_CHECKLST = yes; then
11482 result=no
11483 else
11484 result=yes
11485 fi
11486 else
11487 result=$wxUSE_CHECKLST
11488 fi
11489
11490 { echo "$as_me:$LINENO: result: $result" >&5
11491 echo "${ECHO_T}$result" >&6; }
11492
11493
11494 enablestring=
11495 defaultval=$wxUSE_ALL_FEATURES
11496 if test -z "$defaultval"; then
11497 if test x"$enablestring" = xdisable; then
11498 defaultval=yes
11499 else
11500 defaultval=no
11501 fi
11502 fi
11503
11504 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
11505 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
11506 # Check whether --enable-choice was given.
11507 if test "${enable_choice+set}" = set; then
11508 enableval=$enable_choice;
11509 if test "$enableval" = yes; then
11510 wx_cv_use_choice='wxUSE_CHOICE=yes'
11511 else
11512 wx_cv_use_choice='wxUSE_CHOICE=no'
11513 fi
11514 cache=yes
11515
11516 else
11517
11518 LINE=`grep "^wxUSE_CHOICE=" ${wx_arg_cache_file}`
11519 if test "x$LINE" != x ; then
11520 eval "DEFAULT_$LINE"
11521 cache=yes
11522 else
11523 cache=no
11524 fi
11525
11526 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
11527
11528 fi
11529
11530
11531 eval "$wx_cv_use_choice"
11532 if test "x$cache" = xyes; then
11533 echo "wxUSE_CHOICE=$wxUSE_CHOICE" >> ${wx_arg_cache_file}.tmp
11534 fi
11535
11536 if test x"$enablestring" = xdisable; then
11537 if test $wxUSE_CHOICE = yes; then
11538 result=no
11539 else
11540 result=yes
11541 fi
11542 else
11543 result=$wxUSE_CHOICE
11544 fi
11545
11546 { echo "$as_me:$LINENO: result: $result" >&5
11547 echo "${ECHO_T}$result" >&6; }
11548
11549
11550 enablestring=
11551 defaultval=$wxUSE_ALL_FEATURES
11552 if test -z "$defaultval"; then
11553 if test x"$enablestring" = xdisable; then
11554 defaultval=yes
11555 else
11556 defaultval=no
11557 fi
11558 fi
11559
11560 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
11561 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
11562 # Check whether --enable-choicebook was given.
11563 if test "${enable_choicebook+set}" = set; then
11564 enableval=$enable_choicebook;
11565 if test "$enableval" = yes; then
11566 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
11567 else
11568 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
11569 fi
11570 cache=yes
11571
11572 else
11573
11574 LINE=`grep "^wxUSE_CHOICEBOOK=" ${wx_arg_cache_file}`
11575 if test "x$LINE" != x ; then
11576 eval "DEFAULT_$LINE"
11577 cache=yes
11578 else
11579 cache=no
11580 fi
11581
11582 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
11583
11584 fi
11585
11586
11587 eval "$wx_cv_use_choicebook"
11588 if test "x$cache" = xyes; then
11589 echo "wxUSE_CHOICEBOOK=$wxUSE_CHOICEBOOK" >> ${wx_arg_cache_file}.tmp
11590 fi
11591
11592 if test x"$enablestring" = xdisable; then
11593 if test $wxUSE_CHOICEBOOK = yes; then
11594 result=no
11595 else
11596 result=yes
11597 fi
11598 else
11599 result=$wxUSE_CHOICEBOOK
11600 fi
11601
11602 { echo "$as_me:$LINENO: result: $result" >&5
11603 echo "${ECHO_T}$result" >&6; }
11604
11605
11606 enablestring=
11607 defaultval=$wxUSE_ALL_FEATURES
11608 if test -z "$defaultval"; then
11609 if test x"$enablestring" = xdisable; then
11610 defaultval=yes
11611 else
11612 defaultval=no
11613 fi
11614 fi
11615
11616 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
11617 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
11618 # Check whether --enable-collpane was given.
11619 if test "${enable_collpane+set}" = set; then
11620 enableval=$enable_collpane;
11621 if test "$enableval" = yes; then
11622 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
11623 else
11624 wx_cv_use_collpane='wxUSE_COLLPANE=no'
11625 fi
11626 cache=yes
11627
11628 else
11629
11630 LINE=`grep "^wxUSE_COLLPANE=" ${wx_arg_cache_file}`
11631 if test "x$LINE" != x ; then
11632 eval "DEFAULT_$LINE"
11633 cache=yes
11634 else
11635 cache=no
11636 fi
11637
11638 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
11639
11640 fi
11641
11642
11643 eval "$wx_cv_use_collpane"
11644 if test "x$cache" = xyes; then
11645 echo "wxUSE_COLLPANE=$wxUSE_COLLPANE" >> ${wx_arg_cache_file}.tmp
11646 fi
11647
11648 if test x"$enablestring" = xdisable; then
11649 if test $wxUSE_COLLPANE = yes; then
11650 result=no
11651 else
11652 result=yes
11653 fi
11654 else
11655 result=$wxUSE_COLLPANE
11656 fi
11657
11658 { echo "$as_me:$LINENO: result: $result" >&5
11659 echo "${ECHO_T}$result" >&6; }
11660
11661
11662 enablestring=
11663 defaultval=$wxUSE_ALL_FEATURES
11664 if test -z "$defaultval"; then
11665 if test x"$enablestring" = xdisable; then
11666 defaultval=yes
11667 else
11668 defaultval=no
11669 fi
11670 fi
11671
11672 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
11673 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
11674 # Check whether --enable-colourpicker was given.
11675 if test "${enable_colourpicker+set}" = set; then
11676 enableval=$enable_colourpicker;
11677 if test "$enableval" = yes; then
11678 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
11679 else
11680 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
11681 fi
11682 cache=yes
11683
11684 else
11685
11686 LINE=`grep "^wxUSE_COLOURPICKERCTRL=" ${wx_arg_cache_file}`
11687 if test "x$LINE" != x ; then
11688 eval "DEFAULT_$LINE"
11689 cache=yes
11690 else
11691 cache=no
11692 fi
11693
11694 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
11695
11696 fi
11697
11698
11699 eval "$wx_cv_use_colourpicker"
11700 if test "x$cache" = xyes; then
11701 echo "wxUSE_COLOURPICKERCTRL=$wxUSE_COLOURPICKERCTRL" >> ${wx_arg_cache_file}.tmp
11702 fi
11703
11704 if test x"$enablestring" = xdisable; then
11705 if test $wxUSE_COLOURPICKERCTRL = yes; then
11706 result=no
11707 else
11708 result=yes
11709 fi
11710 else
11711 result=$wxUSE_COLOURPICKERCTRL
11712 fi
11713
11714 { echo "$as_me:$LINENO: result: $result" >&5
11715 echo "${ECHO_T}$result" >&6; }
11716
11717
11718 enablestring=
11719 defaultval=$wxUSE_ALL_FEATURES
11720 if test -z "$defaultval"; then
11721 if test x"$enablestring" = xdisable; then
11722 defaultval=yes
11723 else
11724 defaultval=no
11725 fi
11726 fi
11727
11728 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
11729 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
11730 # Check whether --enable-combobox was given.
11731 if test "${enable_combobox+set}" = set; then
11732 enableval=$enable_combobox;
11733 if test "$enableval" = yes; then
11734 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
11735 else
11736 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
11737 fi
11738 cache=yes
11739
11740 else
11741
11742 LINE=`grep "^wxUSE_COMBOBOX=" ${wx_arg_cache_file}`
11743 if test "x$LINE" != x ; then
11744 eval "DEFAULT_$LINE"
11745 cache=yes
11746 else
11747 cache=no
11748 fi
11749
11750 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
11751
11752 fi
11753
11754
11755 eval "$wx_cv_use_combobox"
11756 if test "x$cache" = xyes; then
11757 echo "wxUSE_COMBOBOX=$wxUSE_COMBOBOX" >> ${wx_arg_cache_file}.tmp
11758 fi
11759
11760 if test x"$enablestring" = xdisable; then
11761 if test $wxUSE_COMBOBOX = yes; then
11762 result=no
11763 else
11764 result=yes
11765 fi
11766 else
11767 result=$wxUSE_COMBOBOX
11768 fi
11769
11770 { echo "$as_me:$LINENO: result: $result" >&5
11771 echo "${ECHO_T}$result" >&6; }
11772
11773
11774 enablestring=
11775 defaultval=$wxUSE_ALL_FEATURES
11776 if test -z "$defaultval"; then
11777 if test x"$enablestring" = xdisable; then
11778 defaultval=yes
11779 else
11780 defaultval=no
11781 fi
11782 fi
11783
11784 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
11785 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
11786 # Check whether --enable-comboctrl was given.
11787 if test "${enable_comboctrl+set}" = set; then
11788 enableval=$enable_comboctrl;
11789 if test "$enableval" = yes; then
11790 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
11791 else
11792 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
11793 fi
11794 cache=yes
11795
11796 else
11797
11798 LINE=`grep "^wxUSE_COMBOCTRL=" ${wx_arg_cache_file}`
11799 if test "x$LINE" != x ; then
11800 eval "DEFAULT_$LINE"
11801 cache=yes
11802 else
11803 cache=no
11804 fi
11805
11806 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
11807
11808 fi
11809
11810
11811 eval "$wx_cv_use_comboctrl"
11812 if test "x$cache" = xyes; then
11813 echo "wxUSE_COMBOCTRL=$wxUSE_COMBOCTRL" >> ${wx_arg_cache_file}.tmp
11814 fi
11815
11816 if test x"$enablestring" = xdisable; then
11817 if test $wxUSE_COMBOCTRL = yes; then
11818 result=no
11819 else
11820 result=yes
11821 fi
11822 else
11823 result=$wxUSE_COMBOCTRL
11824 fi
11825
11826 { echo "$as_me:$LINENO: result: $result" >&5
11827 echo "${ECHO_T}$result" >&6; }
11828
11829
11830 enablestring=
11831 defaultval=$wxUSE_ALL_FEATURES
11832 if test -z "$defaultval"; then
11833 if test x"$enablestring" = xdisable; then
11834 defaultval=yes
11835 else
11836 defaultval=no
11837 fi
11838 fi
11839
11840 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
11841 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
11842 # Check whether --enable-datepick was given.
11843 if test "${enable_datepick+set}" = set; then
11844 enableval=$enable_datepick;
11845 if test "$enableval" = yes; then
11846 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
11847 else
11848 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
11849 fi
11850 cache=yes
11851
11852 else
11853
11854 LINE=`grep "^wxUSE_DATEPICKCTRL=" ${wx_arg_cache_file}`
11855 if test "x$LINE" != x ; then
11856 eval "DEFAULT_$LINE"
11857 cache=yes
11858 else
11859 cache=no
11860 fi
11861
11862 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
11863
11864 fi
11865
11866
11867 eval "$wx_cv_use_datepick"
11868 if test "x$cache" = xyes; then
11869 echo "wxUSE_DATEPICKCTRL=$wxUSE_DATEPICKCTRL" >> ${wx_arg_cache_file}.tmp
11870 fi
11871
11872 if test x"$enablestring" = xdisable; then
11873 if test $wxUSE_DATEPICKCTRL = yes; then
11874 result=no
11875 else
11876 result=yes
11877 fi
11878 else
11879 result=$wxUSE_DATEPICKCTRL
11880 fi
11881
11882 { echo "$as_me:$LINENO: result: $result" >&5
11883 echo "${ECHO_T}$result" >&6; }
11884
11885
11886 enablestring=
11887 defaultval=$wxUSE_ALL_FEATURES
11888 if test -z "$defaultval"; then
11889 if test x"$enablestring" = xdisable; then
11890 defaultval=yes
11891 else
11892 defaultval=no
11893 fi
11894 fi
11895
11896 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
11897 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
11898 # Check whether --enable-dirpicker was given.
11899 if test "${enable_dirpicker+set}" = set; then
11900 enableval=$enable_dirpicker;
11901 if test "$enableval" = yes; then
11902 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
11903 else
11904 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
11905 fi
11906 cache=yes
11907
11908 else
11909
11910 LINE=`grep "^wxUSE_DIRPICKERCTRL=" ${wx_arg_cache_file}`
11911 if test "x$LINE" != x ; then
11912 eval "DEFAULT_$LINE"
11913 cache=yes
11914 else
11915 cache=no
11916 fi
11917
11918 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
11919
11920 fi
11921
11922
11923 eval "$wx_cv_use_dirpicker"
11924 if test "x$cache" = xyes; then
11925 echo "wxUSE_DIRPICKERCTRL=$wxUSE_DIRPICKERCTRL" >> ${wx_arg_cache_file}.tmp
11926 fi
11927
11928 if test x"$enablestring" = xdisable; then
11929 if test $wxUSE_DIRPICKERCTRL = yes; then
11930 result=no
11931 else
11932 result=yes
11933 fi
11934 else
11935 result=$wxUSE_DIRPICKERCTRL
11936 fi
11937
11938 { echo "$as_me:$LINENO: result: $result" >&5
11939 echo "${ECHO_T}$result" >&6; }
11940
11941
11942 enablestring=
11943 defaultval=$wxUSE_ALL_FEATURES
11944 if test -z "$defaultval"; then
11945 if test x"$enablestring" = xdisable; then
11946 defaultval=yes
11947 else
11948 defaultval=no
11949 fi
11950 fi
11951
11952 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
11953 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
11954 # Check whether --enable-display was given.
11955 if test "${enable_display+set}" = set; then
11956 enableval=$enable_display;
11957 if test "$enableval" = yes; then
11958 wx_cv_use_display='wxUSE_DISPLAY=yes'
11959 else
11960 wx_cv_use_display='wxUSE_DISPLAY=no'
11961 fi
11962 cache=yes
11963
11964 else
11965
11966 LINE=`grep "^wxUSE_DISPLAY=" ${wx_arg_cache_file}`
11967 if test "x$LINE" != x ; then
11968 eval "DEFAULT_$LINE"
11969 cache=yes
11970 else
11971 cache=no
11972 fi
11973
11974 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
11975
11976 fi
11977
11978
11979 eval "$wx_cv_use_display"
11980 if test "x$cache" = xyes; then
11981 echo "wxUSE_DISPLAY=$wxUSE_DISPLAY" >> ${wx_arg_cache_file}.tmp
11982 fi
11983
11984 if test x"$enablestring" = xdisable; then
11985 if test $wxUSE_DISPLAY = yes; then
11986 result=no
11987 else
11988 result=yes
11989 fi
11990 else
11991 result=$wxUSE_DISPLAY
11992 fi
11993
11994 { echo "$as_me:$LINENO: result: $result" >&5
11995 echo "${ECHO_T}$result" >&6; }
11996
11997
11998 enablestring=
11999 defaultval=$wxUSE_ALL_FEATURES
12000 if test -z "$defaultval"; then
12001 if test x"$enablestring" = xdisable; then
12002 defaultval=yes
12003 else
12004 defaultval=no
12005 fi
12006 fi
12007
12008 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
12009 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
12010 # Check whether --enable-detect_sm was given.
12011 if test "${enable_detect_sm+set}" = set; then
12012 enableval=$enable_detect_sm;
12013 if test "$enableval" = yes; then
12014 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
12015 else
12016 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
12017 fi
12018 cache=yes
12019
12020 else
12021
12022 LINE=`grep "^wxUSE_DETECT_SM=" ${wx_arg_cache_file}`
12023 if test "x$LINE" != x ; then
12024 eval "DEFAULT_$LINE"
12025 cache=yes
12026 else
12027 cache=no
12028 fi
12029
12030 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
12031
12032 fi
12033
12034
12035 eval "$wx_cv_use_detect_sm"
12036 if test "x$cache" = xyes; then
12037 echo "wxUSE_DETECT_SM=$wxUSE_DETECT_SM" >> ${wx_arg_cache_file}.tmp
12038 fi
12039
12040 if test x"$enablestring" = xdisable; then
12041 if test $wxUSE_DETECT_SM = yes; then
12042 result=no
12043 else
12044 result=yes
12045 fi
12046 else
12047 result=$wxUSE_DETECT_SM
12048 fi
12049
12050 { echo "$as_me:$LINENO: result: $result" >&5
12051 echo "${ECHO_T}$result" >&6; }
12052
12053
12054 enablestring=
12055 defaultval=$wxUSE_ALL_FEATURES
12056 if test -z "$defaultval"; then
12057 if test x"$enablestring" = xdisable; then
12058 defaultval=yes
12059 else
12060 defaultval=no
12061 fi
12062 fi
12063
12064 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
12065 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
12066 # Check whether --enable-editablebox was given.
12067 if test "${enable_editablebox+set}" = set; then
12068 enableval=$enable_editablebox;
12069 if test "$enableval" = yes; then
12070 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
12071 else
12072 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
12073 fi
12074 cache=yes
12075
12076 else
12077
12078 LINE=`grep "^wxUSE_EDITABLELISTBOX=" ${wx_arg_cache_file}`
12079 if test "x$LINE" != x ; then
12080 eval "DEFAULT_$LINE"
12081 cache=yes
12082 else
12083 cache=no
12084 fi
12085
12086 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
12087
12088 fi
12089
12090
12091 eval "$wx_cv_use_editablebox"
12092 if test "x$cache" = xyes; then
12093 echo "wxUSE_EDITABLELISTBOX=$wxUSE_EDITABLELISTBOX" >> ${wx_arg_cache_file}.tmp
12094 fi
12095
12096 if test x"$enablestring" = xdisable; then
12097 if test $wxUSE_EDITABLELISTBOX = yes; then
12098 result=no
12099 else
12100 result=yes
12101 fi
12102 else
12103 result=$wxUSE_EDITABLELISTBOX
12104 fi
12105
12106 { echo "$as_me:$LINENO: result: $result" >&5
12107 echo "${ECHO_T}$result" >&6; }
12108
12109
12110 enablestring=
12111 defaultval=$wxUSE_ALL_FEATURES
12112 if test -z "$defaultval"; then
12113 if test x"$enablestring" = xdisable; then
12114 defaultval=yes
12115 else
12116 defaultval=no
12117 fi
12118 fi
12119
12120 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
12121 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
12122 # Check whether --enable-filepicker was given.
12123 if test "${enable_filepicker+set}" = set; then
12124 enableval=$enable_filepicker;
12125 if test "$enableval" = yes; then
12126 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
12127 else
12128 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
12129 fi
12130 cache=yes
12131
12132 else
12133
12134 LINE=`grep "^wxUSE_FILEPICKERCTRL=" ${wx_arg_cache_file}`
12135 if test "x$LINE" != x ; then
12136 eval "DEFAULT_$LINE"
12137 cache=yes
12138 else
12139 cache=no
12140 fi
12141
12142 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
12143
12144 fi
12145
12146
12147 eval "$wx_cv_use_filepicker"
12148 if test "x$cache" = xyes; then
12149 echo "wxUSE_FILEPICKERCTRL=$wxUSE_FILEPICKERCTRL" >> ${wx_arg_cache_file}.tmp
12150 fi
12151
12152 if test x"$enablestring" = xdisable; then
12153 if test $wxUSE_FILEPICKERCTRL = yes; then
12154 result=no
12155 else
12156 result=yes
12157 fi
12158 else
12159 result=$wxUSE_FILEPICKERCTRL
12160 fi
12161
12162 { echo "$as_me:$LINENO: result: $result" >&5
12163 echo "${ECHO_T}$result" >&6; }
12164
12165
12166 enablestring=
12167 defaultval=$wxUSE_ALL_FEATURES
12168 if test -z "$defaultval"; then
12169 if test x"$enablestring" = xdisable; then
12170 defaultval=yes
12171 else
12172 defaultval=no
12173 fi
12174 fi
12175
12176 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filectrl" >&5
12177 echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
12178 # Check whether --enable-filectrl was given.
12179 if test "${enable_filectrl+set}" = set; then
12180 enableval=$enable_filectrl;
12181 if test "$enableval" = yes; then
12182 wx_cv_use_filectrl='wxUSE_FILECTRL=yes'
12183 else
12184 wx_cv_use_filectrl='wxUSE_FILECTRL=no'
12185 fi
12186 cache=yes
12187
12188 else
12189
12190 LINE=`grep "^wxUSE_FILECTRL=" ${wx_arg_cache_file}`
12191 if test "x$LINE" != x ; then
12192 eval "DEFAULT_$LINE"
12193 cache=yes
12194 else
12195 cache=no
12196 fi
12197
12198 wx_cv_use_filectrl='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
12199
12200 fi
12201
12202
12203 eval "$wx_cv_use_filectrl"
12204 if test "x$cache" = xyes; then
12205 echo "wxUSE_FILECTRL=$wxUSE_FILECTRL" >> ${wx_arg_cache_file}.tmp
12206 fi
12207
12208 if test x"$enablestring" = xdisable; then
12209 if test $wxUSE_FILECTRL = yes; then
12210 result=no
12211 else
12212 result=yes
12213 fi
12214 else
12215 result=$wxUSE_FILECTRL
12216 fi
12217
12218 { echo "$as_me:$LINENO: result: $result" >&5
12219 echo "${ECHO_T}$result" >&6; }
12220
12221
12222 enablestring=
12223 defaultval=$wxUSE_ALL_FEATURES
12224 if test -z "$defaultval"; then
12225 if test x"$enablestring" = xdisable; then
12226 defaultval=yes
12227 else
12228 defaultval=no
12229 fi
12230 fi
12231
12232 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
12233 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
12234 # Check whether --enable-fontpicker was given.
12235 if test "${enable_fontpicker+set}" = set; then
12236 enableval=$enable_fontpicker;
12237 if test "$enableval" = yes; then
12238 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
12239 else
12240 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
12241 fi
12242 cache=yes
12243
12244 else
12245
12246 LINE=`grep "^wxUSE_FONTPICKERCTRL=" ${wx_arg_cache_file}`
12247 if test "x$LINE" != x ; then
12248 eval "DEFAULT_$LINE"
12249 cache=yes
12250 else
12251 cache=no
12252 fi
12253
12254 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
12255
12256 fi
12257
12258
12259 eval "$wx_cv_use_fontpicker"
12260 if test "x$cache" = xyes; then
12261 echo "wxUSE_FONTPICKERCTRL=$wxUSE_FONTPICKERCTRL" >> ${wx_arg_cache_file}.tmp
12262 fi
12263
12264 if test x"$enablestring" = xdisable; then
12265 if test $wxUSE_FONTPICKERCTRL = yes; then
12266 result=no
12267 else
12268 result=yes
12269 fi
12270 else
12271 result=$wxUSE_FONTPICKERCTRL
12272 fi
12273
12274 { echo "$as_me:$LINENO: result: $result" >&5
12275 echo "${ECHO_T}$result" >&6; }
12276
12277
12278 enablestring=
12279 defaultval=$wxUSE_ALL_FEATURES
12280 if test -z "$defaultval"; then
12281 if test x"$enablestring" = xdisable; then
12282 defaultval=yes
12283 else
12284 defaultval=no
12285 fi
12286 fi
12287
12288 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
12289 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
12290 # Check whether --enable-gauge was given.
12291 if test "${enable_gauge+set}" = set; then
12292 enableval=$enable_gauge;
12293 if test "$enableval" = yes; then
12294 wx_cv_use_gauge='wxUSE_GAUGE=yes'
12295 else
12296 wx_cv_use_gauge='wxUSE_GAUGE=no'
12297 fi
12298 cache=yes
12299
12300 else
12301
12302 LINE=`grep "^wxUSE_GAUGE=" ${wx_arg_cache_file}`
12303 if test "x$LINE" != x ; then
12304 eval "DEFAULT_$LINE"
12305 cache=yes
12306 else
12307 cache=no
12308 fi
12309
12310 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
12311
12312 fi
12313
12314
12315 eval "$wx_cv_use_gauge"
12316 if test "x$cache" = xyes; then
12317 echo "wxUSE_GAUGE=$wxUSE_GAUGE" >> ${wx_arg_cache_file}.tmp
12318 fi
12319
12320 if test x"$enablestring" = xdisable; then
12321 if test $wxUSE_GAUGE = yes; then
12322 result=no
12323 else
12324 result=yes
12325 fi
12326 else
12327 result=$wxUSE_GAUGE
12328 fi
12329
12330 { echo "$as_me:$LINENO: result: $result" >&5
12331 echo "${ECHO_T}$result" >&6; }
12332
12333
12334 enablestring=
12335 defaultval=$wxUSE_ALL_FEATURES
12336 if test -z "$defaultval"; then
12337 if test x"$enablestring" = xdisable; then
12338 defaultval=yes
12339 else
12340 defaultval=no
12341 fi
12342 fi
12343
12344 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
12345 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
12346 # Check whether --enable-grid was given.
12347 if test "${enable_grid+set}" = set; then
12348 enableval=$enable_grid;
12349 if test "$enableval" = yes; then
12350 wx_cv_use_grid='wxUSE_GRID=yes'
12351 else
12352 wx_cv_use_grid='wxUSE_GRID=no'
12353 fi
12354 cache=yes
12355
12356 else
12357
12358 LINE=`grep "^wxUSE_GRID=" ${wx_arg_cache_file}`
12359 if test "x$LINE" != x ; then
12360 eval "DEFAULT_$LINE"
12361 cache=yes
12362 else
12363 cache=no
12364 fi
12365
12366 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
12367
12368 fi
12369
12370
12371 eval "$wx_cv_use_grid"
12372 if test "x$cache" = xyes; then
12373 echo "wxUSE_GRID=$wxUSE_GRID" >> ${wx_arg_cache_file}.tmp
12374 fi
12375
12376 if test x"$enablestring" = xdisable; then
12377 if test $wxUSE_GRID = yes; then
12378 result=no
12379 else
12380 result=yes
12381 fi
12382 else
12383 result=$wxUSE_GRID
12384 fi
12385
12386 { echo "$as_me:$LINENO: result: $result" >&5
12387 echo "${ECHO_T}$result" >&6; }
12388
12389
12390 enablestring=
12391 defaultval=$wxUSE_ALL_FEATURES
12392 if test -z "$defaultval"; then
12393 if test x"$enablestring" = xdisable; then
12394 defaultval=yes
12395 else
12396 defaultval=no
12397 fi
12398 fi
12399
12400 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
12401 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
12402 # Check whether --enable-dataviewctrl was given.
12403 if test "${enable_dataviewctrl+set}" = set; then
12404 enableval=$enable_dataviewctrl;
12405 if test "$enableval" = yes; then
12406 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
12407 else
12408 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
12409 fi
12410 cache=yes
12411
12412 else
12413
12414 LINE=`grep "^wxUSE_DATAVIEWCTRL=" ${wx_arg_cache_file}`
12415 if test "x$LINE" != x ; then
12416 eval "DEFAULT_$LINE"
12417 cache=yes
12418 else
12419 cache=no
12420 fi
12421
12422 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
12423
12424 fi
12425
12426
12427 eval "$wx_cv_use_dataviewctrl"
12428 if test "x$cache" = xyes; then
12429 echo "wxUSE_DATAVIEWCTRL=$wxUSE_DATAVIEWCTRL" >> ${wx_arg_cache_file}.tmp
12430 fi
12431
12432 if test x"$enablestring" = xdisable; then
12433 if test $wxUSE_DATAVIEWCTRL = yes; then
12434 result=no
12435 else
12436 result=yes
12437 fi
12438 else
12439 result=$wxUSE_DATAVIEWCTRL
12440 fi
12441
12442 { echo "$as_me:$LINENO: result: $result" >&5
12443 echo "${ECHO_T}$result" >&6; }
12444
12445
12446 enablestring=
12447 defaultval=$wxUSE_ALL_FEATURES
12448 if test -z "$defaultval"; then
12449 if test x"$enablestring" = xdisable; then
12450 defaultval=yes
12451 else
12452 defaultval=no
12453 fi
12454 fi
12455
12456 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
12457 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
12458 # Check whether --enable-hyperlink was given.
12459 if test "${enable_hyperlink+set}" = set; then
12460 enableval=$enable_hyperlink;
12461 if test "$enableval" = yes; then
12462 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
12463 else
12464 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
12465 fi
12466 cache=yes
12467
12468 else
12469
12470 LINE=`grep "^wxUSE_HYPERLINKCTRL=" ${wx_arg_cache_file}`
12471 if test "x$LINE" != x ; then
12472 eval "DEFAULT_$LINE"
12473 cache=yes
12474 else
12475 cache=no
12476 fi
12477
12478 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
12479
12480 fi
12481
12482
12483 eval "$wx_cv_use_hyperlink"
12484 if test "x$cache" = xyes; then
12485 echo "wxUSE_HYPERLINKCTRL=$wxUSE_HYPERLINKCTRL" >> ${wx_arg_cache_file}.tmp
12486 fi
12487
12488 if test x"$enablestring" = xdisable; then
12489 if test $wxUSE_HYPERLINKCTRL = yes; then
12490 result=no
12491 else
12492 result=yes
12493 fi
12494 else
12495 result=$wxUSE_HYPERLINKCTRL
12496 fi
12497
12498 { echo "$as_me:$LINENO: result: $result" >&5
12499 echo "${ECHO_T}$result" >&6; }
12500
12501
12502 enablestring=
12503 defaultval=$wxUSE_ALL_FEATURES
12504 if test -z "$defaultval"; then
12505 if test x"$enablestring" = xdisable; then
12506 defaultval=yes
12507 else
12508 defaultval=no
12509 fi
12510 fi
12511
12512 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
12513 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
12514 # Check whether --enable-imaglist was given.
12515 if test "${enable_imaglist+set}" = set; then
12516 enableval=$enable_imaglist;
12517 if test "$enableval" = yes; then
12518 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
12519 else
12520 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
12521 fi
12522 cache=yes
12523
12524 else
12525
12526 LINE=`grep "^wxUSE_IMAGLIST=" ${wx_arg_cache_file}`
12527 if test "x$LINE" != x ; then
12528 eval "DEFAULT_$LINE"
12529 cache=yes
12530 else
12531 cache=no
12532 fi
12533
12534 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
12535
12536 fi
12537
12538
12539 eval "$wx_cv_use_imaglist"
12540 if test "x$cache" = xyes; then
12541 echo "wxUSE_IMAGLIST=$wxUSE_IMAGLIST" >> ${wx_arg_cache_file}.tmp
12542 fi
12543
12544 if test x"$enablestring" = xdisable; then
12545 if test $wxUSE_IMAGLIST = yes; then
12546 result=no
12547 else
12548 result=yes
12549 fi
12550 else
12551 result=$wxUSE_IMAGLIST
12552 fi
12553
12554 { echo "$as_me:$LINENO: result: $result" >&5
12555 echo "${ECHO_T}$result" >&6; }
12556
12557
12558 enablestring=
12559 defaultval=$wxUSE_ALL_FEATURES
12560 if test -z "$defaultval"; then
12561 if test x"$enablestring" = xdisable; then
12562 defaultval=yes
12563 else
12564 defaultval=no
12565 fi
12566 fi
12567
12568 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
12569 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
12570 # Check whether --enable-listbook was given.
12571 if test "${enable_listbook+set}" = set; then
12572 enableval=$enable_listbook;
12573 if test "$enableval" = yes; then
12574 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
12575 else
12576 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
12577 fi
12578 cache=yes
12579
12580 else
12581
12582 LINE=`grep "^wxUSE_LISTBOOK=" ${wx_arg_cache_file}`
12583 if test "x$LINE" != x ; then
12584 eval "DEFAULT_$LINE"
12585 cache=yes
12586 else
12587 cache=no
12588 fi
12589
12590 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
12591
12592 fi
12593
12594
12595 eval "$wx_cv_use_listbook"
12596 if test "x$cache" = xyes; then
12597 echo "wxUSE_LISTBOOK=$wxUSE_LISTBOOK" >> ${wx_arg_cache_file}.tmp
12598 fi
12599
12600 if test x"$enablestring" = xdisable; then
12601 if test $wxUSE_LISTBOOK = yes; then
12602 result=no
12603 else
12604 result=yes
12605 fi
12606 else
12607 result=$wxUSE_LISTBOOK
12608 fi
12609
12610 { echo "$as_me:$LINENO: result: $result" >&5
12611 echo "${ECHO_T}$result" >&6; }
12612
12613
12614 enablestring=
12615 defaultval=$wxUSE_ALL_FEATURES
12616 if test -z "$defaultval"; then
12617 if test x"$enablestring" = xdisable; then
12618 defaultval=yes
12619 else
12620 defaultval=no
12621 fi
12622 fi
12623
12624 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
12625 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
12626 # Check whether --enable-listbox was given.
12627 if test "${enable_listbox+set}" = set; then
12628 enableval=$enable_listbox;
12629 if test "$enableval" = yes; then
12630 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
12631 else
12632 wx_cv_use_listbox='wxUSE_LISTBOX=no'
12633 fi
12634 cache=yes
12635
12636 else
12637
12638 LINE=`grep "^wxUSE_LISTBOX=" ${wx_arg_cache_file}`
12639 if test "x$LINE" != x ; then
12640 eval "DEFAULT_$LINE"
12641 cache=yes
12642 else
12643 cache=no
12644 fi
12645
12646 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
12647
12648 fi
12649
12650
12651 eval "$wx_cv_use_listbox"
12652 if test "x$cache" = xyes; then
12653 echo "wxUSE_LISTBOX=$wxUSE_LISTBOX" >> ${wx_arg_cache_file}.tmp
12654 fi
12655
12656 if test x"$enablestring" = xdisable; then
12657 if test $wxUSE_LISTBOX = yes; then
12658 result=no
12659 else
12660 result=yes
12661 fi
12662 else
12663 result=$wxUSE_LISTBOX
12664 fi
12665
12666 { echo "$as_me:$LINENO: result: $result" >&5
12667 echo "${ECHO_T}$result" >&6; }
12668
12669
12670 enablestring=
12671 defaultval=$wxUSE_ALL_FEATURES
12672 if test -z "$defaultval"; then
12673 if test x"$enablestring" = xdisable; then
12674 defaultval=yes
12675 else
12676 defaultval=no
12677 fi
12678 fi
12679
12680 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
12681 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
12682 # Check whether --enable-listctrl was given.
12683 if test "${enable_listctrl+set}" = set; then
12684 enableval=$enable_listctrl;
12685 if test "$enableval" = yes; then
12686 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
12687 else
12688 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
12689 fi
12690 cache=yes
12691
12692 else
12693
12694 LINE=`grep "^wxUSE_LISTCTRL=" ${wx_arg_cache_file}`
12695 if test "x$LINE" != x ; then
12696 eval "DEFAULT_$LINE"
12697 cache=yes
12698 else
12699 cache=no
12700 fi
12701
12702 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
12703
12704 fi
12705
12706
12707 eval "$wx_cv_use_listctrl"
12708 if test "x$cache" = xyes; then
12709 echo "wxUSE_LISTCTRL=$wxUSE_LISTCTRL" >> ${wx_arg_cache_file}.tmp
12710 fi
12711
12712 if test x"$enablestring" = xdisable; then
12713 if test $wxUSE_LISTCTRL = yes; then
12714 result=no
12715 else
12716 result=yes
12717 fi
12718 else
12719 result=$wxUSE_LISTCTRL
12720 fi
12721
12722 { echo "$as_me:$LINENO: result: $result" >&5
12723 echo "${ECHO_T}$result" >&6; }
12724
12725
12726 enablestring=
12727 defaultval=$wxUSE_ALL_FEATURES
12728 if test -z "$defaultval"; then
12729 if test x"$enablestring" = xdisable; then
12730 defaultval=yes
12731 else
12732 defaultval=no
12733 fi
12734 fi
12735
12736 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
12737 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
12738 # Check whether --enable-notebook was given.
12739 if test "${enable_notebook+set}" = set; then
12740 enableval=$enable_notebook;
12741 if test "$enableval" = yes; then
12742 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
12743 else
12744 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
12745 fi
12746 cache=yes
12747
12748 else
12749
12750 LINE=`grep "^wxUSE_NOTEBOOK=" ${wx_arg_cache_file}`
12751 if test "x$LINE" != x ; then
12752 eval "DEFAULT_$LINE"
12753 cache=yes
12754 else
12755 cache=no
12756 fi
12757
12758 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
12759
12760 fi
12761
12762
12763 eval "$wx_cv_use_notebook"
12764 if test "x$cache" = xyes; then
12765 echo "wxUSE_NOTEBOOK=$wxUSE_NOTEBOOK" >> ${wx_arg_cache_file}.tmp
12766 fi
12767
12768 if test x"$enablestring" = xdisable; then
12769 if test $wxUSE_NOTEBOOK = yes; then
12770 result=no
12771 else
12772 result=yes
12773 fi
12774 else
12775 result=$wxUSE_NOTEBOOK
12776 fi
12777
12778 { echo "$as_me:$LINENO: result: $result" >&5
12779 echo "${ECHO_T}$result" >&6; }
12780
12781
12782 enablestring=
12783 defaultval=$wxUSE_ALL_FEATURES
12784 if test -z "$defaultval"; then
12785 if test x"$enablestring" = xdisable; then
12786 defaultval=yes
12787 else
12788 defaultval=no
12789 fi
12790 fi
12791
12792 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
12793 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
12794 # Check whether --enable-odcombobox was given.
12795 if test "${enable_odcombobox+set}" = set; then
12796 enableval=$enable_odcombobox;
12797 if test "$enableval" = yes; then
12798 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
12799 else
12800 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
12801 fi
12802 cache=yes
12803
12804 else
12805
12806 LINE=`grep "^wxUSE_ODCOMBOBOX=" ${wx_arg_cache_file}`
12807 if test "x$LINE" != x ; then
12808 eval "DEFAULT_$LINE"
12809 cache=yes
12810 else
12811 cache=no
12812 fi
12813
12814 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
12815
12816 fi
12817
12818
12819 eval "$wx_cv_use_odcombobox"
12820 if test "x$cache" = xyes; then
12821 echo "wxUSE_ODCOMBOBOX=$wxUSE_ODCOMBOBOX" >> ${wx_arg_cache_file}.tmp
12822 fi
12823
12824 if test x"$enablestring" = xdisable; then
12825 if test $wxUSE_ODCOMBOBOX = yes; then
12826 result=no
12827 else
12828 result=yes
12829 fi
12830 else
12831 result=$wxUSE_ODCOMBOBOX
12832 fi
12833
12834 { echo "$as_me:$LINENO: result: $result" >&5
12835 echo "${ECHO_T}$result" >&6; }
12836
12837
12838 enablestring=
12839 defaultval=$wxUSE_ALL_FEATURES
12840 if test -z "$defaultval"; then
12841 if test x"$enablestring" = xdisable; then
12842 defaultval=yes
12843 else
12844 defaultval=no
12845 fi
12846 fi
12847
12848 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
12849 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
12850 # Check whether --enable-radiobox was given.
12851 if test "${enable_radiobox+set}" = set; then
12852 enableval=$enable_radiobox;
12853 if test "$enableval" = yes; then
12854 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
12855 else
12856 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
12857 fi
12858 cache=yes
12859
12860 else
12861
12862 LINE=`grep "^wxUSE_RADIOBOX=" ${wx_arg_cache_file}`
12863 if test "x$LINE" != x ; then
12864 eval "DEFAULT_$LINE"
12865 cache=yes
12866 else
12867 cache=no
12868 fi
12869
12870 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
12871
12872 fi
12873
12874
12875 eval "$wx_cv_use_radiobox"
12876 if test "x$cache" = xyes; then
12877 echo "wxUSE_RADIOBOX=$wxUSE_RADIOBOX" >> ${wx_arg_cache_file}.tmp
12878 fi
12879
12880 if test x"$enablestring" = xdisable; then
12881 if test $wxUSE_RADIOBOX = yes; then
12882 result=no
12883 else
12884 result=yes
12885 fi
12886 else
12887 result=$wxUSE_RADIOBOX
12888 fi
12889
12890 { echo "$as_me:$LINENO: result: $result" >&5
12891 echo "${ECHO_T}$result" >&6; }
12892
12893
12894 enablestring=
12895 defaultval=$wxUSE_ALL_FEATURES
12896 if test -z "$defaultval"; then
12897 if test x"$enablestring" = xdisable; then
12898 defaultval=yes
12899 else
12900 defaultval=no
12901 fi
12902 fi
12903
12904 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
12905 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
12906 # Check whether --enable-radiobtn was given.
12907 if test "${enable_radiobtn+set}" = set; then
12908 enableval=$enable_radiobtn;
12909 if test "$enableval" = yes; then
12910 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
12911 else
12912 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
12913 fi
12914 cache=yes
12915
12916 else
12917
12918 LINE=`grep "^wxUSE_RADIOBTN=" ${wx_arg_cache_file}`
12919 if test "x$LINE" != x ; then
12920 eval "DEFAULT_$LINE"
12921 cache=yes
12922 else
12923 cache=no
12924 fi
12925
12926 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
12927
12928 fi
12929
12930
12931 eval "$wx_cv_use_radiobtn"
12932 if test "x$cache" = xyes; then
12933 echo "wxUSE_RADIOBTN=$wxUSE_RADIOBTN" >> ${wx_arg_cache_file}.tmp
12934 fi
12935
12936 if test x"$enablestring" = xdisable; then
12937 if test $wxUSE_RADIOBTN = yes; then
12938 result=no
12939 else
12940 result=yes
12941 fi
12942 else
12943 result=$wxUSE_RADIOBTN
12944 fi
12945
12946 { echo "$as_me:$LINENO: result: $result" >&5
12947 echo "${ECHO_T}$result" >&6; }
12948
12949
12950 enablestring=
12951 defaultval=$wxUSE_ALL_FEATURES
12952 if test -z "$defaultval"; then
12953 if test x"$enablestring" = xdisable; then
12954 defaultval=yes
12955 else
12956 defaultval=no
12957 fi
12958 fi
12959
12960 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
12961 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
12962 # Check whether --enable-sash was given.
12963 if test "${enable_sash+set}" = set; then
12964 enableval=$enable_sash;
12965 if test "$enableval" = yes; then
12966 wx_cv_use_sash='wxUSE_SASH=yes'
12967 else
12968 wx_cv_use_sash='wxUSE_SASH=no'
12969 fi
12970 cache=yes
12971
12972 else
12973
12974 LINE=`grep "^wxUSE_SASH=" ${wx_arg_cache_file}`
12975 if test "x$LINE" != x ; then
12976 eval "DEFAULT_$LINE"
12977 cache=yes
12978 else
12979 cache=no
12980 fi
12981
12982 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
12983
12984 fi
12985
12986
12987 eval "$wx_cv_use_sash"
12988 if test "x$cache" = xyes; then
12989 echo "wxUSE_SASH=$wxUSE_SASH" >> ${wx_arg_cache_file}.tmp
12990 fi
12991
12992 if test x"$enablestring" = xdisable; then
12993 if test $wxUSE_SASH = yes; then
12994 result=no
12995 else
12996 result=yes
12997 fi
12998 else
12999 result=$wxUSE_SASH
13000 fi
13001
13002 { echo "$as_me:$LINENO: result: $result" >&5
13003 echo "${ECHO_T}$result" >&6; }
13004
13005
13006 enablestring=
13007 defaultval=$wxUSE_ALL_FEATURES
13008 if test -z "$defaultval"; then
13009 if test x"$enablestring" = xdisable; then
13010 defaultval=yes
13011 else
13012 defaultval=no
13013 fi
13014 fi
13015
13016 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
13017 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
13018 # Check whether --enable-scrollbar was given.
13019 if test "${enable_scrollbar+set}" = set; then
13020 enableval=$enable_scrollbar;
13021 if test "$enableval" = yes; then
13022 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
13023 else
13024 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
13025 fi
13026 cache=yes
13027
13028 else
13029
13030 LINE=`grep "^wxUSE_SCROLLBAR=" ${wx_arg_cache_file}`
13031 if test "x$LINE" != x ; then
13032 eval "DEFAULT_$LINE"
13033 cache=yes
13034 else
13035 cache=no
13036 fi
13037
13038 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
13039
13040 fi
13041
13042
13043 eval "$wx_cv_use_scrollbar"
13044 if test "x$cache" = xyes; then
13045 echo "wxUSE_SCROLLBAR=$wxUSE_SCROLLBAR" >> ${wx_arg_cache_file}.tmp
13046 fi
13047
13048 if test x"$enablestring" = xdisable; then
13049 if test $wxUSE_SCROLLBAR = yes; then
13050 result=no
13051 else
13052 result=yes
13053 fi
13054 else
13055 result=$wxUSE_SCROLLBAR
13056 fi
13057
13058 { echo "$as_me:$LINENO: result: $result" >&5
13059 echo "${ECHO_T}$result" >&6; }
13060
13061
13062 enablestring=
13063 defaultval=$wxUSE_ALL_FEATURES
13064 if test -z "$defaultval"; then
13065 if test x"$enablestring" = xdisable; then
13066 defaultval=yes
13067 else
13068 defaultval=no
13069 fi
13070 fi
13071
13072 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
13073 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
13074 # Check whether --enable-searchctrl was given.
13075 if test "${enable_searchctrl+set}" = set; then
13076 enableval=$enable_searchctrl;
13077 if test "$enableval" = yes; then
13078 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
13079 else
13080 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
13081 fi
13082 cache=yes
13083
13084 else
13085
13086 LINE=`grep "^wxUSE_SEARCHCTRL=" ${wx_arg_cache_file}`
13087 if test "x$LINE" != x ; then
13088 eval "DEFAULT_$LINE"
13089 cache=yes
13090 else
13091 cache=no
13092 fi
13093
13094 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
13095
13096 fi
13097
13098
13099 eval "$wx_cv_use_searchctrl"
13100 if test "x$cache" = xyes; then
13101 echo "wxUSE_SEARCHCTRL=$wxUSE_SEARCHCTRL" >> ${wx_arg_cache_file}.tmp
13102 fi
13103
13104 if test x"$enablestring" = xdisable; then
13105 if test $wxUSE_SEARCHCTRL = yes; then
13106 result=no
13107 else
13108 result=yes
13109 fi
13110 else
13111 result=$wxUSE_SEARCHCTRL
13112 fi
13113
13114 { echo "$as_me:$LINENO: result: $result" >&5
13115 echo "${ECHO_T}$result" >&6; }
13116
13117
13118 enablestring=
13119 defaultval=$wxUSE_ALL_FEATURES
13120 if test -z "$defaultval"; then
13121 if test x"$enablestring" = xdisable; then
13122 defaultval=yes
13123 else
13124 defaultval=no
13125 fi
13126 fi
13127
13128 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
13129 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
13130 # Check whether --enable-slider was given.
13131 if test "${enable_slider+set}" = set; then
13132 enableval=$enable_slider;
13133 if test "$enableval" = yes; then
13134 wx_cv_use_slider='wxUSE_SLIDER=yes'
13135 else
13136 wx_cv_use_slider='wxUSE_SLIDER=no'
13137 fi
13138 cache=yes
13139
13140 else
13141
13142 LINE=`grep "^wxUSE_SLIDER=" ${wx_arg_cache_file}`
13143 if test "x$LINE" != x ; then
13144 eval "DEFAULT_$LINE"
13145 cache=yes
13146 else
13147 cache=no
13148 fi
13149
13150 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
13151
13152 fi
13153
13154
13155 eval "$wx_cv_use_slider"
13156 if test "x$cache" = xyes; then
13157 echo "wxUSE_SLIDER=$wxUSE_SLIDER" >> ${wx_arg_cache_file}.tmp
13158 fi
13159
13160 if test x"$enablestring" = xdisable; then
13161 if test $wxUSE_SLIDER = yes; then
13162 result=no
13163 else
13164 result=yes
13165 fi
13166 else
13167 result=$wxUSE_SLIDER
13168 fi
13169
13170 { echo "$as_me:$LINENO: result: $result" >&5
13171 echo "${ECHO_T}$result" >&6; }
13172
13173
13174 enablestring=
13175 defaultval=$wxUSE_ALL_FEATURES
13176 if test -z "$defaultval"; then
13177 if test x"$enablestring" = xdisable; then
13178 defaultval=yes
13179 else
13180 defaultval=no
13181 fi
13182 fi
13183
13184 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
13185 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
13186 # Check whether --enable-spinbtn was given.
13187 if test "${enable_spinbtn+set}" = set; then
13188 enableval=$enable_spinbtn;
13189 if test "$enableval" = yes; then
13190 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
13191 else
13192 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
13193 fi
13194 cache=yes
13195
13196 else
13197
13198 LINE=`grep "^wxUSE_SPINBTN=" ${wx_arg_cache_file}`
13199 if test "x$LINE" != x ; then
13200 eval "DEFAULT_$LINE"
13201 cache=yes
13202 else
13203 cache=no
13204 fi
13205
13206 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
13207
13208 fi
13209
13210
13211 eval "$wx_cv_use_spinbtn"
13212 if test "x$cache" = xyes; then
13213 echo "wxUSE_SPINBTN=$wxUSE_SPINBTN" >> ${wx_arg_cache_file}.tmp
13214 fi
13215
13216 if test x"$enablestring" = xdisable; then
13217 if test $wxUSE_SPINBTN = yes; then
13218 result=no
13219 else
13220 result=yes
13221 fi
13222 else
13223 result=$wxUSE_SPINBTN
13224 fi
13225
13226 { echo "$as_me:$LINENO: result: $result" >&5
13227 echo "${ECHO_T}$result" >&6; }
13228
13229
13230 enablestring=
13231 defaultval=$wxUSE_ALL_FEATURES
13232 if test -z "$defaultval"; then
13233 if test x"$enablestring" = xdisable; then
13234 defaultval=yes
13235 else
13236 defaultval=no
13237 fi
13238 fi
13239
13240 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
13241 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
13242 # Check whether --enable-spinctrl was given.
13243 if test "${enable_spinctrl+set}" = set; then
13244 enableval=$enable_spinctrl;
13245 if test "$enableval" = yes; then
13246 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
13247 else
13248 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
13249 fi
13250 cache=yes
13251
13252 else
13253
13254 LINE=`grep "^wxUSE_SPINCTRL=" ${wx_arg_cache_file}`
13255 if test "x$LINE" != x ; then
13256 eval "DEFAULT_$LINE"
13257 cache=yes
13258 else
13259 cache=no
13260 fi
13261
13262 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
13263
13264 fi
13265
13266
13267 eval "$wx_cv_use_spinctrl"
13268 if test "x$cache" = xyes; then
13269 echo "wxUSE_SPINCTRL=$wxUSE_SPINCTRL" >> ${wx_arg_cache_file}.tmp
13270 fi
13271
13272 if test x"$enablestring" = xdisable; then
13273 if test $wxUSE_SPINCTRL = yes; then
13274 result=no
13275 else
13276 result=yes
13277 fi
13278 else
13279 result=$wxUSE_SPINCTRL
13280 fi
13281
13282 { echo "$as_me:$LINENO: result: $result" >&5
13283 echo "${ECHO_T}$result" >&6; }
13284
13285
13286 enablestring=
13287 defaultval=$wxUSE_ALL_FEATURES
13288 if test -z "$defaultval"; then
13289 if test x"$enablestring" = xdisable; then
13290 defaultval=yes
13291 else
13292 defaultval=no
13293 fi
13294 fi
13295
13296 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
13297 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
13298 # Check whether --enable-splitter was given.
13299 if test "${enable_splitter+set}" = set; then
13300 enableval=$enable_splitter;
13301 if test "$enableval" = yes; then
13302 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
13303 else
13304 wx_cv_use_splitter='wxUSE_SPLITTER=no'
13305 fi
13306 cache=yes
13307
13308 else
13309
13310 LINE=`grep "^wxUSE_SPLITTER=" ${wx_arg_cache_file}`
13311 if test "x$LINE" != x ; then
13312 eval "DEFAULT_$LINE"
13313 cache=yes
13314 else
13315 cache=no
13316 fi
13317
13318 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
13319
13320 fi
13321
13322
13323 eval "$wx_cv_use_splitter"
13324 if test "x$cache" = xyes; then
13325 echo "wxUSE_SPLITTER=$wxUSE_SPLITTER" >> ${wx_arg_cache_file}.tmp
13326 fi
13327
13328 if test x"$enablestring" = xdisable; then
13329 if test $wxUSE_SPLITTER = yes; then
13330 result=no
13331 else
13332 result=yes
13333 fi
13334 else
13335 result=$wxUSE_SPLITTER
13336 fi
13337
13338 { echo "$as_me:$LINENO: result: $result" >&5
13339 echo "${ECHO_T}$result" >&6; }
13340
13341
13342 enablestring=
13343 defaultval=$wxUSE_ALL_FEATURES
13344 if test -z "$defaultval"; then
13345 if test x"$enablestring" = xdisable; then
13346 defaultval=yes
13347 else
13348 defaultval=no
13349 fi
13350 fi
13351
13352 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
13353 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
13354 # Check whether --enable-statbmp was given.
13355 if test "${enable_statbmp+set}" = set; then
13356 enableval=$enable_statbmp;
13357 if test "$enableval" = yes; then
13358 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
13359 else
13360 wx_cv_use_statbmp='wxUSE_STATBMP=no'
13361 fi
13362 cache=yes
13363
13364 else
13365
13366 LINE=`grep "^wxUSE_STATBMP=" ${wx_arg_cache_file}`
13367 if test "x$LINE" != x ; then
13368 eval "DEFAULT_$LINE"
13369 cache=yes
13370 else
13371 cache=no
13372 fi
13373
13374 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
13375
13376 fi
13377
13378
13379 eval "$wx_cv_use_statbmp"
13380 if test "x$cache" = xyes; then
13381 echo "wxUSE_STATBMP=$wxUSE_STATBMP" >> ${wx_arg_cache_file}.tmp
13382 fi
13383
13384 if test x"$enablestring" = xdisable; then
13385 if test $wxUSE_STATBMP = yes; then
13386 result=no
13387 else
13388 result=yes
13389 fi
13390 else
13391 result=$wxUSE_STATBMP
13392 fi
13393
13394 { echo "$as_me:$LINENO: result: $result" >&5
13395 echo "${ECHO_T}$result" >&6; }
13396
13397
13398 enablestring=
13399 defaultval=$wxUSE_ALL_FEATURES
13400 if test -z "$defaultval"; then
13401 if test x"$enablestring" = xdisable; then
13402 defaultval=yes
13403 else
13404 defaultval=no
13405 fi
13406 fi
13407
13408 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
13409 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
13410 # Check whether --enable-statbox was given.
13411 if test "${enable_statbox+set}" = set; then
13412 enableval=$enable_statbox;
13413 if test "$enableval" = yes; then
13414 wx_cv_use_statbox='wxUSE_STATBOX=yes'
13415 else
13416 wx_cv_use_statbox='wxUSE_STATBOX=no'
13417 fi
13418 cache=yes
13419
13420 else
13421
13422 LINE=`grep "^wxUSE_STATBOX=" ${wx_arg_cache_file}`
13423 if test "x$LINE" != x ; then
13424 eval "DEFAULT_$LINE"
13425 cache=yes
13426 else
13427 cache=no
13428 fi
13429
13430 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
13431
13432 fi
13433
13434
13435 eval "$wx_cv_use_statbox"
13436 if test "x$cache" = xyes; then
13437 echo "wxUSE_STATBOX=$wxUSE_STATBOX" >> ${wx_arg_cache_file}.tmp
13438 fi
13439
13440 if test x"$enablestring" = xdisable; then
13441 if test $wxUSE_STATBOX = yes; then
13442 result=no
13443 else
13444 result=yes
13445 fi
13446 else
13447 result=$wxUSE_STATBOX
13448 fi
13449
13450 { echo "$as_me:$LINENO: result: $result" >&5
13451 echo "${ECHO_T}$result" >&6; }
13452
13453
13454 enablestring=
13455 defaultval=$wxUSE_ALL_FEATURES
13456 if test -z "$defaultval"; then
13457 if test x"$enablestring" = xdisable; then
13458 defaultval=yes
13459 else
13460 defaultval=no
13461 fi
13462 fi
13463
13464 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
13465 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
13466 # Check whether --enable-statline was given.
13467 if test "${enable_statline+set}" = set; then
13468 enableval=$enable_statline;
13469 if test "$enableval" = yes; then
13470 wx_cv_use_statline='wxUSE_STATLINE=yes'
13471 else
13472 wx_cv_use_statline='wxUSE_STATLINE=no'
13473 fi
13474 cache=yes
13475
13476 else
13477
13478 LINE=`grep "^wxUSE_STATLINE=" ${wx_arg_cache_file}`
13479 if test "x$LINE" != x ; then
13480 eval "DEFAULT_$LINE"
13481 cache=yes
13482 else
13483 cache=no
13484 fi
13485
13486 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
13487
13488 fi
13489
13490
13491 eval "$wx_cv_use_statline"
13492 if test "x$cache" = xyes; then
13493 echo "wxUSE_STATLINE=$wxUSE_STATLINE" >> ${wx_arg_cache_file}.tmp
13494 fi
13495
13496 if test x"$enablestring" = xdisable; then
13497 if test $wxUSE_STATLINE = yes; then
13498 result=no
13499 else
13500 result=yes
13501 fi
13502 else
13503 result=$wxUSE_STATLINE
13504 fi
13505
13506 { echo "$as_me:$LINENO: result: $result" >&5
13507 echo "${ECHO_T}$result" >&6; }
13508
13509
13510 enablestring=
13511 defaultval=$wxUSE_ALL_FEATURES
13512 if test -z "$defaultval"; then
13513 if test x"$enablestring" = xdisable; then
13514 defaultval=yes
13515 else
13516 defaultval=no
13517 fi
13518 fi
13519
13520 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
13521 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
13522 # Check whether --enable-stattext was given.
13523 if test "${enable_stattext+set}" = set; then
13524 enableval=$enable_stattext;
13525 if test "$enableval" = yes; then
13526 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
13527 else
13528 wx_cv_use_stattext='wxUSE_STATTEXT=no'
13529 fi
13530 cache=yes
13531
13532 else
13533
13534 LINE=`grep "^wxUSE_STATTEXT=" ${wx_arg_cache_file}`
13535 if test "x$LINE" != x ; then
13536 eval "DEFAULT_$LINE"
13537 cache=yes
13538 else
13539 cache=no
13540 fi
13541
13542 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
13543
13544 fi
13545
13546
13547 eval "$wx_cv_use_stattext"
13548 if test "x$cache" = xyes; then
13549 echo "wxUSE_STATTEXT=$wxUSE_STATTEXT" >> ${wx_arg_cache_file}.tmp
13550 fi
13551
13552 if test x"$enablestring" = xdisable; then
13553 if test $wxUSE_STATTEXT = yes; then
13554 result=no
13555 else
13556 result=yes
13557 fi
13558 else
13559 result=$wxUSE_STATTEXT
13560 fi
13561
13562 { echo "$as_me:$LINENO: result: $result" >&5
13563 echo "${ECHO_T}$result" >&6; }
13564
13565
13566 enablestring=
13567 defaultval=$wxUSE_ALL_FEATURES
13568 if test -z "$defaultval"; then
13569 if test x"$enablestring" = xdisable; then
13570 defaultval=yes
13571 else
13572 defaultval=no
13573 fi
13574 fi
13575
13576 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
13577 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
13578 # Check whether --enable-statusbar was given.
13579 if test "${enable_statusbar+set}" = set; then
13580 enableval=$enable_statusbar;
13581 if test "$enableval" = yes; then
13582 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
13583 else
13584 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
13585 fi
13586 cache=yes
13587
13588 else
13589
13590 LINE=`grep "^wxUSE_STATUSBAR=" ${wx_arg_cache_file}`
13591 if test "x$LINE" != x ; then
13592 eval "DEFAULT_$LINE"
13593 cache=yes
13594 else
13595 cache=no
13596 fi
13597
13598 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
13599
13600 fi
13601
13602
13603 eval "$wx_cv_use_statusbar"
13604 if test "x$cache" = xyes; then
13605 echo "wxUSE_STATUSBAR=$wxUSE_STATUSBAR" >> ${wx_arg_cache_file}.tmp
13606 fi
13607
13608 if test x"$enablestring" = xdisable; then
13609 if test $wxUSE_STATUSBAR = yes; then
13610 result=no
13611 else
13612 result=yes
13613 fi
13614 else
13615 result=$wxUSE_STATUSBAR
13616 fi
13617
13618 { echo "$as_me:$LINENO: result: $result" >&5
13619 echo "${ECHO_T}$result" >&6; }
13620
13621
13622 enablestring=
13623 defaultval=$wxUSE_ALL_FEATURES
13624 if test -z "$defaultval"; then
13625 if test x"$enablestring" = xdisable; then
13626 defaultval=yes
13627 else
13628 defaultval=no
13629 fi
13630 fi
13631
13632 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
13633 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6; }
13634 # Check whether --enable-tabdialog was given.
13635 if test "${enable_tabdialog+set}" = set; then
13636 enableval=$enable_tabdialog;
13637 if test "$enableval" = yes; then
13638 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
13639 else
13640 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
13641 fi
13642 cache=yes
13643
13644 else
13645
13646 LINE=`grep "^wxUSE_TAB_DIALOG=" ${wx_arg_cache_file}`
13647 if test "x$LINE" != x ; then
13648 eval "DEFAULT_$LINE"
13649 cache=yes
13650 else
13651 cache=no
13652 fi
13653
13654 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=${'DEFAULT_wxUSE_TAB_DIALOG":-$defaultval}"
13655
13656 fi
13657
13658
13659 eval "$wx_cv_use_tabdialog"
13660 if test "x$cache" = xyes; then
13661 echo "wxUSE_TAB_DIALOG=$wxUSE_TAB_DIALOG" >> ${wx_arg_cache_file}.tmp
13662 fi
13663
13664 if test x"$enablestring" = xdisable; then
13665 if test $wxUSE_TAB_DIALOG = yes; then
13666 result=no
13667 else
13668 result=yes
13669 fi
13670 else
13671 result=$wxUSE_TAB_DIALOG
13672 fi
13673
13674 { echo "$as_me:$LINENO: result: $result" >&5
13675 echo "${ECHO_T}$result" >&6; }
13676
13677
13678 enablestring=
13679 defaultval=$wxUSE_ALL_FEATURES
13680 if test -z "$defaultval"; then
13681 if test x"$enablestring" = xdisable; then
13682 defaultval=yes
13683 else
13684 defaultval=no
13685 fi
13686 fi
13687
13688 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
13689 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
13690 # Check whether --enable-taskbaricon was given.
13691 if test "${enable_taskbaricon+set}" = set; then
13692 enableval=$enable_taskbaricon;
13693 if test "$enableval" = yes; then
13694 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
13695 else
13696 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
13697 fi
13698 cache=yes
13699
13700 else
13701
13702 LINE=`grep "^wxUSE_TASKBARICON=" ${wx_arg_cache_file}`
13703 if test "x$LINE" != x ; then
13704 eval "DEFAULT_$LINE"
13705 cache=yes
13706 else
13707 cache=no
13708 fi
13709
13710 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
13711
13712 fi
13713
13714
13715 eval "$wx_cv_use_taskbaricon"
13716 if test "x$cache" = xyes; then
13717 echo "wxUSE_TASKBARICON=$wxUSE_TASKBARICON" >> ${wx_arg_cache_file}.tmp
13718 fi
13719
13720 if test x"$enablestring" = xdisable; then
13721 if test $wxUSE_TASKBARICON = yes; then
13722 result=no
13723 else
13724 result=yes
13725 fi
13726 else
13727 result=$wxUSE_TASKBARICON
13728 fi
13729
13730 { echo "$as_me:$LINENO: result: $result" >&5
13731 echo "${ECHO_T}$result" >&6; }
13732
13733
13734 enablestring=
13735 defaultval=$wxUSE_ALL_FEATURES
13736 if test -z "$defaultval"; then
13737 if test x"$enablestring" = xdisable; then
13738 defaultval=yes
13739 else
13740 defaultval=no
13741 fi
13742 fi
13743
13744 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
13745 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
13746 # Check whether --enable-textctrl was given.
13747 if test "${enable_textctrl+set}" = set; then
13748 enableval=$enable_textctrl;
13749 if test "$enableval" = yes; then
13750 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
13751 else
13752 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
13753 fi
13754 cache=yes
13755
13756 else
13757
13758 LINE=`grep "^wxUSE_TEXTCTRL=" ${wx_arg_cache_file}`
13759 if test "x$LINE" != x ; then
13760 eval "DEFAULT_$LINE"
13761 cache=yes
13762 else
13763 cache=no
13764 fi
13765
13766 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
13767
13768 fi
13769
13770
13771 eval "$wx_cv_use_textctrl"
13772 if test "x$cache" = xyes; then
13773 echo "wxUSE_TEXTCTRL=$wxUSE_TEXTCTRL" >> ${wx_arg_cache_file}.tmp
13774 fi
13775
13776 if test x"$enablestring" = xdisable; then
13777 if test $wxUSE_TEXTCTRL = yes; then
13778 result=no
13779 else
13780 result=yes
13781 fi
13782 else
13783 result=$wxUSE_TEXTCTRL
13784 fi
13785
13786 { echo "$as_me:$LINENO: result: $result" >&5
13787 echo "${ECHO_T}$result" >&6; }
13788
13789
13790 enablestring=
13791 defaultval=$wxUSE_ALL_FEATURES
13792 if test -z "$defaultval"; then
13793 if test x"$enablestring" = xdisable; then
13794 defaultval=yes
13795 else
13796 defaultval=no
13797 fi
13798 fi
13799
13800 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
13801 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
13802 # Check whether --enable-togglebtn was given.
13803 if test "${enable_togglebtn+set}" = set; then
13804 enableval=$enable_togglebtn;
13805 if test "$enableval" = yes; then
13806 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
13807 else
13808 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
13809 fi
13810 cache=yes
13811
13812 else
13813
13814 LINE=`grep "^wxUSE_TOGGLEBTN=" ${wx_arg_cache_file}`
13815 if test "x$LINE" != x ; then
13816 eval "DEFAULT_$LINE"
13817 cache=yes
13818 else
13819 cache=no
13820 fi
13821
13822 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
13823
13824 fi
13825
13826
13827 eval "$wx_cv_use_togglebtn"
13828 if test "x$cache" = xyes; then
13829 echo "wxUSE_TOGGLEBTN=$wxUSE_TOGGLEBTN" >> ${wx_arg_cache_file}.tmp
13830 fi
13831
13832 if test x"$enablestring" = xdisable; then
13833 if test $wxUSE_TOGGLEBTN = yes; then
13834 result=no
13835 else
13836 result=yes
13837 fi
13838 else
13839 result=$wxUSE_TOGGLEBTN
13840 fi
13841
13842 { echo "$as_me:$LINENO: result: $result" >&5
13843 echo "${ECHO_T}$result" >&6; }
13844
13845
13846 enablestring=
13847 defaultval=$wxUSE_ALL_FEATURES
13848 if test -z "$defaultval"; then
13849 if test x"$enablestring" = xdisable; then
13850 defaultval=yes
13851 else
13852 defaultval=no
13853 fi
13854 fi
13855
13856 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
13857 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
13858 # Check whether --enable-toolbar was given.
13859 if test "${enable_toolbar+set}" = set; then
13860 enableval=$enable_toolbar;
13861 if test "$enableval" = yes; then
13862 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
13863 else
13864 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
13865 fi
13866 cache=yes
13867
13868 else
13869
13870 LINE=`grep "^wxUSE_TOOLBAR=" ${wx_arg_cache_file}`
13871 if test "x$LINE" != x ; then
13872 eval "DEFAULT_$LINE"
13873 cache=yes
13874 else
13875 cache=no
13876 fi
13877
13878 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
13879
13880 fi
13881
13882
13883 eval "$wx_cv_use_toolbar"
13884 if test "x$cache" = xyes; then
13885 echo "wxUSE_TOOLBAR=$wxUSE_TOOLBAR" >> ${wx_arg_cache_file}.tmp
13886 fi
13887
13888 if test x"$enablestring" = xdisable; then
13889 if test $wxUSE_TOOLBAR = yes; then
13890 result=no
13891 else
13892 result=yes
13893 fi
13894 else
13895 result=$wxUSE_TOOLBAR
13896 fi
13897
13898 { echo "$as_me:$LINENO: result: $result" >&5
13899 echo "${ECHO_T}$result" >&6; }
13900
13901
13902 enablestring=
13903 defaultval=$wxUSE_ALL_FEATURES
13904 if test -z "$defaultval"; then
13905 if test x"$enablestring" = xdisable; then
13906 defaultval=yes
13907 else
13908 defaultval=no
13909 fi
13910 fi
13911
13912 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
13913 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
13914 # Check whether --enable-tbarnative was given.
13915 if test "${enable_tbarnative+set}" = set; then
13916 enableval=$enable_tbarnative;
13917 if test "$enableval" = yes; then
13918 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
13919 else
13920 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
13921 fi
13922 cache=yes
13923
13924 else
13925
13926 LINE=`grep "^wxUSE_TOOLBAR_NATIVE=" ${wx_arg_cache_file}`
13927 if test "x$LINE" != x ; then
13928 eval "DEFAULT_$LINE"
13929 cache=yes
13930 else
13931 cache=no
13932 fi
13933
13934 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
13935
13936 fi
13937
13938
13939 eval "$wx_cv_use_tbarnative"
13940 if test "x$cache" = xyes; then
13941 echo "wxUSE_TOOLBAR_NATIVE=$wxUSE_TOOLBAR_NATIVE" >> ${wx_arg_cache_file}.tmp
13942 fi
13943
13944 if test x"$enablestring" = xdisable; then
13945 if test $wxUSE_TOOLBAR_NATIVE = yes; then
13946 result=no
13947 else
13948 result=yes
13949 fi
13950 else
13951 result=$wxUSE_TOOLBAR_NATIVE
13952 fi
13953
13954 { echo "$as_me:$LINENO: result: $result" >&5
13955 echo "${ECHO_T}$result" >&6; }
13956
13957
13958 enablestring=
13959 defaultval=$wxUSE_ALL_FEATURES
13960 if test -z "$defaultval"; then
13961 if test x"$enablestring" = xdisable; then
13962 defaultval=yes
13963 else
13964 defaultval=no
13965 fi
13966 fi
13967
13968 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
13969 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
13970 # Check whether --enable-treebook was given.
13971 if test "${enable_treebook+set}" = set; then
13972 enableval=$enable_treebook;
13973 if test "$enableval" = yes; then
13974 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
13975 else
13976 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
13977 fi
13978 cache=yes
13979
13980 else
13981
13982 LINE=`grep "^wxUSE_TREEBOOK=" ${wx_arg_cache_file}`
13983 if test "x$LINE" != x ; then
13984 eval "DEFAULT_$LINE"
13985 cache=yes
13986 else
13987 cache=no
13988 fi
13989
13990 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
13991
13992 fi
13993
13994
13995 eval "$wx_cv_use_treebook"
13996 if test "x$cache" = xyes; then
13997 echo "wxUSE_TREEBOOK=$wxUSE_TREEBOOK" >> ${wx_arg_cache_file}.tmp
13998 fi
13999
14000 if test x"$enablestring" = xdisable; then
14001 if test $wxUSE_TREEBOOK = yes; then
14002 result=no
14003 else
14004 result=yes
14005 fi
14006 else
14007 result=$wxUSE_TREEBOOK
14008 fi
14009
14010 { echo "$as_me:$LINENO: result: $result" >&5
14011 echo "${ECHO_T}$result" >&6; }
14012
14013
14014 enablestring=
14015 defaultval=$wxUSE_ALL_FEATURES
14016 if test -z "$defaultval"; then
14017 if test x"$enablestring" = xdisable; then
14018 defaultval=yes
14019 else
14020 defaultval=no
14021 fi
14022 fi
14023
14024 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
14025 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
14026 # Check whether --enable-toolbook was given.
14027 if test "${enable_toolbook+set}" = set; then
14028 enableval=$enable_toolbook;
14029 if test "$enableval" = yes; then
14030 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
14031 else
14032 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
14033 fi
14034 cache=yes
14035
14036 else
14037
14038 LINE=`grep "^wxUSE_TOOLBOOK=" ${wx_arg_cache_file}`
14039 if test "x$LINE" != x ; then
14040 eval "DEFAULT_$LINE"
14041 cache=yes
14042 else
14043 cache=no
14044 fi
14045
14046 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
14047
14048 fi
14049
14050
14051 eval "$wx_cv_use_toolbook"
14052 if test "x$cache" = xyes; then
14053 echo "wxUSE_TOOLBOOK=$wxUSE_TOOLBOOK" >> ${wx_arg_cache_file}.tmp
14054 fi
14055
14056 if test x"$enablestring" = xdisable; then
14057 if test $wxUSE_TOOLBOOK = yes; then
14058 result=no
14059 else
14060 result=yes
14061 fi
14062 else
14063 result=$wxUSE_TOOLBOOK
14064 fi
14065
14066 { echo "$as_me:$LINENO: result: $result" >&5
14067 echo "${ECHO_T}$result" >&6; }
14068
14069
14070 enablestring=
14071 defaultval=$wxUSE_ALL_FEATURES
14072 if test -z "$defaultval"; then
14073 if test x"$enablestring" = xdisable; then
14074 defaultval=yes
14075 else
14076 defaultval=no
14077 fi
14078 fi
14079
14080 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
14081 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
14082 # Check whether --enable-treectrl was given.
14083 if test "${enable_treectrl+set}" = set; then
14084 enableval=$enable_treectrl;
14085 if test "$enableval" = yes; then
14086 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
14087 else
14088 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
14089 fi
14090 cache=yes
14091
14092 else
14093
14094 LINE=`grep "^wxUSE_TREECTRL=" ${wx_arg_cache_file}`
14095 if test "x$LINE" != x ; then
14096 eval "DEFAULT_$LINE"
14097 cache=yes
14098 else
14099 cache=no
14100 fi
14101
14102 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
14103
14104 fi
14105
14106
14107 eval "$wx_cv_use_treectrl"
14108 if test "x$cache" = xyes; then
14109 echo "wxUSE_TREECTRL=$wxUSE_TREECTRL" >> ${wx_arg_cache_file}.tmp
14110 fi
14111
14112 if test x"$enablestring" = xdisable; then
14113 if test $wxUSE_TREECTRL = yes; then
14114 result=no
14115 else
14116 result=yes
14117 fi
14118 else
14119 result=$wxUSE_TREECTRL
14120 fi
14121
14122 { echo "$as_me:$LINENO: result: $result" >&5
14123 echo "${ECHO_T}$result" >&6; }
14124
14125
14126 enablestring=
14127 defaultval=$wxUSE_ALL_FEATURES
14128 if test -z "$defaultval"; then
14129 if test x"$enablestring" = xdisable; then
14130 defaultval=yes
14131 else
14132 defaultval=no
14133 fi
14134 fi
14135
14136 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
14137 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
14138 # Check whether --enable-tipwindow was given.
14139 if test "${enable_tipwindow+set}" = set; then
14140 enableval=$enable_tipwindow;
14141 if test "$enableval" = yes; then
14142 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
14143 else
14144 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
14145 fi
14146 cache=yes
14147
14148 else
14149
14150 LINE=`grep "^wxUSE_TIPWINDOW=" ${wx_arg_cache_file}`
14151 if test "x$LINE" != x ; then
14152 eval "DEFAULT_$LINE"
14153 cache=yes
14154 else
14155 cache=no
14156 fi
14157
14158 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
14159
14160 fi
14161
14162
14163 eval "$wx_cv_use_tipwindow"
14164 if test "x$cache" = xyes; then
14165 echo "wxUSE_TIPWINDOW=$wxUSE_TIPWINDOW" >> ${wx_arg_cache_file}.tmp
14166 fi
14167
14168 if test x"$enablestring" = xdisable; then
14169 if test $wxUSE_TIPWINDOW = yes; then
14170 result=no
14171 else
14172 result=yes
14173 fi
14174 else
14175 result=$wxUSE_TIPWINDOW
14176 fi
14177
14178 { echo "$as_me:$LINENO: result: $result" >&5
14179 echo "${ECHO_T}$result" >&6; }
14180
14181
14182 enablestring=
14183 defaultval=$wxUSE_ALL_FEATURES
14184 if test -z "$defaultval"; then
14185 if test x"$enablestring" = xdisable; then
14186 defaultval=yes
14187 else
14188 defaultval=no
14189 fi
14190 fi
14191
14192 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
14193 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
14194 # Check whether --enable-popupwin was given.
14195 if test "${enable_popupwin+set}" = set; then
14196 enableval=$enable_popupwin;
14197 if test "$enableval" = yes; then
14198 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
14199 else
14200 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
14201 fi
14202 cache=yes
14203
14204 else
14205
14206 LINE=`grep "^wxUSE_POPUPWIN=" ${wx_arg_cache_file}`
14207 if test "x$LINE" != x ; then
14208 eval "DEFAULT_$LINE"
14209 cache=yes
14210 else
14211 cache=no
14212 fi
14213
14214 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
14215
14216 fi
14217
14218
14219 eval "$wx_cv_use_popupwin"
14220 if test "x$cache" = xyes; then
14221 echo "wxUSE_POPUPWIN=$wxUSE_POPUPWIN" >> ${wx_arg_cache_file}.tmp
14222 fi
14223
14224 if test x"$enablestring" = xdisable; then
14225 if test $wxUSE_POPUPWIN = yes; then
14226 result=no
14227 else
14228 result=yes
14229 fi
14230 else
14231 result=$wxUSE_POPUPWIN
14232 fi
14233
14234 { echo "$as_me:$LINENO: result: $result" >&5
14235 echo "${ECHO_T}$result" >&6; }
14236
14237
14238
14239
14240 enablestring=
14241 defaultval=$wxUSE_ALL_FEATURES
14242 if test -z "$defaultval"; then
14243 if test x"$enablestring" = xdisable; then
14244 defaultval=yes
14245 else
14246 defaultval=no
14247 fi
14248 fi
14249
14250 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
14251 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
14252 # Check whether --enable-commondlg was given.
14253 if test "${enable_commondlg+set}" = set; then
14254 enableval=$enable_commondlg;
14255 if test "$enableval" = yes; then
14256 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
14257 else
14258 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
14259 fi
14260 cache=yes
14261
14262 else
14263
14264 LINE=`grep "^wxUSE_COMMONDLGS=" ${wx_arg_cache_file}`
14265 if test "x$LINE" != x ; then
14266 eval "DEFAULT_$LINE"
14267 cache=yes
14268 else
14269 cache=no
14270 fi
14271
14272 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
14273
14274 fi
14275
14276
14277 eval "$wx_cv_use_commondlg"
14278 if test "x$cache" = xyes; then
14279 echo "wxUSE_COMMONDLGS=$wxUSE_COMMONDLGS" >> ${wx_arg_cache_file}.tmp
14280 fi
14281
14282 if test x"$enablestring" = xdisable; then
14283 if test $wxUSE_COMMONDLGS = yes; then
14284 result=no
14285 else
14286 result=yes
14287 fi
14288 else
14289 result=$wxUSE_COMMONDLGS
14290 fi
14291
14292 { echo "$as_me:$LINENO: result: $result" >&5
14293 echo "${ECHO_T}$result" >&6; }
14294
14295
14296 enablestring=
14297 defaultval=$wxUSE_ALL_FEATURES
14298 if test -z "$defaultval"; then
14299 if test x"$enablestring" = xdisable; then
14300 defaultval=yes
14301 else
14302 defaultval=no
14303 fi
14304 fi
14305
14306 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
14307 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
14308 # Check whether --enable-aboutdlg was given.
14309 if test "${enable_aboutdlg+set}" = set; then
14310 enableval=$enable_aboutdlg;
14311 if test "$enableval" = yes; then
14312 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
14313 else
14314 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
14315 fi
14316 cache=yes
14317
14318 else
14319
14320 LINE=`grep "^wxUSE_ABOUTDLG=" ${wx_arg_cache_file}`
14321 if test "x$LINE" != x ; then
14322 eval "DEFAULT_$LINE"
14323 cache=yes
14324 else
14325 cache=no
14326 fi
14327
14328 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
14329
14330 fi
14331
14332
14333 eval "$wx_cv_use_aboutdlg"
14334 if test "x$cache" = xyes; then
14335 echo "wxUSE_ABOUTDLG=$wxUSE_ABOUTDLG" >> ${wx_arg_cache_file}.tmp
14336 fi
14337
14338 if test x"$enablestring" = xdisable; then
14339 if test $wxUSE_ABOUTDLG = yes; then
14340 result=no
14341 else
14342 result=yes
14343 fi
14344 else
14345 result=$wxUSE_ABOUTDLG
14346 fi
14347
14348 { echo "$as_me:$LINENO: result: $result" >&5
14349 echo "${ECHO_T}$result" >&6; }
14350
14351
14352 enablestring=
14353 defaultval=$wxUSE_ALL_FEATURES
14354 if test -z "$defaultval"; then
14355 if test x"$enablestring" = xdisable; then
14356 defaultval=yes
14357 else
14358 defaultval=no
14359 fi
14360 fi
14361
14362 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
14363 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
14364 # Check whether --enable-choicedlg was given.
14365 if test "${enable_choicedlg+set}" = set; then
14366 enableval=$enable_choicedlg;
14367 if test "$enableval" = yes; then
14368 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
14369 else
14370 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
14371 fi
14372 cache=yes
14373
14374 else
14375
14376 LINE=`grep "^wxUSE_CHOICEDLG=" ${wx_arg_cache_file}`
14377 if test "x$LINE" != x ; then
14378 eval "DEFAULT_$LINE"
14379 cache=yes
14380 else
14381 cache=no
14382 fi
14383
14384 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
14385
14386 fi
14387
14388
14389 eval "$wx_cv_use_choicedlg"
14390 if test "x$cache" = xyes; then
14391 echo "wxUSE_CHOICEDLG=$wxUSE_CHOICEDLG" >> ${wx_arg_cache_file}.tmp
14392 fi
14393
14394 if test x"$enablestring" = xdisable; then
14395 if test $wxUSE_CHOICEDLG = yes; then
14396 result=no
14397 else
14398 result=yes
14399 fi
14400 else
14401 result=$wxUSE_CHOICEDLG
14402 fi
14403
14404 { echo "$as_me:$LINENO: result: $result" >&5
14405 echo "${ECHO_T}$result" >&6; }
14406
14407
14408 enablestring=
14409 defaultval=$wxUSE_ALL_FEATURES
14410 if test -z "$defaultval"; then
14411 if test x"$enablestring" = xdisable; then
14412 defaultval=yes
14413 else
14414 defaultval=no
14415 fi
14416 fi
14417
14418 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
14419 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
14420 # Check whether --enable-coldlg was given.
14421 if test "${enable_coldlg+set}" = set; then
14422 enableval=$enable_coldlg;
14423 if test "$enableval" = yes; then
14424 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
14425 else
14426 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
14427 fi
14428 cache=yes
14429
14430 else
14431
14432 LINE=`grep "^wxUSE_COLOURDLG=" ${wx_arg_cache_file}`
14433 if test "x$LINE" != x ; then
14434 eval "DEFAULT_$LINE"
14435 cache=yes
14436 else
14437 cache=no
14438 fi
14439
14440 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
14441
14442 fi
14443
14444
14445 eval "$wx_cv_use_coldlg"
14446 if test "x$cache" = xyes; then
14447 echo "wxUSE_COLOURDLG=$wxUSE_COLOURDLG" >> ${wx_arg_cache_file}.tmp
14448 fi
14449
14450 if test x"$enablestring" = xdisable; then
14451 if test $wxUSE_COLOURDLG = yes; then
14452 result=no
14453 else
14454 result=yes
14455 fi
14456 else
14457 result=$wxUSE_COLOURDLG
14458 fi
14459
14460 { echo "$as_me:$LINENO: result: $result" >&5
14461 echo "${ECHO_T}$result" >&6; }
14462
14463
14464 enablestring=
14465 defaultval=$wxUSE_ALL_FEATURES
14466 if test -z "$defaultval"; then
14467 if test x"$enablestring" = xdisable; then
14468 defaultval=yes
14469 else
14470 defaultval=no
14471 fi
14472 fi
14473
14474 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
14475 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
14476 # Check whether --enable-filedlg was given.
14477 if test "${enable_filedlg+set}" = set; then
14478 enableval=$enable_filedlg;
14479 if test "$enableval" = yes; then
14480 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
14481 else
14482 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
14483 fi
14484 cache=yes
14485
14486 else
14487
14488 LINE=`grep "^wxUSE_FILEDLG=" ${wx_arg_cache_file}`
14489 if test "x$LINE" != x ; then
14490 eval "DEFAULT_$LINE"
14491 cache=yes
14492 else
14493 cache=no
14494 fi
14495
14496 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
14497
14498 fi
14499
14500
14501 eval "$wx_cv_use_filedlg"
14502 if test "x$cache" = xyes; then
14503 echo "wxUSE_FILEDLG=$wxUSE_FILEDLG" >> ${wx_arg_cache_file}.tmp
14504 fi
14505
14506 if test x"$enablestring" = xdisable; then
14507 if test $wxUSE_FILEDLG = yes; then
14508 result=no
14509 else
14510 result=yes
14511 fi
14512 else
14513 result=$wxUSE_FILEDLG
14514 fi
14515
14516 { echo "$as_me:$LINENO: result: $result" >&5
14517 echo "${ECHO_T}$result" >&6; }
14518
14519
14520 enablestring=
14521 defaultval=$wxUSE_ALL_FEATURES
14522 if test -z "$defaultval"; then
14523 if test x"$enablestring" = xdisable; then
14524 defaultval=yes
14525 else
14526 defaultval=no
14527 fi
14528 fi
14529
14530 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
14531 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
14532 # Check whether --enable-finddlg was given.
14533 if test "${enable_finddlg+set}" = set; then
14534 enableval=$enable_finddlg;
14535 if test "$enableval" = yes; then
14536 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
14537 else
14538 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
14539 fi
14540 cache=yes
14541
14542 else
14543
14544 LINE=`grep "^wxUSE_FINDREPLDLG=" ${wx_arg_cache_file}`
14545 if test "x$LINE" != x ; then
14546 eval "DEFAULT_$LINE"
14547 cache=yes
14548 else
14549 cache=no
14550 fi
14551
14552 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
14553
14554 fi
14555
14556
14557 eval "$wx_cv_use_finddlg"
14558 if test "x$cache" = xyes; then
14559 echo "wxUSE_FINDREPLDLG=$wxUSE_FINDREPLDLG" >> ${wx_arg_cache_file}.tmp
14560 fi
14561
14562 if test x"$enablestring" = xdisable; then
14563 if test $wxUSE_FINDREPLDLG = yes; then
14564 result=no
14565 else
14566 result=yes
14567 fi
14568 else
14569 result=$wxUSE_FINDREPLDLG
14570 fi
14571
14572 { echo "$as_me:$LINENO: result: $result" >&5
14573 echo "${ECHO_T}$result" >&6; }
14574
14575
14576 enablestring=
14577 defaultval=$wxUSE_ALL_FEATURES
14578 if test -z "$defaultval"; then
14579 if test x"$enablestring" = xdisable; then
14580 defaultval=yes
14581 else
14582 defaultval=no
14583 fi
14584 fi
14585
14586 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
14587 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
14588 # Check whether --enable-fontdlg was given.
14589 if test "${enable_fontdlg+set}" = set; then
14590 enableval=$enable_fontdlg;
14591 if test "$enableval" = yes; then
14592 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
14593 else
14594 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
14595 fi
14596 cache=yes
14597
14598 else
14599
14600 LINE=`grep "^wxUSE_FONTDLG=" ${wx_arg_cache_file}`
14601 if test "x$LINE" != x ; then
14602 eval "DEFAULT_$LINE"
14603 cache=yes
14604 else
14605 cache=no
14606 fi
14607
14608 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
14609
14610 fi
14611
14612
14613 eval "$wx_cv_use_fontdlg"
14614 if test "x$cache" = xyes; then
14615 echo "wxUSE_FONTDLG=$wxUSE_FONTDLG" >> ${wx_arg_cache_file}.tmp
14616 fi
14617
14618 if test x"$enablestring" = xdisable; then
14619 if test $wxUSE_FONTDLG = yes; then
14620 result=no
14621 else
14622 result=yes
14623 fi
14624 else
14625 result=$wxUSE_FONTDLG
14626 fi
14627
14628 { echo "$as_me:$LINENO: result: $result" >&5
14629 echo "${ECHO_T}$result" >&6; }
14630
14631
14632 enablestring=
14633 defaultval=$wxUSE_ALL_FEATURES
14634 if test -z "$defaultval"; then
14635 if test x"$enablestring" = xdisable; then
14636 defaultval=yes
14637 else
14638 defaultval=no
14639 fi
14640 fi
14641
14642 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
14643 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
14644 # Check whether --enable-dirdlg was given.
14645 if test "${enable_dirdlg+set}" = set; then
14646 enableval=$enable_dirdlg;
14647 if test "$enableval" = yes; then
14648 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
14649 else
14650 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
14651 fi
14652 cache=yes
14653
14654 else
14655
14656 LINE=`grep "^wxUSE_DIRDLG=" ${wx_arg_cache_file}`
14657 if test "x$LINE" != x ; then
14658 eval "DEFAULT_$LINE"
14659 cache=yes
14660 else
14661 cache=no
14662 fi
14663
14664 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
14665
14666 fi
14667
14668
14669 eval "$wx_cv_use_dirdlg"
14670 if test "x$cache" = xyes; then
14671 echo "wxUSE_DIRDLG=$wxUSE_DIRDLG" >> ${wx_arg_cache_file}.tmp
14672 fi
14673
14674 if test x"$enablestring" = xdisable; then
14675 if test $wxUSE_DIRDLG = yes; then
14676 result=no
14677 else
14678 result=yes
14679 fi
14680 else
14681 result=$wxUSE_DIRDLG
14682 fi
14683
14684 { echo "$as_me:$LINENO: result: $result" >&5
14685 echo "${ECHO_T}$result" >&6; }
14686
14687
14688 enablestring=
14689 defaultval=$wxUSE_ALL_FEATURES
14690 if test -z "$defaultval"; then
14691 if test x"$enablestring" = xdisable; then
14692 defaultval=yes
14693 else
14694 defaultval=no
14695 fi
14696 fi
14697
14698 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
14699 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
14700 # Check whether --enable-msgdlg was given.
14701 if test "${enable_msgdlg+set}" = set; then
14702 enableval=$enable_msgdlg;
14703 if test "$enableval" = yes; then
14704 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
14705 else
14706 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
14707 fi
14708 cache=yes
14709
14710 else
14711
14712 LINE=`grep "^wxUSE_MSGDLG=" ${wx_arg_cache_file}`
14713 if test "x$LINE" != x ; then
14714 eval "DEFAULT_$LINE"
14715 cache=yes
14716 else
14717 cache=no
14718 fi
14719
14720 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
14721
14722 fi
14723
14724
14725 eval "$wx_cv_use_msgdlg"
14726 if test "x$cache" = xyes; then
14727 echo "wxUSE_MSGDLG=$wxUSE_MSGDLG" >> ${wx_arg_cache_file}.tmp
14728 fi
14729
14730 if test x"$enablestring" = xdisable; then
14731 if test $wxUSE_MSGDLG = yes; then
14732 result=no
14733 else
14734 result=yes
14735 fi
14736 else
14737 result=$wxUSE_MSGDLG
14738 fi
14739
14740 { echo "$as_me:$LINENO: result: $result" >&5
14741 echo "${ECHO_T}$result" >&6; }
14742
14743
14744 enablestring=
14745 defaultval=$wxUSE_ALL_FEATURES
14746 if test -z "$defaultval"; then
14747 if test x"$enablestring" = xdisable; then
14748 defaultval=yes
14749 else
14750 defaultval=no
14751 fi
14752 fi
14753
14754 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
14755 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
14756 # Check whether --enable-numberdlg was given.
14757 if test "${enable_numberdlg+set}" = set; then
14758 enableval=$enable_numberdlg;
14759 if test "$enableval" = yes; then
14760 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
14761 else
14762 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
14763 fi
14764 cache=yes
14765
14766 else
14767
14768 LINE=`grep "^wxUSE_NUMBERDLG=" ${wx_arg_cache_file}`
14769 if test "x$LINE" != x ; then
14770 eval "DEFAULT_$LINE"
14771 cache=yes
14772 else
14773 cache=no
14774 fi
14775
14776 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
14777
14778 fi
14779
14780
14781 eval "$wx_cv_use_numberdlg"
14782 if test "x$cache" = xyes; then
14783 echo "wxUSE_NUMBERDLG=$wxUSE_NUMBERDLG" >> ${wx_arg_cache_file}.tmp
14784 fi
14785
14786 if test x"$enablestring" = xdisable; then
14787 if test $wxUSE_NUMBERDLG = yes; then
14788 result=no
14789 else
14790 result=yes
14791 fi
14792 else
14793 result=$wxUSE_NUMBERDLG
14794 fi
14795
14796 { echo "$as_me:$LINENO: result: $result" >&5
14797 echo "${ECHO_T}$result" >&6; }
14798
14799
14800 enablestring=
14801 defaultval=$wxUSE_ALL_FEATURES
14802 if test -z "$defaultval"; then
14803 if test x"$enablestring" = xdisable; then
14804 defaultval=yes
14805 else
14806 defaultval=no
14807 fi
14808 fi
14809
14810 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
14811 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
14812 # Check whether --enable-splash was given.
14813 if test "${enable_splash+set}" = set; then
14814 enableval=$enable_splash;
14815 if test "$enableval" = yes; then
14816 wx_cv_use_splash='wxUSE_SPLASH=yes'
14817 else
14818 wx_cv_use_splash='wxUSE_SPLASH=no'
14819 fi
14820 cache=yes
14821
14822 else
14823
14824 LINE=`grep "^wxUSE_SPLASH=" ${wx_arg_cache_file}`
14825 if test "x$LINE" != x ; then
14826 eval "DEFAULT_$LINE"
14827 cache=yes
14828 else
14829 cache=no
14830 fi
14831
14832 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
14833
14834 fi
14835
14836
14837 eval "$wx_cv_use_splash"
14838 if test "x$cache" = xyes; then
14839 echo "wxUSE_SPLASH=$wxUSE_SPLASH" >> ${wx_arg_cache_file}.tmp
14840 fi
14841
14842 if test x"$enablestring" = xdisable; then
14843 if test $wxUSE_SPLASH = yes; then
14844 result=no
14845 else
14846 result=yes
14847 fi
14848 else
14849 result=$wxUSE_SPLASH
14850 fi
14851
14852 { echo "$as_me:$LINENO: result: $result" >&5
14853 echo "${ECHO_T}$result" >&6; }
14854
14855
14856 enablestring=
14857 defaultval=$wxUSE_ALL_FEATURES
14858 if test -z "$defaultval"; then
14859 if test x"$enablestring" = xdisable; then
14860 defaultval=yes
14861 else
14862 defaultval=no
14863 fi
14864 fi
14865
14866 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
14867 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
14868 # Check whether --enable-textdlg was given.
14869 if test "${enable_textdlg+set}" = set; then
14870 enableval=$enable_textdlg;
14871 if test "$enableval" = yes; then
14872 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
14873 else
14874 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
14875 fi
14876 cache=yes
14877
14878 else
14879
14880 LINE=`grep "^wxUSE_TEXTDLG=" ${wx_arg_cache_file}`
14881 if test "x$LINE" != x ; then
14882 eval "DEFAULT_$LINE"
14883 cache=yes
14884 else
14885 cache=no
14886 fi
14887
14888 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
14889
14890 fi
14891
14892
14893 eval "$wx_cv_use_textdlg"
14894 if test "x$cache" = xyes; then
14895 echo "wxUSE_TEXTDLG=$wxUSE_TEXTDLG" >> ${wx_arg_cache_file}.tmp
14896 fi
14897
14898 if test x"$enablestring" = xdisable; then
14899 if test $wxUSE_TEXTDLG = yes; then
14900 result=no
14901 else
14902 result=yes
14903 fi
14904 else
14905 result=$wxUSE_TEXTDLG
14906 fi
14907
14908 { echo "$as_me:$LINENO: result: $result" >&5
14909 echo "${ECHO_T}$result" >&6; }
14910
14911
14912 enablestring=
14913 defaultval=$wxUSE_ALL_FEATURES
14914 if test -z "$defaultval"; then
14915 if test x"$enablestring" = xdisable; then
14916 defaultval=yes
14917 else
14918 defaultval=no
14919 fi
14920 fi
14921
14922 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
14923 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
14924 # Check whether --enable-tipdlg was given.
14925 if test "${enable_tipdlg+set}" = set; then
14926 enableval=$enable_tipdlg;
14927 if test "$enableval" = yes; then
14928 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
14929 else
14930 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
14931 fi
14932 cache=yes
14933
14934 else
14935
14936 LINE=`grep "^wxUSE_STARTUP_TIPS=" ${wx_arg_cache_file}`
14937 if test "x$LINE" != x ; then
14938 eval "DEFAULT_$LINE"
14939 cache=yes
14940 else
14941 cache=no
14942 fi
14943
14944 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
14945
14946 fi
14947
14948
14949 eval "$wx_cv_use_tipdlg"
14950 if test "x$cache" = xyes; then
14951 echo "wxUSE_STARTUP_TIPS=$wxUSE_STARTUP_TIPS" >> ${wx_arg_cache_file}.tmp
14952 fi
14953
14954 if test x"$enablestring" = xdisable; then
14955 if test $wxUSE_STARTUP_TIPS = yes; then
14956 result=no
14957 else
14958 result=yes
14959 fi
14960 else
14961 result=$wxUSE_STARTUP_TIPS
14962 fi
14963
14964 { echo "$as_me:$LINENO: result: $result" >&5
14965 echo "${ECHO_T}$result" >&6; }
14966
14967
14968 enablestring=
14969 defaultval=$wxUSE_ALL_FEATURES
14970 if test -z "$defaultval"; then
14971 if test x"$enablestring" = xdisable; then
14972 defaultval=yes
14973 else
14974 defaultval=no
14975 fi
14976 fi
14977
14978 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
14979 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
14980 # Check whether --enable-progressdlg was given.
14981 if test "${enable_progressdlg+set}" = set; then
14982 enableval=$enable_progressdlg;
14983 if test "$enableval" = yes; then
14984 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
14985 else
14986 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
14987 fi
14988 cache=yes
14989
14990 else
14991
14992 LINE=`grep "^wxUSE_PROGRESSDLG=" ${wx_arg_cache_file}`
14993 if test "x$LINE" != x ; then
14994 eval "DEFAULT_$LINE"
14995 cache=yes
14996 else
14997 cache=no
14998 fi
14999
15000 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
15001
15002 fi
15003
15004
15005 eval "$wx_cv_use_progressdlg"
15006 if test "x$cache" = xyes; then
15007 echo "wxUSE_PROGRESSDLG=$wxUSE_PROGRESSDLG" >> ${wx_arg_cache_file}.tmp
15008 fi
15009
15010 if test x"$enablestring" = xdisable; then
15011 if test $wxUSE_PROGRESSDLG = yes; then
15012 result=no
15013 else
15014 result=yes
15015 fi
15016 else
15017 result=$wxUSE_PROGRESSDLG
15018 fi
15019
15020 { echo "$as_me:$LINENO: result: $result" >&5
15021 echo "${ECHO_T}$result" >&6; }
15022
15023
15024 enablestring=
15025 defaultval=$wxUSE_ALL_FEATURES
15026 if test -z "$defaultval"; then
15027 if test x"$enablestring" = xdisable; then
15028 defaultval=yes
15029 else
15030 defaultval=no
15031 fi
15032 fi
15033
15034 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
15035 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
15036 # Check whether --enable-wizarddlg was given.
15037 if test "${enable_wizarddlg+set}" = set; then
15038 enableval=$enable_wizarddlg;
15039 if test "$enableval" = yes; then
15040 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
15041 else
15042 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
15043 fi
15044 cache=yes
15045
15046 else
15047
15048 LINE=`grep "^wxUSE_WIZARDDLG=" ${wx_arg_cache_file}`
15049 if test "x$LINE" != x ; then
15050 eval "DEFAULT_$LINE"
15051 cache=yes
15052 else
15053 cache=no
15054 fi
15055
15056 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
15057
15058 fi
15059
15060
15061 eval "$wx_cv_use_wizarddlg"
15062 if test "x$cache" = xyes; then
15063 echo "wxUSE_WIZARDDLG=$wxUSE_WIZARDDLG" >> ${wx_arg_cache_file}.tmp
15064 fi
15065
15066 if test x"$enablestring" = xdisable; then
15067 if test $wxUSE_WIZARDDLG = yes; then
15068 result=no
15069 else
15070 result=yes
15071 fi
15072 else
15073 result=$wxUSE_WIZARDDLG
15074 fi
15075
15076 { echo "$as_me:$LINENO: result: $result" >&5
15077 echo "${ECHO_T}$result" >&6; }
15078
15079
15080
15081
15082 enablestring=
15083 defaultval=$wxUSE_ALL_FEATURES
15084 if test -z "$defaultval"; then
15085 if test x"$enablestring" = xdisable; then
15086 defaultval=yes
15087 else
15088 defaultval=no
15089 fi
15090 fi
15091
15092 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
15093 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
15094 # Check whether --enable-menus was given.
15095 if test "${enable_menus+set}" = set; then
15096 enableval=$enable_menus;
15097 if test "$enableval" = yes; then
15098 wx_cv_use_menus='wxUSE_MENUS=yes'
15099 else
15100 wx_cv_use_menus='wxUSE_MENUS=no'
15101 fi
15102 cache=yes
15103
15104 else
15105
15106 LINE=`grep "^wxUSE_MENUS=" ${wx_arg_cache_file}`
15107 if test "x$LINE" != x ; then
15108 eval "DEFAULT_$LINE"
15109 cache=yes
15110 else
15111 cache=no
15112 fi
15113
15114 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
15115
15116 fi
15117
15118
15119 eval "$wx_cv_use_menus"
15120 if test "x$cache" = xyes; then
15121 echo "wxUSE_MENUS=$wxUSE_MENUS" >> ${wx_arg_cache_file}.tmp
15122 fi
15123
15124 if test x"$enablestring" = xdisable; then
15125 if test $wxUSE_MENUS = yes; then
15126 result=no
15127 else
15128 result=yes
15129 fi
15130 else
15131 result=$wxUSE_MENUS
15132 fi
15133
15134 { echo "$as_me:$LINENO: result: $result" >&5
15135 echo "${ECHO_T}$result" >&6; }
15136
15137
15138 enablestring=
15139 defaultval=$wxUSE_ALL_FEATURES
15140 if test -z "$defaultval"; then
15141 if test x"$enablestring" = xdisable; then
15142 defaultval=yes
15143 else
15144 defaultval=no
15145 fi
15146 fi
15147
15148 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
15149 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
15150 # Check whether --enable-miniframe was given.
15151 if test "${enable_miniframe+set}" = set; then
15152 enableval=$enable_miniframe;
15153 if test "$enableval" = yes; then
15154 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
15155 else
15156 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
15157 fi
15158 cache=yes
15159
15160 else
15161
15162 LINE=`grep "^wxUSE_MINIFRAME=" ${wx_arg_cache_file}`
15163 if test "x$LINE" != x ; then
15164 eval "DEFAULT_$LINE"
15165 cache=yes
15166 else
15167 cache=no
15168 fi
15169
15170 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
15171
15172 fi
15173
15174
15175 eval "$wx_cv_use_miniframe"
15176 if test "x$cache" = xyes; then
15177 echo "wxUSE_MINIFRAME=$wxUSE_MINIFRAME" >> ${wx_arg_cache_file}.tmp
15178 fi
15179
15180 if test x"$enablestring" = xdisable; then
15181 if test $wxUSE_MINIFRAME = yes; then
15182 result=no
15183 else
15184 result=yes
15185 fi
15186 else
15187 result=$wxUSE_MINIFRAME
15188 fi
15189
15190 { echo "$as_me:$LINENO: result: $result" >&5
15191 echo "${ECHO_T}$result" >&6; }
15192
15193
15194 enablestring=
15195 defaultval=$wxUSE_ALL_FEATURES
15196 if test -z "$defaultval"; then
15197 if test x"$enablestring" = xdisable; then
15198 defaultval=yes
15199 else
15200 defaultval=no
15201 fi
15202 fi
15203
15204 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
15205 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
15206 # Check whether --enable-tooltips was given.
15207 if test "${enable_tooltips+set}" = set; then
15208 enableval=$enable_tooltips;
15209 if test "$enableval" = yes; then
15210 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
15211 else
15212 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
15213 fi
15214 cache=yes
15215
15216 else
15217
15218 LINE=`grep "^wxUSE_TOOLTIPS=" ${wx_arg_cache_file}`
15219 if test "x$LINE" != x ; then
15220 eval "DEFAULT_$LINE"
15221 cache=yes
15222 else
15223 cache=no
15224 fi
15225
15226 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
15227
15228 fi
15229
15230
15231 eval "$wx_cv_use_tooltips"
15232 if test "x$cache" = xyes; then
15233 echo "wxUSE_TOOLTIPS=$wxUSE_TOOLTIPS" >> ${wx_arg_cache_file}.tmp
15234 fi
15235
15236 if test x"$enablestring" = xdisable; then
15237 if test $wxUSE_TOOLTIPS = yes; then
15238 result=no
15239 else
15240 result=yes
15241 fi
15242 else
15243 result=$wxUSE_TOOLTIPS
15244 fi
15245
15246 { echo "$as_me:$LINENO: result: $result" >&5
15247 echo "${ECHO_T}$result" >&6; }
15248
15249
15250 enablestring=
15251 defaultval=$wxUSE_ALL_FEATURES
15252 if test -z "$defaultval"; then
15253 if test x"$enablestring" = xdisable; then
15254 defaultval=yes
15255 else
15256 defaultval=no
15257 fi
15258 fi
15259
15260 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
15261 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
15262 # Check whether --enable-splines was given.
15263 if test "${enable_splines+set}" = set; then
15264 enableval=$enable_splines;
15265 if test "$enableval" = yes; then
15266 wx_cv_use_splines='wxUSE_SPLINES=yes'
15267 else
15268 wx_cv_use_splines='wxUSE_SPLINES=no'
15269 fi
15270 cache=yes
15271
15272 else
15273
15274 LINE=`grep "^wxUSE_SPLINES=" ${wx_arg_cache_file}`
15275 if test "x$LINE" != x ; then
15276 eval "DEFAULT_$LINE"
15277 cache=yes
15278 else
15279 cache=no
15280 fi
15281
15282 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
15283
15284 fi
15285
15286
15287 eval "$wx_cv_use_splines"
15288 if test "x$cache" = xyes; then
15289 echo "wxUSE_SPLINES=$wxUSE_SPLINES" >> ${wx_arg_cache_file}.tmp
15290 fi
15291
15292 if test x"$enablestring" = xdisable; then
15293 if test $wxUSE_SPLINES = yes; then
15294 result=no
15295 else
15296 result=yes
15297 fi
15298 else
15299 result=$wxUSE_SPLINES
15300 fi
15301
15302 { echo "$as_me:$LINENO: result: $result" >&5
15303 echo "${ECHO_T}$result" >&6; }
15304
15305
15306 enablestring=
15307 defaultval=$wxUSE_ALL_FEATURES
15308 if test -z "$defaultval"; then
15309 if test x"$enablestring" = xdisable; then
15310 defaultval=yes
15311 else
15312 defaultval=no
15313 fi
15314 fi
15315
15316 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
15317 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
15318 # Check whether --enable-mousewheel was given.
15319 if test "${enable_mousewheel+set}" = set; then
15320 enableval=$enable_mousewheel;
15321 if test "$enableval" = yes; then
15322 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
15323 else
15324 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
15325 fi
15326 cache=yes
15327
15328 else
15329
15330 LINE=`grep "^wxUSE_MOUSEWHEEL=" ${wx_arg_cache_file}`
15331 if test "x$LINE" != x ; then
15332 eval "DEFAULT_$LINE"
15333 cache=yes
15334 else
15335 cache=no
15336 fi
15337
15338 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
15339
15340 fi
15341
15342
15343 eval "$wx_cv_use_mousewheel"
15344 if test "x$cache" = xyes; then
15345 echo "wxUSE_MOUSEWHEEL=$wxUSE_MOUSEWHEEL" >> ${wx_arg_cache_file}.tmp
15346 fi
15347
15348 if test x"$enablestring" = xdisable; then
15349 if test $wxUSE_MOUSEWHEEL = yes; then
15350 result=no
15351 else
15352 result=yes
15353 fi
15354 else
15355 result=$wxUSE_MOUSEWHEEL
15356 fi
15357
15358 { echo "$as_me:$LINENO: result: $result" >&5
15359 echo "${ECHO_T}$result" >&6; }
15360
15361
15362 enablestring=
15363 defaultval=$wxUSE_ALL_FEATURES
15364 if test -z "$defaultval"; then
15365 if test x"$enablestring" = xdisable; then
15366 defaultval=yes
15367 else
15368 defaultval=no
15369 fi
15370 fi
15371
15372 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
15373 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
15374 # Check whether --enable-validators was given.
15375 if test "${enable_validators+set}" = set; then
15376 enableval=$enable_validators;
15377 if test "$enableval" = yes; then
15378 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
15379 else
15380 wx_cv_use_validators='wxUSE_VALIDATORS=no'
15381 fi
15382 cache=yes
15383
15384 else
15385
15386 LINE=`grep "^wxUSE_VALIDATORS=" ${wx_arg_cache_file}`
15387 if test "x$LINE" != x ; then
15388 eval "DEFAULT_$LINE"
15389 cache=yes
15390 else
15391 cache=no
15392 fi
15393
15394 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
15395
15396 fi
15397
15398
15399 eval "$wx_cv_use_validators"
15400 if test "x$cache" = xyes; then
15401 echo "wxUSE_VALIDATORS=$wxUSE_VALIDATORS" >> ${wx_arg_cache_file}.tmp
15402 fi
15403
15404 if test x"$enablestring" = xdisable; then
15405 if test $wxUSE_VALIDATORS = yes; then
15406 result=no
15407 else
15408 result=yes
15409 fi
15410 else
15411 result=$wxUSE_VALIDATORS
15412 fi
15413
15414 { echo "$as_me:$LINENO: result: $result" >&5
15415 echo "${ECHO_T}$result" >&6; }
15416
15417
15418 enablestring=
15419 defaultval=$wxUSE_ALL_FEATURES
15420 if test -z "$defaultval"; then
15421 if test x"$enablestring" = xdisable; then
15422 defaultval=yes
15423 else
15424 defaultval=no
15425 fi
15426 fi
15427
15428 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
15429 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
15430 # Check whether --enable-busyinfo was given.
15431 if test "${enable_busyinfo+set}" = set; then
15432 enableval=$enable_busyinfo;
15433 if test "$enableval" = yes; then
15434 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
15435 else
15436 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
15437 fi
15438 cache=yes
15439
15440 else
15441
15442 LINE=`grep "^wxUSE_BUSYINFO=" ${wx_arg_cache_file}`
15443 if test "x$LINE" != x ; then
15444 eval "DEFAULT_$LINE"
15445 cache=yes
15446 else
15447 cache=no
15448 fi
15449
15450 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
15451
15452 fi
15453
15454
15455 eval "$wx_cv_use_busyinfo"
15456 if test "x$cache" = xyes; then
15457 echo "wxUSE_BUSYINFO=$wxUSE_BUSYINFO" >> ${wx_arg_cache_file}.tmp
15458 fi
15459
15460 if test x"$enablestring" = xdisable; then
15461 if test $wxUSE_BUSYINFO = yes; then
15462 result=no
15463 else
15464 result=yes
15465 fi
15466 else
15467 result=$wxUSE_BUSYINFO
15468 fi
15469
15470 { echo "$as_me:$LINENO: result: $result" >&5
15471 echo "${ECHO_T}$result" >&6; }
15472
15473
15474 enablestring=
15475 defaultval=$wxUSE_ALL_FEATURES
15476 if test -z "$defaultval"; then
15477 if test x"$enablestring" = xdisable; then
15478 defaultval=yes
15479 else
15480 defaultval=no
15481 fi
15482 fi
15483
15484 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
15485 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
15486 # Check whether --enable-joystick was given.
15487 if test "${enable_joystick+set}" = set; then
15488 enableval=$enable_joystick;
15489 if test "$enableval" = yes; then
15490 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
15491 else
15492 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
15493 fi
15494 cache=yes
15495
15496 else
15497
15498 LINE=`grep "^wxUSE_JOYSTICK=" ${wx_arg_cache_file}`
15499 if test "x$LINE" != x ; then
15500 eval "DEFAULT_$LINE"
15501 cache=yes
15502 else
15503 cache=no
15504 fi
15505
15506 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
15507
15508 fi
15509
15510
15511 eval "$wx_cv_use_joystick"
15512 if test "x$cache" = xyes; then
15513 echo "wxUSE_JOYSTICK=$wxUSE_JOYSTICK" >> ${wx_arg_cache_file}.tmp
15514 fi
15515
15516 if test x"$enablestring" = xdisable; then
15517 if test $wxUSE_JOYSTICK = yes; then
15518 result=no
15519 else
15520 result=yes
15521 fi
15522 else
15523 result=$wxUSE_JOYSTICK
15524 fi
15525
15526 { echo "$as_me:$LINENO: result: $result" >&5
15527 echo "${ECHO_T}$result" >&6; }
15528
15529
15530 enablestring=
15531 defaultval=$wxUSE_ALL_FEATURES
15532 if test -z "$defaultval"; then
15533 if test x"$enablestring" = xdisable; then
15534 defaultval=yes
15535 else
15536 defaultval=no
15537 fi
15538 fi
15539
15540 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
15541 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
15542 # Check whether --enable-metafile was given.
15543 if test "${enable_metafile+set}" = set; then
15544 enableval=$enable_metafile;
15545 if test "$enableval" = yes; then
15546 wx_cv_use_metafile='wxUSE_METAFILE=yes'
15547 else
15548 wx_cv_use_metafile='wxUSE_METAFILE=no'
15549 fi
15550 cache=yes
15551
15552 else
15553
15554 LINE=`grep "^wxUSE_METAFILE=" ${wx_arg_cache_file}`
15555 if test "x$LINE" != x ; then
15556 eval "DEFAULT_$LINE"
15557 cache=yes
15558 else
15559 cache=no
15560 fi
15561
15562 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
15563
15564 fi
15565
15566
15567 eval "$wx_cv_use_metafile"
15568 if test "x$cache" = xyes; then
15569 echo "wxUSE_METAFILE=$wxUSE_METAFILE" >> ${wx_arg_cache_file}.tmp
15570 fi
15571
15572 if test x"$enablestring" = xdisable; then
15573 if test $wxUSE_METAFILE = yes; then
15574 result=no
15575 else
15576 result=yes
15577 fi
15578 else
15579 result=$wxUSE_METAFILE
15580 fi
15581
15582 { echo "$as_me:$LINENO: result: $result" >&5
15583 echo "${ECHO_T}$result" >&6; }
15584
15585
15586 enablestring=
15587 defaultval=$wxUSE_ALL_FEATURES
15588 if test -z "$defaultval"; then
15589 if test x"$enablestring" = xdisable; then
15590 defaultval=yes
15591 else
15592 defaultval=no
15593 fi
15594 fi
15595
15596 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
15597 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
15598 # Check whether --enable-dragimage was given.
15599 if test "${enable_dragimage+set}" = set; then
15600 enableval=$enable_dragimage;
15601 if test "$enableval" = yes; then
15602 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
15603 else
15604 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
15605 fi
15606 cache=yes
15607
15608 else
15609
15610 LINE=`grep "^wxUSE_DRAGIMAGE=" ${wx_arg_cache_file}`
15611 if test "x$LINE" != x ; then
15612 eval "DEFAULT_$LINE"
15613 cache=yes
15614 else
15615 cache=no
15616 fi
15617
15618 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
15619
15620 fi
15621
15622
15623 eval "$wx_cv_use_dragimage"
15624 if test "x$cache" = xyes; then
15625 echo "wxUSE_DRAGIMAGE=$wxUSE_DRAGIMAGE" >> ${wx_arg_cache_file}.tmp
15626 fi
15627
15628 if test x"$enablestring" = xdisable; then
15629 if test $wxUSE_DRAGIMAGE = yes; then
15630 result=no
15631 else
15632 result=yes
15633 fi
15634 else
15635 result=$wxUSE_DRAGIMAGE
15636 fi
15637
15638 { echo "$as_me:$LINENO: result: $result" >&5
15639 echo "${ECHO_T}$result" >&6; }
15640
15641
15642 enablestring=
15643 defaultval=$wxUSE_ALL_FEATURES
15644 if test -z "$defaultval"; then
15645 if test x"$enablestring" = xdisable; then
15646 defaultval=yes
15647 else
15648 defaultval=no
15649 fi
15650 fi
15651
15652 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
15653 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
15654 # Check whether --enable-accessibility was given.
15655 if test "${enable_accessibility+set}" = set; then
15656 enableval=$enable_accessibility;
15657 if test "$enableval" = yes; then
15658 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
15659 else
15660 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
15661 fi
15662 cache=yes
15663
15664 else
15665
15666 LINE=`grep "^wxUSE_ACCESSIBILITY=" ${wx_arg_cache_file}`
15667 if test "x$LINE" != x ; then
15668 eval "DEFAULT_$LINE"
15669 cache=yes
15670 else
15671 cache=no
15672 fi
15673
15674 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
15675
15676 fi
15677
15678
15679 eval "$wx_cv_use_accessibility"
15680 if test "x$cache" = xyes; then
15681 echo "wxUSE_ACCESSIBILITY=$wxUSE_ACCESSIBILITY" >> ${wx_arg_cache_file}.tmp
15682 fi
15683
15684 if test x"$enablestring" = xdisable; then
15685 if test $wxUSE_ACCESSIBILITY = yes; then
15686 result=no
15687 else
15688 result=yes
15689 fi
15690 else
15691 result=$wxUSE_ACCESSIBILITY
15692 fi
15693
15694 { echo "$as_me:$LINENO: result: $result" >&5
15695 echo "${ECHO_T}$result" >&6; }
15696
15697
15698
15699
15700 enablestring=
15701 defaultval=$wxUSE_ALL_FEATURES
15702 if test -z "$defaultval"; then
15703 if test x"$enablestring" = xdisable; then
15704 defaultval=yes
15705 else
15706 defaultval=no
15707 fi
15708 fi
15709
15710 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
15711 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
15712 # Check whether --enable-palette was given.
15713 if test "${enable_palette+set}" = set; then
15714 enableval=$enable_palette;
15715 if test "$enableval" = yes; then
15716 wx_cv_use_palette='wxUSE_PALETTE=yes'
15717 else
15718 wx_cv_use_palette='wxUSE_PALETTE=no'
15719 fi
15720 cache=yes
15721
15722 else
15723
15724 LINE=`grep "^wxUSE_PALETTE=" ${wx_arg_cache_file}`
15725 if test "x$LINE" != x ; then
15726 eval "DEFAULT_$LINE"
15727 cache=yes
15728 else
15729 cache=no
15730 fi
15731
15732 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
15733
15734 fi
15735
15736
15737 eval "$wx_cv_use_palette"
15738 if test "x$cache" = xyes; then
15739 echo "wxUSE_PALETTE=$wxUSE_PALETTE" >> ${wx_arg_cache_file}.tmp
15740 fi
15741
15742 if test x"$enablestring" = xdisable; then
15743 if test $wxUSE_PALETTE = yes; then
15744 result=no
15745 else
15746 result=yes
15747 fi
15748 else
15749 result=$wxUSE_PALETTE
15750 fi
15751
15752 { echo "$as_me:$LINENO: result: $result" >&5
15753 echo "${ECHO_T}$result" >&6; }
15754
15755
15756 enablestring=
15757 defaultval=$wxUSE_ALL_FEATURES
15758 if test -z "$defaultval"; then
15759 if test x"$enablestring" = xdisable; then
15760 defaultval=yes
15761 else
15762 defaultval=no
15763 fi
15764 fi
15765
15766 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
15767 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
15768 # Check whether --enable-image was given.
15769 if test "${enable_image+set}" = set; then
15770 enableval=$enable_image;
15771 if test "$enableval" = yes; then
15772 wx_cv_use_image='wxUSE_IMAGE=yes'
15773 else
15774 wx_cv_use_image='wxUSE_IMAGE=no'
15775 fi
15776 cache=yes
15777
15778 else
15779
15780 LINE=`grep "^wxUSE_IMAGE=" ${wx_arg_cache_file}`
15781 if test "x$LINE" != x ; then
15782 eval "DEFAULT_$LINE"
15783 cache=yes
15784 else
15785 cache=no
15786 fi
15787
15788 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
15789
15790 fi
15791
15792
15793 eval "$wx_cv_use_image"
15794 if test "x$cache" = xyes; then
15795 echo "wxUSE_IMAGE=$wxUSE_IMAGE" >> ${wx_arg_cache_file}.tmp
15796 fi
15797
15798 if test x"$enablestring" = xdisable; then
15799 if test $wxUSE_IMAGE = yes; then
15800 result=no
15801 else
15802 result=yes
15803 fi
15804 else
15805 result=$wxUSE_IMAGE
15806 fi
15807
15808 { echo "$as_me:$LINENO: result: $result" >&5
15809 echo "${ECHO_T}$result" >&6; }
15810
15811
15812 enablestring=
15813 defaultval=$wxUSE_ALL_FEATURES
15814 if test -z "$defaultval"; then
15815 if test x"$enablestring" = xdisable; then
15816 defaultval=yes
15817 else
15818 defaultval=no
15819 fi
15820 fi
15821
15822 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
15823 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
15824 # Check whether --enable-gif was given.
15825 if test "${enable_gif+set}" = set; then
15826 enableval=$enable_gif;
15827 if test "$enableval" = yes; then
15828 wx_cv_use_gif='wxUSE_GIF=yes'
15829 else
15830 wx_cv_use_gif='wxUSE_GIF=no'
15831 fi
15832 cache=yes
15833
15834 else
15835
15836 LINE=`grep "^wxUSE_GIF=" ${wx_arg_cache_file}`
15837 if test "x$LINE" != x ; then
15838 eval "DEFAULT_$LINE"
15839 cache=yes
15840 else
15841 cache=no
15842 fi
15843
15844 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
15845
15846 fi
15847
15848
15849 eval "$wx_cv_use_gif"
15850 if test "x$cache" = xyes; then
15851 echo "wxUSE_GIF=$wxUSE_GIF" >> ${wx_arg_cache_file}.tmp
15852 fi
15853
15854 if test x"$enablestring" = xdisable; then
15855 if test $wxUSE_GIF = yes; then
15856 result=no
15857 else
15858 result=yes
15859 fi
15860 else
15861 result=$wxUSE_GIF
15862 fi
15863
15864 { echo "$as_me:$LINENO: result: $result" >&5
15865 echo "${ECHO_T}$result" >&6; }
15866
15867
15868 enablestring=
15869 defaultval=$wxUSE_ALL_FEATURES
15870 if test -z "$defaultval"; then
15871 if test x"$enablestring" = xdisable; then
15872 defaultval=yes
15873 else
15874 defaultval=no
15875 fi
15876 fi
15877
15878 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
15879 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
15880 # Check whether --enable-pcx was given.
15881 if test "${enable_pcx+set}" = set; then
15882 enableval=$enable_pcx;
15883 if test "$enableval" = yes; then
15884 wx_cv_use_pcx='wxUSE_PCX=yes'
15885 else
15886 wx_cv_use_pcx='wxUSE_PCX=no'
15887 fi
15888 cache=yes
15889
15890 else
15891
15892 LINE=`grep "^wxUSE_PCX=" ${wx_arg_cache_file}`
15893 if test "x$LINE" != x ; then
15894 eval "DEFAULT_$LINE"
15895 cache=yes
15896 else
15897 cache=no
15898 fi
15899
15900 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
15901
15902 fi
15903
15904
15905 eval "$wx_cv_use_pcx"
15906 if test "x$cache" = xyes; then
15907 echo "wxUSE_PCX=$wxUSE_PCX" >> ${wx_arg_cache_file}.tmp
15908 fi
15909
15910 if test x"$enablestring" = xdisable; then
15911 if test $wxUSE_PCX = yes; then
15912 result=no
15913 else
15914 result=yes
15915 fi
15916 else
15917 result=$wxUSE_PCX
15918 fi
15919
15920 { echo "$as_me:$LINENO: result: $result" >&5
15921 echo "${ECHO_T}$result" >&6; }
15922
15923
15924 enablestring=
15925 defaultval=$wxUSE_ALL_FEATURES
15926 if test -z "$defaultval"; then
15927 if test x"$enablestring" = xdisable; then
15928 defaultval=yes
15929 else
15930 defaultval=no
15931 fi
15932 fi
15933
15934 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
15935 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
15936 # Check whether --enable-tga was given.
15937 if test "${enable_tga+set}" = set; then
15938 enableval=$enable_tga;
15939 if test "$enableval" = yes; then
15940 wx_cv_use_tga='wxUSE_TGA=yes'
15941 else
15942 wx_cv_use_tga='wxUSE_TGA=no'
15943 fi
15944 cache=yes
15945
15946 else
15947
15948 LINE=`grep "^wxUSE_TGA=" ${wx_arg_cache_file}`
15949 if test "x$LINE" != x ; then
15950 eval "DEFAULT_$LINE"
15951 cache=yes
15952 else
15953 cache=no
15954 fi
15955
15956 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
15957
15958 fi
15959
15960
15961 eval "$wx_cv_use_tga"
15962 if test "x$cache" = xyes; then
15963 echo "wxUSE_TGA=$wxUSE_TGA" >> ${wx_arg_cache_file}.tmp
15964 fi
15965
15966 if test x"$enablestring" = xdisable; then
15967 if test $wxUSE_TGA = yes; then
15968 result=no
15969 else
15970 result=yes
15971 fi
15972 else
15973 result=$wxUSE_TGA
15974 fi
15975
15976 { echo "$as_me:$LINENO: result: $result" >&5
15977 echo "${ECHO_T}$result" >&6; }
15978
15979
15980 enablestring=
15981 defaultval=$wxUSE_ALL_FEATURES
15982 if test -z "$defaultval"; then
15983 if test x"$enablestring" = xdisable; then
15984 defaultval=yes
15985 else
15986 defaultval=no
15987 fi
15988 fi
15989
15990 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
15991 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
15992 # Check whether --enable-iff was given.
15993 if test "${enable_iff+set}" = set; then
15994 enableval=$enable_iff;
15995 if test "$enableval" = yes; then
15996 wx_cv_use_iff='wxUSE_IFF=yes'
15997 else
15998 wx_cv_use_iff='wxUSE_IFF=no'
15999 fi
16000 cache=yes
16001
16002 else
16003
16004 LINE=`grep "^wxUSE_IFF=" ${wx_arg_cache_file}`
16005 if test "x$LINE" != x ; then
16006 eval "DEFAULT_$LINE"
16007 cache=yes
16008 else
16009 cache=no
16010 fi
16011
16012 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
16013
16014 fi
16015
16016
16017 eval "$wx_cv_use_iff"
16018 if test "x$cache" = xyes; then
16019 echo "wxUSE_IFF=$wxUSE_IFF" >> ${wx_arg_cache_file}.tmp
16020 fi
16021
16022 if test x"$enablestring" = xdisable; then
16023 if test $wxUSE_IFF = yes; then
16024 result=no
16025 else
16026 result=yes
16027 fi
16028 else
16029 result=$wxUSE_IFF
16030 fi
16031
16032 { echo "$as_me:$LINENO: result: $result" >&5
16033 echo "${ECHO_T}$result" >&6; }
16034
16035
16036 enablestring=
16037 defaultval=$wxUSE_ALL_FEATURES
16038 if test -z "$defaultval"; then
16039 if test x"$enablestring" = xdisable; then
16040 defaultval=yes
16041 else
16042 defaultval=no
16043 fi
16044 fi
16045
16046 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
16047 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
16048 # Check whether --enable-pnm was given.
16049 if test "${enable_pnm+set}" = set; then
16050 enableval=$enable_pnm;
16051 if test "$enableval" = yes; then
16052 wx_cv_use_pnm='wxUSE_PNM=yes'
16053 else
16054 wx_cv_use_pnm='wxUSE_PNM=no'
16055 fi
16056 cache=yes
16057
16058 else
16059
16060 LINE=`grep "^wxUSE_PNM=" ${wx_arg_cache_file}`
16061 if test "x$LINE" != x ; then
16062 eval "DEFAULT_$LINE"
16063 cache=yes
16064 else
16065 cache=no
16066 fi
16067
16068 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
16069
16070 fi
16071
16072
16073 eval "$wx_cv_use_pnm"
16074 if test "x$cache" = xyes; then
16075 echo "wxUSE_PNM=$wxUSE_PNM" >> ${wx_arg_cache_file}.tmp
16076 fi
16077
16078 if test x"$enablestring" = xdisable; then
16079 if test $wxUSE_PNM = yes; then
16080 result=no
16081 else
16082 result=yes
16083 fi
16084 else
16085 result=$wxUSE_PNM
16086 fi
16087
16088 { echo "$as_me:$LINENO: result: $result" >&5
16089 echo "${ECHO_T}$result" >&6; }
16090
16091
16092 enablestring=
16093 defaultval=$wxUSE_ALL_FEATURES
16094 if test -z "$defaultval"; then
16095 if test x"$enablestring" = xdisable; then
16096 defaultval=yes
16097 else
16098 defaultval=no
16099 fi
16100 fi
16101
16102 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
16103 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
16104 # Check whether --enable-xpm was given.
16105 if test "${enable_xpm+set}" = set; then
16106 enableval=$enable_xpm;
16107 if test "$enableval" = yes; then
16108 wx_cv_use_xpm='wxUSE_XPM=yes'
16109 else
16110 wx_cv_use_xpm='wxUSE_XPM=no'
16111 fi
16112 cache=yes
16113
16114 else
16115
16116 LINE=`grep "^wxUSE_XPM=" ${wx_arg_cache_file}`
16117 if test "x$LINE" != x ; then
16118 eval "DEFAULT_$LINE"
16119 cache=yes
16120 else
16121 cache=no
16122 fi
16123
16124 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
16125
16126 fi
16127
16128
16129 eval "$wx_cv_use_xpm"
16130 if test "x$cache" = xyes; then
16131 echo "wxUSE_XPM=$wxUSE_XPM" >> ${wx_arg_cache_file}.tmp
16132 fi
16133
16134 if test x"$enablestring" = xdisable; then
16135 if test $wxUSE_XPM = yes; then
16136 result=no
16137 else
16138 result=yes
16139 fi
16140 else
16141 result=$wxUSE_XPM
16142 fi
16143
16144 { echo "$as_me:$LINENO: result: $result" >&5
16145 echo "${ECHO_T}$result" >&6; }
16146
16147
16148 enablestring=
16149 defaultval=$wxUSE_ALL_FEATURES
16150 if test -z "$defaultval"; then
16151 if test x"$enablestring" = xdisable; then
16152 defaultval=yes
16153 else
16154 defaultval=no
16155 fi
16156 fi
16157
16158 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
16159 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
16160 # Check whether --enable-ico_cur was given.
16161 if test "${enable_ico_cur+set}" = set; then
16162 enableval=$enable_ico_cur;
16163 if test "$enableval" = yes; then
16164 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
16165 else
16166 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
16167 fi
16168 cache=yes
16169
16170 else
16171
16172 LINE=`grep "^wxUSE_ICO_CUR=" ${wx_arg_cache_file}`
16173 if test "x$LINE" != x ; then
16174 eval "DEFAULT_$LINE"
16175 cache=yes
16176 else
16177 cache=no
16178 fi
16179
16180 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
16181
16182 fi
16183
16184
16185 eval "$wx_cv_use_ico_cur"
16186 if test "x$cache" = xyes; then
16187 echo "wxUSE_ICO_CUR=$wxUSE_ICO_CUR" >> ${wx_arg_cache_file}.tmp
16188 fi
16189
16190 if test x"$enablestring" = xdisable; then
16191 if test $wxUSE_ICO_CUR = yes; then
16192 result=no
16193 else
16194 result=yes
16195 fi
16196 else
16197 result=$wxUSE_ICO_CUR
16198 fi
16199
16200 { echo "$as_me:$LINENO: result: $result" >&5
16201 echo "${ECHO_T}$result" >&6; }
16202
16203
16204
16205
16206 enablestring=
16207 defaultval=$wxUSE_ALL_FEATURES
16208 if test -z "$defaultval"; then
16209 if test x"$enablestring" = xdisable; then
16210 defaultval=yes
16211 else
16212 defaultval=no
16213 fi
16214 fi
16215
16216 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
16217 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
16218 # Check whether --enable-dccache was given.
16219 if test "${enable_dccache+set}" = set; then
16220 enableval=$enable_dccache;
16221 if test "$enableval" = yes; then
16222 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
16223 else
16224 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
16225 fi
16226 cache=yes
16227
16228 else
16229
16230 LINE=`grep "^wxUSE_DC_CACHEING=" ${wx_arg_cache_file}`
16231 if test "x$LINE" != x ; then
16232 eval "DEFAULT_$LINE"
16233 cache=yes
16234 else
16235 cache=no
16236 fi
16237
16238 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
16239
16240 fi
16241
16242
16243 eval "$wx_cv_use_dccache"
16244 if test "x$cache" = xyes; then
16245 echo "wxUSE_DC_CACHEING=$wxUSE_DC_CACHEING" >> ${wx_arg_cache_file}.tmp
16246 fi
16247
16248 if test x"$enablestring" = xdisable; then
16249 if test $wxUSE_DC_CACHEING = yes; then
16250 result=no
16251 else
16252 result=yes
16253 fi
16254 else
16255 result=$wxUSE_DC_CACHEING
16256 fi
16257
16258 { echo "$as_me:$LINENO: result: $result" >&5
16259 echo "${ECHO_T}$result" >&6; }
16260
16261
16262 enablestring=
16263 defaultval=$wxUSE_ALL_FEATURES
16264 if test -z "$defaultval"; then
16265 if test x"$enablestring" = xdisable; then
16266 defaultval=yes
16267 else
16268 defaultval=no
16269 fi
16270 fi
16271
16272 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
16273 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
16274 # Check whether --enable-ps-in-msw was given.
16275 if test "${enable_ps_in_msw+set}" = set; then
16276 enableval=$enable_ps_in_msw;
16277 if test "$enableval" = yes; then
16278 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
16279 else
16280 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
16281 fi
16282 cache=yes
16283
16284 else
16285
16286 LINE=`grep "^wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=" ${wx_arg_cache_file}`
16287 if test "x$LINE" != x ; then
16288 eval "DEFAULT_$LINE"
16289 cache=yes
16290 else
16291 cache=no
16292 fi
16293
16294 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
16295
16296 fi
16297
16298
16299 eval "$wx_cv_use_ps_in_msw"
16300 if test "x$cache" = xyes; then
16301 echo "wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" >> ${wx_arg_cache_file}.tmp
16302 fi
16303
16304 if test x"$enablestring" = xdisable; then
16305 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = yes; then
16306 result=no
16307 else
16308 result=yes
16309 fi
16310 else
16311 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
16312 fi
16313
16314 { echo "$as_me:$LINENO: result: $result" >&5
16315 echo "${ECHO_T}$result" >&6; }
16316
16317
16318 enablestring=
16319 defaultval=$wxUSE_ALL_FEATURES
16320 if test -z "$defaultval"; then
16321 if test x"$enablestring" = xdisable; then
16322 defaultval=yes
16323 else
16324 defaultval=no
16325 fi
16326 fi
16327
16328 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
16329 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
16330 # Check whether --enable-ownerdrawn was given.
16331 if test "${enable_ownerdrawn+set}" = set; then
16332 enableval=$enable_ownerdrawn;
16333 if test "$enableval" = yes; then
16334 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
16335 else
16336 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
16337 fi
16338 cache=yes
16339
16340 else
16341
16342 LINE=`grep "^wxUSE_OWNER_DRAWN=" ${wx_arg_cache_file}`
16343 if test "x$LINE" != x ; then
16344 eval "DEFAULT_$LINE"
16345 cache=yes
16346 else
16347 cache=no
16348 fi
16349
16350 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
16351
16352 fi
16353
16354
16355 eval "$wx_cv_use_ownerdrawn"
16356 if test "x$cache" = xyes; then
16357 echo "wxUSE_OWNER_DRAWN=$wxUSE_OWNER_DRAWN" >> ${wx_arg_cache_file}.tmp
16358 fi
16359
16360 if test x"$enablestring" = xdisable; then
16361 if test $wxUSE_OWNER_DRAWN = yes; then
16362 result=no
16363 else
16364 result=yes
16365 fi
16366 else
16367 result=$wxUSE_OWNER_DRAWN
16368 fi
16369
16370 { echo "$as_me:$LINENO: result: $result" >&5
16371 echo "${ECHO_T}$result" >&6; }
16372
16373
16374 enablestring=
16375 defaultval=$wxUSE_ALL_FEATURES
16376 if test -z "$defaultval"; then
16377 if test x"$enablestring" = xdisable; then
16378 defaultval=yes
16379 else
16380 defaultval=no
16381 fi
16382 fi
16383
16384 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
16385 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
16386 # Check whether --enable-uxtheme was given.
16387 if test "${enable_uxtheme+set}" = set; then
16388 enableval=$enable_uxtheme;
16389 if test "$enableval" = yes; then
16390 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
16391 else
16392 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
16393 fi
16394 cache=yes
16395
16396 else
16397
16398 LINE=`grep "^wxUSE_UXTHEME=" ${wx_arg_cache_file}`
16399 if test "x$LINE" != x ; then
16400 eval "DEFAULT_$LINE"
16401 cache=yes
16402 else
16403 cache=no
16404 fi
16405
16406 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
16407
16408 fi
16409
16410
16411 eval "$wx_cv_use_uxtheme"
16412 if test "x$cache" = xyes; then
16413 echo "wxUSE_UXTHEME=$wxUSE_UXTHEME" >> ${wx_arg_cache_file}.tmp
16414 fi
16415
16416 if test x"$enablestring" = xdisable; then
16417 if test $wxUSE_UXTHEME = yes; then
16418 result=no
16419 else
16420 result=yes
16421 fi
16422 else
16423 result=$wxUSE_UXTHEME
16424 fi
16425
16426 { echo "$as_me:$LINENO: result: $result" >&5
16427 echo "${ECHO_T}$result" >&6; }
16428
16429
16430 enablestring=
16431 defaultval=$wxUSE_ALL_FEATURES
16432 if test -z "$defaultval"; then
16433 if test x"$enablestring" = xdisable; then
16434 defaultval=yes
16435 else
16436 defaultval=no
16437 fi
16438 fi
16439
16440 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
16441 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
16442 # Check whether --enable-wxdib was given.
16443 if test "${enable_wxdib+set}" = set; then
16444 enableval=$enable_wxdib;
16445 if test "$enableval" = yes; then
16446 wx_cv_use_wxdib='wxUSE_DIB=yes'
16447 else
16448 wx_cv_use_wxdib='wxUSE_DIB=no'
16449 fi
16450 cache=yes
16451
16452 else
16453
16454 LINE=`grep "^wxUSE_DIB=" ${wx_arg_cache_file}`
16455 if test "x$LINE" != x ; then
16456 eval "DEFAULT_$LINE"
16457 cache=yes
16458 else
16459 cache=no
16460 fi
16461
16462 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
16463
16464 fi
16465
16466
16467 eval "$wx_cv_use_wxdib"
16468 if test "x$cache" = xyes; then
16469 echo "wxUSE_DIB=$wxUSE_DIB" >> ${wx_arg_cache_file}.tmp
16470 fi
16471
16472 if test x"$enablestring" = xdisable; then
16473 if test $wxUSE_DIB = yes; then
16474 result=no
16475 else
16476 result=yes
16477 fi
16478 else
16479 result=$wxUSE_DIB
16480 fi
16481
16482 { echo "$as_me:$LINENO: result: $result" >&5
16483 echo "${ECHO_T}$result" >&6; }
16484
16485
16486 fi
16487
16488
16489 echo "saving argument cache $wx_arg_cache_file"
16490 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
16491
16492
16493
16494 { echo "$as_me:$LINENO: checking for toolkit" >&5
16495 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
16496
16497 # In Wine, we need to default to MSW, not GTK or MOTIF
16498 if test "$wxUSE_WINE" = "yes"; then
16499 DEFAULT_DEFAULT_wxUSE_GTK=0
16500 DEFAULT_DEFAULT_wxUSE_MOTIF=0
16501 DEFAULT_DEFAULT_wxUSE_MSW=1
16502 wxUSE_SHARED=no
16503 CC=${CC:-winegcc}
16504 CXX=${CXX:-wineg++}
16505 fi
16506
16507
16508 if test "$wxUSE_GUI" = "yes"; then
16509
16510 if test "$USE_BEOS" = 1; then
16511 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
16512 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
16513 { (exit 1); exit 1; }; }
16514 fi
16515
16516 if test "$TOOLKIT_GIVEN" = 1; then
16517 for toolkit in $ALL_TOOLKITS; do
16518 var=wxUSE_$toolkit
16519 eval "value=\$${var}"
16520 if test "x$value" = "xno"; then
16521 eval "$var=0"
16522 elif test "x$value" != "x"; then
16523 eval "$var=1"
16524 fi
16525
16526 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
16527 eval "wx${toolkit}_VERSION=$value"
16528 fi
16529 done
16530 else
16531 for toolkit in $ALL_TOOLKITS; do
16532 if test "$has_toolkit_in_cache" != 1; then
16533 var=DEFAULT_DEFAULT_wxUSE_$toolkit
16534 else
16535 var=DEFAULT_wxUSE_$toolkit
16536
16537 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
16538 if test "x$version" != "x"; then
16539 eval "wx${toolkit}_VERSION=$version"
16540 fi
16541 fi
16542 eval "wxUSE_$toolkit=\$${var}"
16543 done
16544 fi
16545
16546 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
16547 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
16548 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
16549
16550 case "${host}" in
16551 *-pc-os2_emx | *-pc-os2-emx )
16552 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
16553 esac
16554
16555 case "$NUM_TOOLKITS" in
16556 1)
16557 ;;
16558 0)
16559 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
16560 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
16561 { (exit 1); exit 1; }; }
16562 ;;
16563 *)
16564 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
16565 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
16566 { (exit 1); exit 1; }; }
16567 esac
16568
16569 # to be removed when --disable-gtk2 isn't needed
16570 if test "x$wxUSE_GTK2" = "xyes"; then
16571 wxGTK_VERSION=2
16572 elif test "x$wxUSE_GTK2" = "xno"; then
16573 wxGTK_VERSION=1
16574 fi
16575
16576 for toolkit in $ALL_TOOLKITS; do
16577 var=wxUSE_$toolkit
16578 eval "value=\$${var}"
16579 if test "x$value" != x; then
16580 cache_var=CACHE_$toolkit
16581 eval "cache=\$${cache_var}"
16582 if test "$cache" = 1; then
16583 echo "$var=$value" >> ${wx_arg_cache_file}
16584 eval "version=\$wx${toolkit}_VERSION"
16585 if test "x$version" != "x"; then
16586 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
16587 fi
16588 fi
16589 if test "$value" = 1; then
16590 toolkit_echo=`echo $toolkit | tr A-Z a-z`
16591 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
16592 echo "${ECHO_T}$toolkit_echo" >&6; }
16593 fi
16594 fi
16595 done
16596 else
16597 if test "x$host_alias" != "x"; then
16598 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
16599 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
16600 else
16601 { echo "$as_me:$LINENO: result: base only" >&5
16602 echo "${ECHO_T}base only" >&6; }
16603 fi
16604 fi
16605
16606
16607 cat >confcache <<\_ACEOF
16608 # This file is a shell script that caches the results of configure
16609 # tests run on this system so they can be shared between configure
16610 # scripts and configure runs, see configure's option --config-cache.
16611 # It is not useful on other systems. If it contains results you don't
16612 # want to keep, you may remove or edit it.
16613 #
16614 # config.status only pays attention to the cache file if you give it
16615 # the --recheck option to rerun configure.
16616 #
16617 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16618 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16619 # following values.
16620
16621 _ACEOF
16622
16623 # The following way of writing the cache mishandles newlines in values,
16624 # but we know of no workaround that is simple, portable, and efficient.
16625 # So, we kill variables containing newlines.
16626 # Ultrix sh set writes to stderr and can't be redirected directly,
16627 # and sets the high bit in the cache file unless we assign to the vars.
16628 (
16629 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16630 eval ac_val=\$$ac_var
16631 case $ac_val in #(
16632 *${as_nl}*)
16633 case $ac_var in #(
16634 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
16635 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
16636 esac
16637 case $ac_var in #(
16638 _ | IFS | as_nl) ;; #(
16639 *) $as_unset $ac_var ;;
16640 esac ;;
16641 esac
16642 done
16643
16644 (set) 2>&1 |
16645 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16646 *${as_nl}ac_space=\ *)
16647 # `set' does not quote correctly, so add quotes (double-quote
16648 # substitution turns \\\\ into \\, and sed turns \\ into \).
16649 sed -n \
16650 "s/'/'\\\\''/g;
16651 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16652 ;; #(
16653 *)
16654 # `set' quotes correctly as required by POSIX, so do not add quotes.
16655 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16656 ;;
16657 esac |
16658 sort
16659 ) |
16660 sed '
16661 /^ac_cv_env_/b end
16662 t clear
16663 :clear
16664 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16665 t end
16666 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16667 :end' >>confcache
16668 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16669 if test -w "$cache_file"; then
16670 test "x$cache_file" != "x/dev/null" &&
16671 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
16672 echo "$as_me: updating cache $cache_file" >&6;}
16673 cat confcache >$cache_file
16674 else
16675 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
16676 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16677 fi
16678 fi
16679 rm -f confcache
16680
16681 CFLAGS=${CFLAGS:=}
16682
16683
16684
16685 ac_ext=c
16686 ac_cpp='$CPP $CPPFLAGS'
16687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16690 if test -n "$ac_tool_prefix"; then
16691 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
16692 set dummy ${ac_tool_prefix}gcc; ac_word=$2
16693 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16694 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16695 if test "${ac_cv_prog_CC+set}" = set; then
16696 echo $ECHO_N "(cached) $ECHO_C" >&6
16697 else
16698 if test -n "$CC"; then
16699 ac_cv_prog_CC="$CC" # Let the user override the test.
16700 else
16701 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16702 for as_dir in $PATH
16703 do
16704 IFS=$as_save_IFS
16705 test -z "$as_dir" && as_dir=.
16706 for ac_exec_ext in '' $ac_executable_extensions; do
16707 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16708 ac_cv_prog_CC="${ac_tool_prefix}gcc"
16709 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16710 break 2
16711 fi
16712 done
16713 done
16714 IFS=$as_save_IFS
16715
16716 fi
16717 fi
16718 CC=$ac_cv_prog_CC
16719 if test -n "$CC"; then
16720 { echo "$as_me:$LINENO: result: $CC" >&5
16721 echo "${ECHO_T}$CC" >&6; }
16722 else
16723 { echo "$as_me:$LINENO: result: no" >&5
16724 echo "${ECHO_T}no" >&6; }
16725 fi
16726
16727
16728 fi
16729 if test -z "$ac_cv_prog_CC"; then
16730 ac_ct_CC=$CC
16731 # Extract the first word of "gcc", so it can be a program name with args.
16732 set dummy gcc; ac_word=$2
16733 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16734 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16735 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
16736 echo $ECHO_N "(cached) $ECHO_C" >&6
16737 else
16738 if test -n "$ac_ct_CC"; then
16739 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
16740 else
16741 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16742 for as_dir in $PATH
16743 do
16744 IFS=$as_save_IFS
16745 test -z "$as_dir" && as_dir=.
16746 for ac_exec_ext in '' $ac_executable_extensions; do
16747 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16748 ac_cv_prog_ac_ct_CC="gcc"
16749 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16750 break 2
16751 fi
16752 done
16753 done
16754 IFS=$as_save_IFS
16755
16756 fi
16757 fi
16758 ac_ct_CC=$ac_cv_prog_ac_ct_CC
16759 if test -n "$ac_ct_CC"; then
16760 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
16761 echo "${ECHO_T}$ac_ct_CC" >&6; }
16762 else
16763 { echo "$as_me:$LINENO: result: no" >&5
16764 echo "${ECHO_T}no" >&6; }
16765 fi
16766
16767 if test "x$ac_ct_CC" = x; then
16768 CC=""
16769 else
16770 case $cross_compiling:$ac_tool_warned in
16771 yes:)
16772 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16773 whose name does not start with the host triplet. If you think this
16774 configuration is useful to you, please write to autoconf@gnu.org." >&5
16775 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16776 whose name does not start with the host triplet. If you think this
16777 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16778 ac_tool_warned=yes ;;
16779 esac
16780 CC=$ac_ct_CC
16781 fi
16782 else
16783 CC="$ac_cv_prog_CC"
16784 fi
16785
16786 if test -z "$CC"; then
16787 if test -n "$ac_tool_prefix"; then
16788 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
16789 set dummy ${ac_tool_prefix}cc; ac_word=$2
16790 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16791 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16792 if test "${ac_cv_prog_CC+set}" = set; then
16793 echo $ECHO_N "(cached) $ECHO_C" >&6
16794 else
16795 if test -n "$CC"; then
16796 ac_cv_prog_CC="$CC" # Let the user override the test.
16797 else
16798 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16799 for as_dir in $PATH
16800 do
16801 IFS=$as_save_IFS
16802 test -z "$as_dir" && as_dir=.
16803 for ac_exec_ext in '' $ac_executable_extensions; do
16804 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16805 ac_cv_prog_CC="${ac_tool_prefix}cc"
16806 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16807 break 2
16808 fi
16809 done
16810 done
16811 IFS=$as_save_IFS
16812
16813 fi
16814 fi
16815 CC=$ac_cv_prog_CC
16816 if test -n "$CC"; then
16817 { echo "$as_me:$LINENO: result: $CC" >&5
16818 echo "${ECHO_T}$CC" >&6; }
16819 else
16820 { echo "$as_me:$LINENO: result: no" >&5
16821 echo "${ECHO_T}no" >&6; }
16822 fi
16823
16824
16825 fi
16826 fi
16827 if test -z "$CC"; then
16828 # Extract the first word of "cc", so it can be a program name with args.
16829 set dummy cc; ac_word=$2
16830 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16831 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16832 if test "${ac_cv_prog_CC+set}" = set; then
16833 echo $ECHO_N "(cached) $ECHO_C" >&6
16834 else
16835 if test -n "$CC"; then
16836 ac_cv_prog_CC="$CC" # Let the user override the test.
16837 else
16838 ac_prog_rejected=no
16839 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16840 for as_dir in $PATH
16841 do
16842 IFS=$as_save_IFS
16843 test -z "$as_dir" && as_dir=.
16844 for ac_exec_ext in '' $ac_executable_extensions; do
16845 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16846 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
16847 ac_prog_rejected=yes
16848 continue
16849 fi
16850 ac_cv_prog_CC="cc"
16851 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16852 break 2
16853 fi
16854 done
16855 done
16856 IFS=$as_save_IFS
16857
16858 if test $ac_prog_rejected = yes; then
16859 # We found a bogon in the path, so make sure we never use it.
16860 set dummy $ac_cv_prog_CC
16861 shift
16862 if test $# != 0; then
16863 # We chose a different compiler from the bogus one.
16864 # However, it has the same basename, so the bogon will be chosen
16865 # first if we set CC to just the basename; use the full file name.
16866 shift
16867 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
16868 fi
16869 fi
16870 fi
16871 fi
16872 CC=$ac_cv_prog_CC
16873 if test -n "$CC"; then
16874 { echo "$as_me:$LINENO: result: $CC" >&5
16875 echo "${ECHO_T}$CC" >&6; }
16876 else
16877 { echo "$as_me:$LINENO: result: no" >&5
16878 echo "${ECHO_T}no" >&6; }
16879 fi
16880
16881
16882 fi
16883 if test -z "$CC"; then
16884 if test -n "$ac_tool_prefix"; then
16885 for ac_prog in cl.exe
16886 do
16887 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16888 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16889 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16890 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16891 if test "${ac_cv_prog_CC+set}" = set; then
16892 echo $ECHO_N "(cached) $ECHO_C" >&6
16893 else
16894 if test -n "$CC"; then
16895 ac_cv_prog_CC="$CC" # Let the user override the test.
16896 else
16897 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16898 for as_dir in $PATH
16899 do
16900 IFS=$as_save_IFS
16901 test -z "$as_dir" && as_dir=.
16902 for ac_exec_ext in '' $ac_executable_extensions; do
16903 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16904 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
16905 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16906 break 2
16907 fi
16908 done
16909 done
16910 IFS=$as_save_IFS
16911
16912 fi
16913 fi
16914 CC=$ac_cv_prog_CC
16915 if test -n "$CC"; then
16916 { echo "$as_me:$LINENO: result: $CC" >&5
16917 echo "${ECHO_T}$CC" >&6; }
16918 else
16919 { echo "$as_me:$LINENO: result: no" >&5
16920 echo "${ECHO_T}no" >&6; }
16921 fi
16922
16923
16924 test -n "$CC" && break
16925 done
16926 fi
16927 if test -z "$CC"; then
16928 ac_ct_CC=$CC
16929 for ac_prog in cl.exe
16930 do
16931 # Extract the first word of "$ac_prog", so it can be a program name with args.
16932 set dummy $ac_prog; ac_word=$2
16933 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16934 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16935 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
16936 echo $ECHO_N "(cached) $ECHO_C" >&6
16937 else
16938 if test -n "$ac_ct_CC"; then
16939 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
16940 else
16941 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16942 for as_dir in $PATH
16943 do
16944 IFS=$as_save_IFS
16945 test -z "$as_dir" && as_dir=.
16946 for ac_exec_ext in '' $ac_executable_extensions; do
16947 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16948 ac_cv_prog_ac_ct_CC="$ac_prog"
16949 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16950 break 2
16951 fi
16952 done
16953 done
16954 IFS=$as_save_IFS
16955
16956 fi
16957 fi
16958 ac_ct_CC=$ac_cv_prog_ac_ct_CC
16959 if test -n "$ac_ct_CC"; then
16960 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
16961 echo "${ECHO_T}$ac_ct_CC" >&6; }
16962 else
16963 { echo "$as_me:$LINENO: result: no" >&5
16964 echo "${ECHO_T}no" >&6; }
16965 fi
16966
16967
16968 test -n "$ac_ct_CC" && break
16969 done
16970
16971 if test "x$ac_ct_CC" = x; then
16972 CC=""
16973 else
16974 case $cross_compiling:$ac_tool_warned in
16975 yes:)
16976 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16977 whose name does not start with the host triplet. If you think this
16978 configuration is useful to you, please write to autoconf@gnu.org." >&5
16979 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16980 whose name does not start with the host triplet. If you think this
16981 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16982 ac_tool_warned=yes ;;
16983 esac
16984 CC=$ac_ct_CC
16985 fi
16986 fi
16987
16988 fi
16989
16990
16991 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
16992 See \`config.log' for more details." >&5
16993 echo "$as_me: error: no acceptable C compiler found in \$PATH
16994 See \`config.log' for more details." >&2;}
16995 { (exit 1); exit 1; }; }
16996
16997 # Provide some information about the compiler.
16998 echo "$as_me:$LINENO: checking for C compiler version" >&5
16999 ac_compiler=`set X $ac_compile; echo $2`
17000 { (ac_try="$ac_compiler --version >&5"
17001 case "(($ac_try" in
17002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17003 *) ac_try_echo=$ac_try;;
17004 esac
17005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17006 (eval "$ac_compiler --version >&5") 2>&5
17007 ac_status=$?
17008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17009 (exit $ac_status); }
17010 { (ac_try="$ac_compiler -v >&5"
17011 case "(($ac_try" in
17012 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17013 *) ac_try_echo=$ac_try;;
17014 esac
17015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17016 (eval "$ac_compiler -v >&5") 2>&5
17017 ac_status=$?
17018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17019 (exit $ac_status); }
17020 { (ac_try="$ac_compiler -V >&5"
17021 case "(($ac_try" in
17022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17023 *) ac_try_echo=$ac_try;;
17024 esac
17025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17026 (eval "$ac_compiler -V >&5") 2>&5
17027 ac_status=$?
17028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17029 (exit $ac_status); }
17030
17031 cat >conftest.$ac_ext <<_ACEOF
17032 /* confdefs.h. */
17033 _ACEOF
17034 cat confdefs.h >>conftest.$ac_ext
17035 cat >>conftest.$ac_ext <<_ACEOF
17036 /* end confdefs.h. */
17037
17038 int
17039 main ()
17040 {
17041
17042 ;
17043 return 0;
17044 }
17045 _ACEOF
17046 ac_clean_files_save=$ac_clean_files
17047 ac_clean_files="$ac_clean_files a.out a.exe b.out"
17048 # Try to create an executable without -o first, disregard a.out.
17049 # It will help us diagnose broken compilers, and finding out an intuition
17050 # of exeext.
17051 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
17052 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
17053 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
17054 #
17055 # List of possible output files, starting from the most likely.
17056 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
17057 # only as a last resort. b.out is created by i960 compilers.
17058 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
17059 #
17060 # The IRIX 6 linker writes into existing files which may not be
17061 # executable, retaining their permissions. Remove them first so a
17062 # subsequent execution test works.
17063 ac_rmfiles=
17064 for ac_file in $ac_files
17065 do
17066 case $ac_file in
17067 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
17068 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
17069 esac
17070 done
17071 rm -f $ac_rmfiles
17072
17073 if { (ac_try="$ac_link_default"
17074 case "(($ac_try" in
17075 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17076 *) ac_try_echo=$ac_try;;
17077 esac
17078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17079 (eval "$ac_link_default") 2>&5
17080 ac_status=$?
17081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17082 (exit $ac_status); }; then
17083 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
17084 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
17085 # in a Makefile. We should not override ac_cv_exeext if it was cached,
17086 # so that the user can short-circuit this test for compilers unknown to
17087 # Autoconf.
17088 for ac_file in $ac_files ''
17089 do
17090 test -f "$ac_file" || continue
17091 case $ac_file in
17092 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
17093 ;;
17094 [ab].out )
17095 # We found the default executable, but exeext='' is most
17096 # certainly right.
17097 break;;
17098 *.* )
17099 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
17100 then :; else
17101 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
17102 fi
17103 # We set ac_cv_exeext here because the later test for it is not
17104 # safe: cross compilers may not add the suffix if given an `-o'
17105 # argument, so we may need to know it at that point already.
17106 # Even if this section looks crufty: it has the advantage of
17107 # actually working.
17108 break;;
17109 * )
17110 break;;
17111 esac
17112 done
17113 test "$ac_cv_exeext" = no && ac_cv_exeext=
17114
17115 else
17116 ac_file=''
17117 fi
17118
17119 { echo "$as_me:$LINENO: result: $ac_file" >&5
17120 echo "${ECHO_T}$ac_file" >&6; }
17121 if test -z "$ac_file"; then
17122 echo "$as_me: failed program was:" >&5
17123 sed 's/^/| /' conftest.$ac_ext >&5
17124
17125 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
17126 See \`config.log' for more details." >&5
17127 echo "$as_me: error: C compiler cannot create executables
17128 See \`config.log' for more details." >&2;}
17129 { (exit 77); exit 77; }; }
17130 fi
17131
17132 ac_exeext=$ac_cv_exeext
17133
17134 # Check that the compiler produces executables we can run. If not, either
17135 # the compiler is broken, or we cross compile.
17136 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
17137 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
17138 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
17139 # If not cross compiling, check that we can run a simple program.
17140 if test "$cross_compiling" != yes; then
17141 if { ac_try='./$ac_file'
17142 { (case "(($ac_try" in
17143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17144 *) ac_try_echo=$ac_try;;
17145 esac
17146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17147 (eval "$ac_try") 2>&5
17148 ac_status=$?
17149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17150 (exit $ac_status); }; }; then
17151 cross_compiling=no
17152 else
17153 if test "$cross_compiling" = maybe; then
17154 cross_compiling=yes
17155 else
17156 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
17157 If you meant to cross compile, use \`--host'.
17158 See \`config.log' for more details." >&5
17159 echo "$as_me: error: cannot run C compiled programs.
17160 If you meant to cross compile, use \`--host'.
17161 See \`config.log' for more details." >&2;}
17162 { (exit 1); exit 1; }; }
17163 fi
17164 fi
17165 fi
17166 { echo "$as_me:$LINENO: result: yes" >&5
17167 echo "${ECHO_T}yes" >&6; }
17168
17169 rm -f a.out a.exe conftest$ac_cv_exeext b.out
17170 ac_clean_files=$ac_clean_files_save
17171 # Check that the compiler produces executables we can run. If not, either
17172 # the compiler is broken, or we cross compile.
17173 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
17174 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
17175 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
17176 echo "${ECHO_T}$cross_compiling" >&6; }
17177
17178 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
17179 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
17180 if { (ac_try="$ac_link"
17181 case "(($ac_try" in
17182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17183 *) ac_try_echo=$ac_try;;
17184 esac
17185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17186 (eval "$ac_link") 2>&5
17187 ac_status=$?
17188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17189 (exit $ac_status); }; then
17190 # If both `conftest.exe' and `conftest' are `present' (well, observable)
17191 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
17192 # work properly (i.e., refer to `conftest.exe'), while it won't with
17193 # `rm'.
17194 for ac_file in conftest.exe conftest conftest.*; do
17195 test -f "$ac_file" || continue
17196 case $ac_file in
17197 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
17198 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
17199 break;;
17200 * ) break;;
17201 esac
17202 done
17203 else
17204 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
17205 See \`config.log' for more details." >&5
17206 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
17207 See \`config.log' for more details." >&2;}
17208 { (exit 1); exit 1; }; }
17209 fi
17210
17211 rm -f conftest$ac_cv_exeext
17212 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
17213 echo "${ECHO_T}$ac_cv_exeext" >&6; }
17214
17215 rm -f conftest.$ac_ext
17216 EXEEXT=$ac_cv_exeext
17217 ac_exeext=$EXEEXT
17218 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
17219 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
17220 if test "${ac_cv_objext+set}" = set; then
17221 echo $ECHO_N "(cached) $ECHO_C" >&6
17222 else
17223 cat >conftest.$ac_ext <<_ACEOF
17224 /* confdefs.h. */
17225 _ACEOF
17226 cat confdefs.h >>conftest.$ac_ext
17227 cat >>conftest.$ac_ext <<_ACEOF
17228 /* end confdefs.h. */
17229
17230 int
17231 main ()
17232 {
17233
17234 ;
17235 return 0;
17236 }
17237 _ACEOF
17238 rm -f conftest.o conftest.obj
17239 if { (ac_try="$ac_compile"
17240 case "(($ac_try" in
17241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17242 *) ac_try_echo=$ac_try;;
17243 esac
17244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17245 (eval "$ac_compile") 2>&5
17246 ac_status=$?
17247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17248 (exit $ac_status); }; then
17249 for ac_file in conftest.o conftest.obj conftest.*; do
17250 test -f "$ac_file" || continue;
17251 case $ac_file in
17252 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
17253 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
17254 break;;
17255 esac
17256 done
17257 else
17258 echo "$as_me: failed program was:" >&5
17259 sed 's/^/| /' conftest.$ac_ext >&5
17260
17261 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
17262 See \`config.log' for more details." >&5
17263 echo "$as_me: error: cannot compute suffix of object files: cannot compile
17264 See \`config.log' for more details." >&2;}
17265 { (exit 1); exit 1; }; }
17266 fi
17267
17268 rm -f conftest.$ac_cv_objext conftest.$ac_ext
17269 fi
17270 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
17271 echo "${ECHO_T}$ac_cv_objext" >&6; }
17272 OBJEXT=$ac_cv_objext
17273 ac_objext=$OBJEXT
17274 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
17275 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
17276 if test "${ac_cv_c_compiler_gnu+set}" = set; then
17277 echo $ECHO_N "(cached) $ECHO_C" >&6
17278 else
17279 cat >conftest.$ac_ext <<_ACEOF
17280 /* confdefs.h. */
17281 _ACEOF
17282 cat confdefs.h >>conftest.$ac_ext
17283 cat >>conftest.$ac_ext <<_ACEOF
17284 /* end confdefs.h. */
17285
17286 int
17287 main ()
17288 {
17289 #ifndef __GNUC__
17290 choke me
17291 #endif
17292
17293 ;
17294 return 0;
17295 }
17296 _ACEOF
17297 rm -f conftest.$ac_objext
17298 if { (ac_try="$ac_compile"
17299 case "(($ac_try" in
17300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17301 *) ac_try_echo=$ac_try;;
17302 esac
17303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17304 (eval "$ac_compile") 2>conftest.er1
17305 ac_status=$?
17306 grep -v '^ *+' conftest.er1 >conftest.err
17307 rm -f conftest.er1
17308 cat conftest.err >&5
17309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17310 (exit $ac_status); } && {
17311 test -z "$ac_c_werror_flag" ||
17312 test ! -s conftest.err
17313 } && test -s conftest.$ac_objext; then
17314 ac_compiler_gnu=yes
17315 else
17316 echo "$as_me: failed program was:" >&5
17317 sed 's/^/| /' conftest.$ac_ext >&5
17318
17319 ac_compiler_gnu=no
17320 fi
17321
17322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17323 ac_cv_c_compiler_gnu=$ac_compiler_gnu
17324
17325 fi
17326 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
17327 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
17328 GCC=`test $ac_compiler_gnu = yes && echo yes`
17329 ac_test_CFLAGS=${CFLAGS+set}
17330 ac_save_CFLAGS=$CFLAGS
17331 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
17332 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
17333 if test "${ac_cv_prog_cc_g+set}" = set; then
17334 echo $ECHO_N "(cached) $ECHO_C" >&6
17335 else
17336 ac_save_c_werror_flag=$ac_c_werror_flag
17337 ac_c_werror_flag=yes
17338 ac_cv_prog_cc_g=no
17339 CFLAGS="-g"
17340 cat >conftest.$ac_ext <<_ACEOF
17341 /* confdefs.h. */
17342 _ACEOF
17343 cat confdefs.h >>conftest.$ac_ext
17344 cat >>conftest.$ac_ext <<_ACEOF
17345 /* end confdefs.h. */
17346
17347 int
17348 main ()
17349 {
17350
17351 ;
17352 return 0;
17353 }
17354 _ACEOF
17355 rm -f conftest.$ac_objext
17356 if { (ac_try="$ac_compile"
17357 case "(($ac_try" in
17358 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17359 *) ac_try_echo=$ac_try;;
17360 esac
17361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17362 (eval "$ac_compile") 2>conftest.er1
17363 ac_status=$?
17364 grep -v '^ *+' conftest.er1 >conftest.err
17365 rm -f conftest.er1
17366 cat conftest.err >&5
17367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17368 (exit $ac_status); } && {
17369 test -z "$ac_c_werror_flag" ||
17370 test ! -s conftest.err
17371 } && test -s conftest.$ac_objext; then
17372 ac_cv_prog_cc_g=yes
17373 else
17374 echo "$as_me: failed program was:" >&5
17375 sed 's/^/| /' conftest.$ac_ext >&5
17376
17377 CFLAGS=""
17378 cat >conftest.$ac_ext <<_ACEOF
17379 /* confdefs.h. */
17380 _ACEOF
17381 cat confdefs.h >>conftest.$ac_ext
17382 cat >>conftest.$ac_ext <<_ACEOF
17383 /* end confdefs.h. */
17384
17385 int
17386 main ()
17387 {
17388
17389 ;
17390 return 0;
17391 }
17392 _ACEOF
17393 rm -f conftest.$ac_objext
17394 if { (ac_try="$ac_compile"
17395 case "(($ac_try" in
17396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17397 *) ac_try_echo=$ac_try;;
17398 esac
17399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17400 (eval "$ac_compile") 2>conftest.er1
17401 ac_status=$?
17402 grep -v '^ *+' conftest.er1 >conftest.err
17403 rm -f conftest.er1
17404 cat conftest.err >&5
17405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17406 (exit $ac_status); } && {
17407 test -z "$ac_c_werror_flag" ||
17408 test ! -s conftest.err
17409 } && test -s conftest.$ac_objext; then
17410 :
17411 else
17412 echo "$as_me: failed program was:" >&5
17413 sed 's/^/| /' conftest.$ac_ext >&5
17414
17415 ac_c_werror_flag=$ac_save_c_werror_flag
17416 CFLAGS="-g"
17417 cat >conftest.$ac_ext <<_ACEOF
17418 /* confdefs.h. */
17419 _ACEOF
17420 cat confdefs.h >>conftest.$ac_ext
17421 cat >>conftest.$ac_ext <<_ACEOF
17422 /* end confdefs.h. */
17423
17424 int
17425 main ()
17426 {
17427
17428 ;
17429 return 0;
17430 }
17431 _ACEOF
17432 rm -f conftest.$ac_objext
17433 if { (ac_try="$ac_compile"
17434 case "(($ac_try" in
17435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17436 *) ac_try_echo=$ac_try;;
17437 esac
17438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17439 (eval "$ac_compile") 2>conftest.er1
17440 ac_status=$?
17441 grep -v '^ *+' conftest.er1 >conftest.err
17442 rm -f conftest.er1
17443 cat conftest.err >&5
17444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17445 (exit $ac_status); } && {
17446 test -z "$ac_c_werror_flag" ||
17447 test ! -s conftest.err
17448 } && test -s conftest.$ac_objext; then
17449 ac_cv_prog_cc_g=yes
17450 else
17451 echo "$as_me: failed program was:" >&5
17452 sed 's/^/| /' conftest.$ac_ext >&5
17453
17454
17455 fi
17456
17457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17458 fi
17459
17460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17461 fi
17462
17463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17464 ac_c_werror_flag=$ac_save_c_werror_flag
17465 fi
17466 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
17467 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
17468 if test "$ac_test_CFLAGS" = set; then
17469 CFLAGS=$ac_save_CFLAGS
17470 elif test $ac_cv_prog_cc_g = yes; then
17471 if test "$GCC" = yes; then
17472 CFLAGS="-g -O2"
17473 else
17474 CFLAGS="-g"
17475 fi
17476 else
17477 if test "$GCC" = yes; then
17478 CFLAGS="-O2"
17479 else
17480 CFLAGS=
17481 fi
17482 fi
17483 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
17484 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
17485 if test "${ac_cv_prog_cc_c89+set}" = set; then
17486 echo $ECHO_N "(cached) $ECHO_C" >&6
17487 else
17488 ac_cv_prog_cc_c89=no
17489 ac_save_CC=$CC
17490 cat >conftest.$ac_ext <<_ACEOF
17491 /* confdefs.h. */
17492 _ACEOF
17493 cat confdefs.h >>conftest.$ac_ext
17494 cat >>conftest.$ac_ext <<_ACEOF
17495 /* end confdefs.h. */
17496 #include <stdarg.h>
17497 #include <stdio.h>
17498 #include <sys/types.h>
17499 #include <sys/stat.h>
17500 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
17501 struct buf { int x; };
17502 FILE * (*rcsopen) (struct buf *, struct stat *, int);
17503 static char *e (p, i)
17504 char **p;
17505 int i;
17506 {
17507 return p[i];
17508 }
17509 static char *f (char * (*g) (char **, int), char **p, ...)
17510 {
17511 char *s;
17512 va_list v;
17513 va_start (v,p);
17514 s = g (p, va_arg (v,int));
17515 va_end (v);
17516 return s;
17517 }
17518
17519 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
17520 function prototypes and stuff, but not '\xHH' hex character constants.
17521 These don't provoke an error unfortunately, instead are silently treated
17522 as 'x'. The following induces an error, until -std is added to get
17523 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
17524 array size at least. It's necessary to write '\x00'==0 to get something
17525 that's true only with -std. */
17526 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
17527
17528 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
17529 inside strings and character constants. */
17530 #define FOO(x) 'x'
17531 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
17532
17533 int test (int i, double x);
17534 struct s1 {int (*f) (int a);};
17535 struct s2 {int (*f) (double a);};
17536 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
17537 int argc;
17538 char **argv;
17539 int
17540 main ()
17541 {
17542 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
17543 ;
17544 return 0;
17545 }
17546 _ACEOF
17547 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
17548 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
17549 do
17550 CC="$ac_save_CC $ac_arg"
17551 rm -f conftest.$ac_objext
17552 if { (ac_try="$ac_compile"
17553 case "(($ac_try" in
17554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17555 *) ac_try_echo=$ac_try;;
17556 esac
17557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17558 (eval "$ac_compile") 2>conftest.er1
17559 ac_status=$?
17560 grep -v '^ *+' conftest.er1 >conftest.err
17561 rm -f conftest.er1
17562 cat conftest.err >&5
17563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17564 (exit $ac_status); } && {
17565 test -z "$ac_c_werror_flag" ||
17566 test ! -s conftest.err
17567 } && test -s conftest.$ac_objext; then
17568 ac_cv_prog_cc_c89=$ac_arg
17569 else
17570 echo "$as_me: failed program was:" >&5
17571 sed 's/^/| /' conftest.$ac_ext >&5
17572
17573
17574 fi
17575
17576 rm -f core conftest.err conftest.$ac_objext
17577 test "x$ac_cv_prog_cc_c89" != "xno" && break
17578 done
17579 rm -f conftest.$ac_ext
17580 CC=$ac_save_CC
17581
17582 fi
17583 # AC_CACHE_VAL
17584 case "x$ac_cv_prog_cc_c89" in
17585 x)
17586 { echo "$as_me:$LINENO: result: none needed" >&5
17587 echo "${ECHO_T}none needed" >&6; } ;;
17588 xno)
17589 { echo "$as_me:$LINENO: result: unsupported" >&5
17590 echo "${ECHO_T}unsupported" >&6; } ;;
17591 *)
17592 CC="$CC $ac_cv_prog_cc_c89"
17593 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
17594 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
17595 esac
17596
17597
17598 ac_ext=c
17599 ac_cpp='$CPP $CPPFLAGS'
17600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17603
17604
17605
17606
17607 ac_ext=c
17608 ac_cpp='$CPP $CPPFLAGS'
17609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17612
17613 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
17614 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
17615 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
17616 echo $ECHO_N "(cached) $ECHO_C" >&6
17617 else
17618 cat >conftest.$ac_ext <<_ACEOF
17619 /* confdefs.h. */
17620 _ACEOF
17621 cat confdefs.h >>conftest.$ac_ext
17622 cat >>conftest.$ac_ext <<_ACEOF
17623 /* end confdefs.h. */
17624
17625 int
17626 main ()
17627 {
17628
17629 #ifndef __INTEL_COMPILER
17630 choke me
17631 #endif
17632
17633 ;
17634 return 0;
17635 }
17636 _ACEOF
17637 rm -f conftest.$ac_objext
17638 if { (ac_try="$ac_compile"
17639 case "(($ac_try" in
17640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17641 *) ac_try_echo=$ac_try;;
17642 esac
17643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17644 (eval "$ac_compile") 2>conftest.er1
17645 ac_status=$?
17646 grep -v '^ *+' conftest.er1 >conftest.err
17647 rm -f conftest.er1
17648 cat conftest.err >&5
17649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17650 (exit $ac_status); } && {
17651 test -z "$ac_c_werror_flag" ||
17652 test ! -s conftest.err
17653 } && test -s conftest.$ac_objext; then
17654 bakefile_cv_c_compiler___INTEL_COMPILER=yes
17655 else
17656 echo "$as_me: failed program was:" >&5
17657 sed 's/^/| /' conftest.$ac_ext >&5
17658
17659 bakefile_cv_c_compiler___INTEL_COMPILER=no
17660
17661 fi
17662
17663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17664
17665
17666 fi
17667 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
17668 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
17669 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
17670 :; INTELCC=yes
17671 else
17672 :;
17673 fi
17674 ac_ext=c
17675 ac_cpp='$CPP $CPPFLAGS'
17676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17679
17680
17681
17682
17683 if test "x$GCC" != "xyes"; then
17684 if test "xCC" = "xC"; then
17685 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
17686 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
17687 if test "${bakefile_cv_c_exto+set}" = set; then
17688 echo $ECHO_N "(cached) $ECHO_C" >&6
17689 else
17690 cat >conftest.$ac_ext <<_ACEOF
17691 /* confdefs.h. */
17692 _ACEOF
17693 cat confdefs.h >>conftest.$ac_ext
17694 cat >>conftest.$ac_ext <<_ACEOF
17695 /* end confdefs.h. */
17696
17697 int
17698 main ()
17699 {
17700
17701 ;
17702 return 0;
17703 }
17704 _ACEOF
17705 rm -f conftest.$ac_objext conftest.$ac_ext.o
17706 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17707 (eval $ac_compile) 2>&5
17708 ac_status=$?
17709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17710 (exit $ac_status); }; then
17711 for ac_file in `(ls conftest.* 2>/dev/null)`; do
17712 case $ac_file in
17713 conftest.$ac_ext.o)
17714 bakefile_cv_c_exto="-ext o"
17715 ;;
17716 *)
17717 ;;
17718 esac
17719 done
17720 else
17721 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
17722 See \`config.log' for more details." >&5
17723 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
17724 See \`config.log' for more details." >&2;}
17725 { (exit 1); exit 1; }; }
17726
17727 fi
17728
17729 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
17730
17731 fi
17732 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
17733 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
17734 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17735 if test "c" = "c"; then
17736 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
17737 fi
17738 if test "c" = "cxx"; then
17739 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
17740 fi
17741 fi
17742
17743 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17744 unset ac_cv_prog_cc_g
17745 ac_test_CFLAGS=${CFLAGS+set}
17746 ac_save_CFLAGS=$CFLAGS
17747 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
17748 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
17749 if test "${ac_cv_prog_cc_g+set}" = set; then
17750 echo $ECHO_N "(cached) $ECHO_C" >&6
17751 else
17752 ac_save_c_werror_flag=$ac_c_werror_flag
17753 ac_c_werror_flag=yes
17754 ac_cv_prog_cc_g=no
17755 CFLAGS="-g"
17756 cat >conftest.$ac_ext <<_ACEOF
17757 /* confdefs.h. */
17758 _ACEOF
17759 cat confdefs.h >>conftest.$ac_ext
17760 cat >>conftest.$ac_ext <<_ACEOF
17761 /* end confdefs.h. */
17762
17763 int
17764 main ()
17765 {
17766
17767 ;
17768 return 0;
17769 }
17770 _ACEOF
17771 rm -f conftest.$ac_objext
17772 if { (ac_try="$ac_compile"
17773 case "(($ac_try" in
17774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17775 *) ac_try_echo=$ac_try;;
17776 esac
17777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17778 (eval "$ac_compile") 2>conftest.er1
17779 ac_status=$?
17780 grep -v '^ *+' conftest.er1 >conftest.err
17781 rm -f conftest.er1
17782 cat conftest.err >&5
17783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17784 (exit $ac_status); } && {
17785 test -z "$ac_c_werror_flag" ||
17786 test ! -s conftest.err
17787 } && test -s conftest.$ac_objext; then
17788 ac_cv_prog_cc_g=yes
17789 else
17790 echo "$as_me: failed program was:" >&5
17791 sed 's/^/| /' conftest.$ac_ext >&5
17792
17793 CFLAGS=""
17794 cat >conftest.$ac_ext <<_ACEOF
17795 /* confdefs.h. */
17796 _ACEOF
17797 cat confdefs.h >>conftest.$ac_ext
17798 cat >>conftest.$ac_ext <<_ACEOF
17799 /* end confdefs.h. */
17800
17801 int
17802 main ()
17803 {
17804
17805 ;
17806 return 0;
17807 }
17808 _ACEOF
17809 rm -f conftest.$ac_objext
17810 if { (ac_try="$ac_compile"
17811 case "(($ac_try" in
17812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17813 *) ac_try_echo=$ac_try;;
17814 esac
17815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17816 (eval "$ac_compile") 2>conftest.er1
17817 ac_status=$?
17818 grep -v '^ *+' conftest.er1 >conftest.err
17819 rm -f conftest.er1
17820 cat conftest.err >&5
17821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17822 (exit $ac_status); } && {
17823 test -z "$ac_c_werror_flag" ||
17824 test ! -s conftest.err
17825 } && test -s conftest.$ac_objext; then
17826 :
17827 else
17828 echo "$as_me: failed program was:" >&5
17829 sed 's/^/| /' conftest.$ac_ext >&5
17830
17831 ac_c_werror_flag=$ac_save_c_werror_flag
17832 CFLAGS="-g"
17833 cat >conftest.$ac_ext <<_ACEOF
17834 /* confdefs.h. */
17835 _ACEOF
17836 cat confdefs.h >>conftest.$ac_ext
17837 cat >>conftest.$ac_ext <<_ACEOF
17838 /* end confdefs.h. */
17839
17840 int
17841 main ()
17842 {
17843
17844 ;
17845 return 0;
17846 }
17847 _ACEOF
17848 rm -f conftest.$ac_objext
17849 if { (ac_try="$ac_compile"
17850 case "(($ac_try" in
17851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17852 *) ac_try_echo=$ac_try;;
17853 esac
17854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17855 (eval "$ac_compile") 2>conftest.er1
17856 ac_status=$?
17857 grep -v '^ *+' conftest.er1 >conftest.err
17858 rm -f conftest.er1
17859 cat conftest.err >&5
17860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17861 (exit $ac_status); } && {
17862 test -z "$ac_c_werror_flag" ||
17863 test ! -s conftest.err
17864 } && test -s conftest.$ac_objext; then
17865 ac_cv_prog_cc_g=yes
17866 else
17867 echo "$as_me: failed program was:" >&5
17868 sed 's/^/| /' conftest.$ac_ext >&5
17869
17870
17871 fi
17872
17873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17874 fi
17875
17876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17877 fi
17878
17879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17880 ac_c_werror_flag=$ac_save_c_werror_flag
17881 fi
17882 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
17883 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
17884 if test "$ac_test_CFLAGS" = set; then
17885 CFLAGS=$ac_save_CFLAGS
17886 elif test $ac_cv_prog_cc_g = yes; then
17887 if test "$GCC" = yes; then
17888 CFLAGS="-g -O2"
17889 else
17890 CFLAGS="-g"
17891 fi
17892 else
17893 if test "$GCC" = yes; then
17894 CFLAGS="-O2"
17895 else
17896 CFLAGS=
17897 fi
17898 fi
17899 fi
17900 fi
17901
17902 case `uname -s` in
17903 AIX*)
17904
17905
17906 ac_ext=c
17907 ac_cpp='$CPP $CPPFLAGS'
17908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17911
17912 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
17913 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
17914 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
17915 echo $ECHO_N "(cached) $ECHO_C" >&6
17916 else
17917 cat >conftest.$ac_ext <<_ACEOF
17918 /* confdefs.h. */
17919 _ACEOF
17920 cat confdefs.h >>conftest.$ac_ext
17921 cat >>conftest.$ac_ext <<_ACEOF
17922 /* end confdefs.h. */
17923
17924 int
17925 main ()
17926 {
17927
17928 #ifndef __xlC__
17929 choke me
17930 #endif
17931
17932 ;
17933 return 0;
17934 }
17935 _ACEOF
17936 rm -f conftest.$ac_objext
17937 if { (ac_try="$ac_compile"
17938 case "(($ac_try" in
17939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17940 *) ac_try_echo=$ac_try;;
17941 esac
17942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17943 (eval "$ac_compile") 2>conftest.er1
17944 ac_status=$?
17945 grep -v '^ *+' conftest.er1 >conftest.err
17946 rm -f conftest.er1
17947 cat conftest.err >&5
17948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17949 (exit $ac_status); } && {
17950 test -z "$ac_c_werror_flag" ||
17951 test ! -s conftest.err
17952 } && test -s conftest.$ac_objext; then
17953 bakefile_cv_c_compiler___xlC__=yes
17954 else
17955 echo "$as_me: failed program was:" >&5
17956 sed 's/^/| /' conftest.$ac_ext >&5
17957
17958 bakefile_cv_c_compiler___xlC__=no
17959
17960 fi
17961
17962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17963
17964
17965 fi
17966 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
17967 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
17968 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
17969 :; XLCC=yes
17970 else
17971 :;
17972 fi
17973 ac_ext=c
17974 ac_cpp='$CPP $CPPFLAGS'
17975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17978
17979
17980
17981 ;;
17982
17983 Darwin)
17984
17985
17986 ac_ext=c
17987 ac_cpp='$CPP $CPPFLAGS'
17988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17991
17992 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
17993 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
17994 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
17995 echo $ECHO_N "(cached) $ECHO_C" >&6
17996 else
17997 cat >conftest.$ac_ext <<_ACEOF
17998 /* confdefs.h. */
17999 _ACEOF
18000 cat confdefs.h >>conftest.$ac_ext
18001 cat >>conftest.$ac_ext <<_ACEOF
18002 /* end confdefs.h. */
18003
18004 int
18005 main ()
18006 {
18007
18008 #ifndef __MWERKS__
18009 choke me
18010 #endif
18011
18012 ;
18013 return 0;
18014 }
18015 _ACEOF
18016 rm -f conftest.$ac_objext
18017 if { (ac_try="$ac_compile"
18018 case "(($ac_try" in
18019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18020 *) ac_try_echo=$ac_try;;
18021 esac
18022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18023 (eval "$ac_compile") 2>conftest.er1
18024 ac_status=$?
18025 grep -v '^ *+' conftest.er1 >conftest.err
18026 rm -f conftest.er1
18027 cat conftest.err >&5
18028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18029 (exit $ac_status); } && {
18030 test -z "$ac_c_werror_flag" ||
18031 test ! -s conftest.err
18032 } && test -s conftest.$ac_objext; then
18033 bakefile_cv_c_compiler___MWERKS__=yes
18034 else
18035 echo "$as_me: failed program was:" >&5
18036 sed 's/^/| /' conftest.$ac_ext >&5
18037
18038 bakefile_cv_c_compiler___MWERKS__=no
18039
18040 fi
18041
18042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18043
18044
18045 fi
18046 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
18047 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
18048 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
18049 :; MWCC=yes
18050 else
18051 :;
18052 fi
18053 ac_ext=c
18054 ac_cpp='$CPP $CPPFLAGS'
18055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18058
18059
18060
18061
18062
18063 ac_ext=c
18064 ac_cpp='$CPP $CPPFLAGS'
18065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18068
18069 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
18070 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
18071 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
18072 echo $ECHO_N "(cached) $ECHO_C" >&6
18073 else
18074 cat >conftest.$ac_ext <<_ACEOF
18075 /* confdefs.h. */
18076 _ACEOF
18077 cat confdefs.h >>conftest.$ac_ext
18078 cat >>conftest.$ac_ext <<_ACEOF
18079 /* end confdefs.h. */
18080
18081 int
18082 main ()
18083 {
18084
18085 #ifndef __xlC__
18086 choke me
18087 #endif
18088
18089 ;
18090 return 0;
18091 }
18092 _ACEOF
18093 rm -f conftest.$ac_objext
18094 if { (ac_try="$ac_compile"
18095 case "(($ac_try" in
18096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18097 *) ac_try_echo=$ac_try;;
18098 esac
18099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18100 (eval "$ac_compile") 2>conftest.er1
18101 ac_status=$?
18102 grep -v '^ *+' conftest.er1 >conftest.err
18103 rm -f conftest.er1
18104 cat conftest.err >&5
18105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18106 (exit $ac_status); } && {
18107 test -z "$ac_c_werror_flag" ||
18108 test ! -s conftest.err
18109 } && test -s conftest.$ac_objext; then
18110 bakefile_cv_c_compiler___xlC__=yes
18111 else
18112 echo "$as_me: failed program was:" >&5
18113 sed 's/^/| /' conftest.$ac_ext >&5
18114
18115 bakefile_cv_c_compiler___xlC__=no
18116
18117 fi
18118
18119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18120
18121
18122 fi
18123 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
18124 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
18125 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
18126 :; XLCC=yes
18127 else
18128 :;
18129 fi
18130 ac_ext=c
18131 ac_cpp='$CPP $CPPFLAGS'
18132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18135
18136
18137
18138 ;;
18139
18140 IRIX*)
18141
18142
18143 ac_ext=c
18144 ac_cpp='$CPP $CPPFLAGS'
18145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18148
18149 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
18150 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
18151 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
18152 echo $ECHO_N "(cached) $ECHO_C" >&6
18153 else
18154 cat >conftest.$ac_ext <<_ACEOF
18155 /* confdefs.h. */
18156 _ACEOF
18157 cat confdefs.h >>conftest.$ac_ext
18158 cat >>conftest.$ac_ext <<_ACEOF
18159 /* end confdefs.h. */
18160
18161 int
18162 main ()
18163 {
18164
18165 #ifndef _SGI_COMPILER_VERSION
18166 choke me
18167 #endif
18168
18169 ;
18170 return 0;
18171 }
18172 _ACEOF
18173 rm -f conftest.$ac_objext
18174 if { (ac_try="$ac_compile"
18175 case "(($ac_try" in
18176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18177 *) ac_try_echo=$ac_try;;
18178 esac
18179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18180 (eval "$ac_compile") 2>conftest.er1
18181 ac_status=$?
18182 grep -v '^ *+' conftest.er1 >conftest.err
18183 rm -f conftest.er1
18184 cat conftest.err >&5
18185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18186 (exit $ac_status); } && {
18187 test -z "$ac_c_werror_flag" ||
18188 test ! -s conftest.err
18189 } && test -s conftest.$ac_objext; then
18190 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
18191 else
18192 echo "$as_me: failed program was:" >&5
18193 sed 's/^/| /' conftest.$ac_ext >&5
18194
18195 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
18196
18197 fi
18198
18199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18200
18201
18202 fi
18203 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
18204 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
18205 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
18206 :; SGICC=yes
18207 else
18208 :;
18209 fi
18210 ac_ext=c
18211 ac_cpp='$CPP $CPPFLAGS'
18212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18215
18216
18217
18218 ;;
18219
18220 Linux*)
18221
18222
18223 ac_ext=c
18224 ac_cpp='$CPP $CPPFLAGS'
18225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18228
18229 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
18230 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
18231 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
18232 echo $ECHO_N "(cached) $ECHO_C" >&6
18233 else
18234 cat >conftest.$ac_ext <<_ACEOF
18235 /* confdefs.h. */
18236 _ACEOF
18237 cat confdefs.h >>conftest.$ac_ext
18238 cat >>conftest.$ac_ext <<_ACEOF
18239 /* end confdefs.h. */
18240
18241 int
18242 main ()
18243 {
18244
18245 #ifndef __SUNPRO_C
18246 choke me
18247 #endif
18248
18249 ;
18250 return 0;
18251 }
18252 _ACEOF
18253 rm -f conftest.$ac_objext
18254 if { (ac_try="$ac_compile"
18255 case "(($ac_try" in
18256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18257 *) ac_try_echo=$ac_try;;
18258 esac
18259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18260 (eval "$ac_compile") 2>conftest.er1
18261 ac_status=$?
18262 grep -v '^ *+' conftest.er1 >conftest.err
18263 rm -f conftest.er1
18264 cat conftest.err >&5
18265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18266 (exit $ac_status); } && {
18267 test -z "$ac_c_werror_flag" ||
18268 test ! -s conftest.err
18269 } && test -s conftest.$ac_objext; then
18270 bakefile_cv_c_compiler___SUNPRO_C=yes
18271 else
18272 echo "$as_me: failed program was:" >&5
18273 sed 's/^/| /' conftest.$ac_ext >&5
18274
18275 bakefile_cv_c_compiler___SUNPRO_C=no
18276
18277 fi
18278
18279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18280
18281
18282 fi
18283 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
18284 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
18285 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
18286 :; SUNCC=yes
18287 else
18288 :;
18289 fi
18290 ac_ext=c
18291 ac_cpp='$CPP $CPPFLAGS'
18292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18295
18296
18297
18298 ;;
18299
18300 HP-UX*)
18301
18302
18303 ac_ext=c
18304 ac_cpp='$CPP $CPPFLAGS'
18305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18308
18309 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
18310 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
18311 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
18312 echo $ECHO_N "(cached) $ECHO_C" >&6
18313 else
18314 cat >conftest.$ac_ext <<_ACEOF
18315 /* confdefs.h. */
18316 _ACEOF
18317 cat confdefs.h >>conftest.$ac_ext
18318 cat >>conftest.$ac_ext <<_ACEOF
18319 /* end confdefs.h. */
18320
18321 int
18322 main ()
18323 {
18324
18325 #ifndef __HP_cc
18326 choke me
18327 #endif
18328
18329 ;
18330 return 0;
18331 }
18332 _ACEOF
18333 rm -f conftest.$ac_objext
18334 if { (ac_try="$ac_compile"
18335 case "(($ac_try" in
18336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18337 *) ac_try_echo=$ac_try;;
18338 esac
18339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18340 (eval "$ac_compile") 2>conftest.er1
18341 ac_status=$?
18342 grep -v '^ *+' conftest.er1 >conftest.err
18343 rm -f conftest.er1
18344 cat conftest.err >&5
18345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18346 (exit $ac_status); } && {
18347 test -z "$ac_c_werror_flag" ||
18348 test ! -s conftest.err
18349 } && test -s conftest.$ac_objext; then
18350 bakefile_cv_c_compiler___HP_cc=yes
18351 else
18352 echo "$as_me: failed program was:" >&5
18353 sed 's/^/| /' conftest.$ac_ext >&5
18354
18355 bakefile_cv_c_compiler___HP_cc=no
18356
18357 fi
18358
18359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18360
18361
18362 fi
18363 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
18364 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
18365 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
18366 :; HPCC=yes
18367 else
18368 :;
18369 fi
18370 ac_ext=c
18371 ac_cpp='$CPP $CPPFLAGS'
18372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18375
18376
18377
18378 ;;
18379
18380 OSF1)
18381
18382
18383 ac_ext=c
18384 ac_cpp='$CPP $CPPFLAGS'
18385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18388
18389 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
18390 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
18391 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
18392 echo $ECHO_N "(cached) $ECHO_C" >&6
18393 else
18394 cat >conftest.$ac_ext <<_ACEOF
18395 /* confdefs.h. */
18396 _ACEOF
18397 cat confdefs.h >>conftest.$ac_ext
18398 cat >>conftest.$ac_ext <<_ACEOF
18399 /* end confdefs.h. */
18400
18401 int
18402 main ()
18403 {
18404
18405 #ifndef __DECC
18406 choke me
18407 #endif
18408
18409 ;
18410 return 0;
18411 }
18412 _ACEOF
18413 rm -f conftest.$ac_objext
18414 if { (ac_try="$ac_compile"
18415 case "(($ac_try" in
18416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18417 *) ac_try_echo=$ac_try;;
18418 esac
18419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18420 (eval "$ac_compile") 2>conftest.er1
18421 ac_status=$?
18422 grep -v '^ *+' conftest.er1 >conftest.err
18423 rm -f conftest.er1
18424 cat conftest.err >&5
18425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18426 (exit $ac_status); } && {
18427 test -z "$ac_c_werror_flag" ||
18428 test ! -s conftest.err
18429 } && test -s conftest.$ac_objext; then
18430 bakefile_cv_c_compiler___DECC=yes
18431 else
18432 echo "$as_me: failed program was:" >&5
18433 sed 's/^/| /' conftest.$ac_ext >&5
18434
18435 bakefile_cv_c_compiler___DECC=no
18436
18437 fi
18438
18439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18440
18441
18442 fi
18443 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
18444 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
18445 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
18446 :; COMPAQCC=yes
18447 else
18448 :;
18449 fi
18450 ac_ext=c
18451 ac_cpp='$CPP $CPPFLAGS'
18452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18455
18456
18457
18458 ;;
18459
18460 SunOS)
18461
18462
18463 ac_ext=c
18464 ac_cpp='$CPP $CPPFLAGS'
18465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18468
18469 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
18470 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
18471 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
18472 echo $ECHO_N "(cached) $ECHO_C" >&6
18473 else
18474 cat >conftest.$ac_ext <<_ACEOF
18475 /* confdefs.h. */
18476 _ACEOF
18477 cat confdefs.h >>conftest.$ac_ext
18478 cat >>conftest.$ac_ext <<_ACEOF
18479 /* end confdefs.h. */
18480
18481 int
18482 main ()
18483 {
18484
18485 #ifndef __SUNPRO_C
18486 choke me
18487 #endif
18488
18489 ;
18490 return 0;
18491 }
18492 _ACEOF
18493 rm -f conftest.$ac_objext
18494 if { (ac_try="$ac_compile"
18495 case "(($ac_try" in
18496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18497 *) ac_try_echo=$ac_try;;
18498 esac
18499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18500 (eval "$ac_compile") 2>conftest.er1
18501 ac_status=$?
18502 grep -v '^ *+' conftest.er1 >conftest.err
18503 rm -f conftest.er1
18504 cat conftest.err >&5
18505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18506 (exit $ac_status); } && {
18507 test -z "$ac_c_werror_flag" ||
18508 test ! -s conftest.err
18509 } && test -s conftest.$ac_objext; then
18510 bakefile_cv_c_compiler___SUNPRO_C=yes
18511 else
18512 echo "$as_me: failed program was:" >&5
18513 sed 's/^/| /' conftest.$ac_ext >&5
18514
18515 bakefile_cv_c_compiler___SUNPRO_C=no
18516
18517 fi
18518
18519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18520
18521
18522 fi
18523 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
18524 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
18525 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
18526 :; SUNCC=yes
18527 else
18528 :;
18529 fi
18530 ac_ext=c
18531 ac_cpp='$CPP $CPPFLAGS'
18532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18535
18536
18537
18538 ;;
18539 esac
18540 fi
18541
18542
18543
18544 ac_ext=c
18545 ac_cpp='$CPP $CPPFLAGS'
18546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18549 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
18550 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
18551 # On Suns, sometimes $CPP names a directory.
18552 if test -n "$CPP" && test -d "$CPP"; then
18553 CPP=
18554 fi
18555 if test -z "$CPP"; then
18556 if test "${ac_cv_prog_CPP+set}" = set; then
18557 echo $ECHO_N "(cached) $ECHO_C" >&6
18558 else
18559 # Double quotes because CPP needs to be expanded
18560 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
18561 do
18562 ac_preproc_ok=false
18563 for ac_c_preproc_warn_flag in '' yes
18564 do
18565 # Use a header file that comes with gcc, so configuring glibc
18566 # with a fresh cross-compiler works.
18567 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18568 # <limits.h> exists even on freestanding compilers.
18569 # On the NeXT, cc -E runs the code through the compiler's parser,
18570 # not just through cpp. "Syntax error" is here to catch this case.
18571 cat >conftest.$ac_ext <<_ACEOF
18572 /* confdefs.h. */
18573 _ACEOF
18574 cat confdefs.h >>conftest.$ac_ext
18575 cat >>conftest.$ac_ext <<_ACEOF
18576 /* end confdefs.h. */
18577 #ifdef __STDC__
18578 # include <limits.h>
18579 #else
18580 # include <assert.h>
18581 #endif
18582 Syntax error
18583 _ACEOF
18584 if { (ac_try="$ac_cpp conftest.$ac_ext"
18585 case "(($ac_try" in
18586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18587 *) ac_try_echo=$ac_try;;
18588 esac
18589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18590 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18591 ac_status=$?
18592 grep -v '^ *+' conftest.er1 >conftest.err
18593 rm -f conftest.er1
18594 cat conftest.err >&5
18595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18596 (exit $ac_status); } >/dev/null && {
18597 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18598 test ! -s conftest.err
18599 }; then
18600 :
18601 else
18602 echo "$as_me: failed program was:" >&5
18603 sed 's/^/| /' conftest.$ac_ext >&5
18604
18605 # Broken: fails on valid input.
18606 continue
18607 fi
18608
18609 rm -f conftest.err conftest.$ac_ext
18610
18611 # OK, works on sane cases. Now check whether nonexistent headers
18612 # can be detected and how.
18613 cat >conftest.$ac_ext <<_ACEOF
18614 /* confdefs.h. */
18615 _ACEOF
18616 cat confdefs.h >>conftest.$ac_ext
18617 cat >>conftest.$ac_ext <<_ACEOF
18618 /* end confdefs.h. */
18619 #include <ac_nonexistent.h>
18620 _ACEOF
18621 if { (ac_try="$ac_cpp conftest.$ac_ext"
18622 case "(($ac_try" in
18623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18624 *) ac_try_echo=$ac_try;;
18625 esac
18626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18627 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18628 ac_status=$?
18629 grep -v '^ *+' conftest.er1 >conftest.err
18630 rm -f conftest.er1
18631 cat conftest.err >&5
18632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18633 (exit $ac_status); } >/dev/null && {
18634 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18635 test ! -s conftest.err
18636 }; then
18637 # Broken: success on invalid input.
18638 continue
18639 else
18640 echo "$as_me: failed program was:" >&5
18641 sed 's/^/| /' conftest.$ac_ext >&5
18642
18643 # Passes both tests.
18644 ac_preproc_ok=:
18645 break
18646 fi
18647
18648 rm -f conftest.err conftest.$ac_ext
18649
18650 done
18651 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18652 rm -f conftest.err conftest.$ac_ext
18653 if $ac_preproc_ok; then
18654 break
18655 fi
18656
18657 done
18658 ac_cv_prog_CPP=$CPP
18659
18660 fi
18661 CPP=$ac_cv_prog_CPP
18662 else
18663 ac_cv_prog_CPP=$CPP
18664 fi
18665 { echo "$as_me:$LINENO: result: $CPP" >&5
18666 echo "${ECHO_T}$CPP" >&6; }
18667 ac_preproc_ok=false
18668 for ac_c_preproc_warn_flag in '' yes
18669 do
18670 # Use a header file that comes with gcc, so configuring glibc
18671 # with a fresh cross-compiler works.
18672 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18673 # <limits.h> exists even on freestanding compilers.
18674 # On the NeXT, cc -E runs the code through the compiler's parser,
18675 # not just through cpp. "Syntax error" is here to catch this case.
18676 cat >conftest.$ac_ext <<_ACEOF
18677 /* confdefs.h. */
18678 _ACEOF
18679 cat confdefs.h >>conftest.$ac_ext
18680 cat >>conftest.$ac_ext <<_ACEOF
18681 /* end confdefs.h. */
18682 #ifdef __STDC__
18683 # include <limits.h>
18684 #else
18685 # include <assert.h>
18686 #endif
18687 Syntax error
18688 _ACEOF
18689 if { (ac_try="$ac_cpp conftest.$ac_ext"
18690 case "(($ac_try" in
18691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18692 *) ac_try_echo=$ac_try;;
18693 esac
18694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18695 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18696 ac_status=$?
18697 grep -v '^ *+' conftest.er1 >conftest.err
18698 rm -f conftest.er1
18699 cat conftest.err >&5
18700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18701 (exit $ac_status); } >/dev/null && {
18702 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18703 test ! -s conftest.err
18704 }; then
18705 :
18706 else
18707 echo "$as_me: failed program was:" >&5
18708 sed 's/^/| /' conftest.$ac_ext >&5
18709
18710 # Broken: fails on valid input.
18711 continue
18712 fi
18713
18714 rm -f conftest.err conftest.$ac_ext
18715
18716 # OK, works on sane cases. Now check whether nonexistent headers
18717 # can be detected and how.
18718 cat >conftest.$ac_ext <<_ACEOF
18719 /* confdefs.h. */
18720 _ACEOF
18721 cat confdefs.h >>conftest.$ac_ext
18722 cat >>conftest.$ac_ext <<_ACEOF
18723 /* end confdefs.h. */
18724 #include <ac_nonexistent.h>
18725 _ACEOF
18726 if { (ac_try="$ac_cpp conftest.$ac_ext"
18727 case "(($ac_try" in
18728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18729 *) ac_try_echo=$ac_try;;
18730 esac
18731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18732 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18733 ac_status=$?
18734 grep -v '^ *+' conftest.er1 >conftest.err
18735 rm -f conftest.er1
18736 cat conftest.err >&5
18737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18738 (exit $ac_status); } >/dev/null && {
18739 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18740 test ! -s conftest.err
18741 }; then
18742 # Broken: success on invalid input.
18743 continue
18744 else
18745 echo "$as_me: failed program was:" >&5
18746 sed 's/^/| /' conftest.$ac_ext >&5
18747
18748 # Passes both tests.
18749 ac_preproc_ok=:
18750 break
18751 fi
18752
18753 rm -f conftest.err conftest.$ac_ext
18754
18755 done
18756 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18757 rm -f conftest.err conftest.$ac_ext
18758 if $ac_preproc_ok; then
18759 :
18760 else
18761 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
18762 See \`config.log' for more details." >&5
18763 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
18764 See \`config.log' for more details." >&2;}
18765 { (exit 1); exit 1; }; }
18766 fi
18767
18768 ac_ext=c
18769 ac_cpp='$CPP $CPPFLAGS'
18770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18773
18774
18775 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
18776 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
18777 if test "${ac_cv_path_GREP+set}" = set; then
18778 echo $ECHO_N "(cached) $ECHO_C" >&6
18779 else
18780 # Extract the first word of "grep ggrep" to use in msg output
18781 if test -z "$GREP"; then
18782 set dummy grep ggrep; ac_prog_name=$2
18783 if test "${ac_cv_path_GREP+set}" = set; then
18784 echo $ECHO_N "(cached) $ECHO_C" >&6
18785 else
18786 ac_path_GREP_found=false
18787 # Loop through the user's path and test for each of PROGNAME-LIST
18788 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18789 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
18790 do
18791 IFS=$as_save_IFS
18792 test -z "$as_dir" && as_dir=.
18793 for ac_prog in grep ggrep; do
18794 for ac_exec_ext in '' $ac_executable_extensions; do
18795 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
18796 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
18797 # Check for GNU ac_path_GREP and select it if it is found.
18798 # Check for GNU $ac_path_GREP
18799 case `"$ac_path_GREP" --version 2>&1` in
18800 *GNU*)
18801 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
18802 *)
18803 ac_count=0
18804 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
18805 while :
18806 do
18807 cat "conftest.in" "conftest.in" >"conftest.tmp"
18808 mv "conftest.tmp" "conftest.in"
18809 cp "conftest.in" "conftest.nl"
18810 echo 'GREP' >> "conftest.nl"
18811 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
18812 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
18813 ac_count=`expr $ac_count + 1`
18814 if test $ac_count -gt ${ac_path_GREP_max-0}; then
18815 # Best one so far, save it but keep looking for a better one
18816 ac_cv_path_GREP="$ac_path_GREP"
18817 ac_path_GREP_max=$ac_count
18818 fi
18819 # 10*(2^10) chars as input seems more than enough
18820 test $ac_count -gt 10 && break
18821 done
18822 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
18823 esac
18824
18825
18826 $ac_path_GREP_found && break 3
18827 done
18828 done
18829
18830 done
18831 IFS=$as_save_IFS
18832
18833
18834 fi
18835
18836 GREP="$ac_cv_path_GREP"
18837 if test -z "$GREP"; then
18838 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
18839 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
18840 { (exit 1); exit 1; }; }
18841 fi
18842
18843 else
18844 ac_cv_path_GREP=$GREP
18845 fi
18846
18847
18848 fi
18849 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
18850 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
18851 GREP="$ac_cv_path_GREP"
18852
18853
18854 { echo "$as_me:$LINENO: checking for egrep" >&5
18855 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
18856 if test "${ac_cv_path_EGREP+set}" = set; then
18857 echo $ECHO_N "(cached) $ECHO_C" >&6
18858 else
18859 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
18860 then ac_cv_path_EGREP="$GREP -E"
18861 else
18862 # Extract the first word of "egrep" to use in msg output
18863 if test -z "$EGREP"; then
18864 set dummy egrep; ac_prog_name=$2
18865 if test "${ac_cv_path_EGREP+set}" = set; then
18866 echo $ECHO_N "(cached) $ECHO_C" >&6
18867 else
18868 ac_path_EGREP_found=false
18869 # Loop through the user's path and test for each of PROGNAME-LIST
18870 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18871 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
18872 do
18873 IFS=$as_save_IFS
18874 test -z "$as_dir" && as_dir=.
18875 for ac_prog in egrep; do
18876 for ac_exec_ext in '' $ac_executable_extensions; do
18877 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
18878 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
18879 # Check for GNU ac_path_EGREP and select it if it is found.
18880 # Check for GNU $ac_path_EGREP
18881 case `"$ac_path_EGREP" --version 2>&1` in
18882 *GNU*)
18883 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
18884 *)
18885 ac_count=0
18886 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
18887 while :
18888 do
18889 cat "conftest.in" "conftest.in" >"conftest.tmp"
18890 mv "conftest.tmp" "conftest.in"
18891 cp "conftest.in" "conftest.nl"
18892 echo 'EGREP' >> "conftest.nl"
18893 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
18894 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
18895 ac_count=`expr $ac_count + 1`
18896 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
18897 # Best one so far, save it but keep looking for a better one
18898 ac_cv_path_EGREP="$ac_path_EGREP"
18899 ac_path_EGREP_max=$ac_count
18900 fi
18901 # 10*(2^10) chars as input seems more than enough
18902 test $ac_count -gt 10 && break
18903 done
18904 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
18905 esac
18906
18907
18908 $ac_path_EGREP_found && break 3
18909 done
18910 done
18911
18912 done
18913 IFS=$as_save_IFS
18914
18915
18916 fi
18917
18918 EGREP="$ac_cv_path_EGREP"
18919 if test -z "$EGREP"; then
18920 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
18921 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
18922 { (exit 1); exit 1; }; }
18923 fi
18924
18925 else
18926 ac_cv_path_EGREP=$EGREP
18927 fi
18928
18929
18930 fi
18931 fi
18932 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
18933 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
18934 EGREP="$ac_cv_path_EGREP"
18935
18936
18937 if test $ac_cv_c_compiler_gnu = yes; then
18938 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
18939 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
18940 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
18941 echo $ECHO_N "(cached) $ECHO_C" >&6
18942 else
18943 ac_pattern="Autoconf.*'x'"
18944 cat >conftest.$ac_ext <<_ACEOF
18945 /* confdefs.h. */
18946 _ACEOF
18947 cat confdefs.h >>conftest.$ac_ext
18948 cat >>conftest.$ac_ext <<_ACEOF
18949 /* end confdefs.h. */
18950 #include <sgtty.h>
18951 Autoconf TIOCGETP
18952 _ACEOF
18953 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18954 $EGREP "$ac_pattern" >/dev/null 2>&1; then
18955 ac_cv_prog_gcc_traditional=yes
18956 else
18957 ac_cv_prog_gcc_traditional=no
18958 fi
18959 rm -f conftest*
18960
18961
18962 if test $ac_cv_prog_gcc_traditional = no; then
18963 cat >conftest.$ac_ext <<_ACEOF
18964 /* confdefs.h. */
18965 _ACEOF
18966 cat confdefs.h >>conftest.$ac_ext
18967 cat >>conftest.$ac_ext <<_ACEOF
18968 /* end confdefs.h. */
18969 #include <termio.h>
18970 Autoconf TCGETA
18971 _ACEOF
18972 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18973 $EGREP "$ac_pattern" >/dev/null 2>&1; then
18974 ac_cv_prog_gcc_traditional=yes
18975 fi
18976 rm -f conftest*
18977
18978 fi
18979 fi
18980 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
18981 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
18982 if test $ac_cv_prog_gcc_traditional = yes; then
18983 CC="$CC -traditional"
18984 fi
18985 fi
18986
18987
18988 CXXFLAGS=${CXXFLAGS:=}
18989
18990
18991
18992 ac_ext=cpp
18993 ac_cpp='$CXXCPP $CPPFLAGS'
18994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18997 if test -z "$CXX"; then
18998 if test -n "$CCC"; then
18999 CXX=$CCC
19000 else
19001 if test -n "$ac_tool_prefix"; then
19002 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
19003 do
19004 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
19005 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
19006 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19007 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19008 if test "${ac_cv_prog_CXX+set}" = set; then
19009 echo $ECHO_N "(cached) $ECHO_C" >&6
19010 else
19011 if test -n "$CXX"; then
19012 ac_cv_prog_CXX="$CXX" # Let the user override the test.
19013 else
19014 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19015 for as_dir in $PATH
19016 do
19017 IFS=$as_save_IFS
19018 test -z "$as_dir" && as_dir=.
19019 for ac_exec_ext in '' $ac_executable_extensions; do
19020 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19021 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
19022 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19023 break 2
19024 fi
19025 done
19026 done
19027 IFS=$as_save_IFS
19028
19029 fi
19030 fi
19031 CXX=$ac_cv_prog_CXX
19032 if test -n "$CXX"; then
19033 { echo "$as_me:$LINENO: result: $CXX" >&5
19034 echo "${ECHO_T}$CXX" >&6; }
19035 else
19036 { echo "$as_me:$LINENO: result: no" >&5
19037 echo "${ECHO_T}no" >&6; }
19038 fi
19039
19040
19041 test -n "$CXX" && break
19042 done
19043 fi
19044 if test -z "$CXX"; then
19045 ac_ct_CXX=$CXX
19046 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
19047 do
19048 # Extract the first word of "$ac_prog", so it can be a program name with args.
19049 set dummy $ac_prog; ac_word=$2
19050 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19051 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19052 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
19053 echo $ECHO_N "(cached) $ECHO_C" >&6
19054 else
19055 if test -n "$ac_ct_CXX"; then
19056 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
19057 else
19058 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19059 for as_dir in $PATH
19060 do
19061 IFS=$as_save_IFS
19062 test -z "$as_dir" && as_dir=.
19063 for ac_exec_ext in '' $ac_executable_extensions; do
19064 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19065 ac_cv_prog_ac_ct_CXX="$ac_prog"
19066 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19067 break 2
19068 fi
19069 done
19070 done
19071 IFS=$as_save_IFS
19072
19073 fi
19074 fi
19075 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
19076 if test -n "$ac_ct_CXX"; then
19077 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
19078 echo "${ECHO_T}$ac_ct_CXX" >&6; }
19079 else
19080 { echo "$as_me:$LINENO: result: no" >&5
19081 echo "${ECHO_T}no" >&6; }
19082 fi
19083
19084
19085 test -n "$ac_ct_CXX" && break
19086 done
19087
19088 if test "x$ac_ct_CXX" = x; then
19089 CXX="g++"
19090 else
19091 case $cross_compiling:$ac_tool_warned in
19092 yes:)
19093 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19094 whose name does not start with the host triplet. If you think this
19095 configuration is useful to you, please write to autoconf@gnu.org." >&5
19096 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19097 whose name does not start with the host triplet. If you think this
19098 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19099 ac_tool_warned=yes ;;
19100 esac
19101 CXX=$ac_ct_CXX
19102 fi
19103 fi
19104
19105 fi
19106 fi
19107 # Provide some information about the compiler.
19108 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
19109 ac_compiler=`set X $ac_compile; echo $2`
19110 { (ac_try="$ac_compiler --version >&5"
19111 case "(($ac_try" in
19112 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19113 *) ac_try_echo=$ac_try;;
19114 esac
19115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19116 (eval "$ac_compiler --version >&5") 2>&5
19117 ac_status=$?
19118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19119 (exit $ac_status); }
19120 { (ac_try="$ac_compiler -v >&5"
19121 case "(($ac_try" in
19122 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19123 *) ac_try_echo=$ac_try;;
19124 esac
19125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19126 (eval "$ac_compiler -v >&5") 2>&5
19127 ac_status=$?
19128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19129 (exit $ac_status); }
19130 { (ac_try="$ac_compiler -V >&5"
19131 case "(($ac_try" in
19132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19133 *) ac_try_echo=$ac_try;;
19134 esac
19135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19136 (eval "$ac_compiler -V >&5") 2>&5
19137 ac_status=$?
19138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19139 (exit $ac_status); }
19140
19141 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
19142 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
19143 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
19144 echo $ECHO_N "(cached) $ECHO_C" >&6
19145 else
19146 cat >conftest.$ac_ext <<_ACEOF
19147 /* confdefs.h. */
19148 _ACEOF
19149 cat confdefs.h >>conftest.$ac_ext
19150 cat >>conftest.$ac_ext <<_ACEOF
19151 /* end confdefs.h. */
19152
19153 int
19154 main ()
19155 {
19156 #ifndef __GNUC__
19157 choke me
19158 #endif
19159
19160 ;
19161 return 0;
19162 }
19163 _ACEOF
19164 rm -f conftest.$ac_objext
19165 if { (ac_try="$ac_compile"
19166 case "(($ac_try" in
19167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19168 *) ac_try_echo=$ac_try;;
19169 esac
19170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19171 (eval "$ac_compile") 2>conftest.er1
19172 ac_status=$?
19173 grep -v '^ *+' conftest.er1 >conftest.err
19174 rm -f conftest.er1
19175 cat conftest.err >&5
19176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19177 (exit $ac_status); } && {
19178 test -z "$ac_cxx_werror_flag" ||
19179 test ! -s conftest.err
19180 } && test -s conftest.$ac_objext; then
19181 ac_compiler_gnu=yes
19182 else
19183 echo "$as_me: failed program was:" >&5
19184 sed 's/^/| /' conftest.$ac_ext >&5
19185
19186 ac_compiler_gnu=no
19187 fi
19188
19189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19190 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
19191
19192 fi
19193 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
19194 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
19195 GXX=`test $ac_compiler_gnu = yes && echo yes`
19196 ac_test_CXXFLAGS=${CXXFLAGS+set}
19197 ac_save_CXXFLAGS=$CXXFLAGS
19198 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
19199 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
19200 if test "${ac_cv_prog_cxx_g+set}" = set; then
19201 echo $ECHO_N "(cached) $ECHO_C" >&6
19202 else
19203 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
19204 ac_cxx_werror_flag=yes
19205 ac_cv_prog_cxx_g=no
19206 CXXFLAGS="-g"
19207 cat >conftest.$ac_ext <<_ACEOF
19208 /* confdefs.h. */
19209 _ACEOF
19210 cat confdefs.h >>conftest.$ac_ext
19211 cat >>conftest.$ac_ext <<_ACEOF
19212 /* end confdefs.h. */
19213
19214 int
19215 main ()
19216 {
19217
19218 ;
19219 return 0;
19220 }
19221 _ACEOF
19222 rm -f conftest.$ac_objext
19223 if { (ac_try="$ac_compile"
19224 case "(($ac_try" in
19225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19226 *) ac_try_echo=$ac_try;;
19227 esac
19228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19229 (eval "$ac_compile") 2>conftest.er1
19230 ac_status=$?
19231 grep -v '^ *+' conftest.er1 >conftest.err
19232 rm -f conftest.er1
19233 cat conftest.err >&5
19234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19235 (exit $ac_status); } && {
19236 test -z "$ac_cxx_werror_flag" ||
19237 test ! -s conftest.err
19238 } && test -s conftest.$ac_objext; then
19239 ac_cv_prog_cxx_g=yes
19240 else
19241 echo "$as_me: failed program was:" >&5
19242 sed 's/^/| /' conftest.$ac_ext >&5
19243
19244 CXXFLAGS=""
19245 cat >conftest.$ac_ext <<_ACEOF
19246 /* confdefs.h. */
19247 _ACEOF
19248 cat confdefs.h >>conftest.$ac_ext
19249 cat >>conftest.$ac_ext <<_ACEOF
19250 /* end confdefs.h. */
19251
19252 int
19253 main ()
19254 {
19255
19256 ;
19257 return 0;
19258 }
19259 _ACEOF
19260 rm -f conftest.$ac_objext
19261 if { (ac_try="$ac_compile"
19262 case "(($ac_try" in
19263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19264 *) ac_try_echo=$ac_try;;
19265 esac
19266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19267 (eval "$ac_compile") 2>conftest.er1
19268 ac_status=$?
19269 grep -v '^ *+' conftest.er1 >conftest.err
19270 rm -f conftest.er1
19271 cat conftest.err >&5
19272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19273 (exit $ac_status); } && {
19274 test -z "$ac_cxx_werror_flag" ||
19275 test ! -s conftest.err
19276 } && test -s conftest.$ac_objext; then
19277 :
19278 else
19279 echo "$as_me: failed program was:" >&5
19280 sed 's/^/| /' conftest.$ac_ext >&5
19281
19282 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
19283 CXXFLAGS="-g"
19284 cat >conftest.$ac_ext <<_ACEOF
19285 /* confdefs.h. */
19286 _ACEOF
19287 cat confdefs.h >>conftest.$ac_ext
19288 cat >>conftest.$ac_ext <<_ACEOF
19289 /* end confdefs.h. */
19290
19291 int
19292 main ()
19293 {
19294
19295 ;
19296 return 0;
19297 }
19298 _ACEOF
19299 rm -f conftest.$ac_objext
19300 if { (ac_try="$ac_compile"
19301 case "(($ac_try" in
19302 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19303 *) ac_try_echo=$ac_try;;
19304 esac
19305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19306 (eval "$ac_compile") 2>conftest.er1
19307 ac_status=$?
19308 grep -v '^ *+' conftest.er1 >conftest.err
19309 rm -f conftest.er1
19310 cat conftest.err >&5
19311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19312 (exit $ac_status); } && {
19313 test -z "$ac_cxx_werror_flag" ||
19314 test ! -s conftest.err
19315 } && test -s conftest.$ac_objext; then
19316 ac_cv_prog_cxx_g=yes
19317 else
19318 echo "$as_me: failed program was:" >&5
19319 sed 's/^/| /' conftest.$ac_ext >&5
19320
19321
19322 fi
19323
19324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19325 fi
19326
19327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19328 fi
19329
19330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19331 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
19332 fi
19333 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
19334 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
19335 if test "$ac_test_CXXFLAGS" = set; then
19336 CXXFLAGS=$ac_save_CXXFLAGS
19337 elif test $ac_cv_prog_cxx_g = yes; then
19338 if test "$GXX" = yes; then
19339 CXXFLAGS="-g -O2"
19340 else
19341 CXXFLAGS="-g"
19342 fi
19343 else
19344 if test "$GXX" = yes; then
19345 CXXFLAGS="-O2"
19346 else
19347 CXXFLAGS=
19348 fi
19349 fi
19350 ac_ext=c
19351 ac_cpp='$CPP $CPPFLAGS'
19352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19355
19356
19357
19358
19359 ac_ext=cpp
19360 ac_cpp='$CXXCPP $CPPFLAGS'
19361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19364
19365 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
19366 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
19367 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
19368 echo $ECHO_N "(cached) $ECHO_C" >&6
19369 else
19370 cat >conftest.$ac_ext <<_ACEOF
19371 /* confdefs.h. */
19372 _ACEOF
19373 cat confdefs.h >>conftest.$ac_ext
19374 cat >>conftest.$ac_ext <<_ACEOF
19375 /* end confdefs.h. */
19376
19377 int
19378 main ()
19379 {
19380
19381 #ifndef __INTEL_COMPILER
19382 choke me
19383 #endif
19384
19385 ;
19386 return 0;
19387 }
19388 _ACEOF
19389 rm -f conftest.$ac_objext
19390 if { (ac_try="$ac_compile"
19391 case "(($ac_try" in
19392 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19393 *) ac_try_echo=$ac_try;;
19394 esac
19395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19396 (eval "$ac_compile") 2>conftest.er1
19397 ac_status=$?
19398 grep -v '^ *+' conftest.er1 >conftest.err
19399 rm -f conftest.er1
19400 cat conftest.err >&5
19401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19402 (exit $ac_status); } && {
19403 test -z "$ac_cxx_werror_flag" ||
19404 test ! -s conftest.err
19405 } && test -s conftest.$ac_objext; then
19406 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
19407 else
19408 echo "$as_me: failed program was:" >&5
19409 sed 's/^/| /' conftest.$ac_ext >&5
19410
19411 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
19412
19413 fi
19414
19415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19416
19417
19418 fi
19419 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
19420 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
19421 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
19422 :; INTELCXX=yes
19423 else
19424 :;
19425 fi
19426 ac_ext=c
19427 ac_cpp='$CPP $CPPFLAGS'
19428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19431
19432
19433
19434
19435 if test "x$GCXX" != "xyes"; then
19436 if test "xCXX" = "xC"; then
19437 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
19438 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
19439 if test "${bakefile_cv_c_exto+set}" = set; then
19440 echo $ECHO_N "(cached) $ECHO_C" >&6
19441 else
19442 cat >conftest.$ac_ext <<_ACEOF
19443 /* confdefs.h. */
19444 _ACEOF
19445 cat confdefs.h >>conftest.$ac_ext
19446 cat >>conftest.$ac_ext <<_ACEOF
19447 /* end confdefs.h. */
19448
19449 int
19450 main ()
19451 {
19452
19453 ;
19454 return 0;
19455 }
19456 _ACEOF
19457 rm -f conftest.$ac_objext conftest.$ac_ext.o
19458 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19459 (eval $ac_compile) 2>&5
19460 ac_status=$?
19461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19462 (exit $ac_status); }; then
19463 for ac_file in `(ls conftest.* 2>/dev/null)`; do
19464 case $ac_file in
19465 conftest.$ac_ext.o)
19466 bakefile_cv_c_exto="-ext o"
19467 ;;
19468 *)
19469 ;;
19470 esac
19471 done
19472 else
19473 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
19474 See \`config.log' for more details." >&5
19475 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
19476 See \`config.log' for more details." >&2;}
19477 { (exit 1); exit 1; }; }
19478
19479 fi
19480
19481 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
19482
19483 fi
19484 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
19485 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
19486 if test "x$bakefile_cv_c_exto" '!=' "x"; then
19487 if test "c" = "c"; then
19488 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
19489 fi
19490 if test "c" = "cxx"; then
19491 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
19492 fi
19493 fi
19494
19495 if test "x$bakefile_cv_c_exto" '!=' "x"; then
19496 unset ac_cv_prog_cc_g
19497 ac_test_CFLAGS=${CFLAGS+set}
19498 ac_save_CFLAGS=$CFLAGS
19499 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
19500 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
19501 if test "${ac_cv_prog_cc_g+set}" = set; then
19502 echo $ECHO_N "(cached) $ECHO_C" >&6
19503 else
19504 ac_save_c_werror_flag=$ac_c_werror_flag
19505 ac_c_werror_flag=yes
19506 ac_cv_prog_cc_g=no
19507 CFLAGS="-g"
19508 cat >conftest.$ac_ext <<_ACEOF
19509 /* confdefs.h. */
19510 _ACEOF
19511 cat confdefs.h >>conftest.$ac_ext
19512 cat >>conftest.$ac_ext <<_ACEOF
19513 /* end confdefs.h. */
19514
19515 int
19516 main ()
19517 {
19518
19519 ;
19520 return 0;
19521 }
19522 _ACEOF
19523 rm -f conftest.$ac_objext
19524 if { (ac_try="$ac_compile"
19525 case "(($ac_try" in
19526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19527 *) ac_try_echo=$ac_try;;
19528 esac
19529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19530 (eval "$ac_compile") 2>conftest.er1
19531 ac_status=$?
19532 grep -v '^ *+' conftest.er1 >conftest.err
19533 rm -f conftest.er1
19534 cat conftest.err >&5
19535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19536 (exit $ac_status); } && {
19537 test -z "$ac_c_werror_flag" ||
19538 test ! -s conftest.err
19539 } && test -s conftest.$ac_objext; then
19540 ac_cv_prog_cc_g=yes
19541 else
19542 echo "$as_me: failed program was:" >&5
19543 sed 's/^/| /' conftest.$ac_ext >&5
19544
19545 CFLAGS=""
19546 cat >conftest.$ac_ext <<_ACEOF
19547 /* confdefs.h. */
19548 _ACEOF
19549 cat confdefs.h >>conftest.$ac_ext
19550 cat >>conftest.$ac_ext <<_ACEOF
19551 /* end confdefs.h. */
19552
19553 int
19554 main ()
19555 {
19556
19557 ;
19558 return 0;
19559 }
19560 _ACEOF
19561 rm -f conftest.$ac_objext
19562 if { (ac_try="$ac_compile"
19563 case "(($ac_try" in
19564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19565 *) ac_try_echo=$ac_try;;
19566 esac
19567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19568 (eval "$ac_compile") 2>conftest.er1
19569 ac_status=$?
19570 grep -v '^ *+' conftest.er1 >conftest.err
19571 rm -f conftest.er1
19572 cat conftest.err >&5
19573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19574 (exit $ac_status); } && {
19575 test -z "$ac_c_werror_flag" ||
19576 test ! -s conftest.err
19577 } && test -s conftest.$ac_objext; then
19578 :
19579 else
19580 echo "$as_me: failed program was:" >&5
19581 sed 's/^/| /' conftest.$ac_ext >&5
19582
19583 ac_c_werror_flag=$ac_save_c_werror_flag
19584 CFLAGS="-g"
19585 cat >conftest.$ac_ext <<_ACEOF
19586 /* confdefs.h. */
19587 _ACEOF
19588 cat confdefs.h >>conftest.$ac_ext
19589 cat >>conftest.$ac_ext <<_ACEOF
19590 /* end confdefs.h. */
19591
19592 int
19593 main ()
19594 {
19595
19596 ;
19597 return 0;
19598 }
19599 _ACEOF
19600 rm -f conftest.$ac_objext
19601 if { (ac_try="$ac_compile"
19602 case "(($ac_try" in
19603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19604 *) ac_try_echo=$ac_try;;
19605 esac
19606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19607 (eval "$ac_compile") 2>conftest.er1
19608 ac_status=$?
19609 grep -v '^ *+' conftest.er1 >conftest.err
19610 rm -f conftest.er1
19611 cat conftest.err >&5
19612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19613 (exit $ac_status); } && {
19614 test -z "$ac_c_werror_flag" ||
19615 test ! -s conftest.err
19616 } && test -s conftest.$ac_objext; then
19617 ac_cv_prog_cc_g=yes
19618 else
19619 echo "$as_me: failed program was:" >&5
19620 sed 's/^/| /' conftest.$ac_ext >&5
19621
19622
19623 fi
19624
19625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19626 fi
19627
19628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19629 fi
19630
19631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19632 ac_c_werror_flag=$ac_save_c_werror_flag
19633 fi
19634 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
19635 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
19636 if test "$ac_test_CFLAGS" = set; then
19637 CFLAGS=$ac_save_CFLAGS
19638 elif test $ac_cv_prog_cc_g = yes; then
19639 if test "$GCC" = yes; then
19640 CFLAGS="-g -O2"
19641 else
19642 CFLAGS="-g"
19643 fi
19644 else
19645 if test "$GCC" = yes; then
19646 CFLAGS="-O2"
19647 else
19648 CFLAGS=
19649 fi
19650 fi
19651 fi
19652 fi
19653
19654 case `uname -s` in
19655 AIX*)
19656
19657
19658 ac_ext=cpp
19659 ac_cpp='$CXXCPP $CPPFLAGS'
19660 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19661 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19662 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19663
19664 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
19665 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
19666 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
19667 echo $ECHO_N "(cached) $ECHO_C" >&6
19668 else
19669 cat >conftest.$ac_ext <<_ACEOF
19670 /* confdefs.h. */
19671 _ACEOF
19672 cat confdefs.h >>conftest.$ac_ext
19673 cat >>conftest.$ac_ext <<_ACEOF
19674 /* end confdefs.h. */
19675
19676 int
19677 main ()
19678 {
19679
19680 #ifndef __xlC__
19681 choke me
19682 #endif
19683
19684 ;
19685 return 0;
19686 }
19687 _ACEOF
19688 rm -f conftest.$ac_objext
19689 if { (ac_try="$ac_compile"
19690 case "(($ac_try" in
19691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19692 *) ac_try_echo=$ac_try;;
19693 esac
19694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19695 (eval "$ac_compile") 2>conftest.er1
19696 ac_status=$?
19697 grep -v '^ *+' conftest.er1 >conftest.err
19698 rm -f conftest.er1
19699 cat conftest.err >&5
19700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19701 (exit $ac_status); } && {
19702 test -z "$ac_cxx_werror_flag" ||
19703 test ! -s conftest.err
19704 } && test -s conftest.$ac_objext; then
19705 bakefile_cv_cxx_compiler___xlC__=yes
19706 else
19707 echo "$as_me: failed program was:" >&5
19708 sed 's/^/| /' conftest.$ac_ext >&5
19709
19710 bakefile_cv_cxx_compiler___xlC__=no
19711
19712 fi
19713
19714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19715
19716
19717 fi
19718 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
19719 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
19720 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
19721 :; XLCXX=yes
19722 else
19723 :;
19724 fi
19725 ac_ext=c
19726 ac_cpp='$CPP $CPPFLAGS'
19727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19730
19731
19732
19733 ;;
19734
19735 Darwin)
19736
19737
19738 ac_ext=cpp
19739 ac_cpp='$CXXCPP $CPPFLAGS'
19740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19743
19744 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
19745 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
19746 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
19747 echo $ECHO_N "(cached) $ECHO_C" >&6
19748 else
19749 cat >conftest.$ac_ext <<_ACEOF
19750 /* confdefs.h. */
19751 _ACEOF
19752 cat confdefs.h >>conftest.$ac_ext
19753 cat >>conftest.$ac_ext <<_ACEOF
19754 /* end confdefs.h. */
19755
19756 int
19757 main ()
19758 {
19759
19760 #ifndef __MWERKS__
19761 choke me
19762 #endif
19763
19764 ;
19765 return 0;
19766 }
19767 _ACEOF
19768 rm -f conftest.$ac_objext
19769 if { (ac_try="$ac_compile"
19770 case "(($ac_try" in
19771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19772 *) ac_try_echo=$ac_try;;
19773 esac
19774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19775 (eval "$ac_compile") 2>conftest.er1
19776 ac_status=$?
19777 grep -v '^ *+' conftest.er1 >conftest.err
19778 rm -f conftest.er1
19779 cat conftest.err >&5
19780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19781 (exit $ac_status); } && {
19782 test -z "$ac_cxx_werror_flag" ||
19783 test ! -s conftest.err
19784 } && test -s conftest.$ac_objext; then
19785 bakefile_cv_cxx_compiler___MWERKS__=yes
19786 else
19787 echo "$as_me: failed program was:" >&5
19788 sed 's/^/| /' conftest.$ac_ext >&5
19789
19790 bakefile_cv_cxx_compiler___MWERKS__=no
19791
19792 fi
19793
19794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19795
19796
19797 fi
19798 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
19799 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
19800 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
19801 :; MWCXX=yes
19802 else
19803 :;
19804 fi
19805 ac_ext=c
19806 ac_cpp='$CPP $CPPFLAGS'
19807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19810
19811
19812
19813
19814
19815 ac_ext=cpp
19816 ac_cpp='$CXXCPP $CPPFLAGS'
19817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19820
19821 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
19822 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
19823 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
19824 echo $ECHO_N "(cached) $ECHO_C" >&6
19825 else
19826 cat >conftest.$ac_ext <<_ACEOF
19827 /* confdefs.h. */
19828 _ACEOF
19829 cat confdefs.h >>conftest.$ac_ext
19830 cat >>conftest.$ac_ext <<_ACEOF
19831 /* end confdefs.h. */
19832
19833 int
19834 main ()
19835 {
19836
19837 #ifndef __xlC__
19838 choke me
19839 #endif
19840
19841 ;
19842 return 0;
19843 }
19844 _ACEOF
19845 rm -f conftest.$ac_objext
19846 if { (ac_try="$ac_compile"
19847 case "(($ac_try" in
19848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19849 *) ac_try_echo=$ac_try;;
19850 esac
19851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19852 (eval "$ac_compile") 2>conftest.er1
19853 ac_status=$?
19854 grep -v '^ *+' conftest.er1 >conftest.err
19855 rm -f conftest.er1
19856 cat conftest.err >&5
19857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19858 (exit $ac_status); } && {
19859 test -z "$ac_cxx_werror_flag" ||
19860 test ! -s conftest.err
19861 } && test -s conftest.$ac_objext; then
19862 bakefile_cv_cxx_compiler___xlC__=yes
19863 else
19864 echo "$as_me: failed program was:" >&5
19865 sed 's/^/| /' conftest.$ac_ext >&5
19866
19867 bakefile_cv_cxx_compiler___xlC__=no
19868
19869 fi
19870
19871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19872
19873
19874 fi
19875 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
19876 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
19877 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
19878 :; XLCXX=yes
19879 else
19880 :;
19881 fi
19882 ac_ext=c
19883 ac_cpp='$CPP $CPPFLAGS'
19884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19887
19888
19889
19890 ;;
19891
19892 IRIX*)
19893
19894
19895 ac_ext=cpp
19896 ac_cpp='$CXXCPP $CPPFLAGS'
19897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19900
19901 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
19902 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
19903 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
19904 echo $ECHO_N "(cached) $ECHO_C" >&6
19905 else
19906 cat >conftest.$ac_ext <<_ACEOF
19907 /* confdefs.h. */
19908 _ACEOF
19909 cat confdefs.h >>conftest.$ac_ext
19910 cat >>conftest.$ac_ext <<_ACEOF
19911 /* end confdefs.h. */
19912
19913 int
19914 main ()
19915 {
19916
19917 #ifndef _SGI_COMPILER_VERSION
19918 choke me
19919 #endif
19920
19921 ;
19922 return 0;
19923 }
19924 _ACEOF
19925 rm -f conftest.$ac_objext
19926 if { (ac_try="$ac_compile"
19927 case "(($ac_try" in
19928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19929 *) ac_try_echo=$ac_try;;
19930 esac
19931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19932 (eval "$ac_compile") 2>conftest.er1
19933 ac_status=$?
19934 grep -v '^ *+' conftest.er1 >conftest.err
19935 rm -f conftest.er1
19936 cat conftest.err >&5
19937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19938 (exit $ac_status); } && {
19939 test -z "$ac_cxx_werror_flag" ||
19940 test ! -s conftest.err
19941 } && test -s conftest.$ac_objext; then
19942 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
19943 else
19944 echo "$as_me: failed program was:" >&5
19945 sed 's/^/| /' conftest.$ac_ext >&5
19946
19947 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
19948
19949 fi
19950
19951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19952
19953
19954 fi
19955 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
19956 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
19957 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
19958 :; SGICXX=yes
19959 else
19960 :;
19961 fi
19962 ac_ext=c
19963 ac_cpp='$CPP $CPPFLAGS'
19964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19967
19968
19969
19970 ;;
19971
19972 Linux*)
19973
19974
19975 ac_ext=cpp
19976 ac_cpp='$CXXCPP $CPPFLAGS'
19977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19980
19981 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
19982 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
19983 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
19984 echo $ECHO_N "(cached) $ECHO_C" >&6
19985 else
19986 cat >conftest.$ac_ext <<_ACEOF
19987 /* confdefs.h. */
19988 _ACEOF
19989 cat confdefs.h >>conftest.$ac_ext
19990 cat >>conftest.$ac_ext <<_ACEOF
19991 /* end confdefs.h. */
19992
19993 int
19994 main ()
19995 {
19996
19997 #ifndef __SUNPRO_CC
19998 choke me
19999 #endif
20000
20001 ;
20002 return 0;
20003 }
20004 _ACEOF
20005 rm -f conftest.$ac_objext
20006 if { (ac_try="$ac_compile"
20007 case "(($ac_try" in
20008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20009 *) ac_try_echo=$ac_try;;
20010 esac
20011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20012 (eval "$ac_compile") 2>conftest.er1
20013 ac_status=$?
20014 grep -v '^ *+' conftest.er1 >conftest.err
20015 rm -f conftest.er1
20016 cat conftest.err >&5
20017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20018 (exit $ac_status); } && {
20019 test -z "$ac_cxx_werror_flag" ||
20020 test ! -s conftest.err
20021 } && test -s conftest.$ac_objext; then
20022 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
20023 else
20024 echo "$as_me: failed program was:" >&5
20025 sed 's/^/| /' conftest.$ac_ext >&5
20026
20027 bakefile_cv_cxx_compiler___SUNPRO_CC=no
20028
20029 fi
20030
20031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20032
20033
20034 fi
20035 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
20036 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
20037 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
20038 :; SUNCXX=yes
20039 else
20040 :;
20041 fi
20042 ac_ext=c
20043 ac_cpp='$CPP $CPPFLAGS'
20044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20047
20048
20049
20050 ;;
20051
20052 HP-UX*)
20053
20054
20055 ac_ext=cpp
20056 ac_cpp='$CXXCPP $CPPFLAGS'
20057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20060
20061 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
20062 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
20063 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
20064 echo $ECHO_N "(cached) $ECHO_C" >&6
20065 else
20066 cat >conftest.$ac_ext <<_ACEOF
20067 /* confdefs.h. */
20068 _ACEOF
20069 cat confdefs.h >>conftest.$ac_ext
20070 cat >>conftest.$ac_ext <<_ACEOF
20071 /* end confdefs.h. */
20072
20073 int
20074 main ()
20075 {
20076
20077 #ifndef __HP_aCC
20078 choke me
20079 #endif
20080
20081 ;
20082 return 0;
20083 }
20084 _ACEOF
20085 rm -f conftest.$ac_objext
20086 if { (ac_try="$ac_compile"
20087 case "(($ac_try" in
20088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20089 *) ac_try_echo=$ac_try;;
20090 esac
20091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20092 (eval "$ac_compile") 2>conftest.er1
20093 ac_status=$?
20094 grep -v '^ *+' conftest.er1 >conftest.err
20095 rm -f conftest.er1
20096 cat conftest.err >&5
20097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20098 (exit $ac_status); } && {
20099 test -z "$ac_cxx_werror_flag" ||
20100 test ! -s conftest.err
20101 } && test -s conftest.$ac_objext; then
20102 bakefile_cv_cxx_compiler___HP_aCC=yes
20103 else
20104 echo "$as_me: failed program was:" >&5
20105 sed 's/^/| /' conftest.$ac_ext >&5
20106
20107 bakefile_cv_cxx_compiler___HP_aCC=no
20108
20109 fi
20110
20111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20112
20113
20114 fi
20115 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
20116 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
20117 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
20118 :; HPCXX=yes
20119 else
20120 :;
20121 fi
20122 ac_ext=c
20123 ac_cpp='$CPP $CPPFLAGS'
20124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20127
20128
20129
20130 ;;
20131
20132 OSF1)
20133
20134
20135 ac_ext=cpp
20136 ac_cpp='$CXXCPP $CPPFLAGS'
20137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20140
20141 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
20142 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
20143 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
20144 echo $ECHO_N "(cached) $ECHO_C" >&6
20145 else
20146 cat >conftest.$ac_ext <<_ACEOF
20147 /* confdefs.h. */
20148 _ACEOF
20149 cat confdefs.h >>conftest.$ac_ext
20150 cat >>conftest.$ac_ext <<_ACEOF
20151 /* end confdefs.h. */
20152
20153 int
20154 main ()
20155 {
20156
20157 #ifndef __DECCXX
20158 choke me
20159 #endif
20160
20161 ;
20162 return 0;
20163 }
20164 _ACEOF
20165 rm -f conftest.$ac_objext
20166 if { (ac_try="$ac_compile"
20167 case "(($ac_try" in
20168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20169 *) ac_try_echo=$ac_try;;
20170 esac
20171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20172 (eval "$ac_compile") 2>conftest.er1
20173 ac_status=$?
20174 grep -v '^ *+' conftest.er1 >conftest.err
20175 rm -f conftest.er1
20176 cat conftest.err >&5
20177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20178 (exit $ac_status); } && {
20179 test -z "$ac_cxx_werror_flag" ||
20180 test ! -s conftest.err
20181 } && test -s conftest.$ac_objext; then
20182 bakefile_cv_cxx_compiler___DECCXX=yes
20183 else
20184 echo "$as_me: failed program was:" >&5
20185 sed 's/^/| /' conftest.$ac_ext >&5
20186
20187 bakefile_cv_cxx_compiler___DECCXX=no
20188
20189 fi
20190
20191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20192
20193
20194 fi
20195 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
20196 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
20197 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
20198 :; COMPAQCXX=yes
20199 else
20200 :;
20201 fi
20202 ac_ext=c
20203 ac_cpp='$CPP $CPPFLAGS'
20204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20207
20208
20209
20210 ;;
20211
20212 SunOS)
20213
20214
20215 ac_ext=cpp
20216 ac_cpp='$CXXCPP $CPPFLAGS'
20217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20220
20221 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
20222 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
20223 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
20224 echo $ECHO_N "(cached) $ECHO_C" >&6
20225 else
20226 cat >conftest.$ac_ext <<_ACEOF
20227 /* confdefs.h. */
20228 _ACEOF
20229 cat confdefs.h >>conftest.$ac_ext
20230 cat >>conftest.$ac_ext <<_ACEOF
20231 /* end confdefs.h. */
20232
20233 int
20234 main ()
20235 {
20236
20237 #ifndef __SUNPRO_CC
20238 choke me
20239 #endif
20240
20241 ;
20242 return 0;
20243 }
20244 _ACEOF
20245 rm -f conftest.$ac_objext
20246 if { (ac_try="$ac_compile"
20247 case "(($ac_try" in
20248 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20249 *) ac_try_echo=$ac_try;;
20250 esac
20251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20252 (eval "$ac_compile") 2>conftest.er1
20253 ac_status=$?
20254 grep -v '^ *+' conftest.er1 >conftest.err
20255 rm -f conftest.er1
20256 cat conftest.err >&5
20257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20258 (exit $ac_status); } && {
20259 test -z "$ac_cxx_werror_flag" ||
20260 test ! -s conftest.err
20261 } && test -s conftest.$ac_objext; then
20262 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
20263 else
20264 echo "$as_me: failed program was:" >&5
20265 sed 's/^/| /' conftest.$ac_ext >&5
20266
20267 bakefile_cv_cxx_compiler___SUNPRO_CC=no
20268
20269 fi
20270
20271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20272
20273
20274 fi
20275 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
20276 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
20277 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
20278 :; SUNCXX=yes
20279 else
20280 :;
20281 fi
20282 ac_ext=c
20283 ac_cpp='$CPP $CPPFLAGS'
20284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20287
20288
20289
20290 ;;
20291 esac
20292 fi
20293
20294
20295
20296 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
20297 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
20298 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
20299 { (exit 1); exit 1; }; }
20300 fi
20301
20302 if test "x$SUNCXX" != xyes; then
20303 if test -n "$ac_tool_prefix"; then
20304 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
20305 set dummy ${ac_tool_prefix}ar; ac_word=$2
20306 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20307 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20308 if test "${ac_cv_prog_AR+set}" = set; then
20309 echo $ECHO_N "(cached) $ECHO_C" >&6
20310 else
20311 if test -n "$AR"; then
20312 ac_cv_prog_AR="$AR" # Let the user override the test.
20313 else
20314 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20315 for as_dir in $PATH
20316 do
20317 IFS=$as_save_IFS
20318 test -z "$as_dir" && as_dir=.
20319 for ac_exec_ext in '' $ac_executable_extensions; do
20320 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20321 ac_cv_prog_AR="${ac_tool_prefix}ar"
20322 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20323 break 2
20324 fi
20325 done
20326 done
20327 IFS=$as_save_IFS
20328
20329 fi
20330 fi
20331 AR=$ac_cv_prog_AR
20332 if test -n "$AR"; then
20333 { echo "$as_me:$LINENO: result: $AR" >&5
20334 echo "${ECHO_T}$AR" >&6; }
20335 else
20336 { echo "$as_me:$LINENO: result: no" >&5
20337 echo "${ECHO_T}no" >&6; }
20338 fi
20339
20340
20341 fi
20342 if test -z "$ac_cv_prog_AR"; then
20343 ac_ct_AR=$AR
20344 # Extract the first word of "ar", so it can be a program name with args.
20345 set dummy ar; ac_word=$2
20346 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20347 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20348 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
20349 echo $ECHO_N "(cached) $ECHO_C" >&6
20350 else
20351 if test -n "$ac_ct_AR"; then
20352 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
20353 else
20354 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20355 for as_dir in $PATH
20356 do
20357 IFS=$as_save_IFS
20358 test -z "$as_dir" && as_dir=.
20359 for ac_exec_ext in '' $ac_executable_extensions; do
20360 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20361 ac_cv_prog_ac_ct_AR="ar"
20362 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20363 break 2
20364 fi
20365 done
20366 done
20367 IFS=$as_save_IFS
20368
20369 fi
20370 fi
20371 ac_ct_AR=$ac_cv_prog_ac_ct_AR
20372 if test -n "$ac_ct_AR"; then
20373 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
20374 echo "${ECHO_T}$ac_ct_AR" >&6; }
20375 else
20376 { echo "$as_me:$LINENO: result: no" >&5
20377 echo "${ECHO_T}no" >&6; }
20378 fi
20379
20380 if test "x$ac_ct_AR" = x; then
20381 AR=""
20382 else
20383 case $cross_compiling:$ac_tool_warned in
20384 yes:)
20385 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
20386 whose name does not start with the host triplet. If you think this
20387 configuration is useful to you, please write to autoconf@gnu.org." >&5
20388 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
20389 whose name does not start with the host triplet. If you think this
20390 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
20391 ac_tool_warned=yes ;;
20392 esac
20393 AR=$ac_ct_AR
20394 fi
20395 else
20396 AR="$ac_cv_prog_AR"
20397 fi
20398
20399 if test "x$AR" = "x" ; then
20400 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
20401 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
20402 { (exit 1); exit 1; }; }
20403 fi
20404 fi
20405
20406 retest_macosx_linking=no
20407
20408 #if test "$wxUSE_MAC" = 1; then
20409 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
20410 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
20411 # Implicitly turn on the new --with-macosx-sdk using the default
20412 # SDK which provides the behavior this option has always had.
20413 if test "x$wxUSE_MACOSX_SDK" = "x"; then
20414 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
20415 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
20416 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
20417 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
20418 wxUSE_MACOSX_SDK=yes
20419 fi
20420 else
20421 # Complain to user if he specified an argument to --enable-universal_binary
20422 # and also 1) specified --with-macosx-sdk using the default (yes) or
20423 # 2) specified --with-macosx-sdk using a path or 3) specified
20424 # --without-macosx-sdk (no).
20425 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
20426 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
20427 See \`config.log' for more details." >&5
20428 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
20429 See \`config.log' for more details." >&2;}
20430 { (exit 1); exit 1; }; }
20431 else
20432 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
20433 # special-case the empty string because the below test simply
20434 # converts "no" to the empty string anyway.
20435 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
20436 { echo "$as_me:$LINENO: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&5
20437 echo "$as_me: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&2;}
20438 fi
20439 fi
20440 OSX_UNIV_OPTS="-arch ppc -arch i386"
20441 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
20442 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
20443 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
20444 retest_macosx_linking=yes
20445
20446 { echo "$as_me:$LINENO: WARNING: Disabling precompiled headers due to universal binary build." >&5
20447 echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
20448 bk_use_pch=no
20449 fi
20450 #fi
20451
20452 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
20453 wxUSE_MACOSX_SDK=
20454 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
20455 # TODO: Search for most recent SDK and use it.
20456 wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
20457 fi
20458
20459
20460 if test "x$wxUSE_MACOSX_SDK" != "x"; then
20461 { echo "$as_me:$LINENO: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
20462 echo $ECHO_N "checking for SDK directory $wxUSE_MACOSX_SDK... $ECHO_C" >&6; }
20463 if ! test -d "$wxUSE_MACOSX_SDK"; then
20464 { { echo "$as_me:$LINENO: error: not found
20465 See \`config.log' for more details." >&5
20466 echo "$as_me: error: not found
20467 See \`config.log' for more details." >&2;}
20468 { (exit 1); exit 1; }; }
20469 else
20470 { echo "$as_me:$LINENO: result: exists" >&5
20471 echo "${ECHO_T}exists" >&6; }
20472 fi
20473 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
20474 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
20475 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
20476 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
20477 retest_macosx_linking=yes
20478 fi
20479
20480 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
20481 wxUSE_MACOSX_VERSION_MIN=
20482 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
20483 if test "x$wxUSE_MACOSX_SDK" != "x"; then
20484 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
20485 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
20486
20487 MACOSX_SDK_PLIST_VERSION_MIN=`defaults read "$wxUSE_MACOSX_SDK/SDKSettings" buildSettings | grep '^ *"\{0,1\}MACOSX_DEPLOYMENT_TARGET"\{0,1\} *= *"\{0,1\}[^"]*"\{0,1\}; *$' | sed 's/^ *"\{0,1\}MACOSX_DEPLOYMENT_TARGET"\{0,1\} *= *"\{0,1\}\([^"]*\)"\{0,1\} *; *$/\1/'`
20488
20489 # If that failed, try again with the new key
20490 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
20491
20492 MACOSX_SDK_PLIST_VERSION_MIN=`defaults read "$wxUSE_MACOSX_SDK/SDKSettings" DefaultProperties | grep '^ *"\{0,1\}MACOSX_DEPLOYMENT_TARGET"\{0,1\} *= *"\{0,1\}[^"]*"\{0,1\}; *$' | sed 's/^ *"\{0,1\}MACOSX_DEPLOYMENT_TARGET"\{0,1\} *= *"\{0,1\}\([^"]*\)"\{0,1\} *; *$/\1/'`
20493
20494 fi
20495
20496 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
20497 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
20498 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
20499 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
20500 else
20501 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
20502 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
20503 wxUSE_MACOSX_VERSION_MIN=
20504 fi
20505 else
20506 wxUSE_MACOSX_VERSION_MIN=
20507 fi
20508 fi
20509
20510 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
20511 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
20512 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
20513 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
20514 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
20515 retest_macosx_linking=yes
20516 fi
20517
20518 if test "x$retest_macosx_linking" = "xyes"; then
20519 ac_ext=c
20520 ac_cpp='$CPP $CPPFLAGS'
20521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20524
20525 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
20526 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
20527 cat >conftest.$ac_ext <<_ACEOF
20528 /* confdefs.h. */
20529 _ACEOF
20530 cat confdefs.h >>conftest.$ac_ext
20531 cat >>conftest.$ac_ext <<_ACEOF
20532 /* end confdefs.h. */
20533
20534 int
20535 main ()
20536 {
20537
20538 ;
20539 return 0;
20540 }
20541 _ACEOF
20542 rm -f conftest.$ac_objext conftest$ac_exeext
20543 if { (ac_try="$ac_link"
20544 case "(($ac_try" in
20545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20546 *) ac_try_echo=$ac_try;;
20547 esac
20548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20549 (eval "$ac_link") 2>conftest.er1
20550 ac_status=$?
20551 grep -v '^ *+' conftest.er1 >conftest.err
20552 rm -f conftest.er1
20553 cat conftest.err >&5
20554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20555 (exit $ac_status); } && {
20556 test -z "$ac_c_werror_flag" ||
20557 test ! -s conftest.err
20558 } && test -s conftest$ac_exeext &&
20559 $as_test_x conftest$ac_exeext; then
20560 { echo "$as_me:$LINENO: result: yes" >&5
20561 echo "${ECHO_T}yes" >&6; }
20562 else
20563 echo "$as_me: failed program was:" >&5
20564 sed 's/^/| /' conftest.$ac_ext >&5
20565
20566 { { echo "$as_me:$LINENO: error: no. Try a different SDK
20567 See \`config.log' for more details." >&5
20568 echo "$as_me: error: no. Try a different SDK
20569 See \`config.log' for more details." >&2;}
20570 { (exit 1); exit 1; }; }; exit 1
20571 fi
20572
20573 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20574 conftest$ac_exeext conftest.$ac_ext
20575 ac_ext=c
20576 ac_cpp='$CPP $CPPFLAGS'
20577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20580
20581
20582 ac_ext=cpp
20583 ac_cpp='$CXXCPP $CPPFLAGS'
20584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20587
20588 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
20589 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
20590 cat >conftest.$ac_ext <<_ACEOF
20591 /* confdefs.h. */
20592 _ACEOF
20593 cat confdefs.h >>conftest.$ac_ext
20594 cat >>conftest.$ac_ext <<_ACEOF
20595 /* end confdefs.h. */
20596
20597 int
20598 main ()
20599 {
20600
20601 ;
20602 return 0;
20603 }
20604 _ACEOF
20605 rm -f conftest.$ac_objext conftest$ac_exeext
20606 if { (ac_try="$ac_link"
20607 case "(($ac_try" in
20608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20609 *) ac_try_echo=$ac_try;;
20610 esac
20611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20612 (eval "$ac_link") 2>conftest.er1
20613 ac_status=$?
20614 grep -v '^ *+' conftest.er1 >conftest.err
20615 rm -f conftest.er1
20616 cat conftest.err >&5
20617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20618 (exit $ac_status); } && {
20619 test -z "$ac_cxx_werror_flag" ||
20620 test ! -s conftest.err
20621 } && test -s conftest$ac_exeext &&
20622 $as_test_x conftest$ac_exeext; then
20623 { echo "$as_me:$LINENO: result: yes" >&5
20624 echo "${ECHO_T}yes" >&6; }
20625 else
20626 echo "$as_me: failed program was:" >&5
20627 sed 's/^/| /' conftest.$ac_ext >&5
20628
20629 { { echo "$as_me:$LINENO: error: no. Try a different SDK
20630 See \`config.log' for more details." >&5
20631 echo "$as_me: error: no. Try a different SDK
20632 See \`config.log' for more details." >&2;}
20633 { (exit 1); exit 1; }; }; exit 1
20634 fi
20635
20636 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20637 conftest$ac_exeext conftest.$ac_ext
20638 ac_ext=c
20639 ac_cpp='$CPP $CPPFLAGS'
20640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20643
20644 fi
20645
20646
20647 case "${host}" in
20648
20649 *-*-darwin* )
20650 INSTALL_PROGRAM="cp -fp"
20651 INSTALL_DATA="cp -fp"
20652 ;;
20653 *)
20654 ;;
20655 esac
20656
20657
20658 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
20659 CXXFLAGS="-qunique $CXXFLAGS"
20660 fi
20661
20662 case "${host}" in
20663 powerpc-*-darwin* )
20664 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
20665 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
20666 cat >conftest.$ac_ext <<_ACEOF
20667 /* confdefs.h. */
20668 _ACEOF
20669 cat confdefs.h >>conftest.$ac_ext
20670 cat >>conftest.$ac_ext <<_ACEOF
20671 /* end confdefs.h. */
20672
20673 int
20674 main ()
20675 {
20676 #ifndef __POWERPC__
20677 choke me for lack of PowerPC
20678 #endif
20679
20680 ;
20681 return 0;
20682 }
20683 _ACEOF
20684 rm -f conftest.$ac_objext
20685 if { (ac_try="$ac_compile"
20686 case "(($ac_try" in
20687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20688 *) ac_try_echo=$ac_try;;
20689 esac
20690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20691 (eval "$ac_compile") 2>conftest.er1
20692 ac_status=$?
20693 grep -v '^ *+' conftest.er1 >conftest.err
20694 rm -f conftest.er1
20695 cat conftest.err >&5
20696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20697 (exit $ac_status); } && {
20698 test -z "$ac_c_werror_flag" ||
20699 test ! -s conftest.err
20700 } && test -s conftest.$ac_objext; then
20701 { echo "$as_me:$LINENO: result: yes" >&5
20702 echo "${ECHO_T}yes" >&6; }
20703 else
20704 echo "$as_me: failed program was:" >&5
20705 sed 's/^/| /' conftest.$ac_ext >&5
20706
20707 { echo "$as_me:$LINENO: result: no" >&5
20708 echo "${ECHO_T}no" >&6; }
20709 cat >>confdefs.h <<\_ACEOF
20710 #define __POWERPC__ 1
20711 _ACEOF
20712
20713
20714 fi
20715
20716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20717 ;;
20718 esac
20719
20720 case "${host}" in
20721 *-*-darwin* )
20722 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
20723 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
20724 cat >conftest.$ac_ext <<_ACEOF
20725 /* confdefs.h. */
20726 _ACEOF
20727 cat confdefs.h >>conftest.$ac_ext
20728 cat >>conftest.$ac_ext <<_ACEOF
20729 /* end confdefs.h. */
20730 #include <CoreFoundation/CFBase.h>
20731
20732 int
20733 main ()
20734 {
20735
20736 ;
20737 return 0;
20738 }
20739 _ACEOF
20740 rm -f conftest.$ac_objext
20741 if { (ac_try="$ac_compile"
20742 case "(($ac_try" in
20743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20744 *) ac_try_echo=$ac_try;;
20745 esac
20746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20747 (eval "$ac_compile") 2>conftest.er1
20748 ac_status=$?
20749 grep -v '^ *+' conftest.er1 >conftest.err
20750 rm -f conftest.er1
20751 cat conftest.err >&5
20752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20753 (exit $ac_status); } && {
20754 test -z "$ac_c_werror_flag" ||
20755 test ! -s conftest.err
20756 } && test -s conftest.$ac_objext; then
20757 { echo "$as_me:$LINENO: result: yes" >&5
20758 echo "${ECHO_T}yes" >&6; }
20759 else
20760 echo "$as_me: failed program was:" >&5
20761 sed 's/^/| /' conftest.$ac_ext >&5
20762
20763 { echo "$as_me:$LINENO: result: no" >&5
20764 echo "${ECHO_T}no" >&6; }
20765 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
20766 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
20767 cat >conftest.$ac_ext <<_ACEOF
20768 /* confdefs.h. */
20769 _ACEOF
20770 cat confdefs.h >>conftest.$ac_ext
20771 cat >>conftest.$ac_ext <<_ACEOF
20772 /* end confdefs.h. */
20773 #define __CF_USE_FRAMEWORK_INCLUDES__
20774 #include <CoreFoundation/CFBase.h>
20775
20776 int
20777 main ()
20778 {
20779
20780 ;
20781 return 0;
20782 }
20783 _ACEOF
20784 rm -f conftest.$ac_objext
20785 if { (ac_try="$ac_compile"
20786 case "(($ac_try" in
20787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20788 *) ac_try_echo=$ac_try;;
20789 esac
20790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20791 (eval "$ac_compile") 2>conftest.er1
20792 ac_status=$?
20793 grep -v '^ *+' conftest.er1 >conftest.err
20794 rm -f conftest.er1
20795 cat conftest.err >&5
20796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20797 (exit $ac_status); } && {
20798 test -z "$ac_c_werror_flag" ||
20799 test ! -s conftest.err
20800 } && test -s conftest.$ac_objext; then
20801 { echo "$as_me:$LINENO: result: yes" >&5
20802 echo "${ECHO_T}yes" >&6; }
20803 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
20804 else
20805 echo "$as_me: failed program was:" >&5
20806 sed 's/^/| /' conftest.$ac_ext >&5
20807
20808 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
20809 See \`config.log' for more details." >&5
20810 echo "$as_me: error: no. CoreFoundation not available.
20811 See \`config.log' for more details." >&2;}
20812 { (exit 1); exit 1; }; }
20813
20814 fi
20815
20816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20817
20818
20819 fi
20820
20821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20822 ;;
20823 esac
20824
20825 wants_win32=0
20826 doesnt_want_win32=0
20827 case "${host}" in
20828 *-*-cygwin*)
20829 if test "$wxUSE_MSW" = 1 ; then
20830 wants_win32=1
20831 else
20832 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
20833 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
20834 if test "${wx_cv_nocygwin+set}" = set; then
20835 echo $ECHO_N "(cached) $ECHO_C" >&6
20836 else
20837
20838 cat >conftest.$ac_ext <<_ACEOF
20839 /* confdefs.h. */
20840 _ACEOF
20841 cat confdefs.h >>conftest.$ac_ext
20842 cat >>conftest.$ac_ext <<_ACEOF
20843 /* end confdefs.h. */
20844
20845 int
20846 main ()
20847 {
20848
20849 #ifdef __MINGW32__
20850 choke me
20851 #endif
20852
20853 ;
20854 return 0;
20855 }
20856 _ACEOF
20857 rm -f conftest.$ac_objext
20858 if { (ac_try="$ac_compile"
20859 case "(($ac_try" in
20860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20861 *) ac_try_echo=$ac_try;;
20862 esac
20863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20864 (eval "$ac_compile") 2>conftest.er1
20865 ac_status=$?
20866 grep -v '^ *+' conftest.er1 >conftest.err
20867 rm -f conftest.er1
20868 cat conftest.err >&5
20869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20870 (exit $ac_status); } && {
20871 test -z "$ac_c_werror_flag" ||
20872 test ! -s conftest.err
20873 } && test -s conftest.$ac_objext; then
20874 wx_cv_nocygwin=no
20875 else
20876 echo "$as_me: failed program was:" >&5
20877 sed 's/^/| /' conftest.$ac_ext >&5
20878
20879 wx_cv_nocygwin=yes
20880
20881 fi
20882
20883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20884
20885
20886 fi
20887 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
20888 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
20889
20890 if test "$wx_cv_nocygwin" = "yes"; then
20891 wants_win32=1
20892 else
20893 doesnt_want_win32=1
20894 fi
20895 fi
20896 if test "$wants_win32" = 1 ; then
20897 BAKEFILE_FORCE_PLATFORM=win32
20898 fi
20899 ;;
20900 *-*-mingw*)
20901 wants_win32=1
20902 ;;
20903 esac
20904
20905 if test "$wxUSE_WINE" = "yes"; then
20906 wants_win32=1
20907 LDFLAGS_GUI="-mwindows"
20908 fi
20909
20910 if test "$wants_win32" = 1 ; then
20911 USE_UNIX=0
20912 USE_WIN32=1
20913 cat >>confdefs.h <<\_ACEOF
20914 #define __WIN32__ 1
20915 _ACEOF
20916
20917 cat >>confdefs.h <<\_ACEOF
20918 #define __WIN95__ 1
20919 _ACEOF
20920
20921 cat >>confdefs.h <<\_ACEOF
20922 #define __WINDOWS__ 1
20923 _ACEOF
20924
20925 cat >>confdefs.h <<\_ACEOF
20926 #define __GNUWIN32__ 1
20927 _ACEOF
20928
20929 cat >>confdefs.h <<\_ACEOF
20930 #define STRICT 1
20931 _ACEOF
20932
20933 fi
20934 if test "$doesnt_want_win32" = 1 ; then
20935 USE_UNIX=1
20936 USE_WIN32=0
20937 fi
20938
20939 if test "$USE_UNIX" = 1 ; then
20940 wxUSE_UNIX=yes
20941 cat >>confdefs.h <<\_ACEOF
20942 #define __UNIX__ 1
20943 _ACEOF
20944
20945 fi
20946
20947 case "${host}" in
20948 *-pc-os2_emx | *-pc-os2-emx )
20949 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
20950 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
20951 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
20952 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
20953 echo $ECHO_N "(cached) $ECHO_C" >&6
20954 else
20955 ac_check_lib_save_LIBS=$LIBS
20956 LIBS="-lcExt $LIBS"
20957 cat >conftest.$ac_ext <<_ACEOF
20958 /* confdefs.h. */
20959 _ACEOF
20960 cat confdefs.h >>conftest.$ac_ext
20961 cat >>conftest.$ac_ext <<_ACEOF
20962 /* end confdefs.h. */
20963
20964 /* Override any GCC internal prototype to avoid an error.
20965 Use char because int might match the return type of a GCC
20966 builtin and then its argument prototype would still apply. */
20967 #ifdef __cplusplus
20968 extern "C"
20969 #endif
20970 char drand48 ();
20971 int
20972 main ()
20973 {
20974 return drand48 ();
20975 ;
20976 return 0;
20977 }
20978 _ACEOF
20979 rm -f conftest.$ac_objext conftest$ac_exeext
20980 if { (ac_try="$ac_link"
20981 case "(($ac_try" in
20982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20983 *) ac_try_echo=$ac_try;;
20984 esac
20985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20986 (eval "$ac_link") 2>conftest.er1
20987 ac_status=$?
20988 grep -v '^ *+' conftest.er1 >conftest.err
20989 rm -f conftest.er1
20990 cat conftest.err >&5
20991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20992 (exit $ac_status); } && {
20993 test -z "$ac_c_werror_flag" ||
20994 test ! -s conftest.err
20995 } && test -s conftest$ac_exeext &&
20996 $as_test_x conftest$ac_exeext; then
20997 ac_cv_lib_cExt_drand48=yes
20998 else
20999 echo "$as_me: failed program was:" >&5
21000 sed 's/^/| /' conftest.$ac_ext >&5
21001
21002 ac_cv_lib_cExt_drand48=no
21003 fi
21004
21005 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21006 conftest$ac_exeext conftest.$ac_ext
21007 LIBS=$ac_check_lib_save_LIBS
21008 fi
21009 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
21010 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
21011 if test $ac_cv_lib_cExt_drand48 = yes; then
21012 LIBS="$LIBS -lcExt"
21013 fi
21014
21015 else
21016 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
21017 fi
21018 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
21019 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
21020 if test "${wx_cv_gccversion+set}" = set; then
21021 echo $ECHO_N "(cached) $ECHO_C" >&6
21022 else
21023
21024 if test "$cross_compiling" = yes; then
21025 wx_cv_gccversion="EMX2"
21026
21027 else
21028 cat >conftest.$ac_ext <<_ACEOF
21029 /* confdefs.h. */
21030 _ACEOF
21031 cat confdefs.h >>conftest.$ac_ext
21032 cat >>conftest.$ac_ext <<_ACEOF
21033 /* end confdefs.h. */
21034
21035 #include <stdio.h>
21036
21037 int main()
21038 {
21039 FILE *f=fopen("conftestval", "w");
21040 if (!f) exit(1);
21041 fprintf(f,
21042 #if (__GNUC__ < 3)
21043 "EMX2"
21044 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
21045 "EMX3"
21046 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
21047 "Innotek5"
21048 #else
21049 "Innotek6"
21050 #endif
21051 );
21052 exit(0);
21053 }
21054
21055 _ACEOF
21056 rm -f conftest$ac_exeext
21057 if { (ac_try="$ac_link"
21058 case "(($ac_try" in
21059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21060 *) ac_try_echo=$ac_try;;
21061 esac
21062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21063 (eval "$ac_link") 2>&5
21064 ac_status=$?
21065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21066 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21067 { (case "(($ac_try" in
21068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21069 *) ac_try_echo=$ac_try;;
21070 esac
21071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21072 (eval "$ac_try") 2>&5
21073 ac_status=$?
21074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21075 (exit $ac_status); }; }; then
21076 wx_cv_gccversion=`cat conftestval`
21077 else
21078 echo "$as_me: program exited with status $ac_status" >&5
21079 echo "$as_me: failed program was:" >&5
21080 sed 's/^/| /' conftest.$ac_ext >&5
21081
21082 ( exit $ac_status )
21083 wx_cv_gccversion="EMX2"
21084 fi
21085 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21086 fi
21087
21088
21089
21090 fi
21091 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
21092 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
21093 if test "$wx_cv_gccversion" = "EMX2"; then
21094 LIBS="$LIBS -lstdcpp"
21095 LDFLAGS="$LDFLAGS -Zsysv-signals"
21096 else
21097 if test "$wx_cv_gccversion" = "EMX3"; then
21098 LIBS="$LIBS -lstdcxx -lgcc"
21099 LDFLAGS="$LDFLAGS -Zsysv-signals"
21100 else
21101 LIBS="$LIBS -lstdc++"
21102 fi
21103 fi
21104 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
21105 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
21106 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
21107 wxUSE_OMF=yes
21108 enable_omf=yes
21109 fi
21110 ;;
21111 *)
21112
21113 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
21114 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
21115 if test "${ac_cv_string_strcasecmp+set}" = set; then
21116 echo $ECHO_N "(cached) $ECHO_C" >&6
21117 else
21118
21119 cat >conftest.$ac_ext <<_ACEOF
21120 /* confdefs.h. */
21121 _ACEOF
21122 cat confdefs.h >>conftest.$ac_ext
21123 cat >>conftest.$ac_ext <<_ACEOF
21124 /* end confdefs.h. */
21125
21126 #include <string.h>
21127
21128 int
21129 main ()
21130 {
21131
21132 strcasecmp("foo", "bar");
21133
21134 ;
21135 return 0;
21136 }
21137 _ACEOF
21138 rm -f conftest.$ac_objext conftest$ac_exeext
21139 if { (ac_try="$ac_link"
21140 case "(($ac_try" in
21141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21142 *) ac_try_echo=$ac_try;;
21143 esac
21144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21145 (eval "$ac_link") 2>conftest.er1
21146 ac_status=$?
21147 grep -v '^ *+' conftest.er1 >conftest.err
21148 rm -f conftest.er1
21149 cat conftest.err >&5
21150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21151 (exit $ac_status); } && {
21152 test -z "$ac_c_werror_flag" ||
21153 test ! -s conftest.err
21154 } && test -s conftest$ac_exeext &&
21155 $as_test_x conftest$ac_exeext; then
21156 ac_cv_string_strcasecmp=yes
21157 else
21158 echo "$as_me: failed program was:" >&5
21159 sed 's/^/| /' conftest.$ac_ext >&5
21160
21161 ac_cv_string_strcasecmp=no
21162
21163 fi
21164
21165 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21166 conftest$ac_exeext conftest.$ac_ext
21167
21168 fi
21169 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
21170 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
21171
21172 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
21173 cat >>confdefs.h <<\_ACEOF
21174 #define HAVE_STRCASECMP_IN_STRING_H 1
21175 _ACEOF
21176
21177 else
21178 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
21179 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
21180 if test "${ac_cv_strings_strcasecmp+set}" = set; then
21181 echo $ECHO_N "(cached) $ECHO_C" >&6
21182 else
21183
21184 cat >conftest.$ac_ext <<_ACEOF
21185 /* confdefs.h. */
21186 _ACEOF
21187 cat confdefs.h >>conftest.$ac_ext
21188 cat >>conftest.$ac_ext <<_ACEOF
21189 /* end confdefs.h. */
21190
21191 #include <strings.h>
21192
21193 int
21194 main ()
21195 {
21196
21197 strcasecmp("foo", "bar");
21198
21199 ;
21200 return 0;
21201 }
21202 _ACEOF
21203 rm -f conftest.$ac_objext conftest$ac_exeext
21204 if { (ac_try="$ac_link"
21205 case "(($ac_try" in
21206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21207 *) ac_try_echo=$ac_try;;
21208 esac
21209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21210 (eval "$ac_link") 2>conftest.er1
21211 ac_status=$?
21212 grep -v '^ *+' conftest.er1 >conftest.err
21213 rm -f conftest.er1
21214 cat conftest.err >&5
21215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21216 (exit $ac_status); } && {
21217 test -z "$ac_c_werror_flag" ||
21218 test ! -s conftest.err
21219 } && test -s conftest$ac_exeext &&
21220 $as_test_x conftest$ac_exeext; then
21221 ac_cv_strings_strcasecmp=yes
21222 else
21223 echo "$as_me: failed program was:" >&5
21224 sed 's/^/| /' conftest.$ac_ext >&5
21225
21226 ac_cv_strings_strcasecmp=no
21227
21228 fi
21229
21230 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21231 conftest$ac_exeext conftest.$ac_ext
21232
21233 fi
21234 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
21235 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
21236
21237 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
21238 cat >>confdefs.h <<\_ACEOF
21239 #define HAVE_STRCASECMP_IN_STRINGS_H 1
21240 _ACEOF
21241
21242 else
21243 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
21244 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
21245 { (exit 1); exit 1; }; }
21246 fi
21247 fi
21248
21249 ;;
21250 esac
21251
21252
21253 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
21254 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
21255 if test "${ac_cv_header_stdc+set}" = set; then
21256 echo $ECHO_N "(cached) $ECHO_C" >&6
21257 else
21258 cat >conftest.$ac_ext <<_ACEOF
21259 /* confdefs.h. */
21260 _ACEOF
21261 cat confdefs.h >>conftest.$ac_ext
21262 cat >>conftest.$ac_ext <<_ACEOF
21263 /* end confdefs.h. */
21264 #include <stdlib.h>
21265 #include <stdarg.h>
21266 #include <string.h>
21267 #include <float.h>
21268
21269 int
21270 main ()
21271 {
21272
21273 ;
21274 return 0;
21275 }
21276 _ACEOF
21277 rm -f conftest.$ac_objext
21278 if { (ac_try="$ac_compile"
21279 case "(($ac_try" in
21280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21281 *) ac_try_echo=$ac_try;;
21282 esac
21283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21284 (eval "$ac_compile") 2>conftest.er1
21285 ac_status=$?
21286 grep -v '^ *+' conftest.er1 >conftest.err
21287 rm -f conftest.er1
21288 cat conftest.err >&5
21289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21290 (exit $ac_status); } && {
21291 test -z "$ac_c_werror_flag" ||
21292 test ! -s conftest.err
21293 } && test -s conftest.$ac_objext; then
21294 ac_cv_header_stdc=yes
21295 else
21296 echo "$as_me: failed program was:" >&5
21297 sed 's/^/| /' conftest.$ac_ext >&5
21298
21299 ac_cv_header_stdc=no
21300 fi
21301
21302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21303
21304 if test $ac_cv_header_stdc = yes; then
21305 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
21306 cat >conftest.$ac_ext <<_ACEOF
21307 /* confdefs.h. */
21308 _ACEOF
21309 cat confdefs.h >>conftest.$ac_ext
21310 cat >>conftest.$ac_ext <<_ACEOF
21311 /* end confdefs.h. */
21312 #include <string.h>
21313
21314 _ACEOF
21315 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21316 $EGREP "memchr" >/dev/null 2>&1; then
21317 :
21318 else
21319 ac_cv_header_stdc=no
21320 fi
21321 rm -f conftest*
21322
21323 fi
21324
21325 if test $ac_cv_header_stdc = yes; then
21326 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
21327 cat >conftest.$ac_ext <<_ACEOF
21328 /* confdefs.h. */
21329 _ACEOF
21330 cat confdefs.h >>conftest.$ac_ext
21331 cat >>conftest.$ac_ext <<_ACEOF
21332 /* end confdefs.h. */
21333 #include <stdlib.h>
21334
21335 _ACEOF
21336 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21337 $EGREP "free" >/dev/null 2>&1; then
21338 :
21339 else
21340 ac_cv_header_stdc=no
21341 fi
21342 rm -f conftest*
21343
21344 fi
21345
21346 if test $ac_cv_header_stdc = yes; then
21347 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
21348 if test "$cross_compiling" = yes; then
21349 :
21350 else
21351 cat >conftest.$ac_ext <<_ACEOF
21352 /* confdefs.h. */
21353 _ACEOF
21354 cat confdefs.h >>conftest.$ac_ext
21355 cat >>conftest.$ac_ext <<_ACEOF
21356 /* end confdefs.h. */
21357 #include <ctype.h>
21358 #include <stdlib.h>
21359 #if ((' ' & 0x0FF) == 0x020)
21360 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
21361 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
21362 #else
21363 # define ISLOWER(c) \
21364 (('a' <= (c) && (c) <= 'i') \
21365 || ('j' <= (c) && (c) <= 'r') \
21366 || ('s' <= (c) && (c) <= 'z'))
21367 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
21368 #endif
21369
21370 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
21371 int
21372 main ()
21373 {
21374 int i;
21375 for (i = 0; i < 256; i++)
21376 if (XOR (islower (i), ISLOWER (i))
21377 || toupper (i) != TOUPPER (i))
21378 return 2;
21379 return 0;
21380 }
21381 _ACEOF
21382 rm -f conftest$ac_exeext
21383 if { (ac_try="$ac_link"
21384 case "(($ac_try" in
21385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21386 *) ac_try_echo=$ac_try;;
21387 esac
21388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21389 (eval "$ac_link") 2>&5
21390 ac_status=$?
21391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21392 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21393 { (case "(($ac_try" in
21394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21395 *) ac_try_echo=$ac_try;;
21396 esac
21397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21398 (eval "$ac_try") 2>&5
21399 ac_status=$?
21400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21401 (exit $ac_status); }; }; then
21402 :
21403 else
21404 echo "$as_me: program exited with status $ac_status" >&5
21405 echo "$as_me: failed program was:" >&5
21406 sed 's/^/| /' conftest.$ac_ext >&5
21407
21408 ( exit $ac_status )
21409 ac_cv_header_stdc=no
21410 fi
21411 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21412 fi
21413
21414
21415 fi
21416 fi
21417 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
21418 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
21419 if test $ac_cv_header_stdc = yes; then
21420
21421 cat >>confdefs.h <<\_ACEOF
21422 #define STDC_HEADERS 1
21423 _ACEOF
21424
21425 fi
21426
21427 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
21428
21429
21430
21431
21432
21433
21434
21435
21436
21437 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
21438 inttypes.h stdint.h unistd.h
21439 do
21440 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21441 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21442 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21443 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21444 echo $ECHO_N "(cached) $ECHO_C" >&6
21445 else
21446 cat >conftest.$ac_ext <<_ACEOF
21447 /* confdefs.h. */
21448 _ACEOF
21449 cat confdefs.h >>conftest.$ac_ext
21450 cat >>conftest.$ac_ext <<_ACEOF
21451 /* end confdefs.h. */
21452 $ac_includes_default
21453
21454 #include <$ac_header>
21455 _ACEOF
21456 rm -f conftest.$ac_objext
21457 if { (ac_try="$ac_compile"
21458 case "(($ac_try" in
21459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21460 *) ac_try_echo=$ac_try;;
21461 esac
21462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21463 (eval "$ac_compile") 2>conftest.er1
21464 ac_status=$?
21465 grep -v '^ *+' conftest.er1 >conftest.err
21466 rm -f conftest.er1
21467 cat conftest.err >&5
21468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21469 (exit $ac_status); } && {
21470 test -z "$ac_c_werror_flag" ||
21471 test ! -s conftest.err
21472 } && test -s conftest.$ac_objext; then
21473 eval "$as_ac_Header=yes"
21474 else
21475 echo "$as_me: failed program was:" >&5
21476 sed 's/^/| /' conftest.$ac_ext >&5
21477
21478 eval "$as_ac_Header=no"
21479 fi
21480
21481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21482 fi
21483 ac_res=`eval echo '${'$as_ac_Header'}'`
21484 { echo "$as_me:$LINENO: result: $ac_res" >&5
21485 echo "${ECHO_T}$ac_res" >&6; }
21486 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21487 cat >>confdefs.h <<_ACEOF
21488 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21489 _ACEOF
21490
21491 fi
21492
21493 done
21494
21495
21496
21497
21498 for ac_header in langinfo.h wchar.h
21499 do
21500 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21501 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21502 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21503 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21504 echo $ECHO_N "(cached) $ECHO_C" >&6
21505 else
21506 cat >conftest.$ac_ext <<_ACEOF
21507 /* confdefs.h. */
21508 _ACEOF
21509 cat confdefs.h >>conftest.$ac_ext
21510 cat >>conftest.$ac_ext <<_ACEOF
21511 /* end confdefs.h. */
21512 $ac_includes_default
21513
21514 #include <$ac_header>
21515 _ACEOF
21516 rm -f conftest.$ac_objext
21517 if { (ac_try="$ac_compile"
21518 case "(($ac_try" in
21519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21520 *) ac_try_echo=$ac_try;;
21521 esac
21522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21523 (eval "$ac_compile") 2>conftest.er1
21524 ac_status=$?
21525 grep -v '^ *+' conftest.er1 >conftest.err
21526 rm -f conftest.er1
21527 cat conftest.err >&5
21528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21529 (exit $ac_status); } && {
21530 test -z "$ac_c_werror_flag" ||
21531 test ! -s conftest.err
21532 } && test -s conftest.$ac_objext; then
21533 eval "$as_ac_Header=yes"
21534 else
21535 echo "$as_me: failed program was:" >&5
21536 sed 's/^/| /' conftest.$ac_ext >&5
21537
21538 eval "$as_ac_Header=no"
21539 fi
21540
21541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21542 fi
21543 ac_res=`eval echo '${'$as_ac_Header'}'`
21544 { echo "$as_me:$LINENO: result: $ac_res" >&5
21545 echo "${ECHO_T}$ac_res" >&6; }
21546 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21547 cat >>confdefs.h <<_ACEOF
21548 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21549 _ACEOF
21550
21551 fi
21552
21553 done
21554
21555
21556 if test "$ac_cv_header_wchar_h" != "yes"; then
21557
21558 for ac_header in wcstr.h
21559 do
21560 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21561 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21562 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21563 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21564 echo $ECHO_N "(cached) $ECHO_C" >&6
21565 else
21566 cat >conftest.$ac_ext <<_ACEOF
21567 /* confdefs.h. */
21568 _ACEOF
21569 cat confdefs.h >>conftest.$ac_ext
21570 cat >>conftest.$ac_ext <<_ACEOF
21571 /* end confdefs.h. */
21572 $ac_includes_default
21573
21574 #include <$ac_header>
21575 _ACEOF
21576 rm -f conftest.$ac_objext
21577 if { (ac_try="$ac_compile"
21578 case "(($ac_try" in
21579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21580 *) ac_try_echo=$ac_try;;
21581 esac
21582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21583 (eval "$ac_compile") 2>conftest.er1
21584 ac_status=$?
21585 grep -v '^ *+' conftest.er1 >conftest.err
21586 rm -f conftest.er1
21587 cat conftest.err >&5
21588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21589 (exit $ac_status); } && {
21590 test -z "$ac_c_werror_flag" ||
21591 test ! -s conftest.err
21592 } && test -s conftest.$ac_objext; then
21593 eval "$as_ac_Header=yes"
21594 else
21595 echo "$as_me: failed program was:" >&5
21596 sed 's/^/| /' conftest.$ac_ext >&5
21597
21598 eval "$as_ac_Header=no"
21599 fi
21600
21601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21602 fi
21603 ac_res=`eval echo '${'$as_ac_Header'}'`
21604 { echo "$as_me:$LINENO: result: $ac_res" >&5
21605 echo "${ECHO_T}$ac_res" >&6; }
21606 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21607 cat >>confdefs.h <<_ACEOF
21608 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21609 _ACEOF
21610
21611 fi
21612
21613 done
21614
21615 fi
21616
21617 case "${host}" in
21618 *-pc-os2_emx | *-pc-os2-emx )
21619 if test $ac_cv_header_langinfo_h = "yes" \
21620 -a \( "$wx_cv_gccversion" = "EMX2" \
21621 -o "$wx_cv_gccversion" = "EMX3" \
21622 -o "$wx_cv_gccversion" = "Innotek5" \); then
21623 LIBS="$LIBS -lintl"
21624 fi
21625 ;;
21626 esac
21627
21628 if test "$USE_UNIX" = 1 ; then
21629
21630 for ac_header in sys/select.h
21631 do
21632 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21633 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21634 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21635 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21636 echo $ECHO_N "(cached) $ECHO_C" >&6
21637 else
21638 cat >conftest.$ac_ext <<_ACEOF
21639 /* confdefs.h. */
21640 _ACEOF
21641 cat confdefs.h >>conftest.$ac_ext
21642 cat >>conftest.$ac_ext <<_ACEOF
21643 /* end confdefs.h. */
21644 $ac_includes_default
21645
21646 #include <$ac_header>
21647 _ACEOF
21648 rm -f conftest.$ac_objext
21649 if { (ac_try="$ac_compile"
21650 case "(($ac_try" in
21651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21652 *) ac_try_echo=$ac_try;;
21653 esac
21654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21655 (eval "$ac_compile") 2>conftest.er1
21656 ac_status=$?
21657 grep -v '^ *+' conftest.er1 >conftest.err
21658 rm -f conftest.er1
21659 cat conftest.err >&5
21660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21661 (exit $ac_status); } && {
21662 test -z "$ac_c_werror_flag" ||
21663 test ! -s conftest.err
21664 } && test -s conftest.$ac_objext; then
21665 eval "$as_ac_Header=yes"
21666 else
21667 echo "$as_me: failed program was:" >&5
21668 sed 's/^/| /' conftest.$ac_ext >&5
21669
21670 eval "$as_ac_Header=no"
21671 fi
21672
21673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21674 fi
21675 ac_res=`eval echo '${'$as_ac_Header'}'`
21676 { echo "$as_me:$LINENO: result: $ac_res" >&5
21677 echo "${ECHO_T}$ac_res" >&6; }
21678 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21679 cat >>confdefs.h <<_ACEOF
21680 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21681 _ACEOF
21682
21683 fi
21684
21685 done
21686
21687 fi
21688
21689
21690 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
21691 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
21692 if test "${ac_cv_c_const+set}" = set; then
21693 echo $ECHO_N "(cached) $ECHO_C" >&6
21694 else
21695 cat >conftest.$ac_ext <<_ACEOF
21696 /* confdefs.h. */
21697 _ACEOF
21698 cat confdefs.h >>conftest.$ac_ext
21699 cat >>conftest.$ac_ext <<_ACEOF
21700 /* end confdefs.h. */
21701
21702 int
21703 main ()
21704 {
21705 /* FIXME: Include the comments suggested by Paul. */
21706 #ifndef __cplusplus
21707 /* Ultrix mips cc rejects this. */
21708 typedef int charset[2];
21709 const charset cs;
21710 /* SunOS 4.1.1 cc rejects this. */
21711 char const *const *pcpcc;
21712 char **ppc;
21713 /* NEC SVR4.0.2 mips cc rejects this. */
21714 struct point {int x, y;};
21715 static struct point const zero = {0,0};
21716 /* AIX XL C 1.02.0.0 rejects this.
21717 It does not let you subtract one const X* pointer from another in
21718 an arm of an if-expression whose if-part is not a constant
21719 expression */
21720 const char *g = "string";
21721 pcpcc = &g + (g ? g-g : 0);
21722 /* HPUX 7.0 cc rejects these. */
21723 ++pcpcc;
21724 ppc = (char**) pcpcc;
21725 pcpcc = (char const *const *) ppc;
21726 { /* SCO 3.2v4 cc rejects this. */
21727 char *t;
21728 char const *s = 0 ? (char *) 0 : (char const *) 0;
21729
21730 *t++ = 0;
21731 if (s) return 0;
21732 }
21733 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
21734 int x[] = {25, 17};
21735 const int *foo = &x[0];
21736 ++foo;
21737 }
21738 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
21739 typedef const int *iptr;
21740 iptr p = 0;
21741 ++p;
21742 }
21743 { /* AIX XL C 1.02.0.0 rejects this saying
21744 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
21745 struct s { int j; const int *ap[3]; };
21746 struct s *b; b->j = 5;
21747 }
21748 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
21749 const int foo = 10;
21750 if (!foo) return 0;
21751 }
21752 return !cs[0] && !zero.x;
21753 #endif
21754
21755 ;
21756 return 0;
21757 }
21758 _ACEOF
21759 rm -f conftest.$ac_objext
21760 if { (ac_try="$ac_compile"
21761 case "(($ac_try" in
21762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21763 *) ac_try_echo=$ac_try;;
21764 esac
21765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21766 (eval "$ac_compile") 2>conftest.er1
21767 ac_status=$?
21768 grep -v '^ *+' conftest.er1 >conftest.err
21769 rm -f conftest.er1
21770 cat conftest.err >&5
21771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21772 (exit $ac_status); } && {
21773 test -z "$ac_c_werror_flag" ||
21774 test ! -s conftest.err
21775 } && test -s conftest.$ac_objext; then
21776 ac_cv_c_const=yes
21777 else
21778 echo "$as_me: failed program was:" >&5
21779 sed 's/^/| /' conftest.$ac_ext >&5
21780
21781 ac_cv_c_const=no
21782 fi
21783
21784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21785 fi
21786 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
21787 echo "${ECHO_T}$ac_cv_c_const" >&6; }
21788 if test $ac_cv_c_const = no; then
21789
21790 cat >>confdefs.h <<\_ACEOF
21791 #define const
21792 _ACEOF
21793
21794 fi
21795
21796 { echo "$as_me:$LINENO: checking for inline" >&5
21797 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
21798 if test "${ac_cv_c_inline+set}" = set; then
21799 echo $ECHO_N "(cached) $ECHO_C" >&6
21800 else
21801 ac_cv_c_inline=no
21802 for ac_kw in inline __inline__ __inline; do
21803 cat >conftest.$ac_ext <<_ACEOF
21804 /* confdefs.h. */
21805 _ACEOF
21806 cat confdefs.h >>conftest.$ac_ext
21807 cat >>conftest.$ac_ext <<_ACEOF
21808 /* end confdefs.h. */
21809 #ifndef __cplusplus
21810 typedef int foo_t;
21811 static $ac_kw foo_t static_foo () {return 0; }
21812 $ac_kw foo_t foo () {return 0; }
21813 #endif
21814
21815 _ACEOF
21816 rm -f conftest.$ac_objext
21817 if { (ac_try="$ac_compile"
21818 case "(($ac_try" in
21819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21820 *) ac_try_echo=$ac_try;;
21821 esac
21822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21823 (eval "$ac_compile") 2>conftest.er1
21824 ac_status=$?
21825 grep -v '^ *+' conftest.er1 >conftest.err
21826 rm -f conftest.er1
21827 cat conftest.err >&5
21828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21829 (exit $ac_status); } && {
21830 test -z "$ac_c_werror_flag" ||
21831 test ! -s conftest.err
21832 } && test -s conftest.$ac_objext; then
21833 ac_cv_c_inline=$ac_kw
21834 else
21835 echo "$as_me: failed program was:" >&5
21836 sed 's/^/| /' conftest.$ac_ext >&5
21837
21838
21839 fi
21840
21841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21842 test "$ac_cv_c_inline" != no && break
21843 done
21844
21845 fi
21846 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
21847 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
21848
21849
21850 case $ac_cv_c_inline in
21851 inline | yes) ;;
21852 *)
21853 case $ac_cv_c_inline in
21854 no) ac_val=;;
21855 *) ac_val=$ac_cv_c_inline;;
21856 esac
21857 cat >>confdefs.h <<_ACEOF
21858 #ifndef __cplusplus
21859 #define inline $ac_val
21860 #endif
21861 _ACEOF
21862 ;;
21863 esac
21864
21865
21866 { echo "$as_me:$LINENO: checking for short" >&5
21867 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
21868 if test "${ac_cv_type_short+set}" = set; then
21869 echo $ECHO_N "(cached) $ECHO_C" >&6
21870 else
21871 cat >conftest.$ac_ext <<_ACEOF
21872 /* confdefs.h. */
21873 _ACEOF
21874 cat confdefs.h >>conftest.$ac_ext
21875 cat >>conftest.$ac_ext <<_ACEOF
21876 /* end confdefs.h. */
21877 $ac_includes_default
21878 typedef short ac__type_new_;
21879 int
21880 main ()
21881 {
21882 if ((ac__type_new_ *) 0)
21883 return 0;
21884 if (sizeof (ac__type_new_))
21885 return 0;
21886 ;
21887 return 0;
21888 }
21889 _ACEOF
21890 rm -f conftest.$ac_objext
21891 if { (ac_try="$ac_compile"
21892 case "(($ac_try" in
21893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21894 *) ac_try_echo=$ac_try;;
21895 esac
21896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21897 (eval "$ac_compile") 2>conftest.er1
21898 ac_status=$?
21899 grep -v '^ *+' conftest.er1 >conftest.err
21900 rm -f conftest.er1
21901 cat conftest.err >&5
21902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21903 (exit $ac_status); } && {
21904 test -z "$ac_c_werror_flag" ||
21905 test ! -s conftest.err
21906 } && test -s conftest.$ac_objext; then
21907 ac_cv_type_short=yes
21908 else
21909 echo "$as_me: failed program was:" >&5
21910 sed 's/^/| /' conftest.$ac_ext >&5
21911
21912 ac_cv_type_short=no
21913 fi
21914
21915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21916 fi
21917 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
21918 echo "${ECHO_T}$ac_cv_type_short" >&6; }
21919
21920 # The cast to long int works around a bug in the HP C Compiler
21921 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21922 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21923 # This bug is HP SR number 8606223364.
21924 { echo "$as_me:$LINENO: checking size of short" >&5
21925 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
21926 if test "${ac_cv_sizeof_short+set}" = set; then
21927 echo $ECHO_N "(cached) $ECHO_C" >&6
21928 else
21929 if test "$cross_compiling" = yes; then
21930 # Depending upon the size, compute the lo and hi bounds.
21931 cat >conftest.$ac_ext <<_ACEOF
21932 /* confdefs.h. */
21933 _ACEOF
21934 cat confdefs.h >>conftest.$ac_ext
21935 cat >>conftest.$ac_ext <<_ACEOF
21936 /* end confdefs.h. */
21937 $ac_includes_default
21938 typedef short ac__type_sizeof_;
21939 int
21940 main ()
21941 {
21942 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21943 test_array [0] = 0
21944
21945 ;
21946 return 0;
21947 }
21948 _ACEOF
21949 rm -f conftest.$ac_objext
21950 if { (ac_try="$ac_compile"
21951 case "(($ac_try" in
21952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21953 *) ac_try_echo=$ac_try;;
21954 esac
21955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21956 (eval "$ac_compile") 2>conftest.er1
21957 ac_status=$?
21958 grep -v '^ *+' conftest.er1 >conftest.err
21959 rm -f conftest.er1
21960 cat conftest.err >&5
21961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21962 (exit $ac_status); } && {
21963 test -z "$ac_c_werror_flag" ||
21964 test ! -s conftest.err
21965 } && test -s conftest.$ac_objext; then
21966 ac_lo=0 ac_mid=0
21967 while :; do
21968 cat >conftest.$ac_ext <<_ACEOF
21969 /* confdefs.h. */
21970 _ACEOF
21971 cat confdefs.h >>conftest.$ac_ext
21972 cat >>conftest.$ac_ext <<_ACEOF
21973 /* end confdefs.h. */
21974 $ac_includes_default
21975 typedef short ac__type_sizeof_;
21976 int
21977 main ()
21978 {
21979 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21980 test_array [0] = 0
21981
21982 ;
21983 return 0;
21984 }
21985 _ACEOF
21986 rm -f conftest.$ac_objext
21987 if { (ac_try="$ac_compile"
21988 case "(($ac_try" in
21989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21990 *) ac_try_echo=$ac_try;;
21991 esac
21992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21993 (eval "$ac_compile") 2>conftest.er1
21994 ac_status=$?
21995 grep -v '^ *+' conftest.er1 >conftest.err
21996 rm -f conftest.er1
21997 cat conftest.err >&5
21998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21999 (exit $ac_status); } && {
22000 test -z "$ac_c_werror_flag" ||
22001 test ! -s conftest.err
22002 } && test -s conftest.$ac_objext; then
22003 ac_hi=$ac_mid; break
22004 else
22005 echo "$as_me: failed program was:" >&5
22006 sed 's/^/| /' conftest.$ac_ext >&5
22007
22008 ac_lo=`expr $ac_mid + 1`
22009 if test $ac_lo -le $ac_mid; then
22010 ac_lo= ac_hi=
22011 break
22012 fi
22013 ac_mid=`expr 2 '*' $ac_mid + 1`
22014 fi
22015
22016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22017 done
22018 else
22019 echo "$as_me: failed program was:" >&5
22020 sed 's/^/| /' conftest.$ac_ext >&5
22021
22022 cat >conftest.$ac_ext <<_ACEOF
22023 /* confdefs.h. */
22024 _ACEOF
22025 cat confdefs.h >>conftest.$ac_ext
22026 cat >>conftest.$ac_ext <<_ACEOF
22027 /* end confdefs.h. */
22028 $ac_includes_default
22029 typedef short ac__type_sizeof_;
22030 int
22031 main ()
22032 {
22033 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22034 test_array [0] = 0
22035
22036 ;
22037 return 0;
22038 }
22039 _ACEOF
22040 rm -f conftest.$ac_objext
22041 if { (ac_try="$ac_compile"
22042 case "(($ac_try" in
22043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22044 *) ac_try_echo=$ac_try;;
22045 esac
22046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22047 (eval "$ac_compile") 2>conftest.er1
22048 ac_status=$?
22049 grep -v '^ *+' conftest.er1 >conftest.err
22050 rm -f conftest.er1
22051 cat conftest.err >&5
22052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22053 (exit $ac_status); } && {
22054 test -z "$ac_c_werror_flag" ||
22055 test ! -s conftest.err
22056 } && test -s conftest.$ac_objext; then
22057 ac_hi=-1 ac_mid=-1
22058 while :; do
22059 cat >conftest.$ac_ext <<_ACEOF
22060 /* confdefs.h. */
22061 _ACEOF
22062 cat confdefs.h >>conftest.$ac_ext
22063 cat >>conftest.$ac_ext <<_ACEOF
22064 /* end confdefs.h. */
22065 $ac_includes_default
22066 typedef short ac__type_sizeof_;
22067 int
22068 main ()
22069 {
22070 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22071 test_array [0] = 0
22072
22073 ;
22074 return 0;
22075 }
22076 _ACEOF
22077 rm -f conftest.$ac_objext
22078 if { (ac_try="$ac_compile"
22079 case "(($ac_try" in
22080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22081 *) ac_try_echo=$ac_try;;
22082 esac
22083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22084 (eval "$ac_compile") 2>conftest.er1
22085 ac_status=$?
22086 grep -v '^ *+' conftest.er1 >conftest.err
22087 rm -f conftest.er1
22088 cat conftest.err >&5
22089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22090 (exit $ac_status); } && {
22091 test -z "$ac_c_werror_flag" ||
22092 test ! -s conftest.err
22093 } && test -s conftest.$ac_objext; then
22094 ac_lo=$ac_mid; break
22095 else
22096 echo "$as_me: failed program was:" >&5
22097 sed 's/^/| /' conftest.$ac_ext >&5
22098
22099 ac_hi=`expr '(' $ac_mid ')' - 1`
22100 if test $ac_mid -le $ac_hi; then
22101 ac_lo= ac_hi=
22102 break
22103 fi
22104 ac_mid=`expr 2 '*' $ac_mid`
22105 fi
22106
22107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22108 done
22109 else
22110 echo "$as_me: failed program was:" >&5
22111 sed 's/^/| /' conftest.$ac_ext >&5
22112
22113 ac_lo= ac_hi=
22114 fi
22115
22116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22117 fi
22118
22119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22120 # Binary search between lo and hi bounds.
22121 while test "x$ac_lo" != "x$ac_hi"; do
22122 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22123 cat >conftest.$ac_ext <<_ACEOF
22124 /* confdefs.h. */
22125 _ACEOF
22126 cat confdefs.h >>conftest.$ac_ext
22127 cat >>conftest.$ac_ext <<_ACEOF
22128 /* end confdefs.h. */
22129 $ac_includes_default
22130 typedef short ac__type_sizeof_;
22131 int
22132 main ()
22133 {
22134 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22135 test_array [0] = 0
22136
22137 ;
22138 return 0;
22139 }
22140 _ACEOF
22141 rm -f conftest.$ac_objext
22142 if { (ac_try="$ac_compile"
22143 case "(($ac_try" in
22144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22145 *) ac_try_echo=$ac_try;;
22146 esac
22147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22148 (eval "$ac_compile") 2>conftest.er1
22149 ac_status=$?
22150 grep -v '^ *+' conftest.er1 >conftest.err
22151 rm -f conftest.er1
22152 cat conftest.err >&5
22153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22154 (exit $ac_status); } && {
22155 test -z "$ac_c_werror_flag" ||
22156 test ! -s conftest.err
22157 } && test -s conftest.$ac_objext; then
22158 ac_hi=$ac_mid
22159 else
22160 echo "$as_me: failed program was:" >&5
22161 sed 's/^/| /' conftest.$ac_ext >&5
22162
22163 ac_lo=`expr '(' $ac_mid ')' + 1`
22164 fi
22165
22166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22167 done
22168 case $ac_lo in
22169 ?*) ac_cv_sizeof_short=$ac_lo;;
22170 '') if test "$ac_cv_type_short" = yes; then
22171 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
22172 See \`config.log' for more details." >&5
22173 echo "$as_me: error: cannot compute sizeof (short)
22174 See \`config.log' for more details." >&2;}
22175 { (exit 77); exit 77; }; }
22176 else
22177 ac_cv_sizeof_short=0
22178 fi ;;
22179 esac
22180 else
22181 cat >conftest.$ac_ext <<_ACEOF
22182 /* confdefs.h. */
22183 _ACEOF
22184 cat confdefs.h >>conftest.$ac_ext
22185 cat >>conftest.$ac_ext <<_ACEOF
22186 /* end confdefs.h. */
22187 $ac_includes_default
22188 typedef short ac__type_sizeof_;
22189 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22190 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22191 #include <stdio.h>
22192 #include <stdlib.h>
22193 int
22194 main ()
22195 {
22196
22197 FILE *f = fopen ("conftest.val", "w");
22198 if (! f)
22199 return 1;
22200 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22201 {
22202 long int i = longval ();
22203 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22204 return 1;
22205 fprintf (f, "%ld\n", i);
22206 }
22207 else
22208 {
22209 unsigned long int i = ulongval ();
22210 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22211 return 1;
22212 fprintf (f, "%lu\n", i);
22213 }
22214 return ferror (f) || fclose (f) != 0;
22215
22216 ;
22217 return 0;
22218 }
22219 _ACEOF
22220 rm -f conftest$ac_exeext
22221 if { (ac_try="$ac_link"
22222 case "(($ac_try" in
22223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22224 *) ac_try_echo=$ac_try;;
22225 esac
22226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22227 (eval "$ac_link") 2>&5
22228 ac_status=$?
22229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22230 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22231 { (case "(($ac_try" in
22232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22233 *) ac_try_echo=$ac_try;;
22234 esac
22235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22236 (eval "$ac_try") 2>&5
22237 ac_status=$?
22238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22239 (exit $ac_status); }; }; then
22240 ac_cv_sizeof_short=`cat conftest.val`
22241 else
22242 echo "$as_me: program exited with status $ac_status" >&5
22243 echo "$as_me: failed program was:" >&5
22244 sed 's/^/| /' conftest.$ac_ext >&5
22245
22246 ( exit $ac_status )
22247 if test "$ac_cv_type_short" = yes; then
22248 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
22249 See \`config.log' for more details." >&5
22250 echo "$as_me: error: cannot compute sizeof (short)
22251 See \`config.log' for more details." >&2;}
22252 { (exit 77); exit 77; }; }
22253 else
22254 ac_cv_sizeof_short=0
22255 fi
22256 fi
22257 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22258 fi
22259 rm -f conftest.val
22260 fi
22261 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
22262 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
22263
22264
22265
22266 cat >>confdefs.h <<_ACEOF
22267 #define SIZEOF_SHORT $ac_cv_sizeof_short
22268 _ACEOF
22269
22270
22271 { echo "$as_me:$LINENO: checking for void *" >&5
22272 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
22273 if test "${ac_cv_type_void_p+set}" = set; then
22274 echo $ECHO_N "(cached) $ECHO_C" >&6
22275 else
22276 cat >conftest.$ac_ext <<_ACEOF
22277 /* confdefs.h. */
22278 _ACEOF
22279 cat confdefs.h >>conftest.$ac_ext
22280 cat >>conftest.$ac_ext <<_ACEOF
22281 /* end confdefs.h. */
22282 $ac_includes_default
22283 typedef void * ac__type_new_;
22284 int
22285 main ()
22286 {
22287 if ((ac__type_new_ *) 0)
22288 return 0;
22289 if (sizeof (ac__type_new_))
22290 return 0;
22291 ;
22292 return 0;
22293 }
22294 _ACEOF
22295 rm -f conftest.$ac_objext
22296 if { (ac_try="$ac_compile"
22297 case "(($ac_try" in
22298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22299 *) ac_try_echo=$ac_try;;
22300 esac
22301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22302 (eval "$ac_compile") 2>conftest.er1
22303 ac_status=$?
22304 grep -v '^ *+' conftest.er1 >conftest.err
22305 rm -f conftest.er1
22306 cat conftest.err >&5
22307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22308 (exit $ac_status); } && {
22309 test -z "$ac_c_werror_flag" ||
22310 test ! -s conftest.err
22311 } && test -s conftest.$ac_objext; then
22312 ac_cv_type_void_p=yes
22313 else
22314 echo "$as_me: failed program was:" >&5
22315 sed 's/^/| /' conftest.$ac_ext >&5
22316
22317 ac_cv_type_void_p=no
22318 fi
22319
22320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22321 fi
22322 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
22323 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
22324
22325 # The cast to long int works around a bug in the HP C Compiler
22326 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22327 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22328 # This bug is HP SR number 8606223364.
22329 { echo "$as_me:$LINENO: checking size of void *" >&5
22330 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
22331 if test "${ac_cv_sizeof_void_p+set}" = set; then
22332 echo $ECHO_N "(cached) $ECHO_C" >&6
22333 else
22334 if test "$cross_compiling" = yes; then
22335 # Depending upon the size, compute the lo and hi bounds.
22336 cat >conftest.$ac_ext <<_ACEOF
22337 /* confdefs.h. */
22338 _ACEOF
22339 cat confdefs.h >>conftest.$ac_ext
22340 cat >>conftest.$ac_ext <<_ACEOF
22341 /* end confdefs.h. */
22342 $ac_includes_default
22343 typedef void * ac__type_sizeof_;
22344 int
22345 main ()
22346 {
22347 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22348 test_array [0] = 0
22349
22350 ;
22351 return 0;
22352 }
22353 _ACEOF
22354 rm -f conftest.$ac_objext
22355 if { (ac_try="$ac_compile"
22356 case "(($ac_try" in
22357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22358 *) ac_try_echo=$ac_try;;
22359 esac
22360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22361 (eval "$ac_compile") 2>conftest.er1
22362 ac_status=$?
22363 grep -v '^ *+' conftest.er1 >conftest.err
22364 rm -f conftest.er1
22365 cat conftest.err >&5
22366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22367 (exit $ac_status); } && {
22368 test -z "$ac_c_werror_flag" ||
22369 test ! -s conftest.err
22370 } && test -s conftest.$ac_objext; then
22371 ac_lo=0 ac_mid=0
22372 while :; do
22373 cat >conftest.$ac_ext <<_ACEOF
22374 /* confdefs.h. */
22375 _ACEOF
22376 cat confdefs.h >>conftest.$ac_ext
22377 cat >>conftest.$ac_ext <<_ACEOF
22378 /* end confdefs.h. */
22379 $ac_includes_default
22380 typedef void * ac__type_sizeof_;
22381 int
22382 main ()
22383 {
22384 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22385 test_array [0] = 0
22386
22387 ;
22388 return 0;
22389 }
22390 _ACEOF
22391 rm -f conftest.$ac_objext
22392 if { (ac_try="$ac_compile"
22393 case "(($ac_try" in
22394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22395 *) ac_try_echo=$ac_try;;
22396 esac
22397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22398 (eval "$ac_compile") 2>conftest.er1
22399 ac_status=$?
22400 grep -v '^ *+' conftest.er1 >conftest.err
22401 rm -f conftest.er1
22402 cat conftest.err >&5
22403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22404 (exit $ac_status); } && {
22405 test -z "$ac_c_werror_flag" ||
22406 test ! -s conftest.err
22407 } && test -s conftest.$ac_objext; then
22408 ac_hi=$ac_mid; break
22409 else
22410 echo "$as_me: failed program was:" >&5
22411 sed 's/^/| /' conftest.$ac_ext >&5
22412
22413 ac_lo=`expr $ac_mid + 1`
22414 if test $ac_lo -le $ac_mid; then
22415 ac_lo= ac_hi=
22416 break
22417 fi
22418 ac_mid=`expr 2 '*' $ac_mid + 1`
22419 fi
22420
22421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22422 done
22423 else
22424 echo "$as_me: failed program was:" >&5
22425 sed 's/^/| /' conftest.$ac_ext >&5
22426
22427 cat >conftest.$ac_ext <<_ACEOF
22428 /* confdefs.h. */
22429 _ACEOF
22430 cat confdefs.h >>conftest.$ac_ext
22431 cat >>conftest.$ac_ext <<_ACEOF
22432 /* end confdefs.h. */
22433 $ac_includes_default
22434 typedef void * ac__type_sizeof_;
22435 int
22436 main ()
22437 {
22438 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22439 test_array [0] = 0
22440
22441 ;
22442 return 0;
22443 }
22444 _ACEOF
22445 rm -f conftest.$ac_objext
22446 if { (ac_try="$ac_compile"
22447 case "(($ac_try" in
22448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22449 *) ac_try_echo=$ac_try;;
22450 esac
22451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22452 (eval "$ac_compile") 2>conftest.er1
22453 ac_status=$?
22454 grep -v '^ *+' conftest.er1 >conftest.err
22455 rm -f conftest.er1
22456 cat conftest.err >&5
22457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22458 (exit $ac_status); } && {
22459 test -z "$ac_c_werror_flag" ||
22460 test ! -s conftest.err
22461 } && test -s conftest.$ac_objext; then
22462 ac_hi=-1 ac_mid=-1
22463 while :; do
22464 cat >conftest.$ac_ext <<_ACEOF
22465 /* confdefs.h. */
22466 _ACEOF
22467 cat confdefs.h >>conftest.$ac_ext
22468 cat >>conftest.$ac_ext <<_ACEOF
22469 /* end confdefs.h. */
22470 $ac_includes_default
22471 typedef void * ac__type_sizeof_;
22472 int
22473 main ()
22474 {
22475 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22476 test_array [0] = 0
22477
22478 ;
22479 return 0;
22480 }
22481 _ACEOF
22482 rm -f conftest.$ac_objext
22483 if { (ac_try="$ac_compile"
22484 case "(($ac_try" in
22485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22486 *) ac_try_echo=$ac_try;;
22487 esac
22488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22489 (eval "$ac_compile") 2>conftest.er1
22490 ac_status=$?
22491 grep -v '^ *+' conftest.er1 >conftest.err
22492 rm -f conftest.er1
22493 cat conftest.err >&5
22494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22495 (exit $ac_status); } && {
22496 test -z "$ac_c_werror_flag" ||
22497 test ! -s conftest.err
22498 } && test -s conftest.$ac_objext; then
22499 ac_lo=$ac_mid; break
22500 else
22501 echo "$as_me: failed program was:" >&5
22502 sed 's/^/| /' conftest.$ac_ext >&5
22503
22504 ac_hi=`expr '(' $ac_mid ')' - 1`
22505 if test $ac_mid -le $ac_hi; then
22506 ac_lo= ac_hi=
22507 break
22508 fi
22509 ac_mid=`expr 2 '*' $ac_mid`
22510 fi
22511
22512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22513 done
22514 else
22515 echo "$as_me: failed program was:" >&5
22516 sed 's/^/| /' conftest.$ac_ext >&5
22517
22518 ac_lo= ac_hi=
22519 fi
22520
22521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22522 fi
22523
22524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22525 # Binary search between lo and hi bounds.
22526 while test "x$ac_lo" != "x$ac_hi"; do
22527 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22528 cat >conftest.$ac_ext <<_ACEOF
22529 /* confdefs.h. */
22530 _ACEOF
22531 cat confdefs.h >>conftest.$ac_ext
22532 cat >>conftest.$ac_ext <<_ACEOF
22533 /* end confdefs.h. */
22534 $ac_includes_default
22535 typedef void * ac__type_sizeof_;
22536 int
22537 main ()
22538 {
22539 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22540 test_array [0] = 0
22541
22542 ;
22543 return 0;
22544 }
22545 _ACEOF
22546 rm -f conftest.$ac_objext
22547 if { (ac_try="$ac_compile"
22548 case "(($ac_try" in
22549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22550 *) ac_try_echo=$ac_try;;
22551 esac
22552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22553 (eval "$ac_compile") 2>conftest.er1
22554 ac_status=$?
22555 grep -v '^ *+' conftest.er1 >conftest.err
22556 rm -f conftest.er1
22557 cat conftest.err >&5
22558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22559 (exit $ac_status); } && {
22560 test -z "$ac_c_werror_flag" ||
22561 test ! -s conftest.err
22562 } && test -s conftest.$ac_objext; then
22563 ac_hi=$ac_mid
22564 else
22565 echo "$as_me: failed program was:" >&5
22566 sed 's/^/| /' conftest.$ac_ext >&5
22567
22568 ac_lo=`expr '(' $ac_mid ')' + 1`
22569 fi
22570
22571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22572 done
22573 case $ac_lo in
22574 ?*) ac_cv_sizeof_void_p=$ac_lo;;
22575 '') if test "$ac_cv_type_void_p" = yes; then
22576 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
22577 See \`config.log' for more details." >&5
22578 echo "$as_me: error: cannot compute sizeof (void *)
22579 See \`config.log' for more details." >&2;}
22580 { (exit 77); exit 77; }; }
22581 else
22582 ac_cv_sizeof_void_p=0
22583 fi ;;
22584 esac
22585 else
22586 cat >conftest.$ac_ext <<_ACEOF
22587 /* confdefs.h. */
22588 _ACEOF
22589 cat confdefs.h >>conftest.$ac_ext
22590 cat >>conftest.$ac_ext <<_ACEOF
22591 /* end confdefs.h. */
22592 $ac_includes_default
22593 typedef void * ac__type_sizeof_;
22594 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22595 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22596 #include <stdio.h>
22597 #include <stdlib.h>
22598 int
22599 main ()
22600 {
22601
22602 FILE *f = fopen ("conftest.val", "w");
22603 if (! f)
22604 return 1;
22605 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22606 {
22607 long int i = longval ();
22608 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22609 return 1;
22610 fprintf (f, "%ld\n", i);
22611 }
22612 else
22613 {
22614 unsigned long int i = ulongval ();
22615 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22616 return 1;
22617 fprintf (f, "%lu\n", i);
22618 }
22619 return ferror (f) || fclose (f) != 0;
22620
22621 ;
22622 return 0;
22623 }
22624 _ACEOF
22625 rm -f conftest$ac_exeext
22626 if { (ac_try="$ac_link"
22627 case "(($ac_try" in
22628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22629 *) ac_try_echo=$ac_try;;
22630 esac
22631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22632 (eval "$ac_link") 2>&5
22633 ac_status=$?
22634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22635 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22636 { (case "(($ac_try" in
22637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22638 *) ac_try_echo=$ac_try;;
22639 esac
22640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22641 (eval "$ac_try") 2>&5
22642 ac_status=$?
22643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22644 (exit $ac_status); }; }; then
22645 ac_cv_sizeof_void_p=`cat conftest.val`
22646 else
22647 echo "$as_me: program exited with status $ac_status" >&5
22648 echo "$as_me: failed program was:" >&5
22649 sed 's/^/| /' conftest.$ac_ext >&5
22650
22651 ( exit $ac_status )
22652 if test "$ac_cv_type_void_p" = yes; then
22653 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
22654 See \`config.log' for more details." >&5
22655 echo "$as_me: error: cannot compute sizeof (void *)
22656 See \`config.log' for more details." >&2;}
22657 { (exit 77); exit 77; }; }
22658 else
22659 ac_cv_sizeof_void_p=0
22660 fi
22661 fi
22662 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22663 fi
22664 rm -f conftest.val
22665 fi
22666 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
22667 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
22668
22669
22670
22671 cat >>confdefs.h <<_ACEOF
22672 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
22673 _ACEOF
22674
22675
22676 { echo "$as_me:$LINENO: checking for int" >&5
22677 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
22678 if test "${ac_cv_type_int+set}" = set; then
22679 echo $ECHO_N "(cached) $ECHO_C" >&6
22680 else
22681 cat >conftest.$ac_ext <<_ACEOF
22682 /* confdefs.h. */
22683 _ACEOF
22684 cat confdefs.h >>conftest.$ac_ext
22685 cat >>conftest.$ac_ext <<_ACEOF
22686 /* end confdefs.h. */
22687 $ac_includes_default
22688 typedef int ac__type_new_;
22689 int
22690 main ()
22691 {
22692 if ((ac__type_new_ *) 0)
22693 return 0;
22694 if (sizeof (ac__type_new_))
22695 return 0;
22696 ;
22697 return 0;
22698 }
22699 _ACEOF
22700 rm -f conftest.$ac_objext
22701 if { (ac_try="$ac_compile"
22702 case "(($ac_try" in
22703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22704 *) ac_try_echo=$ac_try;;
22705 esac
22706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22707 (eval "$ac_compile") 2>conftest.er1
22708 ac_status=$?
22709 grep -v '^ *+' conftest.er1 >conftest.err
22710 rm -f conftest.er1
22711 cat conftest.err >&5
22712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22713 (exit $ac_status); } && {
22714 test -z "$ac_c_werror_flag" ||
22715 test ! -s conftest.err
22716 } && test -s conftest.$ac_objext; then
22717 ac_cv_type_int=yes
22718 else
22719 echo "$as_me: failed program was:" >&5
22720 sed 's/^/| /' conftest.$ac_ext >&5
22721
22722 ac_cv_type_int=no
22723 fi
22724
22725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22726 fi
22727 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
22728 echo "${ECHO_T}$ac_cv_type_int" >&6; }
22729
22730 # The cast to long int works around a bug in the HP C Compiler
22731 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22732 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22733 # This bug is HP SR number 8606223364.
22734 { echo "$as_me:$LINENO: checking size of int" >&5
22735 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
22736 if test "${ac_cv_sizeof_int+set}" = set; then
22737 echo $ECHO_N "(cached) $ECHO_C" >&6
22738 else
22739 if test "$cross_compiling" = yes; then
22740 # Depending upon the size, compute the lo and hi bounds.
22741 cat >conftest.$ac_ext <<_ACEOF
22742 /* confdefs.h. */
22743 _ACEOF
22744 cat confdefs.h >>conftest.$ac_ext
22745 cat >>conftest.$ac_ext <<_ACEOF
22746 /* end confdefs.h. */
22747 $ac_includes_default
22748 typedef int ac__type_sizeof_;
22749 int
22750 main ()
22751 {
22752 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22753 test_array [0] = 0
22754
22755 ;
22756 return 0;
22757 }
22758 _ACEOF
22759 rm -f conftest.$ac_objext
22760 if { (ac_try="$ac_compile"
22761 case "(($ac_try" in
22762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22763 *) ac_try_echo=$ac_try;;
22764 esac
22765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22766 (eval "$ac_compile") 2>conftest.er1
22767 ac_status=$?
22768 grep -v '^ *+' conftest.er1 >conftest.err
22769 rm -f conftest.er1
22770 cat conftest.err >&5
22771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22772 (exit $ac_status); } && {
22773 test -z "$ac_c_werror_flag" ||
22774 test ! -s conftest.err
22775 } && test -s conftest.$ac_objext; then
22776 ac_lo=0 ac_mid=0
22777 while :; do
22778 cat >conftest.$ac_ext <<_ACEOF
22779 /* confdefs.h. */
22780 _ACEOF
22781 cat confdefs.h >>conftest.$ac_ext
22782 cat >>conftest.$ac_ext <<_ACEOF
22783 /* end confdefs.h. */
22784 $ac_includes_default
22785 typedef int ac__type_sizeof_;
22786 int
22787 main ()
22788 {
22789 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22790 test_array [0] = 0
22791
22792 ;
22793 return 0;
22794 }
22795 _ACEOF
22796 rm -f conftest.$ac_objext
22797 if { (ac_try="$ac_compile"
22798 case "(($ac_try" in
22799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22800 *) ac_try_echo=$ac_try;;
22801 esac
22802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22803 (eval "$ac_compile") 2>conftest.er1
22804 ac_status=$?
22805 grep -v '^ *+' conftest.er1 >conftest.err
22806 rm -f conftest.er1
22807 cat conftest.err >&5
22808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22809 (exit $ac_status); } && {
22810 test -z "$ac_c_werror_flag" ||
22811 test ! -s conftest.err
22812 } && test -s conftest.$ac_objext; then
22813 ac_hi=$ac_mid; break
22814 else
22815 echo "$as_me: failed program was:" >&5
22816 sed 's/^/| /' conftest.$ac_ext >&5
22817
22818 ac_lo=`expr $ac_mid + 1`
22819 if test $ac_lo -le $ac_mid; then
22820 ac_lo= ac_hi=
22821 break
22822 fi
22823 ac_mid=`expr 2 '*' $ac_mid + 1`
22824 fi
22825
22826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22827 done
22828 else
22829 echo "$as_me: failed program was:" >&5
22830 sed 's/^/| /' conftest.$ac_ext >&5
22831
22832 cat >conftest.$ac_ext <<_ACEOF
22833 /* confdefs.h. */
22834 _ACEOF
22835 cat confdefs.h >>conftest.$ac_ext
22836 cat >>conftest.$ac_ext <<_ACEOF
22837 /* end confdefs.h. */
22838 $ac_includes_default
22839 typedef int ac__type_sizeof_;
22840 int
22841 main ()
22842 {
22843 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22844 test_array [0] = 0
22845
22846 ;
22847 return 0;
22848 }
22849 _ACEOF
22850 rm -f conftest.$ac_objext
22851 if { (ac_try="$ac_compile"
22852 case "(($ac_try" in
22853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22854 *) ac_try_echo=$ac_try;;
22855 esac
22856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22857 (eval "$ac_compile") 2>conftest.er1
22858 ac_status=$?
22859 grep -v '^ *+' conftest.er1 >conftest.err
22860 rm -f conftest.er1
22861 cat conftest.err >&5
22862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22863 (exit $ac_status); } && {
22864 test -z "$ac_c_werror_flag" ||
22865 test ! -s conftest.err
22866 } && test -s conftest.$ac_objext; then
22867 ac_hi=-1 ac_mid=-1
22868 while :; do
22869 cat >conftest.$ac_ext <<_ACEOF
22870 /* confdefs.h. */
22871 _ACEOF
22872 cat confdefs.h >>conftest.$ac_ext
22873 cat >>conftest.$ac_ext <<_ACEOF
22874 /* end confdefs.h. */
22875 $ac_includes_default
22876 typedef int ac__type_sizeof_;
22877 int
22878 main ()
22879 {
22880 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22881 test_array [0] = 0
22882
22883 ;
22884 return 0;
22885 }
22886 _ACEOF
22887 rm -f conftest.$ac_objext
22888 if { (ac_try="$ac_compile"
22889 case "(($ac_try" in
22890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22891 *) ac_try_echo=$ac_try;;
22892 esac
22893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22894 (eval "$ac_compile") 2>conftest.er1
22895 ac_status=$?
22896 grep -v '^ *+' conftest.er1 >conftest.err
22897 rm -f conftest.er1
22898 cat conftest.err >&5
22899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22900 (exit $ac_status); } && {
22901 test -z "$ac_c_werror_flag" ||
22902 test ! -s conftest.err
22903 } && test -s conftest.$ac_objext; then
22904 ac_lo=$ac_mid; break
22905 else
22906 echo "$as_me: failed program was:" >&5
22907 sed 's/^/| /' conftest.$ac_ext >&5
22908
22909 ac_hi=`expr '(' $ac_mid ')' - 1`
22910 if test $ac_mid -le $ac_hi; then
22911 ac_lo= ac_hi=
22912 break
22913 fi
22914 ac_mid=`expr 2 '*' $ac_mid`
22915 fi
22916
22917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22918 done
22919 else
22920 echo "$as_me: failed program was:" >&5
22921 sed 's/^/| /' conftest.$ac_ext >&5
22922
22923 ac_lo= ac_hi=
22924 fi
22925
22926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22927 fi
22928
22929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22930 # Binary search between lo and hi bounds.
22931 while test "x$ac_lo" != "x$ac_hi"; do
22932 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22933 cat >conftest.$ac_ext <<_ACEOF
22934 /* confdefs.h. */
22935 _ACEOF
22936 cat confdefs.h >>conftest.$ac_ext
22937 cat >>conftest.$ac_ext <<_ACEOF
22938 /* end confdefs.h. */
22939 $ac_includes_default
22940 typedef int ac__type_sizeof_;
22941 int
22942 main ()
22943 {
22944 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22945 test_array [0] = 0
22946
22947 ;
22948 return 0;
22949 }
22950 _ACEOF
22951 rm -f conftest.$ac_objext
22952 if { (ac_try="$ac_compile"
22953 case "(($ac_try" in
22954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22955 *) ac_try_echo=$ac_try;;
22956 esac
22957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22958 (eval "$ac_compile") 2>conftest.er1
22959 ac_status=$?
22960 grep -v '^ *+' conftest.er1 >conftest.err
22961 rm -f conftest.er1
22962 cat conftest.err >&5
22963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22964 (exit $ac_status); } && {
22965 test -z "$ac_c_werror_flag" ||
22966 test ! -s conftest.err
22967 } && test -s conftest.$ac_objext; then
22968 ac_hi=$ac_mid
22969 else
22970 echo "$as_me: failed program was:" >&5
22971 sed 's/^/| /' conftest.$ac_ext >&5
22972
22973 ac_lo=`expr '(' $ac_mid ')' + 1`
22974 fi
22975
22976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22977 done
22978 case $ac_lo in
22979 ?*) ac_cv_sizeof_int=$ac_lo;;
22980 '') if test "$ac_cv_type_int" = yes; then
22981 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
22982 See \`config.log' for more details." >&5
22983 echo "$as_me: error: cannot compute sizeof (int)
22984 See \`config.log' for more details." >&2;}
22985 { (exit 77); exit 77; }; }
22986 else
22987 ac_cv_sizeof_int=0
22988 fi ;;
22989 esac
22990 else
22991 cat >conftest.$ac_ext <<_ACEOF
22992 /* confdefs.h. */
22993 _ACEOF
22994 cat confdefs.h >>conftest.$ac_ext
22995 cat >>conftest.$ac_ext <<_ACEOF
22996 /* end confdefs.h. */
22997 $ac_includes_default
22998 typedef int ac__type_sizeof_;
22999 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23000 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23001 #include <stdio.h>
23002 #include <stdlib.h>
23003 int
23004 main ()
23005 {
23006
23007 FILE *f = fopen ("conftest.val", "w");
23008 if (! f)
23009 return 1;
23010 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23011 {
23012 long int i = longval ();
23013 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23014 return 1;
23015 fprintf (f, "%ld\n", i);
23016 }
23017 else
23018 {
23019 unsigned long int i = ulongval ();
23020 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23021 return 1;
23022 fprintf (f, "%lu\n", i);
23023 }
23024 return ferror (f) || fclose (f) != 0;
23025
23026 ;
23027 return 0;
23028 }
23029 _ACEOF
23030 rm -f conftest$ac_exeext
23031 if { (ac_try="$ac_link"
23032 case "(($ac_try" in
23033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23034 *) ac_try_echo=$ac_try;;
23035 esac
23036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23037 (eval "$ac_link") 2>&5
23038 ac_status=$?
23039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23040 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23041 { (case "(($ac_try" in
23042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23043 *) ac_try_echo=$ac_try;;
23044 esac
23045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23046 (eval "$ac_try") 2>&5
23047 ac_status=$?
23048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23049 (exit $ac_status); }; }; then
23050 ac_cv_sizeof_int=`cat conftest.val`
23051 else
23052 echo "$as_me: program exited with status $ac_status" >&5
23053 echo "$as_me: failed program was:" >&5
23054 sed 's/^/| /' conftest.$ac_ext >&5
23055
23056 ( exit $ac_status )
23057 if test "$ac_cv_type_int" = yes; then
23058 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
23059 See \`config.log' for more details." >&5
23060 echo "$as_me: error: cannot compute sizeof (int)
23061 See \`config.log' for more details." >&2;}
23062 { (exit 77); exit 77; }; }
23063 else
23064 ac_cv_sizeof_int=0
23065 fi
23066 fi
23067 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23068 fi
23069 rm -f conftest.val
23070 fi
23071 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
23072 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
23073
23074
23075
23076 cat >>confdefs.h <<_ACEOF
23077 #define SIZEOF_INT $ac_cv_sizeof_int
23078 _ACEOF
23079
23080
23081 { echo "$as_me:$LINENO: checking for long" >&5
23082 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
23083 if test "${ac_cv_type_long+set}" = set; then
23084 echo $ECHO_N "(cached) $ECHO_C" >&6
23085 else
23086 cat >conftest.$ac_ext <<_ACEOF
23087 /* confdefs.h. */
23088 _ACEOF
23089 cat confdefs.h >>conftest.$ac_ext
23090 cat >>conftest.$ac_ext <<_ACEOF
23091 /* end confdefs.h. */
23092 $ac_includes_default
23093 typedef long ac__type_new_;
23094 int
23095 main ()
23096 {
23097 if ((ac__type_new_ *) 0)
23098 return 0;
23099 if (sizeof (ac__type_new_))
23100 return 0;
23101 ;
23102 return 0;
23103 }
23104 _ACEOF
23105 rm -f conftest.$ac_objext
23106 if { (ac_try="$ac_compile"
23107 case "(($ac_try" in
23108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23109 *) ac_try_echo=$ac_try;;
23110 esac
23111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23112 (eval "$ac_compile") 2>conftest.er1
23113 ac_status=$?
23114 grep -v '^ *+' conftest.er1 >conftest.err
23115 rm -f conftest.er1
23116 cat conftest.err >&5
23117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23118 (exit $ac_status); } && {
23119 test -z "$ac_c_werror_flag" ||
23120 test ! -s conftest.err
23121 } && test -s conftest.$ac_objext; then
23122 ac_cv_type_long=yes
23123 else
23124 echo "$as_me: failed program was:" >&5
23125 sed 's/^/| /' conftest.$ac_ext >&5
23126
23127 ac_cv_type_long=no
23128 fi
23129
23130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23131 fi
23132 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
23133 echo "${ECHO_T}$ac_cv_type_long" >&6; }
23134
23135 # The cast to long int works around a bug in the HP C Compiler
23136 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23137 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23138 # This bug is HP SR number 8606223364.
23139 { echo "$as_me:$LINENO: checking size of long" >&5
23140 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
23141 if test "${ac_cv_sizeof_long+set}" = set; then
23142 echo $ECHO_N "(cached) $ECHO_C" >&6
23143 else
23144 if test "$cross_compiling" = yes; then
23145 # Depending upon the size, compute the lo and hi bounds.
23146 cat >conftest.$ac_ext <<_ACEOF
23147 /* confdefs.h. */
23148 _ACEOF
23149 cat confdefs.h >>conftest.$ac_ext
23150 cat >>conftest.$ac_ext <<_ACEOF
23151 /* end confdefs.h. */
23152 $ac_includes_default
23153 typedef long ac__type_sizeof_;
23154 int
23155 main ()
23156 {
23157 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23158 test_array [0] = 0
23159
23160 ;
23161 return 0;
23162 }
23163 _ACEOF
23164 rm -f conftest.$ac_objext
23165 if { (ac_try="$ac_compile"
23166 case "(($ac_try" in
23167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23168 *) ac_try_echo=$ac_try;;
23169 esac
23170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23171 (eval "$ac_compile") 2>conftest.er1
23172 ac_status=$?
23173 grep -v '^ *+' conftest.er1 >conftest.err
23174 rm -f conftest.er1
23175 cat conftest.err >&5
23176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23177 (exit $ac_status); } && {
23178 test -z "$ac_c_werror_flag" ||
23179 test ! -s conftest.err
23180 } && test -s conftest.$ac_objext; then
23181 ac_lo=0 ac_mid=0
23182 while :; do
23183 cat >conftest.$ac_ext <<_ACEOF
23184 /* confdefs.h. */
23185 _ACEOF
23186 cat confdefs.h >>conftest.$ac_ext
23187 cat >>conftest.$ac_ext <<_ACEOF
23188 /* end confdefs.h. */
23189 $ac_includes_default
23190 typedef long ac__type_sizeof_;
23191 int
23192 main ()
23193 {
23194 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23195 test_array [0] = 0
23196
23197 ;
23198 return 0;
23199 }
23200 _ACEOF
23201 rm -f conftest.$ac_objext
23202 if { (ac_try="$ac_compile"
23203 case "(($ac_try" in
23204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23205 *) ac_try_echo=$ac_try;;
23206 esac
23207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23208 (eval "$ac_compile") 2>conftest.er1
23209 ac_status=$?
23210 grep -v '^ *+' conftest.er1 >conftest.err
23211 rm -f conftest.er1
23212 cat conftest.err >&5
23213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23214 (exit $ac_status); } && {
23215 test -z "$ac_c_werror_flag" ||
23216 test ! -s conftest.err
23217 } && test -s conftest.$ac_objext; then
23218 ac_hi=$ac_mid; break
23219 else
23220 echo "$as_me: failed program was:" >&5
23221 sed 's/^/| /' conftest.$ac_ext >&5
23222
23223 ac_lo=`expr $ac_mid + 1`
23224 if test $ac_lo -le $ac_mid; then
23225 ac_lo= ac_hi=
23226 break
23227 fi
23228 ac_mid=`expr 2 '*' $ac_mid + 1`
23229 fi
23230
23231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23232 done
23233 else
23234 echo "$as_me: failed program was:" >&5
23235 sed 's/^/| /' conftest.$ac_ext >&5
23236
23237 cat >conftest.$ac_ext <<_ACEOF
23238 /* confdefs.h. */
23239 _ACEOF
23240 cat confdefs.h >>conftest.$ac_ext
23241 cat >>conftest.$ac_ext <<_ACEOF
23242 /* end confdefs.h. */
23243 $ac_includes_default
23244 typedef long ac__type_sizeof_;
23245 int
23246 main ()
23247 {
23248 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23249 test_array [0] = 0
23250
23251 ;
23252 return 0;
23253 }
23254 _ACEOF
23255 rm -f conftest.$ac_objext
23256 if { (ac_try="$ac_compile"
23257 case "(($ac_try" in
23258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23259 *) ac_try_echo=$ac_try;;
23260 esac
23261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23262 (eval "$ac_compile") 2>conftest.er1
23263 ac_status=$?
23264 grep -v '^ *+' conftest.er1 >conftest.err
23265 rm -f conftest.er1
23266 cat conftest.err >&5
23267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23268 (exit $ac_status); } && {
23269 test -z "$ac_c_werror_flag" ||
23270 test ! -s conftest.err
23271 } && test -s conftest.$ac_objext; then
23272 ac_hi=-1 ac_mid=-1
23273 while :; do
23274 cat >conftest.$ac_ext <<_ACEOF
23275 /* confdefs.h. */
23276 _ACEOF
23277 cat confdefs.h >>conftest.$ac_ext
23278 cat >>conftest.$ac_ext <<_ACEOF
23279 /* end confdefs.h. */
23280 $ac_includes_default
23281 typedef long ac__type_sizeof_;
23282 int
23283 main ()
23284 {
23285 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23286 test_array [0] = 0
23287
23288 ;
23289 return 0;
23290 }
23291 _ACEOF
23292 rm -f conftest.$ac_objext
23293 if { (ac_try="$ac_compile"
23294 case "(($ac_try" in
23295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23296 *) ac_try_echo=$ac_try;;
23297 esac
23298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23299 (eval "$ac_compile") 2>conftest.er1
23300 ac_status=$?
23301 grep -v '^ *+' conftest.er1 >conftest.err
23302 rm -f conftest.er1
23303 cat conftest.err >&5
23304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23305 (exit $ac_status); } && {
23306 test -z "$ac_c_werror_flag" ||
23307 test ! -s conftest.err
23308 } && test -s conftest.$ac_objext; then
23309 ac_lo=$ac_mid; break
23310 else
23311 echo "$as_me: failed program was:" >&5
23312 sed 's/^/| /' conftest.$ac_ext >&5
23313
23314 ac_hi=`expr '(' $ac_mid ')' - 1`
23315 if test $ac_mid -le $ac_hi; then
23316 ac_lo= ac_hi=
23317 break
23318 fi
23319 ac_mid=`expr 2 '*' $ac_mid`
23320 fi
23321
23322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23323 done
23324 else
23325 echo "$as_me: failed program was:" >&5
23326 sed 's/^/| /' conftest.$ac_ext >&5
23327
23328 ac_lo= ac_hi=
23329 fi
23330
23331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23332 fi
23333
23334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23335 # Binary search between lo and hi bounds.
23336 while test "x$ac_lo" != "x$ac_hi"; do
23337 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23338 cat >conftest.$ac_ext <<_ACEOF
23339 /* confdefs.h. */
23340 _ACEOF
23341 cat confdefs.h >>conftest.$ac_ext
23342 cat >>conftest.$ac_ext <<_ACEOF
23343 /* end confdefs.h. */
23344 $ac_includes_default
23345 typedef long ac__type_sizeof_;
23346 int
23347 main ()
23348 {
23349 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23350 test_array [0] = 0
23351
23352 ;
23353 return 0;
23354 }
23355 _ACEOF
23356 rm -f conftest.$ac_objext
23357 if { (ac_try="$ac_compile"
23358 case "(($ac_try" in
23359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23360 *) ac_try_echo=$ac_try;;
23361 esac
23362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23363 (eval "$ac_compile") 2>conftest.er1
23364 ac_status=$?
23365 grep -v '^ *+' conftest.er1 >conftest.err
23366 rm -f conftest.er1
23367 cat conftest.err >&5
23368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23369 (exit $ac_status); } && {
23370 test -z "$ac_c_werror_flag" ||
23371 test ! -s conftest.err
23372 } && test -s conftest.$ac_objext; then
23373 ac_hi=$ac_mid
23374 else
23375 echo "$as_me: failed program was:" >&5
23376 sed 's/^/| /' conftest.$ac_ext >&5
23377
23378 ac_lo=`expr '(' $ac_mid ')' + 1`
23379 fi
23380
23381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23382 done
23383 case $ac_lo in
23384 ?*) ac_cv_sizeof_long=$ac_lo;;
23385 '') if test "$ac_cv_type_long" = yes; then
23386 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
23387 See \`config.log' for more details." >&5
23388 echo "$as_me: error: cannot compute sizeof (long)
23389 See \`config.log' for more details." >&2;}
23390 { (exit 77); exit 77; }; }
23391 else
23392 ac_cv_sizeof_long=0
23393 fi ;;
23394 esac
23395 else
23396 cat >conftest.$ac_ext <<_ACEOF
23397 /* confdefs.h. */
23398 _ACEOF
23399 cat confdefs.h >>conftest.$ac_ext
23400 cat >>conftest.$ac_ext <<_ACEOF
23401 /* end confdefs.h. */
23402 $ac_includes_default
23403 typedef long ac__type_sizeof_;
23404 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23405 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23406 #include <stdio.h>
23407 #include <stdlib.h>
23408 int
23409 main ()
23410 {
23411
23412 FILE *f = fopen ("conftest.val", "w");
23413 if (! f)
23414 return 1;
23415 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23416 {
23417 long int i = longval ();
23418 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23419 return 1;
23420 fprintf (f, "%ld\n", i);
23421 }
23422 else
23423 {
23424 unsigned long int i = ulongval ();
23425 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23426 return 1;
23427 fprintf (f, "%lu\n", i);
23428 }
23429 return ferror (f) || fclose (f) != 0;
23430
23431 ;
23432 return 0;
23433 }
23434 _ACEOF
23435 rm -f conftest$ac_exeext
23436 if { (ac_try="$ac_link"
23437 case "(($ac_try" in
23438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23439 *) ac_try_echo=$ac_try;;
23440 esac
23441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23442 (eval "$ac_link") 2>&5
23443 ac_status=$?
23444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23445 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23446 { (case "(($ac_try" in
23447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23448 *) ac_try_echo=$ac_try;;
23449 esac
23450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23451 (eval "$ac_try") 2>&5
23452 ac_status=$?
23453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23454 (exit $ac_status); }; }; then
23455 ac_cv_sizeof_long=`cat conftest.val`
23456 else
23457 echo "$as_me: program exited with status $ac_status" >&5
23458 echo "$as_me: failed program was:" >&5
23459 sed 's/^/| /' conftest.$ac_ext >&5
23460
23461 ( exit $ac_status )
23462 if test "$ac_cv_type_long" = yes; then
23463 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
23464 See \`config.log' for more details." >&5
23465 echo "$as_me: error: cannot compute sizeof (long)
23466 See \`config.log' for more details." >&2;}
23467 { (exit 77); exit 77; }; }
23468 else
23469 ac_cv_sizeof_long=0
23470 fi
23471 fi
23472 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23473 fi
23474 rm -f conftest.val
23475 fi
23476 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
23477 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
23478
23479
23480
23481 cat >>confdefs.h <<_ACEOF
23482 #define SIZEOF_LONG $ac_cv_sizeof_long
23483 _ACEOF
23484
23485
23486 { echo "$as_me:$LINENO: checking for size_t" >&5
23487 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
23488 if test "${ac_cv_type_size_t+set}" = set; then
23489 echo $ECHO_N "(cached) $ECHO_C" >&6
23490 else
23491 cat >conftest.$ac_ext <<_ACEOF
23492 /* confdefs.h. */
23493 _ACEOF
23494 cat confdefs.h >>conftest.$ac_ext
23495 cat >>conftest.$ac_ext <<_ACEOF
23496 /* end confdefs.h. */
23497 $ac_includes_default
23498 typedef size_t ac__type_new_;
23499 int
23500 main ()
23501 {
23502 if ((ac__type_new_ *) 0)
23503 return 0;
23504 if (sizeof (ac__type_new_))
23505 return 0;
23506 ;
23507 return 0;
23508 }
23509 _ACEOF
23510 rm -f conftest.$ac_objext
23511 if { (ac_try="$ac_compile"
23512 case "(($ac_try" in
23513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23514 *) ac_try_echo=$ac_try;;
23515 esac
23516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23517 (eval "$ac_compile") 2>conftest.er1
23518 ac_status=$?
23519 grep -v '^ *+' conftest.er1 >conftest.err
23520 rm -f conftest.er1
23521 cat conftest.err >&5
23522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23523 (exit $ac_status); } && {
23524 test -z "$ac_c_werror_flag" ||
23525 test ! -s conftest.err
23526 } && test -s conftest.$ac_objext; then
23527 ac_cv_type_size_t=yes
23528 else
23529 echo "$as_me: failed program was:" >&5
23530 sed 's/^/| /' conftest.$ac_ext >&5
23531
23532 ac_cv_type_size_t=no
23533 fi
23534
23535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23536 fi
23537 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
23538 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
23539
23540 # The cast to long int works around a bug in the HP C Compiler
23541 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23542 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23543 # This bug is HP SR number 8606223364.
23544 { echo "$as_me:$LINENO: checking size of size_t" >&5
23545 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
23546 if test "${ac_cv_sizeof_size_t+set}" = set; then
23547 echo $ECHO_N "(cached) $ECHO_C" >&6
23548 else
23549 if test "$cross_compiling" = yes; then
23550 # Depending upon the size, compute the lo and hi bounds.
23551 cat >conftest.$ac_ext <<_ACEOF
23552 /* confdefs.h. */
23553 _ACEOF
23554 cat confdefs.h >>conftest.$ac_ext
23555 cat >>conftest.$ac_ext <<_ACEOF
23556 /* end confdefs.h. */
23557 $ac_includes_default
23558 typedef size_t ac__type_sizeof_;
23559 int
23560 main ()
23561 {
23562 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23563 test_array [0] = 0
23564
23565 ;
23566 return 0;
23567 }
23568 _ACEOF
23569 rm -f conftest.$ac_objext
23570 if { (ac_try="$ac_compile"
23571 case "(($ac_try" in
23572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23573 *) ac_try_echo=$ac_try;;
23574 esac
23575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23576 (eval "$ac_compile") 2>conftest.er1
23577 ac_status=$?
23578 grep -v '^ *+' conftest.er1 >conftest.err
23579 rm -f conftest.er1
23580 cat conftest.err >&5
23581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23582 (exit $ac_status); } && {
23583 test -z "$ac_c_werror_flag" ||
23584 test ! -s conftest.err
23585 } && test -s conftest.$ac_objext; then
23586 ac_lo=0 ac_mid=0
23587 while :; do
23588 cat >conftest.$ac_ext <<_ACEOF
23589 /* confdefs.h. */
23590 _ACEOF
23591 cat confdefs.h >>conftest.$ac_ext
23592 cat >>conftest.$ac_ext <<_ACEOF
23593 /* end confdefs.h. */
23594 $ac_includes_default
23595 typedef size_t ac__type_sizeof_;
23596 int
23597 main ()
23598 {
23599 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23600 test_array [0] = 0
23601
23602 ;
23603 return 0;
23604 }
23605 _ACEOF
23606 rm -f conftest.$ac_objext
23607 if { (ac_try="$ac_compile"
23608 case "(($ac_try" in
23609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23610 *) ac_try_echo=$ac_try;;
23611 esac
23612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23613 (eval "$ac_compile") 2>conftest.er1
23614 ac_status=$?
23615 grep -v '^ *+' conftest.er1 >conftest.err
23616 rm -f conftest.er1
23617 cat conftest.err >&5
23618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23619 (exit $ac_status); } && {
23620 test -z "$ac_c_werror_flag" ||
23621 test ! -s conftest.err
23622 } && test -s conftest.$ac_objext; then
23623 ac_hi=$ac_mid; break
23624 else
23625 echo "$as_me: failed program was:" >&5
23626 sed 's/^/| /' conftest.$ac_ext >&5
23627
23628 ac_lo=`expr $ac_mid + 1`
23629 if test $ac_lo -le $ac_mid; then
23630 ac_lo= ac_hi=
23631 break
23632 fi
23633 ac_mid=`expr 2 '*' $ac_mid + 1`
23634 fi
23635
23636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23637 done
23638 else
23639 echo "$as_me: failed program was:" >&5
23640 sed 's/^/| /' conftest.$ac_ext >&5
23641
23642 cat >conftest.$ac_ext <<_ACEOF
23643 /* confdefs.h. */
23644 _ACEOF
23645 cat confdefs.h >>conftest.$ac_ext
23646 cat >>conftest.$ac_ext <<_ACEOF
23647 /* end confdefs.h. */
23648 $ac_includes_default
23649 typedef size_t ac__type_sizeof_;
23650 int
23651 main ()
23652 {
23653 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23654 test_array [0] = 0
23655
23656 ;
23657 return 0;
23658 }
23659 _ACEOF
23660 rm -f conftest.$ac_objext
23661 if { (ac_try="$ac_compile"
23662 case "(($ac_try" in
23663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23664 *) ac_try_echo=$ac_try;;
23665 esac
23666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23667 (eval "$ac_compile") 2>conftest.er1
23668 ac_status=$?
23669 grep -v '^ *+' conftest.er1 >conftest.err
23670 rm -f conftest.er1
23671 cat conftest.err >&5
23672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23673 (exit $ac_status); } && {
23674 test -z "$ac_c_werror_flag" ||
23675 test ! -s conftest.err
23676 } && test -s conftest.$ac_objext; then
23677 ac_hi=-1 ac_mid=-1
23678 while :; do
23679 cat >conftest.$ac_ext <<_ACEOF
23680 /* confdefs.h. */
23681 _ACEOF
23682 cat confdefs.h >>conftest.$ac_ext
23683 cat >>conftest.$ac_ext <<_ACEOF
23684 /* end confdefs.h. */
23685 $ac_includes_default
23686 typedef size_t ac__type_sizeof_;
23687 int
23688 main ()
23689 {
23690 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23691 test_array [0] = 0
23692
23693 ;
23694 return 0;
23695 }
23696 _ACEOF
23697 rm -f conftest.$ac_objext
23698 if { (ac_try="$ac_compile"
23699 case "(($ac_try" in
23700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23701 *) ac_try_echo=$ac_try;;
23702 esac
23703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23704 (eval "$ac_compile") 2>conftest.er1
23705 ac_status=$?
23706 grep -v '^ *+' conftest.er1 >conftest.err
23707 rm -f conftest.er1
23708 cat conftest.err >&5
23709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23710 (exit $ac_status); } && {
23711 test -z "$ac_c_werror_flag" ||
23712 test ! -s conftest.err
23713 } && test -s conftest.$ac_objext; then
23714 ac_lo=$ac_mid; break
23715 else
23716 echo "$as_me: failed program was:" >&5
23717 sed 's/^/| /' conftest.$ac_ext >&5
23718
23719 ac_hi=`expr '(' $ac_mid ')' - 1`
23720 if test $ac_mid -le $ac_hi; then
23721 ac_lo= ac_hi=
23722 break
23723 fi
23724 ac_mid=`expr 2 '*' $ac_mid`
23725 fi
23726
23727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23728 done
23729 else
23730 echo "$as_me: failed program was:" >&5
23731 sed 's/^/| /' conftest.$ac_ext >&5
23732
23733 ac_lo= ac_hi=
23734 fi
23735
23736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23737 fi
23738
23739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23740 # Binary search between lo and hi bounds.
23741 while test "x$ac_lo" != "x$ac_hi"; do
23742 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23743 cat >conftest.$ac_ext <<_ACEOF
23744 /* confdefs.h. */
23745 _ACEOF
23746 cat confdefs.h >>conftest.$ac_ext
23747 cat >>conftest.$ac_ext <<_ACEOF
23748 /* end confdefs.h. */
23749 $ac_includes_default
23750 typedef size_t ac__type_sizeof_;
23751 int
23752 main ()
23753 {
23754 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23755 test_array [0] = 0
23756
23757 ;
23758 return 0;
23759 }
23760 _ACEOF
23761 rm -f conftest.$ac_objext
23762 if { (ac_try="$ac_compile"
23763 case "(($ac_try" in
23764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23765 *) ac_try_echo=$ac_try;;
23766 esac
23767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23768 (eval "$ac_compile") 2>conftest.er1
23769 ac_status=$?
23770 grep -v '^ *+' conftest.er1 >conftest.err
23771 rm -f conftest.er1
23772 cat conftest.err >&5
23773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23774 (exit $ac_status); } && {
23775 test -z "$ac_c_werror_flag" ||
23776 test ! -s conftest.err
23777 } && test -s conftest.$ac_objext; then
23778 ac_hi=$ac_mid
23779 else
23780 echo "$as_me: failed program was:" >&5
23781 sed 's/^/| /' conftest.$ac_ext >&5
23782
23783 ac_lo=`expr '(' $ac_mid ')' + 1`
23784 fi
23785
23786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23787 done
23788 case $ac_lo in
23789 ?*) ac_cv_sizeof_size_t=$ac_lo;;
23790 '') if test "$ac_cv_type_size_t" = yes; then
23791 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
23792 See \`config.log' for more details." >&5
23793 echo "$as_me: error: cannot compute sizeof (size_t)
23794 See \`config.log' for more details." >&2;}
23795 { (exit 77); exit 77; }; }
23796 else
23797 ac_cv_sizeof_size_t=0
23798 fi ;;
23799 esac
23800 else
23801 cat >conftest.$ac_ext <<_ACEOF
23802 /* confdefs.h. */
23803 _ACEOF
23804 cat confdefs.h >>conftest.$ac_ext
23805 cat >>conftest.$ac_ext <<_ACEOF
23806 /* end confdefs.h. */
23807 $ac_includes_default
23808 typedef size_t ac__type_sizeof_;
23809 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23810 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23811 #include <stdio.h>
23812 #include <stdlib.h>
23813 int
23814 main ()
23815 {
23816
23817 FILE *f = fopen ("conftest.val", "w");
23818 if (! f)
23819 return 1;
23820 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23821 {
23822 long int i = longval ();
23823 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23824 return 1;
23825 fprintf (f, "%ld\n", i);
23826 }
23827 else
23828 {
23829 unsigned long int i = ulongval ();
23830 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23831 return 1;
23832 fprintf (f, "%lu\n", i);
23833 }
23834 return ferror (f) || fclose (f) != 0;
23835
23836 ;
23837 return 0;
23838 }
23839 _ACEOF
23840 rm -f conftest$ac_exeext
23841 if { (ac_try="$ac_link"
23842 case "(($ac_try" in
23843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23844 *) ac_try_echo=$ac_try;;
23845 esac
23846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23847 (eval "$ac_link") 2>&5
23848 ac_status=$?
23849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23850 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23851 { (case "(($ac_try" in
23852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23853 *) ac_try_echo=$ac_try;;
23854 esac
23855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23856 (eval "$ac_try") 2>&5
23857 ac_status=$?
23858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23859 (exit $ac_status); }; }; then
23860 ac_cv_sizeof_size_t=`cat conftest.val`
23861 else
23862 echo "$as_me: program exited with status $ac_status" >&5
23863 echo "$as_me: failed program was:" >&5
23864 sed 's/^/| /' conftest.$ac_ext >&5
23865
23866 ( exit $ac_status )
23867 if test "$ac_cv_type_size_t" = yes; then
23868 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
23869 See \`config.log' for more details." >&5
23870 echo "$as_me: error: cannot compute sizeof (size_t)
23871 See \`config.log' for more details." >&2;}
23872 { (exit 77); exit 77; }; }
23873 else
23874 ac_cv_sizeof_size_t=0
23875 fi
23876 fi
23877 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23878 fi
23879 rm -f conftest.val
23880 fi
23881 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
23882 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
23883
23884
23885
23886 cat >>confdefs.h <<_ACEOF
23887 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
23888 _ACEOF
23889
23890
23891
23892 case "${host}" in
23893 arm-*-linux* )
23894 { echo "$as_me:$LINENO: checking for long long" >&5
23895 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
23896 if test "${ac_cv_type_long_long+set}" = set; then
23897 echo $ECHO_N "(cached) $ECHO_C" >&6
23898 else
23899 cat >conftest.$ac_ext <<_ACEOF
23900 /* confdefs.h. */
23901 _ACEOF
23902 cat confdefs.h >>conftest.$ac_ext
23903 cat >>conftest.$ac_ext <<_ACEOF
23904 /* end confdefs.h. */
23905 $ac_includes_default
23906 typedef long long ac__type_new_;
23907 int
23908 main ()
23909 {
23910 if ((ac__type_new_ *) 0)
23911 return 0;
23912 if (sizeof (ac__type_new_))
23913 return 0;
23914 ;
23915 return 0;
23916 }
23917 _ACEOF
23918 rm -f conftest.$ac_objext
23919 if { (ac_try="$ac_compile"
23920 case "(($ac_try" in
23921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23922 *) ac_try_echo=$ac_try;;
23923 esac
23924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23925 (eval "$ac_compile") 2>conftest.er1
23926 ac_status=$?
23927 grep -v '^ *+' conftest.er1 >conftest.err
23928 rm -f conftest.er1
23929 cat conftest.err >&5
23930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23931 (exit $ac_status); } && {
23932 test -z "$ac_c_werror_flag" ||
23933 test ! -s conftest.err
23934 } && test -s conftest.$ac_objext; then
23935 ac_cv_type_long_long=yes
23936 else
23937 echo "$as_me: failed program was:" >&5
23938 sed 's/^/| /' conftest.$ac_ext >&5
23939
23940 ac_cv_type_long_long=no
23941 fi
23942
23943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23944 fi
23945 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
23946 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
23947
23948 # The cast to long int works around a bug in the HP C Compiler
23949 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23950 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23951 # This bug is HP SR number 8606223364.
23952 { echo "$as_me:$LINENO: checking size of long long" >&5
23953 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
23954 if test "${ac_cv_sizeof_long_long+set}" = set; then
23955 echo $ECHO_N "(cached) $ECHO_C" >&6
23956 else
23957 if test "$cross_compiling" = yes; then
23958 # Depending upon the size, compute the lo and hi bounds.
23959 cat >conftest.$ac_ext <<_ACEOF
23960 /* confdefs.h. */
23961 _ACEOF
23962 cat confdefs.h >>conftest.$ac_ext
23963 cat >>conftest.$ac_ext <<_ACEOF
23964 /* end confdefs.h. */
23965 $ac_includes_default
23966 typedef long long ac__type_sizeof_;
23967 int
23968 main ()
23969 {
23970 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23971 test_array [0] = 0
23972
23973 ;
23974 return 0;
23975 }
23976 _ACEOF
23977 rm -f conftest.$ac_objext
23978 if { (ac_try="$ac_compile"
23979 case "(($ac_try" in
23980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23981 *) ac_try_echo=$ac_try;;
23982 esac
23983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23984 (eval "$ac_compile") 2>conftest.er1
23985 ac_status=$?
23986 grep -v '^ *+' conftest.er1 >conftest.err
23987 rm -f conftest.er1
23988 cat conftest.err >&5
23989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23990 (exit $ac_status); } && {
23991 test -z "$ac_c_werror_flag" ||
23992 test ! -s conftest.err
23993 } && test -s conftest.$ac_objext; then
23994 ac_lo=0 ac_mid=0
23995 while :; do
23996 cat >conftest.$ac_ext <<_ACEOF
23997 /* confdefs.h. */
23998 _ACEOF
23999 cat confdefs.h >>conftest.$ac_ext
24000 cat >>conftest.$ac_ext <<_ACEOF
24001 /* end confdefs.h. */
24002 $ac_includes_default
24003 typedef long long ac__type_sizeof_;
24004 int
24005 main ()
24006 {
24007 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24008 test_array [0] = 0
24009
24010 ;
24011 return 0;
24012 }
24013 _ACEOF
24014 rm -f conftest.$ac_objext
24015 if { (ac_try="$ac_compile"
24016 case "(($ac_try" in
24017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24018 *) ac_try_echo=$ac_try;;
24019 esac
24020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24021 (eval "$ac_compile") 2>conftest.er1
24022 ac_status=$?
24023 grep -v '^ *+' conftest.er1 >conftest.err
24024 rm -f conftest.er1
24025 cat conftest.err >&5
24026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24027 (exit $ac_status); } && {
24028 test -z "$ac_c_werror_flag" ||
24029 test ! -s conftest.err
24030 } && test -s conftest.$ac_objext; then
24031 ac_hi=$ac_mid; break
24032 else
24033 echo "$as_me: failed program was:" >&5
24034 sed 's/^/| /' conftest.$ac_ext >&5
24035
24036 ac_lo=`expr $ac_mid + 1`
24037 if test $ac_lo -le $ac_mid; then
24038 ac_lo= ac_hi=
24039 break
24040 fi
24041 ac_mid=`expr 2 '*' $ac_mid + 1`
24042 fi
24043
24044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24045 done
24046 else
24047 echo "$as_me: failed program was:" >&5
24048 sed 's/^/| /' conftest.$ac_ext >&5
24049
24050 cat >conftest.$ac_ext <<_ACEOF
24051 /* confdefs.h. */
24052 _ACEOF
24053 cat confdefs.h >>conftest.$ac_ext
24054 cat >>conftest.$ac_ext <<_ACEOF
24055 /* end confdefs.h. */
24056 $ac_includes_default
24057 typedef long long ac__type_sizeof_;
24058 int
24059 main ()
24060 {
24061 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24062 test_array [0] = 0
24063
24064 ;
24065 return 0;
24066 }
24067 _ACEOF
24068 rm -f conftest.$ac_objext
24069 if { (ac_try="$ac_compile"
24070 case "(($ac_try" in
24071 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24072 *) ac_try_echo=$ac_try;;
24073 esac
24074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24075 (eval "$ac_compile") 2>conftest.er1
24076 ac_status=$?
24077 grep -v '^ *+' conftest.er1 >conftest.err
24078 rm -f conftest.er1
24079 cat conftest.err >&5
24080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24081 (exit $ac_status); } && {
24082 test -z "$ac_c_werror_flag" ||
24083 test ! -s conftest.err
24084 } && test -s conftest.$ac_objext; then
24085 ac_hi=-1 ac_mid=-1
24086 while :; do
24087 cat >conftest.$ac_ext <<_ACEOF
24088 /* confdefs.h. */
24089 _ACEOF
24090 cat confdefs.h >>conftest.$ac_ext
24091 cat >>conftest.$ac_ext <<_ACEOF
24092 /* end confdefs.h. */
24093 $ac_includes_default
24094 typedef long long ac__type_sizeof_;
24095 int
24096 main ()
24097 {
24098 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24099 test_array [0] = 0
24100
24101 ;
24102 return 0;
24103 }
24104 _ACEOF
24105 rm -f conftest.$ac_objext
24106 if { (ac_try="$ac_compile"
24107 case "(($ac_try" in
24108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24109 *) ac_try_echo=$ac_try;;
24110 esac
24111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24112 (eval "$ac_compile") 2>conftest.er1
24113 ac_status=$?
24114 grep -v '^ *+' conftest.er1 >conftest.err
24115 rm -f conftest.er1
24116 cat conftest.err >&5
24117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24118 (exit $ac_status); } && {
24119 test -z "$ac_c_werror_flag" ||
24120 test ! -s conftest.err
24121 } && test -s conftest.$ac_objext; then
24122 ac_lo=$ac_mid; break
24123 else
24124 echo "$as_me: failed program was:" >&5
24125 sed 's/^/| /' conftest.$ac_ext >&5
24126
24127 ac_hi=`expr '(' $ac_mid ')' - 1`
24128 if test $ac_mid -le $ac_hi; then
24129 ac_lo= ac_hi=
24130 break
24131 fi
24132 ac_mid=`expr 2 '*' $ac_mid`
24133 fi
24134
24135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24136 done
24137 else
24138 echo "$as_me: failed program was:" >&5
24139 sed 's/^/| /' conftest.$ac_ext >&5
24140
24141 ac_lo= ac_hi=
24142 fi
24143
24144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24145 fi
24146
24147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24148 # Binary search between lo and hi bounds.
24149 while test "x$ac_lo" != "x$ac_hi"; do
24150 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24151 cat >conftest.$ac_ext <<_ACEOF
24152 /* confdefs.h. */
24153 _ACEOF
24154 cat confdefs.h >>conftest.$ac_ext
24155 cat >>conftest.$ac_ext <<_ACEOF
24156 /* end confdefs.h. */
24157 $ac_includes_default
24158 typedef long long ac__type_sizeof_;
24159 int
24160 main ()
24161 {
24162 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24163 test_array [0] = 0
24164
24165 ;
24166 return 0;
24167 }
24168 _ACEOF
24169 rm -f conftest.$ac_objext
24170 if { (ac_try="$ac_compile"
24171 case "(($ac_try" in
24172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24173 *) ac_try_echo=$ac_try;;
24174 esac
24175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24176 (eval "$ac_compile") 2>conftest.er1
24177 ac_status=$?
24178 grep -v '^ *+' conftest.er1 >conftest.err
24179 rm -f conftest.er1
24180 cat conftest.err >&5
24181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24182 (exit $ac_status); } && {
24183 test -z "$ac_c_werror_flag" ||
24184 test ! -s conftest.err
24185 } && test -s conftest.$ac_objext; then
24186 ac_hi=$ac_mid
24187 else
24188 echo "$as_me: failed program was:" >&5
24189 sed 's/^/| /' conftest.$ac_ext >&5
24190
24191 ac_lo=`expr '(' $ac_mid ')' + 1`
24192 fi
24193
24194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24195 done
24196 case $ac_lo in
24197 ?*) ac_cv_sizeof_long_long=$ac_lo;;
24198 '') if test "$ac_cv_type_long_long" = yes; then
24199 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24200 See \`config.log' for more details." >&5
24201 echo "$as_me: error: cannot compute sizeof (long long)
24202 See \`config.log' for more details." >&2;}
24203 { (exit 77); exit 77; }; }
24204 else
24205 ac_cv_sizeof_long_long=0
24206 fi ;;
24207 esac
24208 else
24209 cat >conftest.$ac_ext <<_ACEOF
24210 /* confdefs.h. */
24211 _ACEOF
24212 cat confdefs.h >>conftest.$ac_ext
24213 cat >>conftest.$ac_ext <<_ACEOF
24214 /* end confdefs.h. */
24215 $ac_includes_default
24216 typedef long long ac__type_sizeof_;
24217 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24218 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24219 #include <stdio.h>
24220 #include <stdlib.h>
24221 int
24222 main ()
24223 {
24224
24225 FILE *f = fopen ("conftest.val", "w");
24226 if (! f)
24227 return 1;
24228 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24229 {
24230 long int i = longval ();
24231 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24232 return 1;
24233 fprintf (f, "%ld\n", i);
24234 }
24235 else
24236 {
24237 unsigned long int i = ulongval ();
24238 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24239 return 1;
24240 fprintf (f, "%lu\n", i);
24241 }
24242 return ferror (f) || fclose (f) != 0;
24243
24244 ;
24245 return 0;
24246 }
24247 _ACEOF
24248 rm -f conftest$ac_exeext
24249 if { (ac_try="$ac_link"
24250 case "(($ac_try" in
24251 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24252 *) ac_try_echo=$ac_try;;
24253 esac
24254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24255 (eval "$ac_link") 2>&5
24256 ac_status=$?
24257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24258 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24259 { (case "(($ac_try" in
24260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24261 *) ac_try_echo=$ac_try;;
24262 esac
24263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24264 (eval "$ac_try") 2>&5
24265 ac_status=$?
24266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24267 (exit $ac_status); }; }; then
24268 ac_cv_sizeof_long_long=`cat conftest.val`
24269 else
24270 echo "$as_me: program exited with status $ac_status" >&5
24271 echo "$as_me: failed program was:" >&5
24272 sed 's/^/| /' conftest.$ac_ext >&5
24273
24274 ( exit $ac_status )
24275 if test "$ac_cv_type_long_long" = yes; then
24276 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24277 See \`config.log' for more details." >&5
24278 echo "$as_me: error: cannot compute sizeof (long long)
24279 See \`config.log' for more details." >&2;}
24280 { (exit 77); exit 77; }; }
24281 else
24282 ac_cv_sizeof_long_long=0
24283 fi
24284 fi
24285 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24286 fi
24287 rm -f conftest.val
24288 fi
24289 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
24290 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
24291
24292
24293
24294 cat >>confdefs.h <<_ACEOF
24295 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
24296 _ACEOF
24297
24298
24299 ;;
24300 *-hp-hpux* )
24301 { echo "$as_me:$LINENO: checking for long long" >&5
24302 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
24303 if test "${ac_cv_type_long_long+set}" = set; then
24304 echo $ECHO_N "(cached) $ECHO_C" >&6
24305 else
24306 cat >conftest.$ac_ext <<_ACEOF
24307 /* confdefs.h. */
24308 _ACEOF
24309 cat confdefs.h >>conftest.$ac_ext
24310 cat >>conftest.$ac_ext <<_ACEOF
24311 /* end confdefs.h. */
24312 $ac_includes_default
24313 typedef long long ac__type_new_;
24314 int
24315 main ()
24316 {
24317 if ((ac__type_new_ *) 0)
24318 return 0;
24319 if (sizeof (ac__type_new_))
24320 return 0;
24321 ;
24322 return 0;
24323 }
24324 _ACEOF
24325 rm -f conftest.$ac_objext
24326 if { (ac_try="$ac_compile"
24327 case "(($ac_try" in
24328 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24329 *) ac_try_echo=$ac_try;;
24330 esac
24331 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24332 (eval "$ac_compile") 2>conftest.er1
24333 ac_status=$?
24334 grep -v '^ *+' conftest.er1 >conftest.err
24335 rm -f conftest.er1
24336 cat conftest.err >&5
24337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24338 (exit $ac_status); } && {
24339 test -z "$ac_c_werror_flag" ||
24340 test ! -s conftest.err
24341 } && test -s conftest.$ac_objext; then
24342 ac_cv_type_long_long=yes
24343 else
24344 echo "$as_me: failed program was:" >&5
24345 sed 's/^/| /' conftest.$ac_ext >&5
24346
24347 ac_cv_type_long_long=no
24348 fi
24349
24350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24351 fi
24352 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
24353 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
24354
24355 # The cast to long int works around a bug in the HP C Compiler
24356 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24357 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24358 # This bug is HP SR number 8606223364.
24359 { echo "$as_me:$LINENO: checking size of long long" >&5
24360 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
24361 if test "${ac_cv_sizeof_long_long+set}" = set; then
24362 echo $ECHO_N "(cached) $ECHO_C" >&6
24363 else
24364 if test "$cross_compiling" = yes; then
24365 # Depending upon the size, compute the lo and hi bounds.
24366 cat >conftest.$ac_ext <<_ACEOF
24367 /* confdefs.h. */
24368 _ACEOF
24369 cat confdefs.h >>conftest.$ac_ext
24370 cat >>conftest.$ac_ext <<_ACEOF
24371 /* end confdefs.h. */
24372 $ac_includes_default
24373 typedef long long ac__type_sizeof_;
24374 int
24375 main ()
24376 {
24377 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
24378 test_array [0] = 0
24379
24380 ;
24381 return 0;
24382 }
24383 _ACEOF
24384 rm -f conftest.$ac_objext
24385 if { (ac_try="$ac_compile"
24386 case "(($ac_try" in
24387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24388 *) ac_try_echo=$ac_try;;
24389 esac
24390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24391 (eval "$ac_compile") 2>conftest.er1
24392 ac_status=$?
24393 grep -v '^ *+' conftest.er1 >conftest.err
24394 rm -f conftest.er1
24395 cat conftest.err >&5
24396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24397 (exit $ac_status); } && {
24398 test -z "$ac_c_werror_flag" ||
24399 test ! -s conftest.err
24400 } && test -s conftest.$ac_objext; then
24401 ac_lo=0 ac_mid=0
24402 while :; do
24403 cat >conftest.$ac_ext <<_ACEOF
24404 /* confdefs.h. */
24405 _ACEOF
24406 cat confdefs.h >>conftest.$ac_ext
24407 cat >>conftest.$ac_ext <<_ACEOF
24408 /* end confdefs.h. */
24409 $ac_includes_default
24410 typedef long long ac__type_sizeof_;
24411 int
24412 main ()
24413 {
24414 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24415 test_array [0] = 0
24416
24417 ;
24418 return 0;
24419 }
24420 _ACEOF
24421 rm -f conftest.$ac_objext
24422 if { (ac_try="$ac_compile"
24423 case "(($ac_try" in
24424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24425 *) ac_try_echo=$ac_try;;
24426 esac
24427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24428 (eval "$ac_compile") 2>conftest.er1
24429 ac_status=$?
24430 grep -v '^ *+' conftest.er1 >conftest.err
24431 rm -f conftest.er1
24432 cat conftest.err >&5
24433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24434 (exit $ac_status); } && {
24435 test -z "$ac_c_werror_flag" ||
24436 test ! -s conftest.err
24437 } && test -s conftest.$ac_objext; then
24438 ac_hi=$ac_mid; break
24439 else
24440 echo "$as_me: failed program was:" >&5
24441 sed 's/^/| /' conftest.$ac_ext >&5
24442
24443 ac_lo=`expr $ac_mid + 1`
24444 if test $ac_lo -le $ac_mid; then
24445 ac_lo= ac_hi=
24446 break
24447 fi
24448 ac_mid=`expr 2 '*' $ac_mid + 1`
24449 fi
24450
24451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24452 done
24453 else
24454 echo "$as_me: failed program was:" >&5
24455 sed 's/^/| /' conftest.$ac_ext >&5
24456
24457 cat >conftest.$ac_ext <<_ACEOF
24458 /* confdefs.h. */
24459 _ACEOF
24460 cat confdefs.h >>conftest.$ac_ext
24461 cat >>conftest.$ac_ext <<_ACEOF
24462 /* end confdefs.h. */
24463 $ac_includes_default
24464 typedef long long ac__type_sizeof_;
24465 int
24466 main ()
24467 {
24468 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24469 test_array [0] = 0
24470
24471 ;
24472 return 0;
24473 }
24474 _ACEOF
24475 rm -f conftest.$ac_objext
24476 if { (ac_try="$ac_compile"
24477 case "(($ac_try" in
24478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24479 *) ac_try_echo=$ac_try;;
24480 esac
24481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24482 (eval "$ac_compile") 2>conftest.er1
24483 ac_status=$?
24484 grep -v '^ *+' conftest.er1 >conftest.err
24485 rm -f conftest.er1
24486 cat conftest.err >&5
24487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24488 (exit $ac_status); } && {
24489 test -z "$ac_c_werror_flag" ||
24490 test ! -s conftest.err
24491 } && test -s conftest.$ac_objext; then
24492 ac_hi=-1 ac_mid=-1
24493 while :; do
24494 cat >conftest.$ac_ext <<_ACEOF
24495 /* confdefs.h. */
24496 _ACEOF
24497 cat confdefs.h >>conftest.$ac_ext
24498 cat >>conftest.$ac_ext <<_ACEOF
24499 /* end confdefs.h. */
24500 $ac_includes_default
24501 typedef long long ac__type_sizeof_;
24502 int
24503 main ()
24504 {
24505 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24506 test_array [0] = 0
24507
24508 ;
24509 return 0;
24510 }
24511 _ACEOF
24512 rm -f conftest.$ac_objext
24513 if { (ac_try="$ac_compile"
24514 case "(($ac_try" in
24515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24516 *) ac_try_echo=$ac_try;;
24517 esac
24518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24519 (eval "$ac_compile") 2>conftest.er1
24520 ac_status=$?
24521 grep -v '^ *+' conftest.er1 >conftest.err
24522 rm -f conftest.er1
24523 cat conftest.err >&5
24524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24525 (exit $ac_status); } && {
24526 test -z "$ac_c_werror_flag" ||
24527 test ! -s conftest.err
24528 } && test -s conftest.$ac_objext; then
24529 ac_lo=$ac_mid; break
24530 else
24531 echo "$as_me: failed program was:" >&5
24532 sed 's/^/| /' conftest.$ac_ext >&5
24533
24534 ac_hi=`expr '(' $ac_mid ')' - 1`
24535 if test $ac_mid -le $ac_hi; then
24536 ac_lo= ac_hi=
24537 break
24538 fi
24539 ac_mid=`expr 2 '*' $ac_mid`
24540 fi
24541
24542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24543 done
24544 else
24545 echo "$as_me: failed program was:" >&5
24546 sed 's/^/| /' conftest.$ac_ext >&5
24547
24548 ac_lo= ac_hi=
24549 fi
24550
24551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24552 fi
24553
24554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24555 # Binary search between lo and hi bounds.
24556 while test "x$ac_lo" != "x$ac_hi"; do
24557 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24558 cat >conftest.$ac_ext <<_ACEOF
24559 /* confdefs.h. */
24560 _ACEOF
24561 cat confdefs.h >>conftest.$ac_ext
24562 cat >>conftest.$ac_ext <<_ACEOF
24563 /* end confdefs.h. */
24564 $ac_includes_default
24565 typedef long long ac__type_sizeof_;
24566 int
24567 main ()
24568 {
24569 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24570 test_array [0] = 0
24571
24572 ;
24573 return 0;
24574 }
24575 _ACEOF
24576 rm -f conftest.$ac_objext
24577 if { (ac_try="$ac_compile"
24578 case "(($ac_try" in
24579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24580 *) ac_try_echo=$ac_try;;
24581 esac
24582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24583 (eval "$ac_compile") 2>conftest.er1
24584 ac_status=$?
24585 grep -v '^ *+' conftest.er1 >conftest.err
24586 rm -f conftest.er1
24587 cat conftest.err >&5
24588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24589 (exit $ac_status); } && {
24590 test -z "$ac_c_werror_flag" ||
24591 test ! -s conftest.err
24592 } && test -s conftest.$ac_objext; then
24593 ac_hi=$ac_mid
24594 else
24595 echo "$as_me: failed program was:" >&5
24596 sed 's/^/| /' conftest.$ac_ext >&5
24597
24598 ac_lo=`expr '(' $ac_mid ')' + 1`
24599 fi
24600
24601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24602 done
24603 case $ac_lo in
24604 ?*) ac_cv_sizeof_long_long=$ac_lo;;
24605 '') if test "$ac_cv_type_long_long" = yes; then
24606 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24607 See \`config.log' for more details." >&5
24608 echo "$as_me: error: cannot compute sizeof (long long)
24609 See \`config.log' for more details." >&2;}
24610 { (exit 77); exit 77; }; }
24611 else
24612 ac_cv_sizeof_long_long=0
24613 fi ;;
24614 esac
24615 else
24616 cat >conftest.$ac_ext <<_ACEOF
24617 /* confdefs.h. */
24618 _ACEOF
24619 cat confdefs.h >>conftest.$ac_ext
24620 cat >>conftest.$ac_ext <<_ACEOF
24621 /* end confdefs.h. */
24622 $ac_includes_default
24623 typedef long long ac__type_sizeof_;
24624 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24625 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24626 #include <stdio.h>
24627 #include <stdlib.h>
24628 int
24629 main ()
24630 {
24631
24632 FILE *f = fopen ("conftest.val", "w");
24633 if (! f)
24634 return 1;
24635 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24636 {
24637 long int i = longval ();
24638 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24639 return 1;
24640 fprintf (f, "%ld\n", i);
24641 }
24642 else
24643 {
24644 unsigned long int i = ulongval ();
24645 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24646 return 1;
24647 fprintf (f, "%lu\n", i);
24648 }
24649 return ferror (f) || fclose (f) != 0;
24650
24651 ;
24652 return 0;
24653 }
24654 _ACEOF
24655 rm -f conftest$ac_exeext
24656 if { (ac_try="$ac_link"
24657 case "(($ac_try" in
24658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24659 *) ac_try_echo=$ac_try;;
24660 esac
24661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24662 (eval "$ac_link") 2>&5
24663 ac_status=$?
24664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24665 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24666 { (case "(($ac_try" in
24667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24668 *) ac_try_echo=$ac_try;;
24669 esac
24670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24671 (eval "$ac_try") 2>&5
24672 ac_status=$?
24673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24674 (exit $ac_status); }; }; then
24675 ac_cv_sizeof_long_long=`cat conftest.val`
24676 else
24677 echo "$as_me: program exited with status $ac_status" >&5
24678 echo "$as_me: failed program was:" >&5
24679 sed 's/^/| /' conftest.$ac_ext >&5
24680
24681 ( exit $ac_status )
24682 if test "$ac_cv_type_long_long" = yes; then
24683 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24684 See \`config.log' for more details." >&5
24685 echo "$as_me: error: cannot compute sizeof (long long)
24686 See \`config.log' for more details." >&2;}
24687 { (exit 77); exit 77; }; }
24688 else
24689 ac_cv_sizeof_long_long=0
24690 fi
24691 fi
24692 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24693 fi
24694 rm -f conftest.val
24695 fi
24696 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
24697 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
24698
24699
24700
24701 cat >>confdefs.h <<_ACEOF
24702 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
24703 _ACEOF
24704
24705
24706 if test "$ac_cv_sizeof_long_long" != 0; then
24707 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
24708 fi
24709 ;;
24710 * )
24711 { echo "$as_me:$LINENO: checking for long long" >&5
24712 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
24713 if test "${ac_cv_type_long_long+set}" = set; then
24714 echo $ECHO_N "(cached) $ECHO_C" >&6
24715 else
24716 cat >conftest.$ac_ext <<_ACEOF
24717 /* confdefs.h. */
24718 _ACEOF
24719 cat confdefs.h >>conftest.$ac_ext
24720 cat >>conftest.$ac_ext <<_ACEOF
24721 /* end confdefs.h. */
24722 $ac_includes_default
24723 typedef long long ac__type_new_;
24724 int
24725 main ()
24726 {
24727 if ((ac__type_new_ *) 0)
24728 return 0;
24729 if (sizeof (ac__type_new_))
24730 return 0;
24731 ;
24732 return 0;
24733 }
24734 _ACEOF
24735 rm -f conftest.$ac_objext
24736 if { (ac_try="$ac_compile"
24737 case "(($ac_try" in
24738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24739 *) ac_try_echo=$ac_try;;
24740 esac
24741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24742 (eval "$ac_compile") 2>conftest.er1
24743 ac_status=$?
24744 grep -v '^ *+' conftest.er1 >conftest.err
24745 rm -f conftest.er1
24746 cat conftest.err >&5
24747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24748 (exit $ac_status); } && {
24749 test -z "$ac_c_werror_flag" ||
24750 test ! -s conftest.err
24751 } && test -s conftest.$ac_objext; then
24752 ac_cv_type_long_long=yes
24753 else
24754 echo "$as_me: failed program was:" >&5
24755 sed 's/^/| /' conftest.$ac_ext >&5
24756
24757 ac_cv_type_long_long=no
24758 fi
24759
24760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24761 fi
24762 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
24763 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
24764
24765 # The cast to long int works around a bug in the HP C Compiler
24766 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24767 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24768 # This bug is HP SR number 8606223364.
24769 { echo "$as_me:$LINENO: checking size of long long" >&5
24770 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
24771 if test "${ac_cv_sizeof_long_long+set}" = set; then
24772 echo $ECHO_N "(cached) $ECHO_C" >&6
24773 else
24774 if test "$cross_compiling" = yes; then
24775 # Depending upon the size, compute the lo and hi bounds.
24776 cat >conftest.$ac_ext <<_ACEOF
24777 /* confdefs.h. */
24778 _ACEOF
24779 cat confdefs.h >>conftest.$ac_ext
24780 cat >>conftest.$ac_ext <<_ACEOF
24781 /* end confdefs.h. */
24782 $ac_includes_default
24783 typedef long long ac__type_sizeof_;
24784 int
24785 main ()
24786 {
24787 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
24788 test_array [0] = 0
24789
24790 ;
24791 return 0;
24792 }
24793 _ACEOF
24794 rm -f conftest.$ac_objext
24795 if { (ac_try="$ac_compile"
24796 case "(($ac_try" in
24797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24798 *) ac_try_echo=$ac_try;;
24799 esac
24800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24801 (eval "$ac_compile") 2>conftest.er1
24802 ac_status=$?
24803 grep -v '^ *+' conftest.er1 >conftest.err
24804 rm -f conftest.er1
24805 cat conftest.err >&5
24806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24807 (exit $ac_status); } && {
24808 test -z "$ac_c_werror_flag" ||
24809 test ! -s conftest.err
24810 } && test -s conftest.$ac_objext; then
24811 ac_lo=0 ac_mid=0
24812 while :; do
24813 cat >conftest.$ac_ext <<_ACEOF
24814 /* confdefs.h. */
24815 _ACEOF
24816 cat confdefs.h >>conftest.$ac_ext
24817 cat >>conftest.$ac_ext <<_ACEOF
24818 /* end confdefs.h. */
24819 $ac_includes_default
24820 typedef long long ac__type_sizeof_;
24821 int
24822 main ()
24823 {
24824 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24825 test_array [0] = 0
24826
24827 ;
24828 return 0;
24829 }
24830 _ACEOF
24831 rm -f conftest.$ac_objext
24832 if { (ac_try="$ac_compile"
24833 case "(($ac_try" in
24834 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24835 *) ac_try_echo=$ac_try;;
24836 esac
24837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24838 (eval "$ac_compile") 2>conftest.er1
24839 ac_status=$?
24840 grep -v '^ *+' conftest.er1 >conftest.err
24841 rm -f conftest.er1
24842 cat conftest.err >&5
24843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24844 (exit $ac_status); } && {
24845 test -z "$ac_c_werror_flag" ||
24846 test ! -s conftest.err
24847 } && test -s conftest.$ac_objext; then
24848 ac_hi=$ac_mid; break
24849 else
24850 echo "$as_me: failed program was:" >&5
24851 sed 's/^/| /' conftest.$ac_ext >&5
24852
24853 ac_lo=`expr $ac_mid + 1`
24854 if test $ac_lo -le $ac_mid; then
24855 ac_lo= ac_hi=
24856 break
24857 fi
24858 ac_mid=`expr 2 '*' $ac_mid + 1`
24859 fi
24860
24861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24862 done
24863 else
24864 echo "$as_me: failed program was:" >&5
24865 sed 's/^/| /' conftest.$ac_ext >&5
24866
24867 cat >conftest.$ac_ext <<_ACEOF
24868 /* confdefs.h. */
24869 _ACEOF
24870 cat confdefs.h >>conftest.$ac_ext
24871 cat >>conftest.$ac_ext <<_ACEOF
24872 /* end confdefs.h. */
24873 $ac_includes_default
24874 typedef long long ac__type_sizeof_;
24875 int
24876 main ()
24877 {
24878 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24879 test_array [0] = 0
24880
24881 ;
24882 return 0;
24883 }
24884 _ACEOF
24885 rm -f conftest.$ac_objext
24886 if { (ac_try="$ac_compile"
24887 case "(($ac_try" in
24888 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24889 *) ac_try_echo=$ac_try;;
24890 esac
24891 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24892 (eval "$ac_compile") 2>conftest.er1
24893 ac_status=$?
24894 grep -v '^ *+' conftest.er1 >conftest.err
24895 rm -f conftest.er1
24896 cat conftest.err >&5
24897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24898 (exit $ac_status); } && {
24899 test -z "$ac_c_werror_flag" ||
24900 test ! -s conftest.err
24901 } && test -s conftest.$ac_objext; then
24902 ac_hi=-1 ac_mid=-1
24903 while :; do
24904 cat >conftest.$ac_ext <<_ACEOF
24905 /* confdefs.h. */
24906 _ACEOF
24907 cat confdefs.h >>conftest.$ac_ext
24908 cat >>conftest.$ac_ext <<_ACEOF
24909 /* end confdefs.h. */
24910 $ac_includes_default
24911 typedef long long ac__type_sizeof_;
24912 int
24913 main ()
24914 {
24915 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24916 test_array [0] = 0
24917
24918 ;
24919 return 0;
24920 }
24921 _ACEOF
24922 rm -f conftest.$ac_objext
24923 if { (ac_try="$ac_compile"
24924 case "(($ac_try" in
24925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24926 *) ac_try_echo=$ac_try;;
24927 esac
24928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24929 (eval "$ac_compile") 2>conftest.er1
24930 ac_status=$?
24931 grep -v '^ *+' conftest.er1 >conftest.err
24932 rm -f conftest.er1
24933 cat conftest.err >&5
24934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24935 (exit $ac_status); } && {
24936 test -z "$ac_c_werror_flag" ||
24937 test ! -s conftest.err
24938 } && test -s conftest.$ac_objext; then
24939 ac_lo=$ac_mid; break
24940 else
24941 echo "$as_me: failed program was:" >&5
24942 sed 's/^/| /' conftest.$ac_ext >&5
24943
24944 ac_hi=`expr '(' $ac_mid ')' - 1`
24945 if test $ac_mid -le $ac_hi; then
24946 ac_lo= ac_hi=
24947 break
24948 fi
24949 ac_mid=`expr 2 '*' $ac_mid`
24950 fi
24951
24952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24953 done
24954 else
24955 echo "$as_me: failed program was:" >&5
24956 sed 's/^/| /' conftest.$ac_ext >&5
24957
24958 ac_lo= ac_hi=
24959 fi
24960
24961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24962 fi
24963
24964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24965 # Binary search between lo and hi bounds.
24966 while test "x$ac_lo" != "x$ac_hi"; do
24967 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24968 cat >conftest.$ac_ext <<_ACEOF
24969 /* confdefs.h. */
24970 _ACEOF
24971 cat confdefs.h >>conftest.$ac_ext
24972 cat >>conftest.$ac_ext <<_ACEOF
24973 /* end confdefs.h. */
24974 $ac_includes_default
24975 typedef long long ac__type_sizeof_;
24976 int
24977 main ()
24978 {
24979 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24980 test_array [0] = 0
24981
24982 ;
24983 return 0;
24984 }
24985 _ACEOF
24986 rm -f conftest.$ac_objext
24987 if { (ac_try="$ac_compile"
24988 case "(($ac_try" in
24989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24990 *) ac_try_echo=$ac_try;;
24991 esac
24992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24993 (eval "$ac_compile") 2>conftest.er1
24994 ac_status=$?
24995 grep -v '^ *+' conftest.er1 >conftest.err
24996 rm -f conftest.er1
24997 cat conftest.err >&5
24998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24999 (exit $ac_status); } && {
25000 test -z "$ac_c_werror_flag" ||
25001 test ! -s conftest.err
25002 } && test -s conftest.$ac_objext; then
25003 ac_hi=$ac_mid
25004 else
25005 echo "$as_me: failed program was:" >&5
25006 sed 's/^/| /' conftest.$ac_ext >&5
25007
25008 ac_lo=`expr '(' $ac_mid ')' + 1`
25009 fi
25010
25011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25012 done
25013 case $ac_lo in
25014 ?*) ac_cv_sizeof_long_long=$ac_lo;;
25015 '') if test "$ac_cv_type_long_long" = yes; then
25016 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
25017 See \`config.log' for more details." >&5
25018 echo "$as_me: error: cannot compute sizeof (long long)
25019 See \`config.log' for more details." >&2;}
25020 { (exit 77); exit 77; }; }
25021 else
25022 ac_cv_sizeof_long_long=0
25023 fi ;;
25024 esac
25025 else
25026 cat >conftest.$ac_ext <<_ACEOF
25027 /* confdefs.h. */
25028 _ACEOF
25029 cat confdefs.h >>conftest.$ac_ext
25030 cat >>conftest.$ac_ext <<_ACEOF
25031 /* end confdefs.h. */
25032 $ac_includes_default
25033 typedef long long ac__type_sizeof_;
25034 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
25035 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
25036 #include <stdio.h>
25037 #include <stdlib.h>
25038 int
25039 main ()
25040 {
25041
25042 FILE *f = fopen ("conftest.val", "w");
25043 if (! f)
25044 return 1;
25045 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
25046 {
25047 long int i = longval ();
25048 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25049 return 1;
25050 fprintf (f, "%ld\n", i);
25051 }
25052 else
25053 {
25054 unsigned long int i = ulongval ();
25055 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25056 return 1;
25057 fprintf (f, "%lu\n", i);
25058 }
25059 return ferror (f) || fclose (f) != 0;
25060
25061 ;
25062 return 0;
25063 }
25064 _ACEOF
25065 rm -f conftest$ac_exeext
25066 if { (ac_try="$ac_link"
25067 case "(($ac_try" in
25068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25069 *) ac_try_echo=$ac_try;;
25070 esac
25071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25072 (eval "$ac_link") 2>&5
25073 ac_status=$?
25074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25075 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25076 { (case "(($ac_try" in
25077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25078 *) ac_try_echo=$ac_try;;
25079 esac
25080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25081 (eval "$ac_try") 2>&5
25082 ac_status=$?
25083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25084 (exit $ac_status); }; }; then
25085 ac_cv_sizeof_long_long=`cat conftest.val`
25086 else
25087 echo "$as_me: program exited with status $ac_status" >&5
25088 echo "$as_me: failed program was:" >&5
25089 sed 's/^/| /' conftest.$ac_ext >&5
25090
25091 ( exit $ac_status )
25092 if test "$ac_cv_type_long_long" = yes; then
25093 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
25094 See \`config.log' for more details." >&5
25095 echo "$as_me: error: cannot compute sizeof (long long)
25096 See \`config.log' for more details." >&2;}
25097 { (exit 77); exit 77; }; }
25098 else
25099 ac_cv_sizeof_long_long=0
25100 fi
25101 fi
25102 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25103 fi
25104 rm -f conftest.val
25105 fi
25106 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
25107 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
25108
25109
25110
25111 cat >>confdefs.h <<_ACEOF
25112 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
25113 _ACEOF
25114
25115
25116 esac
25117
25118 { echo "$as_me:$LINENO: checking for wchar_t" >&5
25119 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
25120 if test "${ac_cv_type_wchar_t+set}" = set; then
25121 echo $ECHO_N "(cached) $ECHO_C" >&6
25122 else
25123 cat >conftest.$ac_ext <<_ACEOF
25124 /* confdefs.h. */
25125 _ACEOF
25126 cat confdefs.h >>conftest.$ac_ext
25127 cat >>conftest.$ac_ext <<_ACEOF
25128 /* end confdefs.h. */
25129
25130 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25131 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25132 # error "fake wchar_t"
25133 #endif
25134 #ifdef HAVE_WCHAR_H
25135 # ifdef __CYGWIN__
25136 # include <stddef.h>
25137 # endif
25138 # include <wchar.h>
25139 #endif
25140 #ifdef HAVE_STDLIB_H
25141 # include <stdlib.h>
25142 #endif
25143 #include <stdio.h>
25144
25145
25146
25147 typedef wchar_t ac__type_new_;
25148 int
25149 main ()
25150 {
25151 if ((ac__type_new_ *) 0)
25152 return 0;
25153 if (sizeof (ac__type_new_))
25154 return 0;
25155 ;
25156 return 0;
25157 }
25158 _ACEOF
25159 rm -f conftest.$ac_objext
25160 if { (ac_try="$ac_compile"
25161 case "(($ac_try" in
25162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25163 *) ac_try_echo=$ac_try;;
25164 esac
25165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25166 (eval "$ac_compile") 2>conftest.er1
25167 ac_status=$?
25168 grep -v '^ *+' conftest.er1 >conftest.err
25169 rm -f conftest.er1
25170 cat conftest.err >&5
25171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25172 (exit $ac_status); } && {
25173 test -z "$ac_c_werror_flag" ||
25174 test ! -s conftest.err
25175 } && test -s conftest.$ac_objext; then
25176 ac_cv_type_wchar_t=yes
25177 else
25178 echo "$as_me: failed program was:" >&5
25179 sed 's/^/| /' conftest.$ac_ext >&5
25180
25181 ac_cv_type_wchar_t=no
25182 fi
25183
25184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25185 fi
25186 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
25187 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
25188
25189 # The cast to long int works around a bug in the HP C Compiler
25190 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
25191 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
25192 # This bug is HP SR number 8606223364.
25193 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
25194 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
25195 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
25196 echo $ECHO_N "(cached) $ECHO_C" >&6
25197 else
25198 if test "$cross_compiling" = yes; then
25199 # Depending upon the size, compute the lo and hi bounds.
25200 cat >conftest.$ac_ext <<_ACEOF
25201 /* confdefs.h. */
25202 _ACEOF
25203 cat confdefs.h >>conftest.$ac_ext
25204 cat >>conftest.$ac_ext <<_ACEOF
25205 /* end confdefs.h. */
25206
25207 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25208 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25209 # error "fake wchar_t"
25210 #endif
25211 #ifdef HAVE_WCHAR_H
25212 # ifdef __CYGWIN__
25213 # include <stddef.h>
25214 # endif
25215 # include <wchar.h>
25216 #endif
25217 #ifdef HAVE_STDLIB_H
25218 # include <stdlib.h>
25219 #endif
25220 #include <stdio.h>
25221
25222
25223
25224 typedef wchar_t ac__type_sizeof_;
25225 int
25226 main ()
25227 {
25228 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
25229 test_array [0] = 0
25230
25231 ;
25232 return 0;
25233 }
25234 _ACEOF
25235 rm -f conftest.$ac_objext
25236 if { (ac_try="$ac_compile"
25237 case "(($ac_try" in
25238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25239 *) ac_try_echo=$ac_try;;
25240 esac
25241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25242 (eval "$ac_compile") 2>conftest.er1
25243 ac_status=$?
25244 grep -v '^ *+' conftest.er1 >conftest.err
25245 rm -f conftest.er1
25246 cat conftest.err >&5
25247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25248 (exit $ac_status); } && {
25249 test -z "$ac_c_werror_flag" ||
25250 test ! -s conftest.err
25251 } && test -s conftest.$ac_objext; then
25252 ac_lo=0 ac_mid=0
25253 while :; do
25254 cat >conftest.$ac_ext <<_ACEOF
25255 /* confdefs.h. */
25256 _ACEOF
25257 cat confdefs.h >>conftest.$ac_ext
25258 cat >>conftest.$ac_ext <<_ACEOF
25259 /* end confdefs.h. */
25260
25261 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25262 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25263 # error "fake wchar_t"
25264 #endif
25265 #ifdef HAVE_WCHAR_H
25266 # ifdef __CYGWIN__
25267 # include <stddef.h>
25268 # endif
25269 # include <wchar.h>
25270 #endif
25271 #ifdef HAVE_STDLIB_H
25272 # include <stdlib.h>
25273 #endif
25274 #include <stdio.h>
25275
25276
25277
25278 typedef wchar_t ac__type_sizeof_;
25279 int
25280 main ()
25281 {
25282 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25283 test_array [0] = 0
25284
25285 ;
25286 return 0;
25287 }
25288 _ACEOF
25289 rm -f conftest.$ac_objext
25290 if { (ac_try="$ac_compile"
25291 case "(($ac_try" in
25292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25293 *) ac_try_echo=$ac_try;;
25294 esac
25295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25296 (eval "$ac_compile") 2>conftest.er1
25297 ac_status=$?
25298 grep -v '^ *+' conftest.er1 >conftest.err
25299 rm -f conftest.er1
25300 cat conftest.err >&5
25301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25302 (exit $ac_status); } && {
25303 test -z "$ac_c_werror_flag" ||
25304 test ! -s conftest.err
25305 } && test -s conftest.$ac_objext; then
25306 ac_hi=$ac_mid; break
25307 else
25308 echo "$as_me: failed program was:" >&5
25309 sed 's/^/| /' conftest.$ac_ext >&5
25310
25311 ac_lo=`expr $ac_mid + 1`
25312 if test $ac_lo -le $ac_mid; then
25313 ac_lo= ac_hi=
25314 break
25315 fi
25316 ac_mid=`expr 2 '*' $ac_mid + 1`
25317 fi
25318
25319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25320 done
25321 else
25322 echo "$as_me: failed program was:" >&5
25323 sed 's/^/| /' conftest.$ac_ext >&5
25324
25325 cat >conftest.$ac_ext <<_ACEOF
25326 /* confdefs.h. */
25327 _ACEOF
25328 cat confdefs.h >>conftest.$ac_ext
25329 cat >>conftest.$ac_ext <<_ACEOF
25330 /* end confdefs.h. */
25331
25332 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25333 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25334 # error "fake wchar_t"
25335 #endif
25336 #ifdef HAVE_WCHAR_H
25337 # ifdef __CYGWIN__
25338 # include <stddef.h>
25339 # endif
25340 # include <wchar.h>
25341 #endif
25342 #ifdef HAVE_STDLIB_H
25343 # include <stdlib.h>
25344 #endif
25345 #include <stdio.h>
25346
25347
25348
25349 typedef wchar_t ac__type_sizeof_;
25350 int
25351 main ()
25352 {
25353 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
25354 test_array [0] = 0
25355
25356 ;
25357 return 0;
25358 }
25359 _ACEOF
25360 rm -f conftest.$ac_objext
25361 if { (ac_try="$ac_compile"
25362 case "(($ac_try" in
25363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25364 *) ac_try_echo=$ac_try;;
25365 esac
25366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25367 (eval "$ac_compile") 2>conftest.er1
25368 ac_status=$?
25369 grep -v '^ *+' conftest.er1 >conftest.err
25370 rm -f conftest.er1
25371 cat conftest.err >&5
25372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25373 (exit $ac_status); } && {
25374 test -z "$ac_c_werror_flag" ||
25375 test ! -s conftest.err
25376 } && test -s conftest.$ac_objext; then
25377 ac_hi=-1 ac_mid=-1
25378 while :; do
25379 cat >conftest.$ac_ext <<_ACEOF
25380 /* confdefs.h. */
25381 _ACEOF
25382 cat confdefs.h >>conftest.$ac_ext
25383 cat >>conftest.$ac_ext <<_ACEOF
25384 /* end confdefs.h. */
25385
25386 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25387 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25388 # error "fake wchar_t"
25389 #endif
25390 #ifdef HAVE_WCHAR_H
25391 # ifdef __CYGWIN__
25392 # include <stddef.h>
25393 # endif
25394 # include <wchar.h>
25395 #endif
25396 #ifdef HAVE_STDLIB_H
25397 # include <stdlib.h>
25398 #endif
25399 #include <stdio.h>
25400
25401
25402
25403 typedef wchar_t ac__type_sizeof_;
25404 int
25405 main ()
25406 {
25407 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
25408 test_array [0] = 0
25409
25410 ;
25411 return 0;
25412 }
25413 _ACEOF
25414 rm -f conftest.$ac_objext
25415 if { (ac_try="$ac_compile"
25416 case "(($ac_try" in
25417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25418 *) ac_try_echo=$ac_try;;
25419 esac
25420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25421 (eval "$ac_compile") 2>conftest.er1
25422 ac_status=$?
25423 grep -v '^ *+' conftest.er1 >conftest.err
25424 rm -f conftest.er1
25425 cat conftest.err >&5
25426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25427 (exit $ac_status); } && {
25428 test -z "$ac_c_werror_flag" ||
25429 test ! -s conftest.err
25430 } && test -s conftest.$ac_objext; then
25431 ac_lo=$ac_mid; break
25432 else
25433 echo "$as_me: failed program was:" >&5
25434 sed 's/^/| /' conftest.$ac_ext >&5
25435
25436 ac_hi=`expr '(' $ac_mid ')' - 1`
25437 if test $ac_mid -le $ac_hi; then
25438 ac_lo= ac_hi=
25439 break
25440 fi
25441 ac_mid=`expr 2 '*' $ac_mid`
25442 fi
25443
25444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25445 done
25446 else
25447 echo "$as_me: failed program was:" >&5
25448 sed 's/^/| /' conftest.$ac_ext >&5
25449
25450 ac_lo= ac_hi=
25451 fi
25452
25453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25454 fi
25455
25456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25457 # Binary search between lo and hi bounds.
25458 while test "x$ac_lo" != "x$ac_hi"; do
25459 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
25460 cat >conftest.$ac_ext <<_ACEOF
25461 /* confdefs.h. */
25462 _ACEOF
25463 cat confdefs.h >>conftest.$ac_ext
25464 cat >>conftest.$ac_ext <<_ACEOF
25465 /* end confdefs.h. */
25466
25467 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25468 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25469 # error "fake wchar_t"
25470 #endif
25471 #ifdef HAVE_WCHAR_H
25472 # ifdef __CYGWIN__
25473 # include <stddef.h>
25474 # endif
25475 # include <wchar.h>
25476 #endif
25477 #ifdef HAVE_STDLIB_H
25478 # include <stdlib.h>
25479 #endif
25480 #include <stdio.h>
25481
25482
25483
25484 typedef wchar_t ac__type_sizeof_;
25485 int
25486 main ()
25487 {
25488 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25489 test_array [0] = 0
25490
25491 ;
25492 return 0;
25493 }
25494 _ACEOF
25495 rm -f conftest.$ac_objext
25496 if { (ac_try="$ac_compile"
25497 case "(($ac_try" in
25498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25499 *) ac_try_echo=$ac_try;;
25500 esac
25501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25502 (eval "$ac_compile") 2>conftest.er1
25503 ac_status=$?
25504 grep -v '^ *+' conftest.er1 >conftest.err
25505 rm -f conftest.er1
25506 cat conftest.err >&5
25507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25508 (exit $ac_status); } && {
25509 test -z "$ac_c_werror_flag" ||
25510 test ! -s conftest.err
25511 } && test -s conftest.$ac_objext; then
25512 ac_hi=$ac_mid
25513 else
25514 echo "$as_me: failed program was:" >&5
25515 sed 's/^/| /' conftest.$ac_ext >&5
25516
25517 ac_lo=`expr '(' $ac_mid ')' + 1`
25518 fi
25519
25520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25521 done
25522 case $ac_lo in
25523 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
25524 '') if test "$ac_cv_type_wchar_t" = yes; then
25525 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
25526 See \`config.log' for more details." >&5
25527 echo "$as_me: error: cannot compute sizeof (wchar_t)
25528 See \`config.log' for more details." >&2;}
25529 { (exit 77); exit 77; }; }
25530 else
25531 ac_cv_sizeof_wchar_t=0
25532 fi ;;
25533 esac
25534 else
25535 cat >conftest.$ac_ext <<_ACEOF
25536 /* confdefs.h. */
25537 _ACEOF
25538 cat confdefs.h >>conftest.$ac_ext
25539 cat >>conftest.$ac_ext <<_ACEOF
25540 /* end confdefs.h. */
25541
25542 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25543 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25544 # error "fake wchar_t"
25545 #endif
25546 #ifdef HAVE_WCHAR_H
25547 # ifdef __CYGWIN__
25548 # include <stddef.h>
25549 # endif
25550 # include <wchar.h>
25551 #endif
25552 #ifdef HAVE_STDLIB_H
25553 # include <stdlib.h>
25554 #endif
25555 #include <stdio.h>
25556
25557
25558
25559 typedef wchar_t ac__type_sizeof_;
25560 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
25561 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
25562 #include <stdio.h>
25563 #include <stdlib.h>
25564 int
25565 main ()
25566 {
25567
25568 FILE *f = fopen ("conftest.val", "w");
25569 if (! f)
25570 return 1;
25571 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
25572 {
25573 long int i = longval ();
25574 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25575 return 1;
25576 fprintf (f, "%ld\n", i);
25577 }
25578 else
25579 {
25580 unsigned long int i = ulongval ();
25581 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25582 return 1;
25583 fprintf (f, "%lu\n", i);
25584 }
25585 return ferror (f) || fclose (f) != 0;
25586
25587 ;
25588 return 0;
25589 }
25590 _ACEOF
25591 rm -f conftest$ac_exeext
25592 if { (ac_try="$ac_link"
25593 case "(($ac_try" in
25594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25595 *) ac_try_echo=$ac_try;;
25596 esac
25597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25598 (eval "$ac_link") 2>&5
25599 ac_status=$?
25600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25601 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25602 { (case "(($ac_try" in
25603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25604 *) ac_try_echo=$ac_try;;
25605 esac
25606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25607 (eval "$ac_try") 2>&5
25608 ac_status=$?
25609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25610 (exit $ac_status); }; }; then
25611 ac_cv_sizeof_wchar_t=`cat conftest.val`
25612 else
25613 echo "$as_me: program exited with status $ac_status" >&5
25614 echo "$as_me: failed program was:" >&5
25615 sed 's/^/| /' conftest.$ac_ext >&5
25616
25617 ( exit $ac_status )
25618 if test "$ac_cv_type_wchar_t" = yes; then
25619 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
25620 See \`config.log' for more details." >&5
25621 echo "$as_me: error: cannot compute sizeof (wchar_t)
25622 See \`config.log' for more details." >&2;}
25623 { (exit 77); exit 77; }; }
25624 else
25625 ac_cv_sizeof_wchar_t=0
25626 fi
25627 fi
25628 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25629 fi
25630 rm -f conftest.val
25631 fi
25632 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
25633 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
25634
25635
25636
25637 cat >>confdefs.h <<_ACEOF
25638 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
25639 _ACEOF
25640
25641
25642 if test "$ac_cv_sizeof_wchar_t" != 0; then
25643 wxUSE_WCHAR_T=yes
25644 else
25645 wxUSE_WCHAR_T=no
25646 fi
25647
25648 { echo "$as_me:$LINENO: checking for va_copy" >&5
25649 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
25650 if test "${wx_cv_func_va_copy+set}" = set; then
25651 echo $ECHO_N "(cached) $ECHO_C" >&6
25652 else
25653
25654 ac_ext=cpp
25655 ac_cpp='$CXXCPP $CPPFLAGS'
25656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25659
25660 cat >conftest.$ac_ext <<_ACEOF
25661
25662 #include <stdarg.h>
25663 void foo(char *f, ...)
25664 {
25665 va_list ap1, ap2;
25666 va_start(ap1, f);
25667 va_copy(ap2, ap1);
25668 va_end(ap2);
25669 va_end(ap1);
25670 }
25671 int main()
25672 {
25673 foo("hi", 17);
25674 return 0;
25675 }
25676 _ACEOF
25677 rm -f conftest.$ac_objext conftest$ac_exeext
25678 if { (ac_try="$ac_link"
25679 case "(($ac_try" in
25680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25681 *) ac_try_echo=$ac_try;;
25682 esac
25683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25684 (eval "$ac_link") 2>conftest.er1
25685 ac_status=$?
25686 grep -v '^ *+' conftest.er1 >conftest.err
25687 rm -f conftest.er1
25688 cat conftest.err >&5
25689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25690 (exit $ac_status); } && {
25691 test -z "$ac_cxx_werror_flag" ||
25692 test ! -s conftest.err
25693 } && test -s conftest$ac_exeext &&
25694 $as_test_x conftest$ac_exeext; then
25695 wx_cv_func_va_copy=yes
25696 else
25697 echo "$as_me: failed program was:" >&5
25698 sed 's/^/| /' conftest.$ac_ext >&5
25699
25700 wx_cv_func_va_copy=no
25701
25702 fi
25703
25704 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25705 conftest$ac_exeext conftest.$ac_ext
25706 ac_ext=c
25707 ac_cpp='$CPP $CPPFLAGS'
25708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25711
25712
25713
25714 fi
25715 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
25716 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
25717
25718 if test $wx_cv_func_va_copy = "yes"; then
25719 cat >>confdefs.h <<\_ACEOF
25720 #define HAVE_VA_COPY 1
25721 _ACEOF
25722
25723 else
25724 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
25725 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
25726 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
25727 echo $ECHO_N "(cached) $ECHO_C" >&6
25728 else
25729
25730 if test "$cross_compiling" = yes; then
25731 wx_cv_type_va_list_lvalue=yes
25732
25733 else
25734 cat >conftest.$ac_ext <<_ACEOF
25735
25736 #include <stdarg.h>
25737 int foo(char *f, ...)
25738 {
25739 va_list ap1, ap2;
25740 va_start(ap1, f);
25741 ap2 = ap1;
25742 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
25743 return 1;
25744 va_end(ap2);
25745 va_end(ap1);
25746 return 0;
25747 }
25748 int main()
25749 {
25750 return foo("hi", 17);
25751 }
25752 _ACEOF
25753 rm -f conftest$ac_exeext
25754 if { (ac_try="$ac_link"
25755 case "(($ac_try" in
25756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25757 *) ac_try_echo=$ac_try;;
25758 esac
25759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25760 (eval "$ac_link") 2>&5
25761 ac_status=$?
25762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25763 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25764 { (case "(($ac_try" in
25765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25766 *) ac_try_echo=$ac_try;;
25767 esac
25768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25769 (eval "$ac_try") 2>&5
25770 ac_status=$?
25771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25772 (exit $ac_status); }; }; then
25773 wx_cv_type_va_list_lvalue=yes
25774 else
25775 echo "$as_me: program exited with status $ac_status" >&5
25776 echo "$as_me: failed program was:" >&5
25777 sed 's/^/| /' conftest.$ac_ext >&5
25778
25779 ( exit $ac_status )
25780 wx_cv_type_va_list_lvalue=no
25781 fi
25782 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25783 fi
25784
25785
25786
25787
25788 fi
25789 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
25790 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
25791
25792 if test $wx_cv_type_va_list_lvalue != "yes"; then
25793 cat >>confdefs.h <<\_ACEOF
25794 #define VA_LIST_IS_ARRAY 1
25795 _ACEOF
25796
25797 fi
25798 fi
25799
25800 if test "$wxUSE_VARARG_MACROS" = "yes"; then
25801
25802 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
25803 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
25804 if test "${wx_cv_have_variadic_macros+set}" = set; then
25805 echo $ECHO_N "(cached) $ECHO_C" >&6
25806 else
25807
25808 ac_ext=cpp
25809 ac_cpp='$CXXCPP $CPPFLAGS'
25810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25813
25814 cat >conftest.$ac_ext <<_ACEOF
25815 /* confdefs.h. */
25816 _ACEOF
25817 cat confdefs.h >>conftest.$ac_ext
25818 cat >>conftest.$ac_ext <<_ACEOF
25819 /* end confdefs.h. */
25820
25821 #include <stdio.h>
25822 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
25823
25824 int
25825 main ()
25826 {
25827
25828 test("%s %d %p", "test", 1, 0);
25829
25830
25831 ;
25832 return 0;
25833 }
25834 _ACEOF
25835 rm -f conftest.$ac_objext
25836 if { (ac_try="$ac_compile"
25837 case "(($ac_try" in
25838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25839 *) ac_try_echo=$ac_try;;
25840 esac
25841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25842 (eval "$ac_compile") 2>conftest.er1
25843 ac_status=$?
25844 grep -v '^ *+' conftest.er1 >conftest.err
25845 rm -f conftest.er1
25846 cat conftest.err >&5
25847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25848 (exit $ac_status); } && {
25849 test -z "$ac_cxx_werror_flag" ||
25850 test ! -s conftest.err
25851 } && test -s conftest.$ac_objext; then
25852 wx_cv_have_variadic_macros=yes
25853 else
25854 echo "$as_me: failed program was:" >&5
25855 sed 's/^/| /' conftest.$ac_ext >&5
25856
25857 wx_cv_have_variadic_macros=no
25858
25859 fi
25860
25861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25862 ac_ext=c
25863 ac_cpp='$CPP $CPPFLAGS'
25864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25867
25868
25869
25870 fi
25871 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
25872 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
25873
25874 if test $wx_cv_have_variadic_macros = "yes"; then
25875 cat >>confdefs.h <<\_ACEOF
25876 #define HAVE_VARIADIC_MACROS 1
25877 _ACEOF
25878
25879 fi
25880
25881 fi
25882 # Check whether --enable-largefile was given.
25883 if test "${enable_largefile+set}" = set; then
25884 enableval=$enable_largefile;
25885 fi
25886
25887 if test "$enable_largefile" != no; then
25888 wx_largefile=no
25889
25890 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
25891 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
25892 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
25893 echo $ECHO_N "(cached) $ECHO_C" >&6
25894 else
25895
25896 cat >conftest.$ac_ext <<_ACEOF
25897 /* confdefs.h. */
25898 _ACEOF
25899 cat confdefs.h >>conftest.$ac_ext
25900 cat >>conftest.$ac_ext <<_ACEOF
25901 /* end confdefs.h. */
25902 #define _FILE_OFFSET_BITS 64
25903 #include <sys/types.h>
25904 int
25905 main ()
25906 {
25907 typedef struct {
25908 unsigned int field: sizeof(off_t) == 8;
25909 } wxlf;
25910
25911 ;
25912 return 0;
25913 }
25914 _ACEOF
25915 rm -f conftest.$ac_objext
25916 if { (ac_try="$ac_compile"
25917 case "(($ac_try" in
25918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25919 *) ac_try_echo=$ac_try;;
25920 esac
25921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25922 (eval "$ac_compile") 2>conftest.er1
25923 ac_status=$?
25924 grep -v '^ *+' conftest.er1 >conftest.err
25925 rm -f conftest.er1
25926 cat conftest.err >&5
25927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25928 (exit $ac_status); } && {
25929 test -z "$ac_c_werror_flag" ||
25930 test ! -s conftest.err
25931 } && test -s conftest.$ac_objext; then
25932 ac_cv_sys_file_offset_bits=64
25933 else
25934 echo "$as_me: failed program was:" >&5
25935 sed 's/^/| /' conftest.$ac_ext >&5
25936
25937 ac_cv_sys_file_offset_bits=no
25938 fi
25939
25940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25941
25942
25943 fi
25944 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
25945 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
25946
25947 if test "$ac_cv_sys_file_offset_bits" != no; then
25948 wx_largefile=yes
25949 cat >>confdefs.h <<_ACEOF
25950 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
25951 _ACEOF
25952
25953 fi
25954
25955 if test "x$wx_largefile" != "xyes"; then
25956
25957 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
25958 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
25959 if test "${ac_cv_sys_large_files+set}" = set; then
25960 echo $ECHO_N "(cached) $ECHO_C" >&6
25961 else
25962
25963 cat >conftest.$ac_ext <<_ACEOF
25964 /* confdefs.h. */
25965 _ACEOF
25966 cat confdefs.h >>conftest.$ac_ext
25967 cat >>conftest.$ac_ext <<_ACEOF
25968 /* end confdefs.h. */
25969 #define _LARGE_FILES 1
25970 #include <sys/types.h>
25971 int
25972 main ()
25973 {
25974 typedef struct {
25975 unsigned int field: sizeof(off_t) == 8;
25976 } wxlf;
25977
25978 ;
25979 return 0;
25980 }
25981 _ACEOF
25982 rm -f conftest.$ac_objext
25983 if { (ac_try="$ac_compile"
25984 case "(($ac_try" in
25985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25986 *) ac_try_echo=$ac_try;;
25987 esac
25988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25989 (eval "$ac_compile") 2>conftest.er1
25990 ac_status=$?
25991 grep -v '^ *+' conftest.er1 >conftest.err
25992 rm -f conftest.er1
25993 cat conftest.err >&5
25994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25995 (exit $ac_status); } && {
25996 test -z "$ac_c_werror_flag" ||
25997 test ! -s conftest.err
25998 } && test -s conftest.$ac_objext; then
25999 ac_cv_sys_large_files=1
26000 else
26001 echo "$as_me: failed program was:" >&5
26002 sed 's/^/| /' conftest.$ac_ext >&5
26003
26004 ac_cv_sys_large_files=no
26005 fi
26006
26007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26008
26009
26010 fi
26011 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
26012 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
26013
26014 if test "$ac_cv_sys_large_files" != no; then
26015 wx_largefile=yes
26016 cat >>confdefs.h <<_ACEOF
26017 #define _LARGE_FILES $ac_cv_sys_large_files
26018 _ACEOF
26019
26020 fi
26021
26022 fi
26023
26024 { echo "$as_me:$LINENO: checking if large file support is available" >&5
26025 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
26026 if test "x$wx_largefile" = "xyes"; then
26027 cat >>confdefs.h <<\_ACEOF
26028 #define HAVE_LARGEFILE_SUPPORT 1
26029 _ACEOF
26030
26031 fi
26032 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
26033 echo "${ECHO_T}$wx_largefile" >&6; }
26034 fi
26035
26036
26037 if test "x$wx_largefile" = "xyes"; then
26038 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
26039 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
26040
26041 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
26042 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
26043 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
26044 if test "${wx_cv_STDC_EXT_required+set}" = set; then
26045 echo $ECHO_N "(cached) $ECHO_C" >&6
26046 else
26047
26048 ac_ext=cpp
26049 ac_cpp='$CXXCPP $CPPFLAGS'
26050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26053
26054 cat >conftest.$ac_ext <<_ACEOF
26055 /* confdefs.h. */
26056 _ACEOF
26057 cat confdefs.h >>conftest.$ac_ext
26058 cat >>conftest.$ac_ext <<_ACEOF
26059 /* end confdefs.h. */
26060
26061 int
26062 main ()
26063 {
26064
26065 #ifndef __STDC_EXT__
26066 choke me
26067 #endif
26068
26069 ;
26070 return 0;
26071 }
26072 _ACEOF
26073 rm -f conftest.$ac_objext
26074 if { (ac_try="$ac_compile"
26075 case "(($ac_try" in
26076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26077 *) ac_try_echo=$ac_try;;
26078 esac
26079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26080 (eval "$ac_compile") 2>conftest.er1
26081 ac_status=$?
26082 grep -v '^ *+' conftest.er1 >conftest.err
26083 rm -f conftest.er1
26084 cat conftest.err >&5
26085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26086 (exit $ac_status); } && {
26087 test -z "$ac_cxx_werror_flag" ||
26088 test ! -s conftest.err
26089 } && test -s conftest.$ac_objext; then
26090 wx_cv_STDC_EXT_required=no
26091 else
26092 echo "$as_me: failed program was:" >&5
26093 sed 's/^/| /' conftest.$ac_ext >&5
26094
26095 wx_cv_STDC_EXT_required=yes
26096
26097 fi
26098
26099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26100 ac_ext=c
26101 ac_cpp='$CPP $CPPFLAGS'
26102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26105
26106
26107
26108 fi
26109 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
26110 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
26111 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
26112 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
26113 fi
26114 fi
26115 else
26116 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
26117 fi
26118 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
26119 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
26120 if test "${ac_cv_sys_largefile_source+set}" = set; then
26121 echo $ECHO_N "(cached) $ECHO_C" >&6
26122 else
26123 while :; do
26124 cat >conftest.$ac_ext <<_ACEOF
26125 /* confdefs.h. */
26126 _ACEOF
26127 cat confdefs.h >>conftest.$ac_ext
26128 cat >>conftest.$ac_ext <<_ACEOF
26129 /* end confdefs.h. */
26130 #include <sys/types.h> /* for off_t */
26131 #include <stdio.h>
26132 int
26133 main ()
26134 {
26135 int (*fp) (FILE *, off_t, int) = fseeko;
26136 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
26137 ;
26138 return 0;
26139 }
26140 _ACEOF
26141 rm -f conftest.$ac_objext conftest$ac_exeext
26142 if { (ac_try="$ac_link"
26143 case "(($ac_try" in
26144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26145 *) ac_try_echo=$ac_try;;
26146 esac
26147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26148 (eval "$ac_link") 2>conftest.er1
26149 ac_status=$?
26150 grep -v '^ *+' conftest.er1 >conftest.err
26151 rm -f conftest.er1
26152 cat conftest.err >&5
26153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26154 (exit $ac_status); } && {
26155 test -z "$ac_c_werror_flag" ||
26156 test ! -s conftest.err
26157 } && test -s conftest$ac_exeext &&
26158 $as_test_x conftest$ac_exeext; then
26159 ac_cv_sys_largefile_source=no; break
26160 else
26161 echo "$as_me: failed program was:" >&5
26162 sed 's/^/| /' conftest.$ac_ext >&5
26163
26164
26165 fi
26166
26167 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26168 conftest$ac_exeext conftest.$ac_ext
26169 cat >conftest.$ac_ext <<_ACEOF
26170 /* confdefs.h. */
26171 _ACEOF
26172 cat confdefs.h >>conftest.$ac_ext
26173 cat >>conftest.$ac_ext <<_ACEOF
26174 /* end confdefs.h. */
26175 #define _LARGEFILE_SOURCE 1
26176 #include <sys/types.h> /* for off_t */
26177 #include <stdio.h>
26178 int
26179 main ()
26180 {
26181 int (*fp) (FILE *, off_t, int) = fseeko;
26182 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
26183 ;
26184 return 0;
26185 }
26186 _ACEOF
26187 rm -f conftest.$ac_objext conftest$ac_exeext
26188 if { (ac_try="$ac_link"
26189 case "(($ac_try" in
26190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26191 *) ac_try_echo=$ac_try;;
26192 esac
26193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26194 (eval "$ac_link") 2>conftest.er1
26195 ac_status=$?
26196 grep -v '^ *+' conftest.er1 >conftest.err
26197 rm -f conftest.er1
26198 cat conftest.err >&5
26199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26200 (exit $ac_status); } && {
26201 test -z "$ac_c_werror_flag" ||
26202 test ! -s conftest.err
26203 } && test -s conftest$ac_exeext &&
26204 $as_test_x conftest$ac_exeext; then
26205 ac_cv_sys_largefile_source=1; break
26206 else
26207 echo "$as_me: failed program was:" >&5
26208 sed 's/^/| /' conftest.$ac_ext >&5
26209
26210
26211 fi
26212
26213 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26214 conftest$ac_exeext conftest.$ac_ext
26215 ac_cv_sys_largefile_source=unknown
26216 break
26217 done
26218 fi
26219 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
26220 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
26221 case $ac_cv_sys_largefile_source in #(
26222 no | unknown) ;;
26223 *)
26224 cat >>confdefs.h <<_ACEOF
26225 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
26226 _ACEOF
26227 ;;
26228 esac
26229 rm -f conftest*
26230
26231 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
26232 # in glibc 2.1.3, but that breaks too many other things.
26233 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
26234 if test $ac_cv_sys_largefile_source != unknown; then
26235
26236 cat >>confdefs.h <<\_ACEOF
26237 #define HAVE_FSEEKO 1
26238 _ACEOF
26239
26240 fi
26241
26242 if test "$ac_cv_sys_largefile_source" != no; then
26243 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
26244 fi
26245 fi
26246
26247 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
26248 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
26249 if test "${ac_cv_c_bigendian+set}" = set; then
26250 echo $ECHO_N "(cached) $ECHO_C" >&6
26251 else
26252 ac_cv_c_bigendian=unknown
26253 # See if sys/param.h defines the BYTE_ORDER macro.
26254 cat >conftest.$ac_ext <<_ACEOF
26255 /* confdefs.h. */
26256 _ACEOF
26257 cat confdefs.h >>conftest.$ac_ext
26258 cat >>conftest.$ac_ext <<_ACEOF
26259 /* end confdefs.h. */
26260 #include <sys/types.h>
26261 #include <sys/param.h>
26262 int
26263 main ()
26264 {
26265
26266 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
26267 bogus endian macros
26268 #endif
26269 ;
26270 return 0;
26271 }
26272 _ACEOF
26273 rm -f conftest.$ac_objext
26274 if { (ac_try="$ac_compile"
26275 case "(($ac_try" in
26276 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26277 *) ac_try_echo=$ac_try;;
26278 esac
26279 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26280 (eval "$ac_compile") 2>conftest.er1
26281 ac_status=$?
26282 grep -v '^ *+' conftest.er1 >conftest.err
26283 rm -f conftest.er1
26284 cat conftest.err >&5
26285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26286 (exit $ac_status); } && {
26287 test -z "$ac_c_werror_flag" ||
26288 test ! -s conftest.err
26289 } && test -s conftest.$ac_objext; then
26290 # It does; now see whether it defined to BIG_ENDIAN or not.
26291 cat >conftest.$ac_ext <<_ACEOF
26292 /* confdefs.h. */
26293 _ACEOF
26294 cat confdefs.h >>conftest.$ac_ext
26295 cat >>conftest.$ac_ext <<_ACEOF
26296 /* end confdefs.h. */
26297 #include <sys/types.h>
26298 #include <sys/param.h>
26299 int
26300 main ()
26301 {
26302
26303 #if BYTE_ORDER != BIG_ENDIAN
26304 not big endian
26305 #endif
26306 ;
26307 return 0;
26308 }
26309 _ACEOF
26310 rm -f conftest.$ac_objext
26311 if { (ac_try="$ac_compile"
26312 case "(($ac_try" in
26313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26314 *) ac_try_echo=$ac_try;;
26315 esac
26316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26317 (eval "$ac_compile") 2>conftest.er1
26318 ac_status=$?
26319 grep -v '^ *+' conftest.er1 >conftest.err
26320 rm -f conftest.er1
26321 cat conftest.err >&5
26322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26323 (exit $ac_status); } && {
26324 test -z "$ac_c_werror_flag" ||
26325 test ! -s conftest.err
26326 } && test -s conftest.$ac_objext; then
26327 ac_cv_c_bigendian=yes
26328 else
26329 echo "$as_me: failed program was:" >&5
26330 sed 's/^/| /' conftest.$ac_ext >&5
26331
26332 ac_cv_c_bigendian=no
26333 fi
26334
26335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26336 else
26337 echo "$as_me: failed program was:" >&5
26338 sed 's/^/| /' conftest.$ac_ext >&5
26339
26340
26341 fi
26342
26343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26344 if test $ac_cv_c_bigendian = unknown; then
26345 if test "$cross_compiling" = yes; then
26346 ac_cv_c_bigendian=unknown
26347 else
26348 cat >conftest.$ac_ext <<_ACEOF
26349 /* confdefs.h. */
26350 _ACEOF
26351 cat confdefs.h >>conftest.$ac_ext
26352 cat >>conftest.$ac_ext <<_ACEOF
26353 /* end confdefs.h. */
26354 main () {
26355 /* Are we little or big endian? From Harbison&Steele. */
26356 union
26357 {
26358 long l;
26359 char c[sizeof (long)];
26360 } u;
26361 u.l = 1;
26362 exit (u.c[sizeof (long) - 1] == 1);
26363 }
26364 _ACEOF
26365 rm -f conftest$ac_exeext
26366 if { (ac_try="$ac_link"
26367 case "(($ac_try" in
26368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26369 *) ac_try_echo=$ac_try;;
26370 esac
26371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26372 (eval "$ac_link") 2>&5
26373 ac_status=$?
26374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26375 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26376 { (case "(($ac_try" in
26377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26378 *) ac_try_echo=$ac_try;;
26379 esac
26380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26381 (eval "$ac_try") 2>&5
26382 ac_status=$?
26383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26384 (exit $ac_status); }; }; then
26385 ac_cv_c_bigendian=no
26386 else
26387 echo "$as_me: program exited with status $ac_status" >&5
26388 echo "$as_me: failed program was:" >&5
26389 sed 's/^/| /' conftest.$ac_ext >&5
26390
26391 ( exit $ac_status )
26392 ac_cv_c_bigendian=yes
26393 fi
26394 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26395 fi
26396
26397
26398 fi
26399 fi
26400 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
26401 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
26402 if test $ac_cv_c_bigendian = unknown; then
26403 { echo "$as_me:$LINENO: WARNING: Assuming little-endian target machine - this may be overriden by adding the line \"ac_cv_c_bigendian=${ac_cv_c_bigendian='yes'}\" to config.cache file" >&5
26404 echo "$as_me: WARNING: Assuming little-endian target machine - this may be overriden by adding the line \"ac_cv_c_bigendian=${ac_cv_c_bigendian='yes'}\" to config.cache file" >&2;}
26405 fi
26406 if test $ac_cv_c_bigendian = yes; then
26407 cat >>confdefs.h <<\_ACEOF
26408 #define WORDS_BIGENDIAN 1
26409 _ACEOF
26410
26411 fi
26412
26413
26414
26415
26416 ac_ext=cpp
26417 ac_cpp='$CXXCPP $CPPFLAGS'
26418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26421
26422
26423
26424 for ac_header in iostream
26425 do
26426 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26427 { echo "$as_me:$LINENO: checking for $ac_header" >&5
26428 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
26429 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26430 echo $ECHO_N "(cached) $ECHO_C" >&6
26431 else
26432 cat >conftest.$ac_ext <<_ACEOF
26433 /* confdefs.h. */
26434 _ACEOF
26435 cat confdefs.h >>conftest.$ac_ext
26436 cat >>conftest.$ac_ext <<_ACEOF
26437 /* end confdefs.h. */
26438
26439
26440 #include <$ac_header>
26441 _ACEOF
26442 rm -f conftest.$ac_objext
26443 if { (ac_try="$ac_compile"
26444 case "(($ac_try" in
26445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26446 *) ac_try_echo=$ac_try;;
26447 esac
26448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26449 (eval "$ac_compile") 2>conftest.er1
26450 ac_status=$?
26451 grep -v '^ *+' conftest.er1 >conftest.err
26452 rm -f conftest.er1
26453 cat conftest.err >&5
26454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26455 (exit $ac_status); } && {
26456 test -z "$ac_cxx_werror_flag" ||
26457 test ! -s conftest.err
26458 } && test -s conftest.$ac_objext; then
26459 eval "$as_ac_Header=yes"
26460 else
26461 echo "$as_me: failed program was:" >&5
26462 sed 's/^/| /' conftest.$ac_ext >&5
26463
26464 eval "$as_ac_Header=no"
26465 fi
26466
26467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26468 fi
26469 ac_res=`eval echo '${'$as_ac_Header'}'`
26470 { echo "$as_me:$LINENO: result: $ac_res" >&5
26471 echo "${ECHO_T}$ac_res" >&6; }
26472 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26473 cat >>confdefs.h <<_ACEOF
26474 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26475 _ACEOF
26476
26477 fi
26478
26479 done
26480
26481
26482 if test "$ac_cv_header_iostream" = "yes" ; then
26483 :
26484 else
26485 cat >>confdefs.h <<\_ACEOF
26486 #define wxUSE_IOSTREAMH 1
26487 _ACEOF
26488
26489 fi
26490
26491 ac_ext=c
26492 ac_cpp='$CPP $CPPFLAGS'
26493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26496
26497
26498
26499
26500 { echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
26501 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6; }
26502 if test "${wx_cv_cpp_bool+set}" = set; then
26503 echo $ECHO_N "(cached) $ECHO_C" >&6
26504 else
26505
26506
26507 ac_ext=cpp
26508 ac_cpp='$CXXCPP $CPPFLAGS'
26509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26512
26513
26514 cat >conftest.$ac_ext <<_ACEOF
26515 /* confdefs.h. */
26516 _ACEOF
26517 cat confdefs.h >>conftest.$ac_ext
26518 cat >>conftest.$ac_ext <<_ACEOF
26519 /* end confdefs.h. */
26520
26521
26522 int
26523 main ()
26524 {
26525
26526 bool b = true;
26527
26528 return 0;
26529
26530 ;
26531 return 0;
26532 }
26533 _ACEOF
26534 rm -f conftest.$ac_objext
26535 if { (ac_try="$ac_compile"
26536 case "(($ac_try" in
26537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26538 *) ac_try_echo=$ac_try;;
26539 esac
26540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26541 (eval "$ac_compile") 2>conftest.er1
26542 ac_status=$?
26543 grep -v '^ *+' conftest.er1 >conftest.err
26544 rm -f conftest.er1
26545 cat conftest.err >&5
26546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26547 (exit $ac_status); } && {
26548 test -z "$ac_cxx_werror_flag" ||
26549 test ! -s conftest.err
26550 } && test -s conftest.$ac_objext; then
26551
26552 wx_cv_cpp_bool=yes
26553
26554 else
26555 echo "$as_me: failed program was:" >&5
26556 sed 's/^/| /' conftest.$ac_ext >&5
26557
26558
26559 wx_cv_cpp_bool=no
26560
26561
26562 fi
26563
26564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26565
26566 ac_ext=c
26567 ac_cpp='$CPP $CPPFLAGS'
26568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26571
26572
26573 fi
26574 { echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
26575 echo "${ECHO_T}$wx_cv_cpp_bool" >&6; }
26576
26577 if test "$wx_cv_cpp_bool" = "yes"; then
26578 cat >>confdefs.h <<\_ACEOF
26579 #define HAVE_BOOL 1
26580 _ACEOF
26581
26582 fi
26583
26584
26585
26586 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
26587 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
26588 if test "${wx_cv_explicit+set}" = set; then
26589 echo $ECHO_N "(cached) $ECHO_C" >&6
26590 else
26591
26592
26593 ac_ext=cpp
26594 ac_cpp='$CXXCPP $CPPFLAGS'
26595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26598
26599
26600 cat >conftest.$ac_ext <<_ACEOF
26601 /* confdefs.h. */
26602 _ACEOF
26603 cat confdefs.h >>conftest.$ac_ext
26604 cat >>conftest.$ac_ext <<_ACEOF
26605 /* end confdefs.h. */
26606
26607 class Foo { public: explicit Foo(int) {} };
26608
26609 int
26610 main ()
26611 {
26612
26613 return 0;
26614
26615 ;
26616 return 0;
26617 }
26618 _ACEOF
26619 rm -f conftest.$ac_objext
26620 if { (ac_try="$ac_compile"
26621 case "(($ac_try" in
26622 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26623 *) ac_try_echo=$ac_try;;
26624 esac
26625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26626 (eval "$ac_compile") 2>conftest.er1
26627 ac_status=$?
26628 grep -v '^ *+' conftest.er1 >conftest.err
26629 rm -f conftest.er1
26630 cat conftest.err >&5
26631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26632 (exit $ac_status); } && {
26633 test -z "$ac_cxx_werror_flag" ||
26634 test ! -s conftest.err
26635 } && test -s conftest.$ac_objext; then
26636
26637 cat >conftest.$ac_ext <<_ACEOF
26638 /* confdefs.h. */
26639 _ACEOF
26640 cat confdefs.h >>conftest.$ac_ext
26641 cat >>conftest.$ac_ext <<_ACEOF
26642 /* end confdefs.h. */
26643
26644 class Foo { public: explicit Foo(int) {} };
26645 static void TakeFoo(const Foo& foo) { }
26646
26647 int
26648 main ()
26649 {
26650
26651 TakeFoo(17);
26652 return 0;
26653
26654 ;
26655 return 0;
26656 }
26657 _ACEOF
26658 rm -f conftest.$ac_objext
26659 if { (ac_try="$ac_compile"
26660 case "(($ac_try" in
26661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26662 *) ac_try_echo=$ac_try;;
26663 esac
26664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26665 (eval "$ac_compile") 2>conftest.er1
26666 ac_status=$?
26667 grep -v '^ *+' conftest.er1 >conftest.err
26668 rm -f conftest.er1
26669 cat conftest.err >&5
26670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26671 (exit $ac_status); } && {
26672 test -z "$ac_cxx_werror_flag" ||
26673 test ! -s conftest.err
26674 } && test -s conftest.$ac_objext; then
26675 wx_cv_explicit=no
26676 else
26677 echo "$as_me: failed program was:" >&5
26678 sed 's/^/| /' conftest.$ac_ext >&5
26679
26680 wx_cv_explicit=yes
26681
26682 fi
26683
26684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26685
26686 else
26687 echo "$as_me: failed program was:" >&5
26688 sed 's/^/| /' conftest.$ac_ext >&5
26689
26690 wx_cv_explicit=no
26691
26692 fi
26693
26694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26695
26696 ac_ext=c
26697 ac_cpp='$CPP $CPPFLAGS'
26698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26701
26702
26703 fi
26704 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
26705 echo "${ECHO_T}$wx_cv_explicit" >&6; }
26706
26707 if test "$wx_cv_explicit" = "yes"; then
26708 cat >>confdefs.h <<\_ACEOF
26709 #define HAVE_EXPLICIT 1
26710 _ACEOF
26711
26712 fi
26713
26714
26715 { echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
26716 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6; }
26717 if test "${ac_cv_cxx_const_cast+set}" = set; then
26718 echo $ECHO_N "(cached) $ECHO_C" >&6
26719 else
26720
26721 ac_ext=cpp
26722 ac_cpp='$CXXCPP $CPPFLAGS'
26723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26726
26727 cat >conftest.$ac_ext <<_ACEOF
26728 /* confdefs.h. */
26729 _ACEOF
26730 cat confdefs.h >>conftest.$ac_ext
26731 cat >>conftest.$ac_ext <<_ACEOF
26732 /* end confdefs.h. */
26733
26734 int
26735 main ()
26736 {
26737 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
26738 ;
26739 return 0;
26740 }
26741 _ACEOF
26742 rm -f conftest.$ac_objext
26743 if { (ac_try="$ac_compile"
26744 case "(($ac_try" in
26745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26746 *) ac_try_echo=$ac_try;;
26747 esac
26748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26749 (eval "$ac_compile") 2>conftest.er1
26750 ac_status=$?
26751 grep -v '^ *+' conftest.er1 >conftest.err
26752 rm -f conftest.er1
26753 cat conftest.err >&5
26754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26755 (exit $ac_status); } && {
26756 test -z "$ac_cxx_werror_flag" ||
26757 test ! -s conftest.err
26758 } && test -s conftest.$ac_objext; then
26759 ac_cv_cxx_const_cast=yes
26760 else
26761 echo "$as_me: failed program was:" >&5
26762 sed 's/^/| /' conftest.$ac_ext >&5
26763
26764 ac_cv_cxx_const_cast=no
26765 fi
26766
26767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26768 ac_ext=c
26769 ac_cpp='$CPP $CPPFLAGS'
26770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26773
26774
26775 fi
26776 { echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
26777 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6; }
26778 if test "$ac_cv_cxx_const_cast" = yes; then
26779
26780 cat >>confdefs.h <<\_ACEOF
26781 #define HAVE_CONST_CAST
26782 _ACEOF
26783
26784 fi
26785
26786 { echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
26787 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6; }
26788 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
26789 echo $ECHO_N "(cached) $ECHO_C" >&6
26790 else
26791
26792 ac_ext=cpp
26793 ac_cpp='$CXXCPP $CPPFLAGS'
26794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26797
26798 cat >conftest.$ac_ext <<_ACEOF
26799 /* confdefs.h. */
26800 _ACEOF
26801 cat confdefs.h >>conftest.$ac_ext
26802 cat >>conftest.$ac_ext <<_ACEOF
26803 /* end confdefs.h. */
26804 #include <typeinfo>
26805 class Base { public : Base () {} virtual void f () = 0;};
26806 class Derived : public Base { public : Derived () {} virtual void f () {} };
26807 class Unrelated { public : Unrelated () {} };
26808 int g (Unrelated&) { return 0; }
26809 int
26810 main ()
26811 {
26812
26813 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
26814 ;
26815 return 0;
26816 }
26817 _ACEOF
26818 rm -f conftest.$ac_objext
26819 if { (ac_try="$ac_compile"
26820 case "(($ac_try" in
26821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26822 *) ac_try_echo=$ac_try;;
26823 esac
26824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26825 (eval "$ac_compile") 2>conftest.er1
26826 ac_status=$?
26827 grep -v '^ *+' conftest.er1 >conftest.err
26828 rm -f conftest.er1
26829 cat conftest.err >&5
26830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26831 (exit $ac_status); } && {
26832 test -z "$ac_cxx_werror_flag" ||
26833 test ! -s conftest.err
26834 } && test -s conftest.$ac_objext; then
26835 ac_cv_cxx_reinterpret_cast=yes
26836 else
26837 echo "$as_me: failed program was:" >&5
26838 sed 's/^/| /' conftest.$ac_ext >&5
26839
26840 ac_cv_cxx_reinterpret_cast=no
26841 fi
26842
26843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26844 ac_ext=c
26845 ac_cpp='$CPP $CPPFLAGS'
26846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26849
26850
26851 fi
26852 { echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
26853 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6; }
26854 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
26855
26856 cat >>confdefs.h <<\_ACEOF
26857 #define HAVE_REINTERPRET_CAST
26858 _ACEOF
26859
26860 fi
26861
26862 { echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
26863 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6; }
26864 if test "${ac_cv_cxx_static_cast+set}" = set; then
26865 echo $ECHO_N "(cached) $ECHO_C" >&6
26866 else
26867
26868 ac_ext=cpp
26869 ac_cpp='$CXXCPP $CPPFLAGS'
26870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26873
26874 cat >conftest.$ac_ext <<_ACEOF
26875 /* confdefs.h. */
26876 _ACEOF
26877 cat confdefs.h >>conftest.$ac_ext
26878 cat >>conftest.$ac_ext <<_ACEOF
26879 /* end confdefs.h. */
26880 #include <typeinfo>
26881 class Base { public : Base () {} virtual void f () = 0; };
26882 class Derived : public Base { public : Derived () {} virtual void f () {} };
26883 int g (Derived&) { return 0; }
26884 int
26885 main ()
26886 {
26887
26888 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
26889 ;
26890 return 0;
26891 }
26892 _ACEOF
26893 rm -f conftest.$ac_objext
26894 if { (ac_try="$ac_compile"
26895 case "(($ac_try" in
26896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26897 *) ac_try_echo=$ac_try;;
26898 esac
26899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26900 (eval "$ac_compile") 2>conftest.er1
26901 ac_status=$?
26902 grep -v '^ *+' conftest.er1 >conftest.err
26903 rm -f conftest.er1
26904 cat conftest.err >&5
26905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26906 (exit $ac_status); } && {
26907 test -z "$ac_cxx_werror_flag" ||
26908 test ! -s conftest.err
26909 } && test -s conftest.$ac_objext; then
26910 ac_cv_cxx_static_cast=yes
26911 else
26912 echo "$as_me: failed program was:" >&5
26913 sed 's/^/| /' conftest.$ac_ext >&5
26914
26915 ac_cv_cxx_static_cast=no
26916 fi
26917
26918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26919 ac_ext=c
26920 ac_cpp='$CPP $CPPFLAGS'
26921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26924
26925
26926 fi
26927 { echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
26928 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6; }
26929 if test "$ac_cv_cxx_static_cast" = yes; then
26930
26931 cat >>confdefs.h <<\_ACEOF
26932 #define HAVE_STATIC_CAST
26933 _ACEOF
26934
26935 fi
26936
26937
26938 if test "x$SUNCXX" = xyes; then
26939 CXXFLAGS="-features=tmplife $CXXFLAGS"
26940 fi
26941
26942 if test "x$SUNCC" = xyes; then
26943 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
26944 fi
26945
26946 if test "x$SGICC" = "xyes"; then
26947 CFLAGS="-woff 3970 $CFLAGS"
26948 fi
26949 if test "x$SGICXX" = "xyes"; then
26950 CXXFLAGS="-woff 3970 $CXXFLAGS"
26951 fi
26952
26953 if test "x$HPCC" = "xyes"; then
26954 CFLAGS="+W 2011,2450 $CFLAGS"
26955 fi
26956 if test "x$HPCXX" = "xyes"; then
26957 CXXFLAGS="+W 2340 $CXXFLAGS"
26958 fi
26959
26960 if test "x$COMPAQCXX" = "xyes"; then
26961 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
26962 fi
26963
26964 ac_ext=cpp
26965 ac_cpp='$CXXCPP $CPPFLAGS'
26966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26969
26970
26971 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
26972 if test "$wxUSE_UNICODE" = "yes"; then
26973 std_string="std::wstring"
26974 char_type="wchar_t"
26975 else
26976 std_string="std::string"
26977 char_type="char"
26978 fi
26979
26980 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
26981 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
26982 if test "${wx_cv_class_stdstring+set}" = set; then
26983 echo $ECHO_N "(cached) $ECHO_C" >&6
26984 else
26985
26986 cat >conftest.$ac_ext <<_ACEOF
26987 /* confdefs.h. */
26988 _ACEOF
26989 cat confdefs.h >>conftest.$ac_ext
26990 cat >>conftest.$ac_ext <<_ACEOF
26991 /* end confdefs.h. */
26992 #include <string>
26993 int
26994 main ()
26995 {
26996 $std_string foo;
26997 ;
26998 return 0;
26999 }
27000 _ACEOF
27001 rm -f conftest.$ac_objext
27002 if { (ac_try="$ac_compile"
27003 case "(($ac_try" in
27004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27005 *) ac_try_echo=$ac_try;;
27006 esac
27007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27008 (eval "$ac_compile") 2>conftest.er1
27009 ac_status=$?
27010 grep -v '^ *+' conftest.er1 >conftest.err
27011 rm -f conftest.er1
27012 cat conftest.err >&5
27013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27014 (exit $ac_status); } && {
27015 test -z "$ac_cxx_werror_flag" ||
27016 test ! -s conftest.err
27017 } && test -s conftest.$ac_objext; then
27018 wx_cv_class_stdstring=yes
27019 else
27020 echo "$as_me: failed program was:" >&5
27021 sed 's/^/| /' conftest.$ac_ext >&5
27022
27023 wx_cv_class_stdstring=no
27024
27025 fi
27026
27027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27028
27029
27030 fi
27031 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
27032 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
27033
27034 if test "$wx_cv_class_stdstring" = yes; then
27035 if test "$wxUSE_UNICODE" = "yes"; then
27036 cat >>confdefs.h <<\_ACEOF
27037 #define HAVE_STD_WSTRING 1
27038 _ACEOF
27039
27040 fi
27041 else
27042 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
27043 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
27044 if test "${wx_cv_class_stdbasicstring+set}" = set; then
27045 echo $ECHO_N "(cached) $ECHO_C" >&6
27046 else
27047
27048 cat >conftest.$ac_ext <<_ACEOF
27049 /* confdefs.h. */
27050 _ACEOF
27051 cat confdefs.h >>conftest.$ac_ext
27052 cat >>conftest.$ac_ext <<_ACEOF
27053 /* end confdefs.h. */
27054
27055 #ifdef HAVE_WCHAR_H
27056 # ifdef __CYGWIN__
27057 # include <stddef.h>
27058 # endif
27059 # include <wchar.h>
27060 #endif
27061 #ifdef HAVE_STDLIB_H
27062 # include <stdlib.h>
27063 #endif
27064 #include <stdio.h>
27065 #include <string>
27066
27067 int
27068 main ()
27069 {
27070 std::basic_string<$char_type> foo;
27071 const $char_type* dummy = foo.c_str();
27072 ;
27073 return 0;
27074 }
27075 _ACEOF
27076 rm -f conftest.$ac_objext
27077 if { (ac_try="$ac_compile"
27078 case "(($ac_try" in
27079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27080 *) ac_try_echo=$ac_try;;
27081 esac
27082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27083 (eval "$ac_compile") 2>conftest.er1
27084 ac_status=$?
27085 grep -v '^ *+' conftest.er1 >conftest.err
27086 rm -f conftest.er1
27087 cat conftest.err >&5
27088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27089 (exit $ac_status); } && {
27090 test -z "$ac_cxx_werror_flag" ||
27091 test ! -s conftest.err
27092 } && test -s conftest.$ac_objext; then
27093 wx_cv_class_stdbasicstring=yes
27094 else
27095 echo "$as_me: failed program was:" >&5
27096 sed 's/^/| /' conftest.$ac_ext >&5
27097
27098 wx_cv_class_stdbasicstring=no
27099
27100 fi
27101
27102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27103
27104
27105 fi
27106 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
27107 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
27108
27109 if test "$wx_cv_class_stdbasicstring" != yes; then
27110 if test "$wxUSE_STL" = "yes"; then
27111 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
27112 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
27113 { (exit 1); exit 1; }; }
27114 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
27115 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
27116 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
27117 { (exit 1); exit 1; }; }
27118 else
27119 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
27120 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
27121 wxUSE_STD_STRING=no
27122 fi
27123 fi
27124 fi
27125 fi
27126
27127 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
27128 { echo "$as_me:$LINENO: checking for std::istream" >&5
27129 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
27130 if test "${ac_cv_type_std__istream+set}" = set; then
27131 echo $ECHO_N "(cached) $ECHO_C" >&6
27132 else
27133 cat >conftest.$ac_ext <<_ACEOF
27134 /* confdefs.h. */
27135 _ACEOF
27136 cat confdefs.h >>conftest.$ac_ext
27137 cat >>conftest.$ac_ext <<_ACEOF
27138 /* end confdefs.h. */
27139 #include <iostream>
27140
27141 typedef std::istream ac__type_new_;
27142 int
27143 main ()
27144 {
27145 if ((ac__type_new_ *) 0)
27146 return 0;
27147 if (sizeof (ac__type_new_))
27148 return 0;
27149 ;
27150 return 0;
27151 }
27152 _ACEOF
27153 rm -f conftest.$ac_objext
27154 if { (ac_try="$ac_compile"
27155 case "(($ac_try" in
27156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27157 *) ac_try_echo=$ac_try;;
27158 esac
27159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27160 (eval "$ac_compile") 2>conftest.er1
27161 ac_status=$?
27162 grep -v '^ *+' conftest.er1 >conftest.err
27163 rm -f conftest.er1
27164 cat conftest.err >&5
27165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27166 (exit $ac_status); } && {
27167 test -z "$ac_cxx_werror_flag" ||
27168 test ! -s conftest.err
27169 } && test -s conftest.$ac_objext; then
27170 ac_cv_type_std__istream=yes
27171 else
27172 echo "$as_me: failed program was:" >&5
27173 sed 's/^/| /' conftest.$ac_ext >&5
27174
27175 ac_cv_type_std__istream=no
27176 fi
27177
27178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27179 fi
27180 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
27181 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
27182 if test $ac_cv_type_std__istream = yes; then
27183
27184 cat >>confdefs.h <<_ACEOF
27185 #define HAVE_STD__ISTREAM 1
27186 _ACEOF
27187
27188
27189 else
27190 wxUSE_STD_IOSTREAM=no
27191 fi
27192 { echo "$as_me:$LINENO: checking for std::ostream" >&5
27193 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
27194 if test "${ac_cv_type_std__ostream+set}" = set; then
27195 echo $ECHO_N "(cached) $ECHO_C" >&6
27196 else
27197 cat >conftest.$ac_ext <<_ACEOF
27198 /* confdefs.h. */
27199 _ACEOF
27200 cat confdefs.h >>conftest.$ac_ext
27201 cat >>conftest.$ac_ext <<_ACEOF
27202 /* end confdefs.h. */
27203 #include <iostream>
27204
27205 typedef std::ostream ac__type_new_;
27206 int
27207 main ()
27208 {
27209 if ((ac__type_new_ *) 0)
27210 return 0;
27211 if (sizeof (ac__type_new_))
27212 return 0;
27213 ;
27214 return 0;
27215 }
27216 _ACEOF
27217 rm -f conftest.$ac_objext
27218 if { (ac_try="$ac_compile"
27219 case "(($ac_try" in
27220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27221 *) ac_try_echo=$ac_try;;
27222 esac
27223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27224 (eval "$ac_compile") 2>conftest.er1
27225 ac_status=$?
27226 grep -v '^ *+' conftest.er1 >conftest.err
27227 rm -f conftest.er1
27228 cat conftest.err >&5
27229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27230 (exit $ac_status); } && {
27231 test -z "$ac_cxx_werror_flag" ||
27232 test ! -s conftest.err
27233 } && test -s conftest.$ac_objext; then
27234 ac_cv_type_std__ostream=yes
27235 else
27236 echo "$as_me: failed program was:" >&5
27237 sed 's/^/| /' conftest.$ac_ext >&5
27238
27239 ac_cv_type_std__ostream=no
27240 fi
27241
27242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27243 fi
27244 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
27245 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
27246 if test $ac_cv_type_std__ostream = yes; then
27247
27248 cat >>confdefs.h <<_ACEOF
27249 #define HAVE_STD__OSTREAM 1
27250 _ACEOF
27251
27252
27253 else
27254 wxUSE_STD_IOSTREAM=no
27255 fi
27256
27257
27258 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
27259 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
27260 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
27261 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
27262 { (exit 1); exit 1; }; }
27263 else
27264 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
27265 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
27266 fi
27267 fi
27268 fi
27269
27270 if test "$wxUSE_STL" = "yes"; then
27271 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
27272 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
27273 if test "${wx_cv_lib_stl+set}" = set; then
27274 echo $ECHO_N "(cached) $ECHO_C" >&6
27275 else
27276 cat >conftest.$ac_ext <<_ACEOF
27277 /* confdefs.h. */
27278 _ACEOF
27279 cat confdefs.h >>conftest.$ac_ext
27280 cat >>conftest.$ac_ext <<_ACEOF
27281 /* end confdefs.h. */
27282 #include <string>
27283 #include <functional>
27284 #include <algorithm>
27285 #include <vector>
27286 #include <list>
27287 int
27288 main ()
27289 {
27290 std::vector<int> moo;
27291 std::list<int> foo;
27292 std::vector<int>::iterator it =
27293 std::find_if(moo.begin(), moo.end(),
27294 std::bind2nd(std::less<int>(), 3));
27295 ;
27296 return 0;
27297 }
27298 _ACEOF
27299 rm -f conftest.$ac_objext
27300 if { (ac_try="$ac_compile"
27301 case "(($ac_try" in
27302 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27303 *) ac_try_echo=$ac_try;;
27304 esac
27305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27306 (eval "$ac_compile") 2>conftest.er1
27307 ac_status=$?
27308 grep -v '^ *+' conftest.er1 >conftest.err
27309 rm -f conftest.er1
27310 cat conftest.err >&5
27311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27312 (exit $ac_status); } && {
27313 test -z "$ac_cxx_werror_flag" ||
27314 test ! -s conftest.err
27315 } && test -s conftest.$ac_objext; then
27316 wx_cv_lib_stl=yes
27317 else
27318 echo "$as_me: failed program was:" >&5
27319 sed 's/^/| /' conftest.$ac_ext >&5
27320
27321 wx_cv_lib_stl=no
27322
27323 fi
27324
27325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27326
27327 fi
27328 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
27329 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
27330
27331 if test "$wx_cv_lib_stl" != yes; then
27332 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
27333 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
27334 { (exit 1); exit 1; }; }
27335 fi
27336
27337 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
27338 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
27339 if test "${wx_cv_func_stdstring_compare+set}" = set; then
27340 echo $ECHO_N "(cached) $ECHO_C" >&6
27341 else
27342 cat >conftest.$ac_ext <<_ACEOF
27343 /* confdefs.h. */
27344 _ACEOF
27345 cat confdefs.h >>conftest.$ac_ext
27346 cat >>conftest.$ac_ext <<_ACEOF
27347 /* end confdefs.h. */
27348 #include <string>
27349 int
27350 main ()
27351 {
27352 std::string foo, bar;
27353 foo.compare(bar);
27354 foo.compare(1, 1, bar);
27355 foo.compare(1, 1, bar, 1, 1);
27356 foo.compare("");
27357 foo.compare(1, 1, "");
27358 foo.compare(1, 1, "", 2);
27359 ;
27360 return 0;
27361 }
27362 _ACEOF
27363 rm -f conftest.$ac_objext
27364 if { (ac_try="$ac_compile"
27365 case "(($ac_try" in
27366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27367 *) ac_try_echo=$ac_try;;
27368 esac
27369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27370 (eval "$ac_compile") 2>conftest.er1
27371 ac_status=$?
27372 grep -v '^ *+' conftest.er1 >conftest.err
27373 rm -f conftest.er1
27374 cat conftest.err >&5
27375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27376 (exit $ac_status); } && {
27377 test -z "$ac_cxx_werror_flag" ||
27378 test ! -s conftest.err
27379 } && test -s conftest.$ac_objext; then
27380 wx_cv_func_stdstring_compare=yes
27381 else
27382 echo "$as_me: failed program was:" >&5
27383 sed 's/^/| /' conftest.$ac_ext >&5
27384
27385 wx_cv_func_stdstring_compare=no
27386
27387 fi
27388
27389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27390
27391 fi
27392 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
27393 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
27394
27395 if test "$wx_cv_func_stdstring_compare" = yes; then
27396 cat >>confdefs.h <<\_ACEOF
27397 #define HAVE_STD_STRING_COMPARE 1
27398 _ACEOF
27399
27400 fi
27401
27402 { echo "$as_me:$LINENO: checking for hash_map" >&5
27403 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
27404 if test "${ac_cv_header_hash_map+set}" = set; then
27405 echo $ECHO_N "(cached) $ECHO_C" >&6
27406 else
27407 cat >conftest.$ac_ext <<_ACEOF
27408 /* confdefs.h. */
27409 _ACEOF
27410 cat confdefs.h >>conftest.$ac_ext
27411 cat >>conftest.$ac_ext <<_ACEOF
27412 /* end confdefs.h. */
27413
27414
27415
27416 #include <hash_map>
27417 _ACEOF
27418 rm -f conftest.$ac_objext
27419 if { (ac_try="$ac_compile"
27420 case "(($ac_try" in
27421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27422 *) ac_try_echo=$ac_try;;
27423 esac
27424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27425 (eval "$ac_compile") 2>conftest.er1
27426 ac_status=$?
27427 grep -v '^ *+' conftest.er1 >conftest.err
27428 rm -f conftest.er1
27429 cat conftest.err >&5
27430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27431 (exit $ac_status); } && {
27432 test -z "$ac_cxx_werror_flag" ||
27433 test ! -s conftest.err
27434 } && test -s conftest.$ac_objext; then
27435 ac_cv_header_hash_map=yes
27436 else
27437 echo "$as_me: failed program was:" >&5
27438 sed 's/^/| /' conftest.$ac_ext >&5
27439
27440 ac_cv_header_hash_map=no
27441 fi
27442
27443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27444 fi
27445 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
27446 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
27447 if test $ac_cv_header_hash_map = yes; then
27448 { echo "$as_me:$LINENO: checking for standard hash_map and hash_set" >&5
27449 echo $ECHO_N "checking for standard hash_map and hash_set... $ECHO_C" >&6; }
27450 if test "${wx_cv_class_stdhashmapset+set}" = set; then
27451 echo $ECHO_N "(cached) $ECHO_C" >&6
27452 else
27453 cat >conftest.$ac_ext <<_ACEOF
27454 /* confdefs.h. */
27455 _ACEOF
27456 cat confdefs.h >>conftest.$ac_ext
27457 cat >>conftest.$ac_ext <<_ACEOF
27458 /* end confdefs.h. */
27459 #include <hash_map>
27460 #include <hash_set>
27461 int
27462 main ()
27463 {
27464 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
27465 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
27466 ;
27467 return 0;
27468 }
27469 _ACEOF
27470 rm -f conftest.$ac_objext
27471 if { (ac_try="$ac_compile"
27472 case "(($ac_try" in
27473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27474 *) ac_try_echo=$ac_try;;
27475 esac
27476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27477 (eval "$ac_compile") 2>conftest.er1
27478 ac_status=$?
27479 grep -v '^ *+' conftest.er1 >conftest.err
27480 rm -f conftest.er1
27481 cat conftest.err >&5
27482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27483 (exit $ac_status); } && {
27484 test -z "$ac_cxx_werror_flag" ||
27485 test ! -s conftest.err
27486 } && test -s conftest.$ac_objext; then
27487 wx_cv_class_stdhashmapset=yes
27488 else
27489 echo "$as_me: failed program was:" >&5
27490 sed 's/^/| /' conftest.$ac_ext >&5
27491
27492 wx_cv_class_stdhashmapset=no
27493 fi
27494
27495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27496
27497
27498 fi
27499 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
27500 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
27501 fi
27502
27503
27504
27505 if test "$wx_cv_class_stdhashmapset" = yes; then
27506 cat >>confdefs.h <<\_ACEOF
27507 #define HAVE_HASH_MAP 1
27508 _ACEOF
27509
27510 cat >>confdefs.h <<\_ACEOF
27511 #define HAVE_STD_HASH_MAP 1
27512 _ACEOF
27513
27514 fi
27515
27516 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
27517 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
27518 if test "${ac_cv_header_ext_hash_map+set}" = set; then
27519 echo $ECHO_N "(cached) $ECHO_C" >&6
27520 else
27521 cat >conftest.$ac_ext <<_ACEOF
27522 /* confdefs.h. */
27523 _ACEOF
27524 cat confdefs.h >>conftest.$ac_ext
27525 cat >>conftest.$ac_ext <<_ACEOF
27526 /* end confdefs.h. */
27527
27528
27529
27530 #include <ext/hash_map>
27531 _ACEOF
27532 rm -f conftest.$ac_objext
27533 if { (ac_try="$ac_compile"
27534 case "(($ac_try" in
27535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27536 *) ac_try_echo=$ac_try;;
27537 esac
27538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27539 (eval "$ac_compile") 2>conftest.er1
27540 ac_status=$?
27541 grep -v '^ *+' conftest.er1 >conftest.err
27542 rm -f conftest.er1
27543 cat conftest.err >&5
27544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27545 (exit $ac_status); } && {
27546 test -z "$ac_cxx_werror_flag" ||
27547 test ! -s conftest.err
27548 } && test -s conftest.$ac_objext; then
27549 ac_cv_header_ext_hash_map=yes
27550 else
27551 echo "$as_me: failed program was:" >&5
27552 sed 's/^/| /' conftest.$ac_ext >&5
27553
27554 ac_cv_header_ext_hash_map=no
27555 fi
27556
27557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27558 fi
27559 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
27560 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
27561 if test $ac_cv_header_ext_hash_map = yes; then
27562 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
27563 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
27564 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
27565 echo $ECHO_N "(cached) $ECHO_C" >&6
27566 else
27567 cat >conftest.$ac_ext <<_ACEOF
27568 /* confdefs.h. */
27569 _ACEOF
27570 cat confdefs.h >>conftest.$ac_ext
27571 cat >>conftest.$ac_ext <<_ACEOF
27572 /* end confdefs.h. */
27573 #include <ext/hash_map>
27574 #include <ext/hash_set>
27575 int
27576 main ()
27577 {
27578 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
27579 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
27580 ;
27581 return 0;
27582 }
27583 _ACEOF
27584 rm -f conftest.$ac_objext
27585 if { (ac_try="$ac_compile"
27586 case "(($ac_try" in
27587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27588 *) ac_try_echo=$ac_try;;
27589 esac
27590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27591 (eval "$ac_compile") 2>conftest.er1
27592 ac_status=$?
27593 grep -v '^ *+' conftest.er1 >conftest.err
27594 rm -f conftest.er1
27595 cat conftest.err >&5
27596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27597 (exit $ac_status); } && {
27598 test -z "$ac_cxx_werror_flag" ||
27599 test ! -s conftest.err
27600 } && test -s conftest.$ac_objext; then
27601 wx_cv_class_gnuhashmapset=yes
27602 else
27603 echo "$as_me: failed program was:" >&5
27604 sed 's/^/| /' conftest.$ac_ext >&5
27605
27606 wx_cv_class_gnuhashmapset=no
27607 fi
27608
27609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27610
27611
27612 fi
27613 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
27614 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
27615 fi
27616
27617
27618
27619 if test "$wx_cv_class_gnuhashmapset" = yes; then
27620 cat >>confdefs.h <<\_ACEOF
27621 #define HAVE_EXT_HASH_MAP 1
27622 _ACEOF
27623
27624 cat >>confdefs.h <<\_ACEOF
27625 #define HAVE_GNU_CXX_HASH_MAP 1
27626 _ACEOF
27627
27628 fi
27629 fi
27630
27631
27632
27633 if test -n "$GCC"; then
27634 { echo "$as_me:$LINENO: checking for __sync_fetch_* builtins" >&5
27635 echo $ECHO_N "checking for __sync_fetch_* builtins... $ECHO_C" >&6; }
27636 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
27637 echo $ECHO_N "(cached) $ECHO_C" >&6
27638 else
27639
27640 cat >conftest.$ac_ext <<_ACEOF
27641 /* confdefs.h. */
27642 _ACEOF
27643 cat confdefs.h >>conftest.$ac_ext
27644 cat >>conftest.$ac_ext <<_ACEOF
27645 /* end confdefs.h. */
27646
27647 int
27648 main ()
27649 {
27650
27651 int value=0;
27652 __sync_fetch_and_add(&value, 1);
27653 __sync_sub_and_fetch(&value, 1);
27654
27655 ;
27656 return 0;
27657 }
27658 _ACEOF
27659 rm -f conftest.$ac_objext
27660 if { (ac_try="$ac_compile"
27661 case "(($ac_try" in
27662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27663 *) ac_try_echo=$ac_try;;
27664 esac
27665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27666 (eval "$ac_compile") 2>conftest.er1
27667 ac_status=$?
27668 grep -v '^ *+' conftest.er1 >conftest.err
27669 rm -f conftest.er1
27670 cat conftest.err >&5
27671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27672 (exit $ac_status); } && {
27673 test -z "$ac_cxx_werror_flag" ||
27674 test ! -s conftest.err
27675 } && test -s conftest.$ac_objext; then
27676 wx_cv_cc_gcc_atomic_builtins=yes
27677 else
27678 echo "$as_me: failed program was:" >&5
27679 sed 's/^/| /' conftest.$ac_ext >&5
27680
27681 wx_cv_cc_gcc_atomic_builtins=no
27682 fi
27683
27684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27685
27686 fi
27687
27688 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
27689 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
27690 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
27691 cat >>confdefs.h <<\_ACEOF
27692 #define HAVE_GCC_ATOMIC_BUILTINS 1
27693 _ACEOF
27694
27695 fi
27696 fi
27697
27698
27699 ac_ext=c
27700 ac_cpp='$CPP $CPPFLAGS'
27701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27704
27705
27706
27707 SEARCH_INCLUDE="\
27708 /usr/local/include \
27709 \
27710 /usr/Motif-2.1/include \
27711 /usr/Motif-1.2/include \
27712 /usr/include/Motif1.2 \
27713 \
27714 /usr/dt/include \
27715 /usr/openwin/include \
27716 \
27717 /usr/include/Xm \
27718 \
27719 /usr/X11R6/include \
27720 /usr/X11R6.4/include \
27721 /usr/X11R5/include \
27722 /usr/X11R4/include \
27723 \
27724 /usr/include/X11R6 \
27725 /usr/include/X11R5 \
27726 /usr/include/X11R4 \
27727 \
27728 /usr/local/X11R6/include \
27729 /usr/local/X11R5/include \
27730 /usr/local/X11R4/include \
27731 \
27732 /usr/local/include/X11R6 \
27733 /usr/local/include/X11R5 \
27734 /usr/local/include/X11R4 \
27735 \
27736 /usr/X11/include \
27737 /usr/include/X11 \
27738 /usr/local/X11/include \
27739 /usr/local/include/X11 \
27740 \
27741 /usr/XFree86/include/X11 \
27742 /usr/pkg/include \
27743 \
27744 /usr/openwin/share/include"
27745
27746 { echo "$as_me:$LINENO: checking for libraries directory" >&5
27747 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
27748
27749 case "${host}" in
27750 *-*-irix6* )
27751 if test "${wx_cv_std_libpath+set}" = set; then
27752 echo $ECHO_N "(cached) $ECHO_C" >&6
27753 else
27754
27755 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
27756 for e in a so sl dylib dll.a; do
27757 libc="$d/libc.$e"
27758 if test -f $libc; then
27759 save_LIBS="$LIBS"
27760 LIBS="$libc"
27761 cat >conftest.$ac_ext <<_ACEOF
27762 int main() { return 0; }
27763 _ACEOF
27764 rm -f conftest.$ac_objext conftest$ac_exeext
27765 if { (ac_try="$ac_link"
27766 case "(($ac_try" in
27767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27768 *) ac_try_echo=$ac_try;;
27769 esac
27770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27771 (eval "$ac_link") 2>conftest.er1
27772 ac_status=$?
27773 grep -v '^ *+' conftest.er1 >conftest.err
27774 rm -f conftest.er1
27775 cat conftest.err >&5
27776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27777 (exit $ac_status); } && {
27778 test -z "$ac_c_werror_flag" ||
27779 test ! -s conftest.err
27780 } && test -s conftest$ac_exeext &&
27781 $as_test_x conftest$ac_exeext; then
27782 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
27783 else
27784 echo "$as_me: failed program was:" >&5
27785 sed 's/^/| /' conftest.$ac_ext >&5
27786
27787
27788 fi
27789
27790 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27791 conftest$ac_exeext conftest.$ac_ext
27792 LIBS="$save_LIBS"
27793 if test "x$wx_cv_std_libpath" != "x"; then
27794 break 2
27795 fi
27796 fi
27797 done
27798 done
27799 if test "x$wx_cv_std_libpath" = "x"; then
27800 wx_cv_std_libpath="lib"
27801 fi
27802
27803
27804 fi
27805
27806 ;;
27807
27808 *-*-solaris2* )
27809 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
27810 wx_cv_std_libpath="lib/64"
27811 else
27812 wx_cv_std_libpath="lib"
27813 fi
27814 ;;
27815
27816 *-*-linux* )
27817 if test "$ac_cv_sizeof_void_p" = 8 -a \
27818 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
27819 wx_cv_std_libpath="lib64"
27820 else
27821 wx_cv_std_libpath="lib"
27822 fi
27823 ;;
27824
27825 *)
27826 wx_cv_std_libpath="lib";
27827 ;;
27828 esac
27829
27830 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
27831 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
27832
27833 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
27834
27835 if test "$build" != "$host" -a "$GCC" = yes; then
27836 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
27837 cross_root=`dirname $cross_root`
27838 cross_root=`dirname $cross_root`
27839
27840 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27841 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27842 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
27843
27844 if test -z "$PKG_CONFIG_PATH"; then
27845 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
27846 export PKG_CONFIG_PATH
27847 fi
27848
27849 if test -z "$x_includes" -o "$x_includes" = NONE; then
27850
27851 ac_find_includes=
27852 for ac_dir in $SEARCH_INCLUDE /usr/include;
27853 do
27854 if test -f "$ac_dir/X11/Intrinsic.h"; then
27855 ac_find_includes=$ac_dir
27856 break
27857 fi
27858 done
27859
27860 x_includes=$ac_find_includes
27861 fi
27862 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
27863
27864 ac_find_libraries=
27865 for ac_dir in $SEARCH_LIB;
27866 do
27867 for ac_extension in a so sl dylib dll.a; do
27868 if test -f "$ac_dir/libXt.$ac_extension"; then
27869 ac_find_libraries=$ac_dir
27870 break 2
27871 fi
27872 done
27873 done
27874
27875 x_libraries=$ac_find_libraries
27876 fi
27877 fi
27878 fi
27879
27880
27881 cat >confcache <<\_ACEOF
27882 # This file is a shell script that caches the results of configure
27883 # tests run on this system so they can be shared between configure
27884 # scripts and configure runs, see configure's option --config-cache.
27885 # It is not useful on other systems. If it contains results you don't
27886 # want to keep, you may remove or edit it.
27887 #
27888 # config.status only pays attention to the cache file if you give it
27889 # the --recheck option to rerun configure.
27890 #
27891 # `ac_cv_env_foo' variables (set or unset) will be overridden when
27892 # loading this file, other *unset* `ac_cv_foo' will be assigned the
27893 # following values.
27894
27895 _ACEOF
27896
27897 # The following way of writing the cache mishandles newlines in values,
27898 # but we know of no workaround that is simple, portable, and efficient.
27899 # So, we kill variables containing newlines.
27900 # Ultrix sh set writes to stderr and can't be redirected directly,
27901 # and sets the high bit in the cache file unless we assign to the vars.
27902 (
27903 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
27904 eval ac_val=\$$ac_var
27905 case $ac_val in #(
27906 *${as_nl}*)
27907 case $ac_var in #(
27908 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
27909 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
27910 esac
27911 case $ac_var in #(
27912 _ | IFS | as_nl) ;; #(
27913 *) $as_unset $ac_var ;;
27914 esac ;;
27915 esac
27916 done
27917
27918 (set) 2>&1 |
27919 case $as_nl`(ac_space=' '; set) 2>&1` in #(
27920 *${as_nl}ac_space=\ *)
27921 # `set' does not quote correctly, so add quotes (double-quote
27922 # substitution turns \\\\ into \\, and sed turns \\ into \).
27923 sed -n \
27924 "s/'/'\\\\''/g;
27925 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
27926 ;; #(
27927 *)
27928 # `set' quotes correctly as required by POSIX, so do not add quotes.
27929 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
27930 ;;
27931 esac |
27932 sort
27933 ) |
27934 sed '
27935 /^ac_cv_env_/b end
27936 t clear
27937 :clear
27938 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
27939 t end
27940 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
27941 :end' >>confcache
27942 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
27943 if test -w "$cache_file"; then
27944 test "x$cache_file" != "x/dev/null" &&
27945 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
27946 echo "$as_me: updating cache $cache_file" >&6;}
27947 cat confcache >$cache_file
27948 else
27949 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
27950 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
27951 fi
27952 fi
27953 rm -f confcache
27954
27955 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
27956 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
27957 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
27958 if test "${wx_cv_lib_glibc21+set}" = set; then
27959 echo $ECHO_N "(cached) $ECHO_C" >&6
27960 else
27961
27962 cat >conftest.$ac_ext <<_ACEOF
27963 /* confdefs.h. */
27964 _ACEOF
27965 cat confdefs.h >>conftest.$ac_ext
27966 cat >>conftest.$ac_ext <<_ACEOF
27967 /* end confdefs.h. */
27968 #include <features.h>
27969 int
27970 main ()
27971 {
27972
27973 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
27974 not glibc 2.1
27975 #endif
27976
27977 ;
27978 return 0;
27979 }
27980 _ACEOF
27981 rm -f conftest.$ac_objext
27982 if { (ac_try="$ac_compile"
27983 case "(($ac_try" in
27984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27985 *) ac_try_echo=$ac_try;;
27986 esac
27987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27988 (eval "$ac_compile") 2>conftest.er1
27989 ac_status=$?
27990 grep -v '^ *+' conftest.er1 >conftest.err
27991 rm -f conftest.er1
27992 cat conftest.err >&5
27993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27994 (exit $ac_status); } && {
27995 test -z "$ac_c_werror_flag" ||
27996 test ! -s conftest.err
27997 } && test -s conftest.$ac_objext; then
27998
27999 wx_cv_lib_glibc21=yes
28000
28001 else
28002 echo "$as_me: failed program was:" >&5
28003 sed 's/^/| /' conftest.$ac_ext >&5
28004
28005
28006 wx_cv_lib_glibc21=no
28007
28008
28009 fi
28010
28011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28012
28013 fi
28014 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
28015 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
28016 if test "$wx_cv_lib_glibc21" = "yes"; then
28017 cat >>confdefs.h <<\_ACEOF
28018 #define wxHAVE_GLIBC2 1
28019 _ACEOF
28020
28021 fi
28022 fi
28023
28024 if test "x$wx_cv_lib_glibc21" = "xyes"; then
28025 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
28026 cat >>confdefs.h <<\_ACEOF
28027 #define _GNU_SOURCE 1
28028 _ACEOF
28029
28030 fi
28031 fi
28032
28033 have_cos=0
28034 have_floor=0
28035
28036 for ac_func in cos
28037 do
28038 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28039 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28040 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28041 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28042 echo $ECHO_N "(cached) $ECHO_C" >&6
28043 else
28044 cat >conftest.$ac_ext <<_ACEOF
28045 /* confdefs.h. */
28046 _ACEOF
28047 cat confdefs.h >>conftest.$ac_ext
28048 cat >>conftest.$ac_ext <<_ACEOF
28049 /* end confdefs.h. */
28050 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28051 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28052 #define $ac_func innocuous_$ac_func
28053
28054 /* System header to define __stub macros and hopefully few prototypes,
28055 which can conflict with char $ac_func (); below.
28056 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28057 <limits.h> exists even on freestanding compilers. */
28058
28059 #ifdef __STDC__
28060 # include <limits.h>
28061 #else
28062 # include <assert.h>
28063 #endif
28064
28065 #undef $ac_func
28066
28067 /* Override any GCC internal prototype to avoid an error.
28068 Use char because int might match the return type of a GCC
28069 builtin and then its argument prototype would still apply. */
28070 #ifdef __cplusplus
28071 extern "C"
28072 #endif
28073 char $ac_func ();
28074 /* The GNU C library defines this for functions which it implements
28075 to always fail with ENOSYS. Some functions are actually named
28076 something starting with __ and the normal name is an alias. */
28077 #if defined __stub_$ac_func || defined __stub___$ac_func
28078 choke me
28079 #endif
28080
28081 int
28082 main ()
28083 {
28084 return $ac_func ();
28085 ;
28086 return 0;
28087 }
28088 _ACEOF
28089 rm -f conftest.$ac_objext conftest$ac_exeext
28090 if { (ac_try="$ac_link"
28091 case "(($ac_try" in
28092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28093 *) ac_try_echo=$ac_try;;
28094 esac
28095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28096 (eval "$ac_link") 2>conftest.er1
28097 ac_status=$?
28098 grep -v '^ *+' conftest.er1 >conftest.err
28099 rm -f conftest.er1
28100 cat conftest.err >&5
28101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28102 (exit $ac_status); } && {
28103 test -z "$ac_c_werror_flag" ||
28104 test ! -s conftest.err
28105 } && test -s conftest$ac_exeext &&
28106 $as_test_x conftest$ac_exeext; then
28107 eval "$as_ac_var=yes"
28108 else
28109 echo "$as_me: failed program was:" >&5
28110 sed 's/^/| /' conftest.$ac_ext >&5
28111
28112 eval "$as_ac_var=no"
28113 fi
28114
28115 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28116 conftest$ac_exeext conftest.$ac_ext
28117 fi
28118 ac_res=`eval echo '${'$as_ac_var'}'`
28119 { echo "$as_me:$LINENO: result: $ac_res" >&5
28120 echo "${ECHO_T}$ac_res" >&6; }
28121 if test `eval echo '${'$as_ac_var'}'` = yes; then
28122 cat >>confdefs.h <<_ACEOF
28123 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28124 _ACEOF
28125 have_cos=1
28126 fi
28127 done
28128
28129
28130 for ac_func in floor
28131 do
28132 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28133 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28134 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28135 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28136 echo $ECHO_N "(cached) $ECHO_C" >&6
28137 else
28138 cat >conftest.$ac_ext <<_ACEOF
28139 /* confdefs.h. */
28140 _ACEOF
28141 cat confdefs.h >>conftest.$ac_ext
28142 cat >>conftest.$ac_ext <<_ACEOF
28143 /* end confdefs.h. */
28144 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28145 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28146 #define $ac_func innocuous_$ac_func
28147
28148 /* System header to define __stub macros and hopefully few prototypes,
28149 which can conflict with char $ac_func (); below.
28150 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28151 <limits.h> exists even on freestanding compilers. */
28152
28153 #ifdef __STDC__
28154 # include <limits.h>
28155 #else
28156 # include <assert.h>
28157 #endif
28158
28159 #undef $ac_func
28160
28161 /* Override any GCC internal prototype to avoid an error.
28162 Use char because int might match the return type of a GCC
28163 builtin and then its argument prototype would still apply. */
28164 #ifdef __cplusplus
28165 extern "C"
28166 #endif
28167 char $ac_func ();
28168 /* The GNU C library defines this for functions which it implements
28169 to always fail with ENOSYS. Some functions are actually named
28170 something starting with __ and the normal name is an alias. */
28171 #if defined __stub_$ac_func || defined __stub___$ac_func
28172 choke me
28173 #endif
28174
28175 int
28176 main ()
28177 {
28178 return $ac_func ();
28179 ;
28180 return 0;
28181 }
28182 _ACEOF
28183 rm -f conftest.$ac_objext conftest$ac_exeext
28184 if { (ac_try="$ac_link"
28185 case "(($ac_try" in
28186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28187 *) ac_try_echo=$ac_try;;
28188 esac
28189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28190 (eval "$ac_link") 2>conftest.er1
28191 ac_status=$?
28192 grep -v '^ *+' conftest.er1 >conftest.err
28193 rm -f conftest.er1
28194 cat conftest.err >&5
28195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28196 (exit $ac_status); } && {
28197 test -z "$ac_c_werror_flag" ||
28198 test ! -s conftest.err
28199 } && test -s conftest$ac_exeext &&
28200 $as_test_x conftest$ac_exeext; then
28201 eval "$as_ac_var=yes"
28202 else
28203 echo "$as_me: failed program was:" >&5
28204 sed 's/^/| /' conftest.$ac_ext >&5
28205
28206 eval "$as_ac_var=no"
28207 fi
28208
28209 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28210 conftest$ac_exeext conftest.$ac_ext
28211 fi
28212 ac_res=`eval echo '${'$as_ac_var'}'`
28213 { echo "$as_me:$LINENO: result: $ac_res" >&5
28214 echo "${ECHO_T}$ac_res" >&6; }
28215 if test `eval echo '${'$as_ac_var'}'` = yes; then
28216 cat >>confdefs.h <<_ACEOF
28217 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28218 _ACEOF
28219 have_floor=1
28220 fi
28221 done
28222
28223 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
28224 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
28225 if test "$have_cos" = 1 -a "$have_floor" = 1; then
28226 { echo "$as_me:$LINENO: result: yes" >&5
28227 echo "${ECHO_T}yes" >&6; }
28228 else
28229 { echo "$as_me:$LINENO: result: no" >&5
28230 echo "${ECHO_T}no" >&6; }
28231 LIBS="$LIBS -lm"
28232 # use different functions to avoid configure caching
28233 have_sin=0
28234 have_ceil=0
28235
28236 for ac_func in sin
28237 do
28238 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28239 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28240 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28241 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28242 echo $ECHO_N "(cached) $ECHO_C" >&6
28243 else
28244 cat >conftest.$ac_ext <<_ACEOF
28245 /* confdefs.h. */
28246 _ACEOF
28247 cat confdefs.h >>conftest.$ac_ext
28248 cat >>conftest.$ac_ext <<_ACEOF
28249 /* end confdefs.h. */
28250 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28251 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28252 #define $ac_func innocuous_$ac_func
28253
28254 /* System header to define __stub macros and hopefully few prototypes,
28255 which can conflict with char $ac_func (); below.
28256 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28257 <limits.h> exists even on freestanding compilers. */
28258
28259 #ifdef __STDC__
28260 # include <limits.h>
28261 #else
28262 # include <assert.h>
28263 #endif
28264
28265 #undef $ac_func
28266
28267 /* Override any GCC internal prototype to avoid an error.
28268 Use char because int might match the return type of a GCC
28269 builtin and then its argument prototype would still apply. */
28270 #ifdef __cplusplus
28271 extern "C"
28272 #endif
28273 char $ac_func ();
28274 /* The GNU C library defines this for functions which it implements
28275 to always fail with ENOSYS. Some functions are actually named
28276 something starting with __ and the normal name is an alias. */
28277 #if defined __stub_$ac_func || defined __stub___$ac_func
28278 choke me
28279 #endif
28280
28281 int
28282 main ()
28283 {
28284 return $ac_func ();
28285 ;
28286 return 0;
28287 }
28288 _ACEOF
28289 rm -f conftest.$ac_objext conftest$ac_exeext
28290 if { (ac_try="$ac_link"
28291 case "(($ac_try" in
28292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28293 *) ac_try_echo=$ac_try;;
28294 esac
28295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28296 (eval "$ac_link") 2>conftest.er1
28297 ac_status=$?
28298 grep -v '^ *+' conftest.er1 >conftest.err
28299 rm -f conftest.er1
28300 cat conftest.err >&5
28301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28302 (exit $ac_status); } && {
28303 test -z "$ac_c_werror_flag" ||
28304 test ! -s conftest.err
28305 } && test -s conftest$ac_exeext &&
28306 $as_test_x conftest$ac_exeext; then
28307 eval "$as_ac_var=yes"
28308 else
28309 echo "$as_me: failed program was:" >&5
28310 sed 's/^/| /' conftest.$ac_ext >&5
28311
28312 eval "$as_ac_var=no"
28313 fi
28314
28315 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28316 conftest$ac_exeext conftest.$ac_ext
28317 fi
28318 ac_res=`eval echo '${'$as_ac_var'}'`
28319 { echo "$as_me:$LINENO: result: $ac_res" >&5
28320 echo "${ECHO_T}$ac_res" >&6; }
28321 if test `eval echo '${'$as_ac_var'}'` = yes; then
28322 cat >>confdefs.h <<_ACEOF
28323 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28324 _ACEOF
28325 have_sin=1
28326 fi
28327 done
28328
28329
28330 for ac_func in ceil
28331 do
28332 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28333 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28334 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28335 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28336 echo $ECHO_N "(cached) $ECHO_C" >&6
28337 else
28338 cat >conftest.$ac_ext <<_ACEOF
28339 /* confdefs.h. */
28340 _ACEOF
28341 cat confdefs.h >>conftest.$ac_ext
28342 cat >>conftest.$ac_ext <<_ACEOF
28343 /* end confdefs.h. */
28344 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28345 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28346 #define $ac_func innocuous_$ac_func
28347
28348 /* System header to define __stub macros and hopefully few prototypes,
28349 which can conflict with char $ac_func (); below.
28350 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28351 <limits.h> exists even on freestanding compilers. */
28352
28353 #ifdef __STDC__
28354 # include <limits.h>
28355 #else
28356 # include <assert.h>
28357 #endif
28358
28359 #undef $ac_func
28360
28361 /* Override any GCC internal prototype to avoid an error.
28362 Use char because int might match the return type of a GCC
28363 builtin and then its argument prototype would still apply. */
28364 #ifdef __cplusplus
28365 extern "C"
28366 #endif
28367 char $ac_func ();
28368 /* The GNU C library defines this for functions which it implements
28369 to always fail with ENOSYS. Some functions are actually named
28370 something starting with __ and the normal name is an alias. */
28371 #if defined __stub_$ac_func || defined __stub___$ac_func
28372 choke me
28373 #endif
28374
28375 int
28376 main ()
28377 {
28378 return $ac_func ();
28379 ;
28380 return 0;
28381 }
28382 _ACEOF
28383 rm -f conftest.$ac_objext conftest$ac_exeext
28384 if { (ac_try="$ac_link"
28385 case "(($ac_try" in
28386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28387 *) ac_try_echo=$ac_try;;
28388 esac
28389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28390 (eval "$ac_link") 2>conftest.er1
28391 ac_status=$?
28392 grep -v '^ *+' conftest.er1 >conftest.err
28393 rm -f conftest.er1
28394 cat conftest.err >&5
28395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28396 (exit $ac_status); } && {
28397 test -z "$ac_c_werror_flag" ||
28398 test ! -s conftest.err
28399 } && test -s conftest$ac_exeext &&
28400 $as_test_x conftest$ac_exeext; then
28401 eval "$as_ac_var=yes"
28402 else
28403 echo "$as_me: failed program was:" >&5
28404 sed 's/^/| /' conftest.$ac_ext >&5
28405
28406 eval "$as_ac_var=no"
28407 fi
28408
28409 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28410 conftest$ac_exeext conftest.$ac_ext
28411 fi
28412 ac_res=`eval echo '${'$as_ac_var'}'`
28413 { echo "$as_me:$LINENO: result: $ac_res" >&5
28414 echo "${ECHO_T}$ac_res" >&6; }
28415 if test `eval echo '${'$as_ac_var'}'` = yes; then
28416 cat >>confdefs.h <<_ACEOF
28417 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28418 _ACEOF
28419 have_ceil=1
28420 fi
28421 done
28422
28423 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
28424 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
28425 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
28426 { echo "$as_me:$LINENO: result: yes" >&5
28427 echo "${ECHO_T}yes" >&6; }
28428 else
28429 { echo "$as_me:$LINENO: result: no" >&5
28430 echo "${ECHO_T}no" >&6; }
28431 # not sure we should warn the user, crash, etc.
28432 fi
28433 fi
28434
28435 ac_ext=cpp
28436 ac_cpp='$CXXCPP $CPPFLAGS'
28437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28440
28441 if test "wxUSE_UNICODE" = "yes"; then
28442
28443 for wx_func in wcstoull
28444 do
28445 { echo "$as_me:$LINENO: checking for $wx_func" >&5
28446 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
28447 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
28448 echo $ECHO_N "(cached) $ECHO_C" >&6
28449 else
28450
28451 cat >conftest.$ac_ext <<_ACEOF
28452
28453 /* confdefs.h. */
28454 _ACEOF
28455 cat confdefs.h >>conftest.$ac_ext
28456 cat >>conftest.$ac_ext <<_ACEOF
28457 /* end confdefs.h. */
28458
28459
28460 $ac_includes_default
28461
28462 int
28463 main ()
28464 {
28465
28466 #ifndef $wx_func
28467 &$wx_func;
28468 #endif
28469
28470
28471 ;
28472 return 0;
28473 }
28474
28475 _ACEOF
28476 rm -f conftest.$ac_objext conftest$ac_exeext
28477 if { (ac_try="$ac_link"
28478 case "(($ac_try" in
28479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28480 *) ac_try_echo=$ac_try;;
28481 esac
28482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28483 (eval "$ac_link") 2>conftest.er1
28484 ac_status=$?
28485 grep -v '^ *+' conftest.er1 >conftest.err
28486 rm -f conftest.er1
28487 cat conftest.err >&5
28488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28489 (exit $ac_status); } && {
28490 test -z "$ac_cxx_werror_flag" ||
28491 test ! -s conftest.err
28492 } && test -s conftest$ac_exeext &&
28493 $as_test_x conftest$ac_exeext; then
28494 eval wx_cv_func_$wx_func=yes
28495 else
28496 echo "$as_me: failed program was:" >&5
28497 sed 's/^/| /' conftest.$ac_ext >&5
28498
28499 eval wx_cv_func_$wx_func=no
28500 fi
28501
28502 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28503 conftest$ac_exeext conftest.$ac_ext
28504
28505 fi
28506 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
28507 { echo "$as_me:$LINENO: result: $ac_res" >&5
28508 echo "${ECHO_T}$ac_res" >&6; }
28509
28510 if eval test \$wx_cv_func_$wx_func = yes
28511 then
28512 cat >>confdefs.h <<_ACEOF
28513 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
28514 _ACEOF
28515
28516
28517 else
28518 :
28519
28520 fi
28521 done
28522
28523 else
28524
28525 for wx_func in strtoull
28526 do
28527 { echo "$as_me:$LINENO: checking for $wx_func" >&5
28528 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
28529 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
28530 echo $ECHO_N "(cached) $ECHO_C" >&6
28531 else
28532
28533 cat >conftest.$ac_ext <<_ACEOF
28534
28535 /* confdefs.h. */
28536 _ACEOF
28537 cat confdefs.h >>conftest.$ac_ext
28538 cat >>conftest.$ac_ext <<_ACEOF
28539 /* end confdefs.h. */
28540
28541
28542 $ac_includes_default
28543
28544 int
28545 main ()
28546 {
28547
28548 #ifndef $wx_func
28549 &$wx_func;
28550 #endif
28551
28552
28553 ;
28554 return 0;
28555 }
28556
28557 _ACEOF
28558 rm -f conftest.$ac_objext conftest$ac_exeext
28559 if { (ac_try="$ac_link"
28560 case "(($ac_try" in
28561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28562 *) ac_try_echo=$ac_try;;
28563 esac
28564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28565 (eval "$ac_link") 2>conftest.er1
28566 ac_status=$?
28567 grep -v '^ *+' conftest.er1 >conftest.err
28568 rm -f conftest.er1
28569 cat conftest.err >&5
28570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28571 (exit $ac_status); } && {
28572 test -z "$ac_cxx_werror_flag" ||
28573 test ! -s conftest.err
28574 } && test -s conftest$ac_exeext &&
28575 $as_test_x conftest$ac_exeext; then
28576 eval wx_cv_func_$wx_func=yes
28577 else
28578 echo "$as_me: failed program was:" >&5
28579 sed 's/^/| /' conftest.$ac_ext >&5
28580
28581 eval wx_cv_func_$wx_func=no
28582 fi
28583
28584 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28585 conftest$ac_exeext conftest.$ac_ext
28586
28587 fi
28588 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
28589 { echo "$as_me:$LINENO: result: $ac_res" >&5
28590 echo "${ECHO_T}$ac_res" >&6; }
28591
28592 if eval test \$wx_cv_func_$wx_func = yes
28593 then
28594 cat >>confdefs.h <<_ACEOF
28595 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
28596 _ACEOF
28597
28598
28599 else
28600 :
28601
28602 fi
28603 done
28604
28605 fi
28606 ac_ext=c
28607 ac_cpp='$CPP $CPPFLAGS'
28608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28611
28612
28613
28614
28615 if test "$wxUSE_REGEX" != "no"; then
28616 cat >>confdefs.h <<\_ACEOF
28617 #define wxUSE_REGEX 1
28618 _ACEOF
28619
28620
28621 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
28622 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
28623 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
28624 wxUSE_REGEX=builtin
28625 fi
28626
28627 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
28628 { echo "$as_me:$LINENO: checking for regex.h" >&5
28629 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
28630 if test "${ac_cv_header_regex_h+set}" = set; then
28631 echo $ECHO_N "(cached) $ECHO_C" >&6
28632 else
28633 cat >conftest.$ac_ext <<_ACEOF
28634 /* confdefs.h. */
28635 _ACEOF
28636 cat confdefs.h >>conftest.$ac_ext
28637 cat >>conftest.$ac_ext <<_ACEOF
28638 /* end confdefs.h. */
28639
28640
28641 #include <regex.h>
28642 _ACEOF
28643 rm -f conftest.$ac_objext
28644 if { (ac_try="$ac_compile"
28645 case "(($ac_try" in
28646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28647 *) ac_try_echo=$ac_try;;
28648 esac
28649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28650 (eval "$ac_compile") 2>conftest.er1
28651 ac_status=$?
28652 grep -v '^ *+' conftest.er1 >conftest.err
28653 rm -f conftest.er1
28654 cat conftest.err >&5
28655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28656 (exit $ac_status); } && {
28657 test -z "$ac_c_werror_flag" ||
28658 test ! -s conftest.err
28659 } && test -s conftest.$ac_objext; then
28660 ac_cv_header_regex_h=yes
28661 else
28662 echo "$as_me: failed program was:" >&5
28663 sed 's/^/| /' conftest.$ac_ext >&5
28664
28665 ac_cv_header_regex_h=no
28666 fi
28667
28668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28669 fi
28670 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
28671 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
28672 if test $ac_cv_header_regex_h = yes; then
28673
28674
28675 for ac_func in regcomp re_search
28676 do
28677 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28678 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28679 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28680 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28681 echo $ECHO_N "(cached) $ECHO_C" >&6
28682 else
28683 cat >conftest.$ac_ext <<_ACEOF
28684 /* confdefs.h. */
28685 _ACEOF
28686 cat confdefs.h >>conftest.$ac_ext
28687 cat >>conftest.$ac_ext <<_ACEOF
28688 /* end confdefs.h. */
28689 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28690 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28691 #define $ac_func innocuous_$ac_func
28692
28693 /* System header to define __stub macros and hopefully few prototypes,
28694 which can conflict with char $ac_func (); below.
28695 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28696 <limits.h> exists even on freestanding compilers. */
28697
28698 #ifdef __STDC__
28699 # include <limits.h>
28700 #else
28701 # include <assert.h>
28702 #endif
28703
28704 #undef $ac_func
28705
28706 /* Override any GCC internal prototype to avoid an error.
28707 Use char because int might match the return type of a GCC
28708 builtin and then its argument prototype would still apply. */
28709 #ifdef __cplusplus
28710 extern "C"
28711 #endif
28712 char $ac_func ();
28713 /* The GNU C library defines this for functions which it implements
28714 to always fail with ENOSYS. Some functions are actually named
28715 something starting with __ and the normal name is an alias. */
28716 #if defined __stub_$ac_func || defined __stub___$ac_func
28717 choke me
28718 #endif
28719
28720 int
28721 main ()
28722 {
28723 return $ac_func ();
28724 ;
28725 return 0;
28726 }
28727 _ACEOF
28728 rm -f conftest.$ac_objext conftest$ac_exeext
28729 if { (ac_try="$ac_link"
28730 case "(($ac_try" in
28731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28732 *) ac_try_echo=$ac_try;;
28733 esac
28734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28735 (eval "$ac_link") 2>conftest.er1
28736 ac_status=$?
28737 grep -v '^ *+' conftest.er1 >conftest.err
28738 rm -f conftest.er1
28739 cat conftest.err >&5
28740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28741 (exit $ac_status); } && {
28742 test -z "$ac_c_werror_flag" ||
28743 test ! -s conftest.err
28744 } && test -s conftest$ac_exeext &&
28745 $as_test_x conftest$ac_exeext; then
28746 eval "$as_ac_var=yes"
28747 else
28748 echo "$as_me: failed program was:" >&5
28749 sed 's/^/| /' conftest.$ac_ext >&5
28750
28751 eval "$as_ac_var=no"
28752 fi
28753
28754 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28755 conftest$ac_exeext conftest.$ac_ext
28756 fi
28757 ac_res=`eval echo '${'$as_ac_var'}'`
28758 { echo "$as_me:$LINENO: result: $ac_res" >&5
28759 echo "${ECHO_T}$ac_res" >&6; }
28760 if test `eval echo '${'$as_ac_var'}'` = yes; then
28761 cat >>confdefs.h <<_ACEOF
28762 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28763 _ACEOF
28764
28765 fi
28766 done
28767
28768 fi
28769
28770
28771
28772 if test "x$ac_cv_func_regcomp" != "xyes"; then
28773 if test "$wxUSE_REGEX" = "sys" ; then
28774 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
28775 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
28776 { (exit 1); exit 1; }; }
28777 else
28778 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
28779 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
28780 wxUSE_REGEX=builtin
28781 fi
28782 else
28783 wxUSE_REGEX=sys
28784 cat >>confdefs.h <<\_ACEOF
28785 #define WX_NO_REGEX_ADVANCED 1
28786 _ACEOF
28787
28788 fi
28789 fi
28790 fi
28791
28792
28793 ZLIB_LINK=
28794 if test "$wxUSE_ZLIB" != "no" ; then
28795 cat >>confdefs.h <<\_ACEOF
28796 #define wxUSE_ZLIB 1
28797 _ACEOF
28798
28799
28800 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
28801 if test "$USE_DARWIN" = 1; then
28802 system_zlib_h_ok="yes"
28803 else
28804 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
28805 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
28806 if test "${ac_cv_header_zlib_h+set}" = set; then
28807 echo $ECHO_N "(cached) $ECHO_C" >&6
28808 else
28809 if test "$cross_compiling" = yes; then
28810 unset ac_cv_header_zlib_h
28811
28812 else
28813 cat >conftest.$ac_ext <<_ACEOF
28814 /* confdefs.h. */
28815 _ACEOF
28816 cat confdefs.h >>conftest.$ac_ext
28817 cat >>conftest.$ac_ext <<_ACEOF
28818 /* end confdefs.h. */
28819
28820 #include <zlib.h>
28821 #include <stdio.h>
28822
28823 int main()
28824 {
28825 FILE *f=fopen("conftestval", "w");
28826 if (!f) exit(1);
28827 fprintf(f, "%s",
28828 ZLIB_VERSION[0] == '1' &&
28829 (ZLIB_VERSION[2] > '1' ||
28830 (ZLIB_VERSION[2] == '1' &&
28831 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
28832 exit(0);
28833 }
28834
28835 _ACEOF
28836 rm -f conftest$ac_exeext
28837 if { (ac_try="$ac_link"
28838 case "(($ac_try" in
28839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28840 *) ac_try_echo=$ac_try;;
28841 esac
28842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28843 (eval "$ac_link") 2>&5
28844 ac_status=$?
28845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28846 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28847 { (case "(($ac_try" in
28848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28849 *) ac_try_echo=$ac_try;;
28850 esac
28851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28852 (eval "$ac_try") 2>&5
28853 ac_status=$?
28854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28855 (exit $ac_status); }; }; then
28856 ac_cv_header_zlib_h=`cat conftestval`
28857 else
28858 echo "$as_me: program exited with status $ac_status" >&5
28859 echo "$as_me: failed program was:" >&5
28860 sed 's/^/| /' conftest.$ac_ext >&5
28861
28862 ( exit $ac_status )
28863 ac_cv_header_zlib_h=no
28864 fi
28865 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28866 fi
28867
28868
28869
28870 fi
28871 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28872 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28873 { echo "$as_me:$LINENO: checking for zlib.h" >&5
28874 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
28875 if test "${ac_cv_header_zlib_h+set}" = set; then
28876 echo $ECHO_N "(cached) $ECHO_C" >&6
28877 else
28878 cat >conftest.$ac_ext <<_ACEOF
28879 /* confdefs.h. */
28880 _ACEOF
28881 cat confdefs.h >>conftest.$ac_ext
28882 cat >>conftest.$ac_ext <<_ACEOF
28883 /* end confdefs.h. */
28884
28885
28886 #include <zlib.h>
28887 _ACEOF
28888 rm -f conftest.$ac_objext
28889 if { (ac_try="$ac_compile"
28890 case "(($ac_try" in
28891 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28892 *) ac_try_echo=$ac_try;;
28893 esac
28894 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28895 (eval "$ac_compile") 2>conftest.er1
28896 ac_status=$?
28897 grep -v '^ *+' conftest.er1 >conftest.err
28898 rm -f conftest.er1
28899 cat conftest.err >&5
28900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28901 (exit $ac_status); } && {
28902 test -z "$ac_c_werror_flag" ||
28903 test ! -s conftest.err
28904 } && test -s conftest.$ac_objext; then
28905 ac_cv_header_zlib_h=yes
28906 else
28907 echo "$as_me: failed program was:" >&5
28908 sed 's/^/| /' conftest.$ac_ext >&5
28909
28910 ac_cv_header_zlib_h=no
28911 fi
28912
28913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28914 fi
28915 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28916 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28917
28918
28919
28920 system_zlib_h_ok=$ac_cv_header_zlib_h
28921 fi
28922
28923 if test "$system_zlib_h_ok" = "yes"; then
28924 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
28925 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
28926 if test "${ac_cv_lib_z_deflate+set}" = set; then
28927 echo $ECHO_N "(cached) $ECHO_C" >&6
28928 else
28929 ac_check_lib_save_LIBS=$LIBS
28930 LIBS="-lz $LIBS"
28931 cat >conftest.$ac_ext <<_ACEOF
28932 /* confdefs.h. */
28933 _ACEOF
28934 cat confdefs.h >>conftest.$ac_ext
28935 cat >>conftest.$ac_ext <<_ACEOF
28936 /* end confdefs.h. */
28937
28938 /* Override any GCC internal prototype to avoid an error.
28939 Use char because int might match the return type of a GCC
28940 builtin and then its argument prototype would still apply. */
28941 #ifdef __cplusplus
28942 extern "C"
28943 #endif
28944 char deflate ();
28945 int
28946 main ()
28947 {
28948 return deflate ();
28949 ;
28950 return 0;
28951 }
28952 _ACEOF
28953 rm -f conftest.$ac_objext conftest$ac_exeext
28954 if { (ac_try="$ac_link"
28955 case "(($ac_try" in
28956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28957 *) ac_try_echo=$ac_try;;
28958 esac
28959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28960 (eval "$ac_link") 2>conftest.er1
28961 ac_status=$?
28962 grep -v '^ *+' conftest.er1 >conftest.err
28963 rm -f conftest.er1
28964 cat conftest.err >&5
28965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28966 (exit $ac_status); } && {
28967 test -z "$ac_c_werror_flag" ||
28968 test ! -s conftest.err
28969 } && test -s conftest$ac_exeext &&
28970 $as_test_x conftest$ac_exeext; then
28971 ac_cv_lib_z_deflate=yes
28972 else
28973 echo "$as_me: failed program was:" >&5
28974 sed 's/^/| /' conftest.$ac_ext >&5
28975
28976 ac_cv_lib_z_deflate=no
28977 fi
28978
28979 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28980 conftest$ac_exeext conftest.$ac_ext
28981 LIBS=$ac_check_lib_save_LIBS
28982 fi
28983 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
28984 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
28985 if test $ac_cv_lib_z_deflate = yes; then
28986 ZLIB_LINK=" -lz"
28987 fi
28988
28989 fi
28990
28991 if test "x$ZLIB_LINK" = "x" ; then
28992 if test "$wxUSE_ZLIB" = "sys" ; then
28993 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
28994 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
28995 { (exit 1); exit 1; }; }
28996 else
28997 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
28998 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
28999 wxUSE_ZLIB=builtin
29000 fi
29001 else
29002 wxUSE_ZLIB=sys
29003 fi
29004 fi
29005 fi
29006
29007
29008 PNG_LINK=
29009 if test "$wxUSE_LIBPNG" != "no" ; then
29010 cat >>confdefs.h <<\_ACEOF
29011 #define wxUSE_LIBPNG 1
29012 _ACEOF
29013
29014
29015 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
29016 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
29017 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
29018 wxUSE_LIBPNG=sys
29019 fi
29020
29021 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
29022 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
29023 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
29024 wxUSE_LIBPNG=builtin
29025 fi
29026
29027 if test "$wxUSE_MGL" != 1 ; then
29028 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
29029 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
29030 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
29031 if test "${ac_cv_header_png_h+set}" = set; then
29032 echo $ECHO_N "(cached) $ECHO_C" >&6
29033 else
29034 if test "$cross_compiling" = yes; then
29035 unset ac_cv_header_png_h
29036
29037 else
29038 cat >conftest.$ac_ext <<_ACEOF
29039 /* confdefs.h. */
29040 _ACEOF
29041 cat confdefs.h >>conftest.$ac_ext
29042 cat >>conftest.$ac_ext <<_ACEOF
29043 /* end confdefs.h. */
29044
29045 #include <png.h>
29046 #include <stdio.h>
29047
29048 int main()
29049 {
29050 FILE *f=fopen("conftestval", "w");
29051 if (!f) exit(1);
29052 fprintf(f, "%s",
29053 PNG_LIBPNG_VER > 90 ? "yes" : "no");
29054 exit(0);
29055 }
29056
29057 _ACEOF
29058 rm -f conftest$ac_exeext
29059 if { (ac_try="$ac_link"
29060 case "(($ac_try" in
29061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29062 *) ac_try_echo=$ac_try;;
29063 esac
29064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29065 (eval "$ac_link") 2>&5
29066 ac_status=$?
29067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29068 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29069 { (case "(($ac_try" in
29070 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29071 *) ac_try_echo=$ac_try;;
29072 esac
29073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29074 (eval "$ac_try") 2>&5
29075 ac_status=$?
29076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29077 (exit $ac_status); }; }; then
29078 ac_cv_header_png_h=`cat conftestval`
29079 else
29080 echo "$as_me: program exited with status $ac_status" >&5
29081 echo "$as_me: failed program was:" >&5
29082 sed 's/^/| /' conftest.$ac_ext >&5
29083
29084 ( exit $ac_status )
29085 ac_cv_header_png_h=no
29086 fi
29087 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29088 fi
29089
29090
29091
29092 fi
29093 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
29094 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
29095 { echo "$as_me:$LINENO: checking for png.h" >&5
29096 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
29097 if test "${ac_cv_header_png_h+set}" = set; then
29098 echo $ECHO_N "(cached) $ECHO_C" >&6
29099 else
29100 cat >conftest.$ac_ext <<_ACEOF
29101 /* confdefs.h. */
29102 _ACEOF
29103 cat confdefs.h >>conftest.$ac_ext
29104 cat >>conftest.$ac_ext <<_ACEOF
29105 /* end confdefs.h. */
29106
29107
29108 #include <png.h>
29109 _ACEOF
29110 rm -f conftest.$ac_objext
29111 if { (ac_try="$ac_compile"
29112 case "(($ac_try" in
29113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29114 *) ac_try_echo=$ac_try;;
29115 esac
29116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29117 (eval "$ac_compile") 2>conftest.er1
29118 ac_status=$?
29119 grep -v '^ *+' conftest.er1 >conftest.err
29120 rm -f conftest.er1
29121 cat conftest.err >&5
29122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29123 (exit $ac_status); } && {
29124 test -z "$ac_c_werror_flag" ||
29125 test ! -s conftest.err
29126 } && test -s conftest.$ac_objext; then
29127 ac_cv_header_png_h=yes
29128 else
29129 echo "$as_me: failed program was:" >&5
29130 sed 's/^/| /' conftest.$ac_ext >&5
29131
29132 ac_cv_header_png_h=no
29133 fi
29134
29135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29136 fi
29137 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
29138 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
29139
29140
29141
29142 if test "$ac_cv_header_png_h" = "yes"; then
29143 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
29144 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
29145 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
29146 echo $ECHO_N "(cached) $ECHO_C" >&6
29147 else
29148 ac_check_lib_save_LIBS=$LIBS
29149 LIBS="-lpng -lz -lm $LIBS"
29150 cat >conftest.$ac_ext <<_ACEOF
29151 /* confdefs.h. */
29152 _ACEOF
29153 cat confdefs.h >>conftest.$ac_ext
29154 cat >>conftest.$ac_ext <<_ACEOF
29155 /* end confdefs.h. */
29156
29157 /* Override any GCC internal prototype to avoid an error.
29158 Use char because int might match the return type of a GCC
29159 builtin and then its argument prototype would still apply. */
29160 #ifdef __cplusplus
29161 extern "C"
29162 #endif
29163 char png_check_sig ();
29164 int
29165 main ()
29166 {
29167 return png_check_sig ();
29168 ;
29169 return 0;
29170 }
29171 _ACEOF
29172 rm -f conftest.$ac_objext conftest$ac_exeext
29173 if { (ac_try="$ac_link"
29174 case "(($ac_try" in
29175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29176 *) ac_try_echo=$ac_try;;
29177 esac
29178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29179 (eval "$ac_link") 2>conftest.er1
29180 ac_status=$?
29181 grep -v '^ *+' conftest.er1 >conftest.err
29182 rm -f conftest.er1
29183 cat conftest.err >&5
29184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29185 (exit $ac_status); } && {
29186 test -z "$ac_c_werror_flag" ||
29187 test ! -s conftest.err
29188 } && test -s conftest$ac_exeext &&
29189 $as_test_x conftest$ac_exeext; then
29190 ac_cv_lib_png_png_check_sig=yes
29191 else
29192 echo "$as_me: failed program was:" >&5
29193 sed 's/^/| /' conftest.$ac_ext >&5
29194
29195 ac_cv_lib_png_png_check_sig=no
29196 fi
29197
29198 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29199 conftest$ac_exeext conftest.$ac_ext
29200 LIBS=$ac_check_lib_save_LIBS
29201 fi
29202 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
29203 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
29204 if test $ac_cv_lib_png_png_check_sig = yes; then
29205 PNG_LINK=" -lpng -lz"
29206 fi
29207
29208 fi
29209
29210 if test "x$PNG_LINK" = "x" ; then
29211 if test "$wxUSE_LIBPNG" = "sys" ; then
29212 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
29213 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
29214 { (exit 1); exit 1; }; }
29215 else
29216 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
29217 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
29218 wxUSE_LIBPNG=builtin
29219 fi
29220 else
29221 wxUSE_LIBPNG=sys
29222 fi
29223 fi
29224 fi
29225 fi
29226
29227
29228 JPEG_LINK=
29229 if test "$wxUSE_LIBJPEG" != "no" ; then
29230 cat >>confdefs.h <<\_ACEOF
29231 #define wxUSE_LIBJPEG 1
29232 _ACEOF
29233
29234
29235 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
29236 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
29237 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
29238 wxUSE_LIBJPEG=sys
29239 fi
29240
29241 if test "$wxUSE_MGL" != 1 ; then
29242 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
29243 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
29244 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
29245 if test "${ac_cv_header_jpeglib_h+set}" = set; then
29246 echo $ECHO_N "(cached) $ECHO_C" >&6
29247 else
29248 cat >conftest.$ac_ext <<_ACEOF
29249 /* confdefs.h. */
29250 _ACEOF
29251 cat confdefs.h >>conftest.$ac_ext
29252 cat >>conftest.$ac_ext <<_ACEOF
29253 /* end confdefs.h. */
29254
29255 #undef HAVE_STDLIB_H
29256 #include <stdio.h>
29257 #include <jpeglib.h>
29258
29259 int
29260 main ()
29261 {
29262
29263
29264 ;
29265 return 0;
29266 }
29267 _ACEOF
29268 rm -f conftest.$ac_objext
29269 if { (ac_try="$ac_compile"
29270 case "(($ac_try" in
29271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29272 *) ac_try_echo=$ac_try;;
29273 esac
29274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29275 (eval "$ac_compile") 2>conftest.er1
29276 ac_status=$?
29277 grep -v '^ *+' conftest.er1 >conftest.err
29278 rm -f conftest.er1
29279 cat conftest.err >&5
29280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29281 (exit $ac_status); } && {
29282 test -z "$ac_c_werror_flag" ||
29283 test ! -s conftest.err
29284 } && test -s conftest.$ac_objext; then
29285 ac_cv_header_jpeglib_h=yes
29286 else
29287 echo "$as_me: failed program was:" >&5
29288 sed 's/^/| /' conftest.$ac_ext >&5
29289
29290 ac_cv_header_jpeglib_h=no
29291
29292 fi
29293
29294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29295
29296 fi
29297
29298 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
29299 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
29300
29301 if test "$ac_cv_header_jpeglib_h" = "yes"; then
29302 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
29303 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
29304 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
29305 echo $ECHO_N "(cached) $ECHO_C" >&6
29306 else
29307 ac_check_lib_save_LIBS=$LIBS
29308 LIBS="-ljpeg $LIBS"
29309 cat >conftest.$ac_ext <<_ACEOF
29310 /* confdefs.h. */
29311 _ACEOF
29312 cat confdefs.h >>conftest.$ac_ext
29313 cat >>conftest.$ac_ext <<_ACEOF
29314 /* end confdefs.h. */
29315
29316 /* Override any GCC internal prototype to avoid an error.
29317 Use char because int might match the return type of a GCC
29318 builtin and then its argument prototype would still apply. */
29319 #ifdef __cplusplus
29320 extern "C"
29321 #endif
29322 char jpeg_read_header ();
29323 int
29324 main ()
29325 {
29326 return jpeg_read_header ();
29327 ;
29328 return 0;
29329 }
29330 _ACEOF
29331 rm -f conftest.$ac_objext conftest$ac_exeext
29332 if { (ac_try="$ac_link"
29333 case "(($ac_try" in
29334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29335 *) ac_try_echo=$ac_try;;
29336 esac
29337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29338 (eval "$ac_link") 2>conftest.er1
29339 ac_status=$?
29340 grep -v '^ *+' conftest.er1 >conftest.err
29341 rm -f conftest.er1
29342 cat conftest.err >&5
29343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29344 (exit $ac_status); } && {
29345 test -z "$ac_c_werror_flag" ||
29346 test ! -s conftest.err
29347 } && test -s conftest$ac_exeext &&
29348 $as_test_x conftest$ac_exeext; then
29349 ac_cv_lib_jpeg_jpeg_read_header=yes
29350 else
29351 echo "$as_me: failed program was:" >&5
29352 sed 's/^/| /' conftest.$ac_ext >&5
29353
29354 ac_cv_lib_jpeg_jpeg_read_header=no
29355 fi
29356
29357 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29358 conftest$ac_exeext conftest.$ac_ext
29359 LIBS=$ac_check_lib_save_LIBS
29360 fi
29361 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
29362 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
29363 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
29364 JPEG_LINK=" -ljpeg"
29365 fi
29366
29367 fi
29368
29369 if test "x$JPEG_LINK" = "x" ; then
29370 if test "$wxUSE_LIBJPEG" = "sys" ; then
29371 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
29372 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
29373 { (exit 1); exit 1; }; }
29374 else
29375 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
29376 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
29377 wxUSE_LIBJPEG=builtin
29378 fi
29379 else
29380 wxUSE_LIBJPEG=sys
29381
29382 if test "$wxUSE_MSW" = 1; then
29383 { echo "$as_me:$LINENO: checking for boolean" >&5
29384 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
29385 if test "${ac_cv_type_boolean+set}" = set; then
29386 echo $ECHO_N "(cached) $ECHO_C" >&6
29387 else
29388 cat >conftest.$ac_ext <<_ACEOF
29389 /* confdefs.h. */
29390 _ACEOF
29391 cat confdefs.h >>conftest.$ac_ext
29392 cat >>conftest.$ac_ext <<_ACEOF
29393 /* end confdefs.h. */
29394 #include <windows.h>
29395
29396 typedef boolean ac__type_new_;
29397 int
29398 main ()
29399 {
29400 if ((ac__type_new_ *) 0)
29401 return 0;
29402 if (sizeof (ac__type_new_))
29403 return 0;
29404 ;
29405 return 0;
29406 }
29407 _ACEOF
29408 rm -f conftest.$ac_objext
29409 if { (ac_try="$ac_compile"
29410 case "(($ac_try" in
29411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29412 *) ac_try_echo=$ac_try;;
29413 esac
29414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29415 (eval "$ac_compile") 2>conftest.er1
29416 ac_status=$?
29417 grep -v '^ *+' conftest.er1 >conftest.err
29418 rm -f conftest.er1
29419 cat conftest.err >&5
29420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29421 (exit $ac_status); } && {
29422 test -z "$ac_c_werror_flag" ||
29423 test ! -s conftest.err
29424 } && test -s conftest.$ac_objext; then
29425 ac_cv_type_boolean=yes
29426 else
29427 echo "$as_me: failed program was:" >&5
29428 sed 's/^/| /' conftest.$ac_ext >&5
29429
29430 ac_cv_type_boolean=no
29431 fi
29432
29433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29434 fi
29435 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
29436 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
29437 if test $ac_cv_type_boolean = yes; then
29438
29439 cat >>confdefs.h <<_ACEOF
29440 #define HAVE_BOOLEAN 1
29441 _ACEOF
29442
29443
29444 { echo "$as_me:$LINENO: checking for boolean" >&5
29445 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
29446 if test "${ac_cv_type_boolean+set}" = set; then
29447 echo $ECHO_N "(cached) $ECHO_C" >&6
29448 else
29449 cat >conftest.$ac_ext <<_ACEOF
29450 /* confdefs.h. */
29451 _ACEOF
29452 cat confdefs.h >>conftest.$ac_ext
29453 cat >>conftest.$ac_ext <<_ACEOF
29454 /* end confdefs.h. */
29455
29456 #undef HAVE_BOOLEAN
29457 #include <stdio.h>
29458 #include <jpeglib.h>
29459
29460
29461 typedef boolean ac__type_new_;
29462 int
29463 main ()
29464 {
29465 if ((ac__type_new_ *) 0)
29466 return 0;
29467 if (sizeof (ac__type_new_))
29468 return 0;
29469 ;
29470 return 0;
29471 }
29472 _ACEOF
29473 rm -f conftest.$ac_objext
29474 if { (ac_try="$ac_compile"
29475 case "(($ac_try" in
29476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29477 *) ac_try_echo=$ac_try;;
29478 esac
29479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29480 (eval "$ac_compile") 2>conftest.er1
29481 ac_status=$?
29482 grep -v '^ *+' conftest.er1 >conftest.err
29483 rm -f conftest.er1
29484 cat conftest.err >&5
29485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29486 (exit $ac_status); } && {
29487 test -z "$ac_c_werror_flag" ||
29488 test ! -s conftest.err
29489 } && test -s conftest.$ac_objext; then
29490 ac_cv_type_boolean=yes
29491 else
29492 echo "$as_me: failed program was:" >&5
29493 sed 's/^/| /' conftest.$ac_ext >&5
29494
29495 ac_cv_type_boolean=no
29496 fi
29497
29498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29499 fi
29500 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
29501 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
29502
29503 # The cast to long int works around a bug in the HP C Compiler
29504 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
29505 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
29506 # This bug is HP SR number 8606223364.
29507 { echo "$as_me:$LINENO: checking size of boolean" >&5
29508 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
29509 if test "${ac_cv_sizeof_boolean+set}" = set; then
29510 echo $ECHO_N "(cached) $ECHO_C" >&6
29511 else
29512 if test "$cross_compiling" = yes; then
29513 # Depending upon the size, compute the lo and hi bounds.
29514 cat >conftest.$ac_ext <<_ACEOF
29515 /* confdefs.h. */
29516 _ACEOF
29517 cat confdefs.h >>conftest.$ac_ext
29518 cat >>conftest.$ac_ext <<_ACEOF
29519 /* end confdefs.h. */
29520
29521 #undef HAVE_BOOLEAN
29522 #include <stdio.h>
29523 #include <jpeglib.h>
29524
29525
29526 typedef boolean ac__type_sizeof_;
29527 int
29528 main ()
29529 {
29530 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
29531 test_array [0] = 0
29532
29533 ;
29534 return 0;
29535 }
29536 _ACEOF
29537 rm -f conftest.$ac_objext
29538 if { (ac_try="$ac_compile"
29539 case "(($ac_try" in
29540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29541 *) ac_try_echo=$ac_try;;
29542 esac
29543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29544 (eval "$ac_compile") 2>conftest.er1
29545 ac_status=$?
29546 grep -v '^ *+' conftest.er1 >conftest.err
29547 rm -f conftest.er1
29548 cat conftest.err >&5
29549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29550 (exit $ac_status); } && {
29551 test -z "$ac_c_werror_flag" ||
29552 test ! -s conftest.err
29553 } && test -s conftest.$ac_objext; then
29554 ac_lo=0 ac_mid=0
29555 while :; do
29556 cat >conftest.$ac_ext <<_ACEOF
29557 /* confdefs.h. */
29558 _ACEOF
29559 cat confdefs.h >>conftest.$ac_ext
29560 cat >>conftest.$ac_ext <<_ACEOF
29561 /* end confdefs.h. */
29562
29563 #undef HAVE_BOOLEAN
29564 #include <stdio.h>
29565 #include <jpeglib.h>
29566
29567
29568 typedef boolean ac__type_sizeof_;
29569 int
29570 main ()
29571 {
29572 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
29573 test_array [0] = 0
29574
29575 ;
29576 return 0;
29577 }
29578 _ACEOF
29579 rm -f conftest.$ac_objext
29580 if { (ac_try="$ac_compile"
29581 case "(($ac_try" in
29582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29583 *) ac_try_echo=$ac_try;;
29584 esac
29585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29586 (eval "$ac_compile") 2>conftest.er1
29587 ac_status=$?
29588 grep -v '^ *+' conftest.er1 >conftest.err
29589 rm -f conftest.er1
29590 cat conftest.err >&5
29591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29592 (exit $ac_status); } && {
29593 test -z "$ac_c_werror_flag" ||
29594 test ! -s conftest.err
29595 } && test -s conftest.$ac_objext; then
29596 ac_hi=$ac_mid; break
29597 else
29598 echo "$as_me: failed program was:" >&5
29599 sed 's/^/| /' conftest.$ac_ext >&5
29600
29601 ac_lo=`expr $ac_mid + 1`
29602 if test $ac_lo -le $ac_mid; then
29603 ac_lo= ac_hi=
29604 break
29605 fi
29606 ac_mid=`expr 2 '*' $ac_mid + 1`
29607 fi
29608
29609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29610 done
29611 else
29612 echo "$as_me: failed program was:" >&5
29613 sed 's/^/| /' conftest.$ac_ext >&5
29614
29615 cat >conftest.$ac_ext <<_ACEOF
29616 /* confdefs.h. */
29617 _ACEOF
29618 cat confdefs.h >>conftest.$ac_ext
29619 cat >>conftest.$ac_ext <<_ACEOF
29620 /* end confdefs.h. */
29621
29622 #undef HAVE_BOOLEAN
29623 #include <stdio.h>
29624 #include <jpeglib.h>
29625
29626
29627 typedef boolean ac__type_sizeof_;
29628 int
29629 main ()
29630 {
29631 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
29632 test_array [0] = 0
29633
29634 ;
29635 return 0;
29636 }
29637 _ACEOF
29638 rm -f conftest.$ac_objext
29639 if { (ac_try="$ac_compile"
29640 case "(($ac_try" in
29641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29642 *) ac_try_echo=$ac_try;;
29643 esac
29644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29645 (eval "$ac_compile") 2>conftest.er1
29646 ac_status=$?
29647 grep -v '^ *+' conftest.er1 >conftest.err
29648 rm -f conftest.er1
29649 cat conftest.err >&5
29650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29651 (exit $ac_status); } && {
29652 test -z "$ac_c_werror_flag" ||
29653 test ! -s conftest.err
29654 } && test -s conftest.$ac_objext; then
29655 ac_hi=-1 ac_mid=-1
29656 while :; do
29657 cat >conftest.$ac_ext <<_ACEOF
29658 /* confdefs.h. */
29659 _ACEOF
29660 cat confdefs.h >>conftest.$ac_ext
29661 cat >>conftest.$ac_ext <<_ACEOF
29662 /* end confdefs.h. */
29663
29664 #undef HAVE_BOOLEAN
29665 #include <stdio.h>
29666 #include <jpeglib.h>
29667
29668
29669 typedef boolean ac__type_sizeof_;
29670 int
29671 main ()
29672 {
29673 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
29674 test_array [0] = 0
29675
29676 ;
29677 return 0;
29678 }
29679 _ACEOF
29680 rm -f conftest.$ac_objext
29681 if { (ac_try="$ac_compile"
29682 case "(($ac_try" in
29683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29684 *) ac_try_echo=$ac_try;;
29685 esac
29686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29687 (eval "$ac_compile") 2>conftest.er1
29688 ac_status=$?
29689 grep -v '^ *+' conftest.er1 >conftest.err
29690 rm -f conftest.er1
29691 cat conftest.err >&5
29692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29693 (exit $ac_status); } && {
29694 test -z "$ac_c_werror_flag" ||
29695 test ! -s conftest.err
29696 } && test -s conftest.$ac_objext; then
29697 ac_lo=$ac_mid; break
29698 else
29699 echo "$as_me: failed program was:" >&5
29700 sed 's/^/| /' conftest.$ac_ext >&5
29701
29702 ac_hi=`expr '(' $ac_mid ')' - 1`
29703 if test $ac_mid -le $ac_hi; then
29704 ac_lo= ac_hi=
29705 break
29706 fi
29707 ac_mid=`expr 2 '*' $ac_mid`
29708 fi
29709
29710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29711 done
29712 else
29713 echo "$as_me: failed program was:" >&5
29714 sed 's/^/| /' conftest.$ac_ext >&5
29715
29716 ac_lo= ac_hi=
29717 fi
29718
29719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29720 fi
29721
29722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29723 # Binary search between lo and hi bounds.
29724 while test "x$ac_lo" != "x$ac_hi"; do
29725 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
29726 cat >conftest.$ac_ext <<_ACEOF
29727 /* confdefs.h. */
29728 _ACEOF
29729 cat confdefs.h >>conftest.$ac_ext
29730 cat >>conftest.$ac_ext <<_ACEOF
29731 /* end confdefs.h. */
29732
29733 #undef HAVE_BOOLEAN
29734 #include <stdio.h>
29735 #include <jpeglib.h>
29736
29737
29738 typedef boolean ac__type_sizeof_;
29739 int
29740 main ()
29741 {
29742 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
29743 test_array [0] = 0
29744
29745 ;
29746 return 0;
29747 }
29748 _ACEOF
29749 rm -f conftest.$ac_objext
29750 if { (ac_try="$ac_compile"
29751 case "(($ac_try" in
29752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29753 *) ac_try_echo=$ac_try;;
29754 esac
29755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29756 (eval "$ac_compile") 2>conftest.er1
29757 ac_status=$?
29758 grep -v '^ *+' conftest.er1 >conftest.err
29759 rm -f conftest.er1
29760 cat conftest.err >&5
29761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29762 (exit $ac_status); } && {
29763 test -z "$ac_c_werror_flag" ||
29764 test ! -s conftest.err
29765 } && test -s conftest.$ac_objext; then
29766 ac_hi=$ac_mid
29767 else
29768 echo "$as_me: failed program was:" >&5
29769 sed 's/^/| /' conftest.$ac_ext >&5
29770
29771 ac_lo=`expr '(' $ac_mid ')' + 1`
29772 fi
29773
29774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29775 done
29776 case $ac_lo in
29777 ?*) ac_cv_sizeof_boolean=$ac_lo;;
29778 '') if test "$ac_cv_type_boolean" = yes; then
29779 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
29780 See \`config.log' for more details." >&5
29781 echo "$as_me: error: cannot compute sizeof (boolean)
29782 See \`config.log' for more details." >&2;}
29783 { (exit 77); exit 77; }; }
29784 else
29785 ac_cv_sizeof_boolean=0
29786 fi ;;
29787 esac
29788 else
29789 cat >conftest.$ac_ext <<_ACEOF
29790 /* confdefs.h. */
29791 _ACEOF
29792 cat confdefs.h >>conftest.$ac_ext
29793 cat >>conftest.$ac_ext <<_ACEOF
29794 /* end confdefs.h. */
29795
29796 #undef HAVE_BOOLEAN
29797 #include <stdio.h>
29798 #include <jpeglib.h>
29799
29800
29801 typedef boolean ac__type_sizeof_;
29802 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
29803 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
29804 #include <stdio.h>
29805 #include <stdlib.h>
29806 int
29807 main ()
29808 {
29809
29810 FILE *f = fopen ("conftest.val", "w");
29811 if (! f)
29812 return 1;
29813 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
29814 {
29815 long int i = longval ();
29816 if (i != ((long int) (sizeof (ac__type_sizeof_))))
29817 return 1;
29818 fprintf (f, "%ld\n", i);
29819 }
29820 else
29821 {
29822 unsigned long int i = ulongval ();
29823 if (i != ((long int) (sizeof (ac__type_sizeof_))))
29824 return 1;
29825 fprintf (f, "%lu\n", i);
29826 }
29827 return ferror (f) || fclose (f) != 0;
29828
29829 ;
29830 return 0;
29831 }
29832 _ACEOF
29833 rm -f conftest$ac_exeext
29834 if { (ac_try="$ac_link"
29835 case "(($ac_try" in
29836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29837 *) ac_try_echo=$ac_try;;
29838 esac
29839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29840 (eval "$ac_link") 2>&5
29841 ac_status=$?
29842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29843 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29844 { (case "(($ac_try" in
29845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29846 *) ac_try_echo=$ac_try;;
29847 esac
29848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29849 (eval "$ac_try") 2>&5
29850 ac_status=$?
29851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29852 (exit $ac_status); }; }; then
29853 ac_cv_sizeof_boolean=`cat conftest.val`
29854 else
29855 echo "$as_me: program exited with status $ac_status" >&5
29856 echo "$as_me: failed program was:" >&5
29857 sed 's/^/| /' conftest.$ac_ext >&5
29858
29859 ( exit $ac_status )
29860 if test "$ac_cv_type_boolean" = yes; then
29861 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
29862 See \`config.log' for more details." >&5
29863 echo "$as_me: error: cannot compute sizeof (boolean)
29864 See \`config.log' for more details." >&2;}
29865 { (exit 77); exit 77; }; }
29866 else
29867 ac_cv_sizeof_boolean=0
29868 fi
29869 fi
29870 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29871 fi
29872 rm -f conftest.val
29873 fi
29874 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
29875 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
29876
29877
29878
29879 cat >>confdefs.h <<_ACEOF
29880 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
29881 _ACEOF
29882
29883
29884 cat >>confdefs.h <<_ACEOF
29885 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
29886 _ACEOF
29887
29888
29889 fi
29890
29891 fi
29892 fi
29893 fi
29894 fi
29895 fi
29896
29897
29898 TIFF_LINK=
29899 TIFF_PREREQ_LINKS=-lm
29900 if test "$wxUSE_LIBTIFF" != "no" ; then
29901 cat >>confdefs.h <<\_ACEOF
29902 #define wxUSE_LIBTIFF 1
29903 _ACEOF
29904
29905
29906 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
29907 if test "$wxUSE_LIBJPEG" = "sys"; then
29908 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
29909 fi
29910 if test "$wxUSE_ZLIB" = "sys"; then
29911 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
29912 fi
29913 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
29914 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
29915 if test "${ac_cv_header_tiffio_h+set}" = set; then
29916 echo $ECHO_N "(cached) $ECHO_C" >&6
29917 else
29918 cat >conftest.$ac_ext <<_ACEOF
29919 /* confdefs.h. */
29920 _ACEOF
29921 cat confdefs.h >>conftest.$ac_ext
29922 cat >>conftest.$ac_ext <<_ACEOF
29923 /* end confdefs.h. */
29924
29925
29926
29927 #include <tiffio.h>
29928 _ACEOF
29929 rm -f conftest.$ac_objext
29930 if { (ac_try="$ac_compile"
29931 case "(($ac_try" in
29932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29933 *) ac_try_echo=$ac_try;;
29934 esac
29935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29936 (eval "$ac_compile") 2>conftest.er1
29937 ac_status=$?
29938 grep -v '^ *+' conftest.er1 >conftest.err
29939 rm -f conftest.er1
29940 cat conftest.err >&5
29941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29942 (exit $ac_status); } && {
29943 test -z "$ac_c_werror_flag" ||
29944 test ! -s conftest.err
29945 } && test -s conftest.$ac_objext; then
29946 ac_cv_header_tiffio_h=yes
29947 else
29948 echo "$as_me: failed program was:" >&5
29949 sed 's/^/| /' conftest.$ac_ext >&5
29950
29951 ac_cv_header_tiffio_h=no
29952 fi
29953
29954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29955 fi
29956 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
29957 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
29958 if test $ac_cv_header_tiffio_h = yes; then
29959
29960 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
29961 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
29962 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
29963 echo $ECHO_N "(cached) $ECHO_C" >&6
29964 else
29965 ac_check_lib_save_LIBS=$LIBS
29966 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
29967 cat >conftest.$ac_ext <<_ACEOF
29968 /* confdefs.h. */
29969 _ACEOF
29970 cat confdefs.h >>conftest.$ac_ext
29971 cat >>conftest.$ac_ext <<_ACEOF
29972 /* end confdefs.h. */
29973
29974 /* Override any GCC internal prototype to avoid an error.
29975 Use char because int might match the return type of a GCC
29976 builtin and then its argument prototype would still apply. */
29977 #ifdef __cplusplus
29978 extern "C"
29979 #endif
29980 char TIFFError ();
29981 int
29982 main ()
29983 {
29984 return TIFFError ();
29985 ;
29986 return 0;
29987 }
29988 _ACEOF
29989 rm -f conftest.$ac_objext conftest$ac_exeext
29990 if { (ac_try="$ac_link"
29991 case "(($ac_try" in
29992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29993 *) ac_try_echo=$ac_try;;
29994 esac
29995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29996 (eval "$ac_link") 2>conftest.er1
29997 ac_status=$?
29998 grep -v '^ *+' conftest.er1 >conftest.err
29999 rm -f conftest.er1
30000 cat conftest.err >&5
30001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30002 (exit $ac_status); } && {
30003 test -z "$ac_c_werror_flag" ||
30004 test ! -s conftest.err
30005 } && test -s conftest$ac_exeext &&
30006 $as_test_x conftest$ac_exeext; then
30007 ac_cv_lib_tiff_TIFFError=yes
30008 else
30009 echo "$as_me: failed program was:" >&5
30010 sed 's/^/| /' conftest.$ac_ext >&5
30011
30012 ac_cv_lib_tiff_TIFFError=no
30013 fi
30014
30015 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30016 conftest$ac_exeext conftest.$ac_ext
30017 LIBS=$ac_check_lib_save_LIBS
30018 fi
30019 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
30020 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
30021 if test $ac_cv_lib_tiff_TIFFError = yes; then
30022 TIFF_LINK=" -ltiff"
30023 fi
30024
30025
30026 fi
30027
30028
30029
30030 if test "x$TIFF_LINK" = "x" ; then
30031 if test "$wxUSE_LIBTIFF" = "sys" ; then
30032 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
30033 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
30034 { (exit 1); exit 1; }; }
30035 else
30036 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
30037 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
30038 wxUSE_LIBTIFF=builtin
30039 fi
30040 else
30041 wxUSE_LIBTIFF=sys
30042 fi
30043 fi
30044 if test "$wxUSE_LIBTIFF" = "builtin" ; then
30045 if test "$wxUSE_LIBJPEG" = "no"; then
30046 ac_configure_args="$ac_configure_args --disable-jpeg"
30047 fi
30048 subdirs="$subdirs src/tiff"
30049
30050 fi
30051 fi
30052
30053
30054 if test "$wxUSE_WCHAR_T" != "yes"; then
30055 if test "$wxUSE_EXPAT" != "no"; then
30056 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
30057 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
30058 wxUSE_EXPAT=no
30059 fi
30060 if test "$wxUSE_XML" != "no"; then
30061 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
30062 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
30063 wxUSE_XML=no
30064 fi
30065 fi
30066
30067 if test "$wxUSE_EXPAT" != "no"; then
30068 wxUSE_XML=yes
30069 cat >>confdefs.h <<\_ACEOF
30070 #define wxUSE_EXPAT 1
30071 _ACEOF
30072
30073 cat >>confdefs.h <<\_ACEOF
30074 #define wxUSE_XML 1
30075 _ACEOF
30076
30077
30078 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
30079 { echo "$as_me:$LINENO: checking for expat.h" >&5
30080 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
30081 if test "${ac_cv_header_expat_h+set}" = set; then
30082 echo $ECHO_N "(cached) $ECHO_C" >&6
30083 else
30084 cat >conftest.$ac_ext <<_ACEOF
30085 /* confdefs.h. */
30086 _ACEOF
30087 cat confdefs.h >>conftest.$ac_ext
30088 cat >>conftest.$ac_ext <<_ACEOF
30089 /* end confdefs.h. */
30090
30091
30092 #include <expat.h>
30093 _ACEOF
30094 rm -f conftest.$ac_objext
30095 if { (ac_try="$ac_compile"
30096 case "(($ac_try" in
30097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30098 *) ac_try_echo=$ac_try;;
30099 esac
30100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30101 (eval "$ac_compile") 2>conftest.er1
30102 ac_status=$?
30103 grep -v '^ *+' conftest.er1 >conftest.err
30104 rm -f conftest.er1
30105 cat conftest.err >&5
30106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30107 (exit $ac_status); } && {
30108 test -z "$ac_c_werror_flag" ||
30109 test ! -s conftest.err
30110 } && test -s conftest.$ac_objext; then
30111 ac_cv_header_expat_h=yes
30112 else
30113 echo "$as_me: failed program was:" >&5
30114 sed 's/^/| /' conftest.$ac_ext >&5
30115
30116 ac_cv_header_expat_h=no
30117 fi
30118
30119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30120 fi
30121 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
30122 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
30123 if test $ac_cv_header_expat_h = yes; then
30124 found_expat_h=1
30125 fi
30126
30127
30128 if test "x$found_expat_h" = "x1"; then
30129 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
30130 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
30131 if test "${wx_cv_expat_is_not_broken+set}" = set; then
30132 echo $ECHO_N "(cached) $ECHO_C" >&6
30133 else
30134
30135 ac_ext=cpp
30136 ac_cpp='$CXXCPP $CPPFLAGS'
30137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30140
30141 cat >conftest.$ac_ext <<_ACEOF
30142 /* confdefs.h. */
30143 _ACEOF
30144 cat confdefs.h >>conftest.$ac_ext
30145 cat >>conftest.$ac_ext <<_ACEOF
30146 /* end confdefs.h. */
30147 #include <expat.h>
30148 int
30149 main ()
30150 {
30151
30152 ;
30153 return 0;
30154 }
30155 _ACEOF
30156 rm -f conftest.$ac_objext
30157 if { (ac_try="$ac_compile"
30158 case "(($ac_try" in
30159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30160 *) ac_try_echo=$ac_try;;
30161 esac
30162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30163 (eval "$ac_compile") 2>conftest.er1
30164 ac_status=$?
30165 grep -v '^ *+' conftest.er1 >conftest.err
30166 rm -f conftest.er1
30167 cat conftest.err >&5
30168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30169 (exit $ac_status); } && {
30170 test -z "$ac_cxx_werror_flag" ||
30171 test ! -s conftest.err
30172 } && test -s conftest.$ac_objext; then
30173 wx_cv_expat_is_not_broken=yes
30174 else
30175 echo "$as_me: failed program was:" >&5
30176 sed 's/^/| /' conftest.$ac_ext >&5
30177
30178 wx_cv_expat_is_not_broken=no
30179
30180 fi
30181
30182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30183 ac_ext=c
30184 ac_cpp='$CPP $CPPFLAGS'
30185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30188
30189
30190
30191 fi
30192 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
30193 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
30194 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
30195 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
30196 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
30197 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
30198 echo $ECHO_N "(cached) $ECHO_C" >&6
30199 else
30200 ac_check_lib_save_LIBS=$LIBS
30201 LIBS="-lexpat $LIBS"
30202 cat >conftest.$ac_ext <<_ACEOF
30203 /* confdefs.h. */
30204 _ACEOF
30205 cat confdefs.h >>conftest.$ac_ext
30206 cat >>conftest.$ac_ext <<_ACEOF
30207 /* end confdefs.h. */
30208
30209 /* Override any GCC internal prototype to avoid an error.
30210 Use char because int might match the return type of a GCC
30211 builtin and then its argument prototype would still apply. */
30212 #ifdef __cplusplus
30213 extern "C"
30214 #endif
30215 char XML_ParserCreate ();
30216 int
30217 main ()
30218 {
30219 return XML_ParserCreate ();
30220 ;
30221 return 0;
30222 }
30223 _ACEOF
30224 rm -f conftest.$ac_objext conftest$ac_exeext
30225 if { (ac_try="$ac_link"
30226 case "(($ac_try" in
30227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30228 *) ac_try_echo=$ac_try;;
30229 esac
30230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30231 (eval "$ac_link") 2>conftest.er1
30232 ac_status=$?
30233 grep -v '^ *+' conftest.er1 >conftest.err
30234 rm -f conftest.er1
30235 cat conftest.err >&5
30236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30237 (exit $ac_status); } && {
30238 test -z "$ac_c_werror_flag" ||
30239 test ! -s conftest.err
30240 } && test -s conftest$ac_exeext &&
30241 $as_test_x conftest$ac_exeext; then
30242 ac_cv_lib_expat_XML_ParserCreate=yes
30243 else
30244 echo "$as_me: failed program was:" >&5
30245 sed 's/^/| /' conftest.$ac_ext >&5
30246
30247 ac_cv_lib_expat_XML_ParserCreate=no
30248 fi
30249
30250 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30251 conftest$ac_exeext conftest.$ac_ext
30252 LIBS=$ac_check_lib_save_LIBS
30253 fi
30254 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
30255 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
30256 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
30257 EXPAT_LINK=" -lexpat"
30258 fi
30259
30260 fi
30261 fi
30262 if test "x$EXPAT_LINK" = "x" ; then
30263 if test "$wxUSE_EXPAT" = "sys" ; then
30264 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
30265 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
30266 { (exit 1); exit 1; }; }
30267 else
30268 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
30269 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
30270 wxUSE_EXPAT=builtin
30271 fi
30272 else
30273 wxUSE_EXPAT=sys
30274 fi
30275 fi
30276 if test "$wxUSE_EXPAT" = "builtin" ; then
30277 subdirs="$subdirs src/expat"
30278
30279 fi
30280 fi
30281
30282
30283
30284 if test "$wxUSE_LIBMSPACK" != "no"; then
30285 { echo "$as_me:$LINENO: checking for mspack.h" >&5
30286 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
30287 if test "${ac_cv_header_mspack_h+set}" = set; then
30288 echo $ECHO_N "(cached) $ECHO_C" >&6
30289 else
30290 cat >conftest.$ac_ext <<_ACEOF
30291 /* confdefs.h. */
30292 _ACEOF
30293 cat confdefs.h >>conftest.$ac_ext
30294 cat >>conftest.$ac_ext <<_ACEOF
30295 /* end confdefs.h. */
30296
30297
30298 #include <mspack.h>
30299 _ACEOF
30300 rm -f conftest.$ac_objext
30301 if { (ac_try="$ac_compile"
30302 case "(($ac_try" in
30303 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30304 *) ac_try_echo=$ac_try;;
30305 esac
30306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30307 (eval "$ac_compile") 2>conftest.er1
30308 ac_status=$?
30309 grep -v '^ *+' conftest.er1 >conftest.err
30310 rm -f conftest.er1
30311 cat conftest.err >&5
30312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30313 (exit $ac_status); } && {
30314 test -z "$ac_c_werror_flag" ||
30315 test ! -s conftest.err
30316 } && test -s conftest.$ac_objext; then
30317 ac_cv_header_mspack_h=yes
30318 else
30319 echo "$as_me: failed program was:" >&5
30320 sed 's/^/| /' conftest.$ac_ext >&5
30321
30322 ac_cv_header_mspack_h=no
30323 fi
30324
30325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30326 fi
30327 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
30328 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
30329 if test $ac_cv_header_mspack_h = yes; then
30330 found_mspack_h=1
30331 fi
30332
30333
30334 if test "x$found_mspack_h" = "x1"; then
30335 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
30336 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
30337 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
30338 echo $ECHO_N "(cached) $ECHO_C" >&6
30339 else
30340 ac_check_lib_save_LIBS=$LIBS
30341 LIBS="-lmspack $LIBS"
30342 cat >conftest.$ac_ext <<_ACEOF
30343 /* confdefs.h. */
30344 _ACEOF
30345 cat confdefs.h >>conftest.$ac_ext
30346 cat >>conftest.$ac_ext <<_ACEOF
30347 /* end confdefs.h. */
30348
30349 /* Override any GCC internal prototype to avoid an error.
30350 Use char because int might match the return type of a GCC
30351 builtin and then its argument prototype would still apply. */
30352 #ifdef __cplusplus
30353 extern "C"
30354 #endif
30355 char mspack_create_chm_decompressor ();
30356 int
30357 main ()
30358 {
30359 return mspack_create_chm_decompressor ();
30360 ;
30361 return 0;
30362 }
30363 _ACEOF
30364 rm -f conftest.$ac_objext conftest$ac_exeext
30365 if { (ac_try="$ac_link"
30366 case "(($ac_try" in
30367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30368 *) ac_try_echo=$ac_try;;
30369 esac
30370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30371 (eval "$ac_link") 2>conftest.er1
30372 ac_status=$?
30373 grep -v '^ *+' conftest.er1 >conftest.err
30374 rm -f conftest.er1
30375 cat conftest.err >&5
30376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30377 (exit $ac_status); } && {
30378 test -z "$ac_c_werror_flag" ||
30379 test ! -s conftest.err
30380 } && test -s conftest$ac_exeext &&
30381 $as_test_x conftest$ac_exeext; then
30382 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
30383 else
30384 echo "$as_me: failed program was:" >&5
30385 sed 's/^/| /' conftest.$ac_ext >&5
30386
30387 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
30388 fi
30389
30390 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30391 conftest$ac_exeext conftest.$ac_ext
30392 LIBS=$ac_check_lib_save_LIBS
30393 fi
30394 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
30395 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
30396 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
30397 MSPACK_LINK=" -lmspack"
30398 fi
30399
30400 fi
30401 if test "x$MSPACK_LINK" = "x" ; then
30402 wxUSE_LIBMSPACK=no
30403 fi
30404 fi
30405
30406 if test "$wxUSE_LIBMSPACK" != "no"; then
30407 cat >>confdefs.h <<\_ACEOF
30408 #define wxUSE_LIBMSPACK 1
30409 _ACEOF
30410
30411 fi
30412
30413
30414
30415 AFMINSTALL=
30416 WIN32INSTALL=
30417
30418 TOOLKIT=
30419 TOOLKIT_INCLUDE=
30420 WIDGET_SET=
30421
30422 if test "$USE_WIN32" = 1 ; then
30423
30424 for ac_header in w32api.h
30425 do
30426 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30427 { echo "$as_me:$LINENO: checking for $ac_header" >&5
30428 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
30429 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
30430 echo $ECHO_N "(cached) $ECHO_C" >&6
30431 else
30432 cat >conftest.$ac_ext <<_ACEOF
30433 /* confdefs.h. */
30434 _ACEOF
30435 cat confdefs.h >>conftest.$ac_ext
30436 cat >>conftest.$ac_ext <<_ACEOF
30437 /* end confdefs.h. */
30438
30439
30440 #include <$ac_header>
30441 _ACEOF
30442 rm -f conftest.$ac_objext
30443 if { (ac_try="$ac_compile"
30444 case "(($ac_try" in
30445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30446 *) ac_try_echo=$ac_try;;
30447 esac
30448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30449 (eval "$ac_compile") 2>conftest.er1
30450 ac_status=$?
30451 grep -v '^ *+' conftest.er1 >conftest.err
30452 rm -f conftest.er1
30453 cat conftest.err >&5
30454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30455 (exit $ac_status); } && {
30456 test -z "$ac_c_werror_flag" ||
30457 test ! -s conftest.err
30458 } && test -s conftest.$ac_objext; then
30459 eval "$as_ac_Header=yes"
30460 else
30461 echo "$as_me: failed program was:" >&5
30462 sed 's/^/| /' conftest.$ac_ext >&5
30463
30464 eval "$as_ac_Header=no"
30465 fi
30466
30467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30468 fi
30469 ac_res=`eval echo '${'$as_ac_Header'}'`
30470 { echo "$as_me:$LINENO: result: $ac_res" >&5
30471 echo "${ECHO_T}$ac_res" >&6; }
30472 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30473 cat >>confdefs.h <<_ACEOF
30474 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30475 _ACEOF
30476
30477 fi
30478
30479 done
30480
30481 { echo "$as_me:$LINENO: checking for windows.h" >&5
30482 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
30483 if test "${ac_cv_header_windows_h+set}" = set; then
30484 echo $ECHO_N "(cached) $ECHO_C" >&6
30485 else
30486 cat >conftest.$ac_ext <<_ACEOF
30487 /* confdefs.h. */
30488 _ACEOF
30489 cat confdefs.h >>conftest.$ac_ext
30490 cat >>conftest.$ac_ext <<_ACEOF
30491 /* end confdefs.h. */
30492
30493
30494 #include <windows.h>
30495 _ACEOF
30496 rm -f conftest.$ac_objext
30497 if { (ac_try="$ac_compile"
30498 case "(($ac_try" in
30499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30500 *) ac_try_echo=$ac_try;;
30501 esac
30502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30503 (eval "$ac_compile") 2>conftest.er1
30504 ac_status=$?
30505 grep -v '^ *+' conftest.er1 >conftest.err
30506 rm -f conftest.er1
30507 cat conftest.err >&5
30508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30509 (exit $ac_status); } && {
30510 test -z "$ac_c_werror_flag" ||
30511 test ! -s conftest.err
30512 } && test -s conftest.$ac_objext; then
30513 ac_cv_header_windows_h=yes
30514 else
30515 echo "$as_me: failed program was:" >&5
30516 sed 's/^/| /' conftest.$ac_ext >&5
30517
30518 ac_cv_header_windows_h=no
30519 fi
30520
30521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30522 fi
30523 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
30524 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
30525 if test $ac_cv_header_windows_h = yes; then
30526 :
30527 else
30528
30529 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
30530 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
30531 { (exit 1); exit 1; }; }
30532
30533 fi
30534
30535
30536
30537 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
30538
30539 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
30540 LIBS="$LIBS -loleacc"
30541 fi
30542
30543 case "${host}" in
30544 *-*-cygwin* )
30545 LIBS="$LIBS -lkernel32 -luser32"
30546 esac
30547
30548 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
30549 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
30550
30551 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
30552
30553 WIN32INSTALL=win32install
30554
30555 { echo "$as_me:$LINENO: checking for pbt.h" >&5
30556 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
30557 if test "${ac_cv_header_pbt_h+set}" = set; then
30558 echo $ECHO_N "(cached) $ECHO_C" >&6
30559 else
30560 cat >conftest.$ac_ext <<_ACEOF
30561 /* confdefs.h. */
30562 _ACEOF
30563 cat confdefs.h >>conftest.$ac_ext
30564 cat >>conftest.$ac_ext <<_ACEOF
30565 /* end confdefs.h. */
30566
30567
30568 #include <pbt.h>
30569 _ACEOF
30570 rm -f conftest.$ac_objext
30571 if { (ac_try="$ac_compile"
30572 case "(($ac_try" in
30573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30574 *) ac_try_echo=$ac_try;;
30575 esac
30576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30577 (eval "$ac_compile") 2>conftest.er1
30578 ac_status=$?
30579 grep -v '^ *+' conftest.er1 >conftest.err
30580 rm -f conftest.er1
30581 cat conftest.err >&5
30582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30583 (exit $ac_status); } && {
30584 test -z "$ac_c_werror_flag" ||
30585 test ! -s conftest.err
30586 } && test -s conftest.$ac_objext; then
30587 ac_cv_header_pbt_h=yes
30588 else
30589 echo "$as_me: failed program was:" >&5
30590 sed 's/^/| /' conftest.$ac_ext >&5
30591
30592 ac_cv_header_pbt_h=no
30593 fi
30594
30595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30596 fi
30597 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
30598 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
30599 if test $ac_cv_header_pbt_h = yes; then
30600 :
30601 else
30602 cat >>confdefs.h <<\_ACEOF
30603 #define NEED_PBT_H 1
30604 _ACEOF
30605
30606 fi
30607
30608
30609 fi
30610
30611 if test "$wxUSE_GUI" = "yes"; then
30612 USE_GUI=1
30613
30614 GUI_TK_LIBRARY=
30615
30616 WXGTK12=
30617 WXGTK127=
30618 WXGTK2=
30619 WXGPE=
30620
30621 if test "$wxUSE_COCOA" = 1 ; then
30622 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
30623 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
30624 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
30625 wxUSE_PRINTING_ARCHITECTURE=no
30626 fi
30627 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
30628 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
30629 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
30630 wxUSE_DRAG_AND_DROP=no
30631 fi
30632 if test "$wxUSE_DRAGIMAGE" = "yes"; then
30633 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
30634 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
30635 wxUSE_DRAGIMAGE=no
30636 fi
30637 fi
30638
30639 if test "$wxUSE_MSW" = 1 ; then
30640 TOOLKIT=MSW
30641 GUIDIST=MSW_DIST
30642
30643 case "${host}" in
30644 *-*-mingw32* )
30645 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
30646 esac
30647 fi
30648
30649 if test "$wxUSE_GTK" = 1; then
30650 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
30651 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
30652
30653 gtk_version_cached=1
30654 if test "${wx_cv_lib_gtk+set}" = set; then
30655 echo $ECHO_N "(cached) $ECHO_C" >&6
30656 else
30657
30658 gtk_version_cached=0
30659 { echo "$as_me:$LINENO: result: " >&5
30660 echo "${ECHO_T}" >&6; }
30661
30662 GTK_MODULES=
30663 if test "$wxUSE_THREADS" = "yes"; then
30664 GTK_MODULES=gthread
30665 fi
30666
30667 wx_cv_lib_gtk=
30668 if test "x$wxGTK_VERSION" != "x1"
30669 then
30670 case "${host}" in
30671 *-*-solaris2* )
30672 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
30673 enable_gtktest=no
30674 fi
30675 esac
30676
30677 # Check whether --enable-gtktest was given.
30678 if test "${enable_gtktest+set}" = set; then
30679 enableval=$enable_gtktest;
30680 else
30681 enable_gtktest=yes
30682 fi
30683
30684
30685 pkg_config_args=gtk+-2.0
30686 for module in . $GTK_MODULES
30687 do
30688 case "$module" in
30689 gthread)
30690 pkg_config_args="$pkg_config_args gthread-2.0"
30691 ;;
30692 esac
30693 done
30694
30695 no_gtk=""
30696
30697 # Extract the first word of "pkg-config", so it can be a program name with args.
30698 set dummy pkg-config; ac_word=$2
30699 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30700 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30701 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30702 echo $ECHO_N "(cached) $ECHO_C" >&6
30703 else
30704 case $PKG_CONFIG in
30705 [\\/]* | ?:[\\/]*)
30706 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30707 ;;
30708 *)
30709 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30710 for as_dir in $PATH
30711 do
30712 IFS=$as_save_IFS
30713 test -z "$as_dir" && as_dir=.
30714 for ac_exec_ext in '' $ac_executable_extensions; do
30715 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30716 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30717 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30718 break 2
30719 fi
30720 done
30721 done
30722 IFS=$as_save_IFS
30723
30724 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
30725 ;;
30726 esac
30727 fi
30728 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30729 if test -n "$PKG_CONFIG"; then
30730 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30731 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30732 else
30733 { echo "$as_me:$LINENO: result: no" >&5
30734 echo "${ECHO_T}no" >&6; }
30735 fi
30736
30737
30738
30739 if test x$PKG_CONFIG != xno ; then
30740 if pkg-config --atleast-pkgconfig-version 0.7 ; then
30741 :
30742 else
30743 echo "*** pkg-config too old; version 0.7 or better required."
30744 no_gtk=yes
30745 PKG_CONFIG=no
30746 fi
30747 else
30748 no_gtk=yes
30749 fi
30750
30751 min_gtk_version=2.4.0
30752 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
30753 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
30754
30755 if test x$PKG_CONFIG != xno ; then
30756 ## don't try to run the test against uninstalled libtool libs
30757 if $PKG_CONFIG --uninstalled $pkg_config_args; then
30758 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
30759 enable_gtktest=no
30760 fi
30761
30762 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
30763 :
30764 else
30765 no_gtk=yes
30766 fi
30767 fi
30768
30769 if test x"$no_gtk" = x ; then
30770 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
30771 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
30772 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30773 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30774 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30775 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30776 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30777 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30778 if test "x$enable_gtktest" = "xyes" ; then
30779 ac_save_CFLAGS="$CFLAGS"
30780 ac_save_LIBS="$LIBS"
30781 CFLAGS="$CFLAGS $GTK_CFLAGS"
30782 LIBS="$GTK_LIBS $LIBS"
30783 rm -f conf.gtktest
30784 if test "$cross_compiling" = yes; then
30785 echo $ac_n "cross compiling; assumed OK... $ac_c"
30786 else
30787 cat >conftest.$ac_ext <<_ACEOF
30788 /* confdefs.h. */
30789 _ACEOF
30790 cat confdefs.h >>conftest.$ac_ext
30791 cat >>conftest.$ac_ext <<_ACEOF
30792 /* end confdefs.h. */
30793
30794 #include <gtk/gtk.h>
30795 #include <stdio.h>
30796 #include <stdlib.h>
30797
30798 int
30799 main ()
30800 {
30801 int major, minor, micro;
30802 char *tmp_version;
30803
30804 system ("touch conf.gtktest");
30805
30806 /* HP/UX 9 (%@#!) writes to sscanf strings */
30807 tmp_version = g_strdup("$min_gtk_version");
30808 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
30809 printf("%s, bad version string\n", "$min_gtk_version");
30810 exit(1);
30811 }
30812
30813 if ((gtk_major_version != $gtk_config_major_version) ||
30814 (gtk_minor_version != $gtk_config_minor_version) ||
30815 (gtk_micro_version != $gtk_config_micro_version))
30816 {
30817 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30818 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30819 gtk_major_version, gtk_minor_version, gtk_micro_version);
30820 printf ("*** was found! If pkg-config was correct, then it is best\n");
30821 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30822 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30823 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30824 printf("*** required on your system.\n");
30825 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
30826 printf("*** to point to the correct configuration files\n");
30827 }
30828 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30829 (gtk_minor_version != GTK_MINOR_VERSION) ||
30830 (gtk_micro_version != GTK_MICRO_VERSION))
30831 {
30832 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30833 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30834 printf("*** library (version %d.%d.%d)\n",
30835 gtk_major_version, gtk_minor_version, gtk_micro_version);
30836 }
30837 else
30838 {
30839 if ((gtk_major_version > major) ||
30840 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30841 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30842 {
30843 return 0;
30844 }
30845 else
30846 {
30847 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30848 gtk_major_version, gtk_minor_version, gtk_micro_version);
30849 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30850 major, minor, micro);
30851 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30852 printf("***\n");
30853 printf("*** If you have already installed a sufficiently new version, this error\n");
30854 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
30855 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30856 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
30857 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
30858 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30859 printf("*** so that the correct libraries are found at run-time))\n");
30860 }
30861 }
30862 return 1;
30863 }
30864
30865 _ACEOF
30866 rm -f conftest$ac_exeext
30867 if { (ac_try="$ac_link"
30868 case "(($ac_try" in
30869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30870 *) ac_try_echo=$ac_try;;
30871 esac
30872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30873 (eval "$ac_link") 2>&5
30874 ac_status=$?
30875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30876 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30877 { (case "(($ac_try" in
30878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30879 *) ac_try_echo=$ac_try;;
30880 esac
30881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30882 (eval "$ac_try") 2>&5
30883 ac_status=$?
30884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30885 (exit $ac_status); }; }; then
30886 :
30887 else
30888 echo "$as_me: program exited with status $ac_status" >&5
30889 echo "$as_me: failed program was:" >&5
30890 sed 's/^/| /' conftest.$ac_ext >&5
30891
30892 ( exit $ac_status )
30893 no_gtk=yes
30894 fi
30895 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30896 fi
30897
30898
30899 CFLAGS="$ac_save_CFLAGS"
30900 LIBS="$ac_save_LIBS"
30901 fi
30902 fi
30903 if test "x$no_gtk" = x ; then
30904 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
30905 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
30906 wx_cv_lib_gtk=2.0
30907 else
30908 { echo "$as_me:$LINENO: result: no" >&5
30909 echo "${ECHO_T}no" >&6; }
30910 if test "$PKG_CONFIG" = "no" ; then
30911 echo "*** A new enough version of pkg-config was not found."
30912 echo "*** See http://pkgconfig.sourceforge.net"
30913 else
30914 if test -f conf.gtktest ; then
30915 :
30916 else
30917 echo "*** Could not run GTK+ test program, checking why..."
30918 ac_save_CFLAGS="$CFLAGS"
30919 ac_save_LIBS="$LIBS"
30920 CFLAGS="$CFLAGS $GTK_CFLAGS"
30921 LIBS="$LIBS $GTK_LIBS"
30922 cat >conftest.$ac_ext <<_ACEOF
30923 /* confdefs.h. */
30924 _ACEOF
30925 cat confdefs.h >>conftest.$ac_ext
30926 cat >>conftest.$ac_ext <<_ACEOF
30927 /* end confdefs.h. */
30928
30929 #include <gtk/gtk.h>
30930 #include <stdio.h>
30931
30932 int
30933 main ()
30934 {
30935 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30936 ;
30937 return 0;
30938 }
30939 _ACEOF
30940 rm -f conftest.$ac_objext conftest$ac_exeext
30941 if { (ac_try="$ac_link"
30942 case "(($ac_try" in
30943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30944 *) ac_try_echo=$ac_try;;
30945 esac
30946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30947 (eval "$ac_link") 2>conftest.er1
30948 ac_status=$?
30949 grep -v '^ *+' conftest.er1 >conftest.err
30950 rm -f conftest.er1
30951 cat conftest.err >&5
30952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30953 (exit $ac_status); } && {
30954 test -z "$ac_c_werror_flag" ||
30955 test ! -s conftest.err
30956 } && test -s conftest$ac_exeext &&
30957 $as_test_x conftest$ac_exeext; then
30958 echo "*** The test program compiled, but did not run. This usually means"
30959 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
30960 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
30961 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30962 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30963 echo "*** is required on your system"
30964 echo "***"
30965 echo "*** If you have an old version installed, it is best to remove it, although"
30966 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30967 else
30968 echo "$as_me: failed program was:" >&5
30969 sed 's/^/| /' conftest.$ac_ext >&5
30970
30971 echo "*** The test program failed to compile or link. See the file config.log for the"
30972 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
30973 fi
30974
30975 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30976 conftest$ac_exeext conftest.$ac_ext
30977 CFLAGS="$ac_save_CFLAGS"
30978 LIBS="$ac_save_LIBS"
30979 fi
30980 fi
30981 GTK_CFLAGS=""
30982 GTK_LIBS=""
30983 :
30984 fi
30985
30986
30987 rm -f conf.gtktest
30988
30989
30990 case "${host}" in
30991 *-*-solaris2* )
30992 if test "$wxUSE_SHARED" != "yes"; then
30993 GTK_LIBS="$GTK_LIBS -lX11"
30994 fi
30995 esac
30996 fi
30997
30998 if test -z "$wx_cv_lib_gtk"; then
30999 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
31000
31001 # Check whether --with-gtk-prefix was given.
31002 if test "${with_gtk_prefix+set}" = set; then
31003 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
31004 else
31005 gtk_config_prefix=""
31006 fi
31007
31008
31009 # Check whether --with-gtk-exec-prefix was given.
31010 if test "${with_gtk_exec_prefix+set}" = set; then
31011 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
31012 else
31013 gtk_config_exec_prefix=""
31014 fi
31015
31016 # Check whether --enable-gtktest was given.
31017 if test "${enable_gtktest+set}" = set; then
31018 enableval=$enable_gtktest;
31019 else
31020 enable_gtktest=yes
31021 fi
31022
31023
31024 for module in . $GTK_MODULES
31025 do
31026 case "$module" in
31027 gthread)
31028 gtk_config_args="$gtk_config_args gthread"
31029 ;;
31030 esac
31031 done
31032
31033 if test x$gtk_config_exec_prefix != x ; then
31034 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
31035 if test x${GTK_CONFIG+set} != xset ; then
31036 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
31037 fi
31038 fi
31039 if test x$gtk_config_prefix != x ; then
31040 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
31041 if test x${GTK_CONFIG+set} != xset ; then
31042 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
31043 fi
31044 fi
31045
31046 # Extract the first word of "gtk-config", so it can be a program name with args.
31047 set dummy gtk-config; ac_word=$2
31048 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31049 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31050 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
31051 echo $ECHO_N "(cached) $ECHO_C" >&6
31052 else
31053 case $GTK_CONFIG in
31054 [\\/]* | ?:[\\/]*)
31055 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
31056 ;;
31057 *)
31058 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31059 for as_dir in $PATH
31060 do
31061 IFS=$as_save_IFS
31062 test -z "$as_dir" && as_dir=.
31063 for ac_exec_ext in '' $ac_executable_extensions; do
31064 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31065 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31066 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31067 break 2
31068 fi
31069 done
31070 done
31071 IFS=$as_save_IFS
31072
31073 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
31074 ;;
31075 esac
31076 fi
31077 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
31078 if test -n "$GTK_CONFIG"; then
31079 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
31080 echo "${ECHO_T}$GTK_CONFIG" >&6; }
31081 else
31082 { echo "$as_me:$LINENO: result: no" >&5
31083 echo "${ECHO_T}no" >&6; }
31084 fi
31085
31086
31087 min_gtk_version=1.2.7
31088 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
31089 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
31090 no_gtk=""
31091 if test "$GTK_CONFIG" = "no" ; then
31092 no_gtk=yes
31093 else
31094 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
31095 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
31096 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
31097 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
31098 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
31099 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
31100 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
31101 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
31102 if test "x$enable_gtktest" = "xyes" ; then
31103 ac_save_CFLAGS="$CFLAGS"
31104 ac_save_LIBS="$LIBS"
31105 CFLAGS="$CFLAGS $GTK_CFLAGS"
31106 LIBS="$GTK_LIBS $LIBS"
31107 rm -f conf.gtktest
31108 if test "$cross_compiling" = yes; then
31109 echo $ac_n "cross compiling; assumed OK... $ac_c"
31110 else
31111 cat >conftest.$ac_ext <<_ACEOF
31112 /* confdefs.h. */
31113 _ACEOF
31114 cat confdefs.h >>conftest.$ac_ext
31115 cat >>conftest.$ac_ext <<_ACEOF
31116 /* end confdefs.h. */
31117
31118 #include <gtk/gtk.h>
31119 #include <stdio.h>
31120 #include <stdlib.h>
31121
31122 int
31123 main ()
31124 {
31125 int major, minor, micro;
31126 char *tmp_version;
31127
31128 system ("touch conf.gtktest");
31129
31130 /* HP/UX 9 (%@#!) writes to sscanf strings */
31131 tmp_version = g_strdup("$min_gtk_version");
31132 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
31133 printf("%s, bad version string\n", "$min_gtk_version");
31134 exit(1);
31135 }
31136
31137 if ((gtk_major_version != $gtk_config_major_version) ||
31138 (gtk_minor_version != $gtk_config_minor_version) ||
31139 (gtk_micro_version != $gtk_config_micro_version))
31140 {
31141 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
31142 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
31143 gtk_major_version, gtk_minor_version, gtk_micro_version);
31144 printf ("*** was found! If gtk-config was correct, then it is best\n");
31145 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
31146 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
31147 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
31148 printf("*** required on your system.\n");
31149 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
31150 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
31151 printf("*** before re-running configure\n");
31152 }
31153 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
31154 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
31155 (gtk_minor_version != GTK_MINOR_VERSION) ||
31156 (gtk_micro_version != GTK_MICRO_VERSION))
31157 {
31158 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
31159 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
31160 printf("*** library (version %d.%d.%d)\n",
31161 gtk_major_version, gtk_minor_version, gtk_micro_version);
31162 }
31163 #endif /* defined (GTK_MAJOR_VERSION) ... */
31164 else
31165 {
31166 if ((gtk_major_version > major) ||
31167 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
31168 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
31169 {
31170 return 0;
31171 }
31172 else
31173 {
31174 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
31175 gtk_major_version, gtk_minor_version, gtk_micro_version);
31176 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
31177 major, minor, micro);
31178 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
31179 printf("***\n");
31180 printf("*** If you have already installed a sufficiently new version, this error\n");
31181 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
31182 printf("*** being found. The easiest way to fix this is to remove the old version\n");
31183 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
31184 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
31185 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
31186 printf("*** so that the correct libraries are found at run-time))\n");
31187 }
31188 }
31189 return 1;
31190 }
31191
31192 _ACEOF
31193 rm -f conftest$ac_exeext
31194 if { (ac_try="$ac_link"
31195 case "(($ac_try" in
31196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31197 *) ac_try_echo=$ac_try;;
31198 esac
31199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31200 (eval "$ac_link") 2>&5
31201 ac_status=$?
31202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31203 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
31204 { (case "(($ac_try" in
31205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31206 *) ac_try_echo=$ac_try;;
31207 esac
31208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31209 (eval "$ac_try") 2>&5
31210 ac_status=$?
31211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31212 (exit $ac_status); }; }; then
31213 :
31214 else
31215 echo "$as_me: program exited with status $ac_status" >&5
31216 echo "$as_me: failed program was:" >&5
31217 sed 's/^/| /' conftest.$ac_ext >&5
31218
31219 ( exit $ac_status )
31220 no_gtk=yes
31221 fi
31222 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31223 fi
31224
31225
31226 CFLAGS="$ac_save_CFLAGS"
31227 LIBS="$ac_save_LIBS"
31228 fi
31229 fi
31230 if test "x$no_gtk" = x ; then
31231 { echo "$as_me:$LINENO: result: yes" >&5
31232 echo "${ECHO_T}yes" >&6; }
31233 wx_cv_lib_gtk=1.2.7
31234 else
31235 { echo "$as_me:$LINENO: result: no" >&5
31236 echo "${ECHO_T}no" >&6; }
31237 if test "$GTK_CONFIG" = "no" ; then
31238 echo "*** The gtk-config script installed by GTK could not be found"
31239 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
31240 echo "*** your path, or set the GTK_CONFIG environment variable to the"
31241 echo "*** full path to gtk-config."
31242 else
31243 if test -f conf.gtktest ; then
31244 :
31245 else
31246 echo "*** Could not run GTK test program, checking why..."
31247 CFLAGS="$CFLAGS $GTK_CFLAGS"
31248 LIBS="$LIBS $GTK_LIBS"
31249 cat >conftest.$ac_ext <<_ACEOF
31250 /* confdefs.h. */
31251 _ACEOF
31252 cat confdefs.h >>conftest.$ac_ext
31253 cat >>conftest.$ac_ext <<_ACEOF
31254 /* end confdefs.h. */
31255
31256 #include <gtk/gtk.h>
31257 #include <stdio.h>
31258
31259 int
31260 main ()
31261 {
31262 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
31263 ;
31264 return 0;
31265 }
31266 _ACEOF
31267 rm -f conftest.$ac_objext conftest$ac_exeext
31268 if { (ac_try="$ac_link"
31269 case "(($ac_try" in
31270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31271 *) ac_try_echo=$ac_try;;
31272 esac
31273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31274 (eval "$ac_link") 2>conftest.er1
31275 ac_status=$?
31276 grep -v '^ *+' conftest.er1 >conftest.err
31277 rm -f conftest.er1
31278 cat conftest.err >&5
31279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31280 (exit $ac_status); } && {
31281 test -z "$ac_c_werror_flag" ||
31282 test ! -s conftest.err
31283 } && test -s conftest$ac_exeext &&
31284 $as_test_x conftest$ac_exeext; then
31285 echo "*** The test program compiled, but did not run. This usually means"
31286 echo "*** that the run-time linker is not finding GTK or finding the wrong"
31287 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
31288 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
31289 echo "*** to the installed location Also, make sure you have run ldconfig if that"
31290 echo "*** is required on your system"
31291 echo "***"
31292 echo "*** If you have an old version installed, it is best to remove it, although"
31293 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
31294 echo "***"
31295 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
31296 echo "*** came with the system with the command"
31297 echo "***"
31298 echo "*** rpm --erase --nodeps gtk gtk-devel"
31299 else
31300 echo "$as_me: failed program was:" >&5
31301 sed 's/^/| /' conftest.$ac_ext >&5
31302
31303 echo "*** The test program failed to compile or link. See the file config.log for the"
31304 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
31305 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
31306 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
31307 fi
31308
31309 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31310 conftest$ac_exeext conftest.$ac_ext
31311 CFLAGS="$ac_save_CFLAGS"
31312 LIBS="$ac_save_LIBS"
31313 fi
31314 fi
31315 GTK_CFLAGS=""
31316 GTK_LIBS=""
31317 :
31318 fi
31319
31320
31321 rm -f conf.gtktest
31322
31323
31324 if test -z "$wx_cv_lib_gtk"; then
31325
31326 # Check whether --with-gtk-prefix was given.
31327 if test "${with_gtk_prefix+set}" = set; then
31328 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
31329 else
31330 gtk_config_prefix=""
31331 fi
31332
31333
31334 # Check whether --with-gtk-exec-prefix was given.
31335 if test "${with_gtk_exec_prefix+set}" = set; then
31336 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
31337 else
31338 gtk_config_exec_prefix=""
31339 fi
31340
31341 # Check whether --enable-gtktest was given.
31342 if test "${enable_gtktest+set}" = set; then
31343 enableval=$enable_gtktest;
31344 else
31345 enable_gtktest=yes
31346 fi
31347
31348
31349 for module in . $GTK_MODULES
31350 do
31351 case "$module" in
31352 gthread)
31353 gtk_config_args="$gtk_config_args gthread"
31354 ;;
31355 esac
31356 done
31357
31358 if test x$gtk_config_exec_prefix != x ; then
31359 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
31360 if test x${GTK_CONFIG+set} != xset ; then
31361 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
31362 fi
31363 fi
31364 if test x$gtk_config_prefix != x ; then
31365 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
31366 if test x${GTK_CONFIG+set} != xset ; then
31367 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
31368 fi
31369 fi
31370
31371 # Extract the first word of "gtk-config", so it can be a program name with args.
31372 set dummy gtk-config; ac_word=$2
31373 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31374 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31375 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
31376 echo $ECHO_N "(cached) $ECHO_C" >&6
31377 else
31378 case $GTK_CONFIG in
31379 [\\/]* | ?:[\\/]*)
31380 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
31381 ;;
31382 *)
31383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31384 for as_dir in $PATH
31385 do
31386 IFS=$as_save_IFS
31387 test -z "$as_dir" && as_dir=.
31388 for ac_exec_ext in '' $ac_executable_extensions; do
31389 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31390 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31391 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31392 break 2
31393 fi
31394 done
31395 done
31396 IFS=$as_save_IFS
31397
31398 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
31399 ;;
31400 esac
31401 fi
31402 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
31403 if test -n "$GTK_CONFIG"; then
31404 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
31405 echo "${ECHO_T}$GTK_CONFIG" >&6; }
31406 else
31407 { echo "$as_me:$LINENO: result: no" >&5
31408 echo "${ECHO_T}no" >&6; }
31409 fi
31410
31411
31412 min_gtk_version=1.2.3
31413 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
31414 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
31415 no_gtk=""
31416 if test "$GTK_CONFIG" = "no" ; then
31417 no_gtk=yes
31418 else
31419 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
31420 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
31421 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
31422 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
31423 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
31424 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
31425 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
31426 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
31427 if test "x$enable_gtktest" = "xyes" ; then
31428 ac_save_CFLAGS="$CFLAGS"
31429 ac_save_LIBS="$LIBS"
31430 CFLAGS="$CFLAGS $GTK_CFLAGS"
31431 LIBS="$GTK_LIBS $LIBS"
31432 rm -f conf.gtktest
31433 if test "$cross_compiling" = yes; then
31434 echo $ac_n "cross compiling; assumed OK... $ac_c"
31435 else
31436 cat >conftest.$ac_ext <<_ACEOF
31437 /* confdefs.h. */
31438 _ACEOF
31439 cat confdefs.h >>conftest.$ac_ext
31440 cat >>conftest.$ac_ext <<_ACEOF
31441 /* end confdefs.h. */
31442
31443 #include <gtk/gtk.h>
31444 #include <stdio.h>
31445 #include <stdlib.h>
31446
31447 int
31448 main ()
31449 {
31450 int major, minor, micro;
31451 char *tmp_version;
31452
31453 system ("touch conf.gtktest");
31454
31455 /* HP/UX 9 (%@#!) writes to sscanf strings */
31456 tmp_version = g_strdup("$min_gtk_version");
31457 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
31458 printf("%s, bad version string\n", "$min_gtk_version");
31459 exit(1);
31460 }
31461
31462 if ((gtk_major_version != $gtk_config_major_version) ||
31463 (gtk_minor_version != $gtk_config_minor_version) ||
31464 (gtk_micro_version != $gtk_config_micro_version))
31465 {
31466 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
31467 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
31468 gtk_major_version, gtk_minor_version, gtk_micro_version);
31469 printf ("*** was found! If gtk-config was correct, then it is best\n");
31470 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
31471 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
31472 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
31473 printf("*** required on your system.\n");
31474 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
31475 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
31476 printf("*** before re-running configure\n");
31477 }
31478 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
31479 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
31480 (gtk_minor_version != GTK_MINOR_VERSION) ||
31481 (gtk_micro_version != GTK_MICRO_VERSION))
31482 {
31483 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
31484 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
31485 printf("*** library (version %d.%d.%d)\n",
31486 gtk_major_version, gtk_minor_version, gtk_micro_version);
31487 }
31488 #endif /* defined (GTK_MAJOR_VERSION) ... */
31489 else
31490 {
31491 if ((gtk_major_version > major) ||
31492 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
31493 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
31494 {
31495 return 0;
31496 }
31497 else
31498 {
31499 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
31500 gtk_major_version, gtk_minor_version, gtk_micro_version);
31501 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
31502 major, minor, micro);
31503 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
31504 printf("***\n");
31505 printf("*** If you have already installed a sufficiently new version, this error\n");
31506 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
31507 printf("*** being found. The easiest way to fix this is to remove the old version\n");
31508 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
31509 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
31510 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
31511 printf("*** so that the correct libraries are found at run-time))\n");
31512 }
31513 }
31514 return 1;
31515 }
31516
31517 _ACEOF
31518 rm -f conftest$ac_exeext
31519 if { (ac_try="$ac_link"
31520 case "(($ac_try" in
31521 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31522 *) ac_try_echo=$ac_try;;
31523 esac
31524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31525 (eval "$ac_link") 2>&5
31526 ac_status=$?
31527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31528 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
31529 { (case "(($ac_try" in
31530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31531 *) ac_try_echo=$ac_try;;
31532 esac
31533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31534 (eval "$ac_try") 2>&5
31535 ac_status=$?
31536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31537 (exit $ac_status); }; }; then
31538 :
31539 else
31540 echo "$as_me: program exited with status $ac_status" >&5
31541 echo "$as_me: failed program was:" >&5
31542 sed 's/^/| /' conftest.$ac_ext >&5
31543
31544 ( exit $ac_status )
31545 no_gtk=yes
31546 fi
31547 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31548 fi
31549
31550
31551 CFLAGS="$ac_save_CFLAGS"
31552 LIBS="$ac_save_LIBS"
31553 fi
31554 fi
31555 if test "x$no_gtk" = x ; then
31556 { echo "$as_me:$LINENO: result: yes" >&5
31557 echo "${ECHO_T}yes" >&6; }
31558 wx_cv_lib_gtk=1.2.3
31559 else
31560 { echo "$as_me:$LINENO: result: no" >&5
31561 echo "${ECHO_T}no" >&6; }
31562 if test "$GTK_CONFIG" = "no" ; then
31563 echo "*** The gtk-config script installed by GTK could not be found"
31564 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
31565 echo "*** your path, or set the GTK_CONFIG environment variable to the"
31566 echo "*** full path to gtk-config."
31567 else
31568 if test -f conf.gtktest ; then
31569 :
31570 else
31571 echo "*** Could not run GTK test program, checking why..."
31572 CFLAGS="$CFLAGS $GTK_CFLAGS"
31573 LIBS="$LIBS $GTK_LIBS"
31574 cat >conftest.$ac_ext <<_ACEOF
31575 /* confdefs.h. */
31576 _ACEOF
31577 cat confdefs.h >>conftest.$ac_ext
31578 cat >>conftest.$ac_ext <<_ACEOF
31579 /* end confdefs.h. */
31580
31581 #include <gtk/gtk.h>
31582 #include <stdio.h>
31583
31584 int
31585 main ()
31586 {
31587 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
31588 ;
31589 return 0;
31590 }
31591 _ACEOF
31592 rm -f conftest.$ac_objext conftest$ac_exeext
31593 if { (ac_try="$ac_link"
31594 case "(($ac_try" in
31595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31596 *) ac_try_echo=$ac_try;;
31597 esac
31598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31599 (eval "$ac_link") 2>conftest.er1
31600 ac_status=$?
31601 grep -v '^ *+' conftest.er1 >conftest.err
31602 rm -f conftest.er1
31603 cat conftest.err >&5
31604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31605 (exit $ac_status); } && {
31606 test -z "$ac_c_werror_flag" ||
31607 test ! -s conftest.err
31608 } && test -s conftest$ac_exeext &&
31609 $as_test_x conftest$ac_exeext; then
31610 echo "*** The test program compiled, but did not run. This usually means"
31611 echo "*** that the run-time linker is not finding GTK or finding the wrong"
31612 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
31613 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
31614 echo "*** to the installed location Also, make sure you have run ldconfig if that"
31615 echo "*** is required on your system"
31616 echo "***"
31617 echo "*** If you have an old version installed, it is best to remove it, although"
31618 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
31619 echo "***"
31620 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
31621 echo "*** came with the system with the command"
31622 echo "***"
31623 echo "*** rpm --erase --nodeps gtk gtk-devel"
31624 else
31625 echo "$as_me: failed program was:" >&5
31626 sed 's/^/| /' conftest.$ac_ext >&5
31627
31628 echo "*** The test program failed to compile or link. See the file config.log for the"
31629 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
31630 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
31631 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
31632 fi
31633
31634 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31635 conftest$ac_exeext conftest.$ac_ext
31636 CFLAGS="$ac_save_CFLAGS"
31637 LIBS="$ac_save_LIBS"
31638 fi
31639 fi
31640 GTK_CFLAGS=""
31641 GTK_LIBS=""
31642 :
31643 fi
31644
31645
31646 rm -f conf.gtktest
31647
31648 fi
31649 fi
31650 fi
31651
31652 if test -z "$wx_cv_lib_gtk"; then
31653 wx_cv_lib_gtk=none
31654 else
31655 wx_cv_cflags_gtk=$GTK_CFLAGS
31656 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
31657 fi
31658
31659
31660 fi
31661
31662
31663 if test "$gtk_version_cached" = 1; then
31664 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
31665 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
31666 fi
31667
31668 case "$wx_cv_lib_gtk" in
31669 2.0) WXGTK2=1
31670 TOOLKIT_VERSION=2
31671 ;;
31672 1.2.7) WXGTK127=1
31673 WXGTK12=1
31674 ;;
31675 1.2.3) WXGTK12=1
31676 ;;
31677 *) { { echo "$as_me:$LINENO: error:
31678 The development files for GTK+ were not found. For GTK+ 2, please
31679 ensure that pkg-config is in the path and that gtk+-2.0.pc is
31680 installed. For GTK+ 1.2 please check that gtk-config is in the path,
31681 and that the version is 1.2.3 or above. Also check that the
31682 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
31683 --libs' are in the LD_LIBRARY_PATH or equivalent.
31684 " >&5
31685 echo "$as_me: error:
31686 The development files for GTK+ were not found. For GTK+ 2, please
31687 ensure that pkg-config is in the path and that gtk+-2.0.pc is
31688 installed. For GTK+ 1.2 please check that gtk-config is in the path,
31689 and that the version is 1.2.3 or above. Also check that the
31690 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
31691 --libs' are in the LD_LIBRARY_PATH or equivalent.
31692 " >&2;}
31693 { (exit 1); exit 1; }; }
31694 ;;
31695 esac
31696
31697 if test "$WXGTK2" = 1; then
31698 save_CFLAGS="$CFLAGS"
31699 save_LIBS="$LIBS"
31700 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
31701 LIBS="$LIBS $wx_cv_libs_gtk"
31702
31703 { echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
31704 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6; }
31705 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
31706 echo $ECHO_N "(cached) $ECHO_C" >&6
31707 else
31708 cat >conftest.$ac_ext <<_ACEOF
31709 /* confdefs.h. */
31710 _ACEOF
31711 cat confdefs.h >>conftest.$ac_ext
31712 cat >>conftest.$ac_ext <<_ACEOF
31713 /* end confdefs.h. */
31714 #include <gtk/gtk.h>
31715
31716 int
31717 main ()
31718 {
31719 #ifndef gtk_icon_size_lookup
31720 (void) gtk_icon_size_lookup;
31721 #endif
31722
31723 ;
31724 return 0;
31725 }
31726 _ACEOF
31727 rm -f conftest.$ac_objext
31728 if { (ac_try="$ac_compile"
31729 case "(($ac_try" in
31730 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31731 *) ac_try_echo=$ac_try;;
31732 esac
31733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31734 (eval "$ac_compile") 2>conftest.er1
31735 ac_status=$?
31736 grep -v '^ *+' conftest.er1 >conftest.err
31737 rm -f conftest.er1
31738 cat conftest.err >&5
31739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31740 (exit $ac_status); } && {
31741 test -z "$ac_c_werror_flag" ||
31742 test ! -s conftest.err
31743 } && test -s conftest.$ac_objext; then
31744 ac_cv_have_decl_gtk_icon_size_lookup=yes
31745 else
31746 echo "$as_me: failed program was:" >&5
31747 sed 's/^/| /' conftest.$ac_ext >&5
31748
31749 ac_cv_have_decl_gtk_icon_size_lookup=no
31750 fi
31751
31752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31753 fi
31754 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
31755 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6; }
31756 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
31757
31758 cat >>confdefs.h <<_ACEOF
31759 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
31760 _ACEOF
31761
31762
31763 else
31764 cat >>confdefs.h <<_ACEOF
31765 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
31766 _ACEOF
31767
31768 cat >>confdefs.h <<\_ACEOF
31769 #define NEED_GTK_ICON_SIZE_LOOKUP 1
31770 _ACEOF
31771
31772 fi
31773
31774
31775
31776
31777 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
31778 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
31779 cat >conftest.$ac_ext <<_ACEOF
31780 /* confdefs.h. */
31781 _ACEOF
31782 cat confdefs.h >>conftest.$ac_ext
31783 cat >>conftest.$ac_ext <<_ACEOF
31784 /* end confdefs.h. */
31785
31786 #include <gtk/gtk.h>
31787
31788 int
31789 main ()
31790 {
31791
31792 #if !GTK_CHECK_VERSION(2,10,0)
31793 Not GTK+ 2.10
31794 #endif
31795
31796 ;
31797 return 0;
31798 }
31799 _ACEOF
31800 rm -f conftest.$ac_objext
31801 if { (ac_try="$ac_compile"
31802 case "(($ac_try" in
31803 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31804 *) ac_try_echo=$ac_try;;
31805 esac
31806 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31807 (eval "$ac_compile") 2>conftest.er1
31808 ac_status=$?
31809 grep -v '^ *+' conftest.er1 >conftest.err
31810 rm -f conftest.er1
31811 cat conftest.err >&5
31812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31813 (exit $ac_status); } && {
31814 test -z "$ac_c_werror_flag" ||
31815 test ! -s conftest.err
31816 } && test -s conftest.$ac_objext; then
31817
31818 cat >>confdefs.h <<\_ACEOF
31819 #define __WXGTK210__ 1
31820 _ACEOF
31821
31822 cat >>confdefs.h <<\_ACEOF
31823 #define __WXGTK26__ 1
31824 _ACEOF
31825
31826 { echo "$as_me:$LINENO: result: yes" >&5
31827 echo "${ECHO_T}yes" >&6; }
31828 ac_wxgtk210=1
31829
31830 else
31831 echo "$as_me: failed program was:" >&5
31832 sed 's/^/| /' conftest.$ac_ext >&5
31833
31834
31835 { echo "$as_me:$LINENO: result: no" >&5
31836 echo "${ECHO_T}no" >&6; }
31837 ac_wxgtk210=0
31838
31839 fi
31840
31841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31842
31843 if test "$ac_wxgtk210" = 0; then
31844 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
31845 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
31846 cat >conftest.$ac_ext <<_ACEOF
31847 /* confdefs.h. */
31848 _ACEOF
31849 cat confdefs.h >>conftest.$ac_ext
31850 cat >>conftest.$ac_ext <<_ACEOF
31851 /* end confdefs.h. */
31852
31853 #include <gtk/gtk.h>
31854
31855 int
31856 main ()
31857 {
31858
31859 #if !GTK_CHECK_VERSION(2,6,0)
31860 Not GTK+ 2.6
31861 #endif
31862
31863 ;
31864 return 0;
31865 }
31866 _ACEOF
31867 rm -f conftest.$ac_objext
31868 if { (ac_try="$ac_compile"
31869 case "(($ac_try" in
31870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31871 *) ac_try_echo=$ac_try;;
31872 esac
31873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31874 (eval "$ac_compile") 2>conftest.er1
31875 ac_status=$?
31876 grep -v '^ *+' conftest.er1 >conftest.err
31877 rm -f conftest.er1
31878 cat conftest.err >&5
31879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31880 (exit $ac_status); } && {
31881 test -z "$ac_c_werror_flag" ||
31882 test ! -s conftest.err
31883 } && test -s conftest.$ac_objext; then
31884
31885 cat >>confdefs.h <<\_ACEOF
31886 #define __WXGTK26__ 1
31887 _ACEOF
31888
31889 { echo "$as_me:$LINENO: result: yes" >&5
31890 echo "${ECHO_T}yes" >&6; }
31891 ac_wxgtk26=1
31892
31893 else
31894 echo "$as_me: failed program was:" >&5
31895 sed 's/^/| /' conftest.$ac_ext >&5
31896
31897
31898 { echo "$as_me:$LINENO: result: no" >&5
31899 echo "${ECHO_T}no" >&6; }
31900 ac_wxgtk26=0
31901
31902 fi
31903
31904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31905 fi
31906
31907 CFLAGS="$save_CFLAGS"
31908 LIBS="$save_LIBS"
31909 else
31910 if test "$wxUSE_UNICODE" = "yes"; then
31911 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
31912 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
31913 wxUSE_UNICODE=no
31914 fi
31915
31916 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
31917 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
31918 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
31919 echo $ECHO_N "(cached) $ECHO_C" >&6
31920 else
31921 ac_check_lib_save_LIBS=$LIBS
31922 LIBS="-lgdk $LIBS"
31923 cat >conftest.$ac_ext <<_ACEOF
31924 /* confdefs.h. */
31925 _ACEOF
31926 cat confdefs.h >>conftest.$ac_ext
31927 cat >>conftest.$ac_ext <<_ACEOF
31928 /* end confdefs.h. */
31929
31930 /* Override any GCC internal prototype to avoid an error.
31931 Use char because int might match the return type of a GCC
31932 builtin and then its argument prototype would still apply. */
31933 #ifdef __cplusplus
31934 extern "C"
31935 #endif
31936 char gdk_im_open ();
31937 int
31938 main ()
31939 {
31940 return gdk_im_open ();
31941 ;
31942 return 0;
31943 }
31944 _ACEOF
31945 rm -f conftest.$ac_objext conftest$ac_exeext
31946 if { (ac_try="$ac_link"
31947 case "(($ac_try" in
31948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31949 *) ac_try_echo=$ac_try;;
31950 esac
31951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31952 (eval "$ac_link") 2>conftest.er1
31953 ac_status=$?
31954 grep -v '^ *+' conftest.er1 >conftest.err
31955 rm -f conftest.er1
31956 cat conftest.err >&5
31957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31958 (exit $ac_status); } && {
31959 test -z "$ac_c_werror_flag" ||
31960 test ! -s conftest.err
31961 } && test -s conftest$ac_exeext &&
31962 $as_test_x conftest$ac_exeext; then
31963 ac_cv_lib_gdk_gdk_im_open=yes
31964 else
31965 echo "$as_me: failed program was:" >&5
31966 sed 's/^/| /' conftest.$ac_ext >&5
31967
31968 ac_cv_lib_gdk_gdk_im_open=no
31969 fi
31970
31971 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31972 conftest$ac_exeext conftest.$ac_ext
31973 LIBS=$ac_check_lib_save_LIBS
31974 fi
31975 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
31976 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
31977 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
31978 cat >>confdefs.h <<\_ACEOF
31979 #define HAVE_XIM 1
31980 _ACEOF
31981
31982 fi
31983
31984
31985 if test "$USE_DARWIN" != 1; then
31986
31987 for ac_func in poll
31988 do
31989 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31990 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31991 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31992 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31993 echo $ECHO_N "(cached) $ECHO_C" >&6
31994 else
31995 cat >conftest.$ac_ext <<_ACEOF
31996 /* confdefs.h. */
31997 _ACEOF
31998 cat confdefs.h >>conftest.$ac_ext
31999 cat >>conftest.$ac_ext <<_ACEOF
32000 /* end confdefs.h. */
32001 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32002 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32003 #define $ac_func innocuous_$ac_func
32004
32005 /* System header to define __stub macros and hopefully few prototypes,
32006 which can conflict with char $ac_func (); below.
32007 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32008 <limits.h> exists even on freestanding compilers. */
32009
32010 #ifdef __STDC__
32011 # include <limits.h>
32012 #else
32013 # include <assert.h>
32014 #endif
32015
32016 #undef $ac_func
32017
32018 /* Override any GCC internal prototype to avoid an error.
32019 Use char because int might match the return type of a GCC
32020 builtin and then its argument prototype would still apply. */
32021 #ifdef __cplusplus
32022 extern "C"
32023 #endif
32024 char $ac_func ();
32025 /* The GNU C library defines this for functions which it implements
32026 to always fail with ENOSYS. Some functions are actually named
32027 something starting with __ and the normal name is an alias. */
32028 #if defined __stub_$ac_func || defined __stub___$ac_func
32029 choke me
32030 #endif
32031
32032 int
32033 main ()
32034 {
32035 return $ac_func ();
32036 ;
32037 return 0;
32038 }
32039 _ACEOF
32040 rm -f conftest.$ac_objext conftest$ac_exeext
32041 if { (ac_try="$ac_link"
32042 case "(($ac_try" in
32043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32044 *) ac_try_echo=$ac_try;;
32045 esac
32046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32047 (eval "$ac_link") 2>conftest.er1
32048 ac_status=$?
32049 grep -v '^ *+' conftest.er1 >conftest.err
32050 rm -f conftest.er1
32051 cat conftest.err >&5
32052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32053 (exit $ac_status); } && {
32054 test -z "$ac_c_werror_flag" ||
32055 test ! -s conftest.err
32056 } && test -s conftest$ac_exeext &&
32057 $as_test_x conftest$ac_exeext; then
32058 eval "$as_ac_var=yes"
32059 else
32060 echo "$as_me: failed program was:" >&5
32061 sed 's/^/| /' conftest.$ac_ext >&5
32062
32063 eval "$as_ac_var=no"
32064 fi
32065
32066 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32067 conftest$ac_exeext conftest.$ac_ext
32068 fi
32069 ac_res=`eval echo '${'$as_ac_var'}'`
32070 { echo "$as_me:$LINENO: result: $ac_res" >&5
32071 echo "${ECHO_T}$ac_res" >&6; }
32072 if test `eval echo '${'$as_ac_var'}'` = yes; then
32073 cat >>confdefs.h <<_ACEOF
32074 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32075 _ACEOF
32076
32077 fi
32078 done
32079
32080 fi
32081 fi
32082
32083 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
32084 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
32085
32086 AFMINSTALL=afminstall
32087 TOOLKIT=GTK
32088 GUIDIST=GTK_DIST
32089
32090 if test "$wxUSE_GPE" = "yes"; then
32091 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
32092 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
32093
32094 ac_find_libraries=
32095 for ac_dir in $SEARCH_LIB;
32096 do
32097 for ac_extension in a so sl dylib dll.a; do
32098 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
32099 ac_find_libraries=$ac_dir
32100 break 2
32101 fi
32102 done
32103 done
32104
32105 if test "$ac_find_libraries" != "" ; then
32106
32107 if test "$ac_find_libraries" = "default location"; then
32108 ac_path_to_link=""
32109 else
32110 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
32111 result=$?
32112 if test $result = 0; then
32113 ac_path_to_link=""
32114 else
32115 ac_path_to_link=" -L$ac_find_libraries"
32116 fi
32117 fi
32118
32119 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
32120 WXGPE=1
32121 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32122 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32123 else
32124 { echo "$as_me:$LINENO: result: not found" >&5
32125 echo "${ECHO_T}not found" >&6; }
32126 fi
32127
32128 fi
32129 fi
32130
32131 if test "$wxUSE_MGL" = 1; then
32132 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
32133 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
32134 if test "x$MGL_ROOT" = x ; then
32135 { echo "$as_me:$LINENO: result: not found" >&5
32136 echo "${ECHO_T}not found" >&6; }
32137 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
32138 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
32139 { (exit 1); exit 1; }; }
32140 else
32141 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
32142 echo "${ECHO_T}$MGL_ROOT" >&6; }
32143 fi
32144
32145 { echo "$as_me:$LINENO: checking for libmgl location" >&5
32146 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
32147 case "${host}" in
32148 *-*-linux* )
32149 if test "x$wxUSE_SHARED" = xyes ; then
32150 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
32151 else
32152 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
32153 fi
32154 ;;
32155 *-pc-msdosdjgpp )
32156 mgl_os_candidates="dos32/dj2"
32157 ;;
32158 *)
32159 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
32160 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
32161 { (exit 1); exit 1; }; }
32162 esac
32163
32164 mgl_lib_type=""
32165 mgl_os=""
32166
32167 for mgl_os_i in $mgl_os_candidates ; do
32168 if test "x$mgl_os" = x ; then
32169 if test "$wxUSE_DEBUG_FLAG" = yes ; then
32170 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
32171 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
32172 mgl_lib_type=debug
32173 mgl_os=$mgl_os_i
32174 fi
32175 fi
32176 if test "x$mgl_lib_type" = x ; then
32177 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
32178 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
32179 mgl_lib_type=release
32180 mgl_os=$mgl_os_i
32181 fi
32182 fi
32183 fi
32184 done
32185
32186 if test "x$mgl_os" = x ; then
32187 { echo "$as_me:$LINENO: result: not found" >&5
32188 echo "${ECHO_T}not found" >&6; }
32189 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
32190 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
32191 { (exit 1); exit 1; }; }
32192 fi
32193 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
32194 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
32195
32196 wxUSE_UNIVERSAL="yes"
32197
32198 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
32199 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
32200
32201 AFMINSTALL=afminstall
32202 TOOLKIT=MGL
32203 GUIDIST=MGL_DIST
32204 fi
32205
32206 if test "$wxUSE_DFB" = 1; then
32207
32208
32209 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
32210 if test -n "$ac_tool_prefix"; then
32211 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
32212 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
32213 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32214 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32215 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
32216 echo $ECHO_N "(cached) $ECHO_C" >&6
32217 else
32218 case $PKG_CONFIG in
32219 [\\/]* | ?:[\\/]*)
32220 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
32221 ;;
32222 *)
32223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32224 for as_dir in $PATH
32225 do
32226 IFS=$as_save_IFS
32227 test -z "$as_dir" && as_dir=.
32228 for ac_exec_ext in '' $ac_executable_extensions; do
32229 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32230 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32231 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32232 break 2
32233 fi
32234 done
32235 done
32236 IFS=$as_save_IFS
32237
32238 ;;
32239 esac
32240 fi
32241 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
32242 if test -n "$PKG_CONFIG"; then
32243 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
32244 echo "${ECHO_T}$PKG_CONFIG" >&6; }
32245 else
32246 { echo "$as_me:$LINENO: result: no" >&5
32247 echo "${ECHO_T}no" >&6; }
32248 fi
32249
32250
32251 fi
32252 if test -z "$ac_cv_path_PKG_CONFIG"; then
32253 ac_pt_PKG_CONFIG=$PKG_CONFIG
32254 # Extract the first word of "pkg-config", so it can be a program name with args.
32255 set dummy pkg-config; ac_word=$2
32256 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32257 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32258 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
32259 echo $ECHO_N "(cached) $ECHO_C" >&6
32260 else
32261 case $ac_pt_PKG_CONFIG in
32262 [\\/]* | ?:[\\/]*)
32263 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
32264 ;;
32265 *)
32266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32267 for as_dir in $PATH
32268 do
32269 IFS=$as_save_IFS
32270 test -z "$as_dir" && as_dir=.
32271 for ac_exec_ext in '' $ac_executable_extensions; do
32272 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32273 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32274 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32275 break 2
32276 fi
32277 done
32278 done
32279 IFS=$as_save_IFS
32280
32281 ;;
32282 esac
32283 fi
32284 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
32285 if test -n "$ac_pt_PKG_CONFIG"; then
32286 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
32287 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
32288 else
32289 { echo "$as_me:$LINENO: result: no" >&5
32290 echo "${ECHO_T}no" >&6; }
32291 fi
32292
32293 if test "x$ac_pt_PKG_CONFIG" = x; then
32294 PKG_CONFIG=""
32295 else
32296 case $cross_compiling:$ac_tool_warned in
32297 yes:)
32298 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
32299 whose name does not start with the host triplet. If you think this
32300 configuration is useful to you, please write to autoconf@gnu.org." >&5
32301 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
32302 whose name does not start with the host triplet. If you think this
32303 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
32304 ac_tool_warned=yes ;;
32305 esac
32306 PKG_CONFIG=$ac_pt_PKG_CONFIG
32307 fi
32308 else
32309 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
32310 fi
32311
32312 fi
32313 if test -n "$PKG_CONFIG"; then
32314 _pkg_min_version=0.9.0
32315 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
32316 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
32317 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
32318 { echo "$as_me:$LINENO: result: yes" >&5
32319 echo "${ECHO_T}yes" >&6; }
32320 else
32321 { echo "$as_me:$LINENO: result: no" >&5
32322 echo "${ECHO_T}no" >&6; }
32323 PKG_CONFIG=""
32324 fi
32325
32326 fi
32327
32328
32329 pkg_failed=no
32330 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
32331 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
32332
32333 if test -n "$PKG_CONFIG"; then
32334 if test -n "$DIRECTFB_CFLAGS"; then
32335 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
32336 else
32337 if test -n "$PKG_CONFIG" && \
32338 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
32339 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
32340 ac_status=$?
32341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32342 (exit $ac_status); }; then
32343 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
32344 else
32345 pkg_failed=yes
32346 fi
32347 fi
32348 else
32349 pkg_failed=untried
32350 fi
32351 if test -n "$PKG_CONFIG"; then
32352 if test -n "$DIRECTFB_LIBS"; then
32353 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
32354 else
32355 if test -n "$PKG_CONFIG" && \
32356 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
32357 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
32358 ac_status=$?
32359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32360 (exit $ac_status); }; then
32361 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
32362 else
32363 pkg_failed=yes
32364 fi
32365 fi
32366 else
32367 pkg_failed=untried
32368 fi
32369
32370
32371
32372 if test $pkg_failed = yes; then
32373
32374 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32375 _pkg_short_errors_supported=yes
32376 else
32377 _pkg_short_errors_supported=no
32378 fi
32379 if test $_pkg_short_errors_supported = yes; then
32380 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
32381 else
32382 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
32383 fi
32384 # Put the nasty error message in config.log where it belongs
32385 echo "$DIRECTFB_PKG_ERRORS" >&5
32386
32387
32388 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
32389 echo "$as_me: error: DirectFB not found." >&2;}
32390 { (exit 1); exit 1; }; }
32391
32392
32393 elif test $pkg_failed = untried; then
32394
32395 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
32396 echo "$as_me: error: DirectFB not found." >&2;}
32397 { (exit 1); exit 1; }; }
32398
32399
32400 else
32401 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
32402 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
32403 { echo "$as_me:$LINENO: result: yes" >&5
32404 echo "${ECHO_T}yes" >&6; }
32405
32406 wxUSE_UNIVERSAL="yes"
32407 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
32408 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
32409 TOOLKIT=DFB
32410 GUIDIST=DFB_DIST
32411
32412 fi
32413 fi
32414
32415 if test "$wxUSE_MICROWIN" = 1; then
32416 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
32417 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
32418 if test "x$MICROWINDOWS" = x ; then
32419 { echo "$as_me:$LINENO: result: not found" >&5
32420 echo "${ECHO_T}not found" >&6; }
32421 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
32422 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
32423 { (exit 1); exit 1; }; }
32424 else
32425 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
32426 echo "${ECHO_T}$MICROWINDOWS" >&6; }
32427 fi
32428
32429 if test -f $MICROWINDOWS/lib/libmwin.a; then
32430 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
32431 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
32432 else
32433 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
32434 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
32435 { (exit 1); exit 1; }; }
32436 fi
32437
32438 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
32439 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
32440
32441 wxUSE_UNIVERSAL="yes"
32442
32443 AFMINSTALL=afminstall
32444 TOOLKIT=MICROWIN
32445 GUIDIST=MICROWIN_DIST
32446
32447 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
32448 fi
32449
32450 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
32451 { echo "$as_me:$LINENO: checking for X" >&5
32452 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
32453
32454
32455 # Check whether --with-x was given.
32456 if test "${with_x+set}" = set; then
32457 withval=$with_x;
32458 fi
32459
32460 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
32461 if test "x$with_x" = xno; then
32462 # The user explicitly disabled X.
32463 have_x=disabled
32464 else
32465 case $x_includes,$x_libraries in #(
32466 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
32467 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
32468 { (exit 1); exit 1; }; };; #(
32469 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
32470 echo $ECHO_N "(cached) $ECHO_C" >&6
32471 else
32472 # One or both of the vars are not set, and there is no cached value.
32473 ac_x_includes=no ac_x_libraries=no
32474 rm -f -r conftest.dir
32475 if mkdir conftest.dir; then
32476 cd conftest.dir
32477 cat >Imakefile <<'_ACEOF'
32478 incroot:
32479 @echo incroot='${INCROOT}'
32480 usrlibdir:
32481 @echo usrlibdir='${USRLIBDIR}'
32482 libdir:
32483 @echo libdir='${LIBDIR}'
32484 _ACEOF
32485 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
32486 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
32487 for ac_var in incroot usrlibdir libdir; do
32488 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
32489 done
32490 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
32491 for ac_extension in a so sl; do
32492 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
32493 test -f "$ac_im_libdir/libX11.$ac_extension"; then
32494 ac_im_usrlibdir=$ac_im_libdir; break
32495 fi
32496 done
32497 # Screen out bogus values from the imake configuration. They are
32498 # bogus both because they are the default anyway, and because
32499 # using them would break gcc on systems where it needs fixed includes.
32500 case $ac_im_incroot in
32501 /usr/include) ac_x_includes= ;;
32502 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
32503 esac
32504 case $ac_im_usrlibdir in
32505 /usr/lib | /lib) ;;
32506 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
32507 esac
32508 fi
32509 cd ..
32510 rm -f -r conftest.dir
32511 fi
32512
32513 # Standard set of common directories for X headers.
32514 # Check X11 before X11Rn because it is often a symlink to the current release.
32515 ac_x_header_dirs='
32516 /usr/X11/include
32517 /usr/X11R6/include
32518 /usr/X11R5/include
32519 /usr/X11R4/include
32520
32521 /usr/include/X11
32522 /usr/include/X11R6
32523 /usr/include/X11R5
32524 /usr/include/X11R4
32525
32526 /usr/local/X11/include
32527 /usr/local/X11R6/include
32528 /usr/local/X11R5/include
32529 /usr/local/X11R4/include
32530
32531 /usr/local/include/X11
32532 /usr/local/include/X11R6
32533 /usr/local/include/X11R5
32534 /usr/local/include/X11R4
32535
32536 /usr/X386/include
32537 /usr/x386/include
32538 /usr/XFree86/include/X11
32539
32540 /usr/include
32541 /usr/local/include
32542 /usr/unsupported/include
32543 /usr/athena/include
32544 /usr/local/x11r5/include
32545 /usr/lpp/Xamples/include
32546
32547 /usr/openwin/include
32548 /usr/openwin/share/include'
32549
32550 if test "$ac_x_includes" = no; then
32551 # Guess where to find include files, by looking for Xlib.h.
32552 # First, try using that file with no special directory specified.
32553 cat >conftest.$ac_ext <<_ACEOF
32554 /* confdefs.h. */
32555 _ACEOF
32556 cat confdefs.h >>conftest.$ac_ext
32557 cat >>conftest.$ac_ext <<_ACEOF
32558 /* end confdefs.h. */
32559 #include <X11/Xlib.h>
32560 _ACEOF
32561 if { (ac_try="$ac_cpp conftest.$ac_ext"
32562 case "(($ac_try" in
32563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32564 *) ac_try_echo=$ac_try;;
32565 esac
32566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32567 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
32568 ac_status=$?
32569 grep -v '^ *+' conftest.er1 >conftest.err
32570 rm -f conftest.er1
32571 cat conftest.err >&5
32572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32573 (exit $ac_status); } >/dev/null && {
32574 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
32575 test ! -s conftest.err
32576 }; then
32577 # We can compile using X headers with no special include directory.
32578 ac_x_includes=
32579 else
32580 echo "$as_me: failed program was:" >&5
32581 sed 's/^/| /' conftest.$ac_ext >&5
32582
32583 for ac_dir in $ac_x_header_dirs; do
32584 if test -r "$ac_dir/X11/Xlib.h"; then
32585 ac_x_includes=$ac_dir
32586 break
32587 fi
32588 done
32589 fi
32590
32591 rm -f conftest.err conftest.$ac_ext
32592 fi # $ac_x_includes = no
32593
32594 if test "$ac_x_libraries" = no; then
32595 # Check for the libraries.
32596 # See if we find them without any special options.
32597 # Don't add to $LIBS permanently.
32598 ac_save_LIBS=$LIBS
32599 LIBS="-lX11 $LIBS"
32600 cat >conftest.$ac_ext <<_ACEOF
32601 /* confdefs.h. */
32602 _ACEOF
32603 cat confdefs.h >>conftest.$ac_ext
32604 cat >>conftest.$ac_ext <<_ACEOF
32605 /* end confdefs.h. */
32606 #include <X11/Xlib.h>
32607 int
32608 main ()
32609 {
32610 XrmInitialize ()
32611 ;
32612 return 0;
32613 }
32614 _ACEOF
32615 rm -f conftest.$ac_objext conftest$ac_exeext
32616 if { (ac_try="$ac_link"
32617 case "(($ac_try" in
32618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32619 *) ac_try_echo=$ac_try;;
32620 esac
32621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32622 (eval "$ac_link") 2>conftest.er1
32623 ac_status=$?
32624 grep -v '^ *+' conftest.er1 >conftest.err
32625 rm -f conftest.er1
32626 cat conftest.err >&5
32627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32628 (exit $ac_status); } && {
32629 test -z "$ac_c_werror_flag" ||
32630 test ! -s conftest.err
32631 } && test -s conftest$ac_exeext &&
32632 $as_test_x conftest$ac_exeext; then
32633 LIBS=$ac_save_LIBS
32634 # We can link X programs with no special library path.
32635 ac_x_libraries=
32636 else
32637 echo "$as_me: failed program was:" >&5
32638 sed 's/^/| /' conftest.$ac_ext >&5
32639
32640 LIBS=$ac_save_LIBS
32641 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
32642 do
32643 # Don't even attempt the hair of trying to link an X program!
32644 for ac_extension in a so sl; do
32645 if test -r "$ac_dir/libX11.$ac_extension"; then
32646 ac_x_libraries=$ac_dir
32647 break 2
32648 fi
32649 done
32650 done
32651 fi
32652
32653 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32654 conftest$ac_exeext conftest.$ac_ext
32655 fi # $ac_x_libraries = no
32656
32657 case $ac_x_includes,$ac_x_libraries in #(
32658 no,* | *,no | *\'*)
32659 # Didn't find X, or a directory has "'" in its name.
32660 ac_cv_have_x="have_x=no";; #(
32661 *)
32662 # Record where we found X for the cache.
32663 ac_cv_have_x="have_x=yes\
32664 ac_x_includes='$ac_x_includes'\
32665 ac_x_libraries='$ac_x_libraries'"
32666 esac
32667 fi
32668 ;; #(
32669 *) have_x=yes;;
32670 esac
32671 eval "$ac_cv_have_x"
32672 fi # $with_x != no
32673
32674 if test "$have_x" != yes; then
32675 { echo "$as_me:$LINENO: result: $have_x" >&5
32676 echo "${ECHO_T}$have_x" >&6; }
32677 no_x=yes
32678 else
32679 # If each of the values was on the command line, it overrides each guess.
32680 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
32681 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
32682 # Update the cache value to reflect the command line values.
32683 ac_cv_have_x="have_x=yes\
32684 ac_x_includes='$x_includes'\
32685 ac_x_libraries='$x_libraries'"
32686 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
32687 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
32688 fi
32689
32690 if test "$no_x" = yes; then
32691 # Not all programs may use this symbol, but it does not hurt to define it.
32692
32693 cat >>confdefs.h <<\_ACEOF
32694 #define X_DISPLAY_MISSING 1
32695 _ACEOF
32696
32697 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
32698 else
32699 if test -n "$x_includes"; then
32700 X_CFLAGS="$X_CFLAGS -I$x_includes"
32701 fi
32702
32703 # It would also be nice to do this for all -L options, not just this one.
32704 if test -n "$x_libraries"; then
32705 X_LIBS="$X_LIBS -L$x_libraries"
32706 # For Solaris; some versions of Sun CC require a space after -R and
32707 # others require no space. Words are not sufficient . . . .
32708 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
32709 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
32710 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
32711 ac_xsave_c_werror_flag=$ac_c_werror_flag
32712 ac_c_werror_flag=yes
32713 cat >conftest.$ac_ext <<_ACEOF
32714 /* confdefs.h. */
32715 _ACEOF
32716 cat confdefs.h >>conftest.$ac_ext
32717 cat >>conftest.$ac_ext <<_ACEOF
32718 /* end confdefs.h. */
32719
32720 int
32721 main ()
32722 {
32723
32724 ;
32725 return 0;
32726 }
32727 _ACEOF
32728 rm -f conftest.$ac_objext conftest$ac_exeext
32729 if { (ac_try="$ac_link"
32730 case "(($ac_try" in
32731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32732 *) ac_try_echo=$ac_try;;
32733 esac
32734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32735 (eval "$ac_link") 2>conftest.er1
32736 ac_status=$?
32737 grep -v '^ *+' conftest.er1 >conftest.err
32738 rm -f conftest.er1
32739 cat conftest.err >&5
32740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32741 (exit $ac_status); } && {
32742 test -z "$ac_c_werror_flag" ||
32743 test ! -s conftest.err
32744 } && test -s conftest$ac_exeext &&
32745 $as_test_x conftest$ac_exeext; then
32746 { echo "$as_me:$LINENO: result: no" >&5
32747 echo "${ECHO_T}no" >&6; }
32748 X_LIBS="$X_LIBS -R$x_libraries"
32749 else
32750 echo "$as_me: failed program was:" >&5
32751 sed 's/^/| /' conftest.$ac_ext >&5
32752
32753 LIBS="$ac_xsave_LIBS -R $x_libraries"
32754 cat >conftest.$ac_ext <<_ACEOF
32755 /* confdefs.h. */
32756 _ACEOF
32757 cat confdefs.h >>conftest.$ac_ext
32758 cat >>conftest.$ac_ext <<_ACEOF
32759 /* end confdefs.h. */
32760
32761 int
32762 main ()
32763 {
32764
32765 ;
32766 return 0;
32767 }
32768 _ACEOF
32769 rm -f conftest.$ac_objext conftest$ac_exeext
32770 if { (ac_try="$ac_link"
32771 case "(($ac_try" in
32772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32773 *) ac_try_echo=$ac_try;;
32774 esac
32775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32776 (eval "$ac_link") 2>conftest.er1
32777 ac_status=$?
32778 grep -v '^ *+' conftest.er1 >conftest.err
32779 rm -f conftest.er1
32780 cat conftest.err >&5
32781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32782 (exit $ac_status); } && {
32783 test -z "$ac_c_werror_flag" ||
32784 test ! -s conftest.err
32785 } && test -s conftest$ac_exeext &&
32786 $as_test_x conftest$ac_exeext; then
32787 { echo "$as_me:$LINENO: result: yes" >&5
32788 echo "${ECHO_T}yes" >&6; }
32789 X_LIBS="$X_LIBS -R $x_libraries"
32790 else
32791 echo "$as_me: failed program was:" >&5
32792 sed 's/^/| /' conftest.$ac_ext >&5
32793
32794 { echo "$as_me:$LINENO: result: neither works" >&5
32795 echo "${ECHO_T}neither works" >&6; }
32796 fi
32797
32798 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32799 conftest$ac_exeext conftest.$ac_ext
32800 fi
32801
32802 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32803 conftest$ac_exeext conftest.$ac_ext
32804 ac_c_werror_flag=$ac_xsave_c_werror_flag
32805 LIBS=$ac_xsave_LIBS
32806 fi
32807
32808 # Check for system-dependent libraries X programs must link with.
32809 # Do this before checking for the system-independent R6 libraries
32810 # (-lICE), since we may need -lsocket or whatever for X linking.
32811
32812 if test "$ISC" = yes; then
32813 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
32814 else
32815 # Martyn Johnson says this is needed for Ultrix, if the X
32816 # libraries were built with DECnet support. And Karl Berry says
32817 # the Alpha needs dnet_stub (dnet does not exist).
32818 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
32819 cat >conftest.$ac_ext <<_ACEOF
32820 /* confdefs.h. */
32821 _ACEOF
32822 cat confdefs.h >>conftest.$ac_ext
32823 cat >>conftest.$ac_ext <<_ACEOF
32824 /* end confdefs.h. */
32825
32826 /* Override any GCC internal prototype to avoid an error.
32827 Use char because int might match the return type of a GCC
32828 builtin and then its argument prototype would still apply. */
32829 #ifdef __cplusplus
32830 extern "C"
32831 #endif
32832 char XOpenDisplay ();
32833 int
32834 main ()
32835 {
32836 return XOpenDisplay ();
32837 ;
32838 return 0;
32839 }
32840 _ACEOF
32841 rm -f conftest.$ac_objext conftest$ac_exeext
32842 if { (ac_try="$ac_link"
32843 case "(($ac_try" in
32844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32845 *) ac_try_echo=$ac_try;;
32846 esac
32847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32848 (eval "$ac_link") 2>conftest.er1
32849 ac_status=$?
32850 grep -v '^ *+' conftest.er1 >conftest.err
32851 rm -f conftest.er1
32852 cat conftest.err >&5
32853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32854 (exit $ac_status); } && {
32855 test -z "$ac_c_werror_flag" ||
32856 test ! -s conftest.err
32857 } && test -s conftest$ac_exeext &&
32858 $as_test_x conftest$ac_exeext; then
32859 :
32860 else
32861 echo "$as_me: failed program was:" >&5
32862 sed 's/^/| /' conftest.$ac_ext >&5
32863
32864 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
32865 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
32866 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
32867 echo $ECHO_N "(cached) $ECHO_C" >&6
32868 else
32869 ac_check_lib_save_LIBS=$LIBS
32870 LIBS="-ldnet $LIBS"
32871 cat >conftest.$ac_ext <<_ACEOF
32872 /* confdefs.h. */
32873 _ACEOF
32874 cat confdefs.h >>conftest.$ac_ext
32875 cat >>conftest.$ac_ext <<_ACEOF
32876 /* end confdefs.h. */
32877
32878 /* Override any GCC internal prototype to avoid an error.
32879 Use char because int might match the return type of a GCC
32880 builtin and then its argument prototype would still apply. */
32881 #ifdef __cplusplus
32882 extern "C"
32883 #endif
32884 char dnet_ntoa ();
32885 int
32886 main ()
32887 {
32888 return dnet_ntoa ();
32889 ;
32890 return 0;
32891 }
32892 _ACEOF
32893 rm -f conftest.$ac_objext conftest$ac_exeext
32894 if { (ac_try="$ac_link"
32895 case "(($ac_try" in
32896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32897 *) ac_try_echo=$ac_try;;
32898 esac
32899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32900 (eval "$ac_link") 2>conftest.er1
32901 ac_status=$?
32902 grep -v '^ *+' conftest.er1 >conftest.err
32903 rm -f conftest.er1
32904 cat conftest.err >&5
32905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32906 (exit $ac_status); } && {
32907 test -z "$ac_c_werror_flag" ||
32908 test ! -s conftest.err
32909 } && test -s conftest$ac_exeext &&
32910 $as_test_x conftest$ac_exeext; then
32911 ac_cv_lib_dnet_dnet_ntoa=yes
32912 else
32913 echo "$as_me: failed program was:" >&5
32914 sed 's/^/| /' conftest.$ac_ext >&5
32915
32916 ac_cv_lib_dnet_dnet_ntoa=no
32917 fi
32918
32919 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32920 conftest$ac_exeext conftest.$ac_ext
32921 LIBS=$ac_check_lib_save_LIBS
32922 fi
32923 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
32924 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
32925 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
32926 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
32927 fi
32928
32929 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
32930 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
32931 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
32932 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
32933 echo $ECHO_N "(cached) $ECHO_C" >&6
32934 else
32935 ac_check_lib_save_LIBS=$LIBS
32936 LIBS="-ldnet_stub $LIBS"
32937 cat >conftest.$ac_ext <<_ACEOF
32938 /* confdefs.h. */
32939 _ACEOF
32940 cat confdefs.h >>conftest.$ac_ext
32941 cat >>conftest.$ac_ext <<_ACEOF
32942 /* end confdefs.h. */
32943
32944 /* Override any GCC internal prototype to avoid an error.
32945 Use char because int might match the return type of a GCC
32946 builtin and then its argument prototype would still apply. */
32947 #ifdef __cplusplus
32948 extern "C"
32949 #endif
32950 char dnet_ntoa ();
32951 int
32952 main ()
32953 {
32954 return dnet_ntoa ();
32955 ;
32956 return 0;
32957 }
32958 _ACEOF
32959 rm -f conftest.$ac_objext conftest$ac_exeext
32960 if { (ac_try="$ac_link"
32961 case "(($ac_try" in
32962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32963 *) ac_try_echo=$ac_try;;
32964 esac
32965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32966 (eval "$ac_link") 2>conftest.er1
32967 ac_status=$?
32968 grep -v '^ *+' conftest.er1 >conftest.err
32969 rm -f conftest.er1
32970 cat conftest.err >&5
32971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32972 (exit $ac_status); } && {
32973 test -z "$ac_c_werror_flag" ||
32974 test ! -s conftest.err
32975 } && test -s conftest$ac_exeext &&
32976 $as_test_x conftest$ac_exeext; then
32977 ac_cv_lib_dnet_stub_dnet_ntoa=yes
32978 else
32979 echo "$as_me: failed program was:" >&5
32980 sed 's/^/| /' conftest.$ac_ext >&5
32981
32982 ac_cv_lib_dnet_stub_dnet_ntoa=no
32983 fi
32984
32985 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32986 conftest$ac_exeext conftest.$ac_ext
32987 LIBS=$ac_check_lib_save_LIBS
32988 fi
32989 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
32990 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
32991 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
32992 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
32993 fi
32994
32995 fi
32996 fi
32997
32998 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32999 conftest$ac_exeext conftest.$ac_ext
33000 LIBS="$ac_xsave_LIBS"
33001
33002 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
33003 # to get the SysV transport functions.
33004 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
33005 # needs -lnsl.
33006 # The nsl library prevents programs from opening the X display
33007 # on Irix 5.2, according to T.E. Dickey.
33008 # The functions gethostbyname, getservbyname, and inet_addr are
33009 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
33010 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
33011 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
33012 if test "${ac_cv_func_gethostbyname+set}" = set; then
33013 echo $ECHO_N "(cached) $ECHO_C" >&6
33014 else
33015 cat >conftest.$ac_ext <<_ACEOF
33016 /* confdefs.h. */
33017 _ACEOF
33018 cat confdefs.h >>conftest.$ac_ext
33019 cat >>conftest.$ac_ext <<_ACEOF
33020 /* end confdefs.h. */
33021 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
33022 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33023 #define gethostbyname innocuous_gethostbyname
33024
33025 /* System header to define __stub macros and hopefully few prototypes,
33026 which can conflict with char gethostbyname (); below.
33027 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33028 <limits.h> exists even on freestanding compilers. */
33029
33030 #ifdef __STDC__
33031 # include <limits.h>
33032 #else
33033 # include <assert.h>
33034 #endif
33035
33036 #undef gethostbyname
33037
33038 /* Override any GCC internal prototype to avoid an error.
33039 Use char because int might match the return type of a GCC
33040 builtin and then its argument prototype would still apply. */
33041 #ifdef __cplusplus
33042 extern "C"
33043 #endif
33044 char gethostbyname ();
33045 /* The GNU C library defines this for functions which it implements
33046 to always fail with ENOSYS. Some functions are actually named
33047 something starting with __ and the normal name is an alias. */
33048 #if defined __stub_gethostbyname || defined __stub___gethostbyname
33049 choke me
33050 #endif
33051
33052 int
33053 main ()
33054 {
33055 return gethostbyname ();
33056 ;
33057 return 0;
33058 }
33059 _ACEOF
33060 rm -f conftest.$ac_objext conftest$ac_exeext
33061 if { (ac_try="$ac_link"
33062 case "(($ac_try" in
33063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33064 *) ac_try_echo=$ac_try;;
33065 esac
33066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33067 (eval "$ac_link") 2>conftest.er1
33068 ac_status=$?
33069 grep -v '^ *+' conftest.er1 >conftest.err
33070 rm -f conftest.er1
33071 cat conftest.err >&5
33072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33073 (exit $ac_status); } && {
33074 test -z "$ac_c_werror_flag" ||
33075 test ! -s conftest.err
33076 } && test -s conftest$ac_exeext &&
33077 $as_test_x conftest$ac_exeext; then
33078 ac_cv_func_gethostbyname=yes
33079 else
33080 echo "$as_me: failed program was:" >&5
33081 sed 's/^/| /' conftest.$ac_ext >&5
33082
33083 ac_cv_func_gethostbyname=no
33084 fi
33085
33086 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33087 conftest$ac_exeext conftest.$ac_ext
33088 fi
33089 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
33090 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
33091
33092 if test $ac_cv_func_gethostbyname = no; then
33093 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
33094 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
33095 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
33096 echo $ECHO_N "(cached) $ECHO_C" >&6
33097 else
33098 ac_check_lib_save_LIBS=$LIBS
33099 LIBS="-lnsl $LIBS"
33100 cat >conftest.$ac_ext <<_ACEOF
33101 /* confdefs.h. */
33102 _ACEOF
33103 cat confdefs.h >>conftest.$ac_ext
33104 cat >>conftest.$ac_ext <<_ACEOF
33105 /* end confdefs.h. */
33106
33107 /* Override any GCC internal prototype to avoid an error.
33108 Use char because int might match the return type of a GCC
33109 builtin and then its argument prototype would still apply. */
33110 #ifdef __cplusplus
33111 extern "C"
33112 #endif
33113 char gethostbyname ();
33114 int
33115 main ()
33116 {
33117 return gethostbyname ();
33118 ;
33119 return 0;
33120 }
33121 _ACEOF
33122 rm -f conftest.$ac_objext conftest$ac_exeext
33123 if { (ac_try="$ac_link"
33124 case "(($ac_try" in
33125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33126 *) ac_try_echo=$ac_try;;
33127 esac
33128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33129 (eval "$ac_link") 2>conftest.er1
33130 ac_status=$?
33131 grep -v '^ *+' conftest.er1 >conftest.err
33132 rm -f conftest.er1
33133 cat conftest.err >&5
33134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33135 (exit $ac_status); } && {
33136 test -z "$ac_c_werror_flag" ||
33137 test ! -s conftest.err
33138 } && test -s conftest$ac_exeext &&
33139 $as_test_x conftest$ac_exeext; then
33140 ac_cv_lib_nsl_gethostbyname=yes
33141 else
33142 echo "$as_me: failed program was:" >&5
33143 sed 's/^/| /' conftest.$ac_ext >&5
33144
33145 ac_cv_lib_nsl_gethostbyname=no
33146 fi
33147
33148 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33149 conftest$ac_exeext conftest.$ac_ext
33150 LIBS=$ac_check_lib_save_LIBS
33151 fi
33152 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
33153 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
33154 if test $ac_cv_lib_nsl_gethostbyname = yes; then
33155 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
33156 fi
33157
33158 if test $ac_cv_lib_nsl_gethostbyname = no; then
33159 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
33160 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
33161 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
33162 echo $ECHO_N "(cached) $ECHO_C" >&6
33163 else
33164 ac_check_lib_save_LIBS=$LIBS
33165 LIBS="-lbsd $LIBS"
33166 cat >conftest.$ac_ext <<_ACEOF
33167 /* confdefs.h. */
33168 _ACEOF
33169 cat confdefs.h >>conftest.$ac_ext
33170 cat >>conftest.$ac_ext <<_ACEOF
33171 /* end confdefs.h. */
33172
33173 /* Override any GCC internal prototype to avoid an error.
33174 Use char because int might match the return type of a GCC
33175 builtin and then its argument prototype would still apply. */
33176 #ifdef __cplusplus
33177 extern "C"
33178 #endif
33179 char gethostbyname ();
33180 int
33181 main ()
33182 {
33183 return gethostbyname ();
33184 ;
33185 return 0;
33186 }
33187 _ACEOF
33188 rm -f conftest.$ac_objext conftest$ac_exeext
33189 if { (ac_try="$ac_link"
33190 case "(($ac_try" in
33191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33192 *) ac_try_echo=$ac_try;;
33193 esac
33194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33195 (eval "$ac_link") 2>conftest.er1
33196 ac_status=$?
33197 grep -v '^ *+' conftest.er1 >conftest.err
33198 rm -f conftest.er1
33199 cat conftest.err >&5
33200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33201 (exit $ac_status); } && {
33202 test -z "$ac_c_werror_flag" ||
33203 test ! -s conftest.err
33204 } && test -s conftest$ac_exeext &&
33205 $as_test_x conftest$ac_exeext; then
33206 ac_cv_lib_bsd_gethostbyname=yes
33207 else
33208 echo "$as_me: failed program was:" >&5
33209 sed 's/^/| /' conftest.$ac_ext >&5
33210
33211 ac_cv_lib_bsd_gethostbyname=no
33212 fi
33213
33214 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33215 conftest$ac_exeext conftest.$ac_ext
33216 LIBS=$ac_check_lib_save_LIBS
33217 fi
33218 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
33219 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
33220 if test $ac_cv_lib_bsd_gethostbyname = yes; then
33221 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
33222 fi
33223
33224 fi
33225 fi
33226
33227 # lieder@skyler.mavd.honeywell.com says without -lsocket,
33228 # socket/setsockopt and other routines are undefined under SCO ODT
33229 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
33230 # on later versions), says Simon Leinen: it contains gethostby*
33231 # variants that don't use the name server (or something). -lsocket
33232 # must be given before -lnsl if both are needed. We assume that
33233 # if connect needs -lnsl, so does gethostbyname.
33234 { echo "$as_me:$LINENO: checking for connect" >&5
33235 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
33236 if test "${ac_cv_func_connect+set}" = set; then
33237 echo $ECHO_N "(cached) $ECHO_C" >&6
33238 else
33239 cat >conftest.$ac_ext <<_ACEOF
33240 /* confdefs.h. */
33241 _ACEOF
33242 cat confdefs.h >>conftest.$ac_ext
33243 cat >>conftest.$ac_ext <<_ACEOF
33244 /* end confdefs.h. */
33245 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
33246 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33247 #define connect innocuous_connect
33248
33249 /* System header to define __stub macros and hopefully few prototypes,
33250 which can conflict with char connect (); below.
33251 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33252 <limits.h> exists even on freestanding compilers. */
33253
33254 #ifdef __STDC__
33255 # include <limits.h>
33256 #else
33257 # include <assert.h>
33258 #endif
33259
33260 #undef connect
33261
33262 /* Override any GCC internal prototype to avoid an error.
33263 Use char because int might match the return type of a GCC
33264 builtin and then its argument prototype would still apply. */
33265 #ifdef __cplusplus
33266 extern "C"
33267 #endif
33268 char connect ();
33269 /* The GNU C library defines this for functions which it implements
33270 to always fail with ENOSYS. Some functions are actually named
33271 something starting with __ and the normal name is an alias. */
33272 #if defined __stub_connect || defined __stub___connect
33273 choke me
33274 #endif
33275
33276 int
33277 main ()
33278 {
33279 return connect ();
33280 ;
33281 return 0;
33282 }
33283 _ACEOF
33284 rm -f conftest.$ac_objext conftest$ac_exeext
33285 if { (ac_try="$ac_link"
33286 case "(($ac_try" in
33287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33288 *) ac_try_echo=$ac_try;;
33289 esac
33290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33291 (eval "$ac_link") 2>conftest.er1
33292 ac_status=$?
33293 grep -v '^ *+' conftest.er1 >conftest.err
33294 rm -f conftest.er1
33295 cat conftest.err >&5
33296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33297 (exit $ac_status); } && {
33298 test -z "$ac_c_werror_flag" ||
33299 test ! -s conftest.err
33300 } && test -s conftest$ac_exeext &&
33301 $as_test_x conftest$ac_exeext; then
33302 ac_cv_func_connect=yes
33303 else
33304 echo "$as_me: failed program was:" >&5
33305 sed 's/^/| /' conftest.$ac_ext >&5
33306
33307 ac_cv_func_connect=no
33308 fi
33309
33310 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33311 conftest$ac_exeext conftest.$ac_ext
33312 fi
33313 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
33314 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
33315
33316 if test $ac_cv_func_connect = no; then
33317 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
33318 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
33319 if test "${ac_cv_lib_socket_connect+set}" = set; then
33320 echo $ECHO_N "(cached) $ECHO_C" >&6
33321 else
33322 ac_check_lib_save_LIBS=$LIBS
33323 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
33324 cat >conftest.$ac_ext <<_ACEOF
33325 /* confdefs.h. */
33326 _ACEOF
33327 cat confdefs.h >>conftest.$ac_ext
33328 cat >>conftest.$ac_ext <<_ACEOF
33329 /* end confdefs.h. */
33330
33331 /* Override any GCC internal prototype to avoid an error.
33332 Use char because int might match the return type of a GCC
33333 builtin and then its argument prototype would still apply. */
33334 #ifdef __cplusplus
33335 extern "C"
33336 #endif
33337 char connect ();
33338 int
33339 main ()
33340 {
33341 return connect ();
33342 ;
33343 return 0;
33344 }
33345 _ACEOF
33346 rm -f conftest.$ac_objext conftest$ac_exeext
33347 if { (ac_try="$ac_link"
33348 case "(($ac_try" in
33349 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33350 *) ac_try_echo=$ac_try;;
33351 esac
33352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33353 (eval "$ac_link") 2>conftest.er1
33354 ac_status=$?
33355 grep -v '^ *+' conftest.er1 >conftest.err
33356 rm -f conftest.er1
33357 cat conftest.err >&5
33358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33359 (exit $ac_status); } && {
33360 test -z "$ac_c_werror_flag" ||
33361 test ! -s conftest.err
33362 } && test -s conftest$ac_exeext &&
33363 $as_test_x conftest$ac_exeext; then
33364 ac_cv_lib_socket_connect=yes
33365 else
33366 echo "$as_me: failed program was:" >&5
33367 sed 's/^/| /' conftest.$ac_ext >&5
33368
33369 ac_cv_lib_socket_connect=no
33370 fi
33371
33372 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33373 conftest$ac_exeext conftest.$ac_ext
33374 LIBS=$ac_check_lib_save_LIBS
33375 fi
33376 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
33377 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
33378 if test $ac_cv_lib_socket_connect = yes; then
33379 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
33380 fi
33381
33382 fi
33383
33384 # Guillermo Gomez says -lposix is necessary on A/UX.
33385 { echo "$as_me:$LINENO: checking for remove" >&5
33386 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
33387 if test "${ac_cv_func_remove+set}" = set; then
33388 echo $ECHO_N "(cached) $ECHO_C" >&6
33389 else
33390 cat >conftest.$ac_ext <<_ACEOF
33391 /* confdefs.h. */
33392 _ACEOF
33393 cat confdefs.h >>conftest.$ac_ext
33394 cat >>conftest.$ac_ext <<_ACEOF
33395 /* end confdefs.h. */
33396 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
33397 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33398 #define remove innocuous_remove
33399
33400 /* System header to define __stub macros and hopefully few prototypes,
33401 which can conflict with char remove (); below.
33402 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33403 <limits.h> exists even on freestanding compilers. */
33404
33405 #ifdef __STDC__
33406 # include <limits.h>
33407 #else
33408 # include <assert.h>
33409 #endif
33410
33411 #undef remove
33412
33413 /* Override any GCC internal prototype to avoid an error.
33414 Use char because int might match the return type of a GCC
33415 builtin and then its argument prototype would still apply. */
33416 #ifdef __cplusplus
33417 extern "C"
33418 #endif
33419 char remove ();
33420 /* The GNU C library defines this for functions which it implements
33421 to always fail with ENOSYS. Some functions are actually named
33422 something starting with __ and the normal name is an alias. */
33423 #if defined __stub_remove || defined __stub___remove
33424 choke me
33425 #endif
33426
33427 int
33428 main ()
33429 {
33430 return remove ();
33431 ;
33432 return 0;
33433 }
33434 _ACEOF
33435 rm -f conftest.$ac_objext conftest$ac_exeext
33436 if { (ac_try="$ac_link"
33437 case "(($ac_try" in
33438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33439 *) ac_try_echo=$ac_try;;
33440 esac
33441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33442 (eval "$ac_link") 2>conftest.er1
33443 ac_status=$?
33444 grep -v '^ *+' conftest.er1 >conftest.err
33445 rm -f conftest.er1
33446 cat conftest.err >&5
33447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33448 (exit $ac_status); } && {
33449 test -z "$ac_c_werror_flag" ||
33450 test ! -s conftest.err
33451 } && test -s conftest$ac_exeext &&
33452 $as_test_x conftest$ac_exeext; then
33453 ac_cv_func_remove=yes
33454 else
33455 echo "$as_me: failed program was:" >&5
33456 sed 's/^/| /' conftest.$ac_ext >&5
33457
33458 ac_cv_func_remove=no
33459 fi
33460
33461 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33462 conftest$ac_exeext conftest.$ac_ext
33463 fi
33464 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
33465 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
33466
33467 if test $ac_cv_func_remove = no; then
33468 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
33469 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
33470 if test "${ac_cv_lib_posix_remove+set}" = set; then
33471 echo $ECHO_N "(cached) $ECHO_C" >&6
33472 else
33473 ac_check_lib_save_LIBS=$LIBS
33474 LIBS="-lposix $LIBS"
33475 cat >conftest.$ac_ext <<_ACEOF
33476 /* confdefs.h. */
33477 _ACEOF
33478 cat confdefs.h >>conftest.$ac_ext
33479 cat >>conftest.$ac_ext <<_ACEOF
33480 /* end confdefs.h. */
33481
33482 /* Override any GCC internal prototype to avoid an error.
33483 Use char because int might match the return type of a GCC
33484 builtin and then its argument prototype would still apply. */
33485 #ifdef __cplusplus
33486 extern "C"
33487 #endif
33488 char remove ();
33489 int
33490 main ()
33491 {
33492 return remove ();
33493 ;
33494 return 0;
33495 }
33496 _ACEOF
33497 rm -f conftest.$ac_objext conftest$ac_exeext
33498 if { (ac_try="$ac_link"
33499 case "(($ac_try" in
33500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33501 *) ac_try_echo=$ac_try;;
33502 esac
33503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33504 (eval "$ac_link") 2>conftest.er1
33505 ac_status=$?
33506 grep -v '^ *+' conftest.er1 >conftest.err
33507 rm -f conftest.er1
33508 cat conftest.err >&5
33509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33510 (exit $ac_status); } && {
33511 test -z "$ac_c_werror_flag" ||
33512 test ! -s conftest.err
33513 } && test -s conftest$ac_exeext &&
33514 $as_test_x conftest$ac_exeext; then
33515 ac_cv_lib_posix_remove=yes
33516 else
33517 echo "$as_me: failed program was:" >&5
33518 sed 's/^/| /' conftest.$ac_ext >&5
33519
33520 ac_cv_lib_posix_remove=no
33521 fi
33522
33523 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33524 conftest$ac_exeext conftest.$ac_ext
33525 LIBS=$ac_check_lib_save_LIBS
33526 fi
33527 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
33528 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
33529 if test $ac_cv_lib_posix_remove = yes; then
33530 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
33531 fi
33532
33533 fi
33534
33535 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
33536 { echo "$as_me:$LINENO: checking for shmat" >&5
33537 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
33538 if test "${ac_cv_func_shmat+set}" = set; then
33539 echo $ECHO_N "(cached) $ECHO_C" >&6
33540 else
33541 cat >conftest.$ac_ext <<_ACEOF
33542 /* confdefs.h. */
33543 _ACEOF
33544 cat confdefs.h >>conftest.$ac_ext
33545 cat >>conftest.$ac_ext <<_ACEOF
33546 /* end confdefs.h. */
33547 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
33548 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33549 #define shmat innocuous_shmat
33550
33551 /* System header to define __stub macros and hopefully few prototypes,
33552 which can conflict with char shmat (); below.
33553 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33554 <limits.h> exists even on freestanding compilers. */
33555
33556 #ifdef __STDC__
33557 # include <limits.h>
33558 #else
33559 # include <assert.h>
33560 #endif
33561
33562 #undef shmat
33563
33564 /* Override any GCC internal prototype to avoid an error.
33565 Use char because int might match the return type of a GCC
33566 builtin and then its argument prototype would still apply. */
33567 #ifdef __cplusplus
33568 extern "C"
33569 #endif
33570 char shmat ();
33571 /* The GNU C library defines this for functions which it implements
33572 to always fail with ENOSYS. Some functions are actually named
33573 something starting with __ and the normal name is an alias. */
33574 #if defined __stub_shmat || defined __stub___shmat
33575 choke me
33576 #endif
33577
33578 int
33579 main ()
33580 {
33581 return shmat ();
33582 ;
33583 return 0;
33584 }
33585 _ACEOF
33586 rm -f conftest.$ac_objext conftest$ac_exeext
33587 if { (ac_try="$ac_link"
33588 case "(($ac_try" in
33589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33590 *) ac_try_echo=$ac_try;;
33591 esac
33592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33593 (eval "$ac_link") 2>conftest.er1
33594 ac_status=$?
33595 grep -v '^ *+' conftest.er1 >conftest.err
33596 rm -f conftest.er1
33597 cat conftest.err >&5
33598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33599 (exit $ac_status); } && {
33600 test -z "$ac_c_werror_flag" ||
33601 test ! -s conftest.err
33602 } && test -s conftest$ac_exeext &&
33603 $as_test_x conftest$ac_exeext; then
33604 ac_cv_func_shmat=yes
33605 else
33606 echo "$as_me: failed program was:" >&5
33607 sed 's/^/| /' conftest.$ac_ext >&5
33608
33609 ac_cv_func_shmat=no
33610 fi
33611
33612 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33613 conftest$ac_exeext conftest.$ac_ext
33614 fi
33615 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
33616 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
33617
33618 if test $ac_cv_func_shmat = no; then
33619 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
33620 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
33621 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
33622 echo $ECHO_N "(cached) $ECHO_C" >&6
33623 else
33624 ac_check_lib_save_LIBS=$LIBS
33625 LIBS="-lipc $LIBS"
33626 cat >conftest.$ac_ext <<_ACEOF
33627 /* confdefs.h. */
33628 _ACEOF
33629 cat confdefs.h >>conftest.$ac_ext
33630 cat >>conftest.$ac_ext <<_ACEOF
33631 /* end confdefs.h. */
33632
33633 /* Override any GCC internal prototype to avoid an error.
33634 Use char because int might match the return type of a GCC
33635 builtin and then its argument prototype would still apply. */
33636 #ifdef __cplusplus
33637 extern "C"
33638 #endif
33639 char shmat ();
33640 int
33641 main ()
33642 {
33643 return shmat ();
33644 ;
33645 return 0;
33646 }
33647 _ACEOF
33648 rm -f conftest.$ac_objext conftest$ac_exeext
33649 if { (ac_try="$ac_link"
33650 case "(($ac_try" in
33651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33652 *) ac_try_echo=$ac_try;;
33653 esac
33654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33655 (eval "$ac_link") 2>conftest.er1
33656 ac_status=$?
33657 grep -v '^ *+' conftest.er1 >conftest.err
33658 rm -f conftest.er1
33659 cat conftest.err >&5
33660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33661 (exit $ac_status); } && {
33662 test -z "$ac_c_werror_flag" ||
33663 test ! -s conftest.err
33664 } && test -s conftest$ac_exeext &&
33665 $as_test_x conftest$ac_exeext; then
33666 ac_cv_lib_ipc_shmat=yes
33667 else
33668 echo "$as_me: failed program was:" >&5
33669 sed 's/^/| /' conftest.$ac_ext >&5
33670
33671 ac_cv_lib_ipc_shmat=no
33672 fi
33673
33674 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33675 conftest$ac_exeext conftest.$ac_ext
33676 LIBS=$ac_check_lib_save_LIBS
33677 fi
33678 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
33679 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
33680 if test $ac_cv_lib_ipc_shmat = yes; then
33681 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
33682 fi
33683
33684 fi
33685 fi
33686
33687 # Check for libraries that X11R6 Xt/Xaw programs need.
33688 ac_save_LDFLAGS=$LDFLAGS
33689 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
33690 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
33691 # check for ICE first), but we must link in the order -lSM -lICE or
33692 # we get undefined symbols. So assume we have SM if we have ICE.
33693 # These have to be linked with before -lX11, unlike the other
33694 # libraries we check for below, so use a different variable.
33695 # John Interrante, Karl Berry
33696 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
33697 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
33698 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
33699 echo $ECHO_N "(cached) $ECHO_C" >&6
33700 else
33701 ac_check_lib_save_LIBS=$LIBS
33702 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
33703 cat >conftest.$ac_ext <<_ACEOF
33704 /* confdefs.h. */
33705 _ACEOF
33706 cat confdefs.h >>conftest.$ac_ext
33707 cat >>conftest.$ac_ext <<_ACEOF
33708 /* end confdefs.h. */
33709
33710 /* Override any GCC internal prototype to avoid an error.
33711 Use char because int might match the return type of a GCC
33712 builtin and then its argument prototype would still apply. */
33713 #ifdef __cplusplus
33714 extern "C"
33715 #endif
33716 char IceConnectionNumber ();
33717 int
33718 main ()
33719 {
33720 return IceConnectionNumber ();
33721 ;
33722 return 0;
33723 }
33724 _ACEOF
33725 rm -f conftest.$ac_objext conftest$ac_exeext
33726 if { (ac_try="$ac_link"
33727 case "(($ac_try" in
33728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33729 *) ac_try_echo=$ac_try;;
33730 esac
33731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33732 (eval "$ac_link") 2>conftest.er1
33733 ac_status=$?
33734 grep -v '^ *+' conftest.er1 >conftest.err
33735 rm -f conftest.er1
33736 cat conftest.err >&5
33737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33738 (exit $ac_status); } && {
33739 test -z "$ac_c_werror_flag" ||
33740 test ! -s conftest.err
33741 } && test -s conftest$ac_exeext &&
33742 $as_test_x conftest$ac_exeext; then
33743 ac_cv_lib_ICE_IceConnectionNumber=yes
33744 else
33745 echo "$as_me: failed program was:" >&5
33746 sed 's/^/| /' conftest.$ac_ext >&5
33747
33748 ac_cv_lib_ICE_IceConnectionNumber=no
33749 fi
33750
33751 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33752 conftest$ac_exeext conftest.$ac_ext
33753 LIBS=$ac_check_lib_save_LIBS
33754 fi
33755 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
33756 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
33757 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
33758 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
33759 fi
33760
33761 LDFLAGS=$ac_save_LDFLAGS
33762
33763 fi
33764
33765
33766 if test "$no_x" = "yes"; then
33767 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
33768 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
33769 { (exit 1); exit 1; }; }
33770 fi
33771
33772 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
33773 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
33774 AFMINSTALL=afminstall
33775 COMPILED_X_PROGRAM=0
33776
33777 fi
33778
33779 if test "$wxUSE_X11" = 1; then
33780 if test "$wxUSE_NANOX" = "yes"; then
33781 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
33782 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
33783 if test "x$MICROWIN" = x ; then
33784 { echo "$as_me:$LINENO: result: not found" >&5
33785 echo "${ECHO_T}not found" >&6; }
33786 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
33787 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
33788 { (exit 1); exit 1; }; }
33789 else
33790 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
33791 echo "${ECHO_T}$MICROWIN" >&6; }
33792 cat >>confdefs.h <<\_ACEOF
33793 #define wxUSE_NANOX 1
33794 _ACEOF
33795
33796 fi
33797 fi
33798
33799 if test "$wxUSE_UNICODE" = "yes"; then
33800
33801
33802 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
33803 if test -n "$ac_tool_prefix"; then
33804 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
33805 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
33806 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33807 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33808 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
33809 echo $ECHO_N "(cached) $ECHO_C" >&6
33810 else
33811 case $PKG_CONFIG in
33812 [\\/]* | ?:[\\/]*)
33813 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
33814 ;;
33815 *)
33816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33817 for as_dir in $PATH
33818 do
33819 IFS=$as_save_IFS
33820 test -z "$as_dir" && as_dir=.
33821 for ac_exec_ext in '' $ac_executable_extensions; do
33822 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33823 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33824 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33825 break 2
33826 fi
33827 done
33828 done
33829 IFS=$as_save_IFS
33830
33831 ;;
33832 esac
33833 fi
33834 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
33835 if test -n "$PKG_CONFIG"; then
33836 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
33837 echo "${ECHO_T}$PKG_CONFIG" >&6; }
33838 else
33839 { echo "$as_me:$LINENO: result: no" >&5
33840 echo "${ECHO_T}no" >&6; }
33841 fi
33842
33843
33844 fi
33845 if test -z "$ac_cv_path_PKG_CONFIG"; then
33846 ac_pt_PKG_CONFIG=$PKG_CONFIG
33847 # Extract the first word of "pkg-config", so it can be a program name with args.
33848 set dummy pkg-config; ac_word=$2
33849 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33850 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33851 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
33852 echo $ECHO_N "(cached) $ECHO_C" >&6
33853 else
33854 case $ac_pt_PKG_CONFIG in
33855 [\\/]* | ?:[\\/]*)
33856 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
33857 ;;
33858 *)
33859 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33860 for as_dir in $PATH
33861 do
33862 IFS=$as_save_IFS
33863 test -z "$as_dir" && as_dir=.
33864 for ac_exec_ext in '' $ac_executable_extensions; do
33865 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33866 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33867 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33868 break 2
33869 fi
33870 done
33871 done
33872 IFS=$as_save_IFS
33873
33874 ;;
33875 esac
33876 fi
33877 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
33878 if test -n "$ac_pt_PKG_CONFIG"; then
33879 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
33880 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
33881 else
33882 { echo "$as_me:$LINENO: result: no" >&5
33883 echo "${ECHO_T}no" >&6; }
33884 fi
33885
33886 if test "x$ac_pt_PKG_CONFIG" = x; then
33887 PKG_CONFIG=""
33888 else
33889 case $cross_compiling:$ac_tool_warned in
33890 yes:)
33891 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
33892 whose name does not start with the host triplet. If you think this
33893 configuration is useful to you, please write to autoconf@gnu.org." >&5
33894 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
33895 whose name does not start with the host triplet. If you think this
33896 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
33897 ac_tool_warned=yes ;;
33898 esac
33899 PKG_CONFIG=$ac_pt_PKG_CONFIG
33900 fi
33901 else
33902 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
33903 fi
33904
33905 fi
33906 if test -n "$PKG_CONFIG"; then
33907 _pkg_min_version=0.9.0
33908 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
33909 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
33910 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
33911 { echo "$as_me:$LINENO: result: yes" >&5
33912 echo "${ECHO_T}yes" >&6; }
33913 else
33914 { echo "$as_me:$LINENO: result: no" >&5
33915 echo "${ECHO_T}no" >&6; }
33916 PKG_CONFIG=""
33917 fi
33918
33919 fi
33920
33921
33922 pkg_failed=no
33923 { echo "$as_me:$LINENO: checking for PANGOX" >&5
33924 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
33925
33926 if test -n "$PKG_CONFIG"; then
33927 if test -n "$PANGOX_CFLAGS"; then
33928 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
33929 else
33930 if test -n "$PKG_CONFIG" && \
33931 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33932 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33933 ac_status=$?
33934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33935 (exit $ac_status); }; then
33936 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
33937 else
33938 pkg_failed=yes
33939 fi
33940 fi
33941 else
33942 pkg_failed=untried
33943 fi
33944 if test -n "$PKG_CONFIG"; then
33945 if test -n "$PANGOX_LIBS"; then
33946 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
33947 else
33948 if test -n "$PKG_CONFIG" && \
33949 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33950 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33951 ac_status=$?
33952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33953 (exit $ac_status); }; then
33954 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
33955 else
33956 pkg_failed=yes
33957 fi
33958 fi
33959 else
33960 pkg_failed=untried
33961 fi
33962
33963
33964
33965 if test $pkg_failed = yes; then
33966
33967 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33968 _pkg_short_errors_supported=yes
33969 else
33970 _pkg_short_errors_supported=no
33971 fi
33972 if test $_pkg_short_errors_supported = yes; then
33973 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
33974 else
33975 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
33976 fi
33977 # Put the nasty error message in config.log where it belongs
33978 echo "$PANGOX_PKG_ERRORS" >&5
33979
33980
33981 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
33982 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
33983 { (exit 1); exit 1; }; }
33984
33985
33986 elif test $pkg_failed = untried; then
33987
33988 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
33989 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
33990 { (exit 1); exit 1; }; }
33991
33992
33993 else
33994 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
33995 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
33996 { echo "$as_me:$LINENO: result: yes" >&5
33997 echo "${ECHO_T}yes" >&6; }
33998
33999 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
34000 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
34001 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
34002
34003 fi
34004
34005 pkg_failed=no
34006 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
34007 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
34008
34009 if test -n "$PKG_CONFIG"; then
34010 if test -n "$PANGOFT2_CFLAGS"; then
34011 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
34012 else
34013 if test -n "$PKG_CONFIG" && \
34014 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
34015 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
34016 ac_status=$?
34017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34018 (exit $ac_status); }; then
34019 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
34020 else
34021 pkg_failed=yes
34022 fi
34023 fi
34024 else
34025 pkg_failed=untried
34026 fi
34027 if test -n "$PKG_CONFIG"; then
34028 if test -n "$PANGOFT2_LIBS"; then
34029 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
34030 else
34031 if test -n "$PKG_CONFIG" && \
34032 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
34033 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
34034 ac_status=$?
34035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34036 (exit $ac_status); }; then
34037 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
34038 else
34039 pkg_failed=yes
34040 fi
34041 fi
34042 else
34043 pkg_failed=untried
34044 fi
34045
34046
34047
34048 if test $pkg_failed = yes; then
34049
34050 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34051 _pkg_short_errors_supported=yes
34052 else
34053 _pkg_short_errors_supported=no
34054 fi
34055 if test $_pkg_short_errors_supported = yes; then
34056 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
34057 else
34058 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
34059 fi
34060 # Put the nasty error message in config.log where it belongs
34061 echo "$PANGOFT2_PKG_ERRORS" >&5
34062
34063
34064 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
34065 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
34066 wxUSE_PRINTING_ARCHITECTURE="no"
34067
34068
34069 elif test $pkg_failed = untried; then
34070
34071 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
34072 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
34073 wxUSE_PRINTING_ARCHITECTURE="no"
34074
34075
34076 else
34077 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
34078 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
34079 { echo "$as_me:$LINENO: result: yes" >&5
34080 echo "${ECHO_T}yes" >&6; }
34081
34082 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
34083 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
34084 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
34085
34086 fi
34087
34088 pkg_failed=no
34089 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
34090 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
34091
34092 if test -n "$PKG_CONFIG"; then
34093 if test -n "$PANGOXFT_CFLAGS"; then
34094 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
34095 else
34096 if test -n "$PKG_CONFIG" && \
34097 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
34098 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
34099 ac_status=$?
34100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34101 (exit $ac_status); }; then
34102 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
34103 else
34104 pkg_failed=yes
34105 fi
34106 fi
34107 else
34108 pkg_failed=untried
34109 fi
34110 if test -n "$PKG_CONFIG"; then
34111 if test -n "$PANGOXFT_LIBS"; then
34112 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
34113 else
34114 if test -n "$PKG_CONFIG" && \
34115 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
34116 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
34117 ac_status=$?
34118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34119 (exit $ac_status); }; then
34120 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
34121 else
34122 pkg_failed=yes
34123 fi
34124 fi
34125 else
34126 pkg_failed=untried
34127 fi
34128
34129
34130
34131 if test $pkg_failed = yes; then
34132
34133 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34134 _pkg_short_errors_supported=yes
34135 else
34136 _pkg_short_errors_supported=no
34137 fi
34138 if test $_pkg_short_errors_supported = yes; then
34139 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
34140 else
34141 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
34142 fi
34143 # Put the nasty error message in config.log where it belongs
34144 echo "$PANGOXFT_PKG_ERRORS" >&5
34145
34146
34147 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
34148 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
34149
34150
34151 elif test $pkg_failed = untried; then
34152
34153 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
34154 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
34155
34156
34157 else
34158 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
34159 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
34160 { echo "$as_me:$LINENO: result: yes" >&5
34161 echo "${ECHO_T}yes" >&6; }
34162
34163 cat >>confdefs.h <<\_ACEOF
34164 #define HAVE_PANGO_XFT 1
34165 _ACEOF
34166
34167 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
34168 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
34169 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
34170
34171 fi
34172 save_LIBS="$LIBS"
34173 LIBS="$LIBS $PANGOX_LIBS"
34174
34175 for ac_func in pango_font_family_is_monospace
34176 do
34177 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34178 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34179 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34180 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34181 echo $ECHO_N "(cached) $ECHO_C" >&6
34182 else
34183 cat >conftest.$ac_ext <<_ACEOF
34184 /* confdefs.h. */
34185 _ACEOF
34186 cat confdefs.h >>conftest.$ac_ext
34187 cat >>conftest.$ac_ext <<_ACEOF
34188 /* end confdefs.h. */
34189 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34190 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34191 #define $ac_func innocuous_$ac_func
34192
34193 /* System header to define __stub macros and hopefully few prototypes,
34194 which can conflict with char $ac_func (); below.
34195 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34196 <limits.h> exists even on freestanding compilers. */
34197
34198 #ifdef __STDC__
34199 # include <limits.h>
34200 #else
34201 # include <assert.h>
34202 #endif
34203
34204 #undef $ac_func
34205
34206 /* Override any GCC internal prototype to avoid an error.
34207 Use char because int might match the return type of a GCC
34208 builtin and then its argument prototype would still apply. */
34209 #ifdef __cplusplus
34210 extern "C"
34211 #endif
34212 char $ac_func ();
34213 /* The GNU C library defines this for functions which it implements
34214 to always fail with ENOSYS. Some functions are actually named
34215 something starting with __ and the normal name is an alias. */
34216 #if defined __stub_$ac_func || defined __stub___$ac_func
34217 choke me
34218 #endif
34219
34220 int
34221 main ()
34222 {
34223 return $ac_func ();
34224 ;
34225 return 0;
34226 }
34227 _ACEOF
34228 rm -f conftest.$ac_objext conftest$ac_exeext
34229 if { (ac_try="$ac_link"
34230 case "(($ac_try" in
34231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34232 *) ac_try_echo=$ac_try;;
34233 esac
34234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34235 (eval "$ac_link") 2>conftest.er1
34236 ac_status=$?
34237 grep -v '^ *+' conftest.er1 >conftest.err
34238 rm -f conftest.er1
34239 cat conftest.err >&5
34240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34241 (exit $ac_status); } && {
34242 test -z "$ac_c_werror_flag" ||
34243 test ! -s conftest.err
34244 } && test -s conftest$ac_exeext &&
34245 $as_test_x conftest$ac_exeext; then
34246 eval "$as_ac_var=yes"
34247 else
34248 echo "$as_me: failed program was:" >&5
34249 sed 's/^/| /' conftest.$ac_ext >&5
34250
34251 eval "$as_ac_var=no"
34252 fi
34253
34254 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34255 conftest$ac_exeext conftest.$ac_ext
34256 fi
34257 ac_res=`eval echo '${'$as_ac_var'}'`
34258 { echo "$as_me:$LINENO: result: $ac_res" >&5
34259 echo "${ECHO_T}$ac_res" >&6; }
34260 if test `eval echo '${'$as_ac_var'}'` = yes; then
34261 cat >>confdefs.h <<_ACEOF
34262 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34263 _ACEOF
34264
34265 fi
34266 done
34267
34268 LIBS="$save_LIBS"
34269 fi
34270
34271 wxUSE_UNIVERSAL="yes"
34272
34273 if test "$wxUSE_NANOX" = "yes"; then
34274 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
34275 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__NANOX__ -DMWPIXEL_FORMAT=MWPF_TRUECOLOR0888 -DHAVE_FILEIO -DHAVE_BMP_SUPPORT=1 -DHAVE_GIF_SUPPORT=1 -DHAVE_PNM_SUPPORT=1 -DHAVE_XPM_SUPPORT=1 -DUNIX=1 -DUSE_EXPOSURE -DSCREEN_HEIGHT=480 -DSCREEN_WIDTH=640 -DSCREEN_DEPTH=4 -DX11=1"
34276 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
34277 else
34278 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
34279 fi
34280
34281 TOOLKIT=X11
34282 GUIDIST=X11_DIST
34283 fi
34284
34285 if test "$wxUSE_MOTIF" = 1; then
34286 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
34287 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
34288
34289 ac_find_includes=
34290 for ac_dir in $SEARCH_INCLUDE /usr/include;
34291 do
34292 if test -f "$ac_dir/Xm/Xm.h"; then
34293 ac_find_includes=$ac_dir
34294 break
34295 fi
34296 done
34297
34298 if test "$ac_find_includes" != "" ; then
34299 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
34300 echo "${ECHO_T}found in $ac_find_includes" >&6; }
34301
34302 if test "x$ac_find_includes" = "x/usr/include"; then
34303 ac_path_to_include=""
34304 else
34305 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
34306 result=$?
34307 if test $result = 0; then
34308 ac_path_to_include=""
34309 else
34310 ac_path_to_include=" -I$ac_find_includes"
34311 fi
34312 fi
34313
34314 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
34315 else
34316 save_CFLAGS=$CFLAGS
34317 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34318
34319 cat >conftest.$ac_ext <<_ACEOF
34320 /* confdefs.h. */
34321 _ACEOF
34322 cat confdefs.h >>conftest.$ac_ext
34323 cat >>conftest.$ac_ext <<_ACEOF
34324 /* end confdefs.h. */
34325
34326 #include <Xm/Xm.h>
34327
34328 int
34329 main ()
34330 {
34331
34332 int version;
34333 version = xmUseVersion;
34334
34335 ;
34336 return 0;
34337 }
34338 _ACEOF
34339 rm -f conftest.$ac_objext
34340 if { (ac_try="$ac_compile"
34341 case "(($ac_try" in
34342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34343 *) ac_try_echo=$ac_try;;
34344 esac
34345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34346 (eval "$ac_compile") 2>conftest.er1
34347 ac_status=$?
34348 grep -v '^ *+' conftest.er1 >conftest.err
34349 rm -f conftest.er1
34350 cat conftest.err >&5
34351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34352 (exit $ac_status); } && {
34353 test -z "$ac_c_werror_flag" ||
34354 test ! -s conftest.err
34355 } && test -s conftest.$ac_objext; then
34356
34357 { echo "$as_me:$LINENO: result: found in default search path" >&5
34358 echo "${ECHO_T}found in default search path" >&6; }
34359 COMPILED_X_PROGRAM=1
34360
34361 else
34362 echo "$as_me: failed program was:" >&5
34363 sed 's/^/| /' conftest.$ac_ext >&5
34364
34365
34366 { echo "$as_me:$LINENO: result: no" >&5
34367 echo "${ECHO_T}no" >&6; }
34368 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
34369 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
34370 { (exit 1); exit 1; }; }
34371
34372
34373 fi
34374
34375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34376
34377 CFLAGS=$save_CFLAGS
34378 fi
34379
34380
34381 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
34382 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
34383
34384 ac_find_libraries=
34385 for ac_dir in $SEARCH_LIB;
34386 do
34387 for ac_extension in a so sl dylib dll.a; do
34388 if test -f "$ac_dir/libXm.$ac_extension"; then
34389 ac_find_libraries=$ac_dir
34390 break 2
34391 fi
34392 done
34393 done
34394
34395
34396 if test "x$ac_find_libraries" != "x" ; then
34397 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34398 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
34399
34400
34401 if test "$ac_find_libraries" = "default location"; then
34402 ac_path_to_link=""
34403 else
34404 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
34405 result=$?
34406 if test $result = 0; then
34407 ac_path_to_link=""
34408 else
34409 ac_path_to_link=" -L$ac_find_libraries"
34410 fi
34411 fi
34412
34413 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
34414 else
34415 save_CFLAGS=$CFLAGS
34416 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34417 save_LIBS="$LIBS"
34418 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
34419
34420 cat >conftest.$ac_ext <<_ACEOF
34421 /* confdefs.h. */
34422 _ACEOF
34423 cat confdefs.h >>conftest.$ac_ext
34424 cat >>conftest.$ac_ext <<_ACEOF
34425 /* end confdefs.h. */
34426
34427 #include <Xm/Xm.h>
34428
34429 int
34430 main ()
34431 {
34432
34433 int version;
34434 version = xmUseVersion;
34435
34436 ;
34437 return 0;
34438 }
34439 _ACEOF
34440 rm -f conftest.$ac_objext conftest$ac_exeext
34441 if { (ac_try="$ac_link"
34442 case "(($ac_try" in
34443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34444 *) ac_try_echo=$ac_try;;
34445 esac
34446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34447 (eval "$ac_link") 2>conftest.er1
34448 ac_status=$?
34449 grep -v '^ *+' conftest.er1 >conftest.err
34450 rm -f conftest.er1
34451 cat conftest.err >&5
34452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34453 (exit $ac_status); } && {
34454 test -z "$ac_c_werror_flag" ||
34455 test ! -s conftest.err
34456 } && test -s conftest$ac_exeext &&
34457 $as_test_x conftest$ac_exeext; then
34458
34459 { echo "$as_me:$LINENO: result: found in default search path" >&5
34460 echo "${ECHO_T}found in default search path" >&6; }
34461 COMPILED_X_PROGRAM=1
34462
34463 else
34464 echo "$as_me: failed program was:" >&5
34465 sed 's/^/| /' conftest.$ac_ext >&5
34466
34467
34468 { echo "$as_me:$LINENO: result: no" >&5
34469 echo "${ECHO_T}no" >&6; }
34470 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
34471 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
34472 { (exit 1); exit 1; }; }
34473
34474
34475 fi
34476
34477 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34478 conftest$ac_exeext conftest.$ac_ext
34479
34480 CFLAGS=$save_CFLAGS
34481 LIBS="$save_LIBS"
34482 fi
34483
34484 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
34485 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
34486 libp_link=""
34487 libsm_ice_link=""
34488 libs_found=0
34489 for libp in "" " -lXp"; do
34490 if test "$libs_found" = 0; then
34491 for libsm_ice in "" " -lSM -lICE"; do
34492 if test "$libs_found" = 0; then
34493 save_LIBS="$LIBS"
34494 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
34495 save_CFLAGS=$CFLAGS
34496 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34497
34498 cat >conftest.$ac_ext <<_ACEOF
34499 /* confdefs.h. */
34500 _ACEOF
34501 cat confdefs.h >>conftest.$ac_ext
34502 cat >>conftest.$ac_ext <<_ACEOF
34503 /* end confdefs.h. */
34504
34505 #include <Xm/Xm.h>
34506 #include <Xm/List.h>
34507
34508 int
34509 main ()
34510 {
34511
34512 XmString string = NULL;
34513 Widget w = NULL;
34514 int position = 0;
34515 XmListAddItem(w, string, position);
34516
34517 ;
34518 return 0;
34519 }
34520 _ACEOF
34521 rm -f conftest.$ac_objext conftest$ac_exeext
34522 if { (ac_try="$ac_link"
34523 case "(($ac_try" in
34524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34525 *) ac_try_echo=$ac_try;;
34526 esac
34527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34528 (eval "$ac_link") 2>conftest.er1
34529 ac_status=$?
34530 grep -v '^ *+' conftest.er1 >conftest.err
34531 rm -f conftest.er1
34532 cat conftest.err >&5
34533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34534 (exit $ac_status); } && {
34535 test -z "$ac_c_werror_flag" ||
34536 test ! -s conftest.err
34537 } && test -s conftest$ac_exeext &&
34538 $as_test_x conftest$ac_exeext; then
34539
34540 libp_link="$libp"
34541 libsm_ice_link="$libsm_ice"
34542 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
34543 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
34544 libs_found=1
34545
34546 else
34547 echo "$as_me: failed program was:" >&5
34548 sed 's/^/| /' conftest.$ac_ext >&5
34549
34550
34551
34552 fi
34553
34554 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34555 conftest$ac_exeext conftest.$ac_ext
34556
34557 LIBS="$save_LIBS"
34558 CFLAGS=$save_CFLAGS
34559 fi
34560 done
34561 fi
34562 done
34563
34564 if test "$libs_found" = 0; then
34565 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
34566 echo "${ECHO_T}can't find the right libraries" >&6; }
34567 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
34568 echo "$as_me: error: can't link a simple motif program" >&2;}
34569 { (exit 1); exit 1; }; }
34570 fi
34571
34572 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
34573 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
34574 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
34575 echo $ECHO_N "(cached) $ECHO_C" >&6
34576 else
34577 ac_check_lib_save_LIBS=$LIBS
34578 LIBS="-lSgm $LIBS"
34579 cat >conftest.$ac_ext <<_ACEOF
34580 /* confdefs.h. */
34581 _ACEOF
34582 cat confdefs.h >>conftest.$ac_ext
34583 cat >>conftest.$ac_ext <<_ACEOF
34584 /* end confdefs.h. */
34585
34586 /* Override any GCC internal prototype to avoid an error.
34587 Use char because int might match the return type of a GCC
34588 builtin and then its argument prototype would still apply. */
34589 #ifdef __cplusplus
34590 extern "C"
34591 #endif
34592 char SgCreateList ();
34593 int
34594 main ()
34595 {
34596 return SgCreateList ();
34597 ;
34598 return 0;
34599 }
34600 _ACEOF
34601 rm -f conftest.$ac_objext conftest$ac_exeext
34602 if { (ac_try="$ac_link"
34603 case "(($ac_try" in
34604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34605 *) ac_try_echo=$ac_try;;
34606 esac
34607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34608 (eval "$ac_link") 2>conftest.er1
34609 ac_status=$?
34610 grep -v '^ *+' conftest.er1 >conftest.err
34611 rm -f conftest.er1
34612 cat conftest.err >&5
34613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34614 (exit $ac_status); } && {
34615 test -z "$ac_c_werror_flag" ||
34616 test ! -s conftest.err
34617 } && test -s conftest$ac_exeext &&
34618 $as_test_x conftest$ac_exeext; then
34619 ac_cv_lib_Sgm_SgCreateList=yes
34620 else
34621 echo "$as_me: failed program was:" >&5
34622 sed 's/^/| /' conftest.$ac_ext >&5
34623
34624 ac_cv_lib_Sgm_SgCreateList=no
34625 fi
34626
34627 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34628 conftest$ac_exeext conftest.$ac_ext
34629 LIBS=$ac_check_lib_save_LIBS
34630 fi
34631 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
34632 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
34633 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
34634 libsgm_link=" -lSgm"
34635 fi
34636
34637
34638 save_CFLAGS=$CFLAGS
34639 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34640
34641 { echo "$as_me:$LINENO: checking for Motif 2" >&5
34642 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
34643 if test "${wx_cv_lib_motif2+set}" = set; then
34644 echo $ECHO_N "(cached) $ECHO_C" >&6
34645 else
34646 cat >conftest.$ac_ext <<_ACEOF
34647 /* confdefs.h. */
34648 _ACEOF
34649 cat confdefs.h >>conftest.$ac_ext
34650 cat >>conftest.$ac_ext <<_ACEOF
34651 /* end confdefs.h. */
34652
34653 #include <Xm/Xm.h>
34654
34655 int
34656 main ()
34657 {
34658
34659 #if XmVersion < 2000
34660 Not Motif 2
34661 #endif
34662
34663 ;
34664 return 0;
34665 }
34666 _ACEOF
34667 rm -f conftest.$ac_objext
34668 if { (ac_try="$ac_compile"
34669 case "(($ac_try" in
34670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34671 *) ac_try_echo=$ac_try;;
34672 esac
34673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34674 (eval "$ac_compile") 2>conftest.er1
34675 ac_status=$?
34676 grep -v '^ *+' conftest.er1 >conftest.err
34677 rm -f conftest.er1
34678 cat conftest.err >&5
34679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34680 (exit $ac_status); } && {
34681 test -z "$ac_c_werror_flag" ||
34682 test ! -s conftest.err
34683 } && test -s conftest.$ac_objext; then
34684 wx_cv_lib_motif2="yes"
34685 else
34686 echo "$as_me: failed program was:" >&5
34687 sed 's/^/| /' conftest.$ac_ext >&5
34688
34689 wx_cv_lib_motif2="no"
34690 fi
34691
34692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34693 fi
34694 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
34695 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
34696 if test "$wx_cv_lib_motif2" = "yes"; then
34697 cat >>confdefs.h <<\_ACEOF
34698 #define __WXMOTIF20__ 1
34699 _ACEOF
34700
34701 else
34702 cat >>confdefs.h <<\_ACEOF
34703 #define __WXMOTIF20__ 0
34704 _ACEOF
34705
34706 fi
34707
34708 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
34709 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
34710 if test "${wx_cv_lib_lesstif+set}" = set; then
34711 echo $ECHO_N "(cached) $ECHO_C" >&6
34712 else
34713 cat >conftest.$ac_ext <<_ACEOF
34714 /* confdefs.h. */
34715 _ACEOF
34716 cat confdefs.h >>conftest.$ac_ext
34717 cat >>conftest.$ac_ext <<_ACEOF
34718 /* end confdefs.h. */
34719
34720 #include <Xm/Xm.h>
34721
34722 int
34723 main ()
34724 {
34725
34726 #if !defined(LesstifVersion) || LesstifVersion <= 0
34727 Not Lesstif
34728 #endif
34729
34730 ;
34731 return 0;
34732 }
34733 _ACEOF
34734 rm -f conftest.$ac_objext
34735 if { (ac_try="$ac_compile"
34736 case "(($ac_try" in
34737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34738 *) ac_try_echo=$ac_try;;
34739 esac
34740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34741 (eval "$ac_compile") 2>conftest.er1
34742 ac_status=$?
34743 grep -v '^ *+' conftest.er1 >conftest.err
34744 rm -f conftest.er1
34745 cat conftest.err >&5
34746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34747 (exit $ac_status); } && {
34748 test -z "$ac_c_werror_flag" ||
34749 test ! -s conftest.err
34750 } && test -s conftest.$ac_objext; then
34751 wx_cv_lib_lesstif="yes"
34752 else
34753 echo "$as_me: failed program was:" >&5
34754 sed 's/^/| /' conftest.$ac_ext >&5
34755
34756 wx_cv_lib_lesstif="no"
34757 fi
34758
34759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34760
34761 fi
34762 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
34763 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
34764 if test "$wx_cv_lib_lesstif" = "yes"; then
34765 cat >>confdefs.h <<\_ACEOF
34766 #define __WXLESSTIF__ 1
34767 _ACEOF
34768
34769 else
34770 cat >>confdefs.h <<\_ACEOF
34771 #define __WXLESSTIF__ 0
34772 _ACEOF
34773
34774 fi
34775
34776 CFLAGS=$save_CFLAGS
34777
34778 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
34779 TOOLKIT=MOTIF
34780 GUIDIST=MOTIF_DIST
34781 fi
34782
34783 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
34784 if test "$wxUSE_LIBXPM" = "sys"; then
34785 { echo "$as_me:$LINENO: checking for Xpm library" >&5
34786 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
34787
34788 ac_find_libraries=
34789 for ac_dir in $SEARCH_LIB;
34790 do
34791 for ac_extension in a so sl dylib dll.a; do
34792 if test -f "$ac_dir/libXpm.$ac_extension"; then
34793 ac_find_libraries=$ac_dir
34794 break 2
34795 fi
34796 done
34797 done
34798
34799 if test "$ac_find_libraries" != "" ; then
34800
34801 if test "$ac_find_libraries" = "default location"; then
34802 ac_path_to_link=""
34803 else
34804 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
34805 result=$?
34806 if test $result = 0; then
34807 ac_path_to_link=""
34808 else
34809 ac_path_to_link=" -L$ac_find_libraries"
34810 fi
34811 fi
34812
34813 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
34814 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34815 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
34816
34817 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
34818 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
34819 if test "${wx_cv_x11_xpm_h+set}" = set; then
34820 echo $ECHO_N "(cached) $ECHO_C" >&6
34821 else
34822
34823 save_CFLAGS=$CFLAGS
34824 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34825
34826 cat >conftest.$ac_ext <<_ACEOF
34827 /* confdefs.h. */
34828 _ACEOF
34829 cat confdefs.h >>conftest.$ac_ext
34830 cat >>conftest.$ac_ext <<_ACEOF
34831 /* end confdefs.h. */
34832
34833 #include <X11/xpm.h>
34834
34835 int
34836 main ()
34837 {
34838
34839 int version;
34840 version = XpmLibraryVersion();
34841
34842 ;
34843 return 0;
34844 }
34845 _ACEOF
34846 rm -f conftest.$ac_objext
34847 if { (ac_try="$ac_compile"
34848 case "(($ac_try" in
34849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34850 *) ac_try_echo=$ac_try;;
34851 esac
34852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34853 (eval "$ac_compile") 2>conftest.er1
34854 ac_status=$?
34855 grep -v '^ *+' conftest.er1 >conftest.err
34856 rm -f conftest.er1
34857 cat conftest.err >&5
34858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34859 (exit $ac_status); } && {
34860 test -z "$ac_c_werror_flag" ||
34861 test ! -s conftest.err
34862 } && test -s conftest.$ac_objext; then
34863 wx_cv_x11_xpm_h=yes
34864 else
34865 echo "$as_me: failed program was:" >&5
34866 sed 's/^/| /' conftest.$ac_ext >&5
34867
34868 wx_cv_x11_xpm_h=no
34869
34870 fi
34871
34872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34873
34874 CFLAGS=$save_CFLAGS
34875
34876
34877 fi
34878 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
34879 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
34880
34881 if test $wx_cv_x11_xpm_h = "yes"; then
34882 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
34883 cat >>confdefs.h <<\_ACEOF
34884 #define wxHAVE_LIB_XPM 1
34885 _ACEOF
34886
34887 else
34888 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
34889 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
34890 fi
34891 fi
34892
34893 fi
34894
34895 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
34896 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
34897 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
34898 echo $ECHO_N "(cached) $ECHO_C" >&6
34899 else
34900 ac_check_lib_save_LIBS=$LIBS
34901 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
34902 cat >conftest.$ac_ext <<_ACEOF
34903 /* confdefs.h. */
34904 _ACEOF
34905 cat confdefs.h >>conftest.$ac_ext
34906 cat >>conftest.$ac_ext <<_ACEOF
34907 /* end confdefs.h. */
34908
34909 /* Override any GCC internal prototype to avoid an error.
34910 Use char because int might match the return type of a GCC
34911 builtin and then its argument prototype would still apply. */
34912 #ifdef __cplusplus
34913 extern "C"
34914 #endif
34915 char XShapeQueryExtension ();
34916 int
34917 main ()
34918 {
34919 return XShapeQueryExtension ();
34920 ;
34921 return 0;
34922 }
34923 _ACEOF
34924 rm -f conftest.$ac_objext conftest$ac_exeext
34925 if { (ac_try="$ac_link"
34926 case "(($ac_try" in
34927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34928 *) ac_try_echo=$ac_try;;
34929 esac
34930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34931 (eval "$ac_link") 2>conftest.er1
34932 ac_status=$?
34933 grep -v '^ *+' conftest.er1 >conftest.err
34934 rm -f conftest.er1
34935 cat conftest.err >&5
34936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34937 (exit $ac_status); } && {
34938 test -z "$ac_c_werror_flag" ||
34939 test ! -s conftest.err
34940 } && test -s conftest$ac_exeext &&
34941 $as_test_x conftest$ac_exeext; then
34942 ac_cv_lib_Xext_XShapeQueryExtension=yes
34943 else
34944 echo "$as_me: failed program was:" >&5
34945 sed 's/^/| /' conftest.$ac_ext >&5
34946
34947 ac_cv_lib_Xext_XShapeQueryExtension=no
34948 fi
34949
34950 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34951 conftest$ac_exeext conftest.$ac_ext
34952 LIBS=$ac_check_lib_save_LIBS
34953 fi
34954 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
34955 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
34956 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
34957
34958 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
34959 wxHAVE_XEXT_LIB=1
34960
34961 fi
34962
34963
34964 if test "$wxHAVE_XEXT_LIB" = 1; then
34965 save_CFLAGS="$CFLAGS"
34966 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34967
34968 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
34969 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
34970 cat >conftest.$ac_ext <<_ACEOF
34971 /* confdefs.h. */
34972 _ACEOF
34973 cat confdefs.h >>conftest.$ac_ext
34974 cat >>conftest.$ac_ext <<_ACEOF
34975 /* end confdefs.h. */
34976
34977 #include <X11/Xlib.h>
34978 #include <X11/extensions/shape.h>
34979
34980 int
34981 main ()
34982 {
34983
34984 int dummy1, dummy2;
34985 XShapeQueryExtension((Display*)NULL,
34986 (int*)NULL, (int*)NULL);
34987
34988 ;
34989 return 0;
34990 }
34991 _ACEOF
34992 rm -f conftest.$ac_objext
34993 if { (ac_try="$ac_compile"
34994 case "(($ac_try" in
34995 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34996 *) ac_try_echo=$ac_try;;
34997 esac
34998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34999 (eval "$ac_compile") 2>conftest.er1
35000 ac_status=$?
35001 grep -v '^ *+' conftest.er1 >conftest.err
35002 rm -f conftest.er1
35003 cat conftest.err >&5
35004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35005 (exit $ac_status); } && {
35006 test -z "$ac_c_werror_flag" ||
35007 test ! -s conftest.err
35008 } && test -s conftest.$ac_objext; then
35009
35010 cat >>confdefs.h <<\_ACEOF
35011 #define HAVE_XSHAPE 1
35012 _ACEOF
35013
35014 { echo "$as_me:$LINENO: result: found" >&5
35015 echo "${ECHO_T}found" >&6; }
35016
35017 else
35018 echo "$as_me: failed program was:" >&5
35019 sed 's/^/| /' conftest.$ac_ext >&5
35020
35021
35022 { echo "$as_me:$LINENO: result: not found" >&5
35023 echo "${ECHO_T}not found" >&6; }
35024
35025 fi
35026
35027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35028 CFLAGS="$save_CFLAGS"
35029
35030 fi
35031 fi
35032
35033 if test "$wxUSE_MAC" = 1; then
35034 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
35035 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
35036 if test "$GCC" = yes; then
35037 { echo "$as_me:$LINENO: result: gcc" >&5
35038 echo "${ECHO_T}gcc" >&6; }
35039 CPPFLAGS_PASCAL="-fpascal-strings"
35040 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
35041 { echo "$as_me:$LINENO: result: xlc" >&5
35042 echo "${ECHO_T}xlc" >&6; }
35043 CPPFLAGS_PASCAL="-qmacpstr"
35044 else
35045 { echo "$as_me:$LINENO: result: none" >&5
35046 echo "${ECHO_T}none" >&6; }
35047 fi
35048
35049 if test "x$wxUSE_UNIX" = "xyes"; then
35050 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
35051 else
35052 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
35053 fi
35054
35055 TOOLKIT=MAC
35056 GUIDIST=MACX_DIST
35057 WXBASEPORT="_carbon"
35058 fi
35059
35060 if test "$wxUSE_COCOA" = 1; then
35061 TOOLKIT=COCOA
35062 GUIDIST=COCOA_DIST
35063 fi
35064
35065 if test "$wxUSE_PM" = 1; then
35066 TOOLKIT=PM
35067 GUIDIST=PM_DIST
35068 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
35069 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
35070 if test "${wx_cv_spbcdata+set}" = set; then
35071 echo $ECHO_N "(cached) $ECHO_C" >&6
35072 else
35073
35074 cat >conftest.$ac_ext <<_ACEOF
35075 /* confdefs.h. */
35076 _ACEOF
35077 cat confdefs.h >>conftest.$ac_ext
35078 cat >>conftest.$ac_ext <<_ACEOF
35079 /* end confdefs.h. */
35080
35081 #define INCL_PM
35082 #include <os2.h>
35083
35084 int
35085 main ()
35086 {
35087
35088 SPBCDATA test;
35089
35090 ;
35091 return 0;
35092 }
35093 _ACEOF
35094 rm -f conftest.$ac_objext
35095 if { (ac_try="$ac_compile"
35096 case "(($ac_try" in
35097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35098 *) ac_try_echo=$ac_try;;
35099 esac
35100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35101 (eval "$ac_compile") 2>conftest.er1
35102 ac_status=$?
35103 grep -v '^ *+' conftest.er1 >conftest.err
35104 rm -f conftest.er1
35105 cat conftest.err >&5
35106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35107 (exit $ac_status); } && {
35108 test -z "$ac_c_werror_flag" ||
35109 test ! -s conftest.err
35110 } && test -s conftest.$ac_objext; then
35111 wx_cv_spbcdata=yes
35112 else
35113 echo "$as_me: failed program was:" >&5
35114 sed 's/^/| /' conftest.$ac_ext >&5
35115
35116 wx_cv_spbcdata=no
35117
35118 fi
35119
35120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35121
35122
35123 fi
35124 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
35125 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
35126
35127 if test $wx_cv_spbcdata = "yes"; then
35128 cat >>confdefs.h <<\_ACEOF
35129 #define HAVE_SPBCDATA 1
35130 _ACEOF
35131
35132 fi
35133 fi
35134
35135 if test "$TOOLKIT" = "PM" ; then
35136 TOOLKIT_DIR="os2"
35137 else
35138 TOOLKIT_DIR=`echo ${TOOLKIT} | tr A-Z a-z`
35139 fi
35140
35141 if test "$wxUSE_UNIVERSAL" = "yes"; then
35142 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
35143 WIDGET_SET=univ
35144 fi
35145
35146 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
35147 DISTDIR="wx\$(TOOLKIT)"
35148 else
35149 USE_GUI=0
35150
35151 TOOLKIT_DIR="base"
35152
35153 if test "$USE_WIN32" = 1 ; then
35154 TOOLKIT="MSW"
35155 fi
35156
35157 GUIDIST="BASE_DIST"
35158 DISTDIR="wxBase"
35159 fi
35160
35161
35162
35163 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
35164 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
35165 wxUSE_UNICODE_UTF8=yes
35166 elif test "$USE_OS2" = 1 ; then
35167 wxUSE_UNICODE_UTF8=yes
35168 else
35169 wxUSE_UNICODE_UTF8=no
35170 fi
35171 fi
35172
35173
35174 if test "$wxUSE_GUI" = "yes"; then
35175 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
35176
35177 for ac_header in X11/Xlib.h
35178 do
35179 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35180 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35181 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35182 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35183 echo $ECHO_N "(cached) $ECHO_C" >&6
35184 else
35185 cat >conftest.$ac_ext <<_ACEOF
35186 /* confdefs.h. */
35187 _ACEOF
35188 cat confdefs.h >>conftest.$ac_ext
35189 cat >>conftest.$ac_ext <<_ACEOF
35190 /* end confdefs.h. */
35191
35192
35193 #include <$ac_header>
35194 _ACEOF
35195 rm -f conftest.$ac_objext
35196 if { (ac_try="$ac_compile"
35197 case "(($ac_try" in
35198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35199 *) ac_try_echo=$ac_try;;
35200 esac
35201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35202 (eval "$ac_compile") 2>conftest.er1
35203 ac_status=$?
35204 grep -v '^ *+' conftest.er1 >conftest.err
35205 rm -f conftest.er1
35206 cat conftest.err >&5
35207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35208 (exit $ac_status); } && {
35209 test -z "$ac_c_werror_flag" ||
35210 test ! -s conftest.err
35211 } && test -s conftest.$ac_objext; then
35212 eval "$as_ac_Header=yes"
35213 else
35214 echo "$as_me: failed program was:" >&5
35215 sed 's/^/| /' conftest.$ac_ext >&5
35216
35217 eval "$as_ac_Header=no"
35218 fi
35219
35220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35221 fi
35222 ac_res=`eval echo '${'$as_ac_Header'}'`
35223 { echo "$as_me:$LINENO: result: $ac_res" >&5
35224 echo "${ECHO_T}$ac_res" >&6; }
35225 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35226 cat >>confdefs.h <<_ACEOF
35227 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35228 _ACEOF
35229
35230 fi
35231
35232 done
35233
35234
35235 for ac_header in X11/XKBlib.h
35236 do
35237 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35238 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35239 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35240 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35241 echo $ECHO_N "(cached) $ECHO_C" >&6
35242 else
35243 cat >conftest.$ac_ext <<_ACEOF
35244 /* confdefs.h. */
35245 _ACEOF
35246 cat confdefs.h >>conftest.$ac_ext
35247 cat >>conftest.$ac_ext <<_ACEOF
35248 /* end confdefs.h. */
35249
35250 #if HAVE_X11_XLIB_H
35251 #include <X11/Xlib.h>
35252 #endif
35253
35254
35255 #include <$ac_header>
35256 _ACEOF
35257 rm -f conftest.$ac_objext
35258 if { (ac_try="$ac_compile"
35259 case "(($ac_try" in
35260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35261 *) ac_try_echo=$ac_try;;
35262 esac
35263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35264 (eval "$ac_compile") 2>conftest.er1
35265 ac_status=$?
35266 grep -v '^ *+' conftest.er1 >conftest.err
35267 rm -f conftest.er1
35268 cat conftest.err >&5
35269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35270 (exit $ac_status); } && {
35271 test -z "$ac_c_werror_flag" ||
35272 test ! -s conftest.err
35273 } && test -s conftest.$ac_objext; then
35274 eval "$as_ac_Header=yes"
35275 else
35276 echo "$as_me: failed program was:" >&5
35277 sed 's/^/| /' conftest.$ac_ext >&5
35278
35279 eval "$as_ac_Header=no"
35280 fi
35281
35282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35283 fi
35284 ac_res=`eval echo '${'$as_ac_Header'}'`
35285 { echo "$as_me:$LINENO: result: $ac_res" >&5
35286 echo "${ECHO_T}$ac_res" >&6; }
35287 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35288 cat >>confdefs.h <<_ACEOF
35289 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35290 _ACEOF
35291
35292 fi
35293
35294 done
35295
35296 fi
35297 fi
35298
35299
35300
35301 if test "$wxUSE_DISPLAY" = "yes"; then
35302 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
35303 { echo "$as_me:$LINENO: checking for Xinerama" >&5
35304 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
35305
35306 ac_find_libraries=
35307 for ac_dir in $SEARCH_LIB;
35308 do
35309 for ac_extension in a so sl dylib dll.a; do
35310 if test -f "$ac_dir/libXinerama.$ac_extension"; then
35311 ac_find_libraries=$ac_dir
35312 break 2
35313 fi
35314 done
35315 done
35316
35317 if test "$ac_find_libraries" != "" ; then
35318
35319 if test "$ac_find_libraries" = "default location"; then
35320 ac_path_to_link=""
35321 else
35322 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35323 result=$?
35324 if test $result = 0; then
35325 ac_path_to_link=""
35326 else
35327 ac_path_to_link=" -L$ac_find_libraries"
35328 fi
35329 fi
35330
35331 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35332 LDFLAGS="$LDFLAGS $ac_path_to_link"
35333 fi
35334 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
35335 { echo "$as_me:$LINENO: result: yes" >&5
35336 echo "${ECHO_T}yes" >&6; }
35337
35338 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
35339 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
35340
35341 ac_find_libraries=
35342 for ac_dir in $SEARCH_LIB;
35343 do
35344 for ac_extension in a so sl dylib dll.a; do
35345 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
35346 ac_find_libraries=$ac_dir
35347 break 2
35348 fi
35349 done
35350 done
35351
35352 if test "$ac_find_libraries" != "" ; then
35353 { echo "$as_me:$LINENO: result: yes" >&5
35354 echo "${ECHO_T}yes" >&6; }
35355
35356 for ac_header in X11/extensions/xf86vmode.h
35357 do
35358 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35359 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35360 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35361 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35362 echo $ECHO_N "(cached) $ECHO_C" >&6
35363 else
35364 cat >conftest.$ac_ext <<_ACEOF
35365 /* confdefs.h. */
35366 _ACEOF
35367 cat confdefs.h >>conftest.$ac_ext
35368 cat >>conftest.$ac_ext <<_ACEOF
35369 /* end confdefs.h. */
35370
35371 #if HAVE_X11_XLIB_H
35372 #include <X11/Xlib.h>
35373 #endif
35374
35375
35376 #include <$ac_header>
35377 _ACEOF
35378 rm -f conftest.$ac_objext
35379 if { (ac_try="$ac_compile"
35380 case "(($ac_try" in
35381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35382 *) ac_try_echo=$ac_try;;
35383 esac
35384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35385 (eval "$ac_compile") 2>conftest.er1
35386 ac_status=$?
35387 grep -v '^ *+' conftest.er1 >conftest.err
35388 rm -f conftest.er1
35389 cat conftest.err >&5
35390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35391 (exit $ac_status); } && {
35392 test -z "$ac_c_werror_flag" ||
35393 test ! -s conftest.err
35394 } && test -s conftest.$ac_objext; then
35395 eval "$as_ac_Header=yes"
35396 else
35397 echo "$as_me: failed program was:" >&5
35398 sed 's/^/| /' conftest.$ac_ext >&5
35399
35400 eval "$as_ac_Header=no"
35401 fi
35402
35403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35404 fi
35405 ac_res=`eval echo '${'$as_ac_Header'}'`
35406 { echo "$as_me:$LINENO: result: $ac_res" >&5
35407 echo "${ECHO_T}$ac_res" >&6; }
35408 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35409 cat >>confdefs.h <<_ACEOF
35410 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35411 _ACEOF
35412
35413 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
35414
35415 fi
35416
35417 done
35418
35419 else
35420 { echo "$as_me:$LINENO: result: no" >&5
35421 echo "${ECHO_T}no" >&6; }
35422 fi
35423
35424 else
35425 { echo "$as_me:$LINENO: result: no" >&5
35426 echo "${ECHO_T}no" >&6; }
35427 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
35428 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
35429 wxUSE_DISPLAY="no"
35430 fi
35431 elif test "$wxUSE_MSW" = 1; then
35432 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
35433 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
35434 if test "${ac_cv_header_ddraw_h+set}" = set; then
35435 echo $ECHO_N "(cached) $ECHO_C" >&6
35436 else
35437 cat >conftest.$ac_ext <<_ACEOF
35438 /* confdefs.h. */
35439 _ACEOF
35440 cat confdefs.h >>conftest.$ac_ext
35441 cat >>conftest.$ac_ext <<_ACEOF
35442 /* end confdefs.h. */
35443 #include <windows.h>
35444
35445 #include <ddraw.h>
35446 _ACEOF
35447 rm -f conftest.$ac_objext
35448 if { (ac_try="$ac_compile"
35449 case "(($ac_try" in
35450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35451 *) ac_try_echo=$ac_try;;
35452 esac
35453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35454 (eval "$ac_compile") 2>conftest.er1
35455 ac_status=$?
35456 grep -v '^ *+' conftest.er1 >conftest.err
35457 rm -f conftest.er1
35458 cat conftest.err >&5
35459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35460 (exit $ac_status); } && {
35461 test -z "$ac_c_werror_flag" ||
35462 test ! -s conftest.err
35463 } && test -s conftest.$ac_objext; then
35464 ac_cv_header_ddraw_h=yes
35465 else
35466 echo "$as_me: failed program was:" >&5
35467 sed 's/^/| /' conftest.$ac_ext >&5
35468
35469 ac_cv_header_ddraw_h=no
35470 fi
35471
35472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35473 fi
35474 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
35475 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
35476
35477
35478 fi
35479 fi
35480
35481 if test "$wxUSE_DETECT_SM" = "yes"; then
35482 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
35483 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
35484 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
35485
35486 ac_find_libraries=
35487 for ac_dir in $SEARCH_LIB;
35488 do
35489 for ac_extension in a so sl dylib dll.a; do
35490 if test -f "$ac_dir/libSM.$ac_extension"; then
35491 ac_find_libraries=$ac_dir
35492 break 2
35493 fi
35494 done
35495 done
35496
35497 if test "$ac_find_libraries" != "" ; then
35498
35499 if test "$ac_find_libraries" = "default location"; then
35500 ac_path_to_link=""
35501 else
35502 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35503 result=$?
35504 if test $result = 0; then
35505 ac_path_to_link=""
35506 else
35507 ac_path_to_link=" -L$ac_find_libraries"
35508 fi
35509 fi
35510
35511 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35512 LDFLAGS="$LDFLAGS $ac_path_to_link"
35513 fi
35514 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
35515 { echo "$as_me:$LINENO: result: yes" >&5
35516 echo "${ECHO_T}yes" >&6; }
35517 else
35518 { echo "$as_me:$LINENO: result: no" >&5
35519 echo "${ECHO_T}no" >&6; }
35520 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
35521 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
35522 wxUSE_DETECT_SM="no"
35523 fi
35524 else
35525 wxUSE_DETECT_SM="no"
35526 fi
35527 fi
35528
35529
35530
35531 USE_OPENGL=0
35532 if test "$wxUSE_OPENGL" = "yes"; then
35533 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
35534 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
35535 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
35536 wxUSE_OPENGL="no"
35537 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
35538 OPENGL_LIBS="-framework OpenGL -framework AGL"
35539 elif test "$wxUSE_MSW" = 1; then
35540 OPENGL_LIBS="-lopengl32 -lglu32"
35541 else
35542 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
35543 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
35544
35545 ac_find_includes=
35546 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
35547 do
35548 if test -f "$ac_dir/GL/gl.h"; then
35549 ac_find_includes=$ac_dir
35550 break
35551 fi
35552 done
35553
35554 if test "$ac_find_includes" != "" ; then
35555 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
35556 echo "${ECHO_T}found in $ac_find_includes" >&6; }
35557
35558 if test "x$ac_find_includes" = "x/usr/include"; then
35559 ac_path_to_include=""
35560 else
35561 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
35562 result=$?
35563 if test $result = 0; then
35564 ac_path_to_include=""
35565 else
35566 ac_path_to_include=" -I$ac_find_includes"
35567 fi
35568 fi
35569
35570 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
35571 else
35572 { echo "$as_me:$LINENO: result: not found" >&5
35573 echo "${ECHO_T}not found" >&6; }
35574 fi
35575
35576 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
35577 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
35578 if test "${ac_cv_header_GL_gl_h+set}" = set; then
35579 echo $ECHO_N "(cached) $ECHO_C" >&6
35580 else
35581 cat >conftest.$ac_ext <<_ACEOF
35582 /* confdefs.h. */
35583 _ACEOF
35584 cat confdefs.h >>conftest.$ac_ext
35585 cat >>conftest.$ac_ext <<_ACEOF
35586 /* end confdefs.h. */
35587
35588
35589 #include <GL/gl.h>
35590 _ACEOF
35591 rm -f conftest.$ac_objext
35592 if { (ac_try="$ac_compile"
35593 case "(($ac_try" in
35594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35595 *) ac_try_echo=$ac_try;;
35596 esac
35597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35598 (eval "$ac_compile") 2>conftest.er1
35599 ac_status=$?
35600 grep -v '^ *+' conftest.er1 >conftest.err
35601 rm -f conftest.er1
35602 cat conftest.err >&5
35603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35604 (exit $ac_status); } && {
35605 test -z "$ac_c_werror_flag" ||
35606 test ! -s conftest.err
35607 } && test -s conftest.$ac_objext; then
35608 ac_cv_header_GL_gl_h=yes
35609 else
35610 echo "$as_me: failed program was:" >&5
35611 sed 's/^/| /' conftest.$ac_ext >&5
35612
35613 ac_cv_header_GL_gl_h=no
35614 fi
35615
35616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35617 fi
35618 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
35619 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
35620 if test $ac_cv_header_GL_gl_h = yes; then
35621
35622 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
35623 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
35624 if test "${ac_cv_header_GL_glu_h+set}" = set; then
35625 echo $ECHO_N "(cached) $ECHO_C" >&6
35626 else
35627 cat >conftest.$ac_ext <<_ACEOF
35628 /* confdefs.h. */
35629 _ACEOF
35630 cat confdefs.h >>conftest.$ac_ext
35631 cat >>conftest.$ac_ext <<_ACEOF
35632 /* end confdefs.h. */
35633
35634
35635 #include <GL/glu.h>
35636 _ACEOF
35637 rm -f conftest.$ac_objext
35638 if { (ac_try="$ac_compile"
35639 case "(($ac_try" in
35640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35641 *) ac_try_echo=$ac_try;;
35642 esac
35643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35644 (eval "$ac_compile") 2>conftest.er1
35645 ac_status=$?
35646 grep -v '^ *+' conftest.er1 >conftest.err
35647 rm -f conftest.er1
35648 cat conftest.err >&5
35649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35650 (exit $ac_status); } && {
35651 test -z "$ac_c_werror_flag" ||
35652 test ! -s conftest.err
35653 } && test -s conftest.$ac_objext; then
35654 ac_cv_header_GL_glu_h=yes
35655 else
35656 echo "$as_me: failed program was:" >&5
35657 sed 's/^/| /' conftest.$ac_ext >&5
35658
35659 ac_cv_header_GL_glu_h=no
35660 fi
35661
35662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35663 fi
35664 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
35665 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
35666 if test $ac_cv_header_GL_glu_h = yes; then
35667
35668 found_gl=0
35669
35670 { echo "$as_me:$LINENO: checking for -lGL" >&5
35671 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
35672
35673 ac_find_libraries=
35674 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
35675 do
35676 for ac_extension in a so sl dylib dll.a; do
35677 if test -f "$ac_dir/libGL.$ac_extension"; then
35678 ac_find_libraries=$ac_dir
35679 break 2
35680 fi
35681 done
35682 done
35683
35684 if test "$ac_find_libraries" != "" ; then
35685 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
35686 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
35687
35688
35689 if test "$ac_find_libraries" = "default location"; then
35690 ac_path_to_link=""
35691 else
35692 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35693 result=$?
35694 if test $result = 0; then
35695 ac_path_to_link=""
35696 else
35697 ac_path_to_link=" -L$ac_find_libraries"
35698 fi
35699 fi
35700
35701 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35702 LDFLAGS_GL="$ac_path_to_link"
35703 fi
35704
35705 { echo "$as_me:$LINENO: checking for -lGLU" >&5
35706 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
35707
35708 ac_find_libraries=
35709 for ac_dir in $SEARCH_LIB;
35710 do
35711 for ac_extension in a so sl dylib dll.a; do
35712 if test -f "$ac_dir/libGLU.$ac_extension"; then
35713 ac_find_libraries=$ac_dir
35714 break 2
35715 fi
35716 done
35717 done
35718
35719 if test "$ac_find_libraries" != "" ; then
35720
35721 if test "$ac_find_libraries" = "default location"; then
35722 ac_path_to_link=""
35723 else
35724 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35725 result=$?
35726 if test $result = 0; then
35727 ac_path_to_link=""
35728 else
35729 ac_path_to_link=" -L$ac_find_libraries"
35730 fi
35731 fi
35732
35733 if test "$ac_path_to_link" != " -L/usr/lib" -a \
35734 "$ac_path_to_link" != "$LDFLAGS_GL"; then
35735 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
35736 fi
35737
35738 found_gl=1
35739 OPENGL_LIBS="-lGL -lGLU"
35740 { echo "$as_me:$LINENO: result: yes" >&5
35741 echo "${ECHO_T}yes" >&6; }
35742 else
35743 { echo "$as_me:$LINENO: result: no" >&5
35744 echo "${ECHO_T}no" >&6; }
35745 fi
35746 else
35747 { echo "$as_me:$LINENO: result: no" >&5
35748 echo "${ECHO_T}no" >&6; }
35749 fi
35750
35751 if test "$found_gl" != 1; then
35752 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
35753 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
35754
35755 ac_find_libraries=
35756 for ac_dir in $SEARCH_LIB;
35757 do
35758 for ac_extension in a so sl dylib dll.a; do
35759 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
35760 ac_find_libraries=$ac_dir
35761 break 2
35762 fi
35763 done
35764 done
35765
35766 if test "$ac_find_libraries" != "" ; then
35767
35768 if test "$ac_find_libraries" = "default location"; then
35769 ac_path_to_link=""
35770 else
35771 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35772 result=$?
35773 if test $result = 0; then
35774 ac_path_to_link=""
35775 else
35776 ac_path_to_link=" -L$ac_find_libraries"
35777 fi
35778 fi
35779
35780 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
35781 OPENGL_LIBS="-lMesaGL -lMesaGLU"
35782 { echo "$as_me:$LINENO: result: yes" >&5
35783 echo "${ECHO_T}yes" >&6; }
35784 else
35785 { echo "$as_me:$LINENO: result: no" >&5
35786 echo "${ECHO_T}no" >&6; }
35787 fi
35788 fi
35789
35790 fi
35791
35792
35793
35794 fi
35795
35796
35797
35798 if test "x$OPENGL_LIBS" = "x"; then
35799 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
35800 echo "$as_me: error: OpenGL libraries not available" >&2;}
35801 { (exit 1); exit 1; }; }
35802 fi
35803 fi
35804
35805 if test "$wxUSE_OPENGL" = "yes"; then
35806 USE_OPENGL=1
35807 cat >>confdefs.h <<\_ACEOF
35808 #define wxUSE_OPENGL 1
35809 _ACEOF
35810
35811 cat >>confdefs.h <<\_ACEOF
35812 #define wxUSE_GLCANVAS 1
35813 _ACEOF
35814
35815 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
35816 fi
35817 fi
35818
35819
35820 if test -n "$TOOLKIT" ; then
35821 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
35822 fi
35823
35824
35825
35826 if test "$wxUSE_SHARED" = "yes"; then
35827 case "${host}" in
35828 *-pc-msdosdjgpp )
35829 wxUSE_SHARED=no
35830 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
35831 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
35832 ;;
35833 esac
35834 fi
35835
35836 if test "$wxUSE_SHARED" = "yes"; then
35837
35838
35839 case "${host}" in
35840 *-*-cygwin* | *-*-mingw* )
35841 wx_cv_version_script=no
35842 ;;
35843
35844 *)
35845 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
35846 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
35847 if test "${wx_cv_version_script+set}" = set; then
35848 echo $ECHO_N "(cached) $ECHO_C" >&6
35849 else
35850
35851 echo "VER_1 { *; };" >conftest.sym
35852 echo "int main() { return 0; }" >conftest.cpp
35853
35854 if { ac_try='
35855 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35856 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
35857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35858 (eval $ac_try) 2>&5
35859 ac_status=$?
35860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35861 (exit $ac_status); }; } ; then
35862 if test -s conftest.stderr ; then
35863 wx_cv_version_script=no
35864 else
35865 wx_cv_version_script=yes
35866 fi
35867 else
35868 wx_cv_version_script=no
35869 fi
35870
35871 if test $wx_cv_version_script = yes
35872 then
35873 echo "struct B { virtual ~B() { } }; \
35874 struct D : public B { }; \
35875 void F() { D d; }" > conftest.cpp
35876
35877 if { ac_try='
35878 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35879 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
35880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35881 (eval $ac_try) 2>&5
35882 ac_status=$?
35883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35884 (exit $ac_status); }; } &&
35885 { ac_try='
35886 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35887 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
35888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35889 (eval $ac_try) 2>&5
35890 ac_status=$?
35891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35892 (exit $ac_status); }; }
35893 then
35894 if { ac_try='
35895 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35896 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
35897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35898 (eval $ac_try) 2>&5
35899 ac_status=$?
35900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35901 (exit $ac_status); }; }
35902 then
35903 wx_cv_version_script=yes
35904 else
35905 wx_cv_version_script=no
35906 fi
35907 fi
35908 fi
35909
35910 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
35911 rm -f conftest1.output conftest2.output conftest3.output
35912
35913 fi
35914 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
35915 echo "${ECHO_T}$wx_cv_version_script" >&6; }
35916
35917 if test $wx_cv_version_script = yes ; then
35918 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
35919 fi
35920 ;;
35921 esac
35922
35923
35924 if test "$wxUSE_VISIBILITY" != "no"; then
35925
35926
35927 if test -n "$GCC"; then
35928 CFLAGS_VISIBILITY="-fvisibility=hidden"
35929 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
35930 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
35931 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
35932 if test "${wx_cv_cc_visibility+set}" = set; then
35933 echo $ECHO_N "(cached) $ECHO_C" >&6
35934 else
35935
35936 wx_save_CXXFLAGS="$CXXFLAGS"
35937 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
35938 ac_ext=cpp
35939 ac_cpp='$CXXCPP $CPPFLAGS'
35940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35943
35944 cat >conftest.$ac_ext <<_ACEOF
35945 /* confdefs.h. */
35946 _ACEOF
35947 cat confdefs.h >>conftest.$ac_ext
35948 cat >>conftest.$ac_ext <<_ACEOF
35949 /* end confdefs.h. */
35950
35951 /* we need gcc >= 4.0, older versions with visibility support
35952 didn't have class visibility: */
35953 #if defined(__GNUC__) && __GNUC__ < 4
35954 error this gcc is too old;
35955 #endif
35956
35957 /* visibility only makes sense for ELF shared libs: */
35958 #if !defined(__ELF__) && !defined(__APPLE__)
35959 error this platform has no visibility;
35960 #endif
35961
35962 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
35963 extern __attribute__((__visibility__("default"))) int exportedvar;
35964 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
35965 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
35966 class __attribute__((__visibility__("default"))) Foo {
35967 Foo() {}
35968 };
35969
35970 int
35971 main ()
35972 {
35973
35974 ;
35975 return 0;
35976 }
35977 _ACEOF
35978 rm -f conftest.$ac_objext
35979 if { (ac_try="$ac_compile"
35980 case "(($ac_try" in
35981 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35982 *) ac_try_echo=$ac_try;;
35983 esac
35984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35985 (eval "$ac_compile") 2>conftest.er1
35986 ac_status=$?
35987 grep -v '^ *+' conftest.er1 >conftest.err
35988 rm -f conftest.er1
35989 cat conftest.err >&5
35990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35991 (exit $ac_status); } && {
35992 test -z "$ac_cxx_werror_flag" ||
35993 test ! -s conftest.err
35994 } && test -s conftest.$ac_objext; then
35995 wx_cv_cc_visibility=yes
35996 else
35997 echo "$as_me: failed program was:" >&5
35998 sed 's/^/| /' conftest.$ac_ext >&5
35999
36000 wx_cv_cc_visibility=no
36001 fi
36002
36003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36004 ac_ext=c
36005 ac_cpp='$CPP $CPPFLAGS'
36006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36009
36010 CXXFLAGS="$wx_save_CXXFLAGS"
36011 fi
36012
36013 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
36014 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
36015 if test $wx_cv_cc_visibility = yes; then
36016 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
36017 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
36018 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
36019 echo $ECHO_N "(cached) $ECHO_C" >&6
36020 else
36021
36022 wx_save_CXXFLAGS="$CXXFLAGS"
36023 wx_save_LDFLAGS="$LDFLAGS"
36024 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
36025 LDFLAGS="$LDFLAGS -shared -fPIC"
36026 ac_ext=cpp
36027 ac_cpp='$CXXCPP $CPPFLAGS'
36028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36031
36032 cat >conftest.$ac_ext <<_ACEOF
36033 /* confdefs.h. */
36034 _ACEOF
36035 cat confdefs.h >>conftest.$ac_ext
36036 cat >>conftest.$ac_ext <<_ACEOF
36037 /* end confdefs.h. */
36038
36039 #include <string>
36040
36041 int
36042 main ()
36043 {
36044
36045 std::string s("hello");
36046 return s.length();
36047
36048 ;
36049 return 0;
36050 }
36051 _ACEOF
36052 rm -f conftest.$ac_objext conftest$ac_exeext
36053 if { (ac_try="$ac_link"
36054 case "(($ac_try" in
36055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36056 *) ac_try_echo=$ac_try;;
36057 esac
36058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36059 (eval "$ac_link") 2>conftest.er1
36060 ac_status=$?
36061 grep -v '^ *+' conftest.er1 >conftest.err
36062 rm -f conftest.er1
36063 cat conftest.err >&5
36064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36065 (exit $ac_status); } && {
36066 test -z "$ac_cxx_werror_flag" ||
36067 test ! -s conftest.err
36068 } && test -s conftest$ac_exeext &&
36069 $as_test_x conftest$ac_exeext; then
36070 wx_cv_cc_broken_libstdcxx_visibility=no
36071 else
36072 echo "$as_me: failed program was:" >&5
36073 sed 's/^/| /' conftest.$ac_ext >&5
36074
36075 wx_cv_cc_broken_libstdcxx_visibility=yes
36076 fi
36077
36078 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36079 conftest$ac_exeext conftest.$ac_ext
36080 ac_ext=c
36081 ac_cpp='$CPP $CPPFLAGS'
36082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36085
36086 CXXFLAGS="$wx_save_CXXFLAGS"
36087 LDFLAGS="$wx_save_LDFLAGS"
36088 fi
36089
36090 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
36091 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
36092
36093 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
36094 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
36095 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
36096 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
36097 echo $ECHO_N "(cached) $ECHO_C" >&6
36098 else
36099
36100 ac_ext=cpp
36101 ac_cpp='$CXXCPP $CPPFLAGS'
36102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36105
36106 cat >conftest.$ac_ext <<_ACEOF
36107 /* confdefs.h. */
36108 _ACEOF
36109 cat confdefs.h >>conftest.$ac_ext
36110 cat >>conftest.$ac_ext <<_ACEOF
36111 /* end confdefs.h. */
36112
36113 #pragma GCC visibility push(default)
36114 #include <string>
36115 #pragma GCC visibility pop
36116
36117 int
36118 main ()
36119 {
36120
36121 std::string s("hello");
36122 return s.length();
36123
36124 ;
36125 return 0;
36126 }
36127 _ACEOF
36128 rm -f conftest.$ac_objext conftest$ac_exeext
36129 if { (ac_try="$ac_link"
36130 case "(($ac_try" in
36131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36132 *) ac_try_echo=$ac_try;;
36133 esac
36134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36135 (eval "$ac_link") 2>conftest.er1
36136 ac_status=$?
36137 grep -v '^ *+' conftest.er1 >conftest.err
36138 rm -f conftest.er1
36139 cat conftest.err >&5
36140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36141 (exit $ac_status); } && {
36142 test -z "$ac_cxx_werror_flag" ||
36143 test ! -s conftest.err
36144 } && test -s conftest$ac_exeext &&
36145 $as_test_x conftest$ac_exeext; then
36146 wx_cv_cc_visibility_workaround=no
36147 else
36148 echo "$as_me: failed program was:" >&5
36149 sed 's/^/| /' conftest.$ac_ext >&5
36150
36151 wx_cv_cc_visibility_workaround=yes
36152 fi
36153
36154 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36155 conftest$ac_exeext conftest.$ac_ext
36156 ac_ext=c
36157 ac_cpp='$CPP $CPPFLAGS'
36158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36161
36162
36163 fi
36164
36165 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
36166 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
36167
36168 if test $wx_cv_cc_visibility_workaround = no; then
36169 wx_cv_cc_visibility=no
36170 fi
36171 fi
36172 fi
36173
36174 if test $wx_cv_cc_visibility = yes; then
36175 cat >>confdefs.h <<\_ACEOF
36176 #define HAVE_VISIBILITY 1
36177 _ACEOF
36178
36179 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
36180 cat >>confdefs.h <<\_ACEOF
36181 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
36182 _ACEOF
36183
36184 fi
36185 else
36186 CFLAGS_VISIBILITY=""
36187 CXXFLAGS_VISIBILITY=""
36188 fi
36189
36190
36191 fi
36192
36193 fi
36194
36195 if test "x$SUNCXX" = xyes; then
36196 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
36197 WXCONFIG_RPATH="-R\$libdir"
36198 else
36199 case "${host}" in
36200 *-*-linux* | *-*-gnu* )
36201 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
36202 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
36203 ;;
36204
36205 *-*-solaris2* )
36206
36207 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
36208
36209 saveLdflags="$LDFLAGS"
36210 LDFLAGS="$saveLdflags -Wl,-rpath,/"
36211 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
36212 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
36213 cat >conftest.$ac_ext <<_ACEOF
36214 /* confdefs.h. */
36215 _ACEOF
36216 cat confdefs.h >>conftest.$ac_ext
36217 cat >>conftest.$ac_ext <<_ACEOF
36218 /* end confdefs.h. */
36219
36220 int
36221 main ()
36222 {
36223
36224 ;
36225 return 0;
36226 }
36227 _ACEOF
36228 rm -f conftest.$ac_objext conftest$ac_exeext
36229 if { (ac_try="$ac_link"
36230 case "(($ac_try" in
36231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36232 *) ac_try_echo=$ac_try;;
36233 esac
36234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36235 (eval "$ac_link") 2>conftest.er1
36236 ac_status=$?
36237 grep -v '^ *+' conftest.er1 >conftest.err
36238 rm -f conftest.er1
36239 cat conftest.err >&5
36240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36241 (exit $ac_status); } && {
36242 test -z "$ac_c_werror_flag" ||
36243 test ! -s conftest.err
36244 } && test -s conftest$ac_exeext &&
36245 $as_test_x conftest$ac_exeext; then
36246
36247 { echo "$as_me:$LINENO: result: yes" >&5
36248 echo "${ECHO_T}yes" >&6; }
36249 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
36250 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
36251
36252 else
36253 echo "$as_me: failed program was:" >&5
36254 sed 's/^/| /' conftest.$ac_ext >&5
36255
36256
36257 { echo "$as_me:$LINENO: result: no" >&5
36258 echo "${ECHO_T}no" >&6; }
36259 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
36260 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
36261 LDFLAGS="$saveLdflags -Wl,-R,/"
36262 cat >conftest.$ac_ext <<_ACEOF
36263 /* confdefs.h. */
36264 _ACEOF
36265 cat confdefs.h >>conftest.$ac_ext
36266 cat >>conftest.$ac_ext <<_ACEOF
36267 /* end confdefs.h. */
36268
36269 int
36270 main ()
36271 {
36272
36273 ;
36274 return 0;
36275 }
36276 _ACEOF
36277 rm -f conftest.$ac_objext conftest$ac_exeext
36278 if { (ac_try="$ac_link"
36279 case "(($ac_try" in
36280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36281 *) ac_try_echo=$ac_try;;
36282 esac
36283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36284 (eval "$ac_link") 2>conftest.er1
36285 ac_status=$?
36286 grep -v '^ *+' conftest.er1 >conftest.err
36287 rm -f conftest.er1
36288 cat conftest.err >&5
36289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36290 (exit $ac_status); } && {
36291 test -z "$ac_c_werror_flag" ||
36292 test ! -s conftest.err
36293 } && test -s conftest$ac_exeext &&
36294 $as_test_x conftest$ac_exeext; then
36295
36296 { echo "$as_me:$LINENO: result: yes" >&5
36297 echo "${ECHO_T}yes" >&6; }
36298 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
36299 WXCONFIG_RPATH="-Wl,-R,\$libdir"
36300
36301 else
36302 echo "$as_me: failed program was:" >&5
36303 sed 's/^/| /' conftest.$ac_ext >&5
36304
36305
36306 { echo "$as_me:$LINENO: result: no" >&5
36307 echo "${ECHO_T}no" >&6; }
36308
36309 fi
36310
36311 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36312 conftest$ac_exeext conftest.$ac_ext
36313
36314 fi
36315
36316 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36317 conftest$ac_exeext conftest.$ac_ext
36318 LDFLAGS="$saveLdflags"
36319 ;;
36320
36321 *-*-darwin* )
36322 install_name_tool=`which install_name_tool`
36323 if test "$install_name_tool" -a -x "$install_name_tool"; then
36324 SAMPLES_RPATH_POSTLINK="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
36325 cat <<EOF >change-install-names
36326 #!/bin/sh
36327 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
36328 inst_cmd="install_name_tool "
36329 for i in \${libnames} ; do
36330 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
36331 done
36332 \${inst_cmd} \${3}
36333 EOF
36334 chmod +x change-install-names
36335 fi
36336 ;;
36337
36338 *-*-cygwin* | *-*-mingw32* )
36339 ;;
36340
36341 *-*-hpux* )
36342 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
36343 WXCONFIG_RPATH="-Wl,+b,\$libdir"
36344 ;;
36345
36346 esac
36347 fi
36348
36349 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
36350
36351 if test $wxUSE_RPATH = "no"; then
36352 SAMPLES_RPATH_FLAG=''
36353 SAMPLES_RPATH_POSTLINK=''
36354 WXCONFIG_RPATH=''
36355 fi
36356
36357 SHARED=1
36358
36359 else
36360
36361 config_linkage_component="-static"
36362 SHARED=0
36363
36364 fi
36365
36366
36367 UNICODE=0
36368 lib_unicode_suffix=
36369 WX_CHARTYPE="ansi"
36370 if test "$wxUSE_UNICODE" = "yes"; then
36371 lib_unicode_suffix=u
36372 WX_CHARTYPE="unicode"
36373 UNICODE=1
36374 fi
36375
36376 lib_debug_suffix=
36377 WX_DEBUGTYPE="release"
36378 DEBUG_FLAG=0
36379 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
36380 lib_debug_suffix=d
36381 WX_DEBUGTYPE="debug"
36382 DEBUG_FLAG=1
36383 fi
36384
36385 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
36386 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
36387
36388 DEBUG_INFO=0
36389 if test "$wxUSE_DEBUG_INFO" = "yes"; then
36390 DEBUG_INFO=1
36391 fi
36392
36393 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr a-z A-Z`
36394
36395 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
36396
36397 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
36398
36399 if test "$cross_compiling" = "yes"; then
36400 HOST_SUFFIX="-$host_alias"
36401 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
36402 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
36403 fi
36404
36405 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36406 if test "${TOOLKIT_DIR}" = "os2"; then
36407 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36408 else
36409 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36410 fi
36411
36412
36413
36414 if test "$wxUSE_COCOA" = 1; then
36415
36416 ac_ext=c
36417 ac_cpp='$CPP $CPPFLAGS'
36418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36421
36422 ac_ext=m
36423
36424 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
36425 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
36426 cat >conftest.$ac_ext <<_ACEOF
36427 /* confdefs.h. */
36428 _ACEOF
36429 cat confdefs.h >>conftest.$ac_ext
36430 cat >>conftest.$ac_ext <<_ACEOF
36431 /* end confdefs.h. */
36432 #include <AppKit/NSEvent.h>
36433 #include <CoreFoundation/CoreFoundation.h>
36434
36435 int
36436 main ()
36437 {
36438
36439 ;
36440 return 0;
36441 }
36442 _ACEOF
36443 rm -f conftest.$ac_objext
36444 if { (ac_try="$ac_compile"
36445 case "(($ac_try" in
36446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36447 *) ac_try_echo=$ac_try;;
36448 esac
36449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36450 (eval "$ac_compile") 2>conftest.er1
36451 ac_status=$?
36452 grep -v '^ *+' conftest.er1 >conftest.err
36453 rm -f conftest.er1
36454 cat conftest.err >&5
36455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36456 (exit $ac_status); } && {
36457 test -z "$ac_c_werror_flag" ||
36458 test ! -s conftest.err
36459 } && test -s conftest.$ac_objext; then
36460 { echo "$as_me:$LINENO: result: no" >&5
36461 echo "${ECHO_T}no" >&6; }
36462 else
36463 echo "$as_me: failed program was:" >&5
36464 sed 's/^/| /' conftest.$ac_ext >&5
36465
36466 { echo "$as_me:$LINENO: result: yes" >&5
36467 echo "${ECHO_T}yes" >&6; }
36468 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
36469 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
36470 cat >conftest.$ac_ext <<_ACEOF
36471 /* confdefs.h. */
36472 _ACEOF
36473 cat confdefs.h >>conftest.$ac_ext
36474 cat >>conftest.$ac_ext <<_ACEOF
36475 /* end confdefs.h. */
36476 #define __Point__ 1
36477 #include <AppKit/NSEvent.h>
36478 #include <CoreFoundation/CoreFoundation.h>
36479
36480 int
36481 main ()
36482 {
36483
36484 ;
36485 return 0;
36486 }
36487 _ACEOF
36488 rm -f conftest.$ac_objext
36489 if { (ac_try="$ac_compile"
36490 case "(($ac_try" in
36491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36492 *) ac_try_echo=$ac_try;;
36493 esac
36494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36495 (eval "$ac_compile") 2>conftest.er1
36496 ac_status=$?
36497 grep -v '^ *+' conftest.er1 >conftest.err
36498 rm -f conftest.er1
36499 cat conftest.err >&5
36500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36501 (exit $ac_status); } && {
36502 test -z "$ac_c_werror_flag" ||
36503 test ! -s conftest.err
36504 } && test -s conftest.$ac_objext; then
36505 { echo "$as_me:$LINENO: result: yes" >&5
36506 echo "${ECHO_T}yes" >&6; }
36507 cat >>confdefs.h <<\_ACEOF
36508 #define __Point__ 1
36509 _ACEOF
36510
36511
36512 else
36513 echo "$as_me: failed program was:" >&5
36514 sed 's/^/| /' conftest.$ac_ext >&5
36515
36516 { { echo "$as_me:$LINENO: error: no
36517 See \`config.log' for more details." >&5
36518 echo "$as_me: error: no
36519 See \`config.log' for more details." >&2;}
36520 { (exit 1); exit 1; }; }
36521
36522 fi
36523
36524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36525
36526 fi
36527
36528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36529 ac_ext=c
36530 ac_cpp='$CPP $CPPFLAGS'
36531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36534
36535 fi
36536
36537
36538 { echo "$as_me:$LINENO: checking for mode_t" >&5
36539 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
36540 if test "${ac_cv_type_mode_t+set}" = set; then
36541 echo $ECHO_N "(cached) $ECHO_C" >&6
36542 else
36543 cat >conftest.$ac_ext <<_ACEOF
36544 /* confdefs.h. */
36545 _ACEOF
36546 cat confdefs.h >>conftest.$ac_ext
36547 cat >>conftest.$ac_ext <<_ACEOF
36548 /* end confdefs.h. */
36549 $ac_includes_default
36550 typedef mode_t ac__type_new_;
36551 int
36552 main ()
36553 {
36554 if ((ac__type_new_ *) 0)
36555 return 0;
36556 if (sizeof (ac__type_new_))
36557 return 0;
36558 ;
36559 return 0;
36560 }
36561 _ACEOF
36562 rm -f conftest.$ac_objext
36563 if { (ac_try="$ac_compile"
36564 case "(($ac_try" in
36565 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36566 *) ac_try_echo=$ac_try;;
36567 esac
36568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36569 (eval "$ac_compile") 2>conftest.er1
36570 ac_status=$?
36571 grep -v '^ *+' conftest.er1 >conftest.err
36572 rm -f conftest.er1
36573 cat conftest.err >&5
36574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36575 (exit $ac_status); } && {
36576 test -z "$ac_c_werror_flag" ||
36577 test ! -s conftest.err
36578 } && test -s conftest.$ac_objext; then
36579 ac_cv_type_mode_t=yes
36580 else
36581 echo "$as_me: failed program was:" >&5
36582 sed 's/^/| /' conftest.$ac_ext >&5
36583
36584 ac_cv_type_mode_t=no
36585 fi
36586
36587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36588 fi
36589 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
36590 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
36591 if test $ac_cv_type_mode_t = yes; then
36592 :
36593 else
36594
36595 cat >>confdefs.h <<_ACEOF
36596 #define mode_t int
36597 _ACEOF
36598
36599 fi
36600
36601 { echo "$as_me:$LINENO: checking for off_t" >&5
36602 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
36603 if test "${ac_cv_type_off_t+set}" = set; then
36604 echo $ECHO_N "(cached) $ECHO_C" >&6
36605 else
36606 cat >conftest.$ac_ext <<_ACEOF
36607 /* confdefs.h. */
36608 _ACEOF
36609 cat confdefs.h >>conftest.$ac_ext
36610 cat >>conftest.$ac_ext <<_ACEOF
36611 /* end confdefs.h. */
36612 $ac_includes_default
36613 typedef off_t ac__type_new_;
36614 int
36615 main ()
36616 {
36617 if ((ac__type_new_ *) 0)
36618 return 0;
36619 if (sizeof (ac__type_new_))
36620 return 0;
36621 ;
36622 return 0;
36623 }
36624 _ACEOF
36625 rm -f conftest.$ac_objext
36626 if { (ac_try="$ac_compile"
36627 case "(($ac_try" in
36628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36629 *) ac_try_echo=$ac_try;;
36630 esac
36631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36632 (eval "$ac_compile") 2>conftest.er1
36633 ac_status=$?
36634 grep -v '^ *+' conftest.er1 >conftest.err
36635 rm -f conftest.er1
36636 cat conftest.err >&5
36637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36638 (exit $ac_status); } && {
36639 test -z "$ac_c_werror_flag" ||
36640 test ! -s conftest.err
36641 } && test -s conftest.$ac_objext; then
36642 ac_cv_type_off_t=yes
36643 else
36644 echo "$as_me: failed program was:" >&5
36645 sed 's/^/| /' conftest.$ac_ext >&5
36646
36647 ac_cv_type_off_t=no
36648 fi
36649
36650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36651 fi
36652 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
36653 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
36654 if test $ac_cv_type_off_t = yes; then
36655 :
36656 else
36657
36658 cat >>confdefs.h <<_ACEOF
36659 #define off_t long int
36660 _ACEOF
36661
36662 fi
36663
36664 { echo "$as_me:$LINENO: checking for pid_t" >&5
36665 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
36666 if test "${ac_cv_type_pid_t+set}" = set; then
36667 echo $ECHO_N "(cached) $ECHO_C" >&6
36668 else
36669 cat >conftest.$ac_ext <<_ACEOF
36670 /* confdefs.h. */
36671 _ACEOF
36672 cat confdefs.h >>conftest.$ac_ext
36673 cat >>conftest.$ac_ext <<_ACEOF
36674 /* end confdefs.h. */
36675 $ac_includes_default
36676 typedef pid_t ac__type_new_;
36677 int
36678 main ()
36679 {
36680 if ((ac__type_new_ *) 0)
36681 return 0;
36682 if (sizeof (ac__type_new_))
36683 return 0;
36684 ;
36685 return 0;
36686 }
36687 _ACEOF
36688 rm -f conftest.$ac_objext
36689 if { (ac_try="$ac_compile"
36690 case "(($ac_try" in
36691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36692 *) ac_try_echo=$ac_try;;
36693 esac
36694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36695 (eval "$ac_compile") 2>conftest.er1
36696 ac_status=$?
36697 grep -v '^ *+' conftest.er1 >conftest.err
36698 rm -f conftest.er1
36699 cat conftest.err >&5
36700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36701 (exit $ac_status); } && {
36702 test -z "$ac_c_werror_flag" ||
36703 test ! -s conftest.err
36704 } && test -s conftest.$ac_objext; then
36705 ac_cv_type_pid_t=yes
36706 else
36707 echo "$as_me: failed program was:" >&5
36708 sed 's/^/| /' conftest.$ac_ext >&5
36709
36710 ac_cv_type_pid_t=no
36711 fi
36712
36713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36714 fi
36715 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
36716 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
36717 if test $ac_cv_type_pid_t = yes; then
36718 :
36719 else
36720
36721 cat >>confdefs.h <<_ACEOF
36722 #define pid_t int
36723 _ACEOF
36724
36725 fi
36726
36727 { echo "$as_me:$LINENO: checking for size_t" >&5
36728 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
36729 if test "${ac_cv_type_size_t+set}" = set; then
36730 echo $ECHO_N "(cached) $ECHO_C" >&6
36731 else
36732 cat >conftest.$ac_ext <<_ACEOF
36733 /* confdefs.h. */
36734 _ACEOF
36735 cat confdefs.h >>conftest.$ac_ext
36736 cat >>conftest.$ac_ext <<_ACEOF
36737 /* end confdefs.h. */
36738 $ac_includes_default
36739 typedef size_t ac__type_new_;
36740 int
36741 main ()
36742 {
36743 if ((ac__type_new_ *) 0)
36744 return 0;
36745 if (sizeof (ac__type_new_))
36746 return 0;
36747 ;
36748 return 0;
36749 }
36750 _ACEOF
36751 rm -f conftest.$ac_objext
36752 if { (ac_try="$ac_compile"
36753 case "(($ac_try" in
36754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36755 *) ac_try_echo=$ac_try;;
36756 esac
36757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36758 (eval "$ac_compile") 2>conftest.er1
36759 ac_status=$?
36760 grep -v '^ *+' conftest.er1 >conftest.err
36761 rm -f conftest.er1
36762 cat conftest.err >&5
36763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36764 (exit $ac_status); } && {
36765 test -z "$ac_c_werror_flag" ||
36766 test ! -s conftest.err
36767 } && test -s conftest.$ac_objext; then
36768 ac_cv_type_size_t=yes
36769 else
36770 echo "$as_me: failed program was:" >&5
36771 sed 's/^/| /' conftest.$ac_ext >&5
36772
36773 ac_cv_type_size_t=no
36774 fi
36775
36776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36777 fi
36778 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
36779 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
36780 if test $ac_cv_type_size_t = yes; then
36781 :
36782 else
36783
36784 cat >>confdefs.h <<_ACEOF
36785 #define size_t unsigned int
36786 _ACEOF
36787
36788 fi
36789
36790 { echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
36791 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6; }
36792 if test "${ac_cv_type_uid_t+set}" = set; then
36793 echo $ECHO_N "(cached) $ECHO_C" >&6
36794 else
36795 cat >conftest.$ac_ext <<_ACEOF
36796 /* confdefs.h. */
36797 _ACEOF
36798 cat confdefs.h >>conftest.$ac_ext
36799 cat >>conftest.$ac_ext <<_ACEOF
36800 /* end confdefs.h. */
36801 #include <sys/types.h>
36802
36803 _ACEOF
36804 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
36805 $EGREP "uid_t" >/dev/null 2>&1; then
36806 ac_cv_type_uid_t=yes
36807 else
36808 ac_cv_type_uid_t=no
36809 fi
36810 rm -f conftest*
36811
36812 fi
36813 { echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
36814 echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
36815 if test $ac_cv_type_uid_t = no; then
36816
36817 cat >>confdefs.h <<\_ACEOF
36818 #define uid_t int
36819 _ACEOF
36820
36821
36822 cat >>confdefs.h <<\_ACEOF
36823 #define gid_t int
36824 _ACEOF
36825
36826 fi
36827
36828
36829 { echo "$as_me:$LINENO: checking for ssize_t" >&5
36830 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
36831 if test "${ac_cv_type_ssize_t+set}" = set; then
36832 echo $ECHO_N "(cached) $ECHO_C" >&6
36833 else
36834 cat >conftest.$ac_ext <<_ACEOF
36835 /* confdefs.h. */
36836 _ACEOF
36837 cat confdefs.h >>conftest.$ac_ext
36838 cat >>conftest.$ac_ext <<_ACEOF
36839 /* end confdefs.h. */
36840 $ac_includes_default
36841 typedef ssize_t ac__type_new_;
36842 int
36843 main ()
36844 {
36845 if ((ac__type_new_ *) 0)
36846 return 0;
36847 if (sizeof (ac__type_new_))
36848 return 0;
36849 ;
36850 return 0;
36851 }
36852 _ACEOF
36853 rm -f conftest.$ac_objext
36854 if { (ac_try="$ac_compile"
36855 case "(($ac_try" in
36856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36857 *) ac_try_echo=$ac_try;;
36858 esac
36859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36860 (eval "$ac_compile") 2>conftest.er1
36861 ac_status=$?
36862 grep -v '^ *+' conftest.er1 >conftest.err
36863 rm -f conftest.er1
36864 cat conftest.err >&5
36865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36866 (exit $ac_status); } && {
36867 test -z "$ac_c_werror_flag" ||
36868 test ! -s conftest.err
36869 } && test -s conftest.$ac_objext; then
36870 ac_cv_type_ssize_t=yes
36871 else
36872 echo "$as_me: failed program was:" >&5
36873 sed 's/^/| /' conftest.$ac_ext >&5
36874
36875 ac_cv_type_ssize_t=no
36876 fi
36877
36878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36879 fi
36880 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
36881 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
36882 if test $ac_cv_type_ssize_t = yes; then
36883
36884 cat >>confdefs.h <<_ACEOF
36885 #define HAVE_SSIZE_T 1
36886 _ACEOF
36887
36888
36889 fi
36890
36891
36892 ac_ext=cpp
36893 ac_cpp='$CXXCPP $CPPFLAGS'
36894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36897 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
36898 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
36899 if test "${wx_cv_size_t_is_uint+set}" = set; then
36900 echo $ECHO_N "(cached) $ECHO_C" >&6
36901 else
36902
36903 cat >conftest.$ac_ext <<_ACEOF
36904 /* confdefs.h. */
36905 _ACEOF
36906 cat confdefs.h >>conftest.$ac_ext
36907 cat >>conftest.$ac_ext <<_ACEOF
36908 /* end confdefs.h. */
36909 #include <stddef.h>
36910 int
36911 main ()
36912 {
36913
36914 return 0; }
36915
36916 struct Foo { void foo(size_t); void foo(unsigned int); };
36917
36918 int bar() {
36919
36920 ;
36921 return 0;
36922 }
36923 _ACEOF
36924 rm -f conftest.$ac_objext
36925 if { (ac_try="$ac_compile"
36926 case "(($ac_try" in
36927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36928 *) ac_try_echo=$ac_try;;
36929 esac
36930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36931 (eval "$ac_compile") 2>conftest.er1
36932 ac_status=$?
36933 grep -v '^ *+' conftest.er1 >conftest.err
36934 rm -f conftest.er1
36935 cat conftest.err >&5
36936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36937 (exit $ac_status); } && {
36938 test -z "$ac_cxx_werror_flag" ||
36939 test ! -s conftest.err
36940 } && test -s conftest.$ac_objext; then
36941 wx_cv_size_t_is_uint=no
36942 else
36943 echo "$as_me: failed program was:" >&5
36944 sed 's/^/| /' conftest.$ac_ext >&5
36945
36946 wx_cv_size_t_is_uint=yes
36947
36948 fi
36949
36950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36951
36952
36953 fi
36954 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
36955 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
36956
36957 if test "$wx_cv_size_t_is_uint" = "yes"; then
36958 cat >>confdefs.h <<\_ACEOF
36959 #define wxSIZE_T_IS_UINT 1
36960 _ACEOF
36961
36962 else
36963 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
36964 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
36965 if test "${wx_cv_size_t_is_ulong+set}" = set; then
36966 echo $ECHO_N "(cached) $ECHO_C" >&6
36967 else
36968 cat >conftest.$ac_ext <<_ACEOF
36969 /* confdefs.h. */
36970 _ACEOF
36971 cat confdefs.h >>conftest.$ac_ext
36972 cat >>conftest.$ac_ext <<_ACEOF
36973 /* end confdefs.h. */
36974 #include <stddef.h>
36975 int
36976 main ()
36977 {
36978
36979 return 0; }
36980
36981 struct Foo { void foo(size_t); void foo(unsigned long); };
36982
36983 int bar() {
36984
36985 ;
36986 return 0;
36987 }
36988 _ACEOF
36989 rm -f conftest.$ac_objext
36990 if { (ac_try="$ac_compile"
36991 case "(($ac_try" in
36992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36993 *) ac_try_echo=$ac_try;;
36994 esac
36995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36996 (eval "$ac_compile") 2>conftest.er1
36997 ac_status=$?
36998 grep -v '^ *+' conftest.er1 >conftest.err
36999 rm -f conftest.er1
37000 cat conftest.err >&5
37001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37002 (exit $ac_status); } && {
37003 test -z "$ac_cxx_werror_flag" ||
37004 test ! -s conftest.err
37005 } && test -s conftest.$ac_objext; then
37006 wx_cv_size_t_is_ulong=no
37007 else
37008 echo "$as_me: failed program was:" >&5
37009 sed 's/^/| /' conftest.$ac_ext >&5
37010
37011 wx_cv_size_t_is_ulong=yes
37012
37013 fi
37014
37015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37016
37017 fi
37018 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
37019 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
37020
37021 if test "$wx_cv_size_t_is_ulong" = "yes"; then
37022 cat >>confdefs.h <<\_ACEOF
37023 #define wxSIZE_T_IS_ULONG 1
37024 _ACEOF
37025
37026 fi
37027 fi
37028
37029 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
37030 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
37031 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
37032 echo $ECHO_N "(cached) $ECHO_C" >&6
37033 else
37034 cat >conftest.$ac_ext <<_ACEOF
37035 /* confdefs.h. */
37036 _ACEOF
37037 cat confdefs.h >>conftest.$ac_ext
37038 cat >>conftest.$ac_ext <<_ACEOF
37039 /* end confdefs.h. */
37040 #include <wchar.h>
37041 int
37042 main ()
37043 {
37044
37045 return 0; }
37046
37047 struct Foo { void foo(wchar_t);
37048 void foo(unsigned short);
37049 void foo(unsigned int);
37050 void foo(unsigned long); };
37051
37052 int bar() {
37053
37054 ;
37055 return 0;
37056 }
37057 _ACEOF
37058 rm -f conftest.$ac_objext
37059 if { (ac_try="$ac_compile"
37060 case "(($ac_try" in
37061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37062 *) ac_try_echo=$ac_try;;
37063 esac
37064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37065 (eval "$ac_compile") 2>conftest.er1
37066 ac_status=$?
37067 grep -v '^ *+' conftest.er1 >conftest.err
37068 rm -f conftest.er1
37069 cat conftest.err >&5
37070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37071 (exit $ac_status); } && {
37072 test -z "$ac_cxx_werror_flag" ||
37073 test ! -s conftest.err
37074 } && test -s conftest.$ac_objext; then
37075 wx_cv_wchar_t_is_separate_type=yes
37076 else
37077 echo "$as_me: failed program was:" >&5
37078 sed 's/^/| /' conftest.$ac_ext >&5
37079
37080 wx_cv_wchar_t_is_separate_type=no
37081
37082 fi
37083
37084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37085
37086 fi
37087 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
37088 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
37089
37090 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
37091 cat >>confdefs.h <<\_ACEOF
37092 #define wxWCHAR_T_IS_REAL_TYPE 1
37093 _ACEOF
37094
37095 else
37096 cat >>confdefs.h <<\_ACEOF
37097 #define wxWCHAR_T_IS_REAL_TYPE 0
37098 _ACEOF
37099
37100 fi
37101
37102 ac_ext=c
37103 ac_cpp='$CPP $CPPFLAGS'
37104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37107
37108
37109 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
37110 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
37111 if test "${wx_cv_struct_pw_gecos+set}" = set; then
37112 echo $ECHO_N "(cached) $ECHO_C" >&6
37113 else
37114
37115 cat >conftest.$ac_ext <<_ACEOF
37116 /* confdefs.h. */
37117 _ACEOF
37118 cat confdefs.h >>conftest.$ac_ext
37119 cat >>conftest.$ac_ext <<_ACEOF
37120 /* end confdefs.h. */
37121 #include <pwd.h>
37122 int
37123 main ()
37124 {
37125
37126 char *p;
37127 struct passwd *pw;
37128 p = pw->pw_gecos;
37129
37130 ;
37131 return 0;
37132 }
37133 _ACEOF
37134 rm -f conftest.$ac_objext
37135 if { (ac_try="$ac_compile"
37136 case "(($ac_try" in
37137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37138 *) ac_try_echo=$ac_try;;
37139 esac
37140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37141 (eval "$ac_compile") 2>conftest.er1
37142 ac_status=$?
37143 grep -v '^ *+' conftest.er1 >conftest.err
37144 rm -f conftest.er1
37145 cat conftest.err >&5
37146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37147 (exit $ac_status); } && {
37148 test -z "$ac_c_werror_flag" ||
37149 test ! -s conftest.err
37150 } && test -s conftest.$ac_objext; then
37151
37152 wx_cv_struct_pw_gecos=yes
37153
37154 else
37155 echo "$as_me: failed program was:" >&5
37156 sed 's/^/| /' conftest.$ac_ext >&5
37157
37158
37159 wx_cv_struct_pw_gecos=no
37160
37161
37162 fi
37163
37164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37165
37166
37167 fi
37168 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
37169 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
37170
37171 if test "$wx_cv_struct_pw_gecos" = "yes"; then
37172 cat >>confdefs.h <<\_ACEOF
37173 #define HAVE_PW_GECOS 1
37174 _ACEOF
37175
37176 fi
37177
37178
37179 if test "$wxUSE_WCHAR_T" = "yes"; then
37180 cat >>confdefs.h <<\_ACEOF
37181 #define wxUSE_WCHAR_T 1
37182 _ACEOF
37183
37184
37185 WCSLEN_FOUND=0
37186 WCHAR_LINK=
37187
37188 for ac_func in wcslen
37189 do
37190 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37191 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37192 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37193 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37194 echo $ECHO_N "(cached) $ECHO_C" >&6
37195 else
37196 cat >conftest.$ac_ext <<_ACEOF
37197 /* confdefs.h. */
37198 _ACEOF
37199 cat confdefs.h >>conftest.$ac_ext
37200 cat >>conftest.$ac_ext <<_ACEOF
37201 /* end confdefs.h. */
37202 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37203 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37204 #define $ac_func innocuous_$ac_func
37205
37206 /* System header to define __stub macros and hopefully few prototypes,
37207 which can conflict with char $ac_func (); below.
37208 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37209 <limits.h> exists even on freestanding compilers. */
37210
37211 #ifdef __STDC__
37212 # include <limits.h>
37213 #else
37214 # include <assert.h>
37215 #endif
37216
37217 #undef $ac_func
37218
37219 /* Override any GCC internal prototype to avoid an error.
37220 Use char because int might match the return type of a GCC
37221 builtin and then its argument prototype would still apply. */
37222 #ifdef __cplusplus
37223 extern "C"
37224 #endif
37225 char $ac_func ();
37226 /* The GNU C library defines this for functions which it implements
37227 to always fail with ENOSYS. Some functions are actually named
37228 something starting with __ and the normal name is an alias. */
37229 #if defined __stub_$ac_func || defined __stub___$ac_func
37230 choke me
37231 #endif
37232
37233 int
37234 main ()
37235 {
37236 return $ac_func ();
37237 ;
37238 return 0;
37239 }
37240 _ACEOF
37241 rm -f conftest.$ac_objext conftest$ac_exeext
37242 if { (ac_try="$ac_link"
37243 case "(($ac_try" in
37244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37245 *) ac_try_echo=$ac_try;;
37246 esac
37247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37248 (eval "$ac_link") 2>conftest.er1
37249 ac_status=$?
37250 grep -v '^ *+' conftest.er1 >conftest.err
37251 rm -f conftest.er1
37252 cat conftest.err >&5
37253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37254 (exit $ac_status); } && {
37255 test -z "$ac_c_werror_flag" ||
37256 test ! -s conftest.err
37257 } && test -s conftest$ac_exeext &&
37258 $as_test_x conftest$ac_exeext; then
37259 eval "$as_ac_var=yes"
37260 else
37261 echo "$as_me: failed program was:" >&5
37262 sed 's/^/| /' conftest.$ac_ext >&5
37263
37264 eval "$as_ac_var=no"
37265 fi
37266
37267 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37268 conftest$ac_exeext conftest.$ac_ext
37269 fi
37270 ac_res=`eval echo '${'$as_ac_var'}'`
37271 { echo "$as_me:$LINENO: result: $ac_res" >&5
37272 echo "${ECHO_T}$ac_res" >&6; }
37273 if test `eval echo '${'$as_ac_var'}'` = yes; then
37274 cat >>confdefs.h <<_ACEOF
37275 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37276 _ACEOF
37277 WCSLEN_FOUND=1
37278 fi
37279 done
37280
37281
37282 if test "$WCSLEN_FOUND" = 0; then
37283 if test "$TOOLKIT" = "MSW"; then
37284 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
37285 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
37286 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
37287 echo $ECHO_N "(cached) $ECHO_C" >&6
37288 else
37289 ac_check_lib_save_LIBS=$LIBS
37290 LIBS="-lmsvcrt $LIBS"
37291 cat >conftest.$ac_ext <<_ACEOF
37292 /* confdefs.h. */
37293 _ACEOF
37294 cat confdefs.h >>conftest.$ac_ext
37295 cat >>conftest.$ac_ext <<_ACEOF
37296 /* end confdefs.h. */
37297
37298 /* Override any GCC internal prototype to avoid an error.
37299 Use char because int might match the return type of a GCC
37300 builtin and then its argument prototype would still apply. */
37301 #ifdef __cplusplus
37302 extern "C"
37303 #endif
37304 char wcslen ();
37305 int
37306 main ()
37307 {
37308 return wcslen ();
37309 ;
37310 return 0;
37311 }
37312 _ACEOF
37313 rm -f conftest.$ac_objext conftest$ac_exeext
37314 if { (ac_try="$ac_link"
37315 case "(($ac_try" in
37316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37317 *) ac_try_echo=$ac_try;;
37318 esac
37319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37320 (eval "$ac_link") 2>conftest.er1
37321 ac_status=$?
37322 grep -v '^ *+' conftest.er1 >conftest.err
37323 rm -f conftest.er1
37324 cat conftest.err >&5
37325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37326 (exit $ac_status); } && {
37327 test -z "$ac_c_werror_flag" ||
37328 test ! -s conftest.err
37329 } && test -s conftest$ac_exeext &&
37330 $as_test_x conftest$ac_exeext; then
37331 ac_cv_lib_msvcrt_wcslen=yes
37332 else
37333 echo "$as_me: failed program was:" >&5
37334 sed 's/^/| /' conftest.$ac_ext >&5
37335
37336 ac_cv_lib_msvcrt_wcslen=no
37337 fi
37338
37339 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37340 conftest$ac_exeext conftest.$ac_ext
37341 LIBS=$ac_check_lib_save_LIBS
37342 fi
37343 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
37344 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
37345 if test $ac_cv_lib_msvcrt_wcslen = yes; then
37346 WCHAR_OK=1
37347 fi
37348
37349 else
37350 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
37351 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
37352 if test "${ac_cv_lib_w_wcslen+set}" = set; then
37353 echo $ECHO_N "(cached) $ECHO_C" >&6
37354 else
37355 ac_check_lib_save_LIBS=$LIBS
37356 LIBS="-lw $LIBS"
37357 cat >conftest.$ac_ext <<_ACEOF
37358 /* confdefs.h. */
37359 _ACEOF
37360 cat confdefs.h >>conftest.$ac_ext
37361 cat >>conftest.$ac_ext <<_ACEOF
37362 /* end confdefs.h. */
37363
37364 /* Override any GCC internal prototype to avoid an error.
37365 Use char because int might match the return type of a GCC
37366 builtin and then its argument prototype would still apply. */
37367 #ifdef __cplusplus
37368 extern "C"
37369 #endif
37370 char wcslen ();
37371 int
37372 main ()
37373 {
37374 return wcslen ();
37375 ;
37376 return 0;
37377 }
37378 _ACEOF
37379 rm -f conftest.$ac_objext conftest$ac_exeext
37380 if { (ac_try="$ac_link"
37381 case "(($ac_try" in
37382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37383 *) ac_try_echo=$ac_try;;
37384 esac
37385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37386 (eval "$ac_link") 2>conftest.er1
37387 ac_status=$?
37388 grep -v '^ *+' conftest.er1 >conftest.err
37389 rm -f conftest.er1
37390 cat conftest.err >&5
37391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37392 (exit $ac_status); } && {
37393 test -z "$ac_c_werror_flag" ||
37394 test ! -s conftest.err
37395 } && test -s conftest$ac_exeext &&
37396 $as_test_x conftest$ac_exeext; then
37397 ac_cv_lib_w_wcslen=yes
37398 else
37399 echo "$as_me: failed program was:" >&5
37400 sed 's/^/| /' conftest.$ac_ext >&5
37401
37402 ac_cv_lib_w_wcslen=no
37403 fi
37404
37405 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37406 conftest$ac_exeext conftest.$ac_ext
37407 LIBS=$ac_check_lib_save_LIBS
37408 fi
37409 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
37410 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
37411 if test $ac_cv_lib_w_wcslen = yes; then
37412
37413 WCHAR_LINK=" -lw"
37414 WCSLEN_FOUND=1
37415
37416 fi
37417
37418 fi
37419 fi
37420
37421 if test "$WCSLEN_FOUND" = 1; then
37422 cat >>confdefs.h <<\_ACEOF
37423 #define HAVE_WCSLEN 1
37424 _ACEOF
37425
37426 fi
37427
37428
37429 for ac_func in wcsdup
37430 do
37431 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37432 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37433 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37434 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37435 echo $ECHO_N "(cached) $ECHO_C" >&6
37436 else
37437 cat >conftest.$ac_ext <<_ACEOF
37438 /* confdefs.h. */
37439 _ACEOF
37440 cat confdefs.h >>conftest.$ac_ext
37441 cat >>conftest.$ac_ext <<_ACEOF
37442 /* end confdefs.h. */
37443 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37444 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37445 #define $ac_func innocuous_$ac_func
37446
37447 /* System header to define __stub macros and hopefully few prototypes,
37448 which can conflict with char $ac_func (); below.
37449 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37450 <limits.h> exists even on freestanding compilers. */
37451
37452 #ifdef __STDC__
37453 # include <limits.h>
37454 #else
37455 # include <assert.h>
37456 #endif
37457
37458 #undef $ac_func
37459
37460 /* Override any GCC internal prototype to avoid an error.
37461 Use char because int might match the return type of a GCC
37462 builtin and then its argument prototype would still apply. */
37463 #ifdef __cplusplus
37464 extern "C"
37465 #endif
37466 char $ac_func ();
37467 /* The GNU C library defines this for functions which it implements
37468 to always fail with ENOSYS. Some functions are actually named
37469 something starting with __ and the normal name is an alias. */
37470 #if defined __stub_$ac_func || defined __stub___$ac_func
37471 choke me
37472 #endif
37473
37474 int
37475 main ()
37476 {
37477 return $ac_func ();
37478 ;
37479 return 0;
37480 }
37481 _ACEOF
37482 rm -f conftest.$ac_objext conftest$ac_exeext
37483 if { (ac_try="$ac_link"
37484 case "(($ac_try" in
37485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37486 *) ac_try_echo=$ac_try;;
37487 esac
37488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37489 (eval "$ac_link") 2>conftest.er1
37490 ac_status=$?
37491 grep -v '^ *+' conftest.er1 >conftest.err
37492 rm -f conftest.er1
37493 cat conftest.err >&5
37494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37495 (exit $ac_status); } && {
37496 test -z "$ac_c_werror_flag" ||
37497 test ! -s conftest.err
37498 } && test -s conftest$ac_exeext &&
37499 $as_test_x conftest$ac_exeext; then
37500 eval "$as_ac_var=yes"
37501 else
37502 echo "$as_me: failed program was:" >&5
37503 sed 's/^/| /' conftest.$ac_ext >&5
37504
37505 eval "$as_ac_var=no"
37506 fi
37507
37508 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37509 conftest$ac_exeext conftest.$ac_ext
37510 fi
37511 ac_res=`eval echo '${'$as_ac_var'}'`
37512 { echo "$as_me:$LINENO: result: $ac_res" >&5
37513 echo "${ECHO_T}$ac_res" >&6; }
37514 if test `eval echo '${'$as_ac_var'}'` = yes; then
37515 cat >>confdefs.h <<_ACEOF
37516 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37517 _ACEOF
37518
37519 fi
37520 done
37521
37522
37523 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
37524 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
37525 fi
37526
37527 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
37528 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
37529 if test "${ac_cv_type_mbstate_t+set}" = set; then
37530 echo $ECHO_N "(cached) $ECHO_C" >&6
37531 else
37532 cat >conftest.$ac_ext <<_ACEOF
37533 /* confdefs.h. */
37534 _ACEOF
37535 cat confdefs.h >>conftest.$ac_ext
37536 cat >>conftest.$ac_ext <<_ACEOF
37537 /* end confdefs.h. */
37538 #include <wchar.h>
37539
37540 typedef mbstate_t ac__type_new_;
37541 int
37542 main ()
37543 {
37544 if ((ac__type_new_ *) 0)
37545 return 0;
37546 if (sizeof (ac__type_new_))
37547 return 0;
37548 ;
37549 return 0;
37550 }
37551 _ACEOF
37552 rm -f conftest.$ac_objext
37553 if { (ac_try="$ac_compile"
37554 case "(($ac_try" in
37555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37556 *) ac_try_echo=$ac_try;;
37557 esac
37558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37559 (eval "$ac_compile") 2>conftest.er1
37560 ac_status=$?
37561 grep -v '^ *+' conftest.er1 >conftest.err
37562 rm -f conftest.er1
37563 cat conftest.err >&5
37564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37565 (exit $ac_status); } && {
37566 test -z "$ac_c_werror_flag" ||
37567 test ! -s conftest.err
37568 } && test -s conftest.$ac_objext; then
37569 ac_cv_type_mbstate_t=yes
37570 else
37571 echo "$as_me: failed program was:" >&5
37572 sed 's/^/| /' conftest.$ac_ext >&5
37573
37574 ac_cv_type_mbstate_t=no
37575 fi
37576
37577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37578 fi
37579 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
37580 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
37581 if test $ac_cv_type_mbstate_t = yes; then
37582
37583 cat >>confdefs.h <<_ACEOF
37584 #define HAVE_MBSTATE_T 1
37585 _ACEOF
37586
37587
37588 for ac_func in wcsrtombs
37589 do
37590 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37591 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37592 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37593 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37594 echo $ECHO_N "(cached) $ECHO_C" >&6
37595 else
37596 cat >conftest.$ac_ext <<_ACEOF
37597 /* confdefs.h. */
37598 _ACEOF
37599 cat confdefs.h >>conftest.$ac_ext
37600 cat >>conftest.$ac_ext <<_ACEOF
37601 /* end confdefs.h. */
37602 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37603 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37604 #define $ac_func innocuous_$ac_func
37605
37606 /* System header to define __stub macros and hopefully few prototypes,
37607 which can conflict with char $ac_func (); below.
37608 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37609 <limits.h> exists even on freestanding compilers. */
37610
37611 #ifdef __STDC__
37612 # include <limits.h>
37613 #else
37614 # include <assert.h>
37615 #endif
37616
37617 #undef $ac_func
37618
37619 /* Override any GCC internal prototype to avoid an error.
37620 Use char because int might match the return type of a GCC
37621 builtin and then its argument prototype would still apply. */
37622 #ifdef __cplusplus
37623 extern "C"
37624 #endif
37625 char $ac_func ();
37626 /* The GNU C library defines this for functions which it implements
37627 to always fail with ENOSYS. Some functions are actually named
37628 something starting with __ and the normal name is an alias. */
37629 #if defined __stub_$ac_func || defined __stub___$ac_func
37630 choke me
37631 #endif
37632
37633 int
37634 main ()
37635 {
37636 return $ac_func ();
37637 ;
37638 return 0;
37639 }
37640 _ACEOF
37641 rm -f conftest.$ac_objext conftest$ac_exeext
37642 if { (ac_try="$ac_link"
37643 case "(($ac_try" in
37644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37645 *) ac_try_echo=$ac_try;;
37646 esac
37647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37648 (eval "$ac_link") 2>conftest.er1
37649 ac_status=$?
37650 grep -v '^ *+' conftest.er1 >conftest.err
37651 rm -f conftest.er1
37652 cat conftest.err >&5
37653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37654 (exit $ac_status); } && {
37655 test -z "$ac_c_werror_flag" ||
37656 test ! -s conftest.err
37657 } && test -s conftest$ac_exeext &&
37658 $as_test_x conftest$ac_exeext; then
37659 eval "$as_ac_var=yes"
37660 else
37661 echo "$as_me: failed program was:" >&5
37662 sed 's/^/| /' conftest.$ac_ext >&5
37663
37664 eval "$as_ac_var=no"
37665 fi
37666
37667 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37668 conftest$ac_exeext conftest.$ac_ext
37669 fi
37670 ac_res=`eval echo '${'$as_ac_var'}'`
37671 { echo "$as_me:$LINENO: result: $ac_res" >&5
37672 echo "${ECHO_T}$ac_res" >&6; }
37673 if test `eval echo '${'$as_ac_var'}'` = yes; then
37674 cat >>confdefs.h <<_ACEOF
37675 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37676 _ACEOF
37677
37678 fi
37679 done
37680
37681 fi
37682
37683 else
37684 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
37685 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
37686 fi
37687
37688
37689
37690 for ac_func in snprintf vsnprintf
37691 do
37692 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37693 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37694 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37695 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37696 echo $ECHO_N "(cached) $ECHO_C" >&6
37697 else
37698 cat >conftest.$ac_ext <<_ACEOF
37699 /* confdefs.h. */
37700 _ACEOF
37701 cat confdefs.h >>conftest.$ac_ext
37702 cat >>conftest.$ac_ext <<_ACEOF
37703 /* end confdefs.h. */
37704 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37705 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37706 #define $ac_func innocuous_$ac_func
37707
37708 /* System header to define __stub macros and hopefully few prototypes,
37709 which can conflict with char $ac_func (); below.
37710 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37711 <limits.h> exists even on freestanding compilers. */
37712
37713 #ifdef __STDC__
37714 # include <limits.h>
37715 #else
37716 # include <assert.h>
37717 #endif
37718
37719 #undef $ac_func
37720
37721 /* Override any GCC internal prototype to avoid an error.
37722 Use char because int might match the return type of a GCC
37723 builtin and then its argument prototype would still apply. */
37724 #ifdef __cplusplus
37725 extern "C"
37726 #endif
37727 char $ac_func ();
37728 /* The GNU C library defines this for functions which it implements
37729 to always fail with ENOSYS. Some functions are actually named
37730 something starting with __ and the normal name is an alias. */
37731 #if defined __stub_$ac_func || defined __stub___$ac_func
37732 choke me
37733 #endif
37734
37735 int
37736 main ()
37737 {
37738 return $ac_func ();
37739 ;
37740 return 0;
37741 }
37742 _ACEOF
37743 rm -f conftest.$ac_objext conftest$ac_exeext
37744 if { (ac_try="$ac_link"
37745 case "(($ac_try" in
37746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37747 *) ac_try_echo=$ac_try;;
37748 esac
37749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37750 (eval "$ac_link") 2>conftest.er1
37751 ac_status=$?
37752 grep -v '^ *+' conftest.er1 >conftest.err
37753 rm -f conftest.er1
37754 cat conftest.err >&5
37755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37756 (exit $ac_status); } && {
37757 test -z "$ac_c_werror_flag" ||
37758 test ! -s conftest.err
37759 } && test -s conftest$ac_exeext &&
37760 $as_test_x conftest$ac_exeext; then
37761 eval "$as_ac_var=yes"
37762 else
37763 echo "$as_me: failed program was:" >&5
37764 sed 's/^/| /' conftest.$ac_ext >&5
37765
37766 eval "$as_ac_var=no"
37767 fi
37768
37769 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37770 conftest$ac_exeext conftest.$ac_ext
37771 fi
37772 ac_res=`eval echo '${'$as_ac_var'}'`
37773 { echo "$as_me:$LINENO: result: $ac_res" >&5
37774 echo "${ECHO_T}$ac_res" >&6; }
37775 if test `eval echo '${'$as_ac_var'}'` = yes; then
37776 cat >>confdefs.h <<_ACEOF
37777 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37778 _ACEOF
37779
37780 fi
37781 done
37782
37783
37784 if test "$ac_cv_func_vsnprintf" = "yes"; then
37785 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
37786 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
37787 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
37788 echo $ECHO_N "(cached) $ECHO_C" >&6
37789 else
37790
37791 cat >conftest.$ac_ext <<_ACEOF
37792 /* confdefs.h. */
37793 _ACEOF
37794 cat confdefs.h >>conftest.$ac_ext
37795 cat >>conftest.$ac_ext <<_ACEOF
37796 /* end confdefs.h. */
37797
37798 #include <stdio.h>
37799 #include <stdarg.h>
37800 #ifdef __MSL__
37801 #if __MSL__ >= 0x6000
37802 namespace std {}
37803 using namespace std;
37804 #endif
37805 #endif
37806
37807 int
37808 main ()
37809 {
37810
37811 char *buf;
37812 va_list ap;
37813 vsnprintf(buf, 10u, "%s", ap);
37814
37815 ;
37816 return 0;
37817 }
37818 _ACEOF
37819 rm -f conftest.$ac_objext
37820 if { (ac_try="$ac_compile"
37821 case "(($ac_try" in
37822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37823 *) ac_try_echo=$ac_try;;
37824 esac
37825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37826 (eval "$ac_compile") 2>conftest.er1
37827 ac_status=$?
37828 grep -v '^ *+' conftest.er1 >conftest.err
37829 rm -f conftest.er1
37830 cat conftest.err >&5
37831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37832 (exit $ac_status); } && {
37833 test -z "$ac_c_werror_flag" ||
37834 test ! -s conftest.err
37835 } && test -s conftest.$ac_objext; then
37836 wx_cv_func_vsnprintf_decl=yes
37837 else
37838 echo "$as_me: failed program was:" >&5
37839 sed 's/^/| /' conftest.$ac_ext >&5
37840
37841 wx_cv_func_vsnprintf_decl=no
37842
37843 fi
37844
37845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37846
37847
37848 fi
37849 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
37850 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
37851
37852 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
37853 cat >>confdefs.h <<\_ACEOF
37854 #define HAVE_VSNPRINTF_DECL 1
37855 _ACEOF
37856
37857
37858 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
37859 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
37860 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
37861 echo $ECHO_N "(cached) $ECHO_C" >&6
37862 else
37863
37864 cat >conftest.$ac_ext <<_ACEOF
37865 /* confdefs.h. */
37866 _ACEOF
37867 cat confdefs.h >>conftest.$ac_ext
37868 cat >>conftest.$ac_ext <<_ACEOF
37869 /* end confdefs.h. */
37870
37871 #include <stdio.h>
37872 #include <stdarg.h>
37873 #ifdef __MSL__
37874 #if __MSL__ >= 0x6000
37875 namespace std {}
37876 using namespace std;
37877 #endif
37878 #endif
37879
37880 int
37881 main ()
37882 {
37883
37884 char *buf;
37885 va_list ap;
37886 const char *fmt = "%s";
37887 vsnprintf(buf, 10u, fmt, ap);
37888
37889 ;
37890 return 0;
37891 }
37892 _ACEOF
37893 rm -f conftest.$ac_objext
37894 if { (ac_try="$ac_compile"
37895 case "(($ac_try" in
37896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37897 *) ac_try_echo=$ac_try;;
37898 esac
37899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37900 (eval "$ac_compile") 2>conftest.er1
37901 ac_status=$?
37902 grep -v '^ *+' conftest.er1 >conftest.err
37903 rm -f conftest.er1
37904 cat conftest.err >&5
37905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37906 (exit $ac_status); } && {
37907 test -z "$ac_c_werror_flag" ||
37908 test ! -s conftest.err
37909 } && test -s conftest.$ac_objext; then
37910 wx_cv_func_broken_vsnprintf_decl=no
37911 else
37912 echo "$as_me: failed program was:" >&5
37913 sed 's/^/| /' conftest.$ac_ext >&5
37914
37915 wx_cv_func_broken_vsnprintf_decl=yes
37916
37917 fi
37918
37919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37920
37921
37922 fi
37923 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
37924 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
37925
37926 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
37927 cat >>confdefs.h <<\_ACEOF
37928 #define HAVE_BROKEN_VSNPRINTF_DECL 1
37929 _ACEOF
37930
37931 fi
37932 fi
37933 fi
37934
37935 if test "$ac_cv_func_snprintf" = "yes"; then
37936 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
37937 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
37938 if test "${wx_cv_func_snprintf_decl+set}" = set; then
37939 echo $ECHO_N "(cached) $ECHO_C" >&6
37940 else
37941
37942 cat >conftest.$ac_ext <<_ACEOF
37943 /* confdefs.h. */
37944 _ACEOF
37945 cat confdefs.h >>conftest.$ac_ext
37946 cat >>conftest.$ac_ext <<_ACEOF
37947 /* end confdefs.h. */
37948
37949 #include <stdio.h>
37950 #include <stdarg.h>
37951 #ifdef __MSL__
37952 #if __MSL__ >= 0x6000
37953 namespace std {}
37954 using namespace std;
37955 #endif
37956 #endif
37957
37958 int
37959 main ()
37960 {
37961
37962 char *buf;
37963 snprintf(buf, 10u, "%s", "wx");
37964
37965 ;
37966 return 0;
37967 }
37968 _ACEOF
37969 rm -f conftest.$ac_objext
37970 if { (ac_try="$ac_compile"
37971 case "(($ac_try" in
37972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37973 *) ac_try_echo=$ac_try;;
37974 esac
37975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37976 (eval "$ac_compile") 2>conftest.er1
37977 ac_status=$?
37978 grep -v '^ *+' conftest.er1 >conftest.err
37979 rm -f conftest.er1
37980 cat conftest.err >&5
37981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37982 (exit $ac_status); } && {
37983 test -z "$ac_c_werror_flag" ||
37984 test ! -s conftest.err
37985 } && test -s conftest.$ac_objext; then
37986 wx_cv_func_snprintf_decl=yes
37987 else
37988 echo "$as_me: failed program was:" >&5
37989 sed 's/^/| /' conftest.$ac_ext >&5
37990
37991 wx_cv_func_snprintf_decl=no
37992
37993 fi
37994
37995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37996
37997
37998 fi
37999 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
38000 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
38001
38002 if test "$wx_cv_func_snprintf_decl" = "yes"; then
38003 cat >>confdefs.h <<\_ACEOF
38004 #define HAVE_SNPRINTF_DECL 1
38005 _ACEOF
38006
38007 fi
38008
38009 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
38010
38011 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
38012 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
38013 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
38014 echo $ECHO_N "(cached) $ECHO_C" >&6
38015 else
38016
38017 if test "$cross_compiling" = yes; then
38018
38019 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
38020 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
38021 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
38022 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
38023 wx_cv_func_snprintf_pos_params=no
38024
38025
38026 else
38027 cat >conftest.$ac_ext <<_ACEOF
38028 /* confdefs.h. */
38029 _ACEOF
38030 cat confdefs.h >>conftest.$ac_ext
38031 cat >>conftest.$ac_ext <<_ACEOF
38032 /* end confdefs.h. */
38033
38034 #include <stdio.h>
38035
38036 int main (void)
38037 {
38038 char buffer[128];
38039 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
38040 if (strcmp ("2 3 1", buffer) == 0)
38041 exit (0);
38042 exit (1);
38043 }
38044
38045 _ACEOF
38046 rm -f conftest$ac_exeext
38047 if { (ac_try="$ac_link"
38048 case "(($ac_try" in
38049 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38050 *) ac_try_echo=$ac_try;;
38051 esac
38052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38053 (eval "$ac_link") 2>&5
38054 ac_status=$?
38055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38056 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
38057 { (case "(($ac_try" in
38058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38059 *) ac_try_echo=$ac_try;;
38060 esac
38061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38062 (eval "$ac_try") 2>&5
38063 ac_status=$?
38064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38065 (exit $ac_status); }; }; then
38066 wx_cv_func_snprintf_pos_params=no
38067 else
38068 echo "$as_me: program exited with status $ac_status" >&5
38069 echo "$as_me: failed program was:" >&5
38070 sed 's/^/| /' conftest.$ac_ext >&5
38071
38072 ( exit $ac_status )
38073 wx_cv_func_snprintf_pos_params=yes
38074 fi
38075 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
38076 fi
38077
38078
38079
38080
38081 fi
38082 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
38083 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
38084
38085 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
38086 cat >>confdefs.h <<\_ACEOF
38087 #define HAVE_UNIX98_PRINTF 1
38088 _ACEOF
38089
38090 fi
38091 fi
38092 fi
38093
38094 if test "$wxUSE_UNICODE" = yes; then
38095
38096 wchar_headers="#include <stdio.h>
38097 #include <wchar.h>"
38098 case "${host}" in
38099 *-*-solaris2* )
38100
38101 for ac_header in widec.h
38102 do
38103 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38104 { echo "$as_me:$LINENO: checking for $ac_header" >&5
38105 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
38106 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
38107 echo $ECHO_N "(cached) $ECHO_C" >&6
38108 else
38109 cat >conftest.$ac_ext <<_ACEOF
38110 /* confdefs.h. */
38111 _ACEOF
38112 cat confdefs.h >>conftest.$ac_ext
38113 cat >>conftest.$ac_ext <<_ACEOF
38114 /* end confdefs.h. */
38115 $ac_includes_default
38116
38117 #include <$ac_header>
38118 _ACEOF
38119 rm -f conftest.$ac_objext
38120 if { (ac_try="$ac_compile"
38121 case "(($ac_try" in
38122 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38123 *) ac_try_echo=$ac_try;;
38124 esac
38125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38126 (eval "$ac_compile") 2>conftest.er1
38127 ac_status=$?
38128 grep -v '^ *+' conftest.er1 >conftest.err
38129 rm -f conftest.er1
38130 cat conftest.err >&5
38131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38132 (exit $ac_status); } && {
38133 test -z "$ac_c_werror_flag" ||
38134 test ! -s conftest.err
38135 } && test -s conftest.$ac_objext; then
38136 eval "$as_ac_Header=yes"
38137 else
38138 echo "$as_me: failed program was:" >&5
38139 sed 's/^/| /' conftest.$ac_ext >&5
38140
38141 eval "$as_ac_Header=no"
38142 fi
38143
38144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38145 fi
38146 ac_res=`eval echo '${'$as_ac_Header'}'`
38147 { echo "$as_me:$LINENO: result: $ac_res" >&5
38148 echo "${ECHO_T}$ac_res" >&6; }
38149 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38150 cat >>confdefs.h <<_ACEOF
38151 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38152 _ACEOF
38153
38154 fi
38155
38156 done
38157
38158 if test "$ac_cv_header_widec_h" = "yes"; then
38159 wchar_headers="$wchar_headers
38160 #include <widec.h>"
38161 fi
38162 esac
38163
38164
38165 for wx_func in putws fputws wprintf vswprintf
38166 do
38167 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38168 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38169 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38170 echo $ECHO_N "(cached) $ECHO_C" >&6
38171 else
38172
38173 cat >conftest.$ac_ext <<_ACEOF
38174
38175 /* confdefs.h. */
38176 _ACEOF
38177 cat confdefs.h >>conftest.$ac_ext
38178 cat >>conftest.$ac_ext <<_ACEOF
38179 /* end confdefs.h. */
38180
38181 $wchar_headers
38182 $ac_includes_default
38183
38184 int
38185 main ()
38186 {
38187
38188 #ifndef $wx_func
38189 &$wx_func;
38190 #endif
38191
38192
38193 ;
38194 return 0;
38195 }
38196
38197 _ACEOF
38198 rm -f conftest.$ac_objext conftest$ac_exeext
38199 if { (ac_try="$ac_link"
38200 case "(($ac_try" in
38201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38202 *) ac_try_echo=$ac_try;;
38203 esac
38204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38205 (eval "$ac_link") 2>conftest.er1
38206 ac_status=$?
38207 grep -v '^ *+' conftest.er1 >conftest.err
38208 rm -f conftest.er1
38209 cat conftest.err >&5
38210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38211 (exit $ac_status); } && {
38212 test -z "$ac_c_werror_flag" ||
38213 test ! -s conftest.err
38214 } && test -s conftest$ac_exeext &&
38215 $as_test_x conftest$ac_exeext; then
38216 eval wx_cv_func_$wx_func=yes
38217 else
38218 echo "$as_me: failed program was:" >&5
38219 sed 's/^/| /' conftest.$ac_ext >&5
38220
38221 eval wx_cv_func_$wx_func=no
38222 fi
38223
38224 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38225 conftest$ac_exeext conftest.$ac_ext
38226
38227 fi
38228 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38229 { echo "$as_me:$LINENO: result: $ac_res" >&5
38230 echo "${ECHO_T}$ac_res" >&6; }
38231
38232 if eval test \$wx_cv_func_$wx_func = yes
38233 then
38234 cat >>confdefs.h <<_ACEOF
38235 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38236 _ACEOF
38237
38238
38239 else
38240 :
38241
38242 fi
38243 done
38244
38245
38246 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
38247 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
38248 cat >conftest.$ac_ext <<_ACEOF
38249 /* confdefs.h. */
38250 _ACEOF
38251 cat confdefs.h >>conftest.$ac_ext
38252 cat >>conftest.$ac_ext <<_ACEOF
38253 /* end confdefs.h. */
38254 #include <wchar.h>
38255 int
38256 main ()
38257 {
38258 &_vsnwprintf;
38259 ;
38260 return 0;
38261 }
38262 _ACEOF
38263 rm -f conftest.$ac_objext
38264 if { (ac_try="$ac_compile"
38265 case "(($ac_try" in
38266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38267 *) ac_try_echo=$ac_try;;
38268 esac
38269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38270 (eval "$ac_compile") 2>conftest.er1
38271 ac_status=$?
38272 grep -v '^ *+' conftest.er1 >conftest.err
38273 rm -f conftest.er1
38274 cat conftest.err >&5
38275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38276 (exit $ac_status); } && {
38277 test -z "$ac_c_werror_flag" ||
38278 test ! -s conftest.err
38279 } && test -s conftest.$ac_objext; then
38280 { echo "$as_me:$LINENO: result: yes" >&5
38281 echo "${ECHO_T}yes" >&6; }
38282 cat >>confdefs.h <<\_ACEOF
38283 #define HAVE__VSNWPRINTF 1
38284 _ACEOF
38285
38286 else
38287 echo "$as_me: failed program was:" >&5
38288 sed 's/^/| /' conftest.$ac_ext >&5
38289
38290 { echo "$as_me:$LINENO: result: no" >&5
38291 echo "${ECHO_T}no" >&6; }
38292 fi
38293
38294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
38295 fi
38296
38297 if test "$wxUSE_FILE" = "yes"; then
38298
38299 for wx_func in fsync
38300 do
38301 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38302 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38303 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38304 echo $ECHO_N "(cached) $ECHO_C" >&6
38305 else
38306
38307 cat >conftest.$ac_ext <<_ACEOF
38308
38309 /* confdefs.h. */
38310 _ACEOF
38311 cat confdefs.h >>conftest.$ac_ext
38312 cat >>conftest.$ac_ext <<_ACEOF
38313 /* end confdefs.h. */
38314
38315
38316 $ac_includes_default
38317
38318 int
38319 main ()
38320 {
38321
38322 #ifndef $wx_func
38323 &$wx_func;
38324 #endif
38325
38326
38327 ;
38328 return 0;
38329 }
38330
38331 _ACEOF
38332 rm -f conftest.$ac_objext conftest$ac_exeext
38333 if { (ac_try="$ac_link"
38334 case "(($ac_try" in
38335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38336 *) ac_try_echo=$ac_try;;
38337 esac
38338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38339 (eval "$ac_link") 2>conftest.er1
38340 ac_status=$?
38341 grep -v '^ *+' conftest.er1 >conftest.err
38342 rm -f conftest.er1
38343 cat conftest.err >&5
38344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38345 (exit $ac_status); } && {
38346 test -z "$ac_c_werror_flag" ||
38347 test ! -s conftest.err
38348 } && test -s conftest$ac_exeext &&
38349 $as_test_x conftest$ac_exeext; then
38350 eval wx_cv_func_$wx_func=yes
38351 else
38352 echo "$as_me: failed program was:" >&5
38353 sed 's/^/| /' conftest.$ac_ext >&5
38354
38355 eval wx_cv_func_$wx_func=no
38356 fi
38357
38358 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38359 conftest$ac_exeext conftest.$ac_ext
38360
38361 fi
38362 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38363 { echo "$as_me:$LINENO: result: $ac_res" >&5
38364 echo "${ECHO_T}$ac_res" >&6; }
38365
38366 if eval test \$wx_cv_func_$wx_func = yes
38367 then
38368 cat >>confdefs.h <<_ACEOF
38369 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38370 _ACEOF
38371
38372
38373 else
38374 :
38375
38376 fi
38377 done
38378
38379 fi
38380
38381 ac_ext=cpp
38382 ac_cpp='$CXXCPP $CPPFLAGS'
38383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38386
38387
38388 for wx_func in round
38389 do
38390 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38391 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38392 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38393 echo $ECHO_N "(cached) $ECHO_C" >&6
38394 else
38395
38396 cat >conftest.$ac_ext <<_ACEOF
38397
38398 /* confdefs.h. */
38399 _ACEOF
38400 cat confdefs.h >>conftest.$ac_ext
38401 cat >>conftest.$ac_ext <<_ACEOF
38402 /* end confdefs.h. */
38403
38404 #include <math.h>
38405 $ac_includes_default
38406
38407 int
38408 main ()
38409 {
38410
38411 #ifndef $wx_func
38412 &$wx_func;
38413 #endif
38414
38415
38416 ;
38417 return 0;
38418 }
38419
38420 _ACEOF
38421 rm -f conftest.$ac_objext conftest$ac_exeext
38422 if { (ac_try="$ac_link"
38423 case "(($ac_try" in
38424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38425 *) ac_try_echo=$ac_try;;
38426 esac
38427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38428 (eval "$ac_link") 2>conftest.er1
38429 ac_status=$?
38430 grep -v '^ *+' conftest.er1 >conftest.err
38431 rm -f conftest.er1
38432 cat conftest.err >&5
38433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38434 (exit $ac_status); } && {
38435 test -z "$ac_cxx_werror_flag" ||
38436 test ! -s conftest.err
38437 } && test -s conftest$ac_exeext &&
38438 $as_test_x conftest$ac_exeext; then
38439 eval wx_cv_func_$wx_func=yes
38440 else
38441 echo "$as_me: failed program was:" >&5
38442 sed 's/^/| /' conftest.$ac_ext >&5
38443
38444 eval wx_cv_func_$wx_func=no
38445 fi
38446
38447 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38448 conftest$ac_exeext conftest.$ac_ext
38449
38450 fi
38451 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38452 { echo "$as_me:$LINENO: result: $ac_res" >&5
38453 echo "${ECHO_T}$ac_res" >&6; }
38454
38455 if eval test \$wx_cv_func_$wx_func = yes
38456 then
38457 cat >>confdefs.h <<_ACEOF
38458 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38459 _ACEOF
38460
38461
38462 else
38463 :
38464
38465 fi
38466 done
38467
38468 ac_ext=c
38469 ac_cpp='$CPP $CPPFLAGS'
38470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38473
38474
38475 if test "$TOOLKIT" != "MSW"; then
38476
38477
38478
38479
38480
38481 # Check whether --with-libiconv-prefix was given.
38482 if test "${with_libiconv_prefix+set}" = set; then
38483 withval=$with_libiconv_prefix;
38484 for dir in `echo "$withval" | tr : ' '`; do
38485 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
38486 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
38487 done
38488
38489 fi
38490
38491
38492 { echo "$as_me:$LINENO: checking for iconv" >&5
38493 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
38494 if test "${am_cv_func_iconv+set}" = set; then
38495 echo $ECHO_N "(cached) $ECHO_C" >&6
38496 else
38497
38498 am_cv_func_iconv="no, consider installing GNU libiconv"
38499 am_cv_lib_iconv=no
38500 cat >conftest.$ac_ext <<_ACEOF
38501 /* confdefs.h. */
38502 _ACEOF
38503 cat confdefs.h >>conftest.$ac_ext
38504 cat >>conftest.$ac_ext <<_ACEOF
38505 /* end confdefs.h. */
38506 #include <stdlib.h>
38507 #include <iconv.h>
38508 int
38509 main ()
38510 {
38511 iconv_t cd = iconv_open("","");
38512 iconv(cd,NULL,NULL,NULL,NULL);
38513 iconv_close(cd);
38514 ;
38515 return 0;
38516 }
38517 _ACEOF
38518 rm -f conftest.$ac_objext conftest$ac_exeext
38519 if { (ac_try="$ac_link"
38520 case "(($ac_try" in
38521 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38522 *) ac_try_echo=$ac_try;;
38523 esac
38524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38525 (eval "$ac_link") 2>conftest.er1
38526 ac_status=$?
38527 grep -v '^ *+' conftest.er1 >conftest.err
38528 rm -f conftest.er1
38529 cat conftest.err >&5
38530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38531 (exit $ac_status); } && {
38532 test -z "$ac_c_werror_flag" ||
38533 test ! -s conftest.err
38534 } && test -s conftest$ac_exeext &&
38535 $as_test_x conftest$ac_exeext; then
38536 am_cv_func_iconv=yes
38537 else
38538 echo "$as_me: failed program was:" >&5
38539 sed 's/^/| /' conftest.$ac_ext >&5
38540
38541
38542 fi
38543
38544 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38545 conftest$ac_exeext conftest.$ac_ext
38546 if test "$am_cv_func_iconv" != yes; then
38547 am_save_LIBS="$LIBS"
38548 LIBS="$LIBS -liconv"
38549 cat >conftest.$ac_ext <<_ACEOF
38550 /* confdefs.h. */
38551 _ACEOF
38552 cat confdefs.h >>conftest.$ac_ext
38553 cat >>conftest.$ac_ext <<_ACEOF
38554 /* end confdefs.h. */
38555 #include <stdlib.h>
38556 #include <iconv.h>
38557 int
38558 main ()
38559 {
38560 iconv_t cd = iconv_open("","");
38561 iconv(cd,NULL,NULL,NULL,NULL);
38562 iconv_close(cd);
38563 ;
38564 return 0;
38565 }
38566 _ACEOF
38567 rm -f conftest.$ac_objext conftest$ac_exeext
38568 if { (ac_try="$ac_link"
38569 case "(($ac_try" in
38570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38571 *) ac_try_echo=$ac_try;;
38572 esac
38573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38574 (eval "$ac_link") 2>conftest.er1
38575 ac_status=$?
38576 grep -v '^ *+' conftest.er1 >conftest.err
38577 rm -f conftest.er1
38578 cat conftest.err >&5
38579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38580 (exit $ac_status); } && {
38581 test -z "$ac_c_werror_flag" ||
38582 test ! -s conftest.err
38583 } && test -s conftest$ac_exeext &&
38584 $as_test_x conftest$ac_exeext; then
38585 am_cv_lib_iconv=yes
38586 am_cv_func_iconv=yes
38587 else
38588 echo "$as_me: failed program was:" >&5
38589 sed 's/^/| /' conftest.$ac_ext >&5
38590
38591
38592 fi
38593
38594 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38595 conftest$ac_exeext conftest.$ac_ext
38596 LIBS="$am_save_LIBS"
38597 fi
38598
38599 fi
38600 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
38601 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
38602 if test "$am_cv_func_iconv" = yes; then
38603
38604 cat >>confdefs.h <<\_ACEOF
38605 #define HAVE_ICONV 1
38606 _ACEOF
38607
38608 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
38609 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
38610 if test "${wx_cv_func_iconv_const+set}" = set; then
38611 echo $ECHO_N "(cached) $ECHO_C" >&6
38612 else
38613 cat >conftest.$ac_ext <<_ACEOF
38614 /* confdefs.h. */
38615 _ACEOF
38616 cat confdefs.h >>conftest.$ac_ext
38617 cat >>conftest.$ac_ext <<_ACEOF
38618 /* end confdefs.h. */
38619
38620 #include <stdlib.h>
38621 #include <iconv.h>
38622 extern
38623 #ifdef __cplusplus
38624 "C"
38625 #endif
38626 #if defined(__STDC__) || defined(__cplusplus)
38627 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
38628 #else
38629 size_t iconv();
38630 #endif
38631
38632 int
38633 main ()
38634 {
38635
38636 ;
38637 return 0;
38638 }
38639 _ACEOF
38640 rm -f conftest.$ac_objext
38641 if { (ac_try="$ac_compile"
38642 case "(($ac_try" in
38643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38644 *) ac_try_echo=$ac_try;;
38645 esac
38646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38647 (eval "$ac_compile") 2>conftest.er1
38648 ac_status=$?
38649 grep -v '^ *+' conftest.er1 >conftest.err
38650 rm -f conftest.er1
38651 cat conftest.err >&5
38652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38653 (exit $ac_status); } && {
38654 test -z "$ac_c_werror_flag" ||
38655 test ! -s conftest.err
38656 } && test -s conftest.$ac_objext; then
38657 wx_cv_func_iconv_const="no"
38658 else
38659 echo "$as_me: failed program was:" >&5
38660 sed 's/^/| /' conftest.$ac_ext >&5
38661
38662 wx_cv_func_iconv_const="yes"
38663
38664 fi
38665
38666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38667
38668 fi
38669 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
38670 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
38671
38672 iconv_const=
38673 if test "x$wx_cv_func_iconv_const" = "xyes"; then
38674 iconv_const="const"
38675 fi
38676
38677
38678 cat >>confdefs.h <<_ACEOF
38679 #define ICONV_CONST $iconv_const
38680 _ACEOF
38681
38682 fi
38683 LIBICONV=
38684 if test "$am_cv_lib_iconv" = yes; then
38685 LIBICONV="-liconv"
38686 fi
38687
38688
38689 LIBS="$LIBICONV $LIBS"
38690
38691 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
38692
38693 for ac_func in sigaction
38694 do
38695 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38696 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38697 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38698 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38699 echo $ECHO_N "(cached) $ECHO_C" >&6
38700 else
38701 cat >conftest.$ac_ext <<_ACEOF
38702 /* confdefs.h. */
38703 _ACEOF
38704 cat confdefs.h >>conftest.$ac_ext
38705 cat >>conftest.$ac_ext <<_ACEOF
38706 /* end confdefs.h. */
38707 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38708 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38709 #define $ac_func innocuous_$ac_func
38710
38711 /* System header to define __stub macros and hopefully few prototypes,
38712 which can conflict with char $ac_func (); below.
38713 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38714 <limits.h> exists even on freestanding compilers. */
38715
38716 #ifdef __STDC__
38717 # include <limits.h>
38718 #else
38719 # include <assert.h>
38720 #endif
38721
38722 #undef $ac_func
38723
38724 /* Override any GCC internal prototype to avoid an error.
38725 Use char because int might match the return type of a GCC
38726 builtin and then its argument prototype would still apply. */
38727 #ifdef __cplusplus
38728 extern "C"
38729 #endif
38730 char $ac_func ();
38731 /* The GNU C library defines this for functions which it implements
38732 to always fail with ENOSYS. Some functions are actually named
38733 something starting with __ and the normal name is an alias. */
38734 #if defined __stub_$ac_func || defined __stub___$ac_func
38735 choke me
38736 #endif
38737
38738 int
38739 main ()
38740 {
38741 return $ac_func ();
38742 ;
38743 return 0;
38744 }
38745 _ACEOF
38746 rm -f conftest.$ac_objext conftest$ac_exeext
38747 if { (ac_try="$ac_link"
38748 case "(($ac_try" in
38749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38750 *) ac_try_echo=$ac_try;;
38751 esac
38752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38753 (eval "$ac_link") 2>conftest.er1
38754 ac_status=$?
38755 grep -v '^ *+' conftest.er1 >conftest.err
38756 rm -f conftest.er1
38757 cat conftest.err >&5
38758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38759 (exit $ac_status); } && {
38760 test -z "$ac_c_werror_flag" ||
38761 test ! -s conftest.err
38762 } && test -s conftest$ac_exeext &&
38763 $as_test_x conftest$ac_exeext; then
38764 eval "$as_ac_var=yes"
38765 else
38766 echo "$as_me: failed program was:" >&5
38767 sed 's/^/| /' conftest.$ac_ext >&5
38768
38769 eval "$as_ac_var=no"
38770 fi
38771
38772 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38773 conftest$ac_exeext conftest.$ac_ext
38774 fi
38775 ac_res=`eval echo '${'$as_ac_var'}'`
38776 { echo "$as_me:$LINENO: result: $ac_res" >&5
38777 echo "${ECHO_T}$ac_res" >&6; }
38778 if test `eval echo '${'$as_ac_var'}'` = yes; then
38779 cat >>confdefs.h <<_ACEOF
38780 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38781 _ACEOF
38782
38783 fi
38784 done
38785
38786
38787 if test "$ac_cv_func_sigaction" = "no"; then
38788 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
38789 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
38790 wxUSE_ON_FATAL_EXCEPTION=no
38791 fi
38792
38793 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
38794 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
38795 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
38796 if test "${wx_cv_type_sa_handler+set}" = set; then
38797 echo $ECHO_N "(cached) $ECHO_C" >&6
38798 else
38799
38800 ac_ext=cpp
38801 ac_cpp='$CXXCPP $CPPFLAGS'
38802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38805
38806 cat >conftest.$ac_ext <<_ACEOF
38807 /* confdefs.h. */
38808 _ACEOF
38809 cat confdefs.h >>conftest.$ac_ext
38810 cat >>conftest.$ac_ext <<_ACEOF
38811 /* end confdefs.h. */
38812 #include <signal.h>
38813 int
38814 main ()
38815 {
38816
38817 extern void testSigHandler(int);
38818
38819 struct sigaction sa;
38820 sa.sa_handler = testSigHandler;
38821
38822 ;
38823 return 0;
38824 }
38825 _ACEOF
38826 rm -f conftest.$ac_objext
38827 if { (ac_try="$ac_compile"
38828 case "(($ac_try" in
38829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38830 *) ac_try_echo=$ac_try;;
38831 esac
38832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38833 (eval "$ac_compile") 2>conftest.er1
38834 ac_status=$?
38835 grep -v '^ *+' conftest.er1 >conftest.err
38836 rm -f conftest.er1
38837 cat conftest.err >&5
38838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38839 (exit $ac_status); } && {
38840 test -z "$ac_cxx_werror_flag" ||
38841 test ! -s conftest.err
38842 } && test -s conftest.$ac_objext; then
38843
38844 wx_cv_type_sa_handler=int
38845
38846 else
38847 echo "$as_me: failed program was:" >&5
38848 sed 's/^/| /' conftest.$ac_ext >&5
38849
38850
38851 wx_cv_type_sa_handler=void
38852
38853 fi
38854
38855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38856 ac_ext=c
38857 ac_cpp='$CPP $CPPFLAGS'
38858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38861
38862
38863 fi
38864 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
38865 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
38866
38867 cat >>confdefs.h <<_ACEOF
38868 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
38869 _ACEOF
38870
38871 fi
38872 fi
38873
38874 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
38875 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
38876 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
38877 if test "${wx_cv_func_backtrace+set}" = set; then
38878 echo $ECHO_N "(cached) $ECHO_C" >&6
38879 else
38880
38881 ac_ext=cpp
38882 ac_cpp='$CXXCPP $CPPFLAGS'
38883 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38884 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38885 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38886
38887 cat >conftest.$ac_ext <<_ACEOF
38888 /* confdefs.h. */
38889 _ACEOF
38890 cat confdefs.h >>conftest.$ac_ext
38891 cat >>conftest.$ac_ext <<_ACEOF
38892 /* end confdefs.h. */
38893 #include <execinfo.h>
38894 int
38895 main ()
38896 {
38897
38898 void *trace[1];
38899 char **messages;
38900
38901 backtrace(trace, 1);
38902 messages = backtrace_symbols(trace, 1);
38903
38904 ;
38905 return 0;
38906 }
38907 _ACEOF
38908 rm -f conftest.$ac_objext
38909 if { (ac_try="$ac_compile"
38910 case "(($ac_try" in
38911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38912 *) ac_try_echo=$ac_try;;
38913 esac
38914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38915 (eval "$ac_compile") 2>conftest.er1
38916 ac_status=$?
38917 grep -v '^ *+' conftest.er1 >conftest.err
38918 rm -f conftest.er1
38919 cat conftest.err >&5
38920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38921 (exit $ac_status); } && {
38922 test -z "$ac_cxx_werror_flag" ||
38923 test ! -s conftest.err
38924 } && test -s conftest.$ac_objext; then
38925 wx_cv_func_backtrace=yes
38926 else
38927 echo "$as_me: failed program was:" >&5
38928 sed 's/^/| /' conftest.$ac_ext >&5
38929
38930 wx_cv_func_backtrace=no
38931
38932 fi
38933
38934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38935 ac_ext=c
38936 ac_cpp='$CPP $CPPFLAGS'
38937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38940
38941
38942
38943 fi
38944 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
38945 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
38946
38947
38948 if test "$wx_cv_func_backtrace" = "no"; then
38949 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
38950 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
38951 wxUSE_STACKWALKER=no
38952 else
38953 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
38954 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
38955 if test "${wx_cv_func_cxa_demangle+set}" = set; then
38956 echo $ECHO_N "(cached) $ECHO_C" >&6
38957 else
38958
38959 ac_ext=cpp
38960 ac_cpp='$CXXCPP $CPPFLAGS'
38961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38964
38965 cat >conftest.$ac_ext <<_ACEOF
38966 /* confdefs.h. */
38967 _ACEOF
38968 cat confdefs.h >>conftest.$ac_ext
38969 cat >>conftest.$ac_ext <<_ACEOF
38970 /* end confdefs.h. */
38971 #include <cxxabi.h>
38972 int
38973 main ()
38974 {
38975
38976 int rc;
38977 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
38978
38979 ;
38980 return 0;
38981 }
38982 _ACEOF
38983 rm -f conftest.$ac_objext conftest$ac_exeext
38984 if { (ac_try="$ac_link"
38985 case "(($ac_try" in
38986 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38987 *) ac_try_echo=$ac_try;;
38988 esac
38989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38990 (eval "$ac_link") 2>conftest.er1
38991 ac_status=$?
38992 grep -v '^ *+' conftest.er1 >conftest.err
38993 rm -f conftest.er1
38994 cat conftest.err >&5
38995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38996 (exit $ac_status); } && {
38997 test -z "$ac_cxx_werror_flag" ||
38998 test ! -s conftest.err
38999 } && test -s conftest$ac_exeext &&
39000 $as_test_x conftest$ac_exeext; then
39001 wx_cv_func_cxa_demangle=yes
39002 else
39003 echo "$as_me: failed program was:" >&5
39004 sed 's/^/| /' conftest.$ac_ext >&5
39005
39006 wx_cv_func_cxa_demangle=no
39007
39008 fi
39009
39010 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39011 conftest$ac_exeext conftest.$ac_ext
39012 ac_ext=c
39013 ac_cpp='$CPP $CPPFLAGS'
39014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39017
39018
39019
39020 fi
39021 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
39022 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
39023
39024 if test "$wx_cv_func_cxa_demangle" = "yes"; then
39025 cat >>confdefs.h <<\_ACEOF
39026 #define HAVE_CXA_DEMANGLE 1
39027 _ACEOF
39028
39029 fi
39030 fi
39031 fi
39032
39033 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
39034 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
39035 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
39036 wxUSE_STACKWALKER=no
39037 fi
39038
39039
39040
39041
39042 for ac_func in mkstemp mktemp
39043 do
39044 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39045 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39046 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39047 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39048 echo $ECHO_N "(cached) $ECHO_C" >&6
39049 else
39050 cat >conftest.$ac_ext <<_ACEOF
39051 /* confdefs.h. */
39052 _ACEOF
39053 cat confdefs.h >>conftest.$ac_ext
39054 cat >>conftest.$ac_ext <<_ACEOF
39055 /* end confdefs.h. */
39056 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39057 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39058 #define $ac_func innocuous_$ac_func
39059
39060 /* System header to define __stub macros and hopefully few prototypes,
39061 which can conflict with char $ac_func (); below.
39062 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39063 <limits.h> exists even on freestanding compilers. */
39064
39065 #ifdef __STDC__
39066 # include <limits.h>
39067 #else
39068 # include <assert.h>
39069 #endif
39070
39071 #undef $ac_func
39072
39073 /* Override any GCC internal prototype to avoid an error.
39074 Use char because int might match the return type of a GCC
39075 builtin and then its argument prototype would still apply. */
39076 #ifdef __cplusplus
39077 extern "C"
39078 #endif
39079 char $ac_func ();
39080 /* The GNU C library defines this for functions which it implements
39081 to always fail with ENOSYS. Some functions are actually named
39082 something starting with __ and the normal name is an alias. */
39083 #if defined __stub_$ac_func || defined __stub___$ac_func
39084 choke me
39085 #endif
39086
39087 int
39088 main ()
39089 {
39090 return $ac_func ();
39091 ;
39092 return 0;
39093 }
39094 _ACEOF
39095 rm -f conftest.$ac_objext conftest$ac_exeext
39096 if { (ac_try="$ac_link"
39097 case "(($ac_try" in
39098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39099 *) ac_try_echo=$ac_try;;
39100 esac
39101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39102 (eval "$ac_link") 2>conftest.er1
39103 ac_status=$?
39104 grep -v '^ *+' conftest.er1 >conftest.err
39105 rm -f conftest.er1
39106 cat conftest.err >&5
39107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39108 (exit $ac_status); } && {
39109 test -z "$ac_c_werror_flag" ||
39110 test ! -s conftest.err
39111 } && test -s conftest$ac_exeext &&
39112 $as_test_x conftest$ac_exeext; then
39113 eval "$as_ac_var=yes"
39114 else
39115 echo "$as_me: failed program was:" >&5
39116 sed 's/^/| /' conftest.$ac_ext >&5
39117
39118 eval "$as_ac_var=no"
39119 fi
39120
39121 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39122 conftest$ac_exeext conftest.$ac_ext
39123 fi
39124 ac_res=`eval echo '${'$as_ac_var'}'`
39125 { echo "$as_me:$LINENO: result: $ac_res" >&5
39126 echo "${ECHO_T}$ac_res" >&6; }
39127 if test `eval echo '${'$as_ac_var'}'` = yes; then
39128 cat >>confdefs.h <<_ACEOF
39129 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39130 _ACEOF
39131 break
39132 fi
39133 done
39134
39135
39136 { echo "$as_me:$LINENO: checking for statfs" >&5
39137 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
39138 if test "${wx_cv_func_statfs+set}" = set; then
39139 echo $ECHO_N "(cached) $ECHO_C" >&6
39140 else
39141 cat >conftest.$ac_ext <<_ACEOF
39142 /* confdefs.h. */
39143 _ACEOF
39144 cat confdefs.h >>conftest.$ac_ext
39145 cat >>conftest.$ac_ext <<_ACEOF
39146 /* end confdefs.h. */
39147
39148 #if defined(__BSD__)
39149 #include <sys/param.h>
39150 #include <sys/mount.h>
39151 #else
39152 #include <sys/vfs.h>
39153 #endif
39154
39155 int
39156 main ()
39157 {
39158
39159 long l;
39160 struct statfs fs;
39161 statfs("/", &fs);
39162 l = fs.f_bsize;
39163 l += fs.f_blocks;
39164 l += fs.f_bavail;
39165
39166 ;
39167 return 0;
39168 }
39169 _ACEOF
39170 rm -f conftest.$ac_objext
39171 if { (ac_try="$ac_compile"
39172 case "(($ac_try" in
39173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39174 *) ac_try_echo=$ac_try;;
39175 esac
39176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39177 (eval "$ac_compile") 2>conftest.er1
39178 ac_status=$?
39179 grep -v '^ *+' conftest.er1 >conftest.err
39180 rm -f conftest.er1
39181 cat conftest.err >&5
39182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39183 (exit $ac_status); } && {
39184 test -z "$ac_c_werror_flag" ||
39185 test ! -s conftest.err
39186 } && test -s conftest.$ac_objext; then
39187 wx_cv_func_statfs=yes
39188 else
39189 echo "$as_me: failed program was:" >&5
39190 sed 's/^/| /' conftest.$ac_ext >&5
39191
39192 wx_cv_func_statfs=no
39193
39194 fi
39195
39196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39197
39198 fi
39199 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
39200 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
39201
39202 if test "$wx_cv_func_statfs" = "yes"; then
39203 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
39204 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
39205 if test "${wx_cv_func_statfs_decl+set}" = set; then
39206 echo $ECHO_N "(cached) $ECHO_C" >&6
39207 else
39208 ac_ext=cpp
39209 ac_cpp='$CXXCPP $CPPFLAGS'
39210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39213
39214 cat >conftest.$ac_ext <<_ACEOF
39215 /* confdefs.h. */
39216 _ACEOF
39217 cat confdefs.h >>conftest.$ac_ext
39218 cat >>conftest.$ac_ext <<_ACEOF
39219 /* end confdefs.h. */
39220
39221 #if defined(__BSD__)
39222 #include <sys/param.h>
39223 #include <sys/mount.h>
39224 #else
39225 #include <sys/vfs.h>
39226 #endif
39227
39228 int
39229 main ()
39230 {
39231
39232 struct statfs fs;
39233 statfs("", &fs);
39234
39235 ;
39236 return 0;
39237 }
39238 _ACEOF
39239 rm -f conftest.$ac_objext
39240 if { (ac_try="$ac_compile"
39241 case "(($ac_try" in
39242 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39243 *) ac_try_echo=$ac_try;;
39244 esac
39245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39246 (eval "$ac_compile") 2>conftest.er1
39247 ac_status=$?
39248 grep -v '^ *+' conftest.er1 >conftest.err
39249 rm -f conftest.er1
39250 cat conftest.err >&5
39251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39252 (exit $ac_status); } && {
39253 test -z "$ac_cxx_werror_flag" ||
39254 test ! -s conftest.err
39255 } && test -s conftest.$ac_objext; then
39256 wx_cv_func_statfs_decl=yes
39257 else
39258 echo "$as_me: failed program was:" >&5
39259 sed 's/^/| /' conftest.$ac_ext >&5
39260
39261 wx_cv_func_statfs_decl=no
39262
39263 fi
39264
39265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39266 ac_ext=c
39267 ac_cpp='$CPP $CPPFLAGS'
39268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39271
39272
39273 fi
39274 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
39275 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
39276
39277 if test "$wx_cv_func_statfs_decl" = "yes"; then
39278 cat >>confdefs.h <<\_ACEOF
39279 #define HAVE_STATFS_DECL 1
39280 _ACEOF
39281
39282 fi
39283
39284 wx_cv_type_statvfs_t="struct statfs"
39285 cat >>confdefs.h <<\_ACEOF
39286 #define HAVE_STATFS 1
39287 _ACEOF
39288
39289 else
39290 { echo "$as_me:$LINENO: checking for statvfs" >&5
39291 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
39292 if test "${wx_cv_func_statvfs+set}" = set; then
39293 echo $ECHO_N "(cached) $ECHO_C" >&6
39294 else
39295 cat >conftest.$ac_ext <<_ACEOF
39296 /* confdefs.h. */
39297 _ACEOF
39298 cat confdefs.h >>conftest.$ac_ext
39299 cat >>conftest.$ac_ext <<_ACEOF
39300 /* end confdefs.h. */
39301
39302 #include <stddef.h>
39303 #include <sys/statvfs.h>
39304
39305 int
39306 main ()
39307 {
39308
39309 statvfs("/", NULL);
39310
39311 ;
39312 return 0;
39313 }
39314 _ACEOF
39315 rm -f conftest.$ac_objext
39316 if { (ac_try="$ac_compile"
39317 case "(($ac_try" in
39318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39319 *) ac_try_echo=$ac_try;;
39320 esac
39321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39322 (eval "$ac_compile") 2>conftest.er1
39323 ac_status=$?
39324 grep -v '^ *+' conftest.er1 >conftest.err
39325 rm -f conftest.er1
39326 cat conftest.err >&5
39327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39328 (exit $ac_status); } && {
39329 test -z "$ac_c_werror_flag" ||
39330 test ! -s conftest.err
39331 } && test -s conftest.$ac_objext; then
39332 wx_cv_func_statvfs=yes
39333 else
39334 echo "$as_me: failed program was:" >&5
39335 sed 's/^/| /' conftest.$ac_ext >&5
39336
39337 wx_cv_func_statvfs=no
39338
39339 fi
39340
39341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39342
39343 fi
39344 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
39345 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
39346
39347 if test "$wx_cv_func_statvfs" = "yes"; then
39348 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
39349 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
39350 if test "${wx_cv_type_statvfs_t+set}" = set; then
39351 echo $ECHO_N "(cached) $ECHO_C" >&6
39352 else
39353 ac_ext=cpp
39354 ac_cpp='$CXXCPP $CPPFLAGS'
39355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39358
39359 cat >conftest.$ac_ext <<_ACEOF
39360 /* confdefs.h. */
39361 _ACEOF
39362 cat confdefs.h >>conftest.$ac_ext
39363 cat >>conftest.$ac_ext <<_ACEOF
39364 /* end confdefs.h. */
39365
39366 #include <sys/statvfs.h>
39367
39368 int
39369 main ()
39370 {
39371
39372 long l;
39373 statvfs_t fs;
39374 statvfs("/", &fs);
39375 l = fs.f_bsize;
39376 l += fs.f_blocks;
39377 l += fs.f_bavail;
39378
39379 ;
39380 return 0;
39381 }
39382 _ACEOF
39383 rm -f conftest.$ac_objext
39384 if { (ac_try="$ac_compile"
39385 case "(($ac_try" in
39386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39387 *) ac_try_echo=$ac_try;;
39388 esac
39389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39390 (eval "$ac_compile") 2>conftest.er1
39391 ac_status=$?
39392 grep -v '^ *+' conftest.er1 >conftest.err
39393 rm -f conftest.er1
39394 cat conftest.err >&5
39395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39396 (exit $ac_status); } && {
39397 test -z "$ac_cxx_werror_flag" ||
39398 test ! -s conftest.err
39399 } && test -s conftest.$ac_objext; then
39400 wx_cv_type_statvfs_t=statvfs_t
39401 else
39402 echo "$as_me: failed program was:" >&5
39403 sed 's/^/| /' conftest.$ac_ext >&5
39404
39405
39406 cat >conftest.$ac_ext <<_ACEOF
39407 /* confdefs.h. */
39408 _ACEOF
39409 cat confdefs.h >>conftest.$ac_ext
39410 cat >>conftest.$ac_ext <<_ACEOF
39411 /* end confdefs.h. */
39412
39413 #include <sys/statvfs.h>
39414
39415 int
39416 main ()
39417 {
39418
39419 long l;
39420 struct statvfs fs;
39421 statvfs("/", &fs);
39422 l = fs.f_bsize;
39423 l += fs.f_blocks;
39424 l += fs.f_bavail;
39425
39426 ;
39427 return 0;
39428 }
39429 _ACEOF
39430 rm -f conftest.$ac_objext
39431 if { (ac_try="$ac_compile"
39432 case "(($ac_try" in
39433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39434 *) ac_try_echo=$ac_try;;
39435 esac
39436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39437 (eval "$ac_compile") 2>conftest.er1
39438 ac_status=$?
39439 grep -v '^ *+' conftest.er1 >conftest.err
39440 rm -f conftest.er1
39441 cat conftest.err >&5
39442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39443 (exit $ac_status); } && {
39444 test -z "$ac_cxx_werror_flag" ||
39445 test ! -s conftest.err
39446 } && test -s conftest.$ac_objext; then
39447 wx_cv_type_statvfs_t="struct statvfs"
39448 else
39449 echo "$as_me: failed program was:" >&5
39450 sed 's/^/| /' conftest.$ac_ext >&5
39451
39452 wx_cv_type_statvfs_t="unknown"
39453
39454 fi
39455
39456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39457
39458
39459 fi
39460
39461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39462 ac_ext=c
39463 ac_cpp='$CPP $CPPFLAGS'
39464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39467
39468
39469 fi
39470 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
39471 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
39472
39473 if test "$wx_cv_type_statvfs_t" != "unknown"; then
39474 cat >>confdefs.h <<\_ACEOF
39475 #define HAVE_STATVFS 1
39476 _ACEOF
39477
39478 fi
39479 else
39480 wx_cv_type_statvfs_t="unknown"
39481 fi
39482 fi
39483
39484 if test "$wx_cv_type_statvfs_t" != "unknown"; then
39485 cat >>confdefs.h <<_ACEOF
39486 #define WX_STATFS_T $wx_cv_type_statvfs_t
39487 _ACEOF
39488
39489 else
39490 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
39491 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
39492 fi
39493
39494 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
39495
39496
39497 for ac_func in fcntl flock
39498 do
39499 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39500 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39501 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39502 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39503 echo $ECHO_N "(cached) $ECHO_C" >&6
39504 else
39505 cat >conftest.$ac_ext <<_ACEOF
39506 /* confdefs.h. */
39507 _ACEOF
39508 cat confdefs.h >>conftest.$ac_ext
39509 cat >>conftest.$ac_ext <<_ACEOF
39510 /* end confdefs.h. */
39511 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39512 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39513 #define $ac_func innocuous_$ac_func
39514
39515 /* System header to define __stub macros and hopefully few prototypes,
39516 which can conflict with char $ac_func (); below.
39517 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39518 <limits.h> exists even on freestanding compilers. */
39519
39520 #ifdef __STDC__
39521 # include <limits.h>
39522 #else
39523 # include <assert.h>
39524 #endif
39525
39526 #undef $ac_func
39527
39528 /* Override any GCC internal prototype to avoid an error.
39529 Use char because int might match the return type of a GCC
39530 builtin and then its argument prototype would still apply. */
39531 #ifdef __cplusplus
39532 extern "C"
39533 #endif
39534 char $ac_func ();
39535 /* The GNU C library defines this for functions which it implements
39536 to always fail with ENOSYS. Some functions are actually named
39537 something starting with __ and the normal name is an alias. */
39538 #if defined __stub_$ac_func || defined __stub___$ac_func
39539 choke me
39540 #endif
39541
39542 int
39543 main ()
39544 {
39545 return $ac_func ();
39546 ;
39547 return 0;
39548 }
39549 _ACEOF
39550 rm -f conftest.$ac_objext conftest$ac_exeext
39551 if { (ac_try="$ac_link"
39552 case "(($ac_try" in
39553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39554 *) ac_try_echo=$ac_try;;
39555 esac
39556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39557 (eval "$ac_link") 2>conftest.er1
39558 ac_status=$?
39559 grep -v '^ *+' conftest.er1 >conftest.err
39560 rm -f conftest.er1
39561 cat conftest.err >&5
39562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39563 (exit $ac_status); } && {
39564 test -z "$ac_c_werror_flag" ||
39565 test ! -s conftest.err
39566 } && test -s conftest$ac_exeext &&
39567 $as_test_x conftest$ac_exeext; then
39568 eval "$as_ac_var=yes"
39569 else
39570 echo "$as_me: failed program was:" >&5
39571 sed 's/^/| /' conftest.$ac_ext >&5
39572
39573 eval "$as_ac_var=no"
39574 fi
39575
39576 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39577 conftest$ac_exeext conftest.$ac_ext
39578 fi
39579 ac_res=`eval echo '${'$as_ac_var'}'`
39580 { echo "$as_me:$LINENO: result: $ac_res" >&5
39581 echo "${ECHO_T}$ac_res" >&6; }
39582 if test `eval echo '${'$as_ac_var'}'` = yes; then
39583 cat >>confdefs.h <<_ACEOF
39584 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39585 _ACEOF
39586 break
39587 fi
39588 done
39589
39590
39591 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
39592 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
39593 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
39594 wxUSE_SNGLINST_CHECKER=no
39595 fi
39596 fi
39597
39598
39599
39600 for ac_func in setenv putenv
39601 do
39602 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39603 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39604 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39605 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39606 echo $ECHO_N "(cached) $ECHO_C" >&6
39607 else
39608 cat >conftest.$ac_ext <<_ACEOF
39609 /* confdefs.h. */
39610 _ACEOF
39611 cat confdefs.h >>conftest.$ac_ext
39612 cat >>conftest.$ac_ext <<_ACEOF
39613 /* end confdefs.h. */
39614 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39615 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39616 #define $ac_func innocuous_$ac_func
39617
39618 /* System header to define __stub macros and hopefully few prototypes,
39619 which can conflict with char $ac_func (); below.
39620 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39621 <limits.h> exists even on freestanding compilers. */
39622
39623 #ifdef __STDC__
39624 # include <limits.h>
39625 #else
39626 # include <assert.h>
39627 #endif
39628
39629 #undef $ac_func
39630
39631 /* Override any GCC internal prototype to avoid an error.
39632 Use char because int might match the return type of a GCC
39633 builtin and then its argument prototype would still apply. */
39634 #ifdef __cplusplus
39635 extern "C"
39636 #endif
39637 char $ac_func ();
39638 /* The GNU C library defines this for functions which it implements
39639 to always fail with ENOSYS. Some functions are actually named
39640 something starting with __ and the normal name is an alias. */
39641 #if defined __stub_$ac_func || defined __stub___$ac_func
39642 choke me
39643 #endif
39644
39645 int
39646 main ()
39647 {
39648 return $ac_func ();
39649 ;
39650 return 0;
39651 }
39652 _ACEOF
39653 rm -f conftest.$ac_objext conftest$ac_exeext
39654 if { (ac_try="$ac_link"
39655 case "(($ac_try" in
39656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39657 *) ac_try_echo=$ac_try;;
39658 esac
39659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39660 (eval "$ac_link") 2>conftest.er1
39661 ac_status=$?
39662 grep -v '^ *+' conftest.er1 >conftest.err
39663 rm -f conftest.er1
39664 cat conftest.err >&5
39665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39666 (exit $ac_status); } && {
39667 test -z "$ac_c_werror_flag" ||
39668 test ! -s conftest.err
39669 } && test -s conftest$ac_exeext &&
39670 $as_test_x conftest$ac_exeext; then
39671 eval "$as_ac_var=yes"
39672 else
39673 echo "$as_me: failed program was:" >&5
39674 sed 's/^/| /' conftest.$ac_ext >&5
39675
39676 eval "$as_ac_var=no"
39677 fi
39678
39679 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39680 conftest$ac_exeext conftest.$ac_ext
39681 fi
39682 ac_res=`eval echo '${'$as_ac_var'}'`
39683 { echo "$as_me:$LINENO: result: $ac_res" >&5
39684 echo "${ECHO_T}$ac_res" >&6; }
39685 if test `eval echo '${'$as_ac_var'}'` = yes; then
39686 cat >>confdefs.h <<_ACEOF
39687 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39688 _ACEOF
39689 break
39690 fi
39691 done
39692
39693 if test "$ac_cv_func_setenv" = "yes"; then
39694
39695 for ac_func in unsetenv
39696 do
39697 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39698 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39699 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39700 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39701 echo $ECHO_N "(cached) $ECHO_C" >&6
39702 else
39703 cat >conftest.$ac_ext <<_ACEOF
39704 /* confdefs.h. */
39705 _ACEOF
39706 cat confdefs.h >>conftest.$ac_ext
39707 cat >>conftest.$ac_ext <<_ACEOF
39708 /* end confdefs.h. */
39709 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39710 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39711 #define $ac_func innocuous_$ac_func
39712
39713 /* System header to define __stub macros and hopefully few prototypes,
39714 which can conflict with char $ac_func (); below.
39715 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39716 <limits.h> exists even on freestanding compilers. */
39717
39718 #ifdef __STDC__
39719 # include <limits.h>
39720 #else
39721 # include <assert.h>
39722 #endif
39723
39724 #undef $ac_func
39725
39726 /* Override any GCC internal prototype to avoid an error.
39727 Use char because int might match the return type of a GCC
39728 builtin and then its argument prototype would still apply. */
39729 #ifdef __cplusplus
39730 extern "C"
39731 #endif
39732 char $ac_func ();
39733 /* The GNU C library defines this for functions which it implements
39734 to always fail with ENOSYS. Some functions are actually named
39735 something starting with __ and the normal name is an alias. */
39736 #if defined __stub_$ac_func || defined __stub___$ac_func
39737 choke me
39738 #endif
39739
39740 int
39741 main ()
39742 {
39743 return $ac_func ();
39744 ;
39745 return 0;
39746 }
39747 _ACEOF
39748 rm -f conftest.$ac_objext conftest$ac_exeext
39749 if { (ac_try="$ac_link"
39750 case "(($ac_try" in
39751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39752 *) ac_try_echo=$ac_try;;
39753 esac
39754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39755 (eval "$ac_link") 2>conftest.er1
39756 ac_status=$?
39757 grep -v '^ *+' conftest.er1 >conftest.err
39758 rm -f conftest.er1
39759 cat conftest.err >&5
39760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39761 (exit $ac_status); } && {
39762 test -z "$ac_c_werror_flag" ||
39763 test ! -s conftest.err
39764 } && test -s conftest$ac_exeext &&
39765 $as_test_x conftest$ac_exeext; then
39766 eval "$as_ac_var=yes"
39767 else
39768 echo "$as_me: failed program was:" >&5
39769 sed 's/^/| /' conftest.$ac_ext >&5
39770
39771 eval "$as_ac_var=no"
39772 fi
39773
39774 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39775 conftest$ac_exeext conftest.$ac_ext
39776 fi
39777 ac_res=`eval echo '${'$as_ac_var'}'`
39778 { echo "$as_me:$LINENO: result: $ac_res" >&5
39779 echo "${ECHO_T}$ac_res" >&6; }
39780 if test `eval echo '${'$as_ac_var'}'` = yes; then
39781 cat >>confdefs.h <<_ACEOF
39782 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39783 _ACEOF
39784
39785 fi
39786 done
39787
39788 fi
39789
39790 HAVE_SOME_SLEEP_FUNC=0
39791 if test "$USE_BEOS" = 1; then
39792 cat >>confdefs.h <<\_ACEOF
39793 #define HAVE_SLEEP 1
39794 _ACEOF
39795
39796 HAVE_SOME_SLEEP_FUNC=1
39797 fi
39798
39799 if test "$USE_DARWIN" = 1; then
39800 cat >>confdefs.h <<\_ACEOF
39801 #define HAVE_USLEEP 1
39802 _ACEOF
39803
39804 HAVE_SOME_SLEEP_FUNC=1
39805 fi
39806
39807 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
39808 POSIX4_LINK=
39809
39810 for ac_func in nanosleep
39811 do
39812 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39813 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39814 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39815 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39816 echo $ECHO_N "(cached) $ECHO_C" >&6
39817 else
39818 cat >conftest.$ac_ext <<_ACEOF
39819 /* confdefs.h. */
39820 _ACEOF
39821 cat confdefs.h >>conftest.$ac_ext
39822 cat >>conftest.$ac_ext <<_ACEOF
39823 /* end confdefs.h. */
39824 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39825 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39826 #define $ac_func innocuous_$ac_func
39827
39828 /* System header to define __stub macros and hopefully few prototypes,
39829 which can conflict with char $ac_func (); below.
39830 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39831 <limits.h> exists even on freestanding compilers. */
39832
39833 #ifdef __STDC__
39834 # include <limits.h>
39835 #else
39836 # include <assert.h>
39837 #endif
39838
39839 #undef $ac_func
39840
39841 /* Override any GCC internal prototype to avoid an error.
39842 Use char because int might match the return type of a GCC
39843 builtin and then its argument prototype would still apply. */
39844 #ifdef __cplusplus
39845 extern "C"
39846 #endif
39847 char $ac_func ();
39848 /* The GNU C library defines this for functions which it implements
39849 to always fail with ENOSYS. Some functions are actually named
39850 something starting with __ and the normal name is an alias. */
39851 #if defined __stub_$ac_func || defined __stub___$ac_func
39852 choke me
39853 #endif
39854
39855 int
39856 main ()
39857 {
39858 return $ac_func ();
39859 ;
39860 return 0;
39861 }
39862 _ACEOF
39863 rm -f conftest.$ac_objext conftest$ac_exeext
39864 if { (ac_try="$ac_link"
39865 case "(($ac_try" in
39866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39867 *) ac_try_echo=$ac_try;;
39868 esac
39869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39870 (eval "$ac_link") 2>conftest.er1
39871 ac_status=$?
39872 grep -v '^ *+' conftest.er1 >conftest.err
39873 rm -f conftest.er1
39874 cat conftest.err >&5
39875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39876 (exit $ac_status); } && {
39877 test -z "$ac_c_werror_flag" ||
39878 test ! -s conftest.err
39879 } && test -s conftest$ac_exeext &&
39880 $as_test_x conftest$ac_exeext; then
39881 eval "$as_ac_var=yes"
39882 else
39883 echo "$as_me: failed program was:" >&5
39884 sed 's/^/| /' conftest.$ac_ext >&5
39885
39886 eval "$as_ac_var=no"
39887 fi
39888
39889 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39890 conftest$ac_exeext conftest.$ac_ext
39891 fi
39892 ac_res=`eval echo '${'$as_ac_var'}'`
39893 { echo "$as_me:$LINENO: result: $ac_res" >&5
39894 echo "${ECHO_T}$ac_res" >&6; }
39895 if test `eval echo '${'$as_ac_var'}'` = yes; then
39896 cat >>confdefs.h <<_ACEOF
39897 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39898 _ACEOF
39899 cat >>confdefs.h <<\_ACEOF
39900 #define HAVE_NANOSLEEP 1
39901 _ACEOF
39902
39903 else
39904
39905 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
39906 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
39907 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
39908 echo $ECHO_N "(cached) $ECHO_C" >&6
39909 else
39910 ac_check_lib_save_LIBS=$LIBS
39911 LIBS="-lposix4 $LIBS"
39912 cat >conftest.$ac_ext <<_ACEOF
39913 /* confdefs.h. */
39914 _ACEOF
39915 cat confdefs.h >>conftest.$ac_ext
39916 cat >>conftest.$ac_ext <<_ACEOF
39917 /* end confdefs.h. */
39918
39919 /* Override any GCC internal prototype to avoid an error.
39920 Use char because int might match the return type of a GCC
39921 builtin and then its argument prototype would still apply. */
39922 #ifdef __cplusplus
39923 extern "C"
39924 #endif
39925 char nanosleep ();
39926 int
39927 main ()
39928 {
39929 return nanosleep ();
39930 ;
39931 return 0;
39932 }
39933 _ACEOF
39934 rm -f conftest.$ac_objext conftest$ac_exeext
39935 if { (ac_try="$ac_link"
39936 case "(($ac_try" in
39937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39938 *) ac_try_echo=$ac_try;;
39939 esac
39940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39941 (eval "$ac_link") 2>conftest.er1
39942 ac_status=$?
39943 grep -v '^ *+' conftest.er1 >conftest.err
39944 rm -f conftest.er1
39945 cat conftest.err >&5
39946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39947 (exit $ac_status); } && {
39948 test -z "$ac_c_werror_flag" ||
39949 test ! -s conftest.err
39950 } && test -s conftest$ac_exeext &&
39951 $as_test_x conftest$ac_exeext; then
39952 ac_cv_lib_posix4_nanosleep=yes
39953 else
39954 echo "$as_me: failed program was:" >&5
39955 sed 's/^/| /' conftest.$ac_ext >&5
39956
39957 ac_cv_lib_posix4_nanosleep=no
39958 fi
39959
39960 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39961 conftest$ac_exeext conftest.$ac_ext
39962 LIBS=$ac_check_lib_save_LIBS
39963 fi
39964 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
39965 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
39966 if test $ac_cv_lib_posix4_nanosleep = yes; then
39967
39968 cat >>confdefs.h <<\_ACEOF
39969 #define HAVE_NANOSLEEP 1
39970 _ACEOF
39971
39972 POSIX4_LINK=" -lposix4"
39973
39974 else
39975
39976
39977 for wx_func in usleep
39978 do
39979 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39980 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39981 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39982 echo $ECHO_N "(cached) $ECHO_C" >&6
39983 else
39984
39985 cat >conftest.$ac_ext <<_ACEOF
39986
39987 /* confdefs.h. */
39988 _ACEOF
39989 cat confdefs.h >>conftest.$ac_ext
39990 cat >>conftest.$ac_ext <<_ACEOF
39991 /* end confdefs.h. */
39992
39993
39994 $ac_includes_default
39995
39996 int
39997 main ()
39998 {
39999
40000 #ifndef $wx_func
40001 &$wx_func;
40002 #endif
40003
40004
40005 ;
40006 return 0;
40007 }
40008
40009 _ACEOF
40010 rm -f conftest.$ac_objext conftest$ac_exeext
40011 if { (ac_try="$ac_link"
40012 case "(($ac_try" in
40013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40014 *) ac_try_echo=$ac_try;;
40015 esac
40016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40017 (eval "$ac_link") 2>conftest.er1
40018 ac_status=$?
40019 grep -v '^ *+' conftest.er1 >conftest.err
40020 rm -f conftest.er1
40021 cat conftest.err >&5
40022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40023 (exit $ac_status); } && {
40024 test -z "$ac_c_werror_flag" ||
40025 test ! -s conftest.err
40026 } && test -s conftest$ac_exeext &&
40027 $as_test_x conftest$ac_exeext; then
40028 eval wx_cv_func_$wx_func=yes
40029 else
40030 echo "$as_me: failed program was:" >&5
40031 sed 's/^/| /' conftest.$ac_ext >&5
40032
40033 eval wx_cv_func_$wx_func=no
40034 fi
40035
40036 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40037 conftest$ac_exeext conftest.$ac_ext
40038
40039 fi
40040 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40041 { echo "$as_me:$LINENO: result: $ac_res" >&5
40042 echo "${ECHO_T}$ac_res" >&6; }
40043
40044 if eval test \$wx_cv_func_$wx_func = yes
40045 then
40046 cat >>confdefs.h <<_ACEOF
40047 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40048 _ACEOF
40049
40050
40051 else
40052 :
40053 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
40054 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
40055
40056 fi
40057 done
40058
40059
40060
40061 fi
40062
40063
40064
40065 fi
40066 done
40067
40068 fi
40069
40070
40071 for wx_func in uname
40072 do
40073 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40074 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40075 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40076 echo $ECHO_N "(cached) $ECHO_C" >&6
40077 else
40078
40079 cat >conftest.$ac_ext <<_ACEOF
40080
40081 /* confdefs.h. */
40082 _ACEOF
40083 cat confdefs.h >>conftest.$ac_ext
40084 cat >>conftest.$ac_ext <<_ACEOF
40085 /* end confdefs.h. */
40086
40087 #include <sys/utsname.h>
40088 $ac_includes_default
40089
40090 int
40091 main ()
40092 {
40093
40094 #ifndef $wx_func
40095 &$wx_func;
40096 #endif
40097
40098
40099 ;
40100 return 0;
40101 }
40102
40103 _ACEOF
40104 rm -f conftest.$ac_objext conftest$ac_exeext
40105 if { (ac_try="$ac_link"
40106 case "(($ac_try" in
40107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40108 *) ac_try_echo=$ac_try;;
40109 esac
40110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40111 (eval "$ac_link") 2>conftest.er1
40112 ac_status=$?
40113 grep -v '^ *+' conftest.er1 >conftest.err
40114 rm -f conftest.er1
40115 cat conftest.err >&5
40116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40117 (exit $ac_status); } && {
40118 test -z "$ac_c_werror_flag" ||
40119 test ! -s conftest.err
40120 } && test -s conftest$ac_exeext &&
40121 $as_test_x conftest$ac_exeext; then
40122 eval wx_cv_func_$wx_func=yes
40123 else
40124 echo "$as_me: failed program was:" >&5
40125 sed 's/^/| /' conftest.$ac_ext >&5
40126
40127 eval wx_cv_func_$wx_func=no
40128 fi
40129
40130 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40131 conftest$ac_exeext conftest.$ac_ext
40132
40133 fi
40134 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40135 { echo "$as_me:$LINENO: result: $ac_res" >&5
40136 echo "${ECHO_T}$ac_res" >&6; }
40137
40138 if eval test \$wx_cv_func_$wx_func = yes
40139 then
40140 cat >>confdefs.h <<_ACEOF
40141 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40142 _ACEOF
40143
40144
40145 else
40146 :
40147
40148 fi
40149 done
40150
40151 if test "$wx_cv_func_uname" != yes; then
40152
40153 for wx_func in gethostname
40154 do
40155 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40156 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40157 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40158 echo $ECHO_N "(cached) $ECHO_C" >&6
40159 else
40160
40161 cat >conftest.$ac_ext <<_ACEOF
40162
40163 /* confdefs.h. */
40164 _ACEOF
40165 cat confdefs.h >>conftest.$ac_ext
40166 cat >>conftest.$ac_ext <<_ACEOF
40167 /* end confdefs.h. */
40168
40169
40170 $ac_includes_default
40171
40172 int
40173 main ()
40174 {
40175
40176 #ifndef $wx_func
40177 &$wx_func;
40178 #endif
40179
40180
40181 ;
40182 return 0;
40183 }
40184
40185 _ACEOF
40186 rm -f conftest.$ac_objext conftest$ac_exeext
40187 if { (ac_try="$ac_link"
40188 case "(($ac_try" in
40189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40190 *) ac_try_echo=$ac_try;;
40191 esac
40192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40193 (eval "$ac_link") 2>conftest.er1
40194 ac_status=$?
40195 grep -v '^ *+' conftest.er1 >conftest.err
40196 rm -f conftest.er1
40197 cat conftest.err >&5
40198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40199 (exit $ac_status); } && {
40200 test -z "$ac_c_werror_flag" ||
40201 test ! -s conftest.err
40202 } && test -s conftest$ac_exeext &&
40203 $as_test_x conftest$ac_exeext; then
40204 eval wx_cv_func_$wx_func=yes
40205 else
40206 echo "$as_me: failed program was:" >&5
40207 sed 's/^/| /' conftest.$ac_ext >&5
40208
40209 eval wx_cv_func_$wx_func=no
40210 fi
40211
40212 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40213 conftest$ac_exeext conftest.$ac_ext
40214
40215 fi
40216 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40217 { echo "$as_me:$LINENO: result: $ac_res" >&5
40218 echo "${ECHO_T}$ac_res" >&6; }
40219
40220 if eval test \$wx_cv_func_$wx_func = yes
40221 then
40222 cat >>confdefs.h <<_ACEOF
40223 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40224 _ACEOF
40225
40226
40227 else
40228 :
40229
40230 fi
40231 done
40232
40233 fi
40234
40235
40236 for wx_func in strtok_r
40237 do
40238 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40239 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40240 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40241 echo $ECHO_N "(cached) $ECHO_C" >&6
40242 else
40243
40244 cat >conftest.$ac_ext <<_ACEOF
40245
40246 /* confdefs.h. */
40247 _ACEOF
40248 cat confdefs.h >>conftest.$ac_ext
40249 cat >>conftest.$ac_ext <<_ACEOF
40250 /* end confdefs.h. */
40251
40252 #define _REENTRANT
40253 $ac_includes_default
40254
40255 int
40256 main ()
40257 {
40258
40259 #ifndef $wx_func
40260 &$wx_func;
40261 #endif
40262
40263
40264 ;
40265 return 0;
40266 }
40267
40268 _ACEOF
40269 rm -f conftest.$ac_objext conftest$ac_exeext
40270 if { (ac_try="$ac_link"
40271 case "(($ac_try" in
40272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40273 *) ac_try_echo=$ac_try;;
40274 esac
40275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40276 (eval "$ac_link") 2>conftest.er1
40277 ac_status=$?
40278 grep -v '^ *+' conftest.er1 >conftest.err
40279 rm -f conftest.er1
40280 cat conftest.err >&5
40281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40282 (exit $ac_status); } && {
40283 test -z "$ac_c_werror_flag" ||
40284 test ! -s conftest.err
40285 } && test -s conftest$ac_exeext &&
40286 $as_test_x conftest$ac_exeext; then
40287 eval wx_cv_func_$wx_func=yes
40288 else
40289 echo "$as_me: failed program was:" >&5
40290 sed 's/^/| /' conftest.$ac_ext >&5
40291
40292 eval wx_cv_func_$wx_func=no
40293 fi
40294
40295 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40296 conftest$ac_exeext conftest.$ac_ext
40297
40298 fi
40299 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40300 { echo "$as_me:$LINENO: result: $ac_res" >&5
40301 echo "${ECHO_T}$ac_res" >&6; }
40302
40303 if eval test \$wx_cv_func_$wx_func = yes
40304 then
40305 cat >>confdefs.h <<_ACEOF
40306 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40307 _ACEOF
40308
40309
40310 else
40311 :
40312
40313 fi
40314 done
40315
40316
40317 INET_LINK=
40318
40319 for ac_func in inet_addr
40320 do
40321 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40322 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40323 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40324 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40325 echo $ECHO_N "(cached) $ECHO_C" >&6
40326 else
40327 cat >conftest.$ac_ext <<_ACEOF
40328 /* confdefs.h. */
40329 _ACEOF
40330 cat confdefs.h >>conftest.$ac_ext
40331 cat >>conftest.$ac_ext <<_ACEOF
40332 /* end confdefs.h. */
40333 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40334 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40335 #define $ac_func innocuous_$ac_func
40336
40337 /* System header to define __stub macros and hopefully few prototypes,
40338 which can conflict with char $ac_func (); below.
40339 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40340 <limits.h> exists even on freestanding compilers. */
40341
40342 #ifdef __STDC__
40343 # include <limits.h>
40344 #else
40345 # include <assert.h>
40346 #endif
40347
40348 #undef $ac_func
40349
40350 /* Override any GCC internal prototype to avoid an error.
40351 Use char because int might match the return type of a GCC
40352 builtin and then its argument prototype would still apply. */
40353 #ifdef __cplusplus
40354 extern "C"
40355 #endif
40356 char $ac_func ();
40357 /* The GNU C library defines this for functions which it implements
40358 to always fail with ENOSYS. Some functions are actually named
40359 something starting with __ and the normal name is an alias. */
40360 #if defined __stub_$ac_func || defined __stub___$ac_func
40361 choke me
40362 #endif
40363
40364 int
40365 main ()
40366 {
40367 return $ac_func ();
40368 ;
40369 return 0;
40370 }
40371 _ACEOF
40372 rm -f conftest.$ac_objext conftest$ac_exeext
40373 if { (ac_try="$ac_link"
40374 case "(($ac_try" in
40375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40376 *) ac_try_echo=$ac_try;;
40377 esac
40378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40379 (eval "$ac_link") 2>conftest.er1
40380 ac_status=$?
40381 grep -v '^ *+' conftest.er1 >conftest.err
40382 rm -f conftest.er1
40383 cat conftest.err >&5
40384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40385 (exit $ac_status); } && {
40386 test -z "$ac_c_werror_flag" ||
40387 test ! -s conftest.err
40388 } && test -s conftest$ac_exeext &&
40389 $as_test_x conftest$ac_exeext; then
40390 eval "$as_ac_var=yes"
40391 else
40392 echo "$as_me: failed program was:" >&5
40393 sed 's/^/| /' conftest.$ac_ext >&5
40394
40395 eval "$as_ac_var=no"
40396 fi
40397
40398 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40399 conftest$ac_exeext conftest.$ac_ext
40400 fi
40401 ac_res=`eval echo '${'$as_ac_var'}'`
40402 { echo "$as_me:$LINENO: result: $ac_res" >&5
40403 echo "${ECHO_T}$ac_res" >&6; }
40404 if test `eval echo '${'$as_ac_var'}'` = yes; then
40405 cat >>confdefs.h <<_ACEOF
40406 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40407 _ACEOF
40408 cat >>confdefs.h <<\_ACEOF
40409 #define HAVE_INET_ADDR 1
40410 _ACEOF
40411
40412 else
40413
40414 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
40415 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
40416 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
40417 echo $ECHO_N "(cached) $ECHO_C" >&6
40418 else
40419 ac_check_lib_save_LIBS=$LIBS
40420 LIBS="-lnsl $LIBS"
40421 cat >conftest.$ac_ext <<_ACEOF
40422 /* confdefs.h. */
40423 _ACEOF
40424 cat confdefs.h >>conftest.$ac_ext
40425 cat >>conftest.$ac_ext <<_ACEOF
40426 /* end confdefs.h. */
40427
40428 /* Override any GCC internal prototype to avoid an error.
40429 Use char because int might match the return type of a GCC
40430 builtin and then its argument prototype would still apply. */
40431 #ifdef __cplusplus
40432 extern "C"
40433 #endif
40434 char inet_addr ();
40435 int
40436 main ()
40437 {
40438 return inet_addr ();
40439 ;
40440 return 0;
40441 }
40442 _ACEOF
40443 rm -f conftest.$ac_objext conftest$ac_exeext
40444 if { (ac_try="$ac_link"
40445 case "(($ac_try" in
40446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40447 *) ac_try_echo=$ac_try;;
40448 esac
40449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40450 (eval "$ac_link") 2>conftest.er1
40451 ac_status=$?
40452 grep -v '^ *+' conftest.er1 >conftest.err
40453 rm -f conftest.er1
40454 cat conftest.err >&5
40455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40456 (exit $ac_status); } && {
40457 test -z "$ac_c_werror_flag" ||
40458 test ! -s conftest.err
40459 } && test -s conftest$ac_exeext &&
40460 $as_test_x conftest$ac_exeext; then
40461 ac_cv_lib_nsl_inet_addr=yes
40462 else
40463 echo "$as_me: failed program was:" >&5
40464 sed 's/^/| /' conftest.$ac_ext >&5
40465
40466 ac_cv_lib_nsl_inet_addr=no
40467 fi
40468
40469 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40470 conftest$ac_exeext conftest.$ac_ext
40471 LIBS=$ac_check_lib_save_LIBS
40472 fi
40473 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
40474 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
40475 if test $ac_cv_lib_nsl_inet_addr = yes; then
40476 INET_LINK="nsl"
40477 else
40478
40479 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
40480 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
40481 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
40482 echo $ECHO_N "(cached) $ECHO_C" >&6
40483 else
40484 ac_check_lib_save_LIBS=$LIBS
40485 LIBS="-lresolv $LIBS"
40486 cat >conftest.$ac_ext <<_ACEOF
40487 /* confdefs.h. */
40488 _ACEOF
40489 cat confdefs.h >>conftest.$ac_ext
40490 cat >>conftest.$ac_ext <<_ACEOF
40491 /* end confdefs.h. */
40492
40493 /* Override any GCC internal prototype to avoid an error.
40494 Use char because int might match the return type of a GCC
40495 builtin and then its argument prototype would still apply. */
40496 #ifdef __cplusplus
40497 extern "C"
40498 #endif
40499 char inet_addr ();
40500 int
40501 main ()
40502 {
40503 return inet_addr ();
40504 ;
40505 return 0;
40506 }
40507 _ACEOF
40508 rm -f conftest.$ac_objext conftest$ac_exeext
40509 if { (ac_try="$ac_link"
40510 case "(($ac_try" in
40511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40512 *) ac_try_echo=$ac_try;;
40513 esac
40514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40515 (eval "$ac_link") 2>conftest.er1
40516 ac_status=$?
40517 grep -v '^ *+' conftest.er1 >conftest.err
40518 rm -f conftest.er1
40519 cat conftest.err >&5
40520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40521 (exit $ac_status); } && {
40522 test -z "$ac_c_werror_flag" ||
40523 test ! -s conftest.err
40524 } && test -s conftest$ac_exeext &&
40525 $as_test_x conftest$ac_exeext; then
40526 ac_cv_lib_resolv_inet_addr=yes
40527 else
40528 echo "$as_me: failed program was:" >&5
40529 sed 's/^/| /' conftest.$ac_ext >&5
40530
40531 ac_cv_lib_resolv_inet_addr=no
40532 fi
40533
40534 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40535 conftest$ac_exeext conftest.$ac_ext
40536 LIBS=$ac_check_lib_save_LIBS
40537 fi
40538 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
40539 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
40540 if test $ac_cv_lib_resolv_inet_addr = yes; then
40541 INET_LINK="resolv"
40542 else
40543
40544 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
40545 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
40546 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
40547 echo $ECHO_N "(cached) $ECHO_C" >&6
40548 else
40549 ac_check_lib_save_LIBS=$LIBS
40550 LIBS="-lsocket $LIBS"
40551 cat >conftest.$ac_ext <<_ACEOF
40552 /* confdefs.h. */
40553 _ACEOF
40554 cat confdefs.h >>conftest.$ac_ext
40555 cat >>conftest.$ac_ext <<_ACEOF
40556 /* end confdefs.h. */
40557
40558 /* Override any GCC internal prototype to avoid an error.
40559 Use char because int might match the return type of a GCC
40560 builtin and then its argument prototype would still apply. */
40561 #ifdef __cplusplus
40562 extern "C"
40563 #endif
40564 char inet_addr ();
40565 int
40566 main ()
40567 {
40568 return inet_addr ();
40569 ;
40570 return 0;
40571 }
40572 _ACEOF
40573 rm -f conftest.$ac_objext conftest$ac_exeext
40574 if { (ac_try="$ac_link"
40575 case "(($ac_try" in
40576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40577 *) ac_try_echo=$ac_try;;
40578 esac
40579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40580 (eval "$ac_link") 2>conftest.er1
40581 ac_status=$?
40582 grep -v '^ *+' conftest.er1 >conftest.err
40583 rm -f conftest.er1
40584 cat conftest.err >&5
40585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40586 (exit $ac_status); } && {
40587 test -z "$ac_c_werror_flag" ||
40588 test ! -s conftest.err
40589 } && test -s conftest$ac_exeext &&
40590 $as_test_x conftest$ac_exeext; then
40591 ac_cv_lib_socket_inet_addr=yes
40592 else
40593 echo "$as_me: failed program was:" >&5
40594 sed 's/^/| /' conftest.$ac_ext >&5
40595
40596 ac_cv_lib_socket_inet_addr=no
40597 fi
40598
40599 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40600 conftest$ac_exeext conftest.$ac_ext
40601 LIBS=$ac_check_lib_save_LIBS
40602 fi
40603 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
40604 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
40605 if test $ac_cv_lib_socket_inet_addr = yes; then
40606 INET_LINK="socket"
40607
40608 fi
40609
40610
40611
40612 fi
40613
40614
40615
40616 fi
40617
40618
40619
40620 fi
40621 done
40622
40623
40624
40625 for ac_func in inet_aton
40626 do
40627 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40628 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40629 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40630 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40631 echo $ECHO_N "(cached) $ECHO_C" >&6
40632 else
40633 cat >conftest.$ac_ext <<_ACEOF
40634 /* confdefs.h. */
40635 _ACEOF
40636 cat confdefs.h >>conftest.$ac_ext
40637 cat >>conftest.$ac_ext <<_ACEOF
40638 /* end confdefs.h. */
40639 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40640 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40641 #define $ac_func innocuous_$ac_func
40642
40643 /* System header to define __stub macros and hopefully few prototypes,
40644 which can conflict with char $ac_func (); below.
40645 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40646 <limits.h> exists even on freestanding compilers. */
40647
40648 #ifdef __STDC__
40649 # include <limits.h>
40650 #else
40651 # include <assert.h>
40652 #endif
40653
40654 #undef $ac_func
40655
40656 /* Override any GCC internal prototype to avoid an error.
40657 Use char because int might match the return type of a GCC
40658 builtin and then its argument prototype would still apply. */
40659 #ifdef __cplusplus
40660 extern "C"
40661 #endif
40662 char $ac_func ();
40663 /* The GNU C library defines this for functions which it implements
40664 to always fail with ENOSYS. Some functions are actually named
40665 something starting with __ and the normal name is an alias. */
40666 #if defined __stub_$ac_func || defined __stub___$ac_func
40667 choke me
40668 #endif
40669
40670 int
40671 main ()
40672 {
40673 return $ac_func ();
40674 ;
40675 return 0;
40676 }
40677 _ACEOF
40678 rm -f conftest.$ac_objext conftest$ac_exeext
40679 if { (ac_try="$ac_link"
40680 case "(($ac_try" in
40681 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40682 *) ac_try_echo=$ac_try;;
40683 esac
40684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40685 (eval "$ac_link") 2>conftest.er1
40686 ac_status=$?
40687 grep -v '^ *+' conftest.er1 >conftest.err
40688 rm -f conftest.er1
40689 cat conftest.err >&5
40690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40691 (exit $ac_status); } && {
40692 test -z "$ac_c_werror_flag" ||
40693 test ! -s conftest.err
40694 } && test -s conftest$ac_exeext &&
40695 $as_test_x conftest$ac_exeext; then
40696 eval "$as_ac_var=yes"
40697 else
40698 echo "$as_me: failed program was:" >&5
40699 sed 's/^/| /' conftest.$ac_ext >&5
40700
40701 eval "$as_ac_var=no"
40702 fi
40703
40704 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40705 conftest$ac_exeext conftest.$ac_ext
40706 fi
40707 ac_res=`eval echo '${'$as_ac_var'}'`
40708 { echo "$as_me:$LINENO: result: $ac_res" >&5
40709 echo "${ECHO_T}$ac_res" >&6; }
40710 if test `eval echo '${'$as_ac_var'}'` = yes; then
40711 cat >>confdefs.h <<_ACEOF
40712 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40713 _ACEOF
40714 cat >>confdefs.h <<\_ACEOF
40715 #define HAVE_INET_ATON 1
40716 _ACEOF
40717
40718 else
40719
40720 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
40721 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
40722 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
40723 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
40724 echo $ECHO_N "(cached) $ECHO_C" >&6
40725 else
40726 ac_check_lib_save_LIBS=$LIBS
40727 LIBS="-l$INET_LINK $LIBS"
40728 cat >conftest.$ac_ext <<_ACEOF
40729 /* confdefs.h. */
40730 _ACEOF
40731 cat confdefs.h >>conftest.$ac_ext
40732 cat >>conftest.$ac_ext <<_ACEOF
40733 /* end confdefs.h. */
40734
40735 /* Override any GCC internal prototype to avoid an error.
40736 Use char because int might match the return type of a GCC
40737 builtin and then its argument prototype would still apply. */
40738 #ifdef __cplusplus
40739 extern "C"
40740 #endif
40741 char inet_aton ();
40742 int
40743 main ()
40744 {
40745 return inet_aton ();
40746 ;
40747 return 0;
40748 }
40749 _ACEOF
40750 rm -f conftest.$ac_objext conftest$ac_exeext
40751 if { (ac_try="$ac_link"
40752 case "(($ac_try" in
40753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40754 *) ac_try_echo=$ac_try;;
40755 esac
40756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40757 (eval "$ac_link") 2>conftest.er1
40758 ac_status=$?
40759 grep -v '^ *+' conftest.er1 >conftest.err
40760 rm -f conftest.er1
40761 cat conftest.err >&5
40762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40763 (exit $ac_status); } && {
40764 test -z "$ac_c_werror_flag" ||
40765 test ! -s conftest.err
40766 } && test -s conftest$ac_exeext &&
40767 $as_test_x conftest$ac_exeext; then
40768 eval "$as_ac_Lib=yes"
40769 else
40770 echo "$as_me: failed program was:" >&5
40771 sed 's/^/| /' conftest.$ac_ext >&5
40772
40773 eval "$as_ac_Lib=no"
40774 fi
40775
40776 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40777 conftest$ac_exeext conftest.$ac_ext
40778 LIBS=$ac_check_lib_save_LIBS
40779 fi
40780 ac_res=`eval echo '${'$as_ac_Lib'}'`
40781 { echo "$as_me:$LINENO: result: $ac_res" >&5
40782 echo "${ECHO_T}$ac_res" >&6; }
40783 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
40784 cat >>confdefs.h <<\_ACEOF
40785 #define HAVE_INET_ATON 1
40786 _ACEOF
40787
40788 fi
40789
40790
40791 fi
40792 done
40793
40794
40795 if test "x$INET_LINK" != "x"; then
40796 cat >>confdefs.h <<\_ACEOF
40797 #define HAVE_INET_ADDR 1
40798 _ACEOF
40799
40800 INET_LINK=" -l$INET_LINK"
40801 fi
40802
40803
40804 for wx_func in fdopen
40805 do
40806 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40807 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40808 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40809 echo $ECHO_N "(cached) $ECHO_C" >&6
40810 else
40811
40812 cat >conftest.$ac_ext <<_ACEOF
40813
40814 /* confdefs.h. */
40815 _ACEOF
40816 cat confdefs.h >>conftest.$ac_ext
40817 cat >>conftest.$ac_ext <<_ACEOF
40818 /* end confdefs.h. */
40819
40820
40821 $ac_includes_default
40822
40823 int
40824 main ()
40825 {
40826
40827 #ifndef $wx_func
40828 &$wx_func;
40829 #endif
40830
40831
40832 ;
40833 return 0;
40834 }
40835
40836 _ACEOF
40837 rm -f conftest.$ac_objext conftest$ac_exeext
40838 if { (ac_try="$ac_link"
40839 case "(($ac_try" in
40840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40841 *) ac_try_echo=$ac_try;;
40842 esac
40843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40844 (eval "$ac_link") 2>conftest.er1
40845 ac_status=$?
40846 grep -v '^ *+' conftest.er1 >conftest.err
40847 rm -f conftest.er1
40848 cat conftest.err >&5
40849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40850 (exit $ac_status); } && {
40851 test -z "$ac_c_werror_flag" ||
40852 test ! -s conftest.err
40853 } && test -s conftest$ac_exeext &&
40854 $as_test_x conftest$ac_exeext; then
40855 eval wx_cv_func_$wx_func=yes
40856 else
40857 echo "$as_me: failed program was:" >&5
40858 sed 's/^/| /' conftest.$ac_ext >&5
40859
40860 eval wx_cv_func_$wx_func=no
40861 fi
40862
40863 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40864 conftest$ac_exeext conftest.$ac_ext
40865
40866 fi
40867 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40868 { echo "$as_me:$LINENO: result: $ac_res" >&5
40869 echo "${ECHO_T}$ac_res" >&6; }
40870
40871 if eval test \$wx_cv_func_$wx_func = yes
40872 then
40873 cat >>confdefs.h <<_ACEOF
40874 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40875 _ACEOF
40876
40877
40878 else
40879 :
40880
40881 fi
40882 done
40883
40884
40885 if test "$wxUSE_TARSTREAM" = "yes"; then
40886
40887 for wx_func in sysconf
40888 do
40889 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40890 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40891 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40892 echo $ECHO_N "(cached) $ECHO_C" >&6
40893 else
40894
40895 cat >conftest.$ac_ext <<_ACEOF
40896
40897 /* confdefs.h. */
40898 _ACEOF
40899 cat confdefs.h >>conftest.$ac_ext
40900 cat >>conftest.$ac_ext <<_ACEOF
40901 /* end confdefs.h. */
40902
40903
40904 $ac_includes_default
40905
40906 int
40907 main ()
40908 {
40909
40910 #ifndef $wx_func
40911 &$wx_func;
40912 #endif
40913
40914
40915 ;
40916 return 0;
40917 }
40918
40919 _ACEOF
40920 rm -f conftest.$ac_objext conftest$ac_exeext
40921 if { (ac_try="$ac_link"
40922 case "(($ac_try" in
40923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40924 *) ac_try_echo=$ac_try;;
40925 esac
40926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40927 (eval "$ac_link") 2>conftest.er1
40928 ac_status=$?
40929 grep -v '^ *+' conftest.er1 >conftest.err
40930 rm -f conftest.er1
40931 cat conftest.err >&5
40932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40933 (exit $ac_status); } && {
40934 test -z "$ac_c_werror_flag" ||
40935 test ! -s conftest.err
40936 } && test -s conftest$ac_exeext &&
40937 $as_test_x conftest$ac_exeext; then
40938 eval wx_cv_func_$wx_func=yes
40939 else
40940 echo "$as_me: failed program was:" >&5
40941 sed 's/^/| /' conftest.$ac_ext >&5
40942
40943 eval wx_cv_func_$wx_func=no
40944 fi
40945
40946 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40947 conftest$ac_exeext conftest.$ac_ext
40948
40949 fi
40950 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40951 { echo "$as_me:$LINENO: result: $ac_res" >&5
40952 echo "${ECHO_T}$ac_res" >&6; }
40953
40954 if eval test \$wx_cv_func_$wx_func = yes
40955 then
40956 cat >>confdefs.h <<_ACEOF
40957 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40958 _ACEOF
40959
40960
40961 else
40962 :
40963
40964 fi
40965 done
40966
40967
40968
40969 for wx_func in getpwuid_r
40970 do
40971 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40972 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40973 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40974 echo $ECHO_N "(cached) $ECHO_C" >&6
40975 else
40976
40977 cat >conftest.$ac_ext <<_ACEOF
40978
40979 /* confdefs.h. */
40980 _ACEOF
40981 cat confdefs.h >>conftest.$ac_ext
40982 cat >>conftest.$ac_ext <<_ACEOF
40983 /* end confdefs.h. */
40984
40985
40986 #define _REENTRANT
40987 #include <pwd.h>
40988
40989 $ac_includes_default
40990
40991 int
40992 main ()
40993 {
40994
40995 #ifndef $wx_func
40996 &$wx_func;
40997 #endif
40998
40999 struct passwd pw, *ppw;
41000 char buf[1024];
41001 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
41002
41003
41004 ;
41005 return 0;
41006 }
41007
41008 _ACEOF
41009 rm -f conftest.$ac_objext conftest$ac_exeext
41010 if { (ac_try="$ac_link"
41011 case "(($ac_try" in
41012 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41013 *) ac_try_echo=$ac_try;;
41014 esac
41015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41016 (eval "$ac_link") 2>conftest.er1
41017 ac_status=$?
41018 grep -v '^ *+' conftest.er1 >conftest.err
41019 rm -f conftest.er1
41020 cat conftest.err >&5
41021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41022 (exit $ac_status); } && {
41023 test -z "$ac_c_werror_flag" ||
41024 test ! -s conftest.err
41025 } && test -s conftest$ac_exeext &&
41026 $as_test_x conftest$ac_exeext; then
41027 eval wx_cv_func_$wx_func=yes
41028 else
41029 echo "$as_me: failed program was:" >&5
41030 sed 's/^/| /' conftest.$ac_ext >&5
41031
41032 eval wx_cv_func_$wx_func=no
41033 fi
41034
41035 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41036 conftest$ac_exeext conftest.$ac_ext
41037
41038 fi
41039 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
41040 { echo "$as_me:$LINENO: result: $ac_res" >&5
41041 echo "${ECHO_T}$ac_res" >&6; }
41042
41043 if eval test \$wx_cv_func_$wx_func = yes
41044 then
41045 cat >>confdefs.h <<_ACEOF
41046 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
41047 _ACEOF
41048
41049
41050 else
41051 :
41052
41053 fi
41054 done
41055
41056
41057
41058 for wx_func in getgrgid_r
41059 do
41060 { echo "$as_me:$LINENO: checking for $wx_func" >&5
41061 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
41062 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
41063 echo $ECHO_N "(cached) $ECHO_C" >&6
41064 else
41065
41066 cat >conftest.$ac_ext <<_ACEOF
41067
41068 /* confdefs.h. */
41069 _ACEOF
41070 cat confdefs.h >>conftest.$ac_ext
41071 cat >>conftest.$ac_ext <<_ACEOF
41072 /* end confdefs.h. */
41073
41074
41075 #define _REENTRANT
41076 #include <grp.h>
41077
41078 $ac_includes_default
41079
41080 int
41081 main ()
41082 {
41083
41084 #ifndef $wx_func
41085 &$wx_func;
41086 #endif
41087
41088 struct group grp, *pgrp;
41089 char buf[1024];
41090 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
41091
41092
41093 ;
41094 return 0;
41095 }
41096
41097 _ACEOF
41098 rm -f conftest.$ac_objext conftest$ac_exeext
41099 if { (ac_try="$ac_link"
41100 case "(($ac_try" in
41101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41102 *) ac_try_echo=$ac_try;;
41103 esac
41104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41105 (eval "$ac_link") 2>conftest.er1
41106 ac_status=$?
41107 grep -v '^ *+' conftest.er1 >conftest.err
41108 rm -f conftest.er1
41109 cat conftest.err >&5
41110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41111 (exit $ac_status); } && {
41112 test -z "$ac_c_werror_flag" ||
41113 test ! -s conftest.err
41114 } && test -s conftest$ac_exeext &&
41115 $as_test_x conftest$ac_exeext; then
41116 eval wx_cv_func_$wx_func=yes
41117 else
41118 echo "$as_me: failed program was:" >&5
41119 sed 's/^/| /' conftest.$ac_ext >&5
41120
41121 eval wx_cv_func_$wx_func=no
41122 fi
41123
41124 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41125 conftest$ac_exeext conftest.$ac_ext
41126
41127 fi
41128 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
41129 { echo "$as_me:$LINENO: result: $ac_res" >&5
41130 echo "${ECHO_T}$ac_res" >&6; }
41131
41132 if eval test \$wx_cv_func_$wx_func = yes
41133 then
41134 cat >>confdefs.h <<_ACEOF
41135 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
41136 _ACEOF
41137
41138
41139 else
41140 :
41141
41142 fi
41143 done
41144
41145 fi
41146
41147 fi
41148
41149
41150
41151 cat >confcache <<\_ACEOF
41152 # This file is a shell script that caches the results of configure
41153 # tests run on this system so they can be shared between configure
41154 # scripts and configure runs, see configure's option --config-cache.
41155 # It is not useful on other systems. If it contains results you don't
41156 # want to keep, you may remove or edit it.
41157 #
41158 # config.status only pays attention to the cache file if you give it
41159 # the --recheck option to rerun configure.
41160 #
41161 # `ac_cv_env_foo' variables (set or unset) will be overridden when
41162 # loading this file, other *unset* `ac_cv_foo' will be assigned the
41163 # following values.
41164
41165 _ACEOF
41166
41167 # The following way of writing the cache mishandles newlines in values,
41168 # but we know of no workaround that is simple, portable, and efficient.
41169 # So, we kill variables containing newlines.
41170 # Ultrix sh set writes to stderr and can't be redirected directly,
41171 # and sets the high bit in the cache file unless we assign to the vars.
41172 (
41173 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
41174 eval ac_val=\$$ac_var
41175 case $ac_val in #(
41176 *${as_nl}*)
41177 case $ac_var in #(
41178 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
41179 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
41180 esac
41181 case $ac_var in #(
41182 _ | IFS | as_nl) ;; #(
41183 *) $as_unset $ac_var ;;
41184 esac ;;
41185 esac
41186 done
41187
41188 (set) 2>&1 |
41189 case $as_nl`(ac_space=' '; set) 2>&1` in #(
41190 *${as_nl}ac_space=\ *)
41191 # `set' does not quote correctly, so add quotes (double-quote
41192 # substitution turns \\\\ into \\, and sed turns \\ into \).
41193 sed -n \
41194 "s/'/'\\\\''/g;
41195 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
41196 ;; #(
41197 *)
41198 # `set' quotes correctly as required by POSIX, so do not add quotes.
41199 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
41200 ;;
41201 esac |
41202 sort
41203 ) |
41204 sed '
41205 /^ac_cv_env_/b end
41206 t clear
41207 :clear
41208 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
41209 t end
41210 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
41211 :end' >>confcache
41212 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
41213 if test -w "$cache_file"; then
41214 test "x$cache_file" != "x/dev/null" &&
41215 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
41216 echo "$as_me: updating cache $cache_file" >&6;}
41217 cat confcache >$cache_file
41218 else
41219 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
41220 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
41221 fi
41222 fi
41223 rm -f confcache
41224
41225
41226 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41227
41228
41229 THREADS_LINK=
41230 THREADS_CFLAGS=
41231
41232 if test "$wxUSE_THREADS" = "yes" ; then
41233 if test "$USE_BEOS" = 1; then
41234 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
41235 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
41236 wxUSE_THREADS="no"
41237 fi
41238 fi
41239
41240 if test "$wxUSE_THREADS" = "yes" ; then
41241
41242
41243 THREAD_OPTS="-pthread"
41244 if test "x$SUNCXX" = xyes; then
41245 THREAD_OPTS="-mt lthread $THREAD_OPTS"
41246 fi
41247
41248 case "${host}" in
41249 *-*-solaris2* | *-*-sunos4* )
41250 if test "x$GCC" = "xyes"; then
41251 THREAD_OPTS="-pthreads $THREAD_OPTS"
41252 fi
41253 ;;
41254 *-*-freebsd*)
41255 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
41256 ;;
41257 *-*-darwin* | *-*-cygwin* )
41258 THREAD_OPTS=""
41259 ;;
41260 *-*-aix*)
41261 THREAD_OPTS="pthreads"
41262 ;;
41263 *-hp-hpux* )
41264 if test "x$GCC" = "xyes"; then
41265 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
41266 THREAD_OPTS=""
41267 else
41268 THREAD_OPTS="-mt"
41269 fi
41270 ;;
41271
41272 *-*-irix* )
41273 if test "x$GCC" = "xyes"; then
41274 THREAD_OPTS=""
41275 fi
41276 ;;
41277
41278 *-*-*UnixWare*)
41279 if test "x$GCC" != "xyes"; then
41280 THREAD_OPTS="-Ethread"
41281 fi
41282 ;;
41283 esac
41284
41285 THREAD_OPTS="$THREAD_OPTS pthread none"
41286
41287 THREADS_OK=no
41288 for flag in $THREAD_OPTS; do
41289 case $flag in
41290 none)
41291 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
41292 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
41293 ;;
41294
41295 -*)
41296 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
41297 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
41298 THREADS_CFLAGS="$flag"
41299 ;;
41300
41301 *)
41302 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
41303 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
41304 THREADS_LINK="-l$flag"
41305 ;;
41306 esac
41307
41308 save_LIBS="$LIBS"
41309 save_CFLAGS="$CFLAGS"
41310 LIBS="$THREADS_LINK $LIBS"
41311 CFLAGS="$THREADS_CFLAGS $CFLAGS"
41312
41313 cat >conftest.$ac_ext <<_ACEOF
41314 /* confdefs.h. */
41315 _ACEOF
41316 cat confdefs.h >>conftest.$ac_ext
41317 cat >>conftest.$ac_ext <<_ACEOF
41318 /* end confdefs.h. */
41319 #include <pthread.h>
41320 int
41321 main ()
41322 {
41323 pthread_create(0,0,0,0);
41324 ;
41325 return 0;
41326 }
41327 _ACEOF
41328 rm -f conftest.$ac_objext conftest$ac_exeext
41329 if { (ac_try="$ac_link"
41330 case "(($ac_try" in
41331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41332 *) ac_try_echo=$ac_try;;
41333 esac
41334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41335 (eval "$ac_link") 2>conftest.er1
41336 ac_status=$?
41337 grep -v '^ *+' conftest.er1 >conftest.err
41338 rm -f conftest.er1
41339 cat conftest.err >&5
41340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41341 (exit $ac_status); } && {
41342 test -z "$ac_c_werror_flag" ||
41343 test ! -s conftest.err
41344 } && test -s conftest$ac_exeext &&
41345 $as_test_x conftest$ac_exeext; then
41346 THREADS_OK=yes
41347 else
41348 echo "$as_me: failed program was:" >&5
41349 sed 's/^/| /' conftest.$ac_ext >&5
41350
41351
41352 fi
41353
41354 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41355 conftest$ac_exeext conftest.$ac_ext
41356
41357 LIBS="$save_LIBS"
41358 CFLAGS="$save_CFLAGS"
41359
41360 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
41361 echo "${ECHO_T}$THREADS_OK" >&6; }
41362 if test "x$THREADS_OK" = "xyes"; then
41363 break;
41364 fi
41365
41366 THREADS_LINK=""
41367 THREADS_CFLAGS=""
41368 done
41369
41370 if test "x$THREADS_OK" != "xyes"; then
41371 wxUSE_THREADS=no
41372 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
41373 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
41374 else
41375 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
41376 LIBS="$THREADS_LINK $LIBS"
41377
41378 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
41379 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
41380 flag=no
41381 case "${host}" in
41382 *-aix*)
41383 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
41384 flag="-D_THREAD_SAFE"
41385 ;;
41386 *-freebsd*)
41387 flag="-D_THREAD_SAFE"
41388 ;;
41389 *-hp-hpux* )
41390 flag="-D_REENTRANT"
41391 if test "x$GCC" != "xyes"; then
41392 flag="$flag -D_RWSTD_MULTI_THREAD"
41393 fi
41394 ;;
41395 *solaris* | alpha*-osf*)
41396 flag="-D_REENTRANT"
41397 ;;
41398 esac
41399 { echo "$as_me:$LINENO: result: ${flag}" >&5
41400 echo "${ECHO_T}${flag}" >&6; }
41401 if test "x$flag" != xno; then
41402 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
41403 fi
41404
41405 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
41406 fi
41407 fi
41408
41409 if test "$wxUSE_THREADS" = "yes" ; then
41410
41411 for ac_func in thr_setconcurrency
41412 do
41413 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41414 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41415 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41416 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41417 echo $ECHO_N "(cached) $ECHO_C" >&6
41418 else
41419 cat >conftest.$ac_ext <<_ACEOF
41420 /* confdefs.h. */
41421 _ACEOF
41422 cat confdefs.h >>conftest.$ac_ext
41423 cat >>conftest.$ac_ext <<_ACEOF
41424 /* end confdefs.h. */
41425 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41426 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41427 #define $ac_func innocuous_$ac_func
41428
41429 /* System header to define __stub macros and hopefully few prototypes,
41430 which can conflict with char $ac_func (); below.
41431 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41432 <limits.h> exists even on freestanding compilers. */
41433
41434 #ifdef __STDC__
41435 # include <limits.h>
41436 #else
41437 # include <assert.h>
41438 #endif
41439
41440 #undef $ac_func
41441
41442 /* Override any GCC internal prototype to avoid an error.
41443 Use char because int might match the return type of a GCC
41444 builtin and then its argument prototype would still apply. */
41445 #ifdef __cplusplus
41446 extern "C"
41447 #endif
41448 char $ac_func ();
41449 /* The GNU C library defines this for functions which it implements
41450 to always fail with ENOSYS. Some functions are actually named
41451 something starting with __ and the normal name is an alias. */
41452 #if defined __stub_$ac_func || defined __stub___$ac_func
41453 choke me
41454 #endif
41455
41456 int
41457 main ()
41458 {
41459 return $ac_func ();
41460 ;
41461 return 0;
41462 }
41463 _ACEOF
41464 rm -f conftest.$ac_objext conftest$ac_exeext
41465 if { (ac_try="$ac_link"
41466 case "(($ac_try" in
41467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41468 *) ac_try_echo=$ac_try;;
41469 esac
41470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41471 (eval "$ac_link") 2>conftest.er1
41472 ac_status=$?
41473 grep -v '^ *+' conftest.er1 >conftest.err
41474 rm -f conftest.er1
41475 cat conftest.err >&5
41476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41477 (exit $ac_status); } && {
41478 test -z "$ac_c_werror_flag" ||
41479 test ! -s conftest.err
41480 } && test -s conftest$ac_exeext &&
41481 $as_test_x conftest$ac_exeext; then
41482 eval "$as_ac_var=yes"
41483 else
41484 echo "$as_me: failed program was:" >&5
41485 sed 's/^/| /' conftest.$ac_ext >&5
41486
41487 eval "$as_ac_var=no"
41488 fi
41489
41490 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41491 conftest$ac_exeext conftest.$ac_ext
41492 fi
41493 ac_res=`eval echo '${'$as_ac_var'}'`
41494 { echo "$as_me:$LINENO: result: $ac_res" >&5
41495 echo "${ECHO_T}$ac_res" >&6; }
41496 if test `eval echo '${'$as_ac_var'}'` = yes; then
41497 cat >>confdefs.h <<_ACEOF
41498 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41499 _ACEOF
41500
41501 fi
41502 done
41503
41504
41505 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
41506 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
41507 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
41508 echo $ECHO_N "(cached) $ECHO_C" >&6
41509 else
41510
41511 ac_ext=cpp
41512 ac_cpp='$CXXCPP $CPPFLAGS'
41513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41516
41517 cat >conftest.$ac_ext <<_ACEOF
41518 /* confdefs.h. */
41519 _ACEOF
41520 cat confdefs.h >>conftest.$ac_ext
41521 cat >>conftest.$ac_ext <<_ACEOF
41522 /* end confdefs.h. */
41523 #include <pthread.h>
41524 void ThreadCleanupFunc(void *p);
41525
41526 int
41527 main ()
41528 {
41529
41530 void *p;
41531 pthread_cleanup_push(ThreadCleanupFunc, p);
41532 pthread_cleanup_pop(0);
41533
41534 ;
41535 return 0;
41536 }
41537 _ACEOF
41538 rm -f conftest.$ac_objext
41539 if { (ac_try="$ac_compile"
41540 case "(($ac_try" in
41541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41542 *) ac_try_echo=$ac_try;;
41543 esac
41544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41545 (eval "$ac_compile") 2>conftest.er1
41546 ac_status=$?
41547 grep -v '^ *+' conftest.er1 >conftest.err
41548 rm -f conftest.er1
41549 cat conftest.err >&5
41550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41551 (exit $ac_status); } && {
41552 test -z "$ac_cxx_werror_flag" ||
41553 test ! -s conftest.err
41554 } && test -s conftest.$ac_objext; then
41555
41556 wx_cv_func_pthread_cleanup=yes
41557
41558 else
41559 echo "$as_me: failed program was:" >&5
41560 sed 's/^/| /' conftest.$ac_ext >&5
41561
41562
41563 wx_cv_func_pthread_cleanup=no
41564
41565
41566 fi
41567
41568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41569 ac_ext=c
41570 ac_cpp='$CPP $CPPFLAGS'
41571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41574
41575
41576 fi
41577 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
41578 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
41579 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
41580 cat >>confdefs.h <<\_ACEOF
41581 #define wxHAVE_PTHREAD_CLEANUP 1
41582 _ACEOF
41583
41584 fi
41585
41586
41587 for ac_header in sched.h
41588 do
41589 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
41590 { echo "$as_me:$LINENO: checking for $ac_header" >&5
41591 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
41592 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
41593 echo $ECHO_N "(cached) $ECHO_C" >&6
41594 else
41595 cat >conftest.$ac_ext <<_ACEOF
41596 /* confdefs.h. */
41597 _ACEOF
41598 cat confdefs.h >>conftest.$ac_ext
41599 cat >>conftest.$ac_ext <<_ACEOF
41600 /* end confdefs.h. */
41601 $ac_includes_default
41602
41603 #include <$ac_header>
41604 _ACEOF
41605 rm -f conftest.$ac_objext
41606 if { (ac_try="$ac_compile"
41607 case "(($ac_try" in
41608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41609 *) ac_try_echo=$ac_try;;
41610 esac
41611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41612 (eval "$ac_compile") 2>conftest.er1
41613 ac_status=$?
41614 grep -v '^ *+' conftest.er1 >conftest.err
41615 rm -f conftest.er1
41616 cat conftest.err >&5
41617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41618 (exit $ac_status); } && {
41619 test -z "$ac_c_werror_flag" ||
41620 test ! -s conftest.err
41621 } && test -s conftest.$ac_objext; then
41622 eval "$as_ac_Header=yes"
41623 else
41624 echo "$as_me: failed program was:" >&5
41625 sed 's/^/| /' conftest.$ac_ext >&5
41626
41627 eval "$as_ac_Header=no"
41628 fi
41629
41630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41631 fi
41632 ac_res=`eval echo '${'$as_ac_Header'}'`
41633 { echo "$as_me:$LINENO: result: $ac_res" >&5
41634 echo "${ECHO_T}$ac_res" >&6; }
41635 if test `eval echo '${'$as_ac_Header'}'` = yes; then
41636 cat >>confdefs.h <<_ACEOF
41637 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
41638 _ACEOF
41639
41640 fi
41641
41642 done
41643
41644 if test "$ac_cv_header_sched_h" = "yes"; then
41645 { echo "$as_me:$LINENO: checking for sched_yield" >&5
41646 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
41647 if test "${ac_cv_func_sched_yield+set}" = set; then
41648 echo $ECHO_N "(cached) $ECHO_C" >&6
41649 else
41650 cat >conftest.$ac_ext <<_ACEOF
41651 /* confdefs.h. */
41652 _ACEOF
41653 cat confdefs.h >>conftest.$ac_ext
41654 cat >>conftest.$ac_ext <<_ACEOF
41655 /* end confdefs.h. */
41656 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
41657 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41658 #define sched_yield innocuous_sched_yield
41659
41660 /* System header to define __stub macros and hopefully few prototypes,
41661 which can conflict with char sched_yield (); below.
41662 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41663 <limits.h> exists even on freestanding compilers. */
41664
41665 #ifdef __STDC__
41666 # include <limits.h>
41667 #else
41668 # include <assert.h>
41669 #endif
41670
41671 #undef sched_yield
41672
41673 /* Override any GCC internal prototype to avoid an error.
41674 Use char because int might match the return type of a GCC
41675 builtin and then its argument prototype would still apply. */
41676 #ifdef __cplusplus
41677 extern "C"
41678 #endif
41679 char sched_yield ();
41680 /* The GNU C library defines this for functions which it implements
41681 to always fail with ENOSYS. Some functions are actually named
41682 something starting with __ and the normal name is an alias. */
41683 #if defined __stub_sched_yield || defined __stub___sched_yield
41684 choke me
41685 #endif
41686
41687 int
41688 main ()
41689 {
41690 return sched_yield ();
41691 ;
41692 return 0;
41693 }
41694 _ACEOF
41695 rm -f conftest.$ac_objext conftest$ac_exeext
41696 if { (ac_try="$ac_link"
41697 case "(($ac_try" in
41698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41699 *) ac_try_echo=$ac_try;;
41700 esac
41701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41702 (eval "$ac_link") 2>conftest.er1
41703 ac_status=$?
41704 grep -v '^ *+' conftest.er1 >conftest.err
41705 rm -f conftest.er1
41706 cat conftest.err >&5
41707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41708 (exit $ac_status); } && {
41709 test -z "$ac_c_werror_flag" ||
41710 test ! -s conftest.err
41711 } && test -s conftest$ac_exeext &&
41712 $as_test_x conftest$ac_exeext; then
41713 ac_cv_func_sched_yield=yes
41714 else
41715 echo "$as_me: failed program was:" >&5
41716 sed 's/^/| /' conftest.$ac_ext >&5
41717
41718 ac_cv_func_sched_yield=no
41719 fi
41720
41721 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41722 conftest$ac_exeext conftest.$ac_ext
41723 fi
41724 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
41725 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
41726 if test $ac_cv_func_sched_yield = yes; then
41727 cat >>confdefs.h <<\_ACEOF
41728 #define HAVE_SCHED_YIELD 1
41729 _ACEOF
41730
41731 else
41732
41733 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
41734 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
41735 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
41736 echo $ECHO_N "(cached) $ECHO_C" >&6
41737 else
41738 ac_check_lib_save_LIBS=$LIBS
41739 LIBS="-lposix4 $LIBS"
41740 cat >conftest.$ac_ext <<_ACEOF
41741 /* confdefs.h. */
41742 _ACEOF
41743 cat confdefs.h >>conftest.$ac_ext
41744 cat >>conftest.$ac_ext <<_ACEOF
41745 /* end confdefs.h. */
41746
41747 /* Override any GCC internal prototype to avoid an error.
41748 Use char because int might match the return type of a GCC
41749 builtin and then its argument prototype would still apply. */
41750 #ifdef __cplusplus
41751 extern "C"
41752 #endif
41753 char sched_yield ();
41754 int
41755 main ()
41756 {
41757 return sched_yield ();
41758 ;
41759 return 0;
41760 }
41761 _ACEOF
41762 rm -f conftest.$ac_objext conftest$ac_exeext
41763 if { (ac_try="$ac_link"
41764 case "(($ac_try" in
41765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41766 *) ac_try_echo=$ac_try;;
41767 esac
41768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41769 (eval "$ac_link") 2>conftest.er1
41770 ac_status=$?
41771 grep -v '^ *+' conftest.er1 >conftest.err
41772 rm -f conftest.er1
41773 cat conftest.err >&5
41774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41775 (exit $ac_status); } && {
41776 test -z "$ac_c_werror_flag" ||
41777 test ! -s conftest.err
41778 } && test -s conftest$ac_exeext &&
41779 $as_test_x conftest$ac_exeext; then
41780 ac_cv_lib_posix4_sched_yield=yes
41781 else
41782 echo "$as_me: failed program was:" >&5
41783 sed 's/^/| /' conftest.$ac_ext >&5
41784
41785 ac_cv_lib_posix4_sched_yield=no
41786 fi
41787
41788 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41789 conftest$ac_exeext conftest.$ac_ext
41790 LIBS=$ac_check_lib_save_LIBS
41791 fi
41792 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
41793 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
41794 if test $ac_cv_lib_posix4_sched_yield = yes; then
41795 cat >>confdefs.h <<\_ACEOF
41796 #define HAVE_SCHED_YIELD 1
41797 _ACEOF
41798 POSIX4_LINK=" -lposix4"
41799 else
41800 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
41801 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
41802
41803 fi
41804
41805
41806
41807 fi
41808
41809 fi
41810
41811 HAVE_PRIOR_FUNCS=0
41812 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
41813 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
41814 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
41815 echo $ECHO_N "(cached) $ECHO_C" >&6
41816 else
41817 cat >conftest.$ac_ext <<_ACEOF
41818 /* confdefs.h. */
41819 _ACEOF
41820 cat confdefs.h >>conftest.$ac_ext
41821 cat >>conftest.$ac_ext <<_ACEOF
41822 /* end confdefs.h. */
41823 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
41824 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41825 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
41826
41827 /* System header to define __stub macros and hopefully few prototypes,
41828 which can conflict with char pthread_attr_getschedpolicy (); below.
41829 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41830 <limits.h> exists even on freestanding compilers. */
41831
41832 #ifdef __STDC__
41833 # include <limits.h>
41834 #else
41835 # include <assert.h>
41836 #endif
41837
41838 #undef pthread_attr_getschedpolicy
41839
41840 /* Override any GCC internal prototype to avoid an error.
41841 Use char because int might match the return type of a GCC
41842 builtin and then its argument prototype would still apply. */
41843 #ifdef __cplusplus
41844 extern "C"
41845 #endif
41846 char pthread_attr_getschedpolicy ();
41847 /* The GNU C library defines this for functions which it implements
41848 to always fail with ENOSYS. Some functions are actually named
41849 something starting with __ and the normal name is an alias. */
41850 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
41851 choke me
41852 #endif
41853
41854 int
41855 main ()
41856 {
41857 return pthread_attr_getschedpolicy ();
41858 ;
41859 return 0;
41860 }
41861 _ACEOF
41862 rm -f conftest.$ac_objext conftest$ac_exeext
41863 if { (ac_try="$ac_link"
41864 case "(($ac_try" in
41865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41866 *) ac_try_echo=$ac_try;;
41867 esac
41868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41869 (eval "$ac_link") 2>conftest.er1
41870 ac_status=$?
41871 grep -v '^ *+' conftest.er1 >conftest.err
41872 rm -f conftest.er1
41873 cat conftest.err >&5
41874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41875 (exit $ac_status); } && {
41876 test -z "$ac_c_werror_flag" ||
41877 test ! -s conftest.err
41878 } && test -s conftest$ac_exeext &&
41879 $as_test_x conftest$ac_exeext; then
41880 ac_cv_func_pthread_attr_getschedpolicy=yes
41881 else
41882 echo "$as_me: failed program was:" >&5
41883 sed 's/^/| /' conftest.$ac_ext >&5
41884
41885 ac_cv_func_pthread_attr_getschedpolicy=no
41886 fi
41887
41888 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41889 conftest$ac_exeext conftest.$ac_ext
41890 fi
41891 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
41892 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
41893 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
41894 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
41895 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
41896 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
41897 echo $ECHO_N "(cached) $ECHO_C" >&6
41898 else
41899 cat >conftest.$ac_ext <<_ACEOF
41900 /* confdefs.h. */
41901 _ACEOF
41902 cat confdefs.h >>conftest.$ac_ext
41903 cat >>conftest.$ac_ext <<_ACEOF
41904 /* end confdefs.h. */
41905 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
41906 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41907 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
41908
41909 /* System header to define __stub macros and hopefully few prototypes,
41910 which can conflict with char pthread_attr_setschedparam (); below.
41911 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41912 <limits.h> exists even on freestanding compilers. */
41913
41914 #ifdef __STDC__
41915 # include <limits.h>
41916 #else
41917 # include <assert.h>
41918 #endif
41919
41920 #undef pthread_attr_setschedparam
41921
41922 /* Override any GCC internal prototype to avoid an error.
41923 Use char because int might match the return type of a GCC
41924 builtin and then its argument prototype would still apply. */
41925 #ifdef __cplusplus
41926 extern "C"
41927 #endif
41928 char pthread_attr_setschedparam ();
41929 /* The GNU C library defines this for functions which it implements
41930 to always fail with ENOSYS. Some functions are actually named
41931 something starting with __ and the normal name is an alias. */
41932 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
41933 choke me
41934 #endif
41935
41936 int
41937 main ()
41938 {
41939 return pthread_attr_setschedparam ();
41940 ;
41941 return 0;
41942 }
41943 _ACEOF
41944 rm -f conftest.$ac_objext conftest$ac_exeext
41945 if { (ac_try="$ac_link"
41946 case "(($ac_try" in
41947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41948 *) ac_try_echo=$ac_try;;
41949 esac
41950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41951 (eval "$ac_link") 2>conftest.er1
41952 ac_status=$?
41953 grep -v '^ *+' conftest.er1 >conftest.err
41954 rm -f conftest.er1
41955 cat conftest.err >&5
41956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41957 (exit $ac_status); } && {
41958 test -z "$ac_c_werror_flag" ||
41959 test ! -s conftest.err
41960 } && test -s conftest$ac_exeext &&
41961 $as_test_x conftest$ac_exeext; then
41962 ac_cv_func_pthread_attr_setschedparam=yes
41963 else
41964 echo "$as_me: failed program was:" >&5
41965 sed 's/^/| /' conftest.$ac_ext >&5
41966
41967 ac_cv_func_pthread_attr_setschedparam=no
41968 fi
41969
41970 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41971 conftest$ac_exeext conftest.$ac_ext
41972 fi
41973 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
41974 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
41975 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
41976 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
41977 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
41978 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
41979 echo $ECHO_N "(cached) $ECHO_C" >&6
41980 else
41981 cat >conftest.$ac_ext <<_ACEOF
41982 /* confdefs.h. */
41983 _ACEOF
41984 cat confdefs.h >>conftest.$ac_ext
41985 cat >>conftest.$ac_ext <<_ACEOF
41986 /* end confdefs.h. */
41987 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
41988 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41989 #define sched_get_priority_max innocuous_sched_get_priority_max
41990
41991 /* System header to define __stub macros and hopefully few prototypes,
41992 which can conflict with char sched_get_priority_max (); below.
41993 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41994 <limits.h> exists even on freestanding compilers. */
41995
41996 #ifdef __STDC__
41997 # include <limits.h>
41998 #else
41999 # include <assert.h>
42000 #endif
42001
42002 #undef sched_get_priority_max
42003
42004 /* Override any GCC internal prototype to avoid an error.
42005 Use char because int might match the return type of a GCC
42006 builtin and then its argument prototype would still apply. */
42007 #ifdef __cplusplus
42008 extern "C"
42009 #endif
42010 char sched_get_priority_max ();
42011 /* The GNU C library defines this for functions which it implements
42012 to always fail with ENOSYS. Some functions are actually named
42013 something starting with __ and the normal name is an alias. */
42014 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
42015 choke me
42016 #endif
42017
42018 int
42019 main ()
42020 {
42021 return sched_get_priority_max ();
42022 ;
42023 return 0;
42024 }
42025 _ACEOF
42026 rm -f conftest.$ac_objext conftest$ac_exeext
42027 if { (ac_try="$ac_link"
42028 case "(($ac_try" in
42029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42030 *) ac_try_echo=$ac_try;;
42031 esac
42032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42033 (eval "$ac_link") 2>conftest.er1
42034 ac_status=$?
42035 grep -v '^ *+' conftest.er1 >conftest.err
42036 rm -f conftest.er1
42037 cat conftest.err >&5
42038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42039 (exit $ac_status); } && {
42040 test -z "$ac_c_werror_flag" ||
42041 test ! -s conftest.err
42042 } && test -s conftest$ac_exeext &&
42043 $as_test_x conftest$ac_exeext; then
42044 ac_cv_func_sched_get_priority_max=yes
42045 else
42046 echo "$as_me: failed program was:" >&5
42047 sed 's/^/| /' conftest.$ac_ext >&5
42048
42049 ac_cv_func_sched_get_priority_max=no
42050 fi
42051
42052 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42053 conftest$ac_exeext conftest.$ac_ext
42054 fi
42055 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
42056 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
42057 if test $ac_cv_func_sched_get_priority_max = yes; then
42058 HAVE_PRIOR_FUNCS=1
42059 else
42060 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
42061 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
42062 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
42063 echo $ECHO_N "(cached) $ECHO_C" >&6
42064 else
42065 ac_check_lib_save_LIBS=$LIBS
42066 LIBS="-lposix4 $LIBS"
42067 cat >conftest.$ac_ext <<_ACEOF
42068 /* confdefs.h. */
42069 _ACEOF
42070 cat confdefs.h >>conftest.$ac_ext
42071 cat >>conftest.$ac_ext <<_ACEOF
42072 /* end confdefs.h. */
42073
42074 /* Override any GCC internal prototype to avoid an error.
42075 Use char because int might match the return type of a GCC
42076 builtin and then its argument prototype would still apply. */
42077 #ifdef __cplusplus
42078 extern "C"
42079 #endif
42080 char sched_get_priority_max ();
42081 int
42082 main ()
42083 {
42084 return sched_get_priority_max ();
42085 ;
42086 return 0;
42087 }
42088 _ACEOF
42089 rm -f conftest.$ac_objext conftest$ac_exeext
42090 if { (ac_try="$ac_link"
42091 case "(($ac_try" in
42092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42093 *) ac_try_echo=$ac_try;;
42094 esac
42095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42096 (eval "$ac_link") 2>conftest.er1
42097 ac_status=$?
42098 grep -v '^ *+' conftest.er1 >conftest.err
42099 rm -f conftest.er1
42100 cat conftest.err >&5
42101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42102 (exit $ac_status); } && {
42103 test -z "$ac_c_werror_flag" ||
42104 test ! -s conftest.err
42105 } && test -s conftest$ac_exeext &&
42106 $as_test_x conftest$ac_exeext; then
42107 ac_cv_lib_posix4_sched_get_priority_max=yes
42108 else
42109 echo "$as_me: failed program was:" >&5
42110 sed 's/^/| /' conftest.$ac_ext >&5
42111
42112 ac_cv_lib_posix4_sched_get_priority_max=no
42113 fi
42114
42115 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42116 conftest$ac_exeext conftest.$ac_ext
42117 LIBS=$ac_check_lib_save_LIBS
42118 fi
42119 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
42120 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
42121 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
42122
42123 HAVE_PRIOR_FUNCS=1
42124 POSIX4_LINK=" -lposix4"
42125
42126 fi
42127
42128
42129 fi
42130
42131
42132 fi
42133
42134
42135 fi
42136
42137
42138 if test "$HAVE_PRIOR_FUNCS" = 1; then
42139 cat >>confdefs.h <<\_ACEOF
42140 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
42141 _ACEOF
42142
42143 else
42144 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
42145 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
42146 fi
42147
42148 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
42149 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
42150 if test "${ac_cv_func_pthread_cancel+set}" = set; then
42151 echo $ECHO_N "(cached) $ECHO_C" >&6
42152 else
42153 cat >conftest.$ac_ext <<_ACEOF
42154 /* confdefs.h. */
42155 _ACEOF
42156 cat confdefs.h >>conftest.$ac_ext
42157 cat >>conftest.$ac_ext <<_ACEOF
42158 /* end confdefs.h. */
42159 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
42160 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42161 #define pthread_cancel innocuous_pthread_cancel
42162
42163 /* System header to define __stub macros and hopefully few prototypes,
42164 which can conflict with char pthread_cancel (); below.
42165 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42166 <limits.h> exists even on freestanding compilers. */
42167
42168 #ifdef __STDC__
42169 # include <limits.h>
42170 #else
42171 # include <assert.h>
42172 #endif
42173
42174 #undef pthread_cancel
42175
42176 /* Override any GCC internal prototype to avoid an error.
42177 Use char because int might match the return type of a GCC
42178 builtin and then its argument prototype would still apply. */
42179 #ifdef __cplusplus
42180 extern "C"
42181 #endif
42182 char pthread_cancel ();
42183 /* The GNU C library defines this for functions which it implements
42184 to always fail with ENOSYS. Some functions are actually named
42185 something starting with __ and the normal name is an alias. */
42186 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
42187 choke me
42188 #endif
42189
42190 int
42191 main ()
42192 {
42193 return pthread_cancel ();
42194 ;
42195 return 0;
42196 }
42197 _ACEOF
42198 rm -f conftest.$ac_objext conftest$ac_exeext
42199 if { (ac_try="$ac_link"
42200 case "(($ac_try" in
42201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42202 *) ac_try_echo=$ac_try;;
42203 esac
42204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42205 (eval "$ac_link") 2>conftest.er1
42206 ac_status=$?
42207 grep -v '^ *+' conftest.er1 >conftest.err
42208 rm -f conftest.er1
42209 cat conftest.err >&5
42210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42211 (exit $ac_status); } && {
42212 test -z "$ac_c_werror_flag" ||
42213 test ! -s conftest.err
42214 } && test -s conftest$ac_exeext &&
42215 $as_test_x conftest$ac_exeext; then
42216 ac_cv_func_pthread_cancel=yes
42217 else
42218 echo "$as_me: failed program was:" >&5
42219 sed 's/^/| /' conftest.$ac_ext >&5
42220
42221 ac_cv_func_pthread_cancel=no
42222 fi
42223
42224 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42225 conftest$ac_exeext conftest.$ac_ext
42226 fi
42227 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
42228 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
42229 if test $ac_cv_func_pthread_cancel = yes; then
42230 cat >>confdefs.h <<\_ACEOF
42231 #define HAVE_PTHREAD_CANCEL 1
42232 _ACEOF
42233
42234 else
42235 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
42236 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
42237 fi
42238
42239
42240 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
42241 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
42242 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
42243 echo $ECHO_N "(cached) $ECHO_C" >&6
42244 else
42245 cat >conftest.$ac_ext <<_ACEOF
42246 /* confdefs.h. */
42247 _ACEOF
42248 cat confdefs.h >>conftest.$ac_ext
42249 cat >>conftest.$ac_ext <<_ACEOF
42250 /* end confdefs.h. */
42251 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
42252 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42253 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
42254
42255 /* System header to define __stub macros and hopefully few prototypes,
42256 which can conflict with char pthread_mutex_timedlock (); below.
42257 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42258 <limits.h> exists even on freestanding compilers. */
42259
42260 #ifdef __STDC__
42261 # include <limits.h>
42262 #else
42263 # include <assert.h>
42264 #endif
42265
42266 #undef pthread_mutex_timedlock
42267
42268 /* Override any GCC internal prototype to avoid an error.
42269 Use char because int might match the return type of a GCC
42270 builtin and then its argument prototype would still apply. */
42271 #ifdef __cplusplus
42272 extern "C"
42273 #endif
42274 char pthread_mutex_timedlock ();
42275 /* The GNU C library defines this for functions which it implements
42276 to always fail with ENOSYS. Some functions are actually named
42277 something starting with __ and the normal name is an alias. */
42278 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
42279 choke me
42280 #endif
42281
42282 int
42283 main ()
42284 {
42285 return pthread_mutex_timedlock ();
42286 ;
42287 return 0;
42288 }
42289 _ACEOF
42290 rm -f conftest.$ac_objext conftest$ac_exeext
42291 if { (ac_try="$ac_link"
42292 case "(($ac_try" in
42293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42294 *) ac_try_echo=$ac_try;;
42295 esac
42296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42297 (eval "$ac_link") 2>conftest.er1
42298 ac_status=$?
42299 grep -v '^ *+' conftest.er1 >conftest.err
42300 rm -f conftest.er1
42301 cat conftest.err >&5
42302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42303 (exit $ac_status); } && {
42304 test -z "$ac_c_werror_flag" ||
42305 test ! -s conftest.err
42306 } && test -s conftest$ac_exeext &&
42307 $as_test_x conftest$ac_exeext; then
42308 ac_cv_func_pthread_mutex_timedlock=yes
42309 else
42310 echo "$as_me: failed program was:" >&5
42311 sed 's/^/| /' conftest.$ac_ext >&5
42312
42313 ac_cv_func_pthread_mutex_timedlock=no
42314 fi
42315
42316 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42317 conftest$ac_exeext conftest.$ac_ext
42318 fi
42319 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
42320 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
42321 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
42322 cat >>confdefs.h <<\_ACEOF
42323 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
42324 _ACEOF
42325
42326 else
42327 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
42328 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
42329 fi
42330
42331
42332 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
42333 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
42334 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
42335 echo $ECHO_N "(cached) $ECHO_C" >&6
42336 else
42337 cat >conftest.$ac_ext <<_ACEOF
42338 /* confdefs.h. */
42339 _ACEOF
42340 cat confdefs.h >>conftest.$ac_ext
42341 cat >>conftest.$ac_ext <<_ACEOF
42342 /* end confdefs.h. */
42343 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
42344 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42345 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
42346
42347 /* System header to define __stub macros and hopefully few prototypes,
42348 which can conflict with char pthread_attr_setstacksize (); below.
42349 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42350 <limits.h> exists even on freestanding compilers. */
42351
42352 #ifdef __STDC__
42353 # include <limits.h>
42354 #else
42355 # include <assert.h>
42356 #endif
42357
42358 #undef pthread_attr_setstacksize
42359
42360 /* Override any GCC internal prototype to avoid an error.
42361 Use char because int might match the return type of a GCC
42362 builtin and then its argument prototype would still apply. */
42363 #ifdef __cplusplus
42364 extern "C"
42365 #endif
42366 char pthread_attr_setstacksize ();
42367 /* The GNU C library defines this for functions which it implements
42368 to always fail with ENOSYS. Some functions are actually named
42369 something starting with __ and the normal name is an alias. */
42370 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
42371 choke me
42372 #endif
42373
42374 int
42375 main ()
42376 {
42377 return pthread_attr_setstacksize ();
42378 ;
42379 return 0;
42380 }
42381 _ACEOF
42382 rm -f conftest.$ac_objext conftest$ac_exeext
42383 if { (ac_try="$ac_link"
42384 case "(($ac_try" in
42385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42386 *) ac_try_echo=$ac_try;;
42387 esac
42388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42389 (eval "$ac_link") 2>conftest.er1
42390 ac_status=$?
42391 grep -v '^ *+' conftest.er1 >conftest.err
42392 rm -f conftest.er1
42393 cat conftest.err >&5
42394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42395 (exit $ac_status); } && {
42396 test -z "$ac_c_werror_flag" ||
42397 test ! -s conftest.err
42398 } && test -s conftest$ac_exeext &&
42399 $as_test_x conftest$ac_exeext; then
42400 ac_cv_func_pthread_attr_setstacksize=yes
42401 else
42402 echo "$as_me: failed program was:" >&5
42403 sed 's/^/| /' conftest.$ac_ext >&5
42404
42405 ac_cv_func_pthread_attr_setstacksize=no
42406 fi
42407
42408 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42409 conftest$ac_exeext conftest.$ac_ext
42410 fi
42411 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
42412 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
42413 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
42414 cat >>confdefs.h <<\_ACEOF
42415 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
42416 _ACEOF
42417
42418 fi
42419
42420
42421
42422 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
42423 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
42424 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
42425 echo $ECHO_N "(cached) $ECHO_C" >&6
42426 else
42427
42428 cat >conftest.$ac_ext <<_ACEOF
42429 /* confdefs.h. */
42430 _ACEOF
42431 cat confdefs.h >>conftest.$ac_ext
42432 cat >>conftest.$ac_ext <<_ACEOF
42433 /* end confdefs.h. */
42434 #include <pthread.h>
42435 int
42436 main ()
42437 {
42438
42439 pthread_mutexattr_t attr;
42440 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
42441
42442 ;
42443 return 0;
42444 }
42445 _ACEOF
42446 rm -f conftest.$ac_objext
42447 if { (ac_try="$ac_compile"
42448 case "(($ac_try" in
42449 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42450 *) ac_try_echo=$ac_try;;
42451 esac
42452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42453 (eval "$ac_compile") 2>conftest.er1
42454 ac_status=$?
42455 grep -v '^ *+' conftest.er1 >conftest.err
42456 rm -f conftest.er1
42457 cat conftest.err >&5
42458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42459 (exit $ac_status); } && {
42460 test -z "$ac_c_werror_flag" ||
42461 test ! -s conftest.err
42462 } && test -s conftest.$ac_objext; then
42463 wx_cv_type_pthread_mutexattr_t=yes
42464 else
42465 echo "$as_me: failed program was:" >&5
42466 sed 's/^/| /' conftest.$ac_ext >&5
42467
42468 wx_cv_type_pthread_mutexattr_t=no
42469
42470 fi
42471
42472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42473
42474 fi
42475 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
42476 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
42477
42478 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
42479 cat >>confdefs.h <<\_ACEOF
42480 #define HAVE_PTHREAD_MUTEXATTR_T 1
42481 _ACEOF
42482
42483
42484 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
42485 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
42486 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
42487 echo $ECHO_N "(cached) $ECHO_C" >&6
42488 else
42489
42490 cat >conftest.$ac_ext <<_ACEOF
42491 /* confdefs.h. */
42492 _ACEOF
42493 cat confdefs.h >>conftest.$ac_ext
42494 cat >>conftest.$ac_ext <<_ACEOF
42495 /* end confdefs.h. */
42496 #include <pthread.h>
42497 int
42498 main ()
42499 {
42500
42501 pthread_mutexattr_t attr;
42502 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
42503
42504 ;
42505 return 0;
42506 }
42507 _ACEOF
42508 rm -f conftest.$ac_objext
42509 if { (ac_try="$ac_compile"
42510 case "(($ac_try" in
42511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42512 *) ac_try_echo=$ac_try;;
42513 esac
42514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42515 (eval "$ac_compile") 2>conftest.er1
42516 ac_status=$?
42517 grep -v '^ *+' conftest.er1 >conftest.err
42518 rm -f conftest.er1
42519 cat conftest.err >&5
42520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42521 (exit $ac_status); } && {
42522 test -z "$ac_c_werror_flag" ||
42523 test ! -s conftest.err
42524 } && test -s conftest.$ac_objext; then
42525 wx_cv_func_pthread_mutexattr_settype_decl=yes
42526 else
42527 echo "$as_me: failed program was:" >&5
42528 sed 's/^/| /' conftest.$ac_ext >&5
42529
42530 wx_cv_func_pthread_mutexattr_settype_decl=no
42531
42532 fi
42533
42534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42535
42536 fi
42537 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
42538 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
42539 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
42540 cat >>confdefs.h <<\_ACEOF
42541 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
42542 _ACEOF
42543
42544 fi
42545 else
42546 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
42547 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
42548 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
42549 echo $ECHO_N "(cached) $ECHO_C" >&6
42550 else
42551
42552 cat >conftest.$ac_ext <<_ACEOF
42553 /* confdefs.h. */
42554 _ACEOF
42555 cat confdefs.h >>conftest.$ac_ext
42556 cat >>conftest.$ac_ext <<_ACEOF
42557 /* end confdefs.h. */
42558 #include <pthread.h>
42559 int
42560 main ()
42561 {
42562
42563 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
42564
42565 ;
42566 return 0;
42567 }
42568 _ACEOF
42569 rm -f conftest.$ac_objext
42570 if { (ac_try="$ac_compile"
42571 case "(($ac_try" in
42572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42573 *) ac_try_echo=$ac_try;;
42574 esac
42575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42576 (eval "$ac_compile") 2>conftest.er1
42577 ac_status=$?
42578 grep -v '^ *+' conftest.er1 >conftest.err
42579 rm -f conftest.er1
42580 cat conftest.err >&5
42581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42582 (exit $ac_status); } && {
42583 test -z "$ac_c_werror_flag" ||
42584 test ! -s conftest.err
42585 } && test -s conftest.$ac_objext; then
42586
42587 wx_cv_type_pthread_rec_mutex_init=yes
42588
42589 else
42590 echo "$as_me: failed program was:" >&5
42591 sed 's/^/| /' conftest.$ac_ext >&5
42592
42593
42594 wx_cv_type_pthread_rec_mutex_init=no
42595
42596
42597 fi
42598
42599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42600
42601 fi
42602 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
42603 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
42604 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
42605 cat >>confdefs.h <<\_ACEOF
42606 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
42607 _ACEOF
42608
42609 else
42610 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
42611 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
42612 fi
42613 fi
42614 fi
42615
42616 else
42617 if test "$wxUSE_THREADS" = "yes" ; then
42618 case "${host}" in
42619 *-*-mingw32* )
42620 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
42621 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
42622 if test "${wx_cv_cflags_mthread+set}" = set; then
42623 echo $ECHO_N "(cached) $ECHO_C" >&6
42624 else
42625
42626 CFLAGS_OLD="$CFLAGS"
42627 CFLAGS="-mthreads $CFLAGS"
42628 cat >conftest.$ac_ext <<_ACEOF
42629 /* confdefs.h. */
42630 _ACEOF
42631 cat confdefs.h >>conftest.$ac_ext
42632 cat >>conftest.$ac_ext <<_ACEOF
42633 /* end confdefs.h. */
42634
42635 int
42636 main ()
42637 {
42638
42639 ;
42640 return 0;
42641 }
42642 _ACEOF
42643 rm -f conftest.$ac_objext
42644 if { (ac_try="$ac_compile"
42645 case "(($ac_try" in
42646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42647 *) ac_try_echo=$ac_try;;
42648 esac
42649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42650 (eval "$ac_compile") 2>conftest.er1
42651 ac_status=$?
42652 grep -v '^ *+' conftest.er1 >conftest.err
42653 rm -f conftest.er1
42654 cat conftest.err >&5
42655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42656 (exit $ac_status); } && {
42657 test -z "$ac_c_werror_flag" ||
42658 test ! -s conftest.err
42659 } && test -s conftest.$ac_objext; then
42660 wx_cv_cflags_mthread=yes
42661 else
42662 echo "$as_me: failed program was:" >&5
42663 sed 's/^/| /' conftest.$ac_ext >&5
42664
42665 wx_cv_cflags_mthread=no
42666
42667 fi
42668
42669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42670
42671
42672 fi
42673 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
42674 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
42675
42676 if test "$wx_cv_cflags_mthread" = "yes"; then
42677 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
42678 LDFLAGS="$LDFLAGS -mthreads"
42679 else
42680 CFLAGS="$CFLAGS_OLD"
42681 fi
42682 ;;
42683 *-pc-os2*emx )
42684 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
42685 LDFLAGS="$LDFLAGS -Zmt"
42686 ;;
42687 esac
42688 fi
42689 fi
42690
42691 { echo "$as_me:$LINENO: checking for localtime_r" >&5
42692 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
42693 if test "${ac_cv_func_localtime_r+set}" = set; then
42694 echo $ECHO_N "(cached) $ECHO_C" >&6
42695 else
42696 cat >conftest.$ac_ext <<_ACEOF
42697 /* confdefs.h. */
42698 _ACEOF
42699 cat confdefs.h >>conftest.$ac_ext
42700 cat >>conftest.$ac_ext <<_ACEOF
42701 /* end confdefs.h. */
42702 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
42703 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42704 #define localtime_r innocuous_localtime_r
42705
42706 /* System header to define __stub macros and hopefully few prototypes,
42707 which can conflict with char localtime_r (); below.
42708 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42709 <limits.h> exists even on freestanding compilers. */
42710
42711 #ifdef __STDC__
42712 # include <limits.h>
42713 #else
42714 # include <assert.h>
42715 #endif
42716
42717 #undef localtime_r
42718
42719 /* Override any GCC internal prototype to avoid an error.
42720 Use char because int might match the return type of a GCC
42721 builtin and then its argument prototype would still apply. */
42722 #ifdef __cplusplus
42723 extern "C"
42724 #endif
42725 char localtime_r ();
42726 /* The GNU C library defines this for functions which it implements
42727 to always fail with ENOSYS. Some functions are actually named
42728 something starting with __ and the normal name is an alias. */
42729 #if defined __stub_localtime_r || defined __stub___localtime_r
42730 choke me
42731 #endif
42732
42733 int
42734 main ()
42735 {
42736 return localtime_r ();
42737 ;
42738 return 0;
42739 }
42740 _ACEOF
42741 rm -f conftest.$ac_objext conftest$ac_exeext
42742 if { (ac_try="$ac_link"
42743 case "(($ac_try" in
42744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42745 *) ac_try_echo=$ac_try;;
42746 esac
42747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42748 (eval "$ac_link") 2>conftest.er1
42749 ac_status=$?
42750 grep -v '^ *+' conftest.er1 >conftest.err
42751 rm -f conftest.er1
42752 cat conftest.err >&5
42753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42754 (exit $ac_status); } && {
42755 test -z "$ac_c_werror_flag" ||
42756 test ! -s conftest.err
42757 } && test -s conftest$ac_exeext &&
42758 $as_test_x conftest$ac_exeext; then
42759 ac_cv_func_localtime_r=yes
42760 else
42761 echo "$as_me: failed program was:" >&5
42762 sed 's/^/| /' conftest.$ac_ext >&5
42763
42764 ac_cv_func_localtime_r=no
42765 fi
42766
42767 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42768 conftest$ac_exeext conftest.$ac_ext
42769 fi
42770 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
42771 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
42772 if test $ac_cv_func_localtime_r = yes; then
42773 cat >>confdefs.h <<\_ACEOF
42774 #define HAVE_LOCALTIME_R 1
42775 _ACEOF
42776
42777 fi
42778
42779 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
42780 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
42781 if test "${ac_cv_func_gmtime_r+set}" = set; then
42782 echo $ECHO_N "(cached) $ECHO_C" >&6
42783 else
42784 cat >conftest.$ac_ext <<_ACEOF
42785 /* confdefs.h. */
42786 _ACEOF
42787 cat confdefs.h >>conftest.$ac_ext
42788 cat >>conftest.$ac_ext <<_ACEOF
42789 /* end confdefs.h. */
42790 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
42791 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42792 #define gmtime_r innocuous_gmtime_r
42793
42794 /* System header to define __stub macros and hopefully few prototypes,
42795 which can conflict with char gmtime_r (); below.
42796 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42797 <limits.h> exists even on freestanding compilers. */
42798
42799 #ifdef __STDC__
42800 # include <limits.h>
42801 #else
42802 # include <assert.h>
42803 #endif
42804
42805 #undef gmtime_r
42806
42807 /* Override any GCC internal prototype to avoid an error.
42808 Use char because int might match the return type of a GCC
42809 builtin and then its argument prototype would still apply. */
42810 #ifdef __cplusplus
42811 extern "C"
42812 #endif
42813 char gmtime_r ();
42814 /* The GNU C library defines this for functions which it implements
42815 to always fail with ENOSYS. Some functions are actually named
42816 something starting with __ and the normal name is an alias. */
42817 #if defined __stub_gmtime_r || defined __stub___gmtime_r
42818 choke me
42819 #endif
42820
42821 int
42822 main ()
42823 {
42824 return gmtime_r ();
42825 ;
42826 return 0;
42827 }
42828 _ACEOF
42829 rm -f conftest.$ac_objext conftest$ac_exeext
42830 if { (ac_try="$ac_link"
42831 case "(($ac_try" in
42832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42833 *) ac_try_echo=$ac_try;;
42834 esac
42835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42836 (eval "$ac_link") 2>conftest.er1
42837 ac_status=$?
42838 grep -v '^ *+' conftest.er1 >conftest.err
42839 rm -f conftest.er1
42840 cat conftest.err >&5
42841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42842 (exit $ac_status); } && {
42843 test -z "$ac_c_werror_flag" ||
42844 test ! -s conftest.err
42845 } && test -s conftest$ac_exeext &&
42846 $as_test_x conftest$ac_exeext; then
42847 ac_cv_func_gmtime_r=yes
42848 else
42849 echo "$as_me: failed program was:" >&5
42850 sed 's/^/| /' conftest.$ac_ext >&5
42851
42852 ac_cv_func_gmtime_r=no
42853 fi
42854
42855 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42856 conftest$ac_exeext conftest.$ac_ext
42857 fi
42858 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
42859 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
42860 if test $ac_cv_func_gmtime_r = yes; then
42861 cat >>confdefs.h <<\_ACEOF
42862 #define HAVE_GMTIME_R 1
42863 _ACEOF
42864
42865 fi
42866
42867
42868
42869
42870 ac_ext=c
42871 ac_cpp='$CPP $CPPFLAGS'
42872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42875
42876 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
42877 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
42878
42879 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
42880 echo $ECHO_N "(cached) $ECHO_C" >&6
42881 else
42882
42883
42884 ################################################################
42885
42886 ac_cv_func_which_gethostbyname_r=unknown
42887
42888 #
42889 # ONE ARGUMENT (sanity check)
42890 #
42891
42892 # This should fail, as there is no variant of gethostbyname_r() that takes
42893 # a single argument. If it actually compiles, then we can assume that
42894 # netdb.h is not declaring the function, and the compiler is thereby
42895 # assuming an implicit prototype. In which case, we're out of luck.
42896 #
42897 cat >conftest.$ac_ext <<_ACEOF
42898 /* confdefs.h. */
42899 _ACEOF
42900 cat confdefs.h >>conftest.$ac_ext
42901 cat >>conftest.$ac_ext <<_ACEOF
42902 /* end confdefs.h. */
42903 #include <netdb.h>
42904 int
42905 main ()
42906 {
42907
42908 char *name = "www.gnu.org";
42909 (void)gethostbyname_r(name) /* ; */
42910
42911 ;
42912 return 0;
42913 }
42914 _ACEOF
42915 rm -f conftest.$ac_objext
42916 if { (ac_try="$ac_compile"
42917 case "(($ac_try" in
42918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42919 *) ac_try_echo=$ac_try;;
42920 esac
42921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42922 (eval "$ac_compile") 2>conftest.er1
42923 ac_status=$?
42924 grep -v '^ *+' conftest.er1 >conftest.err
42925 rm -f conftest.er1
42926 cat conftest.err >&5
42927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42928 (exit $ac_status); } && {
42929 test -z "$ac_c_werror_flag" ||
42930 test ! -s conftest.err
42931 } && test -s conftest.$ac_objext; then
42932 ac_cv_func_which_gethostbyname_r=no
42933 else
42934 echo "$as_me: failed program was:" >&5
42935 sed 's/^/| /' conftest.$ac_ext >&5
42936
42937
42938 fi
42939
42940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42941
42942 #
42943 # SIX ARGUMENTS
42944 # (e.g. Linux)
42945 #
42946
42947 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42948
42949 cat >conftest.$ac_ext <<_ACEOF
42950 /* confdefs.h. */
42951 _ACEOF
42952 cat confdefs.h >>conftest.$ac_ext
42953 cat >>conftest.$ac_ext <<_ACEOF
42954 /* end confdefs.h. */
42955 #include <netdb.h>
42956 int
42957 main ()
42958 {
42959
42960 char *name = "www.gnu.org";
42961 struct hostent ret, *retp;
42962 char buf[1024];
42963 int buflen = 1024;
42964 int my_h_errno;
42965 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
42966
42967 ;
42968 return 0;
42969 }
42970 _ACEOF
42971 rm -f conftest.$ac_objext
42972 if { (ac_try="$ac_compile"
42973 case "(($ac_try" in
42974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42975 *) ac_try_echo=$ac_try;;
42976 esac
42977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42978 (eval "$ac_compile") 2>conftest.er1
42979 ac_status=$?
42980 grep -v '^ *+' conftest.er1 >conftest.err
42981 rm -f conftest.er1
42982 cat conftest.err >&5
42983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42984 (exit $ac_status); } && {
42985 test -z "$ac_c_werror_flag" ||
42986 test ! -s conftest.err
42987 } && test -s conftest.$ac_objext; then
42988 ac_cv_func_which_gethostbyname_r=six
42989 else
42990 echo "$as_me: failed program was:" >&5
42991 sed 's/^/| /' conftest.$ac_ext >&5
42992
42993
42994 fi
42995
42996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42997
42998 fi
42999
43000 #
43001 # FIVE ARGUMENTS
43002 # (e.g. Solaris)
43003 #
43004
43005 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
43006
43007 cat >conftest.$ac_ext <<_ACEOF
43008 /* confdefs.h. */
43009 _ACEOF
43010 cat confdefs.h >>conftest.$ac_ext
43011 cat >>conftest.$ac_ext <<_ACEOF
43012 /* end confdefs.h. */
43013 #include <netdb.h>
43014 int
43015 main ()
43016 {
43017
43018 char *name = "www.gnu.org";
43019 struct hostent ret;
43020 char buf[1024];
43021 int buflen = 1024;
43022 int my_h_errno;
43023 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
43024
43025 ;
43026 return 0;
43027 }
43028 _ACEOF
43029 rm -f conftest.$ac_objext
43030 if { (ac_try="$ac_compile"
43031 case "(($ac_try" in
43032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43033 *) ac_try_echo=$ac_try;;
43034 esac
43035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43036 (eval "$ac_compile") 2>conftest.er1
43037 ac_status=$?
43038 grep -v '^ *+' conftest.er1 >conftest.err
43039 rm -f conftest.er1
43040 cat conftest.err >&5
43041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43042 (exit $ac_status); } && {
43043 test -z "$ac_c_werror_flag" ||
43044 test ! -s conftest.err
43045 } && test -s conftest.$ac_objext; then
43046 ac_cv_func_which_gethostbyname_r=five
43047 else
43048 echo "$as_me: failed program was:" >&5
43049 sed 's/^/| /' conftest.$ac_ext >&5
43050
43051
43052 fi
43053
43054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43055
43056 fi
43057
43058 #
43059 # THREE ARGUMENTS
43060 # (e.g. AIX, HP-UX, Tru64)
43061 #
43062
43063 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
43064
43065 cat >conftest.$ac_ext <<_ACEOF
43066 /* confdefs.h. */
43067 _ACEOF
43068 cat confdefs.h >>conftest.$ac_ext
43069 cat >>conftest.$ac_ext <<_ACEOF
43070 /* end confdefs.h. */
43071 #include <netdb.h>
43072 int
43073 main ()
43074 {
43075
43076 char *name = "www.gnu.org";
43077 struct hostent ret;
43078 struct hostent_data data;
43079 (void)gethostbyname_r(name, &ret, &data) /* ; */
43080
43081 ;
43082 return 0;
43083 }
43084 _ACEOF
43085 rm -f conftest.$ac_objext
43086 if { (ac_try="$ac_compile"
43087 case "(($ac_try" in
43088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43089 *) ac_try_echo=$ac_try;;
43090 esac
43091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43092 (eval "$ac_compile") 2>conftest.er1
43093 ac_status=$?
43094 grep -v '^ *+' conftest.er1 >conftest.err
43095 rm -f conftest.er1
43096 cat conftest.err >&5
43097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43098 (exit $ac_status); } && {
43099 test -z "$ac_c_werror_flag" ||
43100 test ! -s conftest.err
43101 } && test -s conftest.$ac_objext; then
43102 ac_cv_func_which_gethostbyname_r=three
43103 else
43104 echo "$as_me: failed program was:" >&5
43105 sed 's/^/| /' conftest.$ac_ext >&5
43106
43107
43108 fi
43109
43110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43111
43112 fi
43113
43114 ################################################################
43115
43116
43117 fi
43118
43119 case "$ac_cv_func_which_gethostbyname_r" in
43120 three)
43121 { echo "$as_me:$LINENO: result: three" >&5
43122 echo "${ECHO_T}three" >&6; }
43123 cat >>confdefs.h <<\_ACEOF
43124 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
43125 _ACEOF
43126
43127 ;;
43128
43129 five)
43130 { echo "$as_me:$LINENO: result: five" >&5
43131 echo "${ECHO_T}five" >&6; }
43132 cat >>confdefs.h <<\_ACEOF
43133 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
43134 _ACEOF
43135
43136 ;;
43137
43138 six)
43139 { echo "$as_me:$LINENO: result: six" >&5
43140 echo "${ECHO_T}six" >&6; }
43141 cat >>confdefs.h <<\_ACEOF
43142 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
43143 _ACEOF
43144
43145 ;;
43146
43147 no)
43148 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
43149 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
43150 ;;
43151
43152 unknown)
43153 { echo "$as_me:$LINENO: result: can't tell" >&5
43154 echo "${ECHO_T}can't tell" >&6; }
43155 ;;
43156
43157 *)
43158 { { echo "$as_me:$LINENO: error: internal error" >&5
43159 echo "$as_me: error: internal error" >&2;}
43160 { (exit 1); exit 1; }; }
43161 ;;
43162 esac
43163
43164 ac_ext=c
43165 ac_cpp='$CPP $CPPFLAGS'
43166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43169
43170
43171
43172 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
43173 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
43174 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
43175 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
43176 if test "${ac_cv_func_gethostbyname+set}" = set; then
43177 echo $ECHO_N "(cached) $ECHO_C" >&6
43178 else
43179 cat >conftest.$ac_ext <<_ACEOF
43180 /* confdefs.h. */
43181 _ACEOF
43182 cat confdefs.h >>conftest.$ac_ext
43183 cat >>conftest.$ac_ext <<_ACEOF
43184 /* end confdefs.h. */
43185 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
43186 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43187 #define gethostbyname innocuous_gethostbyname
43188
43189 /* System header to define __stub macros and hopefully few prototypes,
43190 which can conflict with char gethostbyname (); below.
43191 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43192 <limits.h> exists even on freestanding compilers. */
43193
43194 #ifdef __STDC__
43195 # include <limits.h>
43196 #else
43197 # include <assert.h>
43198 #endif
43199
43200 #undef gethostbyname
43201
43202 /* Override any GCC internal prototype to avoid an error.
43203 Use char because int might match the return type of a GCC
43204 builtin and then its argument prototype would still apply. */
43205 #ifdef __cplusplus
43206 extern "C"
43207 #endif
43208 char gethostbyname ();
43209 /* The GNU C library defines this for functions which it implements
43210 to always fail with ENOSYS. Some functions are actually named
43211 something starting with __ and the normal name is an alias. */
43212 #if defined __stub_gethostbyname || defined __stub___gethostbyname
43213 choke me
43214 #endif
43215
43216 int
43217 main ()
43218 {
43219 return gethostbyname ();
43220 ;
43221 return 0;
43222 }
43223 _ACEOF
43224 rm -f conftest.$ac_objext conftest$ac_exeext
43225 if { (ac_try="$ac_link"
43226 case "(($ac_try" in
43227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43228 *) ac_try_echo=$ac_try;;
43229 esac
43230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43231 (eval "$ac_link") 2>conftest.er1
43232 ac_status=$?
43233 grep -v '^ *+' conftest.er1 >conftest.err
43234 rm -f conftest.er1
43235 cat conftest.err >&5
43236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43237 (exit $ac_status); } && {
43238 test -z "$ac_c_werror_flag" ||
43239 test ! -s conftest.err
43240 } && test -s conftest$ac_exeext &&
43241 $as_test_x conftest$ac_exeext; then
43242 ac_cv_func_gethostbyname=yes
43243 else
43244 echo "$as_me: failed program was:" >&5
43245 sed 's/^/| /' conftest.$ac_ext >&5
43246
43247 ac_cv_func_gethostbyname=no
43248 fi
43249
43250 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43251 conftest$ac_exeext conftest.$ac_ext
43252 fi
43253 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
43254 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
43255 if test $ac_cv_func_gethostbyname = yes; then
43256 cat >>confdefs.h <<\_ACEOF
43257 #define HAVE_GETHOSTBYNAME 1
43258 _ACEOF
43259
43260 fi
43261
43262 fi
43263
43264 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
43265 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
43266 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
43267 echo $ECHO_N "(cached) $ECHO_C" >&6
43268 else
43269
43270 ac_ext=cpp
43271 ac_cpp='$CXXCPP $CPPFLAGS'
43272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43275
43276
43277 cat >conftest.$ac_ext <<_ACEOF
43278 /* confdefs.h. */
43279 _ACEOF
43280 cat confdefs.h >>conftest.$ac_ext
43281 cat >>conftest.$ac_ext <<_ACEOF
43282 /* end confdefs.h. */
43283 #include <netdb.h>
43284 int
43285 main ()
43286 {
43287
43288 char *name;
43289 char *proto;
43290 struct servent *se, *res;
43291 char buffer[2048];
43292 int buflen = 2048;
43293 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
43294
43295 ;
43296 return 0;
43297 }
43298 _ACEOF
43299 rm -f conftest.$ac_objext
43300 if { (ac_try="$ac_compile"
43301 case "(($ac_try" in
43302 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43303 *) ac_try_echo=$ac_try;;
43304 esac
43305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43306 (eval "$ac_compile") 2>conftest.er1
43307 ac_status=$?
43308 grep -v '^ *+' conftest.er1 >conftest.err
43309 rm -f conftest.er1
43310 cat conftest.err >&5
43311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43312 (exit $ac_status); } && {
43313 test -z "$ac_cxx_werror_flag" ||
43314 test ! -s conftest.err
43315 } && test -s conftest.$ac_objext; then
43316 ac_cv_func_which_getservbyname_r=six
43317 else
43318 echo "$as_me: failed program was:" >&5
43319 sed 's/^/| /' conftest.$ac_ext >&5
43320
43321
43322 cat >conftest.$ac_ext <<_ACEOF
43323 /* confdefs.h. */
43324 _ACEOF
43325 cat confdefs.h >>conftest.$ac_ext
43326 cat >>conftest.$ac_ext <<_ACEOF
43327 /* end confdefs.h. */
43328 #include <netdb.h>
43329 int
43330 main ()
43331 {
43332
43333 char *name;
43334 char *proto;
43335 struct servent *se;
43336 char buffer[2048];
43337 int buflen = 2048;
43338 (void) getservbyname_r(name, proto, se, buffer, buflen)
43339
43340 ;
43341 return 0;
43342 }
43343 _ACEOF
43344 rm -f conftest.$ac_objext
43345 if { (ac_try="$ac_compile"
43346 case "(($ac_try" in
43347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43348 *) ac_try_echo=$ac_try;;
43349 esac
43350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43351 (eval "$ac_compile") 2>conftest.er1
43352 ac_status=$?
43353 grep -v '^ *+' conftest.er1 >conftest.err
43354 rm -f conftest.er1
43355 cat conftest.err >&5
43356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43357 (exit $ac_status); } && {
43358 test -z "$ac_cxx_werror_flag" ||
43359 test ! -s conftest.err
43360 } && test -s conftest.$ac_objext; then
43361 ac_cv_func_which_getservbyname_r=five
43362 else
43363 echo "$as_me: failed program was:" >&5
43364 sed 's/^/| /' conftest.$ac_ext >&5
43365
43366
43367 cat >conftest.$ac_ext <<_ACEOF
43368 /* confdefs.h. */
43369 _ACEOF
43370 cat confdefs.h >>conftest.$ac_ext
43371 cat >>conftest.$ac_ext <<_ACEOF
43372 /* end confdefs.h. */
43373 #include <netdb.h>
43374 int
43375 main ()
43376 {
43377
43378 char *name;
43379 char *proto;
43380 struct servent *se;
43381 struct servent_data data;
43382 (void) getservbyname_r(name, proto, se, &data);
43383
43384 ;
43385 return 0;
43386 }
43387 _ACEOF
43388 rm -f conftest.$ac_objext
43389 if { (ac_try="$ac_compile"
43390 case "(($ac_try" in
43391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43392 *) ac_try_echo=$ac_try;;
43393 esac
43394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43395 (eval "$ac_compile") 2>conftest.er1
43396 ac_status=$?
43397 grep -v '^ *+' conftest.er1 >conftest.err
43398 rm -f conftest.er1
43399 cat conftest.err >&5
43400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43401 (exit $ac_status); } && {
43402 test -z "$ac_cxx_werror_flag" ||
43403 test ! -s conftest.err
43404 } && test -s conftest.$ac_objext; then
43405 ac_cv_func_which_getservbyname_r=four
43406 else
43407 echo "$as_me: failed program was:" >&5
43408 sed 's/^/| /' conftest.$ac_ext >&5
43409
43410 ac_cv_func_which_getservbyname_r=no
43411
43412 fi
43413
43414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43415
43416
43417 fi
43418
43419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43420
43421
43422 fi
43423
43424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43425 ac_ext=c
43426 ac_cpp='$CPP $CPPFLAGS'
43427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43430
43431
43432
43433 fi
43434 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
43435 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
43436
43437 if test $ac_cv_func_which_getservbyname_r = six; then
43438 cat >>confdefs.h <<\_ACEOF
43439 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
43440 _ACEOF
43441
43442 elif test $ac_cv_func_which_getservbyname_r = five; then
43443 cat >>confdefs.h <<\_ACEOF
43444 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
43445 _ACEOF
43446
43447 elif test $ac_cv_func_which_getservbyname_r = four; then
43448 cat >>confdefs.h <<\_ACEOF
43449 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
43450 _ACEOF
43451
43452 fi
43453
43454
43455 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
43456 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
43457
43458 for ac_func in getservbyname
43459 do
43460 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43461 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43462 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43463 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43464 echo $ECHO_N "(cached) $ECHO_C" >&6
43465 else
43466 cat >conftest.$ac_ext <<_ACEOF
43467 /* confdefs.h. */
43468 _ACEOF
43469 cat confdefs.h >>conftest.$ac_ext
43470 cat >>conftest.$ac_ext <<_ACEOF
43471 /* end confdefs.h. */
43472 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43473 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43474 #define $ac_func innocuous_$ac_func
43475
43476 /* System header to define __stub macros and hopefully few prototypes,
43477 which can conflict with char $ac_func (); below.
43478 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43479 <limits.h> exists even on freestanding compilers. */
43480
43481 #ifdef __STDC__
43482 # include <limits.h>
43483 #else
43484 # include <assert.h>
43485 #endif
43486
43487 #undef $ac_func
43488
43489 /* Override any GCC internal prototype to avoid an error.
43490 Use char because int might match the return type of a GCC
43491 builtin and then its argument prototype would still apply. */
43492 #ifdef __cplusplus
43493 extern "C"
43494 #endif
43495 char $ac_func ();
43496 /* The GNU C library defines this for functions which it implements
43497 to always fail with ENOSYS. Some functions are actually named
43498 something starting with __ and the normal name is an alias. */
43499 #if defined __stub_$ac_func || defined __stub___$ac_func
43500 choke me
43501 #endif
43502
43503 int
43504 main ()
43505 {
43506 return $ac_func ();
43507 ;
43508 return 0;
43509 }
43510 _ACEOF
43511 rm -f conftest.$ac_objext conftest$ac_exeext
43512 if { (ac_try="$ac_link"
43513 case "(($ac_try" in
43514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43515 *) ac_try_echo=$ac_try;;
43516 esac
43517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43518 (eval "$ac_link") 2>conftest.er1
43519 ac_status=$?
43520 grep -v '^ *+' conftest.er1 >conftest.err
43521 rm -f conftest.er1
43522 cat conftest.err >&5
43523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43524 (exit $ac_status); } && {
43525 test -z "$ac_c_werror_flag" ||
43526 test ! -s conftest.err
43527 } && test -s conftest$ac_exeext &&
43528 $as_test_x conftest$ac_exeext; then
43529 eval "$as_ac_var=yes"
43530 else
43531 echo "$as_me: failed program was:" >&5
43532 sed 's/^/| /' conftest.$ac_ext >&5
43533
43534 eval "$as_ac_var=no"
43535 fi
43536
43537 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43538 conftest$ac_exeext conftest.$ac_ext
43539 fi
43540 ac_res=`eval echo '${'$as_ac_var'}'`
43541 { echo "$as_me:$LINENO: result: $ac_res" >&5
43542 echo "${ECHO_T}$ac_res" >&6; }
43543 if test `eval echo '${'$as_ac_var'}'` = yes; then
43544 cat >>confdefs.h <<_ACEOF
43545 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43546 _ACEOF
43547 cat >>confdefs.h <<\_ACEOF
43548 #define HAVE_GETSERVBYNAME 1
43549 _ACEOF
43550
43551 fi
43552 done
43553
43554 fi
43555
43556 if test "$wxUSE_THREADS" = "yes"; then
43557 cat >>confdefs.h <<\_ACEOF
43558 #define wxUSE_THREADS 1
43559 _ACEOF
43560
43561
43562 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
43563 else
43564 if test "$wx_cv_func_strtok_r" = "yes"; then
43565 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
43566 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
43567 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
43568 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
43569 { echo "$as_me:$LINENO: result: yes" >&5
43570 echo "${ECHO_T}yes" >&6; }
43571 else
43572 { echo "$as_me:$LINENO: result: no" >&5
43573 echo "${ECHO_T}no" >&6; }
43574 fi
43575 fi
43576 fi
43577
43578 if test "$WXGTK2" = 1 ; then
43579 cat >>confdefs.h <<_ACEOF
43580 #define __WXGTK20__ $WXGTK2
43581 _ACEOF
43582
43583 WXGTK12=1
43584 fi
43585
43586 if test "$WXGTK12" = 1 ; then
43587 cat >>confdefs.h <<_ACEOF
43588 #define __WXGTK12__ $WXGTK12
43589 _ACEOF
43590
43591 fi
43592
43593 if test "$WXGTK127" = 1 ; then
43594 cat >>confdefs.h <<_ACEOF
43595 #define __WXGTK127__ $WXGTK127
43596 _ACEOF
43597
43598 fi
43599
43600 if test "$WXGPE" = 1 ; then
43601 cat >>confdefs.h <<_ACEOF
43602 #define __WXGPE__ $WXGPE
43603 _ACEOF
43604
43605 fi
43606
43607 DEBUG_CFLAGS=
43608 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
43609 DEBUG_CFLAGS="-g"
43610 wxUSE_OPTIMISE=no
43611 fi
43612
43613 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
43614 wxUSE_DEBUG_INFO=yes
43615 if test "$GCC" = yes; then
43616 DEBUG_CFLAGS="-ggdb"
43617 fi
43618 fi
43619
43620 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
43621 cat >>confdefs.h <<\_ACEOF
43622 #define WXDEBUG 1
43623 _ACEOF
43624
43625 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
43626 else
43627 if test "$wxUSE_GTK" = 1 ; then
43628 if test "x$wxGTK_VERSION" = "x1" ; then
43629 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
43630 fi
43631 fi
43632 fi
43633
43634 if test "$wxUSE_MEM_TRACING" = "yes" ; then
43635 cat >>confdefs.h <<\_ACEOF
43636 #define wxUSE_MEMORY_TRACING 1
43637 _ACEOF
43638
43639 cat >>confdefs.h <<\_ACEOF
43640 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
43641 _ACEOF
43642
43643 cat >>confdefs.h <<\_ACEOF
43644 #define wxUSE_DEBUG_NEW_ALWAYS 1
43645 _ACEOF
43646
43647 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
43648 fi
43649
43650 if test "$wxUSE_DMALLOC" = "yes" ; then
43651 DMALLOC_LIBS="-ldmallocthcxx"
43652 fi
43653
43654 PROFILE_FLAGS=
43655 if test "$wxUSE_PROFILE" = "yes" ; then
43656 PROFILE_FLAGS=" -pg"
43657 fi
43658
43659 if test "$GCC" = "yes" ; then
43660 if test "$wxUSE_NO_RTTI" = "yes" ; then
43661 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
43662 fi
43663 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
43664 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
43665 fi
43666 if test "$wxUSE_PERMISSIVE" = "yes" ; then
43667 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
43668 fi
43669
43670 case "${host}" in
43671 powerpc*-*-aix* )
43672 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
43673 ;;
43674 *-hppa* )
43675 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
43676 ;;
43677 esac
43678 fi
43679
43680 OPTIMISE_CFLAGS=
43681 if test "$wxUSE_OPTIMISE" = "no" ; then
43682 if test "$GCC" = yes ; then
43683 OPTIMISE_CFLAGS="-O0"
43684 fi
43685 else
43686 if test "$GCC" = yes ; then
43687 case "${host}" in
43688 *-pc-os2_emx | *-pc-os2-emx )
43689 OPTIMISE_CFLAGS="-O2"
43690 ;;
43691 *)
43692 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
43693 ;;
43694 esac
43695 else
43696 OPTIMISE_CFLAGS="-O"
43697 fi
43698 fi
43699
43700
43701 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
43702 cat >>confdefs.h <<\_ACEOF
43703 #define WXWIN_COMPATIBILITY_2_6 1
43704 _ACEOF
43705
43706
43707 WXWIN_COMPATIBILITY_2_8="yes"
43708 fi
43709
43710 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
43711 cat >>confdefs.h <<\_ACEOF
43712 #define WXWIN_COMPATIBILITY_2_8 1
43713 _ACEOF
43714
43715 fi
43716
43717
43718 if test "$wxUSE_GUI" = "yes"; then
43719 cat >>confdefs.h <<\_ACEOF
43720 #define wxUSE_GUI 1
43721 _ACEOF
43722
43723
43724 fi
43725
43726
43727 if test "$wxUSE_UNIX" = "yes"; then
43728 cat >>confdefs.h <<\_ACEOF
43729 #define wxUSE_UNIX 1
43730 _ACEOF
43731
43732 fi
43733
43734
43735 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
43736
43737 HAVE_DL_FUNCS=0
43738 HAVE_SHL_FUNCS=0
43739 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
43740 if test "$USE_DARWIN" = 1; then
43741 HAVE_DL_FUNCS=1
43742 elif test "$USE_DOS" = 1; then
43743 HAVE_DL_FUNCS=0
43744 else
43745
43746 for ac_func in dlopen
43747 do
43748 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43749 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43750 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43751 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43752 echo $ECHO_N "(cached) $ECHO_C" >&6
43753 else
43754 cat >conftest.$ac_ext <<_ACEOF
43755 /* confdefs.h. */
43756 _ACEOF
43757 cat confdefs.h >>conftest.$ac_ext
43758 cat >>conftest.$ac_ext <<_ACEOF
43759 /* end confdefs.h. */
43760 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43761 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43762 #define $ac_func innocuous_$ac_func
43763
43764 /* System header to define __stub macros and hopefully few prototypes,
43765 which can conflict with char $ac_func (); below.
43766 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43767 <limits.h> exists even on freestanding compilers. */
43768
43769 #ifdef __STDC__
43770 # include <limits.h>
43771 #else
43772 # include <assert.h>
43773 #endif
43774
43775 #undef $ac_func
43776
43777 /* Override any GCC internal prototype to avoid an error.
43778 Use char because int might match the return type of a GCC
43779 builtin and then its argument prototype would still apply. */
43780 #ifdef __cplusplus
43781 extern "C"
43782 #endif
43783 char $ac_func ();
43784 /* The GNU C library defines this for functions which it implements
43785 to always fail with ENOSYS. Some functions are actually named
43786 something starting with __ and the normal name is an alias. */
43787 #if defined __stub_$ac_func || defined __stub___$ac_func
43788 choke me
43789 #endif
43790
43791 int
43792 main ()
43793 {
43794 return $ac_func ();
43795 ;
43796 return 0;
43797 }
43798 _ACEOF
43799 rm -f conftest.$ac_objext conftest$ac_exeext
43800 if { (ac_try="$ac_link"
43801 case "(($ac_try" in
43802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43803 *) ac_try_echo=$ac_try;;
43804 esac
43805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43806 (eval "$ac_link") 2>conftest.er1
43807 ac_status=$?
43808 grep -v '^ *+' conftest.er1 >conftest.err
43809 rm -f conftest.er1
43810 cat conftest.err >&5
43811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43812 (exit $ac_status); } && {
43813 test -z "$ac_c_werror_flag" ||
43814 test ! -s conftest.err
43815 } && test -s conftest$ac_exeext &&
43816 $as_test_x conftest$ac_exeext; then
43817 eval "$as_ac_var=yes"
43818 else
43819 echo "$as_me: failed program was:" >&5
43820 sed 's/^/| /' conftest.$ac_ext >&5
43821
43822 eval "$as_ac_var=no"
43823 fi
43824
43825 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43826 conftest$ac_exeext conftest.$ac_ext
43827 fi
43828 ac_res=`eval echo '${'$as_ac_var'}'`
43829 { echo "$as_me:$LINENO: result: $ac_res" >&5
43830 echo "${ECHO_T}$ac_res" >&6; }
43831 if test `eval echo '${'$as_ac_var'}'` = yes; then
43832 cat >>confdefs.h <<_ACEOF
43833 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43834 _ACEOF
43835
43836 cat >>confdefs.h <<\_ACEOF
43837 #define HAVE_DLOPEN 1
43838 _ACEOF
43839
43840 HAVE_DL_FUNCS=1
43841
43842 else
43843
43844 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
43845 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
43846 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
43847 echo $ECHO_N "(cached) $ECHO_C" >&6
43848 else
43849 ac_check_lib_save_LIBS=$LIBS
43850 LIBS="-ldl $LIBS"
43851 cat >conftest.$ac_ext <<_ACEOF
43852 /* confdefs.h. */
43853 _ACEOF
43854 cat confdefs.h >>conftest.$ac_ext
43855 cat >>conftest.$ac_ext <<_ACEOF
43856 /* end confdefs.h. */
43857
43858 /* Override any GCC internal prototype to avoid an error.
43859 Use char because int might match the return type of a GCC
43860 builtin and then its argument prototype would still apply. */
43861 #ifdef __cplusplus
43862 extern "C"
43863 #endif
43864 char dlopen ();
43865 int
43866 main ()
43867 {
43868 return dlopen ();
43869 ;
43870 return 0;
43871 }
43872 _ACEOF
43873 rm -f conftest.$ac_objext conftest$ac_exeext
43874 if { (ac_try="$ac_link"
43875 case "(($ac_try" in
43876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43877 *) ac_try_echo=$ac_try;;
43878 esac
43879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43880 (eval "$ac_link") 2>conftest.er1
43881 ac_status=$?
43882 grep -v '^ *+' conftest.er1 >conftest.err
43883 rm -f conftest.er1
43884 cat conftest.err >&5
43885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43886 (exit $ac_status); } && {
43887 test -z "$ac_c_werror_flag" ||
43888 test ! -s conftest.err
43889 } && test -s conftest$ac_exeext &&
43890 $as_test_x conftest$ac_exeext; then
43891 ac_cv_lib_dl_dlopen=yes
43892 else
43893 echo "$as_me: failed program was:" >&5
43894 sed 's/^/| /' conftest.$ac_ext >&5
43895
43896 ac_cv_lib_dl_dlopen=no
43897 fi
43898
43899 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43900 conftest$ac_exeext conftest.$ac_ext
43901 LIBS=$ac_check_lib_save_LIBS
43902 fi
43903 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
43904 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
43905 if test $ac_cv_lib_dl_dlopen = yes; then
43906
43907 cat >>confdefs.h <<\_ACEOF
43908 #define HAVE_DLOPEN 1
43909 _ACEOF
43910
43911 HAVE_DL_FUNCS=1
43912 DL_LINK=" -ldl$DL_LINK"
43913
43914 else
43915
43916
43917 for ac_func in shl_load
43918 do
43919 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43920 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43921 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43922 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43923 echo $ECHO_N "(cached) $ECHO_C" >&6
43924 else
43925 cat >conftest.$ac_ext <<_ACEOF
43926 /* confdefs.h. */
43927 _ACEOF
43928 cat confdefs.h >>conftest.$ac_ext
43929 cat >>conftest.$ac_ext <<_ACEOF
43930 /* end confdefs.h. */
43931 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43932 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43933 #define $ac_func innocuous_$ac_func
43934
43935 /* System header to define __stub macros and hopefully few prototypes,
43936 which can conflict with char $ac_func (); below.
43937 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43938 <limits.h> exists even on freestanding compilers. */
43939
43940 #ifdef __STDC__
43941 # include <limits.h>
43942 #else
43943 # include <assert.h>
43944 #endif
43945
43946 #undef $ac_func
43947
43948 /* Override any GCC internal prototype to avoid an error.
43949 Use char because int might match the return type of a GCC
43950 builtin and then its argument prototype would still apply. */
43951 #ifdef __cplusplus
43952 extern "C"
43953 #endif
43954 char $ac_func ();
43955 /* The GNU C library defines this for functions which it implements
43956 to always fail with ENOSYS. Some functions are actually named
43957 something starting with __ and the normal name is an alias. */
43958 #if defined __stub_$ac_func || defined __stub___$ac_func
43959 choke me
43960 #endif
43961
43962 int
43963 main ()
43964 {
43965 return $ac_func ();
43966 ;
43967 return 0;
43968 }
43969 _ACEOF
43970 rm -f conftest.$ac_objext conftest$ac_exeext
43971 if { (ac_try="$ac_link"
43972 case "(($ac_try" in
43973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43974 *) ac_try_echo=$ac_try;;
43975 esac
43976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43977 (eval "$ac_link") 2>conftest.er1
43978 ac_status=$?
43979 grep -v '^ *+' conftest.er1 >conftest.err
43980 rm -f conftest.er1
43981 cat conftest.err >&5
43982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43983 (exit $ac_status); } && {
43984 test -z "$ac_c_werror_flag" ||
43985 test ! -s conftest.err
43986 } && test -s conftest$ac_exeext &&
43987 $as_test_x conftest$ac_exeext; then
43988 eval "$as_ac_var=yes"
43989 else
43990 echo "$as_me: failed program was:" >&5
43991 sed 's/^/| /' conftest.$ac_ext >&5
43992
43993 eval "$as_ac_var=no"
43994 fi
43995
43996 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43997 conftest$ac_exeext conftest.$ac_ext
43998 fi
43999 ac_res=`eval echo '${'$as_ac_var'}'`
44000 { echo "$as_me:$LINENO: result: $ac_res" >&5
44001 echo "${ECHO_T}$ac_res" >&6; }
44002 if test `eval echo '${'$as_ac_var'}'` = yes; then
44003 cat >>confdefs.h <<_ACEOF
44004 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44005 _ACEOF
44006
44007 cat >>confdefs.h <<\_ACEOF
44008 #define HAVE_SHL_LOAD 1
44009 _ACEOF
44010
44011 HAVE_SHL_FUNCS=1
44012
44013 else
44014
44015 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
44016 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
44017 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
44018 echo $ECHO_N "(cached) $ECHO_C" >&6
44019 else
44020 ac_check_lib_save_LIBS=$LIBS
44021 LIBS="-lshl_load $LIBS"
44022 cat >conftest.$ac_ext <<_ACEOF
44023 /* confdefs.h. */
44024 _ACEOF
44025 cat confdefs.h >>conftest.$ac_ext
44026 cat >>conftest.$ac_ext <<_ACEOF
44027 /* end confdefs.h. */
44028
44029 /* Override any GCC internal prototype to avoid an error.
44030 Use char because int might match the return type of a GCC
44031 builtin and then its argument prototype would still apply. */
44032 #ifdef __cplusplus
44033 extern "C"
44034 #endif
44035 char dld ();
44036 int
44037 main ()
44038 {
44039 return dld ();
44040 ;
44041 return 0;
44042 }
44043 _ACEOF
44044 rm -f conftest.$ac_objext conftest$ac_exeext
44045 if { (ac_try="$ac_link"
44046 case "(($ac_try" in
44047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44048 *) ac_try_echo=$ac_try;;
44049 esac
44050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44051 (eval "$ac_link") 2>conftest.er1
44052 ac_status=$?
44053 grep -v '^ *+' conftest.er1 >conftest.err
44054 rm -f conftest.er1
44055 cat conftest.err >&5
44056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44057 (exit $ac_status); } && {
44058 test -z "$ac_c_werror_flag" ||
44059 test ! -s conftest.err
44060 } && test -s conftest$ac_exeext &&
44061 $as_test_x conftest$ac_exeext; then
44062 ac_cv_lib_shl_load_dld=yes
44063 else
44064 echo "$as_me: failed program was:" >&5
44065 sed 's/^/| /' conftest.$ac_ext >&5
44066
44067 ac_cv_lib_shl_load_dld=no
44068 fi
44069
44070 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44071 conftest$ac_exeext conftest.$ac_ext
44072 LIBS=$ac_check_lib_save_LIBS
44073 fi
44074 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
44075 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
44076 if test $ac_cv_lib_shl_load_dld = yes; then
44077
44078 HAVE_SHL_FUNCS=1
44079 DL_LINK=" -ldld$DL_LINK"
44080
44081 fi
44082
44083
44084 fi
44085 done
44086
44087
44088 fi
44089
44090
44091 fi
44092 done
44093
44094
44095 if test "$HAVE_DL_FUNCS" = 1; then
44096
44097 for ac_func in dlerror
44098 do
44099 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44100 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44101 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44102 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44103 echo $ECHO_N "(cached) $ECHO_C" >&6
44104 else
44105 cat >conftest.$ac_ext <<_ACEOF
44106 /* confdefs.h. */
44107 _ACEOF
44108 cat confdefs.h >>conftest.$ac_ext
44109 cat >>conftest.$ac_ext <<_ACEOF
44110 /* end confdefs.h. */
44111 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44112 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44113 #define $ac_func innocuous_$ac_func
44114
44115 /* System header to define __stub macros and hopefully few prototypes,
44116 which can conflict with char $ac_func (); below.
44117 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44118 <limits.h> exists even on freestanding compilers. */
44119
44120 #ifdef __STDC__
44121 # include <limits.h>
44122 #else
44123 # include <assert.h>
44124 #endif
44125
44126 #undef $ac_func
44127
44128 /* Override any GCC internal prototype to avoid an error.
44129 Use char because int might match the return type of a GCC
44130 builtin and then its argument prototype would still apply. */
44131 #ifdef __cplusplus
44132 extern "C"
44133 #endif
44134 char $ac_func ();
44135 /* The GNU C library defines this for functions which it implements
44136 to always fail with ENOSYS. Some functions are actually named
44137 something starting with __ and the normal name is an alias. */
44138 #if defined __stub_$ac_func || defined __stub___$ac_func
44139 choke me
44140 #endif
44141
44142 int
44143 main ()
44144 {
44145 return $ac_func ();
44146 ;
44147 return 0;
44148 }
44149 _ACEOF
44150 rm -f conftest.$ac_objext conftest$ac_exeext
44151 if { (ac_try="$ac_link"
44152 case "(($ac_try" in
44153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44154 *) ac_try_echo=$ac_try;;
44155 esac
44156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44157 (eval "$ac_link") 2>conftest.er1
44158 ac_status=$?
44159 grep -v '^ *+' conftest.er1 >conftest.err
44160 rm -f conftest.er1
44161 cat conftest.err >&5
44162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44163 (exit $ac_status); } && {
44164 test -z "$ac_c_werror_flag" ||
44165 test ! -s conftest.err
44166 } && test -s conftest$ac_exeext &&
44167 $as_test_x conftest$ac_exeext; then
44168 eval "$as_ac_var=yes"
44169 else
44170 echo "$as_me: failed program was:" >&5
44171 sed 's/^/| /' conftest.$ac_ext >&5
44172
44173 eval "$as_ac_var=no"
44174 fi
44175
44176 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44177 conftest$ac_exeext conftest.$ac_ext
44178 fi
44179 ac_res=`eval echo '${'$as_ac_var'}'`
44180 { echo "$as_me:$LINENO: result: $ac_res" >&5
44181 echo "${ECHO_T}$ac_res" >&6; }
44182 if test `eval echo '${'$as_ac_var'}'` = yes; then
44183 cat >>confdefs.h <<_ACEOF
44184 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44185 _ACEOF
44186 cat >>confdefs.h <<\_ACEOF
44187 #define HAVE_DLERROR 1
44188 _ACEOF
44189
44190 else
44191
44192 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
44193 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
44194 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
44195 echo $ECHO_N "(cached) $ECHO_C" >&6
44196 else
44197 ac_check_lib_save_LIBS=$LIBS
44198 LIBS="-ldl $LIBS"
44199 cat >conftest.$ac_ext <<_ACEOF
44200 /* confdefs.h. */
44201 _ACEOF
44202 cat confdefs.h >>conftest.$ac_ext
44203 cat >>conftest.$ac_ext <<_ACEOF
44204 /* end confdefs.h. */
44205
44206 /* Override any GCC internal prototype to avoid an error.
44207 Use char because int might match the return type of a GCC
44208 builtin and then its argument prototype would still apply. */
44209 #ifdef __cplusplus
44210 extern "C"
44211 #endif
44212 char dlerror ();
44213 int
44214 main ()
44215 {
44216 return dlerror ();
44217 ;
44218 return 0;
44219 }
44220 _ACEOF
44221 rm -f conftest.$ac_objext conftest$ac_exeext
44222 if { (ac_try="$ac_link"
44223 case "(($ac_try" in
44224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44225 *) ac_try_echo=$ac_try;;
44226 esac
44227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44228 (eval "$ac_link") 2>conftest.er1
44229 ac_status=$?
44230 grep -v '^ *+' conftest.er1 >conftest.err
44231 rm -f conftest.er1
44232 cat conftest.err >&5
44233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44234 (exit $ac_status); } && {
44235 test -z "$ac_c_werror_flag" ||
44236 test ! -s conftest.err
44237 } && test -s conftest$ac_exeext &&
44238 $as_test_x conftest$ac_exeext; then
44239 ac_cv_lib_dl_dlerror=yes
44240 else
44241 echo "$as_me: failed program was:" >&5
44242 sed 's/^/| /' conftest.$ac_ext >&5
44243
44244 ac_cv_lib_dl_dlerror=no
44245 fi
44246
44247 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44248 conftest$ac_exeext conftest.$ac_ext
44249 LIBS=$ac_check_lib_save_LIBS
44250 fi
44251 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
44252 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
44253 if test $ac_cv_lib_dl_dlerror = yes; then
44254 cat >>confdefs.h <<\_ACEOF
44255 #define HAVE_DLERROR 1
44256 _ACEOF
44257
44258 fi
44259
44260
44261
44262 fi
44263 done
44264
44265 fi
44266 fi
44267
44268 if test "$HAVE_DL_FUNCS" = 0; then
44269 if test "$HAVE_SHL_FUNCS" = 0; then
44270 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
44271 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
44272 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
44273 wxUSE_DYNAMIC_LOADER=no
44274 wxUSE_DYNLIB_CLASS=no
44275 else
44276 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
44277 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
44278 fi
44279 fi
44280 fi
44281 fi
44282 fi
44283
44284 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
44285 cat >>confdefs.h <<\_ACEOF
44286 #define wxUSE_DYNAMIC_LOADER 1
44287 _ACEOF
44288
44289 fi
44290 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
44291 cat >>confdefs.h <<\_ACEOF
44292 #define wxUSE_DYNLIB_CLASS 1
44293 _ACEOF
44294
44295 fi
44296
44297
44298
44299 if test "$wxUSE_PLUGINS" = "yes" ; then
44300 if test "$wxUSE_SHARED" = "no" ; then
44301 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
44302 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
44303 wxUSE_PLUGINS=no
44304 fi
44305 if test "$wxUSE_MONOLITHIC" = "yes" ; then
44306 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
44307 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
44308 wxUSE_PLUGINS=no
44309 fi
44310 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
44311 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
44312 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
44313 wxUSE_PLUGINS=no
44314 fi
44315 if test "$wxUSE_PLUGINS" = "yes" ; then
44316 cat >>confdefs.h <<\_ACEOF
44317 #define wxUSE_PLUGINS 1
44318 _ACEOF
44319
44320 fi
44321 fi
44322
44323
44324 if test "$wxUSE_STL" = "yes"; then
44325 cat >>confdefs.h <<\_ACEOF
44326 #define wxUSE_STL 1
44327 _ACEOF
44328
44329 fi
44330
44331 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
44332 cat >>confdefs.h <<\_ACEOF
44333 #define wxUSE_EXTENDED_RTTI 1
44334 _ACEOF
44335
44336 fi
44337
44338 if test "$wxUSE_APPLE_IEEE" = "yes"; then
44339 cat >>confdefs.h <<\_ACEOF
44340 #define wxUSE_APPLE_IEEE 1
44341 _ACEOF
44342
44343 fi
44344
44345 if test "$wxUSE_TIMER" = "yes"; then
44346 cat >>confdefs.h <<\_ACEOF
44347 #define wxUSE_TIMER 1
44348 _ACEOF
44349
44350 fi
44351
44352 if test "$USE_UNIX" = 1 ; then
44353 if test "$wxUSE_MGL" != 1; then
44354 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
44355 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
44356 if test "${ac_cv_header_sys_soundcard+set}" = set; then
44357 echo $ECHO_N "(cached) $ECHO_C" >&6
44358 else
44359
44360 cat >conftest.$ac_ext <<_ACEOF
44361 /* confdefs.h. */
44362 _ACEOF
44363 cat confdefs.h >>conftest.$ac_ext
44364 cat >>conftest.$ac_ext <<_ACEOF
44365 /* end confdefs.h. */
44366
44367 #include <sys/ioctl.h>
44368 #include <sys/soundcard.h>
44369
44370 int
44371 main ()
44372 {
44373
44374 ioctl(0, SNDCTL_DSP_SPEED, 0);
44375
44376 ;
44377 return 0;
44378 }
44379 _ACEOF
44380 rm -f conftest.$ac_objext conftest$ac_exeext
44381 if { (ac_try="$ac_link"
44382 case "(($ac_try" in
44383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44384 *) ac_try_echo=$ac_try;;
44385 esac
44386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44387 (eval "$ac_link") 2>conftest.er1
44388 ac_status=$?
44389 grep -v '^ *+' conftest.er1 >conftest.err
44390 rm -f conftest.er1
44391 cat conftest.err >&5
44392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44393 (exit $ac_status); } && {
44394 test -z "$ac_c_werror_flag" ||
44395 test ! -s conftest.err
44396 } && test -s conftest$ac_exeext &&
44397 $as_test_x conftest$ac_exeext; then
44398 ac_cv_header_sys_soundcard=yes
44399 else
44400 echo "$as_me: failed program was:" >&5
44401 sed 's/^/| /' conftest.$ac_ext >&5
44402
44403
44404 saveLibs="$LIBS"
44405 LIBS="$saveLibs -lossaudio"
44406 cat >conftest.$ac_ext <<_ACEOF
44407 /* confdefs.h. */
44408 _ACEOF
44409 cat confdefs.h >>conftest.$ac_ext
44410 cat >>conftest.$ac_ext <<_ACEOF
44411 /* end confdefs.h. */
44412
44413 #include <sys/ioctl.h>
44414 #include <sys/soundcard.h>
44415
44416 int
44417 main ()
44418 {
44419
44420 ioctl(0, SNDCTL_DSP_SPEED, 0);
44421
44422 ;
44423 return 0;
44424 }
44425 _ACEOF
44426 rm -f conftest.$ac_objext conftest$ac_exeext
44427 if { (ac_try="$ac_link"
44428 case "(($ac_try" in
44429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44430 *) ac_try_echo=$ac_try;;
44431 esac
44432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44433 (eval "$ac_link") 2>conftest.er1
44434 ac_status=$?
44435 grep -v '^ *+' conftest.er1 >conftest.err
44436 rm -f conftest.er1
44437 cat conftest.err >&5
44438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44439 (exit $ac_status); } && {
44440 test -z "$ac_c_werror_flag" ||
44441 test ! -s conftest.err
44442 } && test -s conftest$ac_exeext &&
44443 $as_test_x conftest$ac_exeext; then
44444 ac_cv_header_sys_soundcard=yes
44445 else
44446 echo "$as_me: failed program was:" >&5
44447 sed 's/^/| /' conftest.$ac_ext >&5
44448
44449
44450 LIBS="$saveLibs"
44451 ac_cv_header_sys_soundcard=no
44452
44453
44454 fi
44455
44456 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44457 conftest$ac_exeext conftest.$ac_ext
44458
44459
44460 fi
44461
44462 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44463 conftest$ac_exeext conftest.$ac_ext
44464
44465 fi
44466 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
44467 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
44468 fi
44469
44470 if test "$ac_cv_header_sys_soundcard" = "yes"; then
44471 cat >>confdefs.h <<\_ACEOF
44472 #define HAVE_SYS_SOUNDCARD_H 1
44473 _ACEOF
44474
44475 fi
44476 fi
44477
44478 WITH_PLUGIN_SDL=0
44479 if test "$wxUSE_SOUND" = "yes"; then
44480 if test "$USE_UNIX" = 1 ; then
44481 if test "$wxUSE_LIBSDL" != "no"; then
44482
44483 # Check whether --with-sdl-prefix was given.
44484 if test "${with_sdl_prefix+set}" = set; then
44485 withval=$with_sdl_prefix; sdl_prefix="$withval"
44486 else
44487 sdl_prefix=""
44488 fi
44489
44490
44491 # Check whether --with-sdl-exec-prefix was given.
44492 if test "${with_sdl_exec_prefix+set}" = set; then
44493 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
44494 else
44495 sdl_exec_prefix=""
44496 fi
44497
44498 # Check whether --enable-sdltest was given.
44499 if test "${enable_sdltest+set}" = set; then
44500 enableval=$enable_sdltest;
44501 else
44502 enable_sdltest=yes
44503 fi
44504
44505
44506 if test x$sdl_exec_prefix != x ; then
44507 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
44508 if test x${SDL_CONFIG+set} != xset ; then
44509 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
44510 fi
44511 fi
44512 if test x$sdl_prefix != x ; then
44513 sdl_args="$sdl_args --prefix=$sdl_prefix"
44514 if test x${SDL_CONFIG+set} != xset ; then
44515 SDL_CONFIG=$sdl_prefix/bin/sdl-config
44516 fi
44517 fi
44518
44519 if test "x$prefix" != xNONE; then
44520 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
44521 fi
44522 # Extract the first word of "sdl-config", so it can be a program name with args.
44523 set dummy sdl-config; ac_word=$2
44524 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44525 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44526 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
44527 echo $ECHO_N "(cached) $ECHO_C" >&6
44528 else
44529 case $SDL_CONFIG in
44530 [\\/]* | ?:[\\/]*)
44531 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
44532 ;;
44533 *)
44534 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44535 for as_dir in $PATH
44536 do
44537 IFS=$as_save_IFS
44538 test -z "$as_dir" && as_dir=.
44539 for ac_exec_ext in '' $ac_executable_extensions; do
44540 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44541 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44542 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44543 break 2
44544 fi
44545 done
44546 done
44547 IFS=$as_save_IFS
44548
44549 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
44550 ;;
44551 esac
44552 fi
44553 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
44554 if test -n "$SDL_CONFIG"; then
44555 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
44556 echo "${ECHO_T}$SDL_CONFIG" >&6; }
44557 else
44558 { echo "$as_me:$LINENO: result: no" >&5
44559 echo "${ECHO_T}no" >&6; }
44560 fi
44561
44562
44563 min_sdl_version=1.2.0
44564 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
44565 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
44566 no_sdl=""
44567 if test "$SDL_CONFIG" = "no" ; then
44568 no_sdl=yes
44569 else
44570 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
44571 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
44572
44573 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
44574 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
44575 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
44576 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
44577 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
44578 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
44579 if test "x$enable_sdltest" = "xyes" ; then
44580 ac_save_CFLAGS="$CFLAGS"
44581 ac_save_CXXFLAGS="$CXXFLAGS"
44582 ac_save_LIBS="$LIBS"
44583 CFLAGS="$CFLAGS $SDL_CFLAGS"
44584 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
44585 LIBS="$LIBS $SDL_LIBS"
44586 rm -f conf.sdltest
44587 if test "$cross_compiling" = yes; then
44588 echo $ac_n "cross compiling; assumed OK... $ac_c"
44589 else
44590 cat >conftest.$ac_ext <<_ACEOF
44591 /* confdefs.h. */
44592 _ACEOF
44593 cat confdefs.h >>conftest.$ac_ext
44594 cat >>conftest.$ac_ext <<_ACEOF
44595 /* end confdefs.h. */
44596
44597 #include <stdio.h>
44598 #include <stdlib.h>
44599 #include <string.h>
44600 #include "SDL.h"
44601
44602 char*
44603 my_strdup (char *str)
44604 {
44605 char *new_str;
44606
44607 if (str)
44608 {
44609 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
44610 strcpy (new_str, str);
44611 }
44612 else
44613 new_str = NULL;
44614
44615 return new_str;
44616 }
44617
44618 int main (int argc, char *argv[])
44619 {
44620 int major, minor, micro;
44621 char *tmp_version;
44622
44623 /* This hangs on some systems (?)
44624 system ("touch conf.sdltest");
44625 */
44626 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
44627
44628 /* HP/UX 9 (%@#!) writes to sscanf strings */
44629 tmp_version = my_strdup("$min_sdl_version");
44630 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
44631 printf("%s, bad version string\n", "$min_sdl_version");
44632 exit(1);
44633 }
44634
44635 if (($sdl_major_version > major) ||
44636 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
44637 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
44638 {
44639 return 0;
44640 }
44641 else
44642 {
44643 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
44644 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
44645 printf("*** best to upgrade to the required version.\n");
44646 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
44647 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
44648 printf("*** config.cache before re-running configure\n");
44649 return 1;
44650 }
44651 }
44652
44653
44654 _ACEOF
44655 rm -f conftest$ac_exeext
44656 if { (ac_try="$ac_link"
44657 case "(($ac_try" in
44658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44659 *) ac_try_echo=$ac_try;;
44660 esac
44661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44662 (eval "$ac_link") 2>&5
44663 ac_status=$?
44664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44665 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
44666 { (case "(($ac_try" in
44667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44668 *) ac_try_echo=$ac_try;;
44669 esac
44670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44671 (eval "$ac_try") 2>&5
44672 ac_status=$?
44673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44674 (exit $ac_status); }; }; then
44675 :
44676 else
44677 echo "$as_me: program exited with status $ac_status" >&5
44678 echo "$as_me: failed program was:" >&5
44679 sed 's/^/| /' conftest.$ac_ext >&5
44680
44681 ( exit $ac_status )
44682 no_sdl=yes
44683 fi
44684 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
44685 fi
44686
44687
44688 CFLAGS="$ac_save_CFLAGS"
44689 CXXFLAGS="$ac_save_CXXFLAGS"
44690 LIBS="$ac_save_LIBS"
44691 fi
44692 fi
44693 if test "x$no_sdl" = x ; then
44694 { echo "$as_me:$LINENO: result: yes" >&5
44695 echo "${ECHO_T}yes" >&6; }
44696
44697 EXTRALIBS_SDL="$SDL_LIBS"
44698 CFLAGS="$SDL_CFLAGS $CFLAGS"
44699 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
44700 cat >>confdefs.h <<\_ACEOF
44701 #define wxUSE_LIBSDL 1
44702 _ACEOF
44703
44704
44705 else
44706 { echo "$as_me:$LINENO: result: no" >&5
44707 echo "${ECHO_T}no" >&6; }
44708 if test "$SDL_CONFIG" = "no" ; then
44709 echo "*** The sdl-config script installed by SDL could not be found"
44710 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
44711 echo "*** your path, or set the SDL_CONFIG environment variable to the"
44712 echo "*** full path to sdl-config."
44713 else
44714 if test -f conf.sdltest ; then
44715 :
44716 else
44717 echo "*** Could not run SDL test program, checking why..."
44718 CFLAGS="$CFLAGS $SDL_CFLAGS"
44719 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
44720 LIBS="$LIBS $SDL_LIBS"
44721 cat >conftest.$ac_ext <<_ACEOF
44722 /* confdefs.h. */
44723 _ACEOF
44724 cat confdefs.h >>conftest.$ac_ext
44725 cat >>conftest.$ac_ext <<_ACEOF
44726 /* end confdefs.h. */
44727
44728 #include <stdio.h>
44729 #include "SDL.h"
44730
44731 int main(int argc, char *argv[])
44732 { return 0; }
44733 #undef main
44734 #define main K_and_R_C_main
44735
44736 int
44737 main ()
44738 {
44739 return 0;
44740 ;
44741 return 0;
44742 }
44743 _ACEOF
44744 rm -f conftest.$ac_objext conftest$ac_exeext
44745 if { (ac_try="$ac_link"
44746 case "(($ac_try" in
44747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44748 *) ac_try_echo=$ac_try;;
44749 esac
44750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44751 (eval "$ac_link") 2>conftest.er1
44752 ac_status=$?
44753 grep -v '^ *+' conftest.er1 >conftest.err
44754 rm -f conftest.er1
44755 cat conftest.err >&5
44756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44757 (exit $ac_status); } && {
44758 test -z "$ac_c_werror_flag" ||
44759 test ! -s conftest.err
44760 } && test -s conftest$ac_exeext &&
44761 $as_test_x conftest$ac_exeext; then
44762 echo "*** The test program compiled, but did not run. This usually means"
44763 echo "*** that the run-time linker is not finding SDL or finding the wrong"
44764 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
44765 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
44766 echo "*** to the installed location Also, make sure you have run ldconfig if that"
44767 echo "*** is required on your system"
44768 echo "***"
44769 echo "*** If you have an old version installed, it is best to remove it, although"
44770 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
44771 else
44772 echo "$as_me: failed program was:" >&5
44773 sed 's/^/| /' conftest.$ac_ext >&5
44774
44775 echo "*** The test program failed to compile or link. See the file config.log for the"
44776 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
44777 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
44778 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
44779 fi
44780
44781 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44782 conftest$ac_exeext conftest.$ac_ext
44783 CFLAGS="$ac_save_CFLAGS"
44784 CXXFLAGS="$ac_save_CXXFLAGS"
44785 LIBS="$ac_save_LIBS"
44786 fi
44787 fi
44788 SDL_CFLAGS=""
44789 SDL_LIBS=""
44790 wxUSE_LIBSDL="no"
44791 fi
44792
44793
44794 rm -f conf.sdltest
44795
44796 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
44797 WITH_PLUGIN_SDL=1
44798 fi
44799 fi
44800 else
44801 if test "$wxUSE_MGL" = 1; then
44802 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
44803 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
44804 wxUSE_SOUND="no"
44805 fi
44806 fi
44807 fi
44808
44809 if test "$wxUSE_SOUND" = "yes"; then
44810 cat >>confdefs.h <<\_ACEOF
44811 #define wxUSE_SOUND 1
44812 _ACEOF
44813
44814 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
44815 fi
44816
44817 if test "$WXGTK2" = 1; then
44818
44819
44820 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
44821 if test -n "$ac_tool_prefix"; then
44822 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
44823 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
44824 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44825 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44826 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
44827 echo $ECHO_N "(cached) $ECHO_C" >&6
44828 else
44829 case $PKG_CONFIG in
44830 [\\/]* | ?:[\\/]*)
44831 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
44832 ;;
44833 *)
44834 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44835 for as_dir in $PATH
44836 do
44837 IFS=$as_save_IFS
44838 test -z "$as_dir" && as_dir=.
44839 for ac_exec_ext in '' $ac_executable_extensions; do
44840 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44841 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44842 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44843 break 2
44844 fi
44845 done
44846 done
44847 IFS=$as_save_IFS
44848
44849 ;;
44850 esac
44851 fi
44852 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
44853 if test -n "$PKG_CONFIG"; then
44854 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
44855 echo "${ECHO_T}$PKG_CONFIG" >&6; }
44856 else
44857 { echo "$as_me:$LINENO: result: no" >&5
44858 echo "${ECHO_T}no" >&6; }
44859 fi
44860
44861
44862 fi
44863 if test -z "$ac_cv_path_PKG_CONFIG"; then
44864 ac_pt_PKG_CONFIG=$PKG_CONFIG
44865 # Extract the first word of "pkg-config", so it can be a program name with args.
44866 set dummy pkg-config; ac_word=$2
44867 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44868 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44869 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
44870 echo $ECHO_N "(cached) $ECHO_C" >&6
44871 else
44872 case $ac_pt_PKG_CONFIG in
44873 [\\/]* | ?:[\\/]*)
44874 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
44875 ;;
44876 *)
44877 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44878 for as_dir in $PATH
44879 do
44880 IFS=$as_save_IFS
44881 test -z "$as_dir" && as_dir=.
44882 for ac_exec_ext in '' $ac_executable_extensions; do
44883 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44884 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44885 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44886 break 2
44887 fi
44888 done
44889 done
44890 IFS=$as_save_IFS
44891
44892 ;;
44893 esac
44894 fi
44895 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
44896 if test -n "$ac_pt_PKG_CONFIG"; then
44897 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
44898 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
44899 else
44900 { echo "$as_me:$LINENO: result: no" >&5
44901 echo "${ECHO_T}no" >&6; }
44902 fi
44903
44904 if test "x$ac_pt_PKG_CONFIG" = x; then
44905 PKG_CONFIG=""
44906 else
44907 case $cross_compiling:$ac_tool_warned in
44908 yes:)
44909 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
44910 whose name does not start with the host triplet. If you think this
44911 configuration is useful to you, please write to autoconf@gnu.org." >&5
44912 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
44913 whose name does not start with the host triplet. If you think this
44914 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
44915 ac_tool_warned=yes ;;
44916 esac
44917 PKG_CONFIG=$ac_pt_PKG_CONFIG
44918 fi
44919 else
44920 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
44921 fi
44922
44923 fi
44924 if test -n "$PKG_CONFIG"; then
44925 _pkg_min_version=0.9.0
44926 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
44927 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
44928 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
44929 { echo "$as_me:$LINENO: result: yes" >&5
44930 echo "${ECHO_T}yes" >&6; }
44931 else
44932 { echo "$as_me:$LINENO: result: no" >&5
44933 echo "${ECHO_T}no" >&6; }
44934 PKG_CONFIG=""
44935 fi
44936
44937 fi
44938
44939 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
44940
44941 if test "$wxUSE_GTKPRINT" = "yes" ; then
44942
44943
44944 pkg_failed=no
44945 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
44946 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
44947
44948 if test -n "$PKG_CONFIG"; then
44949 if test -n "$GTKPRINT_CFLAGS"; then
44950 pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
44951 else
44952 if test -n "$PKG_CONFIG" && \
44953 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
44954 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
44955 ac_status=$?
44956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44957 (exit $ac_status); }; then
44958 pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
44959 else
44960 pkg_failed=yes
44961 fi
44962 fi
44963 else
44964 pkg_failed=untried
44965 fi
44966 if test -n "$PKG_CONFIG"; then
44967 if test -n "$GTKPRINT_LIBS"; then
44968 pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
44969 else
44970 if test -n "$PKG_CONFIG" && \
44971 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
44972 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
44973 ac_status=$?
44974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44975 (exit $ac_status); }; then
44976 pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
44977 else
44978 pkg_failed=yes
44979 fi
44980 fi
44981 else
44982 pkg_failed=untried
44983 fi
44984
44985
44986
44987 if test $pkg_failed = yes; then
44988
44989 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44990 _pkg_short_errors_supported=yes
44991 else
44992 _pkg_short_errors_supported=no
44993 fi
44994 if test $_pkg_short_errors_supported = yes; then
44995 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
44996 else
44997 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
44998 fi
44999 # Put the nasty error message in config.log where it belongs
45000 echo "$GTKPRINT_PKG_ERRORS" >&5
45001
45002
45003 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
45004 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
45005 wxUSE_GTKPRINT="no"
45006
45007
45008 elif test $pkg_failed = untried; then
45009
45010 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
45011 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
45012 wxUSE_GTKPRINT="no"
45013
45014
45015 else
45016 GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
45017 GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
45018 { echo "$as_me:$LINENO: result: yes" >&5
45019 echo "${ECHO_T}yes" >&6; }
45020
45021 CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
45022 CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
45023 cat >>confdefs.h <<\_ACEOF
45024 #define wxUSE_GTKPRINT 1
45025 _ACEOF
45026
45027
45028 fi
45029 fi
45030
45031 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
45032
45033
45034 pkg_failed=no
45035 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
45036 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
45037
45038 if test -n "$PKG_CONFIG"; then
45039 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
45040 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
45041 else
45042 if test -n "$PKG_CONFIG" && \
45043 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
45044 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
45045 ac_status=$?
45046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45047 (exit $ac_status); }; then
45048 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
45049 else
45050 pkg_failed=yes
45051 fi
45052 fi
45053 else
45054 pkg_failed=untried
45055 fi
45056 if test -n "$PKG_CONFIG"; then
45057 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
45058 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
45059 else
45060 if test -n "$PKG_CONFIG" && \
45061 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
45062 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
45063 ac_status=$?
45064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45065 (exit $ac_status); }; then
45066 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
45067 else
45068 pkg_failed=yes
45069 fi
45070 fi
45071 else
45072 pkg_failed=untried
45073 fi
45074
45075
45076
45077 if test $pkg_failed = yes; then
45078
45079 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45080 _pkg_short_errors_supported=yes
45081 else
45082 _pkg_short_errors_supported=no
45083 fi
45084 if test $_pkg_short_errors_supported = yes; then
45085 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
45086 else
45087 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
45088 fi
45089 # Put the nasty error message in config.log where it belongs
45090 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
45091
45092
45093 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
45094 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
45095 wxUSE_LIBGNOMEPRINT="no"
45096
45097
45098 elif test $pkg_failed = untried; then
45099
45100 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
45101 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
45102 wxUSE_LIBGNOMEPRINT="no"
45103
45104
45105 else
45106 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
45107 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
45108 { echo "$as_me:$LINENO: result: yes" >&5
45109 echo "${ECHO_T}yes" >&6; }
45110
45111 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
45112 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
45113 cat >>confdefs.h <<\_ACEOF
45114 #define wxUSE_LIBGNOMEPRINT 1
45115 _ACEOF
45116
45117
45118 fi
45119 fi
45120 fi
45121
45122 if test "$wxUSE_MIMETYPE" = "yes" ; then
45123 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
45124
45125
45126 pkg_failed=no
45127 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
45128 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
45129
45130 if test -n "$PKG_CONFIG"; then
45131 if test -n "$GNOMEVFS_CFLAGS"; then
45132 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
45133 else
45134 if test -n "$PKG_CONFIG" && \
45135 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
45136 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
45137 ac_status=$?
45138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45139 (exit $ac_status); }; then
45140 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
45141 else
45142 pkg_failed=yes
45143 fi
45144 fi
45145 else
45146 pkg_failed=untried
45147 fi
45148 if test -n "$PKG_CONFIG"; then
45149 if test -n "$GNOMEVFS_LIBS"; then
45150 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
45151 else
45152 if test -n "$PKG_CONFIG" && \
45153 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
45154 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
45155 ac_status=$?
45156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45157 (exit $ac_status); }; then
45158 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
45159 else
45160 pkg_failed=yes
45161 fi
45162 fi
45163 else
45164 pkg_failed=untried
45165 fi
45166
45167
45168
45169 if test $pkg_failed = yes; then
45170
45171 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45172 _pkg_short_errors_supported=yes
45173 else
45174 _pkg_short_errors_supported=no
45175 fi
45176 if test $_pkg_short_errors_supported = yes; then
45177 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
45178 else
45179 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
45180 fi
45181 # Put the nasty error message in config.log where it belongs
45182 echo "$GNOMEVFS_PKG_ERRORS" >&5
45183
45184
45185 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
45186 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
45187 wxUSE_LIBGNOMEVFS="no"
45188
45189
45190 elif test $pkg_failed = untried; then
45191
45192 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
45193 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
45194 wxUSE_LIBGNOMEVFS="no"
45195
45196
45197 else
45198 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
45199 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
45200 { echo "$as_me:$LINENO: result: yes" >&5
45201 echo "${ECHO_T}yes" >&6; }
45202
45203 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
45204 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
45205 cat >>confdefs.h <<\_ACEOF
45206 #define wxUSE_LIBGNOMEVFS 1
45207 _ACEOF
45208
45209
45210 fi
45211 fi
45212 fi
45213
45214 if test "$wxUSE_LIBHILDON" = "yes" ; then
45215
45216 pkg_failed=no
45217 { echo "$as_me:$LINENO: checking for HILDON" >&5
45218 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
45219
45220 if test -n "$PKG_CONFIG"; then
45221 if test -n "$HILDON_CFLAGS"; then
45222 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
45223 else
45224 if test -n "$PKG_CONFIG" && \
45225 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
45226 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
45227 ac_status=$?
45228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45229 (exit $ac_status); }; then
45230 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
45231 else
45232 pkg_failed=yes
45233 fi
45234 fi
45235 else
45236 pkg_failed=untried
45237 fi
45238 if test -n "$PKG_CONFIG"; then
45239 if test -n "$HILDON_LIBS"; then
45240 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
45241 else
45242 if test -n "$PKG_CONFIG" && \
45243 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
45244 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
45245 ac_status=$?
45246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45247 (exit $ac_status); }; then
45248 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
45249 else
45250 pkg_failed=yes
45251 fi
45252 fi
45253 else
45254 pkg_failed=untried
45255 fi
45256
45257
45258
45259 if test $pkg_failed = yes; then
45260
45261 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45262 _pkg_short_errors_supported=yes
45263 else
45264 _pkg_short_errors_supported=no
45265 fi
45266 if test $_pkg_short_errors_supported = yes; then
45267 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
45268 else
45269 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
45270 fi
45271 # Put the nasty error message in config.log where it belongs
45272 echo "$HILDON_PKG_ERRORS" >&5
45273
45274
45275 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
45276 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
45277 wxUSE_LIBHILDON="no"
45278
45279
45280 elif test $pkg_failed = untried; then
45281
45282 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
45283 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
45284 wxUSE_LIBHILDON="no"
45285
45286
45287 else
45288 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
45289 HILDON_LIBS=$pkg_cv_HILDON_LIBS
45290 { echo "$as_me:$LINENO: result: yes" >&5
45291 echo "${ECHO_T}yes" >&6; }
45292
45293 EXTRALIBS_HILDON="$HILDON_LIBS"
45294 CFLAGS="$CFLAGS $HILDON_CFLAGS"
45295 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
45296 cat >>confdefs.h <<\_ACEOF
45297 #define wxUSE_LIBHILDON 1
45298 _ACEOF
45299
45300
45301 fi
45302 fi
45303 fi
45304
45305 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
45306 cat >>confdefs.h <<\_ACEOF
45307 #define wxUSE_CMDLINE_PARSER 1
45308 _ACEOF
45309
45310 fi
45311
45312 if test "$wxUSE_STOPWATCH" = "yes"; then
45313 cat >>confdefs.h <<\_ACEOF
45314 #define wxUSE_STOPWATCH 1
45315 _ACEOF
45316
45317 fi
45318
45319 if test "$wxUSE_DATETIME" = "yes"; then
45320 cat >>confdefs.h <<\_ACEOF
45321 #define wxUSE_DATETIME 1
45322 _ACEOF
45323
45324 fi
45325
45326 if test "$wxUSE_FILE" = "yes"; then
45327 cat >>confdefs.h <<\_ACEOF
45328 #define wxUSE_FILE 1
45329 _ACEOF
45330
45331 fi
45332
45333 if test "$wxUSE_FFILE" = "yes"; then
45334 cat >>confdefs.h <<\_ACEOF
45335 #define wxUSE_FFILE 1
45336 _ACEOF
45337
45338 fi
45339
45340 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
45341 if test "$wxUSE_STREAMS" != yes; then
45342 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
45343 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
45344 wxUSE_ARCHIVE_STREAMS=no
45345 else
45346 cat >>confdefs.h <<\_ACEOF
45347 #define wxUSE_ARCHIVE_STREAMS 1
45348 _ACEOF
45349
45350 fi
45351 fi
45352
45353 if test "$wxUSE_ZIPSTREAM" = "yes"; then
45354 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
45355 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
45356 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
45357 elif test "$wxUSE_ZLIB" = "no"; then
45358 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
45359 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
45360 else
45361 cat >>confdefs.h <<\_ACEOF
45362 #define wxUSE_ZIPSTREAM 1
45363 _ACEOF
45364
45365 fi
45366 fi
45367
45368 if test "$wxUSE_TARSTREAM" = "yes"; then
45369 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
45370 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
45371 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
45372 else
45373 cat >>confdefs.h <<\_ACEOF
45374 #define wxUSE_TARSTREAM 1
45375 _ACEOF
45376
45377 fi
45378 fi
45379
45380 if test "$wxUSE_FILESYSTEM" = "yes"; then
45381 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
45382 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
45383 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
45384 wxUSE_FILESYSTEM=no
45385 else
45386 cat >>confdefs.h <<\_ACEOF
45387 #define wxUSE_FILESYSTEM 1
45388 _ACEOF
45389
45390 fi
45391 fi
45392
45393 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
45394 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
45395 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
45396 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
45397 else
45398 cat >>confdefs.h <<\_ACEOF
45399 #define wxUSE_FS_ARCHIVE 1
45400 _ACEOF
45401
45402 fi
45403 fi
45404
45405 if test "$wxUSE_FS_ZIP" = "yes"; then
45406 if test "$wxUSE_FS_ARCHIVE" != yes; then
45407 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
45408 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
45409 else
45410 cat >>confdefs.h <<\_ACEOF
45411 #define wxUSE_FS_ZIP 1
45412 _ACEOF
45413
45414 fi
45415 fi
45416
45417 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
45418 if test "$USE_UNIX" != 1; then
45419 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
45420 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
45421 wxUSE_ON_FATAL_EXCEPTION=no
45422 else
45423 cat >>confdefs.h <<\_ACEOF
45424 #define wxUSE_ON_FATAL_EXCEPTION 1
45425 _ACEOF
45426
45427 fi
45428 fi
45429
45430 if test "$wxUSE_STACKWALKER" = "yes"; then
45431 cat >>confdefs.h <<\_ACEOF
45432 #define wxUSE_STACKWALKER 1
45433 _ACEOF
45434
45435 fi
45436
45437 if test "$wxUSE_DEBUGREPORT" = "yes"; then
45438 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
45439 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
45440 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
45441 wxUSE_DEBUGREPORT=no
45442 else
45443 cat >>confdefs.h <<\_ACEOF
45444 #define wxUSE_DEBUGREPORT 1
45445 _ACEOF
45446
45447 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
45448 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
45449 fi
45450 fi
45451 fi
45452
45453 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
45454 cat >>confdefs.h <<\_ACEOF
45455 #define wxUSE_SNGLINST_CHECKER 1
45456 _ACEOF
45457
45458 fi
45459
45460 if test "$wxUSE_BUSYINFO" = "yes"; then
45461 cat >>confdefs.h <<\_ACEOF
45462 #define wxUSE_BUSYINFO 1
45463 _ACEOF
45464
45465 fi
45466
45467 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
45468 cat >>confdefs.h <<\_ACEOF
45469 #define wxUSE_STD_IOSTREAM 1
45470 _ACEOF
45471
45472 fi
45473
45474 if test "$wxUSE_STD_STRING" = "yes"; then
45475 cat >>confdefs.h <<\_ACEOF
45476 #define wxUSE_STD_STRING 1
45477 _ACEOF
45478
45479 fi
45480
45481 if test "$wxUSE_STDPATHS" = "yes"; then
45482 cat >>confdefs.h <<\_ACEOF
45483 #define wxUSE_STDPATHS 1
45484 _ACEOF
45485
45486 fi
45487
45488 if test "$wxUSE_TEXTBUFFER" = "yes"; then
45489 cat >>confdefs.h <<\_ACEOF
45490 #define wxUSE_TEXTBUFFER 1
45491 _ACEOF
45492
45493 fi
45494
45495 if test "$wxUSE_TEXTFILE" = "yes"; then
45496 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
45497 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
45498 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
45499 else
45500 cat >>confdefs.h <<\_ACEOF
45501 #define wxUSE_TEXTFILE 1
45502 _ACEOF
45503
45504 fi
45505 fi
45506
45507 if test "$wxUSE_CONFIG" = "yes" ; then
45508 if test "$wxUSE_TEXTFILE" != "yes"; then
45509 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
45510 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
45511 else
45512 cat >>confdefs.h <<\_ACEOF
45513 #define wxUSE_CONFIG 1
45514 _ACEOF
45515
45516 cat >>confdefs.h <<\_ACEOF
45517 #define wxUSE_CONFIG_NATIVE 1
45518 _ACEOF
45519
45520 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
45521 fi
45522 fi
45523
45524 if test "$wxUSE_INTL" = "yes" ; then
45525 if test "$wxUSE_FILE" != "yes"; then
45526 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
45527 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
45528 else
45529 cat >>confdefs.h <<\_ACEOF
45530 #define wxUSE_INTL 1
45531 _ACEOF
45532
45533 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
45534 GUIDIST="$GUIDIST INTL_DIST"
45535 fi
45536 fi
45537
45538 if test "$wxUSE_LOG" = "yes"; then
45539 cat >>confdefs.h <<\_ACEOF
45540 #define wxUSE_LOG 1
45541 _ACEOF
45542
45543
45544 if test "$wxUSE_LOGGUI" = "yes"; then
45545 cat >>confdefs.h <<\_ACEOF
45546 #define wxUSE_LOGGUI 1
45547 _ACEOF
45548
45549 fi
45550
45551 if test "$wxUSE_LOGWINDOW" = "yes"; then
45552 cat >>confdefs.h <<\_ACEOF
45553 #define wxUSE_LOGWINDOW 1
45554 _ACEOF
45555
45556 fi
45557
45558 if test "$wxUSE_LOGDIALOG" = "yes"; then
45559 cat >>confdefs.h <<\_ACEOF
45560 #define wxUSE_LOG_DIALOG 1
45561 _ACEOF
45562
45563 fi
45564
45565 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
45566 fi
45567
45568 if test "$wxUSE_LONGLONG" = "yes"; then
45569 cat >>confdefs.h <<\_ACEOF
45570 #define wxUSE_LONGLONG 1
45571 _ACEOF
45572
45573 fi
45574
45575 if test "$wxUSE_GEOMETRY" = "yes"; then
45576 cat >>confdefs.h <<\_ACEOF
45577 #define wxUSE_GEOMETRY 1
45578 _ACEOF
45579
45580 fi
45581
45582 if test "$wxUSE_BASE64" = "yes"; then
45583 cat >>confdefs.h <<\_ACEOF
45584 #define wxUSE_BASE64 1
45585 _ACEOF
45586
45587 fi
45588
45589 if test "$wxUSE_STREAMS" = "yes" ; then
45590 cat >>confdefs.h <<\_ACEOF
45591 #define wxUSE_STREAMS 1
45592 _ACEOF
45593
45594 fi
45595
45596 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
45597 cat >>confdefs.h <<\_ACEOF
45598 #define wxUSE_PRINTF_POS_PARAMS 1
45599 _ACEOF
45600
45601 fi
45602
45603 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
45604 cat >>confdefs.h <<\_ACEOF
45605 #define wxUSE_OBJC_UNIQUIFYING 1
45606 _ACEOF
45607
45608 fi
45609
45610
45611 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
45612 cat >>confdefs.h <<\_ACEOF
45613 #define wxUSE_CONSOLE_EVENTLOOP 1
45614 _ACEOF
45615
45616
45617 if test "$wxUSE_UNIX" = "yes"; then
45618 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
45619 cat >>confdefs.h <<\_ACEOF
45620 #define wxUSE_SELECT_DISPATCHER 1
45621 _ACEOF
45622
45623 fi
45624
45625 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
45626
45627 for ac_header in sys/epoll.h
45628 do
45629 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45630 { echo "$as_me:$LINENO: checking for $ac_header" >&5
45631 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
45632 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45633 echo $ECHO_N "(cached) $ECHO_C" >&6
45634 else
45635 cat >conftest.$ac_ext <<_ACEOF
45636 /* confdefs.h. */
45637 _ACEOF
45638 cat confdefs.h >>conftest.$ac_ext
45639 cat >>conftest.$ac_ext <<_ACEOF
45640 /* end confdefs.h. */
45641 $ac_includes_default
45642
45643 #include <$ac_header>
45644 _ACEOF
45645 rm -f conftest.$ac_objext
45646 if { (ac_try="$ac_compile"
45647 case "(($ac_try" in
45648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45649 *) ac_try_echo=$ac_try;;
45650 esac
45651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45652 (eval "$ac_compile") 2>conftest.er1
45653 ac_status=$?
45654 grep -v '^ *+' conftest.er1 >conftest.err
45655 rm -f conftest.er1
45656 cat conftest.err >&5
45657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45658 (exit $ac_status); } && {
45659 test -z "$ac_c_werror_flag" ||
45660 test ! -s conftest.err
45661 } && test -s conftest.$ac_objext; then
45662 eval "$as_ac_Header=yes"
45663 else
45664 echo "$as_me: failed program was:" >&5
45665 sed 's/^/| /' conftest.$ac_ext >&5
45666
45667 eval "$as_ac_Header=no"
45668 fi
45669
45670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45671 fi
45672 ac_res=`eval echo '${'$as_ac_Header'}'`
45673 { echo "$as_me:$LINENO: result: $ac_res" >&5
45674 echo "${ECHO_T}$ac_res" >&6; }
45675 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45676 cat >>confdefs.h <<_ACEOF
45677 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45678 _ACEOF
45679
45680 fi
45681
45682 done
45683
45684 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
45685 cat >>confdefs.h <<\_ACEOF
45686 #define wxUSE_EPOLL_DISPATCHER 1
45687 _ACEOF
45688
45689 else
45690 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
45691 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
45692 fi
45693 fi
45694 fi
45695 fi
45696
45697
45698
45699
45700 for ac_func in gettimeofday ftime
45701 do
45702 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45703 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45704 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45705 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45706 echo $ECHO_N "(cached) $ECHO_C" >&6
45707 else
45708 cat >conftest.$ac_ext <<_ACEOF
45709 /* confdefs.h. */
45710 _ACEOF
45711 cat confdefs.h >>conftest.$ac_ext
45712 cat >>conftest.$ac_ext <<_ACEOF
45713 /* end confdefs.h. */
45714 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45715 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45716 #define $ac_func innocuous_$ac_func
45717
45718 /* System header to define __stub macros and hopefully few prototypes,
45719 which can conflict with char $ac_func (); below.
45720 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45721 <limits.h> exists even on freestanding compilers. */
45722
45723 #ifdef __STDC__
45724 # include <limits.h>
45725 #else
45726 # include <assert.h>
45727 #endif
45728
45729 #undef $ac_func
45730
45731 /* Override any GCC internal prototype to avoid an error.
45732 Use char because int might match the return type of a GCC
45733 builtin and then its argument prototype would still apply. */
45734 #ifdef __cplusplus
45735 extern "C"
45736 #endif
45737 char $ac_func ();
45738 /* The GNU C library defines this for functions which it implements
45739 to always fail with ENOSYS. Some functions are actually named
45740 something starting with __ and the normal name is an alias. */
45741 #if defined __stub_$ac_func || defined __stub___$ac_func
45742 choke me
45743 #endif
45744
45745 int
45746 main ()
45747 {
45748 return $ac_func ();
45749 ;
45750 return 0;
45751 }
45752 _ACEOF
45753 rm -f conftest.$ac_objext conftest$ac_exeext
45754 if { (ac_try="$ac_link"
45755 case "(($ac_try" in
45756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45757 *) ac_try_echo=$ac_try;;
45758 esac
45759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45760 (eval "$ac_link") 2>conftest.er1
45761 ac_status=$?
45762 grep -v '^ *+' conftest.er1 >conftest.err
45763 rm -f conftest.er1
45764 cat conftest.err >&5
45765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45766 (exit $ac_status); } && {
45767 test -z "$ac_c_werror_flag" ||
45768 test ! -s conftest.err
45769 } && test -s conftest$ac_exeext &&
45770 $as_test_x conftest$ac_exeext; then
45771 eval "$as_ac_var=yes"
45772 else
45773 echo "$as_me: failed program was:" >&5
45774 sed 's/^/| /' conftest.$ac_ext >&5
45775
45776 eval "$as_ac_var=no"
45777 fi
45778
45779 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45780 conftest$ac_exeext conftest.$ac_ext
45781 fi
45782 ac_res=`eval echo '${'$as_ac_var'}'`
45783 { echo "$as_me:$LINENO: result: $ac_res" >&5
45784 echo "${ECHO_T}$ac_res" >&6; }
45785 if test `eval echo '${'$as_ac_var'}'` = yes; then
45786 cat >>confdefs.h <<_ACEOF
45787 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45788 _ACEOF
45789 break
45790 fi
45791 done
45792
45793
45794 if test "$ac_cv_func_gettimeofday" = "yes"; then
45795 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
45796 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
45797 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
45798 echo $ECHO_N "(cached) $ECHO_C" >&6
45799 else
45800
45801 cat >conftest.$ac_ext <<_ACEOF
45802 /* confdefs.h. */
45803 _ACEOF
45804 cat confdefs.h >>conftest.$ac_ext
45805 cat >>conftest.$ac_ext <<_ACEOF
45806 /* end confdefs.h. */
45807
45808 #include <sys/time.h>
45809 #include <unistd.h>
45810
45811 int
45812 main ()
45813 {
45814
45815 struct timeval tv;
45816 gettimeofday(&tv, NULL);
45817
45818 ;
45819 return 0;
45820 }
45821 _ACEOF
45822 rm -f conftest.$ac_objext
45823 if { (ac_try="$ac_compile"
45824 case "(($ac_try" in
45825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45826 *) ac_try_echo=$ac_try;;
45827 esac
45828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45829 (eval "$ac_compile") 2>conftest.er1
45830 ac_status=$?
45831 grep -v '^ *+' conftest.er1 >conftest.err
45832 rm -f conftest.er1
45833 cat conftest.err >&5
45834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45835 (exit $ac_status); } && {
45836 test -z "$ac_c_werror_flag" ||
45837 test ! -s conftest.err
45838 } && test -s conftest.$ac_objext; then
45839 wx_cv_func_gettimeofday_has_2_args=yes
45840 else
45841 echo "$as_me: failed program was:" >&5
45842 sed 's/^/| /' conftest.$ac_ext >&5
45843
45844 cat >conftest.$ac_ext <<_ACEOF
45845 /* confdefs.h. */
45846 _ACEOF
45847 cat confdefs.h >>conftest.$ac_ext
45848 cat >>conftest.$ac_ext <<_ACEOF
45849 /* end confdefs.h. */
45850
45851 #include <sys/time.h>
45852 #include <unistd.h>
45853
45854 int
45855 main ()
45856 {
45857
45858 struct timeval tv;
45859 gettimeofday(&tv);
45860
45861 ;
45862 return 0;
45863 }
45864 _ACEOF
45865 rm -f conftest.$ac_objext
45866 if { (ac_try="$ac_compile"
45867 case "(($ac_try" in
45868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45869 *) ac_try_echo=$ac_try;;
45870 esac
45871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45872 (eval "$ac_compile") 2>conftest.er1
45873 ac_status=$?
45874 grep -v '^ *+' conftest.er1 >conftest.err
45875 rm -f conftest.er1
45876 cat conftest.err >&5
45877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45878 (exit $ac_status); } && {
45879 test -z "$ac_c_werror_flag" ||
45880 test ! -s conftest.err
45881 } && test -s conftest.$ac_objext; then
45882 wx_cv_func_gettimeofday_has_2_args=no
45883 else
45884 echo "$as_me: failed program was:" >&5
45885 sed 's/^/| /' conftest.$ac_ext >&5
45886
45887
45888 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
45889 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
45890 wx_cv_func_gettimeofday_has_2_args=unknown
45891
45892
45893 fi
45894
45895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45896
45897 fi
45898
45899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45900
45901 fi
45902 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
45903 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
45904
45905 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
45906 cat >>confdefs.h <<\_ACEOF
45907 #define WX_GETTIMEOFDAY_NO_TZ 1
45908 _ACEOF
45909
45910 fi
45911 fi
45912
45913 if test "$wxUSE_DATETIME" = "yes"; then
45914 { echo "$as_me:$LINENO: checking for strptime" >&5
45915 echo $ECHO_N "checking for strptime... $ECHO_C" >&6; }
45916 if test "${ac_cv_func_strptime+set}" = set; then
45917 echo $ECHO_N "(cached) $ECHO_C" >&6
45918 else
45919 cat >conftest.$ac_ext <<_ACEOF
45920 /* confdefs.h. */
45921 _ACEOF
45922 cat confdefs.h >>conftest.$ac_ext
45923 cat >>conftest.$ac_ext <<_ACEOF
45924 /* end confdefs.h. */
45925 /* Define strptime to an innocuous variant, in case <limits.h> declares strptime.
45926 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45927 #define strptime innocuous_strptime
45928
45929 /* System header to define __stub macros and hopefully few prototypes,
45930 which can conflict with char strptime (); below.
45931 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45932 <limits.h> exists even on freestanding compilers. */
45933
45934 #ifdef __STDC__
45935 # include <limits.h>
45936 #else
45937 # include <assert.h>
45938 #endif
45939
45940 #undef strptime
45941
45942 /* Override any GCC internal prototype to avoid an error.
45943 Use char because int might match the return type of a GCC
45944 builtin and then its argument prototype would still apply. */
45945 #ifdef __cplusplus
45946 extern "C"
45947 #endif
45948 char strptime ();
45949 /* The GNU C library defines this for functions which it implements
45950 to always fail with ENOSYS. Some functions are actually named
45951 something starting with __ and the normal name is an alias. */
45952 #if defined __stub_strptime || defined __stub___strptime
45953 choke me
45954 #endif
45955
45956 int
45957 main ()
45958 {
45959 return strptime ();
45960 ;
45961 return 0;
45962 }
45963 _ACEOF
45964 rm -f conftest.$ac_objext conftest$ac_exeext
45965 if { (ac_try="$ac_link"
45966 case "(($ac_try" in
45967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45968 *) ac_try_echo=$ac_try;;
45969 esac
45970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45971 (eval "$ac_link") 2>conftest.er1
45972 ac_status=$?
45973 grep -v '^ *+' conftest.er1 >conftest.err
45974 rm -f conftest.er1
45975 cat conftest.err >&5
45976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45977 (exit $ac_status); } && {
45978 test -z "$ac_c_werror_flag" ||
45979 test ! -s conftest.err
45980 } && test -s conftest$ac_exeext &&
45981 $as_test_x conftest$ac_exeext; then
45982 ac_cv_func_strptime=yes
45983 else
45984 echo "$as_me: failed program was:" >&5
45985 sed 's/^/| /' conftest.$ac_ext >&5
45986
45987 ac_cv_func_strptime=no
45988 fi
45989
45990 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45991 conftest$ac_exeext conftest.$ac_ext
45992 fi
45993 { echo "$as_me:$LINENO: result: $ac_cv_func_strptime" >&5
45994 echo "${ECHO_T}$ac_cv_func_strptime" >&6; }
45995
45996 if test "$ac_cv_func_strptime" = "yes"; then
45997 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
45998 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
45999 if test "${wx_cv_func_strptime_decl+set}" = set; then
46000 echo $ECHO_N "(cached) $ECHO_C" >&6
46001 else
46002
46003 ac_ext=cpp
46004 ac_cpp='$CXXCPP $CPPFLAGS'
46005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46008
46009 cat >conftest.$ac_ext <<_ACEOF
46010 /* confdefs.h. */
46011 _ACEOF
46012 cat confdefs.h >>conftest.$ac_ext
46013 cat >>conftest.$ac_ext <<_ACEOF
46014 /* end confdefs.h. */
46015
46016 #include <time.h>
46017
46018 int
46019 main ()
46020 {
46021
46022 struct tm t;
46023 strptime("foo", "bar", &t);
46024
46025 ;
46026 return 0;
46027 }
46028 _ACEOF
46029 rm -f conftest.$ac_objext
46030 if { (ac_try="$ac_compile"
46031 case "(($ac_try" in
46032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46033 *) ac_try_echo=$ac_try;;
46034 esac
46035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46036 (eval "$ac_compile") 2>conftest.er1
46037 ac_status=$?
46038 grep -v '^ *+' conftest.er1 >conftest.err
46039 rm -f conftest.er1
46040 cat conftest.err >&5
46041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46042 (exit $ac_status); } && {
46043 test -z "$ac_cxx_werror_flag" ||
46044 test ! -s conftest.err
46045 } && test -s conftest.$ac_objext; then
46046 wx_cv_func_strptime_decl=yes
46047 else
46048 echo "$as_me: failed program was:" >&5
46049 sed 's/^/| /' conftest.$ac_ext >&5
46050
46051 wx_cv_func_strptime_decl=no
46052
46053 fi
46054
46055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46056 ac_ext=c
46057 ac_cpp='$CPP $CPPFLAGS'
46058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46061
46062
46063
46064 fi
46065 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
46066 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
46067 fi
46068 if test "$wx_cv_func_strptime_decl" = "yes"; then
46069 cat >>confdefs.h <<\_ACEOF
46070 #define HAVE_STRPTIME_DECL 1
46071 _ACEOF
46072
46073 else
46074 wx_strptime_decl="extern char *strptime(const char *, const char *, struct tm *);"
46075 fi
46076 if test "$ac_cv_func_strptime" = "yes"; then
46077 { echo "$as_me:$LINENO: checking whether strptime() fails on invalid strings" >&5
46078 echo $ECHO_N "checking whether strptime() fails on invalid strings... $ECHO_C" >&6; }
46079 if test "${wx_cv_func_strptime_ok+set}" = set; then
46080 echo $ECHO_N "(cached) $ECHO_C" >&6
46081 else
46082 if test "$cross_compiling" = yes; then
46083 wx_cv_func_strptime_ok=no
46084
46085 else
46086 cat >conftest.$ac_ext <<_ACEOF
46087
46088 #include <stdlib.h>
46089 #include <time.h>
46090 #include "confdefs.h"
46091
46092 $wx_strptime_decl
46093
46094 int main()
46095 {
46096 struct tm t;
46097 return !!strptime("", "%x", &t);
46098 }
46099
46100 _ACEOF
46101 rm -f conftest$ac_exeext
46102 if { (ac_try="$ac_link"
46103 case "(($ac_try" in
46104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46105 *) ac_try_echo=$ac_try;;
46106 esac
46107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46108 (eval "$ac_link") 2>&5
46109 ac_status=$?
46110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46111 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
46112 { (case "(($ac_try" in
46113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46114 *) ac_try_echo=$ac_try;;
46115 esac
46116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46117 (eval "$ac_try") 2>&5
46118 ac_status=$?
46119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46120 (exit $ac_status); }; }; then
46121 wx_cv_func_strptime_ok=yes
46122 else
46123 echo "$as_me: program exited with status $ac_status" >&5
46124 echo "$as_me: failed program was:" >&5
46125 sed 's/^/| /' conftest.$ac_ext >&5
46126
46127 ( exit $ac_status )
46128 wx_cv_func_strptime_ok=no
46129 fi
46130 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
46131 fi
46132
46133
46134
46135 fi
46136 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_ok" >&5
46137 echo "${ECHO_T}$wx_cv_func_strptime_ok" >&6; }
46138
46139 if test "$wx_cv_func_strptime_ok" = "yes"; then
46140 cat >>confdefs.h <<\_ACEOF
46141 #define HAVE_STRPTIME 1
46142 _ACEOF
46143
46144 fi
46145 fi
46146
46147 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
46148 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
46149 if test "${wx_cv_var_timezone+set}" = set; then
46150 echo $ECHO_N "(cached) $ECHO_C" >&6
46151 else
46152
46153 ac_ext=cpp
46154 ac_cpp='$CXXCPP $CPPFLAGS'
46155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46158
46159 cat >conftest.$ac_ext <<_ACEOF
46160 /* confdefs.h. */
46161 _ACEOF
46162 cat confdefs.h >>conftest.$ac_ext
46163 cat >>conftest.$ac_ext <<_ACEOF
46164 /* end confdefs.h. */
46165
46166 #include <time.h>
46167
46168 int
46169 main ()
46170 {
46171
46172 int tz;
46173 tz = timezone;
46174
46175 ;
46176 return 0;
46177 }
46178 _ACEOF
46179 rm -f conftest.$ac_objext
46180 if { (ac_try="$ac_compile"
46181 case "(($ac_try" in
46182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46183 *) ac_try_echo=$ac_try;;
46184 esac
46185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46186 (eval "$ac_compile") 2>conftest.er1
46187 ac_status=$?
46188 grep -v '^ *+' conftest.er1 >conftest.err
46189 rm -f conftest.er1
46190 cat conftest.err >&5
46191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46192 (exit $ac_status); } && {
46193 test -z "$ac_cxx_werror_flag" ||
46194 test ! -s conftest.err
46195 } && test -s conftest.$ac_objext; then
46196
46197 wx_cv_var_timezone=timezone
46198
46199 else
46200 echo "$as_me: failed program was:" >&5
46201 sed 's/^/| /' conftest.$ac_ext >&5
46202
46203
46204 cat >conftest.$ac_ext <<_ACEOF
46205 /* confdefs.h. */
46206 _ACEOF
46207 cat confdefs.h >>conftest.$ac_ext
46208 cat >>conftest.$ac_ext <<_ACEOF
46209 /* end confdefs.h. */
46210
46211 #include <time.h>
46212
46213 int
46214 main ()
46215 {
46216
46217 int tz;
46218 tz = _timezone;
46219
46220 ;
46221 return 0;
46222 }
46223 _ACEOF
46224 rm -f conftest.$ac_objext
46225 if { (ac_try="$ac_compile"
46226 case "(($ac_try" in
46227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46228 *) ac_try_echo=$ac_try;;
46229 esac
46230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46231 (eval "$ac_compile") 2>conftest.er1
46232 ac_status=$?
46233 grep -v '^ *+' conftest.er1 >conftest.err
46234 rm -f conftest.er1
46235 cat conftest.err >&5
46236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46237 (exit $ac_status); } && {
46238 test -z "$ac_cxx_werror_flag" ||
46239 test ! -s conftest.err
46240 } && test -s conftest.$ac_objext; then
46241
46242 wx_cv_var_timezone=_timezone
46243
46244 else
46245 echo "$as_me: failed program was:" >&5
46246 sed 's/^/| /' conftest.$ac_ext >&5
46247
46248
46249 cat >conftest.$ac_ext <<_ACEOF
46250 /* confdefs.h. */
46251 _ACEOF
46252 cat confdefs.h >>conftest.$ac_ext
46253 cat >>conftest.$ac_ext <<_ACEOF
46254 /* end confdefs.h. */
46255
46256 #include <time.h>
46257
46258 int
46259 main ()
46260 {
46261
46262 int tz;
46263 tz = __timezone;
46264
46265 ;
46266 return 0;
46267 }
46268 _ACEOF
46269 rm -f conftest.$ac_objext
46270 if { (ac_try="$ac_compile"
46271 case "(($ac_try" in
46272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46273 *) ac_try_echo=$ac_try;;
46274 esac
46275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46276 (eval "$ac_compile") 2>conftest.er1
46277 ac_status=$?
46278 grep -v '^ *+' conftest.er1 >conftest.err
46279 rm -f conftest.er1
46280 cat conftest.err >&5
46281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46282 (exit $ac_status); } && {
46283 test -z "$ac_cxx_werror_flag" ||
46284 test ! -s conftest.err
46285 } && test -s conftest.$ac_objext; then
46286
46287 wx_cv_var_timezone=__timezone
46288
46289 else
46290 echo "$as_me: failed program was:" >&5
46291 sed 's/^/| /' conftest.$ac_ext >&5
46292
46293
46294 if test "$USE_DOS" = 0 ; then
46295 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
46296 echo "$as_me: WARNING: no timezone variable" >&2;}
46297 fi
46298
46299
46300 fi
46301
46302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46303
46304
46305 fi
46306
46307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46308
46309
46310 fi
46311
46312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46313 ac_ext=c
46314 ac_cpp='$CPP $CPPFLAGS'
46315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46318
46319
46320
46321 fi
46322 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
46323 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
46324
46325 if test "x$wx_cv_var_timezone" != x ; then
46326 cat >>confdefs.h <<_ACEOF
46327 #define WX_TIMEZONE $wx_cv_var_timezone
46328 _ACEOF
46329
46330 fi
46331
46332
46333 for ac_func in localtime
46334 do
46335 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46336 { echo "$as_me:$LINENO: checking for $ac_func" >&5
46337 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
46338 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
46339 echo $ECHO_N "(cached) $ECHO_C" >&6
46340 else
46341 cat >conftest.$ac_ext <<_ACEOF
46342 /* confdefs.h. */
46343 _ACEOF
46344 cat confdefs.h >>conftest.$ac_ext
46345 cat >>conftest.$ac_ext <<_ACEOF
46346 /* end confdefs.h. */
46347 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46348 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46349 #define $ac_func innocuous_$ac_func
46350
46351 /* System header to define __stub macros and hopefully few prototypes,
46352 which can conflict with char $ac_func (); below.
46353 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46354 <limits.h> exists even on freestanding compilers. */
46355
46356 #ifdef __STDC__
46357 # include <limits.h>
46358 #else
46359 # include <assert.h>
46360 #endif
46361
46362 #undef $ac_func
46363
46364 /* Override any GCC internal prototype to avoid an error.
46365 Use char because int might match the return type of a GCC
46366 builtin and then its argument prototype would still apply. */
46367 #ifdef __cplusplus
46368 extern "C"
46369 #endif
46370 char $ac_func ();
46371 /* The GNU C library defines this for functions which it implements
46372 to always fail with ENOSYS. Some functions are actually named
46373 something starting with __ and the normal name is an alias. */
46374 #if defined __stub_$ac_func || defined __stub___$ac_func
46375 choke me
46376 #endif
46377
46378 int
46379 main ()
46380 {
46381 return $ac_func ();
46382 ;
46383 return 0;
46384 }
46385 _ACEOF
46386 rm -f conftest.$ac_objext conftest$ac_exeext
46387 if { (ac_try="$ac_link"
46388 case "(($ac_try" in
46389 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46390 *) ac_try_echo=$ac_try;;
46391 esac
46392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46393 (eval "$ac_link") 2>conftest.er1
46394 ac_status=$?
46395 grep -v '^ *+' conftest.er1 >conftest.err
46396 rm -f conftest.er1
46397 cat conftest.err >&5
46398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46399 (exit $ac_status); } && {
46400 test -z "$ac_c_werror_flag" ||
46401 test ! -s conftest.err
46402 } && test -s conftest$ac_exeext &&
46403 $as_test_x conftest$ac_exeext; then
46404 eval "$as_ac_var=yes"
46405 else
46406 echo "$as_me: failed program was:" >&5
46407 sed 's/^/| /' conftest.$ac_ext >&5
46408
46409 eval "$as_ac_var=no"
46410 fi
46411
46412 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46413 conftest$ac_exeext conftest.$ac_ext
46414 fi
46415 ac_res=`eval echo '${'$as_ac_var'}'`
46416 { echo "$as_me:$LINENO: result: $ac_res" >&5
46417 echo "${ECHO_T}$ac_res" >&6; }
46418 if test `eval echo '${'$as_ac_var'}'` = yes; then
46419 cat >>confdefs.h <<_ACEOF
46420 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46421 _ACEOF
46422
46423 fi
46424 done
46425
46426
46427 if test "$ac_cv_func_localtime" = "yes"; then
46428 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
46429 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
46430 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
46431 echo $ECHO_N "(cached) $ECHO_C" >&6
46432 else
46433
46434 cat >conftest.$ac_ext <<_ACEOF
46435 /* confdefs.h. */
46436 _ACEOF
46437 cat confdefs.h >>conftest.$ac_ext
46438 cat >>conftest.$ac_ext <<_ACEOF
46439 /* end confdefs.h. */
46440
46441 #include <time.h>
46442
46443 int
46444 main ()
46445 {
46446
46447 struct tm tm;
46448 tm.tm_gmtoff++;
46449
46450 ;
46451 return 0;
46452 }
46453 _ACEOF
46454 rm -f conftest.$ac_objext
46455 if { (ac_try="$ac_compile"
46456 case "(($ac_try" in
46457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46458 *) ac_try_echo=$ac_try;;
46459 esac
46460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46461 (eval "$ac_compile") 2>conftest.er1
46462 ac_status=$?
46463 grep -v '^ *+' conftest.er1 >conftest.err
46464 rm -f conftest.er1
46465 cat conftest.err >&5
46466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46467 (exit $ac_status); } && {
46468 test -z "$ac_c_werror_flag" ||
46469 test ! -s conftest.err
46470 } && test -s conftest.$ac_objext; then
46471
46472 wx_cv_struct_tm_has_gmtoff=yes
46473
46474 else
46475 echo "$as_me: failed program was:" >&5
46476 sed 's/^/| /' conftest.$ac_ext >&5
46477
46478 wx_cv_struct_tm_has_gmtoff=no
46479
46480 fi
46481
46482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46483
46484 fi
46485 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
46486 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
46487 fi
46488
46489 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
46490 cat >>confdefs.h <<\_ACEOF
46491 #define WX_GMTOFF_IN_TM 1
46492 _ACEOF
46493
46494 fi
46495
46496 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
46497 fi
46498
46499
46500 if test "$wxUSE_SOCKETS" = "yes"; then
46501 if test "$wxUSE_MGL" = 1; then
46502 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
46503 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
46504 wxUSE_SOCKETS="no"
46505 fi
46506 fi
46507
46508 if test "$wxUSE_SOCKETS" = "yes"; then
46509 if test "$TOOLKIT" != "MSW"; then
46510 { echo "$as_me:$LINENO: checking for socket" >&5
46511 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
46512 if test "${ac_cv_func_socket+set}" = set; then
46513 echo $ECHO_N "(cached) $ECHO_C" >&6
46514 else
46515 cat >conftest.$ac_ext <<_ACEOF
46516 /* confdefs.h. */
46517 _ACEOF
46518 cat confdefs.h >>conftest.$ac_ext
46519 cat >>conftest.$ac_ext <<_ACEOF
46520 /* end confdefs.h. */
46521 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
46522 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46523 #define socket innocuous_socket
46524
46525 /* System header to define __stub macros and hopefully few prototypes,
46526 which can conflict with char socket (); below.
46527 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46528 <limits.h> exists even on freestanding compilers. */
46529
46530 #ifdef __STDC__
46531 # include <limits.h>
46532 #else
46533 # include <assert.h>
46534 #endif
46535
46536 #undef socket
46537
46538 /* Override any GCC internal prototype to avoid an error.
46539 Use char because int might match the return type of a GCC
46540 builtin and then its argument prototype would still apply. */
46541 #ifdef __cplusplus
46542 extern "C"
46543 #endif
46544 char socket ();
46545 /* The GNU C library defines this for functions which it implements
46546 to always fail with ENOSYS. Some functions are actually named
46547 something starting with __ and the normal name is an alias. */
46548 #if defined __stub_socket || defined __stub___socket
46549 choke me
46550 #endif
46551
46552 int
46553 main ()
46554 {
46555 return socket ();
46556 ;
46557 return 0;
46558 }
46559 _ACEOF
46560 rm -f conftest.$ac_objext conftest$ac_exeext
46561 if { (ac_try="$ac_link"
46562 case "(($ac_try" in
46563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46564 *) ac_try_echo=$ac_try;;
46565 esac
46566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46567 (eval "$ac_link") 2>conftest.er1
46568 ac_status=$?
46569 grep -v '^ *+' conftest.er1 >conftest.err
46570 rm -f conftest.er1
46571 cat conftest.err >&5
46572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46573 (exit $ac_status); } && {
46574 test -z "$ac_c_werror_flag" ||
46575 test ! -s conftest.err
46576 } && test -s conftest$ac_exeext &&
46577 $as_test_x conftest$ac_exeext; then
46578 ac_cv_func_socket=yes
46579 else
46580 echo "$as_me: failed program was:" >&5
46581 sed 's/^/| /' conftest.$ac_ext >&5
46582
46583 ac_cv_func_socket=no
46584 fi
46585
46586 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46587 conftest$ac_exeext conftest.$ac_ext
46588 fi
46589 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
46590 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
46591 if test $ac_cv_func_socket = yes; then
46592 :
46593 else
46594
46595 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
46596 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
46597 if test "${ac_cv_lib_socket_socket+set}" = set; then
46598 echo $ECHO_N "(cached) $ECHO_C" >&6
46599 else
46600 ac_check_lib_save_LIBS=$LIBS
46601 LIBS="-lsocket $LIBS"
46602 cat >conftest.$ac_ext <<_ACEOF
46603 /* confdefs.h. */
46604 _ACEOF
46605 cat confdefs.h >>conftest.$ac_ext
46606 cat >>conftest.$ac_ext <<_ACEOF
46607 /* end confdefs.h. */
46608
46609 /* Override any GCC internal prototype to avoid an error.
46610 Use char because int might match the return type of a GCC
46611 builtin and then its argument prototype would still apply. */
46612 #ifdef __cplusplus
46613 extern "C"
46614 #endif
46615 char socket ();
46616 int
46617 main ()
46618 {
46619 return socket ();
46620 ;
46621 return 0;
46622 }
46623 _ACEOF
46624 rm -f conftest.$ac_objext conftest$ac_exeext
46625 if { (ac_try="$ac_link"
46626 case "(($ac_try" in
46627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46628 *) ac_try_echo=$ac_try;;
46629 esac
46630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46631 (eval "$ac_link") 2>conftest.er1
46632 ac_status=$?
46633 grep -v '^ *+' conftest.er1 >conftest.err
46634 rm -f conftest.er1
46635 cat conftest.err >&5
46636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46637 (exit $ac_status); } && {
46638 test -z "$ac_c_werror_flag" ||
46639 test ! -s conftest.err
46640 } && test -s conftest$ac_exeext &&
46641 $as_test_x conftest$ac_exeext; then
46642 ac_cv_lib_socket_socket=yes
46643 else
46644 echo "$as_me: failed program was:" >&5
46645 sed 's/^/| /' conftest.$ac_ext >&5
46646
46647 ac_cv_lib_socket_socket=no
46648 fi
46649
46650 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46651 conftest$ac_exeext conftest.$ac_ext
46652 LIBS=$ac_check_lib_save_LIBS
46653 fi
46654 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
46655 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
46656 if test $ac_cv_lib_socket_socket = yes; then
46657 if test "$INET_LINK" != " -lsocket"; then
46658 INET_LINK="$INET_LINK -lsocket"
46659 fi
46660 else
46661
46662 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
46663 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
46664 wxUSE_SOCKETS=no
46665
46666
46667 fi
46668
46669
46670
46671 fi
46672
46673 fi
46674 fi
46675
46676 if test "$wxUSE_SOCKETS" = "yes" ; then
46677 if test "$TOOLKIT" != "MSW"; then
46678 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
46679 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
46680 if test "${wx_cv_type_getsockname3+set}" = set; then
46681 echo $ECHO_N "(cached) $ECHO_C" >&6
46682 else
46683
46684 ac_ext=cpp
46685 ac_cpp='$CXXCPP $CPPFLAGS'
46686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46689
46690 cat >conftest.$ac_ext <<_ACEOF
46691 /* confdefs.h. */
46692 _ACEOF
46693 cat confdefs.h >>conftest.$ac_ext
46694 cat >>conftest.$ac_ext <<_ACEOF
46695 /* end confdefs.h. */
46696
46697 #include <sys/types.h>
46698 #include <sys/socket.h>
46699
46700 int
46701 main ()
46702 {
46703
46704 socklen_t len;
46705 getsockname(0, 0, &len);
46706
46707 ;
46708 return 0;
46709 }
46710 _ACEOF
46711 rm -f conftest.$ac_objext
46712 if { (ac_try="$ac_compile"
46713 case "(($ac_try" in
46714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46715 *) ac_try_echo=$ac_try;;
46716 esac
46717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46718 (eval "$ac_compile") 2>conftest.er1
46719 ac_status=$?
46720 grep -v '^ *+' conftest.er1 >conftest.err
46721 rm -f conftest.er1
46722 cat conftest.err >&5
46723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46724 (exit $ac_status); } && {
46725 test -z "$ac_cxx_werror_flag" ||
46726 test ! -s conftest.err
46727 } && test -s conftest.$ac_objext; then
46728 wx_cv_type_getsockname3=socklen_t
46729 else
46730 echo "$as_me: failed program was:" >&5
46731 sed 's/^/| /' conftest.$ac_ext >&5
46732
46733
46734 CFLAGS_OLD="$CFLAGS"
46735 if test "$GCC" = yes ; then
46736 CFLAGS="-Werror $CFLAGS"
46737 fi
46738
46739 cat >conftest.$ac_ext <<_ACEOF
46740 /* confdefs.h. */
46741 _ACEOF
46742 cat confdefs.h >>conftest.$ac_ext
46743 cat >>conftest.$ac_ext <<_ACEOF
46744 /* end confdefs.h. */
46745
46746 #include <sys/types.h>
46747 #include <sys/socket.h>
46748
46749 int
46750 main ()
46751 {
46752
46753 size_t len;
46754 getsockname(0, 0, &len);
46755
46756 ;
46757 return 0;
46758 }
46759 _ACEOF
46760 rm -f conftest.$ac_objext
46761 if { (ac_try="$ac_compile"
46762 case "(($ac_try" in
46763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46764 *) ac_try_echo=$ac_try;;
46765 esac
46766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46767 (eval "$ac_compile") 2>conftest.er1
46768 ac_status=$?
46769 grep -v '^ *+' conftest.er1 >conftest.err
46770 rm -f conftest.er1
46771 cat conftest.err >&5
46772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46773 (exit $ac_status); } && {
46774 test -z "$ac_cxx_werror_flag" ||
46775 test ! -s conftest.err
46776 } && test -s conftest.$ac_objext; then
46777 wx_cv_type_getsockname3=size_t
46778 else
46779 echo "$as_me: failed program was:" >&5
46780 sed 's/^/| /' conftest.$ac_ext >&5
46781
46782 cat >conftest.$ac_ext <<_ACEOF
46783 /* confdefs.h. */
46784 _ACEOF
46785 cat confdefs.h >>conftest.$ac_ext
46786 cat >>conftest.$ac_ext <<_ACEOF
46787 /* end confdefs.h. */
46788
46789 #include <sys/types.h>
46790 #include <sys/socket.h>
46791
46792 int
46793 main ()
46794 {
46795
46796 int len;
46797 getsockname(0, 0, &len);
46798
46799 ;
46800 return 0;
46801 }
46802 _ACEOF
46803 rm -f conftest.$ac_objext
46804 if { (ac_try="$ac_compile"
46805 case "(($ac_try" in
46806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46807 *) ac_try_echo=$ac_try;;
46808 esac
46809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46810 (eval "$ac_compile") 2>conftest.er1
46811 ac_status=$?
46812 grep -v '^ *+' conftest.er1 >conftest.err
46813 rm -f conftest.er1
46814 cat conftest.err >&5
46815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46816 (exit $ac_status); } && {
46817 test -z "$ac_cxx_werror_flag" ||
46818 test ! -s conftest.err
46819 } && test -s conftest.$ac_objext; then
46820 wx_cv_type_getsockname3=int
46821 else
46822 echo "$as_me: failed program was:" >&5
46823 sed 's/^/| /' conftest.$ac_ext >&5
46824
46825 wx_cv_type_getsockname3=unknown
46826
46827 fi
46828
46829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46830
46831 fi
46832
46833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46834
46835 CFLAGS="$CFLAGS_OLD"
46836
46837
46838 fi
46839
46840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46841 ac_ext=c
46842 ac_cpp='$CPP $CPPFLAGS'
46843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46846
46847
46848 fi
46849 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
46850 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
46851
46852 if test "$wx_cv_type_getsockname3" = "unknown"; then
46853 wxUSE_SOCKETS=no
46854 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
46855 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
46856 else
46857 cat >>confdefs.h <<_ACEOF
46858 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
46859 _ACEOF
46860
46861 fi
46862 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
46863 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
46864 if test "${wx_cv_type_getsockopt5+set}" = set; then
46865 echo $ECHO_N "(cached) $ECHO_C" >&6
46866 else
46867
46868 ac_ext=cpp
46869 ac_cpp='$CXXCPP $CPPFLAGS'
46870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46873
46874 cat >conftest.$ac_ext <<_ACEOF
46875 /* confdefs.h. */
46876 _ACEOF
46877 cat confdefs.h >>conftest.$ac_ext
46878 cat >>conftest.$ac_ext <<_ACEOF
46879 /* end confdefs.h. */
46880
46881 #include <sys/types.h>
46882 #include <sys/socket.h>
46883
46884 int
46885 main ()
46886 {
46887
46888 socklen_t len;
46889 getsockopt(0, 0, 0, 0, &len);
46890
46891 ;
46892 return 0;
46893 }
46894 _ACEOF
46895 rm -f conftest.$ac_objext
46896 if { (ac_try="$ac_compile"
46897 case "(($ac_try" in
46898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46899 *) ac_try_echo=$ac_try;;
46900 esac
46901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46902 (eval "$ac_compile") 2>conftest.er1
46903 ac_status=$?
46904 grep -v '^ *+' conftest.er1 >conftest.err
46905 rm -f conftest.er1
46906 cat conftest.err >&5
46907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46908 (exit $ac_status); } && {
46909 test -z "$ac_cxx_werror_flag" ||
46910 test ! -s conftest.err
46911 } && test -s conftest.$ac_objext; then
46912 wx_cv_type_getsockopt5=socklen_t
46913 else
46914 echo "$as_me: failed program was:" >&5
46915 sed 's/^/| /' conftest.$ac_ext >&5
46916
46917
46918 cat >conftest.$ac_ext <<_ACEOF
46919 /* confdefs.h. */
46920 _ACEOF
46921 cat confdefs.h >>conftest.$ac_ext
46922 cat >>conftest.$ac_ext <<_ACEOF
46923 /* end confdefs.h. */
46924
46925 #include <sys/types.h>
46926 #include <sys/socket.h>
46927
46928 int
46929 main ()
46930 {
46931
46932 size_t len;
46933 getsockopt(0, 0, 0, 0, &len);
46934
46935 ;
46936 return 0;
46937 }
46938 _ACEOF
46939 rm -f conftest.$ac_objext
46940 if { (ac_try="$ac_compile"
46941 case "(($ac_try" in
46942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46943 *) ac_try_echo=$ac_try;;
46944 esac
46945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46946 (eval "$ac_compile") 2>conftest.er1
46947 ac_status=$?
46948 grep -v '^ *+' conftest.er1 >conftest.err
46949 rm -f conftest.er1
46950 cat conftest.err >&5
46951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46952 (exit $ac_status); } && {
46953 test -z "$ac_cxx_werror_flag" ||
46954 test ! -s conftest.err
46955 } && test -s conftest.$ac_objext; then
46956 wx_cv_type_getsockopt5=size_t
46957 else
46958 echo "$as_me: failed program was:" >&5
46959 sed 's/^/| /' conftest.$ac_ext >&5
46960
46961 cat >conftest.$ac_ext <<_ACEOF
46962 /* confdefs.h. */
46963 _ACEOF
46964 cat confdefs.h >>conftest.$ac_ext
46965 cat >>conftest.$ac_ext <<_ACEOF
46966 /* end confdefs.h. */
46967
46968 #include <sys/types.h>
46969 #include <sys/socket.h>
46970
46971 int
46972 main ()
46973 {
46974
46975 int len;
46976 getsockopt(0, 0, 0, 0, &len);
46977
46978 ;
46979 return 0;
46980 }
46981 _ACEOF
46982 rm -f conftest.$ac_objext
46983 if { (ac_try="$ac_compile"
46984 case "(($ac_try" in
46985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46986 *) ac_try_echo=$ac_try;;
46987 esac
46988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46989 (eval "$ac_compile") 2>conftest.er1
46990 ac_status=$?
46991 grep -v '^ *+' conftest.er1 >conftest.err
46992 rm -f conftest.er1
46993 cat conftest.err >&5
46994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46995 (exit $ac_status); } && {
46996 test -z "$ac_cxx_werror_flag" ||
46997 test ! -s conftest.err
46998 } && test -s conftest.$ac_objext; then
46999 wx_cv_type_getsockopt5=int
47000 else
47001 echo "$as_me: failed program was:" >&5
47002 sed 's/^/| /' conftest.$ac_ext >&5
47003
47004 wx_cv_type_getsockopt5=unknown
47005
47006 fi
47007
47008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47009
47010 fi
47011
47012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47013
47014
47015 fi
47016
47017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47018 ac_ext=c
47019 ac_cpp='$CPP $CPPFLAGS'
47020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47023
47024
47025 fi
47026 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
47027 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
47028
47029 if test "$wx_cv_type_getsockopt5" = "unknown"; then
47030 wxUSE_SOCKETS=no
47031 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
47032 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
47033 else
47034 cat >>confdefs.h <<_ACEOF
47035 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
47036 _ACEOF
47037
47038 fi
47039 fi
47040 fi
47041
47042 if test "$wxUSE_SOCKETS" = "yes" ; then
47043 if test "$wxUSE_IPV6" = "yes"; then
47044 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
47045 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
47046 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
47047 echo $ECHO_N "(cached) $ECHO_C" >&6
47048 else
47049
47050 cat >conftest.$ac_ext <<_ACEOF
47051 /* confdefs.h. */
47052 _ACEOF
47053 cat confdefs.h >>conftest.$ac_ext
47054 cat >>conftest.$ac_ext <<_ACEOF
47055 /* end confdefs.h. */
47056
47057 #include <sys/types.h>
47058 #include <sys/socket.h>
47059 #include <netinet/in.h>
47060
47061 int
47062 main ()
47063 {
47064
47065 struct sockaddr_in6 sa6;
47066
47067 ;
47068 return 0;
47069 }
47070 _ACEOF
47071 rm -f conftest.$ac_objext
47072 if { (ac_try="$ac_compile"
47073 case "(($ac_try" in
47074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47075 *) ac_try_echo=$ac_try;;
47076 esac
47077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47078 (eval "$ac_compile") 2>conftest.er1
47079 ac_status=$?
47080 grep -v '^ *+' conftest.er1 >conftest.err
47081 rm -f conftest.er1
47082 cat conftest.err >&5
47083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47084 (exit $ac_status); } && {
47085 test -z "$ac_c_werror_flag" ||
47086 test ! -s conftest.err
47087 } && test -s conftest.$ac_objext; then
47088 wx_cv_type_sockaddr_in6=yes
47089 else
47090 echo "$as_me: failed program was:" >&5
47091 sed 's/^/| /' conftest.$ac_ext >&5
47092
47093 wx_cv_type_sockaddr_in6=no
47094
47095 fi
47096
47097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47098
47099
47100 fi
47101 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
47102 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
47103
47104 if test "$wx_cv_type_sockaddr_in6"="yes"; then
47105 cat >>confdefs.h <<\_ACEOF
47106 #define wxUSE_IPV6 1
47107 _ACEOF
47108
47109 else
47110 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
47111 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
47112 fi
47113 fi
47114
47115 cat >>confdefs.h <<\_ACEOF
47116 #define wxUSE_SOCKETS 1
47117 _ACEOF
47118
47119 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
47120 fi
47121
47122 if test "$wxUSE_PROTOCOL" = "yes"; then
47123 if test "$wxUSE_SOCKETS" != "yes"; then
47124 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
47125 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
47126 wxUSE_PROTOCOL=no
47127 fi
47128 fi
47129
47130 if test "$wxUSE_PROTOCOL" = "yes"; then
47131 cat >>confdefs.h <<\_ACEOF
47132 #define wxUSE_PROTOCOL 1
47133 _ACEOF
47134
47135
47136 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
47137 cat >>confdefs.h <<\_ACEOF
47138 #define wxUSE_PROTOCOL_HTTP 1
47139 _ACEOF
47140
47141 fi
47142 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
47143 cat >>confdefs.h <<\_ACEOF
47144 #define wxUSE_PROTOCOL_FTP 1
47145 _ACEOF
47146
47147 fi
47148 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
47149 cat >>confdefs.h <<\_ACEOF
47150 #define wxUSE_PROTOCOL_FILE 1
47151 _ACEOF
47152
47153 fi
47154 else
47155 if test "$wxUSE_FS_INET" = "yes"; then
47156 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
47157 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
47158 wxUSE_FS_INET="no"
47159 fi
47160 fi
47161
47162 if test "$wxUSE_URL" = "yes"; then
47163 if test "$wxUSE_PROTOCOL" != "yes"; then
47164 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
47165 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
47166 wxUSE_URL=no
47167 fi
47168 if test "$wxUSE_URL" = "yes"; then
47169 cat >>confdefs.h <<\_ACEOF
47170 #define wxUSE_URL 1
47171 _ACEOF
47172
47173 fi
47174 fi
47175
47176 if test "$wxUSE_VARIANT" = "yes"; then
47177 cat >>confdefs.h <<\_ACEOF
47178 #define wxUSE_VARIANT 1
47179 _ACEOF
47180
47181 fi
47182
47183 if test "$wxUSE_FS_INET" = "yes"; then
47184 cat >>confdefs.h <<\_ACEOF
47185 #define wxUSE_FS_INET 1
47186 _ACEOF
47187
47188 fi
47189
47190
47191 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
47192 wxUSE_JOYSTICK=no
47193
47194 if test "$TOOLKIT" = "MSW"; then
47195 wxUSE_JOYSTICK=yes
47196
47197 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
47198 if test "$USE_DARWIN" = 1; then
47199 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
47200 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
47201 ac_ext=cpp
47202 ac_cpp='$CXXCPP $CPPFLAGS'
47203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47206
47207 cat >conftest.$ac_ext <<_ACEOF
47208 /* confdefs.h. */
47209 _ACEOF
47210 cat confdefs.h >>conftest.$ac_ext
47211 cat >>conftest.$ac_ext <<_ACEOF
47212 /* end confdefs.h. */
47213 #include <IOKit/hid/IOHIDLib.h>
47214 int
47215 main ()
47216 {
47217 IOHIDQueueInterface *qi = NULL;
47218 IOHIDCallbackFunction cb = NULL;
47219 qi->setEventCallout(NULL, cb, NULL, NULL);
47220 ;
47221 return 0;
47222 }
47223 _ACEOF
47224 rm -f conftest.$ac_objext
47225 if { (ac_try="$ac_compile"
47226 case "(($ac_try" in
47227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47228 *) ac_try_echo=$ac_try;;
47229 esac
47230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47231 (eval "$ac_compile") 2>conftest.er1
47232 ac_status=$?
47233 grep -v '^ *+' conftest.er1 >conftest.err
47234 rm -f conftest.er1
47235 cat conftest.err >&5
47236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47237 (exit $ac_status); } && {
47238 test -z "$ac_cxx_werror_flag" ||
47239 test ! -s conftest.err
47240 } && test -s conftest.$ac_objext; then
47241 wxUSE_JOYSTICK=yes
47242
47243 else
47244 echo "$as_me: failed program was:" >&5
47245 sed 's/^/| /' conftest.$ac_ext >&5
47246
47247
47248 fi
47249
47250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47251 ac_ext=c
47252 ac_cpp='$CPP $CPPFLAGS'
47253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47256
47257 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
47258 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
47259 fi
47260
47261 else
47262 if test "$wxUSE_MGL" != 1; then
47263
47264 for ac_header in linux/joystick.h
47265 do
47266 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
47267 { echo "$as_me:$LINENO: checking for $ac_header" >&5
47268 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
47269 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
47270 echo $ECHO_N "(cached) $ECHO_C" >&6
47271 else
47272 cat >conftest.$ac_ext <<_ACEOF
47273 /* confdefs.h. */
47274 _ACEOF
47275 cat confdefs.h >>conftest.$ac_ext
47276 cat >>conftest.$ac_ext <<_ACEOF
47277 /* end confdefs.h. */
47278 $ac_includes_default
47279
47280 #include <$ac_header>
47281 _ACEOF
47282 rm -f conftest.$ac_objext
47283 if { (ac_try="$ac_compile"
47284 case "(($ac_try" in
47285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47286 *) ac_try_echo=$ac_try;;
47287 esac
47288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47289 (eval "$ac_compile") 2>conftest.er1
47290 ac_status=$?
47291 grep -v '^ *+' conftest.er1 >conftest.err
47292 rm -f conftest.er1
47293 cat conftest.err >&5
47294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47295 (exit $ac_status); } && {
47296 test -z "$ac_c_werror_flag" ||
47297 test ! -s conftest.err
47298 } && test -s conftest.$ac_objext; then
47299 eval "$as_ac_Header=yes"
47300 else
47301 echo "$as_me: failed program was:" >&5
47302 sed 's/^/| /' conftest.$ac_ext >&5
47303
47304 eval "$as_ac_Header=no"
47305 fi
47306
47307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47308 fi
47309 ac_res=`eval echo '${'$as_ac_Header'}'`
47310 { echo "$as_me:$LINENO: result: $ac_res" >&5
47311 echo "${ECHO_T}$ac_res" >&6; }
47312 if test `eval echo '${'$as_ac_Header'}'` = yes; then
47313 cat >>confdefs.h <<_ACEOF
47314 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
47315 _ACEOF
47316 wxUSE_JOYSTICK=yes
47317 fi
47318
47319 done
47320
47321 fi
47322 fi
47323
47324 if test "$wxUSE_JOYSTICK" = "yes"; then
47325 cat >>confdefs.h <<\_ACEOF
47326 #define wxUSE_JOYSTICK 1
47327 _ACEOF
47328
47329 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
47330 else
47331 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
47332 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
47333 fi
47334 fi
47335
47336
47337
47338 if test "$wxUSE_FONTENUM" = "yes" ; then
47339 cat >>confdefs.h <<\_ACEOF
47340 #define wxUSE_FONTENUM 1
47341 _ACEOF
47342
47343 fi
47344
47345 if test "$wxUSE_FONTMAP" = "yes" ; then
47346 cat >>confdefs.h <<\_ACEOF
47347 #define wxUSE_FONTMAP 1
47348 _ACEOF
47349
47350 fi
47351
47352 if test "$wxUSE_UNICODE" = "yes" ; then
47353 cat >>confdefs.h <<\_ACEOF
47354 #define wxUSE_UNICODE 1
47355 _ACEOF
47356
47357
47358 if test "$USE_WIN32" != 1; then
47359 wxUSE_UNICODE_MSLU=no
47360 fi
47361
47362 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
47363 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
47364 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
47365 if test "${ac_cv_lib_unicows_main+set}" = set; then
47366 echo $ECHO_N "(cached) $ECHO_C" >&6
47367 else
47368 ac_check_lib_save_LIBS=$LIBS
47369 LIBS="-lunicows $LIBS"
47370 cat >conftest.$ac_ext <<_ACEOF
47371 /* confdefs.h. */
47372 _ACEOF
47373 cat confdefs.h >>conftest.$ac_ext
47374 cat >>conftest.$ac_ext <<_ACEOF
47375 /* end confdefs.h. */
47376
47377
47378 int
47379 main ()
47380 {
47381 return main ();
47382 ;
47383 return 0;
47384 }
47385 _ACEOF
47386 rm -f conftest.$ac_objext conftest$ac_exeext
47387 if { (ac_try="$ac_link"
47388 case "(($ac_try" in
47389 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47390 *) ac_try_echo=$ac_try;;
47391 esac
47392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47393 (eval "$ac_link") 2>conftest.er1
47394 ac_status=$?
47395 grep -v '^ *+' conftest.er1 >conftest.err
47396 rm -f conftest.er1
47397 cat conftest.err >&5
47398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47399 (exit $ac_status); } && {
47400 test -z "$ac_c_werror_flag" ||
47401 test ! -s conftest.err
47402 } && test -s conftest$ac_exeext &&
47403 $as_test_x conftest$ac_exeext; then
47404 ac_cv_lib_unicows_main=yes
47405 else
47406 echo "$as_me: failed program was:" >&5
47407 sed 's/^/| /' conftest.$ac_ext >&5
47408
47409 ac_cv_lib_unicows_main=no
47410 fi
47411
47412 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
47413 conftest$ac_exeext conftest.$ac_ext
47414 LIBS=$ac_check_lib_save_LIBS
47415 fi
47416 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
47417 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
47418 if test $ac_cv_lib_unicows_main = yes; then
47419
47420 cat >>confdefs.h <<\_ACEOF
47421 #define wxUSE_UNICODE_MSLU 1
47422 _ACEOF
47423
47424
47425 else
47426
47427 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
47428 Applications will only run on Windows NT/2000/XP!" >&5
47429 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
47430 Applications will only run on Windows NT/2000/XP!" >&2;}
47431 wxUSE_UNICODE_MSLU=no
47432
47433 fi
47434
47435 fi
47436 fi
47437
47438 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
47439 cat >>confdefs.h <<\_ACEOF
47440 #define wxUSE_UNICODE_UTF8 1
47441 _ACEOF
47442
47443
47444 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
47445 cat >>confdefs.h <<\_ACEOF
47446 #define wxUSE_UTF8_LOCALE_ONLY 1
47447 _ACEOF
47448
47449 fi
47450 fi
47451
47452
47453 if test "$wxUSE_CONSTRAINTS" = "yes"; then
47454 cat >>confdefs.h <<\_ACEOF
47455 #define wxUSE_CONSTRAINTS 1
47456 _ACEOF
47457
47458 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
47459 fi
47460
47461 if test "$wxUSE_MDI" = "yes"; then
47462 cat >>confdefs.h <<\_ACEOF
47463 #define wxUSE_MDI 1
47464 _ACEOF
47465
47466
47467 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
47468 cat >>confdefs.h <<\_ACEOF
47469 #define wxUSE_MDI_ARCHITECTURE 1
47470 _ACEOF
47471
47472 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
47473 fi
47474 fi
47475
47476 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
47477 cat >>confdefs.h <<\_ACEOF
47478 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
47479 _ACEOF
47480
47481 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
47482 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
47483 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
47484 fi
47485 fi
47486
47487 if test "$wxUSE_HELP" = "yes"; then
47488 cat >>confdefs.h <<\_ACEOF
47489 #define wxUSE_HELP 1
47490 _ACEOF
47491
47492 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
47493
47494 if test "$wxUSE_MSW" = 1; then
47495 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
47496 cat >>confdefs.h <<\_ACEOF
47497 #define wxUSE_MS_HTML_HELP 1
47498 _ACEOF
47499
47500 fi
47501 fi
47502
47503 if test "$wxUSE_WXHTML_HELP" = "yes"; then
47504 if test "$wxUSE_HTML" = "yes"; then
47505 cat >>confdefs.h <<\_ACEOF
47506 #define wxUSE_WXHTML_HELP 1
47507 _ACEOF
47508
47509 else
47510 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
47511 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
47512 wxUSE_WXHTML_HELP=no
47513 fi
47514 fi
47515 fi
47516
47517 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
47518 if test "$wxUSE_CONSTRAINTS" != "yes"; then
47519 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
47520 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
47521 else
47522 cat >>confdefs.h <<\_ACEOF
47523 #define wxUSE_PRINTING_ARCHITECTURE 1
47524 _ACEOF
47525
47526 fi
47527 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
47528 fi
47529
47530 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
47531 cat >>confdefs.h <<\_ACEOF
47532 #define wxUSE_POSTSCRIPT 1
47533 _ACEOF
47534
47535 fi
47536
47537 cat >>confdefs.h <<\_ACEOF
47538 #define wxUSE_AFM_FOR_POSTSCRIPT 1
47539 _ACEOF
47540
47541
47542 if test "$wxUSE_SVG" = "yes"; then
47543 cat >>confdefs.h <<\_ACEOF
47544 #define wxUSE_SVG 1
47545 _ACEOF
47546
47547 fi
47548
47549
47550 if test "$wxUSE_METAFILE" = "yes"; then
47551 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
47552 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
47553 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
47554 wxUSE_METAFILE=no
47555 fi
47556 fi
47557
47558
47559 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
47560 -o "$wxUSE_CLIPBOARD" = "yes" \
47561 -o "$wxUSE_OLE" = "yes" \
47562 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
47563 { echo "$as_me:$LINENO: checking for ole2.h" >&5
47564 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
47565 if test "${ac_cv_header_ole2_h+set}" = set; then
47566 echo $ECHO_N "(cached) $ECHO_C" >&6
47567 else
47568 cat >conftest.$ac_ext <<_ACEOF
47569 /* confdefs.h. */
47570 _ACEOF
47571 cat confdefs.h >>conftest.$ac_ext
47572 cat >>conftest.$ac_ext <<_ACEOF
47573 /* end confdefs.h. */
47574
47575
47576 #include <ole2.h>
47577 _ACEOF
47578 rm -f conftest.$ac_objext
47579 if { (ac_try="$ac_compile"
47580 case "(($ac_try" in
47581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47582 *) ac_try_echo=$ac_try;;
47583 esac
47584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47585 (eval "$ac_compile") 2>conftest.er1
47586 ac_status=$?
47587 grep -v '^ *+' conftest.er1 >conftest.err
47588 rm -f conftest.er1
47589 cat conftest.err >&5
47590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47591 (exit $ac_status); } && {
47592 test -z "$ac_c_werror_flag" ||
47593 test ! -s conftest.err
47594 } && test -s conftest.$ac_objext; then
47595 ac_cv_header_ole2_h=yes
47596 else
47597 echo "$as_me: failed program was:" >&5
47598 sed 's/^/| /' conftest.$ac_ext >&5
47599
47600 ac_cv_header_ole2_h=no
47601 fi
47602
47603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47604 fi
47605 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
47606 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
47607
47608
47609
47610 if test "$ac_cv_header_ole2_h" = "yes" ; then
47611 if test "$GCC" = yes ; then
47612 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
47613 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
47614 cat >conftest.$ac_ext <<_ACEOF
47615 /* confdefs.h. */
47616 _ACEOF
47617 cat confdefs.h >>conftest.$ac_ext
47618 cat >>conftest.$ac_ext <<_ACEOF
47619 /* end confdefs.h. */
47620 #include <windows.h>
47621 #include <ole2.h>
47622 int
47623 main ()
47624 {
47625
47626 ;
47627 return 0;
47628 }
47629 _ACEOF
47630 rm -f conftest.$ac_objext
47631 if { (ac_try="$ac_compile"
47632 case "(($ac_try" in
47633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47634 *) ac_try_echo=$ac_try;;
47635 esac
47636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47637 (eval "$ac_compile") 2>conftest.er1
47638 ac_status=$?
47639 grep -v '^ *+' conftest.er1 >conftest.err
47640 rm -f conftest.er1
47641 cat conftest.err >&5
47642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47643 (exit $ac_status); } && {
47644 test -z "$ac_c_werror_flag" ||
47645 test ! -s conftest.err
47646 } && test -s conftest.$ac_objext; then
47647 { echo "$as_me:$LINENO: result: no" >&5
47648 echo "${ECHO_T}no" >&6; }
47649 else
47650 echo "$as_me: failed program was:" >&5
47651 sed 's/^/| /' conftest.$ac_ext >&5
47652
47653 { echo "$as_me:$LINENO: result: yes" >&5
47654 echo "${ECHO_T}yes" >&6; }
47655 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
47656 fi
47657
47658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47659 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
47660 if test "$wxUSE_OLE" = "yes" ; then
47661 cat >>confdefs.h <<\_ACEOF
47662 #define wxUSE_OLE 1
47663 _ACEOF
47664
47665 cat >>confdefs.h <<\_ACEOF
47666 #define wxUSE_OLE_AUTOMATION 1
47667 _ACEOF
47668
47669 cat >>confdefs.h <<\_ACEOF
47670 #define wxUSE_ACTIVEX 1
47671 _ACEOF
47672
47673 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
47674 fi
47675 fi
47676
47677 if test "$wxUSE_DATAOBJ" = "yes" ; then
47678 cat >>confdefs.h <<\_ACEOF
47679 #define wxUSE_DATAOBJ 1
47680 _ACEOF
47681
47682 fi
47683 else
47684 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
47685 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
47686
47687 wxUSE_CLIPBOARD=no
47688 wxUSE_DRAG_AND_DROP=no
47689 wxUSE_DATAOBJ=no
47690 wxUSE_OLE=no
47691 fi
47692
47693 if test "$wxUSE_METAFILE" = "yes"; then
47694 cat >>confdefs.h <<\_ACEOF
47695 #define wxUSE_METAFILE 1
47696 _ACEOF
47697
47698
47699 cat >>confdefs.h <<\_ACEOF
47700 #define wxUSE_ENH_METAFILE 1
47701 _ACEOF
47702
47703 fi
47704 fi
47705
47706 if test "$wxUSE_IPC" = "yes"; then
47707 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
47708 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
47709 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
47710 wxUSE_IPC=no
47711 fi
47712
47713 if test "$wxUSE_IPC" = "yes"; then
47714 cat >>confdefs.h <<\_ACEOF
47715 #define wxUSE_IPC 1
47716 _ACEOF
47717
47718 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
47719 fi
47720 fi
47721
47722 if test "$wxUSE_DATAOBJ" = "yes"; then
47723 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
47724 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
47725 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
47726 wxUSE_DATAOBJ=no
47727 else
47728 cat >>confdefs.h <<\_ACEOF
47729 #define wxUSE_DATAOBJ 1
47730 _ACEOF
47731
47732 fi
47733 else
47734 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
47735 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
47736 wxUSE_CLIPBOARD=no
47737 wxUSE_DRAG_AND_DROP=no
47738 fi
47739
47740 if test "$wxUSE_CLIPBOARD" = "yes"; then
47741 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
47742 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
47743 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
47744 wxUSE_CLIPBOARD=no
47745 fi
47746
47747 if test "$wxUSE_CLIPBOARD" = "yes"; then
47748 cat >>confdefs.h <<\_ACEOF
47749 #define wxUSE_CLIPBOARD 1
47750 _ACEOF
47751
47752 fi
47753 fi
47754
47755 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
47756 if test "$wxUSE_GTK" = 1; then
47757 if test "$WXGTK12" != 1; then
47758 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
47759 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
47760 wxUSE_DRAG_AND_DROP=no
47761 fi
47762 fi
47763
47764 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
47765 "$wxUSE_DFB" = 1; then
47766 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
47767 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
47768 wxUSE_DRAG_AND_DROP=no
47769 fi
47770
47771 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
47772 cat >>confdefs.h <<\_ACEOF
47773 #define wxUSE_DRAG_AND_DROP 1
47774 _ACEOF
47775
47776 fi
47777
47778 fi
47779
47780 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
47781 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
47782 fi
47783
47784 if test "$wxUSE_SPLINES" = "yes" ; then
47785 cat >>confdefs.h <<\_ACEOF
47786 #define wxUSE_SPLINES 1
47787 _ACEOF
47788
47789 fi
47790
47791 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
47792 cat >>confdefs.h <<\_ACEOF
47793 #define wxUSE_MOUSEWHEEL 1
47794 _ACEOF
47795
47796 fi
47797
47798
47799 USES_CONTROLS=0
47800 if test "$wxUSE_CONTROLS" = "yes"; then
47801 USES_CONTROLS=1
47802 fi
47803
47804 if test "$wxUSE_ACCEL" = "yes"; then
47805 cat >>confdefs.h <<\_ACEOF
47806 #define wxUSE_ACCEL 1
47807 _ACEOF
47808
47809 USES_CONTROLS=1
47810 fi
47811
47812 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
47813 cat >>confdefs.h <<\_ACEOF
47814 #define wxUSE_ANIMATIONCTRL 1
47815 _ACEOF
47816
47817 USES_CONTROLS=1
47818 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
47819 fi
47820
47821 if test "$wxUSE_BUTTON" = "yes"; then
47822 cat >>confdefs.h <<\_ACEOF
47823 #define wxUSE_BUTTON 1
47824 _ACEOF
47825
47826 USES_CONTROLS=1
47827 fi
47828
47829 if test "$wxUSE_BMPBUTTON" = "yes"; then
47830 cat >>confdefs.h <<\_ACEOF
47831 #define wxUSE_BMPBUTTON 1
47832 _ACEOF
47833
47834 USES_CONTROLS=1
47835 fi
47836
47837 if test "$wxUSE_CALCTRL" = "yes"; then
47838 cat >>confdefs.h <<\_ACEOF
47839 #define wxUSE_CALENDARCTRL 1
47840 _ACEOF
47841
47842 USES_CONTROLS=1
47843 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
47844 fi
47845
47846 if test "$wxUSE_CARET" = "yes"; then
47847 cat >>confdefs.h <<\_ACEOF
47848 #define wxUSE_CARET 1
47849 _ACEOF
47850
47851 USES_CONTROLS=1
47852 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
47853 fi
47854
47855 if test "$wxUSE_COLLPANE" = "yes"; then
47856 cat >>confdefs.h <<\_ACEOF
47857 #define wxUSE_COLLPANE 1
47858 _ACEOF
47859
47860 USES_CONTROLS=1
47861 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
47862 fi
47863
47864 if test "$wxUSE_COMBOBOX" = "yes"; then
47865 cat >>confdefs.h <<\_ACEOF
47866 #define wxUSE_COMBOBOX 1
47867 _ACEOF
47868
47869 USES_CONTROLS=1
47870 fi
47871
47872 if test "$wxUSE_COMBOCTRL" = "yes"; then
47873 cat >>confdefs.h <<\_ACEOF
47874 #define wxUSE_COMBOCTRL 1
47875 _ACEOF
47876
47877 USES_CONTROLS=1
47878 fi
47879
47880 if test "$wxUSE_CHOICE" = "yes"; then
47881 cat >>confdefs.h <<\_ACEOF
47882 #define wxUSE_CHOICE 1
47883 _ACEOF
47884
47885 USES_CONTROLS=1
47886 fi
47887
47888 if test "$wxUSE_CHOICEBOOK" = "yes"; then
47889 cat >>confdefs.h <<\_ACEOF
47890 #define wxUSE_CHOICEBOOK 1
47891 _ACEOF
47892
47893 USES_CONTROLS=1
47894 fi
47895
47896 if test "$wxUSE_CHECKBOX" = "yes"; then
47897 cat >>confdefs.h <<\_ACEOF
47898 #define wxUSE_CHECKBOX 1
47899 _ACEOF
47900
47901 USES_CONTROLS=1
47902 fi
47903
47904 if test "$wxUSE_CHECKLST" = "yes"; then
47905 cat >>confdefs.h <<\_ACEOF
47906 #define wxUSE_CHECKLISTBOX 1
47907 _ACEOF
47908
47909 USES_CONTROLS=1
47910 fi
47911
47912 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
47913 cat >>confdefs.h <<\_ACEOF
47914 #define wxUSE_COLOURPICKERCTRL 1
47915 _ACEOF
47916
47917 USES_CONTROLS=1
47918 fi
47919
47920 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
47921 cat >>confdefs.h <<\_ACEOF
47922 #define wxUSE_DATEPICKCTRL 1
47923 _ACEOF
47924
47925 USES_CONTROLS=1
47926 fi
47927
47928 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
47929 cat >>confdefs.h <<\_ACEOF
47930 #define wxUSE_DIRPICKERCTRL 1
47931 _ACEOF
47932
47933 USES_CONTROLS=1
47934 fi
47935
47936 if test "$wxUSE_FILECTRL" = "yes"; then
47937 cat >>confdefs.h <<\_ACEOF
47938 #define wxUSE_FILECTRL 1
47939 _ACEOF
47940
47941 USES_CONTROLS=1
47942 fi
47943
47944 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
47945 cat >>confdefs.h <<\_ACEOF
47946 #define wxUSE_FILEPICKERCTRL 1
47947 _ACEOF
47948
47949 USES_CONTROLS=1
47950 fi
47951
47952 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
47953 cat >>confdefs.h <<\_ACEOF
47954 #define wxUSE_FONTPICKERCTRL 1
47955 _ACEOF
47956
47957 USES_CONTROLS=1
47958 fi
47959
47960 if test "$wxUSE_DISPLAY" = "yes"; then
47961 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
47962 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
47963 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
47964 wxUSE_DISPLAY=no
47965 else
47966 cat >>confdefs.h <<\_ACEOF
47967 #define wxUSE_DISPLAY 1
47968 _ACEOF
47969
47970 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
47971 fi
47972 fi
47973
47974 if test "$wxUSE_DETECT_SM" = "yes"; then
47975 cat >>confdefs.h <<\_ACEOF
47976 #define wxUSE_DETECT_SM 1
47977 _ACEOF
47978
47979 fi
47980
47981 if test "$wxUSE_GAUGE" = "yes"; then
47982 cat >>confdefs.h <<\_ACEOF
47983 #define wxUSE_GAUGE 1
47984 _ACEOF
47985
47986 USES_CONTROLS=1
47987 fi
47988
47989 if test "$wxUSE_GRID" = "yes"; then
47990 cat >>confdefs.h <<\_ACEOF
47991 #define wxUSE_GRID 1
47992 _ACEOF
47993
47994 USES_CONTROLS=1
47995 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
47996 fi
47997
47998 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
47999 cat >>confdefs.h <<\_ACEOF
48000 #define wxUSE_HYPERLINKCTRL 1
48001 _ACEOF
48002
48003 USES_CONTROLS=1
48004 fi
48005
48006 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
48007 cat >>confdefs.h <<\_ACEOF
48008 #define wxUSE_BITMAPCOMBOBOX 1
48009 _ACEOF
48010
48011 USES_CONTROLS=1
48012 fi
48013
48014 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
48015 cat >>confdefs.h <<\_ACEOF
48016 #define wxUSE_DATAVIEWCTRL 1
48017 _ACEOF
48018
48019 USES_CONTROLS=1
48020 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
48021 fi
48022
48023 if test "$wxUSE_IMAGLIST" = "yes"; then
48024 cat >>confdefs.h <<\_ACEOF
48025 #define wxUSE_IMAGLIST 1
48026 _ACEOF
48027
48028 fi
48029
48030 if test "$wxUSE_LISTBOOK" = "yes"; then
48031 cat >>confdefs.h <<\_ACEOF
48032 #define wxUSE_LISTBOOK 1
48033 _ACEOF
48034
48035 USES_CONTROLS=1
48036 fi
48037
48038 if test "$wxUSE_LISTBOX" = "yes"; then
48039 cat >>confdefs.h <<\_ACEOF
48040 #define wxUSE_LISTBOX 1
48041 _ACEOF
48042
48043 USES_CONTROLS=1
48044 fi
48045
48046 if test "$wxUSE_LISTCTRL" = "yes"; then
48047 if test "$wxUSE_IMAGLIST" = "yes"; then
48048 cat >>confdefs.h <<\_ACEOF
48049 #define wxUSE_LISTCTRL 1
48050 _ACEOF
48051
48052 USES_CONTROLS=1
48053 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
48054 else
48055 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
48056 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
48057 fi
48058 fi
48059
48060 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
48061 cat >>confdefs.h <<\_ACEOF
48062 #define wxUSE_EDITABLELISTBOX 1
48063 _ACEOF
48064
48065 USES_CONTROLS=1
48066 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS editlbox"
48067 fi
48068
48069 if test "$wxUSE_NOTEBOOK" = "yes"; then
48070 cat >>confdefs.h <<\_ACEOF
48071 #define wxUSE_NOTEBOOK 1
48072 _ACEOF
48073
48074 USES_CONTROLS=1
48075 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
48076 fi
48077
48078 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
48079 cat >>confdefs.h <<\_ACEOF
48080 #define wxUSE_ODCOMBOBOX 1
48081 _ACEOF
48082
48083 USES_CONTROLS=1
48084 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
48085 fi
48086
48087 if test "$wxUSE_RADIOBOX" = "yes"; then
48088 cat >>confdefs.h <<\_ACEOF
48089 #define wxUSE_RADIOBOX 1
48090 _ACEOF
48091
48092 USES_CONTROLS=1
48093 fi
48094
48095 if test "$wxUSE_RADIOBTN" = "yes"; then
48096 cat >>confdefs.h <<\_ACEOF
48097 #define wxUSE_RADIOBTN 1
48098 _ACEOF
48099
48100 USES_CONTROLS=1
48101 fi
48102
48103 if test "$wxUSE_SASH" = "yes"; then
48104 cat >>confdefs.h <<\_ACEOF
48105 #define wxUSE_SASH 1
48106 _ACEOF
48107
48108 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
48109 fi
48110
48111 if test "$wxUSE_SCROLLBAR" = "yes"; then
48112 cat >>confdefs.h <<\_ACEOF
48113 #define wxUSE_SCROLLBAR 1
48114 _ACEOF
48115
48116 USES_CONTROLS=1
48117 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
48118 fi
48119
48120 if test "$wxUSE_SEARCHCTRL" = "yes"; then
48121 cat >>confdefs.h <<\_ACEOF
48122 #define wxUSE_SEARCHCTRL 1
48123 _ACEOF
48124
48125 USES_CONTROLS=1
48126 fi
48127
48128 if test "$wxUSE_SLIDER" = "yes"; then
48129 cat >>confdefs.h <<\_ACEOF
48130 #define wxUSE_SLIDER 1
48131 _ACEOF
48132
48133 USES_CONTROLS=1
48134 fi
48135
48136 if test "$wxUSE_SPINBTN" = "yes"; then
48137 cat >>confdefs.h <<\_ACEOF
48138 #define wxUSE_SPINBTN 1
48139 _ACEOF
48140
48141 USES_CONTROLS=1
48142 fi
48143
48144 if test "$wxUSE_SPINCTRL" = "yes"; then
48145 cat >>confdefs.h <<\_ACEOF
48146 #define wxUSE_SPINCTRL 1
48147 _ACEOF
48148
48149 USES_CONTROLS=1
48150 fi
48151
48152 if test "$wxUSE_SPLITTER" = "yes"; then
48153 cat >>confdefs.h <<\_ACEOF
48154 #define wxUSE_SPLITTER 1
48155 _ACEOF
48156
48157 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
48158 fi
48159
48160 if test "$wxUSE_STATBMP" = "yes"; then
48161 cat >>confdefs.h <<\_ACEOF
48162 #define wxUSE_STATBMP 1
48163 _ACEOF
48164
48165 USES_CONTROLS=1
48166 fi
48167
48168 if test "$wxUSE_STATBOX" = "yes"; then
48169 cat >>confdefs.h <<\_ACEOF
48170 #define wxUSE_STATBOX 1
48171 _ACEOF
48172
48173 USES_CONTROLS=1
48174 fi
48175
48176 if test "$wxUSE_STATTEXT" = "yes"; then
48177 cat >>confdefs.h <<\_ACEOF
48178 #define wxUSE_STATTEXT 1
48179 _ACEOF
48180
48181 USES_CONTROLS=1
48182 fi
48183
48184 if test "$wxUSE_STATLINE" = "yes"; then
48185 cat >>confdefs.h <<\_ACEOF
48186 #define wxUSE_STATLINE 1
48187 _ACEOF
48188
48189 USES_CONTROLS=1
48190 fi
48191
48192 if test "$wxUSE_STATUSBAR" = "yes"; then
48193 cat >>confdefs.h <<\_ACEOF
48194 #define wxUSE_NATIVE_STATUSBAR 1
48195 _ACEOF
48196
48197 cat >>confdefs.h <<\_ACEOF
48198 #define wxUSE_STATUSBAR 1
48199 _ACEOF
48200
48201 USES_CONTROLS=1
48202
48203 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
48204 fi
48205
48206 if test "$wxUSE_TAB_DIALOG" = "yes"; then
48207 cat >>confdefs.h <<\_ACEOF
48208 #define wxUSE_TAB_DIALOG 1
48209 _ACEOF
48210
48211 fi
48212
48213 if test "$wxUSE_TEXTCTRL" = "yes"; then
48214 cat >>confdefs.h <<\_ACEOF
48215 #define wxUSE_TEXTCTRL 1
48216 _ACEOF
48217
48218 USES_CONTROLS=1
48219 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
48220 fi
48221
48222 if test "$wxUSE_TOGGLEBTN" = "yes"; then
48223 if test "$wxUSE_COCOA" = 1 ; then
48224 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
48225 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
48226 wxUSE_TOGGLEBTN=no
48227 fi
48228
48229 if test "$wxUSE_TOGGLEBTN" = "yes"; then
48230 cat >>confdefs.h <<\_ACEOF
48231 #define wxUSE_TOGGLEBTN 1
48232 _ACEOF
48233
48234 USES_CONTROLS=1
48235 fi
48236 fi
48237
48238 if test "$wxUSE_TOOLBAR" = "yes"; then
48239 cat >>confdefs.h <<\_ACEOF
48240 #define wxUSE_TOOLBAR 1
48241 _ACEOF
48242
48243 USES_CONTROLS=1
48244
48245 if test "$wxUSE_UNIVERSAL" = "yes"; then
48246 wxUSE_TOOLBAR_NATIVE="no"
48247 else
48248 wxUSE_TOOLBAR_NATIVE="yes"
48249 cat >>confdefs.h <<\_ACEOF
48250 #define wxUSE_TOOLBAR_NATIVE 1
48251 _ACEOF
48252
48253 fi
48254
48255 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
48256 fi
48257
48258 if test "$wxUSE_TOOLTIPS" = "yes"; then
48259 if test "$wxUSE_MOTIF" = 1; then
48260 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
48261 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
48262 else
48263 if test "$wxUSE_UNIVERSAL" = "yes"; then
48264 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
48265 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
48266 else
48267 cat >>confdefs.h <<\_ACEOF
48268 #define wxUSE_TOOLTIPS 1
48269 _ACEOF
48270
48271 fi
48272 fi
48273 fi
48274
48275 if test "$wxUSE_TREEBOOK" = "yes"; then
48276 cat >>confdefs.h <<\_ACEOF
48277 #define wxUSE_TREEBOOK 1
48278 _ACEOF
48279
48280 USES_CONTROLS=1
48281 fi
48282
48283 if test "$wxUSE_TOOLBOOK" = "yes"; then
48284 cat >>confdefs.h <<\_ACEOF
48285 #define wxUSE_TOOLBOOK 1
48286 _ACEOF
48287
48288 USES_CONTROLS=1
48289 fi
48290
48291 if test "$wxUSE_TREECTRL" = "yes"; then
48292 if test "$wxUSE_IMAGLIST" = "yes"; then
48293 cat >>confdefs.h <<\_ACEOF
48294 #define wxUSE_TREECTRL 1
48295 _ACEOF
48296
48297 USES_CONTROLS=1
48298 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
48299 else
48300 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
48301 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
48302 fi
48303 fi
48304
48305 if test "$wxUSE_POPUPWIN" = "yes"; then
48306 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
48307 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
48308 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
48309 else
48310 if test "$wxUSE_PM" = 1; then
48311 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
48312 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
48313 else
48314 cat >>confdefs.h <<\_ACEOF
48315 #define wxUSE_POPUPWIN 1
48316 _ACEOF
48317
48318 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
48319
48320 USES_CONTROLS=1
48321 fi
48322 fi
48323 fi
48324
48325 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
48326 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
48327 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
48328 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
48329 else
48330 cat >>confdefs.h <<\_ACEOF
48331 #define wxUSE_DIALUP_MANAGER 1
48332 _ACEOF
48333
48334 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
48335 fi
48336 fi
48337
48338 if test "$wxUSE_TIPWINDOW" = "yes"; then
48339 if test "$wxUSE_PM" = 1; then
48340 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
48341 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
48342 else
48343 cat >>confdefs.h <<\_ACEOF
48344 #define wxUSE_TIPWINDOW 1
48345 _ACEOF
48346
48347 fi
48348 fi
48349
48350 if test "$USES_CONTROLS" = 1; then
48351 cat >>confdefs.h <<\_ACEOF
48352 #define wxUSE_CONTROLS 1
48353 _ACEOF
48354
48355 fi
48356
48357
48358 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
48359 cat >>confdefs.h <<\_ACEOF
48360 #define wxUSE_ACCESSIBILITY 1
48361 _ACEOF
48362
48363 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
48364 fi
48365
48366 if test "$wxUSE_DRAGIMAGE" = "yes"; then
48367 cat >>confdefs.h <<\_ACEOF
48368 #define wxUSE_DRAGIMAGE 1
48369 _ACEOF
48370
48371 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
48372 fi
48373
48374 if test "$wxUSE_EXCEPTIONS" = "yes"; then
48375 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
48376 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
48377 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
48378 else
48379 cat >>confdefs.h <<\_ACEOF
48380 #define wxUSE_EXCEPTIONS 1
48381 _ACEOF
48382
48383 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
48384 fi
48385 fi
48386
48387 USE_HTML=0
48388 if test "$wxUSE_HTML" = "yes"; then
48389 cat >>confdefs.h <<\_ACEOF
48390 #define wxUSE_HTML 1
48391 _ACEOF
48392
48393 USE_HTML=1
48394 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
48395 if test "$wxUSE_MAC" = 1; then
48396 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
48397 fi
48398 fi
48399 if test "$wxUSE_WEBKIT" = "yes"; then
48400 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
48401 old_CPPFLAGS="$CPPFLAGS"
48402 CPPFLAGS="-x objective-c++ $CPPFLAGS"
48403 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
48404 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
48405 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
48406 echo $ECHO_N "(cached) $ECHO_C" >&6
48407 else
48408 cat >conftest.$ac_ext <<_ACEOF
48409 /* confdefs.h. */
48410 _ACEOF
48411 cat confdefs.h >>conftest.$ac_ext
48412 cat >>conftest.$ac_ext <<_ACEOF
48413 /* end confdefs.h. */
48414
48415 #include <Carbon/Carbon.h>
48416 #include <WebKit/WebKit.h>
48417
48418
48419 #include <WebKit/HIWebView.h>
48420 _ACEOF
48421 rm -f conftest.$ac_objext
48422 if { (ac_try="$ac_compile"
48423 case "(($ac_try" in
48424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48425 *) ac_try_echo=$ac_try;;
48426 esac
48427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48428 (eval "$ac_compile") 2>conftest.er1
48429 ac_status=$?
48430 grep -v '^ *+' conftest.er1 >conftest.err
48431 rm -f conftest.er1
48432 cat conftest.err >&5
48433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48434 (exit $ac_status); } && {
48435 test -z "$ac_c_werror_flag" ||
48436 test ! -s conftest.err
48437 } && test -s conftest.$ac_objext; then
48438 ac_cv_header_WebKit_HIWebView_h=yes
48439 else
48440 echo "$as_me: failed program was:" >&5
48441 sed 's/^/| /' conftest.$ac_ext >&5
48442
48443 ac_cv_header_WebKit_HIWebView_h=no
48444 fi
48445
48446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48447 fi
48448 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
48449 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
48450 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
48451
48452 cat >>confdefs.h <<\_ACEOF
48453 #define wxUSE_WEBKIT 1
48454 _ACEOF
48455
48456 WEBKIT_LINK="-framework WebKit"
48457
48458 else
48459
48460 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
48461 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
48462 wxUSE_WEBKIT=no
48463
48464 fi
48465
48466
48467 CPPFLAGS="$old_CPPFLAGS"
48468 elif test "$wxUSE_COCOA" = 1; then
48469 cat >>confdefs.h <<\_ACEOF
48470 #define wxUSE_WEBKIT 1
48471 _ACEOF
48472
48473 else
48474 wxUSE_WEBKIT=no
48475 fi
48476 fi
48477
48478 USE_XRC=0
48479 if test "$wxUSE_XRC" = "yes"; then
48480 if test "$wxUSE_XML" != "yes"; then
48481 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
48482 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
48483 wxUSE_XRC=no
48484 else
48485 cat >>confdefs.h <<\_ACEOF
48486 #define wxUSE_XRC 1
48487 _ACEOF
48488
48489 USE_XRC=1
48490 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
48491 fi
48492 fi
48493
48494 USE_AUI=0
48495 if test "$wxUSE_AUI" = "yes"; then
48496 cat >>confdefs.h <<\_ACEOF
48497 #define wxUSE_AUI 1
48498 _ACEOF
48499
48500 USE_AUI=1
48501 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
48502 fi
48503
48504 USE_STC=0
48505 if test "$wxUSE_STC" = "yes"; then
48506 cat >>confdefs.h <<\_ACEOF
48507 #define wxUSE_STC 1
48508 _ACEOF
48509
48510 USE_STC=1
48511 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
48512 fi
48513
48514 if test "$wxUSE_MENUS" = "yes"; then
48515 cat >>confdefs.h <<\_ACEOF
48516 #define wxUSE_MENUS 1
48517 _ACEOF
48518
48519 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
48520 fi
48521
48522 if test "$wxUSE_METAFILE" = "yes"; then
48523 cat >>confdefs.h <<\_ACEOF
48524 #define wxUSE_METAFILE 1
48525 _ACEOF
48526
48527 fi
48528
48529 if test "$wxUSE_MIMETYPE" = "yes"; then
48530 cat >>confdefs.h <<\_ACEOF
48531 #define wxUSE_MIMETYPE 1
48532 _ACEOF
48533
48534 fi
48535
48536 if test "$wxUSE_MINIFRAME" = "yes"; then
48537 cat >>confdefs.h <<\_ACEOF
48538 #define wxUSE_MINIFRAME 1
48539 _ACEOF
48540
48541 fi
48542
48543 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
48544 cat >>confdefs.h <<\_ACEOF
48545 #define wxUSE_SYSTEM_OPTIONS 1
48546 _ACEOF
48547
48548 fi
48549
48550 if test "$wxUSE_TASKBARICON" = "yes"; then
48551 cat >>confdefs.h <<\_ACEOF
48552 #define wxUSE_TASKBARICON 1
48553 _ACEOF
48554
48555 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
48556 fi
48557
48558
48559 if test "$wxUSE_VALIDATORS" = "yes"; then
48560 cat >>confdefs.h <<\_ACEOF
48561 #define wxUSE_VALIDATORS 1
48562 _ACEOF
48563
48564 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
48565 fi
48566
48567 if test "$wxUSE_PALETTE" = "yes" ; then
48568 if test "$wxUSE_DFB" = 1; then
48569 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
48570 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
48571 wxUSE_PALETTE=no
48572 else
48573 cat >>confdefs.h <<\_ACEOF
48574 #define wxUSE_PALETTE 1
48575 _ACEOF
48576
48577 fi
48578 fi
48579
48580 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
48581 LIBS=" -lunicows $LIBS"
48582 fi
48583
48584 USE_RICHTEXT=0
48585 if test "$wxUSE_RICHTEXT" = "yes"; then
48586 cat >>confdefs.h <<\_ACEOF
48587 #define wxUSE_RICHTEXT 1
48588 _ACEOF
48589
48590 USE_RICHTEXT=1
48591 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
48592 fi
48593
48594
48595 if test "$wxUSE_IMAGE" = "yes" ; then
48596 cat >>confdefs.h <<\_ACEOF
48597 #define wxUSE_IMAGE 1
48598 _ACEOF
48599
48600
48601 if test "$wxUSE_GIF" = "yes" ; then
48602 cat >>confdefs.h <<\_ACEOF
48603 #define wxUSE_GIF 1
48604 _ACEOF
48605
48606 fi
48607
48608 if test "$wxUSE_PCX" = "yes" ; then
48609 cat >>confdefs.h <<\_ACEOF
48610 #define wxUSE_PCX 1
48611 _ACEOF
48612
48613 fi
48614
48615 if test "$wxUSE_TGA" = "yes" ; then
48616 cat >>confdefs.h <<\_ACEOF
48617 #define wxUSE_TGA 1
48618 _ACEOF
48619
48620 fi
48621
48622 if test "$wxUSE_IFF" = "yes" ; then
48623 cat >>confdefs.h <<\_ACEOF
48624 #define wxUSE_IFF 1
48625 _ACEOF
48626
48627 fi
48628
48629 if test "$wxUSE_PNM" = "yes" ; then
48630 cat >>confdefs.h <<\_ACEOF
48631 #define wxUSE_PNM 1
48632 _ACEOF
48633
48634 fi
48635
48636 if test "$wxUSE_XPM" = "yes" ; then
48637 cat >>confdefs.h <<\_ACEOF
48638 #define wxUSE_XPM 1
48639 _ACEOF
48640
48641 fi
48642
48643 if test "$wxUSE_ICO_CUR" = "yes" ; then
48644 cat >>confdefs.h <<\_ACEOF
48645 #define wxUSE_ICO_CUR 1
48646 _ACEOF
48647
48648 fi
48649 fi
48650
48651
48652 if test "$wxUSE_ABOUTDLG" = "yes"; then
48653 cat >>confdefs.h <<\_ACEOF
48654 #define wxUSE_ABOUTDLG 1
48655 _ACEOF
48656
48657 fi
48658
48659 if test "$wxUSE_CHOICEDLG" = "yes"; then
48660 cat >>confdefs.h <<\_ACEOF
48661 #define wxUSE_CHOICEDLG 1
48662 _ACEOF
48663
48664 fi
48665
48666 if test "$wxUSE_COLOURDLG" = "yes"; then
48667 cat >>confdefs.h <<\_ACEOF
48668 #define wxUSE_COLOURDLG 1
48669 _ACEOF
48670
48671 fi
48672
48673 if test "$wxUSE_FILEDLG" = "yes"; then
48674 cat >>confdefs.h <<\_ACEOF
48675 #define wxUSE_FILEDLG 1
48676 _ACEOF
48677
48678 fi
48679
48680 if test "$wxUSE_FINDREPLDLG" = "yes"; then
48681 cat >>confdefs.h <<\_ACEOF
48682 #define wxUSE_FINDREPLDLG 1
48683 _ACEOF
48684
48685 fi
48686
48687 if test "$wxUSE_FONTDLG" = "yes"; then
48688 cat >>confdefs.h <<\_ACEOF
48689 #define wxUSE_FONTDLG 1
48690 _ACEOF
48691
48692 fi
48693
48694 if test "$wxUSE_DIRDLG" = "yes"; then
48695 if test "$wxUSE_TREECTRL" != "yes"; then
48696 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
48697 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
48698 else
48699 cat >>confdefs.h <<\_ACEOF
48700 #define wxUSE_DIRDLG 1
48701 _ACEOF
48702
48703 fi
48704 fi
48705
48706 if test "$wxUSE_MSGDLG" = "yes"; then
48707 cat >>confdefs.h <<\_ACEOF
48708 #define wxUSE_MSGDLG 1
48709 _ACEOF
48710
48711 fi
48712
48713 if test "$wxUSE_NUMBERDLG" = "yes"; then
48714 cat >>confdefs.h <<\_ACEOF
48715 #define wxUSE_NUMBERDLG 1
48716 _ACEOF
48717
48718 fi
48719
48720 if test "$wxUSE_PROGRESSDLG" = "yes"; then
48721 if test "$wxUSE_CONSTRAINTS" != "yes"; then
48722 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
48723 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
48724 else
48725 cat >>confdefs.h <<\_ACEOF
48726 #define wxUSE_PROGRESSDLG 1
48727 _ACEOF
48728
48729 fi
48730 fi
48731
48732 if test "$wxUSE_SPLASH" = "yes"; then
48733 cat >>confdefs.h <<\_ACEOF
48734 #define wxUSE_SPLASH 1
48735 _ACEOF
48736
48737 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
48738 fi
48739
48740 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
48741 if test "$wxUSE_CONSTRAINTS" != "yes"; then
48742 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
48743 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
48744 else
48745 cat >>confdefs.h <<\_ACEOF
48746 #define wxUSE_STARTUP_TIPS 1
48747 _ACEOF
48748
48749 fi
48750 fi
48751
48752 if test "$wxUSE_TEXTDLG" = "yes"; then
48753 cat >>confdefs.h <<\_ACEOF
48754 #define wxUSE_TEXTDLG 1
48755 _ACEOF
48756
48757 fi
48758
48759 if test "$wxUSE_WIZARDDLG" = "yes"; then
48760 cat >>confdefs.h <<\_ACEOF
48761 #define wxUSE_WIZARDDLG 1
48762 _ACEOF
48763
48764 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
48765 fi
48766
48767
48768 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
48769 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
48770 cat >>confdefs.h <<\_ACEOF
48771 #define wxUSE_OWNER_DRAWN 1
48772 _ACEOF
48773
48774 fi
48775 fi
48776
48777
48778 if test "$wxUSE_MSW" = 1 ; then
48779
48780 if test "$wxUSE_DC_CACHEING" = "yes"; then
48781 cat >>confdefs.h <<\_ACEOF
48782 #define wxUSE_DC_CACHEING 1
48783 _ACEOF
48784
48785 fi
48786
48787 if test "$wxUSE_DIB" = "yes"; then
48788 cat >>confdefs.h <<\_ACEOF
48789 #define wxUSE_WXDIB 1
48790 _ACEOF
48791
48792 fi
48793
48794 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
48795 cat >>confdefs.h <<\_ACEOF
48796 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
48797 _ACEOF
48798
48799 fi
48800
48801 if test "$wxUSE_UXTHEME" = "yes"; then
48802 cat >>confdefs.h <<\_ACEOF
48803 #define wxUSE_UXTHEME 1
48804 _ACEOF
48805
48806 fi
48807
48808 fi
48809
48810
48811 if test "$USE_WIN32" = 1 ; then
48812 if test "$wxUSE_INICONF" = "yes"; then
48813 cat >>confdefs.h <<\_ACEOF
48814 #define wxUSE_INICONF 1
48815 _ACEOF
48816
48817 fi
48818
48819 if test "$wxUSE_REGKEY" = "yes"; then
48820 cat >>confdefs.h <<\_ACEOF
48821 #define wxUSE_REGKEY 1
48822 _ACEOF
48823
48824 fi
48825 fi
48826
48827
48828 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
48829 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
48830 cat >>confdefs.h <<\_ACEOF
48831 #define wxUSE_GRAPHICS_CONTEXT 1
48832 _ACEOF
48833
48834 elif test "$wxUSE_GTK" != 1; then
48835 cat >>confdefs.h <<\_ACEOF
48836 #define wxUSE_GRAPHICS_CONTEXT 1
48837 _ACEOF
48838
48839 else
48840
48841 pkg_failed=no
48842 { echo "$as_me:$LINENO: checking for CAIRO" >&5
48843 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
48844
48845 if test -n "$PKG_CONFIG"; then
48846 if test -n "$CAIRO_CFLAGS"; then
48847 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
48848 else
48849 if test -n "$PKG_CONFIG" && \
48850 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
48851 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
48852 ac_status=$?
48853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48854 (exit $ac_status); }; then
48855 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
48856 else
48857 pkg_failed=yes
48858 fi
48859 fi
48860 else
48861 pkg_failed=untried
48862 fi
48863 if test -n "$PKG_CONFIG"; then
48864 if test -n "$CAIRO_LIBS"; then
48865 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
48866 else
48867 if test -n "$PKG_CONFIG" && \
48868 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
48869 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
48870 ac_status=$?
48871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48872 (exit $ac_status); }; then
48873 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
48874 else
48875 pkg_failed=yes
48876 fi
48877 fi
48878 else
48879 pkg_failed=untried
48880 fi
48881
48882
48883
48884 if test $pkg_failed = yes; then
48885
48886 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48887 _pkg_short_errors_supported=yes
48888 else
48889 _pkg_short_errors_supported=no
48890 fi
48891 if test $_pkg_short_errors_supported = yes; then
48892 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
48893 else
48894 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
48895 fi
48896 # Put the nasty error message in config.log where it belongs
48897 echo "$CAIRO_PKG_ERRORS" >&5
48898
48899 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
48900 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
48901
48902 elif test $pkg_failed = untried; then
48903 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
48904 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
48905
48906 else
48907 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
48908 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
48909 { echo "$as_me:$LINENO: result: yes" >&5
48910 echo "${ECHO_T}yes" >&6; }
48911 cat >>confdefs.h <<\_ACEOF
48912 #define wxUSE_GRAPHICS_CONTEXT 1
48913 _ACEOF
48914
48915 fi
48916 fi
48917 fi
48918
48919
48920 USE_MEDIA=0
48921
48922 if test "$wxUSE_MEDIACTRL" = "yes"; then
48923 USE_MEDIA=1
48924
48925 if test "$wxUSE_GTK" = 1; then
48926 wxUSE_GSTREAMER="no"
48927
48928 GST_VERSION_MAJOR=0
48929 GST_VERSION_MINOR=10
48930 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
48931
48932 if test "$wxUSE_GSTREAMER8" = "no"; then
48933
48934 pkg_failed=no
48935 { echo "$as_me:$LINENO: checking for GST" >&5
48936 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
48937
48938 if test -n "$PKG_CONFIG"; then
48939 if test -n "$GST_CFLAGS"; then
48940 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
48941 else
48942 if test -n "$PKG_CONFIG" && \
48943 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
48944 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
48945 ac_status=$?
48946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48947 (exit $ac_status); }; then
48948 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
48949 else
48950 pkg_failed=yes
48951 fi
48952 fi
48953 else
48954 pkg_failed=untried
48955 fi
48956 if test -n "$PKG_CONFIG"; then
48957 if test -n "$GST_LIBS"; then
48958 pkg_cv_GST_LIBS="$GST_LIBS"
48959 else
48960 if test -n "$PKG_CONFIG" && \
48961 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
48962 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
48963 ac_status=$?
48964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48965 (exit $ac_status); }; then
48966 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
48967 else
48968 pkg_failed=yes
48969 fi
48970 fi
48971 else
48972 pkg_failed=untried
48973 fi
48974
48975
48976
48977 if test $pkg_failed = yes; then
48978
48979 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48980 _pkg_short_errors_supported=yes
48981 else
48982 _pkg_short_errors_supported=no
48983 fi
48984 if test $_pkg_short_errors_supported = yes; then
48985 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
48986 else
48987 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
48988 fi
48989 # Put the nasty error message in config.log where it belongs
48990 echo "$GST_PKG_ERRORS" >&5
48991
48992
48993 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
48994 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
48995 GST_VERSION_MINOR=8
48996
48997
48998 elif test $pkg_failed = untried; then
48999
49000 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
49001 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
49002 GST_VERSION_MINOR=8
49003
49004
49005 else
49006 GST_CFLAGS=$pkg_cv_GST_CFLAGS
49007 GST_LIBS=$pkg_cv_GST_LIBS
49008 { echo "$as_me:$LINENO: result: yes" >&5
49009 echo "${ECHO_T}yes" >&6; }
49010
49011 wxUSE_GSTREAMER="yes"
49012 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
49013
49014 fi
49015 else
49016 GST_VERSION_MINOR=8
49017 fi
49018
49019 if test $GST_VERSION_MINOR = "8"; then
49020 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
49021
49022 pkg_failed=no
49023 { echo "$as_me:$LINENO: checking for GST" >&5
49024 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
49025
49026 if test -n "$PKG_CONFIG"; then
49027 if test -n "$GST_CFLAGS"; then
49028 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
49029 else
49030 if test -n "$PKG_CONFIG" && \
49031 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
49032 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
49033 ac_status=$?
49034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49035 (exit $ac_status); }; then
49036 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
49037 else
49038 pkg_failed=yes
49039 fi
49040 fi
49041 else
49042 pkg_failed=untried
49043 fi
49044 if test -n "$PKG_CONFIG"; then
49045 if test -n "$GST_LIBS"; then
49046 pkg_cv_GST_LIBS="$GST_LIBS"
49047 else
49048 if test -n "$PKG_CONFIG" && \
49049 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
49050 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
49051 ac_status=$?
49052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49053 (exit $ac_status); }; then
49054 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
49055 else
49056 pkg_failed=yes
49057 fi
49058 fi
49059 else
49060 pkg_failed=untried
49061 fi
49062
49063
49064
49065 if test $pkg_failed = yes; then
49066
49067 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
49068 _pkg_short_errors_supported=yes
49069 else
49070 _pkg_short_errors_supported=no
49071 fi
49072 if test $_pkg_short_errors_supported = yes; then
49073 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
49074 else
49075 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
49076 fi
49077 # Put the nasty error message in config.log where it belongs
49078 echo "$GST_PKG_ERRORS" >&5
49079
49080
49081 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
49082 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
49083
49084 elif test $pkg_failed = untried; then
49085
49086 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
49087 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
49088
49089 else
49090 GST_CFLAGS=$pkg_cv_GST_CFLAGS
49091 GST_LIBS=$pkg_cv_GST_LIBS
49092 { echo "$as_me:$LINENO: result: yes" >&5
49093 echo "${ECHO_T}yes" >&6; }
49094 wxUSE_GSTREAMER="yes"
49095 fi
49096 fi
49097
49098
49099 if test "$wxUSE_GSTREAMER" = "yes"; then
49100 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
49101 LIBS="$GST_LIBS $LIBS"
49102
49103 cat >>confdefs.h <<\_ACEOF
49104 #define wxUSE_GSTREAMER 1
49105 _ACEOF
49106
49107 else
49108 USE_MEDIA=0
49109 fi
49110 fi
49111
49112 if test $USE_MEDIA = 1; then
49113 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
49114 cat >>confdefs.h <<\_ACEOF
49115 #define wxUSE_MEDIACTRL 1
49116 _ACEOF
49117
49118 fi
49119 fi
49120
49121
49122 if test "$cross_compiling" = "yes"; then
49123 OSINFO="\"$host\""
49124 else
49125 OSINFO=`uname -s -r -m`
49126 OSINFO="\"$OSINFO\""
49127 fi
49128
49129 cat >>confdefs.h <<_ACEOF
49130 #define WXWIN_OS_DESCRIPTION $OSINFO
49131 _ACEOF
49132
49133
49134
49135 if test "x$prefix" != "xNONE"; then
49136 wxPREFIX=$prefix
49137 else
49138 wxPREFIX=$ac_default_prefix
49139 fi
49140
49141 cat >>confdefs.h <<_ACEOF
49142 #define wxINSTALL_PREFIX "$wxPREFIX"
49143 _ACEOF
49144
49145
49146
49147
49148 STD_BASE_LIBS="base"
49149 STD_GUI_LIBS=""
49150 BUILT_WX_LIBS="base"
49151 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
49152
49153 if test "$wxUSE_SOCKETS" = "yes" ; then
49154 STD_BASE_LIBS="net $STD_BASE_LIBS"
49155 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
49156 fi
49157 if test "$wxUSE_XML" = "yes" ; then
49158 STD_BASE_LIBS="xml $STD_BASE_LIBS"
49159 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
49160 fi
49161
49162 if test "$wxUSE_GUI" = "yes"; then
49163 STD_GUI_LIBS="adv core"
49164 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
49165
49166 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
49167 STD_GUI_LIBS="qa $STD_GUI_LIBS"
49168 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
49169 fi
49170 if test "$wxUSE_HTML" = "yes" ; then
49171 STD_GUI_LIBS="html $STD_GUI_LIBS"
49172 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
49173 fi
49174 if test "$wxUSE_MEDIACTRL" = "yes" ; then
49175 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
49176 fi
49177 if test "$wxUSE_OPENGL" = "yes" ; then
49178 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
49179 fi
49180 if test "$wxUSE_AUI" = "yes" ; then
49181 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
49182 fi
49183 if test "$wxUSE_STC" = "yes" ; then
49184 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
49185 fi
49186 if test "$wxUSE_XRC" = "yes" ; then
49187 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
49188 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
49189 fi
49190 fi
49191
49192
49193
49194
49195
49196
49197
49198
49199 if test "$wxUSE_MAC" = 1 ; then
49200 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
49201 if test "$USE_DARWIN" = 1; then
49202 LDFLAGS="$LDFLAGS -framework QuickTime"
49203 else
49204 LDFLAGS="$LDFLAGS -lQuickTimeLib"
49205 fi
49206 fi
49207 if test "$USE_DARWIN" = 1; then
49208 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
49209 else
49210 LDFLAGS="$LDFLAGS -lCarbonLib"
49211 fi
49212 fi
49213 if test "$wxUSE_COCOA" = 1 ; then
49214 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
49215 if test "$wxUSE_MEDIACTRL" = "yes"; then
49216 LDFLAGS="$LDFLAGS -framework QuickTime"
49217 fi
49218 fi
49219 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
49220 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
49221 fi
49222
49223 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
49224
49225 if test "$wxUSE_GUI" = "yes"; then
49226
49227
49228 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
49229 erase event exec font image minimal mobile \
49230 mobile/wxedit mobile/styles render \
49231 shaped svg taborder vscroll widgets"
49232
49233 if test "$wxUSE_MONOLITHIC" != "yes"; then
49234 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
49235 fi
49236 if test "$TOOLKIT" = "MSW"; then
49237 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
49238 if test "$wxUSE_UNIVERSAL" != "yes"; then
49239 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
49240 fi
49241 fi
49242 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
49243 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
49244 fi
49245 else
49246 SAMPLES_SUBDIRS="console"
49247 fi
49248
49249
49250 if test "x$INTELCC" = "xyes" ; then
49251 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
49252 elif test "$GCC" = yes ; then
49253 CWARNINGS="-Wall -Wundef"
49254 fi
49255
49256 if test "x$INTELCXX" = "xyes" ; then
49257 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
49258 elif test "$GXX" = yes ; then
49259 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
49260 fi
49261
49262
49263 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
49264 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
49265
49266
49267 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
49268 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
49269 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
49270 $CPPFLAGS `
49271
49272 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
49273 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
49274 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
49275
49276 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
49277
49278
49279 if test "x$MWCC" = "xyes"; then
49280
49281 CC="$CC -cwd source -I-"
49282 CXX="$CXX -cwd source -I-"
49283 fi
49284
49285
49286 LIBS=`echo $LIBS`
49287 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
49288 EXTRALIBS_XML="$EXPAT_LINK"
49289 EXTRALIBS_HTML="$MSPACK_LINK"
49290 EXTRALIBS_STC="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
49291 if test "$wxUSE_GUI" = "yes"; then
49292 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
49293 fi
49294 if test "$wxUSE_OPENGL" = "yes"; then
49295 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
49296 fi
49297
49298 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
49299
49300 WXCONFIG_LIBS="$LIBS"
49301
49302 if test "$wxUSE_REGEX" = "builtin" ; then
49303 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
49304 fi
49305 if test "$wxUSE_EXPAT" = "builtin" ; then
49306 wxconfig_3rdparty="expat $wxconfig_3rdparty"
49307 fi
49308 if test "$wxUSE_LIBTIFF" = "builtin" ; then
49309 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
49310 fi
49311 if test "$wxUSE_LIBJPEG" = "builtin" ; then
49312 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
49313 fi
49314 if test "$wxUSE_LIBPNG" = "builtin" ; then
49315 wxconfig_3rdparty="png $wxconfig_3rdparty"
49316 fi
49317 if test "$wxUSE_ZLIB" = "builtin" ; then
49318 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
49319 fi
49320
49321 for i in $wxconfig_3rdparty ; do
49322 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
49323 done
49324
49325
49326 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
49327 WXUNIV=1
49328
49329 case "$wxUNIV_THEMES" in
49330 ''|all)
49331 cat >>confdefs.h <<\_ACEOF
49332 #define wxUSE_ALL_THEMES 1
49333 _ACEOF
49334
49335 ;;
49336
49337 *)
49338 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr a-z A-Z`; do
49339 cat >>confdefs.h <<_ACEOF
49340 #define wxUSE_THEME_$t 1
49341 _ACEOF
49342
49343 done
49344 esac
49345 else
49346 WXUNIV=0
49347 fi
49348
49349
49350
49351
49352
49353
49354
49355
49356 if test $wxUSE_MONOLITHIC = "yes" ; then
49357 MONOLITHIC=1
49358 else
49359 MONOLITHIC=0
49360 fi
49361
49362 if test $wxUSE_PLUGINS = "yes" ; then
49363 USE_PLUGINS=1
49364 else
49365 USE_PLUGINS=0
49366 fi
49367
49368 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
49369 USE_QA=1
49370 else
49371 USE_QA=0
49372 fi
49373
49374 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
49375 OFFICIAL_BUILD=1
49376 else
49377 OFFICIAL_BUILD=0
49378 fi
49379
49380
49381
49382
49383
49384
49385
49386
49387
49388
49389
49390
49391
49392
49393
49394
49395
49396
49397
49398
49399
49400
49401
49402
49403
49404
49405 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr A-Z a-z`
49406
49407
49408
49409
49410
49411
49412
49413
49414 case "$TOOLKIT" in
49415 GTK)
49416 TOOLKIT_DESC="GTK+"
49417 if test "$WXGTK2" = 1; then
49418 TOOLKIT_DESC="$TOOLKIT_DESC 2"
49419 if test "$wxUSE_GTKPRINT" = "yes" ; then
49420 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
49421 fi
49422 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
49423 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
49424 fi
49425 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
49426 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
49427 fi
49428 if test "$wxUSE_LIBHILDON" = "yes"; then
49429 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
49430 fi
49431
49432 if test "$TOOLKIT_EXTRA" != ""; then
49433 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
49434 fi
49435 fi
49436 ;;
49437
49438 ?*)
49439 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
49440 ;;
49441
49442 *)
49443 TOOLKIT_DESC="base only"
49444 ;;
49445 esac
49446
49447 if test "$wxUSE_WINE" = "yes"; then
49448 BAKEFILE_FORCE_PLATFORM=win32
49449 fi
49450
49451 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
49452 then
49453 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
49454 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
49455 if test "${wx_cv_gcc_pch_bug+set}" = set; then
49456 echo $ECHO_N "(cached) $ECHO_C" >&6
49457 else
49458
49459 echo '#include <stdio.h>
49460 const wchar_t test_var[] = L"awidetest";' > conftest.h
49461
49462 echo '#include "conftest.h"
49463 int main()
49464 {
49465 printf("%ls", test_var);
49466 return 0;
49467 }' > conftest.cpp
49468
49469 wx_cv_gcc_pch_bug="pch not supported"
49470
49471 if $CXX conftest.h >/dev/null 2>&1
49472 then
49473 wx_cv_gcc_pch_bug=
49474
49475 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
49476 then
49477 if tr -dc a-z < conftest$PROGRAM_EXT |
49478 grep awidetest >/dev/null
49479 then
49480 wx_cv_gcc_pch_bug=no
49481 else
49482 wx_cv_gcc_pch_bug=yes
49483 fi
49484 fi
49485 fi
49486
49487 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
49488
49489 fi
49490 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
49491 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
49492
49493 if test "$wx_cv_gcc_pch_bug" = yes; then
49494 bk_use_pch=no
49495 fi
49496 fi
49497
49498
49499
49500
49501 if test "x$BAKEFILE_HOST" = "x"; then
49502 if test "x${host}" = "x" ; then
49503 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
49504 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
49505 { (exit 1); exit 1; }; }
49506 fi
49507
49508 BAKEFILE_HOST="${host}"
49509 fi
49510
49511 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
49512
49513 if test -n "$ac_tool_prefix"; then
49514 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
49515 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
49516 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49517 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49518 if test "${ac_cv_prog_RANLIB+set}" = set; then
49519 echo $ECHO_N "(cached) $ECHO_C" >&6
49520 else
49521 if test -n "$RANLIB"; then
49522 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
49523 else
49524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49525 for as_dir in $PATH
49526 do
49527 IFS=$as_save_IFS
49528 test -z "$as_dir" && as_dir=.
49529 for ac_exec_ext in '' $ac_executable_extensions; do
49530 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49531 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
49532 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49533 break 2
49534 fi
49535 done
49536 done
49537 IFS=$as_save_IFS
49538
49539 fi
49540 fi
49541 RANLIB=$ac_cv_prog_RANLIB
49542 if test -n "$RANLIB"; then
49543 { echo "$as_me:$LINENO: result: $RANLIB" >&5
49544 echo "${ECHO_T}$RANLIB" >&6; }
49545 else
49546 { echo "$as_me:$LINENO: result: no" >&5
49547 echo "${ECHO_T}no" >&6; }
49548 fi
49549
49550
49551 fi
49552 if test -z "$ac_cv_prog_RANLIB"; then
49553 ac_ct_RANLIB=$RANLIB
49554 # Extract the first word of "ranlib", so it can be a program name with args.
49555 set dummy ranlib; ac_word=$2
49556 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49557 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49558 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
49559 echo $ECHO_N "(cached) $ECHO_C" >&6
49560 else
49561 if test -n "$ac_ct_RANLIB"; then
49562 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
49563 else
49564 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49565 for as_dir in $PATH
49566 do
49567 IFS=$as_save_IFS
49568 test -z "$as_dir" && as_dir=.
49569 for ac_exec_ext in '' $ac_executable_extensions; do
49570 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49571 ac_cv_prog_ac_ct_RANLIB="ranlib"
49572 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49573 break 2
49574 fi
49575 done
49576 done
49577 IFS=$as_save_IFS
49578
49579 fi
49580 fi
49581 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
49582 if test -n "$ac_ct_RANLIB"; then
49583 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
49584 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
49585 else
49586 { echo "$as_me:$LINENO: result: no" >&5
49587 echo "${ECHO_T}no" >&6; }
49588 fi
49589
49590 if test "x$ac_ct_RANLIB" = x; then
49591 RANLIB=":"
49592 else
49593 case $cross_compiling:$ac_tool_warned in
49594 yes:)
49595 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49596 whose name does not start with the host triplet. If you think this
49597 configuration is useful to you, please write to autoconf@gnu.org." >&5
49598 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49599 whose name does not start with the host triplet. If you think this
49600 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49601 ac_tool_warned=yes ;;
49602 esac
49603 RANLIB=$ac_ct_RANLIB
49604 fi
49605 else
49606 RANLIB="$ac_cv_prog_RANLIB"
49607 fi
49608
49609 # Find a good install program. We prefer a C program (faster),
49610 # so one script is as good as another. But avoid the broken or
49611 # incompatible versions:
49612 # SysV /etc/install, /usr/sbin/install
49613 # SunOS /usr/etc/install
49614 # IRIX /sbin/install
49615 # AIX /bin/install
49616 # AmigaOS /C/install, which installs bootblocks on floppy discs
49617 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
49618 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
49619 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
49620 # OS/2's system install, which has a completely different semantic
49621 # ./install, which can be erroneously created by make from ./install.sh.
49622 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
49623 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
49624 if test -z "$INSTALL"; then
49625 if test "${ac_cv_path_install+set}" = set; then
49626 echo $ECHO_N "(cached) $ECHO_C" >&6
49627 else
49628 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49629 for as_dir in $PATH
49630 do
49631 IFS=$as_save_IFS
49632 test -z "$as_dir" && as_dir=.
49633 # Account for people who put trailing slashes in PATH elements.
49634 case $as_dir/ in
49635 ./ | .// | /cC/* | \
49636 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
49637 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
49638 /usr/ucb/* ) ;;
49639 *)
49640 # OSF1 and SCO ODT 3.0 have their own names for install.
49641 # Don't use installbsd from OSF since it installs stuff as root
49642 # by default.
49643 for ac_prog in ginstall scoinst install; do
49644 for ac_exec_ext in '' $ac_executable_extensions; do
49645 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
49646 if test $ac_prog = install &&
49647 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
49648 # AIX install. It has an incompatible calling convention.
49649 :
49650 elif test $ac_prog = install &&
49651 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
49652 # program-specific install script used by HP pwplus--don't use.
49653 :
49654 else
49655 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
49656 break 3
49657 fi
49658 fi
49659 done
49660 done
49661 ;;
49662 esac
49663 done
49664 IFS=$as_save_IFS
49665
49666
49667 fi
49668 if test "${ac_cv_path_install+set}" = set; then
49669 INSTALL=$ac_cv_path_install
49670 else
49671 # As a last resort, use the slow shell script. Don't cache a
49672 # value for INSTALL within a source directory, because that will
49673 # break other packages using the cache if that directory is
49674 # removed, or if the value is a relative name.
49675 INSTALL=$ac_install_sh
49676 fi
49677 fi
49678 { echo "$as_me:$LINENO: result: $INSTALL" >&5
49679 echo "${ECHO_T}$INSTALL" >&6; }
49680
49681 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
49682 # It thinks the first close brace ends the variable substitution.
49683 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
49684
49685 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
49686
49687 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
49688
49689 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
49690 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
49691 LN_S=$as_ln_s
49692 if test "$LN_S" = "ln -s"; then
49693 { echo "$as_me:$LINENO: result: yes" >&5
49694 echo "${ECHO_T}yes" >&6; }
49695 else
49696 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
49697 echo "${ECHO_T}no, using $LN_S" >&6; }
49698 fi
49699
49700
49701 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
49702 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
49703 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
49704 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
49705 echo $ECHO_N "(cached) $ECHO_C" >&6
49706 else
49707 cat >conftest.make <<\_ACEOF
49708 SHELL = /bin/sh
49709 all:
49710 @echo '@@@%%%=$(MAKE)=@@@%%%'
49711 _ACEOF
49712 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
49713 case `${MAKE-make} -f conftest.make 2>/dev/null` in
49714 *@@@%%%=?*=@@@%%%*)
49715 eval ac_cv_prog_make_${ac_make}_set=yes;;
49716 *)
49717 eval ac_cv_prog_make_${ac_make}_set=no;;
49718 esac
49719 rm -f conftest.make
49720 fi
49721 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
49722 { echo "$as_me:$LINENO: result: yes" >&5
49723 echo "${ECHO_T}yes" >&6; }
49724 SET_MAKE=
49725 else
49726 { echo "$as_me:$LINENO: result: no" >&5
49727 echo "${ECHO_T}no" >&6; }
49728 SET_MAKE="MAKE=${MAKE-make}"
49729 fi
49730
49731
49732
49733 if test "x$SUNCXX" = "xyes"; then
49734 AR=$CXX
49735 AROPTIONS="-xar -o"
49736
49737 elif test "x$SGICC" = "xyes"; then
49738 AR=$CXX
49739 AROPTIONS="-ar -o"
49740
49741 else
49742 if test -n "$ac_tool_prefix"; then
49743 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
49744 set dummy ${ac_tool_prefix}ar; ac_word=$2
49745 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49746 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49747 if test "${ac_cv_prog_AR+set}" = set; then
49748 echo $ECHO_N "(cached) $ECHO_C" >&6
49749 else
49750 if test -n "$AR"; then
49751 ac_cv_prog_AR="$AR" # Let the user override the test.
49752 else
49753 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49754 for as_dir in $PATH
49755 do
49756 IFS=$as_save_IFS
49757 test -z "$as_dir" && as_dir=.
49758 for ac_exec_ext in '' $ac_executable_extensions; do
49759 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49760 ac_cv_prog_AR="${ac_tool_prefix}ar"
49761 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49762 break 2
49763 fi
49764 done
49765 done
49766 IFS=$as_save_IFS
49767
49768 fi
49769 fi
49770 AR=$ac_cv_prog_AR
49771 if test -n "$AR"; then
49772 { echo "$as_me:$LINENO: result: $AR" >&5
49773 echo "${ECHO_T}$AR" >&6; }
49774 else
49775 { echo "$as_me:$LINENO: result: no" >&5
49776 echo "${ECHO_T}no" >&6; }
49777 fi
49778
49779
49780 fi
49781 if test -z "$ac_cv_prog_AR"; then
49782 ac_ct_AR=$AR
49783 # Extract the first word of "ar", so it can be a program name with args.
49784 set dummy ar; ac_word=$2
49785 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49786 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49787 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
49788 echo $ECHO_N "(cached) $ECHO_C" >&6
49789 else
49790 if test -n "$ac_ct_AR"; then
49791 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
49792 else
49793 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49794 for as_dir in $PATH
49795 do
49796 IFS=$as_save_IFS
49797 test -z "$as_dir" && as_dir=.
49798 for ac_exec_ext in '' $ac_executable_extensions; do
49799 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49800 ac_cv_prog_ac_ct_AR="ar"
49801 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49802 break 2
49803 fi
49804 done
49805 done
49806 IFS=$as_save_IFS
49807
49808 fi
49809 fi
49810 ac_ct_AR=$ac_cv_prog_ac_ct_AR
49811 if test -n "$ac_ct_AR"; then
49812 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
49813 echo "${ECHO_T}$ac_ct_AR" >&6; }
49814 else
49815 { echo "$as_me:$LINENO: result: no" >&5
49816 echo "${ECHO_T}no" >&6; }
49817 fi
49818
49819 if test "x$ac_ct_AR" = x; then
49820 AR="ar"
49821 else
49822 case $cross_compiling:$ac_tool_warned in
49823 yes:)
49824 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49825 whose name does not start with the host triplet. If you think this
49826 configuration is useful to you, please write to autoconf@gnu.org." >&5
49827 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49828 whose name does not start with the host triplet. If you think this
49829 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49830 ac_tool_warned=yes ;;
49831 esac
49832 AR=$ac_ct_AR
49833 fi
49834 else
49835 AR="$ac_cv_prog_AR"
49836 fi
49837
49838 AROPTIONS=rcu
49839 fi
49840
49841
49842 if test -n "$ac_tool_prefix"; then
49843 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
49844 set dummy ${ac_tool_prefix}strip; ac_word=$2
49845 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49846 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49847 if test "${ac_cv_prog_STRIP+set}" = set; then
49848 echo $ECHO_N "(cached) $ECHO_C" >&6
49849 else
49850 if test -n "$STRIP"; then
49851 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
49852 else
49853 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49854 for as_dir in $PATH
49855 do
49856 IFS=$as_save_IFS
49857 test -z "$as_dir" && as_dir=.
49858 for ac_exec_ext in '' $ac_executable_extensions; do
49859 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49860 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
49861 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49862 break 2
49863 fi
49864 done
49865 done
49866 IFS=$as_save_IFS
49867
49868 fi
49869 fi
49870 STRIP=$ac_cv_prog_STRIP
49871 if test -n "$STRIP"; then
49872 { echo "$as_me:$LINENO: result: $STRIP" >&5
49873 echo "${ECHO_T}$STRIP" >&6; }
49874 else
49875 { echo "$as_me:$LINENO: result: no" >&5
49876 echo "${ECHO_T}no" >&6; }
49877 fi
49878
49879
49880 fi
49881 if test -z "$ac_cv_prog_STRIP"; then
49882 ac_ct_STRIP=$STRIP
49883 # Extract the first word of "strip", so it can be a program name with args.
49884 set dummy strip; ac_word=$2
49885 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49886 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49887 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
49888 echo $ECHO_N "(cached) $ECHO_C" >&6
49889 else
49890 if test -n "$ac_ct_STRIP"; then
49891 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
49892 else
49893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49894 for as_dir in $PATH
49895 do
49896 IFS=$as_save_IFS
49897 test -z "$as_dir" && as_dir=.
49898 for ac_exec_ext in '' $ac_executable_extensions; do
49899 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49900 ac_cv_prog_ac_ct_STRIP="strip"
49901 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49902 break 2
49903 fi
49904 done
49905 done
49906 IFS=$as_save_IFS
49907
49908 fi
49909 fi
49910 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
49911 if test -n "$ac_ct_STRIP"; then
49912 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
49913 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
49914 else
49915 { echo "$as_me:$LINENO: result: no" >&5
49916 echo "${ECHO_T}no" >&6; }
49917 fi
49918
49919 if test "x$ac_ct_STRIP" = x; then
49920 STRIP=":"
49921 else
49922 case $cross_compiling:$ac_tool_warned in
49923 yes:)
49924 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49925 whose name does not start with the host triplet. If you think this
49926 configuration is useful to you, please write to autoconf@gnu.org." >&5
49927 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49928 whose name does not start with the host triplet. If you think this
49929 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49930 ac_tool_warned=yes ;;
49931 esac
49932 STRIP=$ac_ct_STRIP
49933 fi
49934 else
49935 STRIP="$ac_cv_prog_STRIP"
49936 fi
49937
49938 if test -n "$ac_tool_prefix"; then
49939 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
49940 set dummy ${ac_tool_prefix}nm; ac_word=$2
49941 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49942 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49943 if test "${ac_cv_prog_NM+set}" = set; then
49944 echo $ECHO_N "(cached) $ECHO_C" >&6
49945 else
49946 if test -n "$NM"; then
49947 ac_cv_prog_NM="$NM" # Let the user override the test.
49948 else
49949 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49950 for as_dir in $PATH
49951 do
49952 IFS=$as_save_IFS
49953 test -z "$as_dir" && as_dir=.
49954 for ac_exec_ext in '' $ac_executable_extensions; do
49955 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49956 ac_cv_prog_NM="${ac_tool_prefix}nm"
49957 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49958 break 2
49959 fi
49960 done
49961 done
49962 IFS=$as_save_IFS
49963
49964 fi
49965 fi
49966 NM=$ac_cv_prog_NM
49967 if test -n "$NM"; then
49968 { echo "$as_me:$LINENO: result: $NM" >&5
49969 echo "${ECHO_T}$NM" >&6; }
49970 else
49971 { echo "$as_me:$LINENO: result: no" >&5
49972 echo "${ECHO_T}no" >&6; }
49973 fi
49974
49975
49976 fi
49977 if test -z "$ac_cv_prog_NM"; then
49978 ac_ct_NM=$NM
49979 # Extract the first word of "nm", so it can be a program name with args.
49980 set dummy nm; ac_word=$2
49981 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49982 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49983 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
49984 echo $ECHO_N "(cached) $ECHO_C" >&6
49985 else
49986 if test -n "$ac_ct_NM"; then
49987 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
49988 else
49989 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49990 for as_dir in $PATH
49991 do
49992 IFS=$as_save_IFS
49993 test -z "$as_dir" && as_dir=.
49994 for ac_exec_ext in '' $ac_executable_extensions; do
49995 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49996 ac_cv_prog_ac_ct_NM="nm"
49997 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49998 break 2
49999 fi
50000 done
50001 done
50002 IFS=$as_save_IFS
50003
50004 fi
50005 fi
50006 ac_ct_NM=$ac_cv_prog_ac_ct_NM
50007 if test -n "$ac_ct_NM"; then
50008 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
50009 echo "${ECHO_T}$ac_ct_NM" >&6; }
50010 else
50011 { echo "$as_me:$LINENO: result: no" >&5
50012 echo "${ECHO_T}no" >&6; }
50013 fi
50014
50015 if test "x$ac_ct_NM" = x; then
50016 NM=":"
50017 else
50018 case $cross_compiling:$ac_tool_warned in
50019 yes:)
50020 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
50021 whose name does not start with the host triplet. If you think this
50022 configuration is useful to you, please write to autoconf@gnu.org." >&5
50023 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
50024 whose name does not start with the host triplet. If you think this
50025 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
50026 ac_tool_warned=yes ;;
50027 esac
50028 NM=$ac_ct_NM
50029 fi
50030 else
50031 NM="$ac_cv_prog_NM"
50032 fi
50033
50034
50035 case ${BAKEFILE_HOST} in
50036 *-hp-hpux* )
50037 INSTALL_DIR="mkdir -p"
50038 ;;
50039 * )
50040 INSTALL_DIR='$(INSTALL) -d'
50041 ;;
50042 esac
50043
50044
50045 LDFLAGS_GUI=
50046 case ${BAKEFILE_HOST} in
50047 *-*-cygwin* | *-*-mingw32* )
50048 LDFLAGS_GUI="-mwindows"
50049 esac
50050
50051
50052 fi
50053
50054 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
50055 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
50056 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
50057 echo $ECHO_N "(cached) $ECHO_C" >&6
50058 else
50059
50060 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
50061 egrep -s GNU > /dev/null); then
50062 bakefile_cv_prog_makeisgnu="yes"
50063 else
50064 bakefile_cv_prog_makeisgnu="no"
50065 fi
50066
50067 fi
50068 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
50069 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
50070
50071 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
50072 IF_GNU_MAKE=""
50073 else
50074 IF_GNU_MAKE="#"
50075 fi
50076
50077
50078
50079 PLATFORM_UNIX=0
50080 PLATFORM_WIN32=0
50081 PLATFORM_MSDOS=0
50082 PLATFORM_MAC=0
50083 PLATFORM_MACOS=0
50084 PLATFORM_MACOSX=0
50085 PLATFORM_OS2=0
50086 PLATFORM_BEOS=0
50087
50088 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
50089 case "${BAKEFILE_HOST}" in
50090 *-*-mingw32* )
50091 PLATFORM_WIN32=1
50092 ;;
50093 *-pc-msdosdjgpp )
50094 PLATFORM_MSDOS=1
50095 ;;
50096 *-pc-os2_emx | *-pc-os2-emx )
50097 PLATFORM_OS2=1
50098 ;;
50099 *-*-darwin* )
50100 PLATFORM_MAC=1
50101 PLATFORM_MACOSX=1
50102 ;;
50103 *-*-beos* )
50104 PLATFORM_BEOS=1
50105 ;;
50106 powerpc-apple-macos* )
50107 PLATFORM_MAC=1
50108 PLATFORM_MACOS=1
50109 ;;
50110 * )
50111 PLATFORM_UNIX=1
50112 ;;
50113 esac
50114 else
50115 case "$BAKEFILE_FORCE_PLATFORM" in
50116 win32 )
50117 PLATFORM_WIN32=1
50118 ;;
50119 msdos )
50120 PLATFORM_MSDOS=1
50121 ;;
50122 os2 )
50123 PLATFORM_OS2=1
50124 ;;
50125 darwin )
50126 PLATFORM_MAC=1
50127 PLATFORM_MACOSX=1
50128 ;;
50129 unix )
50130 PLATFORM_UNIX=1
50131 ;;
50132 beos )
50133 PLATFORM_BEOS=1
50134 ;;
50135 * )
50136 ;;
50137 esac
50138 fi
50139
50140
50141
50142
50143
50144
50145
50146
50147
50148
50149
50150 # Check whether --enable-omf was given.
50151 if test "${enable_omf+set}" = set; then
50152 enableval=$enable_omf; bk_os2_use_omf="$enableval"
50153 fi
50154
50155
50156 case "${BAKEFILE_HOST}" in
50157 *-*-darwin* )
50158 if test "x$GCC" = "xyes"; then
50159 CFLAGS="$CFLAGS -fno-common"
50160 CXXFLAGS="$CXXFLAGS -fno-common"
50161 fi
50162 if test "x$XLCC" = "xyes"; then
50163 CFLAGS="$CFLAGS -qnocommon"
50164 CXXFLAGS="$CXXFLAGS -qnocommon"
50165 fi
50166 ;;
50167
50168 *-pc-os2_emx | *-pc-os2-emx )
50169 if test "x$bk_os2_use_omf" = "xyes" ; then
50170 AR=emxomfar
50171 RANLIB=:
50172 LDFLAGS="-Zomf $LDFLAGS"
50173 CFLAGS="-Zomf $CFLAGS"
50174 CXXFLAGS="-Zomf $CXXFLAGS"
50175 OS2_LIBEXT="lib"
50176 else
50177 OS2_LIBEXT="a"
50178 fi
50179 ;;
50180
50181 i*86-*-beos* )
50182 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
50183 ;;
50184 esac
50185
50186
50187 SO_SUFFIX="so"
50188 SO_SUFFIX_MODULE="so"
50189 EXEEXT=""
50190 LIBPREFIX="lib"
50191 LIBEXT=".a"
50192 DLLPREFIX="lib"
50193 DLLPREFIX_MODULE=""
50194 DLLIMP_SUFFIX=""
50195 dlldir="$libdir"
50196
50197 case "${BAKEFILE_HOST}" in
50198 *-hp-hpux* )
50199 SO_SUFFIX="sl"
50200 SO_SUFFIX_MODULE="sl"
50201 ;;
50202 *-*-aix* )
50203 SO_SUFFIX="a"
50204 SO_SUFFIX_MODULE="a"
50205 ;;
50206 *-*-cygwin* )
50207 SO_SUFFIX="dll"
50208 SO_SUFFIX_MODULE="dll"
50209 DLLIMP_SUFFIX="dll.a"
50210 EXEEXT=".exe"
50211 DLLPREFIX="cyg"
50212 dlldir="$bindir"
50213 ;;
50214 *-*-mingw32* )
50215 SO_SUFFIX="dll"
50216 SO_SUFFIX_MODULE="dll"
50217 DLLIMP_SUFFIX="dll.a"
50218 EXEEXT=".exe"
50219 DLLPREFIX=""
50220 dlldir="$bindir"
50221 ;;
50222 *-pc-msdosdjgpp )
50223 EXEEXT=".exe"
50224 DLLPREFIX=""
50225 dlldir="$bindir"
50226 ;;
50227 *-pc-os2_emx | *-pc-os2-emx )
50228 SO_SUFFIX="dll"
50229 SO_SUFFIX_MODULE="dll"
50230 DLLIMP_SUFFIX=$OS2_LIBEXT
50231 EXEEXT=".exe"
50232 DLLPREFIX=""
50233 LIBPREFIX=""
50234 LIBEXT=".$OS2_LIBEXT"
50235 dlldir="$bindir"
50236 ;;
50237 *-*-darwin* )
50238 SO_SUFFIX="dylib"
50239 SO_SUFFIX_MODULE="bundle"
50240 ;;
50241 esac
50242
50243 if test "x$DLLIMP_SUFFIX" = "x" ; then
50244 DLLIMP_SUFFIX="$SO_SUFFIX"
50245 fi
50246
50247
50248
50249
50250
50251
50252
50253
50254
50255
50256
50257
50258 PIC_FLAG=""
50259 if test "x$GCC" = "xyes"; then
50260 PIC_FLAG="-fPIC"
50261 fi
50262
50263 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
50264 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
50265 WINDOWS_IMPLIB=0
50266
50267 case "${BAKEFILE_HOST}" in
50268 *-hp-hpux* )
50269 if test "x$GCC" != "xyes"; then
50270 LDFLAGS="$LDFLAGS -L/usr/lib"
50271
50272 SHARED_LD_CC="${CC} -b -o"
50273 SHARED_LD_CXX="${CXX} -b -o"
50274 PIC_FLAG="+Z"
50275 fi
50276 ;;
50277
50278 *-*-linux* )
50279 if test "$INTELCC" = "yes"; then
50280 PIC_FLAG="-KPIC"
50281 elif test "x$SUNCXX" = "xyes"; then
50282 SHARED_LD_CC="${CC} -G -o"
50283 SHARED_LD_CXX="${CXX} -G -o"
50284 PIC_FLAG="-KPIC"
50285 fi
50286 ;;
50287
50288 *-*-solaris2* )
50289 if test "x$SUNCXX" = xyes ; then
50290 SHARED_LD_CC="${CC} -G -o"
50291 SHARED_LD_CXX="${CXX} -G -o"
50292 PIC_FLAG="-KPIC"
50293 fi
50294 ;;
50295
50296 *-*-darwin* )
50297
50298 D='$'
50299 cat <<EOF >shared-ld-sh
50300 #!/bin/sh
50301 #-----------------------------------------------------------------------------
50302 #-- Name: distrib/mac/shared-ld-sh
50303 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
50304 #-- Author: Gilles Depeyrot
50305 #-- Copyright: (c) 2002 Gilles Depeyrot
50306 #-- Licence: any use permitted
50307 #-----------------------------------------------------------------------------
50308
50309 verbose=0
50310 args=""
50311 objects=""
50312 linking_flag="-dynamiclib"
50313 ldargs="-r -keep_private_externs -nostdlib"
50314
50315 while test ${D}# -gt 0; do
50316 case ${D}1 in
50317
50318 -v)
50319 verbose=1
50320 ;;
50321
50322 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
50323 # collect these options and values
50324 args="${D}{args} ${D}1 ${D}2"
50325 shift
50326 ;;
50327
50328 -s|-Wl,*)
50329 # collect these load args
50330 ldargs="${D}{ldargs} ${D}1"
50331 ;;
50332
50333 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
50334 # collect these options
50335 args="${D}{args} ${D}1"
50336 ;;
50337
50338 -dynamiclib|-bundle)
50339 linking_flag="${D}1"
50340 ;;
50341
50342 -*)
50343 echo "shared-ld: unhandled option '${D}1'"
50344 exit 1
50345 ;;
50346
50347 *.o | *.a | *.dylib)
50348 # collect object files
50349 objects="${D}{objects} ${D}1"
50350 ;;
50351
50352 *)
50353 echo "shared-ld: unhandled argument '${D}1'"
50354 exit 1
50355 ;;
50356
50357 esac
50358 shift
50359 done
50360
50361 status=0
50362
50363 #
50364 # Link one module containing all the others
50365 #
50366 if test ${D}{verbose} = 1; then
50367 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
50368 fi
50369 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
50370 status=${D}?
50371
50372 #
50373 # Link the shared library from the single module created, but only if the
50374 # previous command didn't fail:
50375 #
50376 if test ${D}{status} = 0; then
50377 if test ${D}{verbose} = 1; then
50378 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
50379 fi
50380 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
50381 status=${D}?
50382 fi
50383
50384 #
50385 # Remove intermediate module
50386 #
50387 rm -f master.${D}${D}.o
50388
50389 exit ${D}status
50390 EOF
50391
50392 chmod +x shared-ld-sh
50393
50394 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
50395 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
50396
50397
50398 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
50399 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
50400 if test "${bakefile_cv_gcc31+set}" = set; then
50401 echo $ECHO_N "(cached) $ECHO_C" >&6
50402 else
50403
50404 cat >conftest.$ac_ext <<_ACEOF
50405 /* confdefs.h. */
50406 _ACEOF
50407 cat confdefs.h >>conftest.$ac_ext
50408 cat >>conftest.$ac_ext <<_ACEOF
50409 /* end confdefs.h. */
50410
50411 int
50412 main ()
50413 {
50414
50415 #if (__GNUC__ < 3) || \
50416 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
50417 This is old gcc
50418 #endif
50419
50420 ;
50421 return 0;
50422 }
50423 _ACEOF
50424 rm -f conftest.$ac_objext
50425 if { (ac_try="$ac_compile"
50426 case "(($ac_try" in
50427 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
50428 *) ac_try_echo=$ac_try;;
50429 esac
50430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50431 (eval "$ac_compile") 2>conftest.er1
50432 ac_status=$?
50433 grep -v '^ *+' conftest.er1 >conftest.err
50434 rm -f conftest.er1
50435 cat conftest.err >&5
50436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50437 (exit $ac_status); } && {
50438 test -z "$ac_c_werror_flag" ||
50439 test ! -s conftest.err
50440 } && test -s conftest.$ac_objext; then
50441
50442 bakefile_cv_gcc31=yes
50443
50444 else
50445 echo "$as_me: failed program was:" >&5
50446 sed 's/^/| /' conftest.$ac_ext >&5
50447
50448
50449 bakefile_cv_gcc31=no
50450
50451
50452 fi
50453
50454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50455
50456 fi
50457 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
50458 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
50459 if test "$bakefile_cv_gcc31" = "no"; then
50460 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
50461 SHARED_LD_CXX="$SHARED_LD_CC"
50462 else
50463 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
50464 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
50465 fi
50466
50467 if test "x$GCC" == "xyes"; then
50468 PIC_FLAG="-dynamic -fPIC"
50469 fi
50470 if test "x$XLCC" = "xyes"; then
50471 PIC_FLAG="-dynamic -DPIC"
50472 fi
50473 ;;
50474
50475 *-*-aix* )
50476 if test "x$GCC" = "xyes"; then
50477 PIC_FLAG=""
50478
50479 case "${BAKEFILE_HOST}" in
50480 *-*-aix5* )
50481 LD_EXPFULL="-Wl,-bexpfull"
50482 ;;
50483 esac
50484
50485 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
50486 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
50487 else
50488 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
50489 set dummy makeC++SharedLib; ac_word=$2
50490 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50491 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50492 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
50493 echo $ECHO_N "(cached) $ECHO_C" >&6
50494 else
50495 if test -n "$AIX_CXX_LD"; then
50496 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
50497 else
50498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50499 for as_dir in $PATH
50500 do
50501 IFS=$as_save_IFS
50502 test -z "$as_dir" && as_dir=.
50503 for ac_exec_ext in '' $ac_executable_extensions; do
50504 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50505 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
50506 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50507 break 2
50508 fi
50509 done
50510 done
50511 IFS=$as_save_IFS
50512
50513 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
50514 fi
50515 fi
50516 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
50517 if test -n "$AIX_CXX_LD"; then
50518 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
50519 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
50520 else
50521 { echo "$as_me:$LINENO: result: no" >&5
50522 echo "${ECHO_T}no" >&6; }
50523 fi
50524
50525
50526 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
50527 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
50528 fi
50529 ;;
50530
50531 *-*-beos* )
50532 SHARED_LD_CC="${LD} -nostart -o"
50533 SHARED_LD_CXX="${LD} -nostart -o"
50534 ;;
50535
50536 *-*-irix* )
50537 if test "x$GCC" != "xyes"; then
50538 PIC_FLAG="-KPIC"
50539 fi
50540 ;;
50541
50542 *-*-cygwin* | *-*-mingw32* )
50543 PIC_FLAG=""
50544 SHARED_LD_CC="\$(CC) -shared -o"
50545 SHARED_LD_CXX="\$(CXX) -shared -o"
50546 WINDOWS_IMPLIB=1
50547 ;;
50548
50549 *-pc-os2_emx | *-pc-os2-emx )
50550 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50551 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50552 PIC_FLAG=""
50553
50554 D='$'
50555 cat <<EOF >dllar.sh
50556 #!/bin/sh
50557 #
50558 # dllar - a tool to build both a .dll and an .a file
50559 # from a set of object (.o) files for EMX/OS2.
50560 #
50561 # Written by Andrew Zabolotny, bit@freya.etu.ru
50562 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
50563 #
50564 # This script will accept a set of files on the command line.
50565 # All the public symbols from the .o files will be exported into
50566 # a .DEF file, then linker will be run (through gcc) against them to
50567 # build a shared library consisting of all given .o files. All libraries
50568 # (.a) will be first decompressed into component .o files then act as
50569 # described above. You can optionally give a description (-d "description")
50570 # which will be put into .DLL. To see the list of accepted options (as well
50571 # as command-line format) simply run this program without options. The .DLL
50572 # is built to be imported by name (there is no guarantee that new versions
50573 # of the library you build will have same ordinals for same symbols).
50574 #
50575 # dllar is free software; you can redistribute it and/or modify
50576 # it under the terms of the GNU General Public License as published by
50577 # the Free Software Foundation; either version 2, or (at your option)
50578 # any later version.
50579 #
50580 # dllar is distributed in the hope that it will be useful,
50581 # but WITHOUT ANY WARRANTY; without even the implied warranty of
50582 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
50583 # GNU General Public License for more details.
50584 #
50585 # You should have received a copy of the GNU General Public License
50586 # along with dllar; see the file COPYING. If not, write to the Free
50587 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
50588 # 02111-1307, USA.
50589
50590 # To successfuly run this program you will need:
50591 # - Current drive should have LFN support (HPFS, ext2, network, etc)
50592 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
50593 # - gcc
50594 # (used to build the .dll)
50595 # - emxexp
50596 # (used to create .def file from .o files)
50597 # - emximp
50598 # (used to create .a file from .def file)
50599 # - GNU text utilites (cat, sort, uniq)
50600 # used to process emxexp output
50601 # - GNU file utilities (mv, rm)
50602 # - GNU sed
50603 # - lxlite (optional, see flag below)
50604 # (used for general .dll cleanup)
50605 #
50606
50607 flag_USE_LXLITE=1;
50608
50609 #
50610 # helper functions
50611 # basnam, variant of basename, which does _not_ remove the path, _iff_
50612 # second argument (suffix to remove) is given
50613 basnam(){
50614 case ${D}# in
50615 1)
50616 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
50617 ;;
50618 2)
50619 echo ${D}1 | sed 's/'${D}2'${D}//'
50620 ;;
50621 *)
50622 echo "error in basnam ${D}*"
50623 exit 8
50624 ;;
50625 esac
50626 }
50627
50628 # Cleanup temporary files and output
50629 CleanUp() {
50630 cd ${D}curDir
50631 for i in ${D}inputFiles ; do
50632 case ${D}i in
50633 *!)
50634 rm -rf \`basnam ${D}i !\`
50635 ;;
50636 *)
50637 ;;
50638 esac
50639 done
50640
50641 # Kill result in case of failure as there is just to many stupid make/nmake
50642 # things out there which doesn't do this.
50643 if [ ${D}# -eq 0 ]; then
50644 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
50645 fi
50646 }
50647
50648 # Print usage and exit script with rc=1.
50649 PrintHelp() {
50650 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
50651 echo ' [-name-mangler-script script.sh]'
50652 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
50653 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
50654 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
50655 echo ' [*.o] [*.a]'
50656 echo '*> "output_file" should have no extension.'
50657 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
50658 echo ' The import library name is derived from this and is set to "name".a,'
50659 echo ' unless overridden by -import'
50660 echo '*> "importlib_name" should have no extension.'
50661 echo ' If it has the .o, or .a extension, it is automatically removed.'
50662 echo ' This name is used as the import library name and may be longer and'
50663 echo ' more descriptive than the DLL name which has to follow the old '
50664 echo ' 8.3 convention of FAT.'
50665 echo '*> "script.sh may be given to override the output_file name by a'
50666 echo ' different name. It is mainly useful if the regular make process'
50667 echo ' of some package does not take into account OS/2 restriction of'
50668 echo ' DLL name lengths. It takes the importlib name as input and is'
50669 echo ' supposed to procude a shorter name as output. The script should'
50670 echo ' expect to get importlib_name without extension and should produce'
50671 echo ' a (max.) 8 letter name without extension.'
50672 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
50673 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
50674 echo ' These flags will be put at the start of GCC command line.'
50675 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
50676 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
50677 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
50678 echo ' If the last character of a symbol is "*", all symbols beginning'
50679 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
50680 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
50681 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
50682 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
50683 echo ' C runtime DLLs.'
50684 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
50685 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
50686 echo ' unchanged to GCC at the end of command line.'
50687 echo '*> If you create a DLL from a library and you do not specify -o,'
50688 echo ' the basename for DLL and import library will be set to library name,'
50689 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
50690 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
50691 echo ' library will be renamed into gcc_s.a.'
50692 echo '--------'
50693 echo 'Example:'
50694 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
50695 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
50696 CleanUp
50697 exit 1
50698 }
50699
50700 # Execute a command.
50701 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
50702 # @Uses Whatever CleanUp() uses.
50703 doCommand() {
50704 echo "${D}*"
50705 eval ${D}*
50706 rcCmd=${D}?
50707
50708 if [ ${D}rcCmd -ne 0 ]; then
50709 echo "command failed, exit code="${D}rcCmd
50710 CleanUp
50711 exit ${D}rcCmd
50712 fi
50713 }
50714
50715 # main routine
50716 # setup globals
50717 cmdLine=${D}*
50718 outFile=""
50719 outimpFile=""
50720 inputFiles=""
50721 renameScript=""
50722 description=""
50723 CC=gcc.exe
50724 CFLAGS="-s -Zcrtdll"
50725 EXTRA_CFLAGS=""
50726 EXPORT_BY_ORDINALS=0
50727 exclude_symbols=""
50728 library_flags=""
50729 curDir=\`pwd\`
50730 curDirS=curDir
50731 case ${D}curDirS in
50732 */)
50733 ;;
50734 *)
50735 curDirS=${D}{curDirS}"/"
50736 ;;
50737 esac
50738 # Parse commandline
50739 libsToLink=0
50740 omfLinking=0
50741 while [ ${D}1 ]; do
50742 case ${D}1 in
50743 -ord*)
50744 EXPORT_BY_ORDINALS=1;
50745 ;;
50746 -o*)
50747 shift
50748 outFile=${D}1
50749 ;;
50750 -i*)
50751 shift
50752 outimpFile=${D}1
50753 ;;
50754 -name-mangler-script)
50755 shift
50756 renameScript=${D}1
50757 ;;
50758 -d*)
50759 shift
50760 description=${D}1
50761 ;;
50762 -f*)
50763 shift
50764 CFLAGS=${D}1
50765 ;;
50766 -c*)
50767 shift
50768 CC=${D}1
50769 ;;
50770 -h*)
50771 PrintHelp
50772 ;;
50773 -ex*)
50774 shift
50775 exclude_symbols=${D}{exclude_symbols}${D}1" "
50776 ;;
50777 -libf*)
50778 shift
50779 library_flags=${D}{library_flags}${D}1" "
50780 ;;
50781 -nocrt*)
50782 CFLAGS="-s"
50783 ;;
50784 -nolxl*)
50785 flag_USE_LXLITE=0
50786 ;;
50787 -* | /*)
50788 case ${D}1 in
50789 -L* | -l*)
50790 libsToLink=1
50791 ;;
50792 -Zomf)
50793 omfLinking=1
50794 ;;
50795 *)
50796 ;;
50797 esac
50798 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50799 ;;
50800 *.dll)
50801 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
50802 if [ ${D}omfLinking -eq 1 ]; then
50803 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
50804 else
50805 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
50806 fi
50807 ;;
50808 *)
50809 found=0;
50810 if [ ${D}libsToLink -ne 0 ]; then
50811 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50812 else
50813 for file in ${D}1 ; do
50814 if [ -f ${D}file ]; then
50815 inputFiles="${D}{inputFiles} ${D}file"
50816 found=1
50817 fi
50818 done
50819 if [ ${D}found -eq 0 ]; then
50820 echo "ERROR: No file(s) found: "${D}1
50821 exit 8
50822 fi
50823 fi
50824 ;;
50825 esac
50826 shift
50827 done # iterate cmdline words
50828
50829 #
50830 if [ -z "${D}inputFiles" ]; then
50831 echo "dllar: no input files"
50832 PrintHelp
50833 fi
50834
50835 # Now extract all .o files from .a files
50836 newInputFiles=""
50837 for file in ${D}inputFiles ; do
50838 case ${D}file in
50839 *.a | *.lib)
50840 case ${D}file in
50841 *.a)
50842 suffix=".a"
50843 AR="ar"
50844 ;;
50845 *.lib)
50846 suffix=".lib"
50847 AR="emxomfar"
50848 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
50849 ;;
50850 *)
50851 ;;
50852 esac
50853 dirname=\`basnam ${D}file ${D}suffix\`"_%"
50854 mkdir ${D}dirname
50855 if [ ${D}? -ne 0 ]; then
50856 echo "Failed to create subdirectory ./${D}dirname"
50857 CleanUp
50858 exit 8;
50859 fi
50860 # Append '!' to indicate archive
50861 newInputFiles="${D}newInputFiles ${D}{dirname}!"
50862 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
50863 cd ${D}curDir
50864 found=0;
50865 for subfile in ${D}dirname/*.o* ; do
50866 if [ -f ${D}subfile ]; then
50867 found=1
50868 if [ -s ${D}subfile ]; then
50869 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
50870 newInputFiles="${D}newInputFiles ${D}subfile"
50871 fi
50872 fi
50873 done
50874 if [ ${D}found -eq 0 ]; then
50875 echo "WARNING: there are no files in archive \\'${D}file\\'"
50876 fi
50877 ;;
50878 *)
50879 newInputFiles="${D}{newInputFiles} ${D}file"
50880 ;;
50881 esac
50882 done
50883 inputFiles="${D}newInputFiles"
50884
50885 # Output filename(s).
50886 do_backup=0;
50887 if [ -z ${D}outFile ]; then
50888 do_backup=1;
50889 set outFile ${D}inputFiles; outFile=${D}2
50890 fi
50891
50892 # If it is an archive, remove the '!' and the '_%' suffixes
50893 case ${D}outFile in
50894 *_%!)
50895 outFile=\`basnam ${D}outFile _%!\`
50896 ;;
50897 *)
50898 ;;
50899 esac
50900 case ${D}outFile in
50901 *.dll)
50902 outFile=\`basnam ${D}outFile .dll\`
50903 ;;
50904 *.DLL)
50905 outFile=\`basnam ${D}outFile .DLL\`
50906 ;;
50907 *.o)
50908 outFile=\`basnam ${D}outFile .o\`
50909 ;;
50910 *.obj)
50911 outFile=\`basnam ${D}outFile .obj\`
50912 ;;
50913 *.a)
50914 outFile=\`basnam ${D}outFile .a\`
50915 ;;
50916 *.lib)
50917 outFile=\`basnam ${D}outFile .lib\`
50918 ;;
50919 *)
50920 ;;
50921 esac
50922 case ${D}outimpFile in
50923 *.a)
50924 outimpFile=\`basnam ${D}outimpFile .a\`
50925 ;;
50926 *.lib)
50927 outimpFile=\`basnam ${D}outimpFile .lib\`
50928 ;;
50929 *)
50930 ;;
50931 esac
50932 if [ -z ${D}outimpFile ]; then
50933 outimpFile=${D}outFile
50934 fi
50935 defFile="${D}{outFile}.def"
50936 arcFile="${D}{outimpFile}.a"
50937 arcFile2="${D}{outimpFile}.lib"
50938
50939 #create ${D}dllFile as something matching 8.3 restrictions,
50940 if [ -z ${D}renameScript ] ; then
50941 dllFile="${D}outFile"
50942 else
50943 dllFile=\`${D}renameScript ${D}outimpFile\`
50944 fi
50945
50946 if [ ${D}do_backup -ne 0 ] ; then
50947 if [ -f ${D}arcFile ] ; then
50948 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
50949 fi
50950 if [ -f ${D}arcFile2 ] ; then
50951 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
50952 fi
50953 fi
50954
50955 # Extract public symbols from all the object files.
50956 tmpdefFile=${D}{defFile}_%
50957 rm -f ${D}tmpdefFile
50958 for file in ${D}inputFiles ; do
50959 case ${D}file in
50960 *!)
50961 ;;
50962 *)
50963 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
50964 ;;
50965 esac
50966 done
50967
50968 # Create the def file.
50969 rm -f ${D}defFile
50970 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
50971 dllFile="${D}{dllFile}.dll"
50972 if [ ! -z ${D}description ]; then
50973 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
50974 fi
50975 echo "EXPORTS" >> ${D}defFile
50976
50977 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
50978 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
50979
50980 # Checks if the export is ok or not.
50981 for word in ${D}exclude_symbols; do
50982 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
50983 mv ${D}{tmpdefFile}% ${D}tmpdefFile
50984 done
50985
50986
50987 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
50988 sed "=" < ${D}tmpdefFile | \\
50989 sed '
50990 N
50991 : loop
50992 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
50993 t loop
50994 ' > ${D}{tmpdefFile}%
50995 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
50996 else
50997 rm -f ${D}{tmpdefFile}%
50998 fi
50999 cat ${D}tmpdefFile >> ${D}defFile
51000 rm -f ${D}tmpdefFile
51001
51002 # Do linking, create implib, and apply lxlite.
51003 gccCmdl="";
51004 for file in ${D}inputFiles ; do
51005 case ${D}file in
51006 *!)
51007 ;;
51008 *)
51009 gccCmdl="${D}gccCmdl ${D}file"
51010 ;;
51011 esac
51012 done
51013 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
51014 touch "${D}{outFile}.dll"
51015
51016 doCommand "emximp -o ${D}arcFile ${D}defFile"
51017 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
51018 add_flags="";
51019 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
51020 add_flags="-ynd"
51021 fi
51022 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
51023 fi
51024 doCommand "emxomf -s -l ${D}arcFile"
51025
51026 # Successful exit.
51027 CleanUp 1
51028 exit 0
51029 EOF
51030
51031 chmod +x dllar.sh
51032 ;;
51033
51034 powerpc-apple-macos* | \
51035 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
51036 *-*-mirbsd* | \
51037 *-*-sunos4* | \
51038 *-*-osf* | \
51039 *-*-dgux5* | \
51040 *-*-sysv5* | \
51041 *-pc-msdosdjgpp )
51042 ;;
51043
51044 *)
51045 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
51046 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
51047 { (exit 1); exit 1; }; }
51048 esac
51049
51050 if test "x$PIC_FLAG" != "x" ; then
51051 PIC_FLAG="$PIC_FLAG -DPIC"
51052 fi
51053
51054 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
51055 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
51056 fi
51057 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
51058 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
51059 fi
51060
51061
51062
51063
51064
51065
51066
51067
51068
51069 USE_SOVERSION=0
51070 USE_SOVERLINUX=0
51071 USE_SOVERSOLARIS=0
51072 USE_SOVERCYGWIN=0
51073 USE_SOSYMLINKS=0
51074 USE_MACVERSION=0
51075 SONAME_FLAG=
51076
51077 case "${BAKEFILE_HOST}" in
51078 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
51079 if test "x$SUNCXX" = "xyes"; then
51080 SONAME_FLAG="-h "
51081 else
51082 SONAME_FLAG="-Wl,-soname,"
51083 fi
51084 USE_SOVERSION=1
51085 USE_SOVERLINUX=1
51086 USE_SOSYMLINKS=1
51087 ;;
51088
51089 *-*-solaris2* )
51090 SONAME_FLAG="-h "
51091 USE_SOVERSION=1
51092 USE_SOVERSOLARIS=1
51093 USE_SOSYMLINKS=1
51094 ;;
51095
51096 *-*-darwin* )
51097 USE_MACVERSION=1
51098 USE_SOVERSION=1
51099 USE_SOSYMLINKS=1
51100 ;;
51101
51102 *-*-cygwin* )
51103 USE_SOVERSION=1
51104 USE_SOVERCYGWIN=1
51105 ;;
51106 esac
51107
51108
51109
51110
51111
51112
51113
51114
51115
51116
51117 # Check whether --enable-dependency-tracking was given.
51118 if test "${enable_dependency_tracking+set}" = set; then
51119 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
51120 fi
51121
51122
51123 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
51124 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
51125
51126 BK_DEPS=""
51127 if test "x$bk_use_trackdeps" = "xno" ; then
51128 DEPS_TRACKING=0
51129 { echo "$as_me:$LINENO: result: disabled" >&5
51130 echo "${ECHO_T}disabled" >&6; }
51131 else
51132 DEPS_TRACKING=1
51133
51134 if test "x$GCC" = "xyes"; then
51135 DEPSMODE=gcc
51136 case "${BAKEFILE_HOST}" in
51137 *-*-darwin* )
51138 DEPSFLAG="-no-cpp-precomp -MMD"
51139 ;;
51140 * )
51141 DEPSFLAG="-MMD"
51142 ;;
51143 esac
51144 { echo "$as_me:$LINENO: result: gcc" >&5
51145 echo "${ECHO_T}gcc" >&6; }
51146 elif test "x$MWCC" = "xyes"; then
51147 DEPSMODE=mwcc
51148 DEPSFLAG="-MM"
51149 { echo "$as_me:$LINENO: result: mwcc" >&5
51150 echo "${ECHO_T}mwcc" >&6; }
51151 elif test "x$SUNCC" = "xyes"; then
51152 DEPSMODE=unixcc
51153 DEPSFLAG="-xM1"
51154 { echo "$as_me:$LINENO: result: Sun cc" >&5
51155 echo "${ECHO_T}Sun cc" >&6; }
51156 elif test "x$SGICC" = "xyes"; then
51157 DEPSMODE=unixcc
51158 DEPSFLAG="-M"
51159 { echo "$as_me:$LINENO: result: SGI cc" >&5
51160 echo "${ECHO_T}SGI cc" >&6; }
51161 elif test "x$HPCC" = "xyes"; then
51162 DEPSMODE=unixcc
51163 DEPSFLAG="+make"
51164 { echo "$as_me:$LINENO: result: HP cc" >&5
51165 echo "${ECHO_T}HP cc" >&6; }
51166 elif test "x$COMPAQCC" = "xyes"; then
51167 DEPSMODE=gcc
51168 DEPSFLAG="-MD"
51169 { echo "$as_me:$LINENO: result: Compaq cc" >&5
51170 echo "${ECHO_T}Compaq cc" >&6; }
51171 else
51172 DEPS_TRACKING=0
51173 { echo "$as_me:$LINENO: result: none" >&5
51174 echo "${ECHO_T}none" >&6; }
51175 fi
51176
51177 if test $DEPS_TRACKING = 1 ; then
51178
51179 D='$'
51180 cat <<EOF >bk-deps
51181 #!/bin/sh
51182
51183 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
51184 # script. It is used to track C/C++ files dependencies in portable way.
51185 #
51186 # Permission is given to use this file in any way.
51187
51188 DEPSMODE=${DEPSMODE}
51189 DEPSDIR=.deps
51190 DEPSFLAG="${DEPSFLAG}"
51191
51192 mkdir -p ${D}DEPSDIR
51193
51194 if test ${D}DEPSMODE = gcc ; then
51195 ${D}* ${D}{DEPSFLAG}
51196 status=${D}?
51197 if test ${D}{status} != 0 ; then
51198 exit ${D}{status}
51199 fi
51200 # move created file to the location we want it in:
51201 while test ${D}# -gt 0; do
51202 case "${D}1" in
51203 -o )
51204 shift
51205 objfile=${D}1
51206 ;;
51207 -* )
51208 ;;
51209 * )
51210 srcfile=${D}1
51211 ;;
51212 esac
51213 shift
51214 done
51215 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
51216 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
51217 if test -f ${D}depfile ; then
51218 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
51219 rm -f ${D}depfile
51220 else
51221 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
51222 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
51223 if test ! -f ${D}depfile ; then
51224 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
51225 depfile="${D}objfile.d"
51226 fi
51227 if test -f ${D}depfile ; then
51228 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
51229 rm -f ${D}depfile
51230 fi
51231 fi
51232 exit 0
51233 elif test ${D}DEPSMODE = mwcc ; then
51234 ${D}* || exit ${D}?
51235 # Run mwcc again with -MM and redirect into the dep file we want
51236 # NOTE: We can't use shift here because we need ${D}* to be valid
51237 prevarg=
51238 for arg in ${D}* ; do
51239 if test "${D}prevarg" = "-o"; then
51240 objfile=${D}arg
51241 else
51242 case "${D}arg" in
51243 -* )
51244 ;;
51245 * )
51246 srcfile=${D}arg
51247 ;;
51248 esac
51249 fi
51250 prevarg="${D}arg"
51251 done
51252 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
51253 exit 0
51254 elif test ${D}DEPSMODE = unixcc; then
51255 ${D}* || exit ${D}?
51256 # Run compiler again with deps flag and redirect into the dep file.
51257 # It doesn't work if the '-o FILE' option is used, but without it the
51258 # dependency file will contain the wrong name for the object. So it is
51259 # removed from the command line, and the dep file is fixed with sed.
51260 cmd=""
51261 while test ${D}# -gt 0; do
51262 case "${D}1" in
51263 -o )
51264 shift
51265 objfile=${D}1
51266 ;;
51267 * )
51268 eval arg${D}#=\\${D}1
51269 cmd="${D}cmd \\${D}arg${D}#"
51270 ;;
51271 esac
51272 shift
51273 done
51274 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
51275 exit 0
51276 else
51277 ${D}*
51278 exit ${D}?
51279 fi
51280 EOF
51281
51282 chmod +x bk-deps
51283 BK_DEPS="`pwd`/bk-deps"
51284 fi
51285 fi
51286
51287
51288
51289
51290
51291 case ${BAKEFILE_HOST} in
51292 *-*-cygwin* | *-*-mingw32* )
51293 if test -n "$ac_tool_prefix"; then
51294 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
51295 set dummy ${ac_tool_prefix}windres; ac_word=$2
51296 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51297 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51298 if test "${ac_cv_prog_WINDRES+set}" = set; then
51299 echo $ECHO_N "(cached) $ECHO_C" >&6
51300 else
51301 if test -n "$WINDRES"; then
51302 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
51303 else
51304 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51305 for as_dir in $PATH
51306 do
51307 IFS=$as_save_IFS
51308 test -z "$as_dir" && as_dir=.
51309 for ac_exec_ext in '' $ac_executable_extensions; do
51310 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51311 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
51312 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51313 break 2
51314 fi
51315 done
51316 done
51317 IFS=$as_save_IFS
51318
51319 fi
51320 fi
51321 WINDRES=$ac_cv_prog_WINDRES
51322 if test -n "$WINDRES"; then
51323 { echo "$as_me:$LINENO: result: $WINDRES" >&5
51324 echo "${ECHO_T}$WINDRES" >&6; }
51325 else
51326 { echo "$as_me:$LINENO: result: no" >&5
51327 echo "${ECHO_T}no" >&6; }
51328 fi
51329
51330
51331 fi
51332 if test -z "$ac_cv_prog_WINDRES"; then
51333 ac_ct_WINDRES=$WINDRES
51334 # Extract the first word of "windres", so it can be a program name with args.
51335 set dummy windres; ac_word=$2
51336 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51337 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51338 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
51339 echo $ECHO_N "(cached) $ECHO_C" >&6
51340 else
51341 if test -n "$ac_ct_WINDRES"; then
51342 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
51343 else
51344 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51345 for as_dir in $PATH
51346 do
51347 IFS=$as_save_IFS
51348 test -z "$as_dir" && as_dir=.
51349 for ac_exec_ext in '' $ac_executable_extensions; do
51350 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51351 ac_cv_prog_ac_ct_WINDRES="windres"
51352 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51353 break 2
51354 fi
51355 done
51356 done
51357 IFS=$as_save_IFS
51358
51359 fi
51360 fi
51361 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
51362 if test -n "$ac_ct_WINDRES"; then
51363 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
51364 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
51365 else
51366 { echo "$as_me:$LINENO: result: no" >&5
51367 echo "${ECHO_T}no" >&6; }
51368 fi
51369
51370 if test "x$ac_ct_WINDRES" = x; then
51371 WINDRES=""
51372 else
51373 case $cross_compiling:$ac_tool_warned in
51374 yes:)
51375 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
51376 whose name does not start with the host triplet. If you think this
51377 configuration is useful to you, please write to autoconf@gnu.org." >&5
51378 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
51379 whose name does not start with the host triplet. If you think this
51380 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
51381 ac_tool_warned=yes ;;
51382 esac
51383 WINDRES=$ac_ct_WINDRES
51384 fi
51385 else
51386 WINDRES="$ac_cv_prog_WINDRES"
51387 fi
51388
51389 ;;
51390
51391 *-*-darwin* | powerpc-apple-macos* )
51392 # Extract the first word of "Rez", so it can be a program name with args.
51393 set dummy Rez; ac_word=$2
51394 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51395 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51396 if test "${ac_cv_prog_REZ+set}" = set; then
51397 echo $ECHO_N "(cached) $ECHO_C" >&6
51398 else
51399 if test -n "$REZ"; then
51400 ac_cv_prog_REZ="$REZ" # Let the user override the test.
51401 else
51402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51403 for as_dir in $PATH
51404 do
51405 IFS=$as_save_IFS
51406 test -z "$as_dir" && as_dir=.
51407 for ac_exec_ext in '' $ac_executable_extensions; do
51408 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51409 ac_cv_prog_REZ="Rez"
51410 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51411 break 2
51412 fi
51413 done
51414 done
51415 IFS=$as_save_IFS
51416
51417 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
51418 fi
51419 fi
51420 REZ=$ac_cv_prog_REZ
51421 if test -n "$REZ"; then
51422 { echo "$as_me:$LINENO: result: $REZ" >&5
51423 echo "${ECHO_T}$REZ" >&6; }
51424 else
51425 { echo "$as_me:$LINENO: result: no" >&5
51426 echo "${ECHO_T}no" >&6; }
51427 fi
51428
51429
51430 # Extract the first word of "SetFile", so it can be a program name with args.
51431 set dummy SetFile; ac_word=$2
51432 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51433 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51434 if test "${ac_cv_prog_SETFILE+set}" = set; then
51435 echo $ECHO_N "(cached) $ECHO_C" >&6
51436 else
51437 if test -n "$SETFILE"; then
51438 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
51439 else
51440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51441 for as_dir in $PATH
51442 do
51443 IFS=$as_save_IFS
51444 test -z "$as_dir" && as_dir=.
51445 for ac_exec_ext in '' $ac_executable_extensions; do
51446 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51447 ac_cv_prog_SETFILE="SetFile"
51448 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51449 break 2
51450 fi
51451 done
51452 done
51453 IFS=$as_save_IFS
51454
51455 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
51456 fi
51457 fi
51458 SETFILE=$ac_cv_prog_SETFILE
51459 if test -n "$SETFILE"; then
51460 { echo "$as_me:$LINENO: result: $SETFILE" >&5
51461 echo "${ECHO_T}$SETFILE" >&6; }
51462 else
51463 { echo "$as_me:$LINENO: result: no" >&5
51464 echo "${ECHO_T}no" >&6; }
51465 fi
51466
51467
51468 ;;
51469 esac
51470
51471
51472
51473
51474
51475
51476 BAKEFILE_BAKEFILE_M4_VERSION="0.2.2"
51477
51478
51479 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.2"
51480
51481
51482
51483 # Check whether --enable-precomp-headers was given.
51484 if test "${enable_precomp_headers+set}" = set; then
51485 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
51486 fi
51487
51488
51489 GCC_PCH=0
51490 ICC_PCH=0
51491 USE_PCH=0
51492 BK_MAKE_PCH=""
51493
51494 case ${BAKEFILE_HOST} in
51495 *-*-cygwin* )
51496 bk_use_pch="no"
51497 ;;
51498 esac
51499
51500 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
51501 if test "x$GCC" = "xyes"; then
51502 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
51503 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
51504 cat >conftest.$ac_ext <<_ACEOF
51505 /* confdefs.h. */
51506 _ACEOF
51507 cat confdefs.h >>conftest.$ac_ext
51508 cat >>conftest.$ac_ext <<_ACEOF
51509 /* end confdefs.h. */
51510
51511 int
51512 main ()
51513 {
51514
51515 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
51516 There is no PCH support
51517 #endif
51518 #if (__GNUC__ < 3)
51519 There is no PCH support
51520 #endif
51521 #if (__GNUC__ == 3) && \
51522 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
51523 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
51524 ( defined(__INTEL_COMPILER) )
51525 There is no PCH support
51526 #endif
51527
51528 ;
51529 return 0;
51530 }
51531 _ACEOF
51532 rm -f conftest.$ac_objext
51533 if { (ac_try="$ac_compile"
51534 case "(($ac_try" in
51535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51536 *) ac_try_echo=$ac_try;;
51537 esac
51538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51539 (eval "$ac_compile") 2>conftest.er1
51540 ac_status=$?
51541 grep -v '^ *+' conftest.er1 >conftest.err
51542 rm -f conftest.er1
51543 cat conftest.err >&5
51544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51545 (exit $ac_status); } && {
51546 test -z "$ac_c_werror_flag" ||
51547 test ! -s conftest.err
51548 } && test -s conftest.$ac_objext; then
51549
51550 { echo "$as_me:$LINENO: result: yes" >&5
51551 echo "${ECHO_T}yes" >&6; }
51552 GCC_PCH=1
51553
51554 else
51555 echo "$as_me: failed program was:" >&5
51556 sed 's/^/| /' conftest.$ac_ext >&5
51557
51558
51559 cat >conftest.$ac_ext <<_ACEOF
51560 /* confdefs.h. */
51561 _ACEOF
51562 cat confdefs.h >>conftest.$ac_ext
51563 cat >>conftest.$ac_ext <<_ACEOF
51564 /* end confdefs.h. */
51565
51566 int
51567 main ()
51568 {
51569
51570 #if !defined(__INTEL_COMPILER) || \
51571 (__INTEL_COMPILER < 800)
51572 There is no PCH support
51573 #endif
51574
51575 ;
51576 return 0;
51577 }
51578 _ACEOF
51579 rm -f conftest.$ac_objext
51580 if { (ac_try="$ac_compile"
51581 case "(($ac_try" in
51582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51583 *) ac_try_echo=$ac_try;;
51584 esac
51585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51586 (eval "$ac_compile") 2>conftest.er1
51587 ac_status=$?
51588 grep -v '^ *+' conftest.er1 >conftest.err
51589 rm -f conftest.er1
51590 cat conftest.err >&5
51591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51592 (exit $ac_status); } && {
51593 test -z "$ac_c_werror_flag" ||
51594 test ! -s conftest.err
51595 } && test -s conftest.$ac_objext; then
51596
51597 { echo "$as_me:$LINENO: result: yes" >&5
51598 echo "${ECHO_T}yes" >&6; }
51599 ICC_PCH=1
51600
51601 else
51602 echo "$as_me: failed program was:" >&5
51603 sed 's/^/| /' conftest.$ac_ext >&5
51604
51605
51606 { echo "$as_me:$LINENO: result: no" >&5
51607 echo "${ECHO_T}no" >&6; }
51608
51609 fi
51610
51611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51612
51613 fi
51614
51615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51616 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
51617 USE_PCH=1
51618
51619 D='$'
51620 cat <<EOF >bk-make-pch
51621 #!/bin/sh
51622
51623 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
51624 # script. It is used to generated precompiled headers.
51625 #
51626 # Permission is given to use this file in any way.
51627
51628 outfile="${D}{1}"
51629 header="${D}{2}"
51630 shift
51631 shift
51632
51633 compiler=""
51634 headerfile=""
51635
51636 while test ${D}{#} -gt 0; do
51637 add_to_cmdline=1
51638 case "${D}{1}" in
51639 -I* )
51640 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
51641 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
51642 headerfile="${D}{incdir}/${D}{header}"
51643 fi
51644 ;;
51645 -use-pch|-use_pch )
51646 shift
51647 add_to_cmdline=0
51648 ;;
51649 esac
51650 if test ${D}add_to_cmdline = 1 ; then
51651 compiler="${D}{compiler} ${D}{1}"
51652 fi
51653 shift
51654 done
51655
51656 if test "x${D}{headerfile}" = "x" ; then
51657 echo "error: can't find header ${D}{header} in include paths" >&2
51658 else
51659 if test -f ${D}{outfile} ; then
51660 rm -f ${D}{outfile}
51661 else
51662 mkdir -p \`dirname ${D}{outfile}\`
51663 fi
51664 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
51665 mkdir -p .deps
51666 if test "x${GCC_PCH}" = "x1" ; then
51667 # can do this because gcc is >= 3.4:
51668 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
51669 elif test "x${ICC_PCH}" = "x1" ; then
51670 filename=pch_gen-${D}${D}
51671 file=${D}{filename}.c
51672 dfile=${D}{filename}.d
51673 cat > ${D}file <<EOT
51674 #include "${D}header"
51675 EOT
51676 # using -MF icc complains about differing command lines in creation/use
51677 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
51678 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
51679 rm -f ${D}file ${D}dfile ${D}{filename}.o
51680 fi
51681 exit ${D}{?}
51682 fi
51683 EOF
51684
51685 chmod +x bk-make-pch
51686 BK_MAKE_PCH="`pwd`/bk-make-pch"
51687 fi
51688 fi
51689 fi
51690
51691
51692
51693
51694
51695 COND_BUILD_DEBUG="#"
51696 if test "x$BUILD" = "xdebug" ; then
51697 COND_BUILD_DEBUG=""
51698 fi
51699
51700 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
51701 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
51702 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
51703 fi
51704
51705 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
51706 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
51707 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
51708 fi
51709
51710 COND_BUILD_DEBUG_UNICODE_0="#"
51711 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
51712 COND_BUILD_DEBUG_UNICODE_0=""
51713 fi
51714
51715 COND_BUILD_DEBUG_UNICODE_1="#"
51716 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
51717 COND_BUILD_DEBUG_UNICODE_1=""
51718 fi
51719
51720 COND_BUILD_RELEASE="#"
51721 if test "x$BUILD" = "xrelease" ; then
51722 COND_BUILD_RELEASE=""
51723 fi
51724
51725 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
51726 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
51727 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
51728 fi
51729
51730 COND_BUILD_RELEASE_UNICODE_0="#"
51731 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
51732 COND_BUILD_RELEASE_UNICODE_0=""
51733 fi
51734
51735 COND_BUILD_RELEASE_UNICODE_1="#"
51736 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
51737 COND_BUILD_RELEASE_UNICODE_1=""
51738 fi
51739
51740 COND_DEBUG_FLAG_1="#"
51741 if test "x$DEBUG_FLAG" = "x1" ; then
51742 COND_DEBUG_FLAG_1=""
51743 fi
51744
51745 COND_DEBUG_INFO_0="#"
51746 if test "x$DEBUG_INFO" = "x0" ; then
51747 COND_DEBUG_INFO_0=""
51748 fi
51749
51750 COND_DEBUG_INFO_1="#"
51751 if test "x$DEBUG_INFO" = "x1" ; then
51752 COND_DEBUG_INFO_1=""
51753 fi
51754
51755 COND_DEPS_TRACKING_0="#"
51756 if test "x$DEPS_TRACKING" = "x0" ; then
51757 COND_DEPS_TRACKING_0=""
51758 fi
51759
51760 COND_DEPS_TRACKING_1="#"
51761 if test "x$DEPS_TRACKING" = "x1" ; then
51762 COND_DEPS_TRACKING_1=""
51763 fi
51764
51765 COND_GCC_PCH_1="#"
51766 if test "x$GCC_PCH" = "x1" ; then
51767 COND_GCC_PCH_1=""
51768 fi
51769
51770 COND_ICC_PCH_1="#"
51771 if test "x$ICC_PCH" = "x1" ; then
51772 COND_ICC_PCH_1=""
51773 fi
51774
51775 COND_MONOLITHIC_0="#"
51776 if test "x$MONOLITHIC" = "x0" ; then
51777 COND_MONOLITHIC_0=""
51778 fi
51779
51780 COND_MONOLITHIC_0_SHARED_0="#"
51781 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
51782 COND_MONOLITHIC_0_SHARED_0=""
51783 fi
51784
51785 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
51786 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
51787 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
51788 fi
51789
51790 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
51791 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
51792 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
51793 fi
51794
51795 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
51796 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51797 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
51798 fi
51799
51800 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
51801 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51802 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
51803 fi
51804
51805 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
51806 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
51807 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
51808 fi
51809
51810 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
51811 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
51812 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
51813 fi
51814
51815 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
51816 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
51817 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
51818 fi
51819
51820 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
51821 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
51822 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
51823 fi
51824
51825 COND_MONOLITHIC_0_SHARED_1="#"
51826 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
51827 COND_MONOLITHIC_0_SHARED_1=""
51828 fi
51829
51830 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
51831 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
51832 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
51833 fi
51834
51835 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
51836 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
51837 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
51838 fi
51839
51840 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
51841 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51842 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
51843 fi
51844
51845 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
51846 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51847 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
51848 fi
51849
51850 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
51851 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
51852 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
51853 fi
51854
51855 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
51856 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
51857 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
51858 fi
51859
51860 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
51861 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
51862 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
51863 fi
51864
51865 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
51866 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
51867 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
51868 fi
51869
51870 COND_MONOLITHIC_0_USE_AUI_1="#"
51871 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
51872 COND_MONOLITHIC_0_USE_AUI_1=""
51873 fi
51874
51875 COND_MONOLITHIC_0_USE_GUI_1="#"
51876 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
51877 COND_MONOLITHIC_0_USE_GUI_1=""
51878 fi
51879
51880 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
51881 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51882 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
51883 fi
51884
51885 COND_MONOLITHIC_0_USE_HTML_1="#"
51886 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
51887 COND_MONOLITHIC_0_USE_HTML_1=""
51888 fi
51889
51890 COND_MONOLITHIC_0_USE_MEDIA_1="#"
51891 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
51892 COND_MONOLITHIC_0_USE_MEDIA_1=""
51893 fi
51894
51895 COND_MONOLITHIC_0_USE_QA_1="#"
51896 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
51897 COND_MONOLITHIC_0_USE_QA_1=""
51898 fi
51899
51900 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
51901 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
51902 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
51903 fi
51904
51905 COND_MONOLITHIC_0_USE_STC_1="#"
51906 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
51907 COND_MONOLITHIC_0_USE_STC_1=""
51908 fi
51909
51910 COND_MONOLITHIC_0_USE_XRC_1="#"
51911 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
51912 COND_MONOLITHIC_0_USE_XRC_1=""
51913 fi
51914
51915 COND_MONOLITHIC_1="#"
51916 if test "x$MONOLITHIC" = "x1" ; then
51917 COND_MONOLITHIC_1=""
51918 fi
51919
51920 COND_MONOLITHIC_1_SHARED_0="#"
51921 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
51922 COND_MONOLITHIC_1_SHARED_0=""
51923 fi
51924
51925 COND_MONOLITHIC_1_SHARED_1="#"
51926 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
51927 COND_MONOLITHIC_1_SHARED_1=""
51928 fi
51929
51930 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
51931 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
51932 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
51933 fi
51934
51935 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
51936 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
51937 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
51938 fi
51939
51940 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
51941 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
51942 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
51943 fi
51944
51945 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
51946 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
51947 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
51948 fi
51949
51950 COND_PLATFORM_MACOSX_1="#"
51951 if test "x$PLATFORM_MACOSX" = "x1" ; then
51952 COND_PLATFORM_MACOSX_1=""
51953 fi
51954
51955 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
51956 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
51957 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
51958 fi
51959
51960 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
51961 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
51962 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
51963 fi
51964
51965 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
51966 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
51967 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
51968 fi
51969
51970 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
51971 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
51972 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
51973 fi
51974
51975 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
51976 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
51977 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
51978 fi
51979
51980 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
51981 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
51982 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
51983 fi
51984
51985 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
51986 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
51987 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
51988 fi
51989
51990 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
51991 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
51992 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
51993 fi
51994
51995 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
51996 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
51997 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
51998 fi
51999
52000 COND_PLATFORM_MACOS_1="#"
52001 if test "x$PLATFORM_MACOS" = "x1" ; then
52002 COND_PLATFORM_MACOS_1=""
52003 fi
52004
52005 COND_PLATFORM_MAC_1="#"
52006 if test "x$PLATFORM_MAC" = "x1" ; then
52007 COND_PLATFORM_MAC_1=""
52008 fi
52009
52010 COND_PLATFORM_MSDOS_1="#"
52011 if test "x$PLATFORM_MSDOS" = "x1" ; then
52012 COND_PLATFORM_MSDOS_1=""
52013 fi
52014
52015 COND_PLATFORM_OS2_1="#"
52016 if test "x$PLATFORM_OS2" = "x1" ; then
52017 COND_PLATFORM_OS2_1=""
52018 fi
52019
52020 COND_PLATFORM_UNIX_0="#"
52021 if test "x$PLATFORM_UNIX" = "x0" ; then
52022 COND_PLATFORM_UNIX_0=""
52023 fi
52024
52025 COND_PLATFORM_UNIX_1="#"
52026 if test "x$PLATFORM_UNIX" = "x1" ; then
52027 COND_PLATFORM_UNIX_1=""
52028 fi
52029
52030 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
52031 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
52032 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
52033 fi
52034
52035 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
52036 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
52037 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
52038 fi
52039
52040 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
52041 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
52042 COND_PLATFORM_UNIX_1_USE_GUI_1=""
52043 fi
52044
52045 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
52046 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
52047 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
52048 fi
52049
52050 COND_PLATFORM_WIN32_0="#"
52051 if test "x$PLATFORM_WIN32" = "x0" ; then
52052 COND_PLATFORM_WIN32_0=""
52053 fi
52054
52055 COND_PLATFORM_WIN32_1="#"
52056 if test "x$PLATFORM_WIN32" = "x1" ; then
52057 COND_PLATFORM_WIN32_1=""
52058 fi
52059
52060 COND_SHARED_0="#"
52061 if test "x$SHARED" = "x0" ; then
52062 COND_SHARED_0=""
52063 fi
52064
52065 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
52066 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
52067 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
52068 fi
52069
52070 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
52071 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
52072 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
52073 fi
52074
52075 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
52076 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
52077 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
52078 fi
52079
52080 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
52081 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52082 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
52083 fi
52084
52085 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
52086 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52087 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
52088 fi
52089
52090 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
52091 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52092 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
52093 fi
52094
52095 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
52096 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52097 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
52098 fi
52099
52100 COND_SHARED_0_USE_STC_1="#"
52101 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
52102 COND_SHARED_0_USE_STC_1=""
52103 fi
52104
52105 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
52106 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
52107 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
52108 fi
52109
52110 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
52111 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
52112 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
52113 fi
52114
52115 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
52116 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
52117 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
52118 fi
52119
52120 COND_SHARED_1="#"
52121 if test "x$SHARED" = "x1" ; then
52122 COND_SHARED_1=""
52123 fi
52124
52125 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
52126 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52127 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
52128 fi
52129
52130 COND_TOOLKIT_="#"
52131 if test "x$TOOLKIT" = "x" ; then
52132 COND_TOOLKIT_=""
52133 fi
52134
52135 COND_TOOLKIT_COCOA="#"
52136 if test "x$TOOLKIT" = "xCOCOA" ; then
52137 COND_TOOLKIT_COCOA=""
52138 fi
52139
52140 COND_TOOLKIT_COCOA_USE_GUI_1="#"
52141 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
52142 COND_TOOLKIT_COCOA_USE_GUI_1=""
52143 fi
52144
52145 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
52146 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52147 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
52148 fi
52149
52150 COND_TOOLKIT_DFB="#"
52151 if test "x$TOOLKIT" = "xDFB" ; then
52152 COND_TOOLKIT_DFB=""
52153 fi
52154
52155 COND_TOOLKIT_DFB_USE_GUI_1="#"
52156 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
52157 COND_TOOLKIT_DFB_USE_GUI_1=""
52158 fi
52159
52160 COND_TOOLKIT_GTK="#"
52161 if test "x$TOOLKIT" = "xGTK" ; then
52162 COND_TOOLKIT_GTK=""
52163 fi
52164
52165 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
52166 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
52167 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
52168 fi
52169
52170 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
52171 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
52172 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
52173 fi
52174
52175 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
52176 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
52177 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
52178 fi
52179
52180 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
52181 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52182 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
52183 fi
52184
52185 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0="#"
52186 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$WXUNIV" = "x0" ; then
52187 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0=""
52188 fi
52189
52190 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
52191 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
52192 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
52193 fi
52194
52195 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
52196 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52197 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
52198 fi
52199
52200 COND_TOOLKIT_GTK_USE_GUI_1="#"
52201 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
52202 COND_TOOLKIT_GTK_USE_GUI_1=""
52203 fi
52204
52205 COND_TOOLKIT_MAC="#"
52206 if test "x$TOOLKIT" = "xMAC" ; then
52207 COND_TOOLKIT_MAC=""
52208 fi
52209
52210 COND_TOOLKIT_MAC_USE_GUI_1="#"
52211 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
52212 COND_TOOLKIT_MAC_USE_GUI_1=""
52213 fi
52214
52215 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
52216 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52217 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
52218 fi
52219
52220 COND_TOOLKIT_MGL="#"
52221 if test "x$TOOLKIT" = "xMGL" ; then
52222 COND_TOOLKIT_MGL=""
52223 fi
52224
52225 COND_TOOLKIT_MGL_USE_GUI_1="#"
52226 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
52227 COND_TOOLKIT_MGL_USE_GUI_1=""
52228 fi
52229
52230 COND_TOOLKIT_MOTIF="#"
52231 if test "x$TOOLKIT" = "xMOTIF" ; then
52232 COND_TOOLKIT_MOTIF=""
52233 fi
52234
52235 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
52236 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
52237 COND_TOOLKIT_MOTIF_USE_GUI_1=""
52238 fi
52239
52240 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
52241 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52242 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
52243 fi
52244
52245 COND_TOOLKIT_MSW="#"
52246 if test "x$TOOLKIT" = "xMSW" ; then
52247 COND_TOOLKIT_MSW=""
52248 fi
52249
52250 COND_TOOLKIT_MSW_USE_GUI_1="#"
52251 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
52252 COND_TOOLKIT_MSW_USE_GUI_1=""
52253 fi
52254
52255 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
52256 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52257 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
52258 fi
52259
52260 COND_TOOLKIT_MSW_WXUNIV_0="#"
52261 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
52262 COND_TOOLKIT_MSW_WXUNIV_0=""
52263 fi
52264
52265 COND_TOOLKIT_PM="#"
52266 if test "x$TOOLKIT" = "xPM" ; then
52267 COND_TOOLKIT_PM=""
52268 fi
52269
52270 COND_TOOLKIT_PM_USE_GUI_1="#"
52271 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
52272 COND_TOOLKIT_PM_USE_GUI_1=""
52273 fi
52274
52275 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
52276 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52277 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
52278 fi
52279
52280 COND_TOOLKIT_WINCE="#"
52281 if test "x$TOOLKIT" = "xWINCE" ; then
52282 COND_TOOLKIT_WINCE=""
52283 fi
52284
52285 COND_TOOLKIT_WINCE_USE_GUI_1="#"
52286 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
52287 COND_TOOLKIT_WINCE_USE_GUI_1=""
52288 fi
52289
52290 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
52291 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52292 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
52293 fi
52294
52295 COND_TOOLKIT_WINCE_WXUNIV_0="#"
52296 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
52297 COND_TOOLKIT_WINCE_WXUNIV_0=""
52298 fi
52299
52300 COND_TOOLKIT_X11="#"
52301 if test "x$TOOLKIT" = "xX11" ; then
52302 COND_TOOLKIT_X11=""
52303 fi
52304
52305 COND_TOOLKIT_X11_USE_GUI_1="#"
52306 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
52307 COND_TOOLKIT_X11_USE_GUI_1=""
52308 fi
52309
52310 COND_UNICODE_1="#"
52311 if test "x$UNICODE" = "x1" ; then
52312 COND_UNICODE_1=""
52313 fi
52314
52315 COND_USE_EXCEPTIONS_0="#"
52316 if test "x$USE_EXCEPTIONS" = "x0" ; then
52317 COND_USE_EXCEPTIONS_0=""
52318 fi
52319
52320 COND_USE_EXCEPTIONS_1="#"
52321 if test "x$USE_EXCEPTIONS" = "x1" ; then
52322 COND_USE_EXCEPTIONS_1=""
52323 fi
52324
52325 COND_USE_GUI_0="#"
52326 if test "x$USE_GUI" = "x0" ; then
52327 COND_USE_GUI_0=""
52328 fi
52329
52330 COND_USE_GUI_1="#"
52331 if test "x$USE_GUI" = "x1" ; then
52332 COND_USE_GUI_1=""
52333 fi
52334
52335 COND_USE_GUI_1_USE_OPENGL_1="#"
52336 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52337 COND_USE_GUI_1_USE_OPENGL_1=""
52338 fi
52339
52340 COND_USE_GUI_1_WXUNIV_0="#"
52341 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52342 COND_USE_GUI_1_WXUNIV_0=""
52343 fi
52344
52345 COND_USE_GUI_1_WXUNIV_1="#"
52346 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
52347 COND_USE_GUI_1_WXUNIV_1=""
52348 fi
52349
52350 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
52351 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52352 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
52353 fi
52354
52355 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
52356 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52357 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
52358 fi
52359
52360 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
52361 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52362 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
52363 fi
52364
52365 COND_USE_PCH_1="#"
52366 if test "x$USE_PCH" = "x1" ; then
52367 COND_USE_PCH_1=""
52368 fi
52369
52370 COND_USE_PLUGINS_0="#"
52371 if test "x$USE_PLUGINS" = "x0" ; then
52372 COND_USE_PLUGINS_0=""
52373 fi
52374
52375 COND_USE_RTTI_0="#"
52376 if test "x$USE_RTTI" = "x0" ; then
52377 COND_USE_RTTI_0=""
52378 fi
52379
52380 COND_USE_RTTI_1="#"
52381 if test "x$USE_RTTI" = "x1" ; then
52382 COND_USE_RTTI_1=""
52383 fi
52384
52385 COND_USE_SOSYMLINKS_1="#"
52386 if test "x$USE_SOSYMLINKS" = "x1" ; then
52387 COND_USE_SOSYMLINKS_1=""
52388 fi
52389
52390 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
52391 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
52392 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
52393 fi
52394
52395 COND_USE_SOVERLINUX_1="#"
52396 if test "x$USE_SOVERLINUX" = "x1" ; then
52397 COND_USE_SOVERLINUX_1=""
52398 fi
52399
52400 COND_USE_SOVERSION_0="#"
52401 if test "x$USE_SOVERSION" = "x0" ; then
52402 COND_USE_SOVERSION_0=""
52403 fi
52404
52405 COND_USE_SOVERSOLARIS_1="#"
52406 if test "x$USE_SOVERSOLARIS" = "x1" ; then
52407 COND_USE_SOVERSOLARIS_1=""
52408 fi
52409
52410 COND_USE_STC_1="#"
52411 if test "x$USE_STC" = "x1" ; then
52412 COND_USE_STC_1=""
52413 fi
52414
52415 COND_USE_THREADS_0="#"
52416 if test "x$USE_THREADS" = "x0" ; then
52417 COND_USE_THREADS_0=""
52418 fi
52419
52420 COND_USE_THREADS_1="#"
52421 if test "x$USE_THREADS" = "x1" ; then
52422 COND_USE_THREADS_1=""
52423 fi
52424
52425 COND_USE_XRC_1="#"
52426 if test "x$USE_XRC" = "x1" ; then
52427 COND_USE_XRC_1=""
52428 fi
52429
52430 COND_WINDOWS_IMPLIB_1="#"
52431 if test "x$WINDOWS_IMPLIB" = "x1" ; then
52432 COND_WINDOWS_IMPLIB_1=""
52433 fi
52434
52435 COND_WITH_PLUGIN_SDL_1="#"
52436 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
52437 COND_WITH_PLUGIN_SDL_1=""
52438 fi
52439
52440 COND_WXUNIV_0="#"
52441 if test "x$WXUNIV" = "x0" ; then
52442 COND_WXUNIV_0=""
52443 fi
52444
52445 COND_WXUNIV_1="#"
52446 if test "x$WXUNIV" = "x1" ; then
52447 COND_WXUNIV_1=""
52448 fi
52449
52450 COND_WXUSE_EXPAT_BUILTIN="#"
52451 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
52452 COND_WXUSE_EXPAT_BUILTIN=""
52453 fi
52454
52455 COND_WXUSE_LIBJPEG_BUILTIN="#"
52456 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52457 COND_WXUSE_LIBJPEG_BUILTIN=""
52458 fi
52459
52460 COND_WXUSE_LIBPNG_BUILTIN="#"
52461 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52462 COND_WXUSE_LIBPNG_BUILTIN=""
52463 fi
52464
52465 COND_WXUSE_LIBTIFF_BUILTIN="#"
52466 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52467 COND_WXUSE_LIBTIFF_BUILTIN=""
52468 fi
52469
52470 COND_WXUSE_REGEX_BUILTIN="#"
52471 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
52472 COND_WXUSE_REGEX_BUILTIN=""
52473 fi
52474
52475 COND_WXUSE_ZLIB_BUILTIN="#"
52476 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
52477 COND_WXUSE_ZLIB_BUILTIN=""
52478 fi
52479
52480
52481
52482 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
52483 { { echo "$as_me:$LINENO: error: No version found in autoconf_inc.m4 - bakefile macro was changed to take additional argument, perhaps configure.in wasn't updated (see the documentation)?" >&5
52484 echo "$as_me: error: No version found in autoconf_inc.m4 - bakefile macro was changed to take additional argument, perhaps configure.in wasn't updated (see the documentation)?" >&2;}
52485 { (exit 1); exit 1; }; }
52486 fi
52487
52488 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
52489 { { echo "$as_me:$LINENO: error: Versions of Bakefile used to generate makefiles ($BAKEFILE_AUTOCONF_INC_M4_VERSION) and configure ($BAKEFILE_BAKEFILE_M4_VERSION) do not match." >&5
52490 echo "$as_me: error: Versions of Bakefile used to generate makefiles ($BAKEFILE_AUTOCONF_INC_M4_VERSION) and configure ($BAKEFILE_BAKEFILE_M4_VERSION) do not match." >&2;}
52491 { (exit 1); exit 1; }; }
52492 fi
52493
52494
52495 case ${INSTALL} in
52496 /* ) # Absolute
52497 ;;
52498 ?:* ) # Drive letter, considered as absolute.
52499 ;;
52500 *)
52501 INSTALL=`pwd`/${INSTALL} ;;
52502 esac
52503
52504 if test "$wxUSE_GUI" = "yes"; then
52505
52506 if test "$wxUSE_MSW" = 1 ; then
52507 if test "x$WINDRES" = "x"; then
52508 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
52509 echo "$as_me: error: Required windres program not found" >&2;}
52510 { (exit 1); exit 1; }; }
52511 fi
52512
52513 RESCOMP="$WINDRES"
52514 fi
52515
52516 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
52517 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
52518 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
52519
52520 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
52521
52522 # Extract the first word of "DeRez", so it can be a program name with args.
52523 set dummy DeRez; ac_word=$2
52524 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52525 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52526 if test "${ac_cv_prog_DEREZ+set}" = set; then
52527 echo $ECHO_N "(cached) $ECHO_C" >&6
52528 else
52529 if test -n "$DEREZ"; then
52530 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
52531 else
52532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52533 for as_dir in $PATH
52534 do
52535 IFS=$as_save_IFS
52536 test -z "$as_dir" && as_dir=.
52537 for ac_exec_ext in '' $ac_executable_extensions; do
52538 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52539 ac_cv_prog_DEREZ="DeRez"
52540 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52541 break 2
52542 fi
52543 done
52544 done
52545 IFS=$as_save_IFS
52546
52547 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
52548 fi
52549 fi
52550 DEREZ=$ac_cv_prog_DEREZ
52551 if test -n "$DEREZ"; then
52552 { echo "$as_me:$LINENO: result: $DEREZ" >&5
52553 echo "${ECHO_T}$DEREZ" >&6; }
52554 else
52555 { echo "$as_me:$LINENO: result: no" >&5
52556 echo "${ECHO_T}no" >&6; }
52557 fi
52558
52559
52560
52561 MACSETFILE="\$(SETFILE)"
52562
52563 if test "$wxUSE_MAC" = 1; then
52564 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
52565 RESCOMP="$REZ"
52566 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
52567 else
52568 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
52569 RESCOMP="cat /dev/null \| $REZ"
52570 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
52571 fi
52572
52573 else
52574 MACSETFILE="@true"
52575
52576 if test "$wxUSE_PM" = 1; then
52577 RESCOMP="emxbind"
52578 WXCONFIG_RESFLAGS="-ep"
52579
52580 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
52581 else
52582 POSTLINK_COMMAND="@true"
52583 fi
52584 fi
52585
52586 fi
52587
52588
52589 if test $GCC_PCH = 1
52590 then
52591 if test "$wx_cv_gcc_pch_bug" = yes; then
52592 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
52593 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
52594 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
52595 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
52596 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
52597 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
52598 fi
52599
52600 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
52601 fi
52602
52603
52604 if test "$wxUSE_MAC" = 1 ; then
52605 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
52606 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
52607 mv temp bk-deps
52608 chmod +x bk-deps
52609 fi
52610 fi
52611
52612 if test "$wxUSE_SHARED" = "yes"; then
52613 case "${host}" in
52614 *-pc-os2_emx | *-pc-os2-emx )
52615 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52616 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52617 cp -p ${srcdir}/src/os2/dllnames.sh .
52618 cp -p ${srcdir}/src/os2/dllar.sh .
52619 ;;
52620 esac
52621 fi
52622 if test "$wxUSE_OMF" = "yes"; then
52623 case "${host}" in
52624 *-pc-os2_emx | *-pc-os2-emx )
52625 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
52626 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52627 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52628 ;;
52629 esac
52630 fi
52631
52632 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
52633
52634
52635 case "${host}" in
52636 *-*-solaris2* )
52637 if test "$GCC" = yes; then
52638 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
52639 LIBS=`echo $LIBS | sed 's/-mt//'`
52640 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
52641 fi
52642 ;;
52643
52644 *-*-linux* )
52645 if test "x$SUNCXX" = xyes; then
52646 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
52647 LIBS=`echo $LIBS | sed 's/-pthread//'`
52648 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
52649 fi
52650 ;;
52651 esac
52652
52653 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
52654 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
52655
52656 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
52657
52658
52659
52660
52661
52662
52663
52664
52665
52666
52667
52668
52669
52670
52671
52672
52673
52674
52675
52676
52677
52678
52679
52680
52681
52682
52683
52684
52685
52686
52687
52688
52689
52690
52691
52692
52693
52694
52695
52696
52697
52698
52699
52700
52701
52702
52703
52704
52705
52706
52707
52708
52709
52710
52711
52712
52713
52714
52715
52716
52717 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
52718 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
52719 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
52720 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
52721 echo $ECHO_N "(cached) $ECHO_C" >&6
52722 else
52723 cat >conftest.make <<\_ACEOF
52724 SHELL = /bin/sh
52725 all:
52726 @echo '@@@%%%=$(MAKE)=@@@%%%'
52727 _ACEOF
52728 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
52729 case `${MAKE-make} -f conftest.make 2>/dev/null` in
52730 *@@@%%%=?*=@@@%%%*)
52731 eval ac_cv_prog_make_${ac_make}_set=yes;;
52732 *)
52733 eval ac_cv_prog_make_${ac_make}_set=no;;
52734 esac
52735 rm -f conftest.make
52736 fi
52737 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
52738 { echo "$as_me:$LINENO: result: yes" >&5
52739 echo "${ECHO_T}yes" >&6; }
52740 SET_MAKE=
52741 else
52742 { echo "$as_me:$LINENO: result: no" >&5
52743 echo "${ECHO_T}no" >&6; }
52744 SET_MAKE="MAKE=${MAKE-make}"
52745 fi
52746
52747
52748
52749 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
52750
52751
52752 if test "$USE_WIN32" = 1; then
52753 ac_config_commands="$ac_config_commands
52754 rcdefs.h
52755 "
52756
52757 fi
52758
52759 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
52760
52761
52762 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
52763
52764
52765 if test "$wx_cv_version_script" = "yes"; then
52766 ac_config_files="$ac_config_files version-script"
52767
52768 fi
52769 ac_config_files="$ac_config_files Makefile"
52770
52771
52772 ac_config_commands="$ac_config_commands wx-config"
52773
52774
52775
52776 if test "$wxWITH_SUBDIRS" != "no"; then
52777 if test "$wxUSE_GUI" = "yes"; then
52778 SUBDIRS="samples demos utils"
52779 else
52780 SUBDIRS="samples utils"
52781 fi
52782
52783
52784
52785 # Check whether --with-cppunit-prefix was given.
52786 if test "${with_cppunit_prefix+set}" = set; then
52787 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
52788 else
52789 cppunit_config_prefix=""
52790 fi
52791
52792
52793 # Check whether --with-cppunit-exec-prefix was given.
52794 if test "${with_cppunit_exec_prefix+set}" = set; then
52795 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
52796 else
52797 cppunit_config_exec_prefix=""
52798 fi
52799
52800
52801 if test x$cppunit_config_exec_prefix != x ; then
52802 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
52803 if test x${CPPUNIT_CONFIG+set} != xset ; then
52804 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
52805 fi
52806 fi
52807 if test x$cppunit_config_prefix != x ; then
52808 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
52809 if test x${CPPUNIT_CONFIG+set} != xset ; then
52810 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
52811 fi
52812 fi
52813
52814 # Extract the first word of "cppunit-config", so it can be a program name with args.
52815 set dummy cppunit-config; ac_word=$2
52816 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52817 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52818 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
52819 echo $ECHO_N "(cached) $ECHO_C" >&6
52820 else
52821 case $CPPUNIT_CONFIG in
52822 [\\/]* | ?:[\\/]*)
52823 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
52824 ;;
52825 *)
52826 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52827 for as_dir in $PATH
52828 do
52829 IFS=$as_save_IFS
52830 test -z "$as_dir" && as_dir=.
52831 for ac_exec_ext in '' $ac_executable_extensions; do
52832 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52833 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
52834 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52835 break 2
52836 fi
52837 done
52838 done
52839 IFS=$as_save_IFS
52840
52841 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
52842 ;;
52843 esac
52844 fi
52845 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
52846 if test -n "$CPPUNIT_CONFIG"; then
52847 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
52848 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
52849 else
52850 { echo "$as_me:$LINENO: result: no" >&5
52851 echo "${ECHO_T}no" >&6; }
52852 fi
52853
52854
52855 cppunit_version_min=1.8.0
52856
52857 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
52858 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
52859 no_cppunit=""
52860 if test "$CPPUNIT_CONFIG" = "no" ; then
52861 { echo "$as_me:$LINENO: result: no" >&5
52862 echo "${ECHO_T}no" >&6; }
52863 no_cppunit=yes
52864 else
52865 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
52866 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
52867 cppunit_version=`$CPPUNIT_CONFIG --version`
52868
52869 cppunit_major_version=`echo $cppunit_version | \
52870 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
52871 cppunit_minor_version=`echo $cppunit_version | \
52872 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
52873 cppunit_micro_version=`echo $cppunit_version | \
52874 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
52875
52876 cppunit_major_min=`echo $cppunit_version_min | \
52877 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
52878 cppunit_minor_min=`echo $cppunit_version_min | \
52879 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
52880 cppunit_micro_min=`echo $cppunit_version_min | \
52881 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
52882
52883 cppunit_version_proper=`expr \
52884 $cppunit_major_version \> $cppunit_major_min \| \
52885 $cppunit_major_version \= $cppunit_major_min \& \
52886 $cppunit_minor_version \> $cppunit_minor_min \| \
52887 $cppunit_major_version \= $cppunit_major_min \& \
52888 $cppunit_minor_version \= $cppunit_minor_min \& \
52889 $cppunit_micro_version \>= $cppunit_micro_min `
52890
52891 if test "$cppunit_version_proper" = "1" ; then
52892 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
52893 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
52894 else
52895 { echo "$as_me:$LINENO: result: no" >&5
52896 echo "${ECHO_T}no" >&6; }
52897 no_cppunit=yes
52898 fi
52899 fi
52900
52901 if test "x$no_cppunit" = x ; then
52902 SUBDIRS="$SUBDIRS tests"
52903 else
52904 CPPUNIT_CFLAGS=""
52905 CPPUNIT_LIBS=""
52906 :
52907 fi
52908
52909
52910
52911
52912
52913 for subdir in $SUBDIRS; do
52914 if test -d ${srcdir}/${subdir} ; then
52915 if test "$wxUSE_GUI" = "yes"; then
52916 if test ${subdir} = "samples"; then
52917 makefiles="samples/Makefile.in $makefiles"
52918 for sample in $SAMPLES_SUBDIRS; do
52919 if test -d $srcdir/samples/$sample; then
52920 makefiles="samples/$sample/Makefile.in $makefiles"
52921 fi
52922 done
52923 else
52924 disabled_var=DISABLED_`echo $subdir | tr a-z A-Z`
52925 eval "disabled=\$$disabled_var"
52926 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
52927 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
52928 fi
52929 else
52930 if test ${subdir} = "samples"; then
52931 makefiles="samples/Makefile.in samples/console/Makefile.in"
52932 elif test ${subdir} = "utils"; then
52933 makefiles=""
52934 for util in HelpGen tex2rtf ; do
52935 if test -d $srcdir/utils/$util ; then
52936 makefiles="utils/$util/Makefile.in \
52937 utils/$util/src/Makefile.in \
52938 $makefiles"
52939 fi
52940 done
52941 else
52942 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
52943 fi
52944 fi
52945
52946 for mkin in $makefiles ; do
52947 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
52948 ac_config_files="$ac_config_files $mk"
52949
52950 done
52951 fi
52952 done
52953 fi
52954 cat >confcache <<\_ACEOF
52955 # This file is a shell script that caches the results of configure
52956 # tests run on this system so they can be shared between configure
52957 # scripts and configure runs, see configure's option --config-cache.
52958 # It is not useful on other systems. If it contains results you don't
52959 # want to keep, you may remove or edit it.
52960 #
52961 # config.status only pays attention to the cache file if you give it
52962 # the --recheck option to rerun configure.
52963 #
52964 # `ac_cv_env_foo' variables (set or unset) will be overridden when
52965 # loading this file, other *unset* `ac_cv_foo' will be assigned the
52966 # following values.
52967
52968 _ACEOF
52969
52970 # The following way of writing the cache mishandles newlines in values,
52971 # but we know of no workaround that is simple, portable, and efficient.
52972 # So, we kill variables containing newlines.
52973 # Ultrix sh set writes to stderr and can't be redirected directly,
52974 # and sets the high bit in the cache file unless we assign to the vars.
52975 (
52976 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
52977 eval ac_val=\$$ac_var
52978 case $ac_val in #(
52979 *${as_nl}*)
52980 case $ac_var in #(
52981 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
52982 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
52983 esac
52984 case $ac_var in #(
52985 _ | IFS | as_nl) ;; #(
52986 *) $as_unset $ac_var ;;
52987 esac ;;
52988 esac
52989 done
52990
52991 (set) 2>&1 |
52992 case $as_nl`(ac_space=' '; set) 2>&1` in #(
52993 *${as_nl}ac_space=\ *)
52994 # `set' does not quote correctly, so add quotes (double-quote
52995 # substitution turns \\\\ into \\, and sed turns \\ into \).
52996 sed -n \
52997 "s/'/'\\\\''/g;
52998 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
52999 ;; #(
53000 *)
53001 # `set' quotes correctly as required by POSIX, so do not add quotes.
53002 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
53003 ;;
53004 esac |
53005 sort
53006 ) |
53007 sed '
53008 /^ac_cv_env_/b end
53009 t clear
53010 :clear
53011 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
53012 t end
53013 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
53014 :end' >>confcache
53015 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
53016 if test -w "$cache_file"; then
53017 test "x$cache_file" != "x/dev/null" &&
53018 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
53019 echo "$as_me: updating cache $cache_file" >&6;}
53020 cat confcache >$cache_file
53021 else
53022 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
53023 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
53024 fi
53025 fi
53026 rm -f confcache
53027
53028 test "x$prefix" = xNONE && prefix=$ac_default_prefix
53029 # Let make expand exec_prefix.
53030 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
53031
53032 DEFS=-DHAVE_CONFIG_H
53033
53034 ac_libobjs=
53035 ac_ltlibobjs=
53036 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
53037 # 1. Remove the extension, and $U if already installed.
53038 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
53039 ac_i=`echo "$ac_i" | sed "$ac_script"`
53040 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
53041 # will be set to the directory where LIBOBJS objects are built.
53042 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
53043 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
53044 done
53045 LIBOBJS=$ac_libobjs
53046
53047 LTLIBOBJS=$ac_ltlibobjs
53048
53049
53050
53051 : ${CONFIG_STATUS=./config.status}
53052 ac_clean_files_save=$ac_clean_files
53053 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
53054 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
53055 echo "$as_me: creating $CONFIG_STATUS" >&6;}
53056 cat >$CONFIG_STATUS <<_ACEOF
53057 #! $SHELL
53058 # Generated by $as_me.
53059 # Run this file to recreate the current configuration.
53060 # Compiler output produced by configure, useful for debugging
53061 # configure, is in config.log if it exists.
53062
53063 debug=false
53064 ac_cs_recheck=false
53065 ac_cs_silent=false
53066 SHELL=\${CONFIG_SHELL-$SHELL}
53067 _ACEOF
53068
53069 cat >>$CONFIG_STATUS <<\_ACEOF
53070 ## --------------------- ##
53071 ## M4sh Initialization. ##
53072 ## --------------------- ##
53073
53074 # Be more Bourne compatible
53075 DUALCASE=1; export DUALCASE # for MKS sh
53076 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
53077 emulate sh
53078 NULLCMD=:
53079 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
53080 # is contrary to our usage. Disable this feature.
53081 alias -g '${1+"$@"}'='"$@"'
53082 setopt NO_GLOB_SUBST
53083 else
53084 case `(set -o) 2>/dev/null` in
53085 *posix*) set -o posix ;;
53086 esac
53087
53088 fi
53089
53090
53091
53092
53093 # PATH needs CR
53094 # Avoid depending upon Character Ranges.
53095 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
53096 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
53097 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
53098 as_cr_digits='0123456789'
53099 as_cr_alnum=$as_cr_Letters$as_cr_digits
53100
53101 # The user is always right.
53102 if test "${PATH_SEPARATOR+set}" != set; then
53103 echo "#! /bin/sh" >conf$$.sh
53104 echo "exit 0" >>conf$$.sh
53105 chmod +x conf$$.sh
53106 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
53107 PATH_SEPARATOR=';'
53108 else
53109 PATH_SEPARATOR=:
53110 fi
53111 rm -f conf$$.sh
53112 fi
53113
53114 # Support unset when possible.
53115 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
53116 as_unset=unset
53117 else
53118 as_unset=false
53119 fi
53120
53121
53122 # IFS
53123 # We need space, tab and new line, in precisely that order. Quoting is
53124 # there to prevent editors from complaining about space-tab.
53125 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
53126 # splitting by setting IFS to empty value.)
53127 as_nl='
53128 '
53129 IFS=" "" $as_nl"
53130
53131 # Find who we are. Look in the path if we contain no directory separator.
53132 case $0 in
53133 *[\\/]* ) as_myself=$0 ;;
53134 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
53135 for as_dir in $PATH
53136 do
53137 IFS=$as_save_IFS
53138 test -z "$as_dir" && as_dir=.
53139 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
53140 done
53141 IFS=$as_save_IFS
53142
53143 ;;
53144 esac
53145 # We did not find ourselves, most probably we were run as `sh COMMAND'
53146 # in which case we are not to be found in the path.
53147 if test "x$as_myself" = x; then
53148 as_myself=$0
53149 fi
53150 if test ! -f "$as_myself"; then
53151 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
53152 { (exit 1); exit 1; }
53153 fi
53154
53155 # Work around bugs in pre-3.0 UWIN ksh.
53156 for as_var in ENV MAIL MAILPATH
53157 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
53158 done
53159 PS1='$ '
53160 PS2='> '
53161 PS4='+ '
53162
53163 # NLS nuisances.
53164 for as_var in \
53165 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
53166 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
53167 LC_TELEPHONE LC_TIME
53168 do
53169 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
53170 eval $as_var=C; export $as_var
53171 else
53172 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
53173 fi
53174 done
53175
53176 # Required to use basename.
53177 if expr a : '\(a\)' >/dev/null 2>&1 &&
53178 test "X`expr 00001 : '.*\(...\)'`" = X001; then
53179 as_expr=expr
53180 else
53181 as_expr=false
53182 fi
53183
53184 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
53185 as_basename=basename
53186 else
53187 as_basename=false
53188 fi
53189
53190
53191 # Name of the executable.
53192 as_me=`$as_basename -- "$0" ||
53193 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
53194 X"$0" : 'X\(//\)$' \| \
53195 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
53196 echo X/"$0" |
53197 sed '/^.*\/\([^/][^/]*\)\/*$/{
53198 s//\1/
53199 q
53200 }
53201 /^X\/\(\/\/\)$/{
53202 s//\1/
53203 q
53204 }
53205 /^X\/\(\/\).*/{
53206 s//\1/
53207 q
53208 }
53209 s/.*/./; q'`
53210
53211 # CDPATH.
53212 $as_unset CDPATH
53213
53214
53215
53216 as_lineno_1=$LINENO
53217 as_lineno_2=$LINENO
53218 test "x$as_lineno_1" != "x$as_lineno_2" &&
53219 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
53220
53221 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
53222 # uniformly replaced by the line number. The first 'sed' inserts a
53223 # line-number line after each line using $LINENO; the second 'sed'
53224 # does the real work. The second script uses 'N' to pair each
53225 # line-number line with the line containing $LINENO, and appends
53226 # trailing '-' during substitution so that $LINENO is not a special
53227 # case at line end.
53228 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
53229 # scripts with optimization help from Paolo Bonzini. Blame Lee
53230 # E. McMahon (1931-1989) for sed's syntax. :-)
53231 sed -n '
53232 p
53233 /[$]LINENO/=
53234 ' <$as_myself |
53235 sed '
53236 s/[$]LINENO.*/&-/
53237 t lineno
53238 b
53239 :lineno
53240 N
53241 :loop
53242 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
53243 t loop
53244 s/-\n.*//
53245 ' >$as_me.lineno &&
53246 chmod +x "$as_me.lineno" ||
53247 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
53248 { (exit 1); exit 1; }; }
53249
53250 # Don't try to exec as it changes $[0], causing all sort of problems
53251 # (the dirname of $[0] is not the place where we might find the
53252 # original and so on. Autoconf is especially sensitive to this).
53253 . "./$as_me.lineno"
53254 # Exit status is that of the last command.
53255 exit
53256 }
53257
53258
53259 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
53260 as_dirname=dirname
53261 else
53262 as_dirname=false
53263 fi
53264
53265 ECHO_C= ECHO_N= ECHO_T=
53266 case `echo -n x` in
53267 -n*)
53268 case `echo 'x\c'` in
53269 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
53270 *) ECHO_C='\c';;
53271 esac;;
53272 *)
53273 ECHO_N='-n';;
53274 esac
53275
53276 if expr a : '\(a\)' >/dev/null 2>&1 &&
53277 test "X`expr 00001 : '.*\(...\)'`" = X001; then
53278 as_expr=expr
53279 else
53280 as_expr=false
53281 fi
53282
53283 rm -f conf$$ conf$$.exe conf$$.file
53284 if test -d conf$$.dir; then
53285 rm -f conf$$.dir/conf$$.file
53286 else
53287 rm -f conf$$.dir
53288 mkdir conf$$.dir
53289 fi
53290 echo >conf$$.file
53291 if ln -s conf$$.file conf$$ 2>/dev/null; then
53292 as_ln_s='ln -s'
53293 # ... but there are two gotchas:
53294 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
53295 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
53296 # In both cases, we have to default to `cp -p'.
53297 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
53298 as_ln_s='cp -p'
53299 elif ln conf$$.file conf$$ 2>/dev/null; then
53300 as_ln_s=ln
53301 else
53302 as_ln_s='cp -p'
53303 fi
53304 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
53305 rmdir conf$$.dir 2>/dev/null
53306
53307 if mkdir -p . 2>/dev/null; then
53308 as_mkdir_p=:
53309 else
53310 test -d ./-p && rmdir ./-p
53311 as_mkdir_p=false
53312 fi
53313
53314 if test -x / >/dev/null 2>&1; then
53315 as_test_x='test -x'
53316 else
53317 if ls -dL / >/dev/null 2>&1; then
53318 as_ls_L_option=L
53319 else
53320 as_ls_L_option=
53321 fi
53322 as_test_x='
53323 eval sh -c '\''
53324 if test -d "$1"; then
53325 test -d "$1/.";
53326 else
53327 case $1 in
53328 -*)set "./$1";;
53329 esac;
53330 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
53331 ???[sx]*):;;*)false;;esac;fi
53332 '\'' sh
53333 '
53334 fi
53335 as_executable_p=$as_test_x
53336
53337 # Sed expression to map a string onto a valid CPP name.
53338 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
53339
53340 # Sed expression to map a string onto a valid variable name.
53341 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
53342
53343
53344 exec 6>&1
53345
53346 # Save the log message, to keep $[0] and so on meaningful, and to
53347 # report actual input values of CONFIG_FILES etc. instead of their
53348 # values after options handling.
53349 ac_log="
53350 This file was extended by wxWidgets $as_me 2.9.0, which was
53351 generated by GNU Autoconf 2.61. Invocation command line was
53352
53353 CONFIG_FILES = $CONFIG_FILES
53354 CONFIG_HEADERS = $CONFIG_HEADERS
53355 CONFIG_LINKS = $CONFIG_LINKS
53356 CONFIG_COMMANDS = $CONFIG_COMMANDS
53357 $ $0 $@
53358
53359 on `(hostname || uname -n) 2>/dev/null | sed 1q`
53360 "
53361
53362 _ACEOF
53363
53364 cat >>$CONFIG_STATUS <<_ACEOF
53365 # Files that config.status was made for.
53366 config_files="$ac_config_files"
53367 config_headers="$ac_config_headers"
53368 config_commands="$ac_config_commands"
53369
53370 _ACEOF
53371
53372 cat >>$CONFIG_STATUS <<\_ACEOF
53373 ac_cs_usage="\
53374 \`$as_me' instantiates files from templates according to the
53375 current configuration.
53376
53377 Usage: $0 [OPTIONS] [FILE]...
53378
53379 -h, --help print this help, then exit
53380 -V, --version print version number and configuration settings, then exit
53381 -q, --quiet do not print progress messages
53382 -d, --debug don't remove temporary files
53383 --recheck update $as_me by reconfiguring in the same conditions
53384 --file=FILE[:TEMPLATE]
53385 instantiate the configuration file FILE
53386 --header=FILE[:TEMPLATE]
53387 instantiate the configuration header FILE
53388
53389 Configuration files:
53390 $config_files
53391
53392 Configuration headers:
53393 $config_headers
53394
53395 Configuration commands:
53396 $config_commands
53397
53398 Report bugs to <bug-autoconf@gnu.org>."
53399
53400 _ACEOF
53401 cat >>$CONFIG_STATUS <<_ACEOF
53402 ac_cs_version="\\
53403 wxWidgets config.status 2.9.0
53404 configured by $0, generated by GNU Autoconf 2.61,
53405 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
53406
53407 Copyright (C) 2006 Free Software Foundation, Inc.
53408 This config.status script is free software; the Free Software Foundation
53409 gives unlimited permission to copy, distribute and modify it."
53410
53411 ac_pwd='$ac_pwd'
53412 srcdir='$srcdir'
53413 INSTALL='$INSTALL'
53414 _ACEOF
53415
53416 cat >>$CONFIG_STATUS <<\_ACEOF
53417 # If no file are specified by the user, then we need to provide default
53418 # value. By we need to know if files were specified by the user.
53419 ac_need_defaults=:
53420 while test $# != 0
53421 do
53422 case $1 in
53423 --*=*)
53424 ac_option=`expr "X$1" : 'X\([^=]*\)='`
53425 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
53426 ac_shift=:
53427 ;;
53428 *)
53429 ac_option=$1
53430 ac_optarg=$2
53431 ac_shift=shift
53432 ;;
53433 esac
53434
53435 case $ac_option in
53436 # Handling of the options.
53437 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
53438 ac_cs_recheck=: ;;
53439 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
53440 echo "$ac_cs_version"; exit ;;
53441 --debug | --debu | --deb | --de | --d | -d )
53442 debug=: ;;
53443 --file | --fil | --fi | --f )
53444 $ac_shift
53445 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
53446 ac_need_defaults=false;;
53447 --header | --heade | --head | --hea )
53448 $ac_shift
53449 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
53450 ac_need_defaults=false;;
53451 --he | --h)
53452 # Conflict between --help and --header
53453 { echo "$as_me: error: ambiguous option: $1
53454 Try \`$0 --help' for more information." >&2
53455 { (exit 1); exit 1; }; };;
53456 --help | --hel | -h )
53457 echo "$ac_cs_usage"; exit ;;
53458 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
53459 | -silent | --silent | --silen | --sile | --sil | --si | --s)
53460 ac_cs_silent=: ;;
53461
53462 # This is an error.
53463 -*) { echo "$as_me: error: unrecognized option: $1
53464 Try \`$0 --help' for more information." >&2
53465 { (exit 1); exit 1; }; } ;;
53466
53467 *) ac_config_targets="$ac_config_targets $1"
53468 ac_need_defaults=false ;;
53469
53470 esac
53471 shift
53472 done
53473
53474 ac_configure_extra_args=
53475
53476 if $ac_cs_silent; then
53477 exec 6>/dev/null
53478 ac_configure_extra_args="$ac_configure_extra_args --silent"
53479 fi
53480
53481 _ACEOF
53482 cat >>$CONFIG_STATUS <<_ACEOF
53483 if \$ac_cs_recheck; then
53484 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
53485 CONFIG_SHELL=$SHELL
53486 export CONFIG_SHELL
53487 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
53488 fi
53489
53490 _ACEOF
53491 cat >>$CONFIG_STATUS <<\_ACEOF
53492 exec 5>>config.log
53493 {
53494 echo
53495 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
53496 ## Running $as_me. ##
53497 _ASBOX
53498 echo "$ac_log"
53499 } >&5
53500
53501 _ACEOF
53502 cat >>$CONFIG_STATUS <<_ACEOF
53503 #
53504 # INIT-COMMANDS
53505 #
53506
53507 CPP="$CPP"
53508 infile="$srcdir/include/wx/msw/genrcdefs.h"
53509 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
53510
53511
53512 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53513 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53514 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53515 LN_S="${LN_S}"
53516
53517
53518 _ACEOF
53519
53520 cat >>$CONFIG_STATUS <<\_ACEOF
53521
53522 # Handling of arguments.
53523 for ac_config_target in $ac_config_targets
53524 do
53525 case $ac_config_target in
53526 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
53527 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
53528 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
53529 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
53530 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
53531 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
53532 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
53533 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
53534
53535 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
53536 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
53537 { (exit 1); exit 1; }; };;
53538 esac
53539 done
53540
53541
53542 # If the user did not use the arguments to specify the items to instantiate,
53543 # then the envvar interface is used. Set only those that are not.
53544 # We use the long form for the default assignment because of an extremely
53545 # bizarre bug on SunOS 4.1.3.
53546 if $ac_need_defaults; then
53547 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
53548 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
53549 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
53550 fi
53551
53552 # Have a temporary directory for convenience. Make it in the build tree
53553 # simply because there is no reason against having it here, and in addition,
53554 # creating and moving files from /tmp can sometimes cause problems.
53555 # Hook for its removal unless debugging.
53556 # Note that there is a small window in which the directory will not be cleaned:
53557 # after its creation but before its name has been assigned to `$tmp'.
53558 $debug ||
53559 {
53560 tmp=
53561 trap 'exit_status=$?
53562 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
53563 ' 0
53564 trap '{ (exit 1); exit 1; }' 1 2 13 15
53565 }
53566 # Create a (secure) tmp directory for tmp files.
53567
53568 {
53569 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
53570 test -n "$tmp" && test -d "$tmp"
53571 } ||
53572 {
53573 tmp=./conf$$-$RANDOM
53574 (umask 077 && mkdir "$tmp")
53575 } ||
53576 {
53577 echo "$me: cannot create a temporary directory in ." >&2
53578 { (exit 1); exit 1; }
53579 }
53580
53581 #
53582 # Set up the sed scripts for CONFIG_FILES section.
53583 #
53584
53585 # No need to generate the scripts if there are no CONFIG_FILES.
53586 # This happens for instance when ./config.status config.h
53587 if test -n "$CONFIG_FILES"; then
53588
53589 _ACEOF
53590
53591
53592
53593 ac_delim='%!_!# '
53594 for ac_last_try in false false false false false :; do
53595 cat >conf$$subs.sed <<_ACEOF
53596 SHELL!$SHELL$ac_delim
53597 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
53598 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
53599 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
53600 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
53601 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
53602 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
53603 exec_prefix!$exec_prefix$ac_delim
53604 prefix!$prefix$ac_delim
53605 program_transform_name!$program_transform_name$ac_delim
53606 bindir!$bindir$ac_delim
53607 sbindir!$sbindir$ac_delim
53608 libexecdir!$libexecdir$ac_delim
53609 datarootdir!$datarootdir$ac_delim
53610 datadir!$datadir$ac_delim
53611 sysconfdir!$sysconfdir$ac_delim
53612 sharedstatedir!$sharedstatedir$ac_delim
53613 localstatedir!$localstatedir$ac_delim
53614 includedir!$includedir$ac_delim
53615 oldincludedir!$oldincludedir$ac_delim
53616 docdir!$docdir$ac_delim
53617 infodir!$infodir$ac_delim
53618 htmldir!$htmldir$ac_delim
53619 dvidir!$dvidir$ac_delim
53620 pdfdir!$pdfdir$ac_delim
53621 psdir!$psdir$ac_delim
53622 libdir!$libdir$ac_delim
53623 localedir!$localedir$ac_delim
53624 mandir!$mandir$ac_delim
53625 DEFS!$DEFS$ac_delim
53626 ECHO_C!$ECHO_C$ac_delim
53627 ECHO_N!$ECHO_N$ac_delim
53628 ECHO_T!$ECHO_T$ac_delim
53629 LIBS!$LIBS$ac_delim
53630 build_alias!$build_alias$ac_delim
53631 host_alias!$host_alias$ac_delim
53632 target_alias!$target_alias$ac_delim
53633 build!$build$ac_delim
53634 build_cpu!$build_cpu$ac_delim
53635 build_vendor!$build_vendor$ac_delim
53636 build_os!$build_os$ac_delim
53637 host!$host$ac_delim
53638 host_cpu!$host_cpu$ac_delim
53639 host_vendor!$host_vendor$ac_delim
53640 host_os!$host_os$ac_delim
53641 target!$target$ac_delim
53642 target_cpu!$target_cpu$ac_delim
53643 target_vendor!$target_vendor$ac_delim
53644 target_os!$target_os$ac_delim
53645 wx_top_builddir!$wx_top_builddir$ac_delim
53646 CC!$CC$ac_delim
53647 CFLAGS!$CFLAGS$ac_delim
53648 LDFLAGS!$LDFLAGS$ac_delim
53649 CPPFLAGS!$CPPFLAGS$ac_delim
53650 ac_ct_CC!$ac_ct_CC$ac_delim
53651 EXEEXT!$EXEEXT$ac_delim
53652 OBJEXT!$OBJEXT$ac_delim
53653 CPP!$CPP$ac_delim
53654 GREP!$GREP$ac_delim
53655 EGREP!$EGREP$ac_delim
53656 CXX!$CXX$ac_delim
53657 CXXFLAGS!$CXXFLAGS$ac_delim
53658 ac_ct_CXX!$ac_ct_CXX$ac_delim
53659 AR!$AR$ac_delim
53660 subdirs!$subdirs$ac_delim
53661 PKG_CONFIG!$PKG_CONFIG$ac_delim
53662 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
53663 GTK_LIBS!$GTK_LIBS$ac_delim
53664 GTK_CONFIG!$GTK_CONFIG$ac_delim
53665 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
53666 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
53667 XMKMF!$XMKMF$ac_delim
53668 X_CFLAGS!$X_CFLAGS$ac_delim
53669 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
53670 X_LIBS!$X_LIBS$ac_delim
53671 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
53672 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
53673 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
53674 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
53675 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
53676 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
53677 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
53678 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
53679 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
53680 LIBICONV!$LIBICONV$ac_delim
53681 SDL_CONFIG!$SDL_CONFIG$ac_delim
53682 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
53683 SDL_LIBS!$SDL_LIBS$ac_delim
53684 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
53685 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
53686 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
53687 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
53688 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
53689 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
53690 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
53691 HILDON_LIBS!$HILDON_LIBS$ac_delim
53692 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
53693 _ACEOF
53694
53695 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53696 break
53697 elif $ac_last_try; then
53698 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53699 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53700 { (exit 1); exit 1; }; }
53701 else
53702 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53703 fi
53704 done
53705
53706 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53707 if test -n "$ac_eof"; then
53708 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53709 ac_eof=`expr $ac_eof + 1`
53710 fi
53711
53712 cat >>$CONFIG_STATUS <<_ACEOF
53713 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
53714 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53715 _ACEOF
53716 sed '
53717 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53718 s/^/s,@/; s/!/@,|#_!!_#|/
53719 :n
53720 t n
53721 s/'"$ac_delim"'$/,g/; t
53722 s/$/\\/; p
53723 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53724 ' >>$CONFIG_STATUS <conf$$subs.sed
53725 rm -f conf$$subs.sed
53726 cat >>$CONFIG_STATUS <<_ACEOF
53727 CEOF$ac_eof
53728 _ACEOF
53729
53730
53731 ac_delim='%!_!# '
53732 for ac_last_try in false false false false false :; do
53733 cat >conf$$subs.sed <<_ACEOF
53734 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
53735 GST_CFLAGS!$GST_CFLAGS$ac_delim
53736 GST_LIBS!$GST_LIBS$ac_delim
53737 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
53738 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
53739 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
53740 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
53741 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
53742 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
53743 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
53744 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
53745 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
53746 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
53747 VENDOR!$VENDOR$ac_delim
53748 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
53749 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
53750 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
53751 WXUNIV!$WXUNIV$ac_delim
53752 MONOLITHIC!$MONOLITHIC$ac_delim
53753 USE_PLUGINS!$USE_PLUGINS$ac_delim
53754 CXXWARNINGS!$CXXWARNINGS$ac_delim
53755 EXTRALIBS!$EXTRALIBS$ac_delim
53756 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
53757 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
53758 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
53759 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
53760 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
53761 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
53762 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
53763 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
53764 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
53765 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
53766 UNICODE!$UNICODE$ac_delim
53767 BUILD!$BUILD$ac_delim
53768 DEBUG_INFO!$DEBUG_INFO$ac_delim
53769 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
53770 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
53771 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
53772 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
53773 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
53774 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
53775 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
53776 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
53777 RANLIB!$RANLIB$ac_delim
53778 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
53779 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
53780 INSTALL_DATA!$INSTALL_DATA$ac_delim
53781 LN_S!$LN_S$ac_delim
53782 SET_MAKE!$SET_MAKE$ac_delim
53783 MAKE_SET!$MAKE_SET$ac_delim
53784 AROPTIONS!$AROPTIONS$ac_delim
53785 STRIP!$STRIP$ac_delim
53786 NM!$NM$ac_delim
53787 INSTALL_DIR!$INSTALL_DIR$ac_delim
53788 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
53789 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
53790 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
53791 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
53792 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
53793 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
53794 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
53795 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
53796 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
53797 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
53798 SO_SUFFIX!$SO_SUFFIX$ac_delim
53799 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
53800 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
53801 LIBPREFIX!$LIBPREFIX$ac_delim
53802 LIBEXT!$LIBEXT$ac_delim
53803 DLLPREFIX!$DLLPREFIX$ac_delim
53804 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
53805 dlldir!$dlldir$ac_delim
53806 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
53807 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
53808 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
53809 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
53810 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
53811 PIC_FLAG!$PIC_FLAG$ac_delim
53812 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
53813 USE_SOVERSION!$USE_SOVERSION$ac_delim
53814 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
53815 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
53816 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
53817 USE_MACVERSION!$USE_MACVERSION$ac_delim
53818 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
53819 SONAME_FLAG!$SONAME_FLAG$ac_delim
53820 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
53821 BK_DEPS!$BK_DEPS$ac_delim
53822 WINDRES!$WINDRES$ac_delim
53823 REZ!$REZ$ac_delim
53824 SETFILE!$SETFILE$ac_delim
53825 GCC_PCH!$GCC_PCH$ac_delim
53826 ICC_PCH!$ICC_PCH$ac_delim
53827 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
53828 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
53829 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
53830 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
53831 _ACEOF
53832
53833 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53834 break
53835 elif $ac_last_try; then
53836 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53837 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53838 { (exit 1); exit 1; }; }
53839 else
53840 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53841 fi
53842 done
53843
53844 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53845 if test -n "$ac_eof"; then
53846 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53847 ac_eof=`expr $ac_eof + 1`
53848 fi
53849
53850 cat >>$CONFIG_STATUS <<_ACEOF
53851 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
53852 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53853 _ACEOF
53854 sed '
53855 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53856 s/^/s,@/; s/!/@,|#_!!_#|/
53857 :n
53858 t n
53859 s/'"$ac_delim"'$/,g/; t
53860 s/$/\\/; p
53861 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53862 ' >>$CONFIG_STATUS <conf$$subs.sed
53863 rm -f conf$$subs.sed
53864 cat >>$CONFIG_STATUS <<_ACEOF
53865 CEOF$ac_eof
53866 _ACEOF
53867
53868
53869 ac_delim='%!_!# '
53870 for ac_last_try in false false false false false :; do
53871 cat >conf$$subs.sed <<_ACEOF
53872 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
53873 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
53874 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
53875 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
53876 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
53877 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
53878 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
53879 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
53880 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
53881 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
53882 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
53883 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
53884 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
53885 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
53886 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
53887 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
53888 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
53889 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
53890 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
53891 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
53892 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
53893 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
53894 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
53895 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
53896 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
53897 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
53898 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
53899 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
53900 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
53901 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
53902 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
53903 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
53904 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
53905 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
53906 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
53907 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
53908 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
53909 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
53910 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
53911 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
53912 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
53913 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
53914 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
53915 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
53916 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
53917 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
53918 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
53919 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
53920 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
53921 COND_PLATFORM_MACOSX_1_TOOLKIT_!$COND_PLATFORM_MACOSX_1_TOOLKIT_$ac_delim
53922 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA!$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA$ac_delim
53923 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK!$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK$ac_delim
53924 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC$ac_delim
53925 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1$ac_delim
53926 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF!$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF$ac_delim
53927 COND_PLATFORM_MACOSX_1_TOOLKIT_X11!$COND_PLATFORM_MACOSX_1_TOOLKIT_X11$ac_delim
53928 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
53929 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
53930 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
53931 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
53932 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
53933 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
53934 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
53935 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
53936 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
53937 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
53938 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
53939 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
53940 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
53941 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
53942 COND_SHARED_0!$COND_SHARED_0$ac_delim
53943 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
53944 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
53945 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
53946 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
53947 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
53948 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
53949 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
53950 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
53951 COND_SHARED_0_WXUSE_EXPAT_BUILTIN!$COND_SHARED_0_WXUSE_EXPAT_BUILTIN$ac_delim
53952 COND_SHARED_0_WXUSE_REGEX_BUILTIN!$COND_SHARED_0_WXUSE_REGEX_BUILTIN$ac_delim
53953 COND_SHARED_0_WXUSE_ZLIB_BUILTIN!$COND_SHARED_0_WXUSE_ZLIB_BUILTIN$ac_delim
53954 COND_SHARED_1!$COND_SHARED_1$ac_delim
53955 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
53956 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
53957 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
53958 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
53959 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
53960 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
53961 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
53962 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
53963 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
53964 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
53965 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
53966 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
53967 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0$ac_delim
53968 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
53969 _ACEOF
53970
53971 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53972 break
53973 elif $ac_last_try; then
53974 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53975 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53976 { (exit 1); exit 1; }; }
53977 else
53978 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53979 fi
53980 done
53981
53982 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53983 if test -n "$ac_eof"; then
53984 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53985 ac_eof=`expr $ac_eof + 1`
53986 fi
53987
53988 cat >>$CONFIG_STATUS <<_ACEOF
53989 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
53990 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53991 _ACEOF
53992 sed '
53993 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53994 s/^/s,@/; s/!/@,|#_!!_#|/
53995 :n
53996 t n
53997 s/'"$ac_delim"'$/,g/; t
53998 s/$/\\/; p
53999 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54000 ' >>$CONFIG_STATUS <conf$$subs.sed
54001 rm -f conf$$subs.sed
54002 cat >>$CONFIG_STATUS <<_ACEOF
54003 CEOF$ac_eof
54004 _ACEOF
54005
54006
54007 ac_delim='%!_!# '
54008 for ac_last_try in false false false false false :; do
54009 cat >conf$$subs.sed <<_ACEOF
54010 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
54011 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
54012 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
54013 COND_TOOLKIT_MAC_USE_GUI_1!$COND_TOOLKIT_MAC_USE_GUI_1$ac_delim
54014 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0$ac_delim
54015 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
54016 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
54017 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
54018 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
54019 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
54020 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
54021 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
54022 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
54023 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
54024 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
54025 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
54026 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
54027 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
54028 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
54029 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
54030 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
54031 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
54032 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
54033 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
54034 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
54035 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
54036 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
54037 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
54038 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
54039 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
54040 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
54041 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
54042 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
54043 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
54044 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
54045 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
54046 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
54047 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
54048 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
54049 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
54050 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
54051 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
54052 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
54053 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
54054 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
54055 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
54056 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
54057 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
54058 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
54059 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
54060 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
54061 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
54062 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
54063 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
54064 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
54065 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
54066 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
54067 DEREZ!$DEREZ$ac_delim
54068 SHARED!$SHARED$ac_delim
54069 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
54070 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
54071 USE_GUI!$USE_GUI$ac_delim
54072 AFMINSTALL!$AFMINSTALL$ac_delim
54073 WIN32INSTALL!$WIN32INSTALL$ac_delim
54074 TOOLKIT!$TOOLKIT$ac_delim
54075 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
54076 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
54077 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
54078 cross_compiling!$cross_compiling$ac_delim
54079 WIDGET_SET!$WIDGET_SET$ac_delim
54080 WX_RELEASE!$WX_RELEASE$ac_delim
54081 WX_VERSION!$WX_VERSION$ac_delim
54082 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
54083 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
54084 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
54085 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
54086 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
54087 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
54088 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
54089 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
54090 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
54091 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
54092 GUIDIST!$GUIDIST$ac_delim
54093 DISTDIR!$DISTDIR$ac_delim
54094 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
54095 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
54096 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
54097 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
54098 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
54099 RESCOMP!$RESCOMP$ac_delim
54100 RESFLAGS!$RESFLAGS$ac_delim
54101 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
54102 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
54103 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
54104 LIBWXMACRES!$LIBWXMACRES$ac_delim
54105 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
54106 MACSETFILE!$MACSETFILE$ac_delim
54107 _ACEOF
54108
54109 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
54110 break
54111 elif $ac_last_try; then
54112 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54113 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54114 { (exit 1); exit 1; }; }
54115 else
54116 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54117 fi
54118 done
54119
54120 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54121 if test -n "$ac_eof"; then
54122 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54123 ac_eof=`expr $ac_eof + 1`
54124 fi
54125
54126 cat >>$CONFIG_STATUS <<_ACEOF
54127 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
54128 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54129 _ACEOF
54130 sed '
54131 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54132 s/^/s,@/; s/!/@,|#_!!_#|/
54133 :n
54134 t n
54135 s/'"$ac_delim"'$/,g/; t
54136 s/$/\\/; p
54137 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54138 ' >>$CONFIG_STATUS <conf$$subs.sed
54139 rm -f conf$$subs.sed
54140 cat >>$CONFIG_STATUS <<_ACEOF
54141 CEOF$ac_eof
54142 _ACEOF
54143
54144
54145 ac_delim='%!_!# '
54146 for ac_last_try in false false false false false :; do
54147 cat >conf$$subs.sed <<_ACEOF
54148 GCC!$GCC$ac_delim
54149 DLLTOOL!$DLLTOOL$ac_delim
54150 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
54151 LIBOBJS!$LIBOBJS$ac_delim
54152 LTLIBOBJS!$LTLIBOBJS$ac_delim
54153 _ACEOF
54154
54155 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 5; then
54156 break
54157 elif $ac_last_try; then
54158 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54159 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54160 { (exit 1); exit 1; }; }
54161 else
54162 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54163 fi
54164 done
54165
54166 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54167 if test -n "$ac_eof"; then
54168 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54169 ac_eof=`expr $ac_eof + 1`
54170 fi
54171
54172 cat >>$CONFIG_STATUS <<_ACEOF
54173 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
54174 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
54175 _ACEOF
54176 sed '
54177 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54178 s/^/s,@/; s/!/@,|#_!!_#|/
54179 :n
54180 t n
54181 s/'"$ac_delim"'$/,g/; t
54182 s/$/\\/; p
54183 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54184 ' >>$CONFIG_STATUS <conf$$subs.sed
54185 rm -f conf$$subs.sed
54186 cat >>$CONFIG_STATUS <<_ACEOF
54187 :end
54188 s/|#_!!_#|//g
54189 CEOF$ac_eof
54190 _ACEOF
54191
54192
54193 # VPATH may cause trouble with some makes, so we remove $(srcdir),
54194 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
54195 # trailing colons and then remove the whole line if VPATH becomes empty
54196 # (actually we leave an empty line to preserve line numbers).
54197 if test "x$srcdir" = x.; then
54198 ac_vpsub='/^[ ]*VPATH[ ]*=/{
54199 s/:*\$(srcdir):*/:/
54200 s/:*\${srcdir}:*/:/
54201 s/:*@srcdir@:*/:/
54202 s/^\([^=]*=[ ]*\):*/\1/
54203 s/:*$//
54204 s/^[^=]*=[ ]*$//
54205 }'
54206 fi
54207
54208 cat >>$CONFIG_STATUS <<\_ACEOF
54209 fi # test -n "$CONFIG_FILES"
54210
54211
54212 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
54213 do
54214 case $ac_tag in
54215 :[FHLC]) ac_mode=$ac_tag; continue;;
54216 esac
54217 case $ac_mode$ac_tag in
54218 :[FHL]*:*);;
54219 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
54220 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
54221 { (exit 1); exit 1; }; };;
54222 :[FH]-) ac_tag=-:-;;
54223 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
54224 esac
54225 ac_save_IFS=$IFS
54226 IFS=:
54227 set x $ac_tag
54228 IFS=$ac_save_IFS
54229 shift
54230 ac_file=$1
54231 shift
54232
54233 case $ac_mode in
54234 :L) ac_source=$1;;
54235 :[FH])
54236 ac_file_inputs=
54237 for ac_f
54238 do
54239 case $ac_f in
54240 -) ac_f="$tmp/stdin";;
54241 *) # Look for the file first in the build tree, then in the source tree
54242 # (if the path is not absolute). The absolute path cannot be DOS-style,
54243 # because $ac_f cannot contain `:'.
54244 test -f "$ac_f" ||
54245 case $ac_f in
54246 [\\/$]*) false;;
54247 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
54248 esac ||
54249 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
54250 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
54251 { (exit 1); exit 1; }; };;
54252 esac
54253 ac_file_inputs="$ac_file_inputs $ac_f"
54254 done
54255
54256 # Let's still pretend it is `configure' which instantiates (i.e., don't
54257 # use $as_me), people would be surprised to read:
54258 # /* config.h. Generated by config.status. */
54259 configure_input="Generated from "`IFS=:
54260 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
54261 if test x"$ac_file" != x-; then
54262 configure_input="$ac_file. $configure_input"
54263 { echo "$as_me:$LINENO: creating $ac_file" >&5
54264 echo "$as_me: creating $ac_file" >&6;}
54265 fi
54266
54267 case $ac_tag in
54268 *:-:* | *:-) cat >"$tmp/stdin";;
54269 esac
54270 ;;
54271 esac
54272
54273 ac_dir=`$as_dirname -- "$ac_file" ||
54274 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54275 X"$ac_file" : 'X\(//\)[^/]' \| \
54276 X"$ac_file" : 'X\(//\)$' \| \
54277 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
54278 echo X"$ac_file" |
54279 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54280 s//\1/
54281 q
54282 }
54283 /^X\(\/\/\)[^/].*/{
54284 s//\1/
54285 q
54286 }
54287 /^X\(\/\/\)$/{
54288 s//\1/
54289 q
54290 }
54291 /^X\(\/\).*/{
54292 s//\1/
54293 q
54294 }
54295 s/.*/./; q'`
54296 { as_dir="$ac_dir"
54297 case $as_dir in #(
54298 -*) as_dir=./$as_dir;;
54299 esac
54300 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54301 as_dirs=
54302 while :; do
54303 case $as_dir in #(
54304 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54305 *) as_qdir=$as_dir;;
54306 esac
54307 as_dirs="'$as_qdir' $as_dirs"
54308 as_dir=`$as_dirname -- "$as_dir" ||
54309 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54310 X"$as_dir" : 'X\(//\)[^/]' \| \
54311 X"$as_dir" : 'X\(//\)$' \| \
54312 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54313 echo X"$as_dir" |
54314 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54315 s//\1/
54316 q
54317 }
54318 /^X\(\/\/\)[^/].*/{
54319 s//\1/
54320 q
54321 }
54322 /^X\(\/\/\)$/{
54323 s//\1/
54324 q
54325 }
54326 /^X\(\/\).*/{
54327 s//\1/
54328 q
54329 }
54330 s/.*/./; q'`
54331 test -d "$as_dir" && break
54332 done
54333 test -z "$as_dirs" || eval "mkdir $as_dirs"
54334 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54335 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54336 { (exit 1); exit 1; }; }; }
54337 ac_builddir=.
54338
54339 case "$ac_dir" in
54340 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
54341 *)
54342 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54343 # A ".." for each directory in $ac_dir_suffix.
54344 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54345 case $ac_top_builddir_sub in
54346 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
54347 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
54348 esac ;;
54349 esac
54350 ac_abs_top_builddir=$ac_pwd
54351 ac_abs_builddir=$ac_pwd$ac_dir_suffix
54352 # for backward compatibility:
54353 ac_top_builddir=$ac_top_build_prefix
54354
54355 case $srcdir in
54356 .) # We are building in place.
54357 ac_srcdir=.
54358 ac_top_srcdir=$ac_top_builddir_sub
54359 ac_abs_top_srcdir=$ac_pwd ;;
54360 [\\/]* | ?:[\\/]* ) # Absolute name.
54361 ac_srcdir=$srcdir$ac_dir_suffix;
54362 ac_top_srcdir=$srcdir
54363 ac_abs_top_srcdir=$srcdir ;;
54364 *) # Relative name.
54365 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
54366 ac_top_srcdir=$ac_top_build_prefix$srcdir
54367 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
54368 esac
54369 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
54370
54371
54372 case $ac_mode in
54373 :F)
54374 #
54375 # CONFIG_FILE
54376 #
54377
54378 case $INSTALL in
54379 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
54380 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
54381 esac
54382 _ACEOF
54383
54384 cat >>$CONFIG_STATUS <<\_ACEOF
54385 # If the template does not know about datarootdir, expand it.
54386 # FIXME: This hack should be removed a few years after 2.60.
54387 ac_datarootdir_hack=; ac_datarootdir_seen=
54388
54389 case `sed -n '/datarootdir/ {
54390 p
54391 q
54392 }
54393 /@datadir@/p
54394 /@docdir@/p
54395 /@infodir@/p
54396 /@localedir@/p
54397 /@mandir@/p
54398 ' $ac_file_inputs` in
54399 *datarootdir*) ac_datarootdir_seen=yes;;
54400 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
54401 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
54402 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
54403 _ACEOF
54404 cat >>$CONFIG_STATUS <<_ACEOF
54405 ac_datarootdir_hack='
54406 s&@datadir@&$datadir&g
54407 s&@docdir@&$docdir&g
54408 s&@infodir@&$infodir&g
54409 s&@localedir@&$localedir&g
54410 s&@mandir@&$mandir&g
54411 s&\\\${datarootdir}&$datarootdir&g' ;;
54412 esac
54413 _ACEOF
54414
54415 # Neutralize VPATH when `$srcdir' = `.'.
54416 # Shell code in configure.ac might set extrasub.
54417 # FIXME: do we really want to maintain this feature?
54418 cat >>$CONFIG_STATUS <<_ACEOF
54419 sed "$ac_vpsub
54420 $extrasub
54421 _ACEOF
54422 cat >>$CONFIG_STATUS <<\_ACEOF
54423 :t
54424 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54425 s&@configure_input@&$configure_input&;t t
54426 s&@top_builddir@&$ac_top_builddir_sub&;t t
54427 s&@srcdir@&$ac_srcdir&;t t
54428 s&@abs_srcdir@&$ac_abs_srcdir&;t t
54429 s&@top_srcdir@&$ac_top_srcdir&;t t
54430 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
54431 s&@builddir@&$ac_builddir&;t t
54432 s&@abs_builddir@&$ac_abs_builddir&;t t
54433 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
54434 s&@INSTALL@&$ac_INSTALL&;t t
54435 $ac_datarootdir_hack
54436 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" | sed -f "$tmp/subs-3.sed" | sed -f "$tmp/subs-4.sed" | sed -f "$tmp/subs-5.sed" >$tmp/out
54437
54438 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
54439 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
54440 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
54441 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
54442 which seems to be undefined. Please make sure it is defined." >&5
54443 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
54444 which seems to be undefined. Please make sure it is defined." >&2;}
54445
54446 rm -f "$tmp/stdin"
54447 case $ac_file in
54448 -) cat "$tmp/out"; rm -f "$tmp/out";;
54449 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
54450 esac
54451 ;;
54452 :H)
54453 #
54454 # CONFIG_HEADER
54455 #
54456 _ACEOF
54457
54458 # Transform confdefs.h into a sed script `conftest.defines', that
54459 # substitutes the proper values into config.h.in to produce config.h.
54460 rm -f conftest.defines conftest.tail
54461 # First, append a space to every undef/define line, to ease matching.
54462 echo 's/$/ /' >conftest.defines
54463 # Then, protect against being on the right side of a sed subst, or in
54464 # an unquoted here document, in config.status. If some macros were
54465 # called several times there might be several #defines for the same
54466 # symbol, which is useless. But do not sort them, since the last
54467 # AC_DEFINE must be honored.
54468 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
54469 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
54470 # NAME is the cpp macro being defined, VALUE is the value it is being given.
54471 # PARAMS is the parameter list in the macro definition--in most cases, it's
54472 # just an empty string.
54473 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
54474 ac_dB='\\)[ (].*,\\1define\\2'
54475 ac_dC=' '
54476 ac_dD=' ,'
54477
54478 uniq confdefs.h |
54479 sed -n '
54480 t rset
54481 :rset
54482 s/^[ ]*#[ ]*define[ ][ ]*//
54483 t ok
54484 d
54485 :ok
54486 s/[\\&,]/\\&/g
54487 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
54488 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
54489 ' >>conftest.defines
54490
54491 # Remove the space that was appended to ease matching.
54492 # Then replace #undef with comments. This is necessary, for
54493 # example, in the case of _POSIX_SOURCE, which is predefined and required
54494 # on some systems where configure will not decide to define it.
54495 # (The regexp can be short, since the line contains either #define or #undef.)
54496 echo 's/ $//
54497 s,^[ #]*u.*,/* & */,' >>conftest.defines
54498
54499 # Break up conftest.defines:
54500 ac_max_sed_lines=50
54501
54502 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
54503 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
54504 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
54505 # et cetera.
54506 ac_in='$ac_file_inputs'
54507 ac_out='"$tmp/out1"'
54508 ac_nxt='"$tmp/out2"'
54509
54510 while :
54511 do
54512 # Write a here document:
54513 cat >>$CONFIG_STATUS <<_ACEOF
54514 # First, check the format of the line:
54515 cat >"\$tmp/defines.sed" <<\\CEOF
54516 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
54517 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
54518 b
54519 :def
54520 _ACEOF
54521 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
54522 echo 'CEOF
54523 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
54524 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
54525 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
54526 grep . conftest.tail >/dev/null || break
54527 rm -f conftest.defines
54528 mv conftest.tail conftest.defines
54529 done
54530 rm -f conftest.defines conftest.tail
54531
54532 echo "ac_result=$ac_in" >>$CONFIG_STATUS
54533 cat >>$CONFIG_STATUS <<\_ACEOF
54534 if test x"$ac_file" != x-; then
54535 echo "/* $configure_input */" >"$tmp/config.h"
54536 cat "$ac_result" >>"$tmp/config.h"
54537 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
54538 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
54539 echo "$as_me: $ac_file is unchanged" >&6;}
54540 else
54541 rm -f $ac_file
54542 mv "$tmp/config.h" $ac_file
54543 fi
54544 else
54545 echo "/* $configure_input */"
54546 cat "$ac_result"
54547 fi
54548 rm -f "$tmp/out12"
54549 ;;
54550
54551 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
54552 echo "$as_me: executing $ac_file commands" >&6;}
54553 ;;
54554 esac
54555
54556
54557 case $ac_file$ac_mode in
54558 "rcdefs.h":C)
54559 mkdir -p $outdir &&
54560 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
54561 ;;
54562 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
54563 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
54564 "wx-config":C) rm -f wx-config
54565 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
54566 ;;
54567
54568 esac
54569 done # for ac_tag
54570
54571
54572 { (exit 0); exit 0; }
54573 _ACEOF
54574 chmod +x $CONFIG_STATUS
54575 ac_clean_files=$ac_clean_files_save
54576
54577
54578 # configure is writing to config.log, and then calls config.status.
54579 # config.status does its own redirection, appending to config.log.
54580 # Unfortunately, on DOS this fails, as config.log is still kept open
54581 # by configure, so config.status won't be able to write to it; its
54582 # output is simply discarded. So we exec the FD to /dev/null,
54583 # effectively closing config.log, so it can be properly (re)opened and
54584 # appended to by config.status. When coming back to configure, we
54585 # need to make the FD available again.
54586 if test "$no_create" != yes; then
54587 ac_cs_success=:
54588 ac_config_status_args=
54589 test "$silent" = yes &&
54590 ac_config_status_args="$ac_config_status_args --quiet"
54591 exec 5>/dev/null
54592 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
54593 exec 5>>config.log
54594 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
54595 # would make configure fail if this is the last instruction.
54596 $ac_cs_success || { (exit 1); exit 1; }
54597 fi
54598
54599 #
54600 # CONFIG_SUBDIRS section.
54601 #
54602 if test "$no_recursion" != yes; then
54603
54604 # Remove --cache-file and --srcdir arguments so they do not pile up.
54605 ac_sub_configure_args=
54606 ac_prev=
54607 eval "set x $ac_configure_args"
54608 shift
54609 for ac_arg
54610 do
54611 if test -n "$ac_prev"; then
54612 ac_prev=
54613 continue
54614 fi
54615 case $ac_arg in
54616 -cache-file | --cache-file | --cache-fil | --cache-fi \
54617 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
54618 ac_prev=cache_file ;;
54619 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
54620 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
54621 | --c=*)
54622 ;;
54623 --config-cache | -C)
54624 ;;
54625 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
54626 ac_prev=srcdir ;;
54627 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
54628 ;;
54629 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
54630 ac_prev=prefix ;;
54631 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
54632 ;;
54633 *)
54634 case $ac_arg in
54635 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54636 esac
54637 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
54638 esac
54639 done
54640
54641 # Always prepend --prefix to ensure using the same prefix
54642 # in subdir configurations.
54643 ac_arg="--prefix=$prefix"
54644 case $ac_arg in
54645 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54646 esac
54647 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
54648
54649 # Pass --silent
54650 if test "$silent" = yes; then
54651 ac_sub_configure_args="--silent $ac_sub_configure_args"
54652 fi
54653
54654 ac_popdir=`pwd`
54655 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
54656
54657 # Do not complain, so a configure script can configure whichever
54658 # parts of a large source tree are present.
54659 test -d "$srcdir/$ac_dir" || continue
54660
54661 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
54662 echo "$as_me:$LINENO: $ac_msg" >&5
54663 echo "$ac_msg" >&6
54664 { as_dir="$ac_dir"
54665 case $as_dir in #(
54666 -*) as_dir=./$as_dir;;
54667 esac
54668 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54669 as_dirs=
54670 while :; do
54671 case $as_dir in #(
54672 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54673 *) as_qdir=$as_dir;;
54674 esac
54675 as_dirs="'$as_qdir' $as_dirs"
54676 as_dir=`$as_dirname -- "$as_dir" ||
54677 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54678 X"$as_dir" : 'X\(//\)[^/]' \| \
54679 X"$as_dir" : 'X\(//\)$' \| \
54680 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54681 echo X"$as_dir" |
54682 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54683 s//\1/
54684 q
54685 }
54686 /^X\(\/\/\)[^/].*/{
54687 s//\1/
54688 q
54689 }
54690 /^X\(\/\/\)$/{
54691 s//\1/
54692 q
54693 }
54694 /^X\(\/\).*/{
54695 s//\1/
54696 q
54697 }
54698 s/.*/./; q'`
54699 test -d "$as_dir" && break
54700 done
54701 test -z "$as_dirs" || eval "mkdir $as_dirs"
54702 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54703 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54704 { (exit 1); exit 1; }; }; }
54705 ac_builddir=.
54706
54707 case "$ac_dir" in
54708 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
54709 *)
54710 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54711 # A ".." for each directory in $ac_dir_suffix.
54712 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54713 case $ac_top_builddir_sub in
54714 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
54715 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
54716 esac ;;
54717 esac
54718 ac_abs_top_builddir=$ac_pwd
54719 ac_abs_builddir=$ac_pwd$ac_dir_suffix
54720 # for backward compatibility:
54721 ac_top_builddir=$ac_top_build_prefix
54722
54723 case $srcdir in
54724 .) # We are building in place.
54725 ac_srcdir=.
54726 ac_top_srcdir=$ac_top_builddir_sub
54727 ac_abs_top_srcdir=$ac_pwd ;;
54728 [\\/]* | ?:[\\/]* ) # Absolute name.
54729 ac_srcdir=$srcdir$ac_dir_suffix;
54730 ac_top_srcdir=$srcdir
54731 ac_abs_top_srcdir=$srcdir ;;
54732 *) # Relative name.
54733 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
54734 ac_top_srcdir=$ac_top_build_prefix$srcdir
54735 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
54736 esac
54737 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
54738
54739
54740 cd "$ac_dir"
54741
54742 # Check for guested configure; otherwise get Cygnus style configure.
54743 if test -f "$ac_srcdir/configure.gnu"; then
54744 ac_sub_configure=$ac_srcdir/configure.gnu
54745 elif test -f "$ac_srcdir/configure"; then
54746 ac_sub_configure=$ac_srcdir/configure
54747 elif test -f "$ac_srcdir/configure.in"; then
54748 # This should be Cygnus configure.
54749 ac_sub_configure=$ac_aux_dir/configure
54750 else
54751 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
54752 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
54753 ac_sub_configure=
54754 fi
54755
54756 # The recursion is here.
54757 if test -n "$ac_sub_configure"; then
54758 # Make the cache file name correct relative to the subdirectory.
54759 case $cache_file in
54760 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
54761 *) # Relative name.
54762 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
54763 esac
54764
54765 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
54766 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
54767 # The eval makes quoting arguments work.
54768 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
54769 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
54770 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
54771 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
54772 { (exit 1); exit 1; }; }
54773 fi
54774
54775 cd "$ac_popdir"
54776 done
54777 fi
54778
54779
54780 echo
54781 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
54782 echo ""
54783 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
54784 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
54785
54786 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
54787 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
54788 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
54789 if test "$wxUSE_UNICODE" = "yes"; then
54790 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
54791 echo " (using UTF-8)"
54792 else
54793 echo " (using wchar_t)"
54794 fi
54795 else
54796 echo
54797 fi
54798
54799 echo " What level of wxWidgets compatibility should be enabled?"
54800 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
54801 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
54802
54803 echo " Which libraries should wxWidgets use?"
54804 echo " STL ${wxUSE_STL}"
54805 echo " jpeg ${wxUSE_LIBJPEG-none}"
54806 echo " png ${wxUSE_LIBPNG-none}"
54807 echo " regex ${wxUSE_REGEX}"
54808 echo " tiff ${wxUSE_LIBTIFF-none}"
54809 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
54810 echo " xpm ${wxUSE_LIBXPM-none}"
54811 fi
54812 echo " zlib ${wxUSE_ZLIB}"
54813 echo " expat ${wxUSE_EXPAT}"
54814 echo " libmspack ${wxUSE_LIBMSPACK}"
54815 echo " sdl ${wxUSE_LIBSDL}"
54816
54817 echo ""
54818