Don't use deprecated background style
[wxWidgets.git] / configure
1 #! /bin/sh
2 # From configure.in Id: configure.in 61944 2009-09-16 12:06:02Z PJC .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.61 for wxWidgets 2.9.1.
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.1'
579 PACKAGE_STRING='wxWidgets 2.9.1'
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 wx_top_builddir
665 CC
666 CFLAGS
667 LDFLAGS
668 CPPFLAGS
669 ac_ct_CC
670 EXEEXT
671 OBJEXT
672 CPP
673 GREP
674 EGREP
675 CXX
676 CXXFLAGS
677 ac_ct_CXX
678 AR
679 subdirs
680 PKG_CONFIG
681 GTK_CFLAGS
682 GTK_LIBS
683 GTK_CONFIG
684 DIRECTFB_CFLAGS
685 DIRECTFB_LIBS
686 XMKMF
687 X_CFLAGS
688 X_PRE_LIBS
689 X_LIBS
690 X_EXTRA_LIBS
691 PANGOX_CFLAGS
692 PANGOX_LIBS
693 PANGOFT2_CFLAGS
694 PANGOFT2_LIBS
695 PANGOXFT_CFLAGS
696 PANGOXFT_LIBS
697 CFLAGS_VISIBILITY
698 CXXFLAGS_VISIBILITY
699 LIBICONV
700 GXX_VERSION
701 SDL_CONFIG
702 SDL_CFLAGS
703 SDL_LIBS
704 GTKPRINT_CFLAGS
705 GTKPRINT_LIBS
706 LIBGNOMEPRINTUI_CFLAGS
707 LIBGNOMEPRINTUI_LIBS
708 GNOMEVFS_CFLAGS
709 GNOMEVFS_LIBS
710 HILDON_CFLAGS
711 HILDON_LIBS
712 PYTHON
713 COND_PYTHON
714 CAIRO_CFLAGS
715 CAIRO_LIBS
716 GST_CFLAGS
717 GST_LIBS
718 ALL_WX_LIBS
719 BUILT_WX_LIBS
720 STD_BASE_LIBS
721 STD_GUI_LIBS
722 wxUSE_ZLIB
723 wxUSE_REGEX
724 wxUSE_EXPAT
725 wxUSE_LIBJPEG
726 wxUSE_LIBPNG
727 wxUSE_LIBTIFF
728 VENDOR
729 OFFICIAL_BUILD
730 WX_FLAVOUR
731 WX_LIB_FLAVOUR
732 WXUNIV
733 MONOLITHIC
734 USE_PLUGINS
735 CXXWARNINGS
736 EXTRALIBS
737 EXTRALIBS_XML
738 EXTRALIBS_HTML
739 EXTRALIBS_MEDIA
740 EXTRALIBS_GUI
741 EXTRALIBS_OPENGL
742 EXTRALIBS_SDL
743 EXTRALIBS_STC
744 WITH_PLUGIN_SDL
745 EXTRALIBS_GTKPRINT
746 EXTRALIBS_GNOMEPRINT
747 EXTRALIBS_GNOMEVFS
748 EXTRALIBS_HILDON
749 UNICODE
750 DEBUG_INFO
751 DEBUG_FLAG
752 TOOLKIT_LOWERCASE
753 TOOLKIT_VERSION
754 DYLIB_RPATH_INSTALL
755 DYLIB_RPATH_POSTLINK
756 SAMPLES_RPATH_FLAG
757 HEADER_PAD_OPTION
758 HOST_SUFFIX
759 CPPUNIT_CFLAGS
760 CPPUNIT_LIBS
761 RANLIB
762 INSTALL_PROGRAM
763 INSTALL_SCRIPT
764 INSTALL_DATA
765 LN_S
766 SET_MAKE
767 MAKE_SET
768 AROPTIONS
769 STRIP
770 NM
771 INSTALL_DIR
772 LDFLAGS_GUI
773 IF_GNU_MAKE
774 PLATFORM_UNIX
775 PLATFORM_WIN32
776 PLATFORM_MSDOS
777 PLATFORM_MAC
778 PLATFORM_MACOS
779 PLATFORM_MACOSX
780 PLATFORM_OS2
781 PLATFORM_BEOS
782 SO_SUFFIX
783 SO_SUFFIX_MODULE
784 DLLIMP_SUFFIX
785 LIBPREFIX
786 LIBEXT
787 DLLPREFIX
788 DLLPREFIX_MODULE
789 dlldir
790 AIX_CXX_LD
791 SHARED_LD_CC
792 SHARED_LD_CXX
793 SHARED_LD_MODULE_CC
794 SHARED_LD_MODULE_CXX
795 PIC_FLAG
796 WINDOWS_IMPLIB
797 USE_SOVERSION
798 USE_SOVERLINUX
799 USE_SOVERSOLARIS
800 USE_SOVERCYGWIN
801 USE_MACVERSION
802 USE_SOSYMLINKS
803 SONAME_FLAG
804 DEPS_TRACKING
805 BK_DEPS
806 WINDRES
807 REZ
808 SETFILE
809 OBJCXXFLAGS
810 GCC_PCH
811 ICC_PCH
812 ICC_PCH_CREATE_SWITCH
813 ICC_PCH_USE_SWITCH
814 BK_MAKE_PCH
815 COND_BUILD_DEBUG
816 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
817 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
818 COND_BUILD_DEBUG_UNICODE_0
819 COND_BUILD_DEBUG_UNICODE_1
820 COND_BUILD_RELEASE
821 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
822 COND_BUILD_RELEASE_UNICODE_0
823 COND_BUILD_RELEASE_UNICODE_1
824 COND_BUILD_debug
825 COND_BUILD_debug_DEBUG_FLAG_default
826 COND_BUILD_debug_DEBUG_INFO_default
827 COND_BUILD_debug_UNICODE_0
828 COND_BUILD_debug_UNICODE_1
829 COND_BUILD_release
830 COND_BUILD_release_DEBUG_INFO_default
831 COND_BUILD_release_UNICODE_0
832 COND_BUILD_release_UNICODE_1
833 COND_DEBUG_FLAG_0
834 COND_DEBUG_FLAG_1
835 COND_DEBUG_INFO_0
836 COND_DEBUG_INFO_1
837 COND_DEPS_TRACKING_0
838 COND_DEPS_TRACKING_1
839 COND_GCC_PCH_1
840 COND_ICC_PCH_1
841 COND_MONOLITHIC_0
842 COND_MONOLITHIC_0_SHARED_0
843 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
844 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
845 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
846 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
847 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
848 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
849 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1
850 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
851 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
852 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
853 COND_MONOLITHIC_0_SHARED_1
854 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
855 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
856 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
857 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
858 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
859 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
860 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1
861 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
862 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
863 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
864 COND_MONOLITHIC_0_USE_AUI_1
865 COND_MONOLITHIC_0_USE_GUI_1
866 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
867 COND_MONOLITHIC_0_USE_HTML_1
868 COND_MONOLITHIC_0_USE_MEDIA_1
869 COND_MONOLITHIC_0_USE_PROPGRID_1
870 COND_MONOLITHIC_0_USE_QA_1
871 COND_MONOLITHIC_0_USE_RIBBON_1
872 COND_MONOLITHIC_0_USE_RICHTEXT_1
873 COND_MONOLITHIC_0_USE_STC_1
874 COND_MONOLITHIC_0_USE_XRC_1
875 COND_MONOLITHIC_1
876 COND_MONOLITHIC_1_SHARED_0
877 COND_MONOLITHIC_1_SHARED_1
878 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
879 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
880 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
881 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
882 COND_PLATFORM_MACOSX_1
883 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
884 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
885 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
886 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
887 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
888 COND_PLATFORM_MACOSX_1_USE_GUI_1
889 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
890 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
891 COND_PLATFORM_MACOS_1
892 COND_PLATFORM_MAC_0
893 COND_PLATFORM_MAC_1
894 COND_PLATFORM_MSDOS_0
895 COND_PLATFORM_MSDOS_1
896 COND_PLATFORM_OS2_1
897 COND_PLATFORM_UNIX_0
898 COND_PLATFORM_UNIX_1
899 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
900 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
901 COND_PLATFORM_UNIX_1_USE_GUI_1
902 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
903 COND_PLATFORM_WIN32_0
904 COND_PLATFORM_WIN32_1
905 COND_SHARED_0
906 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
907 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
908 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
909 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
910 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
911 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
912 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
913 COND_SHARED_0_USE_STC_1
914 COND_SHARED_0_wxUSE_EXPAT_builtin
915 COND_SHARED_0_wxUSE_REGEX_builtin
916 COND_SHARED_0_wxUSE_ZLIB_builtin
917 COND_SHARED_1
918 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
919 COND_TOOLKIT_
920 COND_TOOLKIT_COCOA
921 COND_TOOLKIT_COCOA_USE_GUI_1
922 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
923 COND_TOOLKIT_DFB
924 COND_TOOLKIT_DFB_USE_GUI_1
925 COND_TOOLKIT_GTK
926 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
927 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
928 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
929 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
930 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
931 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
932 COND_TOOLKIT_GTK_USE_GUI_1
933 COND_TOOLKIT_MAC
934 COND_TOOLKIT_MGL
935 COND_TOOLKIT_MGL_USE_GUI_1
936 COND_TOOLKIT_MOTIF
937 COND_TOOLKIT_MOTIF_USE_GUI_1
938 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
939 COND_TOOLKIT_MSW
940 COND_TOOLKIT_MSW_USE_GUI_1
941 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
942 COND_TOOLKIT_MSW_WXUNIV_0
943 COND_TOOLKIT_OSX_CARBON
944 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
945 COND_TOOLKIT_OSX_COCOA
946 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
947 COND_TOOLKIT_OSX_IPHONE
948 COND_TOOLKIT_PM
949 COND_TOOLKIT_PM_USE_GUI_1
950 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
951 COND_TOOLKIT_WINCE
952 COND_TOOLKIT_WINCE_USE_GUI_1
953 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
954 COND_TOOLKIT_WINCE_WXUNIV_0
955 COND_TOOLKIT_X11
956 COND_TOOLKIT_X11_USE_GUI_1
957 COND_UNICODE_1
958 COND_USE_EXCEPTIONS_0
959 COND_USE_EXCEPTIONS_1
960 COND_USE_GUI_0
961 COND_USE_GUI_1
962 COND_USE_GUI_1_USE_OPENGL_1
963 COND_USE_GUI_1_WXUNIV_0
964 COND_USE_GUI_1_WXUNIV_1
965 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
966 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
967 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
968 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
969 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
970 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
971 COND_USE_OPENGL_1
972 COND_USE_PCH_1
973 COND_USE_PLUGINS_0
974 COND_USE_RTTI_0
975 COND_USE_RTTI_1
976 COND_USE_SOSYMLINKS_1
977 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
978 COND_USE_SOVERLINUX_1
979 COND_USE_SOVERSION_0
980 COND_USE_SOVERSOLARIS_1
981 COND_USE_STC_1
982 COND_USE_THREADS_0
983 COND_USE_THREADS_1
984 COND_USE_XRC_1
985 COND_WINDOWS_IMPLIB_1
986 COND_WITH_PLUGIN_SDL_1
987 COND_WXUNIV_0
988 COND_WXUNIV_1
989 COND_WXUSE_EXPAT_BUILTIN
990 COND_WXUSE_LIBJPEG_BUILTIN
991 COND_WXUSE_LIBPNG_BUILTIN
992 COND_WXUSE_LIBTIFF_BUILTIN
993 COND_WXUSE_REGEX_BUILTIN
994 COND_WXUSE_ZLIB_BUILTIN
995 COND_wxUSE_EXPAT_builtin
996 COND_wxUSE_LIBJPEG_builtin
997 COND_wxUSE_LIBPNG_builtin
998 COND_wxUSE_LIBTIFF_builtin
999 COND_wxUSE_REGEX_builtin
1000 COND_wxUSE_ZLIB_builtin
1001 DEREZ
1002 SHARED
1003 WX_LIBRARY_BASENAME_NOGUI
1004 WX_LIBRARY_BASENAME_GUI
1005 USE_GUI
1006 AFMINSTALL
1007 WIN32INSTALL
1008 TOOLKIT
1009 TOOLKIT_DIR
1010 TOOLCHAIN_NAME
1011 TOOLCHAIN_FULLNAME
1012 cross_compiling
1013 WIDGET_SET
1014 WX_RELEASE
1015 WX_VERSION
1016 WX_SUBVERSION
1017 WX_CHARTYPE
1018 WXCONFIG_CPPFLAGS
1019 WXCONFIG_CFLAGS
1020 WXCONFIG_CXXFLAGS
1021 WXCONFIG_LIBS
1022 WXCONFIG_RPATH
1023 WXCONFIG_LDFLAGS_GUI
1024 WXCONFIG_RESFLAGS
1025 GUIDIST
1026 DISTDIR
1027 SAMPLES_SUBDIRS
1028 LDFLAGS_GL
1029 OPENGL_LIBS
1030 DMALLOC_LIBS
1031 WX_VERSION_TAG
1032 RESCOMP
1033 RESFLAGS
1034 RESPROGRAMOBJ
1035 WX_RESOURCES_MACOSX_ASCII
1036 WX_RESOURCES_MACOSX_DATA
1037 LIBWXMACRES
1038 POSTLINK_COMMAND
1039 MACSETFILE
1040 GCC
1041 DLLTOOL
1042 CPPUNIT_CONFIG
1043 LIBOBJS
1044 LTLIBOBJS'
1045 ac_subst_files=''
1046       ac_precious_vars='build_alias
1047 host_alias
1048 target_alias
1049 CC
1050 CFLAGS
1051 LDFLAGS
1052 LIBS
1053 CPPFLAGS
1054 CPP
1055 CXX
1056 CXXFLAGS
1057 CCC
1058 PKG_CONFIG
1059 DIRECTFB_CFLAGS
1060 DIRECTFB_LIBS
1061 XMKMF
1062 PANGOX_CFLAGS
1063 PANGOX_LIBS
1064 PANGOFT2_CFLAGS
1065 PANGOFT2_LIBS
1066 PANGOXFT_CFLAGS
1067 PANGOXFT_LIBS
1068 GTKPRINT_CFLAGS
1069 GTKPRINT_LIBS
1070 LIBGNOMEPRINTUI_CFLAGS
1071 LIBGNOMEPRINTUI_LIBS
1072 GNOMEVFS_CFLAGS
1073 GNOMEVFS_LIBS
1074 HILDON_CFLAGS
1075 HILDON_LIBS
1076 CAIRO_CFLAGS
1077 CAIRO_LIBS
1078 GST_CFLAGS
1079 GST_LIBS'
1080 ac_subdirs_all='src/tiff
1081 src/expat'
1082
1083 # Initialize some variables set by options.
1084 ac_init_help=
1085 ac_init_version=false
1086 # The variables have the same names as the options, with
1087 # dashes changed to underlines.
1088 cache_file=/dev/null
1089 exec_prefix=NONE
1090 no_create=
1091 no_recursion=
1092 prefix=NONE
1093 program_prefix=NONE
1094 program_suffix=NONE
1095 program_transform_name=s,x,x,
1096 silent=
1097 site=
1098 srcdir=
1099 verbose=
1100 x_includes=NONE
1101 x_libraries=NONE
1102
1103 # Installation directory options.
1104 # These are left unexpanded so users can "make install exec_prefix=/foo"
1105 # and all the variables that are supposed to be based on exec_prefix
1106 # by default will actually change.
1107 # Use braces instead of parens because sh, perl, etc. also accept them.
1108 # (The list follows the same order as the GNU Coding Standards.)
1109 bindir='${exec_prefix}/bin'
1110 sbindir='${exec_prefix}/sbin'
1111 libexecdir='${exec_prefix}/libexec'
1112 datarootdir='${prefix}/share'
1113 datadir='${datarootdir}'
1114 sysconfdir='${prefix}/etc'
1115 sharedstatedir='${prefix}/com'
1116 localstatedir='${prefix}/var'
1117 includedir='${prefix}/include'
1118 oldincludedir='/usr/include'
1119 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1120 infodir='${datarootdir}/info'
1121 htmldir='${docdir}'
1122 dvidir='${docdir}'
1123 pdfdir='${docdir}'
1124 psdir='${docdir}'
1125 libdir='${exec_prefix}/lib'
1126 localedir='${datarootdir}/locale'
1127 mandir='${datarootdir}/man'
1128
1129 ac_prev=
1130 ac_dashdash=
1131 for ac_option
1132 do
1133   # If the previous option needs an argument, assign it.
1134   if test -n "$ac_prev"; then
1135     eval $ac_prev=\$ac_option
1136     ac_prev=
1137     continue
1138   fi
1139
1140   case $ac_option in
1141   *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1142   *)    ac_optarg=yes ;;
1143   esac
1144
1145   # Accept the important Cygnus configure options, so we can diagnose typos.
1146
1147   case $ac_dashdash$ac_option in
1148   --)
1149     ac_dashdash=yes ;;
1150
1151   -bindir | --bindir | --bindi | --bind | --bin | --bi)
1152     ac_prev=bindir ;;
1153   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1154     bindir=$ac_optarg ;;
1155
1156   -build | --build | --buil | --bui | --bu)
1157     ac_prev=build_alias ;;
1158   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1159     build_alias=$ac_optarg ;;
1160
1161   -cache-file | --cache-file | --cache-fil | --cache-fi \
1162   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1163     ac_prev=cache_file ;;
1164   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1165   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1166     cache_file=$ac_optarg ;;
1167
1168   --config-cache | -C)
1169     cache_file=config.cache ;;
1170
1171   -datadir | --datadir | --datadi | --datad)
1172     ac_prev=datadir ;;
1173   -datadir=* | --datadir=* | --datadi=* | --datad=*)
1174     datadir=$ac_optarg ;;
1175
1176   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1177   | --dataroo | --dataro | --datar)
1178     ac_prev=datarootdir ;;
1179   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1180   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1181     datarootdir=$ac_optarg ;;
1182
1183   -disable-* | --disable-*)
1184     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1185     # Reject names that are not valid shell variable names.
1186     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1187       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1188    { (exit 1); exit 1; }; }
1189     ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1190     eval enable_$ac_feature=no ;;
1191
1192   -docdir | --docdir | --docdi | --doc | --do)
1193     ac_prev=docdir ;;
1194   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1195     docdir=$ac_optarg ;;
1196
1197   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1198     ac_prev=dvidir ;;
1199   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1200     dvidir=$ac_optarg ;;
1201
1202   -enable-* | --enable-*)
1203     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1204     # Reject names that are not valid shell variable names.
1205     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1206       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1207    { (exit 1); exit 1; }; }
1208     ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1209     eval enable_$ac_feature=\$ac_optarg ;;
1210
1211   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1212   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1213   | --exec | --exe | --ex)
1214     ac_prev=exec_prefix ;;
1215   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1216   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1217   | --exec=* | --exe=* | --ex=*)
1218     exec_prefix=$ac_optarg ;;
1219
1220   -gas | --gas | --ga | --g)
1221     # Obsolete; use --with-gas.
1222     with_gas=yes ;;
1223
1224   -help | --help | --hel | --he | -h)
1225     ac_init_help=long ;;
1226   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1227     ac_init_help=recursive ;;
1228   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1229     ac_init_help=short ;;
1230
1231   -host | --host | --hos | --ho)
1232     ac_prev=host_alias ;;
1233   -host=* | --host=* | --hos=* | --ho=*)
1234     host_alias=$ac_optarg ;;
1235
1236   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1237     ac_prev=htmldir ;;
1238   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1239   | --ht=*)
1240     htmldir=$ac_optarg ;;
1241
1242   -includedir | --includedir | --includedi | --included | --include \
1243   | --includ | --inclu | --incl | --inc)
1244     ac_prev=includedir ;;
1245   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1246   | --includ=* | --inclu=* | --incl=* | --inc=*)
1247     includedir=$ac_optarg ;;
1248
1249   -infodir | --infodir | --infodi | --infod | --info | --inf)
1250     ac_prev=infodir ;;
1251   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1252     infodir=$ac_optarg ;;
1253
1254   -libdir | --libdir | --libdi | --libd)
1255     ac_prev=libdir ;;
1256   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1257     libdir=$ac_optarg ;;
1258
1259   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1260   | --libexe | --libex | --libe)
1261     ac_prev=libexecdir ;;
1262   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1263   | --libexe=* | --libex=* | --libe=*)
1264     libexecdir=$ac_optarg ;;
1265
1266   -localedir | --localedir | --localedi | --localed | --locale)
1267     ac_prev=localedir ;;
1268   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1269     localedir=$ac_optarg ;;
1270
1271   -localstatedir | --localstatedir | --localstatedi | --localstated \
1272   | --localstate | --localstat | --localsta | --localst | --locals)
1273     ac_prev=localstatedir ;;
1274   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1275   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1276     localstatedir=$ac_optarg ;;
1277
1278   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1279     ac_prev=mandir ;;
1280   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1281     mandir=$ac_optarg ;;
1282
1283   -nfp | --nfp | --nf)
1284     # Obsolete; use --without-fp.
1285     with_fp=no ;;
1286
1287   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1288   | --no-cr | --no-c | -n)
1289     no_create=yes ;;
1290
1291   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1292   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1293     no_recursion=yes ;;
1294
1295   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1296   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1297   | --oldin | --oldi | --old | --ol | --o)
1298     ac_prev=oldincludedir ;;
1299   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1300   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1301   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1302     oldincludedir=$ac_optarg ;;
1303
1304   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1305     ac_prev=prefix ;;
1306   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1307     prefix=$ac_optarg ;;
1308
1309   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1310   | --program-pre | --program-pr | --program-p)
1311     ac_prev=program_prefix ;;
1312   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1313   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1314     program_prefix=$ac_optarg ;;
1315
1316   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1317   | --program-suf | --program-su | --program-s)
1318     ac_prev=program_suffix ;;
1319   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1320   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1321     program_suffix=$ac_optarg ;;
1322
1323   -program-transform-name | --program-transform-name \
1324   | --program-transform-nam | --program-transform-na \
1325   | --program-transform-n | --program-transform- \
1326   | --program-transform | --program-transfor \
1327   | --program-transfo | --program-transf \
1328   | --program-trans | --program-tran \
1329   | --progr-tra | --program-tr | --program-t)
1330     ac_prev=program_transform_name ;;
1331   -program-transform-name=* | --program-transform-name=* \
1332   | --program-transform-nam=* | --program-transform-na=* \
1333   | --program-transform-n=* | --program-transform-=* \
1334   | --program-transform=* | --program-transfor=* \
1335   | --program-transfo=* | --program-transf=* \
1336   | --program-trans=* | --program-tran=* \
1337   | --progr-tra=* | --program-tr=* | --program-t=*)
1338     program_transform_name=$ac_optarg ;;
1339
1340   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1341     ac_prev=pdfdir ;;
1342   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1343     pdfdir=$ac_optarg ;;
1344
1345   -psdir | --psdir | --psdi | --psd | --ps)
1346     ac_prev=psdir ;;
1347   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1348     psdir=$ac_optarg ;;
1349
1350   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1351   | -silent | --silent | --silen | --sile | --sil)
1352     silent=yes ;;
1353
1354   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1355     ac_prev=sbindir ;;
1356   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1357   | --sbi=* | --sb=*)
1358     sbindir=$ac_optarg ;;
1359
1360   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1361   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1362   | --sharedst | --shareds | --shared | --share | --shar \
1363   | --sha | --sh)
1364     ac_prev=sharedstatedir ;;
1365   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1366   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1367   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1368   | --sha=* | --sh=*)
1369     sharedstatedir=$ac_optarg ;;
1370
1371   -site | --site | --sit)
1372     ac_prev=site ;;
1373   -site=* | --site=* | --sit=*)
1374     site=$ac_optarg ;;
1375
1376   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1377     ac_prev=srcdir ;;
1378   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1379     srcdir=$ac_optarg ;;
1380
1381   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1382   | --syscon | --sysco | --sysc | --sys | --sy)
1383     ac_prev=sysconfdir ;;
1384   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1385   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1386     sysconfdir=$ac_optarg ;;
1387
1388   -target | --target | --targe | --targ | --tar | --ta | --t)
1389     ac_prev=target_alias ;;
1390   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1391     target_alias=$ac_optarg ;;
1392
1393   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1394     verbose=yes ;;
1395
1396   -version | --version | --versio | --versi | --vers | -V)
1397     ac_init_version=: ;;
1398
1399   -with-* | --with-*)
1400     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1401     # Reject names that are not valid shell variable names.
1402     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1403       { echo "$as_me: error: invalid package name: $ac_package" >&2
1404    { (exit 1); exit 1; }; }
1405     ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1406     eval with_$ac_package=\$ac_optarg ;;
1407
1408   -without-* | --without-*)
1409     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1410     # Reject names that are not valid shell variable names.
1411     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1412       { echo "$as_me: error: invalid package name: $ac_package" >&2
1413    { (exit 1); exit 1; }; }
1414     ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1415     eval with_$ac_package=no ;;
1416
1417   --x)
1418     # Obsolete; use --with-x.
1419     with_x=yes ;;
1420
1421   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1422   | --x-incl | --x-inc | --x-in | --x-i)
1423     ac_prev=x_includes ;;
1424   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1425   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1426     x_includes=$ac_optarg ;;
1427
1428   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1429   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1430     ac_prev=x_libraries ;;
1431   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1432   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1433     x_libraries=$ac_optarg ;;
1434
1435   -*) { echo "$as_me: error: unrecognized option: $ac_option
1436 Try \`$0 --help' for more information." >&2
1437    { (exit 1); exit 1; }; }
1438     ;;
1439
1440   *=*)
1441     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1442     # Reject names that are not valid shell variable names.
1443     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1444       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1445    { (exit 1); exit 1; }; }
1446     eval $ac_envvar=\$ac_optarg
1447     export $ac_envvar ;;
1448
1449   *)
1450     # FIXME: should be removed in autoconf 3.0.
1451     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1452     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1453       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1454     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1455     ;;
1456
1457   esac
1458 done
1459
1460 if test -n "$ac_prev"; then
1461   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1462   { echo "$as_me: error: missing argument to $ac_option" >&2
1463    { (exit 1); exit 1; }; }
1464 fi
1465
1466 # Be sure to have absolute directory names.
1467 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1468                 datadir sysconfdir sharedstatedir localstatedir includedir \
1469                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1470                 libdir localedir mandir
1471 do
1472   eval ac_val=\$$ac_var
1473   case $ac_val in
1474     [\\/$]* | ?:[\\/]* )  continue;;
1475     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1476   esac
1477   { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1478    { (exit 1); exit 1; }; }
1479 done
1480
1481 # There might be people who depend on the old broken behavior: `$host'
1482 # used to hold the argument of --host etc.
1483 # FIXME: To remove some day.
1484 build=$build_alias
1485 host=$host_alias
1486 target=$target_alias
1487
1488 # FIXME: To remove some day.
1489 if test "x$host_alias" != x; then
1490   if test "x$build_alias" = x; then
1491     cross_compiling=maybe
1492     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1493     If a cross compiler is detected then cross compile mode will be used." >&2
1494   elif test "x$build_alias" != "x$host_alias"; then
1495     cross_compiling=yes
1496   fi
1497 fi
1498
1499 ac_tool_prefix=
1500 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1501
1502 test "$silent" = yes && exec 6>/dev/null
1503
1504
1505 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1506 ac_ls_di=`ls -di .` &&
1507 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1508   { echo "$as_me: error: Working directory cannot be determined" >&2
1509    { (exit 1); exit 1; }; }
1510 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1511   { echo "$as_me: error: pwd does not report name of working directory" >&2
1512    { (exit 1); exit 1; }; }
1513
1514
1515 # Find the source files, if location was not specified.
1516 if test -z "$srcdir"; then
1517   ac_srcdir_defaulted=yes
1518   # Try the directory containing this script, then the parent directory.
1519   ac_confdir=`$as_dirname -- "$0" ||
1520 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1521          X"$0" : 'X\(//\)[^/]' \| \
1522          X"$0" : 'X\(//\)$' \| \
1523          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1524 echo X"$0" |
1525     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1526             s//\1/
1527             q
1528           }
1529           /^X\(\/\/\)[^/].*/{
1530             s//\1/
1531             q
1532           }
1533           /^X\(\/\/\)$/{
1534             s//\1/
1535             q
1536           }
1537           /^X\(\/\).*/{
1538             s//\1/
1539             q
1540           }
1541           s/.*/./; q'`
1542   srcdir=$ac_confdir
1543   if test ! -r "$srcdir/$ac_unique_file"; then
1544     srcdir=..
1545   fi
1546 else
1547   ac_srcdir_defaulted=no
1548 fi
1549 if test ! -r "$srcdir/$ac_unique_file"; then
1550   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1551   { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1552    { (exit 1); exit 1; }; }
1553 fi
1554 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1555 ac_abs_confdir=`(
1556         cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1557    { (exit 1); exit 1; }; }
1558         pwd)`
1559 # When building in place, set srcdir=.
1560 if test "$ac_abs_confdir" = "$ac_pwd"; then
1561   srcdir=.
1562 fi
1563 # Remove unnecessary trailing slashes from srcdir.
1564 # Double slashes in file names in object file debugging info
1565 # mess up M-x gdb in Emacs.
1566 case $srcdir in
1567 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1568 esac
1569 for ac_var in $ac_precious_vars; do
1570   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1571   eval ac_env_${ac_var}_value=\$${ac_var}
1572   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1573   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1574 done
1575
1576 #
1577 # Report the --help message.
1578 #
1579 if test "$ac_init_help" = "long"; then
1580   # Omit some internal or obsolete options to make the list less imposing.
1581   # This message is too long to be a string in the A/UX 3.1 sh.
1582   cat <<_ACEOF
1583 \`configure' configures wxWidgets 2.9.1 to adapt to many kinds of systems.
1584
1585 Usage: $0 [OPTION]... [VAR=VALUE]...
1586
1587 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1588 VAR=VALUE.  See below for descriptions of some of the useful variables.
1589
1590 Defaults for the options are specified in brackets.
1591
1592 Configuration:
1593   -h, --help              display this help and exit
1594       --help=short        display options specific to this package
1595       --help=recursive    display the short help of all the included packages
1596   -V, --version           display version information and exit
1597   -q, --quiet, --silent   do not print \`checking...' messages
1598       --cache-file=FILE   cache test results in FILE [disabled]
1599   -C, --config-cache      alias for \`--cache-file=config.cache'
1600   -n, --no-create         do not create output files
1601       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1602
1603 Installation directories:
1604   --prefix=PREFIX         install architecture-independent files in PREFIX
1605                           [$ac_default_prefix]
1606   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1607                           [PREFIX]
1608
1609 By default, \`make install' will install all the files in
1610 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1611 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1612 for instance \`--prefix=\$HOME'.
1613
1614 For better control, use the options below.
1615
1616 Fine tuning of the installation directories:
1617   --bindir=DIR           user executables [EPREFIX/bin]
1618   --sbindir=DIR          system admin executables [EPREFIX/sbin]
1619   --libexecdir=DIR       program executables [EPREFIX/libexec]
1620   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
1621   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
1622   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
1623   --libdir=DIR           object code libraries [EPREFIX/lib]
1624   --includedir=DIR       C header files [PREFIX/include]
1625   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1626   --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
1627   --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
1628   --infodir=DIR          info documentation [DATAROOTDIR/info]
1629   --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
1630   --mandir=DIR           man documentation [DATAROOTDIR/man]
1631   --docdir=DIR           documentation root [DATAROOTDIR/doc/wxwidgets]
1632   --htmldir=DIR          html documentation [DOCDIR]
1633   --dvidir=DIR           dvi documentation [DOCDIR]
1634   --pdfdir=DIR           pdf documentation [DOCDIR]
1635   --psdir=DIR            ps documentation [DOCDIR]
1636 _ACEOF
1637
1638   cat <<\_ACEOF
1639
1640 X features:
1641   --x-includes=DIR    X include files are in DIR
1642   --x-libraries=DIR   X library files are in DIR
1643
1644 System types:
1645   --build=BUILD     configure for building on BUILD [guessed]
1646   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1647 _ACEOF
1648 fi
1649
1650 if test -n "$ac_init_help"; then
1651   case $ac_init_help in
1652      short | recursive ) echo "Configuration of wxWidgets 2.9.1:";;
1653    esac
1654   cat <<\_ACEOF
1655
1656 Optional Features:
1657   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1658   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1659   --disable-gui           don't build GUI parts of the library
1660   --enable-monolithic     build wxWidgets as single library
1661   --enable-plugins        build parts of wxWidgets as loadable components
1662   --enable-official_build official build of wxWidgets (win32 DLL only)
1663   --enable-vendor=VENDOR  vendor name (win32 DLL only)
1664   --disable-all-features  disable all optional features to build minimal library
1665   --enable-universal      use wxWidgets GUI controls instead of native ones
1666   --enable-nanox          use NanoX
1667   --disable-gtk2          use GTK+ 1.2 instead of 2.0
1668   --enable-gpe            use GNOME PDA Environment features if possible
1669   --enable-debug          build library for debugging
1670   --disable-debug_flag    disable all debugging support
1671   --enable-debug_info     generate debug information
1672   --enable-debug_gdb      create code with extra GDB debugging information
1673   --enable-debug_cntxt    obsolete, don't use: use wxDebugContext
1674   --enable-mem_tracing    obsolete, don't use: create code with memory tracing
1675   --disable-shared        create static library instead of shared
1676   --enable-stl            use STL for containers
1677   --enable-std_iostreams  use standard C++ stream classes
1678   --enable-std_string     use standard C++ string classes
1679   --disable-unicode       compile without Unicode support
1680   --enable-mslu           use MS Layer for Unicode on Windows 9x (Win32 only)
1681   --enable-utf8           use UTF-8 representation for strings (Unix only)
1682   --enable-utf8only       only support UTF-8 locales in UTF-8 build (Unix only)
1683   --enable-extended_rtti  use extended RTTI (XTI)
1684   --enable-omf            use OMF object format
1685   --disable-optimise      compile without optimisations
1686   --enable-profile        create code with profiling information
1687   --enable-no_rtti        create code without RTTI information
1688   --enable-no_exceptions  create code without C++ exceptions handling
1689   --enable-permissive     compile code disregarding strict ANSI
1690   --enable-no_deps        create code without dependency information
1691   --disable-vararg_macros don't use vararg macros, even if they are supported
1692   --enable-universal_binary  create Mac PowerPC and Intel Universal binary
1693   --enable-compat26       enable wxWidgets 2.6 compatibility
1694   --disable-compat28      disable wxWidgets 2.8 compatibility
1695   --disable-rpath         disable use of rpath for uninstalled builds
1696   --enable-objc_uniquifying enable Objective-C class name uniquifying
1697   --disable-visibility    disable use of ELF symbols visibility even if supported
1698   --disable-tls           disable use of compiler TLS support
1699   --enable-intl           use internationalization system
1700   --enable-xlocale        use x-locale support (requires wxLocale)
1701   --enable-config         use wxConfig (and derived) classes
1702   --enable-protocols      use wxProtocol and derived classes
1703   --enable-ftp            use wxFTP (requires wxProtocol
1704   --enable-http           use wxHTTP (requires wxProtocol
1705   --enable-fileproto      use wxFileProto class (requires wxProtocol
1706   --enable-sockets        use socket/network classes
1707   --enable-ipv6           enable IPv6 support in wxSocket
1708   --enable-ole            use OLE classes (Win32 only)
1709   --enable-dataobj        use data object classes
1710   --enable-ipc            use interprocess communication (wxSocket etc.)
1711   --enable-baseevtloop    use event loop in console programs too
1712   --enable-epollloop      use wxEpollDispatcher class (Linux only)
1713   --enable-selectloop     use wxSelectDispatcher class
1714   --enable-any            use wxAny class
1715   --enable-apple_ieee     use the Apple IEEE codec
1716   --enable-arcstream      use wxArchive streams
1717   --enable-base64         use base64 encoding/decoding functions
1718   --enable-backtrace      use wxStackWalker class for getting backtraces
1719   --enable-catch_segvs    catch signals in wxApp::OnFatalException (Unix only)
1720   --enable-cmdline        use wxCmdLineParser class
1721   --enable-datetime       use wxDateTime class
1722   --enable-debugreport    use wxDebugReport class
1723   --enable-dialupman      use dialup network classes
1724   --enable-dynlib         use wxLibrary class for DLL loading
1725   --enable-dynamicloader  use (new) wxDynamicLibrary class
1726   --enable-exceptions     build exception-safe library
1727   --enable-ffile          use wxFFile class
1728   --enable-file           use wxFile class
1729   --enable-filesystem     use virtual file systems classes
1730   --enable-fontenum       use wxFontEnumerator class
1731   --enable-fontmap        use font encodings conversion classes
1732   --enable-fs_archive     use virtual archive filesystems
1733   --enable-fs_inet        use virtual HTTP/FTP filesystems
1734   --enable-fs_zip         now replaced by fs_archive
1735   --enable-geometry       use geometry class
1736   --enable-log            use logging system
1737   --enable-longlong       use wxLongLong class
1738   --enable-mimetype       use wxMimeTypesManager
1739   --enable-printfposparam use wxVsnprintf() which supports positional parameters
1740   --enable-snglinst       use wxSingleInstanceChecker class
1741   --enable-sound          use wxSound class
1742   --enable-stdpaths       use wxStandardPaths class
1743   --enable-stopwatch      use wxStopWatch class
1744   --enable-streams        use wxStream etc classes
1745   --enable-sysoptions     use wxSystemOptions
1746   --enable-tarstream      use wxTar streams
1747   --enable-textbuf        use wxTextBuffer class
1748   --enable-textfile       use wxTextFile class
1749   --enable-timer          use wxTimer class
1750   --enable-variant        use wxVariant class
1751   --enable-zipstream      use wxZip streams
1752   --enable-url            use wxURL class
1753   --enable-protocol       use wxProtocol class
1754   --enable-protocol-http  HTTP support in wxProtocol
1755   --enable-protocol-ftp   FTP support in wxProtocol
1756   --enable-protocol-file  FILE support in wxProtocol
1757   --enable-threads        use threads
1758   --enable-iniconf        use wxIniConfig (Win32 only)
1759   --enable-regkey         use wxRegKey class (Win32 only)
1760   --enable-docview        use document view architecture
1761   --enable-help           use help subsystem
1762   --enable-mshtmlhelp     use MS HTML Help (win32)
1763   --enable-html           use wxHTML sub-library
1764   --enable-htmlhelp       use wxHTML-based help
1765   --enable-xrc            use XRC resources sub-library
1766   --enable-aui            use AUI docking library
1767   --enable-propgrid       use wxPropertyGrid library
1768   --enable-ribbon         use wxRibbon library
1769   --enable-stc            use wxStyledTextCtrl library
1770   --enable-constraints    use layout-constraints system
1771   --enable-loggui         use standard GUI logger
1772   --enable-logwin         use wxLogWindow
1773   --enable-logdialog      use wxLogDialog
1774   --enable-mdi            use multiple document interface architecture
1775   --enable-mdidoc         use docview architecture with MDI
1776   --enable-mediactrl      use wxMediaCtrl class
1777   --enable-gstreamer8     force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1778   --enable-webkit         use wxWebKitCtrl (Mac)
1779   --enable-richtext       use wxRichTextCtrl
1780   --enable-graphics_ctx   use graphics context 2D drawing API
1781   --enable-postscript     use wxPostscriptDC device context (default for gtk+)
1782   --enable-printarch      use printing architecture
1783   --enable-svg            use wxSVGFileDC device context
1784   --enable-clipboard      use wxClipboard class
1785   --enable-dnd            use Drag'n'Drop classes
1786   --enable-metafile       use win32 metafiles
1787   --disable-controls      disable compilation of all standard controls
1788   --enable-accel          use accelerators
1789   --enable-animatectrl    use wxAnimationCtrl class
1790   --enable-bmpbutton      use wxBitmapButton class
1791   --enable-bmpcombobox    use wxBitmapComboBox class
1792   --enable-button         use wxButton class
1793   --enable-calendar       use wxCalendarCtrl class
1794   --enable-caret          use wxCaret class
1795   --enable-checkbox       use wxCheckBox class
1796   --enable-checklst       use wxCheckListBox (listbox with checkboxes) class
1797   --enable-choice         use wxChoice class
1798   --enable-choicebook     use wxChoicebook class
1799   --enable-collpane       use wxCollapsiblePane class
1800   --enable-colourpicker   use wxColourPickerCtrl class
1801   --enable-combobox       use wxComboBox class
1802   --enable-comboctrl      use wxComboCtrl class
1803   --enable-dataviewctrl   use wxDataViewCtrl class
1804   --enable-datepick       use wxDatePickerCtrl class
1805   --enable-detect_sm      use code to detect X11 session manager
1806   --enable-dirpicker      use wxDirPickerCtrl class
1807   --enable-display        use wxDisplay class
1808   --enable-editablebox    use wxEditableListBox class
1809   --enable-filectrl       use wxFileCtrl class
1810   --enable-filepicker     use wxFilePickerCtrl class
1811   --enable-fontpicker     use wxFontPickerCtrl class
1812   --enable-gauge          use wxGauge class
1813   --enable-grid           use wxGrid class
1814   --enable-headerctrl     use wxHeaderCtrl class
1815   --enable-hyperlink      use wxHyperlinkCtrl class
1816   --enable-imaglist       use wxImageList class
1817   --enable-listbook       use wxListbook class
1818   --enable-listbox        use wxListBox class
1819   --enable-listctrl       use wxListCtrl class
1820   --enable-notebook       use wxNotebook class
1821   --enable-notifmsg       use wxNotificationMessage class
1822   --enable-odcombobox     use wxOwnerDrawnComboBox class
1823   --enable-popupwin       use wxPopUpWindow class
1824   --enable-radiobox       use wxRadioBox class
1825   --enable-radiobtn       use wxRadioButton class
1826   --enable-rearrangectrl  use wxRearrangeList/Ctrl/Dialog
1827   --enable-sash           use wxSashWindow class
1828   --enable-scrollbar      use wxScrollBar class and scrollable windows
1829   --enable-searchctrl     use wxSearchCtrl class
1830   --enable-slider         use wxSlider class
1831   --enable-spinbtn        use wxSpinButton class
1832   --enable-spinctrl       use wxSpinCtrl class
1833   --enable-splitter       use wxSplitterWindow class
1834   --enable-statbmp        use wxStaticBitmap class
1835   --enable-statbox        use wxStaticBox class
1836   --enable-statline       use wxStaticLine class
1837   --enable-stattext       use wxStaticText class
1838   --enable-statusbar      use wxStatusBar class
1839   --enable-taskbaricon    use wxTaskBarIcon class
1840   --enable-tbarnative     use native wxToolBar class
1841   --enable-textctrl       use wxTextCtrl class
1842   --enable-tipwindow      use wxTipWindow class
1843   --enable-togglebtn      use wxToggleButton class
1844   --enable-toolbar        use wxToolBar class
1845   --enable-toolbook       use wxToolbook class
1846   --enable-treebook       use wxTreebook class
1847   --enable-treectrl       use wxTreeCtrl class
1848   --enable-commondlg      use all common dialogs
1849   --enable-aboutdlg       use wxAboutBox
1850   --enable-choicedlg      use wxChoiceDialog
1851   --enable-coldlg         use wxColourDialog
1852   --enable-filedlg        use wxFileDialog
1853   --enable-finddlg        use wxFindReplaceDialog
1854   --enable-fontdlg        use wxFontDialog
1855   --enable-dirdlg         use wxDirDialog
1856   --enable-msgdlg         use wxMessageDialog
1857   --enable-numberdlg      use wxNumberEntryDialog
1858   --enable-splash         use wxSplashScreen
1859   --enable-textdlg        use wxTextDialog
1860   --enable-tipdlg         use startup tips
1861   --enable-progressdlg    use wxProgressDialog
1862   --enable-wizarddlg      use wxWizard
1863   --enable-menus          use wxMenu/wxMenuBar/wxMenuItem classes
1864   --enable-miniframe      use wxMiniFrame class
1865   --enable-tooltips       use wxToolTip class
1866   --enable-splines        use spline drawing code
1867   --enable-mousewheel     use mousewheel
1868   --enable-validators     use wxValidator and derived classes
1869   --enable-busyinfo       use wxBusyInfo
1870   --enable-joystick       use wxJoystick
1871   --enable-metafiles      use wxMetaFile (Win32 only)
1872   --enable-dragimage      use wxDragImage
1873   --enable-accessibility  enable accessibility support
1874   --enable-palette        use wxPalette class
1875   --enable-image          use wxImage class
1876   --enable-gif            use gif images (GIF file format)
1877   --enable-pcx            use pcx images (PCX file format)
1878   --enable-tga            use tga images (TGA file format)
1879   --enable-iff            use iff images (IFF file format)
1880   --enable-pnm            use pnm images (PNM file format)
1881   --enable-xpm            use xpm images (XPM file format)
1882   --enable-ico_cur        use Windows ICO and CUR formats
1883   --enable-dccache        cache temporary wxDC objects (Win32 only)
1884   --enable-ps-in-msw      use PS printing in wxMSW (Win32 only)
1885   --enable-ownerdrawn     use owner drawn controls (Win32 and OS/2 only)
1886   --enable-uxtheme        enable support for Windows XP themed look (Win32 only)
1887   --enable-wxdib          use wxDIB class (Win32 only)
1888   --enable-autoidman      use automatic ids management
1889   --disable-largefile     omit support for large files
1890   --disable-gtktest       do not try to compile and run a test GTK+ program
1891   --disable-gtktest       Do not try to compile and run a test GTK program
1892   --disable-sdltest       Do not try to compile and run a test SDL program
1893   --enable-omf            use OMF object format (OS/2)
1894   --disable-dependency-tracking
1895                           don't use dependency tracking even if the compiler
1896                           can
1897   --disable-precomp-headers
1898                           don't use precompiled headers even if compiler can
1899
1900 Optional Packages:
1901   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1902   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1903   --without-subdirs       don't generate makefiles for samples/demos/...
1904   --with-flavour=NAME     specify a name to identify this build
1905   --with-themes=all|list  use only the specified comma-separated list of wxUniversal themes
1906   --with-gtk[=VERSION]    use GTK+, VERSION can be 2 (default), 1 or "any"
1907   --with-motif            use Motif/Lesstif
1908   --with-osx_carbon       use Mac OS X (Carbon)
1909   --with-osx_cocoa        use Mac OS X (Cocoa)
1910   --with-mac              use Mac OS X (Default)
1911   --with-cocoa            use Cocoa
1912   --with-wine             use Wine
1913   --with-msw              use MS-Windows
1914   --with-pm               use OS/2 Presentation Manager
1915   --with-mgl              use SciTech MGL
1916   --with-directfb         use DirectFB
1917   --with-microwin         use MicroWindows
1918   --with-x11              use X11
1919   --with-libpng           use libpng (PNG image format)
1920   --with-libjpeg          use libjpeg (JPEG file format)
1921   --with-libtiff          use libtiff (TIFF file format)
1922   --with-libxpm           use libxpm (XPM file format)
1923   --with-libiconv         use libiconv (character conversion)
1924   --with-libmspack        use libmspack (CHM help files loading)
1925   --without-gtkprint      don't use GTK printing support
1926   --without-gnomeprint    don't use GNOME printing libraries
1927   --with-gnomevfs         use GNOME VFS for associating MIME types
1928   --with-hildon           use Hildon framework for Nokia 770
1929   --with-opengl           use OpenGL (or Mesa)
1930   --with-dmalloc          use dmalloc library (http://dmalloc.com/)
1931   --with-sdl              use SDL for audio on Unix
1932   --with-regex            enable support for wxRegEx class
1933   --with-zlib             use zlib for LZW compression
1934   --with-expat            enable XML support using expat parser
1935   --with-macosx-sdk=PATH  use an OS X SDK at PATH
1936   --with-macosx-version-min=VER   build binaries which require at least this OS X version
1937   --with-gtk-prefix=PFX   Prefix where GTK is installed (optional)
1938   --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1939   --with-x                use the X Window System
1940   --with-libiconv-prefix=DIR  search for libiconv in DIR/include and DIR/lib
1941   --with-sdl-prefix=PFX   Prefix where SDL is installed (optional)
1942   --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1943   --with-cppunit-prefix=PFX   Prefix where CppUnit is installed (optional)
1944   --with-cppunit-exec-prefix=PFX  Exec prefix where CppUnit is installed (optional)
1945
1946 Some influential environment variables:
1947   CC          C compiler command
1948   CFLAGS      C compiler flags
1949   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1950               nonstandard directory <lib dir>
1951   LIBS        libraries to pass to the linker, e.g. -l<library>
1952   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1953               you have headers in a nonstandard directory <include dir>
1954   CPP         C preprocessor
1955   CXX         C++ compiler command
1956   CXXFLAGS    C++ compiler flags
1957   PKG_CONFIG  path to pkg-config utility
1958   DIRECTFB_CFLAGS
1959               C compiler flags for DIRECTFB, overriding pkg-config
1960   DIRECTFB_LIBS
1961               linker flags for DIRECTFB, overriding pkg-config
1962   XMKMF       Path to xmkmf, Makefile generator for X Window System
1963   PANGOX_CFLAGS
1964               C compiler flags for PANGOX, overriding pkg-config
1965   PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1966   PANGOFT2_CFLAGS
1967               C compiler flags for PANGOFT2, overriding pkg-config
1968   PANGOFT2_LIBS
1969               linker flags for PANGOFT2, overriding pkg-config
1970   PANGOXFT_CFLAGS
1971               C compiler flags for PANGOXFT, overriding pkg-config
1972   PANGOXFT_LIBS
1973               linker flags for PANGOXFT, overriding pkg-config
1974   GTKPRINT_CFLAGS
1975               C compiler flags for GTKPRINT, overriding pkg-config
1976   GTKPRINT_LIBS
1977               linker flags for GTKPRINT, overriding pkg-config
1978   LIBGNOMEPRINTUI_CFLAGS
1979               C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1980   LIBGNOMEPRINTUI_LIBS
1981               linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1982   GNOMEVFS_CFLAGS
1983               C compiler flags for GNOMEVFS, overriding pkg-config
1984   GNOMEVFS_LIBS
1985               linker flags for GNOMEVFS, overriding pkg-config
1986   HILDON_CFLAGS
1987               C compiler flags for HILDON, overriding pkg-config
1988   HILDON_LIBS linker flags for HILDON, overriding pkg-config
1989   CAIRO_CFLAGS
1990               C compiler flags for CAIRO, overriding pkg-config
1991   CAIRO_LIBS  linker flags for CAIRO, overriding pkg-config
1992   GST_CFLAGS  C compiler flags for GST, overriding pkg-config
1993   GST_LIBS    linker flags for GST, overriding pkg-config
1994
1995 Use these variables to override the choices made by `configure' or to help
1996 it to find libraries and programs with nonstandard names/locations.
1997
1998 Report bugs to <wx-dev@lists.wxwidgets.org>.
1999 _ACEOF
2000 ac_status=$?
2001 fi
2002
2003 if test "$ac_init_help" = "recursive"; then
2004   # If there are subdirs, report their specific --help.
2005   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2006     test -d "$ac_dir" || continue
2007     ac_builddir=.
2008
2009 case "$ac_dir" in
2010 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2011 *)
2012   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2013   # A ".." for each directory in $ac_dir_suffix.
2014   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
2015   case $ac_top_builddir_sub in
2016   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2017   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2018   esac ;;
2019 esac
2020 ac_abs_top_builddir=$ac_pwd
2021 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2022 # for backward compatibility:
2023 ac_top_builddir=$ac_top_build_prefix
2024
2025 case $srcdir in
2026   .)  # We are building in place.
2027     ac_srcdir=.
2028     ac_top_srcdir=$ac_top_builddir_sub
2029     ac_abs_top_srcdir=$ac_pwd ;;
2030   [\\/]* | ?:[\\/]* )  # Absolute name.
2031     ac_srcdir=$srcdir$ac_dir_suffix;
2032     ac_top_srcdir=$srcdir
2033     ac_abs_top_srcdir=$srcdir ;;
2034   *) # Relative name.
2035     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2036     ac_top_srcdir=$ac_top_build_prefix$srcdir
2037     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2038 esac
2039 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2040
2041     cd "$ac_dir" || { ac_status=$?; continue; }
2042     # Check for guested configure.
2043     if test -f "$ac_srcdir/configure.gnu"; then
2044       echo &&
2045       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2046     elif test -f "$ac_srcdir/configure"; then
2047       echo &&
2048       $SHELL "$ac_srcdir/configure" --help=recursive
2049     else
2050       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2051     fi || ac_status=$?
2052     cd "$ac_pwd" || { ac_status=$?; break; }
2053   done
2054 fi
2055
2056 test -n "$ac_init_help" && exit $ac_status
2057 if $ac_init_version; then
2058   cat <<\_ACEOF
2059 wxWidgets configure 2.9.1
2060 generated by GNU Autoconf 2.61
2061
2062 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2063 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2064 This configure script is free software; the Free Software Foundation
2065 gives unlimited permission to copy, distribute and modify it.
2066 _ACEOF
2067   exit
2068 fi
2069 cat >config.log <<_ACEOF
2070 This file contains any messages produced by compilers while
2071 running configure, to aid debugging if configure makes a mistake.
2072
2073 It was created by wxWidgets $as_me 2.9.1, which was
2074 generated by GNU Autoconf 2.61.  Invocation command line was
2075
2076   $ $0 $@
2077
2078 _ACEOF
2079 exec 5>>config.log
2080 {
2081 cat <<_ASUNAME
2082 ## --------- ##
2083 ## Platform. ##
2084 ## --------- ##
2085
2086 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2087 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2088 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2089 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2090 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2091
2092 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2093 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2094
2095 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2096 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2097 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2098 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2099 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2100 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2101 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2102
2103 _ASUNAME
2104
2105 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2106 for as_dir in $PATH
2107 do
2108   IFS=$as_save_IFS
2109   test -z "$as_dir" && as_dir=.
2110   echo "PATH: $as_dir"
2111 done
2112 IFS=$as_save_IFS
2113
2114 } >&5
2115
2116 cat >&5 <<_ACEOF
2117
2118
2119 ## ----------- ##
2120 ## Core tests. ##
2121 ## ----------- ##
2122
2123 _ACEOF
2124
2125
2126 # Keep a trace of the command line.
2127 # Strip out --no-create and --no-recursion so they do not pile up.
2128 # Strip out --silent because we don't want to record it for future runs.
2129 # Also quote any args containing shell meta-characters.
2130 # Make two passes to allow for proper duplicate-argument suppression.
2131 ac_configure_args=
2132 ac_configure_args0=
2133 ac_configure_args1=
2134 ac_must_keep_next=false
2135 for ac_pass in 1 2
2136 do
2137   for ac_arg
2138   do
2139     case $ac_arg in
2140     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2141     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2142     | -silent | --silent | --silen | --sile | --sil)
2143       continue ;;
2144     *\'*)
2145       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2146     esac
2147     case $ac_pass in
2148     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2149     2)
2150       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2151       if test $ac_must_keep_next = true; then
2152         ac_must_keep_next=false # Got value, back to normal.
2153       else
2154         case $ac_arg in
2155           *=* | --config-cache | -C | -disable-* | --disable-* \
2156           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2157           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2158           | -with-* | --with-* | -without-* | --without-* | --x)
2159             case "$ac_configure_args0 " in
2160               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2161             esac
2162             ;;
2163           -* ) ac_must_keep_next=true ;;
2164         esac
2165       fi
2166       ac_configure_args="$ac_configure_args '$ac_arg'"
2167       ;;
2168     esac
2169   done
2170 done
2171 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2172 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2173
2174 # When interrupted or exit'd, cleanup temporary files, and complete
2175 # config.log.  We remove comments because anyway the quotes in there
2176 # would cause problems or look ugly.
2177 # WARNING: Use '\'' to represent an apostrophe within the trap.
2178 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2179 trap 'exit_status=$?
2180   # Save into config.log some information that might help in debugging.
2181   {
2182     echo
2183
2184     cat <<\_ASBOX
2185 ## ---------------- ##
2186 ## Cache variables. ##
2187 ## ---------------- ##
2188 _ASBOX
2189     echo
2190     # The following way of writing the cache mishandles newlines in values,
2191 (
2192   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2193     eval ac_val=\$$ac_var
2194     case $ac_val in #(
2195     *${as_nl}*)
2196       case $ac_var in #(
2197       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2198 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2199       esac
2200       case $ac_var in #(
2201       _ | IFS | as_nl) ;; #(
2202       *) $as_unset $ac_var ;;
2203       esac ;;
2204     esac
2205   done
2206   (set) 2>&1 |
2207     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2208     *${as_nl}ac_space=\ *)
2209       sed -n \
2210         "s/'\''/'\''\\\\'\'''\''/g;
2211           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2212       ;; #(
2213     *)
2214       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2215       ;;
2216     esac |
2217     sort
2218 )
2219     echo
2220
2221     cat <<\_ASBOX
2222 ## ----------------- ##
2223 ## Output variables. ##
2224 ## ----------------- ##
2225 _ASBOX
2226     echo
2227     for ac_var in $ac_subst_vars
2228     do
2229       eval ac_val=\$$ac_var
2230       case $ac_val in
2231       *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2232       esac
2233       echo "$ac_var='\''$ac_val'\''"
2234     done | sort
2235     echo
2236
2237     if test -n "$ac_subst_files"; then
2238       cat <<\_ASBOX
2239 ## ------------------- ##
2240 ## File substitutions. ##
2241 ## ------------------- ##
2242 _ASBOX
2243       echo
2244       for ac_var in $ac_subst_files
2245       do
2246         eval ac_val=\$$ac_var
2247         case $ac_val in
2248         *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2249         esac
2250         echo "$ac_var='\''$ac_val'\''"
2251       done | sort
2252       echo
2253     fi
2254
2255     if test -s confdefs.h; then
2256       cat <<\_ASBOX
2257 ## ----------- ##
2258 ## confdefs.h. ##
2259 ## ----------- ##
2260 _ASBOX
2261       echo
2262       cat confdefs.h
2263       echo
2264     fi
2265     test "$ac_signal" != 0 &&
2266       echo "$as_me: caught signal $ac_signal"
2267     echo "$as_me: exit $exit_status"
2268   } >&5
2269   rm -f core *.core core.conftest.* &&
2270     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2271     exit $exit_status
2272 ' 0
2273 for ac_signal in 1 2 13 15; do
2274   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2275 done
2276 ac_signal=0
2277
2278 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2279 rm -f -r conftest* confdefs.h
2280
2281 # Predefined preprocessor variables.
2282
2283 cat >>confdefs.h <<_ACEOF
2284 #define PACKAGE_NAME "$PACKAGE_NAME"
2285 _ACEOF
2286
2287
2288 cat >>confdefs.h <<_ACEOF
2289 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2290 _ACEOF
2291
2292
2293 cat >>confdefs.h <<_ACEOF
2294 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2295 _ACEOF
2296
2297
2298 cat >>confdefs.h <<_ACEOF
2299 #define PACKAGE_STRING "$PACKAGE_STRING"
2300 _ACEOF
2301
2302
2303 cat >>confdefs.h <<_ACEOF
2304 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2305 _ACEOF
2306
2307
2308 # Let the site file select an alternate cache file if it wants to.
2309 # Prefer explicitly selected file to automatically selected ones.
2310 if test -n "$CONFIG_SITE"; then
2311   set x "$CONFIG_SITE"
2312 elif test "x$prefix" != xNONE; then
2313   set x "$prefix/share/config.site" "$prefix/etc/config.site"
2314 else
2315   set x "$ac_default_prefix/share/config.site" \
2316         "$ac_default_prefix/etc/config.site"
2317 fi
2318 shift
2319 for ac_site_file
2320 do
2321   if test -r "$ac_site_file"; then
2322     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2323 echo "$as_me: loading site script $ac_site_file" >&6;}
2324     sed 's/^/| /' "$ac_site_file" >&5
2325     . "$ac_site_file"
2326   fi
2327 done
2328
2329 if test -r "$cache_file"; then
2330   # Some versions of bash will fail to source /dev/null (special
2331   # files actually), so we avoid doing that.
2332   if test -f "$cache_file"; then
2333     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2334 echo "$as_me: loading cache $cache_file" >&6;}
2335     case $cache_file in
2336       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2337       *)                      . "./$cache_file";;
2338     esac
2339   fi
2340 else
2341   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2342 echo "$as_me: creating cache $cache_file" >&6;}
2343   >$cache_file
2344 fi
2345
2346 # Check that the precious variables saved in the cache have kept the same
2347 # value.
2348 ac_cache_corrupted=false
2349 for ac_var in $ac_precious_vars; do
2350   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2351   eval ac_new_set=\$ac_env_${ac_var}_set
2352   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2353   eval ac_new_val=\$ac_env_${ac_var}_value
2354   case $ac_old_set,$ac_new_set in
2355     set,)
2356       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2357 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2358       ac_cache_corrupted=: ;;
2359     ,set)
2360       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2361 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2362       ac_cache_corrupted=: ;;
2363     ,);;
2364     *)
2365       if test "x$ac_old_val" != "x$ac_new_val"; then
2366         { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2367 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2368         { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
2369 echo "$as_me:   former value:  $ac_old_val" >&2;}
2370         { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
2371 echo "$as_me:   current value: $ac_new_val" >&2;}
2372         ac_cache_corrupted=:
2373       fi;;
2374   esac
2375   # Pass precious variables to config.status.
2376   if test "$ac_new_set" = set; then
2377     case $ac_new_val in
2378     *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2379     *) ac_arg=$ac_var=$ac_new_val ;;
2380     esac
2381     case " $ac_configure_args " in
2382       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2383       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2384     esac
2385   fi
2386 done
2387 if $ac_cache_corrupted; then
2388   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2389 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2390   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2391 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2392    { (exit 1); exit 1; }; }
2393 fi
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419 ac_ext=c
2420 ac_cpp='$CPP $CPPFLAGS'
2421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2424
2425
2426
2427
2428
2429 ac_aux_dir=
2430 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2431   if test -f "$ac_dir/install-sh"; then
2432     ac_aux_dir=$ac_dir
2433     ac_install_sh="$ac_aux_dir/install-sh -c"
2434     break
2435   elif test -f "$ac_dir/install.sh"; then
2436     ac_aux_dir=$ac_dir
2437     ac_install_sh="$ac_aux_dir/install.sh -c"
2438     break
2439   elif test -f "$ac_dir/shtool"; then
2440     ac_aux_dir=$ac_dir
2441     ac_install_sh="$ac_aux_dir/shtool install -c"
2442     break
2443   fi
2444 done
2445 if test -z "$ac_aux_dir"; then
2446   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2447 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2448    { (exit 1); exit 1; }; }
2449 fi
2450
2451 # These three variables are undocumented and unsupported,
2452 # and are intended to be withdrawn in a future Autoconf release.
2453 # They can cause serious problems if a builder's source tree is in a directory
2454 # whose full name contains unusual characters.
2455 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2456 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2457 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2458
2459
2460 # Make sure we can run config.sub.
2461 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2462   { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2463 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2464    { (exit 1); exit 1; }; }
2465
2466 { echo "$as_me:$LINENO: checking build system type" >&5
2467 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2468 if test "${ac_cv_build+set}" = set; then
2469   echo $ECHO_N "(cached) $ECHO_C" >&6
2470 else
2471   ac_build_alias=$build_alias
2472 test "x$ac_build_alias" = x &&
2473   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2474 test "x$ac_build_alias" = x &&
2475   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2476 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2477    { (exit 1); exit 1; }; }
2478 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2479   { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2480 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2481    { (exit 1); exit 1; }; }
2482
2483 fi
2484 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2485 echo "${ECHO_T}$ac_cv_build" >&6; }
2486 case $ac_cv_build in
2487 *-*-*) ;;
2488 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2489 echo "$as_me: error: invalid value of canonical build" >&2;}
2490    { (exit 1); exit 1; }; };;
2491 esac
2492 build=$ac_cv_build
2493 ac_save_IFS=$IFS; IFS='-'
2494 set x $ac_cv_build
2495 shift
2496 build_cpu=$1
2497 build_vendor=$2
2498 shift; shift
2499 # Remember, the first character of IFS is used to create $*,
2500 # except with old shells:
2501 build_os=$*
2502 IFS=$ac_save_IFS
2503 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2504
2505
2506 { echo "$as_me:$LINENO: checking host system type" >&5
2507 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2508 if test "${ac_cv_host+set}" = set; then
2509   echo $ECHO_N "(cached) $ECHO_C" >&6
2510 else
2511   if test "x$host_alias" = x; then
2512   ac_cv_host=$ac_cv_build
2513 else
2514   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2515     { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2516 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2517    { (exit 1); exit 1; }; }
2518 fi
2519
2520 fi
2521 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2522 echo "${ECHO_T}$ac_cv_host" >&6; }
2523 case $ac_cv_host in
2524 *-*-*) ;;
2525 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2526 echo "$as_me: error: invalid value of canonical host" >&2;}
2527    { (exit 1); exit 1; }; };;
2528 esac
2529 host=$ac_cv_host
2530 ac_save_IFS=$IFS; IFS='-'
2531 set x $ac_cv_host
2532 shift
2533 host_cpu=$1
2534 host_vendor=$2
2535 shift; shift
2536 # Remember, the first character of IFS is used to create $*,
2537 # except with old shells:
2538 host_os=$*
2539 IFS=$ac_save_IFS
2540 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2541
2542
2543
2544 if test "$cross_compiling" != "no"; then
2545     HOST_PREFIX="${host_alias}-"
2546     HOST_SUFFIX="-$host_alias"
2547 else
2548     HOST_PREFIX=
2549     HOST_SUFFIX=
2550 fi
2551
2552
2553 wx_major_version_number=2
2554 wx_minor_version_number=9
2555 wx_release_number=1
2556 wx_subrelease_number=0
2557
2558 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2559 WX_VERSION=$WX_RELEASE.$wx_release_number
2560 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2561
2562 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2563
2564
2565 wx_top_builddir="`pwd`"
2566
2567
2568
2569
2570 USE_UNIX=1
2571 USE_OS2=0
2572 USE_WIN32=0
2573 USE_DOS=0
2574 USE_BEOS=0
2575 USE_MAC=0
2576
2577 USE_AIX=
2578 USE_BSD=                            USE_DARWIN=                         USE_FREEBSD=
2579 USE_GNU=                            USE_HPUX=
2580 USE_LINUX=
2581 USE_NETBSD=
2582 USE_OPENBSD=
2583 USE_OSF=                            USE_SGI=
2584 USE_SOLARIS=                        USE_SUN=                            USE_SUNOS=                          USE_SVR4=                           USE_SYSV=                           USE_VMS=
2585 USE_ULTRIX=
2586 USE_UNIXWARE=
2587
2588 USE_ALPHA=
2589
2590 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2591
2592 ALL_TOOLKITS="COCOA GTK OSX_CARBON OSX_COCOA MGL MICROWIN MOTIF MSW PM X11 DFB"
2593
2594 DEFAULT_wxUSE_COCOA=0
2595 DEFAULT_wxUSE_GTK=0
2596 DEFAULT_wxUSE_OSX_CARBON=0
2597 DEFAULT_wxUSE_OSX_COCOA=0
2598 DEFAULT_wxUSE_MGL=0
2599 DEFAULT_wxUSE_MICROWIN=0
2600 DEFAULT_wxUSE_MOTIF=0
2601 DEFAULT_wxUSE_MSW=0
2602 DEFAULT_wxUSE_PM=0
2603 DEFAULT_wxUSE_X11=0
2604 DEFAULT_wxUSE_DFB=0
2605
2606 DEFAULT_DEFAULT_wxUSE_COCOA=0
2607 DEFAULT_DEFAULT_wxUSE_GTK=0
2608 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=0
2609 DEFAULT_DEFAULT_wxUSE_OSX_COCOA=0
2610 DEFAULT_DEFAULT_wxUSE_MGL=0
2611 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2612 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2613 DEFAULT_DEFAULT_wxUSE_MSW=0
2614 DEFAULT_DEFAULT_wxUSE_PM=0
2615 DEFAULT_DEFAULT_wxUSE_X11=0
2616 DEFAULT_DEFAULT_wxUSE_DFB=0
2617
2618 PROGRAM_EXT=
2619 SAMPLES_RPATH_FLAG=
2620 DYLIB_RPATH_INSTALL=
2621 DYLIB_RPATH_POSTLINK=
2622
2623 DEFAULT_STD_FLAG=yes
2624
2625 case "${host}" in
2626   *-hp-hpux* )
2627     USE_HPUX=1
2628     DEFAULT_DEFAULT_wxUSE_MOTIF=1
2629     NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2630     cat >>confdefs.h <<\_ACEOF
2631 #define __HPUX__ 1
2632 _ACEOF
2633
2634
2635             CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2636   ;;
2637   *-*-linux* )
2638     USE_LINUX=1
2639     cat >>confdefs.h <<\_ACEOF
2640 #define __LINUX__ 1
2641 _ACEOF
2642
2643     TMP=`uname -m`
2644     if test "x$TMP" = "xalpha"; then
2645       USE_ALPHA=1
2646       cat >>confdefs.h <<\_ACEOF
2647 #define __ALPHA__ 1
2648 _ACEOF
2649
2650     fi
2651     DEFAULT_DEFAULT_wxUSE_GTK=1
2652   ;;
2653   *-*-gnu* | *-*-k*bsd*-gnu )
2654     USE_GNU=1
2655     TMP=`uname -m`
2656     if test "x$TMP" = "xalpha"; then
2657       USE_ALPHA=1
2658       cat >>confdefs.h <<\_ACEOF
2659 #define __ALPHA__ 1
2660 _ACEOF
2661
2662     fi
2663     DEFAULT_DEFAULT_wxUSE_GTK=1
2664   ;;
2665   *-*-irix5* | *-*-irix6* )
2666     USE_SGI=1
2667     USE_SVR4=1
2668     cat >>confdefs.h <<\_ACEOF
2669 #define __SGI__ 1
2670 _ACEOF
2671
2672     cat >>confdefs.h <<\_ACEOF
2673 #define __SVR4__ 1
2674 _ACEOF
2675
2676     DEFAULT_DEFAULT_wxUSE_MOTIF=1
2677   ;;
2678   *-*-solaris2* )
2679     USE_SUN=1
2680     USE_SOLARIS=1
2681     USE_SVR4=1
2682     cat >>confdefs.h <<\_ACEOF
2683 #define __SUN__ 1
2684 _ACEOF
2685
2686     cat >>confdefs.h <<\_ACEOF
2687 #define __SOLARIS__ 1
2688 _ACEOF
2689
2690     cat >>confdefs.h <<\_ACEOF
2691 #define __SVR4__ 1
2692 _ACEOF
2693
2694     DEFAULT_DEFAULT_wxUSE_MOTIF=1
2695     NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2696   ;;
2697   *-*-sunos4* )
2698     USE_SUN=1
2699     USE_SUNOS=1
2700     USE_BSD=1
2701     cat >>confdefs.h <<\_ACEOF
2702 #define __SUN__ 1
2703 _ACEOF
2704
2705     cat >>confdefs.h <<\_ACEOF
2706 #define __SUNOS__ 1
2707 _ACEOF
2708
2709     cat >>confdefs.h <<\_ACEOF
2710 #define __BSD__ 1
2711 _ACEOF
2712
2713     DEFAULT_DEFAULT_wxUSE_MOTIF=1
2714   ;;
2715   *-*-freebsd*)
2716     USE_BSD=1
2717     USE_FREEBSD=1
2718     cat >>confdefs.h <<\_ACEOF
2719 #define __FREEBSD__ 1
2720 _ACEOF
2721
2722     cat >>confdefs.h <<\_ACEOF
2723 #define __BSD__ 1
2724 _ACEOF
2725
2726     DEFAULT_DEFAULT_wxUSE_GTK=1
2727   ;;
2728   *-*-openbsd*|*-*-mirbsd*)
2729     USE_BSD=1
2730     USE_OPENBSD=1
2731     cat >>confdefs.h <<\_ACEOF
2732 #define __OPENBSD__ 1
2733 _ACEOF
2734
2735     cat >>confdefs.h <<\_ACEOF
2736 #define __BSD__ 1
2737 _ACEOF
2738
2739     DEFAULT_DEFAULT_wxUSE_GTK=1
2740   ;;
2741   *-*-netbsd*)
2742     USE_BSD=1
2743     USE_NETBSD=1
2744     cat >>confdefs.h <<\_ACEOF
2745 #define __NETBSD__ 1
2746 _ACEOF
2747
2748     cat >>confdefs.h <<\_ACEOF
2749 #define __BSD__ 1
2750 _ACEOF
2751
2752     DEFAULT_DEFAULT_wxUSE_GTK=1
2753     NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2754
2755             CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2756   ;;
2757   *-*-osf* )
2758     USE_ALPHA=1
2759     USE_OSF=1
2760     cat >>confdefs.h <<\_ACEOF
2761 #define __ALPHA__ 1
2762 _ACEOF
2763
2764     cat >>confdefs.h <<\_ACEOF
2765 #define __OSF__ 1
2766 _ACEOF
2767
2768     DEFAULT_DEFAULT_wxUSE_MOTIF=1
2769     NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2770   ;;
2771   *-*-dgux5* )
2772     USE_ALPHA=1
2773     USE_SVR4=1
2774     cat >>confdefs.h <<\_ACEOF
2775 #define __ALPHA__ 1
2776 _ACEOF
2777
2778     cat >>confdefs.h <<\_ACEOF
2779 #define __SVR4__ 1
2780 _ACEOF
2781
2782     DEFAULT_DEFAULT_wxUSE_MOTIF=1
2783   ;;
2784   *-*-sysv5* )
2785     USE_SYSV=1
2786     USE_SVR4=1
2787     cat >>confdefs.h <<\_ACEOF
2788 #define __SYSV__ 1
2789 _ACEOF
2790
2791     cat >>confdefs.h <<\_ACEOF
2792 #define __SVR4__ 1
2793 _ACEOF
2794
2795     DEFAULT_DEFAULT_wxUSE_MOTIF=1
2796   ;;
2797   *-*-aix* )
2798     USE_AIX=1
2799     USE_SYSV=1
2800     USE_SVR4=1
2801     cat >>confdefs.h <<\_ACEOF
2802 #define __AIX__ 1
2803 _ACEOF
2804
2805     cat >>confdefs.h <<\_ACEOF
2806 #define __SYSV__ 1
2807 _ACEOF
2808
2809     cat >>confdefs.h <<\_ACEOF
2810 #define __SVR4__ 1
2811 _ACEOF
2812
2813     DEFAULT_DEFAULT_wxUSE_MOTIF=1
2814   ;;
2815
2816   *-*-*UnixWare*)
2817     USE_SYSV=1
2818     USE_SVR4=1
2819     USE_UNIXWARE=1
2820     cat >>confdefs.h <<\_ACEOF
2821 #define __UNIXWARE__ 1
2822 _ACEOF
2823
2824   ;;
2825
2826   *-*-cygwin* | *-*-mingw32* )
2827                 PROGRAM_EXT=".exe"
2828     DEFAULT_DEFAULT_wxUSE_MSW=1
2829   ;;
2830
2831   *-pc-msdosdjgpp )
2832     USE_UNIX=0
2833     USE_DOS=1
2834     cat >>confdefs.h <<\_ACEOF
2835 #define __DOS__ 1
2836 _ACEOF
2837
2838     PROGRAM_EXT=".exe"
2839     DEFAULT_DEFAULT_wxUSE_MGL=1
2840   ;;
2841
2842   *-pc-os2_emx | *-pc-os2-emx )
2843     cat >>confdefs.h <<\_ACEOF
2844 #define __EMX__ 1
2845 _ACEOF
2846
2847     USE_OS2=1
2848     cat >>confdefs.h <<\_ACEOF
2849 #define __OS2__ 1
2850 _ACEOF
2851
2852     PROGRAM_EXT=".exe"
2853     DEFAULT_DEFAULT_wxUSE_PM=1
2854         CXX=gcc
2855     LDFLAGS="$LDFLAGS -Zcrtdll"
2856                         ac_executable_extensions=".exe"
2857     export ac_executable_extensions
2858             ac_save_IFS="$IFS"
2859     IFS='\\'
2860     ac_TEMP_PATH=
2861     for ac_dir in $PATH; do
2862       IFS=$ac_save_IFS
2863       if test -z "$ac_TEMP_PATH"; then
2864         ac_TEMP_PATH="$ac_dir"
2865       else
2866         ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2867       fi
2868     done
2869     export PATH="$ac_TEMP_PATH"
2870     unset ac_TEMP_PATH
2871     DEFAULT_STD_FLAG=no
2872   ;;
2873
2874   *-*-darwin* )
2875         USE_BSD=1
2876     USE_DARWIN=1
2877     cat >>confdefs.h <<\_ACEOF
2878 #define __BSD__ 1
2879 _ACEOF
2880
2881     cat >>confdefs.h <<\_ACEOF
2882 #define __DARWIN__ 1
2883 _ACEOF
2884
2885     cat >>confdefs.h <<\_ACEOF
2886 #define TARGET_CARBON 1
2887 _ACEOF
2888
2889     DEFAULT_DEFAULT_wxUSE_OSX_CARBON=1
2890   ;;
2891
2892   *-*-beos* )
2893         USE_BEOS=1
2894     cat >>confdefs.h <<\_ACEOF
2895 #define __BEOS__ 1
2896 _ACEOF
2897
2898   ;;
2899
2900   *)
2901     { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2902 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2903     { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2904 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2905
2906     DEFAULT_DEFAULT_wxUSE_X11=1
2907     DEFAULT_wxUSE_SHARED=no
2908 esac
2909
2910
2911
2912 DEFAULT_wxUSE_ALL_FEATURES=yes
2913
2914 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2915 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2916
2917 DEFAULT_wxUSE_DMALLOC=no
2918 DEFAULT_wxUSE_LIBGNOMEVFS=no
2919 DEFAULT_wxUSE_LIBHILDON=no
2920 DEFAULT_wxUSE_LIBMSPACK=no
2921 DEFAULT_wxUSE_LIBSDL=no
2922
2923 DEFAULT_wxUSE_ACCESSIBILITY=no
2924 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2925 DEFAULT_wxUSE_IPV6=no
2926 DEFAULT_wxUSE_GSTREAMER8=no
2927
2928 DEFAULT_wxUSE_UNICODE_UTF8=auto
2929 DEFAULT_wxUSE_OPENGL=auto
2930 DEFAULT_wxUSE_MEDIACTRL=auto
2931 DEFAULT_wxUSE_COMPILER_TLS=auto
2932
2933 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
2934
2935 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2936
2937 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2938
2939 DEFAULT_wxUSE_GTK2=yes
2940
2941 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
2942
2943
2944
2945
2946
2947           enablestring=disable
2948           defaultval=
2949           if test -z "$defaultval"; then
2950               if test x"$enablestring" = xdisable; then
2951                   defaultval=yes
2952               else
2953                   defaultval=no
2954               fi
2955           fi
2956
2957           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2958 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
2959           # Check whether --enable-gui was given.
2960 if test "${enable_gui+set}" = set; then
2961   enableval=$enable_gui;
2962                           if test "$enableval" = yes; then
2963                             wx_cv_use_gui='wxUSE_GUI=yes'
2964                           else
2965                             wx_cv_use_gui='wxUSE_GUI=no'
2966                           fi
2967
2968 else
2969
2970                           wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
2971
2972 fi
2973
2974
2975           eval "$wx_cv_use_gui"
2976
2977           if test x"$enablestring" = xdisable; then
2978             if test $wxUSE_GUI = no; then
2979               result=yes
2980             else
2981               result=no
2982             fi
2983           else
2984             result=$wxUSE_GUI
2985           fi
2986
2987           { echo "$as_me:$LINENO: result: $result" >&5
2988 echo "${ECHO_T}$result" >&6; }
2989
2990
2991           enablestring=
2992           defaultval=
2993           if test -z "$defaultval"; then
2994               if test x"$enablestring" = xdisable; then
2995                   defaultval=yes
2996               else
2997                   defaultval=no
2998               fi
2999           fi
3000
3001           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3002 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3003           # Check whether --enable-monolithic was given.
3004 if test "${enable_monolithic+set}" = set; then
3005   enableval=$enable_monolithic;
3006                           if test "$enableval" = yes; then
3007                             wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3008                           else
3009                             wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3010                           fi
3011
3012 else
3013
3014                           wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3015
3016 fi
3017
3018
3019           eval "$wx_cv_use_monolithic"
3020
3021           if test x"$enablestring" = xdisable; then
3022             if test $wxUSE_MONOLITHIC = no; then
3023               result=yes
3024             else
3025               result=no
3026             fi
3027           else
3028             result=$wxUSE_MONOLITHIC
3029           fi
3030
3031           { echo "$as_me:$LINENO: result: $result" >&5
3032 echo "${ECHO_T}$result" >&6; }
3033
3034
3035           enablestring=
3036           defaultval=
3037           if test -z "$defaultval"; then
3038               if test x"$enablestring" = xdisable; then
3039                   defaultval=yes
3040               else
3041                   defaultval=no
3042               fi
3043           fi
3044
3045           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3046 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3047           # Check whether --enable-plugins was given.
3048 if test "${enable_plugins+set}" = set; then
3049   enableval=$enable_plugins;
3050                           if test "$enableval" = yes; then
3051                             wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3052                           else
3053                             wx_cv_use_plugins='wxUSE_PLUGINS=no'
3054                           fi
3055
3056 else
3057
3058                           wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3059
3060 fi
3061
3062
3063           eval "$wx_cv_use_plugins"
3064
3065           if test x"$enablestring" = xdisable; then
3066             if test $wxUSE_PLUGINS = no; then
3067               result=yes
3068             else
3069               result=no
3070             fi
3071           else
3072             result=$wxUSE_PLUGINS
3073           fi
3074
3075           { echo "$as_me:$LINENO: result: $result" >&5
3076 echo "${ECHO_T}$result" >&6; }
3077
3078
3079           withstring=without
3080           defaultval=$wxUSE_ALL_FEATURES
3081           if test -z "$defaultval"; then
3082               if test x"$withstring" = xwithout; then
3083                   defaultval=yes
3084               else
3085                   defaultval=no
3086               fi
3087           fi
3088           { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3089 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3090
3091 # Check whether --with-subdirs was given.
3092 if test "${with_subdirs+set}" = set; then
3093   withval=$with_subdirs;
3094                         if test "$withval" = yes; then
3095                           wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3096                         else
3097                           wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
3098                         fi
3099
3100 else
3101
3102                         wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3103
3104 fi
3105
3106
3107           eval "$wx_cv_use_subdirs"
3108
3109           if test x"$withstring" = xwithout; then
3110             if test $wxWITH_SUBDIRS = yes; then
3111               result=no
3112             else
3113               result=yes
3114             fi
3115           else
3116             result=$wxWITH_SUBDIRS
3117           fi
3118
3119           { echo "$as_me:$LINENO: result: $result" >&5
3120 echo "${ECHO_T}$result" >&6; }
3121
3122
3123 # Check whether --with-flavour was given.
3124 if test "${with_flavour+set}" = set; then
3125   withval=$with_flavour; WX_FLAVOUR="$withval"
3126 fi
3127
3128
3129           enablestring=
3130           defaultval=
3131           if test -z "$defaultval"; then
3132               if test x"$enablestring" = xdisable; then
3133                   defaultval=yes
3134               else
3135                   defaultval=no
3136               fi
3137           fi
3138
3139           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3140 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3141           # Check whether --enable-official_build was given.
3142 if test "${enable_official_build+set}" = set; then
3143   enableval=$enable_official_build;
3144                           if test "$enableval" = yes; then
3145                             wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
3146                           else
3147                             wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
3148                           fi
3149
3150 else
3151
3152                           wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3153
3154 fi
3155
3156
3157           eval "$wx_cv_use_official_build"
3158
3159           if test x"$enablestring" = xdisable; then
3160             if test $wxUSE_OFFICIAL_BUILD = no; then
3161               result=yes
3162             else
3163               result=no
3164             fi
3165           else
3166             result=$wxUSE_OFFICIAL_BUILD
3167           fi
3168
3169           { echo "$as_me:$LINENO: result: $result" >&5
3170 echo "${ECHO_T}$result" >&6; }
3171
3172 # Check whether --enable-vendor was given.
3173 if test "${enable_vendor+set}" = set; then
3174   enableval=$enable_vendor; VENDOR="$enableval"
3175 fi
3176
3177 if test "x$VENDOR" = "x"; then
3178     VENDOR="custom"
3179 fi
3180
3181
3182           enablestring=disable
3183           defaultval=
3184           if test -z "$defaultval"; then
3185               if test x"$enablestring" = xdisable; then
3186                   defaultval=yes
3187               else
3188                   defaultval=no
3189               fi
3190           fi
3191
3192           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-all-features" >&5
3193 echo $ECHO_N "checking for --${enablestring:-enable}-all-features... $ECHO_C" >&6; }
3194           # Check whether --enable-all-features was given.
3195 if test "${enable_all_features+set}" = set; then
3196   enableval=$enable_all_features;
3197                           if test "$enableval" = yes; then
3198                             wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3199                           else
3200                             wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3201                           fi
3202
3203 else
3204
3205                           wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3206
3207 fi
3208
3209
3210           eval "$wx_cv_use_all_features"
3211
3212           if test x"$enablestring" = xdisable; then
3213             if test $wxUSE_ALL_FEATURES = no; then
3214               result=yes
3215             else
3216               result=no
3217             fi
3218           else
3219             result=$wxUSE_ALL_FEATURES
3220           fi
3221
3222           { echo "$as_me:$LINENO: result: $result" >&5
3223 echo "${ECHO_T}$result" >&6; }
3224
3225
3226 if test "$wxUSE_ALL_FEATURES" = "no"; then
3227                     DEFAULT_wxUSE_MEDIACTRL=no
3228 fi
3229
3230
3231 if test "$wxUSE_GUI" = "yes"; then
3232
3233
3234           enablestring=
3235           defaultval=
3236           if test -z "$defaultval"; then
3237               if test x"$enablestring" = xdisable; then
3238                   defaultval=yes
3239               else
3240                   defaultval=no
3241               fi
3242           fi
3243
3244           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3245 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3246           # Check whether --enable-universal was given.
3247 if test "${enable_universal+set}" = set; then
3248   enableval=$enable_universal;
3249                           if test "$enableval" = yes; then
3250                             wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
3251                           else
3252                             wx_cv_use_universal='wxUSE_UNIVERSAL=no'
3253                           fi
3254
3255 else
3256
3257                           wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3258
3259 fi
3260
3261
3262           eval "$wx_cv_use_universal"
3263
3264           if test x"$enablestring" = xdisable; then
3265             if test $wxUSE_UNIVERSAL = no; then
3266               result=yes
3267             else
3268               result=no
3269             fi
3270           else
3271             result=$wxUSE_UNIVERSAL
3272           fi
3273
3274           { echo "$as_me:$LINENO: result: $result" >&5
3275 echo "${ECHO_T}$result" >&6; }
3276
3277 if test "$wxUSE_UNIVERSAL" = "yes"; then
3278
3279 # Check whether --with-themes was given.
3280 if test "${with_themes+set}" = set; then
3281   withval=$with_themes; wxUNIV_THEMES="$withval"
3282 fi
3283
3284 fi
3285
3286
3287 # Check whether --with-gtk was given.
3288 if test "${with_gtk+set}" = set; then
3289   withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3290 fi
3291
3292
3293 # Check whether --with-motif was given.
3294 if test "${with_motif+set}" = set; then
3295   withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3296 fi
3297
3298
3299 # Check whether --with-osx_carbon was given.
3300 if test "${with_osx_carbon+set}" = set; then
3301   withval=$with_osx_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3302 fi
3303
3304
3305 # Check whether --with-osx_cocoa was given.
3306 if test "${with_osx_cocoa+set}" = set; then
3307   withval=$with_osx_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3308 fi
3309
3310
3311 # Check whether --with-mac was given.
3312 if test "${with_mac+set}" = set; then
3313   withval=$with_mac; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3314 fi
3315
3316
3317 # Check whether --with-cocoa was given.
3318 if test "${with_cocoa+set}" = set; then
3319   withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3320 fi
3321
3322
3323 # Check whether --with-wine was given.
3324 if test "${with_wine+set}" = set; then
3325   withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3326 fi
3327
3328
3329 # Check whether --with-msw was given.
3330 if test "${with_msw+set}" = set; then
3331   withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3332 fi
3333
3334
3335 # Check whether --with-pm was given.
3336 if test "${with_pm+set}" = set; then
3337   withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3338 fi
3339
3340
3341 # Check whether --with-mgl was given.
3342 if test "${with_mgl+set}" = set; then
3343   withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3344 fi
3345
3346
3347 # Check whether --with-directfb was given.
3348 if test "${with_directfb+set}" = set; then
3349   withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3350 fi
3351
3352
3353 # Check whether --with-microwin was given.
3354 if test "${with_microwin+set}" = set; then
3355   withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3356 fi
3357
3358
3359 # Check whether --with-x11 was given.
3360 if test "${with_x11+set}" = set; then
3361   withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3362 fi
3363
3364
3365           enablestring=
3366           defaultval=
3367           if test -z "$defaultval"; then
3368               if test x"$enablestring" = xdisable; then
3369                   defaultval=yes
3370               else
3371                   defaultval=no
3372               fi
3373           fi
3374
3375           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3376 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3377           # Check whether --enable-nanox was given.
3378 if test "${enable_nanox+set}" = set; then
3379   enableval=$enable_nanox;
3380                           if test "$enableval" = yes; then
3381                             wx_cv_use_nanox='wxUSE_NANOX=yes'
3382                           else
3383                             wx_cv_use_nanox='wxUSE_NANOX=no'
3384                           fi
3385
3386 else
3387
3388                           wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3389
3390 fi
3391
3392
3393           eval "$wx_cv_use_nanox"
3394
3395           if test x"$enablestring" = xdisable; then
3396             if test $wxUSE_NANOX = no; then
3397               result=yes
3398             else
3399               result=no
3400             fi
3401           else
3402             result=$wxUSE_NANOX
3403           fi
3404
3405           { echo "$as_me:$LINENO: result: $result" >&5
3406 echo "${ECHO_T}$result" >&6; }
3407
3408
3409 # Check whether --enable-gtk2 was given.
3410 if test "${enable_gtk2+set}" = set; then
3411   enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3412 fi
3413
3414
3415           enablestring=
3416           defaultval=
3417           if test -z "$defaultval"; then
3418               if test x"$enablestring" = xdisable; then
3419                   defaultval=yes
3420               else
3421                   defaultval=no
3422               fi
3423           fi
3424
3425           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3426 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3427           # Check whether --enable-gpe was given.
3428 if test "${enable_gpe+set}" = set; then
3429   enableval=$enable_gpe;
3430                           if test "$enableval" = yes; then
3431                             wx_cv_use_gpe='wxUSE_GPE=yes'
3432                           else
3433                             wx_cv_use_gpe='wxUSE_GPE=no'
3434                           fi
3435
3436 else
3437
3438                           wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3439
3440 fi
3441
3442
3443           eval "$wx_cv_use_gpe"
3444
3445           if test x"$enablestring" = xdisable; then
3446             if test $wxUSE_GPE = no; then
3447               result=yes
3448             else
3449               result=no
3450             fi
3451           else
3452             result=$wxUSE_GPE
3453           fi
3454
3455           { echo "$as_me:$LINENO: result: $result" >&5
3456 echo "${ECHO_T}$result" >&6; }
3457
3458
3459
3460 { echo "$as_me:$LINENO: checking for toolkit" >&5
3461 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
3462
3463
3464
3465 # In Wine, we need to default to MSW, not GTK or MOTIF
3466 if test "$wxUSE_WINE" = "yes"; then
3467     DEFAULT_DEFAULT_wxUSE_GTK=0
3468     DEFAULT_DEFAULT_wxUSE_MOTIF=0
3469     DEFAULT_DEFAULT_wxUSE_MSW=1
3470     wxUSE_SHARED=no
3471     CC=${CC:-winegcc}
3472     CXX=${CXX:-wineg++}
3473 fi
3474
3475
3476 if test "$wxUSE_GUI" = "yes"; then
3477
3478     if test "$USE_BEOS" = 1; then
3479         { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
3480 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
3481    { (exit 1); exit 1; }; }
3482     fi
3483
3484     if test "$TOOLKIT_GIVEN" = 1; then
3485             for toolkit in $ALL_TOOLKITS; do
3486         var=wxUSE_$toolkit
3487         eval "value=\$${var}"
3488         if test "x$value" = "xno"; then
3489           eval "$var=0"
3490         elif test "x$value" != "x"; then
3491           eval "$var=1"
3492         fi
3493
3494         if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
3495           eval "wx${toolkit}_VERSION=$value"
3496         fi
3497       done
3498     else
3499             for toolkit in $ALL_TOOLKITS; do
3500         var=DEFAULT_DEFAULT_wxUSE_$toolkit
3501         eval "wxUSE_$toolkit=\$${var}"
3502       done
3503     fi
3504
3505             NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_OSX_CARBON:-0} \
3506                   + ${wxUSE_OSX_COCOA:-0} + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} \
3507                   + ${wxUSE_MICROWIN:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
3508
3509         case "${host}" in
3510       *-pc-os2_emx | *-pc-os2-emx )
3511         NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
3512     esac
3513
3514     case "$NUM_TOOLKITS" in
3515       1)
3516       ;;
3517       0)
3518         { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
3519 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
3520    { (exit 1); exit 1; }; }
3521       ;;
3522       *)
3523         { { echo "$as_me:$LINENO: error: Please specify at most one toolkit" >&5
3524 echo "$as_me: error: Please specify at most one toolkit" >&2;}
3525    { (exit 1); exit 1; }; }
3526     esac
3527
3528     # to be removed when --disable-gtk2 isn't needed
3529     if test "x$wxUSE_GTK2" = "xyes"; then
3530         wxGTK_VERSION=2
3531     elif test "x$wxUSE_GTK2" = "xno"; then
3532         wxGTK_VERSION=1
3533     fi
3534
3535     for toolkit in $ALL_TOOLKITS; do
3536         var=wxUSE_$toolkit
3537         eval "value=\$${var}"
3538         if test "$value" = 1; then
3539           toolkit_echo=`echo $toolkit | tr '[A-Z]' '[a-z]'`
3540           { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
3541 echo "${ECHO_T}$toolkit_echo" >&6; }
3542         fi
3543     done
3544 else
3545     if test "x$host_alias" != "x"; then
3546         { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
3547 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
3548     else
3549         { echo "$as_me:$LINENO: result: base only" >&5
3550 echo "${ECHO_T}base only" >&6; }
3551     fi
3552 fi
3553
3554 wxUSE_MAC=0
3555 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1; then
3556     wxUSE_MAC=1
3557 fi
3558
3559
3560
3561           { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3562 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3563
3564 # Check whether --with-libpng was given.
3565 if test "${with_libpng+set}" = set; then
3566   withval=$with_libpng;
3567                         if test "$withval" = yes; then
3568                           wx_cv_use_libpng='wxUSE_LIBPNG=yes'
3569                         elif test "$withval" = no; then
3570                           wx_cv_use_libpng='wxUSE_LIBPNG=no'
3571                         elif test "$withval" = sys; then
3572                           wx_cv_use_libpng='wxUSE_LIBPNG=sys'
3573                         elif test "$withval" = builtin; then
3574                           wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
3575                         else
3576                           { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3577 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3578    { (exit 1); exit 1; }; }
3579                         fi
3580
3581 else
3582
3583                         wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3584
3585 fi
3586
3587
3588           eval "$wx_cv_use_libpng"
3589
3590           if test "$wxUSE_LIBPNG" = yes; then
3591             { echo "$as_me:$LINENO: result: yes" >&5
3592 echo "${ECHO_T}yes" >&6; }
3593           elif test "$wxUSE_LIBPNG" = no; then
3594             { echo "$as_me:$LINENO: result: no" >&5
3595 echo "${ECHO_T}no" >&6; }
3596           elif test "$wxUSE_LIBPNG" = sys; then
3597             { echo "$as_me:$LINENO: result: system version" >&5
3598 echo "${ECHO_T}system version" >&6; }
3599           elif test "$wxUSE_LIBPNG" = builtin; then
3600             { echo "$as_me:$LINENO: result: builtin version" >&5
3601 echo "${ECHO_T}builtin version" >&6; }
3602           else
3603             { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3604 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3605    { (exit 1); exit 1; }; }
3606           fi
3607
3608
3609           { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3610 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3611
3612 # Check whether --with-libjpeg was given.
3613 if test "${with_libjpeg+set}" = set; then
3614   withval=$with_libjpeg;
3615                         if test "$withval" = yes; then
3616                           wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3617                         elif test "$withval" = no; then
3618                           wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3619                         elif test "$withval" = sys; then
3620                           wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3621                         elif test "$withval" = builtin; then
3622                           wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3623                         else
3624                           { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3625 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3626    { (exit 1); exit 1; }; }
3627                         fi
3628
3629 else
3630
3631                         wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3632
3633 fi
3634
3635
3636           eval "$wx_cv_use_libjpeg"
3637
3638           if test "$wxUSE_LIBJPEG" = yes; then
3639             { echo "$as_me:$LINENO: result: yes" >&5
3640 echo "${ECHO_T}yes" >&6; }
3641           elif test "$wxUSE_LIBJPEG" = no; then
3642             { echo "$as_me:$LINENO: result: no" >&5
3643 echo "${ECHO_T}no" >&6; }
3644           elif test "$wxUSE_LIBJPEG" = sys; then
3645             { echo "$as_me:$LINENO: result: system version" >&5
3646 echo "${ECHO_T}system version" >&6; }
3647           elif test "$wxUSE_LIBJPEG" = builtin; then
3648             { echo "$as_me:$LINENO: result: builtin version" >&5
3649 echo "${ECHO_T}builtin version" >&6; }
3650           else
3651             { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3652 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3653    { (exit 1); exit 1; }; }
3654           fi
3655
3656
3657           { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3658 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3659
3660 # Check whether --with-libtiff was given.
3661 if test "${with_libtiff+set}" = set; then
3662   withval=$with_libtiff;
3663                         if test "$withval" = yes; then
3664                           wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3665                         elif test "$withval" = no; then
3666                           wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3667                         elif test "$withval" = sys; then
3668                           wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3669                         elif test "$withval" = builtin; then
3670                           wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3671                         else
3672                           { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3673 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3674    { (exit 1); exit 1; }; }
3675                         fi
3676
3677 else
3678
3679                         wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3680
3681 fi
3682
3683
3684           eval "$wx_cv_use_libtiff"
3685
3686           if test "$wxUSE_LIBTIFF" = yes; then
3687             { echo "$as_me:$LINENO: result: yes" >&5
3688 echo "${ECHO_T}yes" >&6; }
3689           elif test "$wxUSE_LIBTIFF" = no; then
3690             { echo "$as_me:$LINENO: result: no" >&5
3691 echo "${ECHO_T}no" >&6; }
3692           elif test "$wxUSE_LIBTIFF" = sys; then
3693             { echo "$as_me:$LINENO: result: system version" >&5
3694 echo "${ECHO_T}system version" >&6; }
3695           elif test "$wxUSE_LIBTIFF" = builtin; then
3696             { echo "$as_me:$LINENO: result: builtin version" >&5
3697 echo "${ECHO_T}builtin version" >&6; }
3698           else
3699             { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3700 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3701    { (exit 1); exit 1; }; }
3702           fi
3703
3704
3705           { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3706 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3707
3708 # Check whether --with-libxpm was given.
3709 if test "${with_libxpm+set}" = set; then
3710   withval=$with_libxpm;
3711                         if test "$withval" = yes; then
3712                           wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
3713                         elif test "$withval" = no; then
3714                           wx_cv_use_libxpm='wxUSE_LIBXPM=no'
3715                         elif test "$withval" = sys; then
3716                           wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
3717                         elif test "$withval" = builtin; then
3718                           wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3719                         else
3720                           { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3721 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3722    { (exit 1); exit 1; }; }
3723                         fi
3724
3725 else
3726
3727                         wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3728
3729 fi
3730
3731
3732           eval "$wx_cv_use_libxpm"
3733
3734           if test "$wxUSE_LIBXPM" = yes; then
3735             { echo "$as_me:$LINENO: result: yes" >&5
3736 echo "${ECHO_T}yes" >&6; }
3737           elif test "$wxUSE_LIBXPM" = no; then
3738             { echo "$as_me:$LINENO: result: no" >&5
3739 echo "${ECHO_T}no" >&6; }
3740           elif test "$wxUSE_LIBXPM" = sys; then
3741             { echo "$as_me:$LINENO: result: system version" >&5
3742 echo "${ECHO_T}system version" >&6; }
3743           elif test "$wxUSE_LIBXPM" = builtin; then
3744             { echo "$as_me:$LINENO: result: builtin version" >&5
3745 echo "${ECHO_T}builtin version" >&6; }
3746           else
3747             { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3748 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3749    { (exit 1); exit 1; }; }
3750           fi
3751
3752
3753           withstring=
3754           defaultval=$wxUSE_ALL_FEATURES
3755           if test -z "$defaultval"; then
3756               if test x"$withstring" = xwithout; then
3757                   defaultval=yes
3758               else
3759                   defaultval=no
3760               fi
3761           fi
3762           { echo "$as_me:$LINENO: checking for --${withstring:-with}-libiconv" >&5
3763 echo $ECHO_N "checking for --${withstring:-with}-libiconv... $ECHO_C" >&6; }
3764
3765 # Check whether --with-libiconv was given.
3766 if test "${with_libiconv+set}" = set; then
3767   withval=$with_libiconv;
3768                         if test "$withval" = yes; then
3769                           wx_cv_use_libiconv='wxUSE_LIBICONV=yes'
3770                         else
3771                           wx_cv_use_libiconv='wxUSE_LIBICONV=no'
3772                         fi
3773
3774 else
3775
3776                         wx_cv_use_libiconv='wxUSE_LIBICONV=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
3777
3778 fi
3779
3780
3781           eval "$wx_cv_use_libiconv"
3782
3783           if test x"$withstring" = xwithout; then
3784             if test $wxUSE_LIBICONV = yes; then
3785               result=no
3786             else
3787               result=yes
3788             fi
3789           else
3790             result=$wxUSE_LIBICONV
3791           fi
3792
3793           { echo "$as_me:$LINENO: result: $result" >&5
3794 echo "${ECHO_T}$result" >&6; }
3795
3796
3797           withstring=
3798           defaultval=$wxUSE_ALL_FEATURES
3799           if test -z "$defaultval"; then
3800               if test x"$withstring" = xwithout; then
3801                   defaultval=yes
3802               else
3803                   defaultval=no
3804               fi
3805           fi
3806           { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3807 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3808
3809 # Check whether --with-libmspack was given.
3810 if test "${with_libmspack+set}" = set; then
3811   withval=$with_libmspack;
3812                         if test "$withval" = yes; then
3813                           wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3814                         else
3815                           wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3816                         fi
3817
3818 else
3819
3820                         wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3821
3822 fi
3823
3824
3825           eval "$wx_cv_use_libmspack"
3826
3827           if test x"$withstring" = xwithout; then
3828             if test $wxUSE_LIBMSPACK = yes; then
3829               result=no
3830             else
3831               result=yes
3832             fi
3833           else
3834             result=$wxUSE_LIBMSPACK
3835           fi
3836
3837           { echo "$as_me:$LINENO: result: $result" >&5
3838 echo "${ECHO_T}$result" >&6; }
3839
3840
3841           withstring=without
3842           defaultval=$wxUSE_ALL_FEATURES
3843           if test -z "$defaultval"; then
3844               if test x"$withstring" = xwithout; then
3845                   defaultval=yes
3846               else
3847                   defaultval=no
3848               fi
3849           fi
3850           { echo "$as_me:$LINENO: checking for --${withstring:-with}-gtkprint" >&5
3851 echo $ECHO_N "checking for --${withstring:-with}-gtkprint... $ECHO_C" >&6; }
3852
3853 # Check whether --with-gtkprint was given.
3854 if test "${with_gtkprint+set}" = set; then
3855   withval=$with_gtkprint;
3856                         if test "$withval" = yes; then
3857                           wx_cv_use_gtkprint='wxUSE_GTKPRINT=yes'
3858                         else
3859                           wx_cv_use_gtkprint='wxUSE_GTKPRINT=no'
3860                         fi
3861
3862 else
3863
3864                         wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3865
3866 fi
3867
3868
3869           eval "$wx_cv_use_gtkprint"
3870
3871           if test x"$withstring" = xwithout; then
3872             if test $wxUSE_GTKPRINT = yes; then
3873               result=no
3874             else
3875               result=yes
3876             fi
3877           else
3878             result=$wxUSE_GTKPRINT
3879           fi
3880
3881           { echo "$as_me:$LINENO: result: $result" >&5
3882 echo "${ECHO_T}$result" >&6; }
3883
3884
3885           withstring=without
3886           defaultval=$wxUSE_ALL_FEATURES
3887           if test -z "$defaultval"; then
3888               if test x"$withstring" = xwithout; then
3889                   defaultval=yes
3890               else
3891                   defaultval=no
3892               fi
3893           fi
3894           { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3895 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3896
3897 # Check whether --with-gnomeprint was given.
3898 if test "${with_gnomeprint+set}" = set; then
3899   withval=$with_gnomeprint;
3900                         if test "$withval" = yes; then
3901                           wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3902                         else
3903                           wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3904                         fi
3905
3906 else
3907
3908                         wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
3909
3910 fi
3911
3912
3913           eval "$wx_cv_use_gnomeprint"
3914
3915           if test x"$withstring" = xwithout; then
3916             if test $wxUSE_LIBGNOMEPRINT = yes; then
3917               result=no
3918             else
3919               result=yes
3920             fi
3921           else
3922             result=$wxUSE_LIBGNOMEPRINT
3923           fi
3924
3925           { echo "$as_me:$LINENO: result: $result" >&5
3926 echo "${ECHO_T}$result" >&6; }
3927
3928
3929           withstring=
3930           defaultval=$wxUSE_ALL_FEATURES
3931           if test -z "$defaultval"; then
3932               if test x"$withstring" = xwithout; then
3933                   defaultval=yes
3934               else
3935                   defaultval=no
3936               fi
3937           fi
3938           { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3939 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
3940
3941 # Check whether --with-gnomevfs was given.
3942 if test "${with_gnomevfs+set}" = set; then
3943   withval=$with_gnomevfs;
3944                         if test "$withval" = yes; then
3945                           wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3946                         else
3947                           wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3948                         fi
3949
3950 else
3951
3952                         wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
3953
3954 fi
3955
3956
3957           eval "$wx_cv_use_gnomevfs"
3958
3959           if test x"$withstring" = xwithout; then
3960             if test $wxUSE_LIBGNOMEVFS = yes; then
3961               result=no
3962             else
3963               result=yes
3964             fi
3965           else
3966             result=$wxUSE_LIBGNOMEVFS
3967           fi
3968
3969           { echo "$as_me:$LINENO: result: $result" >&5
3970 echo "${ECHO_T}$result" >&6; }
3971
3972
3973           withstring=
3974           defaultval=$wxUSE_ALL_FEATURES
3975           if test -z "$defaultval"; then
3976               if test x"$withstring" = xwithout; then
3977                   defaultval=yes
3978               else
3979                   defaultval=no
3980               fi
3981           fi
3982           { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3983 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
3984
3985 # Check whether --with-hildon was given.
3986 if test "${with_hildon+set}" = set; then
3987   withval=$with_hildon;
3988                         if test "$withval" = yes; then
3989                           wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
3990                         else
3991                           wx_cv_use_hildon='wxUSE_LIBHILDON=no'
3992                         fi
3993
3994 else
3995
3996                         wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
3997
3998 fi
3999
4000
4001           eval "$wx_cv_use_hildon"
4002
4003           if test x"$withstring" = xwithout; then
4004             if test $wxUSE_LIBHILDON = yes; then
4005               result=no
4006             else
4007               result=yes
4008             fi
4009           else
4010             result=$wxUSE_LIBHILDON
4011           fi
4012
4013           { echo "$as_me:$LINENO: result: $result" >&5
4014 echo "${ECHO_T}$result" >&6; }
4015
4016
4017           withstring=
4018           defaultval=$wxUSE_ALL_FEATURES
4019           if test -z "$defaultval"; then
4020               if test x"$withstring" = xwithout; then
4021                   defaultval=yes
4022               else
4023                   defaultval=no
4024               fi
4025           fi
4026           { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4027 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4028
4029 # Check whether --with-opengl was given.
4030 if test "${with_opengl+set}" = set; then
4031   withval=$with_opengl;
4032                         if test "$withval" = yes; then
4033                           wx_cv_use_opengl='wxUSE_OPENGL=yes'
4034                         else
4035                           wx_cv_use_opengl='wxUSE_OPENGL=no'
4036                         fi
4037
4038 else
4039
4040                         wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4041
4042 fi
4043
4044
4045           eval "$wx_cv_use_opengl"
4046
4047           if test x"$withstring" = xwithout; then
4048             if test $wxUSE_OPENGL = yes; then
4049               result=no
4050             else
4051               result=yes
4052             fi
4053           else
4054             result=$wxUSE_OPENGL
4055           fi
4056
4057           { echo "$as_me:$LINENO: result: $result" >&5
4058 echo "${ECHO_T}$result" >&6; }
4059
4060
4061 fi
4062
4063
4064           withstring=
4065           defaultval=$wxUSE_ALL_FEATURES
4066           if test -z "$defaultval"; then
4067               if test x"$withstring" = xwithout; then
4068                   defaultval=yes
4069               else
4070                   defaultval=no
4071               fi
4072           fi
4073           { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4074 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4075
4076 # Check whether --with-dmalloc was given.
4077 if test "${with_dmalloc+set}" = set; then
4078   withval=$with_dmalloc;
4079                         if test "$withval" = yes; then
4080                           wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4081                         else
4082                           wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4083                         fi
4084
4085 else
4086
4087                         wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4088
4089 fi
4090
4091
4092           eval "$wx_cv_use_dmalloc"
4093
4094           if test x"$withstring" = xwithout; then
4095             if test $wxUSE_DMALLOC = yes; then
4096               result=no
4097             else
4098               result=yes
4099             fi
4100           else
4101             result=$wxUSE_DMALLOC
4102           fi
4103
4104           { echo "$as_me:$LINENO: result: $result" >&5
4105 echo "${ECHO_T}$result" >&6; }
4106
4107
4108           withstring=
4109           defaultval=$wxUSE_ALL_FEATURES
4110           if test -z "$defaultval"; then
4111               if test x"$withstring" = xwithout; then
4112                   defaultval=yes
4113               else
4114                   defaultval=no
4115               fi
4116           fi
4117           { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4118 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4119
4120 # Check whether --with-sdl was given.
4121 if test "${with_sdl+set}" = set; then
4122   withval=$with_sdl;
4123                         if test "$withval" = yes; then
4124                           wx_cv_use_sdl='wxUSE_LIBSDL=yes'
4125                         else
4126                           wx_cv_use_sdl='wxUSE_LIBSDL=no'
4127                         fi
4128
4129 else
4130
4131                         wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4132
4133 fi
4134
4135
4136           eval "$wx_cv_use_sdl"
4137
4138           if test x"$withstring" = xwithout; then
4139             if test $wxUSE_LIBSDL = yes; then
4140               result=no
4141             else
4142               result=yes
4143             fi
4144           else
4145             result=$wxUSE_LIBSDL
4146           fi
4147
4148           { echo "$as_me:$LINENO: result: $result" >&5
4149 echo "${ECHO_T}$result" >&6; }
4150
4151
4152           { echo "$as_me:$LINENO: checking for --with-regex" >&5
4153 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4154
4155 # Check whether --with-regex was given.
4156 if test "${with_regex+set}" = set; then
4157   withval=$with_regex;
4158                         if test "$withval" = yes; then
4159                           wx_cv_use_regex='wxUSE_REGEX=yes'
4160                         elif test "$withval" = no; then
4161                           wx_cv_use_regex='wxUSE_REGEX=no'
4162                         elif test "$withval" = sys; then
4163                           wx_cv_use_regex='wxUSE_REGEX=sys'
4164                         elif test "$withval" = builtin; then
4165                           wx_cv_use_regex='wxUSE_REGEX=builtin'
4166                         else
4167                           { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4168 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4169    { (exit 1); exit 1; }; }
4170                         fi
4171
4172 else
4173
4174                         wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4175
4176 fi
4177
4178
4179           eval "$wx_cv_use_regex"
4180
4181           if test "$wxUSE_REGEX" = yes; then
4182             { echo "$as_me:$LINENO: result: yes" >&5
4183 echo "${ECHO_T}yes" >&6; }
4184           elif test "$wxUSE_REGEX" = no; then
4185             { echo "$as_me:$LINENO: result: no" >&5
4186 echo "${ECHO_T}no" >&6; }
4187           elif test "$wxUSE_REGEX" = sys; then
4188             { echo "$as_me:$LINENO: result: system version" >&5
4189 echo "${ECHO_T}system version" >&6; }
4190           elif test "$wxUSE_REGEX" = builtin; then
4191             { echo "$as_me:$LINENO: result: builtin version" >&5
4192 echo "${ECHO_T}builtin version" >&6; }
4193           else
4194             { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4195 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4196    { (exit 1); exit 1; }; }
4197           fi
4198
4199
4200           { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4201 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4202
4203 # Check whether --with-zlib was given.
4204 if test "${with_zlib+set}" = set; then
4205   withval=$with_zlib;
4206                         if test "$withval" = yes; then
4207                           wx_cv_use_zlib='wxUSE_ZLIB=yes'
4208                         elif test "$withval" = no; then
4209                           wx_cv_use_zlib='wxUSE_ZLIB=no'
4210                         elif test "$withval" = sys; then
4211                           wx_cv_use_zlib='wxUSE_ZLIB=sys'
4212                         elif test "$withval" = builtin; then
4213                           wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4214                         else
4215                           { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4216 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4217    { (exit 1); exit 1; }; }
4218                         fi
4219
4220 else
4221
4222                         wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4223
4224 fi
4225
4226
4227           eval "$wx_cv_use_zlib"
4228
4229           if test "$wxUSE_ZLIB" = yes; then
4230             { echo "$as_me:$LINENO: result: yes" >&5
4231 echo "${ECHO_T}yes" >&6; }
4232           elif test "$wxUSE_ZLIB" = no; then
4233             { echo "$as_me:$LINENO: result: no" >&5
4234 echo "${ECHO_T}no" >&6; }
4235           elif test "$wxUSE_ZLIB" = sys; then
4236             { echo "$as_me:$LINENO: result: system version" >&5
4237 echo "${ECHO_T}system version" >&6; }
4238           elif test "$wxUSE_ZLIB" = builtin; then
4239             { echo "$as_me:$LINENO: result: builtin version" >&5
4240 echo "${ECHO_T}builtin version" >&6; }
4241           else
4242             { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4243 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4244    { (exit 1); exit 1; }; }
4245           fi
4246
4247
4248           { echo "$as_me:$LINENO: checking for --with-expat" >&5
4249 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4250
4251 # Check whether --with-expat was given.
4252 if test "${with_expat+set}" = set; then
4253   withval=$with_expat;
4254                         if test "$withval" = yes; then
4255                           wx_cv_use_expat='wxUSE_EXPAT=yes'
4256                         elif test "$withval" = no; then
4257                           wx_cv_use_expat='wxUSE_EXPAT=no'
4258                         elif test "$withval" = sys; then
4259                           wx_cv_use_expat='wxUSE_EXPAT=sys'
4260                         elif test "$withval" = builtin; then
4261                           wx_cv_use_expat='wxUSE_EXPAT=builtin'
4262                         else
4263                           { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4264 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4265    { (exit 1); exit 1; }; }
4266                         fi
4267
4268 else
4269
4270                         wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4271
4272 fi
4273
4274
4275           eval "$wx_cv_use_expat"
4276
4277           if test "$wxUSE_EXPAT" = yes; then
4278             { echo "$as_me:$LINENO: result: yes" >&5
4279 echo "${ECHO_T}yes" >&6; }
4280           elif test "$wxUSE_EXPAT" = no; then
4281             { echo "$as_me:$LINENO: result: no" >&5
4282 echo "${ECHO_T}no" >&6; }
4283           elif test "$wxUSE_EXPAT" = sys; then
4284             { echo "$as_me:$LINENO: result: system version" >&5
4285 echo "${ECHO_T}system version" >&6; }
4286           elif test "$wxUSE_EXPAT" = builtin; then
4287             { echo "$as_me:$LINENO: result: builtin version" >&5
4288 echo "${ECHO_T}builtin version" >&6; }
4289           else
4290             { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4291 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4292    { (exit 1); exit 1; }; }
4293           fi
4294
4295
4296 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4297 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4298
4299 # Check whether --with-macosx-sdk was given.
4300 if test "${with_macosx_sdk+set}" = set; then
4301   withval=$with_macosx_sdk;
4302         wxUSE_MACOSX_SDK=$withval
4303         wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4304
4305 fi
4306
4307 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4308 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4309
4310 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4311 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4312
4313 # Check whether --with-macosx-version-min was given.
4314 if test "${with_macosx_version_min+set}" = set; then
4315   withval=$with_macosx_version_min;
4316         wxUSE_MACOSX_VERSION_MIN=$withval
4317         wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4318
4319 fi
4320
4321 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4322 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4323
4324
4325 { echo "$as_me:$LINENO: checking for --enable-debug" >&5
4326 echo $ECHO_N "checking for --enable-debug... $ECHO_C" >&6; }
4327 # Check whether --enable-debug was given.
4328 if test "${enable_debug+set}" = set; then
4329   enableval=$enable_debug;
4330         if test "$enableval" = yes; then
4331             wxUSE_DEBUG=yes
4332         elif test "$enableval" = no; then
4333             wxUSE_DEBUG=no
4334         elif test "$enableval" = max; then
4335             wxUSE_DEBUG=yes
4336             WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=2"
4337         else
4338             { { echo "$as_me:$LINENO: error: Invalid --enable-debug value, must be yes, no or max" >&5
4339 echo "$as_me: error: Invalid --enable-debug value, must be yes, no or max" >&2;}
4340    { (exit 1); exit 1; }; }
4341         fi
4342
4343 else
4344   wxUSE_DEBUG=default
4345
4346 fi
4347
4348
4349 case "$wxUSE_DEBUG" in
4350     yes)
4351                         DEFAULT_wxUSE_DEBUG_FLAG=yes
4352         DEFAULT_wxUSE_DEBUG_INFO=yes
4353
4354                         DEFAULT_wxUSE_OPTIMISE=no
4355         ;;
4356
4357     no)
4358                         DEFAULT_wxUSE_DEBUG_FLAG=no
4359         DEFAULT_wxUSE_DEBUG_INFO=no
4360         ;;
4361
4362     default)
4363                         DEFAULT_wxUSE_DEBUG_FLAG=yes
4364         DEFAULT_wxUSE_DEBUG_INFO=no
4365         ;;
4366 esac
4367
4368
4369           enablestring=disable
4370           defaultval=
4371           if test -z "$defaultval"; then
4372               if test x"$enablestring" = xdisable; then
4373                   defaultval=yes
4374               else
4375                   defaultval=no
4376               fi
4377           fi
4378
4379           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4380 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4381           # Check whether --enable-debug_flag was given.
4382 if test "${enable_debug_flag+set}" = set; then
4383   enableval=$enable_debug_flag;
4384                           if test "$enableval" = yes; then
4385                             wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4386                           else
4387                             wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4388                           fi
4389
4390 else
4391
4392                           wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
4393
4394 fi
4395
4396
4397           eval "$wx_cv_use_debug_flag"
4398
4399           if test x"$enablestring" = xdisable; then
4400             if test $wxUSE_DEBUG_FLAG = no; then
4401               result=yes
4402             else
4403               result=no
4404             fi
4405           else
4406             result=$wxUSE_DEBUG_FLAG
4407           fi
4408
4409           { echo "$as_me:$LINENO: result: $result" >&5
4410 echo "${ECHO_T}$result" >&6; }
4411
4412
4413           enablestring=
4414           defaultval=
4415           if test -z "$defaultval"; then
4416               if test x"$enablestring" = xdisable; then
4417                   defaultval=yes
4418               else
4419                   defaultval=no
4420               fi
4421           fi
4422
4423           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4424 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4425           # Check whether --enable-debug_info was given.
4426 if test "${enable_debug_info+set}" = set; then
4427   enableval=$enable_debug_info;
4428                           if test "$enableval" = yes; then
4429                             wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4430                           else
4431                             wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4432                           fi
4433
4434 else
4435
4436                           wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
4437
4438 fi
4439
4440
4441           eval "$wx_cv_use_debug_info"
4442
4443           if test x"$enablestring" = xdisable; then
4444             if test $wxUSE_DEBUG_INFO = no; then
4445               result=yes
4446             else
4447               result=no
4448             fi
4449           else
4450             result=$wxUSE_DEBUG_INFO
4451           fi
4452
4453           { echo "$as_me:$LINENO: result: $result" >&5
4454 echo "${ECHO_T}$result" >&6; }
4455
4456
4457
4458
4459           enablestring=
4460           defaultval=
4461           if test -z "$defaultval"; then
4462               if test x"$enablestring" = xdisable; then
4463                   defaultval=yes
4464               else
4465                   defaultval=no
4466               fi
4467           fi
4468
4469           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4470 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4471           # Check whether --enable-debug_gdb was given.
4472 if test "${enable_debug_gdb+set}" = set; then
4473   enableval=$enable_debug_gdb;
4474                           if test "$enableval" = yes; then
4475                             wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4476                           else
4477                             wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4478                           fi
4479
4480 else
4481
4482                           wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
4483
4484 fi
4485
4486
4487           eval "$wx_cv_use_debug_gdb"
4488
4489           if test x"$enablestring" = xdisable; then
4490             if test $wxUSE_DEBUG_GDB = no; then
4491               result=yes
4492             else
4493               result=no
4494             fi
4495           else
4496             result=$wxUSE_DEBUG_GDB
4497           fi
4498
4499           { echo "$as_me:$LINENO: result: $result" >&5
4500 echo "${ECHO_T}$result" >&6; }
4501
4502
4503           enablestring=
4504           defaultval=
4505           if test -z "$defaultval"; then
4506               if test x"$enablestring" = xdisable; then
4507                   defaultval=yes
4508               else
4509                   defaultval=no
4510               fi
4511           fi
4512
4513           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4514 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4515           # Check whether --enable-debug_cntxt was given.
4516 if test "${enable_debug_cntxt+set}" = set; then
4517   enableval=$enable_debug_cntxt;
4518                           if test "$enableval" = yes; then
4519                             wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4520                           else
4521                             wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4522                           fi
4523
4524 else
4525
4526                           wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
4527
4528 fi
4529
4530
4531           eval "$wx_cv_use_debug_cntxt"
4532
4533           if test x"$enablestring" = xdisable; then
4534             if test $wxUSE_DEBUG_CONTEXT = no; then
4535               result=yes
4536             else
4537               result=no
4538             fi
4539           else
4540             result=$wxUSE_DEBUG_CONTEXT
4541           fi
4542
4543           { echo "$as_me:$LINENO: result: $result" >&5
4544 echo "${ECHO_T}$result" >&6; }
4545
4546
4547           enablestring=
4548           defaultval=
4549           if test -z "$defaultval"; then
4550               if test x"$enablestring" = xdisable; then
4551                   defaultval=yes
4552               else
4553                   defaultval=no
4554               fi
4555           fi
4556
4557           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4558 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
4559           # Check whether --enable-mem_tracing was given.
4560 if test "${enable_mem_tracing+set}" = set; then
4561   enableval=$enable_mem_tracing;
4562                           if test "$enableval" = yes; then
4563                             wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4564                           else
4565                             wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4566                           fi
4567
4568 else
4569
4570                           wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
4571
4572 fi
4573
4574
4575           eval "$wx_cv_use_mem_tracing"
4576
4577           if test x"$enablestring" = xdisable; then
4578             if test $wxUSE_MEM_TRACING = no; then
4579               result=yes
4580             else
4581               result=no
4582             fi
4583           else
4584             result=$wxUSE_MEM_TRACING
4585           fi
4586
4587           { echo "$as_me:$LINENO: result: $result" >&5
4588 echo "${ECHO_T}$result" >&6; }
4589
4590
4591
4592
4593           enablestring=disable
4594           defaultval=
4595           if test -z "$defaultval"; then
4596               if test x"$enablestring" = xdisable; then
4597                   defaultval=yes
4598               else
4599                   defaultval=no
4600               fi
4601           fi
4602
4603           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4604 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4605           # Check whether --enable-shared was given.
4606 if test "${enable_shared+set}" = set; then
4607   enableval=$enable_shared;
4608                           if test "$enableval" = yes; then
4609                             wx_cv_use_shared='wxUSE_SHARED=yes'
4610                           else
4611                             wx_cv_use_shared='wxUSE_SHARED=no'
4612                           fi
4613
4614 else
4615
4616                           wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4617
4618 fi
4619
4620
4621           eval "$wx_cv_use_shared"
4622
4623           if test x"$enablestring" = xdisable; then
4624             if test $wxUSE_SHARED = no; then
4625               result=yes
4626             else
4627               result=no
4628             fi
4629           else
4630             result=$wxUSE_SHARED
4631           fi
4632
4633           { echo "$as_me:$LINENO: result: $result" >&5
4634 echo "${ECHO_T}$result" >&6; }
4635
4636
4637           enablestring=
4638           defaultval=
4639           if test -z "$defaultval"; then
4640               if test x"$enablestring" = xdisable; then
4641                   defaultval=yes
4642               else
4643                   defaultval=no
4644               fi
4645           fi
4646
4647           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4648 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4649           # Check whether --enable-stl was given.
4650 if test "${enable_stl+set}" = set; then
4651   enableval=$enable_stl;
4652                           if test "$enableval" = yes; then
4653                             wx_cv_use_stl='wxUSE_STL=yes'
4654                           else
4655                             wx_cv_use_stl='wxUSE_STL=no'
4656                           fi
4657
4658 else
4659
4660                           wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4661
4662 fi
4663
4664
4665           eval "$wx_cv_use_stl"
4666
4667           if test x"$enablestring" = xdisable; then
4668             if test $wxUSE_STL = no; then
4669               result=yes
4670             else
4671               result=no
4672             fi
4673           else
4674             result=$wxUSE_STL
4675           fi
4676
4677           { echo "$as_me:$LINENO: result: $result" >&5
4678 echo "${ECHO_T}$result" >&6; }
4679
4680
4681           enablestring=
4682           defaultval=
4683           if test -z "$defaultval"; then
4684               if test x"$enablestring" = xdisable; then
4685                   defaultval=yes
4686               else
4687                   defaultval=no
4688               fi
4689           fi
4690
4691           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4692 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4693           # Check whether --enable-std_iostreams was given.
4694 if test "${enable_std_iostreams+set}" = set; then
4695   enableval=$enable_std_iostreams;
4696                           if test "$enableval" = yes; then
4697                             wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4698                           else
4699                             wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4700                           fi
4701
4702 else
4703
4704                           wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4705
4706 fi
4707
4708
4709           eval "$wx_cv_use_std_iostreams"
4710
4711           if test x"$enablestring" = xdisable; then
4712             if test $wxUSE_STD_IOSTREAM = no; then
4713               result=yes
4714             else
4715               result=no
4716             fi
4717           else
4718             result=$wxUSE_STD_IOSTREAM
4719           fi
4720
4721           { echo "$as_me:$LINENO: result: $result" >&5
4722 echo "${ECHO_T}$result" >&6; }
4723
4724
4725           enablestring=
4726           defaultval=
4727           if test -z "$defaultval"; then
4728               if test x"$enablestring" = xdisable; then
4729                   defaultval=yes
4730               else
4731                   defaultval=no
4732               fi
4733           fi
4734
4735           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4736 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4737           # Check whether --enable-std_string was given.
4738 if test "${enable_std_string+set}" = set; then
4739   enableval=$enable_std_string;
4740                           if test "$enableval" = yes; then
4741                             wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4742                           else
4743                             wx_cv_use_std_string='wxUSE_STD_STRING=no'
4744                           fi
4745
4746 else
4747
4748                           wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4749
4750 fi
4751
4752
4753           eval "$wx_cv_use_std_string"
4754
4755           if test x"$enablestring" = xdisable; then
4756             if test $wxUSE_STD_STRING = no; then
4757               result=yes
4758             else
4759               result=no
4760             fi
4761           else
4762             result=$wxUSE_STD_STRING
4763           fi
4764
4765           { echo "$as_me:$LINENO: result: $result" >&5
4766 echo "${ECHO_T}$result" >&6; }
4767
4768
4769           enablestring=disable
4770           defaultval=
4771           if test -z "$defaultval"; then
4772               if test x"$enablestring" = xdisable; then
4773                   defaultval=yes
4774               else
4775                   defaultval=no
4776               fi
4777           fi
4778
4779           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4780 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4781           # Check whether --enable-unicode was given.
4782 if test "${enable_unicode+set}" = set; then
4783   enableval=$enable_unicode;
4784                           if test "$enableval" = yes; then
4785                             wx_cv_use_unicode='wxUSE_UNICODE=yes'
4786                           else
4787                             wx_cv_use_unicode='wxUSE_UNICODE=no'
4788                           fi
4789
4790 else
4791
4792                           wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4793
4794 fi
4795
4796
4797           eval "$wx_cv_use_unicode"
4798
4799           if test x"$enablestring" = xdisable; then
4800             if test $wxUSE_UNICODE = no; then
4801               result=yes
4802             else
4803               result=no
4804             fi
4805           else
4806             result=$wxUSE_UNICODE
4807           fi
4808
4809           { echo "$as_me:$LINENO: result: $result" >&5
4810 echo "${ECHO_T}$result" >&6; }
4811
4812
4813           enablestring=
4814           defaultval=
4815           if test -z "$defaultval"; then
4816               if test x"$enablestring" = xdisable; then
4817                   defaultval=yes
4818               else
4819                   defaultval=no
4820               fi
4821           fi
4822
4823           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4824 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
4825           # Check whether --enable-mslu was given.
4826 if test "${enable_mslu+set}" = set; then
4827   enableval=$enable_mslu;
4828                           if test "$enableval" = yes; then
4829                             wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4830                           else
4831                             wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4832                           fi
4833
4834 else
4835
4836                           wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4837
4838 fi
4839
4840
4841           eval "$wx_cv_use_mslu"
4842
4843           if test x"$enablestring" = xdisable; then
4844             if test $wxUSE_UNICODE_MSLU = no; then
4845               result=yes
4846             else
4847               result=no
4848             fi
4849           else
4850             result=$wxUSE_UNICODE_MSLU
4851           fi
4852
4853           { echo "$as_me:$LINENO: result: $result" >&5
4854 echo "${ECHO_T}$result" >&6; }
4855
4856
4857           enablestring=
4858           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
4859 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
4860           # Check whether --enable-utf8 was given.
4861 if test "${enable_utf8+set}" = set; then
4862   enableval=$enable_utf8;
4863                           wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
4864
4865 else
4866
4867                           wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4868
4869 fi
4870
4871
4872           eval "$wx_cv_use_utf8"
4873
4874           { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
4875 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4876
4877
4878           enablestring=
4879           defaultval=
4880           if test -z "$defaultval"; then
4881               if test x"$enablestring" = xdisable; then
4882                   defaultval=yes
4883               else
4884                   defaultval=no
4885               fi
4886           fi
4887
4888           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
4889 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
4890           # Check whether --enable-utf8only was given.
4891 if test "${enable_utf8only+set}" = set; then
4892   enableval=$enable_utf8only;
4893                           if test "$enableval" = yes; then
4894                             wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
4895                           else
4896                             wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
4897                           fi
4898
4899 else
4900
4901                           wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
4902
4903 fi
4904
4905
4906           eval "$wx_cv_use_utf8only"
4907
4908           if test x"$enablestring" = xdisable; then
4909             if test $wxUSE_UNICODE_UTF8_LOCALE = no; then
4910               result=yes
4911             else
4912               result=no
4913             fi
4914           else
4915             result=$wxUSE_UNICODE_UTF8_LOCALE
4916           fi
4917
4918           { echo "$as_me:$LINENO: result: $result" >&5
4919 echo "${ECHO_T}$result" >&6; }
4920
4921
4922           enablestring=
4923           defaultval=
4924           if test -z "$defaultval"; then
4925               if test x"$enablestring" = xdisable; then
4926                   defaultval=yes
4927               else
4928                   defaultval=no
4929               fi
4930           fi
4931
4932           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
4933 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
4934           # Check whether --enable-extended_rtti was given.
4935 if test "${enable_extended_rtti+set}" = set; then
4936   enableval=$enable_extended_rtti;
4937                           if test "$enableval" = yes; then
4938                             wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
4939                           else
4940                             wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
4941                           fi
4942
4943 else
4944
4945                           wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
4946
4947 fi
4948
4949
4950           eval "$wx_cv_use_extended_rtti"
4951
4952           if test x"$enablestring" = xdisable; then
4953             if test $wxUSE_EXTENDED_RTTI = no; then
4954               result=yes
4955             else
4956               result=no
4957             fi
4958           else
4959             result=$wxUSE_EXTENDED_RTTI
4960           fi
4961
4962           { echo "$as_me:$LINENO: result: $result" >&5
4963 echo "${ECHO_T}$result" >&6; }
4964
4965 if test "$USE_OS2" = 1; then
4966     DEFAULT_wxUSE_OMF=no
4967
4968           enablestring=
4969           defaultval=
4970           if test -z "$defaultval"; then
4971               if test x"$enablestring" = xdisable; then
4972                   defaultval=yes
4973               else
4974                   defaultval=no
4975               fi
4976           fi
4977
4978           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
4979 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
4980           # Check whether --enable-omf was given.
4981 if test "${enable_omf+set}" = set; then
4982   enableval=$enable_omf;
4983                           if test "$enableval" = yes; then
4984                             wx_cv_use_omf='wxUSE_OMF=yes'
4985                           else
4986                             wx_cv_use_omf='wxUSE_OMF=no'
4987                           fi
4988
4989 else
4990
4991                           wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
4992
4993 fi
4994
4995
4996           eval "$wx_cv_use_omf"
4997
4998           if test x"$enablestring" = xdisable; then
4999             if test $wxUSE_OMF = no; then
5000               result=yes
5001             else
5002               result=no
5003             fi
5004           else
5005             result=$wxUSE_OMF
5006           fi
5007
5008           { echo "$as_me:$LINENO: result: $result" >&5
5009 echo "${ECHO_T}$result" >&6; }
5010
5011 fi
5012
5013
5014           enablestring=disable
5015           defaultval=
5016           if test -z "$defaultval"; then
5017               if test x"$enablestring" = xdisable; then
5018                   defaultval=yes
5019               else
5020                   defaultval=no
5021               fi
5022           fi
5023
5024           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
5025 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
5026           # Check whether --enable-optimise was given.
5027 if test "${enable_optimise+set}" = set; then
5028   enableval=$enable_optimise;
5029                           if test "$enableval" = yes; then
5030                             wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
5031                           else
5032                             wx_cv_use_optimise='wxUSE_OPTIMISE=no'
5033                           fi
5034
5035 else
5036
5037                           wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
5038
5039 fi
5040
5041
5042           eval "$wx_cv_use_optimise"
5043
5044           if test x"$enablestring" = xdisable; then
5045             if test $wxUSE_OPTIMISE = no; then
5046               result=yes
5047             else
5048               result=no
5049             fi
5050           else
5051             result=$wxUSE_OPTIMISE
5052           fi
5053
5054           { echo "$as_me:$LINENO: result: $result" >&5
5055 echo "${ECHO_T}$result" >&6; }
5056
5057
5058
5059           enablestring=
5060           defaultval=
5061           if test -z "$defaultval"; then
5062               if test x"$enablestring" = xdisable; then
5063                   defaultval=yes
5064               else
5065                   defaultval=no
5066               fi
5067           fi
5068
5069           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5070 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5071           # Check whether --enable-profile was given.
5072 if test "${enable_profile+set}" = set; then
5073   enableval=$enable_profile;
5074                           if test "$enableval" = yes; then
5075                             wx_cv_use_profile='wxUSE_PROFILE=yes'
5076                           else
5077                             wx_cv_use_profile='wxUSE_PROFILE=no'
5078                           fi
5079
5080 else
5081
5082                           wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5083
5084 fi
5085
5086
5087           eval "$wx_cv_use_profile"
5088
5089           if test x"$enablestring" = xdisable; then
5090             if test $wxUSE_PROFILE = no; then
5091               result=yes
5092             else
5093               result=no
5094             fi
5095           else
5096             result=$wxUSE_PROFILE
5097           fi
5098
5099           { echo "$as_me:$LINENO: result: $result" >&5
5100 echo "${ECHO_T}$result" >&6; }
5101
5102
5103           enablestring=
5104           defaultval=
5105           if test -z "$defaultval"; then
5106               if test x"$enablestring" = xdisable; then
5107                   defaultval=yes
5108               else
5109                   defaultval=no
5110               fi
5111           fi
5112
5113           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5114 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5115           # Check whether --enable-no_rtti was given.
5116 if test "${enable_no_rtti+set}" = set; then
5117   enableval=$enable_no_rtti;
5118                           if test "$enableval" = yes; then
5119                             wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5120                           else
5121                             wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5122                           fi
5123
5124 else
5125
5126                           wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5127
5128 fi
5129
5130
5131           eval "$wx_cv_use_no_rtti"
5132
5133           if test x"$enablestring" = xdisable; then
5134             if test $wxUSE_NO_RTTI = no; then
5135               result=yes
5136             else
5137               result=no
5138             fi
5139           else
5140             result=$wxUSE_NO_RTTI
5141           fi
5142
5143           { echo "$as_me:$LINENO: result: $result" >&5
5144 echo "${ECHO_T}$result" >&6; }
5145
5146
5147           enablestring=
5148           defaultval=
5149           if test -z "$defaultval"; then
5150               if test x"$enablestring" = xdisable; then
5151                   defaultval=yes
5152               else
5153                   defaultval=no
5154               fi
5155           fi
5156
5157           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5158 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5159           # Check whether --enable-no_exceptions was given.
5160 if test "${enable_no_exceptions+set}" = set; then
5161   enableval=$enable_no_exceptions;
5162                           if test "$enableval" = yes; then
5163                             wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5164                           else
5165                             wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5166                           fi
5167
5168 else
5169
5170                           wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5171
5172 fi
5173
5174
5175           eval "$wx_cv_use_no_exceptions"
5176
5177           if test x"$enablestring" = xdisable; then
5178             if test $wxUSE_NO_EXCEPTIONS = no; then
5179               result=yes
5180             else
5181               result=no
5182             fi
5183           else
5184             result=$wxUSE_NO_EXCEPTIONS
5185           fi
5186
5187           { echo "$as_me:$LINENO: result: $result" >&5
5188 echo "${ECHO_T}$result" >&6; }
5189
5190
5191           enablestring=
5192           defaultval=
5193           if test -z "$defaultval"; then
5194               if test x"$enablestring" = xdisable; then
5195                   defaultval=yes
5196               else
5197                   defaultval=no
5198               fi
5199           fi
5200
5201           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5202 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5203           # Check whether --enable-permissive was given.
5204 if test "${enable_permissive+set}" = set; then
5205   enableval=$enable_permissive;
5206                           if test "$enableval" = yes; then
5207                             wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5208                           else
5209                             wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5210                           fi
5211
5212 else
5213
5214                           wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5215
5216 fi
5217
5218
5219           eval "$wx_cv_use_permissive"
5220
5221           if test x"$enablestring" = xdisable; then
5222             if test $wxUSE_PERMISSIVE = no; then
5223               result=yes
5224             else
5225               result=no
5226             fi
5227           else
5228             result=$wxUSE_PERMISSIVE
5229           fi
5230
5231           { echo "$as_me:$LINENO: result: $result" >&5
5232 echo "${ECHO_T}$result" >&6; }
5233
5234
5235           enablestring=
5236           defaultval=
5237           if test -z "$defaultval"; then
5238               if test x"$enablestring" = xdisable; then
5239                   defaultval=yes
5240               else
5241                   defaultval=no
5242               fi
5243           fi
5244
5245           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5246 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5247           # Check whether --enable-no_deps was given.
5248 if test "${enable_no_deps+set}" = set; then
5249   enableval=$enable_no_deps;
5250                           if test "$enableval" = yes; then
5251                             wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5252                           else
5253                             wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5254                           fi
5255
5256 else
5257
5258                           wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5259
5260 fi
5261
5262
5263           eval "$wx_cv_use_no_deps"
5264
5265           if test x"$enablestring" = xdisable; then
5266             if test $wxUSE_NO_DEPS = no; then
5267               result=yes
5268             else
5269               result=no
5270             fi
5271           else
5272             result=$wxUSE_NO_DEPS
5273           fi
5274
5275           { echo "$as_me:$LINENO: result: $result" >&5
5276 echo "${ECHO_T}$result" >&6; }
5277
5278
5279           enablestring=disable
5280           defaultval=
5281           if test -z "$defaultval"; then
5282               if test x"$enablestring" = xdisable; then
5283                   defaultval=yes
5284               else
5285                   defaultval=no
5286               fi
5287           fi
5288
5289           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5290 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5291           # Check whether --enable-vararg_macros was given.
5292 if test "${enable_vararg_macros+set}" = set; then
5293   enableval=$enable_vararg_macros;
5294                           if test "$enableval" = yes; then
5295                             wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5296                           else
5297                             wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5298                           fi
5299
5300 else
5301
5302                           wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5303
5304 fi
5305
5306
5307           eval "$wx_cv_use_vararg_macros"
5308
5309           if test x"$enablestring" = xdisable; then
5310             if test $wxUSE_VARARG_MACROS = no; then
5311               result=yes
5312             else
5313               result=no
5314             fi
5315           else
5316             result=$wxUSE_VARARG_MACROS
5317           fi
5318
5319           { echo "$as_me:$LINENO: result: $result" >&5
5320 echo "${ECHO_T}$result" >&6; }
5321
5322
5323           enablestring=
5324           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5325 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5326           # Check whether --enable-universal_binary was given.
5327 if test "${enable_universal_binary+set}" = set; then
5328   enableval=$enable_universal_binary;
5329                           wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5330
5331 else
5332
5333                           wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5334
5335 fi
5336
5337
5338           eval "$wx_cv_use_universal_binary"
5339
5340           { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5341 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5342
5343
5344
5345           enablestring=
5346           defaultval=
5347           if test -z "$defaultval"; then
5348               if test x"$enablestring" = xdisable; then
5349                   defaultval=yes
5350               else
5351                   defaultval=no
5352               fi
5353           fi
5354
5355           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5356 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5357           # Check whether --enable-compat26 was given.
5358 if test "${enable_compat26+set}" = set; then
5359   enableval=$enable_compat26;
5360                           if test "$enableval" = yes; then
5361                             wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5362                           else
5363                             wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5364                           fi
5365
5366 else
5367
5368                           wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5369
5370 fi
5371
5372
5373           eval "$wx_cv_use_compat26"
5374
5375           if test x"$enablestring" = xdisable; then
5376             if test $WXWIN_COMPATIBILITY_2_6 = no; then
5377               result=yes
5378             else
5379               result=no
5380             fi
5381           else
5382             result=$WXWIN_COMPATIBILITY_2_6
5383           fi
5384
5385           { echo "$as_me:$LINENO: result: $result" >&5
5386 echo "${ECHO_T}$result" >&6; }
5387
5388
5389           enablestring=disable
5390           defaultval=
5391           if test -z "$defaultval"; then
5392               if test x"$enablestring" = xdisable; then
5393                   defaultval=yes
5394               else
5395                   defaultval=no
5396               fi
5397           fi
5398
5399           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5400 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5401           # Check whether --enable-compat28 was given.
5402 if test "${enable_compat28+set}" = set; then
5403   enableval=$enable_compat28;
5404                           if test "$enableval" = yes; then
5405                             wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5406                           else
5407                             wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5408                           fi
5409
5410 else
5411
5412                           wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5413
5414 fi
5415
5416
5417           eval "$wx_cv_use_compat28"
5418
5419           if test x"$enablestring" = xdisable; then
5420             if test $WXWIN_COMPATIBILITY_2_8 = no; then
5421               result=yes
5422             else
5423               result=no
5424             fi
5425           else
5426             result=$WXWIN_COMPATIBILITY_2_8
5427           fi
5428
5429           { echo "$as_me:$LINENO: result: $result" >&5
5430 echo "${ECHO_T}$result" >&6; }
5431
5432
5433
5434           enablestring=disable
5435           defaultval=
5436           if test -z "$defaultval"; then
5437               if test x"$enablestring" = xdisable; then
5438                   defaultval=yes
5439               else
5440                   defaultval=no
5441               fi
5442           fi
5443
5444           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5445 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5446           # Check whether --enable-rpath was given.
5447 if test "${enable_rpath+set}" = set; then
5448   enableval=$enable_rpath;
5449                           if test "$enableval" = yes; then
5450                             wx_cv_use_rpath='wxUSE_RPATH=yes'
5451                           else
5452                             wx_cv_use_rpath='wxUSE_RPATH=no'
5453                           fi
5454
5455 else
5456
5457                           wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5458
5459 fi
5460
5461
5462           eval "$wx_cv_use_rpath"
5463
5464           if test x"$enablestring" = xdisable; then
5465             if test $wxUSE_RPATH = no; then
5466               result=yes
5467             else
5468               result=no
5469             fi
5470           else
5471             result=$wxUSE_RPATH
5472           fi
5473
5474           { echo "$as_me:$LINENO: result: $result" >&5
5475 echo "${ECHO_T}$result" >&6; }
5476
5477
5478
5479           enablestring=
5480           defaultval=
5481           if test -z "$defaultval"; then
5482               if test x"$enablestring" = xdisable; then
5483                   defaultval=yes
5484               else
5485                   defaultval=no
5486               fi
5487           fi
5488
5489           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5490 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5491           # Check whether --enable-objc_uniquifying was given.
5492 if test "${enable_objc_uniquifying+set}" = set; then
5493   enableval=$enable_objc_uniquifying;
5494                           if test "$enableval" = yes; then
5495                             wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
5496                           else
5497                             wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
5498                           fi
5499
5500 else
5501
5502                           wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5503
5504 fi
5505
5506
5507           eval "$wx_cv_use_objc_uniquifying"
5508
5509           if test x"$enablestring" = xdisable; then
5510             if test $wxUSE_OBJC_UNIQUIFYING = no; then
5511               result=yes
5512             else
5513               result=no
5514             fi
5515           else
5516             result=$wxUSE_OBJC_UNIQUIFYING
5517           fi
5518
5519           { echo "$as_me:$LINENO: result: $result" >&5
5520 echo "${ECHO_T}$result" >&6; }
5521
5522
5523
5524           enablestring=disable
5525           defaultval=
5526           if test -z "$defaultval"; then
5527               if test x"$enablestring" = xdisable; then
5528                   defaultval=yes
5529               else
5530                   defaultval=no
5531               fi
5532           fi
5533
5534           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
5535 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
5536           # Check whether --enable-visibility was given.
5537 if test "${enable_visibility+set}" = set; then
5538   enableval=$enable_visibility;
5539                           if test "$enableval" = yes; then
5540                             wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
5541                           else
5542                             wx_cv_use_visibility='wxUSE_VISIBILITY=no'
5543                           fi
5544
5545 else
5546
5547                           wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5548
5549 fi
5550
5551
5552           eval "$wx_cv_use_visibility"
5553
5554           if test x"$enablestring" = xdisable; then
5555             if test $wxUSE_VISIBILITY = no; then
5556               result=yes
5557             else
5558               result=no
5559             fi
5560           else
5561             result=$wxUSE_VISIBILITY
5562           fi
5563
5564           { echo "$as_me:$LINENO: result: $result" >&5
5565 echo "${ECHO_T}$result" >&6; }
5566
5567
5568           enablestring=disable
5569           defaultval=
5570           if test -z "$defaultval"; then
5571               if test x"$enablestring" = xdisable; then
5572                   defaultval=yes
5573               else
5574                   defaultval=no
5575               fi
5576           fi
5577
5578           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tls" >&5
5579 echo $ECHO_N "checking for --${enablestring:-enable}-tls... $ECHO_C" >&6; }
5580           # Check whether --enable-tls was given.
5581 if test "${enable_tls+set}" = set; then
5582   enableval=$enable_tls;
5583                           if test "$enableval" = yes; then
5584                             wx_cv_use_tls='wxUSE_COMPILER_TLS=yes'
5585                           else
5586                             wx_cv_use_tls='wxUSE_COMPILER_TLS=no'
5587                           fi
5588
5589 else
5590
5591                           wx_cv_use_tls='wxUSE_COMPILER_TLS=${'DEFAULT_wxUSE_COMPILER_TLS":-$defaultval}"
5592
5593 fi
5594
5595
5596           eval "$wx_cv_use_tls"
5597
5598           if test x"$enablestring" = xdisable; then
5599             if test $wxUSE_COMPILER_TLS = no; then
5600               result=yes
5601             else
5602               result=no
5603             fi
5604           else
5605             result=$wxUSE_COMPILER_TLS
5606           fi
5607
5608           { echo "$as_me:$LINENO: result: $result" >&5
5609 echo "${ECHO_T}$result" >&6; }
5610
5611
5612
5613
5614           enablestring=
5615           defaultval=$wxUSE_ALL_FEATURES
5616           if test -z "$defaultval"; then
5617               if test x"$enablestring" = xdisable; then
5618                   defaultval=yes
5619               else
5620                   defaultval=no
5621               fi
5622           fi
5623
5624           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5625 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5626           # Check whether --enable-intl was given.
5627 if test "${enable_intl+set}" = set; then
5628   enableval=$enable_intl;
5629                           if test "$enableval" = yes; then
5630                             wx_cv_use_intl='wxUSE_INTL=yes'
5631                           else
5632                             wx_cv_use_intl='wxUSE_INTL=no'
5633                           fi
5634
5635 else
5636
5637                           wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5638
5639 fi
5640
5641
5642           eval "$wx_cv_use_intl"
5643
5644           if test x"$enablestring" = xdisable; then
5645             if test $wxUSE_INTL = no; then
5646               result=yes
5647             else
5648               result=no
5649             fi
5650           else
5651             result=$wxUSE_INTL
5652           fi
5653
5654           { echo "$as_me:$LINENO: result: $result" >&5
5655 echo "${ECHO_T}$result" >&6; }
5656
5657
5658           enablestring=
5659           defaultval=$wxUSE_ALL_FEATURES
5660           if test -z "$defaultval"; then
5661               if test x"$enablestring" = xdisable; then
5662                   defaultval=yes
5663               else
5664                   defaultval=no
5665               fi
5666           fi
5667
5668           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xlocale" >&5
5669 echo $ECHO_N "checking for --${enablestring:-enable}-xlocale... $ECHO_C" >&6; }
5670           # Check whether --enable-xlocale was given.
5671 if test "${enable_xlocale+set}" = set; then
5672   enableval=$enable_xlocale;
5673                           if test "$enableval" = yes; then
5674                             wx_cv_use_xlocale='wxUSE_XLOCALE=yes'
5675                           else
5676                             wx_cv_use_xlocale='wxUSE_XLOCALE=no'
5677                           fi
5678
5679 else
5680
5681                           wx_cv_use_xlocale='wxUSE_XLOCALE=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
5682
5683 fi
5684
5685
5686           eval "$wx_cv_use_xlocale"
5687
5688           if test x"$enablestring" = xdisable; then
5689             if test $wxUSE_XLOCALE = no; then
5690               result=yes
5691             else
5692               result=no
5693             fi
5694           else
5695             result=$wxUSE_XLOCALE
5696           fi
5697
5698           { echo "$as_me:$LINENO: result: $result" >&5
5699 echo "${ECHO_T}$result" >&6; }
5700
5701
5702           enablestring=
5703           defaultval=$wxUSE_ALL_FEATURES
5704           if test -z "$defaultval"; then
5705               if test x"$enablestring" = xdisable; then
5706                   defaultval=yes
5707               else
5708                   defaultval=no
5709               fi
5710           fi
5711
5712           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5713 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5714           # Check whether --enable-config was given.
5715 if test "${enable_config+set}" = set; then
5716   enableval=$enable_config;
5717                           if test "$enableval" = yes; then
5718                             wx_cv_use_config='wxUSE_CONFIG=yes'
5719                           else
5720                             wx_cv_use_config='wxUSE_CONFIG=no'
5721                           fi
5722
5723 else
5724
5725                           wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5726
5727 fi
5728
5729
5730           eval "$wx_cv_use_config"
5731
5732           if test x"$enablestring" = xdisable; then
5733             if test $wxUSE_CONFIG = no; then
5734               result=yes
5735             else
5736               result=no
5737             fi
5738           else
5739             result=$wxUSE_CONFIG
5740           fi
5741
5742           { echo "$as_me:$LINENO: result: $result" >&5
5743 echo "${ECHO_T}$result" >&6; }
5744
5745
5746
5747           enablestring=
5748           defaultval=$wxUSE_ALL_FEATURES
5749           if test -z "$defaultval"; then
5750               if test x"$enablestring" = xdisable; then
5751                   defaultval=yes
5752               else
5753                   defaultval=no
5754               fi
5755           fi
5756
5757           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5758 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5759           # Check whether --enable-protocols was given.
5760 if test "${enable_protocols+set}" = set; then
5761   enableval=$enable_protocols;
5762                           if test "$enableval" = yes; then
5763                             wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
5764                           else
5765                             wx_cv_use_protocols='wxUSE_PROTOCOL=no'
5766                           fi
5767
5768 else
5769
5770                           wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
5771
5772 fi
5773
5774
5775           eval "$wx_cv_use_protocols"
5776
5777           if test x"$enablestring" = xdisable; then
5778             if test $wxUSE_PROTOCOL = no; then
5779               result=yes
5780             else
5781               result=no
5782             fi
5783           else
5784             result=$wxUSE_PROTOCOL
5785           fi
5786
5787           { echo "$as_me:$LINENO: result: $result" >&5
5788 echo "${ECHO_T}$result" >&6; }
5789
5790
5791           enablestring=
5792           defaultval=$wxUSE_ALL_FEATURES
5793           if test -z "$defaultval"; then
5794               if test x"$enablestring" = xdisable; then
5795                   defaultval=yes
5796               else
5797                   defaultval=no
5798               fi
5799           fi
5800
5801           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
5802 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
5803           # Check whether --enable-ftp was given.
5804 if test "${enable_ftp+set}" = set; then
5805   enableval=$enable_ftp;
5806                           if test "$enableval" = yes; then
5807                             wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
5808                           else
5809                             wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
5810                           fi
5811
5812 else
5813
5814                           wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
5815
5816 fi
5817
5818
5819           eval "$wx_cv_use_ftp"
5820
5821           if test x"$enablestring" = xdisable; then
5822             if test $wxUSE_PROTOCOL_FTP = no; then
5823               result=yes
5824             else
5825               result=no
5826             fi
5827           else
5828             result=$wxUSE_PROTOCOL_FTP
5829           fi
5830
5831           { echo "$as_me:$LINENO: result: $result" >&5
5832 echo "${ECHO_T}$result" >&6; }
5833
5834
5835           enablestring=
5836           defaultval=$wxUSE_ALL_FEATURES
5837           if test -z "$defaultval"; then
5838               if test x"$enablestring" = xdisable; then
5839                   defaultval=yes
5840               else
5841                   defaultval=no
5842               fi
5843           fi
5844
5845           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5846 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
5847           # Check whether --enable-http was given.
5848 if test "${enable_http+set}" = set; then
5849   enableval=$enable_http;
5850                           if test "$enableval" = yes; then
5851                             wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
5852                           else
5853                             wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
5854                           fi
5855
5856 else
5857
5858                           wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
5859
5860 fi
5861
5862
5863           eval "$wx_cv_use_http"
5864
5865           if test x"$enablestring" = xdisable; then
5866             if test $wxUSE_PROTOCOL_HTTP = no; then
5867               result=yes
5868             else
5869               result=no
5870             fi
5871           else
5872             result=$wxUSE_PROTOCOL_HTTP
5873           fi
5874
5875           { echo "$as_me:$LINENO: result: $result" >&5
5876 echo "${ECHO_T}$result" >&6; }
5877
5878
5879           enablestring=
5880           defaultval=$wxUSE_ALL_FEATURES
5881           if test -z "$defaultval"; then
5882               if test x"$enablestring" = xdisable; then
5883                   defaultval=yes
5884               else
5885                   defaultval=no
5886               fi
5887           fi
5888
5889           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
5890 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
5891           # Check whether --enable-fileproto was given.
5892 if test "${enable_fileproto+set}" = set; then
5893   enableval=$enable_fileproto;
5894                           if test "$enableval" = yes; then
5895                             wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
5896                           else
5897                             wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
5898                           fi
5899
5900 else
5901
5902                           wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
5903
5904 fi
5905
5906
5907           eval "$wx_cv_use_fileproto"
5908
5909           if test x"$enablestring" = xdisable; then
5910             if test $wxUSE_PROTOCOL_FILE = no; then
5911               result=yes
5912             else
5913               result=no
5914             fi
5915           else
5916             result=$wxUSE_PROTOCOL_FILE
5917           fi
5918
5919           { echo "$as_me:$LINENO: result: $result" >&5
5920 echo "${ECHO_T}$result" >&6; }
5921
5922
5923           enablestring=
5924           defaultval=$wxUSE_ALL_FEATURES
5925           if test -z "$defaultval"; then
5926               if test x"$enablestring" = xdisable; then
5927                   defaultval=yes
5928               else
5929                   defaultval=no
5930               fi
5931           fi
5932
5933           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
5934 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
5935           # Check whether --enable-sockets was given.
5936 if test "${enable_sockets+set}" = set; then
5937   enableval=$enable_sockets;
5938                           if test "$enableval" = yes; then
5939                             wx_cv_use_sockets='wxUSE_SOCKETS=yes'
5940                           else
5941                             wx_cv_use_sockets='wxUSE_SOCKETS=no'
5942                           fi
5943
5944 else
5945
5946                           wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
5947
5948 fi
5949
5950
5951           eval "$wx_cv_use_sockets"
5952
5953           if test x"$enablestring" = xdisable; then
5954             if test $wxUSE_SOCKETS = no; then
5955               result=yes
5956             else
5957               result=no
5958             fi
5959           else
5960             result=$wxUSE_SOCKETS
5961           fi
5962
5963           { echo "$as_me:$LINENO: result: $result" >&5
5964 echo "${ECHO_T}$result" >&6; }
5965
5966
5967           enablestring=
5968           defaultval=$wxUSE_ALL_FEATURES
5969           if test -z "$defaultval"; then
5970               if test x"$enablestring" = xdisable; then
5971                   defaultval=yes
5972               else
5973                   defaultval=no
5974               fi
5975           fi
5976
5977           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipv6" >&5
5978 echo $ECHO_N "checking for --${enablestring:-enable}-ipv6... $ECHO_C" >&6; }
5979           # Check whether --enable-ipv6 was given.
5980 if test "${enable_ipv6+set}" = set; then
5981   enableval=$enable_ipv6;
5982                           if test "$enableval" = yes; then
5983                             wx_cv_use_ipv6='wxUSE_IPV6=yes'
5984                           else
5985                             wx_cv_use_ipv6='wxUSE_IPV6=no'
5986                           fi
5987
5988 else
5989
5990                           wx_cv_use_ipv6='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
5991
5992 fi
5993
5994
5995           eval "$wx_cv_use_ipv6"
5996
5997           if test x"$enablestring" = xdisable; then
5998             if test $wxUSE_IPV6 = no; then
5999               result=yes
6000             else
6001               result=no
6002             fi
6003           else
6004             result=$wxUSE_IPV6
6005           fi
6006
6007           { echo "$as_me:$LINENO: result: $result" >&5
6008 echo "${ECHO_T}$result" >&6; }
6009
6010
6011           enablestring=
6012           defaultval=$wxUSE_ALL_FEATURES
6013           if test -z "$defaultval"; then
6014               if test x"$enablestring" = xdisable; then
6015                   defaultval=yes
6016               else
6017                   defaultval=no
6018               fi
6019           fi
6020
6021           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
6022 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
6023           # Check whether --enable-ole was given.
6024 if test "${enable_ole+set}" = set; then
6025   enableval=$enable_ole;
6026                           if test "$enableval" = yes; then
6027                             wx_cv_use_ole='wxUSE_OLE=yes'
6028                           else
6029                             wx_cv_use_ole='wxUSE_OLE=no'
6030                           fi
6031
6032 else
6033
6034                           wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6035
6036 fi
6037
6038
6039           eval "$wx_cv_use_ole"
6040
6041           if test x"$enablestring" = xdisable; then
6042             if test $wxUSE_OLE = no; then
6043               result=yes
6044             else
6045               result=no
6046             fi
6047           else
6048             result=$wxUSE_OLE
6049           fi
6050
6051           { echo "$as_me:$LINENO: result: $result" >&5
6052 echo "${ECHO_T}$result" >&6; }
6053
6054
6055           enablestring=
6056           defaultval=$wxUSE_ALL_FEATURES
6057           if test -z "$defaultval"; then
6058               if test x"$enablestring" = xdisable; then
6059                   defaultval=yes
6060               else
6061                   defaultval=no
6062               fi
6063           fi
6064
6065           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
6066 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
6067           # Check whether --enable-dataobj was given.
6068 if test "${enable_dataobj+set}" = set; then
6069   enableval=$enable_dataobj;
6070                           if test "$enableval" = yes; then
6071                             wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6072                           else
6073                             wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6074                           fi
6075
6076 else
6077
6078                           wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6079
6080 fi
6081
6082
6083           eval "$wx_cv_use_dataobj"
6084
6085           if test x"$enablestring" = xdisable; then
6086             if test $wxUSE_DATAOBJ = no; then
6087               result=yes
6088             else
6089               result=no
6090             fi
6091           else
6092             result=$wxUSE_DATAOBJ
6093           fi
6094
6095           { echo "$as_me:$LINENO: result: $result" >&5
6096 echo "${ECHO_T}$result" >&6; }
6097
6098
6099
6100           enablestring=
6101           defaultval=$wxUSE_ALL_FEATURES
6102           if test -z "$defaultval"; then
6103               if test x"$enablestring" = xdisable; then
6104                   defaultval=yes
6105               else
6106                   defaultval=no
6107               fi
6108           fi
6109
6110           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6111 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6112           # Check whether --enable-ipc was given.
6113 if test "${enable_ipc+set}" = set; then
6114   enableval=$enable_ipc;
6115                           if test "$enableval" = yes; then
6116                             wx_cv_use_ipc='wxUSE_IPC=yes'
6117                           else
6118                             wx_cv_use_ipc='wxUSE_IPC=no'
6119                           fi
6120
6121 else
6122
6123                           wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6124
6125 fi
6126
6127
6128           eval "$wx_cv_use_ipc"
6129
6130           if test x"$enablestring" = xdisable; then
6131             if test $wxUSE_IPC = no; then
6132               result=yes
6133             else
6134               result=no
6135             fi
6136           else
6137             result=$wxUSE_IPC
6138           fi
6139
6140           { echo "$as_me:$LINENO: result: $result" >&5
6141 echo "${ECHO_T}$result" >&6; }
6142
6143
6144
6145           enablestring=
6146           defaultval=$wxUSE_ALL_FEATURES
6147           if test -z "$defaultval"; then
6148               if test x"$enablestring" = xdisable; then
6149                   defaultval=yes
6150               else
6151                   defaultval=no
6152               fi
6153           fi
6154
6155           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6156 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6157           # Check whether --enable-baseevtloop was given.
6158 if test "${enable_baseevtloop+set}" = set; then
6159   enableval=$enable_baseevtloop;
6160                           if test "$enableval" = yes; then
6161                             wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
6162                           else
6163                             wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
6164                           fi
6165
6166 else
6167
6168                           wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6169
6170 fi
6171
6172
6173           eval "$wx_cv_use_baseevtloop"
6174
6175           if test x"$enablestring" = xdisable; then
6176             if test $wxUSE_CONSOLE_EVENTLOOP = no; then
6177               result=yes
6178             else
6179               result=no
6180             fi
6181           else
6182             result=$wxUSE_CONSOLE_EVENTLOOP
6183           fi
6184
6185           { echo "$as_me:$LINENO: result: $result" >&5
6186 echo "${ECHO_T}$result" >&6; }
6187
6188
6189           enablestring=
6190           defaultval=$wxUSE_ALL_FEATURES
6191           if test -z "$defaultval"; then
6192               if test x"$enablestring" = xdisable; then
6193                   defaultval=yes
6194               else
6195                   defaultval=no
6196               fi
6197           fi
6198
6199           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epollloop" >&5
6200 echo $ECHO_N "checking for --${enablestring:-enable}-epollloop... $ECHO_C" >&6; }
6201           # Check whether --enable-epollloop was given.
6202 if test "${enable_epollloop+set}" = set; then
6203   enableval=$enable_epollloop;
6204                           if test "$enableval" = yes; then
6205                             wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
6206                           else
6207                             wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
6208                           fi
6209
6210 else
6211
6212                           wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6213
6214 fi
6215
6216
6217           eval "$wx_cv_use_epollloop"
6218
6219           if test x"$enablestring" = xdisable; then
6220             if test $wxUSE_EPOLL_DISPATCHER = no; then
6221               result=yes
6222             else
6223               result=no
6224             fi
6225           else
6226             result=$wxUSE_EPOLL_DISPATCHER
6227           fi
6228
6229           { echo "$as_me:$LINENO: result: $result" >&5
6230 echo "${ECHO_T}$result" >&6; }
6231
6232
6233           enablestring=
6234           defaultval=$wxUSE_ALL_FEATURES
6235           if test -z "$defaultval"; then
6236               if test x"$enablestring" = xdisable; then
6237                   defaultval=yes
6238               else
6239                   defaultval=no
6240               fi
6241           fi
6242
6243           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6244 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6245           # Check whether --enable-selectloop was given.
6246 if test "${enable_selectloop+set}" = set; then
6247   enableval=$enable_selectloop;
6248                           if test "$enableval" = yes; then
6249                             wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
6250                           else
6251                             wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
6252                           fi
6253
6254 else
6255
6256                           wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6257
6258 fi
6259
6260
6261           eval "$wx_cv_use_selectloop"
6262
6263           if test x"$enablestring" = xdisable; then
6264             if test $wxUSE_SELECT_DISPATCHER = no; then
6265               result=yes
6266             else
6267               result=no
6268             fi
6269           else
6270             result=$wxUSE_SELECT_DISPATCHER
6271           fi
6272
6273           { echo "$as_me:$LINENO: result: $result" >&5
6274 echo "${ECHO_T}$result" >&6; }
6275
6276
6277
6278           enablestring=
6279           defaultval=$wxUSE_ALL_FEATURES
6280           if test -z "$defaultval"; then
6281               if test x"$enablestring" = xdisable; then
6282                   defaultval=yes
6283               else
6284                   defaultval=no
6285               fi
6286           fi
6287
6288           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-any" >&5
6289 echo $ECHO_N "checking for --${enablestring:-enable}-any... $ECHO_C" >&6; }
6290           # Check whether --enable-any was given.
6291 if test "${enable_any+set}" = set; then
6292   enableval=$enable_any;
6293                           if test "$enableval" = yes; then
6294                             wx_cv_use_any='wxUSE_ANY=yes'
6295                           else
6296                             wx_cv_use_any='wxUSE_ANY=no'
6297                           fi
6298
6299 else
6300
6301                           wx_cv_use_any='wxUSE_ANY=${'DEFAULT_wxUSE_ANY":-$defaultval}"
6302
6303 fi
6304
6305
6306           eval "$wx_cv_use_any"
6307
6308           if test x"$enablestring" = xdisable; then
6309             if test $wxUSE_ANY = no; then
6310               result=yes
6311             else
6312               result=no
6313             fi
6314           else
6315             result=$wxUSE_ANY
6316           fi
6317
6318           { echo "$as_me:$LINENO: result: $result" >&5
6319 echo "${ECHO_T}$result" >&6; }
6320
6321
6322           enablestring=
6323           defaultval=$wxUSE_ALL_FEATURES
6324           if test -z "$defaultval"; then
6325               if test x"$enablestring" = xdisable; then
6326                   defaultval=yes
6327               else
6328                   defaultval=no
6329               fi
6330           fi
6331
6332           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6333 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6334           # Check whether --enable-apple_ieee was given.
6335 if test "${enable_apple_ieee+set}" = set; then
6336   enableval=$enable_apple_ieee;
6337                           if test "$enableval" = yes; then
6338                             wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6339                           else
6340                             wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6341                           fi
6342
6343 else
6344
6345                           wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6346
6347 fi
6348
6349
6350           eval "$wx_cv_use_apple_ieee"
6351
6352           if test x"$enablestring" = xdisable; then
6353             if test $wxUSE_APPLE_IEEE = no; then
6354               result=yes
6355             else
6356               result=no
6357             fi
6358           else
6359             result=$wxUSE_APPLE_IEEE
6360           fi
6361
6362           { echo "$as_me:$LINENO: result: $result" >&5
6363 echo "${ECHO_T}$result" >&6; }
6364
6365
6366           enablestring=
6367           defaultval=$wxUSE_ALL_FEATURES
6368           if test -z "$defaultval"; then
6369               if test x"$enablestring" = xdisable; then
6370                   defaultval=yes
6371               else
6372                   defaultval=no
6373               fi
6374           fi
6375
6376           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6377 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6378           # Check whether --enable-arcstream was given.
6379 if test "${enable_arcstream+set}" = set; then
6380   enableval=$enable_arcstream;
6381                           if test "$enableval" = yes; then
6382                             wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6383                           else
6384                             wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6385                           fi
6386
6387 else
6388
6389                           wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6390
6391 fi
6392
6393
6394           eval "$wx_cv_use_arcstream"
6395
6396           if test x"$enablestring" = xdisable; then
6397             if test $wxUSE_ARCHIVE_STREAMS = no; then
6398               result=yes
6399             else
6400               result=no
6401             fi
6402           else
6403             result=$wxUSE_ARCHIVE_STREAMS
6404           fi
6405
6406           { echo "$as_me:$LINENO: result: $result" >&5
6407 echo "${ECHO_T}$result" >&6; }
6408
6409
6410           enablestring=
6411           defaultval=$wxUSE_ALL_FEATURES
6412           if test -z "$defaultval"; then
6413               if test x"$enablestring" = xdisable; then
6414                   defaultval=yes
6415               else
6416                   defaultval=no
6417               fi
6418           fi
6419
6420           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6421 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6422           # Check whether --enable-base64 was given.
6423 if test "${enable_base64+set}" = set; then
6424   enableval=$enable_base64;
6425                           if test "$enableval" = yes; then
6426                             wx_cv_use_base64='wxUSE_BASE64=yes'
6427                           else
6428                             wx_cv_use_base64='wxUSE_BASE64=no'
6429                           fi
6430
6431 else
6432
6433                           wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6434
6435 fi
6436
6437
6438           eval "$wx_cv_use_base64"
6439
6440           if test x"$enablestring" = xdisable; then
6441             if test $wxUSE_BASE64 = no; then
6442               result=yes
6443             else
6444               result=no
6445             fi
6446           else
6447             result=$wxUSE_BASE64
6448           fi
6449
6450           { echo "$as_me:$LINENO: result: $result" >&5
6451 echo "${ECHO_T}$result" >&6; }
6452
6453
6454           enablestring=
6455           defaultval=$wxUSE_ALL_FEATURES
6456           if test -z "$defaultval"; then
6457               if test x"$enablestring" = xdisable; then
6458                   defaultval=yes
6459               else
6460                   defaultval=no
6461               fi
6462           fi
6463
6464           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
6465 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
6466           # Check whether --enable-backtrace was given.
6467 if test "${enable_backtrace+set}" = set; then
6468   enableval=$enable_backtrace;
6469                           if test "$enableval" = yes; then
6470                             wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
6471                           else
6472                             wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
6473                           fi
6474
6475 else
6476
6477                           wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6478
6479 fi
6480
6481
6482           eval "$wx_cv_use_backtrace"
6483
6484           if test x"$enablestring" = xdisable; then
6485             if test $wxUSE_STACKWALKER = no; then
6486               result=yes
6487             else
6488               result=no
6489             fi
6490           else
6491             result=$wxUSE_STACKWALKER
6492           fi
6493
6494           { echo "$as_me:$LINENO: result: $result" >&5
6495 echo "${ECHO_T}$result" >&6; }
6496
6497
6498           enablestring=
6499           defaultval=$wxUSE_ALL_FEATURES
6500           if test -z "$defaultval"; then
6501               if test x"$enablestring" = xdisable; then
6502                   defaultval=yes
6503               else
6504                   defaultval=no
6505               fi
6506           fi
6507
6508           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
6509 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
6510           # Check whether --enable-catch_segvs was given.
6511 if test "${enable_catch_segvs+set}" = set; then
6512   enableval=$enable_catch_segvs;
6513                           if test "$enableval" = yes; then
6514                             wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
6515                           else
6516                             wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
6517                           fi
6518
6519 else
6520
6521                           wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6522
6523 fi
6524
6525
6526           eval "$wx_cv_use_catch_segvs"
6527
6528           if test x"$enablestring" = xdisable; then
6529             if test $wxUSE_ON_FATAL_EXCEPTION = no; then
6530               result=yes
6531             else
6532               result=no
6533             fi
6534           else
6535             result=$wxUSE_ON_FATAL_EXCEPTION
6536           fi
6537
6538           { echo "$as_me:$LINENO: result: $result" >&5
6539 echo "${ECHO_T}$result" >&6; }
6540
6541
6542           enablestring=
6543           defaultval=$wxUSE_ALL_FEATURES
6544           if test -z "$defaultval"; then
6545               if test x"$enablestring" = xdisable; then
6546                   defaultval=yes
6547               else
6548                   defaultval=no
6549               fi
6550           fi
6551
6552           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6553 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6554           # Check whether --enable-cmdline was given.
6555 if test "${enable_cmdline+set}" = set; then
6556   enableval=$enable_cmdline;
6557                           if test "$enableval" = yes; then
6558                             wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
6559                           else
6560                             wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
6561                           fi
6562
6563 else
6564
6565                           wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6566
6567 fi
6568
6569
6570           eval "$wx_cv_use_cmdline"
6571
6572           if test x"$enablestring" = xdisable; then
6573             if test $wxUSE_CMDLINE_PARSER = no; then
6574               result=yes
6575             else
6576               result=no
6577             fi
6578           else
6579             result=$wxUSE_CMDLINE_PARSER
6580           fi
6581
6582           { echo "$as_me:$LINENO: result: $result" >&5
6583 echo "${ECHO_T}$result" >&6; }
6584
6585
6586           enablestring=
6587           defaultval=$wxUSE_ALL_FEATURES
6588           if test -z "$defaultval"; then
6589               if test x"$enablestring" = xdisable; then
6590                   defaultval=yes
6591               else
6592                   defaultval=no
6593               fi
6594           fi
6595
6596           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6597 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6598           # Check whether --enable-datetime was given.
6599 if test "${enable_datetime+set}" = set; then
6600   enableval=$enable_datetime;
6601                           if test "$enableval" = yes; then
6602                             wx_cv_use_datetime='wxUSE_DATETIME=yes'
6603                           else
6604                             wx_cv_use_datetime='wxUSE_DATETIME=no'
6605                           fi
6606
6607 else
6608
6609                           wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6610
6611 fi
6612
6613
6614           eval "$wx_cv_use_datetime"
6615
6616           if test x"$enablestring" = xdisable; then
6617             if test $wxUSE_DATETIME = no; then
6618               result=yes
6619             else
6620               result=no
6621             fi
6622           else
6623             result=$wxUSE_DATETIME
6624           fi
6625
6626           { echo "$as_me:$LINENO: result: $result" >&5
6627 echo "${ECHO_T}$result" >&6; }
6628
6629
6630           enablestring=
6631           defaultval=$wxUSE_ALL_FEATURES
6632           if test -z "$defaultval"; then
6633               if test x"$enablestring" = xdisable; then
6634                   defaultval=yes
6635               else
6636                   defaultval=no
6637               fi
6638           fi
6639
6640           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6641 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6642           # Check whether --enable-debugreport was given.
6643 if test "${enable_debugreport+set}" = set; then
6644   enableval=$enable_debugreport;
6645                           if test "$enableval" = yes; then
6646                             wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6647                           else
6648                             wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6649                           fi
6650
6651 else
6652
6653                           wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6654
6655 fi
6656
6657
6658           eval "$wx_cv_use_debugreport"
6659
6660           if test x"$enablestring" = xdisable; then
6661             if test $wxUSE_DEBUGREPORT = no; then
6662               result=yes
6663             else
6664               result=no
6665             fi
6666           else
6667             result=$wxUSE_DEBUGREPORT
6668           fi
6669
6670           { echo "$as_me:$LINENO: result: $result" >&5
6671 echo "${ECHO_T}$result" >&6; }
6672
6673
6674           enablestring=
6675           defaultval=$wxUSE_ALL_FEATURES
6676           if test -z "$defaultval"; then
6677               if test x"$enablestring" = xdisable; then
6678                   defaultval=yes
6679               else
6680                   defaultval=no
6681               fi
6682           fi
6683
6684           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6685 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6686           # Check whether --enable-dialupman was given.
6687 if test "${enable_dialupman+set}" = set; then
6688   enableval=$enable_dialupman;
6689                           if test "$enableval" = yes; then
6690                             wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
6691                           else
6692                             wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
6693                           fi
6694
6695 else
6696
6697                           wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6698
6699 fi
6700
6701
6702           eval "$wx_cv_use_dialupman"
6703
6704           if test x"$enablestring" = xdisable; then
6705             if test $wxUSE_DIALUP_MANAGER = no; then
6706               result=yes
6707             else
6708               result=no
6709             fi
6710           else
6711             result=$wxUSE_DIALUP_MANAGER
6712           fi
6713
6714           { echo "$as_me:$LINENO: result: $result" >&5
6715 echo "${ECHO_T}$result" >&6; }
6716
6717
6718           enablestring=
6719           defaultval=$wxUSE_ALL_FEATURES
6720           if test -z "$defaultval"; then
6721               if test x"$enablestring" = xdisable; then
6722                   defaultval=yes
6723               else
6724                   defaultval=no
6725               fi
6726           fi
6727
6728           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6729 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6730           # Check whether --enable-dynlib was given.
6731 if test "${enable_dynlib+set}" = set; then
6732   enableval=$enable_dynlib;
6733                           if test "$enableval" = yes; then
6734                             wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6735                           else
6736                             wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6737                           fi
6738
6739 else
6740
6741                           wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
6742
6743 fi
6744
6745
6746           eval "$wx_cv_use_dynlib"
6747
6748           if test x"$enablestring" = xdisable; then
6749             if test $wxUSE_DYNLIB_CLASS = no; then
6750               result=yes
6751             else
6752               result=no
6753             fi
6754           else
6755             result=$wxUSE_DYNLIB_CLASS
6756           fi
6757
6758           { echo "$as_me:$LINENO: result: $result" >&5
6759 echo "${ECHO_T}$result" >&6; }
6760
6761
6762           enablestring=
6763           defaultval=$wxUSE_ALL_FEATURES
6764           if test -z "$defaultval"; then
6765               if test x"$enablestring" = xdisable; then
6766                   defaultval=yes
6767               else
6768                   defaultval=no
6769               fi
6770           fi
6771
6772           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6773 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
6774           # Check whether --enable-dynamicloader was given.
6775 if test "${enable_dynamicloader+set}" = set; then
6776   enableval=$enable_dynamicloader;
6777                           if test "$enableval" = yes; then
6778                             wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
6779                           else
6780                             wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
6781                           fi
6782
6783 else
6784
6785                           wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
6786
6787 fi
6788
6789
6790           eval "$wx_cv_use_dynamicloader"
6791
6792           if test x"$enablestring" = xdisable; then
6793             if test $wxUSE_DYNAMIC_LOADER = no; then
6794               result=yes
6795             else
6796               result=no
6797             fi
6798           else
6799             result=$wxUSE_DYNAMIC_LOADER
6800           fi
6801
6802           { echo "$as_me:$LINENO: result: $result" >&5
6803 echo "${ECHO_T}$result" >&6; }
6804
6805
6806           enablestring=
6807           defaultval=$wxUSE_ALL_FEATURES
6808           if test -z "$defaultval"; then
6809               if test x"$enablestring" = xdisable; then
6810                   defaultval=yes
6811               else
6812                   defaultval=no
6813               fi
6814           fi
6815
6816           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6817 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6818           # Check whether --enable-exceptions was given.
6819 if test "${enable_exceptions+set}" = set; then
6820   enableval=$enable_exceptions;
6821                           if test "$enableval" = yes; then
6822                             wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
6823                           else
6824                             wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
6825                           fi
6826
6827 else
6828
6829                           wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
6830
6831 fi
6832
6833
6834           eval "$wx_cv_use_exceptions"
6835
6836           if test x"$enablestring" = xdisable; then
6837             if test $wxUSE_EXCEPTIONS = no; then
6838               result=yes
6839             else
6840               result=no
6841             fi
6842           else
6843             result=$wxUSE_EXCEPTIONS
6844           fi
6845
6846           { echo "$as_me:$LINENO: result: $result" >&5
6847 echo "${ECHO_T}$result" >&6; }
6848
6849
6850           enablestring=
6851           defaultval=$wxUSE_ALL_FEATURES
6852           if test -z "$defaultval"; then
6853               if test x"$enablestring" = xdisable; then
6854                   defaultval=yes
6855               else
6856                   defaultval=no
6857               fi
6858           fi
6859
6860           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
6861 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
6862           # Check whether --enable-ffile was given.
6863 if test "${enable_ffile+set}" = set; then
6864   enableval=$enable_ffile;
6865                           if test "$enableval" = yes; then
6866                             wx_cv_use_ffile='wxUSE_FFILE=yes'
6867                           else
6868                             wx_cv_use_ffile='wxUSE_FFILE=no'
6869                           fi
6870
6871 else
6872
6873                           wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
6874
6875 fi
6876
6877
6878           eval "$wx_cv_use_ffile"
6879
6880           if test x"$enablestring" = xdisable; then
6881             if test $wxUSE_FFILE = no; then
6882               result=yes
6883             else
6884               result=no
6885             fi
6886           else
6887             result=$wxUSE_FFILE
6888           fi
6889
6890           { echo "$as_me:$LINENO: result: $result" >&5
6891 echo "${ECHO_T}$result" >&6; }
6892
6893
6894           enablestring=
6895           defaultval=$wxUSE_ALL_FEATURES
6896           if test -z "$defaultval"; then
6897               if test x"$enablestring" = xdisable; then
6898                   defaultval=yes
6899               else
6900                   defaultval=no
6901               fi
6902           fi
6903
6904           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
6905 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
6906           # Check whether --enable-file was given.
6907 if test "${enable_file+set}" = set; then
6908   enableval=$enable_file;
6909                           if test "$enableval" = yes; then
6910                             wx_cv_use_file='wxUSE_FILE=yes'
6911                           else
6912                             wx_cv_use_file='wxUSE_FILE=no'
6913                           fi
6914
6915 else
6916
6917                           wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
6918
6919 fi
6920
6921
6922           eval "$wx_cv_use_file"
6923
6924           if test x"$enablestring" = xdisable; then
6925             if test $wxUSE_FILE = no; then
6926               result=yes
6927             else
6928               result=no
6929             fi
6930           else
6931             result=$wxUSE_FILE
6932           fi
6933
6934           { echo "$as_me:$LINENO: result: $result" >&5
6935 echo "${ECHO_T}$result" >&6; }
6936
6937
6938           enablestring=
6939           defaultval=$wxUSE_ALL_FEATURES
6940           if test -z "$defaultval"; then
6941               if test x"$enablestring" = xdisable; then
6942                   defaultval=yes
6943               else
6944                   defaultval=no
6945               fi
6946           fi
6947
6948           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
6949 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
6950           # Check whether --enable-filesystem was given.
6951 if test "${enable_filesystem+set}" = set; then
6952   enableval=$enable_filesystem;
6953                           if test "$enableval" = yes; then
6954                             wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
6955                           else
6956                             wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
6957                           fi
6958
6959 else
6960
6961                           wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
6962
6963 fi
6964
6965
6966           eval "$wx_cv_use_filesystem"
6967
6968           if test x"$enablestring" = xdisable; then
6969             if test $wxUSE_FILESYSTEM = no; then
6970               result=yes
6971             else
6972               result=no
6973             fi
6974           else
6975             result=$wxUSE_FILESYSTEM
6976           fi
6977
6978           { echo "$as_me:$LINENO: result: $result" >&5
6979 echo "${ECHO_T}$result" >&6; }
6980
6981
6982           enablestring=
6983           defaultval=$wxUSE_ALL_FEATURES
6984           if test -z "$defaultval"; then
6985               if test x"$enablestring" = xdisable; then
6986                   defaultval=yes
6987               else
6988                   defaultval=no
6989               fi
6990           fi
6991
6992           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
6993 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
6994           # Check whether --enable-fontenum was given.
6995 if test "${enable_fontenum+set}" = set; then
6996   enableval=$enable_fontenum;
6997                           if test "$enableval" = yes; then
6998                             wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
6999                           else
7000                             wx_cv_use_fontenum='wxUSE_FONTENUM=no'
7001                           fi
7002
7003 else
7004
7005                           wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
7006
7007 fi
7008
7009
7010           eval "$wx_cv_use_fontenum"
7011
7012           if test x"$enablestring" = xdisable; then
7013             if test $wxUSE_FONTENUM = no; then
7014               result=yes
7015             else
7016               result=no
7017             fi
7018           else
7019             result=$wxUSE_FONTENUM
7020           fi
7021
7022           { echo "$as_me:$LINENO: result: $result" >&5
7023 echo "${ECHO_T}$result" >&6; }
7024
7025
7026           enablestring=
7027           defaultval=$wxUSE_ALL_FEATURES
7028           if test -z "$defaultval"; then
7029               if test x"$enablestring" = xdisable; then
7030                   defaultval=yes
7031               else
7032                   defaultval=no
7033               fi
7034           fi
7035
7036           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
7037 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
7038           # Check whether --enable-fontmap was given.
7039 if test "${enable_fontmap+set}" = set; then
7040   enableval=$enable_fontmap;
7041                           if test "$enableval" = yes; then
7042                             wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
7043                           else
7044                             wx_cv_use_fontmap='wxUSE_FONTMAP=no'
7045                           fi
7046
7047 else
7048
7049                           wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7050
7051 fi
7052
7053
7054           eval "$wx_cv_use_fontmap"
7055
7056           if test x"$enablestring" = xdisable; then
7057             if test $wxUSE_FONTMAP = no; then
7058               result=yes
7059             else
7060               result=no
7061             fi
7062           else
7063             result=$wxUSE_FONTMAP
7064           fi
7065
7066           { echo "$as_me:$LINENO: result: $result" >&5
7067 echo "${ECHO_T}$result" >&6; }
7068
7069
7070           enablestring=
7071           defaultval=$wxUSE_ALL_FEATURES
7072           if test -z "$defaultval"; then
7073               if test x"$enablestring" = xdisable; then
7074                   defaultval=yes
7075               else
7076                   defaultval=no
7077               fi
7078           fi
7079
7080           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7081 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7082           # Check whether --enable-fs_archive was given.
7083 if test "${enable_fs_archive+set}" = set; then
7084   enableval=$enable_fs_archive;
7085                           if test "$enableval" = yes; then
7086                             wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
7087                           else
7088                             wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
7089                           fi
7090
7091 else
7092
7093                           wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7094
7095 fi
7096
7097
7098           eval "$wx_cv_use_fs_archive"
7099
7100           if test x"$enablestring" = xdisable; then
7101             if test $wxUSE_FS_ARCHIVE = no; then
7102               result=yes
7103             else
7104               result=no
7105             fi
7106           else
7107             result=$wxUSE_FS_ARCHIVE
7108           fi
7109
7110           { echo "$as_me:$LINENO: result: $result" >&5
7111 echo "${ECHO_T}$result" >&6; }
7112
7113
7114           enablestring=
7115           defaultval=$wxUSE_ALL_FEATURES
7116           if test -z "$defaultval"; then
7117               if test x"$enablestring" = xdisable; then
7118                   defaultval=yes
7119               else
7120                   defaultval=no
7121               fi
7122           fi
7123
7124           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7125 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7126           # Check whether --enable-fs_inet was given.
7127 if test "${enable_fs_inet+set}" = set; then
7128   enableval=$enable_fs_inet;
7129                           if test "$enableval" = yes; then
7130                             wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
7131                           else
7132                             wx_cv_use_fs_inet='wxUSE_FS_INET=no'
7133                           fi
7134
7135 else
7136
7137                           wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7138
7139 fi
7140
7141
7142           eval "$wx_cv_use_fs_inet"
7143
7144           if test x"$enablestring" = xdisable; then
7145             if test $wxUSE_FS_INET = no; then
7146               result=yes
7147             else
7148               result=no
7149             fi
7150           else
7151             result=$wxUSE_FS_INET
7152           fi
7153
7154           { echo "$as_me:$LINENO: result: $result" >&5
7155 echo "${ECHO_T}$result" >&6; }
7156
7157
7158           enablestring=
7159           defaultval=$wxUSE_ALL_FEATURES
7160           if test -z "$defaultval"; then
7161               if test x"$enablestring" = xdisable; then
7162                   defaultval=yes
7163               else
7164                   defaultval=no
7165               fi
7166           fi
7167
7168           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7169 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7170           # Check whether --enable-fs_zip was given.
7171 if test "${enable_fs_zip+set}" = set; then
7172   enableval=$enable_fs_zip;
7173                           if test "$enableval" = yes; then
7174                             wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
7175                           else
7176                             wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7177                           fi
7178
7179 else
7180
7181                           wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7182
7183 fi
7184
7185
7186           eval "$wx_cv_use_fs_zip"
7187
7188           if test x"$enablestring" = xdisable; then
7189             if test $wxUSE_FS_ZIP = no; then
7190               result=yes
7191             else
7192               result=no
7193             fi
7194           else
7195             result=$wxUSE_FS_ZIP
7196           fi
7197
7198           { echo "$as_me:$LINENO: result: $result" >&5
7199 echo "${ECHO_T}$result" >&6; }
7200
7201
7202           enablestring=
7203           defaultval=$wxUSE_ALL_FEATURES
7204           if test -z "$defaultval"; then
7205               if test x"$enablestring" = xdisable; then
7206                   defaultval=yes
7207               else
7208                   defaultval=no
7209               fi
7210           fi
7211
7212           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7213 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7214           # Check whether --enable-geometry was given.
7215 if test "${enable_geometry+set}" = set; then
7216   enableval=$enable_geometry;
7217                           if test "$enableval" = yes; then
7218                             wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
7219                           else
7220                             wx_cv_use_geometry='wxUSE_GEOMETRY=no'
7221                           fi
7222
7223 else
7224
7225                           wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7226
7227 fi
7228
7229
7230           eval "$wx_cv_use_geometry"
7231
7232           if test x"$enablestring" = xdisable; then
7233             if test $wxUSE_GEOMETRY = no; then
7234               result=yes
7235             else
7236               result=no
7237             fi
7238           else
7239             result=$wxUSE_GEOMETRY
7240           fi
7241
7242           { echo "$as_me:$LINENO: result: $result" >&5
7243 echo "${ECHO_T}$result" >&6; }
7244
7245
7246           enablestring=
7247           defaultval=$wxUSE_ALL_FEATURES
7248           if test -z "$defaultval"; then
7249               if test x"$enablestring" = xdisable; then
7250                   defaultval=yes
7251               else
7252                   defaultval=no
7253               fi
7254           fi
7255
7256           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7257 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7258           # Check whether --enable-log was given.
7259 if test "${enable_log+set}" = set; then
7260   enableval=$enable_log;
7261                           if test "$enableval" = yes; then
7262                             wx_cv_use_log='wxUSE_LOG=yes'
7263                           else
7264                             wx_cv_use_log='wxUSE_LOG=no'
7265                           fi
7266
7267 else
7268
7269                           wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7270
7271 fi
7272
7273
7274           eval "$wx_cv_use_log"
7275
7276           if test x"$enablestring" = xdisable; then
7277             if test $wxUSE_LOG = no; then
7278               result=yes
7279             else
7280               result=no
7281             fi
7282           else
7283             result=$wxUSE_LOG
7284           fi
7285
7286           { echo "$as_me:$LINENO: result: $result" >&5
7287 echo "${ECHO_T}$result" >&6; }
7288
7289
7290           enablestring=
7291           defaultval=$wxUSE_ALL_FEATURES
7292           if test -z "$defaultval"; then
7293               if test x"$enablestring" = xdisable; then
7294                   defaultval=yes
7295               else
7296                   defaultval=no
7297               fi
7298           fi
7299
7300           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
7301 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
7302           # Check whether --enable-longlong was given.
7303 if test "${enable_longlong+set}" = set; then
7304   enableval=$enable_longlong;
7305                           if test "$enableval" = yes; then
7306                             wx_cv_use_longlong='wxUSE_LONGLONG=yes'
7307                           else
7308                             wx_cv_use_longlong='wxUSE_LONGLONG=no'
7309                           fi
7310
7311 else
7312
7313                           wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7314
7315 fi
7316
7317
7318           eval "$wx_cv_use_longlong"
7319
7320           if test x"$enablestring" = xdisable; then
7321             if test $wxUSE_LONGLONG = no; then
7322               result=yes
7323             else
7324               result=no
7325             fi
7326           else
7327             result=$wxUSE_LONGLONG
7328           fi
7329
7330           { echo "$as_me:$LINENO: result: $result" >&5
7331 echo "${ECHO_T}$result" >&6; }
7332
7333
7334           enablestring=
7335           defaultval=$wxUSE_ALL_FEATURES
7336           if test -z "$defaultval"; then
7337               if test x"$enablestring" = xdisable; then
7338                   defaultval=yes
7339               else
7340                   defaultval=no
7341               fi
7342           fi
7343
7344           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7345 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7346           # Check whether --enable-mimetype was given.
7347 if test "${enable_mimetype+set}" = set; then
7348   enableval=$enable_mimetype;
7349                           if test "$enableval" = yes; then
7350                             wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
7351                           else
7352                             wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
7353                           fi
7354
7355 else
7356
7357                           wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7358
7359 fi
7360
7361
7362           eval "$wx_cv_use_mimetype"
7363
7364           if test x"$enablestring" = xdisable; then
7365             if test $wxUSE_MIMETYPE = no; then
7366               result=yes
7367             else
7368               result=no
7369             fi
7370           else
7371             result=$wxUSE_MIMETYPE
7372           fi
7373
7374           { echo "$as_me:$LINENO: result: $result" >&5
7375 echo "${ECHO_T}$result" >&6; }
7376
7377
7378           enablestring=
7379           defaultval=$wxUSE_ALL_FEATURES
7380           if test -z "$defaultval"; then
7381               if test x"$enablestring" = xdisable; then
7382                   defaultval=yes
7383               else
7384                   defaultval=no
7385               fi
7386           fi
7387
7388           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7389 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7390           # Check whether --enable-printfposparam was given.
7391 if test "${enable_printfposparam+set}" = set; then
7392   enableval=$enable_printfposparam;
7393                           if test "$enableval" = yes; then
7394                             wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
7395                           else
7396                             wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
7397                           fi
7398
7399 else
7400
7401                           wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
7402
7403 fi
7404
7405
7406           eval "$wx_cv_use_printfposparam"
7407
7408           if test x"$enablestring" = xdisable; then
7409             if test $wxUSE_PRINTF_POS_PARAMS = no; then
7410               result=yes
7411             else
7412               result=no
7413             fi
7414           else
7415             result=$wxUSE_PRINTF_POS_PARAMS
7416           fi
7417
7418           { echo "$as_me:$LINENO: result: $result" >&5
7419 echo "${ECHO_T}$result" >&6; }
7420
7421
7422           enablestring=
7423           defaultval=$wxUSE_ALL_FEATURES
7424           if test -z "$defaultval"; then
7425               if test x"$enablestring" = xdisable; then
7426                   defaultval=yes
7427               else
7428                   defaultval=no
7429               fi
7430           fi
7431
7432           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
7433 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
7434           # Check whether --enable-snglinst was given.
7435 if test "${enable_snglinst+set}" = set; then
7436   enableval=$enable_snglinst;
7437                           if test "$enableval" = yes; then
7438                             wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
7439                           else
7440                             wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
7441                           fi
7442
7443 else
7444
7445                           wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7446
7447 fi
7448
7449
7450           eval "$wx_cv_use_snglinst"
7451
7452           if test x"$enablestring" = xdisable; then
7453             if test $wxUSE_SNGLINST_CHECKER = no; then
7454               result=yes
7455             else
7456               result=no
7457             fi
7458           else
7459             result=$wxUSE_SNGLINST_CHECKER
7460           fi
7461
7462           { echo "$as_me:$LINENO: result: $result" >&5
7463 echo "${ECHO_T}$result" >&6; }
7464
7465
7466           enablestring=
7467           defaultval=$wxUSE_ALL_FEATURES
7468           if test -z "$defaultval"; then
7469               if test x"$enablestring" = xdisable; then
7470                   defaultval=yes
7471               else
7472                   defaultval=no
7473               fi
7474           fi
7475
7476           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7477 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7478           # Check whether --enable-sound was given.
7479 if test "${enable_sound+set}" = set; then
7480   enableval=$enable_sound;
7481                           if test "$enableval" = yes; then
7482                             wx_cv_use_sound='wxUSE_SOUND=yes'
7483                           else
7484                             wx_cv_use_sound='wxUSE_SOUND=no'
7485                           fi
7486
7487 else
7488
7489                           wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
7490
7491 fi
7492
7493
7494           eval "$wx_cv_use_sound"
7495
7496           if test x"$enablestring" = xdisable; then
7497             if test $wxUSE_SOUND = no; then
7498               result=yes
7499             else
7500               result=no
7501             fi
7502           else
7503             result=$wxUSE_SOUND
7504           fi
7505
7506           { echo "$as_me:$LINENO: result: $result" >&5
7507 echo "${ECHO_T}$result" >&6; }
7508
7509
7510           enablestring=
7511           defaultval=$wxUSE_ALL_FEATURES
7512           if test -z "$defaultval"; then
7513               if test x"$enablestring" = xdisable; then
7514                   defaultval=yes
7515               else
7516                   defaultval=no
7517               fi
7518           fi
7519
7520           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7521 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7522           # Check whether --enable-stdpaths was given.
7523 if test "${enable_stdpaths+set}" = set; then
7524   enableval=$enable_stdpaths;
7525                           if test "$enableval" = yes; then
7526                             wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
7527                           else
7528                             wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
7529                           fi
7530
7531 else
7532
7533                           wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7534
7535 fi
7536
7537
7538           eval "$wx_cv_use_stdpaths"
7539
7540           if test x"$enablestring" = xdisable; then
7541             if test $wxUSE_STDPATHS = no; then
7542               result=yes
7543             else
7544               result=no
7545             fi
7546           else
7547             result=$wxUSE_STDPATHS
7548           fi
7549
7550           { echo "$as_me:$LINENO: result: $result" >&5
7551 echo "${ECHO_T}$result" >&6; }
7552
7553
7554           enablestring=
7555           defaultval=$wxUSE_ALL_FEATURES
7556           if test -z "$defaultval"; then
7557               if test x"$enablestring" = xdisable; then
7558                   defaultval=yes
7559               else
7560                   defaultval=no
7561               fi
7562           fi
7563
7564           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
7565 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
7566           # Check whether --enable-stopwatch was given.
7567 if test "${enable_stopwatch+set}" = set; then
7568   enableval=$enable_stopwatch;
7569                           if test "$enableval" = yes; then
7570                             wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
7571                           else
7572                             wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
7573                           fi
7574
7575 else
7576
7577                           wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7578
7579 fi
7580
7581
7582           eval "$wx_cv_use_stopwatch"
7583
7584           if test x"$enablestring" = xdisable; then
7585             if test $wxUSE_STOPWATCH = no; then
7586               result=yes
7587             else
7588               result=no
7589             fi
7590           else
7591             result=$wxUSE_STOPWATCH
7592           fi
7593
7594           { echo "$as_me:$LINENO: result: $result" >&5
7595 echo "${ECHO_T}$result" >&6; }
7596
7597
7598           enablestring=
7599           defaultval=$wxUSE_ALL_FEATURES
7600           if test -z "$defaultval"; then
7601               if test x"$enablestring" = xdisable; then
7602                   defaultval=yes
7603               else
7604                   defaultval=no
7605               fi
7606           fi
7607
7608           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
7609 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
7610           # Check whether --enable-streams was given.
7611 if test "${enable_streams+set}" = set; then
7612   enableval=$enable_streams;
7613                           if test "$enableval" = yes; then
7614                             wx_cv_use_streams='wxUSE_STREAMS=yes'
7615                           else
7616                             wx_cv_use_streams='wxUSE_STREAMS=no'
7617                           fi
7618
7619 else
7620
7621                           wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7622
7623 fi
7624
7625
7626           eval "$wx_cv_use_streams"
7627
7628           if test x"$enablestring" = xdisable; then
7629             if test $wxUSE_STREAMS = no; then
7630               result=yes
7631             else
7632               result=no
7633             fi
7634           else
7635             result=$wxUSE_STREAMS
7636           fi
7637
7638           { echo "$as_me:$LINENO: result: $result" >&5
7639 echo "${ECHO_T}$result" >&6; }
7640
7641
7642           enablestring=
7643           defaultval=$wxUSE_ALL_FEATURES
7644           if test -z "$defaultval"; then
7645               if test x"$enablestring" = xdisable; then
7646                   defaultval=yes
7647               else
7648                   defaultval=no
7649               fi
7650           fi
7651
7652           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
7653 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
7654           # Check whether --enable-system_options was given.
7655 if test "${enable_system_options+set}" = set; then
7656   enableval=$enable_system_options;
7657                           if test "$enableval" = yes; then
7658                             wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
7659                           else
7660                             wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
7661                           fi
7662
7663 else
7664
7665                           wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
7666
7667 fi
7668
7669
7670           eval "$wx_cv_use_system_options"
7671
7672           if test x"$enablestring" = xdisable; then
7673             if test $wxUSE_SYSTEM_OPTIONS = no; then
7674               result=yes
7675             else
7676               result=no
7677             fi
7678           else
7679             result=$wxUSE_SYSTEM_OPTIONS
7680           fi
7681
7682           { echo "$as_me:$LINENO: result: $result" >&5
7683 echo "${ECHO_T}$result" >&6; }
7684
7685
7686           enablestring=
7687           defaultval=$wxUSE_ALL_FEATURES
7688           if test -z "$defaultval"; then
7689               if test x"$enablestring" = xdisable; then
7690                   defaultval=yes
7691               else
7692                   defaultval=no
7693               fi
7694           fi
7695
7696           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
7697 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
7698           # Check whether --enable-tarstream was given.
7699 if test "${enable_tarstream+set}" = set; then
7700   enableval=$enable_tarstream;
7701                           if test "$enableval" = yes; then
7702                             wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
7703                           else
7704                             wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
7705                           fi
7706
7707 else
7708
7709                           wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
7710
7711 fi
7712
7713
7714           eval "$wx_cv_use_tarstream"
7715
7716           if test x"$enablestring" = xdisable; then
7717             if test $wxUSE_TARSTREAM = no; then
7718               result=yes
7719             else
7720               result=no
7721             fi
7722           else
7723             result=$wxUSE_TARSTREAM
7724           fi
7725
7726           { echo "$as_me:$LINENO: result: $result" >&5
7727 echo "${ECHO_T}$result" >&6; }
7728
7729
7730           enablestring=
7731           defaultval=$wxUSE_ALL_FEATURES
7732           if test -z "$defaultval"; then
7733               if test x"$enablestring" = xdisable; then
7734                   defaultval=yes
7735               else
7736                   defaultval=no
7737               fi
7738           fi
7739
7740           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
7741 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
7742           # Check whether --enable-textbuf was given.
7743 if test "${enable_textbuf+set}" = set; then
7744   enableval=$enable_textbuf;
7745                           if test "$enableval" = yes; then
7746                             wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
7747                           else
7748                             wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
7749                           fi
7750
7751 else
7752
7753                           wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
7754
7755 fi
7756
7757
7758           eval "$wx_cv_use_textbuf"
7759
7760           if test x"$enablestring" = xdisable; then
7761             if test $wxUSE_TEXTBUFFER = no; then
7762               result=yes
7763             else
7764               result=no
7765             fi
7766           else
7767             result=$wxUSE_TEXTBUFFER
7768           fi
7769
7770           { echo "$as_me:$LINENO: result: $result" >&5
7771 echo "${ECHO_T}$result" >&6; }
7772
7773
7774           enablestring=
7775           defaultval=$wxUSE_ALL_FEATURES
7776           if test -z "$defaultval"; then
7777               if test x"$enablestring" = xdisable; then
7778                   defaultval=yes
7779               else
7780                   defaultval=no
7781               fi
7782           fi
7783
7784           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7785 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
7786           # Check whether --enable-textfile was given.
7787 if test "${enable_textfile+set}" = set; then
7788   enableval=$enable_textfile;
7789                           if test "$enableval" = yes; then
7790                             wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
7791                           else
7792                             wx_cv_use_textfile='wxUSE_TEXTFILE=no'
7793                           fi
7794
7795 else
7796
7797                           wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
7798
7799 fi
7800
7801
7802           eval "$wx_cv_use_textfile"
7803
7804           if test x"$enablestring" = xdisable; then
7805             if test $wxUSE_TEXTFILE = no; then
7806               result=yes
7807             else
7808               result=no
7809             fi
7810           else
7811             result=$wxUSE_TEXTFILE
7812           fi
7813
7814           { echo "$as_me:$LINENO: result: $result" >&5
7815 echo "${ECHO_T}$result" >&6; }
7816
7817
7818           enablestring=
7819           defaultval=$wxUSE_ALL_FEATURES
7820           if test -z "$defaultval"; then
7821               if test x"$enablestring" = xdisable; then
7822                   defaultval=yes
7823               else
7824                   defaultval=no
7825               fi
7826           fi
7827
7828           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
7829 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
7830           # Check whether --enable-timer was given.
7831 if test "${enable_timer+set}" = set; then
7832   enableval=$enable_timer;
7833                           if test "$enableval" = yes; then
7834                             wx_cv_use_timer='wxUSE_TIMER=yes'
7835                           else
7836                             wx_cv_use_timer='wxUSE_TIMER=no'
7837                           fi
7838
7839 else
7840
7841                           wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
7842
7843 fi
7844
7845
7846           eval "$wx_cv_use_timer"
7847
7848           if test x"$enablestring" = xdisable; then
7849             if test $wxUSE_TIMER = no; then
7850               result=yes
7851             else
7852               result=no
7853             fi
7854           else
7855             result=$wxUSE_TIMER
7856           fi
7857
7858           { echo "$as_me:$LINENO: result: $result" >&5
7859 echo "${ECHO_T}$result" >&6; }
7860
7861
7862           enablestring=
7863           defaultval=$wxUSE_ALL_FEATURES
7864           if test -z "$defaultval"; then
7865               if test x"$enablestring" = xdisable; then
7866                   defaultval=yes
7867               else
7868                   defaultval=no
7869               fi
7870           fi
7871
7872           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
7873 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
7874           # Check whether --enable-variant was given.
7875 if test "${enable_variant+set}" = set; then
7876   enableval=$enable_variant;
7877                           if test "$enableval" = yes; then
7878                             wx_cv_use_variant='wxUSE_VARIANT=yes'
7879                           else
7880                             wx_cv_use_variant='wxUSE_VARIANT=no'
7881                           fi
7882
7883 else
7884
7885                           wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
7886
7887 fi
7888
7889
7890           eval "$wx_cv_use_variant"
7891
7892           if test x"$enablestring" = xdisable; then
7893             if test $wxUSE_VARIANT = no; then
7894               result=yes
7895             else
7896               result=no
7897             fi
7898           else
7899             result=$wxUSE_VARIANT
7900           fi
7901
7902           { echo "$as_me:$LINENO: result: $result" >&5
7903 echo "${ECHO_T}$result" >&6; }
7904
7905
7906           enablestring=
7907           defaultval=$wxUSE_ALL_FEATURES
7908           if test -z "$defaultval"; then
7909               if test x"$enablestring" = xdisable; then
7910                   defaultval=yes
7911               else
7912                   defaultval=no
7913               fi
7914           fi
7915
7916           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
7917 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
7918           # Check whether --enable-zipstream was given.
7919 if test "${enable_zipstream+set}" = set; then
7920   enableval=$enable_zipstream;
7921                           if test "$enableval" = yes; then
7922                             wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
7923                           else
7924                             wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
7925                           fi
7926
7927 else
7928
7929                           wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
7930
7931 fi
7932
7933
7934           eval "$wx_cv_use_zipstream"
7935
7936           if test x"$enablestring" = xdisable; then
7937             if test $wxUSE_ZIPSTREAM = no; then
7938               result=yes
7939             else
7940               result=no
7941             fi
7942           else
7943             result=$wxUSE_ZIPSTREAM
7944           fi
7945
7946           { echo "$as_me:$LINENO: result: $result" >&5
7947 echo "${ECHO_T}$result" >&6; }
7948
7949
7950
7951           enablestring=
7952           defaultval=$wxUSE_ALL_FEATURES
7953           if test -z "$defaultval"; then
7954               if test x"$enablestring" = xdisable; then
7955                   defaultval=yes
7956               else
7957                   defaultval=no
7958               fi
7959           fi
7960
7961           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
7962 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
7963           # Check whether --enable-url was given.
7964 if test "${enable_url+set}" = set; then
7965   enableval=$enable_url;
7966                           if test "$enableval" = yes; then
7967                             wx_cv_use_url='wxUSE_URL=yes'
7968                           else
7969                             wx_cv_use_url='wxUSE_URL=no'
7970                           fi
7971
7972 else
7973
7974                           wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
7975
7976 fi
7977
7978
7979           eval "$wx_cv_use_url"
7980
7981           if test x"$enablestring" = xdisable; then
7982             if test $wxUSE_URL = no; then
7983               result=yes
7984             else
7985               result=no
7986             fi
7987           else
7988             result=$wxUSE_URL
7989           fi
7990
7991           { echo "$as_me:$LINENO: result: $result" >&5
7992 echo "${ECHO_T}$result" >&6; }
7993
7994
7995           enablestring=
7996           defaultval=$wxUSE_ALL_FEATURES
7997           if test -z "$defaultval"; then
7998               if test x"$enablestring" = xdisable; then
7999                   defaultval=yes
8000               else
8001                   defaultval=no
8002               fi
8003           fi
8004
8005           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
8006 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
8007           # Check whether --enable-protocol was given.
8008 if test "${enable_protocol+set}" = set; then
8009   enableval=$enable_protocol;
8010                           if test "$enableval" = yes; then
8011                             wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
8012                           else
8013                             wx_cv_use_protocol='wxUSE_PROTOCOL=no'
8014                           fi
8015
8016 else
8017
8018                           wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
8019
8020 fi
8021
8022
8023           eval "$wx_cv_use_protocol"
8024
8025           if test x"$enablestring" = xdisable; then
8026             if test $wxUSE_PROTOCOL = no; then
8027               result=yes
8028             else
8029               result=no
8030             fi
8031           else
8032             result=$wxUSE_PROTOCOL
8033           fi
8034
8035           { echo "$as_me:$LINENO: result: $result" >&5
8036 echo "${ECHO_T}$result" >&6; }
8037
8038
8039           enablestring=
8040           defaultval=$wxUSE_ALL_FEATURES
8041           if test -z "$defaultval"; then
8042               if test x"$enablestring" = xdisable; then
8043                   defaultval=yes
8044               else
8045                   defaultval=no
8046               fi
8047           fi
8048
8049           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
8050 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
8051           # Check whether --enable-protocol_http was given.
8052 if test "${enable_protocol_http+set}" = set; then
8053   enableval=$enable_protocol_http;
8054                           if test "$enableval" = yes; then
8055                             wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
8056                           else
8057                             wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
8058                           fi
8059
8060 else
8061
8062                           wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
8063
8064 fi
8065
8066
8067           eval "$wx_cv_use_protocol_http"
8068
8069           if test x"$enablestring" = xdisable; then
8070             if test $wxUSE_PROTOCOL_HTTP = no; then
8071               result=yes
8072             else
8073               result=no
8074             fi
8075           else
8076             result=$wxUSE_PROTOCOL_HTTP
8077           fi
8078
8079           { echo "$as_me:$LINENO: result: $result" >&5
8080 echo "${ECHO_T}$result" >&6; }
8081
8082
8083           enablestring=
8084           defaultval=$wxUSE_ALL_FEATURES
8085           if test -z "$defaultval"; then
8086               if test x"$enablestring" = xdisable; then
8087                   defaultval=yes
8088               else
8089                   defaultval=no
8090               fi
8091           fi
8092
8093           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
8094 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
8095           # Check whether --enable-protocol_ftp was given.
8096 if test "${enable_protocol_ftp+set}" = set; then
8097   enableval=$enable_protocol_ftp;
8098                           if test "$enableval" = yes; then
8099                             wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
8100                           else
8101                             wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
8102                           fi
8103
8104 else
8105
8106                           wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8107
8108 fi
8109
8110
8111           eval "$wx_cv_use_protocol_ftp"
8112
8113           if test x"$enablestring" = xdisable; then
8114             if test $wxUSE_PROTOCOL_FTP = no; then
8115               result=yes
8116             else
8117               result=no
8118             fi
8119           else
8120             result=$wxUSE_PROTOCOL_FTP
8121           fi
8122
8123           { echo "$as_me:$LINENO: result: $result" >&5
8124 echo "${ECHO_T}$result" >&6; }
8125
8126
8127           enablestring=
8128           defaultval=$wxUSE_ALL_FEATURES
8129           if test -z "$defaultval"; then
8130               if test x"$enablestring" = xdisable; then
8131                   defaultval=yes
8132               else
8133                   defaultval=no
8134               fi
8135           fi
8136
8137           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
8138 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
8139           # Check whether --enable-protocol_file was given.
8140 if test "${enable_protocol_file+set}" = set; then
8141   enableval=$enable_protocol_file;
8142                           if test "$enableval" = yes; then
8143                             wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
8144                           else
8145                             wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
8146                           fi
8147
8148 else
8149
8150                           wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8151
8152 fi
8153
8154
8155           eval "$wx_cv_use_protocol_file"
8156
8157           if test x"$enablestring" = xdisable; then
8158             if test $wxUSE_PROTOCOL_FILE = no; then
8159               result=yes
8160             else
8161               result=no
8162             fi
8163           else
8164             result=$wxUSE_PROTOCOL_FILE
8165           fi
8166
8167           { echo "$as_me:$LINENO: result: $result" >&5
8168 echo "${ECHO_T}$result" >&6; }
8169
8170
8171
8172           enablestring=
8173           defaultval=$wxUSE_ALL_FEATURES
8174           if test -z "$defaultval"; then
8175               if test x"$enablestring" = xdisable; then
8176                   defaultval=yes
8177               else
8178                   defaultval=no
8179               fi
8180           fi
8181
8182           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
8183 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
8184           # Check whether --enable-threads was given.
8185 if test "${enable_threads+set}" = set; then
8186   enableval=$enable_threads;
8187                           if test "$enableval" = yes; then
8188                             wx_cv_use_threads='wxUSE_THREADS=yes'
8189                           else
8190                             wx_cv_use_threads='wxUSE_THREADS=no'
8191                           fi
8192
8193 else
8194
8195                           wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8196
8197 fi
8198
8199
8200           eval "$wx_cv_use_threads"
8201
8202           if test x"$enablestring" = xdisable; then
8203             if test $wxUSE_THREADS = no; then
8204               result=yes
8205             else
8206               result=no
8207             fi
8208           else
8209             result=$wxUSE_THREADS
8210           fi
8211
8212           { echo "$as_me:$LINENO: result: $result" >&5
8213 echo "${ECHO_T}$result" >&6; }
8214
8215
8216
8217           enablestring=
8218           defaultval=
8219           if test -z "$defaultval"; then
8220               if test x"$enablestring" = xdisable; then
8221                   defaultval=yes
8222               else
8223                   defaultval=no
8224               fi
8225           fi
8226
8227           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iniconf" >&5
8228 echo $ECHO_N "checking for --${enablestring:-enable}-iniconf... $ECHO_C" >&6; }
8229           # Check whether --enable-iniconf was given.
8230 if test "${enable_iniconf+set}" = set; then
8231   enableval=$enable_iniconf;
8232                           if test "$enableval" = yes; then
8233                             wx_cv_use_iniconf='wxUSE_INICONF=yes'
8234                           else
8235                             wx_cv_use_iniconf='wxUSE_INICONF=no'
8236                           fi
8237
8238 else
8239
8240                           wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
8241
8242 fi
8243
8244
8245           eval "$wx_cv_use_iniconf"
8246
8247           if test x"$enablestring" = xdisable; then
8248             if test $wxUSE_INICONF = no; then
8249               result=yes
8250             else
8251               result=no
8252             fi
8253           else
8254             result=$wxUSE_INICONF
8255           fi
8256
8257           { echo "$as_me:$LINENO: result: $result" >&5
8258 echo "${ECHO_T}$result" >&6; }
8259
8260
8261           enablestring=
8262           defaultval=$wxUSE_ALL_FEATURES
8263           if test -z "$defaultval"; then
8264               if test x"$enablestring" = xdisable; then
8265                   defaultval=yes
8266               else
8267                   defaultval=no
8268               fi
8269           fi
8270
8271           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
8272 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
8273           # Check whether --enable-regkey was given.
8274 if test "${enable_regkey+set}" = set; then
8275   enableval=$enable_regkey;
8276                           if test "$enableval" = yes; then
8277                             wx_cv_use_regkey='wxUSE_REGKEY=yes'
8278                           else
8279                             wx_cv_use_regkey='wxUSE_REGKEY=no'
8280                           fi
8281
8282 else
8283
8284                           wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
8285
8286 fi
8287
8288
8289           eval "$wx_cv_use_regkey"
8290
8291           if test x"$enablestring" = xdisable; then
8292             if test $wxUSE_REGKEY = no; then
8293               result=yes
8294             else
8295               result=no
8296             fi
8297           else
8298             result=$wxUSE_REGKEY
8299           fi
8300
8301           { echo "$as_me:$LINENO: result: $result" >&5
8302 echo "${ECHO_T}$result" >&6; }
8303
8304
8305 if test "$wxUSE_GUI" = "yes"; then
8306
8307
8308
8309           enablestring=
8310           defaultval=$wxUSE_ALL_FEATURES
8311           if test -z "$defaultval"; then
8312               if test x"$enablestring" = xdisable; then
8313                   defaultval=yes
8314               else
8315                   defaultval=no
8316               fi
8317           fi
8318
8319           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8320 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8321           # Check whether --enable-docview was given.
8322 if test "${enable_docview+set}" = set; then
8323   enableval=$enable_docview;
8324                           if test "$enableval" = yes; then
8325                             wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
8326                           else
8327                             wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
8328                           fi
8329
8330 else
8331
8332                           wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8333
8334 fi
8335
8336
8337           eval "$wx_cv_use_docview"
8338
8339           if test x"$enablestring" = xdisable; then
8340             if test $wxUSE_DOC_VIEW_ARCHITECTURE = no; then
8341               result=yes
8342             else
8343               result=no
8344             fi
8345           else
8346             result=$wxUSE_DOC_VIEW_ARCHITECTURE
8347           fi
8348
8349           { echo "$as_me:$LINENO: result: $result" >&5
8350 echo "${ECHO_T}$result" >&6; }
8351
8352
8353           enablestring=
8354           defaultval=$wxUSE_ALL_FEATURES
8355           if test -z "$defaultval"; then
8356               if test x"$enablestring" = xdisable; then
8357                   defaultval=yes
8358               else
8359                   defaultval=no
8360               fi
8361           fi
8362
8363           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
8364 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
8365           # Check whether --enable-help was given.
8366 if test "${enable_help+set}" = set; then
8367   enableval=$enable_help;
8368                           if test "$enableval" = yes; then
8369                             wx_cv_use_help='wxUSE_HELP=yes'
8370                           else
8371                             wx_cv_use_help='wxUSE_HELP=no'
8372                           fi
8373
8374 else
8375
8376                           wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8377
8378 fi
8379
8380
8381           eval "$wx_cv_use_help"
8382
8383           if test x"$enablestring" = xdisable; then
8384             if test $wxUSE_HELP = no; then
8385               result=yes
8386             else
8387               result=no
8388             fi
8389           else
8390             result=$wxUSE_HELP
8391           fi
8392
8393           { echo "$as_me:$LINENO: result: $result" >&5
8394 echo "${ECHO_T}$result" >&6; }
8395
8396
8397           enablestring=
8398           defaultval=$wxUSE_ALL_FEATURES
8399           if test -z "$defaultval"; then
8400               if test x"$enablestring" = xdisable; then
8401                   defaultval=yes
8402               else
8403                   defaultval=no
8404               fi
8405           fi
8406
8407           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
8408 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
8409           # Check whether --enable-mshtmlhelp was given.
8410 if test "${enable_mshtmlhelp+set}" = set; then
8411   enableval=$enable_mshtmlhelp;
8412                           if test "$enableval" = yes; then
8413                             wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
8414                           else
8415                             wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
8416                           fi
8417
8418 else
8419
8420                           wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8421
8422 fi
8423
8424
8425           eval "$wx_cv_use_mshtmlhelp"
8426
8427           if test x"$enablestring" = xdisable; then
8428             if test $wxUSE_MS_HTML_HELP = no; then
8429               result=yes
8430             else
8431               result=no
8432             fi
8433           else
8434             result=$wxUSE_MS_HTML_HELP
8435           fi
8436
8437           { echo "$as_me:$LINENO: result: $result" >&5
8438 echo "${ECHO_T}$result" >&6; }
8439
8440
8441           enablestring=
8442           defaultval=$wxUSE_ALL_FEATURES
8443           if test -z "$defaultval"; then
8444               if test x"$enablestring" = xdisable; then
8445                   defaultval=yes
8446               else
8447                   defaultval=no
8448               fi
8449           fi
8450
8451           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
8452 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
8453           # Check whether --enable-html was given.
8454 if test "${enable_html+set}" = set; then
8455   enableval=$enable_html;
8456                           if test "$enableval" = yes; then
8457                             wx_cv_use_html='wxUSE_HTML=yes'
8458                           else
8459                             wx_cv_use_html='wxUSE_HTML=no'
8460                           fi
8461
8462 else
8463
8464                           wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
8465
8466 fi
8467
8468
8469           eval "$wx_cv_use_html"
8470
8471           if test x"$enablestring" = xdisable; then
8472             if test $wxUSE_HTML = no; then
8473               result=yes
8474             else
8475               result=no
8476             fi
8477           else
8478             result=$wxUSE_HTML
8479           fi
8480
8481           { echo "$as_me:$LINENO: result: $result" >&5
8482 echo "${ECHO_T}$result" >&6; }
8483
8484
8485           enablestring=
8486           defaultval=$wxUSE_ALL_FEATURES
8487           if test -z "$defaultval"; then
8488               if test x"$enablestring" = xdisable; then
8489                   defaultval=yes
8490               else
8491                   defaultval=no
8492               fi
8493           fi
8494
8495           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
8496 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
8497           # Check whether --enable-htmlhelp was given.
8498 if test "${enable_htmlhelp+set}" = set; then
8499   enableval=$enable_htmlhelp;
8500                           if test "$enableval" = yes; then
8501                             wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
8502                           else
8503                             wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
8504                           fi
8505
8506 else
8507
8508                           wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
8509
8510 fi
8511
8512
8513           eval "$wx_cv_use_htmlhelp"
8514
8515           if test x"$enablestring" = xdisable; then
8516             if test $wxUSE_WXHTML_HELP = no; then
8517               result=yes
8518             else
8519               result=no
8520             fi
8521           else
8522             result=$wxUSE_WXHTML_HELP
8523           fi
8524
8525           { echo "$as_me:$LINENO: result: $result" >&5
8526 echo "${ECHO_T}$result" >&6; }
8527
8528
8529           enablestring=
8530           defaultval=$wxUSE_ALL_FEATURES
8531           if test -z "$defaultval"; then
8532               if test x"$enablestring" = xdisable; then
8533                   defaultval=yes
8534               else
8535                   defaultval=no
8536               fi
8537           fi
8538
8539           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
8540 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
8541           # Check whether --enable-xrc was given.
8542 if test "${enable_xrc+set}" = set; then
8543   enableval=$enable_xrc;
8544                           if test "$enableval" = yes; then
8545                             wx_cv_use_xrc='wxUSE_XRC=yes'
8546                           else
8547                             wx_cv_use_xrc='wxUSE_XRC=no'
8548                           fi
8549
8550 else
8551
8552                           wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
8553
8554 fi
8555
8556
8557           eval "$wx_cv_use_xrc"
8558
8559           if test x"$enablestring" = xdisable; then
8560             if test $wxUSE_XRC = no; then
8561               result=yes
8562             else
8563               result=no
8564             fi
8565           else
8566             result=$wxUSE_XRC
8567           fi
8568
8569           { echo "$as_me:$LINENO: result: $result" >&5
8570 echo "${ECHO_T}$result" >&6; }
8571
8572
8573           enablestring=
8574           defaultval=$wxUSE_ALL_FEATURES
8575           if test -z "$defaultval"; then
8576               if test x"$enablestring" = xdisable; then
8577                   defaultval=yes
8578               else
8579                   defaultval=no
8580               fi
8581           fi
8582
8583           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8584 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8585           # Check whether --enable-aui was given.
8586 if test "${enable_aui+set}" = set; then
8587   enableval=$enable_aui;
8588                           if test "$enableval" = yes; then
8589                             wx_cv_use_aui='wxUSE_AUI=yes'
8590                           else
8591                             wx_cv_use_aui='wxUSE_AUI=no'
8592                           fi
8593
8594 else
8595
8596                           wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
8597
8598 fi
8599
8600
8601           eval "$wx_cv_use_aui"
8602
8603           if test x"$enablestring" = xdisable; then
8604             if test $wxUSE_AUI = no; then
8605               result=yes
8606             else
8607               result=no
8608             fi
8609           else
8610             result=$wxUSE_AUI
8611           fi
8612
8613           { echo "$as_me:$LINENO: result: $result" >&5
8614 echo "${ECHO_T}$result" >&6; }
8615
8616
8617           enablestring=
8618           defaultval=$wxUSE_ALL_FEATURES
8619           if test -z "$defaultval"; then
8620               if test x"$enablestring" = xdisable; then
8621                   defaultval=yes
8622               else
8623                   defaultval=no
8624               fi
8625           fi
8626
8627           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-propgrid" >&5
8628 echo $ECHO_N "checking for --${enablestring:-enable}-propgrid... $ECHO_C" >&6; }
8629           # Check whether --enable-propgrid was given.
8630 if test "${enable_propgrid+set}" = set; then
8631   enableval=$enable_propgrid;
8632                           if test "$enableval" = yes; then
8633                             wx_cv_use_propgrid='wxUSE_PROPGRID=yes'
8634                           else
8635                             wx_cv_use_propgrid='wxUSE_PROPGRID=no'
8636                           fi
8637
8638 else
8639
8640                           wx_cv_use_propgrid='wxUSE_PROPGRID=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}"
8641
8642 fi
8643
8644
8645           eval "$wx_cv_use_propgrid"
8646
8647           if test x"$enablestring" = xdisable; then
8648             if test $wxUSE_PROPGRID = no; then
8649               result=yes
8650             else
8651               result=no
8652             fi
8653           else
8654             result=$wxUSE_PROPGRID
8655           fi
8656
8657           { echo "$as_me:$LINENO: result: $result" >&5
8658 echo "${ECHO_T}$result" >&6; }
8659
8660
8661           enablestring=
8662           defaultval=$wxUSE_ALL_FEATURES
8663           if test -z "$defaultval"; then
8664               if test x"$enablestring" = xdisable; then
8665                   defaultval=yes
8666               else
8667                   defaultval=no
8668               fi
8669           fi
8670
8671           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ribbon" >&5
8672 echo $ECHO_N "checking for --${enablestring:-enable}-ribbon... $ECHO_C" >&6; }
8673           # Check whether --enable-ribbon was given.
8674 if test "${enable_ribbon+set}" = set; then
8675   enableval=$enable_ribbon;
8676                           if test "$enableval" = yes; then
8677                             wx_cv_use_ribbon='wxUSE_RIBBON=yes'
8678                           else
8679                             wx_cv_use_ribbon='wxUSE_RIBBON=no'
8680                           fi
8681
8682 else
8683
8684                           wx_cv_use_ribbon='wxUSE_RIBBON=${'DEFAULT_wxUSE_RIBBON":-$defaultval}"
8685
8686 fi
8687
8688
8689           eval "$wx_cv_use_ribbon"
8690
8691           if test x"$enablestring" = xdisable; then
8692             if test $wxUSE_RIBBON = no; then
8693               result=yes
8694             else
8695               result=no
8696             fi
8697           else
8698             result=$wxUSE_RIBBON
8699           fi
8700
8701           { echo "$as_me:$LINENO: result: $result" >&5
8702 echo "${ECHO_T}$result" >&6; }
8703
8704
8705           enablestring=
8706           defaultval=$wxUSE_ALL_FEATURES
8707           if test -z "$defaultval"; then
8708               if test x"$enablestring" = xdisable; then
8709                   defaultval=yes
8710               else
8711                   defaultval=no
8712               fi
8713           fi
8714
8715           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
8716 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
8717           # Check whether --enable-stc was given.
8718 if test "${enable_stc+set}" = set; then
8719   enableval=$enable_stc;
8720                           if test "$enableval" = yes; then
8721                             wx_cv_use_stc='wxUSE_STC=yes'
8722                           else
8723                             wx_cv_use_stc='wxUSE_STC=no'
8724                           fi
8725
8726 else
8727
8728                           wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
8729
8730 fi
8731
8732
8733           eval "$wx_cv_use_stc"
8734
8735           if test x"$enablestring" = xdisable; then
8736             if test $wxUSE_STC = no; then
8737               result=yes
8738             else
8739               result=no
8740             fi
8741           else
8742             result=$wxUSE_STC
8743           fi
8744
8745           { echo "$as_me:$LINENO: result: $result" >&5
8746 echo "${ECHO_T}$result" >&6; }
8747
8748
8749           enablestring=
8750           defaultval=$wxUSE_ALL_FEATURES
8751           if test -z "$defaultval"; then
8752               if test x"$enablestring" = xdisable; then
8753                   defaultval=yes
8754               else
8755                   defaultval=no
8756               fi
8757           fi
8758
8759           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
8760 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
8761           # Check whether --enable-constraints was given.
8762 if test "${enable_constraints+set}" = set; then
8763   enableval=$enable_constraints;
8764                           if test "$enableval" = yes; then
8765                             wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
8766                           else
8767                             wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
8768                           fi
8769
8770 else
8771
8772                           wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
8773
8774 fi
8775
8776
8777           eval "$wx_cv_use_constraints"
8778
8779           if test x"$enablestring" = xdisable; then
8780             if test $wxUSE_CONSTRAINTS = no; then
8781               result=yes
8782             else
8783               result=no
8784             fi
8785           else
8786             result=$wxUSE_CONSTRAINTS
8787           fi
8788
8789           { echo "$as_me:$LINENO: result: $result" >&5
8790 echo "${ECHO_T}$result" >&6; }
8791
8792
8793           enablestring=
8794           defaultval=$wxUSE_ALL_FEATURES
8795           if test -z "$defaultval"; then
8796               if test x"$enablestring" = xdisable; then
8797                   defaultval=yes
8798               else
8799                   defaultval=no
8800               fi
8801           fi
8802
8803           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
8804 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
8805           # Check whether --enable-loggui was given.
8806 if test "${enable_loggui+set}" = set; then
8807   enableval=$enable_loggui;
8808                           if test "$enableval" = yes; then
8809                             wx_cv_use_loggui='wxUSE_LOGGUI=yes'
8810                           else
8811                             wx_cv_use_loggui='wxUSE_LOGGUI=no'
8812                           fi
8813
8814 else
8815
8816                           wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
8817
8818 fi
8819
8820
8821           eval "$wx_cv_use_loggui"
8822
8823           if test x"$enablestring" = xdisable; then
8824             if test $wxUSE_LOGGUI = no; then
8825               result=yes
8826             else
8827               result=no
8828             fi
8829           else
8830             result=$wxUSE_LOGGUI
8831           fi
8832
8833           { echo "$as_me:$LINENO: result: $result" >&5
8834 echo "${ECHO_T}$result" >&6; }
8835
8836
8837           enablestring=
8838           defaultval=$wxUSE_ALL_FEATURES
8839           if test -z "$defaultval"; then
8840               if test x"$enablestring" = xdisable; then
8841                   defaultval=yes
8842               else
8843                   defaultval=no
8844               fi
8845           fi
8846
8847           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
8848 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
8849           # Check whether --enable-logwin was given.
8850 if test "${enable_logwin+set}" = set; then
8851   enableval=$enable_logwin;
8852                           if test "$enableval" = yes; then
8853                             wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
8854                           else
8855                             wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
8856                           fi
8857
8858 else
8859
8860                           wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
8861
8862 fi
8863
8864
8865           eval "$wx_cv_use_logwin"
8866
8867           if test x"$enablestring" = xdisable; then
8868             if test $wxUSE_LOGWINDOW = no; then
8869               result=yes
8870             else
8871               result=no
8872             fi
8873           else
8874             result=$wxUSE_LOGWINDOW
8875           fi
8876
8877           { echo "$as_me:$LINENO: result: $result" >&5
8878 echo "${ECHO_T}$result" >&6; }
8879
8880
8881           enablestring=
8882           defaultval=$wxUSE_ALL_FEATURES
8883           if test -z "$defaultval"; then
8884               if test x"$enablestring" = xdisable; then
8885                   defaultval=yes
8886               else
8887                   defaultval=no
8888               fi
8889           fi
8890
8891           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
8892 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
8893           # Check whether --enable-logdialog was given.
8894 if test "${enable_logdialog+set}" = set; then
8895   enableval=$enable_logdialog;
8896                           if test "$enableval" = yes; then
8897                             wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
8898                           else
8899                             wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
8900                           fi
8901
8902 else
8903
8904                           wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
8905
8906 fi
8907
8908
8909           eval "$wx_cv_use_logdialog"
8910
8911           if test x"$enablestring" = xdisable; then
8912             if test $wxUSE_LOGDIALOG = no; then
8913               result=yes
8914             else
8915               result=no
8916             fi
8917           else
8918             result=$wxUSE_LOGDIALOG
8919           fi
8920
8921           { echo "$as_me:$LINENO: result: $result" >&5
8922 echo "${ECHO_T}$result" >&6; }
8923
8924
8925           enablestring=
8926           defaultval=$wxUSE_ALL_FEATURES
8927           if test -z "$defaultval"; then
8928               if test x"$enablestring" = xdisable; then
8929                   defaultval=yes
8930               else
8931                   defaultval=no
8932               fi
8933           fi
8934
8935           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
8936 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
8937           # Check whether --enable-mdi was given.
8938 if test "${enable_mdi+set}" = set; then
8939   enableval=$enable_mdi;
8940                           if test "$enableval" = yes; then
8941                             wx_cv_use_mdi='wxUSE_MDI=yes'
8942                           else
8943                             wx_cv_use_mdi='wxUSE_MDI=no'
8944                           fi
8945
8946 else
8947
8948                           wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
8949
8950 fi
8951
8952
8953           eval "$wx_cv_use_mdi"
8954
8955           if test x"$enablestring" = xdisable; then
8956             if test $wxUSE_MDI = no; then
8957               result=yes
8958             else
8959               result=no
8960             fi
8961           else
8962             result=$wxUSE_MDI
8963           fi
8964
8965           { echo "$as_me:$LINENO: result: $result" >&5
8966 echo "${ECHO_T}$result" >&6; }
8967
8968
8969           enablestring=
8970           defaultval=$wxUSE_ALL_FEATURES
8971           if test -z "$defaultval"; then
8972               if test x"$enablestring" = xdisable; then
8973                   defaultval=yes
8974               else
8975                   defaultval=no
8976               fi
8977           fi
8978
8979           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
8980 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
8981           # Check whether --enable-mdidoc was given.
8982 if test "${enable_mdidoc+set}" = set; then
8983   enableval=$enable_mdidoc;
8984                           if test "$enableval" = yes; then
8985                             wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
8986                           else
8987                             wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
8988                           fi
8989
8990 else
8991
8992                           wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
8993
8994 fi
8995
8996
8997           eval "$wx_cv_use_mdidoc"
8998
8999           if test x"$enablestring" = xdisable; then
9000             if test $wxUSE_MDI_ARCHITECTURE = no; then
9001               result=yes
9002             else
9003               result=no
9004             fi
9005           else
9006             result=$wxUSE_MDI_ARCHITECTURE
9007           fi
9008
9009           { echo "$as_me:$LINENO: result: $result" >&5
9010 echo "${ECHO_T}$result" >&6; }
9011
9012
9013           enablestring=
9014           defaultval=$wxUSE_ALL_FEATURES
9015           if test -z "$defaultval"; then
9016               if test x"$enablestring" = xdisable; then
9017                   defaultval=yes
9018               else
9019                   defaultval=no
9020               fi
9021           fi
9022
9023           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
9024 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
9025           # Check whether --enable-mediactrl was given.
9026 if test "${enable_mediactrl+set}" = set; then
9027   enableval=$enable_mediactrl;
9028                           if test "$enableval" = yes; then
9029                             wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
9030                           else
9031                             wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
9032                           fi
9033
9034 else
9035
9036                           wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
9037
9038 fi
9039
9040
9041           eval "$wx_cv_use_mediactrl"
9042
9043           if test x"$enablestring" = xdisable; then
9044             if test $wxUSE_MEDIACTRL = no; then
9045               result=yes
9046             else
9047               result=no
9048             fi
9049           else
9050             result=$wxUSE_MEDIACTRL
9051           fi
9052
9053           { echo "$as_me:$LINENO: result: $result" >&5
9054 echo "${ECHO_T}$result" >&6; }
9055
9056
9057           enablestring=
9058           defaultval=$wxUSE_ALL_FEATURES
9059           if test -z "$defaultval"; then
9060               if test x"$enablestring" = xdisable; then
9061                   defaultval=yes
9062               else
9063                   defaultval=no
9064               fi
9065           fi
9066
9067           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
9068 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
9069           # Check whether --enable-gstreamer8 was given.
9070 if test "${enable_gstreamer8+set}" = set; then
9071   enableval=$enable_gstreamer8;
9072                           if test "$enableval" = yes; then
9073                             wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
9074                           else
9075                             wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
9076                           fi
9077
9078 else
9079
9080                           wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
9081
9082 fi
9083
9084
9085           eval "$wx_cv_use_gstreamer8"
9086
9087           if test x"$enablestring" = xdisable; then
9088             if test $wxUSE_GSTREAMER8 = no; then
9089               result=yes
9090             else
9091               result=no
9092             fi
9093           else
9094             result=$wxUSE_GSTREAMER8
9095           fi
9096
9097           { echo "$as_me:$LINENO: result: $result" >&5
9098 echo "${ECHO_T}$result" >&6; }
9099
9100
9101           enablestring=
9102           defaultval=$wxUSE_ALL_FEATURES
9103           if test -z "$defaultval"; then
9104               if test x"$enablestring" = xdisable; then
9105                   defaultval=yes
9106               else
9107                   defaultval=no
9108               fi
9109           fi
9110
9111           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
9112 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
9113           # Check whether --enable-webkit was given.
9114 if test "${enable_webkit+set}" = set; then
9115   enableval=$enable_webkit;
9116                           if test "$enableval" = yes; then
9117                             wx_cv_use_webkit='wxUSE_WEBKIT=yes'
9118                           else
9119                             wx_cv_use_webkit='wxUSE_WEBKIT=no'
9120                           fi
9121
9122 else
9123
9124                           wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
9125
9126 fi
9127
9128
9129           eval "$wx_cv_use_webkit"
9130
9131           if test x"$enablestring" = xdisable; then
9132             if test $wxUSE_WEBKIT = no; then
9133               result=yes
9134             else
9135               result=no
9136             fi
9137           else
9138             result=$wxUSE_WEBKIT
9139           fi
9140
9141           { echo "$as_me:$LINENO: result: $result" >&5
9142 echo "${ECHO_T}$result" >&6; }
9143
9144
9145           enablestring=
9146           defaultval=$wxUSE_ALL_FEATURES
9147           if test -z "$defaultval"; then
9148               if test x"$enablestring" = xdisable; then
9149                   defaultval=yes
9150               else
9151                   defaultval=no
9152               fi
9153           fi
9154
9155           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
9156 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
9157           # Check whether --enable-richtext was given.
9158 if test "${enable_richtext+set}" = set; then
9159   enableval=$enable_richtext;
9160                           if test "$enableval" = yes; then
9161                             wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
9162                           else
9163                             wx_cv_use_richtext='wxUSE_RICHTEXT=no'
9164                           fi
9165
9166 else
9167
9168                           wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
9169
9170 fi
9171
9172
9173           eval "$wx_cv_use_richtext"
9174
9175           if test x"$enablestring" = xdisable; then
9176             if test $wxUSE_RICHTEXT = no; then
9177               result=yes
9178             else
9179               result=no
9180             fi
9181           else
9182             result=$wxUSE_RICHTEXT
9183           fi
9184
9185           { echo "$as_me:$LINENO: result: $result" >&5
9186 echo "${ECHO_T}$result" >&6; }
9187
9188
9189           enablestring=
9190           defaultval=$wxUSE_ALL_FEATURES
9191           if test -z "$defaultval"; then
9192               if test x"$enablestring" = xdisable; then
9193                   defaultval=yes
9194               else
9195                   defaultval=no
9196               fi
9197           fi
9198
9199           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
9200 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
9201           # Check whether --enable-graphics_ctx was given.
9202 if test "${enable_graphics_ctx+set}" = set; then
9203   enableval=$enable_graphics_ctx;
9204                           if test "$enableval" = yes; then
9205                             wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
9206                           else
9207                             wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
9208                           fi
9209
9210 else
9211
9212                           wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
9213
9214 fi
9215
9216
9217           eval "$wx_cv_use_graphics_ctx"
9218
9219           if test x"$enablestring" = xdisable; then
9220             if test $wxUSE_GRAPHICS_CONTEXT = no; then
9221               result=yes
9222             else
9223               result=no
9224             fi
9225           else
9226             result=$wxUSE_GRAPHICS_CONTEXT
9227           fi
9228
9229           { echo "$as_me:$LINENO: result: $result" >&5
9230 echo "${ECHO_T}$result" >&6; }
9231
9232
9233           enablestring=
9234           defaultval=$wxUSE_ALL_FEATURES
9235           if test -z "$defaultval"; then
9236               if test x"$enablestring" = xdisable; then
9237                   defaultval=yes
9238               else
9239                   defaultval=no
9240               fi
9241           fi
9242
9243           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
9244 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
9245           # Check whether --enable-postscript was given.
9246 if test "${enable_postscript+set}" = set; then
9247   enableval=$enable_postscript;
9248                           if test "$enableval" = yes; then
9249                             wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
9250                           else
9251                             wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
9252                           fi
9253
9254 else
9255
9256                           wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9257
9258 fi
9259
9260
9261           eval "$wx_cv_use_postscript"
9262
9263           if test x"$enablestring" = xdisable; then
9264             if test $wxUSE_POSTSCRIPT = no; then
9265               result=yes
9266             else
9267               result=no
9268             fi
9269           else
9270             result=$wxUSE_POSTSCRIPT
9271           fi
9272
9273           { echo "$as_me:$LINENO: result: $result" >&5
9274 echo "${ECHO_T}$result" >&6; }
9275
9276
9277           enablestring=
9278           defaultval=$wxUSE_ALL_FEATURES
9279           if test -z "$defaultval"; then
9280               if test x"$enablestring" = xdisable; then
9281                   defaultval=yes
9282               else
9283                   defaultval=no
9284               fi
9285           fi
9286
9287           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9288 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9289           # Check whether --enable-printarch was given.
9290 if test "${enable_printarch+set}" = set; then
9291   enableval=$enable_printarch;
9292                           if test "$enableval" = yes; then
9293                             wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
9294                           else
9295                             wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
9296                           fi
9297
9298 else
9299
9300                           wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9301
9302 fi
9303
9304
9305           eval "$wx_cv_use_printarch"
9306
9307           if test x"$enablestring" = xdisable; then
9308             if test $wxUSE_PRINTING_ARCHITECTURE = no; then
9309               result=yes
9310             else
9311               result=no
9312             fi
9313           else
9314             result=$wxUSE_PRINTING_ARCHITECTURE
9315           fi
9316
9317           { echo "$as_me:$LINENO: result: $result" >&5
9318 echo "${ECHO_T}$result" >&6; }
9319
9320
9321           enablestring=
9322           defaultval=$wxUSE_ALL_FEATURES
9323           if test -z "$defaultval"; then
9324               if test x"$enablestring" = xdisable; then
9325                   defaultval=yes
9326               else
9327                   defaultval=no
9328               fi
9329           fi
9330
9331           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
9332 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
9333           # Check whether --enable-svg was given.
9334 if test "${enable_svg+set}" = set; then
9335   enableval=$enable_svg;
9336                           if test "$enableval" = yes; then
9337                             wx_cv_use_svg='wxUSE_SVG=yes'
9338                           else
9339                             wx_cv_use_svg='wxUSE_SVG=no'
9340                           fi
9341
9342 else
9343
9344                           wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
9345
9346 fi
9347
9348
9349           eval "$wx_cv_use_svg"
9350
9351           if test x"$enablestring" = xdisable; then
9352             if test $wxUSE_SVG = no; then
9353               result=yes
9354             else
9355               result=no
9356             fi
9357           else
9358             result=$wxUSE_SVG
9359           fi
9360
9361           { echo "$as_me:$LINENO: result: $result" >&5
9362 echo "${ECHO_T}$result" >&6; }
9363
9364
9365
9366
9367           enablestring=
9368           defaultval=$wxUSE_ALL_FEATURES
9369           if test -z "$defaultval"; then
9370               if test x"$enablestring" = xdisable; then
9371                   defaultval=yes
9372               else
9373                   defaultval=no
9374               fi
9375           fi
9376
9377           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
9378 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
9379           # Check whether --enable-clipboard was given.
9380 if test "${enable_clipboard+set}" = set; then
9381   enableval=$enable_clipboard;
9382                           if test "$enableval" = yes; then
9383                             wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
9384                           else
9385                             wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
9386                           fi
9387
9388 else
9389
9390                           wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9391
9392 fi
9393
9394
9395           eval "$wx_cv_use_clipboard"
9396
9397           if test x"$enablestring" = xdisable; then
9398             if test $wxUSE_CLIPBOARD = no; then
9399               result=yes
9400             else
9401               result=no
9402             fi
9403           else
9404             result=$wxUSE_CLIPBOARD
9405           fi
9406
9407           { echo "$as_me:$LINENO: result: $result" >&5
9408 echo "${ECHO_T}$result" >&6; }
9409
9410
9411           enablestring=
9412           defaultval=$wxUSE_ALL_FEATURES
9413           if test -z "$defaultval"; then
9414               if test x"$enablestring" = xdisable; then
9415                   defaultval=yes
9416               else
9417                   defaultval=no
9418               fi
9419           fi
9420
9421           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
9422 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
9423           # Check whether --enable-dnd was given.
9424 if test "${enable_dnd+set}" = set; then
9425   enableval=$enable_dnd;
9426                           if test "$enableval" = yes; then
9427                             wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
9428                           else
9429                             wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
9430                           fi
9431
9432 else
9433
9434                           wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9435
9436 fi
9437
9438
9439           eval "$wx_cv_use_dnd"
9440
9441           if test x"$enablestring" = xdisable; then
9442             if test $wxUSE_DRAG_AND_DROP = no; then
9443               result=yes
9444             else
9445               result=no
9446             fi
9447           else
9448             result=$wxUSE_DRAG_AND_DROP
9449           fi
9450
9451           { echo "$as_me:$LINENO: result: $result" >&5
9452 echo "${ECHO_T}$result" >&6; }
9453
9454
9455           enablestring=
9456           defaultval=$wxUSE_ALL_FEATURES
9457           if test -z "$defaultval"; then
9458               if test x"$enablestring" = xdisable; then
9459                   defaultval=yes
9460               else
9461                   defaultval=no
9462               fi
9463           fi
9464
9465           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9466 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
9467           # Check whether --enable-metafile was given.
9468 if test "${enable_metafile+set}" = set; then
9469   enableval=$enable_metafile;
9470                           if test "$enableval" = yes; then
9471                             wx_cv_use_metafile='wxUSE_METAFILE=yes'
9472                           else
9473                             wx_cv_use_metafile='wxUSE_METAFILE=no'
9474                           fi
9475
9476 else
9477
9478                           wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
9479
9480 fi
9481
9482
9483           eval "$wx_cv_use_metafile"
9484
9485           if test x"$enablestring" = xdisable; then
9486             if test $wxUSE_METAFILE = no; then
9487               result=yes
9488             else
9489               result=no
9490             fi
9491           else
9492             result=$wxUSE_METAFILE
9493           fi
9494
9495           { echo "$as_me:$LINENO: result: $result" >&5
9496 echo "${ECHO_T}$result" >&6; }
9497
9498
9499
9500 DEFAULT_wxUSE_CONTROLS=none
9501
9502           enablestring=disable
9503           defaultval=
9504           if test -z "$defaultval"; then
9505               if test x"$enablestring" = xdisable; then
9506                   defaultval=yes
9507               else
9508                   defaultval=no
9509               fi
9510           fi
9511
9512           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
9513 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
9514           # Check whether --enable-controls was given.
9515 if test "${enable_controls+set}" = set; then
9516   enableval=$enable_controls;
9517                           if test "$enableval" = yes; then
9518                             wx_cv_use_controls='wxUSE_CONTROLS=yes'
9519                           else
9520                             wx_cv_use_controls='wxUSE_CONTROLS=no'
9521                           fi
9522
9523 else
9524
9525                           wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9526
9527 fi
9528
9529
9530           eval "$wx_cv_use_controls"
9531
9532           if test x"$enablestring" = xdisable; then
9533             if test $wxUSE_CONTROLS = no; then
9534               result=yes
9535             else
9536               result=no
9537             fi
9538           else
9539             result=$wxUSE_CONTROLS
9540           fi
9541
9542           { echo "$as_me:$LINENO: result: $result" >&5
9543 echo "${ECHO_T}$result" >&6; }
9544
9545
9546 if test "$wxUSE_CONTROLS" = "no"; then
9547     DEFAULT_wxUSE_ACCEL=no
9548     DEFAULT_wxUSE_ANIMATIONCTRL=no
9549     DEFAULT_wxUSE_BMPBUTTON=no
9550     DEFAULT_wxUSE_BUTTON=no
9551     DEFAULT_wxUSE_CALCTRL=no
9552     DEFAULT_wxUSE_CARET=no
9553     DEFAULT_wxUSE_CHECKBOX=no
9554     DEFAULT_wxUSE_CHECKLISTBOX=no
9555     DEFAULT_wxUSE_CHOICE=no
9556     DEFAULT_wxUSE_CHOICEBOOK=no
9557     DEFAULT_wxUSE_COLLPANE=no
9558     DEFAULT_wxUSE_COLOURPICKERCTRL=no
9559     DEFAULT_wxUSE_COMBOBOX=no
9560     DEFAULT_wxUSE_COMBOBOX=no
9561     DEFAULT_wxUSE_DATAVIEWCTRL=no
9562     DEFAULT_wxUSE_DATEPICKCTRL=no
9563     DEFAULT_wxUSE_DETECT_SM=no
9564     DEFAULT_wxUSE_DIRPICKERCTRL=no
9565     DEFAULT_wxUSE_DISPLAY=no
9566     DEFAULT_wxUSE_FILECTRL=no
9567     DEFAULT_wxUSE_FILEPICKERCTRL=no
9568     DEFAULT_wxUSE_FONTPICKERCTRL=no
9569     DEFAULT_wxUSE_GAUGE=no
9570     DEFAULT_wxUSE_GRID=no
9571     DEFAULT_wxUSE_HEADERCTRL=no
9572     DEFAULT_wxUSE_HYPERLINKCTRL=no
9573     DEFAULT_wxUSE_IMAGLIST=no
9574     DEFAULT_wxUSE_LISTBOOK=no
9575     DEFAULT_wxUSE_LISTBOX=no
9576     DEFAULT_wxUSE_LISTCTRL=no
9577     DEFAULT_wxUSE_NOTEBOOK=no
9578     DEFAULT_wxUSE_POPUPWIN=no
9579     DEFAULT_wxUSE_RADIOBOX=no
9580     DEFAULT_wxUSE_RADIOBTN=no
9581     DEFAULT_wxUSE_REARRANGECTRL=no
9582     DEFAULT_wxUSE_SASH=no
9583     DEFAULT_wxUSE_SCROLLBAR=no
9584     DEFAULT_wxUSE_SEARCHCTRL=no
9585     DEFAULT_wxUSE_SLIDER=no
9586     DEFAULT_wxUSE_SPINBTN=no
9587     DEFAULT_wxUSE_SPINCTRL=no
9588     DEFAULT_wxUSE_SPLITTER=no
9589     DEFAULT_wxUSE_STATBMP=no
9590     DEFAULT_wxUSE_STATBOX=no
9591     DEFAULT_wxUSE_STATLINE=no
9592     DEFAULT_wxUSE_STATUSBAR=no
9593     DEFAULT_wxUSE_TIPWINDOW=no
9594     DEFAULT_wxUSE_TOGGLEBTN=no
9595     DEFAULT_wxUSE_TOOLBAR=no
9596     DEFAULT_wxUSE_TOOLBAR_NATIVE=no
9597     DEFAULT_wxUSE_TOOLBOOK=no
9598     DEFAULT_wxUSE_TOOLTIPS=no
9599     DEFAULT_wxUSE_TREEBOOK=no
9600     DEFAULT_wxUSE_TREECTRL=no
9601 fi
9602
9603
9604           enablestring=
9605           defaultval=$wxUSE_ALL_FEATURES
9606           if test -z "$defaultval"; then
9607               if test x"$enablestring" = xdisable; then
9608                   defaultval=yes
9609               else
9610                   defaultval=no
9611               fi
9612           fi
9613
9614           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
9615 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
9616           # Check whether --enable-accel was given.
9617 if test "${enable_accel+set}" = set; then
9618   enableval=$enable_accel;
9619                           if test "$enableval" = yes; then
9620                             wx_cv_use_accel='wxUSE_ACCEL=yes'
9621                           else
9622                             wx_cv_use_accel='wxUSE_ACCEL=no'
9623                           fi
9624
9625 else
9626
9627                           wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
9628
9629 fi
9630
9631
9632           eval "$wx_cv_use_accel"
9633
9634           if test x"$enablestring" = xdisable; then
9635             if test $wxUSE_ACCEL = no; then
9636               result=yes
9637             else
9638               result=no
9639             fi
9640           else
9641             result=$wxUSE_ACCEL
9642           fi
9643
9644           { echo "$as_me:$LINENO: result: $result" >&5
9645 echo "${ECHO_T}$result" >&6; }
9646
9647
9648           enablestring=
9649           defaultval=$wxUSE_ALL_FEATURES
9650           if test -z "$defaultval"; then
9651               if test x"$enablestring" = xdisable; then
9652                   defaultval=yes
9653               else
9654                   defaultval=no
9655               fi
9656           fi
9657
9658           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
9659 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
9660           # Check whether --enable-animatectrl was given.
9661 if test "${enable_animatectrl+set}" = set; then
9662   enableval=$enable_animatectrl;
9663                           if test "$enableval" = yes; then
9664                             wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
9665                           else
9666                             wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
9667                           fi
9668
9669 else
9670
9671                           wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
9672
9673 fi
9674
9675
9676           eval "$wx_cv_use_animatectrl"
9677
9678           if test x"$enablestring" = xdisable; then
9679             if test $wxUSE_ANIMATIONCTRL = no; then
9680               result=yes
9681             else
9682               result=no
9683             fi
9684           else
9685             result=$wxUSE_ANIMATIONCTRL
9686           fi
9687
9688           { echo "$as_me:$LINENO: result: $result" >&5
9689 echo "${ECHO_T}$result" >&6; }
9690
9691
9692           enablestring=
9693           defaultval=$wxUSE_ALL_FEATURES
9694           if test -z "$defaultval"; then
9695               if test x"$enablestring" = xdisable; then
9696                   defaultval=yes
9697               else
9698                   defaultval=no
9699               fi
9700           fi
9701
9702           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
9703 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
9704           # Check whether --enable-bmpbutton was given.
9705 if test "${enable_bmpbutton+set}" = set; then
9706   enableval=$enable_bmpbutton;
9707                           if test "$enableval" = yes; then
9708                             wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
9709                           else
9710                             wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
9711                           fi
9712
9713 else
9714
9715                           wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
9716
9717 fi
9718
9719
9720           eval "$wx_cv_use_bmpbutton"
9721
9722           if test x"$enablestring" = xdisable; then
9723             if test $wxUSE_BMPBUTTON = no; then
9724               result=yes
9725             else
9726               result=no
9727             fi
9728           else
9729             result=$wxUSE_BMPBUTTON
9730           fi
9731
9732           { echo "$as_me:$LINENO: result: $result" >&5
9733 echo "${ECHO_T}$result" >&6; }
9734
9735
9736           enablestring=
9737           defaultval=$wxUSE_ALL_FEATURES
9738           if test -z "$defaultval"; then
9739               if test x"$enablestring" = xdisable; then
9740                   defaultval=yes
9741               else
9742                   defaultval=no
9743               fi
9744           fi
9745
9746           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
9747 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
9748           # Check whether --enable-bmpcombobox was given.
9749 if test "${enable_bmpcombobox+set}" = set; then
9750   enableval=$enable_bmpcombobox;
9751                           if test "$enableval" = yes; then
9752                             wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
9753                           else
9754                             wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
9755                           fi
9756
9757 else
9758
9759                           wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
9760
9761 fi
9762
9763
9764           eval "$wx_cv_use_bmpcombobox"
9765
9766           if test x"$enablestring" = xdisable; then
9767             if test $wxUSE_BITMAPCOMBOBOX = no; then
9768               result=yes
9769             else
9770               result=no
9771             fi
9772           else
9773             result=$wxUSE_BITMAPCOMBOBOX
9774           fi
9775
9776           { echo "$as_me:$LINENO: result: $result" >&5
9777 echo "${ECHO_T}$result" >&6; }
9778
9779
9780           enablestring=
9781           defaultval=$wxUSE_ALL_FEATURES
9782           if test -z "$defaultval"; then
9783               if test x"$enablestring" = xdisable; then
9784                   defaultval=yes
9785               else
9786                   defaultval=no
9787               fi
9788           fi
9789
9790           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
9791 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
9792           # Check whether --enable-button was given.
9793 if test "${enable_button+set}" = set; then
9794   enableval=$enable_button;
9795                           if test "$enableval" = yes; then
9796                             wx_cv_use_button='wxUSE_BUTTON=yes'
9797                           else
9798                             wx_cv_use_button='wxUSE_BUTTON=no'
9799                           fi
9800
9801 else
9802
9803                           wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
9804
9805 fi
9806
9807
9808           eval "$wx_cv_use_button"
9809
9810           if test x"$enablestring" = xdisable; then
9811             if test $wxUSE_BUTTON = no; then
9812               result=yes
9813             else
9814               result=no
9815             fi
9816           else
9817             result=$wxUSE_BUTTON
9818           fi
9819
9820           { echo "$as_me:$LINENO: result: $result" >&5
9821 echo "${ECHO_T}$result" >&6; }
9822
9823
9824           enablestring=
9825           defaultval=$wxUSE_ALL_FEATURES
9826           if test -z "$defaultval"; then
9827               if test x"$enablestring" = xdisable; then
9828                   defaultval=yes
9829               else
9830                   defaultval=no
9831               fi
9832           fi
9833
9834           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
9835 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
9836           # Check whether --enable-calendar was given.
9837 if test "${enable_calendar+set}" = set; then
9838   enableval=$enable_calendar;
9839                           if test "$enableval" = yes; then
9840                             wx_cv_use_calendar='wxUSE_CALCTRL=yes'
9841                           else
9842                             wx_cv_use_calendar='wxUSE_CALCTRL=no'
9843                           fi
9844
9845 else
9846
9847                           wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
9848
9849 fi
9850
9851
9852           eval "$wx_cv_use_calendar"
9853
9854           if test x"$enablestring" = xdisable; then
9855             if test $wxUSE_CALCTRL = no; then
9856               result=yes
9857             else
9858               result=no
9859             fi
9860           else
9861             result=$wxUSE_CALCTRL
9862           fi
9863
9864           { echo "$as_me:$LINENO: result: $result" >&5
9865 echo "${ECHO_T}$result" >&6; }
9866
9867
9868           enablestring=
9869           defaultval=$wxUSE_ALL_FEATURES
9870           if test -z "$defaultval"; then
9871               if test x"$enablestring" = xdisable; then
9872                   defaultval=yes
9873               else
9874                   defaultval=no
9875               fi
9876           fi
9877
9878           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
9879 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
9880           # Check whether --enable-caret was given.
9881 if test "${enable_caret+set}" = set; then
9882   enableval=$enable_caret;
9883                           if test "$enableval" = yes; then
9884                             wx_cv_use_caret='wxUSE_CARET=yes'
9885                           else
9886                             wx_cv_use_caret='wxUSE_CARET=no'
9887                           fi
9888
9889 else
9890
9891                           wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
9892
9893 fi
9894
9895
9896           eval "$wx_cv_use_caret"
9897
9898           if test x"$enablestring" = xdisable; then
9899             if test $wxUSE_CARET = no; then
9900               result=yes
9901             else
9902               result=no
9903             fi
9904           else
9905             result=$wxUSE_CARET
9906           fi
9907
9908           { echo "$as_me:$LINENO: result: $result" >&5
9909 echo "${ECHO_T}$result" >&6; }
9910
9911
9912           enablestring=
9913           defaultval=$wxUSE_ALL_FEATURES
9914           if test -z "$defaultval"; then
9915               if test x"$enablestring" = xdisable; then
9916                   defaultval=yes
9917               else
9918                   defaultval=no
9919               fi
9920           fi
9921
9922           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
9923 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
9924           # Check whether --enable-checkbox was given.
9925 if test "${enable_checkbox+set}" = set; then
9926   enableval=$enable_checkbox;
9927                           if test "$enableval" = yes; then
9928                             wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
9929                           else
9930                             wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
9931                           fi
9932
9933 else
9934
9935                           wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
9936
9937 fi
9938
9939
9940           eval "$wx_cv_use_checkbox"
9941
9942           if test x"$enablestring" = xdisable; then
9943             if test $wxUSE_CHECKBOX = no; then
9944               result=yes
9945             else
9946               result=no
9947             fi
9948           else
9949             result=$wxUSE_CHECKBOX
9950           fi
9951
9952           { echo "$as_me:$LINENO: result: $result" >&5
9953 echo "${ECHO_T}$result" >&6; }
9954
9955
9956           enablestring=
9957           defaultval=$wxUSE_ALL_FEATURES
9958           if test -z "$defaultval"; then
9959               if test x"$enablestring" = xdisable; then
9960                   defaultval=yes
9961               else
9962                   defaultval=no
9963               fi
9964           fi
9965
9966           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
9967 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
9968           # Check whether --enable-checklst was given.
9969 if test "${enable_checklst+set}" = set; then
9970   enableval=$enable_checklst;
9971                           if test "$enableval" = yes; then
9972                             wx_cv_use_checklst='wxUSE_CHECKLST=yes'
9973                           else
9974                             wx_cv_use_checklst='wxUSE_CHECKLST=no'
9975                           fi
9976
9977 else
9978
9979                           wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
9980
9981 fi
9982
9983
9984           eval "$wx_cv_use_checklst"
9985
9986           if test x"$enablestring" = xdisable; then
9987             if test $wxUSE_CHECKLST = no; then
9988               result=yes
9989             else
9990               result=no
9991             fi
9992           else
9993             result=$wxUSE_CHECKLST
9994           fi
9995
9996           { echo "$as_me:$LINENO: result: $result" >&5
9997 echo "${ECHO_T}$result" >&6; }
9998
9999
10000           enablestring=
10001           defaultval=$wxUSE_ALL_FEATURES
10002           if test -z "$defaultval"; then
10003               if test x"$enablestring" = xdisable; then
10004                   defaultval=yes
10005               else
10006                   defaultval=no
10007               fi
10008           fi
10009
10010           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
10011 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
10012           # Check whether --enable-choice was given.
10013 if test "${enable_choice+set}" = set; then
10014   enableval=$enable_choice;
10015                           if test "$enableval" = yes; then
10016                             wx_cv_use_choice='wxUSE_CHOICE=yes'
10017                           else
10018                             wx_cv_use_choice='wxUSE_CHOICE=no'
10019                           fi
10020
10021 else
10022
10023                           wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
10024
10025 fi
10026
10027
10028           eval "$wx_cv_use_choice"
10029
10030           if test x"$enablestring" = xdisable; then
10031             if test $wxUSE_CHOICE = no; then
10032               result=yes
10033             else
10034               result=no
10035             fi
10036           else
10037             result=$wxUSE_CHOICE
10038           fi
10039
10040           { echo "$as_me:$LINENO: result: $result" >&5
10041 echo "${ECHO_T}$result" >&6; }
10042
10043
10044           enablestring=
10045           defaultval=$wxUSE_ALL_FEATURES
10046           if test -z "$defaultval"; then
10047               if test x"$enablestring" = xdisable; then
10048                   defaultval=yes
10049               else
10050                   defaultval=no
10051               fi
10052           fi
10053
10054           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
10055 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
10056           # Check whether --enable-choicebook was given.
10057 if test "${enable_choicebook+set}" = set; then
10058   enableval=$enable_choicebook;
10059                           if test "$enableval" = yes; then
10060                             wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
10061                           else
10062                             wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
10063                           fi
10064
10065 else
10066
10067                           wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
10068
10069 fi
10070
10071
10072           eval "$wx_cv_use_choicebook"
10073
10074           if test x"$enablestring" = xdisable; then
10075             if test $wxUSE_CHOICEBOOK = no; then
10076               result=yes
10077             else
10078               result=no
10079             fi
10080           else
10081             result=$wxUSE_CHOICEBOOK
10082           fi
10083
10084           { echo "$as_me:$LINENO: result: $result" >&5
10085 echo "${ECHO_T}$result" >&6; }
10086
10087
10088           enablestring=
10089           defaultval=$wxUSE_ALL_FEATURES
10090           if test -z "$defaultval"; then
10091               if test x"$enablestring" = xdisable; then
10092                   defaultval=yes
10093               else
10094                   defaultval=no
10095               fi
10096           fi
10097
10098           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
10099 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
10100           # Check whether --enable-collpane was given.
10101 if test "${enable_collpane+set}" = set; then
10102   enableval=$enable_collpane;
10103                           if test "$enableval" = yes; then
10104                             wx_cv_use_collpane='wxUSE_COLLPANE=yes'
10105                           else
10106                             wx_cv_use_collpane='wxUSE_COLLPANE=no'
10107                           fi
10108
10109 else
10110
10111                           wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
10112
10113 fi
10114
10115
10116           eval "$wx_cv_use_collpane"
10117
10118           if test x"$enablestring" = xdisable; then
10119             if test $wxUSE_COLLPANE = no; then
10120               result=yes
10121             else
10122               result=no
10123             fi
10124           else
10125             result=$wxUSE_COLLPANE
10126           fi
10127
10128           { echo "$as_me:$LINENO: result: $result" >&5
10129 echo "${ECHO_T}$result" >&6; }
10130
10131
10132           enablestring=
10133           defaultval=$wxUSE_ALL_FEATURES
10134           if test -z "$defaultval"; then
10135               if test x"$enablestring" = xdisable; then
10136                   defaultval=yes
10137               else
10138                   defaultval=no
10139               fi
10140           fi
10141
10142           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
10143 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
10144           # Check whether --enable-colourpicker was given.
10145 if test "${enable_colourpicker+set}" = set; then
10146   enableval=$enable_colourpicker;
10147                           if test "$enableval" = yes; then
10148                             wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
10149                           else
10150                             wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
10151                           fi
10152
10153 else
10154
10155                           wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
10156
10157 fi
10158
10159
10160           eval "$wx_cv_use_colourpicker"
10161
10162           if test x"$enablestring" = xdisable; then
10163             if test $wxUSE_COLOURPICKERCTRL = no; then
10164               result=yes
10165             else
10166               result=no
10167             fi
10168           else
10169             result=$wxUSE_COLOURPICKERCTRL
10170           fi
10171
10172           { echo "$as_me:$LINENO: result: $result" >&5
10173 echo "${ECHO_T}$result" >&6; }
10174
10175
10176           enablestring=
10177           defaultval=$wxUSE_ALL_FEATURES
10178           if test -z "$defaultval"; then
10179               if test x"$enablestring" = xdisable; then
10180                   defaultval=yes
10181               else
10182                   defaultval=no
10183               fi
10184           fi
10185
10186           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
10187 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
10188           # Check whether --enable-combobox was given.
10189 if test "${enable_combobox+set}" = set; then
10190   enableval=$enable_combobox;
10191                           if test "$enableval" = yes; then
10192                             wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
10193                           else
10194                             wx_cv_use_combobox='wxUSE_COMBOBOX=no'
10195                           fi
10196
10197 else
10198
10199                           wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
10200
10201 fi
10202
10203
10204           eval "$wx_cv_use_combobox"
10205
10206           if test x"$enablestring" = xdisable; then
10207             if test $wxUSE_COMBOBOX = no; then
10208               result=yes
10209             else
10210               result=no
10211             fi
10212           else
10213             result=$wxUSE_COMBOBOX
10214           fi
10215
10216           { echo "$as_me:$LINENO: result: $result" >&5
10217 echo "${ECHO_T}$result" >&6; }
10218
10219
10220           enablestring=
10221           defaultval=$wxUSE_ALL_FEATURES
10222           if test -z "$defaultval"; then
10223               if test x"$enablestring" = xdisable; then
10224                   defaultval=yes
10225               else
10226                   defaultval=no
10227               fi
10228           fi
10229
10230           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
10231 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
10232           # Check whether --enable-comboctrl was given.
10233 if test "${enable_comboctrl+set}" = set; then
10234   enableval=$enable_comboctrl;
10235                           if test "$enableval" = yes; then
10236                             wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
10237                           else
10238                             wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
10239                           fi
10240
10241 else
10242
10243                           wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
10244
10245 fi
10246
10247
10248           eval "$wx_cv_use_comboctrl"
10249
10250           if test x"$enablestring" = xdisable; then
10251             if test $wxUSE_COMBOCTRL = no; then
10252               result=yes
10253             else
10254               result=no
10255             fi
10256           else
10257             result=$wxUSE_COMBOCTRL
10258           fi
10259
10260           { echo "$as_me:$LINENO: result: $result" >&5
10261 echo "${ECHO_T}$result" >&6; }
10262
10263
10264           enablestring=
10265           defaultval=$wxUSE_ALL_FEATURES
10266           if test -z "$defaultval"; then
10267               if test x"$enablestring" = xdisable; then
10268                   defaultval=yes
10269               else
10270                   defaultval=no
10271               fi
10272           fi
10273
10274           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
10275 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
10276           # Check whether --enable-dataviewctrl was given.
10277 if test "${enable_dataviewctrl+set}" = set; then
10278   enableval=$enable_dataviewctrl;
10279                           if test "$enableval" = yes; then
10280                             wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
10281                           else
10282                             wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
10283                           fi
10284
10285 else
10286
10287                           wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10288
10289 fi
10290
10291
10292           eval "$wx_cv_use_dataviewctrl"
10293
10294           if test x"$enablestring" = xdisable; then
10295             if test $wxUSE_DATAVIEWCTRL = no; then
10296               result=yes
10297             else
10298               result=no
10299             fi
10300           else
10301             result=$wxUSE_DATAVIEWCTRL
10302           fi
10303
10304           { echo "$as_me:$LINENO: result: $result" >&5
10305 echo "${ECHO_T}$result" >&6; }
10306
10307
10308           enablestring=
10309           defaultval=$wxUSE_ALL_FEATURES
10310           if test -z "$defaultval"; then
10311               if test x"$enablestring" = xdisable; then
10312                   defaultval=yes
10313               else
10314                   defaultval=no
10315               fi
10316           fi
10317
10318           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
10319 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
10320           # Check whether --enable-datepick was given.
10321 if test "${enable_datepick+set}" = set; then
10322   enableval=$enable_datepick;
10323                           if test "$enableval" = yes; then
10324                             wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
10325                           else
10326                             wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
10327                           fi
10328
10329 else
10330
10331                           wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
10332
10333 fi
10334
10335
10336           eval "$wx_cv_use_datepick"
10337
10338           if test x"$enablestring" = xdisable; then
10339             if test $wxUSE_DATEPICKCTRL = no; then
10340               result=yes
10341             else
10342               result=no
10343             fi
10344           else
10345             result=$wxUSE_DATEPICKCTRL
10346           fi
10347
10348           { echo "$as_me:$LINENO: result: $result" >&5
10349 echo "${ECHO_T}$result" >&6; }
10350
10351
10352           enablestring=
10353           defaultval=$wxUSE_ALL_FEATURES
10354           if test -z "$defaultval"; then
10355               if test x"$enablestring" = xdisable; then
10356                   defaultval=yes
10357               else
10358                   defaultval=no
10359               fi
10360           fi
10361
10362           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
10363 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
10364           # Check whether --enable-detect_sm was given.
10365 if test "${enable_detect_sm+set}" = set; then
10366   enableval=$enable_detect_sm;
10367                           if test "$enableval" = yes; then
10368                             wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
10369                           else
10370                             wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
10371                           fi
10372
10373 else
10374
10375                           wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10376
10377 fi
10378
10379
10380           eval "$wx_cv_use_detect_sm"
10381
10382           if test x"$enablestring" = xdisable; then
10383             if test $wxUSE_DETECT_SM = no; then
10384               result=yes
10385             else
10386               result=no
10387             fi
10388           else
10389             result=$wxUSE_DETECT_SM
10390           fi
10391
10392           { echo "$as_me:$LINENO: result: $result" >&5
10393 echo "${ECHO_T}$result" >&6; }
10394
10395
10396           enablestring=
10397           defaultval=$wxUSE_ALL_FEATURES
10398           if test -z "$defaultval"; then
10399               if test x"$enablestring" = xdisable; then
10400                   defaultval=yes
10401               else
10402                   defaultval=no
10403               fi
10404           fi
10405
10406           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
10407 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
10408           # Check whether --enable-dirpicker was given.
10409 if test "${enable_dirpicker+set}" = set; then
10410   enableval=$enable_dirpicker;
10411                           if test "$enableval" = yes; then
10412                             wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
10413                           else
10414                             wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
10415                           fi
10416
10417 else
10418
10419                           wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
10420
10421 fi
10422
10423
10424           eval "$wx_cv_use_dirpicker"
10425
10426           if test x"$enablestring" = xdisable; then
10427             if test $wxUSE_DIRPICKERCTRL = no; then
10428               result=yes
10429             else
10430               result=no
10431             fi
10432           else
10433             result=$wxUSE_DIRPICKERCTRL
10434           fi
10435
10436           { echo "$as_me:$LINENO: result: $result" >&5
10437 echo "${ECHO_T}$result" >&6; }
10438
10439
10440           enablestring=
10441           defaultval=$wxUSE_ALL_FEATURES
10442           if test -z "$defaultval"; then
10443               if test x"$enablestring" = xdisable; then
10444                   defaultval=yes
10445               else
10446                   defaultval=no
10447               fi
10448           fi
10449
10450           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
10451 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
10452           # Check whether --enable-display was given.
10453 if test "${enable_display+set}" = set; then
10454   enableval=$enable_display;
10455                           if test "$enableval" = yes; then
10456                             wx_cv_use_display='wxUSE_DISPLAY=yes'
10457                           else
10458                             wx_cv_use_display='wxUSE_DISPLAY=no'
10459                           fi
10460
10461 else
10462
10463                           wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
10464
10465 fi
10466
10467
10468           eval "$wx_cv_use_display"
10469
10470           if test x"$enablestring" = xdisable; then
10471             if test $wxUSE_DISPLAY = no; then
10472               result=yes
10473             else
10474               result=no
10475             fi
10476           else
10477             result=$wxUSE_DISPLAY
10478           fi
10479
10480           { echo "$as_me:$LINENO: result: $result" >&5
10481 echo "${ECHO_T}$result" >&6; }
10482
10483
10484           enablestring=
10485           defaultval=$wxUSE_ALL_FEATURES
10486           if test -z "$defaultval"; then
10487               if test x"$enablestring" = xdisable; then
10488                   defaultval=yes
10489               else
10490                   defaultval=no
10491               fi
10492           fi
10493
10494           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
10495 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
10496           # Check whether --enable-editablebox was given.
10497 if test "${enable_editablebox+set}" = set; then
10498   enableval=$enable_editablebox;
10499                           if test "$enableval" = yes; then
10500                             wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
10501                           else
10502                             wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
10503                           fi
10504
10505 else
10506
10507                           wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
10508
10509 fi
10510
10511
10512           eval "$wx_cv_use_editablebox"
10513
10514           if test x"$enablestring" = xdisable; then
10515             if test $wxUSE_EDITABLELISTBOX = no; then
10516               result=yes
10517             else
10518               result=no
10519             fi
10520           else
10521             result=$wxUSE_EDITABLELISTBOX
10522           fi
10523
10524           { echo "$as_me:$LINENO: result: $result" >&5
10525 echo "${ECHO_T}$result" >&6; }
10526
10527
10528           enablestring=
10529           defaultval=$wxUSE_ALL_FEATURES
10530           if test -z "$defaultval"; then
10531               if test x"$enablestring" = xdisable; then
10532                   defaultval=yes
10533               else
10534                   defaultval=no
10535               fi
10536           fi
10537
10538           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filectrl" >&5
10539 echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
10540           # Check whether --enable-filectrl was given.
10541 if test "${enable_filectrl+set}" = set; then
10542   enableval=$enable_filectrl;
10543                           if test "$enableval" = yes; then
10544                             wx_cv_use_filectrl='wxUSE_FILECTRL=yes'
10545                           else
10546                             wx_cv_use_filectrl='wxUSE_FILECTRL=no'
10547                           fi
10548
10549 else
10550
10551                           wx_cv_use_filectrl='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
10552
10553 fi
10554
10555
10556           eval "$wx_cv_use_filectrl"
10557
10558           if test x"$enablestring" = xdisable; then
10559             if test $wxUSE_FILECTRL = no; then
10560               result=yes
10561             else
10562               result=no
10563             fi
10564           else
10565             result=$wxUSE_FILECTRL
10566           fi
10567
10568           { echo "$as_me:$LINENO: result: $result" >&5
10569 echo "${ECHO_T}$result" >&6; }
10570
10571
10572           enablestring=
10573           defaultval=$wxUSE_ALL_FEATURES
10574           if test -z "$defaultval"; then
10575               if test x"$enablestring" = xdisable; then
10576                   defaultval=yes
10577               else
10578                   defaultval=no
10579               fi
10580           fi
10581
10582           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
10583 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
10584           # Check whether --enable-filepicker was given.
10585 if test "${enable_filepicker+set}" = set; then
10586   enableval=$enable_filepicker;
10587                           if test "$enableval" = yes; then
10588                             wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
10589                           else
10590                             wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
10591                           fi
10592
10593 else
10594
10595                           wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
10596
10597 fi
10598
10599
10600           eval "$wx_cv_use_filepicker"
10601
10602           if test x"$enablestring" = xdisable; then
10603             if test $wxUSE_FILEPICKERCTRL = no; then
10604               result=yes
10605             else
10606               result=no
10607             fi
10608           else
10609             result=$wxUSE_FILEPICKERCTRL
10610           fi
10611
10612           { echo "$as_me:$LINENO: result: $result" >&5
10613 echo "${ECHO_T}$result" >&6; }
10614
10615
10616           enablestring=
10617           defaultval=$wxUSE_ALL_FEATURES
10618           if test -z "$defaultval"; then
10619               if test x"$enablestring" = xdisable; then
10620                   defaultval=yes
10621               else
10622                   defaultval=no
10623               fi
10624           fi
10625
10626           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
10627 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
10628           # Check whether --enable-fontpicker was given.
10629 if test "${enable_fontpicker+set}" = set; then
10630   enableval=$enable_fontpicker;
10631                           if test "$enableval" = yes; then
10632                             wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
10633                           else
10634                             wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
10635                           fi
10636
10637 else
10638
10639                           wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
10640
10641 fi
10642
10643
10644           eval "$wx_cv_use_fontpicker"
10645
10646           if test x"$enablestring" = xdisable; then
10647             if test $wxUSE_FONTPICKERCTRL = no; then
10648               result=yes
10649             else
10650               result=no
10651             fi
10652           else
10653             result=$wxUSE_FONTPICKERCTRL
10654           fi
10655
10656           { echo "$as_me:$LINENO: result: $result" >&5
10657 echo "${ECHO_T}$result" >&6; }
10658
10659
10660           enablestring=
10661           defaultval=$wxUSE_ALL_FEATURES
10662           if test -z "$defaultval"; then
10663               if test x"$enablestring" = xdisable; then
10664                   defaultval=yes
10665               else
10666                   defaultval=no
10667               fi
10668           fi
10669
10670           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
10671 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
10672           # Check whether --enable-gauge was given.
10673 if test "${enable_gauge+set}" = set; then
10674   enableval=$enable_gauge;
10675                           if test "$enableval" = yes; then
10676                             wx_cv_use_gauge='wxUSE_GAUGE=yes'
10677                           else
10678                             wx_cv_use_gauge='wxUSE_GAUGE=no'
10679                           fi
10680
10681 else
10682
10683                           wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
10684
10685 fi
10686
10687
10688           eval "$wx_cv_use_gauge"
10689
10690           if test x"$enablestring" = xdisable; then
10691             if test $wxUSE_GAUGE = no; then
10692               result=yes
10693             else
10694               result=no
10695             fi
10696           else
10697             result=$wxUSE_GAUGE
10698           fi
10699
10700           { echo "$as_me:$LINENO: result: $result" >&5
10701 echo "${ECHO_T}$result" >&6; }
10702
10703
10704           enablestring=
10705           defaultval=$wxUSE_ALL_FEATURES
10706           if test -z "$defaultval"; then
10707               if test x"$enablestring" = xdisable; then
10708                   defaultval=yes
10709               else
10710                   defaultval=no
10711               fi
10712           fi
10713
10714           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
10715 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
10716           # Check whether --enable-grid was given.
10717 if test "${enable_grid+set}" = set; then
10718   enableval=$enable_grid;
10719                           if test "$enableval" = yes; then
10720                             wx_cv_use_grid='wxUSE_GRID=yes'
10721                           else
10722                             wx_cv_use_grid='wxUSE_GRID=no'
10723                           fi
10724
10725 else
10726
10727                           wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
10728
10729 fi
10730
10731
10732           eval "$wx_cv_use_grid"
10733
10734           if test x"$enablestring" = xdisable; then
10735             if test $wxUSE_GRID = no; then
10736               result=yes
10737             else
10738               result=no
10739             fi
10740           else
10741             result=$wxUSE_GRID
10742           fi
10743
10744           { echo "$as_me:$LINENO: result: $result" >&5
10745 echo "${ECHO_T}$result" >&6; }
10746
10747
10748           enablestring=
10749           defaultval=$wxUSE_ALL_FEATURES
10750           if test -z "$defaultval"; then
10751               if test x"$enablestring" = xdisable; then
10752                   defaultval=yes
10753               else
10754                   defaultval=no
10755               fi
10756           fi
10757
10758           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-headerctrl" >&5
10759 echo $ECHO_N "checking for --${enablestring:-enable}-headerctrl... $ECHO_C" >&6; }
10760           # Check whether --enable-headerctrl was given.
10761 if test "${enable_headerctrl+set}" = set; then
10762   enableval=$enable_headerctrl;
10763                           if test "$enableval" = yes; then
10764                             wx_cv_use_headerctrl='wxUSE_HEADERCTRL=yes'
10765                           else
10766                             wx_cv_use_headerctrl='wxUSE_HEADERCTRL=no'
10767                           fi
10768
10769 else
10770
10771                           wx_cv_use_headerctrl='wxUSE_HEADERCTRL=${'DEFAULT_wxUSE_HEADERCTRL":-$defaultval}"
10772
10773 fi
10774
10775
10776           eval "$wx_cv_use_headerctrl"
10777
10778           if test x"$enablestring" = xdisable; then
10779             if test $wxUSE_HEADERCTRL = no; then
10780               result=yes
10781             else
10782               result=no
10783             fi
10784           else
10785             result=$wxUSE_HEADERCTRL
10786           fi
10787
10788           { echo "$as_me:$LINENO: result: $result" >&5
10789 echo "${ECHO_T}$result" >&6; }
10790
10791
10792           enablestring=
10793           defaultval=$wxUSE_ALL_FEATURES
10794           if test -z "$defaultval"; then
10795               if test x"$enablestring" = xdisable; then
10796                   defaultval=yes
10797               else
10798                   defaultval=no
10799               fi
10800           fi
10801
10802           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
10803 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
10804           # Check whether --enable-hyperlink was given.
10805 if test "${enable_hyperlink+set}" = set; then
10806   enableval=$enable_hyperlink;
10807                           if test "$enableval" = yes; then
10808                             wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
10809                           else
10810                             wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
10811                           fi
10812
10813 else
10814
10815                           wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
10816
10817 fi
10818
10819
10820           eval "$wx_cv_use_hyperlink"
10821
10822           if test x"$enablestring" = xdisable; then
10823             if test $wxUSE_HYPERLINKCTRL = no; then
10824               result=yes
10825             else
10826               result=no
10827             fi
10828           else
10829             result=$wxUSE_HYPERLINKCTRL
10830           fi
10831
10832           { echo "$as_me:$LINENO: result: $result" >&5
10833 echo "${ECHO_T}$result" >&6; }
10834
10835
10836           enablestring=
10837           defaultval=$wxUSE_ALL_FEATURES
10838           if test -z "$defaultval"; then
10839               if test x"$enablestring" = xdisable; then
10840                   defaultval=yes
10841               else
10842                   defaultval=no
10843               fi
10844           fi
10845
10846           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
10847 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
10848           # Check whether --enable-imaglist was given.
10849 if test "${enable_imaglist+set}" = set; then
10850   enableval=$enable_imaglist;
10851                           if test "$enableval" = yes; then
10852                             wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
10853                           else
10854                             wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
10855                           fi
10856
10857 else
10858
10859                           wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
10860
10861 fi
10862
10863
10864           eval "$wx_cv_use_imaglist"
10865
10866           if test x"$enablestring" = xdisable; then
10867             if test $wxUSE_IMAGLIST = no; then
10868               result=yes
10869             else
10870               result=no
10871             fi
10872           else
10873             result=$wxUSE_IMAGLIST
10874           fi
10875
10876           { echo "$as_me:$LINENO: result: $result" >&5
10877 echo "${ECHO_T}$result" >&6; }
10878
10879
10880           enablestring=
10881           defaultval=$wxUSE_ALL_FEATURES
10882           if test -z "$defaultval"; then
10883               if test x"$enablestring" = xdisable; then
10884                   defaultval=yes
10885               else
10886                   defaultval=no
10887               fi
10888           fi
10889
10890           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
10891 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
10892           # Check whether --enable-listbook was given.
10893 if test "${enable_listbook+set}" = set; then
10894   enableval=$enable_listbook;
10895                           if test "$enableval" = yes; then
10896                             wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
10897                           else
10898                             wx_cv_use_listbook='wxUSE_LISTBOOK=no'
10899                           fi
10900
10901 else
10902
10903                           wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
10904
10905 fi
10906
10907
10908           eval "$wx_cv_use_listbook"
10909
10910           if test x"$enablestring" = xdisable; then
10911             if test $wxUSE_LISTBOOK = no; then
10912               result=yes
10913             else
10914               result=no
10915             fi
10916           else
10917             result=$wxUSE_LISTBOOK
10918           fi
10919
10920           { echo "$as_me:$LINENO: result: $result" >&5
10921 echo "${ECHO_T}$result" >&6; }
10922
10923
10924           enablestring=
10925           defaultval=$wxUSE_ALL_FEATURES
10926           if test -z "$defaultval"; then
10927               if test x"$enablestring" = xdisable; then
10928                   defaultval=yes
10929               else
10930                   defaultval=no
10931               fi
10932           fi
10933
10934           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
10935 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
10936           # Check whether --enable-listbox was given.
10937 if test "${enable_listbox+set}" = set; then
10938   enableval=$enable_listbox;
10939                           if test "$enableval" = yes; then
10940                             wx_cv_use_listbox='wxUSE_LISTBOX=yes'
10941                           else
10942                             wx_cv_use_listbox='wxUSE_LISTBOX=no'
10943                           fi
10944
10945 else
10946
10947                           wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
10948
10949 fi
10950
10951
10952           eval "$wx_cv_use_listbox"
10953
10954           if test x"$enablestring" = xdisable; then
10955             if test $wxUSE_LISTBOX = no; then
10956               result=yes
10957             else
10958               result=no
10959             fi
10960           else
10961             result=$wxUSE_LISTBOX
10962           fi
10963
10964           { echo "$as_me:$LINENO: result: $result" >&5
10965 echo "${ECHO_T}$result" >&6; }
10966
10967
10968           enablestring=
10969           defaultval=$wxUSE_ALL_FEATURES
10970           if test -z "$defaultval"; then
10971               if test x"$enablestring" = xdisable; then
10972                   defaultval=yes
10973               else
10974                   defaultval=no
10975               fi
10976           fi
10977
10978           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
10979 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
10980           # Check whether --enable-listctrl was given.
10981 if test "${enable_listctrl+set}" = set; then
10982   enableval=$enable_listctrl;
10983                           if test "$enableval" = yes; then
10984                             wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
10985                           else
10986                             wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
10987                           fi
10988
10989 else
10990
10991                           wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
10992
10993 fi
10994
10995
10996           eval "$wx_cv_use_listctrl"
10997
10998           if test x"$enablestring" = xdisable; then
10999             if test $wxUSE_LISTCTRL = no; then
11000               result=yes
11001             else
11002               result=no
11003             fi
11004           else
11005             result=$wxUSE_LISTCTRL
11006           fi
11007
11008           { echo "$as_me:$LINENO: result: $result" >&5
11009 echo "${ECHO_T}$result" >&6; }
11010
11011
11012           enablestring=
11013           defaultval=$wxUSE_ALL_FEATURES
11014           if test -z "$defaultval"; then
11015               if test x"$enablestring" = xdisable; then
11016                   defaultval=yes
11017               else
11018                   defaultval=no
11019               fi
11020           fi
11021
11022           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
11023 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
11024           # Check whether --enable-notebook was given.
11025 if test "${enable_notebook+set}" = set; then
11026   enableval=$enable_notebook;
11027                           if test "$enableval" = yes; then
11028                             wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
11029                           else
11030                             wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
11031                           fi
11032
11033 else
11034
11035                           wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
11036
11037 fi
11038
11039
11040           eval "$wx_cv_use_notebook"
11041
11042           if test x"$enablestring" = xdisable; then
11043             if test $wxUSE_NOTEBOOK = no; then
11044               result=yes
11045             else
11046               result=no
11047             fi
11048           else
11049             result=$wxUSE_NOTEBOOK
11050           fi
11051
11052           { echo "$as_me:$LINENO: result: $result" >&5
11053 echo "${ECHO_T}$result" >&6; }
11054
11055
11056           enablestring=
11057           defaultval=$wxUSE_ALL_FEATURES
11058           if test -z "$defaultval"; then
11059               if test x"$enablestring" = xdisable; then
11060                   defaultval=yes
11061               else
11062                   defaultval=no
11063               fi
11064           fi
11065
11066           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notifmsg" >&5
11067 echo $ECHO_N "checking for --${enablestring:-enable}-notifmsg... $ECHO_C" >&6; }
11068           # Check whether --enable-notifmsg was given.
11069 if test "${enable_notifmsg+set}" = set; then
11070   enableval=$enable_notifmsg;
11071                           if test "$enableval" = yes; then
11072                             wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=yes'
11073                           else
11074                             wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=no'
11075                           fi
11076
11077 else
11078
11079                           wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
11080
11081 fi
11082
11083
11084           eval "$wx_cv_use_notifmsg"
11085
11086           if test x"$enablestring" = xdisable; then
11087             if test $wxUSE_NOTIFICATION_MESSAGE = no; then
11088               result=yes
11089             else
11090               result=no
11091             fi
11092           else
11093             result=$wxUSE_NOTIFICATION_MESSAGE
11094           fi
11095
11096           { echo "$as_me:$LINENO: result: $result" >&5
11097 echo "${ECHO_T}$result" >&6; }
11098
11099
11100           enablestring=
11101           defaultval=$wxUSE_ALL_FEATURES
11102           if test -z "$defaultval"; then
11103               if test x"$enablestring" = xdisable; then
11104                   defaultval=yes
11105               else
11106                   defaultval=no
11107               fi
11108           fi
11109
11110           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
11111 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
11112           # Check whether --enable-odcombobox was given.
11113 if test "${enable_odcombobox+set}" = set; then
11114   enableval=$enable_odcombobox;
11115                           if test "$enableval" = yes; then
11116                             wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
11117                           else
11118                             wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
11119                           fi
11120
11121 else
11122
11123                           wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
11124
11125 fi
11126
11127
11128           eval "$wx_cv_use_odcombobox"
11129
11130           if test x"$enablestring" = xdisable; then
11131             if test $wxUSE_ODCOMBOBOX = no; then
11132               result=yes
11133             else
11134               result=no
11135             fi
11136           else
11137             result=$wxUSE_ODCOMBOBOX
11138           fi
11139
11140           { echo "$as_me:$LINENO: result: $result" >&5
11141 echo "${ECHO_T}$result" >&6; }
11142
11143
11144           enablestring=
11145           defaultval=$wxUSE_ALL_FEATURES
11146           if test -z "$defaultval"; then
11147               if test x"$enablestring" = xdisable; then
11148                   defaultval=yes
11149               else
11150                   defaultval=no
11151               fi
11152           fi
11153
11154           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
11155 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
11156           # Check whether --enable-popupwin was given.
11157 if test "${enable_popupwin+set}" = set; then
11158   enableval=$enable_popupwin;
11159                           if test "$enableval" = yes; then
11160                             wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
11161                           else
11162                             wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
11163                           fi
11164
11165 else
11166
11167                           wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
11168
11169 fi
11170
11171
11172           eval "$wx_cv_use_popupwin"
11173
11174           if test x"$enablestring" = xdisable; then
11175             if test $wxUSE_POPUPWIN = no; then
11176               result=yes
11177             else
11178               result=no
11179             fi
11180           else
11181             result=$wxUSE_POPUPWIN
11182           fi
11183
11184           { echo "$as_me:$LINENO: result: $result" >&5
11185 echo "${ECHO_T}$result" >&6; }
11186
11187
11188           enablestring=
11189           defaultval=$wxUSE_ALL_FEATURES
11190           if test -z "$defaultval"; then
11191               if test x"$enablestring" = xdisable; then
11192                   defaultval=yes
11193               else
11194                   defaultval=no
11195               fi
11196           fi
11197
11198           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
11199 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
11200           # Check whether --enable-radiobox was given.
11201 if test "${enable_radiobox+set}" = set; then
11202   enableval=$enable_radiobox;
11203                           if test "$enableval" = yes; then
11204                             wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
11205                           else
11206                             wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
11207                           fi
11208
11209 else
11210
11211                           wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
11212
11213 fi
11214
11215
11216           eval "$wx_cv_use_radiobox"
11217
11218           if test x"$enablestring" = xdisable; then
11219             if test $wxUSE_RADIOBOX = no; then
11220               result=yes
11221             else
11222               result=no
11223             fi
11224           else
11225             result=$wxUSE_RADIOBOX
11226           fi
11227
11228           { echo "$as_me:$LINENO: result: $result" >&5
11229 echo "${ECHO_T}$result" >&6; }
11230
11231
11232           enablestring=
11233           defaultval=$wxUSE_ALL_FEATURES
11234           if test -z "$defaultval"; then
11235               if test x"$enablestring" = xdisable; then
11236                   defaultval=yes
11237               else
11238                   defaultval=no
11239               fi
11240           fi
11241
11242           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
11243 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
11244           # Check whether --enable-radiobtn was given.
11245 if test "${enable_radiobtn+set}" = set; then
11246   enableval=$enable_radiobtn;
11247                           if test "$enableval" = yes; then
11248                             wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
11249                           else
11250                             wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
11251                           fi
11252
11253 else
11254
11255                           wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
11256
11257 fi
11258
11259
11260           eval "$wx_cv_use_radiobtn"
11261
11262           if test x"$enablestring" = xdisable; then
11263             if test $wxUSE_RADIOBTN = no; then
11264               result=yes
11265             else
11266               result=no
11267             fi
11268           else
11269             result=$wxUSE_RADIOBTN
11270           fi
11271
11272           { echo "$as_me:$LINENO: result: $result" >&5
11273 echo "${ECHO_T}$result" >&6; }
11274
11275
11276           enablestring=
11277           defaultval=$wxUSE_ALL_FEATURES
11278           if test -z "$defaultval"; then
11279               if test x"$enablestring" = xdisable; then
11280                   defaultval=yes
11281               else
11282                   defaultval=no
11283               fi
11284           fi
11285
11286           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rearrangectrl" >&5
11287 echo $ECHO_N "checking for --${enablestring:-enable}-rearrangectrl... $ECHO_C" >&6; }
11288           # Check whether --enable-rearrangectrl was given.
11289 if test "${enable_rearrangectrl+set}" = set; then
11290   enableval=$enable_rearrangectrl;
11291                           if test "$enableval" = yes; then
11292                             wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=yes'
11293                           else
11294                             wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=no'
11295                           fi
11296
11297 else
11298
11299                           wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=${'DEFAULT_wxUSE_REARRANGECTRL":-$defaultval}"
11300
11301 fi
11302
11303
11304           eval "$wx_cv_use_rearrangectrl"
11305
11306           if test x"$enablestring" = xdisable; then
11307             if test $wxUSE_REARRANGECTRL = no; then
11308               result=yes
11309             else
11310               result=no
11311             fi
11312           else
11313             result=$wxUSE_REARRANGECTRL
11314           fi
11315
11316           { echo "$as_me:$LINENO: result: $result" >&5
11317 echo "${ECHO_T}$result" >&6; }
11318
11319
11320           enablestring=
11321           defaultval=$wxUSE_ALL_FEATURES
11322           if test -z "$defaultval"; then
11323               if test x"$enablestring" = xdisable; then
11324                   defaultval=yes
11325               else
11326                   defaultval=no
11327               fi
11328           fi
11329
11330           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
11331 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
11332           # Check whether --enable-sash was given.
11333 if test "${enable_sash+set}" = set; then
11334   enableval=$enable_sash;
11335                           if test "$enableval" = yes; then
11336                             wx_cv_use_sash='wxUSE_SASH=yes'
11337                           else
11338                             wx_cv_use_sash='wxUSE_SASH=no'
11339                           fi
11340
11341 else
11342
11343                           wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
11344
11345 fi
11346
11347
11348           eval "$wx_cv_use_sash"
11349
11350           if test x"$enablestring" = xdisable; then
11351             if test $wxUSE_SASH = no; then
11352               result=yes
11353             else
11354               result=no
11355             fi
11356           else
11357             result=$wxUSE_SASH
11358           fi
11359
11360           { echo "$as_me:$LINENO: result: $result" >&5
11361 echo "${ECHO_T}$result" >&6; }
11362
11363
11364           enablestring=
11365           defaultval=$wxUSE_ALL_FEATURES
11366           if test -z "$defaultval"; then
11367               if test x"$enablestring" = xdisable; then
11368                   defaultval=yes
11369               else
11370                   defaultval=no
11371               fi
11372           fi
11373
11374           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
11375 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
11376           # Check whether --enable-scrollbar was given.
11377 if test "${enable_scrollbar+set}" = set; then
11378   enableval=$enable_scrollbar;
11379                           if test "$enableval" = yes; then
11380                             wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
11381                           else
11382                             wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
11383                           fi
11384
11385 else
11386
11387                           wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
11388
11389 fi
11390
11391
11392           eval "$wx_cv_use_scrollbar"
11393
11394           if test x"$enablestring" = xdisable; then
11395             if test $wxUSE_SCROLLBAR = no; then
11396               result=yes
11397             else
11398               result=no
11399             fi
11400           else
11401             result=$wxUSE_SCROLLBAR
11402           fi
11403
11404           { echo "$as_me:$LINENO: result: $result" >&5
11405 echo "${ECHO_T}$result" >&6; }
11406
11407
11408           enablestring=
11409           defaultval=$wxUSE_ALL_FEATURES
11410           if test -z "$defaultval"; then
11411               if test x"$enablestring" = xdisable; then
11412                   defaultval=yes
11413               else
11414                   defaultval=no
11415               fi
11416           fi
11417
11418           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
11419 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
11420           # Check whether --enable-searchctrl was given.
11421 if test "${enable_searchctrl+set}" = set; then
11422   enableval=$enable_searchctrl;
11423                           if test "$enableval" = yes; then
11424                             wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
11425                           else
11426                             wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
11427                           fi
11428
11429 else
11430
11431                           wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
11432
11433 fi
11434
11435
11436           eval "$wx_cv_use_searchctrl"
11437
11438           if test x"$enablestring" = xdisable; then
11439             if test $wxUSE_SEARCHCTRL = no; then
11440               result=yes
11441             else
11442               result=no
11443             fi
11444           else
11445             result=$wxUSE_SEARCHCTRL
11446           fi
11447
11448           { echo "$as_me:$LINENO: result: $result" >&5
11449 echo "${ECHO_T}$result" >&6; }
11450
11451
11452           enablestring=
11453           defaultval=$wxUSE_ALL_FEATURES
11454           if test -z "$defaultval"; then
11455               if test x"$enablestring" = xdisable; then
11456                   defaultval=yes
11457               else
11458                   defaultval=no
11459               fi
11460           fi
11461
11462           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
11463 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
11464           # Check whether --enable-slider was given.
11465 if test "${enable_slider+set}" = set; then
11466   enableval=$enable_slider;
11467                           if test "$enableval" = yes; then
11468                             wx_cv_use_slider='wxUSE_SLIDER=yes'
11469                           else
11470                             wx_cv_use_slider='wxUSE_SLIDER=no'
11471                           fi
11472
11473 else
11474
11475                           wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
11476
11477 fi
11478
11479
11480           eval "$wx_cv_use_slider"
11481
11482           if test x"$enablestring" = xdisable; then
11483             if test $wxUSE_SLIDER = no; then
11484               result=yes
11485             else
11486               result=no
11487             fi
11488           else
11489             result=$wxUSE_SLIDER
11490           fi
11491
11492           { echo "$as_me:$LINENO: result: $result" >&5
11493 echo "${ECHO_T}$result" >&6; }
11494
11495
11496           enablestring=
11497           defaultval=$wxUSE_ALL_FEATURES
11498           if test -z "$defaultval"; then
11499               if test x"$enablestring" = xdisable; then
11500                   defaultval=yes
11501               else
11502                   defaultval=no
11503               fi
11504           fi
11505
11506           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
11507 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
11508           # Check whether --enable-spinbtn was given.
11509 if test "${enable_spinbtn+set}" = set; then
11510   enableval=$enable_spinbtn;
11511                           if test "$enableval" = yes; then
11512                             wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
11513                           else
11514                             wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
11515                           fi
11516
11517 else
11518
11519                           wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
11520
11521 fi
11522
11523
11524           eval "$wx_cv_use_spinbtn"
11525
11526           if test x"$enablestring" = xdisable; then
11527             if test $wxUSE_SPINBTN = no; then
11528               result=yes
11529             else
11530               result=no
11531             fi
11532           else
11533             result=$wxUSE_SPINBTN
11534           fi
11535
11536           { echo "$as_me:$LINENO: result: $result" >&5
11537 echo "${ECHO_T}$result" >&6; }
11538
11539
11540           enablestring=
11541           defaultval=$wxUSE_ALL_FEATURES
11542           if test -z "$defaultval"; then
11543               if test x"$enablestring" = xdisable; then
11544                   defaultval=yes
11545               else
11546                   defaultval=no
11547               fi
11548           fi
11549
11550           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
11551 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
11552           # Check whether --enable-spinctrl was given.
11553 if test "${enable_spinctrl+set}" = set; then
11554   enableval=$enable_spinctrl;
11555                           if test "$enableval" = yes; then
11556                             wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
11557                           else
11558                             wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
11559                           fi
11560
11561 else
11562
11563                           wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
11564
11565 fi
11566
11567
11568           eval "$wx_cv_use_spinctrl"
11569
11570           if test x"$enablestring" = xdisable; then
11571             if test $wxUSE_SPINCTRL = no; then
11572               result=yes
11573             else
11574               result=no
11575             fi
11576           else
11577             result=$wxUSE_SPINCTRL
11578           fi
11579
11580           { echo "$as_me:$LINENO: result: $result" >&5
11581 echo "${ECHO_T}$result" >&6; }
11582
11583
11584           enablestring=
11585           defaultval=$wxUSE_ALL_FEATURES
11586           if test -z "$defaultval"; then
11587               if test x"$enablestring" = xdisable; then
11588                   defaultval=yes
11589               else
11590                   defaultval=no
11591               fi
11592           fi
11593
11594           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
11595 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
11596           # Check whether --enable-splitter was given.
11597 if test "${enable_splitter+set}" = set; then
11598   enableval=$enable_splitter;
11599                           if test "$enableval" = yes; then
11600                             wx_cv_use_splitter='wxUSE_SPLITTER=yes'
11601                           else
11602                             wx_cv_use_splitter='wxUSE_SPLITTER=no'
11603                           fi
11604
11605 else
11606
11607                           wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
11608
11609 fi
11610
11611
11612           eval "$wx_cv_use_splitter"
11613
11614           if test x"$enablestring" = xdisable; then
11615             if test $wxUSE_SPLITTER = no; then
11616               result=yes
11617             else
11618               result=no
11619             fi
11620           else
11621             result=$wxUSE_SPLITTER
11622           fi
11623
11624           { echo "$as_me:$LINENO: result: $result" >&5
11625 echo "${ECHO_T}$result" >&6; }
11626
11627
11628           enablestring=
11629           defaultval=$wxUSE_ALL_FEATURES
11630           if test -z "$defaultval"; then
11631               if test x"$enablestring" = xdisable; then
11632                   defaultval=yes
11633               else
11634                   defaultval=no
11635               fi
11636           fi
11637
11638           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
11639 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
11640           # Check whether --enable-statbmp was given.
11641 if test "${enable_statbmp+set}" = set; then
11642   enableval=$enable_statbmp;
11643                           if test "$enableval" = yes; then
11644                             wx_cv_use_statbmp='wxUSE_STATBMP=yes'
11645                           else
11646                             wx_cv_use_statbmp='wxUSE_STATBMP=no'
11647                           fi
11648
11649 else
11650
11651                           wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
11652
11653 fi
11654
11655
11656           eval "$wx_cv_use_statbmp"
11657
11658           if test x"$enablestring" = xdisable; then
11659             if test $wxUSE_STATBMP = no; then
11660               result=yes
11661             else
11662               result=no
11663             fi
11664           else
11665             result=$wxUSE_STATBMP
11666           fi
11667
11668           { echo "$as_me:$LINENO: result: $result" >&5
11669 echo "${ECHO_T}$result" >&6; }
11670
11671
11672           enablestring=
11673           defaultval=$wxUSE_ALL_FEATURES
11674           if test -z "$defaultval"; then
11675               if test x"$enablestring" = xdisable; then
11676                   defaultval=yes
11677               else
11678                   defaultval=no
11679               fi
11680           fi
11681
11682           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
11683 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
11684           # Check whether --enable-statbox was given.
11685 if test "${enable_statbox+set}" = set; then
11686   enableval=$enable_statbox;
11687                           if test "$enableval" = yes; then
11688                             wx_cv_use_statbox='wxUSE_STATBOX=yes'
11689                           else
11690                             wx_cv_use_statbox='wxUSE_STATBOX=no'
11691                           fi
11692
11693 else
11694
11695                           wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
11696
11697 fi
11698
11699
11700           eval "$wx_cv_use_statbox"
11701
11702           if test x"$enablestring" = xdisable; then
11703             if test $wxUSE_STATBOX = no; then
11704               result=yes
11705             else
11706               result=no
11707             fi
11708           else
11709             result=$wxUSE_STATBOX
11710           fi
11711
11712           { echo "$as_me:$LINENO: result: $result" >&5
11713 echo "${ECHO_T}$result" >&6; }
11714
11715
11716           enablestring=
11717           defaultval=$wxUSE_ALL_FEATURES
11718           if test -z "$defaultval"; then
11719               if test x"$enablestring" = xdisable; then
11720                   defaultval=yes
11721               else
11722                   defaultval=no
11723               fi
11724           fi
11725
11726           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
11727 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
11728           # Check whether --enable-statline was given.
11729 if test "${enable_statline+set}" = set; then
11730   enableval=$enable_statline;
11731                           if test "$enableval" = yes; then
11732                             wx_cv_use_statline='wxUSE_STATLINE=yes'
11733                           else
11734                             wx_cv_use_statline='wxUSE_STATLINE=no'
11735                           fi
11736
11737 else
11738
11739                           wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
11740
11741 fi
11742
11743
11744           eval "$wx_cv_use_statline"
11745
11746           if test x"$enablestring" = xdisable; then
11747             if test $wxUSE_STATLINE = no; then
11748               result=yes
11749             else
11750               result=no
11751             fi
11752           else
11753             result=$wxUSE_STATLINE
11754           fi
11755
11756           { echo "$as_me:$LINENO: result: $result" >&5
11757 echo "${ECHO_T}$result" >&6; }
11758
11759
11760           enablestring=
11761           defaultval=$wxUSE_ALL_FEATURES
11762           if test -z "$defaultval"; then
11763               if test x"$enablestring" = xdisable; then
11764                   defaultval=yes
11765               else
11766                   defaultval=no
11767               fi
11768           fi
11769
11770           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
11771 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
11772           # Check whether --enable-stattext was given.
11773 if test "${enable_stattext+set}" = set; then
11774   enableval=$enable_stattext;
11775                           if test "$enableval" = yes; then
11776                             wx_cv_use_stattext='wxUSE_STATTEXT=yes'
11777                           else
11778                             wx_cv_use_stattext='wxUSE_STATTEXT=no'
11779                           fi
11780
11781 else
11782
11783                           wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
11784
11785 fi
11786
11787
11788           eval "$wx_cv_use_stattext"
11789
11790           if test x"$enablestring" = xdisable; then
11791             if test $wxUSE_STATTEXT = no; then
11792               result=yes
11793             else
11794               result=no
11795             fi
11796           else
11797             result=$wxUSE_STATTEXT
11798           fi
11799
11800           { echo "$as_me:$LINENO: result: $result" >&5
11801 echo "${ECHO_T}$result" >&6; }
11802
11803
11804           enablestring=
11805           defaultval=$wxUSE_ALL_FEATURES
11806           if test -z "$defaultval"; then
11807               if test x"$enablestring" = xdisable; then
11808                   defaultval=yes
11809               else
11810                   defaultval=no
11811               fi
11812           fi
11813
11814           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
11815 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
11816           # Check whether --enable-statusbar was given.
11817 if test "${enable_statusbar+set}" = set; then
11818   enableval=$enable_statusbar;
11819                           if test "$enableval" = yes; then
11820                             wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
11821                           else
11822                             wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
11823                           fi
11824
11825 else
11826
11827                           wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
11828
11829 fi
11830
11831
11832           eval "$wx_cv_use_statusbar"
11833
11834           if test x"$enablestring" = xdisable; then
11835             if test $wxUSE_STATUSBAR = no; then
11836               result=yes
11837             else
11838               result=no
11839             fi
11840           else
11841             result=$wxUSE_STATUSBAR
11842           fi
11843
11844           { echo "$as_me:$LINENO: result: $result" >&5
11845 echo "${ECHO_T}$result" >&6; }
11846
11847
11848           enablestring=
11849           defaultval=$wxUSE_ALL_FEATURES
11850           if test -z "$defaultval"; then
11851               if test x"$enablestring" = xdisable; then
11852                   defaultval=yes
11853               else
11854                   defaultval=no
11855               fi
11856           fi
11857
11858           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
11859 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
11860           # Check whether --enable-taskbaricon was given.
11861 if test "${enable_taskbaricon+set}" = set; then
11862   enableval=$enable_taskbaricon;
11863                           if test "$enableval" = yes; then
11864                             wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
11865                           else
11866                             wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
11867                           fi
11868
11869 else
11870
11871                           wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
11872
11873 fi
11874
11875
11876           eval "$wx_cv_use_taskbaricon"
11877
11878           if test x"$enablestring" = xdisable; then
11879             if test $wxUSE_TASKBARICON = no; then
11880               result=yes
11881             else
11882               result=no
11883             fi
11884           else
11885             result=$wxUSE_TASKBARICON
11886           fi
11887
11888           { echo "$as_me:$LINENO: result: $result" >&5
11889 echo "${ECHO_T}$result" >&6; }
11890
11891
11892           enablestring=
11893           defaultval=$wxUSE_ALL_FEATURES
11894           if test -z "$defaultval"; then
11895               if test x"$enablestring" = xdisable; then
11896                   defaultval=yes
11897               else
11898                   defaultval=no
11899               fi
11900           fi
11901
11902           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
11903 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
11904           # Check whether --enable-tbarnative was given.
11905 if test "${enable_tbarnative+set}" = set; then
11906   enableval=$enable_tbarnative;
11907                           if test "$enableval" = yes; then
11908                             wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
11909                           else
11910                             wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
11911                           fi
11912
11913 else
11914
11915                           wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
11916
11917 fi
11918
11919
11920           eval "$wx_cv_use_tbarnative"
11921
11922           if test x"$enablestring" = xdisable; then
11923             if test $wxUSE_TOOLBAR_NATIVE = no; then
11924               result=yes
11925             else
11926               result=no
11927             fi
11928           else
11929             result=$wxUSE_TOOLBAR_NATIVE
11930           fi
11931
11932           { echo "$as_me:$LINENO: result: $result" >&5
11933 echo "${ECHO_T}$result" >&6; }
11934
11935
11936           enablestring=
11937           defaultval=$wxUSE_ALL_FEATURES
11938           if test -z "$defaultval"; then
11939               if test x"$enablestring" = xdisable; then
11940                   defaultval=yes
11941               else
11942                   defaultval=no
11943               fi
11944           fi
11945
11946           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
11947 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
11948           # Check whether --enable-textctrl was given.
11949 if test "${enable_textctrl+set}" = set; then
11950   enableval=$enable_textctrl;
11951                           if test "$enableval" = yes; then
11952                             wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
11953                           else
11954                             wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
11955                           fi
11956
11957 else
11958
11959                           wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
11960
11961 fi
11962
11963
11964           eval "$wx_cv_use_textctrl"
11965
11966           if test x"$enablestring" = xdisable; then
11967             if test $wxUSE_TEXTCTRL = no; then
11968               result=yes
11969             else
11970               result=no
11971             fi
11972           else
11973             result=$wxUSE_TEXTCTRL
11974           fi
11975
11976           { echo "$as_me:$LINENO: result: $result" >&5
11977 echo "${ECHO_T}$result" >&6; }
11978
11979
11980           enablestring=
11981           defaultval=$wxUSE_ALL_FEATURES
11982           if test -z "$defaultval"; then
11983               if test x"$enablestring" = xdisable; then
11984                   defaultval=yes
11985               else
11986                   defaultval=no
11987               fi
11988           fi
11989
11990           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
11991 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
11992           # Check whether --enable-tipwindow was given.
11993 if test "${enable_tipwindow+set}" = set; then
11994   enableval=$enable_tipwindow;
11995                           if test "$enableval" = yes; then
11996                             wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
11997                           else
11998                             wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
11999                           fi
12000
12001 else
12002
12003                           wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
12004
12005 fi
12006
12007
12008           eval "$wx_cv_use_tipwindow"
12009
12010           if test x"$enablestring" = xdisable; then
12011             if test $wxUSE_TIPWINDOW = no; then
12012               result=yes
12013             else
12014               result=no
12015             fi
12016           else
12017             result=$wxUSE_TIPWINDOW
12018           fi
12019
12020           { echo "$as_me:$LINENO: result: $result" >&5
12021 echo "${ECHO_T}$result" >&6; }
12022
12023
12024           enablestring=
12025           defaultval=$wxUSE_ALL_FEATURES
12026           if test -z "$defaultval"; then
12027               if test x"$enablestring" = xdisable; then
12028                   defaultval=yes
12029               else
12030                   defaultval=no
12031               fi
12032           fi
12033
12034           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
12035 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
12036           # Check whether --enable-togglebtn was given.
12037 if test "${enable_togglebtn+set}" = set; then
12038   enableval=$enable_togglebtn;
12039                           if test "$enableval" = yes; then
12040                             wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
12041                           else
12042                             wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
12043                           fi
12044
12045 else
12046
12047                           wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
12048
12049 fi
12050
12051
12052           eval "$wx_cv_use_togglebtn"
12053
12054           if test x"$enablestring" = xdisable; then
12055             if test $wxUSE_TOGGLEBTN = no; then
12056               result=yes
12057             else
12058               result=no
12059             fi
12060           else
12061             result=$wxUSE_TOGGLEBTN
12062           fi
12063
12064           { echo "$as_me:$LINENO: result: $result" >&5
12065 echo "${ECHO_T}$result" >&6; }
12066
12067
12068           enablestring=
12069           defaultval=$wxUSE_ALL_FEATURES
12070           if test -z "$defaultval"; then
12071               if test x"$enablestring" = xdisable; then
12072                   defaultval=yes
12073               else
12074                   defaultval=no
12075               fi
12076           fi
12077
12078           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
12079 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
12080           # Check whether --enable-toolbar was given.
12081 if test "${enable_toolbar+set}" = set; then
12082   enableval=$enable_toolbar;
12083                           if test "$enableval" = yes; then
12084                             wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
12085                           else
12086                             wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
12087                           fi
12088
12089 else
12090
12091                           wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
12092
12093 fi
12094
12095
12096           eval "$wx_cv_use_toolbar"
12097
12098           if test x"$enablestring" = xdisable; then
12099             if test $wxUSE_TOOLBAR = no; then
12100               result=yes
12101             else
12102               result=no
12103             fi
12104           else
12105             result=$wxUSE_TOOLBAR
12106           fi
12107
12108           { echo "$as_me:$LINENO: result: $result" >&5
12109 echo "${ECHO_T}$result" >&6; }
12110
12111
12112           enablestring=
12113           defaultval=$wxUSE_ALL_FEATURES
12114           if test -z "$defaultval"; then
12115               if test x"$enablestring" = xdisable; then
12116                   defaultval=yes
12117               else
12118                   defaultval=no
12119               fi
12120           fi
12121
12122           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
12123 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
12124           # Check whether --enable-toolbook was given.
12125 if test "${enable_toolbook+set}" = set; then
12126   enableval=$enable_toolbook;
12127                           if test "$enableval" = yes; then
12128                             wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
12129                           else
12130                             wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
12131                           fi
12132
12133 else
12134
12135                           wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
12136
12137 fi
12138
12139
12140           eval "$wx_cv_use_toolbook"
12141
12142           if test x"$enablestring" = xdisable; then
12143             if test $wxUSE_TOOLBOOK = no; then
12144               result=yes
12145             else
12146               result=no
12147             fi
12148           else
12149             result=$wxUSE_TOOLBOOK
12150           fi
12151
12152           { echo "$as_me:$LINENO: result: $result" >&5
12153 echo "${ECHO_T}$result" >&6; }
12154
12155
12156           enablestring=
12157           defaultval=$wxUSE_ALL_FEATURES
12158           if test -z "$defaultval"; then
12159               if test x"$enablestring" = xdisable; then
12160                   defaultval=yes
12161               else
12162                   defaultval=no
12163               fi
12164           fi
12165
12166           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
12167 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
12168           # Check whether --enable-treebook was given.
12169 if test "${enable_treebook+set}" = set; then
12170   enableval=$enable_treebook;
12171                           if test "$enableval" = yes; then
12172                             wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
12173                           else
12174                             wx_cv_use_treebook='wxUSE_TREEBOOK=no'
12175                           fi
12176
12177 else
12178
12179                           wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
12180
12181 fi
12182
12183
12184           eval "$wx_cv_use_treebook"
12185
12186           if test x"$enablestring" = xdisable; then
12187             if test $wxUSE_TREEBOOK = no; then
12188               result=yes
12189             else
12190               result=no
12191             fi
12192           else
12193             result=$wxUSE_TREEBOOK
12194           fi
12195
12196           { echo "$as_me:$LINENO: result: $result" >&5
12197 echo "${ECHO_T}$result" >&6; }
12198
12199
12200           enablestring=
12201           defaultval=$wxUSE_ALL_FEATURES
12202           if test -z "$defaultval"; then
12203               if test x"$enablestring" = xdisable; then
12204                   defaultval=yes
12205               else
12206                   defaultval=no
12207               fi
12208           fi
12209
12210           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
12211 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
12212           # Check whether --enable-treectrl was given.
12213 if test "${enable_treectrl+set}" = set; then
12214   enableval=$enable_treectrl;
12215                           if test "$enableval" = yes; then
12216                             wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
12217                           else
12218                             wx_cv_use_treectrl='wxUSE_TREECTRL=no'
12219                           fi
12220
12221 else
12222
12223                           wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
12224
12225 fi
12226
12227
12228           eval "$wx_cv_use_treectrl"
12229
12230           if test x"$enablestring" = xdisable; then
12231             if test $wxUSE_TREECTRL = no; then
12232               result=yes
12233             else
12234               result=no
12235             fi
12236           else
12237             result=$wxUSE_TREECTRL
12238           fi
12239
12240           { echo "$as_me:$LINENO: result: $result" >&5
12241 echo "${ECHO_T}$result" >&6; }
12242
12243
12244
12245
12246           enablestring=
12247           defaultval=$wxUSE_ALL_FEATURES
12248           if test -z "$defaultval"; then
12249               if test x"$enablestring" = xdisable; then
12250                   defaultval=yes
12251               else
12252                   defaultval=no
12253               fi
12254           fi
12255
12256           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
12257 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
12258           # Check whether --enable-commondlg was given.
12259 if test "${enable_commondlg+set}" = set; then
12260   enableval=$enable_commondlg;
12261                           if test "$enableval" = yes; then
12262                             wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
12263                           else
12264                             wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
12265                           fi
12266
12267 else
12268
12269                           wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
12270
12271 fi
12272
12273
12274           eval "$wx_cv_use_commondlg"
12275
12276           if test x"$enablestring" = xdisable; then
12277             if test $wxUSE_COMMONDLGS = no; then
12278               result=yes
12279             else
12280               result=no
12281             fi
12282           else
12283             result=$wxUSE_COMMONDLGS
12284           fi
12285
12286           { echo "$as_me:$LINENO: result: $result" >&5
12287 echo "${ECHO_T}$result" >&6; }
12288
12289
12290           enablestring=
12291           defaultval=$wxUSE_ALL_FEATURES
12292           if test -z "$defaultval"; then
12293               if test x"$enablestring" = xdisable; then
12294                   defaultval=yes
12295               else
12296                   defaultval=no
12297               fi
12298           fi
12299
12300           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
12301 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
12302           # Check whether --enable-aboutdlg was given.
12303 if test "${enable_aboutdlg+set}" = set; then
12304   enableval=$enable_aboutdlg;
12305                           if test "$enableval" = yes; then
12306                             wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
12307                           else
12308                             wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
12309                           fi
12310
12311 else
12312
12313                           wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
12314
12315 fi
12316
12317
12318           eval "$wx_cv_use_aboutdlg"
12319
12320           if test x"$enablestring" = xdisable; then
12321             if test $wxUSE_ABOUTDLG = no; then
12322               result=yes
12323             else
12324               result=no
12325             fi
12326           else
12327             result=$wxUSE_ABOUTDLG
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}-choicedlg" >&5
12345 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
12346           # Check whether --enable-choicedlg was given.
12347 if test "${enable_choicedlg+set}" = set; then
12348   enableval=$enable_choicedlg;
12349                           if test "$enableval" = yes; then
12350                             wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
12351                           else
12352                             wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
12353                           fi
12354
12355 else
12356
12357                           wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
12358
12359 fi
12360
12361
12362           eval "$wx_cv_use_choicedlg"
12363
12364           if test x"$enablestring" = xdisable; then
12365             if test $wxUSE_CHOICEDLG = no; then
12366               result=yes
12367             else
12368               result=no
12369             fi
12370           else
12371             result=$wxUSE_CHOICEDLG
12372           fi
12373
12374           { echo "$as_me:$LINENO: result: $result" >&5
12375 echo "${ECHO_T}$result" >&6; }
12376
12377
12378           enablestring=
12379           defaultval=$wxUSE_ALL_FEATURES
12380           if test -z "$defaultval"; then
12381               if test x"$enablestring" = xdisable; then
12382                   defaultval=yes
12383               else
12384                   defaultval=no
12385               fi
12386           fi
12387
12388           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
12389 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
12390           # Check whether --enable-coldlg was given.
12391 if test "${enable_coldlg+set}" = set; then
12392   enableval=$enable_coldlg;
12393                           if test "$enableval" = yes; then
12394                             wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
12395                           else
12396                             wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
12397                           fi
12398
12399 else
12400
12401                           wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
12402
12403 fi
12404
12405
12406           eval "$wx_cv_use_coldlg"
12407
12408           if test x"$enablestring" = xdisable; then
12409             if test $wxUSE_COLOURDLG = no; then
12410               result=yes
12411             else
12412               result=no
12413             fi
12414           else
12415             result=$wxUSE_COLOURDLG
12416           fi
12417
12418           { echo "$as_me:$LINENO: result: $result" >&5
12419 echo "${ECHO_T}$result" >&6; }
12420
12421
12422           enablestring=
12423           defaultval=$wxUSE_ALL_FEATURES
12424           if test -z "$defaultval"; then
12425               if test x"$enablestring" = xdisable; then
12426                   defaultval=yes
12427               else
12428                   defaultval=no
12429               fi
12430           fi
12431
12432           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
12433 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
12434           # Check whether --enable-filedlg was given.
12435 if test "${enable_filedlg+set}" = set; then
12436   enableval=$enable_filedlg;
12437                           if test "$enableval" = yes; then
12438                             wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
12439                           else
12440                             wx_cv_use_filedlg='wxUSE_FILEDLG=no'
12441                           fi
12442
12443 else
12444
12445                           wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
12446
12447 fi
12448
12449
12450           eval "$wx_cv_use_filedlg"
12451
12452           if test x"$enablestring" = xdisable; then
12453             if test $wxUSE_FILEDLG = no; then
12454               result=yes
12455             else
12456               result=no
12457             fi
12458           else
12459             result=$wxUSE_FILEDLG
12460           fi
12461
12462           { echo "$as_me:$LINENO: result: $result" >&5
12463 echo "${ECHO_T}$result" >&6; }
12464
12465
12466           enablestring=
12467           defaultval=$wxUSE_ALL_FEATURES
12468           if test -z "$defaultval"; then
12469               if test x"$enablestring" = xdisable; then
12470                   defaultval=yes
12471               else
12472                   defaultval=no
12473               fi
12474           fi
12475
12476           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
12477 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
12478           # Check whether --enable-finddlg was given.
12479 if test "${enable_finddlg+set}" = set; then
12480   enableval=$enable_finddlg;
12481                           if test "$enableval" = yes; then
12482                             wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
12483                           else
12484                             wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
12485                           fi
12486
12487 else
12488
12489                           wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
12490
12491 fi
12492
12493
12494           eval "$wx_cv_use_finddlg"
12495
12496           if test x"$enablestring" = xdisable; then
12497             if test $wxUSE_FINDREPLDLG = no; then
12498               result=yes
12499             else
12500               result=no
12501             fi
12502           else
12503             result=$wxUSE_FINDREPLDLG
12504           fi
12505
12506           { echo "$as_me:$LINENO: result: $result" >&5
12507 echo "${ECHO_T}$result" >&6; }
12508
12509
12510           enablestring=
12511           defaultval=$wxUSE_ALL_FEATURES
12512           if test -z "$defaultval"; then
12513               if test x"$enablestring" = xdisable; then
12514                   defaultval=yes
12515               else
12516                   defaultval=no
12517               fi
12518           fi
12519
12520           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
12521 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
12522           # Check whether --enable-fontdlg was given.
12523 if test "${enable_fontdlg+set}" = set; then
12524   enableval=$enable_fontdlg;
12525                           if test "$enableval" = yes; then
12526                             wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
12527                           else
12528                             wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
12529                           fi
12530
12531 else
12532
12533                           wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
12534
12535 fi
12536
12537
12538           eval "$wx_cv_use_fontdlg"
12539
12540           if test x"$enablestring" = xdisable; then
12541             if test $wxUSE_FONTDLG = no; then
12542               result=yes
12543             else
12544               result=no
12545             fi
12546           else
12547             result=$wxUSE_FONTDLG
12548           fi
12549
12550           { echo "$as_me:$LINENO: result: $result" >&5
12551 echo "${ECHO_T}$result" >&6; }
12552
12553
12554           enablestring=
12555           defaultval=$wxUSE_ALL_FEATURES
12556           if test -z "$defaultval"; then
12557               if test x"$enablestring" = xdisable; then
12558                   defaultval=yes
12559               else
12560                   defaultval=no
12561               fi
12562           fi
12563
12564           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
12565 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
12566           # Check whether --enable-dirdlg was given.
12567 if test "${enable_dirdlg+set}" = set; then
12568   enableval=$enable_dirdlg;
12569                           if test "$enableval" = yes; then
12570                             wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
12571                           else
12572                             wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
12573                           fi
12574
12575 else
12576
12577                           wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
12578
12579 fi
12580
12581
12582           eval "$wx_cv_use_dirdlg"
12583
12584           if test x"$enablestring" = xdisable; then
12585             if test $wxUSE_DIRDLG = no; then
12586               result=yes
12587             else
12588               result=no
12589             fi
12590           else
12591             result=$wxUSE_DIRDLG
12592           fi
12593
12594           { echo "$as_me:$LINENO: result: $result" >&5
12595 echo "${ECHO_T}$result" >&6; }
12596
12597
12598           enablestring=
12599           defaultval=$wxUSE_ALL_FEATURES
12600           if test -z "$defaultval"; then
12601               if test x"$enablestring" = xdisable; then
12602                   defaultval=yes
12603               else
12604                   defaultval=no
12605               fi
12606           fi
12607
12608           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
12609 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
12610           # Check whether --enable-msgdlg was given.
12611 if test "${enable_msgdlg+set}" = set; then
12612   enableval=$enable_msgdlg;
12613                           if test "$enableval" = yes; then
12614                             wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
12615                           else
12616                             wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
12617                           fi
12618
12619 else
12620
12621                           wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
12622
12623 fi
12624
12625
12626           eval "$wx_cv_use_msgdlg"
12627
12628           if test x"$enablestring" = xdisable; then
12629             if test $wxUSE_MSGDLG = no; then
12630               result=yes
12631             else
12632               result=no
12633             fi
12634           else
12635             result=$wxUSE_MSGDLG
12636           fi
12637
12638           { echo "$as_me:$LINENO: result: $result" >&5
12639 echo "${ECHO_T}$result" >&6; }
12640
12641
12642           enablestring=
12643           defaultval=$wxUSE_ALL_FEATURES
12644           if test -z "$defaultval"; then
12645               if test x"$enablestring" = xdisable; then
12646                   defaultval=yes
12647               else
12648                   defaultval=no
12649               fi
12650           fi
12651
12652           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
12653 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
12654           # Check whether --enable-numberdlg was given.
12655 if test "${enable_numberdlg+set}" = set; then
12656   enableval=$enable_numberdlg;
12657                           if test "$enableval" = yes; then
12658                             wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
12659                           else
12660                             wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
12661                           fi
12662
12663 else
12664
12665                           wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
12666
12667 fi
12668
12669
12670           eval "$wx_cv_use_numberdlg"
12671
12672           if test x"$enablestring" = xdisable; then
12673             if test $wxUSE_NUMBERDLG = no; then
12674               result=yes
12675             else
12676               result=no
12677             fi
12678           else
12679             result=$wxUSE_NUMBERDLG
12680           fi
12681
12682           { echo "$as_me:$LINENO: result: $result" >&5
12683 echo "${ECHO_T}$result" >&6; }
12684
12685
12686           enablestring=
12687           defaultval=$wxUSE_ALL_FEATURES
12688           if test -z "$defaultval"; then
12689               if test x"$enablestring" = xdisable; then
12690                   defaultval=yes
12691               else
12692                   defaultval=no
12693               fi
12694           fi
12695
12696           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
12697 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
12698           # Check whether --enable-splash was given.
12699 if test "${enable_splash+set}" = set; then
12700   enableval=$enable_splash;
12701                           if test "$enableval" = yes; then
12702                             wx_cv_use_splash='wxUSE_SPLASH=yes'
12703                           else
12704                             wx_cv_use_splash='wxUSE_SPLASH=no'
12705                           fi
12706
12707 else
12708
12709                           wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
12710
12711 fi
12712
12713
12714           eval "$wx_cv_use_splash"
12715
12716           if test x"$enablestring" = xdisable; then
12717             if test $wxUSE_SPLASH = no; then
12718               result=yes
12719             else
12720               result=no
12721             fi
12722           else
12723             result=$wxUSE_SPLASH
12724           fi
12725
12726           { echo "$as_me:$LINENO: result: $result" >&5
12727 echo "${ECHO_T}$result" >&6; }
12728
12729
12730           enablestring=
12731           defaultval=$wxUSE_ALL_FEATURES
12732           if test -z "$defaultval"; then
12733               if test x"$enablestring" = xdisable; then
12734                   defaultval=yes
12735               else
12736                   defaultval=no
12737               fi
12738           fi
12739
12740           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
12741 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
12742           # Check whether --enable-textdlg was given.
12743 if test "${enable_textdlg+set}" = set; then
12744   enableval=$enable_textdlg;
12745                           if test "$enableval" = yes; then
12746                             wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
12747                           else
12748                             wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
12749                           fi
12750
12751 else
12752
12753                           wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
12754
12755 fi
12756
12757
12758           eval "$wx_cv_use_textdlg"
12759
12760           if test x"$enablestring" = xdisable; then
12761             if test $wxUSE_TEXTDLG = no; then
12762               result=yes
12763             else
12764               result=no
12765             fi
12766           else
12767             result=$wxUSE_TEXTDLG
12768           fi
12769
12770           { echo "$as_me:$LINENO: result: $result" >&5
12771 echo "${ECHO_T}$result" >&6; }
12772
12773
12774           enablestring=
12775           defaultval=$wxUSE_ALL_FEATURES
12776           if test -z "$defaultval"; then
12777               if test x"$enablestring" = xdisable; then
12778                   defaultval=yes
12779               else
12780                   defaultval=no
12781               fi
12782           fi
12783
12784           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
12785 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
12786           # Check whether --enable-tipdlg was given.
12787 if test "${enable_tipdlg+set}" = set; then
12788   enableval=$enable_tipdlg;
12789                           if test "$enableval" = yes; then
12790                             wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
12791                           else
12792                             wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
12793                           fi
12794
12795 else
12796
12797                           wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
12798
12799 fi
12800
12801
12802           eval "$wx_cv_use_tipdlg"
12803
12804           if test x"$enablestring" = xdisable; then
12805             if test $wxUSE_STARTUP_TIPS = no; then
12806               result=yes
12807             else
12808               result=no
12809             fi
12810           else
12811             result=$wxUSE_STARTUP_TIPS
12812           fi
12813
12814           { echo "$as_me:$LINENO: result: $result" >&5
12815 echo "${ECHO_T}$result" >&6; }
12816
12817
12818           enablestring=
12819           defaultval=$wxUSE_ALL_FEATURES
12820           if test -z "$defaultval"; then
12821               if test x"$enablestring" = xdisable; then
12822                   defaultval=yes
12823               else
12824                   defaultval=no
12825               fi
12826           fi
12827
12828           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
12829 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
12830           # Check whether --enable-progressdlg was given.
12831 if test "${enable_progressdlg+set}" = set; then
12832   enableval=$enable_progressdlg;
12833                           if test "$enableval" = yes; then
12834                             wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
12835                           else
12836                             wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
12837                           fi
12838
12839 else
12840
12841                           wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
12842
12843 fi
12844
12845
12846           eval "$wx_cv_use_progressdlg"
12847
12848           if test x"$enablestring" = xdisable; then
12849             if test $wxUSE_PROGRESSDLG = no; then
12850               result=yes
12851             else
12852               result=no
12853             fi
12854           else
12855             result=$wxUSE_PROGRESSDLG
12856           fi
12857
12858           { echo "$as_me:$LINENO: result: $result" >&5
12859 echo "${ECHO_T}$result" >&6; }
12860
12861
12862           enablestring=
12863           defaultval=$wxUSE_ALL_FEATURES
12864           if test -z "$defaultval"; then
12865               if test x"$enablestring" = xdisable; then
12866                   defaultval=yes
12867               else
12868                   defaultval=no
12869               fi
12870           fi
12871
12872           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
12873 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
12874           # Check whether --enable-wizarddlg was given.
12875 if test "${enable_wizarddlg+set}" = set; then
12876   enableval=$enable_wizarddlg;
12877                           if test "$enableval" = yes; then
12878                             wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
12879                           else
12880                             wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
12881                           fi
12882
12883 else
12884
12885                           wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
12886
12887 fi
12888
12889
12890           eval "$wx_cv_use_wizarddlg"
12891
12892           if test x"$enablestring" = xdisable; then
12893             if test $wxUSE_WIZARDDLG = no; then
12894               result=yes
12895             else
12896               result=no
12897             fi
12898           else
12899             result=$wxUSE_WIZARDDLG
12900           fi
12901
12902           { echo "$as_me:$LINENO: result: $result" >&5
12903 echo "${ECHO_T}$result" >&6; }
12904
12905
12906
12907
12908           enablestring=
12909           defaultval=$wxUSE_ALL_FEATURES
12910           if test -z "$defaultval"; then
12911               if test x"$enablestring" = xdisable; then
12912                   defaultval=yes
12913               else
12914                   defaultval=no
12915               fi
12916           fi
12917
12918           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
12919 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
12920           # Check whether --enable-menus was given.
12921 if test "${enable_menus+set}" = set; then
12922   enableval=$enable_menus;
12923                           if test "$enableval" = yes; then
12924                             wx_cv_use_menus='wxUSE_MENUS=yes'
12925                           else
12926                             wx_cv_use_menus='wxUSE_MENUS=no'
12927                           fi
12928
12929 else
12930
12931                           wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
12932
12933 fi
12934
12935
12936           eval "$wx_cv_use_menus"
12937
12938           if test x"$enablestring" = xdisable; then
12939             if test $wxUSE_MENUS = no; then
12940               result=yes
12941             else
12942               result=no
12943             fi
12944           else
12945             result=$wxUSE_MENUS
12946           fi
12947
12948           { echo "$as_me:$LINENO: result: $result" >&5
12949 echo "${ECHO_T}$result" >&6; }
12950
12951
12952           enablestring=
12953           defaultval=$wxUSE_ALL_FEATURES
12954           if test -z "$defaultval"; then
12955               if test x"$enablestring" = xdisable; then
12956                   defaultval=yes
12957               else
12958                   defaultval=no
12959               fi
12960           fi
12961
12962           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
12963 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
12964           # Check whether --enable-miniframe was given.
12965 if test "${enable_miniframe+set}" = set; then
12966   enableval=$enable_miniframe;
12967                           if test "$enableval" = yes; then
12968                             wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
12969                           else
12970                             wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
12971                           fi
12972
12973 else
12974
12975                           wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
12976
12977 fi
12978
12979
12980           eval "$wx_cv_use_miniframe"
12981
12982           if test x"$enablestring" = xdisable; then
12983             if test $wxUSE_MINIFRAME = no; then
12984               result=yes
12985             else
12986               result=no
12987             fi
12988           else
12989             result=$wxUSE_MINIFRAME
12990           fi
12991
12992           { echo "$as_me:$LINENO: result: $result" >&5
12993 echo "${ECHO_T}$result" >&6; }
12994
12995
12996           enablestring=
12997           defaultval=$wxUSE_ALL_FEATURES
12998           if test -z "$defaultval"; then
12999               if test x"$enablestring" = xdisable; then
13000                   defaultval=yes
13001               else
13002                   defaultval=no
13003               fi
13004           fi
13005
13006           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
13007 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
13008           # Check whether --enable-tooltips was given.
13009 if test "${enable_tooltips+set}" = set; then
13010   enableval=$enable_tooltips;
13011                           if test "$enableval" = yes; then
13012                             wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
13013                           else
13014                             wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
13015                           fi
13016
13017 else
13018
13019                           wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
13020
13021 fi
13022
13023
13024           eval "$wx_cv_use_tooltips"
13025
13026           if test x"$enablestring" = xdisable; then
13027             if test $wxUSE_TOOLTIPS = no; then
13028               result=yes
13029             else
13030               result=no
13031             fi
13032           else
13033             result=$wxUSE_TOOLTIPS
13034           fi
13035
13036           { echo "$as_me:$LINENO: result: $result" >&5
13037 echo "${ECHO_T}$result" >&6; }
13038
13039
13040           enablestring=
13041           defaultval=$wxUSE_ALL_FEATURES
13042           if test -z "$defaultval"; then
13043               if test x"$enablestring" = xdisable; then
13044                   defaultval=yes
13045               else
13046                   defaultval=no
13047               fi
13048           fi
13049
13050           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
13051 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
13052           # Check whether --enable-splines was given.
13053 if test "${enable_splines+set}" = set; then
13054   enableval=$enable_splines;
13055                           if test "$enableval" = yes; then
13056                             wx_cv_use_splines='wxUSE_SPLINES=yes'
13057                           else
13058                             wx_cv_use_splines='wxUSE_SPLINES=no'
13059                           fi
13060
13061 else
13062
13063                           wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
13064
13065 fi
13066
13067
13068           eval "$wx_cv_use_splines"
13069
13070           if test x"$enablestring" = xdisable; then
13071             if test $wxUSE_SPLINES = no; then
13072               result=yes
13073             else
13074               result=no
13075             fi
13076           else
13077             result=$wxUSE_SPLINES
13078           fi
13079
13080           { echo "$as_me:$LINENO: result: $result" >&5
13081 echo "${ECHO_T}$result" >&6; }
13082
13083
13084           enablestring=
13085           defaultval=$wxUSE_ALL_FEATURES
13086           if test -z "$defaultval"; then
13087               if test x"$enablestring" = xdisable; then
13088                   defaultval=yes
13089               else
13090                   defaultval=no
13091               fi
13092           fi
13093
13094           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
13095 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
13096           # Check whether --enable-mousewheel was given.
13097 if test "${enable_mousewheel+set}" = set; then
13098   enableval=$enable_mousewheel;
13099                           if test "$enableval" = yes; then
13100                             wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
13101                           else
13102                             wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
13103                           fi
13104
13105 else
13106
13107                           wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
13108
13109 fi
13110
13111
13112           eval "$wx_cv_use_mousewheel"
13113
13114           if test x"$enablestring" = xdisable; then
13115             if test $wxUSE_MOUSEWHEEL = no; then
13116               result=yes
13117             else
13118               result=no
13119             fi
13120           else
13121             result=$wxUSE_MOUSEWHEEL
13122           fi
13123
13124           { echo "$as_me:$LINENO: result: $result" >&5
13125 echo "${ECHO_T}$result" >&6; }
13126
13127
13128           enablestring=
13129           defaultval=$wxUSE_ALL_FEATURES
13130           if test -z "$defaultval"; then
13131               if test x"$enablestring" = xdisable; then
13132                   defaultval=yes
13133               else
13134                   defaultval=no
13135               fi
13136           fi
13137
13138           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
13139 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
13140           # Check whether --enable-validators was given.
13141 if test "${enable_validators+set}" = set; then
13142   enableval=$enable_validators;
13143                           if test "$enableval" = yes; then
13144                             wx_cv_use_validators='wxUSE_VALIDATORS=yes'
13145                           else
13146                             wx_cv_use_validators='wxUSE_VALIDATORS=no'
13147                           fi
13148
13149 else
13150
13151                           wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
13152
13153 fi
13154
13155
13156           eval "$wx_cv_use_validators"
13157
13158           if test x"$enablestring" = xdisable; then
13159             if test $wxUSE_VALIDATORS = no; then
13160               result=yes
13161             else
13162               result=no
13163             fi
13164           else
13165             result=$wxUSE_VALIDATORS
13166           fi
13167
13168           { echo "$as_me:$LINENO: result: $result" >&5
13169 echo "${ECHO_T}$result" >&6; }
13170
13171
13172           enablestring=
13173           defaultval=$wxUSE_ALL_FEATURES
13174           if test -z "$defaultval"; then
13175               if test x"$enablestring" = xdisable; then
13176                   defaultval=yes
13177               else
13178                   defaultval=no
13179               fi
13180           fi
13181
13182           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
13183 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
13184           # Check whether --enable-busyinfo was given.
13185 if test "${enable_busyinfo+set}" = set; then
13186   enableval=$enable_busyinfo;
13187                           if test "$enableval" = yes; then
13188                             wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
13189                           else
13190                             wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
13191                           fi
13192
13193 else
13194
13195                           wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
13196
13197 fi
13198
13199
13200           eval "$wx_cv_use_busyinfo"
13201
13202           if test x"$enablestring" = xdisable; then
13203             if test $wxUSE_BUSYINFO = no; then
13204               result=yes
13205             else
13206               result=no
13207             fi
13208           else
13209             result=$wxUSE_BUSYINFO
13210           fi
13211
13212           { echo "$as_me:$LINENO: result: $result" >&5
13213 echo "${ECHO_T}$result" >&6; }
13214
13215
13216           enablestring=
13217           defaultval=$wxUSE_ALL_FEATURES
13218           if test -z "$defaultval"; then
13219               if test x"$enablestring" = xdisable; then
13220                   defaultval=yes
13221               else
13222                   defaultval=no
13223               fi
13224           fi
13225
13226           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
13227 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
13228           # Check whether --enable-joystick was given.
13229 if test "${enable_joystick+set}" = set; then
13230   enableval=$enable_joystick;
13231                           if test "$enableval" = yes; then
13232                             wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
13233                           else
13234                             wx_cv_use_joystick='wxUSE_JOYSTICK=no'
13235                           fi
13236
13237 else
13238
13239                           wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
13240
13241 fi
13242
13243
13244           eval "$wx_cv_use_joystick"
13245
13246           if test x"$enablestring" = xdisable; then
13247             if test $wxUSE_JOYSTICK = no; then
13248               result=yes
13249             else
13250               result=no
13251             fi
13252           else
13253             result=$wxUSE_JOYSTICK
13254           fi
13255
13256           { echo "$as_me:$LINENO: result: $result" >&5
13257 echo "${ECHO_T}$result" >&6; }
13258
13259
13260           enablestring=
13261           defaultval=$wxUSE_ALL_FEATURES
13262           if test -z "$defaultval"; then
13263               if test x"$enablestring" = xdisable; then
13264                   defaultval=yes
13265               else
13266                   defaultval=no
13267               fi
13268           fi
13269
13270           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
13271 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
13272           # Check whether --enable-metafile was given.
13273 if test "${enable_metafile+set}" = set; then
13274   enableval=$enable_metafile;
13275                           if test "$enableval" = yes; then
13276                             wx_cv_use_metafile='wxUSE_METAFILE=yes'
13277                           else
13278                             wx_cv_use_metafile='wxUSE_METAFILE=no'
13279                           fi
13280
13281 else
13282
13283                           wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
13284
13285 fi
13286
13287
13288           eval "$wx_cv_use_metafile"
13289
13290           if test x"$enablestring" = xdisable; then
13291             if test $wxUSE_METAFILE = no; then
13292               result=yes
13293             else
13294               result=no
13295             fi
13296           else
13297             result=$wxUSE_METAFILE
13298           fi
13299
13300           { echo "$as_me:$LINENO: result: $result" >&5
13301 echo "${ECHO_T}$result" >&6; }
13302
13303
13304           enablestring=
13305           defaultval=$wxUSE_ALL_FEATURES
13306           if test -z "$defaultval"; then
13307               if test x"$enablestring" = xdisable; then
13308                   defaultval=yes
13309               else
13310                   defaultval=no
13311               fi
13312           fi
13313
13314           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
13315 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
13316           # Check whether --enable-dragimage was given.
13317 if test "${enable_dragimage+set}" = set; then
13318   enableval=$enable_dragimage;
13319                           if test "$enableval" = yes; then
13320                             wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
13321                           else
13322                             wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
13323                           fi
13324
13325 else
13326
13327                           wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
13328
13329 fi
13330
13331
13332           eval "$wx_cv_use_dragimage"
13333
13334           if test x"$enablestring" = xdisable; then
13335             if test $wxUSE_DRAGIMAGE = no; then
13336               result=yes
13337             else
13338               result=no
13339             fi
13340           else
13341             result=$wxUSE_DRAGIMAGE
13342           fi
13343
13344           { echo "$as_me:$LINENO: result: $result" >&5
13345 echo "${ECHO_T}$result" >&6; }
13346
13347
13348           enablestring=
13349           defaultval=$wxUSE_ALL_FEATURES
13350           if test -z "$defaultval"; then
13351               if test x"$enablestring" = xdisable; then
13352                   defaultval=yes
13353               else
13354                   defaultval=no
13355               fi
13356           fi
13357
13358           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
13359 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
13360           # Check whether --enable-accessibility was given.
13361 if test "${enable_accessibility+set}" = set; then
13362   enableval=$enable_accessibility;
13363                           if test "$enableval" = yes; then
13364                             wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
13365                           else
13366                             wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
13367                           fi
13368
13369 else
13370
13371                           wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
13372
13373 fi
13374
13375
13376           eval "$wx_cv_use_accessibility"
13377
13378           if test x"$enablestring" = xdisable; then
13379             if test $wxUSE_ACCESSIBILITY = no; then
13380               result=yes
13381             else
13382               result=no
13383             fi
13384           else
13385             result=$wxUSE_ACCESSIBILITY
13386           fi
13387
13388           { echo "$as_me:$LINENO: result: $result" >&5
13389 echo "${ECHO_T}$result" >&6; }
13390
13391
13392
13393
13394           enablestring=
13395           defaultval=$wxUSE_ALL_FEATURES
13396           if test -z "$defaultval"; then
13397               if test x"$enablestring" = xdisable; then
13398                   defaultval=yes
13399               else
13400                   defaultval=no
13401               fi
13402           fi
13403
13404           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
13405 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
13406           # Check whether --enable-palette was given.
13407 if test "${enable_palette+set}" = set; then
13408   enableval=$enable_palette;
13409                           if test "$enableval" = yes; then
13410                             wx_cv_use_palette='wxUSE_PALETTE=yes'
13411                           else
13412                             wx_cv_use_palette='wxUSE_PALETTE=no'
13413                           fi
13414
13415 else
13416
13417                           wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
13418
13419 fi
13420
13421
13422           eval "$wx_cv_use_palette"
13423
13424           if test x"$enablestring" = xdisable; then
13425             if test $wxUSE_PALETTE = no; then
13426               result=yes
13427             else
13428               result=no
13429             fi
13430           else
13431             result=$wxUSE_PALETTE
13432           fi
13433
13434           { echo "$as_me:$LINENO: result: $result" >&5
13435 echo "${ECHO_T}$result" >&6; }
13436
13437
13438           enablestring=
13439           defaultval=$wxUSE_ALL_FEATURES
13440           if test -z "$defaultval"; then
13441               if test x"$enablestring" = xdisable; then
13442                   defaultval=yes
13443               else
13444                   defaultval=no
13445               fi
13446           fi
13447
13448           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
13449 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
13450           # Check whether --enable-image was given.
13451 if test "${enable_image+set}" = set; then
13452   enableval=$enable_image;
13453                           if test "$enableval" = yes; then
13454                             wx_cv_use_image='wxUSE_IMAGE=yes'
13455                           else
13456                             wx_cv_use_image='wxUSE_IMAGE=no'
13457                           fi
13458
13459 else
13460
13461                           wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
13462
13463 fi
13464
13465
13466           eval "$wx_cv_use_image"
13467
13468           if test x"$enablestring" = xdisable; then
13469             if test $wxUSE_IMAGE = no; then
13470               result=yes
13471             else
13472               result=no
13473             fi
13474           else
13475             result=$wxUSE_IMAGE
13476           fi
13477
13478           { echo "$as_me:$LINENO: result: $result" >&5
13479 echo "${ECHO_T}$result" >&6; }
13480
13481
13482           enablestring=
13483           defaultval=$wxUSE_ALL_FEATURES
13484           if test -z "$defaultval"; then
13485               if test x"$enablestring" = xdisable; then
13486                   defaultval=yes
13487               else
13488                   defaultval=no
13489               fi
13490           fi
13491
13492           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
13493 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
13494           # Check whether --enable-gif was given.
13495 if test "${enable_gif+set}" = set; then
13496   enableval=$enable_gif;
13497                           if test "$enableval" = yes; then
13498                             wx_cv_use_gif='wxUSE_GIF=yes'
13499                           else
13500                             wx_cv_use_gif='wxUSE_GIF=no'
13501                           fi
13502
13503 else
13504
13505                           wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
13506
13507 fi
13508
13509
13510           eval "$wx_cv_use_gif"
13511
13512           if test x"$enablestring" = xdisable; then
13513             if test $wxUSE_GIF = no; then
13514               result=yes
13515             else
13516               result=no
13517             fi
13518           else
13519             result=$wxUSE_GIF
13520           fi
13521
13522           { echo "$as_me:$LINENO: result: $result" >&5
13523 echo "${ECHO_T}$result" >&6; }
13524
13525
13526           enablestring=
13527           defaultval=$wxUSE_ALL_FEATURES
13528           if test -z "$defaultval"; then
13529               if test x"$enablestring" = xdisable; then
13530                   defaultval=yes
13531               else
13532                   defaultval=no
13533               fi
13534           fi
13535
13536           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
13537 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
13538           # Check whether --enable-pcx was given.
13539 if test "${enable_pcx+set}" = set; then
13540   enableval=$enable_pcx;
13541                           if test "$enableval" = yes; then
13542                             wx_cv_use_pcx='wxUSE_PCX=yes'
13543                           else
13544                             wx_cv_use_pcx='wxUSE_PCX=no'
13545                           fi
13546
13547 else
13548
13549                           wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
13550
13551 fi
13552
13553
13554           eval "$wx_cv_use_pcx"
13555
13556           if test x"$enablestring" = xdisable; then
13557             if test $wxUSE_PCX = no; then
13558               result=yes
13559             else
13560               result=no
13561             fi
13562           else
13563             result=$wxUSE_PCX
13564           fi
13565
13566           { echo "$as_me:$LINENO: result: $result" >&5
13567 echo "${ECHO_T}$result" >&6; }
13568
13569
13570           enablestring=
13571           defaultval=$wxUSE_ALL_FEATURES
13572           if test -z "$defaultval"; then
13573               if test x"$enablestring" = xdisable; then
13574                   defaultval=yes
13575               else
13576                   defaultval=no
13577               fi
13578           fi
13579
13580           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
13581 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
13582           # Check whether --enable-tga was given.
13583 if test "${enable_tga+set}" = set; then
13584   enableval=$enable_tga;
13585                           if test "$enableval" = yes; then
13586                             wx_cv_use_tga='wxUSE_TGA=yes'
13587                           else
13588                             wx_cv_use_tga='wxUSE_TGA=no'
13589                           fi
13590
13591 else
13592
13593                           wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
13594
13595 fi
13596
13597
13598           eval "$wx_cv_use_tga"
13599
13600           if test x"$enablestring" = xdisable; then
13601             if test $wxUSE_TGA = no; then
13602               result=yes
13603             else
13604               result=no
13605             fi
13606           else
13607             result=$wxUSE_TGA
13608           fi
13609
13610           { echo "$as_me:$LINENO: result: $result" >&5
13611 echo "${ECHO_T}$result" >&6; }
13612
13613
13614           enablestring=
13615           defaultval=$wxUSE_ALL_FEATURES
13616           if test -z "$defaultval"; then
13617               if test x"$enablestring" = xdisable; then
13618                   defaultval=yes
13619               else
13620                   defaultval=no
13621               fi
13622           fi
13623
13624           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
13625 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
13626           # Check whether --enable-iff was given.
13627 if test "${enable_iff+set}" = set; then
13628   enableval=$enable_iff;
13629                           if test "$enableval" = yes; then
13630                             wx_cv_use_iff='wxUSE_IFF=yes'
13631                           else
13632                             wx_cv_use_iff='wxUSE_IFF=no'
13633                           fi
13634
13635 else
13636
13637                           wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
13638
13639 fi
13640
13641
13642           eval "$wx_cv_use_iff"
13643
13644           if test x"$enablestring" = xdisable; then
13645             if test $wxUSE_IFF = no; then
13646               result=yes
13647             else
13648               result=no
13649             fi
13650           else
13651             result=$wxUSE_IFF
13652           fi
13653
13654           { echo "$as_me:$LINENO: result: $result" >&5
13655 echo "${ECHO_T}$result" >&6; }
13656
13657
13658           enablestring=
13659           defaultval=$wxUSE_ALL_FEATURES
13660           if test -z "$defaultval"; then
13661               if test x"$enablestring" = xdisable; then
13662                   defaultval=yes
13663               else
13664                   defaultval=no
13665               fi
13666           fi
13667
13668           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
13669 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
13670           # Check whether --enable-pnm was given.
13671 if test "${enable_pnm+set}" = set; then
13672   enableval=$enable_pnm;
13673                           if test "$enableval" = yes; then
13674                             wx_cv_use_pnm='wxUSE_PNM=yes'
13675                           else
13676                             wx_cv_use_pnm='wxUSE_PNM=no'
13677                           fi
13678
13679 else
13680
13681                           wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
13682
13683 fi
13684
13685
13686           eval "$wx_cv_use_pnm"
13687
13688           if test x"$enablestring" = xdisable; then
13689             if test $wxUSE_PNM = no; then
13690               result=yes
13691             else
13692               result=no
13693             fi
13694           else
13695             result=$wxUSE_PNM
13696           fi
13697
13698           { echo "$as_me:$LINENO: result: $result" >&5
13699 echo "${ECHO_T}$result" >&6; }
13700
13701
13702           enablestring=
13703           defaultval=$wxUSE_ALL_FEATURES
13704           if test -z "$defaultval"; then
13705               if test x"$enablestring" = xdisable; then
13706                   defaultval=yes
13707               else
13708                   defaultval=no
13709               fi
13710           fi
13711
13712           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
13713 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
13714           # Check whether --enable-xpm was given.
13715 if test "${enable_xpm+set}" = set; then
13716   enableval=$enable_xpm;
13717                           if test "$enableval" = yes; then
13718                             wx_cv_use_xpm='wxUSE_XPM=yes'
13719                           else
13720                             wx_cv_use_xpm='wxUSE_XPM=no'
13721                           fi
13722
13723 else
13724
13725                           wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
13726
13727 fi
13728
13729
13730           eval "$wx_cv_use_xpm"
13731
13732           if test x"$enablestring" = xdisable; then
13733             if test $wxUSE_XPM = no; then
13734               result=yes
13735             else
13736               result=no
13737             fi
13738           else
13739             result=$wxUSE_XPM
13740           fi
13741
13742           { echo "$as_me:$LINENO: result: $result" >&5
13743 echo "${ECHO_T}$result" >&6; }
13744
13745
13746           enablestring=
13747           defaultval=$wxUSE_ALL_FEATURES
13748           if test -z "$defaultval"; then
13749               if test x"$enablestring" = xdisable; then
13750                   defaultval=yes
13751               else
13752                   defaultval=no
13753               fi
13754           fi
13755
13756           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
13757 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
13758           # Check whether --enable-ico_cur was given.
13759 if test "${enable_ico_cur+set}" = set; then
13760   enableval=$enable_ico_cur;
13761                           if test "$enableval" = yes; then
13762                             wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
13763                           else
13764                             wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
13765                           fi
13766
13767 else
13768
13769                           wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
13770
13771 fi
13772
13773
13774           eval "$wx_cv_use_ico_cur"
13775
13776           if test x"$enablestring" = xdisable; then
13777             if test $wxUSE_ICO_CUR = no; then
13778               result=yes
13779             else
13780               result=no
13781             fi
13782           else
13783             result=$wxUSE_ICO_CUR
13784           fi
13785
13786           { echo "$as_me:$LINENO: result: $result" >&5
13787 echo "${ECHO_T}$result" >&6; }
13788
13789
13790
13791
13792           enablestring=
13793           defaultval=$wxUSE_ALL_FEATURES
13794           if test -z "$defaultval"; then
13795               if test x"$enablestring" = xdisable; then
13796                   defaultval=yes
13797               else
13798                   defaultval=no
13799               fi
13800           fi
13801
13802           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
13803 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
13804           # Check whether --enable-dccache was given.
13805 if test "${enable_dccache+set}" = set; then
13806   enableval=$enable_dccache;
13807                           if test "$enableval" = yes; then
13808                             wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
13809                           else
13810                             wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
13811                           fi
13812
13813 else
13814
13815                           wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
13816
13817 fi
13818
13819
13820           eval "$wx_cv_use_dccache"
13821
13822           if test x"$enablestring" = xdisable; then
13823             if test $wxUSE_DC_CACHEING = no; then
13824               result=yes
13825             else
13826               result=no
13827             fi
13828           else
13829             result=$wxUSE_DC_CACHEING
13830           fi
13831
13832           { echo "$as_me:$LINENO: result: $result" >&5
13833 echo "${ECHO_T}$result" >&6; }
13834
13835
13836           enablestring=
13837           defaultval=$wxUSE_ALL_FEATURES
13838           if test -z "$defaultval"; then
13839               if test x"$enablestring" = xdisable; then
13840                   defaultval=yes
13841               else
13842                   defaultval=no
13843               fi
13844           fi
13845
13846           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
13847 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
13848           # Check whether --enable-ps-in-msw was given.
13849 if test "${enable_ps_in_msw+set}" = set; then
13850   enableval=$enable_ps_in_msw;
13851                           if test "$enableval" = yes; then
13852                             wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
13853                           else
13854                             wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
13855                           fi
13856
13857 else
13858
13859                           wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
13860
13861 fi
13862
13863
13864           eval "$wx_cv_use_ps_in_msw"
13865
13866           if test x"$enablestring" = xdisable; then
13867             if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = no; then
13868               result=yes
13869             else
13870               result=no
13871             fi
13872           else
13873             result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
13874           fi
13875
13876           { echo "$as_me:$LINENO: result: $result" >&5
13877 echo "${ECHO_T}$result" >&6; }
13878
13879
13880           enablestring=
13881           defaultval=$wxUSE_ALL_FEATURES
13882           if test -z "$defaultval"; then
13883               if test x"$enablestring" = xdisable; then
13884                   defaultval=yes
13885               else
13886                   defaultval=no
13887               fi
13888           fi
13889
13890           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
13891 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
13892           # Check whether --enable-ownerdrawn was given.
13893 if test "${enable_ownerdrawn+set}" = set; then
13894   enableval=$enable_ownerdrawn;
13895                           if test "$enableval" = yes; then
13896                             wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
13897                           else
13898                             wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
13899                           fi
13900
13901 else
13902
13903                           wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
13904
13905 fi
13906
13907
13908           eval "$wx_cv_use_ownerdrawn"
13909
13910           if test x"$enablestring" = xdisable; then
13911             if test $wxUSE_OWNER_DRAWN = no; then
13912               result=yes
13913             else
13914               result=no
13915             fi
13916           else
13917             result=$wxUSE_OWNER_DRAWN
13918           fi
13919
13920           { echo "$as_me:$LINENO: result: $result" >&5
13921 echo "${ECHO_T}$result" >&6; }
13922
13923
13924           enablestring=
13925           defaultval=$wxUSE_ALL_FEATURES
13926           if test -z "$defaultval"; then
13927               if test x"$enablestring" = xdisable; then
13928                   defaultval=yes
13929               else
13930                   defaultval=no
13931               fi
13932           fi
13933
13934           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
13935 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
13936           # Check whether --enable-uxtheme was given.
13937 if test "${enable_uxtheme+set}" = set; then
13938   enableval=$enable_uxtheme;
13939                           if test "$enableval" = yes; then
13940                             wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
13941                           else
13942                             wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
13943                           fi
13944
13945 else
13946
13947                           wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
13948
13949 fi
13950
13951
13952           eval "$wx_cv_use_uxtheme"
13953
13954           if test x"$enablestring" = xdisable; then
13955             if test $wxUSE_UXTHEME = no; then
13956               result=yes
13957             else
13958               result=no
13959             fi
13960           else
13961             result=$wxUSE_UXTHEME
13962           fi
13963
13964           { echo "$as_me:$LINENO: result: $result" >&5
13965 echo "${ECHO_T}$result" >&6; }
13966
13967
13968           enablestring=
13969           defaultval=$wxUSE_ALL_FEATURES
13970           if test -z "$defaultval"; then
13971               if test x"$enablestring" = xdisable; then
13972                   defaultval=yes
13973               else
13974                   defaultval=no
13975               fi
13976           fi
13977
13978           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
13979 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
13980           # Check whether --enable-wxdib was given.
13981 if test "${enable_wxdib+set}" = set; then
13982   enableval=$enable_wxdib;
13983                           if test "$enableval" = yes; then
13984                             wx_cv_use_wxdib='wxUSE_DIB=yes'
13985                           else
13986                             wx_cv_use_wxdib='wxUSE_DIB=no'
13987                           fi
13988
13989 else
13990
13991                           wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
13992
13993 fi
13994
13995
13996           eval "$wx_cv_use_wxdib"
13997
13998           if test x"$enablestring" = xdisable; then
13999             if test $wxUSE_DIB = no; then
14000               result=yes
14001             else
14002               result=no
14003             fi
14004           else
14005             result=$wxUSE_DIB
14006           fi
14007
14008           { echo "$as_me:$LINENO: result: $result" >&5
14009 echo "${ECHO_T}$result" >&6; }
14010
14011
14012 if test "$wxUSE_MSW" != 1; then
14013     DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
14014 fi
14015
14016
14017           enablestring=
14018           defaultval=$wxUSE_ALL_FEATURES
14019           if test -z "$defaultval"; then
14020               if test x"$enablestring" = xdisable; then
14021                   defaultval=yes
14022               else
14023                   defaultval=no
14024               fi
14025           fi
14026
14027           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-autoidman" >&5
14028 echo $ECHO_N "checking for --${enablestring:-enable}-autoidman... $ECHO_C" >&6; }
14029           # Check whether --enable-autoidman was given.
14030 if test "${enable_autoidman+set}" = set; then
14031   enableval=$enable_autoidman;
14032                           if test "$enableval" = yes; then
14033                             wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=yes'
14034                           else
14035                             wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=no'
14036                           fi
14037
14038 else
14039
14040                           wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
14041
14042 fi
14043
14044
14045           eval "$wx_cv_use_autoidman"
14046
14047           if test x"$enablestring" = xdisable; then
14048             if test $wxUSE_AUTOID_MANAGEMENT = no; then
14049               result=yes
14050             else
14051               result=no
14052             fi
14053           else
14054             result=$wxUSE_AUTOID_MANAGEMENT
14055           fi
14056
14057           { echo "$as_me:$LINENO: result: $result" >&5
14058 echo "${ECHO_T}$result" >&6; }
14059
14060
14061 fi
14062
14063
14064 cat >confcache <<\_ACEOF
14065 # This file is a shell script that caches the results of configure
14066 # tests run on this system so they can be shared between configure
14067 # scripts and configure runs, see configure's option --config-cache.
14068 # It is not useful on other systems.  If it contains results you don't
14069 # want to keep, you may remove or edit it.
14070 #
14071 # config.status only pays attention to the cache file if you give it
14072 # the --recheck option to rerun configure.
14073 #
14074 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14075 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14076 # following values.
14077
14078 _ACEOF
14079
14080 # The following way of writing the cache mishandles newlines in values,
14081 # but we know of no workaround that is simple, portable, and efficient.
14082 # So, we kill variables containing newlines.
14083 # Ultrix sh set writes to stderr and can't be redirected directly,
14084 # and sets the high bit in the cache file unless we assign to the vars.
14085 (
14086   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14087     eval ac_val=\$$ac_var
14088     case $ac_val in #(
14089     *${as_nl}*)
14090       case $ac_var in #(
14091       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
14092 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
14093       esac
14094       case $ac_var in #(
14095       _ | IFS | as_nl) ;; #(
14096       *) $as_unset $ac_var ;;
14097       esac ;;
14098     esac
14099   done
14100
14101   (set) 2>&1 |
14102     case $as_nl`(ac_space=' '; set) 2>&1` in #(
14103     *${as_nl}ac_space=\ *)
14104       # `set' does not quote correctly, so add quotes (double-quote
14105       # substitution turns \\\\ into \\, and sed turns \\ into \).
14106       sed -n \
14107         "s/'/'\\\\''/g;
14108           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14109       ;; #(
14110     *)
14111       # `set' quotes correctly as required by POSIX, so do not add quotes.
14112       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14113       ;;
14114     esac |
14115     sort
14116 ) |
14117   sed '
14118      /^ac_cv_env_/b end
14119      t clear
14120      :clear
14121      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14122      t end
14123      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14124      :end' >>confcache
14125 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14126   if test -w "$cache_file"; then
14127     test "x$cache_file" != "x/dev/null" &&
14128       { echo "$as_me:$LINENO: updating cache $cache_file" >&5
14129 echo "$as_me: updating cache $cache_file" >&6;}
14130     cat confcache >$cache_file
14131   else
14132     { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
14133 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14134   fi
14135 fi
14136 rm -f confcache
14137
14138 CFLAGS=${CFLAGS:=}
14139
14140
14141
14142     ac_ext=c
14143 ac_cpp='$CPP $CPPFLAGS'
14144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14147 if test -n "$ac_tool_prefix"; then
14148   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
14149 set dummy ${ac_tool_prefix}gcc; ac_word=$2
14150 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14151 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14152 if test "${ac_cv_prog_CC+set}" = set; then
14153   echo $ECHO_N "(cached) $ECHO_C" >&6
14154 else
14155   if test -n "$CC"; then
14156   ac_cv_prog_CC="$CC" # Let the user override the test.
14157 else
14158 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14159 for as_dir in $PATH
14160 do
14161   IFS=$as_save_IFS
14162   test -z "$as_dir" && as_dir=.
14163   for ac_exec_ext in '' $ac_executable_extensions; do
14164   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14165     ac_cv_prog_CC="${ac_tool_prefix}gcc"
14166     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14167     break 2
14168   fi
14169 done
14170 done
14171 IFS=$as_save_IFS
14172
14173 fi
14174 fi
14175 CC=$ac_cv_prog_CC
14176 if test -n "$CC"; then
14177   { echo "$as_me:$LINENO: result: $CC" >&5
14178 echo "${ECHO_T}$CC" >&6; }
14179 else
14180   { echo "$as_me:$LINENO: result: no" >&5
14181 echo "${ECHO_T}no" >&6; }
14182 fi
14183
14184
14185 fi
14186 if test -z "$ac_cv_prog_CC"; then
14187   ac_ct_CC=$CC
14188   # Extract the first word of "gcc", so it can be a program name with args.
14189 set dummy gcc; ac_word=$2
14190 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14191 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14192 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14193   echo $ECHO_N "(cached) $ECHO_C" >&6
14194 else
14195   if test -n "$ac_ct_CC"; then
14196   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14197 else
14198 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14199 for as_dir in $PATH
14200 do
14201   IFS=$as_save_IFS
14202   test -z "$as_dir" && as_dir=.
14203   for ac_exec_ext in '' $ac_executable_extensions; do
14204   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14205     ac_cv_prog_ac_ct_CC="gcc"
14206     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14207     break 2
14208   fi
14209 done
14210 done
14211 IFS=$as_save_IFS
14212
14213 fi
14214 fi
14215 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14216 if test -n "$ac_ct_CC"; then
14217   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14218 echo "${ECHO_T}$ac_ct_CC" >&6; }
14219 else
14220   { echo "$as_me:$LINENO: result: no" >&5
14221 echo "${ECHO_T}no" >&6; }
14222 fi
14223
14224   if test "x$ac_ct_CC" = x; then
14225     CC=""
14226   else
14227     case $cross_compiling:$ac_tool_warned in
14228 yes:)
14229 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14230 whose name does not start with the host triplet.  If you think this
14231 configuration is useful to you, please write to autoconf@gnu.org." >&5
14232 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14233 whose name does not start with the host triplet.  If you think this
14234 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14235 ac_tool_warned=yes ;;
14236 esac
14237     CC=$ac_ct_CC
14238   fi
14239 else
14240   CC="$ac_cv_prog_CC"
14241 fi
14242
14243 if test -z "$CC"; then
14244           if test -n "$ac_tool_prefix"; then
14245     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
14246 set dummy ${ac_tool_prefix}cc; ac_word=$2
14247 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14248 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14249 if test "${ac_cv_prog_CC+set}" = set; then
14250   echo $ECHO_N "(cached) $ECHO_C" >&6
14251 else
14252   if test -n "$CC"; then
14253   ac_cv_prog_CC="$CC" # Let the user override the test.
14254 else
14255 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14256 for as_dir in $PATH
14257 do
14258   IFS=$as_save_IFS
14259   test -z "$as_dir" && as_dir=.
14260   for ac_exec_ext in '' $ac_executable_extensions; do
14261   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14262     ac_cv_prog_CC="${ac_tool_prefix}cc"
14263     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14264     break 2
14265   fi
14266 done
14267 done
14268 IFS=$as_save_IFS
14269
14270 fi
14271 fi
14272 CC=$ac_cv_prog_CC
14273 if test -n "$CC"; then
14274   { echo "$as_me:$LINENO: result: $CC" >&5
14275 echo "${ECHO_T}$CC" >&6; }
14276 else
14277   { echo "$as_me:$LINENO: result: no" >&5
14278 echo "${ECHO_T}no" >&6; }
14279 fi
14280
14281
14282   fi
14283 fi
14284 if test -z "$CC"; then
14285   # Extract the first word of "cc", so it can be a program name with args.
14286 set dummy cc; ac_word=$2
14287 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14288 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14289 if test "${ac_cv_prog_CC+set}" = set; then
14290   echo $ECHO_N "(cached) $ECHO_C" >&6
14291 else
14292   if test -n "$CC"; then
14293   ac_cv_prog_CC="$CC" # Let the user override the test.
14294 else
14295   ac_prog_rejected=no
14296 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14297 for as_dir in $PATH
14298 do
14299   IFS=$as_save_IFS
14300   test -z "$as_dir" && as_dir=.
14301   for ac_exec_ext in '' $ac_executable_extensions; do
14302   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14303     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
14304        ac_prog_rejected=yes
14305        continue
14306      fi
14307     ac_cv_prog_CC="cc"
14308     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14309     break 2
14310   fi
14311 done
14312 done
14313 IFS=$as_save_IFS
14314
14315 if test $ac_prog_rejected = yes; then
14316   # We found a bogon in the path, so make sure we never use it.
14317   set dummy $ac_cv_prog_CC
14318   shift
14319   if test $# != 0; then
14320     # We chose a different compiler from the bogus one.
14321     # However, it has the same basename, so the bogon will be chosen
14322     # first if we set CC to just the basename; use the full file name.
14323     shift
14324     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
14325   fi
14326 fi
14327 fi
14328 fi
14329 CC=$ac_cv_prog_CC
14330 if test -n "$CC"; then
14331   { echo "$as_me:$LINENO: result: $CC" >&5
14332 echo "${ECHO_T}$CC" >&6; }
14333 else
14334   { echo "$as_me:$LINENO: result: no" >&5
14335 echo "${ECHO_T}no" >&6; }
14336 fi
14337
14338
14339 fi
14340 if test -z "$CC"; then
14341   if test -n "$ac_tool_prefix"; then
14342   for ac_prog in cl.exe
14343   do
14344     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14345 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
14346 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14347 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14348 if test "${ac_cv_prog_CC+set}" = set; then
14349   echo $ECHO_N "(cached) $ECHO_C" >&6
14350 else
14351   if test -n "$CC"; then
14352   ac_cv_prog_CC="$CC" # Let the user override the test.
14353 else
14354 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14355 for as_dir in $PATH
14356 do
14357   IFS=$as_save_IFS
14358   test -z "$as_dir" && as_dir=.
14359   for ac_exec_ext in '' $ac_executable_extensions; do
14360   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14361     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
14362     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14363     break 2
14364   fi
14365 done
14366 done
14367 IFS=$as_save_IFS
14368
14369 fi
14370 fi
14371 CC=$ac_cv_prog_CC
14372 if test -n "$CC"; then
14373   { echo "$as_me:$LINENO: result: $CC" >&5
14374 echo "${ECHO_T}$CC" >&6; }
14375 else
14376   { echo "$as_me:$LINENO: result: no" >&5
14377 echo "${ECHO_T}no" >&6; }
14378 fi
14379
14380
14381     test -n "$CC" && break
14382   done
14383 fi
14384 if test -z "$CC"; then
14385   ac_ct_CC=$CC
14386   for ac_prog in cl.exe
14387 do
14388   # Extract the first word of "$ac_prog", so it can be a program name with args.
14389 set dummy $ac_prog; ac_word=$2
14390 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14391 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14392 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14393   echo $ECHO_N "(cached) $ECHO_C" >&6
14394 else
14395   if test -n "$ac_ct_CC"; then
14396   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14397 else
14398 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14399 for as_dir in $PATH
14400 do
14401   IFS=$as_save_IFS
14402   test -z "$as_dir" && as_dir=.
14403   for ac_exec_ext in '' $ac_executable_extensions; do
14404   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14405     ac_cv_prog_ac_ct_CC="$ac_prog"
14406     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14407     break 2
14408   fi
14409 done
14410 done
14411 IFS=$as_save_IFS
14412
14413 fi
14414 fi
14415 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14416 if test -n "$ac_ct_CC"; then
14417   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14418 echo "${ECHO_T}$ac_ct_CC" >&6; }
14419 else
14420   { echo "$as_me:$LINENO: result: no" >&5
14421 echo "${ECHO_T}no" >&6; }
14422 fi
14423
14424
14425   test -n "$ac_ct_CC" && break
14426 done
14427
14428   if test "x$ac_ct_CC" = x; then
14429     CC=""
14430   else
14431     case $cross_compiling:$ac_tool_warned in
14432 yes:)
14433 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14434 whose name does not start with the host triplet.  If you think this
14435 configuration is useful to you, please write to autoconf@gnu.org." >&5
14436 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14437 whose name does not start with the host triplet.  If you think this
14438 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14439 ac_tool_warned=yes ;;
14440 esac
14441     CC=$ac_ct_CC
14442   fi
14443 fi
14444
14445 fi
14446
14447
14448 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
14449 See \`config.log' for more details." >&5
14450 echo "$as_me: error: no acceptable C compiler found in \$PATH
14451 See \`config.log' for more details." >&2;}
14452    { (exit 1); exit 1; }; }
14453
14454 # Provide some information about the compiler.
14455 echo "$as_me:$LINENO: checking for C compiler version" >&5
14456 ac_compiler=`set X $ac_compile; echo $2`
14457 { (ac_try="$ac_compiler --version >&5"
14458 case "(($ac_try" in
14459   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14460   *) ac_try_echo=$ac_try;;
14461 esac
14462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14463   (eval "$ac_compiler --version >&5") 2>&5
14464   ac_status=$?
14465   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14466   (exit $ac_status); }
14467 { (ac_try="$ac_compiler -v >&5"
14468 case "(($ac_try" in
14469   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14470   *) ac_try_echo=$ac_try;;
14471 esac
14472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14473   (eval "$ac_compiler -v >&5") 2>&5
14474   ac_status=$?
14475   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14476   (exit $ac_status); }
14477 { (ac_try="$ac_compiler -V >&5"
14478 case "(($ac_try" in
14479   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14480   *) ac_try_echo=$ac_try;;
14481 esac
14482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14483   (eval "$ac_compiler -V >&5") 2>&5
14484   ac_status=$?
14485   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14486   (exit $ac_status); }
14487
14488 cat >conftest.$ac_ext <<_ACEOF
14489 /* confdefs.h.  */
14490 _ACEOF
14491 cat confdefs.h >>conftest.$ac_ext
14492 cat >>conftest.$ac_ext <<_ACEOF
14493 /* end confdefs.h.  */
14494
14495 int
14496 main ()
14497 {
14498
14499   ;
14500   return 0;
14501 }
14502 _ACEOF
14503 ac_clean_files_save=$ac_clean_files
14504 ac_clean_files="$ac_clean_files a.out a.exe b.out"
14505 # Try to create an executable without -o first, disregard a.out.
14506 # It will help us diagnose broken compilers, and finding out an intuition
14507 # of exeext.
14508 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
14509 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
14510 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
14511 #
14512 # List of possible output files, starting from the most likely.
14513 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
14514 # only as a last resort.  b.out is created by i960 compilers.
14515 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
14516 #
14517 # The IRIX 6 linker writes into existing files which may not be
14518 # executable, retaining their permissions.  Remove them first so a
14519 # subsequent execution test works.
14520 ac_rmfiles=
14521 for ac_file in $ac_files
14522 do
14523   case $ac_file in
14524     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14525     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
14526   esac
14527 done
14528 rm -f $ac_rmfiles
14529
14530 if { (ac_try="$ac_link_default"
14531 case "(($ac_try" in
14532   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14533   *) ac_try_echo=$ac_try;;
14534 esac
14535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14536   (eval "$ac_link_default") 2>&5
14537   ac_status=$?
14538   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14539   (exit $ac_status); }; then
14540   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
14541 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
14542 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
14543 # so that the user can short-circuit this test for compilers unknown to
14544 # Autoconf.
14545 for ac_file in $ac_files ''
14546 do
14547   test -f "$ac_file" || continue
14548   case $ac_file in
14549     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
14550         ;;
14551     [ab].out )
14552         # We found the default executable, but exeext='' is most
14553         # certainly right.
14554         break;;
14555     *.* )
14556         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
14557         then :; else
14558            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
14559         fi
14560         # We set ac_cv_exeext here because the later test for it is not
14561         # safe: cross compilers may not add the suffix if given an `-o'
14562         # argument, so we may need to know it at that point already.
14563         # Even if this section looks crufty: it has the advantage of
14564         # actually working.
14565         break;;
14566     * )
14567         break;;
14568   esac
14569 done
14570 test "$ac_cv_exeext" = no && ac_cv_exeext=
14571
14572 else
14573   ac_file=''
14574 fi
14575
14576 { echo "$as_me:$LINENO: result: $ac_file" >&5
14577 echo "${ECHO_T}$ac_file" >&6; }
14578 if test -z "$ac_file"; then
14579   echo "$as_me: failed program was:" >&5
14580 sed 's/^/| /' conftest.$ac_ext >&5
14581
14582 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
14583 See \`config.log' for more details." >&5
14584 echo "$as_me: error: C compiler cannot create executables
14585 See \`config.log' for more details." >&2;}
14586    { (exit 77); exit 77; }; }
14587 fi
14588
14589 ac_exeext=$ac_cv_exeext
14590
14591 # Check that the compiler produces executables we can run.  If not, either
14592 # the compiler is broken, or we cross compile.
14593 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
14594 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
14595 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
14596 # If not cross compiling, check that we can run a simple program.
14597 if test "$cross_compiling" != yes; then
14598   if { ac_try='./$ac_file'
14599   { (case "(($ac_try" in
14600   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14601   *) ac_try_echo=$ac_try;;
14602 esac
14603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14604   (eval "$ac_try") 2>&5
14605   ac_status=$?
14606   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14607   (exit $ac_status); }; }; then
14608     cross_compiling=no
14609   else
14610     if test "$cross_compiling" = maybe; then
14611         cross_compiling=yes
14612     else
14613         { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
14614 If you meant to cross compile, use \`--host'.
14615 See \`config.log' for more details." >&5
14616 echo "$as_me: error: cannot run C compiled programs.
14617 If you meant to cross compile, use \`--host'.
14618 See \`config.log' for more details." >&2;}
14619    { (exit 1); exit 1; }; }
14620     fi
14621   fi
14622 fi
14623 { echo "$as_me:$LINENO: result: yes" >&5
14624 echo "${ECHO_T}yes" >&6; }
14625
14626 rm -f a.out a.exe conftest$ac_cv_exeext b.out
14627 ac_clean_files=$ac_clean_files_save
14628 # Check that the compiler produces executables we can run.  If not, either
14629 # the compiler is broken, or we cross compile.
14630 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
14631 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
14632 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
14633 echo "${ECHO_T}$cross_compiling" >&6; }
14634
14635 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
14636 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
14637 if { (ac_try="$ac_link"
14638 case "(($ac_try" in
14639   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14640   *) ac_try_echo=$ac_try;;
14641 esac
14642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14643   (eval "$ac_link") 2>&5
14644   ac_status=$?
14645   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14646   (exit $ac_status); }; then
14647   # If both `conftest.exe' and `conftest' are `present' (well, observable)
14648 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
14649 # work properly (i.e., refer to `conftest.exe'), while it won't with
14650 # `rm'.
14651 for ac_file in conftest.exe conftest conftest.*; do
14652   test -f "$ac_file" || continue
14653   case $ac_file in
14654     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14655     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
14656           break;;
14657     * ) break;;
14658   esac
14659 done
14660 else
14661   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
14662 See \`config.log' for more details." >&5
14663 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
14664 See \`config.log' for more details." >&2;}
14665    { (exit 1); exit 1; }; }
14666 fi
14667
14668 rm -f conftest$ac_cv_exeext
14669 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
14670 echo "${ECHO_T}$ac_cv_exeext" >&6; }
14671
14672 rm -f conftest.$ac_ext
14673 EXEEXT=$ac_cv_exeext
14674 ac_exeext=$EXEEXT
14675 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
14676 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
14677 if test "${ac_cv_objext+set}" = set; then
14678   echo $ECHO_N "(cached) $ECHO_C" >&6
14679 else
14680   cat >conftest.$ac_ext <<_ACEOF
14681 /* confdefs.h.  */
14682 _ACEOF
14683 cat confdefs.h >>conftest.$ac_ext
14684 cat >>conftest.$ac_ext <<_ACEOF
14685 /* end confdefs.h.  */
14686
14687 int
14688 main ()
14689 {
14690
14691   ;
14692   return 0;
14693 }
14694 _ACEOF
14695 rm -f conftest.o conftest.obj
14696 if { (ac_try="$ac_compile"
14697 case "(($ac_try" in
14698   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14699   *) ac_try_echo=$ac_try;;
14700 esac
14701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14702   (eval "$ac_compile") 2>&5
14703   ac_status=$?
14704   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14705   (exit $ac_status); }; then
14706   for ac_file in conftest.o conftest.obj conftest.*; do
14707   test -f "$ac_file" || continue;
14708   case $ac_file in
14709     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
14710     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
14711        break;;
14712   esac
14713 done
14714 else
14715   echo "$as_me: failed program was:" >&5
14716 sed 's/^/| /' conftest.$ac_ext >&5
14717
14718 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
14719 See \`config.log' for more details." >&5
14720 echo "$as_me: error: cannot compute suffix of object files: cannot compile
14721 See \`config.log' for more details." >&2;}
14722    { (exit 1); exit 1; }; }
14723 fi
14724
14725 rm -f conftest.$ac_cv_objext conftest.$ac_ext
14726 fi
14727 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
14728 echo "${ECHO_T}$ac_cv_objext" >&6; }
14729 OBJEXT=$ac_cv_objext
14730 ac_objext=$OBJEXT
14731 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
14732 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
14733 if test "${ac_cv_c_compiler_gnu+set}" = set; then
14734   echo $ECHO_N "(cached) $ECHO_C" >&6
14735 else
14736   cat >conftest.$ac_ext <<_ACEOF
14737 /* confdefs.h.  */
14738 _ACEOF
14739 cat confdefs.h >>conftest.$ac_ext
14740 cat >>conftest.$ac_ext <<_ACEOF
14741 /* end confdefs.h.  */
14742
14743 int
14744 main ()
14745 {
14746 #ifndef __GNUC__
14747        choke me
14748 #endif
14749
14750   ;
14751   return 0;
14752 }
14753 _ACEOF
14754 rm -f conftest.$ac_objext
14755 if { (ac_try="$ac_compile"
14756 case "(($ac_try" in
14757   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14758   *) ac_try_echo=$ac_try;;
14759 esac
14760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14761   (eval "$ac_compile") 2>conftest.er1
14762   ac_status=$?
14763   grep -v '^ *+' conftest.er1 >conftest.err
14764   rm -f conftest.er1
14765   cat conftest.err >&5
14766   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14767   (exit $ac_status); } && {
14768          test -z "$ac_c_werror_flag" ||
14769          test ! -s conftest.err
14770        } && test -s conftest.$ac_objext; then
14771   ac_compiler_gnu=yes
14772 else
14773   echo "$as_me: failed program was:" >&5
14774 sed 's/^/| /' conftest.$ac_ext >&5
14775
14776         ac_compiler_gnu=no
14777 fi
14778
14779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14780 ac_cv_c_compiler_gnu=$ac_compiler_gnu
14781
14782 fi
14783 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
14784 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
14785 GCC=`test $ac_compiler_gnu = yes && echo yes`
14786 ac_test_CFLAGS=${CFLAGS+set}
14787 ac_save_CFLAGS=$CFLAGS
14788 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14789 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
14790 if test "${ac_cv_prog_cc_g+set}" = set; then
14791   echo $ECHO_N "(cached) $ECHO_C" >&6
14792 else
14793   ac_save_c_werror_flag=$ac_c_werror_flag
14794    ac_c_werror_flag=yes
14795    ac_cv_prog_cc_g=no
14796    CFLAGS="-g"
14797    cat >conftest.$ac_ext <<_ACEOF
14798 /* confdefs.h.  */
14799 _ACEOF
14800 cat confdefs.h >>conftest.$ac_ext
14801 cat >>conftest.$ac_ext <<_ACEOF
14802 /* end confdefs.h.  */
14803
14804 int
14805 main ()
14806 {
14807
14808   ;
14809   return 0;
14810 }
14811 _ACEOF
14812 rm -f conftest.$ac_objext
14813 if { (ac_try="$ac_compile"
14814 case "(($ac_try" in
14815   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14816   *) ac_try_echo=$ac_try;;
14817 esac
14818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14819   (eval "$ac_compile") 2>conftest.er1
14820   ac_status=$?
14821   grep -v '^ *+' conftest.er1 >conftest.err
14822   rm -f conftest.er1
14823   cat conftest.err >&5
14824   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14825   (exit $ac_status); } && {
14826          test -z "$ac_c_werror_flag" ||
14827          test ! -s conftest.err
14828        } && test -s conftest.$ac_objext; then
14829   ac_cv_prog_cc_g=yes
14830 else
14831   echo "$as_me: failed program was:" >&5
14832 sed 's/^/| /' conftest.$ac_ext >&5
14833
14834         CFLAGS=""
14835       cat >conftest.$ac_ext <<_ACEOF
14836 /* confdefs.h.  */
14837 _ACEOF
14838 cat confdefs.h >>conftest.$ac_ext
14839 cat >>conftest.$ac_ext <<_ACEOF
14840 /* end confdefs.h.  */
14841
14842 int
14843 main ()
14844 {
14845
14846   ;
14847   return 0;
14848 }
14849 _ACEOF
14850 rm -f conftest.$ac_objext
14851 if { (ac_try="$ac_compile"
14852 case "(($ac_try" in
14853   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14854   *) ac_try_echo=$ac_try;;
14855 esac
14856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14857   (eval "$ac_compile") 2>conftest.er1
14858   ac_status=$?
14859   grep -v '^ *+' conftest.er1 >conftest.err
14860   rm -f conftest.er1
14861   cat conftest.err >&5
14862   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14863   (exit $ac_status); } && {
14864          test -z "$ac_c_werror_flag" ||
14865          test ! -s conftest.err
14866        } && test -s conftest.$ac_objext; then
14867   :
14868 else
14869   echo "$as_me: failed program was:" >&5
14870 sed 's/^/| /' conftest.$ac_ext >&5
14871
14872         ac_c_werror_flag=$ac_save_c_werror_flag
14873          CFLAGS="-g"
14874          cat >conftest.$ac_ext <<_ACEOF
14875 /* confdefs.h.  */
14876 _ACEOF
14877 cat confdefs.h >>conftest.$ac_ext
14878 cat >>conftest.$ac_ext <<_ACEOF
14879 /* end confdefs.h.  */
14880
14881 int
14882 main ()
14883 {
14884
14885   ;
14886   return 0;
14887 }
14888 _ACEOF
14889 rm -f conftest.$ac_objext
14890 if { (ac_try="$ac_compile"
14891 case "(($ac_try" in
14892   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14893   *) ac_try_echo=$ac_try;;
14894 esac
14895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14896   (eval "$ac_compile") 2>conftest.er1
14897   ac_status=$?
14898   grep -v '^ *+' conftest.er1 >conftest.err
14899   rm -f conftest.er1
14900   cat conftest.err >&5
14901   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14902   (exit $ac_status); } && {
14903          test -z "$ac_c_werror_flag" ||
14904          test ! -s conftest.err
14905        } && test -s conftest.$ac_objext; then
14906   ac_cv_prog_cc_g=yes
14907 else
14908   echo "$as_me: failed program was:" >&5
14909 sed 's/^/| /' conftest.$ac_ext >&5
14910
14911
14912 fi
14913
14914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14915 fi
14916
14917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14918 fi
14919
14920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14921    ac_c_werror_flag=$ac_save_c_werror_flag
14922 fi
14923 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
14924 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
14925 if test "$ac_test_CFLAGS" = set; then
14926   CFLAGS=$ac_save_CFLAGS
14927 elif test $ac_cv_prog_cc_g = yes; then
14928   if test "$GCC" = yes; then
14929     CFLAGS="-g -O2"
14930   else
14931     CFLAGS="-g"
14932   fi
14933 else
14934   if test "$GCC" = yes; then
14935     CFLAGS="-O2"
14936   else
14937     CFLAGS=
14938   fi
14939 fi
14940 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
14941 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
14942 if test "${ac_cv_prog_cc_c89+set}" = set; then
14943   echo $ECHO_N "(cached) $ECHO_C" >&6
14944 else
14945   ac_cv_prog_cc_c89=no
14946 ac_save_CC=$CC
14947 cat >conftest.$ac_ext <<_ACEOF
14948 /* confdefs.h.  */
14949 _ACEOF
14950 cat confdefs.h >>conftest.$ac_ext
14951 cat >>conftest.$ac_ext <<_ACEOF
14952 /* end confdefs.h.  */
14953 #include <stdarg.h>
14954 #include <stdio.h>
14955 #include <sys/types.h>
14956 #include <sys/stat.h>
14957 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
14958 struct buf { int x; };
14959 FILE * (*rcsopen) (struct buf *, struct stat *, int);
14960 static char *e (p, i)
14961      char **p;
14962      int i;
14963 {
14964   return p[i];
14965 }
14966 static char *f (char * (*g) (char **, int), char **p, ...)
14967 {
14968   char *s;
14969   va_list v;
14970   va_start (v,p);
14971   s = g (p, va_arg (v,int));
14972   va_end (v);
14973   return s;
14974 }
14975
14976 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
14977    function prototypes and stuff, but not '\xHH' hex character constants.
14978    These don't provoke an error unfortunately, instead are silently treated
14979    as 'x'.  The following induces an error, until -std is added to get
14980    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
14981    array size at least.  It's necessary to write '\x00'==0 to get something
14982    that's true only with -std.  */
14983 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
14984
14985 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
14986    inside strings and character constants.  */
14987 #define FOO(x) 'x'
14988 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
14989
14990 int test (int i, double x);
14991 struct s1 {int (*f) (int a);};
14992 struct s2 {int (*f) (double a);};
14993 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
14994 int argc;
14995 char **argv;
14996 int
14997 main ()
14998 {
14999 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
15000   ;
15001   return 0;
15002 }
15003 _ACEOF
15004 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
15005         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
15006 do
15007   CC="$ac_save_CC $ac_arg"
15008   rm -f conftest.$ac_objext
15009 if { (ac_try="$ac_compile"
15010 case "(($ac_try" in
15011   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15012   *) ac_try_echo=$ac_try;;
15013 esac
15014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15015   (eval "$ac_compile") 2>conftest.er1
15016   ac_status=$?
15017   grep -v '^ *+' conftest.er1 >conftest.err
15018   rm -f conftest.er1
15019   cat conftest.err >&5
15020   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15021   (exit $ac_status); } && {
15022          test -z "$ac_c_werror_flag" ||
15023          test ! -s conftest.err
15024        } && test -s conftest.$ac_objext; then
15025   ac_cv_prog_cc_c89=$ac_arg
15026 else
15027   echo "$as_me: failed program was:" >&5
15028 sed 's/^/| /' conftest.$ac_ext >&5
15029
15030
15031 fi
15032
15033 rm -f core conftest.err conftest.$ac_objext
15034   test "x$ac_cv_prog_cc_c89" != "xno" && break
15035 done
15036 rm -f conftest.$ac_ext
15037 CC=$ac_save_CC
15038
15039 fi
15040 # AC_CACHE_VAL
15041 case "x$ac_cv_prog_cc_c89" in
15042   x)
15043     { echo "$as_me:$LINENO: result: none needed" >&5
15044 echo "${ECHO_T}none needed" >&6; } ;;
15045   xno)
15046     { echo "$as_me:$LINENO: result: unsupported" >&5
15047 echo "${ECHO_T}unsupported" >&6; } ;;
15048   *)
15049     CC="$CC $ac_cv_prog_cc_c89"
15050     { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
15051 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
15052 esac
15053
15054
15055 ac_ext=c
15056 ac_cpp='$CPP $CPPFLAGS'
15057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15060
15061
15062
15063
15064     ac_ext=c
15065 ac_cpp='$CPP $CPPFLAGS'
15066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15069
15070     { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
15071 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
15072 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
15073   echo $ECHO_N "(cached) $ECHO_C" >&6
15074 else
15075   cat >conftest.$ac_ext <<_ACEOF
15076 /* confdefs.h.  */
15077 _ACEOF
15078 cat confdefs.h >>conftest.$ac_ext
15079 cat >>conftest.$ac_ext <<_ACEOF
15080 /* end confdefs.h.  */
15081
15082 int
15083 main ()
15084 {
15085
15086              #ifndef __INTEL_COMPILER
15087                 choke me
15088              #endif
15089
15090   ;
15091   return 0;
15092 }
15093 _ACEOF
15094 rm -f conftest.$ac_objext
15095 if { (ac_try="$ac_compile"
15096 case "(($ac_try" in
15097   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15098   *) ac_try_echo=$ac_try;;
15099 esac
15100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15101   (eval "$ac_compile") 2>conftest.er1
15102   ac_status=$?
15103   grep -v '^ *+' conftest.er1 >conftest.err
15104   rm -f conftest.er1
15105   cat conftest.err >&5
15106   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15107   (exit $ac_status); } && {
15108          test -z "$ac_c_werror_flag" ||
15109          test ! -s conftest.err
15110        } && test -s conftest.$ac_objext; then
15111   bakefile_cv_c_compiler___INTEL_COMPILER=yes
15112 else
15113   echo "$as_me: failed program was:" >&5
15114 sed 's/^/| /' conftest.$ac_ext >&5
15115
15116         bakefile_cv_c_compiler___INTEL_COMPILER=no
15117
15118 fi
15119
15120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15121
15122
15123 fi
15124 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
15125 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
15126     if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
15127         :; INTELCC=yes
15128     else
15129         :;
15130     fi
15131     ac_ext=c
15132 ac_cpp='$CPP $CPPFLAGS'
15133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15136
15137
15138
15139
15140         if test "$INTELCC" = "yes"; then
15141
15142
15143     ac_ext=c
15144 ac_cpp='$CPP $CPPFLAGS'
15145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15148
15149     { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v8 or later" >&5
15150 echo $ECHO_N "checking whether we are using Intel C compiler v8 or later... $ECHO_C" >&6; }
15151 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+set}" = set; then
15152   echo $ECHO_N "(cached) $ECHO_C" >&6
15153 else
15154   cat >conftest.$ac_ext <<_ACEOF
15155 /* confdefs.h.  */
15156 _ACEOF
15157 cat confdefs.h >>conftest.$ac_ext
15158 cat >>conftest.$ac_ext <<_ACEOF
15159 /* end confdefs.h.  */
15160
15161 int
15162 main ()
15163 {
15164
15165              #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
15166                 choke me
15167              #endif
15168
15169   ;
15170   return 0;
15171 }
15172 _ACEOF
15173 rm -f conftest.$ac_objext
15174 if { (ac_try="$ac_compile"
15175 case "(($ac_try" in
15176   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15177   *) ac_try_echo=$ac_try;;
15178 esac
15179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15180   (eval "$ac_compile") 2>conftest.er1
15181   ac_status=$?
15182   grep -v '^ *+' conftest.er1 >conftest.err
15183   rm -f conftest.er1
15184   cat conftest.err >&5
15185   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15186   (exit $ac_status); } && {
15187          test -z "$ac_c_werror_flag" ||
15188          test ! -s conftest.err
15189        } && test -s conftest.$ac_objext; then
15190   bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=yes
15191 else
15192   echo "$as_me: failed program was:" >&5
15193 sed 's/^/| /' conftest.$ac_ext >&5
15194
15195         bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=no
15196
15197 fi
15198
15199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15200
15201
15202 fi
15203 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&5
15204 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6; }
15205     if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
15206         :; INTELCC8=yes
15207     else
15208         :;
15209     fi
15210     ac_ext=c
15211 ac_cpp='$CPP $CPPFLAGS'
15212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15215
15216
15217
15218
15219
15220     ac_ext=c
15221 ac_cpp='$CPP $CPPFLAGS'
15222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15225
15226     { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v10 or later" >&5
15227 echo $ECHO_N "checking whether we are using Intel C compiler v10 or later... $ECHO_C" >&6; }
15228 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
15229   echo $ECHO_N "(cached) $ECHO_C" >&6
15230 else
15231   cat >conftest.$ac_ext <<_ACEOF
15232 /* confdefs.h.  */
15233 _ACEOF
15234 cat confdefs.h >>conftest.$ac_ext
15235 cat >>conftest.$ac_ext <<_ACEOF
15236 /* end confdefs.h.  */
15237
15238 int
15239 main ()
15240 {
15241
15242              #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
15243                 choke me
15244              #endif
15245
15246   ;
15247   return 0;
15248 }
15249 _ACEOF
15250 rm -f conftest.$ac_objext
15251 if { (ac_try="$ac_compile"
15252 case "(($ac_try" in
15253   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15254   *) ac_try_echo=$ac_try;;
15255 esac
15256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15257   (eval "$ac_compile") 2>conftest.er1
15258   ac_status=$?
15259   grep -v '^ *+' conftest.er1 >conftest.err
15260   rm -f conftest.er1
15261   cat conftest.err >&5
15262   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15263   (exit $ac_status); } && {
15264          test -z "$ac_c_werror_flag" ||
15265          test ! -s conftest.err
15266        } && test -s conftest.$ac_objext; then
15267   bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=yes
15268 else
15269   echo "$as_me: failed program was:" >&5
15270 sed 's/^/| /' conftest.$ac_ext >&5
15271
15272         bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=no
15273
15274 fi
15275
15276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15277
15278
15279 fi
15280 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&5
15281 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6; }
15282     if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
15283         :; INTELCC10=yes
15284     else
15285         :;
15286     fi
15287     ac_ext=c
15288 ac_cpp='$CPP $CPPFLAGS'
15289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15292
15293
15294
15295     fi
15296
15297         if test "x$GCC" != "xyes"; then
15298         if test "xCC" = "xC"; then
15299             { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
15300 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
15301 if test "${bakefile_cv_c_exto+set}" = set; then
15302   echo $ECHO_N "(cached) $ECHO_C" >&6
15303 else
15304   cat >conftest.$ac_ext <<_ACEOF
15305 /* confdefs.h.  */
15306 _ACEOF
15307 cat confdefs.h >>conftest.$ac_ext
15308 cat >>conftest.$ac_ext <<_ACEOF
15309 /* end confdefs.h.  */
15310
15311 int
15312 main ()
15313 {
15314
15315   ;
15316   return 0;
15317 }
15318 _ACEOF
15319 rm -f conftest.$ac_objext conftest.$ac_ext.o
15320 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15321   (eval $ac_compile) 2>&5
15322   ac_status=$?
15323   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15324   (exit $ac_status); }; then
15325   for ac_file in `(ls conftest.* 2>/dev/null)`; do
15326     case $ac_file in
15327         conftest.$ac_ext.o)
15328             bakefile_cv_c_exto="-ext o"
15329             ;;
15330         *)
15331             ;;
15332     esac
15333 done
15334 else
15335   { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
15336 See \`config.log' for more details." >&5
15337 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
15338 See \`config.log' for more details." >&2;}
15339    { (exit 1); exit 1; }; }
15340
15341 fi
15342
15343 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
15344
15345 fi
15346 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
15347 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
15348 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15349     if test "c" = "c"; then
15350         CFLAGS="$bakefile_cv_c_exto $CFLAGS"
15351     fi
15352     if test "c" = "cxx"; then
15353         CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
15354     fi
15355 fi
15356
15357             if test "x$bakefile_cv_c_exto" '!=' "x"; then
15358                 unset ac_cv_prog_cc_g
15359                 ac_test_CFLAGS=${CFLAGS+set}
15360 ac_save_CFLAGS=$CFLAGS
15361 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15362 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15363 if test "${ac_cv_prog_cc_g+set}" = set; then
15364   echo $ECHO_N "(cached) $ECHO_C" >&6
15365 else
15366   ac_save_c_werror_flag=$ac_c_werror_flag
15367    ac_c_werror_flag=yes
15368    ac_cv_prog_cc_g=no
15369    CFLAGS="-g"
15370    cat >conftest.$ac_ext <<_ACEOF
15371 /* confdefs.h.  */
15372 _ACEOF
15373 cat confdefs.h >>conftest.$ac_ext
15374 cat >>conftest.$ac_ext <<_ACEOF
15375 /* end confdefs.h.  */
15376
15377 int
15378 main ()
15379 {
15380
15381   ;
15382   return 0;
15383 }
15384 _ACEOF
15385 rm -f conftest.$ac_objext
15386 if { (ac_try="$ac_compile"
15387 case "(($ac_try" in
15388   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15389   *) ac_try_echo=$ac_try;;
15390 esac
15391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15392   (eval "$ac_compile") 2>conftest.er1
15393   ac_status=$?
15394   grep -v '^ *+' conftest.er1 >conftest.err
15395   rm -f conftest.er1
15396   cat conftest.err >&5
15397   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15398   (exit $ac_status); } && {
15399          test -z "$ac_c_werror_flag" ||
15400          test ! -s conftest.err
15401        } && test -s conftest.$ac_objext; then
15402   ac_cv_prog_cc_g=yes
15403 else
15404   echo "$as_me: failed program was:" >&5
15405 sed 's/^/| /' conftest.$ac_ext >&5
15406
15407         CFLAGS=""
15408       cat >conftest.$ac_ext <<_ACEOF
15409 /* confdefs.h.  */
15410 _ACEOF
15411 cat confdefs.h >>conftest.$ac_ext
15412 cat >>conftest.$ac_ext <<_ACEOF
15413 /* end confdefs.h.  */
15414
15415 int
15416 main ()
15417 {
15418
15419   ;
15420   return 0;
15421 }
15422 _ACEOF
15423 rm -f conftest.$ac_objext
15424 if { (ac_try="$ac_compile"
15425 case "(($ac_try" in
15426   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15427   *) ac_try_echo=$ac_try;;
15428 esac
15429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15430   (eval "$ac_compile") 2>conftest.er1
15431   ac_status=$?
15432   grep -v '^ *+' conftest.er1 >conftest.err
15433   rm -f conftest.er1
15434   cat conftest.err >&5
15435   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15436   (exit $ac_status); } && {
15437          test -z "$ac_c_werror_flag" ||
15438          test ! -s conftest.err
15439        } && test -s conftest.$ac_objext; then
15440   :
15441 else
15442   echo "$as_me: failed program was:" >&5
15443 sed 's/^/| /' conftest.$ac_ext >&5
15444
15445         ac_c_werror_flag=$ac_save_c_werror_flag
15446          CFLAGS="-g"
15447          cat >conftest.$ac_ext <<_ACEOF
15448 /* confdefs.h.  */
15449 _ACEOF
15450 cat confdefs.h >>conftest.$ac_ext
15451 cat >>conftest.$ac_ext <<_ACEOF
15452 /* end confdefs.h.  */
15453
15454 int
15455 main ()
15456 {
15457
15458   ;
15459   return 0;
15460 }
15461 _ACEOF
15462 rm -f conftest.$ac_objext
15463 if { (ac_try="$ac_compile"
15464 case "(($ac_try" in
15465   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15466   *) ac_try_echo=$ac_try;;
15467 esac
15468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15469   (eval "$ac_compile") 2>conftest.er1
15470   ac_status=$?
15471   grep -v '^ *+' conftest.er1 >conftest.err
15472   rm -f conftest.er1
15473   cat conftest.err >&5
15474   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15475   (exit $ac_status); } && {
15476          test -z "$ac_c_werror_flag" ||
15477          test ! -s conftest.err
15478        } && test -s conftest.$ac_objext; then
15479   ac_cv_prog_cc_g=yes
15480 else
15481   echo "$as_me: failed program was:" >&5
15482 sed 's/^/| /' conftest.$ac_ext >&5
15483
15484
15485 fi
15486
15487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15488 fi
15489
15490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15491 fi
15492
15493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15494    ac_c_werror_flag=$ac_save_c_werror_flag
15495 fi
15496 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15497 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15498 if test "$ac_test_CFLAGS" = set; then
15499   CFLAGS=$ac_save_CFLAGS
15500 elif test $ac_cv_prog_cc_g = yes; then
15501   if test "$GCC" = yes; then
15502     CFLAGS="-g -O2"
15503   else
15504     CFLAGS="-g"
15505   fi
15506 else
15507   if test "$GCC" = yes; then
15508     CFLAGS="-O2"
15509   else
15510     CFLAGS=
15511   fi
15512 fi
15513             fi
15514         fi
15515
15516                         case `uname -s` in
15517             AIX*)
15518
15519
15520     ac_ext=c
15521 ac_cpp='$CPP $CPPFLAGS'
15522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15525
15526     { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15527 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15528 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15529   echo $ECHO_N "(cached) $ECHO_C" >&6
15530 else
15531   cat >conftest.$ac_ext <<_ACEOF
15532 /* confdefs.h.  */
15533 _ACEOF
15534 cat confdefs.h >>conftest.$ac_ext
15535 cat >>conftest.$ac_ext <<_ACEOF
15536 /* end confdefs.h.  */
15537
15538 int
15539 main ()
15540 {
15541
15542              #ifndef __xlC__
15543                 choke me
15544              #endif
15545
15546   ;
15547   return 0;
15548 }
15549 _ACEOF
15550 rm -f conftest.$ac_objext
15551 if { (ac_try="$ac_compile"
15552 case "(($ac_try" in
15553   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15554   *) ac_try_echo=$ac_try;;
15555 esac
15556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15557   (eval "$ac_compile") 2>conftest.er1
15558   ac_status=$?
15559   grep -v '^ *+' conftest.er1 >conftest.err
15560   rm -f conftest.er1
15561   cat conftest.err >&5
15562   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15563   (exit $ac_status); } && {
15564          test -z "$ac_c_werror_flag" ||
15565          test ! -s conftest.err
15566        } && test -s conftest.$ac_objext; then
15567   bakefile_cv_c_compiler___xlC__=yes
15568 else
15569   echo "$as_me: failed program was:" >&5
15570 sed 's/^/| /' conftest.$ac_ext >&5
15571
15572         bakefile_cv_c_compiler___xlC__=no
15573
15574 fi
15575
15576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15577
15578
15579 fi
15580 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15581 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15582     if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15583         :; XLCC=yes
15584     else
15585         :;
15586     fi
15587     ac_ext=c
15588 ac_cpp='$CPP $CPPFLAGS'
15589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15592
15593
15594
15595                 ;;
15596
15597             Darwin)
15598
15599
15600     ac_ext=c
15601 ac_cpp='$CPP $CPPFLAGS'
15602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15605
15606     { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
15607 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
15608 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
15609   echo $ECHO_N "(cached) $ECHO_C" >&6
15610 else
15611   cat >conftest.$ac_ext <<_ACEOF
15612 /* confdefs.h.  */
15613 _ACEOF
15614 cat confdefs.h >>conftest.$ac_ext
15615 cat >>conftest.$ac_ext <<_ACEOF
15616 /* end confdefs.h.  */
15617
15618 int
15619 main ()
15620 {
15621
15622              #ifndef __MWERKS__
15623                 choke me
15624              #endif
15625
15626   ;
15627   return 0;
15628 }
15629 _ACEOF
15630 rm -f conftest.$ac_objext
15631 if { (ac_try="$ac_compile"
15632 case "(($ac_try" in
15633   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15634   *) ac_try_echo=$ac_try;;
15635 esac
15636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15637   (eval "$ac_compile") 2>conftest.er1
15638   ac_status=$?
15639   grep -v '^ *+' conftest.er1 >conftest.err
15640   rm -f conftest.er1
15641   cat conftest.err >&5
15642   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15643   (exit $ac_status); } && {
15644          test -z "$ac_c_werror_flag" ||
15645          test ! -s conftest.err
15646        } && test -s conftest.$ac_objext; then
15647   bakefile_cv_c_compiler___MWERKS__=yes
15648 else
15649   echo "$as_me: failed program was:" >&5
15650 sed 's/^/| /' conftest.$ac_ext >&5
15651
15652         bakefile_cv_c_compiler___MWERKS__=no
15653
15654 fi
15655
15656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15657
15658
15659 fi
15660 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
15661 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
15662     if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
15663         :; MWCC=yes
15664     else
15665         :;
15666     fi
15667     ac_ext=c
15668 ac_cpp='$CPP $CPPFLAGS'
15669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15672
15673
15674
15675                 if test "$MWCC" != "yes"; then
15676
15677
15678     ac_ext=c
15679 ac_cpp='$CPP $CPPFLAGS'
15680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15683
15684     { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15685 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15686 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15687   echo $ECHO_N "(cached) $ECHO_C" >&6
15688 else
15689   cat >conftest.$ac_ext <<_ACEOF
15690 /* confdefs.h.  */
15691 _ACEOF
15692 cat confdefs.h >>conftest.$ac_ext
15693 cat >>conftest.$ac_ext <<_ACEOF
15694 /* end confdefs.h.  */
15695
15696 int
15697 main ()
15698 {
15699
15700              #ifndef __xlC__
15701                 choke me
15702              #endif
15703
15704   ;
15705   return 0;
15706 }
15707 _ACEOF
15708 rm -f conftest.$ac_objext
15709 if { (ac_try="$ac_compile"
15710 case "(($ac_try" in
15711   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15712   *) ac_try_echo=$ac_try;;
15713 esac
15714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15715   (eval "$ac_compile") 2>conftest.er1
15716   ac_status=$?
15717   grep -v '^ *+' conftest.er1 >conftest.err
15718   rm -f conftest.er1
15719   cat conftest.err >&5
15720   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15721   (exit $ac_status); } && {
15722          test -z "$ac_c_werror_flag" ||
15723          test ! -s conftest.err
15724        } && test -s conftest.$ac_objext; then
15725   bakefile_cv_c_compiler___xlC__=yes
15726 else
15727   echo "$as_me: failed program was:" >&5
15728 sed 's/^/| /' conftest.$ac_ext >&5
15729
15730         bakefile_cv_c_compiler___xlC__=no
15731
15732 fi
15733
15734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15735
15736
15737 fi
15738 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15739 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15740     if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15741         :; XLCC=yes
15742     else
15743         :;
15744     fi
15745     ac_ext=c
15746 ac_cpp='$CPP $CPPFLAGS'
15747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15750
15751
15752
15753                 fi
15754                 ;;
15755
15756             IRIX*)
15757
15758
15759     ac_ext=c
15760 ac_cpp='$CPP $CPPFLAGS'
15761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15764
15765     { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
15766 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
15767 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
15768   echo $ECHO_N "(cached) $ECHO_C" >&6
15769 else
15770   cat >conftest.$ac_ext <<_ACEOF
15771 /* confdefs.h.  */
15772 _ACEOF
15773 cat confdefs.h >>conftest.$ac_ext
15774 cat >>conftest.$ac_ext <<_ACEOF
15775 /* end confdefs.h.  */
15776
15777 int
15778 main ()
15779 {
15780
15781              #ifndef _SGI_COMPILER_VERSION
15782                 choke me
15783              #endif
15784
15785   ;
15786   return 0;
15787 }
15788 _ACEOF
15789 rm -f conftest.$ac_objext
15790 if { (ac_try="$ac_compile"
15791 case "(($ac_try" in
15792   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15793   *) ac_try_echo=$ac_try;;
15794 esac
15795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15796   (eval "$ac_compile") 2>conftest.er1
15797   ac_status=$?
15798   grep -v '^ *+' conftest.er1 >conftest.err
15799   rm -f conftest.er1
15800   cat conftest.err >&5
15801   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15802   (exit $ac_status); } && {
15803          test -z "$ac_c_werror_flag" ||
15804          test ! -s conftest.err
15805        } && test -s conftest.$ac_objext; then
15806   bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
15807 else
15808   echo "$as_me: failed program was:" >&5
15809 sed 's/^/| /' conftest.$ac_ext >&5
15810
15811         bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
15812
15813 fi
15814
15815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15816
15817
15818 fi
15819 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
15820 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
15821     if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
15822         :; SGICC=yes
15823     else
15824         :;
15825     fi
15826     ac_ext=c
15827 ac_cpp='$CPP $CPPFLAGS'
15828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15831
15832
15833
15834                 ;;
15835
15836             Linux*)
15837                                                 if test "$INTELCC" != "yes"; then
15838
15839
15840     ac_ext=c
15841 ac_cpp='$CPP $CPPFLAGS'
15842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15845
15846     { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
15847 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
15848 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
15849   echo $ECHO_N "(cached) $ECHO_C" >&6
15850 else
15851   cat >conftest.$ac_ext <<_ACEOF
15852 /* confdefs.h.  */
15853 _ACEOF
15854 cat confdefs.h >>conftest.$ac_ext
15855 cat >>conftest.$ac_ext <<_ACEOF
15856 /* end confdefs.h.  */
15857
15858 int
15859 main ()
15860 {
15861
15862              #ifndef __SUNPRO_C
15863                 choke me
15864              #endif
15865
15866   ;
15867   return 0;
15868 }
15869 _ACEOF
15870 rm -f conftest.$ac_objext
15871 if { (ac_try="$ac_compile"
15872 case "(($ac_try" in
15873   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15874   *) ac_try_echo=$ac_try;;
15875 esac
15876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15877   (eval "$ac_compile") 2>conftest.er1
15878   ac_status=$?
15879   grep -v '^ *+' conftest.er1 >conftest.err
15880   rm -f conftest.er1
15881   cat conftest.err >&5
15882   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15883   (exit $ac_status); } && {
15884          test -z "$ac_c_werror_flag" ||
15885          test ! -s conftest.err
15886        } && test -s conftest.$ac_objext; then
15887   bakefile_cv_c_compiler___SUNPRO_C=yes
15888 else
15889   echo "$as_me: failed program was:" >&5
15890 sed 's/^/| /' conftest.$ac_ext >&5
15891
15892         bakefile_cv_c_compiler___SUNPRO_C=no
15893
15894 fi
15895
15896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15897
15898
15899 fi
15900 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
15901 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
15902     if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
15903         :; SUNCC=yes
15904     else
15905         :;
15906     fi
15907     ac_ext=c
15908 ac_cpp='$CPP $CPPFLAGS'
15909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15912
15913
15914
15915                 fi
15916                 ;;
15917
15918             HP-UX*)
15919
15920
15921     ac_ext=c
15922 ac_cpp='$CPP $CPPFLAGS'
15923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15926
15927     { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
15928 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
15929 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
15930   echo $ECHO_N "(cached) $ECHO_C" >&6
15931 else
15932   cat >conftest.$ac_ext <<_ACEOF
15933 /* confdefs.h.  */
15934 _ACEOF
15935 cat confdefs.h >>conftest.$ac_ext
15936 cat >>conftest.$ac_ext <<_ACEOF
15937 /* end confdefs.h.  */
15938
15939 int
15940 main ()
15941 {
15942
15943              #ifndef __HP_cc
15944                 choke me
15945              #endif
15946
15947   ;
15948   return 0;
15949 }
15950 _ACEOF
15951 rm -f conftest.$ac_objext
15952 if { (ac_try="$ac_compile"
15953 case "(($ac_try" in
15954   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15955   *) ac_try_echo=$ac_try;;
15956 esac
15957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15958   (eval "$ac_compile") 2>conftest.er1
15959   ac_status=$?
15960   grep -v '^ *+' conftest.er1 >conftest.err
15961   rm -f conftest.er1
15962   cat conftest.err >&5
15963   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15964   (exit $ac_status); } && {
15965          test -z "$ac_c_werror_flag" ||
15966          test ! -s conftest.err
15967        } && test -s conftest.$ac_objext; then
15968   bakefile_cv_c_compiler___HP_cc=yes
15969 else
15970   echo "$as_me: failed program was:" >&5
15971 sed 's/^/| /' conftest.$ac_ext >&5
15972
15973         bakefile_cv_c_compiler___HP_cc=no
15974
15975 fi
15976
15977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15978
15979
15980 fi
15981 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
15982 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
15983     if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
15984         :; HPCC=yes
15985     else
15986         :;
15987     fi
15988     ac_ext=c
15989 ac_cpp='$CPP $CPPFLAGS'
15990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15993
15994
15995
15996                 ;;
15997
15998             OSF1)
15999
16000
16001     ac_ext=c
16002 ac_cpp='$CPP $CPPFLAGS'
16003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16006
16007     { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
16008 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
16009 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
16010   echo $ECHO_N "(cached) $ECHO_C" >&6
16011 else
16012   cat >conftest.$ac_ext <<_ACEOF
16013 /* confdefs.h.  */
16014 _ACEOF
16015 cat confdefs.h >>conftest.$ac_ext
16016 cat >>conftest.$ac_ext <<_ACEOF
16017 /* end confdefs.h.  */
16018
16019 int
16020 main ()
16021 {
16022
16023              #ifndef __DECC
16024                 choke me
16025              #endif
16026
16027   ;
16028   return 0;
16029 }
16030 _ACEOF
16031 rm -f conftest.$ac_objext
16032 if { (ac_try="$ac_compile"
16033 case "(($ac_try" in
16034   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16035   *) ac_try_echo=$ac_try;;
16036 esac
16037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16038   (eval "$ac_compile") 2>conftest.er1
16039   ac_status=$?
16040   grep -v '^ *+' conftest.er1 >conftest.err
16041   rm -f conftest.er1
16042   cat conftest.err >&5
16043   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16044   (exit $ac_status); } && {
16045          test -z "$ac_c_werror_flag" ||
16046          test ! -s conftest.err
16047        } && test -s conftest.$ac_objext; then
16048   bakefile_cv_c_compiler___DECC=yes
16049 else
16050   echo "$as_me: failed program was:" >&5
16051 sed 's/^/| /' conftest.$ac_ext >&5
16052
16053         bakefile_cv_c_compiler___DECC=no
16054
16055 fi
16056
16057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16058
16059
16060 fi
16061 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
16062 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
16063     if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
16064         :; COMPAQCC=yes
16065     else
16066         :;
16067     fi
16068     ac_ext=c
16069 ac_cpp='$CPP $CPPFLAGS'
16070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16073
16074
16075
16076                 ;;
16077
16078             SunOS)
16079
16080
16081     ac_ext=c
16082 ac_cpp='$CPP $CPPFLAGS'
16083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16086
16087     { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
16088 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
16089 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
16090   echo $ECHO_N "(cached) $ECHO_C" >&6
16091 else
16092   cat >conftest.$ac_ext <<_ACEOF
16093 /* confdefs.h.  */
16094 _ACEOF
16095 cat confdefs.h >>conftest.$ac_ext
16096 cat >>conftest.$ac_ext <<_ACEOF
16097 /* end confdefs.h.  */
16098
16099 int
16100 main ()
16101 {
16102
16103              #ifndef __SUNPRO_C
16104                 choke me
16105              #endif
16106
16107   ;
16108   return 0;
16109 }
16110 _ACEOF
16111 rm -f conftest.$ac_objext
16112 if { (ac_try="$ac_compile"
16113 case "(($ac_try" in
16114   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16115   *) ac_try_echo=$ac_try;;
16116 esac
16117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16118   (eval "$ac_compile") 2>conftest.er1
16119   ac_status=$?
16120   grep -v '^ *+' conftest.er1 >conftest.err
16121   rm -f conftest.er1
16122   cat conftest.err >&5
16123   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16124   (exit $ac_status); } && {
16125          test -z "$ac_c_werror_flag" ||
16126          test ! -s conftest.err
16127        } && test -s conftest.$ac_objext; then
16128   bakefile_cv_c_compiler___SUNPRO_C=yes
16129 else
16130   echo "$as_me: failed program was:" >&5
16131 sed 's/^/| /' conftest.$ac_ext >&5
16132
16133         bakefile_cv_c_compiler___SUNPRO_C=no
16134
16135 fi
16136
16137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16138
16139
16140 fi
16141 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16142 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16143     if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16144         :; SUNCC=yes
16145     else
16146         :;
16147     fi
16148     ac_ext=c
16149 ac_cpp='$CPP $CPPFLAGS'
16150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16153
16154
16155
16156                 ;;
16157         esac
16158     fi
16159
16160
16161
16162 ac_ext=c
16163 ac_cpp='$CPP $CPPFLAGS'
16164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16167 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
16168 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
16169 # On Suns, sometimes $CPP names a directory.
16170 if test -n "$CPP" && test -d "$CPP"; then
16171   CPP=
16172 fi
16173 if test -z "$CPP"; then
16174   if test "${ac_cv_prog_CPP+set}" = set; then
16175   echo $ECHO_N "(cached) $ECHO_C" >&6
16176 else
16177       # Double quotes because CPP needs to be expanded
16178     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
16179     do
16180       ac_preproc_ok=false
16181 for ac_c_preproc_warn_flag in '' yes
16182 do
16183   # Use a header file that comes with gcc, so configuring glibc
16184   # with a fresh cross-compiler works.
16185   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16186   # <limits.h> exists even on freestanding compilers.
16187   # On the NeXT, cc -E runs the code through the compiler's parser,
16188   # not just through cpp. "Syntax error" is here to catch this case.
16189   cat >conftest.$ac_ext <<_ACEOF
16190 /* confdefs.h.  */
16191 _ACEOF
16192 cat confdefs.h >>conftest.$ac_ext
16193 cat >>conftest.$ac_ext <<_ACEOF
16194 /* end confdefs.h.  */
16195 #ifdef __STDC__
16196 # include <limits.h>
16197 #else
16198 # include <assert.h>
16199 #endif
16200                      Syntax error
16201 _ACEOF
16202 if { (ac_try="$ac_cpp conftest.$ac_ext"
16203 case "(($ac_try" in
16204   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16205   *) ac_try_echo=$ac_try;;
16206 esac
16207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16208   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16209   ac_status=$?
16210   grep -v '^ *+' conftest.er1 >conftest.err
16211   rm -f conftest.er1
16212   cat conftest.err >&5
16213   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16214   (exit $ac_status); } >/dev/null && {
16215          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16216          test ! -s conftest.err
16217        }; then
16218   :
16219 else
16220   echo "$as_me: failed program was:" >&5
16221 sed 's/^/| /' conftest.$ac_ext >&5
16222
16223   # Broken: fails on valid input.
16224 continue
16225 fi
16226
16227 rm -f conftest.err conftest.$ac_ext
16228
16229   # OK, works on sane cases.  Now check whether nonexistent headers
16230   # can be detected and how.
16231   cat >conftest.$ac_ext <<_ACEOF
16232 /* confdefs.h.  */
16233 _ACEOF
16234 cat confdefs.h >>conftest.$ac_ext
16235 cat >>conftest.$ac_ext <<_ACEOF
16236 /* end confdefs.h.  */
16237 #include <ac_nonexistent.h>
16238 _ACEOF
16239 if { (ac_try="$ac_cpp conftest.$ac_ext"
16240 case "(($ac_try" in
16241   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16242   *) ac_try_echo=$ac_try;;
16243 esac
16244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16245   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16246   ac_status=$?
16247   grep -v '^ *+' conftest.er1 >conftest.err
16248   rm -f conftest.er1
16249   cat conftest.err >&5
16250   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16251   (exit $ac_status); } >/dev/null && {
16252          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16253          test ! -s conftest.err
16254        }; then
16255   # Broken: success on invalid input.
16256 continue
16257 else
16258   echo "$as_me: failed program was:" >&5
16259 sed 's/^/| /' conftest.$ac_ext >&5
16260
16261   # Passes both tests.
16262 ac_preproc_ok=:
16263 break
16264 fi
16265
16266 rm -f conftest.err conftest.$ac_ext
16267
16268 done
16269 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16270 rm -f conftest.err conftest.$ac_ext
16271 if $ac_preproc_ok; then
16272   break
16273 fi
16274
16275     done
16276     ac_cv_prog_CPP=$CPP
16277
16278 fi
16279   CPP=$ac_cv_prog_CPP
16280 else
16281   ac_cv_prog_CPP=$CPP
16282 fi
16283 { echo "$as_me:$LINENO: result: $CPP" >&5
16284 echo "${ECHO_T}$CPP" >&6; }
16285 ac_preproc_ok=false
16286 for ac_c_preproc_warn_flag in '' yes
16287 do
16288   # Use a header file that comes with gcc, so configuring glibc
16289   # with a fresh cross-compiler works.
16290   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16291   # <limits.h> exists even on freestanding compilers.
16292   # On the NeXT, cc -E runs the code through the compiler's parser,
16293   # not just through cpp. "Syntax error" is here to catch this case.
16294   cat >conftest.$ac_ext <<_ACEOF
16295 /* confdefs.h.  */
16296 _ACEOF
16297 cat confdefs.h >>conftest.$ac_ext
16298 cat >>conftest.$ac_ext <<_ACEOF
16299 /* end confdefs.h.  */
16300 #ifdef __STDC__
16301 # include <limits.h>
16302 #else
16303 # include <assert.h>
16304 #endif
16305                      Syntax error
16306 _ACEOF
16307 if { (ac_try="$ac_cpp conftest.$ac_ext"
16308 case "(($ac_try" in
16309   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16310   *) ac_try_echo=$ac_try;;
16311 esac
16312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16313   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16314   ac_status=$?
16315   grep -v '^ *+' conftest.er1 >conftest.err
16316   rm -f conftest.er1
16317   cat conftest.err >&5
16318   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16319   (exit $ac_status); } >/dev/null && {
16320          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16321          test ! -s conftest.err
16322        }; then
16323   :
16324 else
16325   echo "$as_me: failed program was:" >&5
16326 sed 's/^/| /' conftest.$ac_ext >&5
16327
16328   # Broken: fails on valid input.
16329 continue
16330 fi
16331
16332 rm -f conftest.err conftest.$ac_ext
16333
16334   # OK, works on sane cases.  Now check whether nonexistent headers
16335   # can be detected and how.
16336   cat >conftest.$ac_ext <<_ACEOF
16337 /* confdefs.h.  */
16338 _ACEOF
16339 cat confdefs.h >>conftest.$ac_ext
16340 cat >>conftest.$ac_ext <<_ACEOF
16341 /* end confdefs.h.  */
16342 #include <ac_nonexistent.h>
16343 _ACEOF
16344 if { (ac_try="$ac_cpp conftest.$ac_ext"
16345 case "(($ac_try" in
16346   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16347   *) ac_try_echo=$ac_try;;
16348 esac
16349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16350   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16351   ac_status=$?
16352   grep -v '^ *+' conftest.er1 >conftest.err
16353   rm -f conftest.er1
16354   cat conftest.err >&5
16355   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16356   (exit $ac_status); } >/dev/null && {
16357          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16358          test ! -s conftest.err
16359        }; then
16360   # Broken: success on invalid input.
16361 continue
16362 else
16363   echo "$as_me: failed program was:" >&5
16364 sed 's/^/| /' conftest.$ac_ext >&5
16365
16366   # Passes both tests.
16367 ac_preproc_ok=:
16368 break
16369 fi
16370
16371 rm -f conftest.err conftest.$ac_ext
16372
16373 done
16374 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16375 rm -f conftest.err conftest.$ac_ext
16376 if $ac_preproc_ok; then
16377   :
16378 else
16379   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
16380 See \`config.log' for more details." >&5
16381 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
16382 See \`config.log' for more details." >&2;}
16383    { (exit 1); exit 1; }; }
16384 fi
16385
16386 ac_ext=c
16387 ac_cpp='$CPP $CPPFLAGS'
16388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16391
16392
16393 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
16394 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
16395 if test "${ac_cv_path_GREP+set}" = set; then
16396   echo $ECHO_N "(cached) $ECHO_C" >&6
16397 else
16398   # Extract the first word of "grep ggrep" to use in msg output
16399 if test -z "$GREP"; then
16400 set dummy grep ggrep; ac_prog_name=$2
16401 if test "${ac_cv_path_GREP+set}" = set; then
16402   echo $ECHO_N "(cached) $ECHO_C" >&6
16403 else
16404   ac_path_GREP_found=false
16405 # Loop through the user's path and test for each of PROGNAME-LIST
16406 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16407 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
16408 do
16409   IFS=$as_save_IFS
16410   test -z "$as_dir" && as_dir=.
16411   for ac_prog in grep ggrep; do
16412   for ac_exec_ext in '' $ac_executable_extensions; do
16413     ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
16414     { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
16415     # Check for GNU ac_path_GREP and select it if it is found.
16416   # Check for GNU $ac_path_GREP
16417 case `"$ac_path_GREP" --version 2>&1` in
16418 *GNU*)
16419   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
16420 *)
16421   ac_count=0
16422   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16423   while :
16424   do
16425     cat "conftest.in" "conftest.in" >"conftest.tmp"
16426     mv "conftest.tmp" "conftest.in"
16427     cp "conftest.in" "conftest.nl"
16428     echo 'GREP' >> "conftest.nl"
16429     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
16430     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
16431     ac_count=`expr $ac_count + 1`
16432     if test $ac_count -gt ${ac_path_GREP_max-0}; then
16433       # Best one so far, save it but keep looking for a better one
16434       ac_cv_path_GREP="$ac_path_GREP"
16435       ac_path_GREP_max=$ac_count
16436     fi
16437     # 10*(2^10) chars as input seems more than enough
16438     test $ac_count -gt 10 && break
16439   done
16440   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
16441 esac
16442
16443
16444     $ac_path_GREP_found && break 3
16445   done
16446 done
16447
16448 done
16449 IFS=$as_save_IFS
16450
16451
16452 fi
16453
16454 GREP="$ac_cv_path_GREP"
16455 if test -z "$GREP"; then
16456   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16457 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16458    { (exit 1); exit 1; }; }
16459 fi
16460
16461 else
16462   ac_cv_path_GREP=$GREP
16463 fi
16464
16465
16466 fi
16467 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
16468 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
16469  GREP="$ac_cv_path_GREP"
16470
16471
16472 { echo "$as_me:$LINENO: checking for egrep" >&5
16473 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
16474 if test "${ac_cv_path_EGREP+set}" = set; then
16475   echo $ECHO_N "(cached) $ECHO_C" >&6
16476 else
16477   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
16478    then ac_cv_path_EGREP="$GREP -E"
16479    else
16480      # Extract the first word of "egrep" to use in msg output
16481 if test -z "$EGREP"; then
16482 set dummy egrep; ac_prog_name=$2
16483 if test "${ac_cv_path_EGREP+set}" = set; then
16484   echo $ECHO_N "(cached) $ECHO_C" >&6
16485 else
16486   ac_path_EGREP_found=false
16487 # Loop through the user's path and test for each of PROGNAME-LIST
16488 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16489 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
16490 do
16491   IFS=$as_save_IFS
16492   test -z "$as_dir" && as_dir=.
16493   for ac_prog in egrep; do
16494   for ac_exec_ext in '' $ac_executable_extensions; do
16495     ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
16496     { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
16497     # Check for GNU ac_path_EGREP and select it if it is found.
16498   # Check for GNU $ac_path_EGREP
16499 case `"$ac_path_EGREP" --version 2>&1` in
16500 *GNU*)
16501   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
16502 *)
16503   ac_count=0
16504   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16505   while :
16506   do
16507     cat "conftest.in" "conftest.in" >"conftest.tmp"
16508     mv "conftest.tmp" "conftest.in"
16509     cp "conftest.in" "conftest.nl"
16510     echo 'EGREP' >> "conftest.nl"
16511     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
16512     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
16513     ac_count=`expr $ac_count + 1`
16514     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
16515       # Best one so far, save it but keep looking for a better one
16516       ac_cv_path_EGREP="$ac_path_EGREP"
16517       ac_path_EGREP_max=$ac_count
16518     fi
16519     # 10*(2^10) chars as input seems more than enough
16520     test $ac_count -gt 10 && break
16521   done
16522   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
16523 esac
16524
16525
16526     $ac_path_EGREP_found && break 3
16527   done
16528 done
16529
16530 done
16531 IFS=$as_save_IFS
16532
16533
16534 fi
16535
16536 EGREP="$ac_cv_path_EGREP"
16537 if test -z "$EGREP"; then
16538   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16539 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16540    { (exit 1); exit 1; }; }
16541 fi
16542
16543 else
16544   ac_cv_path_EGREP=$EGREP
16545 fi
16546
16547
16548    fi
16549 fi
16550 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
16551 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
16552  EGREP="$ac_cv_path_EGREP"
16553
16554
16555 if test $ac_cv_c_compiler_gnu = yes; then
16556     { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
16557 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
16558 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
16559   echo $ECHO_N "(cached) $ECHO_C" >&6
16560 else
16561     ac_pattern="Autoconf.*'x'"
16562   cat >conftest.$ac_ext <<_ACEOF
16563 /* confdefs.h.  */
16564 _ACEOF
16565 cat confdefs.h >>conftest.$ac_ext
16566 cat >>conftest.$ac_ext <<_ACEOF
16567 /* end confdefs.h.  */
16568 #include <sgtty.h>
16569 Autoconf TIOCGETP
16570 _ACEOF
16571 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16572   $EGREP "$ac_pattern" >/dev/null 2>&1; then
16573   ac_cv_prog_gcc_traditional=yes
16574 else
16575   ac_cv_prog_gcc_traditional=no
16576 fi
16577 rm -f conftest*
16578
16579
16580   if test $ac_cv_prog_gcc_traditional = no; then
16581     cat >conftest.$ac_ext <<_ACEOF
16582 /* confdefs.h.  */
16583 _ACEOF
16584 cat confdefs.h >>conftest.$ac_ext
16585 cat >>conftest.$ac_ext <<_ACEOF
16586 /* end confdefs.h.  */
16587 #include <termio.h>
16588 Autoconf TCGETA
16589 _ACEOF
16590 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16591   $EGREP "$ac_pattern" >/dev/null 2>&1; then
16592   ac_cv_prog_gcc_traditional=yes
16593 fi
16594 rm -f conftest*
16595
16596   fi
16597 fi
16598 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
16599 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
16600   if test $ac_cv_prog_gcc_traditional = yes; then
16601     CC="$CC -traditional"
16602   fi
16603 fi
16604
16605
16606 CXXFLAGS=${CXXFLAGS:=}
16607
16608
16609
16610     ac_ext=cpp
16611 ac_cpp='$CXXCPP $CPPFLAGS'
16612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16615 if test -z "$CXX"; then
16616   if test -n "$CCC"; then
16617     CXX=$CCC
16618   else
16619     if test -n "$ac_tool_prefix"; then
16620   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16621   do
16622     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16623 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16624 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16625 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16626 if test "${ac_cv_prog_CXX+set}" = set; then
16627   echo $ECHO_N "(cached) $ECHO_C" >&6
16628 else
16629   if test -n "$CXX"; then
16630   ac_cv_prog_CXX="$CXX" # Let the user override the test.
16631 else
16632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16633 for as_dir in $PATH
16634 do
16635   IFS=$as_save_IFS
16636   test -z "$as_dir" && as_dir=.
16637   for ac_exec_ext in '' $ac_executable_extensions; do
16638   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16639     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
16640     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16641     break 2
16642   fi
16643 done
16644 done
16645 IFS=$as_save_IFS
16646
16647 fi
16648 fi
16649 CXX=$ac_cv_prog_CXX
16650 if test -n "$CXX"; then
16651   { echo "$as_me:$LINENO: result: $CXX" >&5
16652 echo "${ECHO_T}$CXX" >&6; }
16653 else
16654   { echo "$as_me:$LINENO: result: no" >&5
16655 echo "${ECHO_T}no" >&6; }
16656 fi
16657
16658
16659     test -n "$CXX" && break
16660   done
16661 fi
16662 if test -z "$CXX"; then
16663   ac_ct_CXX=$CXX
16664   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16665 do
16666   # Extract the first word of "$ac_prog", so it can be a program name with args.
16667 set dummy $ac_prog; ac_word=$2
16668 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16669 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16670 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
16671   echo $ECHO_N "(cached) $ECHO_C" >&6
16672 else
16673   if test -n "$ac_ct_CXX"; then
16674   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
16675 else
16676 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16677 for as_dir in $PATH
16678 do
16679   IFS=$as_save_IFS
16680   test -z "$as_dir" && as_dir=.
16681   for ac_exec_ext in '' $ac_executable_extensions; do
16682   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16683     ac_cv_prog_ac_ct_CXX="$ac_prog"
16684     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16685     break 2
16686   fi
16687 done
16688 done
16689 IFS=$as_save_IFS
16690
16691 fi
16692 fi
16693 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
16694 if test -n "$ac_ct_CXX"; then
16695   { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
16696 echo "${ECHO_T}$ac_ct_CXX" >&6; }
16697 else
16698   { echo "$as_me:$LINENO: result: no" >&5
16699 echo "${ECHO_T}no" >&6; }
16700 fi
16701
16702
16703   test -n "$ac_ct_CXX" && break
16704 done
16705
16706   if test "x$ac_ct_CXX" = x; then
16707     CXX="g++"
16708   else
16709     case $cross_compiling:$ac_tool_warned in
16710 yes:)
16711 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16712 whose name does not start with the host triplet.  If you think this
16713 configuration is useful to you, please write to autoconf@gnu.org." >&5
16714 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16715 whose name does not start with the host triplet.  If you think this
16716 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16717 ac_tool_warned=yes ;;
16718 esac
16719     CXX=$ac_ct_CXX
16720   fi
16721 fi
16722
16723   fi
16724 fi
16725 # Provide some information about the compiler.
16726 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
16727 ac_compiler=`set X $ac_compile; echo $2`
16728 { (ac_try="$ac_compiler --version >&5"
16729 case "(($ac_try" in
16730   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16731   *) ac_try_echo=$ac_try;;
16732 esac
16733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16734   (eval "$ac_compiler --version >&5") 2>&5
16735   ac_status=$?
16736   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16737   (exit $ac_status); }
16738 { (ac_try="$ac_compiler -v >&5"
16739 case "(($ac_try" in
16740   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16741   *) ac_try_echo=$ac_try;;
16742 esac
16743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16744   (eval "$ac_compiler -v >&5") 2>&5
16745   ac_status=$?
16746   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16747   (exit $ac_status); }
16748 { (ac_try="$ac_compiler -V >&5"
16749 case "(($ac_try" in
16750   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16751   *) ac_try_echo=$ac_try;;
16752 esac
16753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16754   (eval "$ac_compiler -V >&5") 2>&5
16755   ac_status=$?
16756   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16757   (exit $ac_status); }
16758
16759 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
16760 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
16761 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
16762   echo $ECHO_N "(cached) $ECHO_C" >&6
16763 else
16764   cat >conftest.$ac_ext <<_ACEOF
16765 /* confdefs.h.  */
16766 _ACEOF
16767 cat confdefs.h >>conftest.$ac_ext
16768 cat >>conftest.$ac_ext <<_ACEOF
16769 /* end confdefs.h.  */
16770
16771 int
16772 main ()
16773 {
16774 #ifndef __GNUC__
16775        choke me
16776 #endif
16777
16778   ;
16779   return 0;
16780 }
16781 _ACEOF
16782 rm -f conftest.$ac_objext
16783 if { (ac_try="$ac_compile"
16784 case "(($ac_try" in
16785   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16786   *) ac_try_echo=$ac_try;;
16787 esac
16788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16789   (eval "$ac_compile") 2>conftest.er1
16790   ac_status=$?
16791   grep -v '^ *+' conftest.er1 >conftest.err
16792   rm -f conftest.er1
16793   cat conftest.err >&5
16794   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16795   (exit $ac_status); } && {
16796          test -z "$ac_cxx_werror_flag" ||
16797          test ! -s conftest.err
16798        } && test -s conftest.$ac_objext; then
16799   ac_compiler_gnu=yes
16800 else
16801   echo "$as_me: failed program was:" >&5
16802 sed 's/^/| /' conftest.$ac_ext >&5
16803
16804         ac_compiler_gnu=no
16805 fi
16806
16807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16808 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
16809
16810 fi
16811 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
16812 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
16813 GXX=`test $ac_compiler_gnu = yes && echo yes`
16814 ac_test_CXXFLAGS=${CXXFLAGS+set}
16815 ac_save_CXXFLAGS=$CXXFLAGS
16816 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
16817 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
16818 if test "${ac_cv_prog_cxx_g+set}" = set; then
16819   echo $ECHO_N "(cached) $ECHO_C" >&6
16820 else
16821   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
16822    ac_cxx_werror_flag=yes
16823    ac_cv_prog_cxx_g=no
16824    CXXFLAGS="-g"
16825    cat >conftest.$ac_ext <<_ACEOF
16826 /* confdefs.h.  */
16827 _ACEOF
16828 cat confdefs.h >>conftest.$ac_ext
16829 cat >>conftest.$ac_ext <<_ACEOF
16830 /* end confdefs.h.  */
16831
16832 int
16833 main ()
16834 {
16835
16836   ;
16837   return 0;
16838 }
16839 _ACEOF
16840 rm -f conftest.$ac_objext
16841 if { (ac_try="$ac_compile"
16842 case "(($ac_try" in
16843   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16844   *) ac_try_echo=$ac_try;;
16845 esac
16846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16847   (eval "$ac_compile") 2>conftest.er1
16848   ac_status=$?
16849   grep -v '^ *+' conftest.er1 >conftest.err
16850   rm -f conftest.er1
16851   cat conftest.err >&5
16852   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16853   (exit $ac_status); } && {
16854          test -z "$ac_cxx_werror_flag" ||
16855          test ! -s conftest.err
16856        } && test -s conftest.$ac_objext; then
16857   ac_cv_prog_cxx_g=yes
16858 else
16859   echo "$as_me: failed program was:" >&5
16860 sed 's/^/| /' conftest.$ac_ext >&5
16861
16862         CXXFLAGS=""
16863       cat >conftest.$ac_ext <<_ACEOF
16864 /* confdefs.h.  */
16865 _ACEOF
16866 cat confdefs.h >>conftest.$ac_ext
16867 cat >>conftest.$ac_ext <<_ACEOF
16868 /* end confdefs.h.  */
16869
16870 int
16871 main ()
16872 {
16873
16874   ;
16875   return 0;
16876 }
16877 _ACEOF
16878 rm -f conftest.$ac_objext
16879 if { (ac_try="$ac_compile"
16880 case "(($ac_try" in
16881   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16882   *) ac_try_echo=$ac_try;;
16883 esac
16884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16885   (eval "$ac_compile") 2>conftest.er1
16886   ac_status=$?
16887   grep -v '^ *+' conftest.er1 >conftest.err
16888   rm -f conftest.er1
16889   cat conftest.err >&5
16890   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16891   (exit $ac_status); } && {
16892          test -z "$ac_cxx_werror_flag" ||
16893          test ! -s conftest.err
16894        } && test -s conftest.$ac_objext; then
16895   :
16896 else
16897   echo "$as_me: failed program was:" >&5
16898 sed 's/^/| /' conftest.$ac_ext >&5
16899
16900         ac_cxx_werror_flag=$ac_save_cxx_werror_flag
16901          CXXFLAGS="-g"
16902          cat >conftest.$ac_ext <<_ACEOF
16903 /* confdefs.h.  */
16904 _ACEOF
16905 cat confdefs.h >>conftest.$ac_ext
16906 cat >>conftest.$ac_ext <<_ACEOF
16907 /* end confdefs.h.  */
16908
16909 int
16910 main ()
16911 {
16912
16913   ;
16914   return 0;
16915 }
16916 _ACEOF
16917 rm -f conftest.$ac_objext
16918 if { (ac_try="$ac_compile"
16919 case "(($ac_try" in
16920   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16921   *) ac_try_echo=$ac_try;;
16922 esac
16923 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16924   (eval "$ac_compile") 2>conftest.er1
16925   ac_status=$?
16926   grep -v '^ *+' conftest.er1 >conftest.err
16927   rm -f conftest.er1
16928   cat conftest.err >&5
16929   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16930   (exit $ac_status); } && {
16931          test -z "$ac_cxx_werror_flag" ||
16932          test ! -s conftest.err
16933        } && test -s conftest.$ac_objext; then
16934   ac_cv_prog_cxx_g=yes
16935 else
16936   echo "$as_me: failed program was:" >&5
16937 sed 's/^/| /' conftest.$ac_ext >&5
16938
16939
16940 fi
16941
16942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16943 fi
16944
16945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16946 fi
16947
16948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16949    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
16950 fi
16951 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
16952 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
16953 if test "$ac_test_CXXFLAGS" = set; then
16954   CXXFLAGS=$ac_save_CXXFLAGS
16955 elif test $ac_cv_prog_cxx_g = yes; then
16956   if test "$GXX" = yes; then
16957     CXXFLAGS="-g -O2"
16958   else
16959     CXXFLAGS="-g"
16960   fi
16961 else
16962   if test "$GXX" = yes; then
16963     CXXFLAGS="-O2"
16964   else
16965     CXXFLAGS=
16966   fi
16967 fi
16968 ac_ext=c
16969 ac_cpp='$CPP $CPPFLAGS'
16970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16973
16974
16975
16976
16977     ac_ext=cpp
16978 ac_cpp='$CXXCPP $CPPFLAGS'
16979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16982
16983     { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
16984 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
16985 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
16986   echo $ECHO_N "(cached) $ECHO_C" >&6
16987 else
16988   cat >conftest.$ac_ext <<_ACEOF
16989 /* confdefs.h.  */
16990 _ACEOF
16991 cat confdefs.h >>conftest.$ac_ext
16992 cat >>conftest.$ac_ext <<_ACEOF
16993 /* end confdefs.h.  */
16994
16995 int
16996 main ()
16997 {
16998
16999              #ifndef __INTEL_COMPILER
17000                 choke me
17001              #endif
17002
17003   ;
17004   return 0;
17005 }
17006 _ACEOF
17007 rm -f conftest.$ac_objext
17008 if { (ac_try="$ac_compile"
17009 case "(($ac_try" in
17010   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17011   *) ac_try_echo=$ac_try;;
17012 esac
17013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17014   (eval "$ac_compile") 2>conftest.er1
17015   ac_status=$?
17016   grep -v '^ *+' conftest.er1 >conftest.err
17017   rm -f conftest.er1
17018   cat conftest.err >&5
17019   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17020   (exit $ac_status); } && {
17021          test -z "$ac_cxx_werror_flag" ||
17022          test ! -s conftest.err
17023        } && test -s conftest.$ac_objext; then
17024   bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
17025 else
17026   echo "$as_me: failed program was:" >&5
17027 sed 's/^/| /' conftest.$ac_ext >&5
17028
17029         bakefile_cv_cxx_compiler___INTEL_COMPILER=no
17030
17031 fi
17032
17033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17034
17035
17036 fi
17037 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
17038 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
17039     if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
17040         :; INTELCXX=yes
17041     else
17042         :;
17043     fi
17044     ac_ext=c
17045 ac_cpp='$CPP $CPPFLAGS'
17046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17049
17050
17051
17052
17053         if test "$INTELCXX" = "yes"; then
17054
17055
17056     ac_ext=cpp
17057 ac_cpp='$CXXCPP $CPPFLAGS'
17058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17061
17062     { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v8 or later" >&5
17063 echo $ECHO_N "checking whether we are using Intel C++ compiler v8 or later... $ECHO_C" >&6; }
17064 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+set}" = set; then
17065   echo $ECHO_N "(cached) $ECHO_C" >&6
17066 else
17067   cat >conftest.$ac_ext <<_ACEOF
17068 /* confdefs.h.  */
17069 _ACEOF
17070 cat confdefs.h >>conftest.$ac_ext
17071 cat >>conftest.$ac_ext <<_ACEOF
17072 /* end confdefs.h.  */
17073
17074 int
17075 main ()
17076 {
17077
17078              #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
17079                 choke me
17080              #endif
17081
17082   ;
17083   return 0;
17084 }
17085 _ACEOF
17086 rm -f conftest.$ac_objext
17087 if { (ac_try="$ac_compile"
17088 case "(($ac_try" in
17089   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17090   *) ac_try_echo=$ac_try;;
17091 esac
17092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17093   (eval "$ac_compile") 2>conftest.er1
17094   ac_status=$?
17095   grep -v '^ *+' conftest.er1 >conftest.err
17096   rm -f conftest.er1
17097   cat conftest.err >&5
17098   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17099   (exit $ac_status); } && {
17100          test -z "$ac_cxx_werror_flag" ||
17101          test ! -s conftest.err
17102        } && test -s conftest.$ac_objext; then
17103   bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=yes
17104 else
17105   echo "$as_me: failed program was:" >&5
17106 sed 's/^/| /' conftest.$ac_ext >&5
17107
17108         bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=no
17109
17110 fi
17111
17112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17113
17114
17115 fi
17116 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&5
17117 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&6; }
17118     if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
17119         :; INTELCXX8=yes
17120     else
17121         :;
17122     fi
17123     ac_ext=c
17124 ac_cpp='$CPP $CPPFLAGS'
17125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17128
17129
17130
17131
17132
17133     ac_ext=cpp
17134 ac_cpp='$CXXCPP $CPPFLAGS'
17135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17138
17139     { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v10 or later" >&5
17140 echo $ECHO_N "checking whether we are using Intel C++ compiler v10 or later... $ECHO_C" >&6; }
17141 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
17142   echo $ECHO_N "(cached) $ECHO_C" >&6
17143 else
17144   cat >conftest.$ac_ext <<_ACEOF
17145 /* confdefs.h.  */
17146 _ACEOF
17147 cat confdefs.h >>conftest.$ac_ext
17148 cat >>conftest.$ac_ext <<_ACEOF
17149 /* end confdefs.h.  */
17150
17151 int
17152 main ()
17153 {
17154
17155              #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
17156                 choke me
17157              #endif
17158
17159   ;
17160   return 0;
17161 }
17162 _ACEOF
17163 rm -f conftest.$ac_objext
17164 if { (ac_try="$ac_compile"
17165 case "(($ac_try" in
17166   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17167   *) ac_try_echo=$ac_try;;
17168 esac
17169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17170   (eval "$ac_compile") 2>conftest.er1
17171   ac_status=$?
17172   grep -v '^ *+' conftest.er1 >conftest.err
17173   rm -f conftest.er1
17174   cat conftest.err >&5
17175   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17176   (exit $ac_status); } && {
17177          test -z "$ac_cxx_werror_flag" ||
17178          test ! -s conftest.err
17179        } && test -s conftest.$ac_objext; then
17180   bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=yes
17181 else
17182   echo "$as_me: failed program was:" >&5
17183 sed 's/^/| /' conftest.$ac_ext >&5
17184
17185         bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=no
17186
17187 fi
17188
17189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17190
17191
17192 fi
17193 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&5
17194 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&6; }
17195     if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
17196         :; INTELCXX10=yes
17197     else
17198         :;
17199     fi
17200     ac_ext=c
17201 ac_cpp='$CPP $CPPFLAGS'
17202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17205
17206
17207
17208     fi
17209
17210         if test "x$GCXX" != "xyes"; then
17211         if test "xCXX" = "xC"; then
17212             { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
17213 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
17214 if test "${bakefile_cv_c_exto+set}" = set; then
17215   echo $ECHO_N "(cached) $ECHO_C" >&6
17216 else
17217   cat >conftest.$ac_ext <<_ACEOF
17218 /* confdefs.h.  */
17219 _ACEOF
17220 cat confdefs.h >>conftest.$ac_ext
17221 cat >>conftest.$ac_ext <<_ACEOF
17222 /* end confdefs.h.  */
17223
17224 int
17225 main ()
17226 {
17227
17228   ;
17229   return 0;
17230 }
17231 _ACEOF
17232 rm -f conftest.$ac_objext conftest.$ac_ext.o
17233 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17234   (eval $ac_compile) 2>&5
17235   ac_status=$?
17236   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17237   (exit $ac_status); }; then
17238   for ac_file in `(ls conftest.* 2>/dev/null)`; do
17239     case $ac_file in
17240         conftest.$ac_ext.o)
17241             bakefile_cv_c_exto="-ext o"
17242             ;;
17243         *)
17244             ;;
17245     esac
17246 done
17247 else
17248   { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
17249 See \`config.log' for more details." >&5
17250 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
17251 See \`config.log' for more details." >&2;}
17252    { (exit 1); exit 1; }; }
17253
17254 fi
17255
17256 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
17257
17258 fi
17259 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
17260 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
17261 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17262     if test "c" = "c"; then
17263         CFLAGS="$bakefile_cv_c_exto $CFLAGS"
17264     fi
17265     if test "c" = "cxx"; then
17266         CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
17267     fi
17268 fi
17269
17270             if test "x$bakefile_cv_c_exto" '!=' "x"; then
17271                 unset ac_cv_prog_cc_g
17272                 ac_test_CFLAGS=${CFLAGS+set}
17273 ac_save_CFLAGS=$CFLAGS
17274 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
17275 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
17276 if test "${ac_cv_prog_cc_g+set}" = set; then
17277   echo $ECHO_N "(cached) $ECHO_C" >&6
17278 else
17279   ac_save_c_werror_flag=$ac_c_werror_flag
17280    ac_c_werror_flag=yes
17281    ac_cv_prog_cc_g=no
17282    CFLAGS="-g"
17283    cat >conftest.$ac_ext <<_ACEOF
17284 /* confdefs.h.  */
17285 _ACEOF
17286 cat confdefs.h >>conftest.$ac_ext
17287 cat >>conftest.$ac_ext <<_ACEOF
17288 /* end confdefs.h.  */
17289
17290 int
17291 main ()
17292 {
17293
17294   ;
17295   return 0;
17296 }
17297 _ACEOF
17298 rm -f conftest.$ac_objext
17299 if { (ac_try="$ac_compile"
17300 case "(($ac_try" in
17301   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17302   *) ac_try_echo=$ac_try;;
17303 esac
17304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17305   (eval "$ac_compile") 2>conftest.er1
17306   ac_status=$?
17307   grep -v '^ *+' conftest.er1 >conftest.err
17308   rm -f conftest.er1
17309   cat conftest.err >&5
17310   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17311   (exit $ac_status); } && {
17312          test -z "$ac_c_werror_flag" ||
17313          test ! -s conftest.err
17314        } && test -s conftest.$ac_objext; then
17315   ac_cv_prog_cc_g=yes
17316 else
17317   echo "$as_me: failed program was:" >&5
17318 sed 's/^/| /' conftest.$ac_ext >&5
17319
17320         CFLAGS=""
17321       cat >conftest.$ac_ext <<_ACEOF
17322 /* confdefs.h.  */
17323 _ACEOF
17324 cat confdefs.h >>conftest.$ac_ext
17325 cat >>conftest.$ac_ext <<_ACEOF
17326 /* end confdefs.h.  */
17327
17328 int
17329 main ()
17330 {
17331
17332   ;
17333   return 0;
17334 }
17335 _ACEOF
17336 rm -f conftest.$ac_objext
17337 if { (ac_try="$ac_compile"
17338 case "(($ac_try" in
17339   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17340   *) ac_try_echo=$ac_try;;
17341 esac
17342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17343   (eval "$ac_compile") 2>conftest.er1
17344   ac_status=$?
17345   grep -v '^ *+' conftest.er1 >conftest.err
17346   rm -f conftest.er1
17347   cat conftest.err >&5
17348   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17349   (exit $ac_status); } && {
17350          test -z "$ac_c_werror_flag" ||
17351          test ! -s conftest.err
17352        } && test -s conftest.$ac_objext; then
17353   :
17354 else
17355   echo "$as_me: failed program was:" >&5
17356 sed 's/^/| /' conftest.$ac_ext >&5
17357
17358         ac_c_werror_flag=$ac_save_c_werror_flag
17359          CFLAGS="-g"
17360          cat >conftest.$ac_ext <<_ACEOF
17361 /* confdefs.h.  */
17362 _ACEOF
17363 cat confdefs.h >>conftest.$ac_ext
17364 cat >>conftest.$ac_ext <<_ACEOF
17365 /* end confdefs.h.  */
17366
17367 int
17368 main ()
17369 {
17370
17371   ;
17372   return 0;
17373 }
17374 _ACEOF
17375 rm -f conftest.$ac_objext
17376 if { (ac_try="$ac_compile"
17377 case "(($ac_try" in
17378   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17379   *) ac_try_echo=$ac_try;;
17380 esac
17381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17382   (eval "$ac_compile") 2>conftest.er1
17383   ac_status=$?
17384   grep -v '^ *+' conftest.er1 >conftest.err
17385   rm -f conftest.er1
17386   cat conftest.err >&5
17387   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17388   (exit $ac_status); } && {
17389          test -z "$ac_c_werror_flag" ||
17390          test ! -s conftest.err
17391        } && test -s conftest.$ac_objext; then
17392   ac_cv_prog_cc_g=yes
17393 else
17394   echo "$as_me: failed program was:" >&5
17395 sed 's/^/| /' conftest.$ac_ext >&5
17396
17397
17398 fi
17399
17400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17401 fi
17402
17403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17404 fi
17405
17406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17407    ac_c_werror_flag=$ac_save_c_werror_flag
17408 fi
17409 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
17410 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
17411 if test "$ac_test_CFLAGS" = set; then
17412   CFLAGS=$ac_save_CFLAGS
17413 elif test $ac_cv_prog_cc_g = yes; then
17414   if test "$GCC" = yes; then
17415     CFLAGS="-g -O2"
17416   else
17417     CFLAGS="-g"
17418   fi
17419 else
17420   if test "$GCC" = yes; then
17421     CFLAGS="-O2"
17422   else
17423     CFLAGS=
17424   fi
17425 fi
17426             fi
17427         fi
17428
17429                         case `uname -s` in
17430             AIX*)
17431
17432
17433     ac_ext=cpp
17434 ac_cpp='$CXXCPP $CPPFLAGS'
17435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17438
17439     { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17440 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17441 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17442   echo $ECHO_N "(cached) $ECHO_C" >&6
17443 else
17444   cat >conftest.$ac_ext <<_ACEOF
17445 /* confdefs.h.  */
17446 _ACEOF
17447 cat confdefs.h >>conftest.$ac_ext
17448 cat >>conftest.$ac_ext <<_ACEOF
17449 /* end confdefs.h.  */
17450
17451 int
17452 main ()
17453 {
17454
17455              #ifndef __xlC__
17456                 choke me
17457              #endif
17458
17459   ;
17460   return 0;
17461 }
17462 _ACEOF
17463 rm -f conftest.$ac_objext
17464 if { (ac_try="$ac_compile"
17465 case "(($ac_try" in
17466   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17467   *) ac_try_echo=$ac_try;;
17468 esac
17469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17470   (eval "$ac_compile") 2>conftest.er1
17471   ac_status=$?
17472   grep -v '^ *+' conftest.er1 >conftest.err
17473   rm -f conftest.er1
17474   cat conftest.err >&5
17475   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17476   (exit $ac_status); } && {
17477          test -z "$ac_cxx_werror_flag" ||
17478          test ! -s conftest.err
17479        } && test -s conftest.$ac_objext; then
17480   bakefile_cv_cxx_compiler___xlC__=yes
17481 else
17482   echo "$as_me: failed program was:" >&5
17483 sed 's/^/| /' conftest.$ac_ext >&5
17484
17485         bakefile_cv_cxx_compiler___xlC__=no
17486
17487 fi
17488
17489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17490
17491
17492 fi
17493 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17494 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17495     if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17496         :; XLCXX=yes
17497     else
17498         :;
17499     fi
17500     ac_ext=c
17501 ac_cpp='$CPP $CPPFLAGS'
17502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17505
17506
17507
17508                 ;;
17509
17510             Darwin)
17511
17512
17513     ac_ext=cpp
17514 ac_cpp='$CXXCPP $CPPFLAGS'
17515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17518
17519     { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
17520 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
17521 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
17522   echo $ECHO_N "(cached) $ECHO_C" >&6
17523 else
17524   cat >conftest.$ac_ext <<_ACEOF
17525 /* confdefs.h.  */
17526 _ACEOF
17527 cat confdefs.h >>conftest.$ac_ext
17528 cat >>conftest.$ac_ext <<_ACEOF
17529 /* end confdefs.h.  */
17530
17531 int
17532 main ()
17533 {
17534
17535              #ifndef __MWERKS__
17536                 choke me
17537              #endif
17538
17539   ;
17540   return 0;
17541 }
17542 _ACEOF
17543 rm -f conftest.$ac_objext
17544 if { (ac_try="$ac_compile"
17545 case "(($ac_try" in
17546   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17547   *) ac_try_echo=$ac_try;;
17548 esac
17549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17550   (eval "$ac_compile") 2>conftest.er1
17551   ac_status=$?
17552   grep -v '^ *+' conftest.er1 >conftest.err
17553   rm -f conftest.er1
17554   cat conftest.err >&5
17555   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17556   (exit $ac_status); } && {
17557          test -z "$ac_cxx_werror_flag" ||
17558          test ! -s conftest.err
17559        } && test -s conftest.$ac_objext; then
17560   bakefile_cv_cxx_compiler___MWERKS__=yes
17561 else
17562   echo "$as_me: failed program was:" >&5
17563 sed 's/^/| /' conftest.$ac_ext >&5
17564
17565         bakefile_cv_cxx_compiler___MWERKS__=no
17566
17567 fi
17568
17569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17570
17571
17572 fi
17573 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
17574 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
17575     if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
17576         :; MWCXX=yes
17577     else
17578         :;
17579     fi
17580     ac_ext=c
17581 ac_cpp='$CPP $CPPFLAGS'
17582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17585
17586
17587
17588                 if test "$MWCXX" != "yes"; then
17589
17590
17591     ac_ext=cpp
17592 ac_cpp='$CXXCPP $CPPFLAGS'
17593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17596
17597     { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17598 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17599 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17600   echo $ECHO_N "(cached) $ECHO_C" >&6
17601 else
17602   cat >conftest.$ac_ext <<_ACEOF
17603 /* confdefs.h.  */
17604 _ACEOF
17605 cat confdefs.h >>conftest.$ac_ext
17606 cat >>conftest.$ac_ext <<_ACEOF
17607 /* end confdefs.h.  */
17608
17609 int
17610 main ()
17611 {
17612
17613              #ifndef __xlC__
17614                 choke me
17615              #endif
17616
17617   ;
17618   return 0;
17619 }
17620 _ACEOF
17621 rm -f conftest.$ac_objext
17622 if { (ac_try="$ac_compile"
17623 case "(($ac_try" in
17624   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17625   *) ac_try_echo=$ac_try;;
17626 esac
17627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17628   (eval "$ac_compile") 2>conftest.er1
17629   ac_status=$?
17630   grep -v '^ *+' conftest.er1 >conftest.err
17631   rm -f conftest.er1
17632   cat conftest.err >&5
17633   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17634   (exit $ac_status); } && {
17635          test -z "$ac_cxx_werror_flag" ||
17636          test ! -s conftest.err
17637        } && test -s conftest.$ac_objext; then
17638   bakefile_cv_cxx_compiler___xlC__=yes
17639 else
17640   echo "$as_me: failed program was:" >&5
17641 sed 's/^/| /' conftest.$ac_ext >&5
17642
17643         bakefile_cv_cxx_compiler___xlC__=no
17644
17645 fi
17646
17647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17648
17649
17650 fi
17651 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17652 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17653     if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17654         :; XLCXX=yes
17655     else
17656         :;
17657     fi
17658     ac_ext=c
17659 ac_cpp='$CPP $CPPFLAGS'
17660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17663
17664
17665
17666                 fi
17667                 ;;
17668
17669             IRIX*)
17670
17671
17672     ac_ext=cpp
17673 ac_cpp='$CXXCPP $CPPFLAGS'
17674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17677
17678     { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
17679 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
17680 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
17681   echo $ECHO_N "(cached) $ECHO_C" >&6
17682 else
17683   cat >conftest.$ac_ext <<_ACEOF
17684 /* confdefs.h.  */
17685 _ACEOF
17686 cat confdefs.h >>conftest.$ac_ext
17687 cat >>conftest.$ac_ext <<_ACEOF
17688 /* end confdefs.h.  */
17689
17690 int
17691 main ()
17692 {
17693
17694              #ifndef _SGI_COMPILER_VERSION
17695                 choke me
17696              #endif
17697
17698   ;
17699   return 0;
17700 }
17701 _ACEOF
17702 rm -f conftest.$ac_objext
17703 if { (ac_try="$ac_compile"
17704 case "(($ac_try" in
17705   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17706   *) ac_try_echo=$ac_try;;
17707 esac
17708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17709   (eval "$ac_compile") 2>conftest.er1
17710   ac_status=$?
17711   grep -v '^ *+' conftest.er1 >conftest.err
17712   rm -f conftest.er1
17713   cat conftest.err >&5
17714   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17715   (exit $ac_status); } && {
17716          test -z "$ac_cxx_werror_flag" ||
17717          test ! -s conftest.err
17718        } && test -s conftest.$ac_objext; then
17719   bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
17720 else
17721   echo "$as_me: failed program was:" >&5
17722 sed 's/^/| /' conftest.$ac_ext >&5
17723
17724         bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
17725
17726 fi
17727
17728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17729
17730
17731 fi
17732 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
17733 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
17734     if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17735         :; SGICXX=yes
17736     else
17737         :;
17738     fi
17739     ac_ext=c
17740 ac_cpp='$CPP $CPPFLAGS'
17741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17744
17745
17746
17747                 ;;
17748
17749             Linux*)
17750                                                 if test "$INTELCXX" != "yes"; then
17751
17752
17753     ac_ext=cpp
17754 ac_cpp='$CXXCPP $CPPFLAGS'
17755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17758
17759     { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17760 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17761 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17762   echo $ECHO_N "(cached) $ECHO_C" >&6
17763 else
17764   cat >conftest.$ac_ext <<_ACEOF
17765 /* confdefs.h.  */
17766 _ACEOF
17767 cat confdefs.h >>conftest.$ac_ext
17768 cat >>conftest.$ac_ext <<_ACEOF
17769 /* end confdefs.h.  */
17770
17771 int
17772 main ()
17773 {
17774
17775              #ifndef __SUNPRO_CC
17776                 choke me
17777              #endif
17778
17779   ;
17780   return 0;
17781 }
17782 _ACEOF
17783 rm -f conftest.$ac_objext
17784 if { (ac_try="$ac_compile"
17785 case "(($ac_try" in
17786   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17787   *) ac_try_echo=$ac_try;;
17788 esac
17789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17790   (eval "$ac_compile") 2>conftest.er1
17791   ac_status=$?
17792   grep -v '^ *+' conftest.er1 >conftest.err
17793   rm -f conftest.er1
17794   cat conftest.err >&5
17795   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17796   (exit $ac_status); } && {
17797          test -z "$ac_cxx_werror_flag" ||
17798          test ! -s conftest.err
17799        } && test -s conftest.$ac_objext; then
17800   bakefile_cv_cxx_compiler___SUNPRO_CC=yes
17801 else
17802   echo "$as_me: failed program was:" >&5
17803 sed 's/^/| /' conftest.$ac_ext >&5
17804
17805         bakefile_cv_cxx_compiler___SUNPRO_CC=no
17806
17807 fi
17808
17809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17810
17811
17812 fi
17813 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17814 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17815     if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17816         :; SUNCXX=yes
17817     else
17818         :;
17819     fi
17820     ac_ext=c
17821 ac_cpp='$CPP $CPPFLAGS'
17822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17825
17826
17827
17828                 fi
17829                 ;;
17830
17831             HP-UX*)
17832
17833
17834     ac_ext=cpp
17835 ac_cpp='$CXXCPP $CPPFLAGS'
17836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17839
17840     { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
17841 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
17842 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
17843   echo $ECHO_N "(cached) $ECHO_C" >&6
17844 else
17845   cat >conftest.$ac_ext <<_ACEOF
17846 /* confdefs.h.  */
17847 _ACEOF
17848 cat confdefs.h >>conftest.$ac_ext
17849 cat >>conftest.$ac_ext <<_ACEOF
17850 /* end confdefs.h.  */
17851
17852 int
17853 main ()
17854 {
17855
17856              #ifndef __HP_aCC
17857                 choke me
17858              #endif
17859
17860   ;
17861   return 0;
17862 }
17863 _ACEOF
17864 rm -f conftest.$ac_objext
17865 if { (ac_try="$ac_compile"
17866 case "(($ac_try" in
17867   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17868   *) ac_try_echo=$ac_try;;
17869 esac
17870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17871   (eval "$ac_compile") 2>conftest.er1
17872   ac_status=$?
17873   grep -v '^ *+' conftest.er1 >conftest.err
17874   rm -f conftest.er1
17875   cat conftest.err >&5
17876   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17877   (exit $ac_status); } && {
17878          test -z "$ac_cxx_werror_flag" ||
17879          test ! -s conftest.err
17880        } && test -s conftest.$ac_objext; then
17881   bakefile_cv_cxx_compiler___HP_aCC=yes
17882 else
17883   echo "$as_me: failed program was:" >&5
17884 sed 's/^/| /' conftest.$ac_ext >&5
17885
17886         bakefile_cv_cxx_compiler___HP_aCC=no
17887
17888 fi
17889
17890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17891
17892
17893 fi
17894 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
17895 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
17896     if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
17897         :; HPCXX=yes
17898     else
17899         :;
17900     fi
17901     ac_ext=c
17902 ac_cpp='$CPP $CPPFLAGS'
17903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17906
17907
17908
17909                 ;;
17910
17911             OSF1)
17912
17913
17914     ac_ext=cpp
17915 ac_cpp='$CXXCPP $CPPFLAGS'
17916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17919
17920     { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
17921 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
17922 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
17923   echo $ECHO_N "(cached) $ECHO_C" >&6
17924 else
17925   cat >conftest.$ac_ext <<_ACEOF
17926 /* confdefs.h.  */
17927 _ACEOF
17928 cat confdefs.h >>conftest.$ac_ext
17929 cat >>conftest.$ac_ext <<_ACEOF
17930 /* end confdefs.h.  */
17931
17932 int
17933 main ()
17934 {
17935
17936              #ifndef __DECCXX
17937                 choke me
17938              #endif
17939
17940   ;
17941   return 0;
17942 }
17943 _ACEOF
17944 rm -f conftest.$ac_objext
17945 if { (ac_try="$ac_compile"
17946 case "(($ac_try" in
17947   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17948   *) ac_try_echo=$ac_try;;
17949 esac
17950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17951   (eval "$ac_compile") 2>conftest.er1
17952   ac_status=$?
17953   grep -v '^ *+' conftest.er1 >conftest.err
17954   rm -f conftest.er1
17955   cat conftest.err >&5
17956   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17957   (exit $ac_status); } && {
17958          test -z "$ac_cxx_werror_flag" ||
17959          test ! -s conftest.err
17960        } && test -s conftest.$ac_objext; then
17961   bakefile_cv_cxx_compiler___DECCXX=yes
17962 else
17963   echo "$as_me: failed program was:" >&5
17964 sed 's/^/| /' conftest.$ac_ext >&5
17965
17966         bakefile_cv_cxx_compiler___DECCXX=no
17967
17968 fi
17969
17970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17971
17972
17973 fi
17974 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
17975 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
17976     if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
17977         :; COMPAQCXX=yes
17978     else
17979         :;
17980     fi
17981     ac_ext=c
17982 ac_cpp='$CPP $CPPFLAGS'
17983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17986
17987
17988
17989                 ;;
17990
17991             SunOS)
17992
17993
17994     ac_ext=cpp
17995 ac_cpp='$CXXCPP $CPPFLAGS'
17996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17999
18000     { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
18001 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
18002 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
18003   echo $ECHO_N "(cached) $ECHO_C" >&6
18004 else
18005   cat >conftest.$ac_ext <<_ACEOF
18006 /* confdefs.h.  */
18007 _ACEOF
18008 cat confdefs.h >>conftest.$ac_ext
18009 cat >>conftest.$ac_ext <<_ACEOF
18010 /* end confdefs.h.  */
18011
18012 int
18013 main ()
18014 {
18015
18016              #ifndef __SUNPRO_CC
18017                 choke me
18018              #endif
18019
18020   ;
18021   return 0;
18022 }
18023 _ACEOF
18024 rm -f conftest.$ac_objext
18025 if { (ac_try="$ac_compile"
18026 case "(($ac_try" in
18027   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18028   *) ac_try_echo=$ac_try;;
18029 esac
18030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18031   (eval "$ac_compile") 2>conftest.er1
18032   ac_status=$?
18033   grep -v '^ *+' conftest.er1 >conftest.err
18034   rm -f conftest.er1
18035   cat conftest.err >&5
18036   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18037   (exit $ac_status); } && {
18038          test -z "$ac_cxx_werror_flag" ||
18039          test ! -s conftest.err
18040        } && test -s conftest.$ac_objext; then
18041   bakefile_cv_cxx_compiler___SUNPRO_CC=yes
18042 else
18043   echo "$as_me: failed program was:" >&5
18044 sed 's/^/| /' conftest.$ac_ext >&5
18045
18046         bakefile_cv_cxx_compiler___SUNPRO_CC=no
18047
18048 fi
18049
18050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18051
18052
18053 fi
18054 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18055 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
18056     if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
18057         :; SUNCXX=yes
18058     else
18059         :;
18060     fi
18061     ac_ext=c
18062 ac_cpp='$CPP $CPPFLAGS'
18063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18066
18067
18068
18069                 ;;
18070         esac
18071     fi
18072
18073
18074
18075 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
18076     { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
18077 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
18078    { (exit 1); exit 1; }; }
18079 fi
18080
18081 if test "x$SUNCXX" != xyes; then
18082     if test -n "$ac_tool_prefix"; then
18083   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
18084 set dummy ${ac_tool_prefix}ar; ac_word=$2
18085 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18086 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18087 if test "${ac_cv_prog_AR+set}" = set; then
18088   echo $ECHO_N "(cached) $ECHO_C" >&6
18089 else
18090   if test -n "$AR"; then
18091   ac_cv_prog_AR="$AR" # Let the user override the test.
18092 else
18093 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18094 for as_dir in $PATH
18095 do
18096   IFS=$as_save_IFS
18097   test -z "$as_dir" && as_dir=.
18098   for ac_exec_ext in '' $ac_executable_extensions; do
18099   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18100     ac_cv_prog_AR="${ac_tool_prefix}ar"
18101     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18102     break 2
18103   fi
18104 done
18105 done
18106 IFS=$as_save_IFS
18107
18108 fi
18109 fi
18110 AR=$ac_cv_prog_AR
18111 if test -n "$AR"; then
18112   { echo "$as_me:$LINENO: result: $AR" >&5
18113 echo "${ECHO_T}$AR" >&6; }
18114 else
18115   { echo "$as_me:$LINENO: result: no" >&5
18116 echo "${ECHO_T}no" >&6; }
18117 fi
18118
18119
18120 fi
18121 if test -z "$ac_cv_prog_AR"; then
18122   ac_ct_AR=$AR
18123   # Extract the first word of "ar", so it can be a program name with args.
18124 set dummy ar; ac_word=$2
18125 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18126 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18127 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
18128   echo $ECHO_N "(cached) $ECHO_C" >&6
18129 else
18130   if test -n "$ac_ct_AR"; then
18131   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
18132 else
18133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18134 for as_dir in $PATH
18135 do
18136   IFS=$as_save_IFS
18137   test -z "$as_dir" && as_dir=.
18138   for ac_exec_ext in '' $ac_executable_extensions; do
18139   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18140     ac_cv_prog_ac_ct_AR="ar"
18141     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18142     break 2
18143   fi
18144 done
18145 done
18146 IFS=$as_save_IFS
18147
18148 fi
18149 fi
18150 ac_ct_AR=$ac_cv_prog_ac_ct_AR
18151 if test -n "$ac_ct_AR"; then
18152   { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
18153 echo "${ECHO_T}$ac_ct_AR" >&6; }
18154 else
18155   { echo "$as_me:$LINENO: result: no" >&5
18156 echo "${ECHO_T}no" >&6; }
18157 fi
18158
18159   if test "x$ac_ct_AR" = x; then
18160     AR=""
18161   else
18162     case $cross_compiling:$ac_tool_warned in
18163 yes:)
18164 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
18165 whose name does not start with the host triplet.  If you think this
18166 configuration is useful to you, please write to autoconf@gnu.org." >&5
18167 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
18168 whose name does not start with the host triplet.  If you think this
18169 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
18170 ac_tool_warned=yes ;;
18171 esac
18172     AR=$ac_ct_AR
18173   fi
18174 else
18175   AR="$ac_cv_prog_AR"
18176 fi
18177
18178     if test "x$AR" = "x" ; then
18179         { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
18180 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
18181    { (exit 1); exit 1; }; }
18182     fi
18183 fi
18184
18185
18186 if test "$wxUSE_MAC" = 1; then
18187
18188 retest_macosx_linking=no
18189
18190     if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
18191                         if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
18192             # Implicitly turn on the new --with-macosx-sdk using the default
18193             # SDK which provides the behavior this option has always had.
18194             if test "x$wxUSE_MACOSX_SDK" = "x"; then
18195                 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
18196 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
18197                 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
18198 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
18199                 wxUSE_MACOSX_SDK=yes
18200             fi
18201         else
18202             # Complain to user if he specified an argument to --enable-universal_binary
18203             # and also 1) specified --with-macosx-sdk using the default (yes) or
18204             # 2) specified --with-macosx-sdk using a path or 3) specified
18205             # --without-macosx-sdk (no).
18206             if test "x$wxUSE_MACOSX_SDK" != "x" ; then
18207                 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18208 See \`config.log' for more details." >&5
18209 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18210 See \`config.log' for more details." >&2;}
18211    { (exit 1); exit 1; }; }
18212             else
18213                 # Put the SDK path into the wxUSE_MACOSX_SDK.  We don't have to
18214                 # special-case the empty string because the below test simply
18215                 # converts "no" to the empty string anyway.
18216                 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
18217                                 { echo "$as_me:$LINENO: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&5
18218 echo "$as_me: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&2;}
18219             fi
18220         fi
18221                 OSX_UNIV_OPTS="-arch ppc -arch i386"
18222         CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
18223         CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
18224         OBJCXXFLAGS="$OSX_UNIV_OPTS $OBJCXXFLAGS"
18225         OBJCFLAGS="$OSX_UNIV_OPTS $OBJCFLAGS"
18226         LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
18227                                                                                                                 retest_macosx_linking=yes
18228
18229                                         { echo "$as_me:$LINENO: WARNING: Disabling precompiled headers due to universal binary build." >&5
18230 echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
18231         bk_use_pch=no
18232     fi
18233
18234 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
18235     wxUSE_MACOSX_SDK=
18236 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
18237     # TODO: Search for most recent SDK and use it.
18238     wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
18239 fi
18240
18241
18242 if test "x$wxUSE_MACOSX_SDK" != "x"; then
18243     { echo "$as_me:$LINENO: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
18244 echo $ECHO_N "checking for SDK directory $wxUSE_MACOSX_SDK... $ECHO_C" >&6; }
18245     if ! test -d "$wxUSE_MACOSX_SDK"; then
18246         { { echo "$as_me:$LINENO: error: not found
18247 See \`config.log' for more details." >&5
18248 echo "$as_me: error: not found
18249 See \`config.log' for more details." >&2;}
18250    { (exit 1); exit 1; }; }
18251     else
18252         { echo "$as_me:$LINENO: result: exists" >&5
18253 echo "${ECHO_T}exists" >&6; }
18254     fi
18255     MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
18256     eval "CC=\"$CC $MACOSX_SDK_OPTS\""
18257     eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
18258     eval "LD=\"$LD $MACOSX_SDK_OPTS\""
18259     retest_macosx_linking=yes
18260             fi
18261
18262 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
18263     wxUSE_MACOSX_VERSION_MIN=
18264 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
18265     if test "x$wxUSE_MACOSX_SDK" != "x"; then
18266         { echo "$as_me:$LINENO: checking SDK deployment version" >&5
18267 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
18268
18269         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/'`
18270
18271         # If that failed, try again with the new key
18272         if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
18273
18274             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/'`
18275
18276         fi
18277
18278         if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
18279             wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
18280             { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
18281 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
18282         else
18283             { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
18284 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
18285             wxUSE_MACOSX_VERSION_MIN=
18286         fi
18287     else
18288         wxUSE_MACOSX_VERSION_MIN=
18289     fi
18290 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
18291     OSX_VERSION=`sw_vers -productVersion | grep 10.[0-9]`
18292     if test "$wxUSE_OSX_CARBON" = 1 -o "x$OSX_VERSION" = "x10.4"; then
18293         # otherwise configure stops on leopard for universal_binary
18294         wxUSE_MACOSX_VERSION_MIN=10.4
18295     else
18296         # for OS X Cocoa, use 10.5 so we can get 64-bit compile on Snow Leopard
18297         wxUSE_MACOSX_VERSION_MIN=10.5
18298     fi
18299 fi
18300
18301 NEEDS_GCC40="no"
18302 if test "x$wxUSE_MACOSX_VERSION_MIN" == "x10.4"; then
18303     NEEDS_GCC40="yes"
18304 fi
18305
18306 if test "$wxUSE_OSX_CARBON" = 1; then
18307     NEEDS_GCC40="yes"
18308 fi
18309
18310 if test "x$NEEDS_GCC40" == "xyes"; then
18311     # gcc 4.2 cannot compile 10.4 compatible code, so if the user is using it
18312     # and wants 10.4 compatible code, then 'downgrade' to 4.0
18313     # This is also the simplest way to get 32-bit binaries on Snow Leopard.
18314     if test "x$CC" = "xgcc"; then
18315         CCVERSION=`$CC --version | grep 4.[2-9].`
18316         if test "x$CCVERSION" != "x"; then
18317             echo "$as_me:$LINENO: WARNING: gcc >= 4.2 cannot compile 10.4 compatible code. Using gcc 4.0 instead."
18318             CC="/usr/bin/gcc-4.0"
18319         fi
18320     fi
18321
18322     if test "x$CXX" = "xg++"; then
18323         CCVERSION=`$CXX --version | grep 4.[2-9].`
18324         if test "x$CCVERSION" != "x"; then
18325             CXX="/usr/bin/g++-4.0"
18326         fi
18327     fi
18328 fi
18329
18330 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
18331     MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
18332     eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
18333     eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
18334     eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
18335     retest_macosx_linking=yes
18336 fi
18337
18338 if test "x$retest_macosx_linking" = "xyes"; then
18339     ac_ext=c
18340 ac_cpp='$CPP $CPPFLAGS'
18341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18344
18345     { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
18346 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
18347     cat >conftest.$ac_ext <<_ACEOF
18348 /* confdefs.h.  */
18349 _ACEOF
18350 cat confdefs.h >>conftest.$ac_ext
18351 cat >>conftest.$ac_ext <<_ACEOF
18352 /* end confdefs.h.  */
18353
18354 int
18355 main ()
18356 {
18357
18358   ;
18359   return 0;
18360 }
18361 _ACEOF
18362 rm -f conftest.$ac_objext conftest$ac_exeext
18363 if { (ac_try="$ac_link"
18364 case "(($ac_try" in
18365   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18366   *) ac_try_echo=$ac_try;;
18367 esac
18368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18369   (eval "$ac_link") 2>conftest.er1
18370   ac_status=$?
18371   grep -v '^ *+' conftest.er1 >conftest.err
18372   rm -f conftest.er1
18373   cat conftest.err >&5
18374   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18375   (exit $ac_status); } && {
18376          test -z "$ac_c_werror_flag" ||
18377          test ! -s conftest.err
18378        } && test -s conftest$ac_exeext &&
18379        $as_test_x conftest$ac_exeext; then
18380   { echo "$as_me:$LINENO: result: yes" >&5
18381 echo "${ECHO_T}yes" >&6; }
18382 else
18383   echo "$as_me: failed program was:" >&5
18384 sed 's/^/| /' conftest.$ac_ext >&5
18385
18386         { { echo "$as_me:$LINENO: error: no.  Try a different SDK
18387 See \`config.log' for more details." >&5
18388 echo "$as_me: error: no.  Try a different SDK
18389 See \`config.log' for more details." >&2;}
18390    { (exit 1); exit 1; }; }; exit 1
18391 fi
18392
18393 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18394       conftest$ac_exeext conftest.$ac_ext
18395     ac_ext=c
18396 ac_cpp='$CPP $CPPFLAGS'
18397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18400
18401
18402     ac_ext=cpp
18403 ac_cpp='$CXXCPP $CPPFLAGS'
18404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18407
18408     { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
18409 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
18410     cat >conftest.$ac_ext <<_ACEOF
18411 /* confdefs.h.  */
18412 _ACEOF
18413 cat confdefs.h >>conftest.$ac_ext
18414 cat >>conftest.$ac_ext <<_ACEOF
18415 /* end confdefs.h.  */
18416
18417 int
18418 main ()
18419 {
18420
18421   ;
18422   return 0;
18423 }
18424 _ACEOF
18425 rm -f conftest.$ac_objext conftest$ac_exeext
18426 if { (ac_try="$ac_link"
18427 case "(($ac_try" in
18428   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18429   *) ac_try_echo=$ac_try;;
18430 esac
18431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18432   (eval "$ac_link") 2>conftest.er1
18433   ac_status=$?
18434   grep -v '^ *+' conftest.er1 >conftest.err
18435   rm -f conftest.er1
18436   cat conftest.err >&5
18437   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18438   (exit $ac_status); } && {
18439          test -z "$ac_cxx_werror_flag" ||
18440          test ! -s conftest.err
18441        } && test -s conftest$ac_exeext &&
18442        $as_test_x conftest$ac_exeext; then
18443   { echo "$as_me:$LINENO: result: yes" >&5
18444 echo "${ECHO_T}yes" >&6; }
18445 else
18446   echo "$as_me: failed program was:" >&5
18447 sed 's/^/| /' conftest.$ac_ext >&5
18448
18449         { { echo "$as_me:$LINENO: error: no.  Try a different SDK
18450 See \`config.log' for more details." >&5
18451 echo "$as_me: error: no.  Try a different SDK
18452 See \`config.log' for more details." >&2;}
18453    { (exit 1); exit 1; }; }; exit 1
18454 fi
18455
18456 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18457       conftest$ac_exeext conftest.$ac_ext
18458     ac_ext=c
18459 ac_cpp='$CPP $CPPFLAGS'
18460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18463
18464 fi
18465
18466 fi
18467 case "${host}" in
18468
18469                 *-*-darwin* )
18470         INSTALL_PROGRAM="cp -fp"
18471         INSTALL_DATA="cp -fp"
18472         ;;
18473     *)
18474         ;;
18475 esac
18476
18477
18478 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
18479     CXXFLAGS="-qunique $CXXFLAGS"
18480 fi
18481
18482 case "${host}" in
18483   powerpc-*-darwin* )
18484     { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
18485 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
18486     cat >conftest.$ac_ext <<_ACEOF
18487 /* confdefs.h.  */
18488 _ACEOF
18489 cat confdefs.h >>conftest.$ac_ext
18490 cat >>conftest.$ac_ext <<_ACEOF
18491 /* end confdefs.h.  */
18492
18493 int
18494 main ()
18495 {
18496 #ifndef __POWERPC__
18497         choke me for lack of PowerPC
18498 #endif
18499
18500   ;
18501   return 0;
18502 }
18503 _ACEOF
18504 rm -f conftest.$ac_objext
18505 if { (ac_try="$ac_compile"
18506 case "(($ac_try" in
18507   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18508   *) ac_try_echo=$ac_try;;
18509 esac
18510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18511   (eval "$ac_compile") 2>conftest.er1
18512   ac_status=$?
18513   grep -v '^ *+' conftest.er1 >conftest.err
18514   rm -f conftest.er1
18515   cat conftest.err >&5
18516   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18517   (exit $ac_status); } && {
18518          test -z "$ac_c_werror_flag" ||
18519          test ! -s conftest.err
18520        } && test -s conftest.$ac_objext; then
18521   { echo "$as_me:$LINENO: result: yes" >&5
18522 echo "${ECHO_T}yes" >&6; }
18523 else
18524   echo "$as_me: failed program was:" >&5
18525 sed 's/^/| /' conftest.$ac_ext >&5
18526
18527         { echo "$as_me:$LINENO: result: no" >&5
18528 echo "${ECHO_T}no" >&6; }
18529         cat >>confdefs.h <<\_ACEOF
18530 #define __POWERPC__ 1
18531 _ACEOF
18532
18533
18534 fi
18535
18536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18537   ;;
18538 esac
18539
18540 case "${host}" in
18541   *-*-darwin* )
18542     { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
18543 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
18544     cat >conftest.$ac_ext <<_ACEOF
18545 /* confdefs.h.  */
18546 _ACEOF
18547 cat confdefs.h >>conftest.$ac_ext
18548 cat >>conftest.$ac_ext <<_ACEOF
18549 /* end confdefs.h.  */
18550 #include <CoreFoundation/CFBase.h>
18551
18552 int
18553 main ()
18554 {
18555
18556   ;
18557   return 0;
18558 }
18559 _ACEOF
18560 rm -f conftest.$ac_objext
18561 if { (ac_try="$ac_compile"
18562 case "(($ac_try" in
18563   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18564   *) ac_try_echo=$ac_try;;
18565 esac
18566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18567   (eval "$ac_compile") 2>conftest.er1
18568   ac_status=$?
18569   grep -v '^ *+' conftest.er1 >conftest.err
18570   rm -f conftest.er1
18571   cat conftest.err >&5
18572   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18573   (exit $ac_status); } && {
18574          test -z "$ac_c_werror_flag" ||
18575          test ! -s conftest.err
18576        } && test -s conftest.$ac_objext; then
18577   { echo "$as_me:$LINENO: result: yes" >&5
18578 echo "${ECHO_T}yes" >&6; }
18579 else
18580   echo "$as_me: failed program was:" >&5
18581 sed 's/^/| /' conftest.$ac_ext >&5
18582
18583         { echo "$as_me:$LINENO: result: no" >&5
18584 echo "${ECHO_T}no" >&6; }
18585         { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
18586 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
18587         cat >conftest.$ac_ext <<_ACEOF
18588 /* confdefs.h.  */
18589 _ACEOF
18590 cat confdefs.h >>conftest.$ac_ext
18591 cat >>conftest.$ac_ext <<_ACEOF
18592 /* end confdefs.h.  */
18593 #define __CF_USE_FRAMEWORK_INCLUDES__
18594 #include <CoreFoundation/CFBase.h>
18595
18596 int
18597 main ()
18598 {
18599
18600   ;
18601   return 0;
18602 }
18603 _ACEOF
18604 rm -f conftest.$ac_objext
18605 if { (ac_try="$ac_compile"
18606 case "(($ac_try" in
18607   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18608   *) ac_try_echo=$ac_try;;
18609 esac
18610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18611   (eval "$ac_compile") 2>conftest.er1
18612   ac_status=$?
18613   grep -v '^ *+' conftest.er1 >conftest.err
18614   rm -f conftest.er1
18615   cat conftest.err >&5
18616   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18617   (exit $ac_status); } && {
18618          test -z "$ac_c_werror_flag" ||
18619          test ! -s conftest.err
18620        } && test -s conftest.$ac_objext; then
18621   { echo "$as_me:$LINENO: result: yes" >&5
18622 echo "${ECHO_T}yes" >&6; }
18623                         CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
18624 else
18625   echo "$as_me: failed program was:" >&5
18626 sed 's/^/| /' conftest.$ac_ext >&5
18627
18628         { { echo "$as_me:$LINENO: error: no.  CoreFoundation not available.
18629 See \`config.log' for more details." >&5
18630 echo "$as_me: error: no.  CoreFoundation not available.
18631 See \`config.log' for more details." >&2;}
18632    { (exit 1); exit 1; }; }
18633
18634 fi
18635
18636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18637
18638
18639 fi
18640
18641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18642   ;;
18643 esac
18644
18645 wants_win32=0
18646 doesnt_want_win32=0
18647 case "${host}" in
18648   *-*-cygwin*)
18649       if test "$wxUSE_MSW" = 1 ; then
18650         wants_win32=1
18651       else
18652                         { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
18653 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
18654 if test "${wx_cv_nocygwin+set}" = set; then
18655   echo $ECHO_N "(cached) $ECHO_C" >&6
18656 else
18657
18658                 cat >conftest.$ac_ext <<_ACEOF
18659 /* confdefs.h.  */
18660 _ACEOF
18661 cat confdefs.h >>conftest.$ac_ext
18662 cat >>conftest.$ac_ext <<_ACEOF
18663 /* end confdefs.h.  */
18664
18665 int
18666 main ()
18667 {
18668
18669                         #ifdef __MINGW32__
18670                             choke me
18671                         #endif
18672
18673   ;
18674   return 0;
18675 }
18676 _ACEOF
18677 rm -f conftest.$ac_objext
18678 if { (ac_try="$ac_compile"
18679 case "(($ac_try" in
18680   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18681   *) ac_try_echo=$ac_try;;
18682 esac
18683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18684   (eval "$ac_compile") 2>conftest.er1
18685   ac_status=$?
18686   grep -v '^ *+' conftest.er1 >conftest.err
18687   rm -f conftest.er1
18688   cat conftest.err >&5
18689   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18690   (exit $ac_status); } && {
18691          test -z "$ac_c_werror_flag" ||
18692          test ! -s conftest.err
18693        } && test -s conftest.$ac_objext; then
18694   wx_cv_nocygwin=no
18695 else
18696   echo "$as_me: failed program was:" >&5
18697 sed 's/^/| /' conftest.$ac_ext >&5
18698
18699         wx_cv_nocygwin=yes
18700
18701 fi
18702
18703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18704
18705
18706 fi
18707 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
18708 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
18709
18710         if test "$wx_cv_nocygwin" = "yes"; then
18711             wants_win32=1
18712         else
18713             doesnt_want_win32=1
18714         fi
18715       fi
18716       if test "$wants_win32" = 1 ; then
18717         BAKEFILE_FORCE_PLATFORM=win32
18718       fi
18719   ;;
18720   *-*-mingw*)
18721       wants_win32=1
18722   ;;
18723 esac
18724
18725 if test "$wxUSE_WINE" = "yes"; then
18726     wants_win32=1
18727     LDFLAGS_GUI="-mwindows"
18728 fi
18729
18730 if test "$wants_win32" = 1 ; then
18731     USE_UNIX=0
18732     USE_WIN32=1
18733     cat >>confdefs.h <<\_ACEOF
18734 #define __WIN32__ 1
18735 _ACEOF
18736
18737     cat >>confdefs.h <<\_ACEOF
18738 #define __WIN95__ 1
18739 _ACEOF
18740
18741     cat >>confdefs.h <<\_ACEOF
18742 #define __WINDOWS__ 1
18743 _ACEOF
18744
18745     cat >>confdefs.h <<\_ACEOF
18746 #define __GNUWIN32__ 1
18747 _ACEOF
18748
18749     cat >>confdefs.h <<\_ACEOF
18750 #define STRICT 1
18751 _ACEOF
18752
18753 fi
18754 if test "$doesnt_want_win32" = 1 ; then
18755     USE_UNIX=1
18756     USE_WIN32=0
18757 fi
18758
18759 if test "$USE_UNIX" = 1 ; then
18760     wxUSE_UNIX=yes
18761     cat >>confdefs.h <<\_ACEOF
18762 #define __UNIX__ 1
18763 _ACEOF
18764
18765 fi
18766
18767 case "${host}" in
18768   *-pc-os2_emx | *-pc-os2-emx )
18769                                                       if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
18770                               { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
18771 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
18772 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
18773   echo $ECHO_N "(cached) $ECHO_C" >&6
18774 else
18775   ac_check_lib_save_LIBS=$LIBS
18776 LIBS="-lcExt  $LIBS"
18777 cat >conftest.$ac_ext <<_ACEOF
18778 /* confdefs.h.  */
18779 _ACEOF
18780 cat confdefs.h >>conftest.$ac_ext
18781 cat >>conftest.$ac_ext <<_ACEOF
18782 /* end confdefs.h.  */
18783
18784 /* Override any GCC internal prototype to avoid an error.
18785    Use char because int might match the return type of a GCC
18786    builtin and then its argument prototype would still apply.  */
18787 #ifdef __cplusplus
18788 extern "C"
18789 #endif
18790 char drand48 ();
18791 int
18792 main ()
18793 {
18794 return drand48 ();
18795   ;
18796   return 0;
18797 }
18798 _ACEOF
18799 rm -f conftest.$ac_objext conftest$ac_exeext
18800 if { (ac_try="$ac_link"
18801 case "(($ac_try" in
18802   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18803   *) ac_try_echo=$ac_try;;
18804 esac
18805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18806   (eval "$ac_link") 2>conftest.er1
18807   ac_status=$?
18808   grep -v '^ *+' conftest.er1 >conftest.err
18809   rm -f conftest.er1
18810   cat conftest.err >&5
18811   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18812   (exit $ac_status); } && {
18813          test -z "$ac_c_werror_flag" ||
18814          test ! -s conftest.err
18815        } && test -s conftest$ac_exeext &&
18816        $as_test_x conftest$ac_exeext; then
18817   ac_cv_lib_cExt_drand48=yes
18818 else
18819   echo "$as_me: failed program was:" >&5
18820 sed 's/^/| /' conftest.$ac_ext >&5
18821
18822         ac_cv_lib_cExt_drand48=no
18823 fi
18824
18825 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18826       conftest$ac_exeext conftest.$ac_ext
18827 LIBS=$ac_check_lib_save_LIBS
18828 fi
18829 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
18830 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
18831 if test $ac_cv_lib_cExt_drand48 = yes; then
18832   LIBS="$LIBS -lcExt"
18833 fi
18834
18835       else
18836                     RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
18837       fi
18838                                     { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
18839 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
18840 if test "${wx_cv_gccversion+set}" = set; then
18841   echo $ECHO_N "(cached) $ECHO_C" >&6
18842 else
18843
18844           if test "$cross_compiling" = yes; then
18845                 wx_cv_gccversion="EMX2"
18846
18847 else
18848   cat >conftest.$ac_ext <<_ACEOF
18849 /* confdefs.h.  */
18850 _ACEOF
18851 cat confdefs.h >>conftest.$ac_ext
18852 cat >>conftest.$ac_ext <<_ACEOF
18853 /* end confdefs.h.  */
18854
18855                   #include <stdio.h>
18856
18857                   int main()
18858                   {
18859                       FILE *f=fopen("conftestval", "w");
18860                       if (!f) exit(1);
18861                       fprintf(f,
18862                   #if (__GNUC__ < 3)
18863                               "EMX2"
18864                   #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
18865                               "EMX3"
18866                   #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
18867                               "Innotek5"
18868                   #else
18869                               "Innotek6"
18870                   #endif
18871                       );
18872                       exit(0);
18873                   }
18874
18875 _ACEOF
18876 rm -f conftest$ac_exeext
18877 if { (ac_try="$ac_link"
18878 case "(($ac_try" in
18879   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18880   *) ac_try_echo=$ac_try;;
18881 esac
18882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18883   (eval "$ac_link") 2>&5
18884   ac_status=$?
18885   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18886   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18887   { (case "(($ac_try" in
18888   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18889   *) ac_try_echo=$ac_try;;
18890 esac
18891 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18892   (eval "$ac_try") 2>&5
18893   ac_status=$?
18894   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18895   (exit $ac_status); }; }; then
18896   wx_cv_gccversion=`cat conftestval`
18897 else
18898   echo "$as_me: program exited with status $ac_status" >&5
18899 echo "$as_me: failed program was:" >&5
18900 sed 's/^/| /' conftest.$ac_ext >&5
18901
18902 ( exit $ac_status )
18903 wx_cv_gccversion="EMX2"
18904 fi
18905 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18906 fi
18907
18908
18909
18910 fi
18911 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
18912 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
18913       if test "$wx_cv_gccversion" = "EMX2"; then
18914           LIBS="$LIBS -lstdcpp"
18915           LDFLAGS="$LDFLAGS -Zsysv-signals"
18916       else
18917           if test "$wx_cv_gccversion" = "EMX3"; then
18918               LIBS="$LIBS -lstdcxx -lgcc"
18919               LDFLAGS="$LDFLAGS -Zsysv-signals"
18920           else
18921               LIBS="$LIBS -lstdc++"
18922           fi
18923       fi
18924       if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
18925         { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
18926 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
18927         wxUSE_OMF=yes
18928         enable_omf=yes
18929       fi
18930         ;;
18931   *)
18932
18933       { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
18934 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
18935 if test "${ac_cv_string_strcasecmp+set}" = set; then
18936   echo $ECHO_N "(cached) $ECHO_C" >&6
18937 else
18938
18939           cat >conftest.$ac_ext <<_ACEOF
18940 /* confdefs.h.  */
18941 _ACEOF
18942 cat confdefs.h >>conftest.$ac_ext
18943 cat >>conftest.$ac_ext <<_ACEOF
18944 /* end confdefs.h.  */
18945
18946               #include <string.h>
18947
18948 int
18949 main ()
18950 {
18951
18952                   strcasecmp("foo", "bar");
18953
18954   ;
18955   return 0;
18956 }
18957 _ACEOF
18958 rm -f conftest.$ac_objext conftest$ac_exeext
18959 if { (ac_try="$ac_link"
18960 case "(($ac_try" in
18961   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18962   *) ac_try_echo=$ac_try;;
18963 esac
18964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18965   (eval "$ac_link") 2>conftest.er1
18966   ac_status=$?
18967   grep -v '^ *+' conftest.er1 >conftest.err
18968   rm -f conftest.er1
18969   cat conftest.err >&5
18970   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18971   (exit $ac_status); } && {
18972          test -z "$ac_c_werror_flag" ||
18973          test ! -s conftest.err
18974        } && test -s conftest$ac_exeext &&
18975        $as_test_x conftest$ac_exeext; then
18976   ac_cv_string_strcasecmp=yes
18977 else
18978   echo "$as_me: failed program was:" >&5
18979 sed 's/^/| /' conftest.$ac_ext >&5
18980
18981         ac_cv_string_strcasecmp=no
18982
18983 fi
18984
18985 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18986       conftest$ac_exeext conftest.$ac_ext
18987
18988 fi
18989 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
18990 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
18991
18992       if test x"$ac_cv_string_strcasecmp" = "xyes"; then
18993           cat >>confdefs.h <<\_ACEOF
18994 #define HAVE_STRCASECMP_IN_STRING_H 1
18995 _ACEOF
18996
18997       else
18998           { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
18999 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
19000 if test "${ac_cv_strings_strcasecmp+set}" = set; then
19001   echo $ECHO_N "(cached) $ECHO_C" >&6
19002 else
19003
19004               cat >conftest.$ac_ext <<_ACEOF
19005 /* confdefs.h.  */
19006 _ACEOF
19007 cat confdefs.h >>conftest.$ac_ext
19008 cat >>conftest.$ac_ext <<_ACEOF
19009 /* end confdefs.h.  */
19010
19011                   #include <strings.h>
19012
19013 int
19014 main ()
19015 {
19016
19017                       strcasecmp("foo", "bar");
19018
19019   ;
19020   return 0;
19021 }
19022 _ACEOF
19023 rm -f conftest.$ac_objext conftest$ac_exeext
19024 if { (ac_try="$ac_link"
19025 case "(($ac_try" in
19026   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19027   *) ac_try_echo=$ac_try;;
19028 esac
19029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19030   (eval "$ac_link") 2>conftest.er1
19031   ac_status=$?
19032   grep -v '^ *+' conftest.er1 >conftest.err
19033   rm -f conftest.er1
19034   cat conftest.err >&5
19035   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19036   (exit $ac_status); } && {
19037          test -z "$ac_c_werror_flag" ||
19038          test ! -s conftest.err
19039        } && test -s conftest$ac_exeext &&
19040        $as_test_x conftest$ac_exeext; then
19041   ac_cv_strings_strcasecmp=yes
19042 else
19043   echo "$as_me: failed program was:" >&5
19044 sed 's/^/| /' conftest.$ac_ext >&5
19045
19046         ac_cv_strings_strcasecmp=no
19047
19048 fi
19049
19050 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19051       conftest$ac_exeext conftest.$ac_ext
19052
19053 fi
19054 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
19055 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
19056
19057           if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
19058               cat >>confdefs.h <<\_ACEOF
19059 #define HAVE_STRCASECMP_IN_STRINGS_H 1
19060 _ACEOF
19061
19062           else
19063               { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
19064 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
19065    { (exit 1); exit 1; }; }
19066           fi
19067       fi
19068
19069         ;;
19070 esac
19071
19072
19073 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
19074 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
19075 if test "${ac_cv_header_stdc+set}" = set; then
19076   echo $ECHO_N "(cached) $ECHO_C" >&6
19077 else
19078   cat >conftest.$ac_ext <<_ACEOF
19079 /* confdefs.h.  */
19080 _ACEOF
19081 cat confdefs.h >>conftest.$ac_ext
19082 cat >>conftest.$ac_ext <<_ACEOF
19083 /* end confdefs.h.  */
19084 #include <stdlib.h>
19085 #include <stdarg.h>
19086 #include <string.h>
19087 #include <float.h>
19088
19089 int
19090 main ()
19091 {
19092
19093   ;
19094   return 0;
19095 }
19096 _ACEOF
19097 rm -f conftest.$ac_objext
19098 if { (ac_try="$ac_compile"
19099 case "(($ac_try" in
19100   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19101   *) ac_try_echo=$ac_try;;
19102 esac
19103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19104   (eval "$ac_compile") 2>conftest.er1
19105   ac_status=$?
19106   grep -v '^ *+' conftest.er1 >conftest.err
19107   rm -f conftest.er1
19108   cat conftest.err >&5
19109   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19110   (exit $ac_status); } && {
19111          test -z "$ac_c_werror_flag" ||
19112          test ! -s conftest.err
19113        } && test -s conftest.$ac_objext; then
19114   ac_cv_header_stdc=yes
19115 else
19116   echo "$as_me: failed program was:" >&5
19117 sed 's/^/| /' conftest.$ac_ext >&5
19118
19119         ac_cv_header_stdc=no
19120 fi
19121
19122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19123
19124 if test $ac_cv_header_stdc = yes; then
19125   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19126   cat >conftest.$ac_ext <<_ACEOF
19127 /* confdefs.h.  */
19128 _ACEOF
19129 cat confdefs.h >>conftest.$ac_ext
19130 cat >>conftest.$ac_ext <<_ACEOF
19131 /* end confdefs.h.  */
19132 #include <string.h>
19133
19134 _ACEOF
19135 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19136   $EGREP "memchr" >/dev/null 2>&1; then
19137   :
19138 else
19139   ac_cv_header_stdc=no
19140 fi
19141 rm -f conftest*
19142
19143 fi
19144
19145 if test $ac_cv_header_stdc = yes; then
19146   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19147   cat >conftest.$ac_ext <<_ACEOF
19148 /* confdefs.h.  */
19149 _ACEOF
19150 cat confdefs.h >>conftest.$ac_ext
19151 cat >>conftest.$ac_ext <<_ACEOF
19152 /* end confdefs.h.  */
19153 #include <stdlib.h>
19154
19155 _ACEOF
19156 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19157   $EGREP "free" >/dev/null 2>&1; then
19158   :
19159 else
19160   ac_cv_header_stdc=no
19161 fi
19162 rm -f conftest*
19163
19164 fi
19165
19166 if test $ac_cv_header_stdc = yes; then
19167   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19168   if test "$cross_compiling" = yes; then
19169   :
19170 else
19171   cat >conftest.$ac_ext <<_ACEOF
19172 /* confdefs.h.  */
19173 _ACEOF
19174 cat confdefs.h >>conftest.$ac_ext
19175 cat >>conftest.$ac_ext <<_ACEOF
19176 /* end confdefs.h.  */
19177 #include <ctype.h>
19178 #include <stdlib.h>
19179 #if ((' ' & 0x0FF) == 0x020)
19180 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19181 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19182 #else
19183 # define ISLOWER(c) \
19184                    (('a' <= (c) && (c) <= 'i') \
19185                      || ('j' <= (c) && (c) <= 'r') \
19186                      || ('s' <= (c) && (c) <= 'z'))
19187 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19188 #endif
19189
19190 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19191 int
19192 main ()
19193 {
19194   int i;
19195   for (i = 0; i < 256; i++)
19196     if (XOR (islower (i), ISLOWER (i))
19197         || toupper (i) != TOUPPER (i))
19198       return 2;
19199   return 0;
19200 }
19201 _ACEOF
19202 rm -f conftest$ac_exeext
19203 if { (ac_try="$ac_link"
19204 case "(($ac_try" in
19205   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19206   *) ac_try_echo=$ac_try;;
19207 esac
19208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19209   (eval "$ac_link") 2>&5
19210   ac_status=$?
19211   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19212   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19213   { (case "(($ac_try" in
19214   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19215   *) ac_try_echo=$ac_try;;
19216 esac
19217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19218   (eval "$ac_try") 2>&5
19219   ac_status=$?
19220   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19221   (exit $ac_status); }; }; then
19222   :
19223 else
19224   echo "$as_me: program exited with status $ac_status" >&5
19225 echo "$as_me: failed program was:" >&5
19226 sed 's/^/| /' conftest.$ac_ext >&5
19227
19228 ( exit $ac_status )
19229 ac_cv_header_stdc=no
19230 fi
19231 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19232 fi
19233
19234
19235 fi
19236 fi
19237 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
19238 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
19239 if test $ac_cv_header_stdc = yes; then
19240
19241 cat >>confdefs.h <<\_ACEOF
19242 #define STDC_HEADERS 1
19243 _ACEOF
19244
19245 fi
19246
19247 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
19248
19249
19250
19251
19252
19253
19254
19255
19256
19257 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
19258                   inttypes.h stdint.h unistd.h
19259 do
19260 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19261 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19262 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19263 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19264   echo $ECHO_N "(cached) $ECHO_C" >&6
19265 else
19266   cat >conftest.$ac_ext <<_ACEOF
19267 /* confdefs.h.  */
19268 _ACEOF
19269 cat confdefs.h >>conftest.$ac_ext
19270 cat >>conftest.$ac_ext <<_ACEOF
19271 /* end confdefs.h.  */
19272 $ac_includes_default
19273
19274 #include <$ac_header>
19275 _ACEOF
19276 rm -f conftest.$ac_objext
19277 if { (ac_try="$ac_compile"
19278 case "(($ac_try" in
19279   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19280   *) ac_try_echo=$ac_try;;
19281 esac
19282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19283   (eval "$ac_compile") 2>conftest.er1
19284   ac_status=$?
19285   grep -v '^ *+' conftest.er1 >conftest.err
19286   rm -f conftest.er1
19287   cat conftest.err >&5
19288   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19289   (exit $ac_status); } && {
19290          test -z "$ac_c_werror_flag" ||
19291          test ! -s conftest.err
19292        } && test -s conftest.$ac_objext; then
19293   eval "$as_ac_Header=yes"
19294 else
19295   echo "$as_me: failed program was:" >&5
19296 sed 's/^/| /' conftest.$ac_ext >&5
19297
19298         eval "$as_ac_Header=no"
19299 fi
19300
19301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19302 fi
19303 ac_res=`eval echo '${'$as_ac_Header'}'`
19304                { echo "$as_me:$LINENO: result: $ac_res" >&5
19305 echo "${ECHO_T}$ac_res" >&6; }
19306 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19307   cat >>confdefs.h <<_ACEOF
19308 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19309 _ACEOF
19310
19311 fi
19312
19313 done
19314
19315
19316
19317
19318 for ac_header in langinfo.h wchar.h
19319 do
19320 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19321 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19322 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19323 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19324   echo $ECHO_N "(cached) $ECHO_C" >&6
19325 else
19326   cat >conftest.$ac_ext <<_ACEOF
19327 /* confdefs.h.  */
19328 _ACEOF
19329 cat confdefs.h >>conftest.$ac_ext
19330 cat >>conftest.$ac_ext <<_ACEOF
19331 /* end confdefs.h.  */
19332 $ac_includes_default
19333
19334 #include <$ac_header>
19335 _ACEOF
19336 rm -f conftest.$ac_objext
19337 if { (ac_try="$ac_compile"
19338 case "(($ac_try" in
19339   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19340   *) ac_try_echo=$ac_try;;
19341 esac
19342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19343   (eval "$ac_compile") 2>conftest.er1
19344   ac_status=$?
19345   grep -v '^ *+' conftest.er1 >conftest.err
19346   rm -f conftest.er1
19347   cat conftest.err >&5
19348   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19349   (exit $ac_status); } && {
19350          test -z "$ac_c_werror_flag" ||
19351          test ! -s conftest.err
19352        } && test -s conftest.$ac_objext; then
19353   eval "$as_ac_Header=yes"
19354 else
19355   echo "$as_me: failed program was:" >&5
19356 sed 's/^/| /' conftest.$ac_ext >&5
19357
19358         eval "$as_ac_Header=no"
19359 fi
19360
19361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19362 fi
19363 ac_res=`eval echo '${'$as_ac_Header'}'`
19364                { echo "$as_me:$LINENO: result: $ac_res" >&5
19365 echo "${ECHO_T}$ac_res" >&6; }
19366 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19367   cat >>confdefs.h <<_ACEOF
19368 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19369 _ACEOF
19370
19371 fi
19372
19373 done
19374
19375
19376 if test "$ac_cv_header_wchar_h" != "yes"; then
19377
19378 for ac_header in wcstr.h
19379 do
19380 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19381 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19382 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19383 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19384   echo $ECHO_N "(cached) $ECHO_C" >&6
19385 else
19386   cat >conftest.$ac_ext <<_ACEOF
19387 /* confdefs.h.  */
19388 _ACEOF
19389 cat confdefs.h >>conftest.$ac_ext
19390 cat >>conftest.$ac_ext <<_ACEOF
19391 /* end confdefs.h.  */
19392 $ac_includes_default
19393
19394 #include <$ac_header>
19395 _ACEOF
19396 rm -f conftest.$ac_objext
19397 if { (ac_try="$ac_compile"
19398 case "(($ac_try" in
19399   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19400   *) ac_try_echo=$ac_try;;
19401 esac
19402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19403   (eval "$ac_compile") 2>conftest.er1
19404   ac_status=$?
19405   grep -v '^ *+' conftest.er1 >conftest.err
19406   rm -f conftest.er1
19407   cat conftest.err >&5
19408   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19409   (exit $ac_status); } && {
19410          test -z "$ac_c_werror_flag" ||
19411          test ! -s conftest.err
19412        } && test -s conftest.$ac_objext; then
19413   eval "$as_ac_Header=yes"
19414 else
19415   echo "$as_me: failed program was:" >&5
19416 sed 's/^/| /' conftest.$ac_ext >&5
19417
19418         eval "$as_ac_Header=no"
19419 fi
19420
19421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19422 fi
19423 ac_res=`eval echo '${'$as_ac_Header'}'`
19424                { echo "$as_me:$LINENO: result: $ac_res" >&5
19425 echo "${ECHO_T}$ac_res" >&6; }
19426 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19427   cat >>confdefs.h <<_ACEOF
19428 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19429 _ACEOF
19430
19431 fi
19432
19433 done
19434
19435 fi
19436
19437 case "${host}" in
19438   *-pc-os2_emx | *-pc-os2-emx )
19439                   if test $ac_cv_header_langinfo_h = "yes" \
19440                 -a \(   "$wx_cv_gccversion" = "EMX2" \
19441                      -o "$wx_cv_gccversion" = "EMX3" \
19442                      -o "$wx_cv_gccversion" = "Innotek5" \); then
19443           LIBS="$LIBS -lintl"
19444       fi
19445   ;;
19446 esac
19447
19448 if test "$USE_UNIX" = 1 ; then
19449
19450 for ac_header in sys/select.h
19451 do
19452 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19453 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19454 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19455 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19456   echo $ECHO_N "(cached) $ECHO_C" >&6
19457 else
19458   cat >conftest.$ac_ext <<_ACEOF
19459 /* confdefs.h.  */
19460 _ACEOF
19461 cat confdefs.h >>conftest.$ac_ext
19462 cat >>conftest.$ac_ext <<_ACEOF
19463 /* end confdefs.h.  */
19464 $ac_includes_default
19465
19466 #include <$ac_header>
19467 _ACEOF
19468 rm -f conftest.$ac_objext
19469 if { (ac_try="$ac_compile"
19470 case "(($ac_try" in
19471   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19472   *) ac_try_echo=$ac_try;;
19473 esac
19474 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19475   (eval "$ac_compile") 2>conftest.er1
19476   ac_status=$?
19477   grep -v '^ *+' conftest.er1 >conftest.err
19478   rm -f conftest.er1
19479   cat conftest.err >&5
19480   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19481   (exit $ac_status); } && {
19482          test -z "$ac_c_werror_flag" ||
19483          test ! -s conftest.err
19484        } && test -s conftest.$ac_objext; then
19485   eval "$as_ac_Header=yes"
19486 else
19487   echo "$as_me: failed program was:" >&5
19488 sed 's/^/| /' conftest.$ac_ext >&5
19489
19490         eval "$as_ac_Header=no"
19491 fi
19492
19493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19494 fi
19495 ac_res=`eval echo '${'$as_ac_Header'}'`
19496                { echo "$as_me:$LINENO: result: $ac_res" >&5
19497 echo "${ECHO_T}$ac_res" >&6; }
19498 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19499   cat >>confdefs.h <<_ACEOF
19500 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19501 _ACEOF
19502
19503 fi
19504
19505 done
19506
19507 fi
19508
19509
19510 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
19511 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
19512 if test "${ac_cv_c_const+set}" = set; then
19513   echo $ECHO_N "(cached) $ECHO_C" >&6
19514 else
19515   cat >conftest.$ac_ext <<_ACEOF
19516 /* confdefs.h.  */
19517 _ACEOF
19518 cat confdefs.h >>conftest.$ac_ext
19519 cat >>conftest.$ac_ext <<_ACEOF
19520 /* end confdefs.h.  */
19521
19522 int
19523 main ()
19524 {
19525 /* FIXME: Include the comments suggested by Paul. */
19526 #ifndef __cplusplus
19527   /* Ultrix mips cc rejects this.  */
19528   typedef int charset[2];
19529   const charset cs;
19530   /* SunOS 4.1.1 cc rejects this.  */
19531   char const *const *pcpcc;
19532   char **ppc;
19533   /* NEC SVR4.0.2 mips cc rejects this.  */
19534   struct point {int x, y;};
19535   static struct point const zero = {0,0};
19536   /* AIX XL C 1.02.0.0 rejects this.
19537      It does not let you subtract one const X* pointer from another in
19538      an arm of an if-expression whose if-part is not a constant
19539      expression */
19540   const char *g = "string";
19541   pcpcc = &g + (g ? g-g : 0);
19542   /* HPUX 7.0 cc rejects these. */
19543   ++pcpcc;
19544   ppc = (char**) pcpcc;
19545   pcpcc = (char const *const *) ppc;
19546   { /* SCO 3.2v4 cc rejects this.  */
19547     char *t;
19548     char const *s = 0 ? (char *) 0 : (char const *) 0;
19549
19550     *t++ = 0;
19551     if (s) return 0;
19552   }
19553   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
19554     int x[] = {25, 17};
19555     const int *foo = &x[0];
19556     ++foo;
19557   }
19558   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19559     typedef const int *iptr;
19560     iptr p = 0;
19561     ++p;
19562   }
19563   { /* AIX XL C 1.02.0.0 rejects this saying
19564        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19565     struct s { int j; const int *ap[3]; };
19566     struct s *b; b->j = 5;
19567   }
19568   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19569     const int foo = 10;
19570     if (!foo) return 0;
19571   }
19572   return !cs[0] && !zero.x;
19573 #endif
19574
19575   ;
19576   return 0;
19577 }
19578 _ACEOF
19579 rm -f conftest.$ac_objext
19580 if { (ac_try="$ac_compile"
19581 case "(($ac_try" in
19582   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19583   *) ac_try_echo=$ac_try;;
19584 esac
19585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19586   (eval "$ac_compile") 2>conftest.er1
19587   ac_status=$?
19588   grep -v '^ *+' conftest.er1 >conftest.err
19589   rm -f conftest.er1
19590   cat conftest.err >&5
19591   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19592   (exit $ac_status); } && {
19593          test -z "$ac_c_werror_flag" ||
19594          test ! -s conftest.err
19595        } && test -s conftest.$ac_objext; then
19596   ac_cv_c_const=yes
19597 else
19598   echo "$as_me: failed program was:" >&5
19599 sed 's/^/| /' conftest.$ac_ext >&5
19600
19601         ac_cv_c_const=no
19602 fi
19603
19604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19605 fi
19606 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
19607 echo "${ECHO_T}$ac_cv_c_const" >&6; }
19608 if test $ac_cv_c_const = no; then
19609
19610 cat >>confdefs.h <<\_ACEOF
19611 #define const
19612 _ACEOF
19613
19614 fi
19615
19616 { echo "$as_me:$LINENO: checking for inline" >&5
19617 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
19618 if test "${ac_cv_c_inline+set}" = set; then
19619   echo $ECHO_N "(cached) $ECHO_C" >&6
19620 else
19621   ac_cv_c_inline=no
19622 for ac_kw in inline __inline__ __inline; do
19623   cat >conftest.$ac_ext <<_ACEOF
19624 /* confdefs.h.  */
19625 _ACEOF
19626 cat confdefs.h >>conftest.$ac_ext
19627 cat >>conftest.$ac_ext <<_ACEOF
19628 /* end confdefs.h.  */
19629 #ifndef __cplusplus
19630 typedef int foo_t;
19631 static $ac_kw foo_t static_foo () {return 0; }
19632 $ac_kw foo_t foo () {return 0; }
19633 #endif
19634
19635 _ACEOF
19636 rm -f conftest.$ac_objext
19637 if { (ac_try="$ac_compile"
19638 case "(($ac_try" in
19639   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19640   *) ac_try_echo=$ac_try;;
19641 esac
19642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19643   (eval "$ac_compile") 2>conftest.er1
19644   ac_status=$?
19645   grep -v '^ *+' conftest.er1 >conftest.err
19646   rm -f conftest.er1
19647   cat conftest.err >&5
19648   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19649   (exit $ac_status); } && {
19650          test -z "$ac_c_werror_flag" ||
19651          test ! -s conftest.err
19652        } && test -s conftest.$ac_objext; then
19653   ac_cv_c_inline=$ac_kw
19654 else
19655   echo "$as_me: failed program was:" >&5
19656 sed 's/^/| /' conftest.$ac_ext >&5
19657
19658
19659 fi
19660
19661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19662   test "$ac_cv_c_inline" != no && break
19663 done
19664
19665 fi
19666 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
19667 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
19668
19669
19670 case $ac_cv_c_inline in
19671   inline | yes) ;;
19672   *)
19673     case $ac_cv_c_inline in
19674       no) ac_val=;;
19675       *) ac_val=$ac_cv_c_inline;;
19676     esac
19677     cat >>confdefs.h <<_ACEOF
19678 #ifndef __cplusplus
19679 #define inline $ac_val
19680 #endif
19681 _ACEOF
19682     ;;
19683 esac
19684
19685
19686 { echo "$as_me:$LINENO: checking for short" >&5
19687 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
19688 if test "${ac_cv_type_short+set}" = set; then
19689   echo $ECHO_N "(cached) $ECHO_C" >&6
19690 else
19691   cat >conftest.$ac_ext <<_ACEOF
19692 /* confdefs.h.  */
19693 _ACEOF
19694 cat confdefs.h >>conftest.$ac_ext
19695 cat >>conftest.$ac_ext <<_ACEOF
19696 /* end confdefs.h.  */
19697 $ac_includes_default
19698 typedef short ac__type_new_;
19699 int
19700 main ()
19701 {
19702 if ((ac__type_new_ *) 0)
19703   return 0;
19704 if (sizeof (ac__type_new_))
19705   return 0;
19706   ;
19707   return 0;
19708 }
19709 _ACEOF
19710 rm -f conftest.$ac_objext
19711 if { (ac_try="$ac_compile"
19712 case "(($ac_try" in
19713   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19714   *) ac_try_echo=$ac_try;;
19715 esac
19716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19717   (eval "$ac_compile") 2>conftest.er1
19718   ac_status=$?
19719   grep -v '^ *+' conftest.er1 >conftest.err
19720   rm -f conftest.er1
19721   cat conftest.err >&5
19722   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19723   (exit $ac_status); } && {
19724          test -z "$ac_c_werror_flag" ||
19725          test ! -s conftest.err
19726        } && test -s conftest.$ac_objext; then
19727   ac_cv_type_short=yes
19728 else
19729   echo "$as_me: failed program was:" >&5
19730 sed 's/^/| /' conftest.$ac_ext >&5
19731
19732         ac_cv_type_short=no
19733 fi
19734
19735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19736 fi
19737 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
19738 echo "${ECHO_T}$ac_cv_type_short" >&6; }
19739
19740 # The cast to long int works around a bug in the HP C Compiler
19741 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19742 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19743 # This bug is HP SR number 8606223364.
19744 { echo "$as_me:$LINENO: checking size of short" >&5
19745 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
19746 if test "${ac_cv_sizeof_short+set}" = set; then
19747   echo $ECHO_N "(cached) $ECHO_C" >&6
19748 else
19749   if test "$cross_compiling" = yes; then
19750   # Depending upon the size, compute the lo and hi bounds.
19751 cat >conftest.$ac_ext <<_ACEOF
19752 /* confdefs.h.  */
19753 _ACEOF
19754 cat confdefs.h >>conftest.$ac_ext
19755 cat >>conftest.$ac_ext <<_ACEOF
19756 /* end confdefs.h.  */
19757 $ac_includes_default
19758    typedef short ac__type_sizeof_;
19759 int
19760 main ()
19761 {
19762 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19763 test_array [0] = 0
19764
19765   ;
19766   return 0;
19767 }
19768 _ACEOF
19769 rm -f conftest.$ac_objext
19770 if { (ac_try="$ac_compile"
19771 case "(($ac_try" in
19772   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19773   *) ac_try_echo=$ac_try;;
19774 esac
19775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19776   (eval "$ac_compile") 2>conftest.er1
19777   ac_status=$?
19778   grep -v '^ *+' conftest.er1 >conftest.err
19779   rm -f conftest.er1
19780   cat conftest.err >&5
19781   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19782   (exit $ac_status); } && {
19783          test -z "$ac_c_werror_flag" ||
19784          test ! -s conftest.err
19785        } && test -s conftest.$ac_objext; then
19786   ac_lo=0 ac_mid=0
19787   while :; do
19788     cat >conftest.$ac_ext <<_ACEOF
19789 /* confdefs.h.  */
19790 _ACEOF
19791 cat confdefs.h >>conftest.$ac_ext
19792 cat >>conftest.$ac_ext <<_ACEOF
19793 /* end confdefs.h.  */
19794 $ac_includes_default
19795    typedef short ac__type_sizeof_;
19796 int
19797 main ()
19798 {
19799 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19800 test_array [0] = 0
19801
19802   ;
19803   return 0;
19804 }
19805 _ACEOF
19806 rm -f conftest.$ac_objext
19807 if { (ac_try="$ac_compile"
19808 case "(($ac_try" in
19809   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19810   *) ac_try_echo=$ac_try;;
19811 esac
19812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19813   (eval "$ac_compile") 2>conftest.er1
19814   ac_status=$?
19815   grep -v '^ *+' conftest.er1 >conftest.err
19816   rm -f conftest.er1
19817   cat conftest.err >&5
19818   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19819   (exit $ac_status); } && {
19820          test -z "$ac_c_werror_flag" ||
19821          test ! -s conftest.err
19822        } && test -s conftest.$ac_objext; then
19823   ac_hi=$ac_mid; break
19824 else
19825   echo "$as_me: failed program was:" >&5
19826 sed 's/^/| /' conftest.$ac_ext >&5
19827
19828         ac_lo=`expr $ac_mid + 1`
19829                         if test $ac_lo -le $ac_mid; then
19830                           ac_lo= ac_hi=
19831                           break
19832                         fi
19833                         ac_mid=`expr 2 '*' $ac_mid + 1`
19834 fi
19835
19836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19837   done
19838 else
19839   echo "$as_me: failed program was:" >&5
19840 sed 's/^/| /' conftest.$ac_ext >&5
19841
19842         cat >conftest.$ac_ext <<_ACEOF
19843 /* confdefs.h.  */
19844 _ACEOF
19845 cat confdefs.h >>conftest.$ac_ext
19846 cat >>conftest.$ac_ext <<_ACEOF
19847 /* end confdefs.h.  */
19848 $ac_includes_default
19849    typedef short ac__type_sizeof_;
19850 int
19851 main ()
19852 {
19853 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19854 test_array [0] = 0
19855
19856   ;
19857   return 0;
19858 }
19859 _ACEOF
19860 rm -f conftest.$ac_objext
19861 if { (ac_try="$ac_compile"
19862 case "(($ac_try" in
19863   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19864   *) ac_try_echo=$ac_try;;
19865 esac
19866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19867   (eval "$ac_compile") 2>conftest.er1
19868   ac_status=$?
19869   grep -v '^ *+' conftest.er1 >conftest.err
19870   rm -f conftest.er1
19871   cat conftest.err >&5
19872   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19873   (exit $ac_status); } && {
19874          test -z "$ac_c_werror_flag" ||
19875          test ! -s conftest.err
19876        } && test -s conftest.$ac_objext; then
19877   ac_hi=-1 ac_mid=-1
19878   while :; do
19879     cat >conftest.$ac_ext <<_ACEOF
19880 /* confdefs.h.  */
19881 _ACEOF
19882 cat confdefs.h >>conftest.$ac_ext
19883 cat >>conftest.$ac_ext <<_ACEOF
19884 /* end confdefs.h.  */
19885 $ac_includes_default
19886    typedef short ac__type_sizeof_;
19887 int
19888 main ()
19889 {
19890 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19891 test_array [0] = 0
19892
19893   ;
19894   return 0;
19895 }
19896 _ACEOF
19897 rm -f conftest.$ac_objext
19898 if { (ac_try="$ac_compile"
19899 case "(($ac_try" in
19900   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19901   *) ac_try_echo=$ac_try;;
19902 esac
19903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19904   (eval "$ac_compile") 2>conftest.er1
19905   ac_status=$?
19906   grep -v '^ *+' conftest.er1 >conftest.err
19907   rm -f conftest.er1
19908   cat conftest.err >&5
19909   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19910   (exit $ac_status); } && {
19911          test -z "$ac_c_werror_flag" ||
19912          test ! -s conftest.err
19913        } && test -s conftest.$ac_objext; then
19914   ac_lo=$ac_mid; break
19915 else
19916   echo "$as_me: failed program was:" >&5
19917 sed 's/^/| /' conftest.$ac_ext >&5
19918
19919         ac_hi=`expr '(' $ac_mid ')' - 1`
19920                         if test $ac_mid -le $ac_hi; then
19921                           ac_lo= ac_hi=
19922                           break
19923                         fi
19924                         ac_mid=`expr 2 '*' $ac_mid`
19925 fi
19926
19927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19928   done
19929 else
19930   echo "$as_me: failed program was:" >&5
19931 sed 's/^/| /' conftest.$ac_ext >&5
19932
19933         ac_lo= ac_hi=
19934 fi
19935
19936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19937 fi
19938
19939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19940 # Binary search between lo and hi bounds.
19941 while test "x$ac_lo" != "x$ac_hi"; do
19942   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19943   cat >conftest.$ac_ext <<_ACEOF
19944 /* confdefs.h.  */
19945 _ACEOF
19946 cat confdefs.h >>conftest.$ac_ext
19947 cat >>conftest.$ac_ext <<_ACEOF
19948 /* end confdefs.h.  */
19949 $ac_includes_default
19950    typedef short ac__type_sizeof_;
19951 int
19952 main ()
19953 {
19954 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19955 test_array [0] = 0
19956
19957   ;
19958   return 0;
19959 }
19960 _ACEOF
19961 rm -f conftest.$ac_objext
19962 if { (ac_try="$ac_compile"
19963 case "(($ac_try" in
19964   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19965   *) ac_try_echo=$ac_try;;
19966 esac
19967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19968   (eval "$ac_compile") 2>conftest.er1
19969   ac_status=$?
19970   grep -v '^ *+' conftest.er1 >conftest.err
19971   rm -f conftest.er1
19972   cat conftest.err >&5
19973   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19974   (exit $ac_status); } && {
19975          test -z "$ac_c_werror_flag" ||
19976          test ! -s conftest.err
19977        } && test -s conftest.$ac_objext; then
19978   ac_hi=$ac_mid
19979 else
19980   echo "$as_me: failed program was:" >&5
19981 sed 's/^/| /' conftest.$ac_ext >&5
19982
19983         ac_lo=`expr '(' $ac_mid ')' + 1`
19984 fi
19985
19986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19987 done
19988 case $ac_lo in
19989 ?*) ac_cv_sizeof_short=$ac_lo;;
19990 '') if test "$ac_cv_type_short" = yes; then
19991      { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
19992 See \`config.log' for more details." >&5
19993 echo "$as_me: error: cannot compute sizeof (short)
19994 See \`config.log' for more details." >&2;}
19995    { (exit 77); exit 77; }; }
19996    else
19997      ac_cv_sizeof_short=0
19998    fi ;;
19999 esac
20000 else
20001   cat >conftest.$ac_ext <<_ACEOF
20002 /* confdefs.h.  */
20003 _ACEOF
20004 cat confdefs.h >>conftest.$ac_ext
20005 cat >>conftest.$ac_ext <<_ACEOF
20006 /* end confdefs.h.  */
20007 $ac_includes_default
20008    typedef short ac__type_sizeof_;
20009 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20010 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20011 #include <stdio.h>
20012 #include <stdlib.h>
20013 int
20014 main ()
20015 {
20016
20017   FILE *f = fopen ("conftest.val", "w");
20018   if (! f)
20019     return 1;
20020   if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20021     {
20022       long int i = longval ();
20023       if (i != ((long int) (sizeof (ac__type_sizeof_))))
20024         return 1;
20025       fprintf (f, "%ld\n", i);
20026     }
20027   else
20028     {
20029       unsigned long int i = ulongval ();
20030       if (i != ((long int) (sizeof (ac__type_sizeof_))))
20031         return 1;
20032       fprintf (f, "%lu\n", i);
20033     }
20034   return ferror (f) || fclose (f) != 0;
20035
20036   ;
20037   return 0;
20038 }
20039 _ACEOF
20040 rm -f conftest$ac_exeext
20041 if { (ac_try="$ac_link"
20042 case "(($ac_try" in
20043   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20044   *) ac_try_echo=$ac_try;;
20045 esac
20046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20047   (eval "$ac_link") 2>&5
20048   ac_status=$?
20049   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20050   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20051   { (case "(($ac_try" in
20052   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20053   *) ac_try_echo=$ac_try;;
20054 esac
20055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20056   (eval "$ac_try") 2>&5
20057   ac_status=$?
20058   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20059   (exit $ac_status); }; }; then
20060   ac_cv_sizeof_short=`cat conftest.val`
20061 else
20062   echo "$as_me: program exited with status $ac_status" >&5
20063 echo "$as_me: failed program was:" >&5
20064 sed 's/^/| /' conftest.$ac_ext >&5
20065
20066 ( exit $ac_status )
20067 if test "$ac_cv_type_short" = yes; then
20068      { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
20069 See \`config.log' for more details." >&5
20070 echo "$as_me: error: cannot compute sizeof (short)
20071 See \`config.log' for more details." >&2;}
20072    { (exit 77); exit 77; }; }
20073    else
20074      ac_cv_sizeof_short=0
20075    fi
20076 fi
20077 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20078 fi
20079 rm -f conftest.val
20080 fi
20081 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
20082 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
20083
20084
20085
20086 cat >>confdefs.h <<_ACEOF
20087 #define SIZEOF_SHORT $ac_cv_sizeof_short
20088 _ACEOF
20089
20090
20091 { echo "$as_me:$LINENO: checking for void *" >&5
20092 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
20093 if test "${ac_cv_type_void_p+set}" = set; then
20094   echo $ECHO_N "(cached) $ECHO_C" >&6
20095 else
20096   cat >conftest.$ac_ext <<_ACEOF
20097 /* confdefs.h.  */
20098 _ACEOF
20099 cat confdefs.h >>conftest.$ac_ext
20100 cat >>conftest.$ac_ext <<_ACEOF
20101 /* end confdefs.h.  */
20102 $ac_includes_default
20103 typedef void * ac__type_new_;
20104 int
20105 main ()
20106 {
20107 if ((ac__type_new_ *) 0)
20108   return 0;
20109 if (sizeof (ac__type_new_))
20110   return 0;
20111   ;
20112   return 0;
20113 }
20114 _ACEOF
20115 rm -f conftest.$ac_objext
20116 if { (ac_try="$ac_compile"
20117 case "(($ac_try" in
20118   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20119   *) ac_try_echo=$ac_try;;
20120 esac
20121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20122   (eval "$ac_compile") 2>conftest.er1
20123   ac_status=$?
20124   grep -v '^ *+' conftest.er1 >conftest.err
20125   rm -f conftest.er1
20126   cat conftest.err >&5
20127   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20128   (exit $ac_status); } && {
20129          test -z "$ac_c_werror_flag" ||
20130          test ! -s conftest.err
20131        } && test -s conftest.$ac_objext; then
20132   ac_cv_type_void_p=yes
20133 else
20134   echo "$as_me: failed program was:" >&5
20135 sed 's/^/| /' conftest.$ac_ext >&5
20136
20137         ac_cv_type_void_p=no
20138 fi
20139
20140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20141 fi
20142 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
20143 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
20144
20145 # The cast to long int works around a bug in the HP C Compiler
20146 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20147 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20148 # This bug is HP SR number 8606223364.
20149 { echo "$as_me:$LINENO: checking size of void *" >&5
20150 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
20151 if test "${ac_cv_sizeof_void_p+set}" = set; then
20152   echo $ECHO_N "(cached) $ECHO_C" >&6
20153 else
20154   if test "$cross_compiling" = yes; then
20155   # Depending upon the size, compute the lo and hi bounds.
20156 cat >conftest.$ac_ext <<_ACEOF
20157 /* confdefs.h.  */
20158 _ACEOF
20159 cat confdefs.h >>conftest.$ac_ext
20160 cat >>conftest.$ac_ext <<_ACEOF
20161 /* end confdefs.h.  */
20162 $ac_includes_default
20163    typedef void * ac__type_sizeof_;
20164 int
20165 main ()
20166 {
20167 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20168 test_array [0] = 0
20169
20170   ;
20171   return 0;
20172 }
20173 _ACEOF
20174 rm -f conftest.$ac_objext
20175 if { (ac_try="$ac_compile"
20176 case "(($ac_try" in
20177   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20178   *) ac_try_echo=$ac_try;;
20179 esac
20180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20181   (eval "$ac_compile") 2>conftest.er1
20182   ac_status=$?
20183   grep -v '^ *+' conftest.er1 >conftest.err
20184   rm -f conftest.er1
20185   cat conftest.err >&5
20186   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20187   (exit $ac_status); } && {
20188          test -z "$ac_c_werror_flag" ||
20189          test ! -s conftest.err
20190        } && test -s conftest.$ac_objext; then
20191   ac_lo=0 ac_mid=0
20192   while :; do
20193     cat >conftest.$ac_ext <<_ACEOF
20194 /* confdefs.h.  */
20195 _ACEOF
20196 cat confdefs.h >>conftest.$ac_ext
20197 cat >>conftest.$ac_ext <<_ACEOF
20198 /* end confdefs.h.  */
20199 $ac_includes_default
20200    typedef void * ac__type_sizeof_;
20201 int
20202 main ()
20203 {
20204 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20205 test_array [0] = 0
20206
20207   ;
20208   return 0;
20209 }
20210 _ACEOF
20211 rm -f conftest.$ac_objext
20212 if { (ac_try="$ac_compile"
20213 case "(($ac_try" in
20214   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20215   *) ac_try_echo=$ac_try;;
20216 esac
20217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20218   (eval "$ac_compile") 2>conftest.er1
20219   ac_status=$?
20220   grep -v '^ *+' conftest.er1 >conftest.err
20221   rm -f conftest.er1
20222   cat conftest.err >&5
20223   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20224   (exit $ac_status); } && {
20225          test -z "$ac_c_werror_flag" ||
20226          test ! -s conftest.err
20227        } && test -s conftest.$ac_objext; then
20228   ac_hi=$ac_mid; break
20229 else
20230   echo "$as_me: failed program was:" >&5
20231 sed 's/^/| /' conftest.$ac_ext >&5
20232
20233         ac_lo=`expr $ac_mid + 1`
20234                         if test $ac_lo -le $ac_mid; then
20235                           ac_lo= ac_hi=
20236                           break
20237                         fi
20238                         ac_mid=`expr 2 '*' $ac_mid + 1`
20239 fi
20240
20241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20242   done
20243 else
20244   echo "$as_me: failed program was:" >&5
20245 sed 's/^/| /' conftest.$ac_ext >&5
20246
20247         cat >conftest.$ac_ext <<_ACEOF
20248 /* confdefs.h.  */
20249 _ACEOF
20250 cat confdefs.h >>conftest.$ac_ext
20251 cat >>conftest.$ac_ext <<_ACEOF
20252 /* end confdefs.h.  */
20253 $ac_includes_default
20254    typedef void * ac__type_sizeof_;
20255 int
20256 main ()
20257 {
20258 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20259 test_array [0] = 0
20260
20261   ;
20262   return 0;
20263 }
20264 _ACEOF
20265 rm -f conftest.$ac_objext
20266 if { (ac_try="$ac_compile"
20267 case "(($ac_try" in
20268   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20269   *) ac_try_echo=$ac_try;;
20270 esac
20271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20272   (eval "$ac_compile") 2>conftest.er1
20273   ac_status=$?
20274   grep -v '^ *+' conftest.er1 >conftest.err
20275   rm -f conftest.er1
20276   cat conftest.err >&5
20277   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20278   (exit $ac_status); } && {
20279          test -z "$ac_c_werror_flag" ||
20280          test ! -s conftest.err
20281        } && test -s conftest.$ac_objext; then
20282   ac_hi=-1 ac_mid=-1
20283   while :; do
20284     cat >conftest.$ac_ext <<_ACEOF
20285 /* confdefs.h.  */
20286 _ACEOF
20287 cat confdefs.h >>conftest.$ac_ext
20288 cat >>conftest.$ac_ext <<_ACEOF
20289 /* end confdefs.h.  */
20290 $ac_includes_default
20291    typedef void * ac__type_sizeof_;
20292 int
20293 main ()
20294 {
20295 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20296 test_array [0] = 0
20297
20298   ;
20299   return 0;
20300 }
20301 _ACEOF
20302 rm -f conftest.$ac_objext
20303 if { (ac_try="$ac_compile"
20304 case "(($ac_try" in
20305   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20306   *) ac_try_echo=$ac_try;;
20307 esac
20308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20309   (eval "$ac_compile") 2>conftest.er1
20310   ac_status=$?
20311   grep -v '^ *+' conftest.er1 >conftest.err
20312   rm -f conftest.er1
20313   cat conftest.err >&5
20314   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20315   (exit $ac_status); } && {
20316          test -z "$ac_c_werror_flag" ||
20317          test ! -s conftest.err
20318        } && test -s conftest.$ac_objext; then
20319   ac_lo=$ac_mid; break
20320 else
20321   echo "$as_me: failed program was:" >&5
20322 sed 's/^/| /' conftest.$ac_ext >&5
20323
20324         ac_hi=`expr '(' $ac_mid ')' - 1`
20325                         if test $ac_mid -le $ac_hi; then
20326                           ac_lo= ac_hi=
20327                           break
20328                         fi
20329                         ac_mid=`expr 2 '*' $ac_mid`
20330 fi
20331
20332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20333   done
20334 else
20335   echo "$as_me: failed program was:" >&5
20336 sed 's/^/| /' conftest.$ac_ext >&5
20337
20338         ac_lo= ac_hi=
20339 fi
20340
20341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20342 fi
20343
20344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20345 # Binary search between lo and hi bounds.
20346 while test "x$ac_lo" != "x$ac_hi"; do
20347   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20348   cat >conftest.$ac_ext <<_ACEOF
20349 /* confdefs.h.  */
20350 _ACEOF
20351 cat confdefs.h >>conftest.$ac_ext
20352 cat >>conftest.$ac_ext <<_ACEOF
20353 /* end confdefs.h.  */
20354 $ac_includes_default
20355    typedef void * ac__type_sizeof_;
20356 int
20357 main ()
20358 {
20359 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20360 test_array [0] = 0
20361
20362   ;
20363   return 0;
20364 }
20365 _ACEOF
20366 rm -f conftest.$ac_objext
20367 if { (ac_try="$ac_compile"
20368 case "(($ac_try" in
20369   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20370   *) ac_try_echo=$ac_try;;
20371 esac
20372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20373   (eval "$ac_compile") 2>conftest.er1
20374   ac_status=$?
20375   grep -v '^ *+' conftest.er1 >conftest.err
20376   rm -f conftest.er1
20377   cat conftest.err >&5
20378   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20379   (exit $ac_status); } && {
20380          test -z "$ac_c_werror_flag" ||
20381          test ! -s conftest.err
20382        } && test -s conftest.$ac_objext; then
20383   ac_hi=$ac_mid
20384 else
20385   echo "$as_me: failed program was:" >&5
20386 sed 's/^/| /' conftest.$ac_ext >&5
20387
20388         ac_lo=`expr '(' $ac_mid ')' + 1`
20389 fi
20390
20391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20392 done
20393 case $ac_lo in
20394 ?*) ac_cv_sizeof_void_p=$ac_lo;;
20395 '') if test "$ac_cv_type_void_p" = yes; then
20396      { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
20397 See \`config.log' for more details." >&5
20398 echo "$as_me: error: cannot compute sizeof (void *)
20399 See \`config.log' for more details." >&2;}
20400    { (exit 77); exit 77; }; }
20401    else
20402      ac_cv_sizeof_void_p=0
20403    fi ;;
20404 esac
20405 else
20406   cat >conftest.$ac_ext <<_ACEOF
20407 /* confdefs.h.  */
20408 _ACEOF
20409 cat confdefs.h >>conftest.$ac_ext
20410 cat >>conftest.$ac_ext <<_ACEOF
20411 /* end confdefs.h.  */
20412 $ac_includes_default
20413    typedef void * ac__type_sizeof_;
20414 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20415 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20416 #include <stdio.h>
20417 #include <stdlib.h>
20418 int
20419 main ()
20420 {
20421
20422   FILE *f = fopen ("conftest.val", "w");
20423   if (! f)
20424     return 1;
20425   if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20426     {
20427       long int i = longval ();
20428       if (i != ((long int) (sizeof (ac__type_sizeof_))))
20429         return 1;
20430       fprintf (f, "%ld\n", i);
20431     }
20432   else
20433     {
20434       unsigned long int i = ulongval ();
20435       if (i != ((long int) (sizeof (ac__type_sizeof_))))
20436         return 1;
20437       fprintf (f, "%lu\n", i);
20438     }
20439   return ferror (f) || fclose (f) != 0;
20440
20441   ;
20442   return 0;
20443 }
20444 _ACEOF
20445 rm -f conftest$ac_exeext
20446 if { (ac_try="$ac_link"
20447 case "(($ac_try" in
20448   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20449   *) ac_try_echo=$ac_try;;
20450 esac
20451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20452   (eval "$ac_link") 2>&5
20453   ac_status=$?
20454   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20455   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20456   { (case "(($ac_try" in
20457   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20458   *) ac_try_echo=$ac_try;;
20459 esac
20460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20461   (eval "$ac_try") 2>&5
20462   ac_status=$?
20463   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20464   (exit $ac_status); }; }; then
20465   ac_cv_sizeof_void_p=`cat conftest.val`
20466 else
20467   echo "$as_me: program exited with status $ac_status" >&5
20468 echo "$as_me: failed program was:" >&5
20469 sed 's/^/| /' conftest.$ac_ext >&5
20470
20471 ( exit $ac_status )
20472 if test "$ac_cv_type_void_p" = yes; then
20473      { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
20474 See \`config.log' for more details." >&5
20475 echo "$as_me: error: cannot compute sizeof (void *)
20476 See \`config.log' for more details." >&2;}
20477    { (exit 77); exit 77; }; }
20478    else
20479      ac_cv_sizeof_void_p=0
20480    fi
20481 fi
20482 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20483 fi
20484 rm -f conftest.val
20485 fi
20486 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
20487 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
20488
20489
20490
20491 cat >>confdefs.h <<_ACEOF
20492 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
20493 _ACEOF
20494
20495
20496 { echo "$as_me:$LINENO: checking for int" >&5
20497 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
20498 if test "${ac_cv_type_int+set}" = set; then
20499   echo $ECHO_N "(cached) $ECHO_C" >&6
20500 else
20501   cat >conftest.$ac_ext <<_ACEOF
20502 /* confdefs.h.  */
20503 _ACEOF
20504 cat confdefs.h >>conftest.$ac_ext
20505 cat >>conftest.$ac_ext <<_ACEOF
20506 /* end confdefs.h.  */
20507 $ac_includes_default
20508 typedef int ac__type_new_;
20509 int
20510 main ()
20511 {
20512 if ((ac__type_new_ *) 0)
20513   return 0;
20514 if (sizeof (ac__type_new_))
20515   return 0;
20516   ;
20517   return 0;
20518 }
20519 _ACEOF
20520 rm -f conftest.$ac_objext
20521 if { (ac_try="$ac_compile"
20522 case "(($ac_try" in
20523   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20524   *) ac_try_echo=$ac_try;;
20525 esac
20526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20527   (eval "$ac_compile") 2>conftest.er1
20528   ac_status=$?
20529   grep -v '^ *+' conftest.er1 >conftest.err
20530   rm -f conftest.er1
20531   cat conftest.err >&5
20532   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20533   (exit $ac_status); } && {
20534          test -z "$ac_c_werror_flag" ||
20535          test ! -s conftest.err
20536        } && test -s conftest.$ac_objext; then
20537   ac_cv_type_int=yes
20538 else
20539   echo "$as_me: failed program was:" >&5
20540 sed 's/^/| /' conftest.$ac_ext >&5
20541
20542         ac_cv_type_int=no
20543 fi
20544
20545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20546 fi
20547 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
20548 echo "${ECHO_T}$ac_cv_type_int" >&6; }
20549
20550 # The cast to long int works around a bug in the HP C Compiler
20551 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20552 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20553 # This bug is HP SR number 8606223364.
20554 { echo "$as_me:$LINENO: checking size of int" >&5
20555 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
20556 if test "${ac_cv_sizeof_int+set}" = set; then
20557   echo $ECHO_N "(cached) $ECHO_C" >&6
20558 else
20559   if test "$cross_compiling" = yes; then
20560   # Depending upon the size, compute the lo and hi bounds.
20561 cat >conftest.$ac_ext <<_ACEOF
20562 /* confdefs.h.  */
20563 _ACEOF
20564 cat confdefs.h >>conftest.$ac_ext
20565 cat >>conftest.$ac_ext <<_ACEOF
20566 /* end confdefs.h.  */
20567 $ac_includes_default
20568    typedef int ac__type_sizeof_;
20569 int
20570 main ()
20571 {
20572 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20573 test_array [0] = 0
20574
20575   ;
20576   return 0;
20577 }
20578 _ACEOF
20579 rm -f conftest.$ac_objext
20580 if { (ac_try="$ac_compile"
20581 case "(($ac_try" in
20582   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20583   *) ac_try_echo=$ac_try;;
20584 esac
20585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20586   (eval "$ac_compile") 2>conftest.er1
20587   ac_status=$?
20588   grep -v '^ *+' conftest.er1 >conftest.err
20589   rm -f conftest.er1
20590   cat conftest.err >&5
20591   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20592   (exit $ac_status); } && {
20593          test -z "$ac_c_werror_flag" ||
20594          test ! -s conftest.err
20595        } && test -s conftest.$ac_objext; then
20596   ac_lo=0 ac_mid=0
20597   while :; do
20598     cat >conftest.$ac_ext <<_ACEOF
20599 /* confdefs.h.  */
20600 _ACEOF
20601 cat confdefs.h >>conftest.$ac_ext
20602 cat >>conftest.$ac_ext <<_ACEOF
20603 /* end confdefs.h.  */
20604 $ac_includes_default
20605    typedef int ac__type_sizeof_;
20606 int
20607 main ()
20608 {
20609 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20610 test_array [0] = 0
20611
20612   ;
20613   return 0;
20614 }
20615 _ACEOF
20616 rm -f conftest.$ac_objext
20617 if { (ac_try="$ac_compile"
20618 case "(($ac_try" in
20619   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20620   *) ac_try_echo=$ac_try;;
20621 esac
20622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20623   (eval "$ac_compile") 2>conftest.er1
20624   ac_status=$?
20625   grep -v '^ *+' conftest.er1 >conftest.err
20626   rm -f conftest.er1
20627   cat conftest.err >&5
20628   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20629   (exit $ac_status); } && {
20630          test -z "$ac_c_werror_flag" ||
20631          test ! -s conftest.err
20632        } && test -s conftest.$ac_objext; then
20633   ac_hi=$ac_mid; break
20634 else
20635   echo "$as_me: failed program was:" >&5
20636 sed 's/^/| /' conftest.$ac_ext >&5
20637
20638         ac_lo=`expr $ac_mid + 1`
20639                         if test $ac_lo -le $ac_mid; then
20640                           ac_lo= ac_hi=
20641                           break
20642                         fi
20643                         ac_mid=`expr 2 '*' $ac_mid + 1`
20644 fi
20645
20646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20647   done
20648 else
20649   echo "$as_me: failed program was:" >&5
20650 sed 's/^/| /' conftest.$ac_ext >&5
20651
20652         cat >conftest.$ac_ext <<_ACEOF
20653 /* confdefs.h.  */
20654 _ACEOF
20655 cat confdefs.h >>conftest.$ac_ext
20656 cat >>conftest.$ac_ext <<_ACEOF
20657 /* end confdefs.h.  */
20658 $ac_includes_default
20659    typedef int ac__type_sizeof_;
20660 int
20661 main ()
20662 {
20663 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20664 test_array [0] = 0
20665
20666   ;
20667   return 0;
20668 }
20669 _ACEOF
20670 rm -f conftest.$ac_objext
20671 if { (ac_try="$ac_compile"
20672 case "(($ac_try" in
20673   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20674   *) ac_try_echo=$ac_try;;
20675 esac
20676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20677   (eval "$ac_compile") 2>conftest.er1
20678   ac_status=$?
20679   grep -v '^ *+' conftest.er1 >conftest.err
20680   rm -f conftest.er1
20681   cat conftest.err >&5
20682   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20683   (exit $ac_status); } && {
20684          test -z "$ac_c_werror_flag" ||
20685          test ! -s conftest.err
20686        } && test -s conftest.$ac_objext; then
20687   ac_hi=-1 ac_mid=-1
20688   while :; do
20689     cat >conftest.$ac_ext <<_ACEOF
20690 /* confdefs.h.  */
20691 _ACEOF
20692 cat confdefs.h >>conftest.$ac_ext
20693 cat >>conftest.$ac_ext <<_ACEOF
20694 /* end confdefs.h.  */
20695 $ac_includes_default
20696    typedef int ac__type_sizeof_;
20697 int
20698 main ()
20699 {
20700 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20701 test_array [0] = 0
20702
20703   ;
20704   return 0;
20705 }
20706 _ACEOF
20707 rm -f conftest.$ac_objext
20708 if { (ac_try="$ac_compile"
20709 case "(($ac_try" in
20710   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20711   *) ac_try_echo=$ac_try;;
20712 esac
20713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20714   (eval "$ac_compile") 2>conftest.er1
20715   ac_status=$?
20716   grep -v '^ *+' conftest.er1 >conftest.err
20717   rm -f conftest.er1
20718   cat conftest.err >&5
20719   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20720   (exit $ac_status); } && {
20721          test -z "$ac_c_werror_flag" ||
20722          test ! -s conftest.err
20723        } && test -s conftest.$ac_objext; then
20724   ac_lo=$ac_mid; break
20725 else
20726   echo "$as_me: failed program was:" >&5
20727 sed 's/^/| /' conftest.$ac_ext >&5
20728
20729         ac_hi=`expr '(' $ac_mid ')' - 1`
20730                         if test $ac_mid -le $ac_hi; then
20731                           ac_lo= ac_hi=
20732                           break
20733                         fi
20734                         ac_mid=`expr 2 '*' $ac_mid`
20735 fi
20736
20737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20738   done
20739 else
20740   echo "$as_me: failed program was:" >&5
20741 sed 's/^/| /' conftest.$ac_ext >&5
20742
20743         ac_lo= ac_hi=
20744 fi
20745
20746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20747 fi
20748
20749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20750 # Binary search between lo and hi bounds.
20751 while test "x$ac_lo" != "x$ac_hi"; do
20752   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20753   cat >conftest.$ac_ext <<_ACEOF
20754 /* confdefs.h.  */
20755 _ACEOF
20756 cat confdefs.h >>conftest.$ac_ext
20757 cat >>conftest.$ac_ext <<_ACEOF
20758 /* end confdefs.h.  */
20759 $ac_includes_default
20760    typedef int ac__type_sizeof_;
20761 int
20762 main ()
20763 {
20764 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20765 test_array [0] = 0
20766
20767   ;
20768   return 0;
20769 }
20770 _ACEOF
20771 rm -f conftest.$ac_objext
20772 if { (ac_try="$ac_compile"
20773 case "(($ac_try" in
20774   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20775   *) ac_try_echo=$ac_try;;
20776 esac
20777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20778   (eval "$ac_compile") 2>conftest.er1
20779   ac_status=$?
20780   grep -v '^ *+' conftest.er1 >conftest.err
20781   rm -f conftest.er1
20782   cat conftest.err >&5
20783   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20784   (exit $ac_status); } && {
20785          test -z "$ac_c_werror_flag" ||
20786          test ! -s conftest.err
20787        } && test -s conftest.$ac_objext; then
20788   ac_hi=$ac_mid
20789 else
20790   echo "$as_me: failed program was:" >&5
20791 sed 's/^/| /' conftest.$ac_ext >&5
20792
20793         ac_lo=`expr '(' $ac_mid ')' + 1`
20794 fi
20795
20796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20797 done
20798 case $ac_lo in
20799 ?*) ac_cv_sizeof_int=$ac_lo;;
20800 '') if test "$ac_cv_type_int" = yes; then
20801      { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20802 See \`config.log' for more details." >&5
20803 echo "$as_me: error: cannot compute sizeof (int)
20804 See \`config.log' for more details." >&2;}
20805    { (exit 77); exit 77; }; }
20806    else
20807      ac_cv_sizeof_int=0
20808    fi ;;
20809 esac
20810 else
20811   cat >conftest.$ac_ext <<_ACEOF
20812 /* confdefs.h.  */
20813 _ACEOF
20814 cat confdefs.h >>conftest.$ac_ext
20815 cat >>conftest.$ac_ext <<_ACEOF
20816 /* end confdefs.h.  */
20817 $ac_includes_default
20818    typedef int ac__type_sizeof_;
20819 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20820 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20821 #include <stdio.h>
20822 #include <stdlib.h>
20823 int
20824 main ()
20825 {
20826
20827   FILE *f = fopen ("conftest.val", "w");
20828   if (! f)
20829     return 1;
20830   if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20831     {
20832       long int i = longval ();
20833       if (i != ((long int) (sizeof (ac__type_sizeof_))))
20834         return 1;
20835       fprintf (f, "%ld\n", i);
20836     }
20837   else
20838     {
20839       unsigned long int i = ulongval ();
20840       if (i != ((long int) (sizeof (ac__type_sizeof_))))
20841         return 1;
20842       fprintf (f, "%lu\n", i);
20843     }
20844   return ferror (f) || fclose (f) != 0;
20845
20846   ;
20847   return 0;
20848 }
20849 _ACEOF
20850 rm -f conftest$ac_exeext
20851 if { (ac_try="$ac_link"
20852 case "(($ac_try" in
20853   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20854   *) ac_try_echo=$ac_try;;
20855 esac
20856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20857   (eval "$ac_link") 2>&5
20858   ac_status=$?
20859   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20860   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20861   { (case "(($ac_try" in
20862   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20863   *) ac_try_echo=$ac_try;;
20864 esac
20865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20866   (eval "$ac_try") 2>&5
20867   ac_status=$?
20868   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20869   (exit $ac_status); }; }; then
20870   ac_cv_sizeof_int=`cat conftest.val`
20871 else
20872   echo "$as_me: program exited with status $ac_status" >&5
20873 echo "$as_me: failed program was:" >&5
20874 sed 's/^/| /' conftest.$ac_ext >&5
20875
20876 ( exit $ac_status )
20877 if test "$ac_cv_type_int" = yes; then
20878      { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20879 See \`config.log' for more details." >&5
20880 echo "$as_me: error: cannot compute sizeof (int)
20881 See \`config.log' for more details." >&2;}
20882    { (exit 77); exit 77; }; }
20883    else
20884      ac_cv_sizeof_int=0
20885    fi
20886 fi
20887 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20888 fi
20889 rm -f conftest.val
20890 fi
20891 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
20892 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
20893
20894
20895
20896 cat >>confdefs.h <<_ACEOF
20897 #define SIZEOF_INT $ac_cv_sizeof_int
20898 _ACEOF
20899
20900
20901 { echo "$as_me:$LINENO: checking for long" >&5
20902 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
20903 if test "${ac_cv_type_long+set}" = set; then
20904   echo $ECHO_N "(cached) $ECHO_C" >&6
20905 else
20906   cat >conftest.$ac_ext <<_ACEOF
20907 /* confdefs.h.  */
20908 _ACEOF
20909 cat confdefs.h >>conftest.$ac_ext
20910 cat >>conftest.$ac_ext <<_ACEOF
20911 /* end confdefs.h.  */
20912 $ac_includes_default
20913 typedef long ac__type_new_;
20914 int
20915 main ()
20916 {
20917 if ((ac__type_new_ *) 0)
20918   return 0;
20919 if (sizeof (ac__type_new_))
20920   return 0;
20921   ;
20922   return 0;
20923 }
20924 _ACEOF
20925 rm -f conftest.$ac_objext
20926 if { (ac_try="$ac_compile"
20927 case "(($ac_try" in
20928   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20929   *) ac_try_echo=$ac_try;;
20930 esac
20931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20932   (eval "$ac_compile") 2>conftest.er1
20933   ac_status=$?
20934   grep -v '^ *+' conftest.er1 >conftest.err
20935   rm -f conftest.er1
20936   cat conftest.err >&5
20937   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20938   (exit $ac_status); } && {
20939          test -z "$ac_c_werror_flag" ||
20940          test ! -s conftest.err
20941        } && test -s conftest.$ac_objext; then
20942   ac_cv_type_long=yes
20943 else
20944   echo "$as_me: failed program was:" >&5
20945 sed 's/^/| /' conftest.$ac_ext >&5
20946
20947         ac_cv_type_long=no
20948 fi
20949
20950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20951 fi
20952 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
20953 echo "${ECHO_T}$ac_cv_type_long" >&6; }
20954
20955 # The cast to long int works around a bug in the HP C Compiler
20956 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20957 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20958 # This bug is HP SR number 8606223364.
20959 { echo "$as_me:$LINENO: checking size of long" >&5
20960 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
20961 if test "${ac_cv_sizeof_long+set}" = set; then
20962   echo $ECHO_N "(cached) $ECHO_C" >&6
20963 else
20964   if test "$cross_compiling" = yes; then
20965   # Depending upon the size, compute the lo and hi bounds.
20966 cat >conftest.$ac_ext <<_ACEOF
20967 /* confdefs.h.  */
20968 _ACEOF
20969 cat confdefs.h >>conftest.$ac_ext
20970 cat >>conftest.$ac_ext <<_ACEOF
20971 /* end confdefs.h.  */
20972 $ac_includes_default
20973    typedef long ac__type_sizeof_;
20974 int
20975 main ()
20976 {
20977 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20978 test_array [0] = 0
20979
20980   ;
20981   return 0;
20982 }
20983 _ACEOF
20984 rm -f conftest.$ac_objext
20985 if { (ac_try="$ac_compile"
20986 case "(($ac_try" in
20987   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20988   *) ac_try_echo=$ac_try;;
20989 esac
20990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20991   (eval "$ac_compile") 2>conftest.er1
20992   ac_status=$?
20993   grep -v '^ *+' conftest.er1 >conftest.err
20994   rm -f conftest.er1
20995   cat conftest.err >&5
20996   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20997   (exit $ac_status); } && {
20998          test -z "$ac_c_werror_flag" ||
20999          test ! -s conftest.err
21000        } && test -s conftest.$ac_objext; then
21001   ac_lo=0 ac_mid=0
21002   while :; do
21003     cat >conftest.$ac_ext <<_ACEOF
21004 /* confdefs.h.  */
21005 _ACEOF
21006 cat confdefs.h >>conftest.$ac_ext
21007 cat >>conftest.$ac_ext <<_ACEOF
21008 /* end confdefs.h.  */
21009 $ac_includes_default
21010    typedef long ac__type_sizeof_;
21011 int
21012 main ()
21013 {
21014 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21015 test_array [0] = 0
21016
21017   ;
21018   return 0;
21019 }
21020 _ACEOF
21021 rm -f conftest.$ac_objext
21022 if { (ac_try="$ac_compile"
21023 case "(($ac_try" in
21024   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21025   *) ac_try_echo=$ac_try;;
21026 esac
21027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21028   (eval "$ac_compile") 2>conftest.er1
21029   ac_status=$?
21030   grep -v '^ *+' conftest.er1 >conftest.err
21031   rm -f conftest.er1
21032   cat conftest.err >&5
21033   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21034   (exit $ac_status); } && {
21035          test -z "$ac_c_werror_flag" ||
21036          test ! -s conftest.err
21037        } && test -s conftest.$ac_objext; then
21038   ac_hi=$ac_mid; break
21039 else
21040   echo "$as_me: failed program was:" >&5
21041 sed 's/^/| /' conftest.$ac_ext >&5
21042
21043         ac_lo=`expr $ac_mid + 1`
21044                         if test $ac_lo -le $ac_mid; then
21045                           ac_lo= ac_hi=
21046                           break
21047                         fi
21048                         ac_mid=`expr 2 '*' $ac_mid + 1`
21049 fi
21050
21051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21052   done
21053 else
21054   echo "$as_me: failed program was:" >&5
21055 sed 's/^/| /' conftest.$ac_ext >&5
21056
21057         cat >conftest.$ac_ext <<_ACEOF
21058 /* confdefs.h.  */
21059 _ACEOF
21060 cat confdefs.h >>conftest.$ac_ext
21061 cat >>conftest.$ac_ext <<_ACEOF
21062 /* end confdefs.h.  */
21063 $ac_includes_default
21064    typedef long ac__type_sizeof_;
21065 int
21066 main ()
21067 {
21068 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21069 test_array [0] = 0
21070
21071   ;
21072   return 0;
21073 }
21074 _ACEOF
21075 rm -f conftest.$ac_objext
21076 if { (ac_try="$ac_compile"
21077 case "(($ac_try" in
21078   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21079   *) ac_try_echo=$ac_try;;
21080 esac
21081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21082   (eval "$ac_compile") 2>conftest.er1
21083   ac_status=$?
21084   grep -v '^ *+' conftest.er1 >conftest.err
21085   rm -f conftest.er1
21086   cat conftest.err >&5
21087   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21088   (exit $ac_status); } && {
21089          test -z "$ac_c_werror_flag" ||
21090          test ! -s conftest.err
21091        } && test -s conftest.$ac_objext; then
21092   ac_hi=-1 ac_mid=-1
21093   while :; do
21094     cat >conftest.$ac_ext <<_ACEOF
21095 /* confdefs.h.  */
21096 _ACEOF
21097 cat confdefs.h >>conftest.$ac_ext
21098 cat >>conftest.$ac_ext <<_ACEOF
21099 /* end confdefs.h.  */
21100 $ac_includes_default
21101    typedef long ac__type_sizeof_;
21102 int
21103 main ()
21104 {
21105 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21106 test_array [0] = 0
21107
21108   ;
21109   return 0;
21110 }
21111 _ACEOF
21112 rm -f conftest.$ac_objext
21113 if { (ac_try="$ac_compile"
21114 case "(($ac_try" in
21115   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21116   *) ac_try_echo=$ac_try;;
21117 esac
21118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21119   (eval "$ac_compile") 2>conftest.er1
21120   ac_status=$?
21121   grep -v '^ *+' conftest.er1 >conftest.err
21122   rm -f conftest.er1
21123   cat conftest.err >&5
21124   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21125   (exit $ac_status); } && {
21126          test -z "$ac_c_werror_flag" ||
21127          test ! -s conftest.err
21128        } && test -s conftest.$ac_objext; then
21129   ac_lo=$ac_mid; break
21130 else
21131   echo "$as_me: failed program was:" >&5
21132 sed 's/^/| /' conftest.$ac_ext >&5
21133
21134         ac_hi=`expr '(' $ac_mid ')' - 1`
21135                         if test $ac_mid -le $ac_hi; then
21136                           ac_lo= ac_hi=
21137                           break
21138                         fi
21139                         ac_mid=`expr 2 '*' $ac_mid`
21140 fi
21141
21142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21143   done
21144 else
21145   echo "$as_me: failed program was:" >&5
21146 sed 's/^/| /' conftest.$ac_ext >&5
21147
21148         ac_lo= ac_hi=
21149 fi
21150
21151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21152 fi
21153
21154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21155 # Binary search between lo and hi bounds.
21156 while test "x$ac_lo" != "x$ac_hi"; do
21157   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21158   cat >conftest.$ac_ext <<_ACEOF
21159 /* confdefs.h.  */
21160 _ACEOF
21161 cat confdefs.h >>conftest.$ac_ext
21162 cat >>conftest.$ac_ext <<_ACEOF
21163 /* end confdefs.h.  */
21164 $ac_includes_default
21165    typedef long ac__type_sizeof_;
21166 int
21167 main ()
21168 {
21169 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21170 test_array [0] = 0
21171
21172   ;
21173   return 0;
21174 }
21175 _ACEOF
21176 rm -f conftest.$ac_objext
21177 if { (ac_try="$ac_compile"
21178 case "(($ac_try" in
21179   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21180   *) ac_try_echo=$ac_try;;
21181 esac
21182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21183   (eval "$ac_compile") 2>conftest.er1
21184   ac_status=$?
21185   grep -v '^ *+' conftest.er1 >conftest.err
21186   rm -f conftest.er1
21187   cat conftest.err >&5
21188   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21189   (exit $ac_status); } && {
21190          test -z "$ac_c_werror_flag" ||
21191          test ! -s conftest.err
21192        } && test -s conftest.$ac_objext; then
21193   ac_hi=$ac_mid
21194 else
21195   echo "$as_me: failed program was:" >&5
21196 sed 's/^/| /' conftest.$ac_ext >&5
21197
21198         ac_lo=`expr '(' $ac_mid ')' + 1`
21199 fi
21200
21201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21202 done
21203 case $ac_lo in
21204 ?*) ac_cv_sizeof_long=$ac_lo;;
21205 '') if test "$ac_cv_type_long" = yes; then
21206      { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
21207 See \`config.log' for more details." >&5
21208 echo "$as_me: error: cannot compute sizeof (long)
21209 See \`config.log' for more details." >&2;}
21210    { (exit 77); exit 77; }; }
21211    else
21212      ac_cv_sizeof_long=0
21213    fi ;;
21214 esac
21215 else
21216   cat >conftest.$ac_ext <<_ACEOF
21217 /* confdefs.h.  */
21218 _ACEOF
21219 cat confdefs.h >>conftest.$ac_ext
21220 cat >>conftest.$ac_ext <<_ACEOF
21221 /* end confdefs.h.  */
21222 $ac_includes_default
21223    typedef long ac__type_sizeof_;
21224 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21225 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21226 #include <stdio.h>
21227 #include <stdlib.h>
21228 int
21229 main ()
21230 {
21231
21232   FILE *f = fopen ("conftest.val", "w");
21233   if (! f)
21234     return 1;
21235   if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21236     {
21237       long int i = longval ();
21238       if (i != ((long int) (sizeof (ac__type_sizeof_))))
21239         return 1;
21240       fprintf (f, "%ld\n", i);
21241     }
21242   else
21243     {
21244       unsigned long int i = ulongval ();
21245       if (i != ((long int) (sizeof (ac__type_sizeof_))))
21246         return 1;
21247       fprintf (f, "%lu\n", i);
21248     }
21249   return ferror (f) || fclose (f) != 0;
21250
21251   ;
21252   return 0;
21253 }
21254 _ACEOF
21255 rm -f conftest$ac_exeext
21256 if { (ac_try="$ac_link"
21257 case "(($ac_try" in
21258   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21259   *) ac_try_echo=$ac_try;;
21260 esac
21261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21262   (eval "$ac_link") 2>&5
21263   ac_status=$?
21264   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21265   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21266   { (case "(($ac_try" in
21267   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21268   *) ac_try_echo=$ac_try;;
21269 esac
21270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21271   (eval "$ac_try") 2>&5
21272   ac_status=$?
21273   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21274   (exit $ac_status); }; }; then
21275   ac_cv_sizeof_long=`cat conftest.val`
21276 else
21277   echo "$as_me: program exited with status $ac_status" >&5
21278 echo "$as_me: failed program was:" >&5
21279 sed 's/^/| /' conftest.$ac_ext >&5
21280
21281 ( exit $ac_status )
21282 if test "$ac_cv_type_long" = yes; then
21283      { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
21284 See \`config.log' for more details." >&5
21285 echo "$as_me: error: cannot compute sizeof (long)
21286 See \`config.log' for more details." >&2;}
21287    { (exit 77); exit 77; }; }
21288    else
21289      ac_cv_sizeof_long=0
21290    fi
21291 fi
21292 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21293 fi
21294 rm -f conftest.val
21295 fi
21296 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
21297 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
21298
21299
21300
21301 cat >>confdefs.h <<_ACEOF
21302 #define SIZEOF_LONG $ac_cv_sizeof_long
21303 _ACEOF
21304
21305
21306 { echo "$as_me:$LINENO: checking for size_t" >&5
21307 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
21308 if test "${ac_cv_type_size_t+set}" = set; then
21309   echo $ECHO_N "(cached) $ECHO_C" >&6
21310 else
21311   cat >conftest.$ac_ext <<_ACEOF
21312 /* confdefs.h.  */
21313 _ACEOF
21314 cat confdefs.h >>conftest.$ac_ext
21315 cat >>conftest.$ac_ext <<_ACEOF
21316 /* end confdefs.h.  */
21317 $ac_includes_default
21318 typedef size_t ac__type_new_;
21319 int
21320 main ()
21321 {
21322 if ((ac__type_new_ *) 0)
21323   return 0;
21324 if (sizeof (ac__type_new_))
21325   return 0;
21326   ;
21327   return 0;
21328 }
21329 _ACEOF
21330 rm -f conftest.$ac_objext
21331 if { (ac_try="$ac_compile"
21332 case "(($ac_try" in
21333   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21334   *) ac_try_echo=$ac_try;;
21335 esac
21336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21337   (eval "$ac_compile") 2>conftest.er1
21338   ac_status=$?
21339   grep -v '^ *+' conftest.er1 >conftest.err
21340   rm -f conftest.er1
21341   cat conftest.err >&5
21342   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21343   (exit $ac_status); } && {
21344          test -z "$ac_c_werror_flag" ||
21345          test ! -s conftest.err
21346        } && test -s conftest.$ac_objext; then
21347   ac_cv_type_size_t=yes
21348 else
21349   echo "$as_me: failed program was:" >&5
21350 sed 's/^/| /' conftest.$ac_ext >&5
21351
21352         ac_cv_type_size_t=no
21353 fi
21354
21355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21356 fi
21357 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
21358 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
21359
21360 # The cast to long int works around a bug in the HP C Compiler
21361 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21362 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21363 # This bug is HP SR number 8606223364.
21364 { echo "$as_me:$LINENO: checking size of size_t" >&5
21365 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
21366 if test "${ac_cv_sizeof_size_t+set}" = set; then
21367   echo $ECHO_N "(cached) $ECHO_C" >&6
21368 else
21369   if test "$cross_compiling" = yes; then
21370   # Depending upon the size, compute the lo and hi bounds.
21371 cat >conftest.$ac_ext <<_ACEOF
21372 /* confdefs.h.  */
21373 _ACEOF
21374 cat confdefs.h >>conftest.$ac_ext
21375 cat >>conftest.$ac_ext <<_ACEOF
21376 /* end confdefs.h.  */
21377 $ac_includes_default
21378    typedef size_t ac__type_sizeof_;
21379 int
21380 main ()
21381 {
21382 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21383 test_array [0] = 0
21384
21385   ;
21386   return 0;
21387 }
21388 _ACEOF
21389 rm -f conftest.$ac_objext
21390 if { (ac_try="$ac_compile"
21391 case "(($ac_try" in
21392   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21393   *) ac_try_echo=$ac_try;;
21394 esac
21395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21396   (eval "$ac_compile") 2>conftest.er1
21397   ac_status=$?
21398   grep -v '^ *+' conftest.er1 >conftest.err
21399   rm -f conftest.er1
21400   cat conftest.err >&5
21401   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21402   (exit $ac_status); } && {
21403          test -z "$ac_c_werror_flag" ||
21404          test ! -s conftest.err
21405        } && test -s conftest.$ac_objext; then
21406   ac_lo=0 ac_mid=0
21407   while :; do
21408     cat >conftest.$ac_ext <<_ACEOF
21409 /* confdefs.h.  */
21410 _ACEOF
21411 cat confdefs.h >>conftest.$ac_ext
21412 cat >>conftest.$ac_ext <<_ACEOF
21413 /* end confdefs.h.  */
21414 $ac_includes_default
21415    typedef size_t ac__type_sizeof_;
21416 int
21417 main ()
21418 {
21419 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21420 test_array [0] = 0
21421
21422   ;
21423   return 0;
21424 }
21425 _ACEOF
21426 rm -f conftest.$ac_objext
21427 if { (ac_try="$ac_compile"
21428 case "(($ac_try" in
21429   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21430   *) ac_try_echo=$ac_try;;
21431 esac
21432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21433   (eval "$ac_compile") 2>conftest.er1
21434   ac_status=$?
21435   grep -v '^ *+' conftest.er1 >conftest.err
21436   rm -f conftest.er1
21437   cat conftest.err >&5
21438   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21439   (exit $ac_status); } && {
21440          test -z "$ac_c_werror_flag" ||
21441          test ! -s conftest.err
21442        } && test -s conftest.$ac_objext; then
21443   ac_hi=$ac_mid; break
21444 else
21445   echo "$as_me: failed program was:" >&5
21446 sed 's/^/| /' conftest.$ac_ext >&5
21447
21448         ac_lo=`expr $ac_mid + 1`
21449                         if test $ac_lo -le $ac_mid; then
21450                           ac_lo= ac_hi=
21451                           break
21452                         fi
21453                         ac_mid=`expr 2 '*' $ac_mid + 1`
21454 fi
21455
21456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21457   done
21458 else
21459   echo "$as_me: failed program was:" >&5
21460 sed 's/^/| /' conftest.$ac_ext >&5
21461
21462         cat >conftest.$ac_ext <<_ACEOF
21463 /* confdefs.h.  */
21464 _ACEOF
21465 cat confdefs.h >>conftest.$ac_ext
21466 cat >>conftest.$ac_ext <<_ACEOF
21467 /* end confdefs.h.  */
21468 $ac_includes_default
21469    typedef size_t ac__type_sizeof_;
21470 int
21471 main ()
21472 {
21473 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21474 test_array [0] = 0
21475
21476   ;
21477   return 0;
21478 }
21479 _ACEOF
21480 rm -f conftest.$ac_objext
21481 if { (ac_try="$ac_compile"
21482 case "(($ac_try" in
21483   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21484   *) ac_try_echo=$ac_try;;
21485 esac
21486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21487   (eval "$ac_compile") 2>conftest.er1
21488   ac_status=$?
21489   grep -v '^ *+' conftest.er1 >conftest.err
21490   rm -f conftest.er1
21491   cat conftest.err >&5
21492   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21493   (exit $ac_status); } && {
21494          test -z "$ac_c_werror_flag" ||
21495          test ! -s conftest.err
21496        } && test -s conftest.$ac_objext; then
21497   ac_hi=-1 ac_mid=-1
21498   while :; do
21499     cat >conftest.$ac_ext <<_ACEOF
21500 /* confdefs.h.  */
21501 _ACEOF
21502 cat confdefs.h >>conftest.$ac_ext
21503 cat >>conftest.$ac_ext <<_ACEOF
21504 /* end confdefs.h.  */
21505 $ac_includes_default
21506    typedef size_t ac__type_sizeof_;
21507 int
21508 main ()
21509 {
21510 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21511 test_array [0] = 0
21512
21513   ;
21514   return 0;
21515 }
21516 _ACEOF
21517 rm -f conftest.$ac_objext
21518 if { (ac_try="$ac_compile"
21519 case "(($ac_try" in
21520   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21521   *) ac_try_echo=$ac_try;;
21522 esac
21523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21524   (eval "$ac_compile") 2>conftest.er1
21525   ac_status=$?
21526   grep -v '^ *+' conftest.er1 >conftest.err
21527   rm -f conftest.er1
21528   cat conftest.err >&5
21529   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21530   (exit $ac_status); } && {
21531          test -z "$ac_c_werror_flag" ||
21532          test ! -s conftest.err
21533        } && test -s conftest.$ac_objext; then
21534   ac_lo=$ac_mid; break
21535 else
21536   echo "$as_me: failed program was:" >&5
21537 sed 's/^/| /' conftest.$ac_ext >&5
21538
21539         ac_hi=`expr '(' $ac_mid ')' - 1`
21540                         if test $ac_mid -le $ac_hi; then
21541                           ac_lo= ac_hi=
21542                           break
21543                         fi
21544                         ac_mid=`expr 2 '*' $ac_mid`
21545 fi
21546
21547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21548   done
21549 else
21550   echo "$as_me: failed program was:" >&5
21551 sed 's/^/| /' conftest.$ac_ext >&5
21552
21553         ac_lo= ac_hi=
21554 fi
21555
21556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21557 fi
21558
21559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21560 # Binary search between lo and hi bounds.
21561 while test "x$ac_lo" != "x$ac_hi"; do
21562   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21563   cat >conftest.$ac_ext <<_ACEOF
21564 /* confdefs.h.  */
21565 _ACEOF
21566 cat confdefs.h >>conftest.$ac_ext
21567 cat >>conftest.$ac_ext <<_ACEOF
21568 /* end confdefs.h.  */
21569 $ac_includes_default
21570    typedef size_t ac__type_sizeof_;
21571 int
21572 main ()
21573 {
21574 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21575 test_array [0] = 0
21576
21577   ;
21578   return 0;
21579 }
21580 _ACEOF
21581 rm -f conftest.$ac_objext
21582 if { (ac_try="$ac_compile"
21583 case "(($ac_try" in
21584   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21585   *) ac_try_echo=$ac_try;;
21586 esac
21587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21588   (eval "$ac_compile") 2>conftest.er1
21589   ac_status=$?
21590   grep -v '^ *+' conftest.er1 >conftest.err
21591   rm -f conftest.er1
21592   cat conftest.err >&5
21593   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21594   (exit $ac_status); } && {
21595          test -z "$ac_c_werror_flag" ||
21596          test ! -s conftest.err
21597        } && test -s conftest.$ac_objext; then
21598   ac_hi=$ac_mid
21599 else
21600   echo "$as_me: failed program was:" >&5
21601 sed 's/^/| /' conftest.$ac_ext >&5
21602
21603         ac_lo=`expr '(' $ac_mid ')' + 1`
21604 fi
21605
21606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21607 done
21608 case $ac_lo in
21609 ?*) ac_cv_sizeof_size_t=$ac_lo;;
21610 '') if test "$ac_cv_type_size_t" = yes; then
21611      { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
21612 See \`config.log' for more details." >&5
21613 echo "$as_me: error: cannot compute sizeof (size_t)
21614 See \`config.log' for more details." >&2;}
21615    { (exit 77); exit 77; }; }
21616    else
21617      ac_cv_sizeof_size_t=0
21618    fi ;;
21619 esac
21620 else
21621   cat >conftest.$ac_ext <<_ACEOF
21622 /* confdefs.h.  */
21623 _ACEOF
21624 cat confdefs.h >>conftest.$ac_ext
21625 cat >>conftest.$ac_ext <<_ACEOF
21626 /* end confdefs.h.  */
21627 $ac_includes_default
21628    typedef size_t ac__type_sizeof_;
21629 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21630 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21631 #include <stdio.h>
21632 #include <stdlib.h>
21633 int
21634 main ()
21635 {
21636
21637   FILE *f = fopen ("conftest.val", "w");
21638   if (! f)
21639     return 1;
21640   if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21641     {
21642       long int i = longval ();
21643       if (i != ((long int) (sizeof (ac__type_sizeof_))))
21644         return 1;
21645       fprintf (f, "%ld\n", i);
21646     }
21647   else
21648     {
21649       unsigned long int i = ulongval ();
21650       if (i != ((long int) (sizeof (ac__type_sizeof_))))
21651         return 1;
21652       fprintf (f, "%lu\n", i);
21653     }
21654   return ferror (f) || fclose (f) != 0;
21655
21656   ;
21657   return 0;
21658 }
21659 _ACEOF
21660 rm -f conftest$ac_exeext
21661 if { (ac_try="$ac_link"
21662 case "(($ac_try" in
21663   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21664   *) ac_try_echo=$ac_try;;
21665 esac
21666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21667   (eval "$ac_link") 2>&5
21668   ac_status=$?
21669   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21670   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21671   { (case "(($ac_try" in
21672   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21673   *) ac_try_echo=$ac_try;;
21674 esac
21675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21676   (eval "$ac_try") 2>&5
21677   ac_status=$?
21678   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21679   (exit $ac_status); }; }; then
21680   ac_cv_sizeof_size_t=`cat conftest.val`
21681 else
21682   echo "$as_me: program exited with status $ac_status" >&5
21683 echo "$as_me: failed program was:" >&5
21684 sed 's/^/| /' conftest.$ac_ext >&5
21685
21686 ( exit $ac_status )
21687 if test "$ac_cv_type_size_t" = yes; then
21688      { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
21689 See \`config.log' for more details." >&5
21690 echo "$as_me: error: cannot compute sizeof (size_t)
21691 See \`config.log' for more details." >&2;}
21692    { (exit 77); exit 77; }; }
21693    else
21694      ac_cv_sizeof_size_t=0
21695    fi
21696 fi
21697 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21698 fi
21699 rm -f conftest.val
21700 fi
21701 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
21702 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
21703
21704
21705
21706 cat >>confdefs.h <<_ACEOF
21707 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
21708 _ACEOF
21709
21710
21711
21712 case "${host}" in
21713     arm-*-linux* )
21714         { echo "$as_me:$LINENO: checking for long long" >&5
21715 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21716 if test "${ac_cv_type_long_long+set}" = set; then
21717   echo $ECHO_N "(cached) $ECHO_C" >&6
21718 else
21719   cat >conftest.$ac_ext <<_ACEOF
21720 /* confdefs.h.  */
21721 _ACEOF
21722 cat confdefs.h >>conftest.$ac_ext
21723 cat >>conftest.$ac_ext <<_ACEOF
21724 /* end confdefs.h.  */
21725 $ac_includes_default
21726 typedef long long ac__type_new_;
21727 int
21728 main ()
21729 {
21730 if ((ac__type_new_ *) 0)
21731   return 0;
21732 if (sizeof (ac__type_new_))
21733   return 0;
21734   ;
21735   return 0;
21736 }
21737 _ACEOF
21738 rm -f conftest.$ac_objext
21739 if { (ac_try="$ac_compile"
21740 case "(($ac_try" in
21741   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21742   *) ac_try_echo=$ac_try;;
21743 esac
21744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21745   (eval "$ac_compile") 2>conftest.er1
21746   ac_status=$?
21747   grep -v '^ *+' conftest.er1 >conftest.err
21748   rm -f conftest.er1
21749   cat conftest.err >&5
21750   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21751   (exit $ac_status); } && {
21752          test -z "$ac_c_werror_flag" ||
21753          test ! -s conftest.err
21754        } && test -s conftest.$ac_objext; then
21755   ac_cv_type_long_long=yes
21756 else
21757   echo "$as_me: failed program was:" >&5
21758 sed 's/^/| /' conftest.$ac_ext >&5
21759
21760         ac_cv_type_long_long=no
21761 fi
21762
21763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21764 fi
21765 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21766 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21767
21768 # The cast to long int works around a bug in the HP C Compiler
21769 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21770 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21771 # This bug is HP SR number 8606223364.
21772 { echo "$as_me:$LINENO: checking size of long long" >&5
21773 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21774 if test "${ac_cv_sizeof_long_long+set}" = set; then
21775   echo $ECHO_N "(cached) $ECHO_C" >&6
21776 else
21777   if test "$cross_compiling" = yes; then
21778   # Depending upon the size, compute the lo and hi bounds.
21779 cat >conftest.$ac_ext <<_ACEOF
21780 /* confdefs.h.  */
21781 _ACEOF
21782 cat confdefs.h >>conftest.$ac_ext
21783 cat >>conftest.$ac_ext <<_ACEOF
21784 /* end confdefs.h.  */
21785 $ac_includes_default
21786    typedef long long ac__type_sizeof_;
21787 int
21788 main ()
21789 {
21790 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21791 test_array [0] = 0
21792
21793   ;
21794   return 0;
21795 }
21796 _ACEOF
21797 rm -f conftest.$ac_objext
21798 if { (ac_try="$ac_compile"
21799 case "(($ac_try" in
21800   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21801   *) ac_try_echo=$ac_try;;
21802 esac
21803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21804   (eval "$ac_compile") 2>conftest.er1
21805   ac_status=$?
21806   grep -v '^ *+' conftest.er1 >conftest.err
21807   rm -f conftest.er1
21808   cat conftest.err >&5
21809   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21810   (exit $ac_status); } && {
21811          test -z "$ac_c_werror_flag" ||
21812          test ! -s conftest.err
21813        } && test -s conftest.$ac_objext; then
21814   ac_lo=0 ac_mid=0
21815   while :; do
21816     cat >conftest.$ac_ext <<_ACEOF
21817 /* confdefs.h.  */
21818 _ACEOF
21819 cat confdefs.h >>conftest.$ac_ext
21820 cat >>conftest.$ac_ext <<_ACEOF
21821 /* end confdefs.h.  */
21822 $ac_includes_default
21823    typedef long long ac__type_sizeof_;
21824 int
21825 main ()
21826 {
21827 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21828 test_array [0] = 0
21829
21830   ;
21831   return 0;
21832 }
21833 _ACEOF
21834 rm -f conftest.$ac_objext
21835 if { (ac_try="$ac_compile"
21836 case "(($ac_try" in
21837   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21838   *) ac_try_echo=$ac_try;;
21839 esac
21840 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21841   (eval "$ac_compile") 2>conftest.er1
21842   ac_status=$?
21843   grep -v '^ *+' conftest.er1 >conftest.err
21844   rm -f conftest.er1
21845   cat conftest.err >&5
21846   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21847   (exit $ac_status); } && {
21848          test -z "$ac_c_werror_flag" ||
21849          test ! -s conftest.err
21850        } && test -s conftest.$ac_objext; then
21851   ac_hi=$ac_mid; break
21852 else
21853   echo "$as_me: failed program was:" >&5
21854 sed 's/^/| /' conftest.$ac_ext >&5
21855
21856         ac_lo=`expr $ac_mid + 1`
21857                         if test $ac_lo -le $ac_mid; then
21858                           ac_lo= ac_hi=
21859                           break
21860                         fi
21861                         ac_mid=`expr 2 '*' $ac_mid + 1`
21862 fi
21863
21864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21865   done
21866 else
21867   echo "$as_me: failed program was:" >&5
21868 sed 's/^/| /' conftest.$ac_ext >&5
21869
21870         cat >conftest.$ac_ext <<_ACEOF
21871 /* confdefs.h.  */
21872 _ACEOF
21873 cat confdefs.h >>conftest.$ac_ext
21874 cat >>conftest.$ac_ext <<_ACEOF
21875 /* end confdefs.h.  */
21876 $ac_includes_default
21877    typedef long long ac__type_sizeof_;
21878 int
21879 main ()
21880 {
21881 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21882 test_array [0] = 0
21883
21884   ;
21885   return 0;
21886 }
21887 _ACEOF
21888 rm -f conftest.$ac_objext
21889 if { (ac_try="$ac_compile"
21890 case "(($ac_try" in
21891   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21892   *) ac_try_echo=$ac_try;;
21893 esac
21894 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21895   (eval "$ac_compile") 2>conftest.er1
21896   ac_status=$?
21897   grep -v '^ *+' conftest.er1 >conftest.err
21898   rm -f conftest.er1
21899   cat conftest.err >&5
21900   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21901   (exit $ac_status); } && {
21902          test -z "$ac_c_werror_flag" ||
21903          test ! -s conftest.err
21904        } && test -s conftest.$ac_objext; then
21905   ac_hi=-1 ac_mid=-1
21906   while :; do
21907     cat >conftest.$ac_ext <<_ACEOF
21908 /* confdefs.h.  */
21909 _ACEOF
21910 cat confdefs.h >>conftest.$ac_ext
21911 cat >>conftest.$ac_ext <<_ACEOF
21912 /* end confdefs.h.  */
21913 $ac_includes_default
21914    typedef long long ac__type_sizeof_;
21915 int
21916 main ()
21917 {
21918 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21919 test_array [0] = 0
21920
21921   ;
21922   return 0;
21923 }
21924 _ACEOF
21925 rm -f conftest.$ac_objext
21926 if { (ac_try="$ac_compile"
21927 case "(($ac_try" in
21928   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21929   *) ac_try_echo=$ac_try;;
21930 esac
21931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21932   (eval "$ac_compile") 2>conftest.er1
21933   ac_status=$?
21934   grep -v '^ *+' conftest.er1 >conftest.err
21935   rm -f conftest.er1
21936   cat conftest.err >&5
21937   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21938   (exit $ac_status); } && {
21939          test -z "$ac_c_werror_flag" ||
21940          test ! -s conftest.err
21941        } && test -s conftest.$ac_objext; then
21942   ac_lo=$ac_mid; break
21943 else
21944   echo "$as_me: failed program was:" >&5
21945 sed 's/^/| /' conftest.$ac_ext >&5
21946
21947         ac_hi=`expr '(' $ac_mid ')' - 1`
21948                         if test $ac_mid -le $ac_hi; then
21949                           ac_lo= ac_hi=
21950                           break
21951                         fi
21952                         ac_mid=`expr 2 '*' $ac_mid`
21953 fi
21954
21955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21956   done
21957 else
21958   echo "$as_me: failed program was:" >&5
21959 sed 's/^/| /' conftest.$ac_ext >&5
21960
21961         ac_lo= ac_hi=
21962 fi
21963
21964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21965 fi
21966
21967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21968 # Binary search between lo and hi bounds.
21969 while test "x$ac_lo" != "x$ac_hi"; do
21970   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21971   cat >conftest.$ac_ext <<_ACEOF
21972 /* confdefs.h.  */
21973 _ACEOF
21974 cat confdefs.h >>conftest.$ac_ext
21975 cat >>conftest.$ac_ext <<_ACEOF
21976 /* end confdefs.h.  */
21977 $ac_includes_default
21978    typedef long long ac__type_sizeof_;
21979 int
21980 main ()
21981 {
21982 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21983 test_array [0] = 0
21984
21985   ;
21986   return 0;
21987 }
21988 _ACEOF
21989 rm -f conftest.$ac_objext
21990 if { (ac_try="$ac_compile"
21991 case "(($ac_try" in
21992   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21993   *) ac_try_echo=$ac_try;;
21994 esac
21995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21996   (eval "$ac_compile") 2>conftest.er1
21997   ac_status=$?
21998   grep -v '^ *+' conftest.er1 >conftest.err
21999   rm -f conftest.er1
22000   cat conftest.err >&5
22001   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22002   (exit $ac_status); } && {
22003          test -z "$ac_c_werror_flag" ||
22004          test ! -s conftest.err
22005        } && test -s conftest.$ac_objext; then
22006   ac_hi=$ac_mid
22007 else
22008   echo "$as_me: failed program was:" >&5
22009 sed 's/^/| /' conftest.$ac_ext >&5
22010
22011         ac_lo=`expr '(' $ac_mid ')' + 1`
22012 fi
22013
22014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22015 done
22016 case $ac_lo in
22017 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22018 '') if test "$ac_cv_type_long_long" = yes; then
22019      { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22020 See \`config.log' for more details." >&5
22021 echo "$as_me: error: cannot compute sizeof (long long)
22022 See \`config.log' for more details." >&2;}
22023    { (exit 77); exit 77; }; }
22024    else
22025      ac_cv_sizeof_long_long=0
22026    fi ;;
22027 esac
22028 else
22029   cat >conftest.$ac_ext <<_ACEOF
22030 /* confdefs.h.  */
22031 _ACEOF
22032 cat confdefs.h >>conftest.$ac_ext
22033 cat >>conftest.$ac_ext <<_ACEOF
22034 /* end confdefs.h.  */
22035 $ac_includes_default
22036    typedef long long ac__type_sizeof_;
22037 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22038 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22039 #include <stdio.h>
22040 #include <stdlib.h>
22041 int
22042 main ()
22043 {
22044
22045   FILE *f = fopen ("conftest.val", "w");
22046   if (! f)
22047     return 1;
22048   if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22049     {
22050       long int i = longval ();
22051       if (i != ((long int) (sizeof (ac__type_sizeof_))))
22052         return 1;
22053       fprintf (f, "%ld\n", i);
22054     }
22055   else
22056     {
22057       unsigned long int i = ulongval ();
22058       if (i != ((long int) (sizeof (ac__type_sizeof_))))
22059         return 1;
22060       fprintf (f, "%lu\n", i);
22061     }
22062   return ferror (f) || fclose (f) != 0;
22063
22064   ;
22065   return 0;
22066 }
22067 _ACEOF
22068 rm -f conftest$ac_exeext
22069 if { (ac_try="$ac_link"
22070 case "(($ac_try" in
22071   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22072   *) ac_try_echo=$ac_try;;
22073 esac
22074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22075   (eval "$ac_link") 2>&5
22076   ac_status=$?
22077   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22078   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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_try") 2>&5
22085   ac_status=$?
22086   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22087   (exit $ac_status); }; }; then
22088   ac_cv_sizeof_long_long=`cat conftest.val`
22089 else
22090   echo "$as_me: program exited with status $ac_status" >&5
22091 echo "$as_me: failed program was:" >&5
22092 sed 's/^/| /' conftest.$ac_ext >&5
22093
22094 ( exit $ac_status )
22095 if test "$ac_cv_type_long_long" = yes; then
22096      { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22097 See \`config.log' for more details." >&5
22098 echo "$as_me: error: cannot compute sizeof (long long)
22099 See \`config.log' for more details." >&2;}
22100    { (exit 77); exit 77; }; }
22101    else
22102      ac_cv_sizeof_long_long=0
22103    fi
22104 fi
22105 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22106 fi
22107 rm -f conftest.val
22108 fi
22109 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22110 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22111
22112
22113
22114 cat >>confdefs.h <<_ACEOF
22115 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22116 _ACEOF
22117
22118
22119     ;;
22120     *-hp-hpux* )
22121         { echo "$as_me:$LINENO: checking for long long" >&5
22122 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22123 if test "${ac_cv_type_long_long+set}" = set; then
22124   echo $ECHO_N "(cached) $ECHO_C" >&6
22125 else
22126   cat >conftest.$ac_ext <<_ACEOF
22127 /* confdefs.h.  */
22128 _ACEOF
22129 cat confdefs.h >>conftest.$ac_ext
22130 cat >>conftest.$ac_ext <<_ACEOF
22131 /* end confdefs.h.  */
22132 $ac_includes_default
22133 typedef long long ac__type_new_;
22134 int
22135 main ()
22136 {
22137 if ((ac__type_new_ *) 0)
22138   return 0;
22139 if (sizeof (ac__type_new_))
22140   return 0;
22141   ;
22142   return 0;
22143 }
22144 _ACEOF
22145 rm -f conftest.$ac_objext
22146 if { (ac_try="$ac_compile"
22147 case "(($ac_try" in
22148   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22149   *) ac_try_echo=$ac_try;;
22150 esac
22151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22152   (eval "$ac_compile") 2>conftest.er1
22153   ac_status=$?
22154   grep -v '^ *+' conftest.er1 >conftest.err
22155   rm -f conftest.er1
22156   cat conftest.err >&5
22157   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22158   (exit $ac_status); } && {
22159          test -z "$ac_c_werror_flag" ||
22160          test ! -s conftest.err
22161        } && test -s conftest.$ac_objext; then
22162   ac_cv_type_long_long=yes
22163 else
22164   echo "$as_me: failed program was:" >&5
22165 sed 's/^/| /' conftest.$ac_ext >&5
22166
22167         ac_cv_type_long_long=no
22168 fi
22169
22170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22171 fi
22172 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22173 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22174
22175 # The cast to long int works around a bug in the HP C Compiler
22176 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22177 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22178 # This bug is HP SR number 8606223364.
22179 { echo "$as_me:$LINENO: checking size of long long" >&5
22180 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22181 if test "${ac_cv_sizeof_long_long+set}" = set; then
22182   echo $ECHO_N "(cached) $ECHO_C" >&6
22183 else
22184   if test "$cross_compiling" = yes; then
22185   # Depending upon the size, compute the lo and hi bounds.
22186 cat >conftest.$ac_ext <<_ACEOF
22187 /* confdefs.h.  */
22188 _ACEOF
22189 cat confdefs.h >>conftest.$ac_ext
22190 cat >>conftest.$ac_ext <<_ACEOF
22191 /* end confdefs.h.  */
22192 $ac_includes_default
22193    typedef long long ac__type_sizeof_;
22194 int
22195 main ()
22196 {
22197 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22198 test_array [0] = 0
22199
22200   ;
22201   return 0;
22202 }
22203 _ACEOF
22204 rm -f conftest.$ac_objext
22205 if { (ac_try="$ac_compile"
22206 case "(($ac_try" in
22207   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22208   *) ac_try_echo=$ac_try;;
22209 esac
22210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22211   (eval "$ac_compile") 2>conftest.er1
22212   ac_status=$?
22213   grep -v '^ *+' conftest.er1 >conftest.err
22214   rm -f conftest.er1
22215   cat conftest.err >&5
22216   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22217   (exit $ac_status); } && {
22218          test -z "$ac_c_werror_flag" ||
22219          test ! -s conftest.err
22220        } && test -s conftest.$ac_objext; then
22221   ac_lo=0 ac_mid=0
22222   while :; do
22223     cat >conftest.$ac_ext <<_ACEOF
22224 /* confdefs.h.  */
22225 _ACEOF
22226 cat confdefs.h >>conftest.$ac_ext
22227 cat >>conftest.$ac_ext <<_ACEOF
22228 /* end confdefs.h.  */
22229 $ac_includes_default
22230    typedef long long ac__type_sizeof_;
22231 int
22232 main ()
22233 {
22234 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22235 test_array [0] = 0
22236
22237   ;
22238   return 0;
22239 }
22240 _ACEOF
22241 rm -f conftest.$ac_objext
22242 if { (ac_try="$ac_compile"
22243 case "(($ac_try" in
22244   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22245   *) ac_try_echo=$ac_try;;
22246 esac
22247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22248   (eval "$ac_compile") 2>conftest.er1
22249   ac_status=$?
22250   grep -v '^ *+' conftest.er1 >conftest.err
22251   rm -f conftest.er1
22252   cat conftest.err >&5
22253   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22254   (exit $ac_status); } && {
22255          test -z "$ac_c_werror_flag" ||
22256          test ! -s conftest.err
22257        } && test -s conftest.$ac_objext; then
22258   ac_hi=$ac_mid; break
22259 else
22260   echo "$as_me: failed program was:" >&5
22261 sed 's/^/| /' conftest.$ac_ext >&5
22262
22263         ac_lo=`expr $ac_mid + 1`
22264                         if test $ac_lo -le $ac_mid; then
22265                           ac_lo= ac_hi=
22266                           break
22267                         fi
22268                         ac_mid=`expr 2 '*' $ac_mid + 1`
22269 fi
22270
22271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22272   done
22273 else
22274   echo "$as_me: failed program was:" >&5
22275 sed 's/^/| /' conftest.$ac_ext >&5
22276
22277         cat >conftest.$ac_ext <<_ACEOF
22278 /* confdefs.h.  */
22279 _ACEOF
22280 cat confdefs.h >>conftest.$ac_ext
22281 cat >>conftest.$ac_ext <<_ACEOF
22282 /* end confdefs.h.  */
22283 $ac_includes_default
22284    typedef long long ac__type_sizeof_;
22285 int
22286 main ()
22287 {
22288 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22289 test_array [0] = 0
22290
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_hi=-1 ac_mid=-1
22313   while :; do
22314     cat >conftest.$ac_ext <<_ACEOF
22315 /* confdefs.h.  */
22316 _ACEOF
22317 cat confdefs.h >>conftest.$ac_ext
22318 cat >>conftest.$ac_ext <<_ACEOF
22319 /* end confdefs.h.  */
22320 $ac_includes_default
22321    typedef long long ac__type_sizeof_;
22322 int
22323 main ()
22324 {
22325 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22326 test_array [0] = 0
22327
22328   ;
22329   return 0;
22330 }
22331 _ACEOF
22332 rm -f conftest.$ac_objext
22333 if { (ac_try="$ac_compile"
22334 case "(($ac_try" in
22335   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22336   *) ac_try_echo=$ac_try;;
22337 esac
22338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22339   (eval "$ac_compile") 2>conftest.er1
22340   ac_status=$?
22341   grep -v '^ *+' conftest.er1 >conftest.err
22342   rm -f conftest.er1
22343   cat conftest.err >&5
22344   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22345   (exit $ac_status); } && {
22346          test -z "$ac_c_werror_flag" ||
22347          test ! -s conftest.err
22348        } && test -s conftest.$ac_objext; then
22349   ac_lo=$ac_mid; break
22350 else
22351   echo "$as_me: failed program was:" >&5
22352 sed 's/^/| /' conftest.$ac_ext >&5
22353
22354         ac_hi=`expr '(' $ac_mid ')' - 1`
22355                         if test $ac_mid -le $ac_hi; then
22356                           ac_lo= ac_hi=
22357                           break
22358                         fi
22359                         ac_mid=`expr 2 '*' $ac_mid`
22360 fi
22361
22362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22363   done
22364 else
22365   echo "$as_me: failed program was:" >&5
22366 sed 's/^/| /' conftest.$ac_ext >&5
22367
22368         ac_lo= ac_hi=
22369 fi
22370
22371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22372 fi
22373
22374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22375 # Binary search between lo and hi bounds.
22376 while test "x$ac_lo" != "x$ac_hi"; do
22377   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22378   cat >conftest.$ac_ext <<_ACEOF
22379 /* confdefs.h.  */
22380 _ACEOF
22381 cat confdefs.h >>conftest.$ac_ext
22382 cat >>conftest.$ac_ext <<_ACEOF
22383 /* end confdefs.h.  */
22384 $ac_includes_default
22385    typedef long long ac__type_sizeof_;
22386 int
22387 main ()
22388 {
22389 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22390 test_array [0] = 0
22391
22392   ;
22393   return 0;
22394 }
22395 _ACEOF
22396 rm -f conftest.$ac_objext
22397 if { (ac_try="$ac_compile"
22398 case "(($ac_try" in
22399   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22400   *) ac_try_echo=$ac_try;;
22401 esac
22402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22403   (eval "$ac_compile") 2>conftest.er1
22404   ac_status=$?
22405   grep -v '^ *+' conftest.er1 >conftest.err
22406   rm -f conftest.er1
22407   cat conftest.err >&5
22408   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22409   (exit $ac_status); } && {
22410          test -z "$ac_c_werror_flag" ||
22411          test ! -s conftest.err
22412        } && test -s conftest.$ac_objext; then
22413   ac_hi=$ac_mid
22414 else
22415   echo "$as_me: failed program was:" >&5
22416 sed 's/^/| /' conftest.$ac_ext >&5
22417
22418         ac_lo=`expr '(' $ac_mid ')' + 1`
22419 fi
22420
22421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22422 done
22423 case $ac_lo in
22424 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22425 '') if test "$ac_cv_type_long_long" = yes; then
22426      { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22427 See \`config.log' for more details." >&5
22428 echo "$as_me: error: cannot compute sizeof (long long)
22429 See \`config.log' for more details." >&2;}
22430    { (exit 77); exit 77; }; }
22431    else
22432      ac_cv_sizeof_long_long=0
22433    fi ;;
22434 esac
22435 else
22436   cat >conftest.$ac_ext <<_ACEOF
22437 /* confdefs.h.  */
22438 _ACEOF
22439 cat confdefs.h >>conftest.$ac_ext
22440 cat >>conftest.$ac_ext <<_ACEOF
22441 /* end confdefs.h.  */
22442 $ac_includes_default
22443    typedef long long ac__type_sizeof_;
22444 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22445 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22446 #include <stdio.h>
22447 #include <stdlib.h>
22448 int
22449 main ()
22450 {
22451
22452   FILE *f = fopen ("conftest.val", "w");
22453   if (! f)
22454     return 1;
22455   if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22456     {
22457       long int i = longval ();
22458       if (i != ((long int) (sizeof (ac__type_sizeof_))))
22459         return 1;
22460       fprintf (f, "%ld\n", i);
22461     }
22462   else
22463     {
22464       unsigned long int i = ulongval ();
22465       if (i != ((long int) (sizeof (ac__type_sizeof_))))
22466         return 1;
22467       fprintf (f, "%lu\n", i);
22468     }
22469   return ferror (f) || fclose (f) != 0;
22470
22471   ;
22472   return 0;
22473 }
22474 _ACEOF
22475 rm -f conftest$ac_exeext
22476 if { (ac_try="$ac_link"
22477 case "(($ac_try" in
22478   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22479   *) ac_try_echo=$ac_try;;
22480 esac
22481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22482   (eval "$ac_link") 2>&5
22483   ac_status=$?
22484   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22485   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22486   { (case "(($ac_try" in
22487   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22488   *) ac_try_echo=$ac_try;;
22489 esac
22490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22491   (eval "$ac_try") 2>&5
22492   ac_status=$?
22493   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22494   (exit $ac_status); }; }; then
22495   ac_cv_sizeof_long_long=`cat conftest.val`
22496 else
22497   echo "$as_me: program exited with status $ac_status" >&5
22498 echo "$as_me: failed program was:" >&5
22499 sed 's/^/| /' conftest.$ac_ext >&5
22500
22501 ( exit $ac_status )
22502 if test "$ac_cv_type_long_long" = yes; then
22503      { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22504 See \`config.log' for more details." >&5
22505 echo "$as_me: error: cannot compute sizeof (long long)
22506 See \`config.log' for more details." >&2;}
22507    { (exit 77); exit 77; }; }
22508    else
22509      ac_cv_sizeof_long_long=0
22510    fi
22511 fi
22512 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22513 fi
22514 rm -f conftest.val
22515 fi
22516 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22517 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22518
22519
22520
22521 cat >>confdefs.h <<_ACEOF
22522 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22523 _ACEOF
22524
22525
22526         if test "$ac_cv_sizeof_long_long" != 0; then
22527                         CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
22528         fi
22529     ;;
22530     * )
22531         { echo "$as_me:$LINENO: checking for long long" >&5
22532 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22533 if test "${ac_cv_type_long_long+set}" = set; then
22534   echo $ECHO_N "(cached) $ECHO_C" >&6
22535 else
22536   cat >conftest.$ac_ext <<_ACEOF
22537 /* confdefs.h.  */
22538 _ACEOF
22539 cat confdefs.h >>conftest.$ac_ext
22540 cat >>conftest.$ac_ext <<_ACEOF
22541 /* end confdefs.h.  */
22542 $ac_includes_default
22543 typedef long long ac__type_new_;
22544 int
22545 main ()
22546 {
22547 if ((ac__type_new_ *) 0)
22548   return 0;
22549 if (sizeof (ac__type_new_))
22550   return 0;
22551   ;
22552   return 0;
22553 }
22554 _ACEOF
22555 rm -f conftest.$ac_objext
22556 if { (ac_try="$ac_compile"
22557 case "(($ac_try" in
22558   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22559   *) ac_try_echo=$ac_try;;
22560 esac
22561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22562   (eval "$ac_compile") 2>conftest.er1
22563   ac_status=$?
22564   grep -v '^ *+' conftest.er1 >conftest.err
22565   rm -f conftest.er1
22566   cat conftest.err >&5
22567   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22568   (exit $ac_status); } && {
22569          test -z "$ac_c_werror_flag" ||
22570          test ! -s conftest.err
22571        } && test -s conftest.$ac_objext; then
22572   ac_cv_type_long_long=yes
22573 else
22574   echo "$as_me: failed program was:" >&5
22575 sed 's/^/| /' conftest.$ac_ext >&5
22576
22577         ac_cv_type_long_long=no
22578 fi
22579
22580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22581 fi
22582 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22583 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22584
22585 # The cast to long int works around a bug in the HP C Compiler
22586 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22587 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22588 # This bug is HP SR number 8606223364.
22589 { echo "$as_me:$LINENO: checking size of long long" >&5
22590 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22591 if test "${ac_cv_sizeof_long_long+set}" = set; then
22592   echo $ECHO_N "(cached) $ECHO_C" >&6
22593 else
22594   if test "$cross_compiling" = yes; then
22595   # Depending upon the size, compute the lo and hi bounds.
22596 cat >conftest.$ac_ext <<_ACEOF
22597 /* confdefs.h.  */
22598 _ACEOF
22599 cat confdefs.h >>conftest.$ac_ext
22600 cat >>conftest.$ac_ext <<_ACEOF
22601 /* end confdefs.h.  */
22602 $ac_includes_default
22603    typedef long long ac__type_sizeof_;
22604 int
22605 main ()
22606 {
22607 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22608 test_array [0] = 0
22609
22610   ;
22611   return 0;
22612 }
22613 _ACEOF
22614 rm -f conftest.$ac_objext
22615 if { (ac_try="$ac_compile"
22616 case "(($ac_try" in
22617   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22618   *) ac_try_echo=$ac_try;;
22619 esac
22620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22621   (eval "$ac_compile") 2>conftest.er1
22622   ac_status=$?
22623   grep -v '^ *+' conftest.er1 >conftest.err
22624   rm -f conftest.er1
22625   cat conftest.err >&5
22626   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22627   (exit $ac_status); } && {
22628          test -z "$ac_c_werror_flag" ||
22629          test ! -s conftest.err
22630        } && test -s conftest.$ac_objext; then
22631   ac_lo=0 ac_mid=0
22632   while :; do
22633     cat >conftest.$ac_ext <<_ACEOF
22634 /* confdefs.h.  */
22635 _ACEOF
22636 cat confdefs.h >>conftest.$ac_ext
22637 cat >>conftest.$ac_ext <<_ACEOF
22638 /* end confdefs.h.  */
22639 $ac_includes_default
22640    typedef long long ac__type_sizeof_;
22641 int
22642 main ()
22643 {
22644 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22645 test_array [0] = 0
22646
22647   ;
22648   return 0;
22649 }
22650 _ACEOF
22651 rm -f conftest.$ac_objext
22652 if { (ac_try="$ac_compile"
22653 case "(($ac_try" in
22654   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22655   *) ac_try_echo=$ac_try;;
22656 esac
22657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22658   (eval "$ac_compile") 2>conftest.er1
22659   ac_status=$?
22660   grep -v '^ *+' conftest.er1 >conftest.err
22661   rm -f conftest.er1
22662   cat conftest.err >&5
22663   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22664   (exit $ac_status); } && {
22665          test -z "$ac_c_werror_flag" ||
22666          test ! -s conftest.err
22667        } && test -s conftest.$ac_objext; then
22668   ac_hi=$ac_mid; break
22669 else
22670   echo "$as_me: failed program was:" >&5
22671 sed 's/^/| /' conftest.$ac_ext >&5
22672
22673         ac_lo=`expr $ac_mid + 1`
22674                         if test $ac_lo -le $ac_mid; then
22675                           ac_lo= ac_hi=
22676                           break
22677                         fi
22678                         ac_mid=`expr 2 '*' $ac_mid + 1`
22679 fi
22680
22681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22682   done
22683 else
22684   echo "$as_me: failed program was:" >&5
22685 sed 's/^/| /' conftest.$ac_ext >&5
22686
22687         cat >conftest.$ac_ext <<_ACEOF
22688 /* confdefs.h.  */
22689 _ACEOF
22690 cat confdefs.h >>conftest.$ac_ext
22691 cat >>conftest.$ac_ext <<_ACEOF
22692 /* end confdefs.h.  */
22693 $ac_includes_default
22694    typedef long long ac__type_sizeof_;
22695 int
22696 main ()
22697 {
22698 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22699 test_array [0] = 0
22700
22701   ;
22702   return 0;
22703 }
22704 _ACEOF
22705 rm -f conftest.$ac_objext
22706 if { (ac_try="$ac_compile"
22707 case "(($ac_try" in
22708   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22709   *) ac_try_echo=$ac_try;;
22710 esac
22711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22712   (eval "$ac_compile") 2>conftest.er1
22713   ac_status=$?
22714   grep -v '^ *+' conftest.er1 >conftest.err
22715   rm -f conftest.er1
22716   cat conftest.err >&5
22717   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22718   (exit $ac_status); } && {
22719          test -z "$ac_c_werror_flag" ||
22720          test ! -s conftest.err
22721        } && test -s conftest.$ac_objext; then
22722   ac_hi=-1 ac_mid=-1
22723   while :; do
22724     cat >conftest.$ac_ext <<_ACEOF
22725 /* confdefs.h.  */
22726 _ACEOF
22727 cat confdefs.h >>conftest.$ac_ext
22728 cat >>conftest.$ac_ext <<_ACEOF
22729 /* end confdefs.h.  */
22730 $ac_includes_default
22731    typedef long long ac__type_sizeof_;
22732 int
22733 main ()
22734 {
22735 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22736 test_array [0] = 0
22737
22738   ;
22739   return 0;
22740 }
22741 _ACEOF
22742 rm -f conftest.$ac_objext
22743 if { (ac_try="$ac_compile"
22744 case "(($ac_try" in
22745   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22746   *) ac_try_echo=$ac_try;;
22747 esac
22748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22749   (eval "$ac_compile") 2>conftest.er1
22750   ac_status=$?
22751   grep -v '^ *+' conftest.er1 >conftest.err
22752   rm -f conftest.er1
22753   cat conftest.err >&5
22754   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22755   (exit $ac_status); } && {
22756          test -z "$ac_c_werror_flag" ||
22757          test ! -s conftest.err
22758        } && test -s conftest.$ac_objext; then
22759   ac_lo=$ac_mid; break
22760 else
22761   echo "$as_me: failed program was:" >&5
22762 sed 's/^/| /' conftest.$ac_ext >&5
22763
22764         ac_hi=`expr '(' $ac_mid ')' - 1`
22765                         if test $ac_mid -le $ac_hi; then
22766                           ac_lo= ac_hi=
22767                           break
22768                         fi
22769                         ac_mid=`expr 2 '*' $ac_mid`
22770 fi
22771
22772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22773   done
22774 else
22775   echo "$as_me: failed program was:" >&5
22776 sed 's/^/| /' conftest.$ac_ext >&5
22777
22778         ac_lo= ac_hi=
22779 fi
22780
22781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22782 fi
22783
22784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22785 # Binary search between lo and hi bounds.
22786 while test "x$ac_lo" != "x$ac_hi"; do
22787   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22788   cat >conftest.$ac_ext <<_ACEOF
22789 /* confdefs.h.  */
22790 _ACEOF
22791 cat confdefs.h >>conftest.$ac_ext
22792 cat >>conftest.$ac_ext <<_ACEOF
22793 /* end confdefs.h.  */
22794 $ac_includes_default
22795    typedef long long ac__type_sizeof_;
22796 int
22797 main ()
22798 {
22799 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22800 test_array [0] = 0
22801
22802   ;
22803   return 0;
22804 }
22805 _ACEOF
22806 rm -f conftest.$ac_objext
22807 if { (ac_try="$ac_compile"
22808 case "(($ac_try" in
22809   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22810   *) ac_try_echo=$ac_try;;
22811 esac
22812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22813   (eval "$ac_compile") 2>conftest.er1
22814   ac_status=$?
22815   grep -v '^ *+' conftest.er1 >conftest.err
22816   rm -f conftest.er1
22817   cat conftest.err >&5
22818   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22819   (exit $ac_status); } && {
22820          test -z "$ac_c_werror_flag" ||
22821          test ! -s conftest.err
22822        } && test -s conftest.$ac_objext; then
22823   ac_hi=$ac_mid
22824 else
22825   echo "$as_me: failed program was:" >&5
22826 sed 's/^/| /' conftest.$ac_ext >&5
22827
22828         ac_lo=`expr '(' $ac_mid ')' + 1`
22829 fi
22830
22831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22832 done
22833 case $ac_lo in
22834 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22835 '') if test "$ac_cv_type_long_long" = yes; then
22836      { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22837 See \`config.log' for more details." >&5
22838 echo "$as_me: error: cannot compute sizeof (long long)
22839 See \`config.log' for more details." >&2;}
22840    { (exit 77); exit 77; }; }
22841    else
22842      ac_cv_sizeof_long_long=0
22843    fi ;;
22844 esac
22845 else
22846   cat >conftest.$ac_ext <<_ACEOF
22847 /* confdefs.h.  */
22848 _ACEOF
22849 cat confdefs.h >>conftest.$ac_ext
22850 cat >>conftest.$ac_ext <<_ACEOF
22851 /* end confdefs.h.  */
22852 $ac_includes_default
22853    typedef long long ac__type_sizeof_;
22854 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22855 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22856 #include <stdio.h>
22857 #include <stdlib.h>
22858 int
22859 main ()
22860 {
22861
22862   FILE *f = fopen ("conftest.val", "w");
22863   if (! f)
22864     return 1;
22865   if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22866     {
22867       long int i = longval ();
22868       if (i != ((long int) (sizeof (ac__type_sizeof_))))
22869         return 1;
22870       fprintf (f, "%ld\n", i);
22871     }
22872   else
22873     {
22874       unsigned long int i = ulongval ();
22875       if (i != ((long int) (sizeof (ac__type_sizeof_))))
22876         return 1;
22877       fprintf (f, "%lu\n", i);
22878     }
22879   return ferror (f) || fclose (f) != 0;
22880
22881   ;
22882   return 0;
22883 }
22884 _ACEOF
22885 rm -f conftest$ac_exeext
22886 if { (ac_try="$ac_link"
22887 case "(($ac_try" in
22888   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22889   *) ac_try_echo=$ac_try;;
22890 esac
22891 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22892   (eval "$ac_link") 2>&5
22893   ac_status=$?
22894   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22895   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22896   { (case "(($ac_try" in
22897   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22898   *) ac_try_echo=$ac_try;;
22899 esac
22900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22901   (eval "$ac_try") 2>&5
22902   ac_status=$?
22903   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22904   (exit $ac_status); }; }; then
22905   ac_cv_sizeof_long_long=`cat conftest.val`
22906 else
22907   echo "$as_me: program exited with status $ac_status" >&5
22908 echo "$as_me: failed program was:" >&5
22909 sed 's/^/| /' conftest.$ac_ext >&5
22910
22911 ( exit $ac_status )
22912 if test "$ac_cv_type_long_long" = yes; then
22913      { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22914 See \`config.log' for more details." >&5
22915 echo "$as_me: error: cannot compute sizeof (long long)
22916 See \`config.log' for more details." >&2;}
22917    { (exit 77); exit 77; }; }
22918    else
22919      ac_cv_sizeof_long_long=0
22920    fi
22921 fi
22922 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22923 fi
22924 rm -f conftest.val
22925 fi
22926 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22927 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22928
22929
22930
22931 cat >>confdefs.h <<_ACEOF
22932 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22933 _ACEOF
22934
22935
22936 esac
22937
22938 { echo "$as_me:$LINENO: checking for wchar_t" >&5
22939 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
22940 if test "${ac_cv_type_wchar_t+set}" = set; then
22941   echo $ECHO_N "(cached) $ECHO_C" >&6
22942 else
22943   cat >conftest.$ac_ext <<_ACEOF
22944 /* confdefs.h.  */
22945 _ACEOF
22946 cat confdefs.h >>conftest.$ac_ext
22947 cat >>conftest.$ac_ext <<_ACEOF
22948 /* end confdefs.h.  */
22949
22950         /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22951         #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22952         #  error "fake wchar_t"
22953         #endif
22954         #ifdef HAVE_WCHAR_H
22955         #  ifdef __CYGWIN__
22956         #    include <stddef.h>
22957         #  endif
22958         #  include <wchar.h>
22959         #endif
22960         #ifdef HAVE_STDLIB_H
22961         #  include <stdlib.h>
22962         #endif
22963         #include <stdio.h>
22964
22965
22966
22967 typedef wchar_t ac__type_new_;
22968 int
22969 main ()
22970 {
22971 if ((ac__type_new_ *) 0)
22972   return 0;
22973 if (sizeof (ac__type_new_))
22974   return 0;
22975   ;
22976   return 0;
22977 }
22978 _ACEOF
22979 rm -f conftest.$ac_objext
22980 if { (ac_try="$ac_compile"
22981 case "(($ac_try" in
22982   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22983   *) ac_try_echo=$ac_try;;
22984 esac
22985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22986   (eval "$ac_compile") 2>conftest.er1
22987   ac_status=$?
22988   grep -v '^ *+' conftest.er1 >conftest.err
22989   rm -f conftest.er1
22990   cat conftest.err >&5
22991   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22992   (exit $ac_status); } && {
22993          test -z "$ac_c_werror_flag" ||
22994          test ! -s conftest.err
22995        } && test -s conftest.$ac_objext; then
22996   ac_cv_type_wchar_t=yes
22997 else
22998   echo "$as_me: failed program was:" >&5
22999 sed 's/^/| /' conftest.$ac_ext >&5
23000
23001         ac_cv_type_wchar_t=no
23002 fi
23003
23004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23005 fi
23006 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
23007 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
23008
23009 # The cast to long int works around a bug in the HP C Compiler
23010 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23011 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23012 # This bug is HP SR number 8606223364.
23013 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
23014 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
23015 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
23016   echo $ECHO_N "(cached) $ECHO_C" >&6
23017 else
23018   if test "$cross_compiling" = yes; then
23019   # Depending upon the size, compute the lo and hi bounds.
23020 cat >conftest.$ac_ext <<_ACEOF
23021 /* confdefs.h.  */
23022 _ACEOF
23023 cat confdefs.h >>conftest.$ac_ext
23024 cat >>conftest.$ac_ext <<_ACEOF
23025 /* end confdefs.h.  */
23026
23027         /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23028         #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23029         #  error "fake wchar_t"
23030         #endif
23031         #ifdef HAVE_WCHAR_H
23032         #  ifdef __CYGWIN__
23033         #    include <stddef.h>
23034         #  endif
23035         #  include <wchar.h>
23036         #endif
23037         #ifdef HAVE_STDLIB_H
23038         #  include <stdlib.h>
23039         #endif
23040         #include <stdio.h>
23041
23042
23043
23044    typedef wchar_t ac__type_sizeof_;
23045 int
23046 main ()
23047 {
23048 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23049 test_array [0] = 0
23050
23051   ;
23052   return 0;
23053 }
23054 _ACEOF
23055 rm -f conftest.$ac_objext
23056 if { (ac_try="$ac_compile"
23057 case "(($ac_try" in
23058   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23059   *) ac_try_echo=$ac_try;;
23060 esac
23061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23062   (eval "$ac_compile") 2>conftest.er1
23063   ac_status=$?
23064   grep -v '^ *+' conftest.er1 >conftest.err
23065   rm -f conftest.er1
23066   cat conftest.err >&5
23067   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23068   (exit $ac_status); } && {
23069          test -z "$ac_c_werror_flag" ||
23070          test ! -s conftest.err
23071        } && test -s conftest.$ac_objext; then
23072   ac_lo=0 ac_mid=0
23073   while :; do
23074     cat >conftest.$ac_ext <<_ACEOF
23075 /* confdefs.h.  */
23076 _ACEOF
23077 cat confdefs.h >>conftest.$ac_ext
23078 cat >>conftest.$ac_ext <<_ACEOF
23079 /* end confdefs.h.  */
23080
23081         /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23082         #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23083         #  error "fake wchar_t"
23084         #endif
23085         #ifdef HAVE_WCHAR_H
23086         #  ifdef __CYGWIN__
23087         #    include <stddef.h>
23088         #  endif
23089         #  include <wchar.h>
23090         #endif
23091         #ifdef HAVE_STDLIB_H
23092         #  include <stdlib.h>
23093         #endif
23094         #include <stdio.h>
23095
23096
23097
23098    typedef wchar_t ac__type_sizeof_;
23099 int
23100 main ()
23101 {
23102 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23103 test_array [0] = 0
23104
23105   ;
23106   return 0;
23107 }
23108 _ACEOF
23109 rm -f conftest.$ac_objext
23110 if { (ac_try="$ac_compile"
23111 case "(($ac_try" in
23112   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23113   *) ac_try_echo=$ac_try;;
23114 esac
23115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23116   (eval "$ac_compile") 2>conftest.er1
23117   ac_status=$?
23118   grep -v '^ *+' conftest.er1 >conftest.err
23119   rm -f conftest.er1
23120   cat conftest.err >&5
23121   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23122   (exit $ac_status); } && {
23123          test -z "$ac_c_werror_flag" ||
23124          test ! -s conftest.err
23125        } && test -s conftest.$ac_objext; then
23126   ac_hi=$ac_mid; break
23127 else
23128   echo "$as_me: failed program was:" >&5
23129 sed 's/^/| /' conftest.$ac_ext >&5
23130
23131         ac_lo=`expr $ac_mid + 1`
23132                         if test $ac_lo -le $ac_mid; then
23133                           ac_lo= ac_hi=
23134                           break
23135                         fi
23136                         ac_mid=`expr 2 '*' $ac_mid + 1`
23137 fi
23138
23139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23140   done
23141 else
23142   echo "$as_me: failed program was:" >&5
23143 sed 's/^/| /' conftest.$ac_ext >&5
23144
23145         cat >conftest.$ac_ext <<_ACEOF
23146 /* confdefs.h.  */
23147 _ACEOF
23148 cat confdefs.h >>conftest.$ac_ext
23149 cat >>conftest.$ac_ext <<_ACEOF
23150 /* end confdefs.h.  */
23151
23152         /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23153         #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23154         #  error "fake wchar_t"
23155         #endif
23156         #ifdef HAVE_WCHAR_H
23157         #  ifdef __CYGWIN__
23158         #    include <stddef.h>
23159         #  endif
23160         #  include <wchar.h>
23161         #endif
23162         #ifdef HAVE_STDLIB_H
23163         #  include <stdlib.h>
23164         #endif
23165         #include <stdio.h>
23166
23167
23168
23169    typedef wchar_t ac__type_sizeof_;
23170 int
23171 main ()
23172 {
23173 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23174 test_array [0] = 0
23175
23176   ;
23177   return 0;
23178 }
23179 _ACEOF
23180 rm -f conftest.$ac_objext
23181 if { (ac_try="$ac_compile"
23182 case "(($ac_try" in
23183   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23184   *) ac_try_echo=$ac_try;;
23185 esac
23186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23187   (eval "$ac_compile") 2>conftest.er1
23188   ac_status=$?
23189   grep -v '^ *+' conftest.er1 >conftest.err
23190   rm -f conftest.er1
23191   cat conftest.err >&5
23192   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23193   (exit $ac_status); } && {
23194          test -z "$ac_c_werror_flag" ||
23195          test ! -s conftest.err
23196        } && test -s conftest.$ac_objext; then
23197   ac_hi=-1 ac_mid=-1
23198   while :; do
23199     cat >conftest.$ac_ext <<_ACEOF
23200 /* confdefs.h.  */
23201 _ACEOF
23202 cat confdefs.h >>conftest.$ac_ext
23203 cat >>conftest.$ac_ext <<_ACEOF
23204 /* end confdefs.h.  */
23205
23206         /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23207         #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23208         #  error "fake wchar_t"
23209         #endif
23210         #ifdef HAVE_WCHAR_H
23211         #  ifdef __CYGWIN__
23212         #    include <stddef.h>
23213         #  endif
23214         #  include <wchar.h>
23215         #endif
23216         #ifdef HAVE_STDLIB_H
23217         #  include <stdlib.h>
23218         #endif
23219         #include <stdio.h>
23220
23221
23222
23223    typedef wchar_t ac__type_sizeof_;
23224 int
23225 main ()
23226 {
23227 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23228 test_array [0] = 0
23229
23230   ;
23231   return 0;
23232 }
23233 _ACEOF
23234 rm -f conftest.$ac_objext
23235 if { (ac_try="$ac_compile"
23236 case "(($ac_try" in
23237   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23238   *) ac_try_echo=$ac_try;;
23239 esac
23240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23241   (eval "$ac_compile") 2>conftest.er1
23242   ac_status=$?
23243   grep -v '^ *+' conftest.er1 >conftest.err
23244   rm -f conftest.er1
23245   cat conftest.err >&5
23246   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23247   (exit $ac_status); } && {
23248          test -z "$ac_c_werror_flag" ||
23249          test ! -s conftest.err
23250        } && test -s conftest.$ac_objext; then
23251   ac_lo=$ac_mid; break
23252 else
23253   echo "$as_me: failed program was:" >&5
23254 sed 's/^/| /' conftest.$ac_ext >&5
23255
23256         ac_hi=`expr '(' $ac_mid ')' - 1`
23257                         if test $ac_mid -le $ac_hi; then
23258                           ac_lo= ac_hi=
23259                           break
23260                         fi
23261                         ac_mid=`expr 2 '*' $ac_mid`
23262 fi
23263
23264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23265   done
23266 else
23267   echo "$as_me: failed program was:" >&5
23268 sed 's/^/| /' conftest.$ac_ext >&5
23269
23270         ac_lo= ac_hi=
23271 fi
23272
23273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23274 fi
23275
23276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23277 # Binary search between lo and hi bounds.
23278 while test "x$ac_lo" != "x$ac_hi"; do
23279   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23280   cat >conftest.$ac_ext <<_ACEOF
23281 /* confdefs.h.  */
23282 _ACEOF
23283 cat confdefs.h >>conftest.$ac_ext
23284 cat >>conftest.$ac_ext <<_ACEOF
23285 /* end confdefs.h.  */
23286
23287         /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23288         #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23289         #  error "fake wchar_t"
23290         #endif
23291         #ifdef HAVE_WCHAR_H
23292         #  ifdef __CYGWIN__
23293         #    include <stddef.h>
23294         #  endif
23295         #  include <wchar.h>
23296         #endif
23297         #ifdef HAVE_STDLIB_H
23298         #  include <stdlib.h>
23299         #endif
23300         #include <stdio.h>
23301
23302
23303
23304    typedef wchar_t ac__type_sizeof_;
23305 int
23306 main ()
23307 {
23308 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23309 test_array [0] = 0
23310
23311   ;
23312   return 0;
23313 }
23314 _ACEOF
23315 rm -f conftest.$ac_objext
23316 if { (ac_try="$ac_compile"
23317 case "(($ac_try" in
23318   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23319   *) ac_try_echo=$ac_try;;
23320 esac
23321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23322   (eval "$ac_compile") 2>conftest.er1
23323   ac_status=$?
23324   grep -v '^ *+' conftest.er1 >conftest.err
23325   rm -f conftest.er1
23326   cat conftest.err >&5
23327   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23328   (exit $ac_status); } && {
23329          test -z "$ac_c_werror_flag" ||
23330          test ! -s conftest.err
23331        } && test -s conftest.$ac_objext; then
23332   ac_hi=$ac_mid
23333 else
23334   echo "$as_me: failed program was:" >&5
23335 sed 's/^/| /' conftest.$ac_ext >&5
23336
23337         ac_lo=`expr '(' $ac_mid ')' + 1`
23338 fi
23339
23340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23341 done
23342 case $ac_lo in
23343 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
23344 '') if test "$ac_cv_type_wchar_t" = yes; then
23345      { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
23346 See \`config.log' for more details." >&5
23347 echo "$as_me: error: cannot compute sizeof (wchar_t)
23348 See \`config.log' for more details." >&2;}
23349    { (exit 77); exit 77; }; }
23350    else
23351      ac_cv_sizeof_wchar_t=0
23352    fi ;;
23353 esac
23354 else
23355   cat >conftest.$ac_ext <<_ACEOF
23356 /* confdefs.h.  */
23357 _ACEOF
23358 cat confdefs.h >>conftest.$ac_ext
23359 cat >>conftest.$ac_ext <<_ACEOF
23360 /* end confdefs.h.  */
23361
23362         /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23363         #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23364         #  error "fake wchar_t"
23365         #endif
23366         #ifdef HAVE_WCHAR_H
23367         #  ifdef __CYGWIN__
23368         #    include <stddef.h>
23369         #  endif
23370         #  include <wchar.h>
23371         #endif
23372         #ifdef HAVE_STDLIB_H
23373         #  include <stdlib.h>
23374         #endif
23375         #include <stdio.h>
23376
23377
23378
23379    typedef wchar_t ac__type_sizeof_;
23380 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23381 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23382 #include <stdio.h>
23383 #include <stdlib.h>
23384 int
23385 main ()
23386 {
23387
23388   FILE *f = fopen ("conftest.val", "w");
23389   if (! f)
23390     return 1;
23391   if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23392     {
23393       long int i = longval ();
23394       if (i != ((long int) (sizeof (ac__type_sizeof_))))
23395         return 1;
23396       fprintf (f, "%ld\n", i);
23397     }
23398   else
23399     {
23400       unsigned long int i = ulongval ();
23401       if (i != ((long int) (sizeof (ac__type_sizeof_))))
23402         return 1;
23403       fprintf (f, "%lu\n", i);
23404     }
23405   return ferror (f) || fclose (f) != 0;
23406
23407   ;
23408   return 0;
23409 }
23410 _ACEOF
23411 rm -f conftest$ac_exeext
23412 if { (ac_try="$ac_link"
23413 case "(($ac_try" in
23414   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23415   *) ac_try_echo=$ac_try;;
23416 esac
23417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23418   (eval "$ac_link") 2>&5
23419   ac_status=$?
23420   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23421   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23422   { (case "(($ac_try" in
23423   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23424   *) ac_try_echo=$ac_try;;
23425 esac
23426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23427   (eval "$ac_try") 2>&5
23428   ac_status=$?
23429   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23430   (exit $ac_status); }; }; then
23431   ac_cv_sizeof_wchar_t=`cat conftest.val`
23432 else
23433   echo "$as_me: program exited with status $ac_status" >&5
23434 echo "$as_me: failed program was:" >&5
23435 sed 's/^/| /' conftest.$ac_ext >&5
23436
23437 ( exit $ac_status )
23438 if test "$ac_cv_type_wchar_t" = yes; then
23439      { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
23440 See \`config.log' for more details." >&5
23441 echo "$as_me: error: cannot compute sizeof (wchar_t)
23442 See \`config.log' for more details." >&2;}
23443    { (exit 77); exit 77; }; }
23444    else
23445      ac_cv_sizeof_wchar_t=0
23446    fi
23447 fi
23448 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23449 fi
23450 rm -f conftest.val
23451 fi
23452 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
23453 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
23454
23455
23456
23457 cat >>confdefs.h <<_ACEOF
23458 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
23459 _ACEOF
23460
23461
23462 if test "$ac_cv_sizeof_wchar_t" != 0; then
23463     wxUSE_WCHAR_T=yes
23464 else
23465     wxUSE_WCHAR_T=no
23466 fi
23467
23468 { echo "$as_me:$LINENO: checking for va_copy" >&5
23469 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
23470 if test "${wx_cv_func_va_copy+set}" = set; then
23471   echo $ECHO_N "(cached) $ECHO_C" >&6
23472 else
23473
23474         ac_ext=cpp
23475 ac_cpp='$CXXCPP $CPPFLAGS'
23476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23479
23480         cat >conftest.$ac_ext <<_ACEOF
23481
23482             #include <stdarg.h>
23483             void foo(char *f, ...)
23484             {
23485                 va_list ap1, ap2;
23486                 va_start(ap1, f);
23487                 va_copy(ap2, ap1);
23488                 va_end(ap2);
23489                 va_end(ap1);
23490             }
23491             int main()
23492             {
23493                 foo("hi", 17);
23494                 return 0;
23495             }
23496 _ACEOF
23497 rm -f conftest.$ac_objext conftest$ac_exeext
23498 if { (ac_try="$ac_link"
23499 case "(($ac_try" in
23500   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23501   *) ac_try_echo=$ac_try;;
23502 esac
23503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23504   (eval "$ac_link") 2>conftest.er1
23505   ac_status=$?
23506   grep -v '^ *+' conftest.er1 >conftest.err
23507   rm -f conftest.er1
23508   cat conftest.err >&5
23509   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23510   (exit $ac_status); } && {
23511          test -z "$ac_cxx_werror_flag" ||
23512          test ! -s conftest.err
23513        } && test -s conftest$ac_exeext &&
23514        $as_test_x conftest$ac_exeext; then
23515   wx_cv_func_va_copy=yes
23516 else
23517   echo "$as_me: failed program was:" >&5
23518 sed 's/^/| /' conftest.$ac_ext >&5
23519
23520         wx_cv_func_va_copy=no
23521
23522 fi
23523
23524 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23525       conftest$ac_exeext conftest.$ac_ext
23526         ac_ext=c
23527 ac_cpp='$CPP $CPPFLAGS'
23528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23531
23532
23533
23534 fi
23535 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
23536 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
23537
23538 if test $wx_cv_func_va_copy = "yes"; then
23539     cat >>confdefs.h <<\_ACEOF
23540 #define HAVE_VA_COPY 1
23541 _ACEOF
23542
23543 else
23544         { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
23545 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
23546 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
23547   echo $ECHO_N "(cached) $ECHO_C" >&6
23548 else
23549
23550             if test "$cross_compiling" = yes; then
23551                   wx_cv_type_va_list_lvalue=yes
23552
23553 else
23554   cat >conftest.$ac_ext <<_ACEOF
23555
23556                 #include <stdarg.h>
23557                 int foo(char *f, ...)
23558                 {
23559                     va_list ap1, ap2;
23560                     va_start(ap1, f);
23561                     ap2 = ap1;
23562                     if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
23563                         return 1;
23564                     va_end(ap2);
23565                     va_end(ap1);
23566                     return 0;
23567                 }
23568                 int main()
23569                 {
23570                     return foo("hi", 17);
23571                 }
23572 _ACEOF
23573 rm -f conftest$ac_exeext
23574 if { (ac_try="$ac_link"
23575 case "(($ac_try" in
23576   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23577   *) ac_try_echo=$ac_try;;
23578 esac
23579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23580   (eval "$ac_link") 2>&5
23581   ac_status=$?
23582   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23583   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23584   { (case "(($ac_try" in
23585   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23586   *) ac_try_echo=$ac_try;;
23587 esac
23588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23589   (eval "$ac_try") 2>&5
23590   ac_status=$?
23591   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23592   (exit $ac_status); }; }; then
23593   wx_cv_type_va_list_lvalue=yes
23594 else
23595   echo "$as_me: program exited with status $ac_status" >&5
23596 echo "$as_me: failed program was:" >&5
23597 sed 's/^/| /' conftest.$ac_ext >&5
23598
23599 ( exit $ac_status )
23600 wx_cv_type_va_list_lvalue=no
23601 fi
23602 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23603 fi
23604
23605
23606
23607
23608 fi
23609 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
23610 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
23611
23612     if test $wx_cv_type_va_list_lvalue != "yes"; then
23613                         cat >>confdefs.h <<\_ACEOF
23614 #define VA_LIST_IS_ARRAY 1
23615 _ACEOF
23616
23617     fi
23618 fi
23619
23620 if test "$wxUSE_VARARG_MACROS" = "yes"; then
23621
23622 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
23623 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
23624 if test "${wx_cv_have_variadic_macros+set}" = set; then
23625   echo $ECHO_N "(cached) $ECHO_C" >&6
23626 else
23627
23628                         ac_ext=cpp
23629 ac_cpp='$CXXCPP $CPPFLAGS'
23630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23633
23634         cat >conftest.$ac_ext <<_ACEOF
23635 /* confdefs.h.  */
23636 _ACEOF
23637 cat confdefs.h >>conftest.$ac_ext
23638 cat >>conftest.$ac_ext <<_ACEOF
23639 /* end confdefs.h.  */
23640
23641                     #include <stdio.h>
23642                     #define test(fmt, ...) printf(fmt, __VA_ARGS__)
23643
23644 int
23645 main ()
23646 {
23647
23648                     test("%s %d %p", "test", 1, 0);
23649
23650
23651   ;
23652   return 0;
23653 }
23654 _ACEOF
23655 rm -f conftest.$ac_objext
23656 if { (ac_try="$ac_compile"
23657 case "(($ac_try" in
23658   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23659   *) ac_try_echo=$ac_try;;
23660 esac
23661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23662   (eval "$ac_compile") 2>conftest.er1
23663   ac_status=$?
23664   grep -v '^ *+' conftest.er1 >conftest.err
23665   rm -f conftest.er1
23666   cat conftest.err >&5
23667   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23668   (exit $ac_status); } && {
23669          test -z "$ac_cxx_werror_flag" ||
23670          test ! -s conftest.err
23671        } && test -s conftest.$ac_objext; then
23672   wx_cv_have_variadic_macros=yes
23673 else
23674   echo "$as_me: failed program was:" >&5
23675 sed 's/^/| /' conftest.$ac_ext >&5
23676
23677         wx_cv_have_variadic_macros=no
23678
23679 fi
23680
23681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23682         ac_ext=c
23683 ac_cpp='$CPP $CPPFLAGS'
23684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23687
23688
23689
23690 fi
23691 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
23692 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
23693
23694 if test $wx_cv_have_variadic_macros = "yes"; then
23695     cat >>confdefs.h <<\_ACEOF
23696 #define HAVE_VARIADIC_MACROS 1
23697 _ACEOF
23698
23699 fi
23700
23701 fi
23702
23703 LARGEFILE_CPPFLAGS=
23704 # Check whether --enable-largefile was given.
23705 if test "${enable_largefile+set}" = set; then
23706   enableval=$enable_largefile;
23707 fi
23708
23709 if test "$enable_largefile" != no; then
23710             wx_largefile=no
23711
23712     { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
23713 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
23714 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
23715   echo $ECHO_N "(cached) $ECHO_C" >&6
23716 else
23717
23718           cat >conftest.$ac_ext <<_ACEOF
23719 /* confdefs.h.  */
23720 _ACEOF
23721 cat confdefs.h >>conftest.$ac_ext
23722 cat >>conftest.$ac_ext <<_ACEOF
23723 /* end confdefs.h.  */
23724 #define _FILE_OFFSET_BITS 64
23725                           #include <sys/types.h>
23726 int
23727 main ()
23728 {
23729 typedef struct {
23730     unsigned int field: sizeof(off_t) == 8;
23731 } wxlf;
23732
23733   ;
23734   return 0;
23735 }
23736 _ACEOF
23737 rm -f conftest.$ac_objext
23738 if { (ac_try="$ac_compile"
23739 case "(($ac_try" in
23740   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23741   *) ac_try_echo=$ac_try;;
23742 esac
23743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23744   (eval "$ac_compile") 2>conftest.er1
23745   ac_status=$?
23746   grep -v '^ *+' conftest.er1 >conftest.err
23747   rm -f conftest.er1
23748   cat conftest.err >&5
23749   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23750   (exit $ac_status); } && {
23751          test -z "$ac_c_werror_flag" ||
23752          test ! -s conftest.err
23753        } && test -s conftest.$ac_objext; then
23754   ac_cv_sys_file_offset_bits=64
23755 else
23756   echo "$as_me: failed program was:" >&5
23757 sed 's/^/| /' conftest.$ac_ext >&5
23758
23759         ac_cv_sys_file_offset_bits=no
23760 fi
23761
23762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23763
23764
23765 fi
23766 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
23767 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
23768
23769     if test "$ac_cv_sys_file_offset_bits" != no; then
23770         wx_largefile=yes
23771         cat >>confdefs.h <<_ACEOF
23772 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
23773 _ACEOF
23774
23775     fi
23776
23777     if test "x$wx_largefile" != "xyes"; then
23778
23779     { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
23780 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
23781 if test "${ac_cv_sys_large_files+set}" = set; then
23782   echo $ECHO_N "(cached) $ECHO_C" >&6
23783 else
23784
23785           cat >conftest.$ac_ext <<_ACEOF
23786 /* confdefs.h.  */
23787 _ACEOF
23788 cat confdefs.h >>conftest.$ac_ext
23789 cat >>conftest.$ac_ext <<_ACEOF
23790 /* end confdefs.h.  */
23791 #define _LARGE_FILES 1
23792                           #include <sys/types.h>
23793 int
23794 main ()
23795 {
23796 typedef struct {
23797     unsigned int field: sizeof(off_t) == 8;
23798 } wxlf;
23799
23800   ;
23801   return 0;
23802 }
23803 _ACEOF
23804 rm -f conftest.$ac_objext
23805 if { (ac_try="$ac_compile"
23806 case "(($ac_try" in
23807   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23808   *) ac_try_echo=$ac_try;;
23809 esac
23810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23811   (eval "$ac_compile") 2>conftest.er1
23812   ac_status=$?
23813   grep -v '^ *+' conftest.er1 >conftest.err
23814   rm -f conftest.er1
23815   cat conftest.err >&5
23816   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23817   (exit $ac_status); } && {
23818          test -z "$ac_c_werror_flag" ||
23819          test ! -s conftest.err
23820        } && test -s conftest.$ac_objext; then
23821   ac_cv_sys_large_files=1
23822 else
23823   echo "$as_me: failed program was:" >&5
23824 sed 's/^/| /' conftest.$ac_ext >&5
23825
23826         ac_cv_sys_large_files=no
23827 fi
23828
23829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23830
23831
23832 fi
23833 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
23834 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
23835
23836     if test "$ac_cv_sys_large_files" != no; then
23837         wx_largefile=yes
23838         cat >>confdefs.h <<_ACEOF
23839 #define _LARGE_FILES $ac_cv_sys_large_files
23840 _ACEOF
23841
23842     fi
23843
23844     fi
23845
23846     { echo "$as_me:$LINENO: checking if large file support is available" >&5
23847 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
23848     if test "x$wx_largefile" = "xyes"; then
23849         cat >>confdefs.h <<\_ACEOF
23850 #define HAVE_LARGEFILE_SUPPORT 1
23851 _ACEOF
23852
23853     fi
23854     { echo "$as_me:$LINENO: result: $wx_largefile" >&5
23855 echo "${ECHO_T}$wx_largefile" >&6; }
23856 fi
23857
23858 if test "$ac_cv_sys_file_offset_bits" = "64"; then
23859     LARGEFILE_CPPFLAGS="-D_FILE_OFFSET_BITS=64"
23860 elif test "$ac_cv_sys_large_files" = 1; then
23861     LARGEFILE_CPPFLAGS="-D_LARGE_FILES"
23862 fi
23863
23864 if test -n "$LARGEFILE_CPPFLAGS"; then
23865     WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
23866
23867                             if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
23868         { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
23869 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
23870 if test "${wx_cv_STDC_EXT_required+set}" = set; then
23871   echo $ECHO_N "(cached) $ECHO_C" >&6
23872 else
23873
23874                 ac_ext=cpp
23875 ac_cpp='$CXXCPP $CPPFLAGS'
23876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23879
23880                 cat >conftest.$ac_ext <<_ACEOF
23881 /* confdefs.h.  */
23882 _ACEOF
23883 cat confdefs.h >>conftest.$ac_ext
23884 cat >>conftest.$ac_ext <<_ACEOF
23885 /* end confdefs.h.  */
23886
23887 int
23888 main ()
23889 {
23890
23891                         #ifndef __STDC_EXT__
23892                             choke me
23893                         #endif
23894
23895   ;
23896   return 0;
23897 }
23898 _ACEOF
23899 rm -f conftest.$ac_objext
23900 if { (ac_try="$ac_compile"
23901 case "(($ac_try" in
23902   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23903   *) ac_try_echo=$ac_try;;
23904 esac
23905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23906   (eval "$ac_compile") 2>conftest.er1
23907   ac_status=$?
23908   grep -v '^ *+' conftest.er1 >conftest.err
23909   rm -f conftest.er1
23910   cat conftest.err >&5
23911   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23912   (exit $ac_status); } && {
23913          test -z "$ac_cxx_werror_flag" ||
23914          test ! -s conftest.err
23915        } && test -s conftest.$ac_objext; then
23916   wx_cv_STDC_EXT_required=no
23917 else
23918   echo "$as_me: failed program was:" >&5
23919 sed 's/^/| /' conftest.$ac_ext >&5
23920
23921         wx_cv_STDC_EXT_required=yes
23922
23923 fi
23924
23925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23926                 ac_ext=c
23927 ac_cpp='$CPP $CPPFLAGS'
23928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23931
23932
23933
23934 fi
23935 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
23936 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
23937         if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
23938             WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
23939         fi
23940     fi
23941 fi
23942
23943 ac_ext=cpp
23944 ac_cpp='$CXXCPP $CPPFLAGS'
23945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23948
23949 old_CPPFLAGS="$CPPFLAGS"
23950 CPPFLAGS="$CPPFLAGS $LARGEFILE_CPPFLAGS"
23951 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
23952 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
23953 if test "${ac_cv_sys_largefile_source+set}" = set; then
23954   echo $ECHO_N "(cached) $ECHO_C" >&6
23955 else
23956   while :; do
23957   cat >conftest.$ac_ext <<_ACEOF
23958 /* confdefs.h.  */
23959 _ACEOF
23960 cat confdefs.h >>conftest.$ac_ext
23961 cat >>conftest.$ac_ext <<_ACEOF
23962 /* end confdefs.h.  */
23963 #include <sys/types.h> /* for off_t */
23964      #include <stdio.h>
23965 int
23966 main ()
23967 {
23968 int (*fp) (FILE *, off_t, int) = fseeko;
23969      return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23970   ;
23971   return 0;
23972 }
23973 _ACEOF
23974 rm -f conftest.$ac_objext conftest$ac_exeext
23975 if { (ac_try="$ac_link"
23976 case "(($ac_try" in
23977   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23978   *) ac_try_echo=$ac_try;;
23979 esac
23980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23981   (eval "$ac_link") 2>conftest.er1
23982   ac_status=$?
23983   grep -v '^ *+' conftest.er1 >conftest.err
23984   rm -f conftest.er1
23985   cat conftest.err >&5
23986   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23987   (exit $ac_status); } && {
23988          test -z "$ac_cxx_werror_flag" ||
23989          test ! -s conftest.err
23990        } && test -s conftest$ac_exeext &&
23991        $as_test_x conftest$ac_exeext; then
23992   ac_cv_sys_largefile_source=no; break
23993 else
23994   echo "$as_me: failed program was:" >&5
23995 sed 's/^/| /' conftest.$ac_ext >&5
23996
23997
23998 fi
23999
24000 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24001       conftest$ac_exeext conftest.$ac_ext
24002   cat >conftest.$ac_ext <<_ACEOF
24003 /* confdefs.h.  */
24004 _ACEOF
24005 cat confdefs.h >>conftest.$ac_ext
24006 cat >>conftest.$ac_ext <<_ACEOF
24007 /* end confdefs.h.  */
24008 #define _LARGEFILE_SOURCE 1
24009 #include <sys/types.h> /* for off_t */
24010      #include <stdio.h>
24011 int
24012 main ()
24013 {
24014 int (*fp) (FILE *, off_t, int) = fseeko;
24015      return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
24016   ;
24017   return 0;
24018 }
24019 _ACEOF
24020 rm -f conftest.$ac_objext conftest$ac_exeext
24021 if { (ac_try="$ac_link"
24022 case "(($ac_try" in
24023   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24024   *) ac_try_echo=$ac_try;;
24025 esac
24026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24027   (eval "$ac_link") 2>conftest.er1
24028   ac_status=$?
24029   grep -v '^ *+' conftest.er1 >conftest.err
24030   rm -f conftest.er1
24031   cat conftest.err >&5
24032   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24033   (exit $ac_status); } && {
24034          test -z "$ac_cxx_werror_flag" ||
24035          test ! -s conftest.err
24036        } && test -s conftest$ac_exeext &&
24037        $as_test_x conftest$ac_exeext; then
24038   ac_cv_sys_largefile_source=1; break
24039 else
24040   echo "$as_me: failed program was:" >&5
24041 sed 's/^/| /' conftest.$ac_ext >&5
24042
24043
24044 fi
24045
24046 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24047       conftest$ac_exeext conftest.$ac_ext
24048   ac_cv_sys_largefile_source=unknown
24049   break
24050 done
24051 fi
24052 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
24053 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
24054 case $ac_cv_sys_largefile_source in #(
24055   no | unknown) ;;
24056   *)
24057 cat >>confdefs.h <<_ACEOF
24058 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
24059 _ACEOF
24060 ;;
24061 esac
24062 rm -f conftest*
24063
24064 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
24065 # in glibc 2.1.3, but that breaks too many other things.
24066 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
24067 if test $ac_cv_sys_largefile_source != unknown; then
24068
24069 cat >>confdefs.h <<\_ACEOF
24070 #define HAVE_FSEEKO 1
24071 _ACEOF
24072
24073 fi
24074
24075 CPPFLAGS="$old_CPPFLAGS"
24076 ac_ext=c
24077 ac_cpp='$CPP $CPPFLAGS'
24078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24081
24082 if test "$ac_cv_sys_largefile_source" != no; then
24083     WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
24084 fi
24085
24086 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
24087 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
24088 if test "${ac_cv_c_bigendian+set}" = set; then
24089   echo $ECHO_N "(cached) $ECHO_C" >&6
24090 else
24091   ac_cv_c_bigendian=unknown
24092 # See if sys/param.h defines the BYTE_ORDER macro.
24093 cat >conftest.$ac_ext <<_ACEOF
24094 /* confdefs.h.  */
24095 _ACEOF
24096 cat confdefs.h >>conftest.$ac_ext
24097 cat >>conftest.$ac_ext <<_ACEOF
24098 /* end confdefs.h.  */
24099 #include <sys/types.h>
24100 #include <sys/param.h>
24101 int
24102 main ()
24103 {
24104
24105 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
24106  bogus endian macros
24107 #endif
24108   ;
24109   return 0;
24110 }
24111 _ACEOF
24112 rm -f conftest.$ac_objext
24113 if { (ac_try="$ac_compile"
24114 case "(($ac_try" in
24115   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24116   *) ac_try_echo=$ac_try;;
24117 esac
24118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24119   (eval "$ac_compile") 2>conftest.er1
24120   ac_status=$?
24121   grep -v '^ *+' conftest.er1 >conftest.err
24122   rm -f conftest.er1
24123   cat conftest.err >&5
24124   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24125   (exit $ac_status); } && {
24126          test -z "$ac_c_werror_flag" ||
24127          test ! -s conftest.err
24128        } && test -s conftest.$ac_objext; then
24129   # It does; now see whether it defined to BIG_ENDIAN or not.
24130 cat >conftest.$ac_ext <<_ACEOF
24131 /* confdefs.h.  */
24132 _ACEOF
24133 cat confdefs.h >>conftest.$ac_ext
24134 cat >>conftest.$ac_ext <<_ACEOF
24135 /* end confdefs.h.  */
24136 #include <sys/types.h>
24137 #include <sys/param.h>
24138 int
24139 main ()
24140 {
24141
24142 #if BYTE_ORDER != BIG_ENDIAN
24143  not big endian
24144 #endif
24145   ;
24146   return 0;
24147 }
24148 _ACEOF
24149 rm -f conftest.$ac_objext
24150 if { (ac_try="$ac_compile"
24151 case "(($ac_try" in
24152   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24153   *) ac_try_echo=$ac_try;;
24154 esac
24155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24156   (eval "$ac_compile") 2>conftest.er1
24157   ac_status=$?
24158   grep -v '^ *+' conftest.er1 >conftest.err
24159   rm -f conftest.er1
24160   cat conftest.err >&5
24161   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24162   (exit $ac_status); } && {
24163          test -z "$ac_c_werror_flag" ||
24164          test ! -s conftest.err
24165        } && test -s conftest.$ac_objext; then
24166   ac_cv_c_bigendian=yes
24167 else
24168   echo "$as_me: failed program was:" >&5
24169 sed 's/^/| /' conftest.$ac_ext >&5
24170
24171         ac_cv_c_bigendian=no
24172 fi
24173
24174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24175 else
24176   echo "$as_me: failed program was:" >&5
24177 sed 's/^/| /' conftest.$ac_ext >&5
24178
24179
24180 fi
24181
24182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24183 if test $ac_cv_c_bigendian = unknown; then
24184 if test "$cross_compiling" = yes; then
24185   ac_cv_c_bigendian=unknown
24186 else
24187   cat >conftest.$ac_ext <<_ACEOF
24188 /* confdefs.h.  */
24189 _ACEOF
24190 cat confdefs.h >>conftest.$ac_ext
24191 cat >>conftest.$ac_ext <<_ACEOF
24192 /* end confdefs.h.  */
24193 main () {
24194   /* Are we little or big endian?  From Harbison&Steele.  */
24195   union
24196   {
24197     long l;
24198     char c[sizeof (long)];
24199   } u;
24200   u.l = 1;
24201   exit (u.c[sizeof (long) - 1] == 1);
24202 }
24203 _ACEOF
24204 rm -f conftest$ac_exeext
24205 if { (ac_try="$ac_link"
24206 case "(($ac_try" in
24207   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24208   *) ac_try_echo=$ac_try;;
24209 esac
24210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24211   (eval "$ac_link") 2>&5
24212   ac_status=$?
24213   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24214   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24215   { (case "(($ac_try" in
24216   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24217   *) ac_try_echo=$ac_try;;
24218 esac
24219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24220   (eval "$ac_try") 2>&5
24221   ac_status=$?
24222   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24223   (exit $ac_status); }; }; then
24224   ac_cv_c_bigendian=no
24225 else
24226   echo "$as_me: program exited with status $ac_status" >&5
24227 echo "$as_me: failed program was:" >&5
24228 sed 's/^/| /' conftest.$ac_ext >&5
24229
24230 ( exit $ac_status )
24231 ac_cv_c_bigendian=yes
24232 fi
24233 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24234 fi
24235
24236
24237 fi
24238 fi
24239 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
24240 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
24241 if test $ac_cv_c_bigendian = unknown; then
24242   { 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
24243 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;}
24244 fi
24245 if test $ac_cv_c_bigendian = yes; then
24246   cat >>confdefs.h <<\_ACEOF
24247 #define WORDS_BIGENDIAN 1
24248 _ACEOF
24249
24250 fi
24251
24252
24253
24254
24255     ac_ext=cpp
24256 ac_cpp='$CXXCPP $CPPFLAGS'
24257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24260
24261
24262
24263 for ac_header in iostream
24264 do
24265 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24266 { echo "$as_me:$LINENO: checking for $ac_header" >&5
24267 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24268 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24269   echo $ECHO_N "(cached) $ECHO_C" >&6
24270 else
24271   cat >conftest.$ac_ext <<_ACEOF
24272 /* confdefs.h.  */
24273 _ACEOF
24274 cat confdefs.h >>conftest.$ac_ext
24275 cat >>conftest.$ac_ext <<_ACEOF
24276 /* end confdefs.h.  */
24277
24278
24279 #include <$ac_header>
24280 _ACEOF
24281 rm -f conftest.$ac_objext
24282 if { (ac_try="$ac_compile"
24283 case "(($ac_try" in
24284   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24285   *) ac_try_echo=$ac_try;;
24286 esac
24287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24288   (eval "$ac_compile") 2>conftest.er1
24289   ac_status=$?
24290   grep -v '^ *+' conftest.er1 >conftest.err
24291   rm -f conftest.er1
24292   cat conftest.err >&5
24293   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24294   (exit $ac_status); } && {
24295          test -z "$ac_cxx_werror_flag" ||
24296          test ! -s conftest.err
24297        } && test -s conftest.$ac_objext; then
24298   eval "$as_ac_Header=yes"
24299 else
24300   echo "$as_me: failed program was:" >&5
24301 sed 's/^/| /' conftest.$ac_ext >&5
24302
24303         eval "$as_ac_Header=no"
24304 fi
24305
24306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24307 fi
24308 ac_res=`eval echo '${'$as_ac_Header'}'`
24309                { echo "$as_me:$LINENO: result: $ac_res" >&5
24310 echo "${ECHO_T}$ac_res" >&6; }
24311 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24312   cat >>confdefs.h <<_ACEOF
24313 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24314 _ACEOF
24315
24316 fi
24317
24318 done
24319
24320
24321     if test "$ac_cv_header_iostream" = "yes" ; then
24322       :
24323     else
24324       cat >>confdefs.h <<\_ACEOF
24325 #define wxUSE_IOSTREAMH 1
24326 _ACEOF
24327
24328     fi
24329
24330     ac_ext=c
24331 ac_cpp='$CPP $CPPFLAGS'
24332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24335
24336
24337
24338
24339   { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
24340 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
24341 if test "${wx_cv_explicit+set}" = set; then
24342   echo $ECHO_N "(cached) $ECHO_C" >&6
24343 else
24344
24345
24346     ac_ext=cpp
24347 ac_cpp='$CXXCPP $CPPFLAGS'
24348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24351
24352
24353             cat >conftest.$ac_ext <<_ACEOF
24354 /* confdefs.h.  */
24355 _ACEOF
24356 cat confdefs.h >>conftest.$ac_ext
24357 cat >>conftest.$ac_ext <<_ACEOF
24358 /* end confdefs.h.  */
24359
24360         class Foo { public: explicit Foo(int) {} };
24361
24362 int
24363 main ()
24364 {
24365
24366         return 0;
24367
24368   ;
24369   return 0;
24370 }
24371 _ACEOF
24372 rm -f conftest.$ac_objext
24373 if { (ac_try="$ac_compile"
24374 case "(($ac_try" in
24375   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24376   *) ac_try_echo=$ac_try;;
24377 esac
24378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24379   (eval "$ac_compile") 2>conftest.er1
24380   ac_status=$?
24381   grep -v '^ *+' conftest.er1 >conftest.err
24382   rm -f conftest.er1
24383   cat conftest.err >&5
24384   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24385   (exit $ac_status); } && {
24386          test -z "$ac_cxx_werror_flag" ||
24387          test ! -s conftest.err
24388        } && test -s conftest.$ac_objext; then
24389
24390         cat >conftest.$ac_ext <<_ACEOF
24391 /* confdefs.h.  */
24392 _ACEOF
24393 cat confdefs.h >>conftest.$ac_ext
24394 cat >>conftest.$ac_ext <<_ACEOF
24395 /* end confdefs.h.  */
24396
24397                 class Foo { public: explicit Foo(int) {} };
24398                 static void TakeFoo(const Foo& foo) { }
24399
24400 int
24401 main ()
24402 {
24403
24404                 TakeFoo(17);
24405                 return 0;
24406
24407   ;
24408   return 0;
24409 }
24410 _ACEOF
24411 rm -f conftest.$ac_objext
24412 if { (ac_try="$ac_compile"
24413 case "(($ac_try" in
24414   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24415   *) ac_try_echo=$ac_try;;
24416 esac
24417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24418   (eval "$ac_compile") 2>conftest.er1
24419   ac_status=$?
24420   grep -v '^ *+' conftest.er1 >conftest.err
24421   rm -f conftest.er1
24422   cat conftest.err >&5
24423   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24424   (exit $ac_status); } && {
24425          test -z "$ac_cxx_werror_flag" ||
24426          test ! -s conftest.err
24427        } && test -s conftest.$ac_objext; then
24428   wx_cv_explicit=no
24429 else
24430   echo "$as_me: failed program was:" >&5
24431 sed 's/^/| /' conftest.$ac_ext >&5
24432
24433         wx_cv_explicit=yes
24434
24435 fi
24436
24437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24438
24439 else
24440   echo "$as_me: failed program was:" >&5
24441 sed 's/^/| /' conftest.$ac_ext >&5
24442
24443         wx_cv_explicit=no
24444
24445 fi
24446
24447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24448
24449     ac_ext=c
24450 ac_cpp='$CPP $CPPFLAGS'
24451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24454
24455
24456 fi
24457 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
24458 echo "${ECHO_T}$wx_cv_explicit" >&6; }
24459
24460   if test "$wx_cv_explicit" = "yes"; then
24461     cat >>confdefs.h <<\_ACEOF
24462 #define HAVE_EXPLICIT 1
24463 _ACEOF
24464
24465   fi
24466
24467
24468 if test "x$SUNCXX" = xyes; then
24469     CXXFLAGS="-features=tmplife $CXXFLAGS"
24470 fi
24471
24472 if test "x$SUNCC" = xyes; then
24473     CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
24474 fi
24475
24476 if test "x$SGICC" = "xyes"; then
24477     CFLAGS="-woff 3970 $CFLAGS"
24478 fi
24479 if test "x$SGICXX" = "xyes"; then
24480     CXXFLAGS="-woff 3970 $CXXFLAGS"
24481 fi
24482
24483 if test "x$HPCC" = "xyes"; then
24484                     CFLAGS="+W 2011,2450 $CFLAGS"
24485 fi
24486 if test "x$HPCXX" = "xyes"; then
24487                             CXXFLAGS="+W 2340,4232 $CXXFLAGS"
24488 fi
24489
24490 if test "x$COMPAQCXX" = "xyes"; then
24491                                 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
24492 fi
24493
24494 ac_ext=cpp
24495 ac_cpp='$CXXCPP $CPPFLAGS'
24496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24499
24500
24501 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
24502     if test "$wxUSE_UNICODE" = "yes"; then
24503         std_string="std::wstring"
24504         char_type="wchar_t"
24505     else
24506         std_string="std::string"
24507         char_type="char"
24508     fi
24509
24510         { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
24511 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
24512 if test "${wx_cv_class_stdstring+set}" = set; then
24513   echo $ECHO_N "(cached) $ECHO_C" >&6
24514 else
24515
24516             cat >conftest.$ac_ext <<_ACEOF
24517 /* confdefs.h.  */
24518 _ACEOF
24519 cat confdefs.h >>conftest.$ac_ext
24520 cat >>conftest.$ac_ext <<_ACEOF
24521 /* end confdefs.h.  */
24522 #include <string>
24523 int
24524 main ()
24525 {
24526 $std_string foo;
24527   ;
24528   return 0;
24529 }
24530 _ACEOF
24531 rm -f conftest.$ac_objext
24532 if { (ac_try="$ac_compile"
24533 case "(($ac_try" in
24534   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24535   *) ac_try_echo=$ac_try;;
24536 esac
24537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24538   (eval "$ac_compile") 2>conftest.er1
24539   ac_status=$?
24540   grep -v '^ *+' conftest.er1 >conftest.err
24541   rm -f conftest.er1
24542   cat conftest.err >&5
24543   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24544   (exit $ac_status); } && {
24545          test -z "$ac_cxx_werror_flag" ||
24546          test ! -s conftest.err
24547        } && test -s conftest.$ac_objext; then
24548   wx_cv_class_stdstring=yes
24549 else
24550   echo "$as_me: failed program was:" >&5
24551 sed 's/^/| /' conftest.$ac_ext >&5
24552
24553         wx_cv_class_stdstring=no
24554
24555 fi
24556
24557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24558
24559
24560 fi
24561 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
24562 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
24563
24564     if test "$wx_cv_class_stdstring" = yes; then
24565         if test "$wxUSE_UNICODE" = "yes"; then
24566             cat >>confdefs.h <<\_ACEOF
24567 #define HAVE_STD_WSTRING 1
24568 _ACEOF
24569
24570         fi
24571                     else
24572         { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
24573 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
24574 if test "${wx_cv_class_stdbasicstring+set}" = set; then
24575   echo $ECHO_N "(cached) $ECHO_C" >&6
24576 else
24577
24578                 cat >conftest.$ac_ext <<_ACEOF
24579 /* confdefs.h.  */
24580 _ACEOF
24581 cat confdefs.h >>conftest.$ac_ext
24582 cat >>conftest.$ac_ext <<_ACEOF
24583 /* end confdefs.h.  */
24584
24585                     #ifdef HAVE_WCHAR_H
24586                     #  ifdef __CYGWIN__
24587                     #    include <stddef.h>
24588                     #  endif
24589                     #  include <wchar.h>
24590                     #endif
24591                     #ifdef HAVE_STDLIB_H
24592                     #  include <stdlib.h>
24593                     #endif
24594                     #include <stdio.h>
24595                     #include <string>
24596
24597 int
24598 main ()
24599 {
24600 std::basic_string<$char_type> foo;
24601                      const $char_type* dummy = foo.c_str();
24602   ;
24603   return 0;
24604 }
24605 _ACEOF
24606 rm -f conftest.$ac_objext
24607 if { (ac_try="$ac_compile"
24608 case "(($ac_try" in
24609   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24610   *) ac_try_echo=$ac_try;;
24611 esac
24612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24613   (eval "$ac_compile") 2>conftest.er1
24614   ac_status=$?
24615   grep -v '^ *+' conftest.er1 >conftest.err
24616   rm -f conftest.er1
24617   cat conftest.err >&5
24618   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24619   (exit $ac_status); } && {
24620          test -z "$ac_cxx_werror_flag" ||
24621          test ! -s conftest.err
24622        } && test -s conftest.$ac_objext; then
24623   wx_cv_class_stdbasicstring=yes
24624 else
24625   echo "$as_me: failed program was:" >&5
24626 sed 's/^/| /' conftest.$ac_ext >&5
24627
24628         wx_cv_class_stdbasicstring=no
24629
24630 fi
24631
24632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24633
24634
24635 fi
24636 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
24637 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
24638
24639         if test "$wx_cv_class_stdbasicstring" != yes; then
24640             if test "$wxUSE_STL" = "yes"; then
24641                 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
24642 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
24643    { (exit 1); exit 1; }; }
24644             elif test "$wxUSE_STD_STRING" = "yes"; then
24645                 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
24646 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
24647    { (exit 1); exit 1; }; }
24648             else
24649                 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
24650 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
24651                 wxUSE_STD_STRING=no
24652             fi
24653         fi
24654     fi
24655 fi
24656
24657 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24658     { echo "$as_me:$LINENO: checking for std::istream" >&5
24659 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
24660 if test "${ac_cv_type_std__istream+set}" = set; then
24661   echo $ECHO_N "(cached) $ECHO_C" >&6
24662 else
24663   cat >conftest.$ac_ext <<_ACEOF
24664 /* confdefs.h.  */
24665 _ACEOF
24666 cat confdefs.h >>conftest.$ac_ext
24667 cat >>conftest.$ac_ext <<_ACEOF
24668 /* end confdefs.h.  */
24669 #include <iostream>
24670
24671 typedef std::istream ac__type_new_;
24672 int
24673 main ()
24674 {
24675 if ((ac__type_new_ *) 0)
24676   return 0;
24677 if (sizeof (ac__type_new_))
24678   return 0;
24679   ;
24680   return 0;
24681 }
24682 _ACEOF
24683 rm -f conftest.$ac_objext
24684 if { (ac_try="$ac_compile"
24685 case "(($ac_try" in
24686   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24687   *) ac_try_echo=$ac_try;;
24688 esac
24689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24690   (eval "$ac_compile") 2>conftest.er1
24691   ac_status=$?
24692   grep -v '^ *+' conftest.er1 >conftest.err
24693   rm -f conftest.er1
24694   cat conftest.err >&5
24695   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24696   (exit $ac_status); } && {
24697          test -z "$ac_cxx_werror_flag" ||
24698          test ! -s conftest.err
24699        } && test -s conftest.$ac_objext; then
24700   ac_cv_type_std__istream=yes
24701 else
24702   echo "$as_me: failed program was:" >&5
24703 sed 's/^/| /' conftest.$ac_ext >&5
24704
24705         ac_cv_type_std__istream=no
24706 fi
24707
24708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24709 fi
24710 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
24711 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
24712 if test $ac_cv_type_std__istream = yes; then
24713
24714 cat >>confdefs.h <<_ACEOF
24715 #define HAVE_STD__ISTREAM 1
24716 _ACEOF
24717
24718
24719 else
24720   wxUSE_STD_IOSTREAM=no
24721 fi
24722 { echo "$as_me:$LINENO: checking for std::ostream" >&5
24723 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
24724 if test "${ac_cv_type_std__ostream+set}" = set; then
24725   echo $ECHO_N "(cached) $ECHO_C" >&6
24726 else
24727   cat >conftest.$ac_ext <<_ACEOF
24728 /* confdefs.h.  */
24729 _ACEOF
24730 cat confdefs.h >>conftest.$ac_ext
24731 cat >>conftest.$ac_ext <<_ACEOF
24732 /* end confdefs.h.  */
24733 #include <iostream>
24734
24735 typedef std::ostream ac__type_new_;
24736 int
24737 main ()
24738 {
24739 if ((ac__type_new_ *) 0)
24740   return 0;
24741 if (sizeof (ac__type_new_))
24742   return 0;
24743   ;
24744   return 0;
24745 }
24746 _ACEOF
24747 rm -f conftest.$ac_objext
24748 if { (ac_try="$ac_compile"
24749 case "(($ac_try" in
24750   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24751   *) ac_try_echo=$ac_try;;
24752 esac
24753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24754   (eval "$ac_compile") 2>conftest.er1
24755   ac_status=$?
24756   grep -v '^ *+' conftest.er1 >conftest.err
24757   rm -f conftest.er1
24758   cat conftest.err >&5
24759   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24760   (exit $ac_status); } && {
24761          test -z "$ac_cxx_werror_flag" ||
24762          test ! -s conftest.err
24763        } && test -s conftest.$ac_objext; then
24764   ac_cv_type_std__ostream=yes
24765 else
24766   echo "$as_me: failed program was:" >&5
24767 sed 's/^/| /' conftest.$ac_ext >&5
24768
24769         ac_cv_type_std__ostream=no
24770 fi
24771
24772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24773 fi
24774 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
24775 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
24776 if test $ac_cv_type_std__ostream = yes; then
24777
24778 cat >>confdefs.h <<_ACEOF
24779 #define HAVE_STD__OSTREAM 1
24780 _ACEOF
24781
24782
24783 else
24784   wxUSE_STD_IOSTREAM=no
24785 fi
24786
24787
24788     if test "$wxUSE_STD_IOSTREAM" != "yes"; then
24789         if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24790             { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
24791 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
24792    { (exit 1); exit 1; }; }
24793         else
24794             { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
24795 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
24796         fi
24797     fi
24798 fi
24799
24800 if test "$wxUSE_STL" = "yes"; then
24801         { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
24802 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
24803 if test "${wx_cv_lib_stl+set}" = set; then
24804   echo $ECHO_N "(cached) $ECHO_C" >&6
24805 else
24806   cat >conftest.$ac_ext <<_ACEOF
24807 /* confdefs.h.  */
24808 _ACEOF
24809 cat confdefs.h >>conftest.$ac_ext
24810 cat >>conftest.$ac_ext <<_ACEOF
24811 /* end confdefs.h.  */
24812 #include <string>
24813             #include <functional>
24814             #include <algorithm>
24815             #include <vector>
24816             #include <list>
24817 int
24818 main ()
24819 {
24820 std::vector<int> moo;
24821              std::list<int> foo;
24822              std::vector<int>::iterator it =
24823                  std::find_if(moo.begin(), moo.end(),
24824                               std::bind2nd(std::less<int>(), 3));
24825   ;
24826   return 0;
24827 }
24828 _ACEOF
24829 rm -f conftest.$ac_objext
24830 if { (ac_try="$ac_compile"
24831 case "(($ac_try" in
24832   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24833   *) ac_try_echo=$ac_try;;
24834 esac
24835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24836   (eval "$ac_compile") 2>conftest.er1
24837   ac_status=$?
24838   grep -v '^ *+' conftest.er1 >conftest.err
24839   rm -f conftest.er1
24840   cat conftest.err >&5
24841   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24842   (exit $ac_status); } && {
24843          test -z "$ac_cxx_werror_flag" ||
24844          test ! -s conftest.err
24845        } && test -s conftest.$ac_objext; then
24846   wx_cv_lib_stl=yes
24847 else
24848   echo "$as_me: failed program was:" >&5
24849 sed 's/^/| /' conftest.$ac_ext >&5
24850
24851         wx_cv_lib_stl=no
24852
24853 fi
24854
24855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24856
24857 fi
24858 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
24859 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
24860
24861     if test "$wx_cv_lib_stl" != yes; then
24862          { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
24863 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
24864    { (exit 1); exit 1; }; }
24865     fi
24866
24867         { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
24868 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
24869 if test "${wx_cv_func_stdstring_compare+set}" = set; then
24870   echo $ECHO_N "(cached) $ECHO_C" >&6
24871 else
24872   cat >conftest.$ac_ext <<_ACEOF
24873 /* confdefs.h.  */
24874 _ACEOF
24875 cat confdefs.h >>conftest.$ac_ext
24876 cat >>conftest.$ac_ext <<_ACEOF
24877 /* end confdefs.h.  */
24878 #include <string>
24879 int
24880 main ()
24881 {
24882 std::string foo, bar;
24883             foo.compare(bar);
24884             foo.compare(1, 1, bar);
24885             foo.compare(1, 1, bar, 1, 1);
24886             foo.compare("");
24887             foo.compare(1, 1, "");
24888             foo.compare(1, 1, "", 2);
24889   ;
24890   return 0;
24891 }
24892 _ACEOF
24893 rm -f conftest.$ac_objext
24894 if { (ac_try="$ac_compile"
24895 case "(($ac_try" in
24896   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24897   *) ac_try_echo=$ac_try;;
24898 esac
24899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24900   (eval "$ac_compile") 2>conftest.er1
24901   ac_status=$?
24902   grep -v '^ *+' conftest.er1 >conftest.err
24903   rm -f conftest.er1
24904   cat conftest.err >&5
24905   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24906   (exit $ac_status); } && {
24907          test -z "$ac_cxx_werror_flag" ||
24908          test ! -s conftest.err
24909        } && test -s conftest.$ac_objext; then
24910   wx_cv_func_stdstring_compare=yes
24911 else
24912   echo "$as_me: failed program was:" >&5
24913 sed 's/^/| /' conftest.$ac_ext >&5
24914
24915         wx_cv_func_stdstring_compare=no
24916
24917 fi
24918
24919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24920
24921 fi
24922 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
24923 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
24924
24925     if test "$wx_cv_func_stdstring_compare" = yes; then
24926         cat >>confdefs.h <<\_ACEOF
24927 #define HAVE_STD_STRING_COMPARE 1
24928 _ACEOF
24929
24930     fi
24931
24932     if test "$wx_cv_class_gnuhashmapset" = yes; then
24933          cat >>confdefs.h <<\_ACEOF
24934 #define HAVE_EXT_HASH_MAP 1
24935 _ACEOF
24936
24937          cat >>confdefs.h <<\_ACEOF
24938 #define HAVE_GNU_CXX_HASH_MAP 1
24939 _ACEOF
24940
24941     fi
24942
24943     { echo "$as_me:$LINENO: checking for unordered_map" >&5
24944 echo $ECHO_N "checking for unordered_map... $ECHO_C" >&6; }
24945 if test "${ac_cv_header_unordered_map+set}" = set; then
24946   echo $ECHO_N "(cached) $ECHO_C" >&6
24947 else
24948   cat >conftest.$ac_ext <<_ACEOF
24949 /* confdefs.h.  */
24950 _ACEOF
24951 cat confdefs.h >>conftest.$ac_ext
24952 cat >>conftest.$ac_ext <<_ACEOF
24953 /* end confdefs.h.  */
24954
24955
24956
24957 #include <unordered_map>
24958 _ACEOF
24959 rm -f conftest.$ac_objext
24960 if { (ac_try="$ac_compile"
24961 case "(($ac_try" in
24962   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24963   *) ac_try_echo=$ac_try;;
24964 esac
24965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24966   (eval "$ac_compile") 2>conftest.er1
24967   ac_status=$?
24968   grep -v '^ *+' conftest.er1 >conftest.err
24969   rm -f conftest.er1
24970   cat conftest.err >&5
24971   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24972   (exit $ac_status); } && {
24973          test -z "$ac_cxx_werror_flag" ||
24974          test ! -s conftest.err
24975        } && test -s conftest.$ac_objext; then
24976   ac_cv_header_unordered_map=yes
24977 else
24978   echo "$as_me: failed program was:" >&5
24979 sed 's/^/| /' conftest.$ac_ext >&5
24980
24981         ac_cv_header_unordered_map=no
24982 fi
24983
24984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24985 fi
24986 { echo "$as_me:$LINENO: result: $ac_cv_header_unordered_map" >&5
24987 echo "${ECHO_T}$ac_cv_header_unordered_map" >&6; }
24988 if test $ac_cv_header_unordered_map = yes; then
24989   { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std" >&5
24990 echo $ECHO_N "checking for unordered_map and unordered_set in std... $ECHO_C" >&6; }
24991 if test "${wx_cv_class_stdunorderedmapset+set}" = set; then
24992   echo $ECHO_N "(cached) $ECHO_C" >&6
24993 else
24994   cat >conftest.$ac_ext <<_ACEOF
24995 /* confdefs.h.  */
24996 _ACEOF
24997 cat confdefs.h >>conftest.$ac_ext
24998 cat >>conftest.$ac_ext <<_ACEOF
24999 /* end confdefs.h.  */
25000 #include <unordered_map>
25001                 #include <unordered_set>
25002 int
25003 main ()
25004 {
25005 std::unordered_map<double*, char*> test1;
25006                  std::unordered_set<char*> test2;
25007   ;
25008   return 0;
25009 }
25010 _ACEOF
25011 rm -f conftest.$ac_objext
25012 if { (ac_try="$ac_compile"
25013 case "(($ac_try" in
25014   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25015   *) ac_try_echo=$ac_try;;
25016 esac
25017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25018   (eval "$ac_compile") 2>conftest.er1
25019   ac_status=$?
25020   grep -v '^ *+' conftest.er1 >conftest.err
25021   rm -f conftest.er1
25022   cat conftest.err >&5
25023   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25024   (exit $ac_status); } && {
25025          test -z "$ac_cxx_werror_flag" ||
25026          test ! -s conftest.err
25027        } && test -s conftest.$ac_objext; then
25028   wx_cv_class_stdunorderedmapset=yes
25029 else
25030   echo "$as_me: failed program was:" >&5
25031 sed 's/^/| /' conftest.$ac_ext >&5
25032
25033         wx_cv_class_stdunorderedmapset=no
25034 fi
25035
25036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25037
25038
25039 fi
25040 { echo "$as_me:$LINENO: result: $wx_cv_class_stdunorderedmapset" >&5
25041 echo "${ECHO_T}$wx_cv_class_stdunorderedmapset" >&6; }
25042 fi
25043
25044
25045
25046     if test "$wx_cv_class_stdunorderedmapset" = yes; then
25047          cat >>confdefs.h <<\_ACEOF
25048 #define HAVE_STD_UNORDERED_MAP 1
25049 _ACEOF
25050
25051          cat >>confdefs.h <<\_ACEOF
25052 #define HAVE_STD_UNORDERED_SET 1
25053 _ACEOF
25054
25055     else
25056         { echo "$as_me:$LINENO: checking for tr1/unordered_map" >&5
25057 echo $ECHO_N "checking for tr1/unordered_map... $ECHO_C" >&6; }
25058 if test "${ac_cv_header_tr1_unordered_map+set}" = set; then
25059   echo $ECHO_N "(cached) $ECHO_C" >&6
25060 else
25061   cat >conftest.$ac_ext <<_ACEOF
25062 /* confdefs.h.  */
25063 _ACEOF
25064 cat confdefs.h >>conftest.$ac_ext
25065 cat >>conftest.$ac_ext <<_ACEOF
25066 /* end confdefs.h.  */
25067
25068
25069
25070 #include <tr1/unordered_map>
25071 _ACEOF
25072 rm -f conftest.$ac_objext
25073 if { (ac_try="$ac_compile"
25074 case "(($ac_try" in
25075   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25076   *) ac_try_echo=$ac_try;;
25077 esac
25078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25079   (eval "$ac_compile") 2>conftest.er1
25080   ac_status=$?
25081   grep -v '^ *+' conftest.er1 >conftest.err
25082   rm -f conftest.er1
25083   cat conftest.err >&5
25084   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25085   (exit $ac_status); } && {
25086          test -z "$ac_cxx_werror_flag" ||
25087          test ! -s conftest.err
25088        } && test -s conftest.$ac_objext; then
25089   ac_cv_header_tr1_unordered_map=yes
25090 else
25091   echo "$as_me: failed program was:" >&5
25092 sed 's/^/| /' conftest.$ac_ext >&5
25093
25094         ac_cv_header_tr1_unordered_map=no
25095 fi
25096
25097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25098 fi
25099 { echo "$as_me:$LINENO: result: $ac_cv_header_tr1_unordered_map" >&5
25100 echo "${ECHO_T}$ac_cv_header_tr1_unordered_map" >&6; }
25101 if test $ac_cv_header_tr1_unordered_map = yes; then
25102   { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std::tr1" >&5
25103 echo $ECHO_N "checking for unordered_map and unordered_set in std::tr1... $ECHO_C" >&6; }
25104 if test "${wx_cv_class_tr1unorderedmapset+set}" = set; then
25105   echo $ECHO_N "(cached) $ECHO_C" >&6
25106 else
25107   cat >conftest.$ac_ext <<_ACEOF
25108 /* confdefs.h.  */
25109 _ACEOF
25110 cat confdefs.h >>conftest.$ac_ext
25111 cat >>conftest.$ac_ext <<_ACEOF
25112 /* end confdefs.h.  */
25113 #include <tr1/unordered_map>
25114                     #include <tr1/unordered_set>
25115 int
25116 main ()
25117 {
25118 std::tr1::unordered_map<double*, char*> test1;
25119                      std::tr1::unordered_set<char*> test2;
25120             #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
25121             #error can't use unordered_{map,set} with gcc-4.[01]: http://gcc.gnu.org/PR24389
25122             #endif
25123   ;
25124   return 0;
25125 }
25126 _ACEOF
25127 rm -f conftest.$ac_objext
25128 if { (ac_try="$ac_compile"
25129 case "(($ac_try" in
25130   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25131   *) ac_try_echo=$ac_try;;
25132 esac
25133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25134   (eval "$ac_compile") 2>conftest.er1
25135   ac_status=$?
25136   grep -v '^ *+' conftest.er1 >conftest.err
25137   rm -f conftest.er1
25138   cat conftest.err >&5
25139   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25140   (exit $ac_status); } && {
25141          test -z "$ac_cxx_werror_flag" ||
25142          test ! -s conftest.err
25143        } && test -s conftest.$ac_objext; then
25144   wx_cv_class_tr1unorderedmapset=yes
25145 else
25146   echo "$as_me: failed program was:" >&5
25147 sed 's/^/| /' conftest.$ac_ext >&5
25148
25149         wx_cv_class_tr1unorderedmapset=no
25150 fi
25151
25152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25153
25154
25155 fi
25156 { echo "$as_me:$LINENO: result: $wx_cv_class_tr1unorderedmapset" >&5
25157 echo "${ECHO_T}$wx_cv_class_tr1unorderedmapset" >&6; }
25158 fi
25159
25160
25161
25162         if test "$wx_cv_class_tr1unorderedmapset" = yes; then
25163             cat >>confdefs.h <<\_ACEOF
25164 #define HAVE_TR1_UNORDERED_MAP 1
25165 _ACEOF
25166
25167             cat >>confdefs.h <<\_ACEOF
25168 #define HAVE_TR1_UNORDERED_SET 1
25169 _ACEOF
25170
25171         else
25172                         { echo "$as_me:$LINENO: checking for hash_map" >&5
25173 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
25174 if test "${ac_cv_header_hash_map+set}" = set; then
25175   echo $ECHO_N "(cached) $ECHO_C" >&6
25176 else
25177   cat >conftest.$ac_ext <<_ACEOF
25178 /* confdefs.h.  */
25179 _ACEOF
25180 cat confdefs.h >>conftest.$ac_ext
25181 cat >>conftest.$ac_ext <<_ACEOF
25182 /* end confdefs.h.  */
25183
25184
25185
25186 #include <hash_map>
25187 _ACEOF
25188 rm -f conftest.$ac_objext
25189 if { (ac_try="$ac_compile"
25190 case "(($ac_try" in
25191   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25192   *) ac_try_echo=$ac_try;;
25193 esac
25194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25195   (eval "$ac_compile") 2>conftest.er1
25196   ac_status=$?
25197   grep -v '^ *+' conftest.er1 >conftest.err
25198   rm -f conftest.er1
25199   cat conftest.err >&5
25200   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25201   (exit $ac_status); } && {
25202          test -z "$ac_cxx_werror_flag" ||
25203          test ! -s conftest.err
25204        } && test -s conftest.$ac_objext; then
25205   ac_cv_header_hash_map=yes
25206 else
25207   echo "$as_me: failed program was:" >&5
25208 sed 's/^/| /' conftest.$ac_ext >&5
25209
25210         ac_cv_header_hash_map=no
25211 fi
25212
25213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25214 fi
25215 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
25216 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
25217 if test $ac_cv_header_hash_map = yes; then
25218   { echo "$as_me:$LINENO: checking for std::hash_map and hash_set" >&5
25219 echo $ECHO_N "checking for std::hash_map and hash_set... $ECHO_C" >&6; }
25220 if test "${wx_cv_class_stdhashmapset+set}" = set; then
25221   echo $ECHO_N "(cached) $ECHO_C" >&6
25222 else
25223   cat >conftest.$ac_ext <<_ACEOF
25224 /* confdefs.h.  */
25225 _ACEOF
25226 cat confdefs.h >>conftest.$ac_ext
25227 cat >>conftest.$ac_ext <<_ACEOF
25228 /* end confdefs.h.  */
25229 #include <hash_map>
25230                         #include <hash_set>
25231 int
25232 main ()
25233 {
25234 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
25235                          std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
25236   ;
25237   return 0;
25238 }
25239 _ACEOF
25240 rm -f conftest.$ac_objext
25241 if { (ac_try="$ac_compile"
25242 case "(($ac_try" in
25243   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25244   *) ac_try_echo=$ac_try;;
25245 esac
25246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25247   (eval "$ac_compile") 2>conftest.er1
25248   ac_status=$?
25249   grep -v '^ *+' conftest.er1 >conftest.err
25250   rm -f conftest.er1
25251   cat conftest.err >&5
25252   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25253   (exit $ac_status); } && {
25254          test -z "$ac_cxx_werror_flag" ||
25255          test ! -s conftest.err
25256        } && test -s conftest.$ac_objext; then
25257   wx_cv_class_stdhashmapset=yes
25258 else
25259   echo "$as_me: failed program was:" >&5
25260 sed 's/^/| /' conftest.$ac_ext >&5
25261
25262         wx_cv_class_stdhashmapset=no
25263 fi
25264
25265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25266
25267
25268 fi
25269 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
25270 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
25271 fi
25272
25273
25274
25275             if test "$wx_cv_class_stdhashmapset" = yes; then
25276                 cat >>confdefs.h <<\_ACEOF
25277 #define HAVE_HASH_MAP 1
25278 _ACEOF
25279
25280                 cat >>confdefs.h <<\_ACEOF
25281 #define HAVE_STD_HASH_MAP 1
25282 _ACEOF
25283
25284             fi
25285
25286             { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
25287 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
25288 if test "${ac_cv_header_ext_hash_map+set}" = set; then
25289   echo $ECHO_N "(cached) $ECHO_C" >&6
25290 else
25291   cat >conftest.$ac_ext <<_ACEOF
25292 /* confdefs.h.  */
25293 _ACEOF
25294 cat confdefs.h >>conftest.$ac_ext
25295 cat >>conftest.$ac_ext <<_ACEOF
25296 /* end confdefs.h.  */
25297
25298
25299
25300 #include <ext/hash_map>
25301 _ACEOF
25302 rm -f conftest.$ac_objext
25303 if { (ac_try="$ac_compile"
25304 case "(($ac_try" in
25305   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25306   *) ac_try_echo=$ac_try;;
25307 esac
25308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25309   (eval "$ac_compile") 2>conftest.er1
25310   ac_status=$?
25311   grep -v '^ *+' conftest.er1 >conftest.err
25312   rm -f conftest.er1
25313   cat conftest.err >&5
25314   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25315   (exit $ac_status); } && {
25316          test -z "$ac_cxx_werror_flag" ||
25317          test ! -s conftest.err
25318        } && test -s conftest.$ac_objext; then
25319   ac_cv_header_ext_hash_map=yes
25320 else
25321   echo "$as_me: failed program was:" >&5
25322 sed 's/^/| /' conftest.$ac_ext >&5
25323
25324         ac_cv_header_ext_hash_map=no
25325 fi
25326
25327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25328 fi
25329 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
25330 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
25331 if test $ac_cv_header_ext_hash_map = yes; then
25332   { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
25333 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
25334 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
25335   echo $ECHO_N "(cached) $ECHO_C" >&6
25336 else
25337   cat >conftest.$ac_ext <<_ACEOF
25338 /* confdefs.h.  */
25339 _ACEOF
25340 cat confdefs.h >>conftest.$ac_ext
25341 cat >>conftest.$ac_ext <<_ACEOF
25342 /* end confdefs.h.  */
25343 #include <ext/hash_map>
25344                         #include <ext/hash_set>
25345 int
25346 main ()
25347 {
25348 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
25349                          __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
25350   ;
25351   return 0;
25352 }
25353 _ACEOF
25354 rm -f conftest.$ac_objext
25355 if { (ac_try="$ac_compile"
25356 case "(($ac_try" in
25357   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25358   *) ac_try_echo=$ac_try;;
25359 esac
25360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25361   (eval "$ac_compile") 2>conftest.er1
25362   ac_status=$?
25363   grep -v '^ *+' conftest.er1 >conftest.err
25364   rm -f conftest.er1
25365   cat conftest.err >&5
25366   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25367   (exit $ac_status); } && {
25368          test -z "$ac_cxx_werror_flag" ||
25369          test ! -s conftest.err
25370        } && test -s conftest.$ac_objext; then
25371   wx_cv_class_gnuhashmapset=yes
25372 else
25373   echo "$as_me: failed program was:" >&5
25374 sed 's/^/| /' conftest.$ac_ext >&5
25375
25376         wx_cv_class_gnuhashmapset=no
25377 fi
25378
25379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25380
25381
25382 fi
25383 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
25384 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
25385 fi
25386
25387
25388
25389         fi
25390     fi
25391 fi
25392
25393
25394
25395   if test -n "$GCC"; then
25396     { echo "$as_me:$LINENO: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
25397 echo $ECHO_N "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... $ECHO_C" >&6; }
25398     if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
25399   echo $ECHO_N "(cached) $ECHO_C" >&6
25400 else
25401
25402       cat >conftest.$ac_ext <<_ACEOF
25403 /* confdefs.h.  */
25404 _ACEOF
25405 cat confdefs.h >>conftest.$ac_ext
25406 cat >>conftest.$ac_ext <<_ACEOF
25407 /* end confdefs.h.  */
25408
25409 int
25410 main ()
25411 {
25412
25413           unsigned int value=0;
25414           /* wxAtomicInc doesn't use return value here */
25415           __sync_fetch_and_add(&value, 2);
25416           __sync_sub_and_fetch(&value, 1);
25417           /* but wxAtomicDec does, so mimic that: */
25418           unsigned int r2 = __sync_sub_and_fetch(&value, 1);
25419
25420   ;
25421   return 0;
25422 }
25423 _ACEOF
25424 rm -f conftest.$ac_objext conftest$ac_exeext
25425 if { (ac_try="$ac_link"
25426 case "(($ac_try" in
25427   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25428   *) ac_try_echo=$ac_try;;
25429 esac
25430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25431   (eval "$ac_link") 2>conftest.er1
25432   ac_status=$?
25433   grep -v '^ *+' conftest.er1 >conftest.err
25434   rm -f conftest.er1
25435   cat conftest.err >&5
25436   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25437   (exit $ac_status); } && {
25438          test -z "$ac_cxx_werror_flag" ||
25439          test ! -s conftest.err
25440        } && test -s conftest$ac_exeext &&
25441        $as_test_x conftest$ac_exeext; then
25442   wx_cv_cc_gcc_atomic_builtins=yes
25443 else
25444   echo "$as_me: failed program was:" >&5
25445 sed 's/^/| /' conftest.$ac_ext >&5
25446
25447         wx_cv_cc_gcc_atomic_builtins=no
25448 fi
25449
25450 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25451       conftest$ac_exeext conftest.$ac_ext
25452
25453 fi
25454
25455     { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
25456 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
25457     if test $wx_cv_cc_gcc_atomic_builtins = yes; then
25458       cat >>confdefs.h <<\_ACEOF
25459 #define HAVE_GCC_ATOMIC_BUILTINS 1
25460 _ACEOF
25461
25462     fi
25463   fi
25464
25465
25466 ac_ext=c
25467 ac_cpp='$CPP $CPPFLAGS'
25468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25471
25472
25473
25474 SEARCH_INCLUDE="\
25475     /usr/local/include        \
25476     /usr/local/X11/include    \
25477     /usr/local/include/X11    \
25478     /usr/local/X11R7/include  \
25479     /usr/local/X11R6/include  \
25480     /usr/local/include/X11R7  \
25481     /usr/local/include/X11R6  \
25482                               \
25483     /usr/Motif-2.1/include    \
25484     /usr/Motif-1.2/include    \
25485     /usr/include/Motif1.2     \
25486                               \
25487     /usr/dt/include           \
25488     /usr/openwin/include      \
25489                               \
25490     /usr/include/Xm           \
25491                               \
25492     /usr/X11R7/include        \
25493     /usr/X11R6/include        \
25494     /usr/X11R6.4/include      \
25495                               \
25496     /usr/include/X11R7        \
25497     /usr/include/X11R6        \
25498                               \
25499     /usr/X11/include          \
25500     /usr/include/X11          \
25501                               \
25502     /usr/XFree86/include/X11  \
25503     /usr/pkg/include          \
25504                               \
25505     /usr/local/X1R5/include  \
25506     /usr/local/include/X11R5  \
25507     /usr/X11R5/include        \
25508     /usr/include/X11R5        \
25509                               \
25510     /usr/local/X11R4/include  \
25511     /usr/local/include/X11R4  \
25512     /usr/X11R4/include        \
25513     /usr/include/X11R4        \
25514                               \
25515     /usr/openwin/share/include"
25516
25517 { echo "$as_me:$LINENO: checking for libraries directory" >&5
25518 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
25519
25520 case "${host}" in
25521     *-*-irix6* )
25522         if test "${wx_cv_std_libpath+set}" = set; then
25523   echo $ECHO_N "(cached) $ECHO_C" >&6
25524 else
25525
25526                 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
25527                     for e in a so sl dylib dll.a; do
25528                         libc="$d/libc.$e"
25529                         if test -f $libc; then
25530                             save_LIBS="$LIBS"
25531                             LIBS="$libc"
25532                             cat >conftest.$ac_ext <<_ACEOF
25533 int main() { return 0; }
25534 _ACEOF
25535 rm -f conftest.$ac_objext conftest$ac_exeext
25536 if { (ac_try="$ac_link"
25537 case "(($ac_try" in
25538   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25539   *) ac_try_echo=$ac_try;;
25540 esac
25541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25542   (eval "$ac_link") 2>conftest.er1
25543   ac_status=$?
25544   grep -v '^ *+' conftest.er1 >conftest.err
25545   rm -f conftest.er1
25546   cat conftest.err >&5
25547   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25548   (exit $ac_status); } && {
25549          test -z "$ac_c_werror_flag" ||
25550          test ! -s conftest.err
25551        } && test -s conftest$ac_exeext &&
25552        $as_test_x conftest$ac_exeext; then
25553   wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
25554 else
25555   echo "$as_me: failed program was:" >&5
25556 sed 's/^/| /' conftest.$ac_ext >&5
25557
25558
25559 fi
25560
25561 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25562       conftest$ac_exeext conftest.$ac_ext
25563                             LIBS="$save_LIBS"
25564                             if test "x$wx_cv_std_libpath" != "x"; then
25565                                 break 2
25566                             fi
25567                         fi
25568                     done
25569                 done
25570                 if test "x$wx_cv_std_libpath" = "x"; then
25571                     wx_cv_std_libpath="lib"
25572                 fi
25573
25574
25575 fi
25576
25577         ;;
25578
25579     *-*-solaris2* )
25580                 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
25581             wx_cv_std_libpath="lib/64"
25582         else
25583             wx_cv_std_libpath="lib"
25584         fi
25585         ;;
25586
25587     *-*-linux* )
25588                 if test "$ac_cv_sizeof_void_p" = 8 -a \
25589                 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
25590             wx_cv_std_libpath="lib64"
25591         else
25592             wx_cv_std_libpath="lib"
25593         fi
25594         ;;
25595
25596     *)
25597         wx_cv_std_libpath="lib";
25598         ;;
25599 esac
25600
25601 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
25602 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
25603
25604 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
25605
25606 if test "$build" != "$host" -a "$GCC" = yes; then
25607                     if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
25608         cross_root=`dirname $cross_root`
25609         cross_root=`dirname $cross_root`
25610
25611                         SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25612         SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25613         SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
25614
25615                 if test -z "$PKG_CONFIG_PATH"; then
25616             PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
25617             export PKG_CONFIG_PATH
25618         fi
25619
25620                                 if test -z "$x_includes" -o "$x_includes" = NONE; then
25621
25622 ac_find_includes=
25623 for ac_dir in $SEARCH_INCLUDE /usr/include;
25624   do
25625     if test -f "$ac_dir/X11/Intrinsic.h"; then
25626       ac_find_includes=$ac_dir
25627       break
25628     fi
25629   done
25630
25631             x_includes=$ac_find_includes
25632         fi
25633         if test -z "$x_libraries" -o "$x_libraries" = NONE; then
25634
25635   ac_find_libraries=
25636   for ac_dir in $SEARCH_LIB;
25637   do
25638     for ac_extension in a so sl dylib dll.a; do
25639       if test -f "$ac_dir/libXt.$ac_extension"; then
25640         ac_find_libraries=$ac_dir
25641         break 2
25642       fi
25643     done
25644   done
25645
25646             x_libraries=$ac_find_libraries
25647         fi
25648     fi
25649 fi
25650
25651
25652 cat >confcache <<\_ACEOF
25653 # This file is a shell script that caches the results of configure
25654 # tests run on this system so they can be shared between configure
25655 # scripts and configure runs, see configure's option --config-cache.
25656 # It is not useful on other systems.  If it contains results you don't
25657 # want to keep, you may remove or edit it.
25658 #
25659 # config.status only pays attention to the cache file if you give it
25660 # the --recheck option to rerun configure.
25661 #
25662 # `ac_cv_env_foo' variables (set or unset) will be overridden when
25663 # loading this file, other *unset* `ac_cv_foo' will be assigned the
25664 # following values.
25665
25666 _ACEOF
25667
25668 # The following way of writing the cache mishandles newlines in values,
25669 # but we know of no workaround that is simple, portable, and efficient.
25670 # So, we kill variables containing newlines.
25671 # Ultrix sh set writes to stderr and can't be redirected directly,
25672 # and sets the high bit in the cache file unless we assign to the vars.
25673 (
25674   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25675     eval ac_val=\$$ac_var
25676     case $ac_val in #(
25677     *${as_nl}*)
25678       case $ac_var in #(
25679       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
25680 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
25681       esac
25682       case $ac_var in #(
25683       _ | IFS | as_nl) ;; #(
25684       *) $as_unset $ac_var ;;
25685       esac ;;
25686     esac
25687   done
25688
25689   (set) 2>&1 |
25690     case $as_nl`(ac_space=' '; set) 2>&1` in #(
25691     *${as_nl}ac_space=\ *)
25692       # `set' does not quote correctly, so add quotes (double-quote
25693       # substitution turns \\\\ into \\, and sed turns \\ into \).
25694       sed -n \
25695         "s/'/'\\\\''/g;
25696           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25697       ;; #(
25698     *)
25699       # `set' quotes correctly as required by POSIX, so do not add quotes.
25700       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25701       ;;
25702     esac |
25703     sort
25704 ) |
25705   sed '
25706      /^ac_cv_env_/b end
25707      t clear
25708      :clear
25709      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25710      t end
25711      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25712      :end' >>confcache
25713 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
25714   if test -w "$cache_file"; then
25715     test "x$cache_file" != "x/dev/null" &&
25716       { echo "$as_me:$LINENO: updating cache $cache_file" >&5
25717 echo "$as_me: updating cache $cache_file" >&6;}
25718     cat confcache >$cache_file
25719   else
25720     { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
25721 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25722   fi
25723 fi
25724 rm -f confcache
25725
25726 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
25727     { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
25728 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
25729 if test "${wx_cv_lib_glibc21+set}" = set; then
25730   echo $ECHO_N "(cached) $ECHO_C" >&6
25731 else
25732
25733         cat >conftest.$ac_ext <<_ACEOF
25734 /* confdefs.h.  */
25735 _ACEOF
25736 cat confdefs.h >>conftest.$ac_ext
25737 cat >>conftest.$ac_ext <<_ACEOF
25738 /* end confdefs.h.  */
25739 #include <features.h>
25740 int
25741 main ()
25742 {
25743
25744                 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
25745                 not glibc 2.1
25746                 #endif
25747
25748   ;
25749   return 0;
25750 }
25751 _ACEOF
25752 rm -f conftest.$ac_objext
25753 if { (ac_try="$ac_compile"
25754 case "(($ac_try" in
25755   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25756   *) ac_try_echo=$ac_try;;
25757 esac
25758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25759   (eval "$ac_compile") 2>conftest.er1
25760   ac_status=$?
25761   grep -v '^ *+' conftest.er1 >conftest.err
25762   rm -f conftest.er1
25763   cat conftest.err >&5
25764   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25765   (exit $ac_status); } && {
25766          test -z "$ac_c_werror_flag" ||
25767          test ! -s conftest.err
25768        } && test -s conftest.$ac_objext; then
25769
25770                 wx_cv_lib_glibc21=yes
25771
25772 else
25773   echo "$as_me: failed program was:" >&5
25774 sed 's/^/| /' conftest.$ac_ext >&5
25775
25776
25777                 wx_cv_lib_glibc21=no
25778
25779
25780 fi
25781
25782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25783
25784 fi
25785 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
25786 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
25787     if test "$wx_cv_lib_glibc21" = "yes"; then
25788         cat >>confdefs.h <<\_ACEOF
25789 #define wxHAVE_GLIBC2 1
25790 _ACEOF
25791
25792     fi
25793 fi
25794
25795 if test "x$wx_cv_lib_glibc21" = "xyes"; then
25796     if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
25797         cat >>confdefs.h <<\_ACEOF
25798 #define _GNU_SOURCE 1
25799 _ACEOF
25800
25801     fi
25802 fi
25803
25804 have_cos=0
25805 have_floor=0
25806
25807 for ac_func in cos
25808 do
25809 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25810 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25811 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25812 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25813   echo $ECHO_N "(cached) $ECHO_C" >&6
25814 else
25815   cat >conftest.$ac_ext <<_ACEOF
25816 /* confdefs.h.  */
25817 _ACEOF
25818 cat confdefs.h >>conftest.$ac_ext
25819 cat >>conftest.$ac_ext <<_ACEOF
25820 /* end confdefs.h.  */
25821 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25822    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
25823 #define $ac_func innocuous_$ac_func
25824
25825 /* System header to define __stub macros and hopefully few prototypes,
25826     which can conflict with char $ac_func (); below.
25827     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25828     <limits.h> exists even on freestanding compilers.  */
25829
25830 #ifdef __STDC__
25831 # include <limits.h>
25832 #else
25833 # include <assert.h>
25834 #endif
25835
25836 #undef $ac_func
25837
25838 /* Override any GCC internal prototype to avoid an error.
25839    Use char because int might match the return type of a GCC
25840    builtin and then its argument prototype would still apply.  */
25841 #ifdef __cplusplus
25842 extern "C"
25843 #endif
25844 char $ac_func ();
25845 /* The GNU C library defines this for functions which it implements
25846     to always fail with ENOSYS.  Some functions are actually named
25847     something starting with __ and the normal name is an alias.  */
25848 #if defined __stub_$ac_func || defined __stub___$ac_func
25849 choke me
25850 #endif
25851
25852 int
25853 main ()
25854 {
25855 return $ac_func ();
25856   ;
25857   return 0;
25858 }
25859 _ACEOF
25860 rm -f conftest.$ac_objext conftest$ac_exeext
25861 if { (ac_try="$ac_link"
25862 case "(($ac_try" in
25863   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25864   *) ac_try_echo=$ac_try;;
25865 esac
25866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25867   (eval "$ac_link") 2>conftest.er1
25868   ac_status=$?
25869   grep -v '^ *+' conftest.er1 >conftest.err
25870   rm -f conftest.er1
25871   cat conftest.err >&5
25872   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25873   (exit $ac_status); } && {
25874          test -z "$ac_c_werror_flag" ||
25875          test ! -s conftest.err
25876        } && test -s conftest$ac_exeext &&
25877        $as_test_x conftest$ac_exeext; then
25878   eval "$as_ac_var=yes"
25879 else
25880   echo "$as_me: failed program was:" >&5
25881 sed 's/^/| /' conftest.$ac_ext >&5
25882
25883         eval "$as_ac_var=no"
25884 fi
25885
25886 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25887       conftest$ac_exeext conftest.$ac_ext
25888 fi
25889 ac_res=`eval echo '${'$as_ac_var'}'`
25890                { echo "$as_me:$LINENO: result: $ac_res" >&5
25891 echo "${ECHO_T}$ac_res" >&6; }
25892 if test `eval echo '${'$as_ac_var'}'` = yes; then
25893   cat >>confdefs.h <<_ACEOF
25894 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25895 _ACEOF
25896  have_cos=1
25897 fi
25898 done
25899
25900
25901 for ac_func in floor
25902 do
25903 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25904 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25905 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25906 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25907   echo $ECHO_N "(cached) $ECHO_C" >&6
25908 else
25909   cat >conftest.$ac_ext <<_ACEOF
25910 /* confdefs.h.  */
25911 _ACEOF
25912 cat confdefs.h >>conftest.$ac_ext
25913 cat >>conftest.$ac_ext <<_ACEOF
25914 /* end confdefs.h.  */
25915 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25916    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
25917 #define $ac_func innocuous_$ac_func
25918
25919 /* System header to define __stub macros and hopefully few prototypes,
25920     which can conflict with char $ac_func (); below.
25921     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25922     <limits.h> exists even on freestanding compilers.  */
25923
25924 #ifdef __STDC__
25925 # include <limits.h>
25926 #else
25927 # include <assert.h>
25928 #endif
25929
25930 #undef $ac_func
25931
25932 /* Override any GCC internal prototype to avoid an error.
25933    Use char because int might match the return type of a GCC
25934    builtin and then its argument prototype would still apply.  */
25935 #ifdef __cplusplus
25936 extern "C"
25937 #endif
25938 char $ac_func ();
25939 /* The GNU C library defines this for functions which it implements
25940     to always fail with ENOSYS.  Some functions are actually named
25941     something starting with __ and the normal name is an alias.  */
25942 #if defined __stub_$ac_func || defined __stub___$ac_func
25943 choke me
25944 #endif
25945
25946 int
25947 main ()
25948 {
25949 return $ac_func ();
25950   ;
25951   return 0;
25952 }
25953 _ACEOF
25954 rm -f conftest.$ac_objext conftest$ac_exeext
25955 if { (ac_try="$ac_link"
25956 case "(($ac_try" in
25957   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25958   *) ac_try_echo=$ac_try;;
25959 esac
25960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25961   (eval "$ac_link") 2>conftest.er1
25962   ac_status=$?
25963   grep -v '^ *+' conftest.er1 >conftest.err
25964   rm -f conftest.er1
25965   cat conftest.err >&5
25966   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25967   (exit $ac_status); } && {
25968          test -z "$ac_c_werror_flag" ||
25969          test ! -s conftest.err
25970        } && test -s conftest$ac_exeext &&
25971        $as_test_x conftest$ac_exeext; then
25972   eval "$as_ac_var=yes"
25973 else
25974   echo "$as_me: failed program was:" >&5
25975 sed 's/^/| /' conftest.$ac_ext >&5
25976
25977         eval "$as_ac_var=no"
25978 fi
25979
25980 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25981       conftest$ac_exeext conftest.$ac_ext
25982 fi
25983 ac_res=`eval echo '${'$as_ac_var'}'`
25984                { echo "$as_me:$LINENO: result: $ac_res" >&5
25985 echo "${ECHO_T}$ac_res" >&6; }
25986 if test `eval echo '${'$as_ac_var'}'` = yes; then
25987   cat >>confdefs.h <<_ACEOF
25988 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25989 _ACEOF
25990  have_floor=1
25991 fi
25992 done
25993
25994 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
25995 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
25996 if test "$have_cos" = 1 -a "$have_floor" = 1; then
25997     { echo "$as_me:$LINENO: result: yes" >&5
25998 echo "${ECHO_T}yes" >&6; }
25999 else
26000     { echo "$as_me:$LINENO: result: no" >&5
26001 echo "${ECHO_T}no" >&6; }
26002     LIBS="$LIBS -lm"
26003     # use different functions to avoid configure caching
26004     have_sin=0
26005     have_ceil=0
26006
26007 for ac_func in sin
26008 do
26009 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26010 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26011 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26012 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26013   echo $ECHO_N "(cached) $ECHO_C" >&6
26014 else
26015   cat >conftest.$ac_ext <<_ACEOF
26016 /* confdefs.h.  */
26017 _ACEOF
26018 cat confdefs.h >>conftest.$ac_ext
26019 cat >>conftest.$ac_ext <<_ACEOF
26020 /* end confdefs.h.  */
26021 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26022    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
26023 #define $ac_func innocuous_$ac_func
26024
26025 /* System header to define __stub macros and hopefully few prototypes,
26026     which can conflict with char $ac_func (); below.
26027     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26028     <limits.h> exists even on freestanding compilers.  */
26029
26030 #ifdef __STDC__
26031 # include <limits.h>
26032 #else
26033 # include <assert.h>
26034 #endif
26035
26036 #undef $ac_func
26037
26038 /* Override any GCC internal prototype to avoid an error.
26039    Use char because int might match the return type of a GCC
26040    builtin and then its argument prototype would still apply.  */
26041 #ifdef __cplusplus
26042 extern "C"
26043 #endif
26044 char $ac_func ();
26045 /* The GNU C library defines this for functions which it implements
26046     to always fail with ENOSYS.  Some functions are actually named
26047     something starting with __ and the normal name is an alias.  */
26048 #if defined __stub_$ac_func || defined __stub___$ac_func
26049 choke me
26050 #endif
26051
26052 int
26053 main ()
26054 {
26055 return $ac_func ();
26056   ;
26057   return 0;
26058 }
26059 _ACEOF
26060 rm -f conftest.$ac_objext conftest$ac_exeext
26061 if { (ac_try="$ac_link"
26062 case "(($ac_try" in
26063   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26064   *) ac_try_echo=$ac_try;;
26065 esac
26066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26067   (eval "$ac_link") 2>conftest.er1
26068   ac_status=$?
26069   grep -v '^ *+' conftest.er1 >conftest.err
26070   rm -f conftest.er1
26071   cat conftest.err >&5
26072   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26073   (exit $ac_status); } && {
26074          test -z "$ac_c_werror_flag" ||
26075          test ! -s conftest.err
26076        } && test -s conftest$ac_exeext &&
26077        $as_test_x conftest$ac_exeext; then
26078   eval "$as_ac_var=yes"
26079 else
26080   echo "$as_me: failed program was:" >&5
26081 sed 's/^/| /' conftest.$ac_ext >&5
26082
26083         eval "$as_ac_var=no"
26084 fi
26085
26086 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26087       conftest$ac_exeext conftest.$ac_ext
26088 fi
26089 ac_res=`eval echo '${'$as_ac_var'}'`
26090                { echo "$as_me:$LINENO: result: $ac_res" >&5
26091 echo "${ECHO_T}$ac_res" >&6; }
26092 if test `eval echo '${'$as_ac_var'}'` = yes; then
26093   cat >>confdefs.h <<_ACEOF
26094 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26095 _ACEOF
26096  have_sin=1
26097 fi
26098 done
26099
26100
26101 for ac_func in ceil
26102 do
26103 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26104 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26105 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26106 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26107   echo $ECHO_N "(cached) $ECHO_C" >&6
26108 else
26109   cat >conftest.$ac_ext <<_ACEOF
26110 /* confdefs.h.  */
26111 _ACEOF
26112 cat confdefs.h >>conftest.$ac_ext
26113 cat >>conftest.$ac_ext <<_ACEOF
26114 /* end confdefs.h.  */
26115 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26116    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
26117 #define $ac_func innocuous_$ac_func
26118
26119 /* System header to define __stub macros and hopefully few prototypes,
26120     which can conflict with char $ac_func (); below.
26121     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26122     <limits.h> exists even on freestanding compilers.  */
26123
26124 #ifdef __STDC__
26125 # include <limits.h>
26126 #else
26127 # include <assert.h>
26128 #endif
26129
26130 #undef $ac_func
26131
26132 /* Override any GCC internal prototype to avoid an error.
26133    Use char because int might match the return type of a GCC
26134    builtin and then its argument prototype would still apply.  */
26135 #ifdef __cplusplus
26136 extern "C"
26137 #endif
26138 char $ac_func ();
26139 /* The GNU C library defines this for functions which it implements
26140     to always fail with ENOSYS.  Some functions are actually named
26141     something starting with __ and the normal name is an alias.  */
26142 #if defined __stub_$ac_func || defined __stub___$ac_func
26143 choke me
26144 #endif
26145
26146 int
26147 main ()
26148 {
26149 return $ac_func ();
26150   ;
26151   return 0;
26152 }
26153 _ACEOF
26154 rm -f conftest.$ac_objext conftest$ac_exeext
26155 if { (ac_try="$ac_link"
26156 case "(($ac_try" in
26157   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26158   *) ac_try_echo=$ac_try;;
26159 esac
26160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26161   (eval "$ac_link") 2>conftest.er1
26162   ac_status=$?
26163   grep -v '^ *+' conftest.er1 >conftest.err
26164   rm -f conftest.er1
26165   cat conftest.err >&5
26166   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26167   (exit $ac_status); } && {
26168          test -z "$ac_c_werror_flag" ||
26169          test ! -s conftest.err
26170        } && test -s conftest$ac_exeext &&
26171        $as_test_x conftest$ac_exeext; then
26172   eval "$as_ac_var=yes"
26173 else
26174   echo "$as_me: failed program was:" >&5
26175 sed 's/^/| /' conftest.$ac_ext >&5
26176
26177         eval "$as_ac_var=no"
26178 fi
26179
26180 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26181       conftest$ac_exeext conftest.$ac_ext
26182 fi
26183 ac_res=`eval echo '${'$as_ac_var'}'`
26184                { echo "$as_me:$LINENO: result: $ac_res" >&5
26185 echo "${ECHO_T}$ac_res" >&6; }
26186 if test `eval echo '${'$as_ac_var'}'` = yes; then
26187   cat >>confdefs.h <<_ACEOF
26188 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26189 _ACEOF
26190  have_ceil=1
26191 fi
26192 done
26193
26194     { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
26195 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
26196     if test "$have_sin" = 1 -a "$have_ceil" = 1; then
26197         { echo "$as_me:$LINENO: result: yes" >&5
26198 echo "${ECHO_T}yes" >&6; }
26199     else
26200         { echo "$as_me:$LINENO: result: no" >&5
26201 echo "${ECHO_T}no" >&6; }
26202         # not sure we should warn the user, crash, etc.
26203     fi
26204 fi
26205
26206 ac_ext=cpp
26207 ac_cpp='$CXXCPP $CPPFLAGS'
26208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26211
26212 if test "wxUSE_UNICODE" = "yes"; then
26213
26214   for wx_func in wcstoull
26215   do
26216     { echo "$as_me:$LINENO: checking for $wx_func" >&5
26217 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
26218 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
26219   echo $ECHO_N "(cached) $ECHO_C" >&6
26220 else
26221
26222         cat >conftest.$ac_ext <<_ACEOF
26223
26224             /* confdefs.h.  */
26225 _ACEOF
26226 cat confdefs.h >>conftest.$ac_ext
26227 cat >>conftest.$ac_ext <<_ACEOF
26228 /* end confdefs.h.  */
26229
26230
26231                 $ac_includes_default
26232
26233 int
26234 main ()
26235 {
26236
26237                 #ifndef $wx_func
26238                   &$wx_func;
26239                 #endif
26240
26241
26242   ;
26243   return 0;
26244 }
26245
26246 _ACEOF
26247 rm -f conftest.$ac_objext conftest$ac_exeext
26248 if { (ac_try="$ac_link"
26249 case "(($ac_try" in
26250   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26251   *) ac_try_echo=$ac_try;;
26252 esac
26253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26254   (eval "$ac_link") 2>conftest.er1
26255   ac_status=$?
26256   grep -v '^ *+' conftest.er1 >conftest.err
26257   rm -f conftest.er1
26258   cat conftest.err >&5
26259   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26260   (exit $ac_status); } && {
26261          test -z "$ac_cxx_werror_flag" ||
26262          test ! -s conftest.err
26263        } && test -s conftest$ac_exeext &&
26264        $as_test_x conftest$ac_exeext; then
26265   eval wx_cv_func_$wx_func=yes
26266 else
26267   echo "$as_me: failed program was:" >&5
26268 sed 's/^/| /' conftest.$ac_ext >&5
26269
26270         eval wx_cv_func_$wx_func=no
26271 fi
26272
26273 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26274       conftest$ac_exeext conftest.$ac_ext
26275
26276 fi
26277 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
26278                { echo "$as_me:$LINENO: result: $ac_res" >&5
26279 echo "${ECHO_T}$ac_res" >&6; }
26280
26281     if eval test \$wx_cv_func_$wx_func = yes
26282     then
26283       cat >>confdefs.h <<_ACEOF
26284 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
26285 _ACEOF
26286
26287
26288     else
26289       :
26290
26291     fi
26292   done
26293
26294 else
26295
26296   for wx_func in strtoull
26297   do
26298     { echo "$as_me:$LINENO: checking for $wx_func" >&5
26299 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
26300 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
26301   echo $ECHO_N "(cached) $ECHO_C" >&6
26302 else
26303
26304         cat >conftest.$ac_ext <<_ACEOF
26305
26306             /* confdefs.h.  */
26307 _ACEOF
26308 cat confdefs.h >>conftest.$ac_ext
26309 cat >>conftest.$ac_ext <<_ACEOF
26310 /* end confdefs.h.  */
26311
26312
26313                 $ac_includes_default
26314
26315 int
26316 main ()
26317 {
26318
26319                 #ifndef $wx_func
26320                   &$wx_func;
26321                 #endif
26322
26323
26324   ;
26325   return 0;
26326 }
26327
26328 _ACEOF
26329 rm -f conftest.$ac_objext conftest$ac_exeext
26330 if { (ac_try="$ac_link"
26331 case "(($ac_try" in
26332   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26333   *) ac_try_echo=$ac_try;;
26334 esac
26335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26336   (eval "$ac_link") 2>conftest.er1
26337   ac_status=$?
26338   grep -v '^ *+' conftest.er1 >conftest.err
26339   rm -f conftest.er1
26340   cat conftest.err >&5
26341   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26342   (exit $ac_status); } && {
26343          test -z "$ac_cxx_werror_flag" ||
26344          test ! -s conftest.err
26345        } && test -s conftest$ac_exeext &&
26346        $as_test_x conftest$ac_exeext; then
26347   eval wx_cv_func_$wx_func=yes
26348 else
26349   echo "$as_me: failed program was:" >&5
26350 sed 's/^/| /' conftest.$ac_ext >&5
26351
26352         eval wx_cv_func_$wx_func=no
26353 fi
26354
26355 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26356       conftest$ac_exeext conftest.$ac_ext
26357
26358 fi
26359 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
26360                { echo "$as_me:$LINENO: result: $ac_res" >&5
26361 echo "${ECHO_T}$ac_res" >&6; }
26362
26363     if eval test \$wx_cv_func_$wx_func = yes
26364     then
26365       cat >>confdefs.h <<_ACEOF
26366 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
26367 _ACEOF
26368
26369
26370     else
26371       :
26372
26373     fi
26374   done
26375
26376 fi
26377 ac_ext=c
26378 ac_cpp='$CPP $CPPFLAGS'
26379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26382
26383
26384
26385
26386 if test "$wxUSE_REGEX" != "no"; then
26387     cat >>confdefs.h <<\_ACEOF
26388 #define wxUSE_REGEX 1
26389 _ACEOF
26390
26391
26392     if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
26393         { echo "$as_me:$LINENO: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
26394 echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
26395         wxUSE_REGEX=builtin
26396     fi
26397
26398     if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
26399                         { echo "$as_me:$LINENO: checking for regex.h" >&5
26400 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
26401 if test "${ac_cv_header_regex_h+set}" = set; then
26402   echo $ECHO_N "(cached) $ECHO_C" >&6
26403 else
26404   cat >conftest.$ac_ext <<_ACEOF
26405 /* confdefs.h.  */
26406 _ACEOF
26407 cat confdefs.h >>conftest.$ac_ext
26408 cat >>conftest.$ac_ext <<_ACEOF
26409 /* end confdefs.h.  */
26410
26411
26412 #include <regex.h>
26413 _ACEOF
26414 rm -f conftest.$ac_objext
26415 if { (ac_try="$ac_compile"
26416 case "(($ac_try" in
26417   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26418   *) ac_try_echo=$ac_try;;
26419 esac
26420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26421   (eval "$ac_compile") 2>conftest.er1
26422   ac_status=$?
26423   grep -v '^ *+' conftest.er1 >conftest.err
26424   rm -f conftest.er1
26425   cat conftest.err >&5
26426   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26427   (exit $ac_status); } && {
26428          test -z "$ac_c_werror_flag" ||
26429          test ! -s conftest.err
26430        } && test -s conftest.$ac_objext; then
26431   ac_cv_header_regex_h=yes
26432 else
26433   echo "$as_me: failed program was:" >&5
26434 sed 's/^/| /' conftest.$ac_ext >&5
26435
26436         ac_cv_header_regex_h=no
26437 fi
26438
26439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26440 fi
26441 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
26442 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
26443 if test $ac_cv_header_regex_h = yes; then
26444
26445
26446 for ac_func in regcomp re_search
26447 do
26448 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26449 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26450 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26451 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26452   echo $ECHO_N "(cached) $ECHO_C" >&6
26453 else
26454   cat >conftest.$ac_ext <<_ACEOF
26455 /* confdefs.h.  */
26456 _ACEOF
26457 cat confdefs.h >>conftest.$ac_ext
26458 cat >>conftest.$ac_ext <<_ACEOF
26459 /* end confdefs.h.  */
26460 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26461    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
26462 #define $ac_func innocuous_$ac_func
26463
26464 /* System header to define __stub macros and hopefully few prototypes,
26465     which can conflict with char $ac_func (); below.
26466     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26467     <limits.h> exists even on freestanding compilers.  */
26468
26469 #ifdef __STDC__
26470 # include <limits.h>
26471 #else
26472 # include <assert.h>
26473 #endif
26474
26475 #undef $ac_func
26476
26477 /* Override any GCC internal prototype to avoid an error.
26478    Use char because int might match the return type of a GCC
26479    builtin and then its argument prototype would still apply.  */
26480 #ifdef __cplusplus
26481 extern "C"
26482 #endif
26483 char $ac_func ();
26484 /* The GNU C library defines this for functions which it implements
26485     to always fail with ENOSYS.  Some functions are actually named
26486     something starting with __ and the normal name is an alias.  */
26487 #if defined __stub_$ac_func || defined __stub___$ac_func
26488 choke me
26489 #endif
26490
26491 int
26492 main ()
26493 {
26494 return $ac_func ();
26495   ;
26496   return 0;
26497 }
26498 _ACEOF
26499 rm -f conftest.$ac_objext conftest$ac_exeext
26500 if { (ac_try="$ac_link"
26501 case "(($ac_try" in
26502   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26503   *) ac_try_echo=$ac_try;;
26504 esac
26505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26506   (eval "$ac_link") 2>conftest.er1
26507   ac_status=$?
26508   grep -v '^ *+' conftest.er1 >conftest.err
26509   rm -f conftest.er1
26510   cat conftest.err >&5
26511   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26512   (exit $ac_status); } && {
26513          test -z "$ac_c_werror_flag" ||
26514          test ! -s conftest.err
26515        } && test -s conftest$ac_exeext &&
26516        $as_test_x conftest$ac_exeext; then
26517   eval "$as_ac_var=yes"
26518 else
26519   echo "$as_me: failed program was:" >&5
26520 sed 's/^/| /' conftest.$ac_ext >&5
26521
26522         eval "$as_ac_var=no"
26523 fi
26524
26525 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26526       conftest$ac_exeext conftest.$ac_ext
26527 fi
26528 ac_res=`eval echo '${'$as_ac_var'}'`
26529                { echo "$as_me:$LINENO: result: $ac_res" >&5
26530 echo "${ECHO_T}$ac_res" >&6; }
26531 if test `eval echo '${'$as_ac_var'}'` = yes; then
26532   cat >>confdefs.h <<_ACEOF
26533 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26534 _ACEOF
26535
26536 fi
26537 done
26538
26539 fi
26540
26541
26542
26543         if test "x$ac_cv_func_regcomp" != "xyes"; then
26544             if test "$wxUSE_REGEX" = "sys" ; then
26545                 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
26546 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
26547    { (exit 1); exit 1; }; }
26548             else
26549                 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
26550 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
26551                 wxUSE_REGEX=builtin
26552             fi
26553         else
26554                         wxUSE_REGEX=sys
26555                         cat >>confdefs.h <<\_ACEOF
26556 #define WX_NO_REGEX_ADVANCED 1
26557 _ACEOF
26558
26559         fi
26560     fi
26561 fi
26562
26563
26564 ZLIB_LINK=
26565 if test "$wxUSE_ZLIB" != "no" ; then
26566     cat >>confdefs.h <<\_ACEOF
26567 #define wxUSE_ZLIB 1
26568 _ACEOF
26569
26570
26571     if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
26572                                                 if test "$USE_DARWIN" = 1; then
26573             system_zlib_h_ok="yes"
26574         else
26575                                                                                     { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
26576 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
26577 if test "${ac_cv_header_zlib_h+set}" = set; then
26578   echo $ECHO_N "(cached) $ECHO_C" >&6
26579 else
26580   if test "$cross_compiling" = yes; then
26581                       unset ac_cv_header_zlib_h
26582
26583 else
26584   cat >conftest.$ac_ext <<_ACEOF
26585 /* confdefs.h.  */
26586 _ACEOF
26587 cat confdefs.h >>conftest.$ac_ext
26588 cat >>conftest.$ac_ext <<_ACEOF
26589 /* end confdefs.h.  */
26590
26591                         #include <zlib.h>
26592                         #include <stdio.h>
26593
26594                         int main()
26595                         {
26596                             FILE *f=fopen("conftestval", "w");
26597                             if (!f) exit(1);
26598                             fprintf(f, "%s",
26599                                     ZLIB_VERSION[0] == '1' &&
26600                                     (ZLIB_VERSION[2] > '1' ||
26601                                     (ZLIB_VERSION[2] == '1' &&
26602                                      ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
26603                             exit(0);
26604                         }
26605
26606 _ACEOF
26607 rm -f conftest$ac_exeext
26608 if { (ac_try="$ac_link"
26609 case "(($ac_try" in
26610   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26611   *) ac_try_echo=$ac_try;;
26612 esac
26613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26614   (eval "$ac_link") 2>&5
26615   ac_status=$?
26616   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26617   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26618   { (case "(($ac_try" in
26619   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26620   *) ac_try_echo=$ac_try;;
26621 esac
26622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26623   (eval "$ac_try") 2>&5
26624   ac_status=$?
26625   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26626   (exit $ac_status); }; }; then
26627   ac_cv_header_zlib_h=`cat conftestval`
26628 else
26629   echo "$as_me: program exited with status $ac_status" >&5
26630 echo "$as_me: failed program was:" >&5
26631 sed 's/^/| /' conftest.$ac_ext >&5
26632
26633 ( exit $ac_status )
26634 ac_cv_header_zlib_h=no
26635 fi
26636 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26637 fi
26638
26639
26640
26641 fi
26642 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26643 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26644                                     { echo "$as_me:$LINENO: checking for zlib.h" >&5
26645 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
26646 if test "${ac_cv_header_zlib_h+set}" = set; then
26647   echo $ECHO_N "(cached) $ECHO_C" >&6
26648 else
26649   cat >conftest.$ac_ext <<_ACEOF
26650 /* confdefs.h.  */
26651 _ACEOF
26652 cat confdefs.h >>conftest.$ac_ext
26653 cat >>conftest.$ac_ext <<_ACEOF
26654 /* end confdefs.h.  */
26655
26656
26657 #include <zlib.h>
26658 _ACEOF
26659 rm -f conftest.$ac_objext
26660 if { (ac_try="$ac_compile"
26661 case "(($ac_try" in
26662   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26663   *) ac_try_echo=$ac_try;;
26664 esac
26665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26666   (eval "$ac_compile") 2>conftest.er1
26667   ac_status=$?
26668   grep -v '^ *+' conftest.er1 >conftest.err
26669   rm -f conftest.er1
26670   cat conftest.err >&5
26671   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26672   (exit $ac_status); } && {
26673          test -z "$ac_c_werror_flag" ||
26674          test ! -s conftest.err
26675        } && test -s conftest.$ac_objext; then
26676   ac_cv_header_zlib_h=yes
26677 else
26678   echo "$as_me: failed program was:" >&5
26679 sed 's/^/| /' conftest.$ac_ext >&5
26680
26681         ac_cv_header_zlib_h=no
26682 fi
26683
26684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26685 fi
26686 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26687 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26688
26689
26690
26691             system_zlib_h_ok=$ac_cv_header_zlib_h
26692         fi
26693
26694         if test "$system_zlib_h_ok" = "yes"; then
26695             { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
26696 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
26697 if test "${ac_cv_lib_z_deflate+set}" = set; then
26698   echo $ECHO_N "(cached) $ECHO_C" >&6
26699 else
26700   ac_check_lib_save_LIBS=$LIBS
26701 LIBS="-lz  $LIBS"
26702 cat >conftest.$ac_ext <<_ACEOF
26703 /* confdefs.h.  */
26704 _ACEOF
26705 cat confdefs.h >>conftest.$ac_ext
26706 cat >>conftest.$ac_ext <<_ACEOF
26707 /* end confdefs.h.  */
26708
26709 /* Override any GCC internal prototype to avoid an error.
26710    Use char because int might match the return type of a GCC
26711    builtin and then its argument prototype would still apply.  */
26712 #ifdef __cplusplus
26713 extern "C"
26714 #endif
26715 char deflate ();
26716 int
26717 main ()
26718 {
26719 return deflate ();
26720   ;
26721   return 0;
26722 }
26723 _ACEOF
26724 rm -f conftest.$ac_objext conftest$ac_exeext
26725 if { (ac_try="$ac_link"
26726 case "(($ac_try" in
26727   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26728   *) ac_try_echo=$ac_try;;
26729 esac
26730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26731   (eval "$ac_link") 2>conftest.er1
26732   ac_status=$?
26733   grep -v '^ *+' conftest.er1 >conftest.err
26734   rm -f conftest.er1
26735   cat conftest.err >&5
26736   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26737   (exit $ac_status); } && {
26738          test -z "$ac_c_werror_flag" ||
26739          test ! -s conftest.err
26740        } && test -s conftest$ac_exeext &&
26741        $as_test_x conftest$ac_exeext; then
26742   ac_cv_lib_z_deflate=yes
26743 else
26744   echo "$as_me: failed program was:" >&5
26745 sed 's/^/| /' conftest.$ac_ext >&5
26746
26747         ac_cv_lib_z_deflate=no
26748 fi
26749
26750 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26751       conftest$ac_exeext conftest.$ac_ext
26752 LIBS=$ac_check_lib_save_LIBS
26753 fi
26754 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
26755 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
26756 if test $ac_cv_lib_z_deflate = yes; then
26757   ZLIB_LINK=" -lz"
26758 fi
26759
26760         fi
26761
26762         if test "x$ZLIB_LINK" = "x" ; then
26763             if test "$wxUSE_ZLIB" = "sys" ; then
26764                 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
26765 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
26766    { (exit 1); exit 1; }; }
26767             else
26768                 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
26769 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
26770                 wxUSE_ZLIB=builtin
26771             fi
26772         else
26773                         wxUSE_ZLIB=sys
26774         fi
26775     fi
26776 fi
26777
26778
26779 PNG_LINK=
26780 if test "$wxUSE_LIBPNG" != "no" ; then
26781     cat >>confdefs.h <<\_ACEOF
26782 #define wxUSE_LIBPNG 1
26783 _ACEOF
26784
26785
26786     if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
26787         { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
26788 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
26789         wxUSE_LIBPNG=sys
26790     fi
26791
26792                 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
26793         { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
26794 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
26795         wxUSE_LIBPNG=builtin
26796     fi
26797
26798     if test "$wxUSE_MGL" != 1 ; then
26799                 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
26800                                     { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
26801 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
26802 if test "${ac_cv_header_png_h+set}" = set; then
26803   echo $ECHO_N "(cached) $ECHO_C" >&6
26804 else
26805   if test "$cross_compiling" = yes; then
26806                       unset ac_cv_header_png_h
26807
26808 else
26809   cat >conftest.$ac_ext <<_ACEOF
26810 /* confdefs.h.  */
26811 _ACEOF
26812 cat confdefs.h >>conftest.$ac_ext
26813 cat >>conftest.$ac_ext <<_ACEOF
26814 /* end confdefs.h.  */
26815
26816                         #include <png.h>
26817                         #include <stdio.h>
26818
26819                         int main()
26820                         {
26821                             FILE *f=fopen("conftestval", "w");
26822                             if (!f) exit(1);
26823                             fprintf(f, "%s",
26824                                      PNG_LIBPNG_VER > 90 ? "yes" : "no");
26825                             exit(0);
26826                         }
26827
26828 _ACEOF
26829 rm -f conftest$ac_exeext
26830 if { (ac_try="$ac_link"
26831 case "(($ac_try" in
26832   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26833   *) ac_try_echo=$ac_try;;
26834 esac
26835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26836   (eval "$ac_link") 2>&5
26837   ac_status=$?
26838   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26839   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26840   { (case "(($ac_try" in
26841   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26842   *) ac_try_echo=$ac_try;;
26843 esac
26844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26845   (eval "$ac_try") 2>&5
26846   ac_status=$?
26847   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26848   (exit $ac_status); }; }; then
26849   ac_cv_header_png_h=`cat conftestval`
26850 else
26851   echo "$as_me: program exited with status $ac_status" >&5
26852 echo "$as_me: failed program was:" >&5
26853 sed 's/^/| /' conftest.$ac_ext >&5
26854
26855 ( exit $ac_status )
26856 ac_cv_header_png_h=no
26857 fi
26858 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26859 fi
26860
26861
26862
26863 fi
26864 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26865 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26866             { echo "$as_me:$LINENO: checking for png.h" >&5
26867 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
26868 if test "${ac_cv_header_png_h+set}" = set; then
26869   echo $ECHO_N "(cached) $ECHO_C" >&6
26870 else
26871   cat >conftest.$ac_ext <<_ACEOF
26872 /* confdefs.h.  */
26873 _ACEOF
26874 cat confdefs.h >>conftest.$ac_ext
26875 cat >>conftest.$ac_ext <<_ACEOF
26876 /* end confdefs.h.  */
26877
26878
26879 #include <png.h>
26880 _ACEOF
26881 rm -f conftest.$ac_objext
26882 if { (ac_try="$ac_compile"
26883 case "(($ac_try" in
26884   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26885   *) ac_try_echo=$ac_try;;
26886 esac
26887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26888   (eval "$ac_compile") 2>conftest.er1
26889   ac_status=$?
26890   grep -v '^ *+' conftest.er1 >conftest.err
26891   rm -f conftest.er1
26892   cat conftest.err >&5
26893   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26894   (exit $ac_status); } && {
26895          test -z "$ac_c_werror_flag" ||
26896          test ! -s conftest.err
26897        } && test -s conftest.$ac_objext; then
26898   ac_cv_header_png_h=yes
26899 else
26900   echo "$as_me: failed program was:" >&5
26901 sed 's/^/| /' conftest.$ac_ext >&5
26902
26903         ac_cv_header_png_h=no
26904 fi
26905
26906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26907 fi
26908 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26909 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26910
26911
26912
26913             if test "$ac_cv_header_png_h" = "yes"; then
26914                 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
26915 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
26916 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
26917   echo $ECHO_N "(cached) $ECHO_C" >&6
26918 else
26919   ac_check_lib_save_LIBS=$LIBS
26920 LIBS="-lpng -lz -lm $LIBS"
26921 cat >conftest.$ac_ext <<_ACEOF
26922 /* confdefs.h.  */
26923 _ACEOF
26924 cat confdefs.h >>conftest.$ac_ext
26925 cat >>conftest.$ac_ext <<_ACEOF
26926 /* end confdefs.h.  */
26927
26928 /* Override any GCC internal prototype to avoid an error.
26929    Use char because int might match the return type of a GCC
26930    builtin and then its argument prototype would still apply.  */
26931 #ifdef __cplusplus
26932 extern "C"
26933 #endif
26934 char png_check_sig ();
26935 int
26936 main ()
26937 {
26938 return png_check_sig ();
26939   ;
26940   return 0;
26941 }
26942 _ACEOF
26943 rm -f conftest.$ac_objext conftest$ac_exeext
26944 if { (ac_try="$ac_link"
26945 case "(($ac_try" in
26946   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26947   *) ac_try_echo=$ac_try;;
26948 esac
26949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26950   (eval "$ac_link") 2>conftest.er1
26951   ac_status=$?
26952   grep -v '^ *+' conftest.er1 >conftest.err
26953   rm -f conftest.er1
26954   cat conftest.err >&5
26955   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26956   (exit $ac_status); } && {
26957          test -z "$ac_c_werror_flag" ||
26958          test ! -s conftest.err
26959        } && test -s conftest$ac_exeext &&
26960        $as_test_x conftest$ac_exeext; then
26961   ac_cv_lib_png_png_check_sig=yes
26962 else
26963   echo "$as_me: failed program was:" >&5
26964 sed 's/^/| /' conftest.$ac_ext >&5
26965
26966         ac_cv_lib_png_png_check_sig=no
26967 fi
26968
26969 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26970       conftest$ac_exeext conftest.$ac_ext
26971 LIBS=$ac_check_lib_save_LIBS
26972 fi
26973 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
26974 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
26975 if test $ac_cv_lib_png_png_check_sig = yes; then
26976   PNG_LINK=" -lpng -lz"
26977 fi
26978
26979             fi
26980
26981             if test "x$PNG_LINK" = "x" ; then
26982                 if test "$wxUSE_LIBPNG" = "sys" ; then
26983                     { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
26984 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
26985    { (exit 1); exit 1; }; }
26986                 else
26987                     { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
26988 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
26989                     wxUSE_LIBPNG=builtin
26990                 fi
26991             else
26992                                 wxUSE_LIBPNG=sys
26993             fi
26994         fi
26995     fi
26996 fi
26997
26998
26999 JPEG_LINK=
27000 if test "$wxUSE_LIBJPEG" != "no" ; then
27001     cat >>confdefs.h <<\_ACEOF
27002 #define wxUSE_LIBJPEG 1
27003 _ACEOF
27004
27005
27006     if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
27007         { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
27008 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
27009         wxUSE_LIBJPEG=sys
27010     fi
27011
27012     if test "$wxUSE_MGL" != 1 ; then
27013                 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
27014                                                 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
27015 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
27016             if test "${ac_cv_header_jpeglib_h+set}" = set; then
27017   echo $ECHO_N "(cached) $ECHO_C" >&6
27018 else
27019   cat >conftest.$ac_ext <<_ACEOF
27020 /* confdefs.h.  */
27021 _ACEOF
27022 cat confdefs.h >>conftest.$ac_ext
27023 cat >>conftest.$ac_ext <<_ACEOF
27024 /* end confdefs.h.  */
27025
27026                         #undef HAVE_STDLIB_H
27027                         #include <stdio.h>
27028                         #include <jpeglib.h>
27029
27030 int
27031 main ()
27032 {
27033
27034
27035   ;
27036   return 0;
27037 }
27038 _ACEOF
27039 rm -f conftest.$ac_objext
27040 if { (ac_try="$ac_compile"
27041 case "(($ac_try" in
27042   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27043   *) ac_try_echo=$ac_try;;
27044 esac
27045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27046   (eval "$ac_compile") 2>conftest.er1
27047   ac_status=$?
27048   grep -v '^ *+' conftest.er1 >conftest.err
27049   rm -f conftest.er1
27050   cat conftest.err >&5
27051   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27052   (exit $ac_status); } && {
27053          test -z "$ac_c_werror_flag" ||
27054          test ! -s conftest.err
27055        } && test -s conftest.$ac_objext; then
27056   ac_cv_header_jpeglib_h=yes
27057 else
27058   echo "$as_me: failed program was:" >&5
27059 sed 's/^/| /' conftest.$ac_ext >&5
27060
27061         ac_cv_header_jpeglib_h=no
27062
27063 fi
27064
27065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27066
27067 fi
27068
27069             { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
27070 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
27071
27072             if test "$ac_cv_header_jpeglib_h" = "yes"; then
27073                 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
27074 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
27075 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
27076   echo $ECHO_N "(cached) $ECHO_C" >&6
27077 else
27078   ac_check_lib_save_LIBS=$LIBS
27079 LIBS="-ljpeg  $LIBS"
27080 cat >conftest.$ac_ext <<_ACEOF
27081 /* confdefs.h.  */
27082 _ACEOF
27083 cat confdefs.h >>conftest.$ac_ext
27084 cat >>conftest.$ac_ext <<_ACEOF
27085 /* end confdefs.h.  */
27086
27087 /* Override any GCC internal prototype to avoid an error.
27088    Use char because int might match the return type of a GCC
27089    builtin and then its argument prototype would still apply.  */
27090 #ifdef __cplusplus
27091 extern "C"
27092 #endif
27093 char jpeg_read_header ();
27094 int
27095 main ()
27096 {
27097 return jpeg_read_header ();
27098   ;
27099   return 0;
27100 }
27101 _ACEOF
27102 rm -f conftest.$ac_objext conftest$ac_exeext
27103 if { (ac_try="$ac_link"
27104 case "(($ac_try" in
27105   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27106   *) ac_try_echo=$ac_try;;
27107 esac
27108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27109   (eval "$ac_link") 2>conftest.er1
27110   ac_status=$?
27111   grep -v '^ *+' conftest.er1 >conftest.err
27112   rm -f conftest.er1
27113   cat conftest.err >&5
27114   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27115   (exit $ac_status); } && {
27116          test -z "$ac_c_werror_flag" ||
27117          test ! -s conftest.err
27118        } && test -s conftest$ac_exeext &&
27119        $as_test_x conftest$ac_exeext; then
27120   ac_cv_lib_jpeg_jpeg_read_header=yes
27121 else
27122   echo "$as_me: failed program was:" >&5
27123 sed 's/^/| /' conftest.$ac_ext >&5
27124
27125         ac_cv_lib_jpeg_jpeg_read_header=no
27126 fi
27127
27128 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27129       conftest$ac_exeext conftest.$ac_ext
27130 LIBS=$ac_check_lib_save_LIBS
27131 fi
27132 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
27133 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
27134 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
27135   JPEG_LINK=" -ljpeg"
27136 fi
27137
27138             fi
27139
27140             if test "x$JPEG_LINK" = "x" ; then
27141                 if test "$wxUSE_LIBJPEG" = "sys" ; then
27142                     { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
27143 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
27144    { (exit 1); exit 1; }; }
27145                 else
27146                     { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
27147 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
27148                     wxUSE_LIBJPEG=builtin
27149                 fi
27150             else
27151                                 wxUSE_LIBJPEG=sys
27152
27153                 if test "$wxUSE_MSW" = 1; then
27154                                                                                                     { echo "$as_me:$LINENO: checking for boolean" >&5
27155 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
27156 if test "${ac_cv_type_boolean+set}" = set; then
27157   echo $ECHO_N "(cached) $ECHO_C" >&6
27158 else
27159   cat >conftest.$ac_ext <<_ACEOF
27160 /* confdefs.h.  */
27161 _ACEOF
27162 cat confdefs.h >>conftest.$ac_ext
27163 cat >>conftest.$ac_ext <<_ACEOF
27164 /* end confdefs.h.  */
27165 #include <windows.h>
27166
27167 typedef boolean ac__type_new_;
27168 int
27169 main ()
27170 {
27171 if ((ac__type_new_ *) 0)
27172   return 0;
27173 if (sizeof (ac__type_new_))
27174   return 0;
27175   ;
27176   return 0;
27177 }
27178 _ACEOF
27179 rm -f conftest.$ac_objext
27180 if { (ac_try="$ac_compile"
27181 case "(($ac_try" in
27182   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27183   *) ac_try_echo=$ac_try;;
27184 esac
27185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27186   (eval "$ac_compile") 2>conftest.er1
27187   ac_status=$?
27188   grep -v '^ *+' conftest.er1 >conftest.err
27189   rm -f conftest.er1
27190   cat conftest.err >&5
27191   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27192   (exit $ac_status); } && {
27193          test -z "$ac_c_werror_flag" ||
27194          test ! -s conftest.err
27195        } && test -s conftest.$ac_objext; then
27196   ac_cv_type_boolean=yes
27197 else
27198   echo "$as_me: failed program was:" >&5
27199 sed 's/^/| /' conftest.$ac_ext >&5
27200
27201         ac_cv_type_boolean=no
27202 fi
27203
27204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27205 fi
27206 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27207 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
27208 if test $ac_cv_type_boolean = yes; then
27209
27210 cat >>confdefs.h <<_ACEOF
27211 #define HAVE_BOOLEAN 1
27212 _ACEOF
27213
27214
27215                             { echo "$as_me:$LINENO: checking for boolean" >&5
27216 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
27217 if test "${ac_cv_type_boolean+set}" = set; then
27218   echo $ECHO_N "(cached) $ECHO_C" >&6
27219 else
27220   cat >conftest.$ac_ext <<_ACEOF
27221 /* confdefs.h.  */
27222 _ACEOF
27223 cat confdefs.h >>conftest.$ac_ext
27224 cat >>conftest.$ac_ext <<_ACEOF
27225 /* end confdefs.h.  */
27226
27227                                     #undef HAVE_BOOLEAN
27228                                     #include <stdio.h>
27229                                     #include <jpeglib.h>
27230
27231
27232 typedef boolean ac__type_new_;
27233 int
27234 main ()
27235 {
27236 if ((ac__type_new_ *) 0)
27237   return 0;
27238 if (sizeof (ac__type_new_))
27239   return 0;
27240   ;
27241   return 0;
27242 }
27243 _ACEOF
27244 rm -f conftest.$ac_objext
27245 if { (ac_try="$ac_compile"
27246 case "(($ac_try" in
27247   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27248   *) ac_try_echo=$ac_try;;
27249 esac
27250 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27251   (eval "$ac_compile") 2>conftest.er1
27252   ac_status=$?
27253   grep -v '^ *+' conftest.er1 >conftest.err
27254   rm -f conftest.er1
27255   cat conftest.err >&5
27256   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27257   (exit $ac_status); } && {
27258          test -z "$ac_c_werror_flag" ||
27259          test ! -s conftest.err
27260        } && test -s conftest.$ac_objext; then
27261   ac_cv_type_boolean=yes
27262 else
27263   echo "$as_me: failed program was:" >&5
27264 sed 's/^/| /' conftest.$ac_ext >&5
27265
27266         ac_cv_type_boolean=no
27267 fi
27268
27269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27270 fi
27271 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27272 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
27273
27274 # The cast to long int works around a bug in the HP C Compiler
27275 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
27276 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
27277 # This bug is HP SR number 8606223364.
27278 { echo "$as_me:$LINENO: checking size of boolean" >&5
27279 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
27280 if test "${ac_cv_sizeof_boolean+set}" = set; then
27281   echo $ECHO_N "(cached) $ECHO_C" >&6
27282 else
27283   if test "$cross_compiling" = yes; then
27284   # Depending upon the size, compute the lo and hi bounds.
27285 cat >conftest.$ac_ext <<_ACEOF
27286 /* confdefs.h.  */
27287 _ACEOF
27288 cat confdefs.h >>conftest.$ac_ext
27289 cat >>conftest.$ac_ext <<_ACEOF
27290 /* end confdefs.h.  */
27291
27292                                     #undef HAVE_BOOLEAN
27293                                     #include <stdio.h>
27294                                     #include <jpeglib.h>
27295
27296
27297    typedef boolean ac__type_sizeof_;
27298 int
27299 main ()
27300 {
27301 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
27302 test_array [0] = 0
27303
27304   ;
27305   return 0;
27306 }
27307 _ACEOF
27308 rm -f conftest.$ac_objext
27309 if { (ac_try="$ac_compile"
27310 case "(($ac_try" in
27311   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27312   *) ac_try_echo=$ac_try;;
27313 esac
27314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27315   (eval "$ac_compile") 2>conftest.er1
27316   ac_status=$?
27317   grep -v '^ *+' conftest.er1 >conftest.err
27318   rm -f conftest.er1
27319   cat conftest.err >&5
27320   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27321   (exit $ac_status); } && {
27322          test -z "$ac_c_werror_flag" ||
27323          test ! -s conftest.err
27324        } && test -s conftest.$ac_objext; then
27325   ac_lo=0 ac_mid=0
27326   while :; do
27327     cat >conftest.$ac_ext <<_ACEOF
27328 /* confdefs.h.  */
27329 _ACEOF
27330 cat confdefs.h >>conftest.$ac_ext
27331 cat >>conftest.$ac_ext <<_ACEOF
27332 /* end confdefs.h.  */
27333
27334                                     #undef HAVE_BOOLEAN
27335                                     #include <stdio.h>
27336                                     #include <jpeglib.h>
27337
27338
27339    typedef boolean ac__type_sizeof_;
27340 int
27341 main ()
27342 {
27343 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27344 test_array [0] = 0
27345
27346   ;
27347   return 0;
27348 }
27349 _ACEOF
27350 rm -f conftest.$ac_objext
27351 if { (ac_try="$ac_compile"
27352 case "(($ac_try" in
27353   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27354   *) ac_try_echo=$ac_try;;
27355 esac
27356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27357   (eval "$ac_compile") 2>conftest.er1
27358   ac_status=$?
27359   grep -v '^ *+' conftest.er1 >conftest.err
27360   rm -f conftest.er1
27361   cat conftest.err >&5
27362   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27363   (exit $ac_status); } && {
27364          test -z "$ac_c_werror_flag" ||
27365          test ! -s conftest.err
27366        } && test -s conftest.$ac_objext; then
27367   ac_hi=$ac_mid; break
27368 else
27369   echo "$as_me: failed program was:" >&5
27370 sed 's/^/| /' conftest.$ac_ext >&5
27371
27372         ac_lo=`expr $ac_mid + 1`
27373                         if test $ac_lo -le $ac_mid; then
27374                           ac_lo= ac_hi=
27375                           break
27376                         fi
27377                         ac_mid=`expr 2 '*' $ac_mid + 1`
27378 fi
27379
27380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27381   done
27382 else
27383   echo "$as_me: failed program was:" >&5
27384 sed 's/^/| /' conftest.$ac_ext >&5
27385
27386         cat >conftest.$ac_ext <<_ACEOF
27387 /* confdefs.h.  */
27388 _ACEOF
27389 cat confdefs.h >>conftest.$ac_ext
27390 cat >>conftest.$ac_ext <<_ACEOF
27391 /* end confdefs.h.  */
27392
27393                                     #undef HAVE_BOOLEAN
27394                                     #include <stdio.h>
27395                                     #include <jpeglib.h>
27396
27397
27398    typedef boolean ac__type_sizeof_;
27399 int
27400 main ()
27401 {
27402 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
27403 test_array [0] = 0
27404
27405   ;
27406   return 0;
27407 }
27408 _ACEOF
27409 rm -f conftest.$ac_objext
27410 if { (ac_try="$ac_compile"
27411 case "(($ac_try" in
27412   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27413   *) ac_try_echo=$ac_try;;
27414 esac
27415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27416   (eval "$ac_compile") 2>conftest.er1
27417   ac_status=$?
27418   grep -v '^ *+' conftest.er1 >conftest.err
27419   rm -f conftest.er1
27420   cat conftest.err >&5
27421   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27422   (exit $ac_status); } && {
27423          test -z "$ac_c_werror_flag" ||
27424          test ! -s conftest.err
27425        } && test -s conftest.$ac_objext; then
27426   ac_hi=-1 ac_mid=-1
27427   while :; do
27428     cat >conftest.$ac_ext <<_ACEOF
27429 /* confdefs.h.  */
27430 _ACEOF
27431 cat confdefs.h >>conftest.$ac_ext
27432 cat >>conftest.$ac_ext <<_ACEOF
27433 /* end confdefs.h.  */
27434
27435                                     #undef HAVE_BOOLEAN
27436                                     #include <stdio.h>
27437                                     #include <jpeglib.h>
27438
27439
27440    typedef boolean ac__type_sizeof_;
27441 int
27442 main ()
27443 {
27444 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
27445 test_array [0] = 0
27446
27447   ;
27448   return 0;
27449 }
27450 _ACEOF
27451 rm -f conftest.$ac_objext
27452 if { (ac_try="$ac_compile"
27453 case "(($ac_try" in
27454   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27455   *) ac_try_echo=$ac_try;;
27456 esac
27457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27458   (eval "$ac_compile") 2>conftest.er1
27459   ac_status=$?
27460   grep -v '^ *+' conftest.er1 >conftest.err
27461   rm -f conftest.er1
27462   cat conftest.err >&5
27463   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27464   (exit $ac_status); } && {
27465          test -z "$ac_c_werror_flag" ||
27466          test ! -s conftest.err
27467        } && test -s conftest.$ac_objext; then
27468   ac_lo=$ac_mid; break
27469 else
27470   echo "$as_me: failed program was:" >&5
27471 sed 's/^/| /' conftest.$ac_ext >&5
27472
27473         ac_hi=`expr '(' $ac_mid ')' - 1`
27474                         if test $ac_mid -le $ac_hi; then
27475                           ac_lo= ac_hi=
27476                           break
27477                         fi
27478                         ac_mid=`expr 2 '*' $ac_mid`
27479 fi
27480
27481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27482   done
27483 else
27484   echo "$as_me: failed program was:" >&5
27485 sed 's/^/| /' conftest.$ac_ext >&5
27486
27487         ac_lo= ac_hi=
27488 fi
27489
27490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27491 fi
27492
27493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27494 # Binary search between lo and hi bounds.
27495 while test "x$ac_lo" != "x$ac_hi"; do
27496   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
27497   cat >conftest.$ac_ext <<_ACEOF
27498 /* confdefs.h.  */
27499 _ACEOF
27500 cat confdefs.h >>conftest.$ac_ext
27501 cat >>conftest.$ac_ext <<_ACEOF
27502 /* end confdefs.h.  */
27503
27504                                     #undef HAVE_BOOLEAN
27505                                     #include <stdio.h>
27506                                     #include <jpeglib.h>
27507
27508
27509    typedef boolean ac__type_sizeof_;
27510 int
27511 main ()
27512 {
27513 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27514 test_array [0] = 0
27515
27516   ;
27517   return 0;
27518 }
27519 _ACEOF
27520 rm -f conftest.$ac_objext
27521 if { (ac_try="$ac_compile"
27522 case "(($ac_try" in
27523   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27524   *) ac_try_echo=$ac_try;;
27525 esac
27526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27527   (eval "$ac_compile") 2>conftest.er1
27528   ac_status=$?
27529   grep -v '^ *+' conftest.er1 >conftest.err
27530   rm -f conftest.er1
27531   cat conftest.err >&5
27532   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27533   (exit $ac_status); } && {
27534          test -z "$ac_c_werror_flag" ||
27535          test ! -s conftest.err
27536        } && test -s conftest.$ac_objext; then
27537   ac_hi=$ac_mid
27538 else
27539   echo "$as_me: failed program was:" >&5
27540 sed 's/^/| /' conftest.$ac_ext >&5
27541
27542         ac_lo=`expr '(' $ac_mid ')' + 1`
27543 fi
27544
27545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27546 done
27547 case $ac_lo in
27548 ?*) ac_cv_sizeof_boolean=$ac_lo;;
27549 '') if test "$ac_cv_type_boolean" = yes; then
27550      { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27551 See \`config.log' for more details." >&5
27552 echo "$as_me: error: cannot compute sizeof (boolean)
27553 See \`config.log' for more details." >&2;}
27554    { (exit 77); exit 77; }; }
27555    else
27556      ac_cv_sizeof_boolean=0
27557    fi ;;
27558 esac
27559 else
27560   cat >conftest.$ac_ext <<_ACEOF
27561 /* confdefs.h.  */
27562 _ACEOF
27563 cat confdefs.h >>conftest.$ac_ext
27564 cat >>conftest.$ac_ext <<_ACEOF
27565 /* end confdefs.h.  */
27566
27567                                     #undef HAVE_BOOLEAN
27568                                     #include <stdio.h>
27569                                     #include <jpeglib.h>
27570
27571
27572    typedef boolean ac__type_sizeof_;
27573 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
27574 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
27575 #include <stdio.h>
27576 #include <stdlib.h>
27577 int
27578 main ()
27579 {
27580
27581   FILE *f = fopen ("conftest.val", "w");
27582   if (! f)
27583     return 1;
27584   if (((long int) (sizeof (ac__type_sizeof_))) < 0)
27585     {
27586       long int i = longval ();
27587       if (i != ((long int) (sizeof (ac__type_sizeof_))))
27588         return 1;
27589       fprintf (f, "%ld\n", i);
27590     }
27591   else
27592     {
27593       unsigned long int i = ulongval ();
27594       if (i != ((long int) (sizeof (ac__type_sizeof_))))
27595         return 1;
27596       fprintf (f, "%lu\n", i);
27597     }
27598   return ferror (f) || fclose (f) != 0;
27599
27600   ;
27601   return 0;
27602 }
27603 _ACEOF
27604 rm -f conftest$ac_exeext
27605 if { (ac_try="$ac_link"
27606 case "(($ac_try" in
27607   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27608   *) ac_try_echo=$ac_try;;
27609 esac
27610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27611   (eval "$ac_link") 2>&5
27612   ac_status=$?
27613   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27614   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27615   { (case "(($ac_try" in
27616   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27617   *) ac_try_echo=$ac_try;;
27618 esac
27619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27620   (eval "$ac_try") 2>&5
27621   ac_status=$?
27622   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27623   (exit $ac_status); }; }; then
27624   ac_cv_sizeof_boolean=`cat conftest.val`
27625 else
27626   echo "$as_me: program exited with status $ac_status" >&5
27627 echo "$as_me: failed program was:" >&5
27628 sed 's/^/| /' conftest.$ac_ext >&5
27629
27630 ( exit $ac_status )
27631 if test "$ac_cv_type_boolean" = yes; then
27632      { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27633 See \`config.log' for more details." >&5
27634 echo "$as_me: error: cannot compute sizeof (boolean)
27635 See \`config.log' for more details." >&2;}
27636    { (exit 77); exit 77; }; }
27637    else
27638      ac_cv_sizeof_boolean=0
27639    fi
27640 fi
27641 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27642 fi
27643 rm -f conftest.val
27644 fi
27645 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
27646 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
27647
27648
27649
27650 cat >>confdefs.h <<_ACEOF
27651 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
27652 _ACEOF
27653
27654
27655                             cat >>confdefs.h <<_ACEOF
27656 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
27657 _ACEOF
27658
27659
27660 fi
27661
27662                 fi
27663             fi
27664         fi
27665     fi
27666 fi
27667
27668
27669 TIFF_LINK=
27670 TIFF_PREREQ_LINKS=-lm
27671 if test "$wxUSE_LIBTIFF" != "no" ; then
27672     cat >>confdefs.h <<\_ACEOF
27673 #define wxUSE_LIBTIFF 1
27674 _ACEOF
27675
27676
27677     if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
27678                         if test "$wxUSE_LIBJPEG" = "sys"; then
27679             TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
27680         fi
27681         if test "$wxUSE_ZLIB" = "sys"; then
27682             TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
27683         fi
27684         { echo "$as_me:$LINENO: checking for tiffio.h" >&5
27685 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
27686 if test "${ac_cv_header_tiffio_h+set}" = set; then
27687   echo $ECHO_N "(cached) $ECHO_C" >&6
27688 else
27689   cat >conftest.$ac_ext <<_ACEOF
27690 /* confdefs.h.  */
27691 _ACEOF
27692 cat confdefs.h >>conftest.$ac_ext
27693 cat >>conftest.$ac_ext <<_ACEOF
27694 /* end confdefs.h.  */
27695
27696
27697
27698 #include <tiffio.h>
27699 _ACEOF
27700 rm -f conftest.$ac_objext
27701 if { (ac_try="$ac_compile"
27702 case "(($ac_try" in
27703   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27704   *) ac_try_echo=$ac_try;;
27705 esac
27706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27707   (eval "$ac_compile") 2>conftest.er1
27708   ac_status=$?
27709   grep -v '^ *+' conftest.er1 >conftest.err
27710   rm -f conftest.er1
27711   cat conftest.err >&5
27712   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27713   (exit $ac_status); } && {
27714          test -z "$ac_c_werror_flag" ||
27715          test ! -s conftest.err
27716        } && test -s conftest.$ac_objext; then
27717   ac_cv_header_tiffio_h=yes
27718 else
27719   echo "$as_me: failed program was:" >&5
27720 sed 's/^/| /' conftest.$ac_ext >&5
27721
27722         ac_cv_header_tiffio_h=no
27723 fi
27724
27725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27726 fi
27727 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
27728 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
27729 if test $ac_cv_header_tiffio_h = yes; then
27730
27731                             { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
27732 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
27733 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
27734   echo $ECHO_N "(cached) $ECHO_C" >&6
27735 else
27736   ac_check_lib_save_LIBS=$LIBS
27737 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
27738 cat >conftest.$ac_ext <<_ACEOF
27739 /* confdefs.h.  */
27740 _ACEOF
27741 cat confdefs.h >>conftest.$ac_ext
27742 cat >>conftest.$ac_ext <<_ACEOF
27743 /* end confdefs.h.  */
27744
27745 /* Override any GCC internal prototype to avoid an error.
27746    Use char because int might match the return type of a GCC
27747    builtin and then its argument prototype would still apply.  */
27748 #ifdef __cplusplus
27749 extern "C"
27750 #endif
27751 char TIFFError ();
27752 int
27753 main ()
27754 {
27755 return TIFFError ();
27756   ;
27757   return 0;
27758 }
27759 _ACEOF
27760 rm -f conftest.$ac_objext conftest$ac_exeext
27761 if { (ac_try="$ac_link"
27762 case "(($ac_try" in
27763   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27764   *) ac_try_echo=$ac_try;;
27765 esac
27766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27767   (eval "$ac_link") 2>conftest.er1
27768   ac_status=$?
27769   grep -v '^ *+' conftest.er1 >conftest.err
27770   rm -f conftest.er1
27771   cat conftest.err >&5
27772   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27773   (exit $ac_status); } && {
27774          test -z "$ac_c_werror_flag" ||
27775          test ! -s conftest.err
27776        } && test -s conftest$ac_exeext &&
27777        $as_test_x conftest$ac_exeext; then
27778   ac_cv_lib_tiff_TIFFError=yes
27779 else
27780   echo "$as_me: failed program was:" >&5
27781 sed 's/^/| /' conftest.$ac_ext >&5
27782
27783         ac_cv_lib_tiff_TIFFError=no
27784 fi
27785
27786 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27787       conftest$ac_exeext conftest.$ac_ext
27788 LIBS=$ac_check_lib_save_LIBS
27789 fi
27790 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
27791 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
27792 if test $ac_cv_lib_tiff_TIFFError = yes; then
27793   TIFF_LINK=" -ltiff"
27794 fi
27795
27796
27797 fi
27798
27799
27800
27801         if test "x$TIFF_LINK" = "x" ; then
27802             if test "$wxUSE_LIBTIFF" = "sys" ; then
27803                 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
27804 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
27805    { (exit 1); exit 1; }; }
27806             else
27807                 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
27808 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
27809                 wxUSE_LIBTIFF=builtin
27810             fi
27811         else
27812                         wxUSE_LIBTIFF=sys
27813         fi
27814     fi
27815     if test "$wxUSE_LIBTIFF" = "builtin" ; then
27816         if test "$wxUSE_LIBJPEG" = "no"; then
27817                                                                                     ac_configure_args="$ac_configure_args --disable-jpeg"
27818         fi
27819         subdirs="$subdirs src/tiff"
27820
27821     fi
27822 fi
27823
27824
27825 if test "$wxUSE_WCHAR_T" != "yes"; then
27826     if test "$wxUSE_EXPAT" != "no"; then
27827         { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
27828 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
27829         wxUSE_EXPAT=no
27830     fi
27831     if test "$wxUSE_XML" != "no"; then
27832         { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
27833 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
27834         wxUSE_XML=no
27835     fi
27836 fi
27837
27838 if test "$wxUSE_EXPAT" != "no"; then
27839     wxUSE_XML=yes
27840     cat >>confdefs.h <<\_ACEOF
27841 #define wxUSE_EXPAT 1
27842 _ACEOF
27843
27844     cat >>confdefs.h <<\_ACEOF
27845 #define wxUSE_XML 1
27846 _ACEOF
27847
27848
27849     if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
27850         { echo "$as_me:$LINENO: checking for expat.h" >&5
27851 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
27852 if test "${ac_cv_header_expat_h+set}" = set; then
27853   echo $ECHO_N "(cached) $ECHO_C" >&6
27854 else
27855   cat >conftest.$ac_ext <<_ACEOF
27856 /* confdefs.h.  */
27857 _ACEOF
27858 cat confdefs.h >>conftest.$ac_ext
27859 cat >>conftest.$ac_ext <<_ACEOF
27860 /* end confdefs.h.  */
27861
27862
27863 #include <expat.h>
27864 _ACEOF
27865 rm -f conftest.$ac_objext
27866 if { (ac_try="$ac_compile"
27867 case "(($ac_try" in
27868   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27869   *) ac_try_echo=$ac_try;;
27870 esac
27871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27872   (eval "$ac_compile") 2>conftest.er1
27873   ac_status=$?
27874   grep -v '^ *+' conftest.er1 >conftest.err
27875   rm -f conftest.er1
27876   cat conftest.err >&5
27877   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27878   (exit $ac_status); } && {
27879          test -z "$ac_c_werror_flag" ||
27880          test ! -s conftest.err
27881        } && test -s conftest.$ac_objext; then
27882   ac_cv_header_expat_h=yes
27883 else
27884   echo "$as_me: failed program was:" >&5
27885 sed 's/^/| /' conftest.$ac_ext >&5
27886
27887         ac_cv_header_expat_h=no
27888 fi
27889
27890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27891 fi
27892 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
27893 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
27894 if test $ac_cv_header_expat_h = yes; then
27895   found_expat_h=1
27896 fi
27897
27898
27899         if test "x$found_expat_h" = "x1"; then
27900                         { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
27901 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
27902 if test "${wx_cv_expat_is_not_broken+set}" = set; then
27903   echo $ECHO_N "(cached) $ECHO_C" >&6
27904 else
27905
27906                 ac_ext=cpp
27907 ac_cpp='$CXXCPP $CPPFLAGS'
27908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27911
27912                 cat >conftest.$ac_ext <<_ACEOF
27913 /* confdefs.h.  */
27914 _ACEOF
27915 cat confdefs.h >>conftest.$ac_ext
27916 cat >>conftest.$ac_ext <<_ACEOF
27917 /* end confdefs.h.  */
27918 #include <expat.h>
27919 int
27920 main ()
27921 {
27922
27923   ;
27924   return 0;
27925 }
27926 _ACEOF
27927 rm -f conftest.$ac_objext
27928 if { (ac_try="$ac_compile"
27929 case "(($ac_try" in
27930   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27931   *) ac_try_echo=$ac_try;;
27932 esac
27933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27934   (eval "$ac_compile") 2>conftest.er1
27935   ac_status=$?
27936   grep -v '^ *+' conftest.er1 >conftest.err
27937   rm -f conftest.er1
27938   cat conftest.err >&5
27939   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27940   (exit $ac_status); } && {
27941          test -z "$ac_cxx_werror_flag" ||
27942          test ! -s conftest.err
27943        } && test -s conftest.$ac_objext; then
27944   wx_cv_expat_is_not_broken=yes
27945 else
27946   echo "$as_me: failed program was:" >&5
27947 sed 's/^/| /' conftest.$ac_ext >&5
27948
27949         wx_cv_expat_is_not_broken=no
27950
27951 fi
27952
27953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27954                 ac_ext=c
27955 ac_cpp='$CPP $CPPFLAGS'
27956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27959
27960
27961
27962 fi
27963 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
27964 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
27965             if test "$wx_cv_expat_is_not_broken" = "yes" ; then
27966                 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
27967 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
27968 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
27969   echo $ECHO_N "(cached) $ECHO_C" >&6
27970 else
27971   ac_check_lib_save_LIBS=$LIBS
27972 LIBS="-lexpat  $LIBS"
27973 cat >conftest.$ac_ext <<_ACEOF
27974 /* confdefs.h.  */
27975 _ACEOF
27976 cat confdefs.h >>conftest.$ac_ext
27977 cat >>conftest.$ac_ext <<_ACEOF
27978 /* end confdefs.h.  */
27979
27980 /* Override any GCC internal prototype to avoid an error.
27981    Use char because int might match the return type of a GCC
27982    builtin and then its argument prototype would still apply.  */
27983 #ifdef __cplusplus
27984 extern "C"
27985 #endif
27986 char XML_ParserCreate ();
27987 int
27988 main ()
27989 {
27990 return XML_ParserCreate ();
27991   ;
27992   return 0;
27993 }
27994 _ACEOF
27995 rm -f conftest.$ac_objext conftest$ac_exeext
27996 if { (ac_try="$ac_link"
27997 case "(($ac_try" in
27998   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27999   *) ac_try_echo=$ac_try;;
28000 esac
28001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28002   (eval "$ac_link") 2>conftest.er1
28003   ac_status=$?
28004   grep -v '^ *+' conftest.er1 >conftest.err
28005   rm -f conftest.er1
28006   cat conftest.err >&5
28007   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28008   (exit $ac_status); } && {
28009          test -z "$ac_c_werror_flag" ||
28010          test ! -s conftest.err
28011        } && test -s conftest$ac_exeext &&
28012        $as_test_x conftest$ac_exeext; then
28013   ac_cv_lib_expat_XML_ParserCreate=yes
28014 else
28015   echo "$as_me: failed program was:" >&5
28016 sed 's/^/| /' conftest.$ac_ext >&5
28017
28018         ac_cv_lib_expat_XML_ParserCreate=no
28019 fi
28020
28021 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28022       conftest$ac_exeext conftest.$ac_ext
28023 LIBS=$ac_check_lib_save_LIBS
28024 fi
28025 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
28026 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
28027 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
28028   EXPAT_LINK=" -lexpat"
28029 fi
28030
28031             fi
28032         fi
28033         if test "x$EXPAT_LINK" = "x" ; then
28034             if test "$wxUSE_EXPAT" = "sys" ; then
28035                 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
28036 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
28037    { (exit 1); exit 1; }; }
28038             else
28039                 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
28040 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
28041                 wxUSE_EXPAT=builtin
28042             fi
28043         else
28044                         wxUSE_EXPAT=sys
28045         fi
28046     fi
28047     if test "$wxUSE_EXPAT" = "builtin" ; then
28048                 subdirs="$subdirs src/expat"
28049
28050     fi
28051 fi
28052
28053
28054
28055 if test "$wxUSE_LIBMSPACK" != "no"; then
28056     { echo "$as_me:$LINENO: checking for mspack.h" >&5
28057 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
28058 if test "${ac_cv_header_mspack_h+set}" = set; then
28059   echo $ECHO_N "(cached) $ECHO_C" >&6
28060 else
28061   cat >conftest.$ac_ext <<_ACEOF
28062 /* confdefs.h.  */
28063 _ACEOF
28064 cat confdefs.h >>conftest.$ac_ext
28065 cat >>conftest.$ac_ext <<_ACEOF
28066 /* end confdefs.h.  */
28067
28068
28069 #include <mspack.h>
28070 _ACEOF
28071 rm -f conftest.$ac_objext
28072 if { (ac_try="$ac_compile"
28073 case "(($ac_try" in
28074   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28075   *) ac_try_echo=$ac_try;;
28076 esac
28077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28078   (eval "$ac_compile") 2>conftest.er1
28079   ac_status=$?
28080   grep -v '^ *+' conftest.er1 >conftest.err
28081   rm -f conftest.er1
28082   cat conftest.err >&5
28083   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28084   (exit $ac_status); } && {
28085          test -z "$ac_c_werror_flag" ||
28086          test ! -s conftest.err
28087        } && test -s conftest.$ac_objext; then
28088   ac_cv_header_mspack_h=yes
28089 else
28090   echo "$as_me: failed program was:" >&5
28091 sed 's/^/| /' conftest.$ac_ext >&5
28092
28093         ac_cv_header_mspack_h=no
28094 fi
28095
28096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28097 fi
28098 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
28099 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
28100 if test $ac_cv_header_mspack_h = yes; then
28101   found_mspack_h=1
28102 fi
28103
28104
28105     if test "x$found_mspack_h" = "x1"; then
28106         { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
28107 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
28108 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
28109   echo $ECHO_N "(cached) $ECHO_C" >&6
28110 else
28111   ac_check_lib_save_LIBS=$LIBS
28112 LIBS="-lmspack  $LIBS"
28113 cat >conftest.$ac_ext <<_ACEOF
28114 /* confdefs.h.  */
28115 _ACEOF
28116 cat confdefs.h >>conftest.$ac_ext
28117 cat >>conftest.$ac_ext <<_ACEOF
28118 /* end confdefs.h.  */
28119
28120 /* Override any GCC internal prototype to avoid an error.
28121    Use char because int might match the return type of a GCC
28122    builtin and then its argument prototype would still apply.  */
28123 #ifdef __cplusplus
28124 extern "C"
28125 #endif
28126 char mspack_create_chm_decompressor ();
28127 int
28128 main ()
28129 {
28130 return mspack_create_chm_decompressor ();
28131   ;
28132   return 0;
28133 }
28134 _ACEOF
28135 rm -f conftest.$ac_objext conftest$ac_exeext
28136 if { (ac_try="$ac_link"
28137 case "(($ac_try" in
28138   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28139   *) ac_try_echo=$ac_try;;
28140 esac
28141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28142   (eval "$ac_link") 2>conftest.er1
28143   ac_status=$?
28144   grep -v '^ *+' conftest.er1 >conftest.err
28145   rm -f conftest.er1
28146   cat conftest.err >&5
28147   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28148   (exit $ac_status); } && {
28149          test -z "$ac_c_werror_flag" ||
28150          test ! -s conftest.err
28151        } && test -s conftest$ac_exeext &&
28152        $as_test_x conftest$ac_exeext; then
28153   ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
28154 else
28155   echo "$as_me: failed program was:" >&5
28156 sed 's/^/| /' conftest.$ac_ext >&5
28157
28158         ac_cv_lib_mspack_mspack_create_chm_decompressor=no
28159 fi
28160
28161 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28162       conftest$ac_exeext conftest.$ac_ext
28163 LIBS=$ac_check_lib_save_LIBS
28164 fi
28165 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
28166 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
28167 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
28168   MSPACK_LINK=" -lmspack"
28169 fi
28170
28171     fi
28172     if test "x$MSPACK_LINK" = "x" ; then
28173         wxUSE_LIBMSPACK=no
28174     fi
28175 fi
28176
28177 if test "$wxUSE_LIBMSPACK" != "no"; then
28178     cat >>confdefs.h <<\_ACEOF
28179 #define wxUSE_LIBMSPACK 1
28180 _ACEOF
28181
28182 fi
28183
28184
28185
28186 AFMINSTALL=
28187 WIN32INSTALL=
28188
28189 TOOLKIT=
28190 TOOLKIT_INCLUDE=
28191 WIDGET_SET=
28192
28193 if test "$USE_WIN32" = 1 ; then
28194
28195 for ac_header in w32api.h
28196 do
28197 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28198 { echo "$as_me:$LINENO: checking for $ac_header" >&5
28199 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
28200 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28201   echo $ECHO_N "(cached) $ECHO_C" >&6
28202 else
28203   cat >conftest.$ac_ext <<_ACEOF
28204 /* confdefs.h.  */
28205 _ACEOF
28206 cat confdefs.h >>conftest.$ac_ext
28207 cat >>conftest.$ac_ext <<_ACEOF
28208 /* end confdefs.h.  */
28209
28210
28211 #include <$ac_header>
28212 _ACEOF
28213 rm -f conftest.$ac_objext
28214 if { (ac_try="$ac_compile"
28215 case "(($ac_try" in
28216   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28217   *) ac_try_echo=$ac_try;;
28218 esac
28219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28220   (eval "$ac_compile") 2>conftest.er1
28221   ac_status=$?
28222   grep -v '^ *+' conftest.er1 >conftest.err
28223   rm -f conftest.er1
28224   cat conftest.err >&5
28225   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28226   (exit $ac_status); } && {
28227          test -z "$ac_c_werror_flag" ||
28228          test ! -s conftest.err
28229        } && test -s conftest.$ac_objext; then
28230   eval "$as_ac_Header=yes"
28231 else
28232   echo "$as_me: failed program was:" >&5
28233 sed 's/^/| /' conftest.$ac_ext >&5
28234
28235         eval "$as_ac_Header=no"
28236 fi
28237
28238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28239 fi
28240 ac_res=`eval echo '${'$as_ac_Header'}'`
28241                { echo "$as_me:$LINENO: result: $ac_res" >&5
28242 echo "${ECHO_T}$ac_res" >&6; }
28243 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28244   cat >>confdefs.h <<_ACEOF
28245 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28246 _ACEOF
28247
28248 fi
28249
28250 done
28251
28252     { echo "$as_me:$LINENO: checking for windows.h" >&5
28253 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
28254 if test "${ac_cv_header_windows_h+set}" = set; then
28255   echo $ECHO_N "(cached) $ECHO_C" >&6
28256 else
28257   cat >conftest.$ac_ext <<_ACEOF
28258 /* confdefs.h.  */
28259 _ACEOF
28260 cat confdefs.h >>conftest.$ac_ext
28261 cat >>conftest.$ac_ext <<_ACEOF
28262 /* end confdefs.h.  */
28263
28264
28265 #include <windows.h>
28266 _ACEOF
28267 rm -f conftest.$ac_objext
28268 if { (ac_try="$ac_compile"
28269 case "(($ac_try" in
28270   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28271   *) ac_try_echo=$ac_try;;
28272 esac
28273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28274   (eval "$ac_compile") 2>conftest.er1
28275   ac_status=$?
28276   grep -v '^ *+' conftest.er1 >conftest.err
28277   rm -f conftest.er1
28278   cat conftest.err >&5
28279   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28280   (exit $ac_status); } && {
28281          test -z "$ac_c_werror_flag" ||
28282          test ! -s conftest.err
28283        } && test -s conftest.$ac_objext; then
28284   ac_cv_header_windows_h=yes
28285 else
28286   echo "$as_me: failed program was:" >&5
28287 sed 's/^/| /' conftest.$ac_ext >&5
28288
28289         ac_cv_header_windows_h=no
28290 fi
28291
28292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28293 fi
28294 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
28295 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
28296 if test $ac_cv_header_windows_h = yes; then
28297   :
28298 else
28299
28300         { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
28301 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
28302    { (exit 1); exit 1; }; }
28303
28304 fi
28305
28306
28307
28308             case "${host}" in
28309         x86_64-*-mingw32* )
28310                         LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lwctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28311         ;;
28312         * )
28313             LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28314         ;;
28315     esac
28316     if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
28317         LIBS="$LIBS -loleacc"
28318     fi
28319
28320     case "${host}" in
28321         *-*-cygwin* )
28322                         LIBS="$LIBS -lkernel32 -luser32"
28323     esac
28324
28325         RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
28326     RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
28327
28328                 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
28329
28330         WIN32INSTALL=win32install
28331
28332         { echo "$as_me:$LINENO: checking for pbt.h" >&5
28333 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
28334 if test "${ac_cv_header_pbt_h+set}" = set; then
28335   echo $ECHO_N "(cached) $ECHO_C" >&6
28336 else
28337   cat >conftest.$ac_ext <<_ACEOF
28338 /* confdefs.h.  */
28339 _ACEOF
28340 cat confdefs.h >>conftest.$ac_ext
28341 cat >>conftest.$ac_ext <<_ACEOF
28342 /* end confdefs.h.  */
28343
28344
28345 #include <pbt.h>
28346 _ACEOF
28347 rm -f conftest.$ac_objext
28348 if { (ac_try="$ac_compile"
28349 case "(($ac_try" in
28350   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28351   *) ac_try_echo=$ac_try;;
28352 esac
28353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28354   (eval "$ac_compile") 2>conftest.er1
28355   ac_status=$?
28356   grep -v '^ *+' conftest.er1 >conftest.err
28357   rm -f conftest.er1
28358   cat conftest.err >&5
28359   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28360   (exit $ac_status); } && {
28361          test -z "$ac_c_werror_flag" ||
28362          test ! -s conftest.err
28363        } && test -s conftest.$ac_objext; then
28364   ac_cv_header_pbt_h=yes
28365 else
28366   echo "$as_me: failed program was:" >&5
28367 sed 's/^/| /' conftest.$ac_ext >&5
28368
28369         ac_cv_header_pbt_h=no
28370 fi
28371
28372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28373 fi
28374 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
28375 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
28376 if test $ac_cv_header_pbt_h = yes; then
28377   :
28378 else
28379   cat >>confdefs.h <<\_ACEOF
28380 #define NEED_PBT_H 1
28381 _ACEOF
28382
28383 fi
28384
28385
28386 fi
28387
28388 if test "$wxUSE_GUI" = "yes"; then
28389     USE_GUI=1
28390
28391     GUI_TK_LIBRARY=
28392
28393     WXGTK12=
28394     WXGTK127=
28395     WXGTK2=
28396     WXGPE=
28397
28398     if test "$wxUSE_COCOA" = 1 ; then
28399         if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
28400             { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
28401 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
28402             wxUSE_PRINTING_ARCHITECTURE=no
28403         fi
28404         if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
28405             { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
28406 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
28407             wxUSE_DRAG_AND_DROP=no
28408         fi
28409         if test "$wxUSE_DRAGIMAGE" = "yes"; then
28410             { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
28411 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
28412             wxUSE_DRAGIMAGE=no
28413         fi
28414     fi
28415
28416     if test "$wxUSE_MSW" = 1 ; then
28417         TOOLKIT=MSW
28418         GUIDIST=MSW_DIST
28419
28420                 case "${host}" in
28421             *-*-mingw32* )
28422                 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
28423         esac
28424     fi
28425
28426     if test "$wxUSE_GTK" = 1; then
28427                 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
28428 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
28429
28430         gtk_version_cached=1
28431         if test "${wx_cv_lib_gtk+set}" = set; then
28432   echo $ECHO_N "(cached) $ECHO_C" >&6
28433 else
28434
28435                                                 gtk_version_cached=0
28436                 { echo "$as_me:$LINENO: result: " >&5
28437 echo "${ECHO_T}" >&6; }
28438
28439                                                 GTK_MODULES=
28440                 if test "$wxUSE_THREADS" = "yes"; then
28441                     GTK_MODULES=gthread
28442                 fi
28443
28444                                 wx_cv_lib_gtk=
28445                 if test "x$wxGTK_VERSION" != "x1"
28446                 then
28447                                                                                 case "${host}" in
28448                         *-*-solaris2* )
28449                             if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
28450                                 enable_gtktest=no
28451                             fi
28452                     esac
28453
28454                     # Check whether --enable-gtktest was given.
28455 if test "${enable_gtktest+set}" = set; then
28456   enableval=$enable_gtktest;
28457 else
28458   enable_gtktest=yes
28459 fi
28460
28461
28462   pkg_config_args=gtk+-2.0
28463   for module in . $GTK_MODULES
28464   do
28465       case "$module" in
28466          gthread)
28467              pkg_config_args="$pkg_config_args gthread-2.0"
28468          ;;
28469       esac
28470   done
28471
28472   no_gtk=""
28473
28474   # Extract the first word of "pkg-config", so it can be a program name with args.
28475 set dummy pkg-config; ac_word=$2
28476 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28477 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28478 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28479   echo $ECHO_N "(cached) $ECHO_C" >&6
28480 else
28481   case $PKG_CONFIG in
28482   [\\/]* | ?:[\\/]*)
28483   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28484   ;;
28485   *)
28486   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28487 for as_dir in $PATH
28488 do
28489   IFS=$as_save_IFS
28490   test -z "$as_dir" && as_dir=.
28491   for ac_exec_ext in '' $ac_executable_extensions; do
28492   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28493     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28494     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28495     break 2
28496   fi
28497 done
28498 done
28499 IFS=$as_save_IFS
28500
28501   test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
28502   ;;
28503 esac
28504 fi
28505 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28506 if test -n "$PKG_CONFIG"; then
28507   { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
28508 echo "${ECHO_T}$PKG_CONFIG" >&6; }
28509 else
28510   { echo "$as_me:$LINENO: result: no" >&5
28511 echo "${ECHO_T}no" >&6; }
28512 fi
28513
28514
28515
28516   if test x$PKG_CONFIG != xno ; then
28517     if pkg-config --atleast-pkgconfig-version 0.7 ; then
28518       :
28519     else
28520       echo "*** pkg-config too old; version 0.7 or better required."
28521       no_gtk=yes
28522       PKG_CONFIG=no
28523     fi
28524   else
28525     no_gtk=yes
28526   fi
28527
28528   min_gtk_version=2.4.0
28529   { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
28530 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
28531
28532   if test x$PKG_CONFIG != xno ; then
28533     ## don't try to run the test against uninstalled libtool libs
28534     if $PKG_CONFIG --uninstalled $pkg_config_args; then
28535           echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
28536           enable_gtktest=no
28537     fi
28538
28539     if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
28540           :
28541     else
28542           no_gtk=yes
28543     fi
28544   fi
28545
28546   if test x"$no_gtk" = x ; then
28547     GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
28548     GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
28549     gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28550            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28551     gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28552            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28553     gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28554            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28555     if test "x$enable_gtktest" = "xyes" ; then
28556       ac_save_CFLAGS="$CFLAGS"
28557       ac_save_LIBS="$LIBS"
28558       CFLAGS="$CFLAGS $GTK_CFLAGS"
28559       LIBS="$GTK_LIBS $LIBS"
28560       rm -f conf.gtktest
28561       if test "$cross_compiling" = yes; then
28562   echo $ac_n "cross compiling; assumed OK... $ac_c"
28563 else
28564   cat >conftest.$ac_ext <<_ACEOF
28565 /* confdefs.h.  */
28566 _ACEOF
28567 cat confdefs.h >>conftest.$ac_ext
28568 cat >>conftest.$ac_ext <<_ACEOF
28569 /* end confdefs.h.  */
28570
28571 #include <gtk/gtk.h>
28572 #include <stdio.h>
28573 #include <stdlib.h>
28574
28575 int
28576 main ()
28577 {
28578   int major, minor, micro;
28579   char *tmp_version;
28580
28581   system ("touch conf.gtktest");
28582
28583   /* HP/UX 9 (%@#!) writes to sscanf strings */
28584   tmp_version = g_strdup("$min_gtk_version");
28585   if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28586      printf("%s, bad version string\n", "$min_gtk_version");
28587      exit(1);
28588    }
28589
28590   if ((gtk_major_version != $gtk_config_major_version) ||
28591       (gtk_minor_version != $gtk_config_minor_version) ||
28592       (gtk_micro_version != $gtk_config_micro_version))
28593     {
28594       printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28595              $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28596              gtk_major_version, gtk_minor_version, gtk_micro_version);
28597       printf ("*** was found! If pkg-config was correct, then it is best\n");
28598       printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28599       printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28600       printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28601       printf("*** required on your system.\n");
28602       printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
28603       printf("*** to point to the correct configuration files\n");
28604     }
28605   else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28606            (gtk_minor_version != GTK_MINOR_VERSION) ||
28607            (gtk_micro_version != GTK_MICRO_VERSION))
28608     {
28609       printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28610              GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28611       printf("*** library (version %d.%d.%d)\n",
28612              gtk_major_version, gtk_minor_version, gtk_micro_version);
28613     }
28614   else
28615     {
28616       if ((gtk_major_version > major) ||
28617         ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28618         ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28619       {
28620         return 0;
28621        }
28622      else
28623       {
28624         printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28625                gtk_major_version, gtk_minor_version, gtk_micro_version);
28626         printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28627                major, minor, micro);
28628         printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28629         printf("***\n");
28630         printf("*** If you have already installed a sufficiently new version, this error\n");
28631         printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
28632         printf("*** being found. The easiest way to fix this is to remove the old version\n");
28633         printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
28634         printf("*** correct copy of pkg-config. (In this case, you will have to\n");
28635         printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28636         printf("*** so that the correct libraries are found at run-time))\n");
28637       }
28638     }
28639   return 1;
28640 }
28641
28642 _ACEOF
28643 rm -f conftest$ac_exeext
28644 if { (ac_try="$ac_link"
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_link") 2>&5
28651   ac_status=$?
28652   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28653   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28654   { (case "(($ac_try" in
28655   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28656   *) ac_try_echo=$ac_try;;
28657 esac
28658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28659   (eval "$ac_try") 2>&5
28660   ac_status=$?
28661   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28662   (exit $ac_status); }; }; then
28663   :
28664 else
28665   echo "$as_me: program exited with status $ac_status" >&5
28666 echo "$as_me: failed program was:" >&5
28667 sed 's/^/| /' conftest.$ac_ext >&5
28668
28669 ( exit $ac_status )
28670 no_gtk=yes
28671 fi
28672 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28673 fi
28674
28675
28676        CFLAGS="$ac_save_CFLAGS"
28677        LIBS="$ac_save_LIBS"
28678      fi
28679   fi
28680   if test "x$no_gtk" = x ; then
28681      { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
28682 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
28683      wx_cv_lib_gtk=2.0
28684   else
28685      { echo "$as_me:$LINENO: result: no" >&5
28686 echo "${ECHO_T}no" >&6; }
28687      if test "$PKG_CONFIG" = "no" ; then
28688        echo "*** A new enough version of pkg-config was not found."
28689        echo "*** See http://pkgconfig.sourceforge.net"
28690      else
28691        if test -f conf.gtktest ; then
28692         :
28693        else
28694           echo "*** Could not run GTK+ test program, checking why..."
28695           ac_save_CFLAGS="$CFLAGS"
28696           ac_save_LIBS="$LIBS"
28697           CFLAGS="$CFLAGS $GTK_CFLAGS"
28698           LIBS="$LIBS $GTK_LIBS"
28699           cat >conftest.$ac_ext <<_ACEOF
28700 /* confdefs.h.  */
28701 _ACEOF
28702 cat confdefs.h >>conftest.$ac_ext
28703 cat >>conftest.$ac_ext <<_ACEOF
28704 /* end confdefs.h.  */
28705
28706 #include <gtk/gtk.h>
28707 #include <stdio.h>
28708
28709 int
28710 main ()
28711 {
28712  return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28713   ;
28714   return 0;
28715 }
28716 _ACEOF
28717 rm -f conftest.$ac_objext conftest$ac_exeext
28718 if { (ac_try="$ac_link"
28719 case "(($ac_try" in
28720   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28721   *) ac_try_echo=$ac_try;;
28722 esac
28723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28724   (eval "$ac_link") 2>conftest.er1
28725   ac_status=$?
28726   grep -v '^ *+' conftest.er1 >conftest.err
28727   rm -f conftest.er1
28728   cat conftest.err >&5
28729   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28730   (exit $ac_status); } && {
28731          test -z "$ac_c_werror_flag" ||
28732          test ! -s conftest.err
28733        } && test -s conftest$ac_exeext &&
28734        $as_test_x conftest$ac_exeext; then
28735    echo "*** The test program compiled, but did not run. This usually means"
28736           echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
28737           echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
28738           echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28739           echo "*** to the installed location  Also, make sure you have run ldconfig if that"
28740           echo "*** is required on your system"
28741           echo "***"
28742           echo "*** If you have an old version installed, it is best to remove it, although"
28743           echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28744 else
28745   echo "$as_me: failed program was:" >&5
28746 sed 's/^/| /' conftest.$ac_ext >&5
28747
28748          echo "*** The test program failed to compile or link. See the file config.log for the"
28749           echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
28750 fi
28751
28752 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28753       conftest$ac_exeext conftest.$ac_ext
28754           CFLAGS="$ac_save_CFLAGS"
28755           LIBS="$ac_save_LIBS"
28756        fi
28757      fi
28758      GTK_CFLAGS=""
28759      GTK_LIBS=""
28760      :
28761   fi
28762
28763
28764   rm -f conf.gtktest
28765
28766
28767                                         case "${host}" in
28768                         *-*-solaris2* )
28769                             if test "$wxUSE_SHARED" != "yes"; then
28770                                 GTK_LIBS="$GTK_LIBS -lX11"
28771                             fi
28772                     esac
28773                 fi
28774
28775                                 if test -z "$wx_cv_lib_gtk"; then
28776                     if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
28777
28778 # Check whether --with-gtk-prefix was given.
28779 if test "${with_gtk_prefix+set}" = set; then
28780   withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28781 else
28782   gtk_config_prefix=""
28783 fi
28784
28785
28786 # Check whether --with-gtk-exec-prefix was given.
28787 if test "${with_gtk_exec_prefix+set}" = set; then
28788   withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28789 else
28790   gtk_config_exec_prefix=""
28791 fi
28792
28793 # Check whether --enable-gtktest was given.
28794 if test "${enable_gtktest+set}" = set; then
28795   enableval=$enable_gtktest;
28796 else
28797   enable_gtktest=yes
28798 fi
28799
28800
28801   for module in . $GTK_MODULES
28802   do
28803       case "$module" in
28804          gthread)
28805              gtk_config_args="$gtk_config_args gthread"
28806          ;;
28807       esac
28808   done
28809
28810   if test x$gtk_config_exec_prefix != x ; then
28811      gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28812      if test x${GTK_CONFIG+set} != xset ; then
28813         GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28814      fi
28815   fi
28816   if test x$gtk_config_prefix != x ; then
28817      gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28818      if test x${GTK_CONFIG+set} != xset ; then
28819         GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28820      fi
28821   fi
28822
28823   # Extract the first word of "gtk-config", so it can be a program name with args.
28824 set dummy gtk-config; ac_word=$2
28825 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28826 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28827 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28828   echo $ECHO_N "(cached) $ECHO_C" >&6
28829 else
28830   case $GTK_CONFIG in
28831   [\\/]* | ?:[\\/]*)
28832   ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28833   ;;
28834   *)
28835   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28836 for as_dir in $PATH
28837 do
28838   IFS=$as_save_IFS
28839   test -z "$as_dir" && as_dir=.
28840   for ac_exec_ext in '' $ac_executable_extensions; do
28841   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28842     ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28843     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28844     break 2
28845   fi
28846 done
28847 done
28848 IFS=$as_save_IFS
28849
28850   test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28851   ;;
28852 esac
28853 fi
28854 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28855 if test -n "$GTK_CONFIG"; then
28856   { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28857 echo "${ECHO_T}$GTK_CONFIG" >&6; }
28858 else
28859   { echo "$as_me:$LINENO: result: no" >&5
28860 echo "${ECHO_T}no" >&6; }
28861 fi
28862
28863
28864   min_gtk_version=1.2.7
28865   { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28866 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
28867   no_gtk=""
28868   if test "$GTK_CONFIG" = "no" ; then
28869     no_gtk=yes
28870   else
28871     GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28872     GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28873     gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28874            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28875     gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28876            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28877     gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28878            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28879     if test "x$enable_gtktest" = "xyes" ; then
28880       ac_save_CFLAGS="$CFLAGS"
28881       ac_save_LIBS="$LIBS"
28882       CFLAGS="$CFLAGS $GTK_CFLAGS"
28883       LIBS="$GTK_LIBS $LIBS"
28884       rm -f conf.gtktest
28885       if test "$cross_compiling" = yes; then
28886   echo $ac_n "cross compiling; assumed OK... $ac_c"
28887 else
28888   cat >conftest.$ac_ext <<_ACEOF
28889 /* confdefs.h.  */
28890 _ACEOF
28891 cat confdefs.h >>conftest.$ac_ext
28892 cat >>conftest.$ac_ext <<_ACEOF
28893 /* end confdefs.h.  */
28894
28895 #include <gtk/gtk.h>
28896 #include <stdio.h>
28897 #include <stdlib.h>
28898
28899 int
28900 main ()
28901 {
28902   int major, minor, micro;
28903   char *tmp_version;
28904
28905   system ("touch conf.gtktest");
28906
28907   /* HP/UX 9 (%@#!) writes to sscanf strings */
28908   tmp_version = g_strdup("$min_gtk_version");
28909   if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28910      printf("%s, bad version string\n", "$min_gtk_version");
28911      exit(1);
28912    }
28913
28914   if ((gtk_major_version != $gtk_config_major_version) ||
28915       (gtk_minor_version != $gtk_config_minor_version) ||
28916       (gtk_micro_version != $gtk_config_micro_version))
28917     {
28918       printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28919              $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28920              gtk_major_version, gtk_minor_version, gtk_micro_version);
28921       printf ("*** was found! If gtk-config was correct, then it is best\n");
28922       printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28923       printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28924       printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28925       printf("*** required on your system.\n");
28926       printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28927       printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28928       printf("*** before re-running configure\n");
28929     }
28930 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28931   else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28932            (gtk_minor_version != GTK_MINOR_VERSION) ||
28933            (gtk_micro_version != GTK_MICRO_VERSION))
28934     {
28935       printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28936              GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28937       printf("*** library (version %d.%d.%d)\n",
28938              gtk_major_version, gtk_minor_version, gtk_micro_version);
28939     }
28940 #endif /* defined (GTK_MAJOR_VERSION) ... */
28941   else
28942     {
28943       if ((gtk_major_version > major) ||
28944         ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28945         ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28946       {
28947         return 0;
28948        }
28949      else
28950       {
28951         printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28952                gtk_major_version, gtk_minor_version, gtk_micro_version);
28953         printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28954                major, minor, micro);
28955         printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28956         printf("***\n");
28957         printf("*** If you have already installed a sufficiently new version, this error\n");
28958         printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28959         printf("*** being found. The easiest way to fix this is to remove the old version\n");
28960         printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28961         printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28962         printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28963         printf("*** so that the correct libraries are found at run-time))\n");
28964       }
28965     }
28966   return 1;
28967 }
28968
28969 _ACEOF
28970 rm -f conftest$ac_exeext
28971 if { (ac_try="$ac_link"
28972 case "(($ac_try" in
28973   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28974   *) ac_try_echo=$ac_try;;
28975 esac
28976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28977   (eval "$ac_link") 2>&5
28978   ac_status=$?
28979   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28980   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28981   { (case "(($ac_try" in
28982   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28983   *) ac_try_echo=$ac_try;;
28984 esac
28985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28986   (eval "$ac_try") 2>&5
28987   ac_status=$?
28988   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28989   (exit $ac_status); }; }; then
28990   :
28991 else
28992   echo "$as_me: program exited with status $ac_status" >&5
28993 echo "$as_me: failed program was:" >&5
28994 sed 's/^/| /' conftest.$ac_ext >&5
28995
28996 ( exit $ac_status )
28997 no_gtk=yes
28998 fi
28999 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29000 fi
29001
29002
29003        CFLAGS="$ac_save_CFLAGS"
29004        LIBS="$ac_save_LIBS"
29005      fi
29006   fi
29007   if test "x$no_gtk" = x ; then
29008      { echo "$as_me:$LINENO: result: yes" >&5
29009 echo "${ECHO_T}yes" >&6; }
29010      wx_cv_lib_gtk=1.2.7
29011   else
29012      { echo "$as_me:$LINENO: result: no" >&5
29013 echo "${ECHO_T}no" >&6; }
29014      if test "$GTK_CONFIG" = "no" ; then
29015        echo "*** The gtk-config script installed by GTK could not be found"
29016        echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
29017        echo "*** your path, or set the GTK_CONFIG environment variable to the"
29018        echo "*** full path to gtk-config."
29019      else
29020        if test -f conf.gtktest ; then
29021         :
29022        else
29023           echo "*** Could not run GTK test program, checking why..."
29024           CFLAGS="$CFLAGS $GTK_CFLAGS"
29025           LIBS="$LIBS $GTK_LIBS"
29026           cat >conftest.$ac_ext <<_ACEOF
29027 /* confdefs.h.  */
29028 _ACEOF
29029 cat confdefs.h >>conftest.$ac_ext
29030 cat >>conftest.$ac_ext <<_ACEOF
29031 /* end confdefs.h.  */
29032
29033 #include <gtk/gtk.h>
29034 #include <stdio.h>
29035
29036 int
29037 main ()
29038 {
29039  return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29040   ;
29041   return 0;
29042 }
29043 _ACEOF
29044 rm -f conftest.$ac_objext conftest$ac_exeext
29045 if { (ac_try="$ac_link"
29046 case "(($ac_try" in
29047   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29048   *) ac_try_echo=$ac_try;;
29049 esac
29050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29051   (eval "$ac_link") 2>conftest.er1
29052   ac_status=$?
29053   grep -v '^ *+' conftest.er1 >conftest.err
29054   rm -f conftest.er1
29055   cat conftest.err >&5
29056   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29057   (exit $ac_status); } && {
29058          test -z "$ac_c_werror_flag" ||
29059          test ! -s conftest.err
29060        } && test -s conftest$ac_exeext &&
29061        $as_test_x conftest$ac_exeext; then
29062    echo "*** The test program compiled, but did not run. This usually means"
29063           echo "*** that the run-time linker is not finding GTK or finding the wrong"
29064           echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
29065           echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29066           echo "*** to the installed location  Also, make sure you have run ldconfig if that"
29067           echo "*** is required on your system"
29068           echo "***"
29069           echo "*** If you have an old version installed, it is best to remove it, although"
29070           echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29071           echo "***"
29072           echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
29073           echo "*** came with the system with the command"
29074           echo "***"
29075           echo "***    rpm --erase --nodeps gtk gtk-devel"
29076 else
29077   echo "$as_me: failed program was:" >&5
29078 sed 's/^/| /' conftest.$ac_ext >&5
29079
29080          echo "*** The test program failed to compile or link. See the file config.log for the"
29081           echo "*** exact error that occured. This usually means GTK was incorrectly installed"
29082           echo "*** or that you have moved GTK since it was installed. In the latter case, you"
29083           echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
29084 fi
29085
29086 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29087       conftest$ac_exeext conftest.$ac_ext
29088           CFLAGS="$ac_save_CFLAGS"
29089           LIBS="$ac_save_LIBS"
29090        fi
29091      fi
29092      GTK_CFLAGS=""
29093      GTK_LIBS=""
29094      :
29095   fi
29096
29097
29098   rm -f conf.gtktest
29099
29100
29101                         if test -z "$wx_cv_lib_gtk"; then
29102
29103 # Check whether --with-gtk-prefix was given.
29104 if test "${with_gtk_prefix+set}" = set; then
29105   withval=$with_gtk_prefix; gtk_config_prefix="$withval"
29106 else
29107   gtk_config_prefix=""
29108 fi
29109
29110
29111 # Check whether --with-gtk-exec-prefix was given.
29112 if test "${with_gtk_exec_prefix+set}" = set; then
29113   withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
29114 else
29115   gtk_config_exec_prefix=""
29116 fi
29117
29118 # Check whether --enable-gtktest was given.
29119 if test "${enable_gtktest+set}" = set; then
29120   enableval=$enable_gtktest;
29121 else
29122   enable_gtktest=yes
29123 fi
29124
29125
29126   for module in . $GTK_MODULES
29127   do
29128       case "$module" in
29129          gthread)
29130              gtk_config_args="$gtk_config_args gthread"
29131          ;;
29132       esac
29133   done
29134
29135   if test x$gtk_config_exec_prefix != x ; then
29136      gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
29137      if test x${GTK_CONFIG+set} != xset ; then
29138         GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
29139      fi
29140   fi
29141   if test x$gtk_config_prefix != x ; then
29142      gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
29143      if test x${GTK_CONFIG+set} != xset ; then
29144         GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
29145      fi
29146   fi
29147
29148   # Extract the first word of "gtk-config", so it can be a program name with args.
29149 set dummy gtk-config; ac_word=$2
29150 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29151 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29152 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
29153   echo $ECHO_N "(cached) $ECHO_C" >&6
29154 else
29155   case $GTK_CONFIG in
29156   [\\/]* | ?:[\\/]*)
29157   ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
29158   ;;
29159   *)
29160   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29161 for as_dir in $PATH
29162 do
29163   IFS=$as_save_IFS
29164   test -z "$as_dir" && as_dir=.
29165   for ac_exec_ext in '' $ac_executable_extensions; do
29166   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29167     ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29168     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29169     break 2
29170   fi
29171 done
29172 done
29173 IFS=$as_save_IFS
29174
29175   test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
29176   ;;
29177 esac
29178 fi
29179 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
29180 if test -n "$GTK_CONFIG"; then
29181   { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
29182 echo "${ECHO_T}$GTK_CONFIG" >&6; }
29183 else
29184   { echo "$as_me:$LINENO: result: no" >&5
29185 echo "${ECHO_T}no" >&6; }
29186 fi
29187
29188
29189   min_gtk_version=1.2.3
29190   { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
29191 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
29192   no_gtk=""
29193   if test "$GTK_CONFIG" = "no" ; then
29194     no_gtk=yes
29195   else
29196     GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
29197     GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
29198     gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
29199            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
29200     gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
29201            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
29202     gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
29203            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
29204     if test "x$enable_gtktest" = "xyes" ; then
29205       ac_save_CFLAGS="$CFLAGS"
29206       ac_save_LIBS="$LIBS"
29207       CFLAGS="$CFLAGS $GTK_CFLAGS"
29208       LIBS="$GTK_LIBS $LIBS"
29209       rm -f conf.gtktest
29210       if test "$cross_compiling" = yes; then
29211   echo $ac_n "cross compiling; assumed OK... $ac_c"
29212 else
29213   cat >conftest.$ac_ext <<_ACEOF
29214 /* confdefs.h.  */
29215 _ACEOF
29216 cat confdefs.h >>conftest.$ac_ext
29217 cat >>conftest.$ac_ext <<_ACEOF
29218 /* end confdefs.h.  */
29219
29220 #include <gtk/gtk.h>
29221 #include <stdio.h>
29222 #include <stdlib.h>
29223
29224 int
29225 main ()
29226 {
29227   int major, minor, micro;
29228   char *tmp_version;
29229
29230   system ("touch conf.gtktest");
29231
29232   /* HP/UX 9 (%@#!) writes to sscanf strings */
29233   tmp_version = g_strdup("$min_gtk_version");
29234   if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
29235      printf("%s, bad version string\n", "$min_gtk_version");
29236      exit(1);
29237    }
29238
29239   if ((gtk_major_version != $gtk_config_major_version) ||
29240       (gtk_minor_version != $gtk_config_minor_version) ||
29241       (gtk_micro_version != $gtk_config_micro_version))
29242     {
29243       printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
29244              $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29245              gtk_major_version, gtk_minor_version, gtk_micro_version);
29246       printf ("*** was found! If gtk-config was correct, then it is best\n");
29247       printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
29248       printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
29249       printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
29250       printf("*** required on your system.\n");
29251       printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
29252       printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
29253       printf("*** before re-running configure\n");
29254     }
29255 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
29256   else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29257            (gtk_minor_version != GTK_MINOR_VERSION) ||
29258            (gtk_micro_version != GTK_MICRO_VERSION))
29259     {
29260       printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
29261              GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29262       printf("*** library (version %d.%d.%d)\n",
29263              gtk_major_version, gtk_minor_version, gtk_micro_version);
29264     }
29265 #endif /* defined (GTK_MAJOR_VERSION) ... */
29266   else
29267     {
29268       if ((gtk_major_version > major) ||
29269         ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29270         ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29271       {
29272         return 0;
29273        }
29274      else
29275       {
29276         printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
29277                gtk_major_version, gtk_minor_version, gtk_micro_version);
29278         printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
29279                major, minor, micro);
29280         printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
29281         printf("***\n");
29282         printf("*** If you have already installed a sufficiently new version, this error\n");
29283         printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
29284         printf("*** being found. The easiest way to fix this is to remove the old version\n");
29285         printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
29286         printf("*** correct copy of gtk-config. (In this case, you will have to\n");
29287         printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
29288         printf("*** so that the correct libraries are found at run-time))\n");
29289       }
29290     }
29291   return 1;
29292 }
29293
29294 _ACEOF
29295 rm -f conftest$ac_exeext
29296 if { (ac_try="$ac_link"
29297 case "(($ac_try" in
29298   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29299   *) ac_try_echo=$ac_try;;
29300 esac
29301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29302   (eval "$ac_link") 2>&5
29303   ac_status=$?
29304   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29305   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29306   { (case "(($ac_try" in
29307   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29308   *) ac_try_echo=$ac_try;;
29309 esac
29310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29311   (eval "$ac_try") 2>&5
29312   ac_status=$?
29313   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29314   (exit $ac_status); }; }; then
29315   :
29316 else
29317   echo "$as_me: program exited with status $ac_status" >&5
29318 echo "$as_me: failed program was:" >&5
29319 sed 's/^/| /' conftest.$ac_ext >&5
29320
29321 ( exit $ac_status )
29322 no_gtk=yes
29323 fi
29324 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29325 fi
29326
29327
29328        CFLAGS="$ac_save_CFLAGS"
29329        LIBS="$ac_save_LIBS"
29330      fi
29331   fi
29332   if test "x$no_gtk" = x ; then
29333      { echo "$as_me:$LINENO: result: yes" >&5
29334 echo "${ECHO_T}yes" >&6; }
29335      wx_cv_lib_gtk=1.2.3
29336   else
29337      { echo "$as_me:$LINENO: result: no" >&5
29338 echo "${ECHO_T}no" >&6; }
29339      if test "$GTK_CONFIG" = "no" ; then
29340        echo "*** The gtk-config script installed by GTK could not be found"
29341        echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
29342        echo "*** your path, or set the GTK_CONFIG environment variable to the"
29343        echo "*** full path to gtk-config."
29344      else
29345        if test -f conf.gtktest ; then
29346         :
29347        else
29348           echo "*** Could not run GTK test program, checking why..."
29349           CFLAGS="$CFLAGS $GTK_CFLAGS"
29350           LIBS="$LIBS $GTK_LIBS"
29351           cat >conftest.$ac_ext <<_ACEOF
29352 /* confdefs.h.  */
29353 _ACEOF
29354 cat confdefs.h >>conftest.$ac_ext
29355 cat >>conftest.$ac_ext <<_ACEOF
29356 /* end confdefs.h.  */
29357
29358 #include <gtk/gtk.h>
29359 #include <stdio.h>
29360
29361 int
29362 main ()
29363 {
29364  return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29365   ;
29366   return 0;
29367 }
29368 _ACEOF
29369 rm -f conftest.$ac_objext conftest$ac_exeext
29370 if { (ac_try="$ac_link"
29371 case "(($ac_try" in
29372   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29373   *) ac_try_echo=$ac_try;;
29374 esac
29375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29376   (eval "$ac_link") 2>conftest.er1
29377   ac_status=$?
29378   grep -v '^ *+' conftest.er1 >conftest.err
29379   rm -f conftest.er1
29380   cat conftest.err >&5
29381   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29382   (exit $ac_status); } && {
29383          test -z "$ac_c_werror_flag" ||
29384          test ! -s conftest.err
29385        } && test -s conftest$ac_exeext &&
29386        $as_test_x conftest$ac_exeext; then
29387    echo "*** The test program compiled, but did not run. This usually means"
29388           echo "*** that the run-time linker is not finding GTK or finding the wrong"
29389           echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
29390           echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29391           echo "*** to the installed location  Also, make sure you have run ldconfig if that"
29392           echo "*** is required on your system"
29393           echo "***"
29394           echo "*** If you have an old version installed, it is best to remove it, although"
29395           echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29396           echo "***"
29397           echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
29398           echo "*** came with the system with the command"
29399           echo "***"
29400           echo "***    rpm --erase --nodeps gtk gtk-devel"
29401 else
29402   echo "$as_me: failed program was:" >&5
29403 sed 's/^/| /' conftest.$ac_ext >&5
29404
29405          echo "*** The test program failed to compile or link. See the file config.log for the"
29406           echo "*** exact error that occured. This usually means GTK was incorrectly installed"
29407           echo "*** or that you have moved GTK since it was installed. In the latter case, you"
29408           echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
29409 fi
29410
29411 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29412       conftest$ac_exeext conftest.$ac_ext
29413           CFLAGS="$ac_save_CFLAGS"
29414           LIBS="$ac_save_LIBS"
29415        fi
29416      fi
29417      GTK_CFLAGS=""
29418      GTK_LIBS=""
29419      :
29420   fi
29421
29422
29423   rm -f conf.gtktest
29424
29425                         fi
29426                     fi
29427                 fi
29428
29429                 if test -z "$wx_cv_lib_gtk"; then
29430                                         wx_cv_lib_gtk=none
29431                 else
29432                                                             wx_cv_cflags_gtk=$GTK_CFLAGS
29433                     wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
29434                 fi
29435
29436
29437 fi
29438
29439
29440                         if test "$gtk_version_cached" = 1; then
29441             { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
29442 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
29443         fi
29444
29445         case "$wx_cv_lib_gtk" in
29446             2.0)    WXGTK2=1
29447                     TOOLKIT_VERSION=2
29448                     ;;
29449             1.2.7)  WXGTK127=1
29450                     WXGTK12=1
29451                     ;;
29452             1.2.3)  WXGTK12=1
29453                     ;;
29454             *)      { { echo "$as_me:$LINENO: error:
29455 The development files for GTK+ were not found. For GTK+ 2, please
29456 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29457 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29458 and that the version is 1.2.3 or above. Also check that the
29459 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
29460 --libs' are in the LD_LIBRARY_PATH or equivalent.
29461                             " >&5
29462 echo "$as_me: error:
29463 The development files for GTK+ were not found. For GTK+ 2, please
29464 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29465 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29466 and that the version is 1.2.3 or above. Also check that the
29467 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
29468 --libs' are in the LD_LIBRARY_PATH or equivalent.
29469                             " >&2;}
29470    { (exit 1); exit 1; }; }
29471                     ;;
29472         esac
29473
29474         if test "$WXGTK2" = 1; then
29475             save_CFLAGS="$CFLAGS"
29476             save_LIBS="$LIBS"
29477             CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
29478             LIBS="$LIBS $wx_cv_libs_gtk"
29479
29480                         { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
29481 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
29482             cat >conftest.$ac_ext <<_ACEOF
29483 /* confdefs.h.  */
29484 _ACEOF
29485 cat confdefs.h >>conftest.$ac_ext
29486 cat >>conftest.$ac_ext <<_ACEOF
29487 /* end confdefs.h.  */
29488
29489                             #include <gtk/gtk.h>
29490
29491 int
29492 main ()
29493 {
29494
29495                             #if !GTK_CHECK_VERSION(2,10,0)
29496                             Not GTK+ 2.10
29497                             #endif
29498
29499   ;
29500   return 0;
29501 }
29502 _ACEOF
29503 rm -f conftest.$ac_objext
29504 if { (ac_try="$ac_compile"
29505 case "(($ac_try" in
29506   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29507   *) ac_try_echo=$ac_try;;
29508 esac
29509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29510   (eval "$ac_compile") 2>conftest.er1
29511   ac_status=$?
29512   grep -v '^ *+' conftest.er1 >conftest.err
29513   rm -f conftest.er1
29514   cat conftest.err >&5
29515   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29516   (exit $ac_status); } && {
29517          test -z "$ac_c_werror_flag" ||
29518          test ! -s conftest.err
29519        } && test -s conftest.$ac_objext; then
29520
29521                             cat >>confdefs.h <<\_ACEOF
29522 #define __WXGTK210__ 1
29523 _ACEOF
29524
29525                             cat >>confdefs.h <<\_ACEOF
29526 #define __WXGTK26__ 1
29527 _ACEOF
29528
29529                             { echo "$as_me:$LINENO: result: yes" >&5
29530 echo "${ECHO_T}yes" >&6; }
29531                             ac_wxgtk210=1
29532
29533 else
29534   echo "$as_me: failed program was:" >&5
29535 sed 's/^/| /' conftest.$ac_ext >&5
29536
29537
29538                             { echo "$as_me:$LINENO: result: no" >&5
29539 echo "${ECHO_T}no" >&6; }
29540                             ac_wxgtk210=0
29541
29542 fi
29543
29544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29545
29546             if test "$ac_wxgtk210" = 0; then
29547                                 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
29548 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
29549                 cat >conftest.$ac_ext <<_ACEOF
29550 /* confdefs.h.  */
29551 _ACEOF
29552 cat confdefs.h >>conftest.$ac_ext
29553 cat >>conftest.$ac_ext <<_ACEOF
29554 /* end confdefs.h.  */
29555
29556                                 #include <gtk/gtk.h>
29557
29558 int
29559 main ()
29560 {
29561
29562                                 #if !GTK_CHECK_VERSION(2,6,0)
29563                                 Not GTK+ 2.6
29564                                 #endif
29565
29566   ;
29567   return 0;
29568 }
29569 _ACEOF
29570 rm -f conftest.$ac_objext
29571 if { (ac_try="$ac_compile"
29572 case "(($ac_try" in
29573   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29574   *) ac_try_echo=$ac_try;;
29575 esac
29576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29577   (eval "$ac_compile") 2>conftest.er1
29578   ac_status=$?
29579   grep -v '^ *+' conftest.er1 >conftest.err
29580   rm -f conftest.er1
29581   cat conftest.err >&5
29582   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29583   (exit $ac_status); } && {
29584          test -z "$ac_c_werror_flag" ||
29585          test ! -s conftest.err
29586        } && test -s conftest.$ac_objext; then
29587
29588                                 cat >>confdefs.h <<\_ACEOF
29589 #define __WXGTK26__ 1
29590 _ACEOF
29591
29592                                 { echo "$as_me:$LINENO: result: yes" >&5
29593 echo "${ECHO_T}yes" >&6; }
29594                                 ac_wxgtk26=1
29595
29596 else
29597   echo "$as_me: failed program was:" >&5
29598 sed 's/^/| /' conftest.$ac_ext >&5
29599
29600
29601                                 { echo "$as_me:$LINENO: result: no" >&5
29602 echo "${ECHO_T}no" >&6; }
29603                                 ac_wxgtk26=0
29604
29605 fi
29606
29607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29608             fi
29609
29610             CFLAGS="$save_CFLAGS"
29611             LIBS="$save_LIBS"
29612         else
29613             if test "$wxUSE_UNICODE" = "yes"; then
29614                 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
29615 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
29616                 wxUSE_UNICODE=no
29617             fi
29618
29619                         { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
29620 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
29621 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
29622   echo $ECHO_N "(cached) $ECHO_C" >&6
29623 else
29624   ac_check_lib_save_LIBS=$LIBS
29625 LIBS="-lgdk  $LIBS"
29626 cat >conftest.$ac_ext <<_ACEOF
29627 /* confdefs.h.  */
29628 _ACEOF
29629 cat confdefs.h >>conftest.$ac_ext
29630 cat >>conftest.$ac_ext <<_ACEOF
29631 /* end confdefs.h.  */
29632
29633 /* Override any GCC internal prototype to avoid an error.
29634    Use char because int might match the return type of a GCC
29635    builtin and then its argument prototype would still apply.  */
29636 #ifdef __cplusplus
29637 extern "C"
29638 #endif
29639 char gdk_im_open ();
29640 int
29641 main ()
29642 {
29643 return gdk_im_open ();
29644   ;
29645   return 0;
29646 }
29647 _ACEOF
29648 rm -f conftest.$ac_objext conftest$ac_exeext
29649 if { (ac_try="$ac_link"
29650 case "(($ac_try" in
29651   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29652   *) ac_try_echo=$ac_try;;
29653 esac
29654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29655   (eval "$ac_link") 2>conftest.er1
29656   ac_status=$?
29657   grep -v '^ *+' conftest.er1 >conftest.err
29658   rm -f conftest.er1
29659   cat conftest.err >&5
29660   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29661   (exit $ac_status); } && {
29662          test -z "$ac_c_werror_flag" ||
29663          test ! -s conftest.err
29664        } && test -s conftest$ac_exeext &&
29665        $as_test_x conftest$ac_exeext; then
29666   ac_cv_lib_gdk_gdk_im_open=yes
29667 else
29668   echo "$as_me: failed program was:" >&5
29669 sed 's/^/| /' conftest.$ac_ext >&5
29670
29671         ac_cv_lib_gdk_gdk_im_open=no
29672 fi
29673
29674 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29675       conftest$ac_exeext conftest.$ac_ext
29676 LIBS=$ac_check_lib_save_LIBS
29677 fi
29678 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
29679 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
29680 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
29681   cat >>confdefs.h <<\_ACEOF
29682 #define HAVE_XIM 1
29683 _ACEOF
29684
29685 fi
29686
29687
29688                                     if test "$USE_DARWIN" != 1; then
29689
29690 for ac_func in poll
29691 do
29692 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29693 { echo "$as_me:$LINENO: checking for $ac_func" >&5
29694 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
29695 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
29696   echo $ECHO_N "(cached) $ECHO_C" >&6
29697 else
29698   cat >conftest.$ac_ext <<_ACEOF
29699 /* confdefs.h.  */
29700 _ACEOF
29701 cat confdefs.h >>conftest.$ac_ext
29702 cat >>conftest.$ac_ext <<_ACEOF
29703 /* end confdefs.h.  */
29704 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29705    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
29706 #define $ac_func innocuous_$ac_func
29707
29708 /* System header to define __stub macros and hopefully few prototypes,
29709     which can conflict with char $ac_func (); below.
29710     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29711     <limits.h> exists even on freestanding compilers.  */
29712
29713 #ifdef __STDC__
29714 # include <limits.h>
29715 #else
29716 # include <assert.h>
29717 #endif
29718
29719 #undef $ac_func
29720
29721 /* Override any GCC internal prototype to avoid an error.
29722    Use char because int might match the return type of a GCC
29723    builtin and then its argument prototype would still apply.  */
29724 #ifdef __cplusplus
29725 extern "C"
29726 #endif
29727 char $ac_func ();
29728 /* The GNU C library defines this for functions which it implements
29729     to always fail with ENOSYS.  Some functions are actually named
29730     something starting with __ and the normal name is an alias.  */
29731 #if defined __stub_$ac_func || defined __stub___$ac_func
29732 choke me
29733 #endif
29734
29735 int
29736 main ()
29737 {
29738 return $ac_func ();
29739   ;
29740   return 0;
29741 }
29742 _ACEOF
29743 rm -f conftest.$ac_objext conftest$ac_exeext
29744 if { (ac_try="$ac_link"
29745 case "(($ac_try" in
29746   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29747   *) ac_try_echo=$ac_try;;
29748 esac
29749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29750   (eval "$ac_link") 2>conftest.er1
29751   ac_status=$?
29752   grep -v '^ *+' conftest.er1 >conftest.err
29753   rm -f conftest.er1
29754   cat conftest.err >&5
29755   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29756   (exit $ac_status); } && {
29757          test -z "$ac_c_werror_flag" ||
29758          test ! -s conftest.err
29759        } && test -s conftest$ac_exeext &&
29760        $as_test_x conftest$ac_exeext; then
29761   eval "$as_ac_var=yes"
29762 else
29763   echo "$as_me: failed program was:" >&5
29764 sed 's/^/| /' conftest.$ac_ext >&5
29765
29766         eval "$as_ac_var=no"
29767 fi
29768
29769 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29770       conftest$ac_exeext conftest.$ac_ext
29771 fi
29772 ac_res=`eval echo '${'$as_ac_var'}'`
29773                { echo "$as_me:$LINENO: result: $ac_res" >&5
29774 echo "${ECHO_T}$ac_res" >&6; }
29775 if test `eval echo '${'$as_ac_var'}'` = yes; then
29776   cat >>confdefs.h <<_ACEOF
29777 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29778 _ACEOF
29779
29780 fi
29781 done
29782
29783             fi
29784         fi
29785
29786         TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
29787         GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
29788
29789         AFMINSTALL=afminstall
29790         TOOLKIT=GTK
29791         GUIDIST=GTK_DIST
29792
29793                 if test "$wxUSE_GPE" = "yes"; then
29794             { echo "$as_me:$LINENO: checking for gpewidget library" >&5
29795 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
29796
29797   ac_find_libraries=
29798   for ac_dir in $SEARCH_LIB;
29799   do
29800     for ac_extension in a so sl dylib dll.a; do
29801       if test -f "$ac_dir/libgpewidget.$ac_extension"; then
29802         ac_find_libraries=$ac_dir
29803         break 2
29804       fi
29805     done
29806   done
29807
29808             if test "$ac_find_libraries" != "" ; then
29809
29810     if test "$ac_find_libraries" = "default location"; then
29811     ac_path_to_link=""
29812   else
29813     echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
29814     result=$?
29815     if test $result = 0; then
29816       ac_path_to_link=""
29817     else
29818       ac_path_to_link=" -L$ac_find_libraries"
29819     fi
29820   fi
29821
29822                                                 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
29823                 WXGPE=1
29824                 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29825 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
29826             else
29827                 { echo "$as_me:$LINENO: result: not found" >&5
29828 echo "${ECHO_T}not found" >&6; }
29829             fi
29830
29831                                                                                                                     fi
29832     fi
29833
29834     if test "$wxUSE_MGL" = 1; then
29835        { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
29836 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
29837         if test "x$MGL_ROOT" = x ; then
29838             { echo "$as_me:$LINENO: result: not found" >&5
29839 echo "${ECHO_T}not found" >&6; }
29840             { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
29841 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
29842    { (exit 1); exit 1; }; }
29843         else
29844             { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
29845 echo "${ECHO_T}$MGL_ROOT" >&6; }
29846         fi
29847
29848         { echo "$as_me:$LINENO: checking for libmgl location" >&5
29849 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
29850                                 case "${host}" in
29851             *-*-linux* )
29852                                           if test "x$wxUSE_SHARED" = xyes ; then
29853                   mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
29854               else
29855                   mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
29856               fi
29857               ;;
29858             *-pc-msdosdjgpp )
29859               mgl_os_candidates="dos32/dj2"
29860               ;;
29861             *)
29862               { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
29863 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
29864    { (exit 1); exit 1; }; }
29865         esac
29866
29867         mgl_lib_type=""
29868         mgl_os=""
29869
29870         for mgl_os_i in $mgl_os_candidates ; do
29871             if test "x$mgl_os" = x ; then
29872                 if test "$wxUSE_DEBUG_FLAG" = yes ; then
29873                     if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
29874                             -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
29875                         mgl_lib_type=debug
29876                         mgl_os=$mgl_os_i
29877                     fi
29878                 fi
29879                 if test "x$mgl_lib_type" = x ; then
29880                     if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
29881                             -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
29882                         mgl_lib_type=release
29883                         mgl_os=$mgl_os_i
29884                     fi
29885                 fi
29886             fi
29887         done
29888
29889         if test "x$mgl_os" = x ; then
29890             { echo "$as_me:$LINENO: result: not found" >&5
29891 echo "${ECHO_T}not found" >&6; }
29892             { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
29893 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
29894    { (exit 1); exit 1; }; }
29895         fi
29896         { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
29897 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
29898
29899         wxUSE_UNIVERSAL="yes"
29900
29901         TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
29902         GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
29903
29904         AFMINSTALL=afminstall
29905         TOOLKIT=MGL
29906         GUIDIST=MGL_DIST
29907     fi
29908
29909     if test "$wxUSE_DFB" = 1; then
29910
29911
29912 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
29913         if test -n "$ac_tool_prefix"; then
29914   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29915 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
29916 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29917 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29918 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29919   echo $ECHO_N "(cached) $ECHO_C" >&6
29920 else
29921   case $PKG_CONFIG in
29922   [\\/]* | ?:[\\/]*)
29923   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29924   ;;
29925   *)
29926   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29927 for as_dir in $PATH
29928 do
29929   IFS=$as_save_IFS
29930   test -z "$as_dir" && as_dir=.
29931   for ac_exec_ext in '' $ac_executable_extensions; do
29932   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29933     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29934     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29935     break 2
29936   fi
29937 done
29938 done
29939 IFS=$as_save_IFS
29940
29941   ;;
29942 esac
29943 fi
29944 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29945 if test -n "$PKG_CONFIG"; then
29946   { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29947 echo "${ECHO_T}$PKG_CONFIG" >&6; }
29948 else
29949   { echo "$as_me:$LINENO: result: no" >&5
29950 echo "${ECHO_T}no" >&6; }
29951 fi
29952
29953
29954 fi
29955 if test -z "$ac_cv_path_PKG_CONFIG"; then
29956   ac_pt_PKG_CONFIG=$PKG_CONFIG
29957   # Extract the first word of "pkg-config", so it can be a program name with args.
29958 set dummy pkg-config; ac_word=$2
29959 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29960 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29961 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
29962   echo $ECHO_N "(cached) $ECHO_C" >&6
29963 else
29964   case $ac_pt_PKG_CONFIG in
29965   [\\/]* | ?:[\\/]*)
29966   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
29967   ;;
29968   *)
29969   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29970 for as_dir in $PATH
29971 do
29972   IFS=$as_save_IFS
29973   test -z "$as_dir" && as_dir=.
29974   for ac_exec_ext in '' $ac_executable_extensions; do
29975   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29976     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29977     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29978     break 2
29979   fi
29980 done
29981 done
29982 IFS=$as_save_IFS
29983
29984   ;;
29985 esac
29986 fi
29987 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
29988 if test -n "$ac_pt_PKG_CONFIG"; then
29989   { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
29990 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
29991 else
29992   { echo "$as_me:$LINENO: result: no" >&5
29993 echo "${ECHO_T}no" >&6; }
29994 fi
29995
29996   if test "x$ac_pt_PKG_CONFIG" = x; then
29997     PKG_CONFIG=""
29998   else
29999     case $cross_compiling:$ac_tool_warned in
30000 yes:)
30001 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
30002 whose name does not start with the host triplet.  If you think this
30003 configuration is useful to you, please write to autoconf@gnu.org." >&5
30004 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
30005 whose name does not start with the host triplet.  If you think this
30006 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
30007 ac_tool_warned=yes ;;
30008 esac
30009     PKG_CONFIG=$ac_pt_PKG_CONFIG
30010   fi
30011 else
30012   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
30013 fi
30014
30015 fi
30016 if test -n "$PKG_CONFIG"; then
30017         _pkg_min_version=0.9.0
30018         { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
30019 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
30020         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
30021                 { echo "$as_me:$LINENO: result: yes" >&5
30022 echo "${ECHO_T}yes" >&6; }
30023         else
30024                 { echo "$as_me:$LINENO: result: no" >&5
30025 echo "${ECHO_T}no" >&6; }
30026                 PKG_CONFIG=""
30027         fi
30028
30029 fi
30030
30031
30032 pkg_failed=no
30033 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
30034 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
30035
30036 if test -n "$PKG_CONFIG"; then
30037     if test -n "$DIRECTFB_CFLAGS"; then
30038         pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
30039     else
30040         if test -n "$PKG_CONFIG" && \
30041     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
30042   ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
30043   ac_status=$?
30044   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30045   (exit $ac_status); }; then
30046   pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
30047 else
30048   pkg_failed=yes
30049 fi
30050     fi
30051 else
30052         pkg_failed=untried
30053 fi
30054 if test -n "$PKG_CONFIG"; then
30055     if test -n "$DIRECTFB_LIBS"; then
30056         pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
30057     else
30058         if test -n "$PKG_CONFIG" && \
30059     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
30060   ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
30061   ac_status=$?
30062   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30063   (exit $ac_status); }; then
30064   pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
30065 else
30066   pkg_failed=yes
30067 fi
30068     fi
30069 else
30070         pkg_failed=untried
30071 fi
30072
30073
30074
30075 if test $pkg_failed = yes; then
30076
30077 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30078         _pkg_short_errors_supported=yes
30079 else
30080         _pkg_short_errors_supported=no
30081 fi
30082         if test $_pkg_short_errors_supported = yes; then
30083                 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
30084         else
30085                 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
30086         fi
30087         # Put the nasty error message in config.log where it belongs
30088         echo "$DIRECTFB_PKG_ERRORS" >&5
30089
30090
30091                            { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
30092 echo "$as_me: error: DirectFB not found." >&2;}
30093    { (exit 1); exit 1; }; }
30094
30095
30096 elif test $pkg_failed = untried; then
30097
30098                            { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
30099 echo "$as_me: error: DirectFB not found." >&2;}
30100    { (exit 1); exit 1; }; }
30101
30102
30103 else
30104         DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
30105         DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
30106         { echo "$as_me:$LINENO: result: yes" >&5
30107 echo "${ECHO_T}yes" >&6; }
30108
30109                            wxUSE_UNIVERSAL="yes"
30110                            TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
30111                            GUI_TK_LIBRARY="$DIRECTFB_LIBS"
30112                            TOOLKIT=DFB
30113                            GUIDIST=DFB_DIST
30114
30115 fi
30116     fi
30117
30118     if test "$wxUSE_MICROWIN" = 1; then
30119         { echo "$as_me:$LINENO: checking for MicroWindows" >&5
30120 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
30121         if test "x$MICROWINDOWS" = x ; then
30122             { echo "$as_me:$LINENO: result: not found" >&5
30123 echo "${ECHO_T}not found" >&6; }
30124             { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
30125 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
30126    { (exit 1); exit 1; }; }
30127         else
30128             { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
30129 echo "${ECHO_T}$MICROWINDOWS" >&6; }
30130         fi
30131
30132         if test -f $MICROWINDOWS/lib/libmwin.a; then
30133             { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
30134 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
30135         else
30136             { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
30137 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
30138    { (exit 1); exit 1; }; }
30139         fi
30140
30141         TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
30142         GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
30143
30144         wxUSE_UNIVERSAL="yes"
30145
30146         AFMINSTALL=afminstall
30147         TOOLKIT=MICROWIN
30148         GUIDIST=MICROWIN_DIST
30149
30150         TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
30151     fi
30152
30153         if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
30154                                 { echo "$as_me:$LINENO: checking for X" >&5
30155 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
30156
30157
30158 # Check whether --with-x was given.
30159 if test "${with_x+set}" = set; then
30160   withval=$with_x;
30161 fi
30162
30163 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
30164 if test "x$with_x" = xno; then
30165   # The user explicitly disabled X.
30166   have_x=disabled
30167 else
30168   case $x_includes,$x_libraries in #(
30169     *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
30170 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
30171    { (exit 1); exit 1; }; };; #(
30172     *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
30173   echo $ECHO_N "(cached) $ECHO_C" >&6
30174 else
30175   # One or both of the vars are not set, and there is no cached value.
30176 ac_x_includes=no ac_x_libraries=no
30177 rm -f -r conftest.dir
30178 if mkdir conftest.dir; then
30179   cd conftest.dir
30180   cat >Imakefile <<'_ACEOF'
30181 incroot:
30182         @echo incroot='${INCROOT}'
30183 usrlibdir:
30184         @echo usrlibdir='${USRLIBDIR}'
30185 libdir:
30186         @echo libdir='${LIBDIR}'
30187 _ACEOF
30188   if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
30189     # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
30190     for ac_var in incroot usrlibdir libdir; do
30191       eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
30192     done
30193     # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
30194     for ac_extension in a so sl; do
30195       if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
30196          test -f "$ac_im_libdir/libX11.$ac_extension"; then
30197         ac_im_usrlibdir=$ac_im_libdir; break
30198       fi
30199     done
30200     # Screen out bogus values from the imake configuration.  They are
30201     # bogus both because they are the default anyway, and because
30202     # using them would break gcc on systems where it needs fixed includes.
30203     case $ac_im_incroot in
30204         /usr/include) ac_x_includes= ;;
30205         *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
30206     esac
30207     case $ac_im_usrlibdir in
30208         /usr/lib | /lib) ;;
30209         *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
30210     esac
30211   fi
30212   cd ..
30213   rm -f -r conftest.dir
30214 fi
30215
30216 # Standard set of common directories for X headers.
30217 # Check X11 before X11Rn because it is often a symlink to the current release.
30218 ac_x_header_dirs='
30219 /usr/X11/include
30220 /usr/X11R6/include
30221 /usr/X11R5/include
30222 /usr/X11R4/include
30223
30224 /usr/include/X11
30225 /usr/include/X11R6
30226 /usr/include/X11R5
30227 /usr/include/X11R4
30228
30229 /usr/local/X11/include
30230 /usr/local/X11R6/include
30231 /usr/local/X11R5/include
30232 /usr/local/X11R4/include
30233
30234 /usr/local/include/X11
30235 /usr/local/include/X11R6
30236 /usr/local/include/X11R5
30237 /usr/local/include/X11R4
30238
30239 /usr/X386/include
30240 /usr/x386/include
30241 /usr/XFree86/include/X11
30242
30243 /usr/include
30244 /usr/local/include
30245 /usr/unsupported/include
30246 /usr/athena/include
30247 /usr/local/x11r5/include
30248 /usr/lpp/Xamples/include
30249
30250 /usr/openwin/include
30251 /usr/openwin/share/include'
30252
30253 if test "$ac_x_includes" = no; then
30254   # Guess where to find include files, by looking for Xlib.h.
30255   # First, try using that file with no special directory specified.
30256   cat >conftest.$ac_ext <<_ACEOF
30257 /* confdefs.h.  */
30258 _ACEOF
30259 cat confdefs.h >>conftest.$ac_ext
30260 cat >>conftest.$ac_ext <<_ACEOF
30261 /* end confdefs.h.  */
30262 #include <X11/Xlib.h>
30263 _ACEOF
30264 if { (ac_try="$ac_cpp conftest.$ac_ext"
30265 case "(($ac_try" in
30266   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30267   *) ac_try_echo=$ac_try;;
30268 esac
30269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30270   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
30271   ac_status=$?
30272   grep -v '^ *+' conftest.er1 >conftest.err
30273   rm -f conftest.er1
30274   cat conftest.err >&5
30275   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30276   (exit $ac_status); } >/dev/null && {
30277          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
30278          test ! -s conftest.err
30279        }; then
30280   # We can compile using X headers with no special include directory.
30281 ac_x_includes=
30282 else
30283   echo "$as_me: failed program was:" >&5
30284 sed 's/^/| /' conftest.$ac_ext >&5
30285
30286   for ac_dir in $ac_x_header_dirs; do
30287   if test -r "$ac_dir/X11/Xlib.h"; then
30288     ac_x_includes=$ac_dir
30289     break
30290   fi
30291 done
30292 fi
30293
30294 rm -f conftest.err conftest.$ac_ext
30295 fi # $ac_x_includes = no
30296
30297 if test "$ac_x_libraries" = no; then
30298   # Check for the libraries.
30299   # See if we find them without any special options.
30300   # Don't add to $LIBS permanently.
30301   ac_save_LIBS=$LIBS
30302   LIBS="-lX11 $LIBS"
30303   cat >conftest.$ac_ext <<_ACEOF
30304 /* confdefs.h.  */
30305 _ACEOF
30306 cat confdefs.h >>conftest.$ac_ext
30307 cat >>conftest.$ac_ext <<_ACEOF
30308 /* end confdefs.h.  */
30309 #include <X11/Xlib.h>
30310 int
30311 main ()
30312 {
30313 XrmInitialize ()
30314   ;
30315   return 0;
30316 }
30317 _ACEOF
30318 rm -f conftest.$ac_objext conftest$ac_exeext
30319 if { (ac_try="$ac_link"
30320 case "(($ac_try" in
30321   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30322   *) ac_try_echo=$ac_try;;
30323 esac
30324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30325   (eval "$ac_link") 2>conftest.er1
30326   ac_status=$?
30327   grep -v '^ *+' conftest.er1 >conftest.err
30328   rm -f conftest.er1
30329   cat conftest.err >&5
30330   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30331   (exit $ac_status); } && {
30332          test -z "$ac_c_werror_flag" ||
30333          test ! -s conftest.err
30334        } && test -s conftest$ac_exeext &&
30335        $as_test_x conftest$ac_exeext; then
30336   LIBS=$ac_save_LIBS
30337 # We can link X programs with no special library path.
30338 ac_x_libraries=
30339 else
30340   echo "$as_me: failed program was:" >&5
30341 sed 's/^/| /' conftest.$ac_ext >&5
30342
30343         LIBS=$ac_save_LIBS
30344 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
30345 do
30346   # Don't even attempt the hair of trying to link an X program!
30347   for ac_extension in a so sl; do
30348     if test -r "$ac_dir/libX11.$ac_extension"; then
30349       ac_x_libraries=$ac_dir
30350       break 2
30351     fi
30352   done
30353 done
30354 fi
30355
30356 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30357       conftest$ac_exeext conftest.$ac_ext
30358 fi # $ac_x_libraries = no
30359
30360 case $ac_x_includes,$ac_x_libraries in #(
30361   no,* | *,no | *\'*)
30362     # Didn't find X, or a directory has "'" in its name.
30363     ac_cv_have_x="have_x=no";; #(
30364   *)
30365     # Record where we found X for the cache.
30366     ac_cv_have_x="have_x=yes\
30367         ac_x_includes='$ac_x_includes'\
30368         ac_x_libraries='$ac_x_libraries'"
30369 esac
30370 fi
30371 ;; #(
30372     *) have_x=yes;;
30373   esac
30374   eval "$ac_cv_have_x"
30375 fi # $with_x != no
30376
30377 if test "$have_x" != yes; then
30378   { echo "$as_me:$LINENO: result: $have_x" >&5
30379 echo "${ECHO_T}$have_x" >&6; }
30380   no_x=yes
30381 else
30382   # If each of the values was on the command line, it overrides each guess.
30383   test "x$x_includes" = xNONE && x_includes=$ac_x_includes
30384   test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
30385   # Update the cache value to reflect the command line values.
30386   ac_cv_have_x="have_x=yes\
30387         ac_x_includes='$x_includes'\
30388         ac_x_libraries='$x_libraries'"
30389   { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
30390 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
30391 fi
30392
30393 if test "$no_x" = yes; then
30394   # Not all programs may use this symbol, but it does not hurt to define it.
30395
30396 cat >>confdefs.h <<\_ACEOF
30397 #define X_DISPLAY_MISSING 1
30398 _ACEOF
30399
30400   X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
30401 else
30402   if test -n "$x_includes"; then
30403     X_CFLAGS="$X_CFLAGS -I$x_includes"
30404   fi
30405
30406   # It would also be nice to do this for all -L options, not just this one.
30407   if test -n "$x_libraries"; then
30408     X_LIBS="$X_LIBS -L$x_libraries"
30409     # For Solaris; some versions of Sun CC require a space after -R and
30410     # others require no space.  Words are not sufficient . . . .
30411     { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
30412 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
30413     ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
30414     ac_xsave_c_werror_flag=$ac_c_werror_flag
30415     ac_c_werror_flag=yes
30416     cat >conftest.$ac_ext <<_ACEOF
30417 /* confdefs.h.  */
30418 _ACEOF
30419 cat confdefs.h >>conftest.$ac_ext
30420 cat >>conftest.$ac_ext <<_ACEOF
30421 /* end confdefs.h.  */
30422
30423 int
30424 main ()
30425 {
30426
30427   ;
30428   return 0;
30429 }
30430 _ACEOF
30431 rm -f conftest.$ac_objext conftest$ac_exeext
30432 if { (ac_try="$ac_link"
30433 case "(($ac_try" in
30434   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30435   *) ac_try_echo=$ac_try;;
30436 esac
30437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30438   (eval "$ac_link") 2>conftest.er1
30439   ac_status=$?
30440   grep -v '^ *+' conftest.er1 >conftest.err
30441   rm -f conftest.er1
30442   cat conftest.err >&5
30443   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30444   (exit $ac_status); } && {
30445          test -z "$ac_c_werror_flag" ||
30446          test ! -s conftest.err
30447        } && test -s conftest$ac_exeext &&
30448        $as_test_x conftest$ac_exeext; then
30449   { echo "$as_me:$LINENO: result: no" >&5
30450 echo "${ECHO_T}no" >&6; }
30451        X_LIBS="$X_LIBS -R$x_libraries"
30452 else
30453   echo "$as_me: failed program was:" >&5
30454 sed 's/^/| /' conftest.$ac_ext >&5
30455
30456         LIBS="$ac_xsave_LIBS -R $x_libraries"
30457        cat >conftest.$ac_ext <<_ACEOF
30458 /* confdefs.h.  */
30459 _ACEOF
30460 cat confdefs.h >>conftest.$ac_ext
30461 cat >>conftest.$ac_ext <<_ACEOF
30462 /* end confdefs.h.  */
30463
30464 int
30465 main ()
30466 {
30467
30468   ;
30469   return 0;
30470 }
30471 _ACEOF
30472 rm -f conftest.$ac_objext conftest$ac_exeext
30473 if { (ac_try="$ac_link"
30474 case "(($ac_try" in
30475   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30476   *) ac_try_echo=$ac_try;;
30477 esac
30478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30479   (eval "$ac_link") 2>conftest.er1
30480   ac_status=$?
30481   grep -v '^ *+' conftest.er1 >conftest.err
30482   rm -f conftest.er1
30483   cat conftest.err >&5
30484   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30485   (exit $ac_status); } && {
30486          test -z "$ac_c_werror_flag" ||
30487          test ! -s conftest.err
30488        } && test -s conftest$ac_exeext &&
30489        $as_test_x conftest$ac_exeext; then
30490   { echo "$as_me:$LINENO: result: yes" >&5
30491 echo "${ECHO_T}yes" >&6; }
30492           X_LIBS="$X_LIBS -R $x_libraries"
30493 else
30494   echo "$as_me: failed program was:" >&5
30495 sed 's/^/| /' conftest.$ac_ext >&5
30496
30497         { echo "$as_me:$LINENO: result: neither works" >&5
30498 echo "${ECHO_T}neither works" >&6; }
30499 fi
30500
30501 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30502       conftest$ac_exeext conftest.$ac_ext
30503 fi
30504
30505 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30506       conftest$ac_exeext conftest.$ac_ext
30507     ac_c_werror_flag=$ac_xsave_c_werror_flag
30508     LIBS=$ac_xsave_LIBS
30509   fi
30510
30511   # Check for system-dependent libraries X programs must link with.
30512   # Do this before checking for the system-independent R6 libraries
30513   # (-lICE), since we may need -lsocket or whatever for X linking.
30514
30515   if test "$ISC" = yes; then
30516     X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
30517   else
30518     # Martyn Johnson says this is needed for Ultrix, if the X
30519     # libraries were built with DECnet support.  And Karl Berry says
30520     # the Alpha needs dnet_stub (dnet does not exist).
30521     ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
30522     cat >conftest.$ac_ext <<_ACEOF
30523 /* confdefs.h.  */
30524 _ACEOF
30525 cat confdefs.h >>conftest.$ac_ext
30526 cat >>conftest.$ac_ext <<_ACEOF
30527 /* end confdefs.h.  */
30528
30529 /* Override any GCC internal prototype to avoid an error.
30530    Use char because int might match the return type of a GCC
30531    builtin and then its argument prototype would still apply.  */
30532 #ifdef __cplusplus
30533 extern "C"
30534 #endif
30535 char XOpenDisplay ();
30536 int
30537 main ()
30538 {
30539 return XOpenDisplay ();
30540   ;
30541   return 0;
30542 }
30543 _ACEOF
30544 rm -f conftest.$ac_objext conftest$ac_exeext
30545 if { (ac_try="$ac_link"
30546 case "(($ac_try" in
30547   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30548   *) ac_try_echo=$ac_try;;
30549 esac
30550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30551   (eval "$ac_link") 2>conftest.er1
30552   ac_status=$?
30553   grep -v '^ *+' conftest.er1 >conftest.err
30554   rm -f conftest.er1
30555   cat conftest.err >&5
30556   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30557   (exit $ac_status); } && {
30558          test -z "$ac_c_werror_flag" ||
30559          test ! -s conftest.err
30560        } && test -s conftest$ac_exeext &&
30561        $as_test_x conftest$ac_exeext; then
30562   :
30563 else
30564   echo "$as_me: failed program was:" >&5
30565 sed 's/^/| /' conftest.$ac_ext >&5
30566
30567         { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
30568 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
30569 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
30570   echo $ECHO_N "(cached) $ECHO_C" >&6
30571 else
30572   ac_check_lib_save_LIBS=$LIBS
30573 LIBS="-ldnet  $LIBS"
30574 cat >conftest.$ac_ext <<_ACEOF
30575 /* confdefs.h.  */
30576 _ACEOF
30577 cat confdefs.h >>conftest.$ac_ext
30578 cat >>conftest.$ac_ext <<_ACEOF
30579 /* end confdefs.h.  */
30580
30581 /* Override any GCC internal prototype to avoid an error.
30582    Use char because int might match the return type of a GCC
30583    builtin and then its argument prototype would still apply.  */
30584 #ifdef __cplusplus
30585 extern "C"
30586 #endif
30587 char dnet_ntoa ();
30588 int
30589 main ()
30590 {
30591 return dnet_ntoa ();
30592   ;
30593   return 0;
30594 }
30595 _ACEOF
30596 rm -f conftest.$ac_objext conftest$ac_exeext
30597 if { (ac_try="$ac_link"
30598 case "(($ac_try" in
30599   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30600   *) ac_try_echo=$ac_try;;
30601 esac
30602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30603   (eval "$ac_link") 2>conftest.er1
30604   ac_status=$?
30605   grep -v '^ *+' conftest.er1 >conftest.err
30606   rm -f conftest.er1
30607   cat conftest.err >&5
30608   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30609   (exit $ac_status); } && {
30610          test -z "$ac_c_werror_flag" ||
30611          test ! -s conftest.err
30612        } && test -s conftest$ac_exeext &&
30613        $as_test_x conftest$ac_exeext; then
30614   ac_cv_lib_dnet_dnet_ntoa=yes
30615 else
30616   echo "$as_me: failed program was:" >&5
30617 sed 's/^/| /' conftest.$ac_ext >&5
30618
30619         ac_cv_lib_dnet_dnet_ntoa=no
30620 fi
30621
30622 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30623       conftest$ac_exeext conftest.$ac_ext
30624 LIBS=$ac_check_lib_save_LIBS
30625 fi
30626 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
30627 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
30628 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
30629   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
30630 fi
30631
30632     if test $ac_cv_lib_dnet_dnet_ntoa = no; then
30633       { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
30634 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
30635 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
30636   echo $ECHO_N "(cached) $ECHO_C" >&6
30637 else
30638   ac_check_lib_save_LIBS=$LIBS
30639 LIBS="-ldnet_stub  $LIBS"
30640 cat >conftest.$ac_ext <<_ACEOF
30641 /* confdefs.h.  */
30642 _ACEOF
30643 cat confdefs.h >>conftest.$ac_ext
30644 cat >>conftest.$ac_ext <<_ACEOF
30645 /* end confdefs.h.  */
30646
30647 /* Override any GCC internal prototype to avoid an error.
30648    Use char because int might match the return type of a GCC
30649    builtin and then its argument prototype would still apply.  */
30650 #ifdef __cplusplus
30651 extern "C"
30652 #endif
30653 char dnet_ntoa ();
30654 int
30655 main ()
30656 {
30657 return dnet_ntoa ();
30658   ;
30659   return 0;
30660 }
30661 _ACEOF
30662 rm -f conftest.$ac_objext conftest$ac_exeext
30663 if { (ac_try="$ac_link"
30664 case "(($ac_try" in
30665   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30666   *) ac_try_echo=$ac_try;;
30667 esac
30668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30669   (eval "$ac_link") 2>conftest.er1
30670   ac_status=$?
30671   grep -v '^ *+' conftest.er1 >conftest.err
30672   rm -f conftest.er1
30673   cat conftest.err >&5
30674   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30675   (exit $ac_status); } && {
30676          test -z "$ac_c_werror_flag" ||
30677          test ! -s conftest.err
30678        } && test -s conftest$ac_exeext &&
30679        $as_test_x conftest$ac_exeext; then
30680   ac_cv_lib_dnet_stub_dnet_ntoa=yes
30681 else
30682   echo "$as_me: failed program was:" >&5
30683 sed 's/^/| /' conftest.$ac_ext >&5
30684
30685         ac_cv_lib_dnet_stub_dnet_ntoa=no
30686 fi
30687
30688 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30689       conftest$ac_exeext conftest.$ac_ext
30690 LIBS=$ac_check_lib_save_LIBS
30691 fi
30692 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
30693 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
30694 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
30695   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
30696 fi
30697
30698     fi
30699 fi
30700
30701 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30702       conftest$ac_exeext conftest.$ac_ext
30703     LIBS="$ac_xsave_LIBS"
30704
30705     # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
30706     # to get the SysV transport functions.
30707     # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
30708     # needs -lnsl.
30709     # The nsl library prevents programs from opening the X display
30710     # on Irix 5.2, according to T.E. Dickey.
30711     # The functions gethostbyname, getservbyname, and inet_addr are
30712     # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
30713     { echo "$as_me:$LINENO: checking for gethostbyname" >&5
30714 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
30715 if test "${ac_cv_func_gethostbyname+set}" = set; then
30716   echo $ECHO_N "(cached) $ECHO_C" >&6
30717 else
30718   cat >conftest.$ac_ext <<_ACEOF
30719 /* confdefs.h.  */
30720 _ACEOF
30721 cat confdefs.h >>conftest.$ac_ext
30722 cat >>conftest.$ac_ext <<_ACEOF
30723 /* end confdefs.h.  */
30724 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
30725    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
30726 #define gethostbyname innocuous_gethostbyname
30727
30728 /* System header to define __stub macros and hopefully few prototypes,
30729     which can conflict with char gethostbyname (); below.
30730     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30731     <limits.h> exists even on freestanding compilers.  */
30732
30733 #ifdef __STDC__
30734 # include <limits.h>
30735 #else
30736 # include <assert.h>
30737 #endif
30738
30739 #undef gethostbyname
30740
30741 /* Override any GCC internal prototype to avoid an error.
30742    Use char because int might match the return type of a GCC
30743    builtin and then its argument prototype would still apply.  */
30744 #ifdef __cplusplus
30745 extern "C"
30746 #endif
30747 char gethostbyname ();
30748 /* The GNU C library defines this for functions which it implements
30749     to always fail with ENOSYS.  Some functions are actually named
30750     something starting with __ and the normal name is an alias.  */
30751 #if defined __stub_gethostbyname || defined __stub___gethostbyname
30752 choke me
30753 #endif
30754
30755 int
30756 main ()
30757 {
30758 return gethostbyname ();
30759   ;
30760   return 0;
30761 }
30762 _ACEOF
30763 rm -f conftest.$ac_objext conftest$ac_exeext
30764 if { (ac_try="$ac_link"
30765 case "(($ac_try" in
30766   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30767   *) ac_try_echo=$ac_try;;
30768 esac
30769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30770   (eval "$ac_link") 2>conftest.er1
30771   ac_status=$?
30772   grep -v '^ *+' conftest.er1 >conftest.err
30773   rm -f conftest.er1
30774   cat conftest.err >&5
30775   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30776   (exit $ac_status); } && {
30777          test -z "$ac_c_werror_flag" ||
30778          test ! -s conftest.err
30779        } && test -s conftest$ac_exeext &&
30780        $as_test_x conftest$ac_exeext; then
30781   ac_cv_func_gethostbyname=yes
30782 else
30783   echo "$as_me: failed program was:" >&5
30784 sed 's/^/| /' conftest.$ac_ext >&5
30785
30786         ac_cv_func_gethostbyname=no
30787 fi
30788
30789 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30790       conftest$ac_exeext conftest.$ac_ext
30791 fi
30792 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
30793 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
30794
30795     if test $ac_cv_func_gethostbyname = no; then
30796       { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
30797 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
30798 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
30799   echo $ECHO_N "(cached) $ECHO_C" >&6
30800 else
30801   ac_check_lib_save_LIBS=$LIBS
30802 LIBS="-lnsl  $LIBS"
30803 cat >conftest.$ac_ext <<_ACEOF
30804 /* confdefs.h.  */
30805 _ACEOF
30806 cat confdefs.h >>conftest.$ac_ext
30807 cat >>conftest.$ac_ext <<_ACEOF
30808 /* end confdefs.h.  */
30809
30810 /* Override any GCC internal prototype to avoid an error.
30811    Use char because int might match the return type of a GCC
30812    builtin and then its argument prototype would still apply.  */
30813 #ifdef __cplusplus
30814 extern "C"
30815 #endif
30816 char gethostbyname ();
30817 int
30818 main ()
30819 {
30820 return gethostbyname ();
30821   ;
30822   return 0;
30823 }
30824 _ACEOF
30825 rm -f conftest.$ac_objext conftest$ac_exeext
30826 if { (ac_try="$ac_link"
30827 case "(($ac_try" in
30828   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30829   *) ac_try_echo=$ac_try;;
30830 esac
30831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30832   (eval "$ac_link") 2>conftest.er1
30833   ac_status=$?
30834   grep -v '^ *+' conftest.er1 >conftest.err
30835   rm -f conftest.er1
30836   cat conftest.err >&5
30837   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30838   (exit $ac_status); } && {
30839          test -z "$ac_c_werror_flag" ||
30840          test ! -s conftest.err
30841        } && test -s conftest$ac_exeext &&
30842        $as_test_x conftest$ac_exeext; then
30843   ac_cv_lib_nsl_gethostbyname=yes
30844 else
30845   echo "$as_me: failed program was:" >&5
30846 sed 's/^/| /' conftest.$ac_ext >&5
30847
30848         ac_cv_lib_nsl_gethostbyname=no
30849 fi
30850
30851 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30852       conftest$ac_exeext conftest.$ac_ext
30853 LIBS=$ac_check_lib_save_LIBS
30854 fi
30855 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
30856 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
30857 if test $ac_cv_lib_nsl_gethostbyname = yes; then
30858   X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
30859 fi
30860
30861       if test $ac_cv_lib_nsl_gethostbyname = no; then
30862         { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
30863 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
30864 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
30865   echo $ECHO_N "(cached) $ECHO_C" >&6
30866 else
30867   ac_check_lib_save_LIBS=$LIBS
30868 LIBS="-lbsd  $LIBS"
30869 cat >conftest.$ac_ext <<_ACEOF
30870 /* confdefs.h.  */
30871 _ACEOF
30872 cat confdefs.h >>conftest.$ac_ext
30873 cat >>conftest.$ac_ext <<_ACEOF
30874 /* end confdefs.h.  */
30875
30876 /* Override any GCC internal prototype to avoid an error.
30877    Use char because int might match the return type of a GCC
30878    builtin and then its argument prototype would still apply.  */
30879 #ifdef __cplusplus
30880 extern "C"
30881 #endif
30882 char gethostbyname ();
30883 int
30884 main ()
30885 {
30886 return gethostbyname ();
30887   ;
30888   return 0;
30889 }
30890 _ACEOF
30891 rm -f conftest.$ac_objext conftest$ac_exeext
30892 if { (ac_try="$ac_link"
30893 case "(($ac_try" in
30894   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30895   *) ac_try_echo=$ac_try;;
30896 esac
30897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30898   (eval "$ac_link") 2>conftest.er1
30899   ac_status=$?
30900   grep -v '^ *+' conftest.er1 >conftest.err
30901   rm -f conftest.er1
30902   cat conftest.err >&5
30903   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30904   (exit $ac_status); } && {
30905          test -z "$ac_c_werror_flag" ||
30906          test ! -s conftest.err
30907        } && test -s conftest$ac_exeext &&
30908        $as_test_x conftest$ac_exeext; then
30909   ac_cv_lib_bsd_gethostbyname=yes
30910 else
30911   echo "$as_me: failed program was:" >&5
30912 sed 's/^/| /' conftest.$ac_ext >&5
30913
30914         ac_cv_lib_bsd_gethostbyname=no
30915 fi
30916
30917 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30918       conftest$ac_exeext conftest.$ac_ext
30919 LIBS=$ac_check_lib_save_LIBS
30920 fi
30921 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
30922 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
30923 if test $ac_cv_lib_bsd_gethostbyname = yes; then
30924   X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
30925 fi
30926
30927       fi
30928     fi
30929
30930     # lieder@skyler.mavd.honeywell.com says without -lsocket,
30931     # socket/setsockopt and other routines are undefined under SCO ODT
30932     # 2.0.  But -lsocket is broken on IRIX 5.2 (and is not necessary
30933     # on later versions), says Simon Leinen: it contains gethostby*
30934     # variants that don't use the name server (or something).  -lsocket
30935     # must be given before -lnsl if both are needed.  We assume that
30936     # if connect needs -lnsl, so does gethostbyname.
30937     { echo "$as_me:$LINENO: checking for connect" >&5
30938 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
30939 if test "${ac_cv_func_connect+set}" = set; then
30940   echo $ECHO_N "(cached) $ECHO_C" >&6
30941 else
30942   cat >conftest.$ac_ext <<_ACEOF
30943 /* confdefs.h.  */
30944 _ACEOF
30945 cat confdefs.h >>conftest.$ac_ext
30946 cat >>conftest.$ac_ext <<_ACEOF
30947 /* end confdefs.h.  */
30948 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
30949    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
30950 #define connect innocuous_connect
30951
30952 /* System header to define __stub macros and hopefully few prototypes,
30953     which can conflict with char connect (); below.
30954     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30955     <limits.h> exists even on freestanding compilers.  */
30956
30957 #ifdef __STDC__
30958 # include <limits.h>
30959 #else
30960 # include <assert.h>
30961 #endif
30962
30963 #undef connect
30964
30965 /* Override any GCC internal prototype to avoid an error.
30966    Use char because int might match the return type of a GCC
30967    builtin and then its argument prototype would still apply.  */
30968 #ifdef __cplusplus
30969 extern "C"
30970 #endif
30971 char connect ();
30972 /* The GNU C library defines this for functions which it implements
30973     to always fail with ENOSYS.  Some functions are actually named
30974     something starting with __ and the normal name is an alias.  */
30975 #if defined __stub_connect || defined __stub___connect
30976 choke me
30977 #endif
30978
30979 int
30980 main ()
30981 {
30982 return connect ();
30983   ;
30984   return 0;
30985 }
30986 _ACEOF
30987 rm -f conftest.$ac_objext conftest$ac_exeext
30988 if { (ac_try="$ac_link"
30989 case "(($ac_try" in
30990   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30991   *) ac_try_echo=$ac_try;;
30992 esac
30993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30994   (eval "$ac_link") 2>conftest.er1
30995   ac_status=$?
30996   grep -v '^ *+' conftest.er1 >conftest.err
30997   rm -f conftest.er1
30998   cat conftest.err >&5
30999   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31000   (exit $ac_status); } && {
31001          test -z "$ac_c_werror_flag" ||
31002          test ! -s conftest.err
31003        } && test -s conftest$ac_exeext &&
31004        $as_test_x conftest$ac_exeext; then
31005   ac_cv_func_connect=yes
31006 else
31007   echo "$as_me: failed program was:" >&5
31008 sed 's/^/| /' conftest.$ac_ext >&5
31009
31010         ac_cv_func_connect=no
31011 fi
31012
31013 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31014       conftest$ac_exeext conftest.$ac_ext
31015 fi
31016 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
31017 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
31018
31019     if test $ac_cv_func_connect = no; then
31020       { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
31021 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
31022 if test "${ac_cv_lib_socket_connect+set}" = set; then
31023   echo $ECHO_N "(cached) $ECHO_C" >&6
31024 else
31025   ac_check_lib_save_LIBS=$LIBS
31026 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
31027 cat >conftest.$ac_ext <<_ACEOF
31028 /* confdefs.h.  */
31029 _ACEOF
31030 cat confdefs.h >>conftest.$ac_ext
31031 cat >>conftest.$ac_ext <<_ACEOF
31032 /* end confdefs.h.  */
31033
31034 /* Override any GCC internal prototype to avoid an error.
31035    Use char because int might match the return type of a GCC
31036    builtin and then its argument prototype would still apply.  */
31037 #ifdef __cplusplus
31038 extern "C"
31039 #endif
31040 char connect ();
31041 int
31042 main ()
31043 {
31044 return connect ();
31045   ;
31046   return 0;
31047 }
31048 _ACEOF
31049 rm -f conftest.$ac_objext conftest$ac_exeext
31050 if { (ac_try="$ac_link"
31051 case "(($ac_try" in
31052   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31053   *) ac_try_echo=$ac_try;;
31054 esac
31055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31056   (eval "$ac_link") 2>conftest.er1
31057   ac_status=$?
31058   grep -v '^ *+' conftest.er1 >conftest.err
31059   rm -f conftest.er1
31060   cat conftest.err >&5
31061   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31062   (exit $ac_status); } && {
31063          test -z "$ac_c_werror_flag" ||
31064          test ! -s conftest.err
31065        } && test -s conftest$ac_exeext &&
31066        $as_test_x conftest$ac_exeext; then
31067   ac_cv_lib_socket_connect=yes
31068 else
31069   echo "$as_me: failed program was:" >&5
31070 sed 's/^/| /' conftest.$ac_ext >&5
31071
31072         ac_cv_lib_socket_connect=no
31073 fi
31074
31075 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31076       conftest$ac_exeext conftest.$ac_ext
31077 LIBS=$ac_check_lib_save_LIBS
31078 fi
31079 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
31080 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
31081 if test $ac_cv_lib_socket_connect = yes; then
31082   X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
31083 fi
31084
31085     fi
31086
31087     # Guillermo Gomez says -lposix is necessary on A/UX.
31088     { echo "$as_me:$LINENO: checking for remove" >&5
31089 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
31090 if test "${ac_cv_func_remove+set}" = set; then
31091   echo $ECHO_N "(cached) $ECHO_C" >&6
31092 else
31093   cat >conftest.$ac_ext <<_ACEOF
31094 /* confdefs.h.  */
31095 _ACEOF
31096 cat confdefs.h >>conftest.$ac_ext
31097 cat >>conftest.$ac_ext <<_ACEOF
31098 /* end confdefs.h.  */
31099 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
31100    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
31101 #define remove innocuous_remove
31102
31103 /* System header to define __stub macros and hopefully few prototypes,
31104     which can conflict with char remove (); below.
31105     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31106     <limits.h> exists even on freestanding compilers.  */
31107
31108 #ifdef __STDC__
31109 # include <limits.h>
31110 #else
31111 # include <assert.h>
31112 #endif
31113
31114 #undef remove
31115
31116 /* Override any GCC internal prototype to avoid an error.
31117    Use char because int might match the return type of a GCC
31118    builtin and then its argument prototype would still apply.  */
31119 #ifdef __cplusplus
31120 extern "C"
31121 #endif
31122 char remove ();
31123 /* The GNU C library defines this for functions which it implements
31124     to always fail with ENOSYS.  Some functions are actually named
31125     something starting with __ and the normal name is an alias.  */
31126 #if defined __stub_remove || defined __stub___remove
31127 choke me
31128 #endif
31129
31130 int
31131 main ()
31132 {
31133 return remove ();
31134   ;
31135   return 0;
31136 }
31137 _ACEOF
31138 rm -f conftest.$ac_objext conftest$ac_exeext
31139 if { (ac_try="$ac_link"
31140 case "(($ac_try" in
31141   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31142   *) ac_try_echo=$ac_try;;
31143 esac
31144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31145   (eval "$ac_link") 2>conftest.er1
31146   ac_status=$?
31147   grep -v '^ *+' conftest.er1 >conftest.err
31148   rm -f conftest.er1
31149   cat conftest.err >&5
31150   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31151   (exit $ac_status); } && {
31152          test -z "$ac_c_werror_flag" ||
31153          test ! -s conftest.err
31154        } && test -s conftest$ac_exeext &&
31155        $as_test_x conftest$ac_exeext; then
31156   ac_cv_func_remove=yes
31157 else
31158   echo "$as_me: failed program was:" >&5
31159 sed 's/^/| /' conftest.$ac_ext >&5
31160
31161         ac_cv_func_remove=no
31162 fi
31163
31164 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31165       conftest$ac_exeext conftest.$ac_ext
31166 fi
31167 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
31168 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
31169
31170     if test $ac_cv_func_remove = no; then
31171       { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
31172 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
31173 if test "${ac_cv_lib_posix_remove+set}" = set; then
31174   echo $ECHO_N "(cached) $ECHO_C" >&6
31175 else
31176   ac_check_lib_save_LIBS=$LIBS
31177 LIBS="-lposix  $LIBS"
31178 cat >conftest.$ac_ext <<_ACEOF
31179 /* confdefs.h.  */
31180 _ACEOF
31181 cat confdefs.h >>conftest.$ac_ext
31182 cat >>conftest.$ac_ext <<_ACEOF
31183 /* end confdefs.h.  */
31184
31185 /* Override any GCC internal prototype to avoid an error.
31186    Use char because int might match the return type of a GCC
31187    builtin and then its argument prototype would still apply.  */
31188 #ifdef __cplusplus
31189 extern "C"
31190 #endif
31191 char remove ();
31192 int
31193 main ()
31194 {
31195 return remove ();
31196   ;
31197   return 0;
31198 }
31199 _ACEOF
31200 rm -f conftest.$ac_objext conftest$ac_exeext
31201 if { (ac_try="$ac_link"
31202 case "(($ac_try" in
31203   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31204   *) ac_try_echo=$ac_try;;
31205 esac
31206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31207   (eval "$ac_link") 2>conftest.er1
31208   ac_status=$?
31209   grep -v '^ *+' conftest.er1 >conftest.err
31210   rm -f conftest.er1
31211   cat conftest.err >&5
31212   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31213   (exit $ac_status); } && {
31214          test -z "$ac_c_werror_flag" ||
31215          test ! -s conftest.err
31216        } && test -s conftest$ac_exeext &&
31217        $as_test_x conftest$ac_exeext; then
31218   ac_cv_lib_posix_remove=yes
31219 else
31220   echo "$as_me: failed program was:" >&5
31221 sed 's/^/| /' conftest.$ac_ext >&5
31222
31223         ac_cv_lib_posix_remove=no
31224 fi
31225
31226 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31227       conftest$ac_exeext conftest.$ac_ext
31228 LIBS=$ac_check_lib_save_LIBS
31229 fi
31230 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
31231 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
31232 if test $ac_cv_lib_posix_remove = yes; then
31233   X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
31234 fi
31235
31236     fi
31237
31238     # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
31239     { echo "$as_me:$LINENO: checking for shmat" >&5
31240 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
31241 if test "${ac_cv_func_shmat+set}" = set; then
31242   echo $ECHO_N "(cached) $ECHO_C" >&6
31243 else
31244   cat >conftest.$ac_ext <<_ACEOF
31245 /* confdefs.h.  */
31246 _ACEOF
31247 cat confdefs.h >>conftest.$ac_ext
31248 cat >>conftest.$ac_ext <<_ACEOF
31249 /* end confdefs.h.  */
31250 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
31251    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
31252 #define shmat innocuous_shmat
31253
31254 /* System header to define __stub macros and hopefully few prototypes,
31255     which can conflict with char shmat (); below.
31256     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31257     <limits.h> exists even on freestanding compilers.  */
31258
31259 #ifdef __STDC__
31260 # include <limits.h>
31261 #else
31262 # include <assert.h>
31263 #endif
31264
31265 #undef shmat
31266
31267 /* Override any GCC internal prototype to avoid an error.
31268    Use char because int might match the return type of a GCC
31269    builtin and then its argument prototype would still apply.  */
31270 #ifdef __cplusplus
31271 extern "C"
31272 #endif
31273 char shmat ();
31274 /* The GNU C library defines this for functions which it implements
31275     to always fail with ENOSYS.  Some functions are actually named
31276     something starting with __ and the normal name is an alias.  */
31277 #if defined __stub_shmat || defined __stub___shmat
31278 choke me
31279 #endif
31280
31281 int
31282 main ()
31283 {
31284 return shmat ();
31285   ;
31286   return 0;
31287 }
31288 _ACEOF
31289 rm -f conftest.$ac_objext conftest$ac_exeext
31290 if { (ac_try="$ac_link"
31291 case "(($ac_try" in
31292   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31293   *) ac_try_echo=$ac_try;;
31294 esac
31295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31296   (eval "$ac_link") 2>conftest.er1
31297   ac_status=$?
31298   grep -v '^ *+' conftest.er1 >conftest.err
31299   rm -f conftest.er1
31300   cat conftest.err >&5
31301   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31302   (exit $ac_status); } && {
31303          test -z "$ac_c_werror_flag" ||
31304          test ! -s conftest.err
31305        } && test -s conftest$ac_exeext &&
31306        $as_test_x conftest$ac_exeext; then
31307   ac_cv_func_shmat=yes
31308 else
31309   echo "$as_me: failed program was:" >&5
31310 sed 's/^/| /' conftest.$ac_ext >&5
31311
31312         ac_cv_func_shmat=no
31313 fi
31314
31315 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31316       conftest$ac_exeext conftest.$ac_ext
31317 fi
31318 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
31319 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
31320
31321     if test $ac_cv_func_shmat = no; then
31322       { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
31323 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
31324 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
31325   echo $ECHO_N "(cached) $ECHO_C" >&6
31326 else
31327   ac_check_lib_save_LIBS=$LIBS
31328 LIBS="-lipc  $LIBS"
31329 cat >conftest.$ac_ext <<_ACEOF
31330 /* confdefs.h.  */
31331 _ACEOF
31332 cat confdefs.h >>conftest.$ac_ext
31333 cat >>conftest.$ac_ext <<_ACEOF
31334 /* end confdefs.h.  */
31335
31336 /* Override any GCC internal prototype to avoid an error.
31337    Use char because int might match the return type of a GCC
31338    builtin and then its argument prototype would still apply.  */
31339 #ifdef __cplusplus
31340 extern "C"
31341 #endif
31342 char shmat ();
31343 int
31344 main ()
31345 {
31346 return shmat ();
31347   ;
31348   return 0;
31349 }
31350 _ACEOF
31351 rm -f conftest.$ac_objext conftest$ac_exeext
31352 if { (ac_try="$ac_link"
31353 case "(($ac_try" in
31354   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31355   *) ac_try_echo=$ac_try;;
31356 esac
31357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31358   (eval "$ac_link") 2>conftest.er1
31359   ac_status=$?
31360   grep -v '^ *+' conftest.er1 >conftest.err
31361   rm -f conftest.er1
31362   cat conftest.err >&5
31363   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31364   (exit $ac_status); } && {
31365          test -z "$ac_c_werror_flag" ||
31366          test ! -s conftest.err
31367        } && test -s conftest$ac_exeext &&
31368        $as_test_x conftest$ac_exeext; then
31369   ac_cv_lib_ipc_shmat=yes
31370 else
31371   echo "$as_me: failed program was:" >&5
31372 sed 's/^/| /' conftest.$ac_ext >&5
31373
31374         ac_cv_lib_ipc_shmat=no
31375 fi
31376
31377 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31378       conftest$ac_exeext conftest.$ac_ext
31379 LIBS=$ac_check_lib_save_LIBS
31380 fi
31381 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
31382 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
31383 if test $ac_cv_lib_ipc_shmat = yes; then
31384   X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
31385 fi
31386
31387     fi
31388   fi
31389
31390   # Check for libraries that X11R6 Xt/Xaw programs need.
31391   ac_save_LDFLAGS=$LDFLAGS
31392   test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
31393   # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
31394   # check for ICE first), but we must link in the order -lSM -lICE or
31395   # we get undefined symbols.  So assume we have SM if we have ICE.
31396   # These have to be linked with before -lX11, unlike the other
31397   # libraries we check for below, so use a different variable.
31398   # John Interrante, Karl Berry
31399   { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
31400 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
31401 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
31402   echo $ECHO_N "(cached) $ECHO_C" >&6
31403 else
31404   ac_check_lib_save_LIBS=$LIBS
31405 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
31406 cat >conftest.$ac_ext <<_ACEOF
31407 /* confdefs.h.  */
31408 _ACEOF
31409 cat confdefs.h >>conftest.$ac_ext
31410 cat >>conftest.$ac_ext <<_ACEOF
31411 /* end confdefs.h.  */
31412
31413 /* Override any GCC internal prototype to avoid an error.
31414    Use char because int might match the return type of a GCC
31415    builtin and then its argument prototype would still apply.  */
31416 #ifdef __cplusplus
31417 extern "C"
31418 #endif
31419 char IceConnectionNumber ();
31420 int
31421 main ()
31422 {
31423 return IceConnectionNumber ();
31424   ;
31425   return 0;
31426 }
31427 _ACEOF
31428 rm -f conftest.$ac_objext conftest$ac_exeext
31429 if { (ac_try="$ac_link"
31430 case "(($ac_try" in
31431   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31432   *) ac_try_echo=$ac_try;;
31433 esac
31434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31435   (eval "$ac_link") 2>conftest.er1
31436   ac_status=$?
31437   grep -v '^ *+' conftest.er1 >conftest.err
31438   rm -f conftest.er1
31439   cat conftest.err >&5
31440   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31441   (exit $ac_status); } && {
31442          test -z "$ac_c_werror_flag" ||
31443          test ! -s conftest.err
31444        } && test -s conftest$ac_exeext &&
31445        $as_test_x conftest$ac_exeext; then
31446   ac_cv_lib_ICE_IceConnectionNumber=yes
31447 else
31448   echo "$as_me: failed program was:" >&5
31449 sed 's/^/| /' conftest.$ac_ext >&5
31450
31451         ac_cv_lib_ICE_IceConnectionNumber=no
31452 fi
31453
31454 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31455       conftest$ac_exeext conftest.$ac_ext
31456 LIBS=$ac_check_lib_save_LIBS
31457 fi
31458 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
31459 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
31460 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
31461   X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
31462 fi
31463
31464   LDFLAGS=$ac_save_LDFLAGS
31465
31466 fi
31467
31468
31469         if test "$no_x" = "yes"; then
31470           { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
31471 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
31472    { (exit 1); exit 1; }; }
31473         fi
31474
31475                                 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
31476         TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
31477         AFMINSTALL=afminstall
31478         COMPILED_X_PROGRAM=0
31479
31480     fi
31481
31482     if test "$wxUSE_X11" = 1; then
31483         if test "$wxUSE_NANOX" = "yes"; then
31484             { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
31485 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
31486             if test "x$MICROWIN" = x ; then
31487                 { echo "$as_me:$LINENO: result: not found" >&5
31488 echo "${ECHO_T}not found" >&6; }
31489                 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
31490 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
31491    { (exit 1); exit 1; }; }
31492             else
31493                 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
31494 echo "${ECHO_T}$MICROWIN" >&6; }
31495                 cat >>confdefs.h <<\_ACEOF
31496 #define wxUSE_NANOX 1
31497 _ACEOF
31498
31499             fi
31500         fi
31501
31502         if test "$wxUSE_UNICODE" = "yes"; then
31503
31504
31505 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31506         if test -n "$ac_tool_prefix"; then
31507   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31508 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
31509 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31510 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31511 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31512   echo $ECHO_N "(cached) $ECHO_C" >&6
31513 else
31514   case $PKG_CONFIG in
31515   [\\/]* | ?:[\\/]*)
31516   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
31517   ;;
31518   *)
31519   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31520 for as_dir in $PATH
31521 do
31522   IFS=$as_save_IFS
31523   test -z "$as_dir" && as_dir=.
31524   for ac_exec_ext in '' $ac_executable_extensions; do
31525   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31526     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31527     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31528     break 2
31529   fi
31530 done
31531 done
31532 IFS=$as_save_IFS
31533
31534   ;;
31535 esac
31536 fi
31537 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
31538 if test -n "$PKG_CONFIG"; then
31539   { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31540 echo "${ECHO_T}$PKG_CONFIG" >&6; }
31541 else
31542   { echo "$as_me:$LINENO: result: no" >&5
31543 echo "${ECHO_T}no" >&6; }
31544 fi
31545
31546
31547 fi
31548 if test -z "$ac_cv_path_PKG_CONFIG"; then
31549   ac_pt_PKG_CONFIG=$PKG_CONFIG
31550   # Extract the first word of "pkg-config", so it can be a program name with args.
31551 set dummy pkg-config; ac_word=$2
31552 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31553 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31554 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31555   echo $ECHO_N "(cached) $ECHO_C" >&6
31556 else
31557   case $ac_pt_PKG_CONFIG in
31558   [\\/]* | ?:[\\/]*)
31559   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31560   ;;
31561   *)
31562   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31563 for as_dir in $PATH
31564 do
31565   IFS=$as_save_IFS
31566   test -z "$as_dir" && as_dir=.
31567   for ac_exec_ext in '' $ac_executable_extensions; do
31568   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31569     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31570     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31571     break 2
31572   fi
31573 done
31574 done
31575 IFS=$as_save_IFS
31576
31577   ;;
31578 esac
31579 fi
31580 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
31581 if test -n "$ac_pt_PKG_CONFIG"; then
31582   { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31583 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
31584 else
31585   { echo "$as_me:$LINENO: result: no" >&5
31586 echo "${ECHO_T}no" >&6; }
31587 fi
31588
31589   if test "x$ac_pt_PKG_CONFIG" = x; then
31590     PKG_CONFIG=""
31591   else
31592     case $cross_compiling:$ac_tool_warned in
31593 yes:)
31594 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31595 whose name does not start with the host triplet.  If you think this
31596 configuration is useful to you, please write to autoconf@gnu.org." >&5
31597 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
31598 whose name does not start with the host triplet.  If you think this
31599 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31600 ac_tool_warned=yes ;;
31601 esac
31602     PKG_CONFIG=$ac_pt_PKG_CONFIG
31603   fi
31604 else
31605   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
31606 fi
31607
31608 fi
31609 if test -n "$PKG_CONFIG"; then
31610         _pkg_min_version=0.9.0
31611         { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31612 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31613         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31614                 { echo "$as_me:$LINENO: result: yes" >&5
31615 echo "${ECHO_T}yes" >&6; }
31616         else
31617                 { echo "$as_me:$LINENO: result: no" >&5
31618 echo "${ECHO_T}no" >&6; }
31619                 PKG_CONFIG=""
31620         fi
31621
31622 fi
31623
31624
31625 pkg_failed=no
31626 { echo "$as_me:$LINENO: checking for PANGOX" >&5
31627 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
31628
31629 if test -n "$PKG_CONFIG"; then
31630     if test -n "$PANGOX_CFLAGS"; then
31631         pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
31632     else
31633         if test -n "$PKG_CONFIG" && \
31634     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31635   ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31636   ac_status=$?
31637   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31638   (exit $ac_status); }; then
31639   pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
31640 else
31641   pkg_failed=yes
31642 fi
31643     fi
31644 else
31645         pkg_failed=untried
31646 fi
31647 if test -n "$PKG_CONFIG"; then
31648     if test -n "$PANGOX_LIBS"; then
31649         pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
31650     else
31651         if test -n "$PKG_CONFIG" && \
31652     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31653   ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31654   ac_status=$?
31655   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31656   (exit $ac_status); }; then
31657   pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
31658 else
31659   pkg_failed=yes
31660 fi
31661     fi
31662 else
31663         pkg_failed=untried
31664 fi
31665
31666
31667
31668 if test $pkg_failed = yes; then
31669
31670 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31671         _pkg_short_errors_supported=yes
31672 else
31673         _pkg_short_errors_supported=no
31674 fi
31675         if test $_pkg_short_errors_supported = yes; then
31676                 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
31677         else
31678                 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
31679         fi
31680         # Put the nasty error message in config.log where it belongs
31681         echo "$PANGOX_PKG_ERRORS" >&5
31682
31683
31684                     { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31685 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31686    { (exit 1); exit 1; }; }
31687
31688
31689 elif test $pkg_failed = untried; then
31690
31691                     { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31692 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31693    { (exit 1); exit 1; }; }
31694
31695
31696 else
31697         PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
31698         PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
31699         { echo "$as_me:$LINENO: result: yes" >&5
31700 echo "${ECHO_T}yes" >&6; }
31701
31702                     CFLAGS="$PANGOX_CFLAGS $CFLAGS"
31703                     CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
31704                     GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
31705
31706 fi
31707
31708 pkg_failed=no
31709 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
31710 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
31711
31712 if test -n "$PKG_CONFIG"; then
31713     if test -n "$PANGOFT2_CFLAGS"; then
31714         pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
31715     else
31716         if test -n "$PKG_CONFIG" && \
31717     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31718   ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31719   ac_status=$?
31720   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31721   (exit $ac_status); }; then
31722   pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
31723 else
31724   pkg_failed=yes
31725 fi
31726     fi
31727 else
31728         pkg_failed=untried
31729 fi
31730 if test -n "$PKG_CONFIG"; then
31731     if test -n "$PANGOFT2_LIBS"; then
31732         pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
31733     else
31734         if test -n "$PKG_CONFIG" && \
31735     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31736   ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31737   ac_status=$?
31738   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31739   (exit $ac_status); }; then
31740   pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
31741 else
31742   pkg_failed=yes
31743 fi
31744     fi
31745 else
31746         pkg_failed=untried
31747 fi
31748
31749
31750
31751 if test $pkg_failed = yes; then
31752
31753 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31754         _pkg_short_errors_supported=yes
31755 else
31756         _pkg_short_errors_supported=no
31757 fi
31758         if test $_pkg_short_errors_supported = yes; then
31759                 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
31760         else
31761                 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
31762         fi
31763         # Put the nasty error message in config.log where it belongs
31764         echo "$PANGOFT2_PKG_ERRORS" >&5
31765
31766
31767                     { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31768 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31769                     wxUSE_PRINTING_ARCHITECTURE="no"
31770
31771
31772 elif test $pkg_failed = untried; then
31773
31774                     { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31775 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31776                     wxUSE_PRINTING_ARCHITECTURE="no"
31777
31778
31779 else
31780         PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
31781         PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
31782         { echo "$as_me:$LINENO: result: yes" >&5
31783 echo "${ECHO_T}yes" >&6; }
31784
31785                     CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
31786                     CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
31787                     GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
31788
31789 fi
31790
31791 pkg_failed=no
31792 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
31793 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
31794
31795 if test -n "$PKG_CONFIG"; then
31796     if test -n "$PANGOXFT_CFLAGS"; then
31797         pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
31798     else
31799         if test -n "$PKG_CONFIG" && \
31800     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31801   ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31802   ac_status=$?
31803   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31804   (exit $ac_status); }; then
31805   pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
31806 else
31807   pkg_failed=yes
31808 fi
31809     fi
31810 else
31811         pkg_failed=untried
31812 fi
31813 if test -n "$PKG_CONFIG"; then
31814     if test -n "$PANGOXFT_LIBS"; then
31815         pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
31816     else
31817         if test -n "$PKG_CONFIG" && \
31818     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31819   ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31820   ac_status=$?
31821   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31822   (exit $ac_status); }; then
31823   pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
31824 else
31825   pkg_failed=yes
31826 fi
31827     fi
31828 else
31829         pkg_failed=untried
31830 fi
31831
31832
31833
31834 if test $pkg_failed = yes; then
31835
31836 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31837         _pkg_short_errors_supported=yes
31838 else
31839         _pkg_short_errors_supported=no
31840 fi
31841         if test $_pkg_short_errors_supported = yes; then
31842                 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
31843         else
31844                 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
31845         fi
31846         # Put the nasty error message in config.log where it belongs
31847         echo "$PANGOXFT_PKG_ERRORS" >&5
31848
31849
31850                     { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31851 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31852
31853
31854 elif test $pkg_failed = untried; then
31855
31856                     { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31857 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31858
31859
31860 else
31861         PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
31862         PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
31863         { echo "$as_me:$LINENO: result: yes" >&5
31864 echo "${ECHO_T}yes" >&6; }
31865
31866                     cat >>confdefs.h <<\_ACEOF
31867 #define HAVE_PANGO_XFT 1
31868 _ACEOF
31869
31870                     CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
31871                     CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
31872                     GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
31873
31874 fi
31875             save_LIBS="$LIBS"
31876             LIBS="$LIBS $PANGOX_LIBS"
31877
31878 for ac_func in pango_font_family_is_monospace
31879 do
31880 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31881 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31882 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31883 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31884   echo $ECHO_N "(cached) $ECHO_C" >&6
31885 else
31886   cat >conftest.$ac_ext <<_ACEOF
31887 /* confdefs.h.  */
31888 _ACEOF
31889 cat confdefs.h >>conftest.$ac_ext
31890 cat >>conftest.$ac_ext <<_ACEOF
31891 /* end confdefs.h.  */
31892 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31893    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
31894 #define $ac_func innocuous_$ac_func
31895
31896 /* System header to define __stub macros and hopefully few prototypes,
31897     which can conflict with char $ac_func (); below.
31898     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31899     <limits.h> exists even on freestanding compilers.  */
31900
31901 #ifdef __STDC__
31902 # include <limits.h>
31903 #else
31904 # include <assert.h>
31905 #endif
31906
31907 #undef $ac_func
31908
31909 /* Override any GCC internal prototype to avoid an error.
31910    Use char because int might match the return type of a GCC
31911    builtin and then its argument prototype would still apply.  */
31912 #ifdef __cplusplus
31913 extern "C"
31914 #endif
31915 char $ac_func ();
31916 /* The GNU C library defines this for functions which it implements
31917     to always fail with ENOSYS.  Some functions are actually named
31918     something starting with __ and the normal name is an alias.  */
31919 #if defined __stub_$ac_func || defined __stub___$ac_func
31920 choke me
31921 #endif
31922
31923 int
31924 main ()
31925 {
31926 return $ac_func ();
31927   ;
31928   return 0;
31929 }
31930 _ACEOF
31931 rm -f conftest.$ac_objext conftest$ac_exeext
31932 if { (ac_try="$ac_link"
31933 case "(($ac_try" in
31934   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31935   *) ac_try_echo=$ac_try;;
31936 esac
31937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31938   (eval "$ac_link") 2>conftest.er1
31939   ac_status=$?
31940   grep -v '^ *+' conftest.er1 >conftest.err
31941   rm -f conftest.er1
31942   cat conftest.err >&5
31943   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31944   (exit $ac_status); } && {
31945          test -z "$ac_c_werror_flag" ||
31946          test ! -s conftest.err
31947        } && test -s conftest$ac_exeext &&
31948        $as_test_x conftest$ac_exeext; then
31949   eval "$as_ac_var=yes"
31950 else
31951   echo "$as_me: failed program was:" >&5
31952 sed 's/^/| /' conftest.$ac_ext >&5
31953
31954         eval "$as_ac_var=no"
31955 fi
31956
31957 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31958       conftest$ac_exeext conftest.$ac_ext
31959 fi
31960 ac_res=`eval echo '${'$as_ac_var'}'`
31961                { echo "$as_me:$LINENO: result: $ac_res" >&5
31962 echo "${ECHO_T}$ac_res" >&6; }
31963 if test `eval echo '${'$as_ac_var'}'` = yes; then
31964   cat >>confdefs.h <<_ACEOF
31965 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31966 _ACEOF
31967
31968 fi
31969 done
31970
31971             LIBS="$save_LIBS"
31972         fi
31973
31974         wxUSE_UNIVERSAL="yes"
31975
31976         if test "$wxUSE_NANOX" = "yes"; then
31977             TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
31978             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"
31979             GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
31980         else
31981             GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
31982         fi
31983
31984         TOOLKIT=X11
31985         GUIDIST=X11_DIST
31986     fi
31987
31988     if test "$wxUSE_MOTIF" = 1; then
31989         { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
31990 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
31991
31992 ac_find_includes=
31993 for ac_dir in $SEARCH_INCLUDE /usr/include;
31994   do
31995     if test -f "$ac_dir/Xm/Xm.h"; then
31996       ac_find_includes=$ac_dir
31997       break
31998     fi
31999   done
32000
32001         if test "$ac_find_includes" != "" ; then
32002             { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
32003 echo "${ECHO_T}found in $ac_find_includes" >&6; }
32004
32005     if test "x$ac_find_includes" = "x/usr/include"; then
32006     ac_path_to_include=""
32007   else
32008     echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
32009     result=$?
32010     if test $result = 0; then
32011       ac_path_to_include=""
32012     else
32013       ac_path_to_include=" -I$ac_find_includes"
32014     fi
32015   fi
32016
32017             TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
32018         else
32019             save_CFLAGS=$CFLAGS
32020             CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32021
32022             cat >conftest.$ac_ext <<_ACEOF
32023 /* confdefs.h.  */
32024 _ACEOF
32025 cat confdefs.h >>conftest.$ac_ext
32026 cat >>conftest.$ac_ext <<_ACEOF
32027 /* end confdefs.h.  */
32028
32029                     #include <Xm/Xm.h>
32030
32031 int
32032 main ()
32033 {
32034
32035                     int version;
32036                     version = xmUseVersion;
32037
32038   ;
32039   return 0;
32040 }
32041 _ACEOF
32042 rm -f conftest.$ac_objext
32043 if { (ac_try="$ac_compile"
32044 case "(($ac_try" in
32045   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32046   *) ac_try_echo=$ac_try;;
32047 esac
32048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32049   (eval "$ac_compile") 2>conftest.er1
32050   ac_status=$?
32051   grep -v '^ *+' conftest.er1 >conftest.err
32052   rm -f conftest.er1
32053   cat conftest.err >&5
32054   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32055   (exit $ac_status); } && {
32056          test -z "$ac_c_werror_flag" ||
32057          test ! -s conftest.err
32058        } && test -s conftest.$ac_objext; then
32059
32060                     { echo "$as_me:$LINENO: result: found in default search path" >&5
32061 echo "${ECHO_T}found in default search path" >&6; }
32062                     COMPILED_X_PROGRAM=1
32063
32064 else
32065   echo "$as_me: failed program was:" >&5
32066 sed 's/^/| /' conftest.$ac_ext >&5
32067
32068
32069                     { echo "$as_me:$LINENO: result: no" >&5
32070 echo "${ECHO_T}no" >&6; }
32071                     { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
32072 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
32073    { (exit 1); exit 1; }; }
32074
32075
32076 fi
32077
32078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32079
32080             CFLAGS=$save_CFLAGS
32081         fi
32082
32083
32084         { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
32085 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
32086
32087   ac_find_libraries=
32088   for ac_dir in $SEARCH_LIB;
32089   do
32090     for ac_extension in a so sl dylib dll.a; do
32091       if test -f "$ac_dir/libXm.$ac_extension"; then
32092         ac_find_libraries=$ac_dir
32093         break 2
32094       fi
32095     done
32096   done
32097
32098
32099         if test "x$ac_find_libraries" != "x" ; then
32100             { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32101 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32102
32103
32104     if test "$ac_find_libraries" = "default location"; then
32105     ac_path_to_link=""
32106   else
32107     echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
32108     result=$?
32109     if test $result = 0; then
32110       ac_path_to_link=""
32111     else
32112       ac_path_to_link=" -L$ac_find_libraries"
32113     fi
32114   fi
32115
32116             GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
32117         else
32118                                                 save_CFLAGS=$CFLAGS
32119             CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32120             save_LIBS="$LIBS"
32121             LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
32122
32123             cat >conftest.$ac_ext <<_ACEOF
32124 /* confdefs.h.  */
32125 _ACEOF
32126 cat confdefs.h >>conftest.$ac_ext
32127 cat >>conftest.$ac_ext <<_ACEOF
32128 /* end confdefs.h.  */
32129
32130                     #include <Xm/Xm.h>
32131
32132 int
32133 main ()
32134 {
32135
32136                     int version;
32137                     version = xmUseVersion;
32138
32139   ;
32140   return 0;
32141 }
32142 _ACEOF
32143 rm -f conftest.$ac_objext conftest$ac_exeext
32144 if { (ac_try="$ac_link"
32145 case "(($ac_try" in
32146   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32147   *) ac_try_echo=$ac_try;;
32148 esac
32149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32150   (eval "$ac_link") 2>conftest.er1
32151   ac_status=$?
32152   grep -v '^ *+' conftest.er1 >conftest.err
32153   rm -f conftest.er1
32154   cat conftest.err >&5
32155   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32156   (exit $ac_status); } && {
32157          test -z "$ac_c_werror_flag" ||
32158          test ! -s conftest.err
32159        } && test -s conftest$ac_exeext &&
32160        $as_test_x conftest$ac_exeext; then
32161
32162                     { echo "$as_me:$LINENO: result: found in default search path" >&5
32163 echo "${ECHO_T}found in default search path" >&6; }
32164                     COMPILED_X_PROGRAM=1
32165
32166 else
32167   echo "$as_me: failed program was:" >&5
32168 sed 's/^/| /' conftest.$ac_ext >&5
32169
32170
32171                     { echo "$as_me:$LINENO: result: no" >&5
32172 echo "${ECHO_T}no" >&6; }
32173                     { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
32174 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
32175    { (exit 1); exit 1; }; }
32176
32177
32178 fi
32179
32180 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32181       conftest$ac_exeext conftest.$ac_ext
32182
32183             CFLAGS=$save_CFLAGS
32184             LIBS="$save_LIBS"
32185         fi
32186
32187         { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
32188 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
32189         libp_link=""
32190         libsm_ice_link=""
32191         libs_found=0
32192         for libp in "" " -lXp"; do
32193             if test "$libs_found" = 0; then
32194                 for libsm_ice in "" " -lSM -lICE"; do
32195                     if test "$libs_found" = 0; then
32196                         save_LIBS="$LIBS"
32197                         LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
32198                         save_CFLAGS=$CFLAGS
32199                         CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32200
32201                         cat >conftest.$ac_ext <<_ACEOF
32202 /* confdefs.h.  */
32203 _ACEOF
32204 cat confdefs.h >>conftest.$ac_ext
32205 cat >>conftest.$ac_ext <<_ACEOF
32206 /* end confdefs.h.  */
32207
32208                                 #include <Xm/Xm.h>
32209                                 #include <Xm/List.h>
32210
32211 int
32212 main ()
32213 {
32214
32215                                 XmString string = NULL;
32216                                 Widget w = NULL;
32217                                 int position = 0;
32218                                 XmListAddItem(w, string, position);
32219
32220   ;
32221   return 0;
32222 }
32223 _ACEOF
32224 rm -f conftest.$ac_objext conftest$ac_exeext
32225 if { (ac_try="$ac_link"
32226 case "(($ac_try" in
32227   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32228   *) ac_try_echo=$ac_try;;
32229 esac
32230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32231   (eval "$ac_link") 2>conftest.er1
32232   ac_status=$?
32233   grep -v '^ *+' conftest.er1 >conftest.err
32234   rm -f conftest.er1
32235   cat conftest.err >&5
32236   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32237   (exit $ac_status); } && {
32238          test -z "$ac_c_werror_flag" ||
32239          test ! -s conftest.err
32240        } && test -s conftest$ac_exeext &&
32241        $as_test_x conftest$ac_exeext; then
32242
32243                                 libp_link="$libp"
32244                                 libsm_ice_link="$libsm_ice"
32245                                 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
32246 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
32247                                 libs_found=1
32248
32249 else
32250   echo "$as_me: failed program was:" >&5
32251 sed 's/^/| /' conftest.$ac_ext >&5
32252
32253
32254
32255 fi
32256
32257 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32258       conftest$ac_exeext conftest.$ac_ext
32259
32260                         LIBS="$save_LIBS"
32261                         CFLAGS=$save_CFLAGS
32262                     fi
32263                 done
32264             fi
32265         done
32266
32267         if test "$libs_found" = 0; then
32268             { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
32269 echo "${ECHO_T}can't find the right libraries" >&6; }
32270             { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
32271 echo "$as_me: error: can't link a simple motif program" >&2;}
32272    { (exit 1); exit 1; }; }
32273         fi
32274
32275                         { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
32276 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
32277 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
32278   echo $ECHO_N "(cached) $ECHO_C" >&6
32279 else
32280   ac_check_lib_save_LIBS=$LIBS
32281 LIBS="-lSgm  $LIBS"
32282 cat >conftest.$ac_ext <<_ACEOF
32283 /* confdefs.h.  */
32284 _ACEOF
32285 cat confdefs.h >>conftest.$ac_ext
32286 cat >>conftest.$ac_ext <<_ACEOF
32287 /* end confdefs.h.  */
32288
32289 /* Override any GCC internal prototype to avoid an error.
32290    Use char because int might match the return type of a GCC
32291    builtin and then its argument prototype would still apply.  */
32292 #ifdef __cplusplus
32293 extern "C"
32294 #endif
32295 char SgCreateList ();
32296 int
32297 main ()
32298 {
32299 return SgCreateList ();
32300   ;
32301   return 0;
32302 }
32303 _ACEOF
32304 rm -f conftest.$ac_objext conftest$ac_exeext
32305 if { (ac_try="$ac_link"
32306 case "(($ac_try" in
32307   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32308   *) ac_try_echo=$ac_try;;
32309 esac
32310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32311   (eval "$ac_link") 2>conftest.er1
32312   ac_status=$?
32313   grep -v '^ *+' conftest.er1 >conftest.err
32314   rm -f conftest.er1
32315   cat conftest.err >&5
32316   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32317   (exit $ac_status); } && {
32318          test -z "$ac_c_werror_flag" ||
32319          test ! -s conftest.err
32320        } && test -s conftest$ac_exeext &&
32321        $as_test_x conftest$ac_exeext; then
32322   ac_cv_lib_Sgm_SgCreateList=yes
32323 else
32324   echo "$as_me: failed program was:" >&5
32325 sed 's/^/| /' conftest.$ac_ext >&5
32326
32327         ac_cv_lib_Sgm_SgCreateList=no
32328 fi
32329
32330 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32331       conftest$ac_exeext conftest.$ac_ext
32332 LIBS=$ac_check_lib_save_LIBS
32333 fi
32334 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
32335 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
32336 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
32337   libsgm_link=" -lSgm"
32338 fi
32339
32340
32341         save_CFLAGS=$CFLAGS
32342         CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32343
32344         { echo "$as_me:$LINENO: checking for Motif 2" >&5
32345 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
32346 if test "${wx_cv_lib_motif2+set}" = set; then
32347   echo $ECHO_N "(cached) $ECHO_C" >&6
32348 else
32349   cat >conftest.$ac_ext <<_ACEOF
32350 /* confdefs.h.  */
32351 _ACEOF
32352 cat confdefs.h >>conftest.$ac_ext
32353 cat >>conftest.$ac_ext <<_ACEOF
32354 /* end confdefs.h.  */
32355
32356                             #include <Xm/Xm.h>
32357
32358 int
32359 main ()
32360 {
32361
32362                             #if XmVersion < 2000
32363                             Not Motif 2
32364                             #endif
32365
32366   ;
32367   return 0;
32368 }
32369 _ACEOF
32370 rm -f conftest.$ac_objext
32371 if { (ac_try="$ac_compile"
32372 case "(($ac_try" in
32373   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32374   *) ac_try_echo=$ac_try;;
32375 esac
32376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32377   (eval "$ac_compile") 2>conftest.er1
32378   ac_status=$?
32379   grep -v '^ *+' conftest.er1 >conftest.err
32380   rm -f conftest.er1
32381   cat conftest.err >&5
32382   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32383   (exit $ac_status); } && {
32384          test -z "$ac_c_werror_flag" ||
32385          test ! -s conftest.err
32386        } && test -s conftest.$ac_objext; then
32387   wx_cv_lib_motif2="yes"
32388 else
32389   echo "$as_me: failed program was:" >&5
32390 sed 's/^/| /' conftest.$ac_ext >&5
32391
32392         wx_cv_lib_motif2="no"
32393 fi
32394
32395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32396 fi
32397 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
32398 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
32399         if test "$wx_cv_lib_motif2" = "yes"; then
32400             cat >>confdefs.h <<\_ACEOF
32401 #define __WXMOTIF20__ 1
32402 _ACEOF
32403
32404         else
32405             cat >>confdefs.h <<\_ACEOF
32406 #define __WXMOTIF20__ 0
32407 _ACEOF
32408
32409         fi
32410
32411         { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
32412 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
32413 if test "${wx_cv_lib_lesstif+set}" = set; then
32414   echo $ECHO_N "(cached) $ECHO_C" >&6
32415 else
32416   cat >conftest.$ac_ext <<_ACEOF
32417 /* confdefs.h.  */
32418 _ACEOF
32419 cat confdefs.h >>conftest.$ac_ext
32420 cat >>conftest.$ac_ext <<_ACEOF
32421 /* end confdefs.h.  */
32422
32423                             #include <Xm/Xm.h>
32424
32425 int
32426 main ()
32427 {
32428
32429                             #if !defined(LesstifVersion) || LesstifVersion <= 0
32430                             Not Lesstif
32431                             #endif
32432
32433   ;
32434   return 0;
32435 }
32436 _ACEOF
32437 rm -f conftest.$ac_objext
32438 if { (ac_try="$ac_compile"
32439 case "(($ac_try" in
32440   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32441   *) ac_try_echo=$ac_try;;
32442 esac
32443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32444   (eval "$ac_compile") 2>conftest.er1
32445   ac_status=$?
32446   grep -v '^ *+' conftest.er1 >conftest.err
32447   rm -f conftest.er1
32448   cat conftest.err >&5
32449   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32450   (exit $ac_status); } && {
32451          test -z "$ac_c_werror_flag" ||
32452          test ! -s conftest.err
32453        } && test -s conftest.$ac_objext; then
32454   wx_cv_lib_lesstif="yes"
32455 else
32456   echo "$as_me: failed program was:" >&5
32457 sed 's/^/| /' conftest.$ac_ext >&5
32458
32459         wx_cv_lib_lesstif="no"
32460 fi
32461
32462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32463
32464 fi
32465 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
32466 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
32467         if test "$wx_cv_lib_lesstif" = "yes"; then
32468             cat >>confdefs.h <<\_ACEOF
32469 #define __WXLESSTIF__ 1
32470 _ACEOF
32471
32472         else
32473             cat >>confdefs.h <<\_ACEOF
32474 #define __WXLESSTIF__ 0
32475 _ACEOF
32476
32477         fi
32478
32479         CFLAGS=$save_CFLAGS
32480
32481         GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
32482         TOOLKIT=MOTIF
32483         GUIDIST=MOTIF_DIST
32484     fi
32485
32486         if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
32487                 if test "$wxUSE_LIBXPM" = "sys"; then
32488             { echo "$as_me:$LINENO: checking for Xpm library" >&5
32489 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
32490
32491   ac_find_libraries=
32492   for ac_dir in $SEARCH_LIB;
32493   do
32494     for ac_extension in a so sl dylib dll.a; do
32495       if test -f "$ac_dir/libXpm.$ac_extension"; then
32496         ac_find_libraries=$ac_dir
32497         break 2
32498       fi
32499     done
32500   done
32501
32502             if test "$ac_find_libraries" != "" ; then
32503
32504     if test "$ac_find_libraries" = "default location"; then
32505     ac_path_to_link=""
32506   else
32507     echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
32508     result=$?
32509     if test $result = 0; then
32510       ac_path_to_link=""
32511     else
32512       ac_path_to_link=" -L$ac_find_libraries"
32513     fi
32514   fi
32515
32516                 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
32517                 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32518 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32519
32520                 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
32521 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
32522 if test "${wx_cv_x11_xpm_h+set}" = set; then
32523   echo $ECHO_N "(cached) $ECHO_C" >&6
32524 else
32525
32526                         save_CFLAGS=$CFLAGS
32527                         CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32528
32529                         cat >conftest.$ac_ext <<_ACEOF
32530 /* confdefs.h.  */
32531 _ACEOF
32532 cat confdefs.h >>conftest.$ac_ext
32533 cat >>conftest.$ac_ext <<_ACEOF
32534 /* end confdefs.h.  */
32535
32536                                 #include <X11/xpm.h>
32537
32538 int
32539 main ()
32540 {
32541
32542                                 int version;
32543                                 version = XpmLibraryVersion();
32544
32545   ;
32546   return 0;
32547 }
32548 _ACEOF
32549 rm -f conftest.$ac_objext
32550 if { (ac_try="$ac_compile"
32551 case "(($ac_try" in
32552   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32553   *) ac_try_echo=$ac_try;;
32554 esac
32555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32556   (eval "$ac_compile") 2>conftest.er1
32557   ac_status=$?
32558   grep -v '^ *+' conftest.er1 >conftest.err
32559   rm -f conftest.er1
32560   cat conftest.err >&5
32561   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32562   (exit $ac_status); } && {
32563          test -z "$ac_c_werror_flag" ||
32564          test ! -s conftest.err
32565        } && test -s conftest.$ac_objext; then
32566   wx_cv_x11_xpm_h=yes
32567 else
32568   echo "$as_me: failed program was:" >&5
32569 sed 's/^/| /' conftest.$ac_ext >&5
32570
32571         wx_cv_x11_xpm_h=no
32572
32573 fi
32574
32575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32576
32577                         CFLAGS=$save_CFLAGS
32578
32579
32580 fi
32581 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
32582 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
32583
32584                 if test $wx_cv_x11_xpm_h = "yes"; then
32585                     GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
32586                     cat >>confdefs.h <<\_ACEOF
32587 #define wxHAVE_LIB_XPM 1
32588 _ACEOF
32589
32590                 else
32591                     { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
32592 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
32593                 fi
32594             fi
32595
32596         fi
32597
32598                 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
32599 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
32600 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
32601   echo $ECHO_N "(cached) $ECHO_C" >&6
32602 else
32603   ac_check_lib_save_LIBS=$LIBS
32604 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
32605 cat >conftest.$ac_ext <<_ACEOF
32606 /* confdefs.h.  */
32607 _ACEOF
32608 cat confdefs.h >>conftest.$ac_ext
32609 cat >>conftest.$ac_ext <<_ACEOF
32610 /* end confdefs.h.  */
32611
32612 /* Override any GCC internal prototype to avoid an error.
32613    Use char because int might match the return type of a GCC
32614    builtin and then its argument prototype would still apply.  */
32615 #ifdef __cplusplus
32616 extern "C"
32617 #endif
32618 char XShapeQueryExtension ();
32619 int
32620 main ()
32621 {
32622 return XShapeQueryExtension ();
32623   ;
32624   return 0;
32625 }
32626 _ACEOF
32627 rm -f conftest.$ac_objext conftest$ac_exeext
32628 if { (ac_try="$ac_link"
32629 case "(($ac_try" in
32630   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32631   *) ac_try_echo=$ac_try;;
32632 esac
32633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32634   (eval "$ac_link") 2>conftest.er1
32635   ac_status=$?
32636   grep -v '^ *+' conftest.er1 >conftest.err
32637   rm -f conftest.er1
32638   cat conftest.err >&5
32639   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32640   (exit $ac_status); } && {
32641          test -z "$ac_c_werror_flag" ||
32642          test ! -s conftest.err
32643        } && test -s conftest$ac_exeext &&
32644        $as_test_x conftest$ac_exeext; then
32645   ac_cv_lib_Xext_XShapeQueryExtension=yes
32646 else
32647   echo "$as_me: failed program was:" >&5
32648 sed 's/^/| /' conftest.$ac_ext >&5
32649
32650         ac_cv_lib_Xext_XShapeQueryExtension=no
32651 fi
32652
32653 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32654       conftest$ac_exeext conftest.$ac_ext
32655 LIBS=$ac_check_lib_save_LIBS
32656 fi
32657 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
32658 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
32659 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
32660
32661                       GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
32662                       wxHAVE_XEXT_LIB=1
32663
32664 fi
32665
32666
32667         if test "$wxHAVE_XEXT_LIB" = 1; then
32668             save_CFLAGS="$CFLAGS"
32669             CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32670
32671             { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
32672 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
32673             cat >conftest.$ac_ext <<_ACEOF
32674 /* confdefs.h.  */
32675 _ACEOF
32676 cat confdefs.h >>conftest.$ac_ext
32677 cat >>conftest.$ac_ext <<_ACEOF
32678 /* end confdefs.h.  */
32679
32680                             #include <X11/Xlib.h>
32681                             #include <X11/extensions/shape.h>
32682
32683 int
32684 main ()
32685 {
32686
32687                             int dummy1, dummy2;
32688                             XShapeQueryExtension((Display*)NULL,
32689                                                  (int*)NULL, (int*)NULL);
32690
32691   ;
32692   return 0;
32693 }
32694 _ACEOF
32695 rm -f conftest.$ac_objext
32696 if { (ac_try="$ac_compile"
32697 case "(($ac_try" in
32698   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32699   *) ac_try_echo=$ac_try;;
32700 esac
32701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32702   (eval "$ac_compile") 2>conftest.er1
32703   ac_status=$?
32704   grep -v '^ *+' conftest.er1 >conftest.err
32705   rm -f conftest.er1
32706   cat conftest.err >&5
32707   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32708   (exit $ac_status); } && {
32709          test -z "$ac_c_werror_flag" ||
32710          test ! -s conftest.err
32711        } && test -s conftest.$ac_objext; then
32712
32713                             cat >>confdefs.h <<\_ACEOF
32714 #define HAVE_XSHAPE 1
32715 _ACEOF
32716
32717                             { echo "$as_me:$LINENO: result: found" >&5
32718 echo "${ECHO_T}found" >&6; }
32719
32720 else
32721   echo "$as_me: failed program was:" >&5
32722 sed 's/^/| /' conftest.$ac_ext >&5
32723
32724
32725                             { echo "$as_me:$LINENO: result: not found" >&5
32726 echo "${ECHO_T}not found" >&6; }
32727
32728 fi
32729
32730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32731             CFLAGS="$save_CFLAGS"
32732
32733         fi
32734     fi
32735
32736     if test "$wxUSE_OSX_CARBON" = 1; then
32737         { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
32738 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
32739         if test "$GCC" = yes; then
32740             { echo "$as_me:$LINENO: result: gcc" >&5
32741 echo "${ECHO_T}gcc" >&6; }
32742             CPPFLAGS_PASCAL="-fpascal-strings"
32743         elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
32744             { echo "$as_me:$LINENO: result: xlc" >&5
32745 echo "${ECHO_T}xlc" >&6; }
32746             CPPFLAGS_PASCAL="-qmacpstr"
32747         else
32748             { echo "$as_me:$LINENO: result: none" >&5
32749 echo "${ECHO_T}none" >&6; }
32750         fi
32751
32752         if test "x$wxUSE_UNIX" = "xyes"; then
32753             CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
32754         else
32755                         CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
32756         fi
32757
32758         TOOLKIT=OSX_CARBON
32759                 GUIDIST=OSX_CARBON_DIST
32760                         WXBASEPORT="_carbon"
32761     fi
32762
32763     if test "$wxUSE_OSX_COCOA" = 1; then
32764         TOOLKIT=OSX_COCOA
32765         GUIDIST=OSX_COCOA_DIST
32766     fi
32767
32768     if test "$wxUSE_COCOA" = 1; then
32769         TOOLKIT=COCOA
32770         GUIDIST=COCOA_DIST
32771     fi
32772
32773     if test "$wxUSE_PM" = 1; then
32774         TOOLKIT=PM
32775         GUIDIST=PM_DIST
32776         { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
32777 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
32778 if test "${wx_cv_spbcdata+set}" = set; then
32779   echo $ECHO_N "(cached) $ECHO_C" >&6
32780 else
32781
32782                 cat >conftest.$ac_ext <<_ACEOF
32783 /* confdefs.h.  */
32784 _ACEOF
32785 cat confdefs.h >>conftest.$ac_ext
32786 cat >>conftest.$ac_ext <<_ACEOF
32787 /* end confdefs.h.  */
32788
32789                         #define INCL_PM
32790                         #include <os2.h>
32791
32792 int
32793 main ()
32794 {
32795
32796                         SPBCDATA test;
32797
32798   ;
32799   return 0;
32800 }
32801 _ACEOF
32802 rm -f conftest.$ac_objext
32803 if { (ac_try="$ac_compile"
32804 case "(($ac_try" in
32805   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32806   *) ac_try_echo=$ac_try;;
32807 esac
32808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32809   (eval "$ac_compile") 2>conftest.er1
32810   ac_status=$?
32811   grep -v '^ *+' conftest.er1 >conftest.err
32812   rm -f conftest.er1
32813   cat conftest.err >&5
32814   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32815   (exit $ac_status); } && {
32816          test -z "$ac_c_werror_flag" ||
32817          test ! -s conftest.err
32818        } && test -s conftest.$ac_objext; then
32819   wx_cv_spbcdata=yes
32820 else
32821   echo "$as_me: failed program was:" >&5
32822 sed 's/^/| /' conftest.$ac_ext >&5
32823
32824         wx_cv_spbcdata=no
32825
32826 fi
32827
32828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32829
32830
32831 fi
32832 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
32833 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
32834
32835         if test $wx_cv_spbcdata = "yes"; then
32836             cat >>confdefs.h <<\_ACEOF
32837 #define HAVE_SPBCDATA 1
32838 _ACEOF
32839
32840         fi
32841     fi
32842
32843         if test "$TOOLKIT" = "PM" ; then
32844         TOOLKIT_DIR="os2"
32845     else
32846         TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
32847     fi
32848
32849     if test "$wxUSE_UNIVERSAL" = "yes"; then
32850         TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
32851         WIDGET_SET=univ
32852     fi
32853
32854         GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
32855     DISTDIR="wx\$(TOOLKIT)"
32856 else
32857     USE_GUI=0
32858
32859             TOOLKIT_DIR="base"
32860
32861         if test "$USE_WIN32" = 1 ; then
32862                         TOOLKIT="MSW"
32863     fi
32864
32865         GUIDIST="BASE_DIST"
32866     DISTDIR="wxBase"
32867 fi
32868
32869
32870
32871 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
32872     if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
32873         wxUSE_UNICODE_UTF8=yes
32874     elif test "$USE_OS2" = 1 ; then
32875                                 wxUSE_UNICODE_UTF8=yes
32876     else
32877         wxUSE_UNICODE_UTF8=no
32878     fi
32879 fi
32880
32881
32882 if test "$wxUSE_GUI" = "yes"; then
32883     if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
32884
32885 for ac_header in X11/Xlib.h
32886 do
32887 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32888 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32889 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32890 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32891   echo $ECHO_N "(cached) $ECHO_C" >&6
32892 else
32893   cat >conftest.$ac_ext <<_ACEOF
32894 /* confdefs.h.  */
32895 _ACEOF
32896 cat confdefs.h >>conftest.$ac_ext
32897 cat >>conftest.$ac_ext <<_ACEOF
32898 /* end confdefs.h.  */
32899
32900
32901 #include <$ac_header>
32902 _ACEOF
32903 rm -f conftest.$ac_objext
32904 if { (ac_try="$ac_compile"
32905 case "(($ac_try" in
32906   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32907   *) ac_try_echo=$ac_try;;
32908 esac
32909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32910   (eval "$ac_compile") 2>conftest.er1
32911   ac_status=$?
32912   grep -v '^ *+' conftest.er1 >conftest.err
32913   rm -f conftest.er1
32914   cat conftest.err >&5
32915   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32916   (exit $ac_status); } && {
32917          test -z "$ac_c_werror_flag" ||
32918          test ! -s conftest.err
32919        } && test -s conftest.$ac_objext; then
32920   eval "$as_ac_Header=yes"
32921 else
32922   echo "$as_me: failed program was:" >&5
32923 sed 's/^/| /' conftest.$ac_ext >&5
32924
32925         eval "$as_ac_Header=no"
32926 fi
32927
32928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32929 fi
32930 ac_res=`eval echo '${'$as_ac_Header'}'`
32931                { echo "$as_me:$LINENO: result: $ac_res" >&5
32932 echo "${ECHO_T}$ac_res" >&6; }
32933 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32934   cat >>confdefs.h <<_ACEOF
32935 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32936 _ACEOF
32937
32938 fi
32939
32940 done
32941
32942
32943 for ac_header in X11/XKBlib.h
32944 do
32945 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32946 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32947 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32948 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32949   echo $ECHO_N "(cached) $ECHO_C" >&6
32950 else
32951   cat >conftest.$ac_ext <<_ACEOF
32952 /* confdefs.h.  */
32953 _ACEOF
32954 cat confdefs.h >>conftest.$ac_ext
32955 cat >>conftest.$ac_ext <<_ACEOF
32956 /* end confdefs.h.  */
32957
32958                           #if HAVE_X11_XLIB_H
32959                             #include <X11/Xlib.h>
32960                           #endif
32961
32962
32963 #include <$ac_header>
32964 _ACEOF
32965 rm -f conftest.$ac_objext
32966 if { (ac_try="$ac_compile"
32967 case "(($ac_try" in
32968   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32969   *) ac_try_echo=$ac_try;;
32970 esac
32971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32972   (eval "$ac_compile") 2>conftest.er1
32973   ac_status=$?
32974   grep -v '^ *+' conftest.er1 >conftest.err
32975   rm -f conftest.er1
32976   cat conftest.err >&5
32977   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32978   (exit $ac_status); } && {
32979          test -z "$ac_c_werror_flag" ||
32980          test ! -s conftest.err
32981        } && test -s conftest.$ac_objext; then
32982   eval "$as_ac_Header=yes"
32983 else
32984   echo "$as_me: failed program was:" >&5
32985 sed 's/^/| /' conftest.$ac_ext >&5
32986
32987         eval "$as_ac_Header=no"
32988 fi
32989
32990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32991 fi
32992 ac_res=`eval echo '${'$as_ac_Header'}'`
32993                { echo "$as_me:$LINENO: result: $ac_res" >&5
32994 echo "${ECHO_T}$ac_res" >&6; }
32995 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32996   cat >>confdefs.h <<_ACEOF
32997 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32998 _ACEOF
32999
33000 fi
33001
33002 done
33003
33004     fi
33005 fi
33006
33007
33008
33009 if test "$wxUSE_DISPLAY" = "yes"; then
33010     if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
33011         { echo "$as_me:$LINENO: checking for Xinerama" >&5
33012 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
33013
33014   ac_find_libraries=
33015   for ac_dir in $SEARCH_LIB;
33016   do
33017     for ac_extension in a so sl dylib dll.a; do
33018       if test -f "$ac_dir/libXinerama.$ac_extension"; then
33019         ac_find_libraries=$ac_dir
33020         break 2
33021       fi
33022     done
33023   done
33024
33025         if test "$ac_find_libraries" != "" ; then
33026
33027     if test "$ac_find_libraries" = "default location"; then
33028     ac_path_to_link=""
33029   else
33030     echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33031     result=$?
33032     if test $result = 0; then
33033       ac_path_to_link=""
33034     else
33035       ac_path_to_link=" -L$ac_find_libraries"
33036     fi
33037   fi
33038
33039             if test "$ac_path_to_link" != " -L/usr/lib" ; then
33040                 LDFLAGS="$LDFLAGS $ac_path_to_link"
33041             fi
33042             GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
33043             { echo "$as_me:$LINENO: result: yes" >&5
33044 echo "${ECHO_T}yes" >&6; }
33045
33046             { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
33047 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
33048
33049   ac_find_libraries=
33050   for ac_dir in $SEARCH_LIB;
33051   do
33052     for ac_extension in a so sl dylib dll.a; do
33053       if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
33054         ac_find_libraries=$ac_dir
33055         break 2
33056       fi
33057     done
33058   done
33059
33060             if test "$ac_find_libraries" != "" ; then
33061                 { echo "$as_me:$LINENO: result: yes" >&5
33062 echo "${ECHO_T}yes" >&6; }
33063
33064 for ac_header in X11/extensions/xf86vmode.h
33065 do
33066 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33067 { echo "$as_me:$LINENO: checking for $ac_header" >&5
33068 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
33069 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
33070   echo $ECHO_N "(cached) $ECHO_C" >&6
33071 else
33072   cat >conftest.$ac_ext <<_ACEOF
33073 /* confdefs.h.  */
33074 _ACEOF
33075 cat confdefs.h >>conftest.$ac_ext
33076 cat >>conftest.$ac_ext <<_ACEOF
33077 /* end confdefs.h.  */
33078
33079                                       #if HAVE_X11_XLIB_H
33080                                         #include <X11/Xlib.h>
33081                                       #endif
33082
33083
33084 #include <$ac_header>
33085 _ACEOF
33086 rm -f conftest.$ac_objext
33087 if { (ac_try="$ac_compile"
33088 case "(($ac_try" in
33089   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33090   *) ac_try_echo=$ac_try;;
33091 esac
33092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33093   (eval "$ac_compile") 2>conftest.er1
33094   ac_status=$?
33095   grep -v '^ *+' conftest.er1 >conftest.err
33096   rm -f conftest.er1
33097   cat conftest.err >&5
33098   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33099   (exit $ac_status); } && {
33100          test -z "$ac_c_werror_flag" ||
33101          test ! -s conftest.err
33102        } && test -s conftest.$ac_objext; then
33103   eval "$as_ac_Header=yes"
33104 else
33105   echo "$as_me: failed program was:" >&5
33106 sed 's/^/| /' conftest.$ac_ext >&5
33107
33108         eval "$as_ac_Header=no"
33109 fi
33110
33111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33112 fi
33113 ac_res=`eval echo '${'$as_ac_Header'}'`
33114                { echo "$as_me:$LINENO: result: $ac_res" >&5
33115 echo "${ECHO_T}$ac_res" >&6; }
33116 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33117   cat >>confdefs.h <<_ACEOF
33118 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33119 _ACEOF
33120
33121                                   GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
33122
33123 fi
33124
33125 done
33126
33127             else
33128                 { echo "$as_me:$LINENO: result: no" >&5
33129 echo "${ECHO_T}no" >&6; }
33130             fi
33131
33132         else
33133             { echo "$as_me:$LINENO: result: no" >&5
33134 echo "${ECHO_T}no" >&6; }
33135             { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
33136 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
33137             wxUSE_DISPLAY="no"
33138         fi
33139     elif test "$wxUSE_MSW" = 1; then
33140         { echo "$as_me:$LINENO: checking for ddraw.h" >&5
33141 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
33142 if test "${ac_cv_header_ddraw_h+set}" = set; then
33143   echo $ECHO_N "(cached) $ECHO_C" >&6
33144 else
33145   cat >conftest.$ac_ext <<_ACEOF
33146 /* confdefs.h.  */
33147 _ACEOF
33148 cat confdefs.h >>conftest.$ac_ext
33149 cat >>conftest.$ac_ext <<_ACEOF
33150 /* end confdefs.h.  */
33151 #include <windows.h>
33152
33153 #include <ddraw.h>
33154 _ACEOF
33155 rm -f conftest.$ac_objext
33156 if { (ac_try="$ac_compile"
33157 case "(($ac_try" in
33158   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33159   *) ac_try_echo=$ac_try;;
33160 esac
33161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33162   (eval "$ac_compile") 2>conftest.er1
33163   ac_status=$?
33164   grep -v '^ *+' conftest.er1 >conftest.err
33165   rm -f conftest.er1
33166   cat conftest.err >&5
33167   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33168   (exit $ac_status); } && {
33169          test -z "$ac_c_werror_flag" ||
33170          test ! -s conftest.err
33171        } && test -s conftest.$ac_objext; then
33172   ac_cv_header_ddraw_h=yes
33173 else
33174   echo "$as_me: failed program was:" >&5
33175 sed 's/^/| /' conftest.$ac_ext >&5
33176
33177         ac_cv_header_ddraw_h=no
33178 fi
33179
33180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33181 fi
33182 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
33183 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
33184
33185
33186     fi
33187 fi
33188
33189 if test "$wxUSE_DETECT_SM" = "yes"; then
33190     if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
33191         { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
33192 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
33193
33194   ac_find_libraries=
33195   for ac_dir in $SEARCH_LIB;
33196   do
33197     for ac_extension in a so sl dylib dll.a; do
33198       if test -f "$ac_dir/libSM.$ac_extension"; then
33199         ac_find_libraries=$ac_dir
33200         break 2
33201       fi
33202     done
33203   done
33204
33205         if test "$ac_find_libraries" != "" ; then
33206
33207     if test "$ac_find_libraries" = "default location"; then
33208     ac_path_to_link=""
33209   else
33210     echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33211     result=$?
33212     if test $result = 0; then
33213       ac_path_to_link=""
33214     else
33215       ac_path_to_link=" -L$ac_find_libraries"
33216     fi
33217   fi
33218
33219             if test "$ac_path_to_link" != " -L/usr/lib" ; then
33220                 LDFLAGS="$LDFLAGS $ac_path_to_link"
33221             fi
33222             GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
33223             { echo "$as_me:$LINENO: result: yes" >&5
33224 echo "${ECHO_T}yes" >&6; }
33225         else
33226             { echo "$as_me:$LINENO: result: no" >&5
33227 echo "${ECHO_T}no" >&6; }
33228             { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
33229 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
33230             wxUSE_DETECT_SM="no"
33231         fi
33232     else
33233         wxUSE_DETECT_SM="no"
33234     fi
33235 fi
33236
33237
33238
33239 USE_OPENGL=0
33240 if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then
33241
33242
33243     if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_COCOA" = 1; then
33244         OPENGL_LIBS="-framework OpenGL -framework AGL"
33245     elif test "$wxUSE_MSW" = 1; then
33246         OPENGL_LIBS="-lopengl32 -lglu32"
33247     elif test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK2" = 1 -o "$wxUSE_GTK" = 1; then
33248
33249                         { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
33250 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
33251
33252 ac_find_includes=
33253 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
33254   do
33255     if test -f "$ac_dir/GL/gl.h"; then
33256       ac_find_includes=$ac_dir
33257       break
33258     fi
33259   done
33260
33261         if test "$ac_find_includes" != "" ; then
33262             { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33263 echo "${ECHO_T}found in $ac_find_includes" >&6; }
33264
33265     if test "x$ac_find_includes" = "x/usr/include"; then
33266     ac_path_to_include=""
33267   else
33268     echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
33269     result=$?
33270     if test $result = 0; then
33271       ac_path_to_include=""
33272     else
33273       ac_path_to_include=" -I$ac_find_includes"
33274     fi
33275   fi
33276
33277             CPPFLAGS="$ac_path_to_include $CPPFLAGS"
33278         else
33279             { echo "$as_me:$LINENO: result: not found" >&5
33280 echo "${ECHO_T}not found" >&6; }
33281         fi
33282
33283         { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
33284 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
33285 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33286   echo $ECHO_N "(cached) $ECHO_C" >&6
33287 else
33288   cat >conftest.$ac_ext <<_ACEOF
33289 /* confdefs.h.  */
33290 _ACEOF
33291 cat confdefs.h >>conftest.$ac_ext
33292 cat >>conftest.$ac_ext <<_ACEOF
33293 /* end confdefs.h.  */
33294
33295
33296 #include <GL/gl.h>
33297 _ACEOF
33298 rm -f conftest.$ac_objext
33299 if { (ac_try="$ac_compile"
33300 case "(($ac_try" in
33301   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33302   *) ac_try_echo=$ac_try;;
33303 esac
33304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33305   (eval "$ac_compile") 2>conftest.er1
33306   ac_status=$?
33307   grep -v '^ *+' conftest.er1 >conftest.err
33308   rm -f conftest.er1
33309   cat conftest.err >&5
33310   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33311   (exit $ac_status); } && {
33312          test -z "$ac_c_werror_flag" ||
33313          test ! -s conftest.err
33314        } && test -s conftest.$ac_objext; then
33315   ac_cv_header_GL_gl_h=yes
33316 else
33317   echo "$as_me: failed program was:" >&5
33318 sed 's/^/| /' conftest.$ac_ext >&5
33319
33320         ac_cv_header_GL_gl_h=no
33321 fi
33322
33323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33324 fi
33325 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
33326 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
33327 if test $ac_cv_header_GL_gl_h = yes; then
33328
33329             { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
33330 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
33331 if test "${ac_cv_header_GL_glu_h+set}" = set; then
33332   echo $ECHO_N "(cached) $ECHO_C" >&6
33333 else
33334   cat >conftest.$ac_ext <<_ACEOF
33335 /* confdefs.h.  */
33336 _ACEOF
33337 cat confdefs.h >>conftest.$ac_ext
33338 cat >>conftest.$ac_ext <<_ACEOF
33339 /* end confdefs.h.  */
33340
33341
33342 #include <GL/glu.h>
33343 _ACEOF
33344 rm -f conftest.$ac_objext
33345 if { (ac_try="$ac_compile"
33346 case "(($ac_try" in
33347   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33348   *) ac_try_echo=$ac_try;;
33349 esac
33350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33351   (eval "$ac_compile") 2>conftest.er1
33352   ac_status=$?
33353   grep -v '^ *+' conftest.er1 >conftest.err
33354   rm -f conftest.er1
33355   cat conftest.err >&5
33356   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33357   (exit $ac_status); } && {
33358          test -z "$ac_c_werror_flag" ||
33359          test ! -s conftest.err
33360        } && test -s conftest.$ac_objext; then
33361   ac_cv_header_GL_glu_h=yes
33362 else
33363   echo "$as_me: failed program was:" >&5
33364 sed 's/^/| /' conftest.$ac_ext >&5
33365
33366         ac_cv_header_GL_glu_h=no
33367 fi
33368
33369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33370 fi
33371 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
33372 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
33373 if test $ac_cv_header_GL_glu_h = yes; then
33374
33375                 found_gl=0
33376
33377                 { echo "$as_me:$LINENO: checking for -lGL" >&5
33378 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
33379
33380   ac_find_libraries=
33381   for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
33382   do
33383     for ac_extension in a so sl dylib dll.a; do
33384       if test -f "$ac_dir/libGL.$ac_extension"; then
33385         ac_find_libraries=$ac_dir
33386         break 2
33387       fi
33388     done
33389   done
33390
33391                 if test "$ac_find_libraries" != "" ; then
33392                     { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33393 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33394
33395
33396     if test "$ac_find_libraries" = "default location"; then
33397     ac_path_to_link=""
33398   else
33399     echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33400     result=$?
33401     if test $result = 0; then
33402       ac_path_to_link=""
33403     else
33404       ac_path_to_link=" -L$ac_find_libraries"
33405     fi
33406   fi
33407
33408                     if test "$ac_path_to_link" != " -L/usr/lib" ; then
33409                         LDFLAGS_GL="$ac_path_to_link"
33410                     fi
33411
33412                                                                                 { echo "$as_me:$LINENO: checking for -lGLU" >&5
33413 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
33414
33415   ac_find_libraries=
33416   for ac_dir in $SEARCH_LIB;
33417   do
33418     for ac_extension in a so sl dylib dll.a; do
33419       if test -f "$ac_dir/libGLU.$ac_extension"; then
33420         ac_find_libraries=$ac_dir
33421         break 2
33422       fi
33423     done
33424   done
33425
33426                     if test "$ac_find_libraries" != "" ; then
33427
33428     if test "$ac_find_libraries" = "default location"; then
33429     ac_path_to_link=""
33430   else
33431     echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33432     result=$?
33433     if test $result = 0; then
33434       ac_path_to_link=""
33435     else
33436       ac_path_to_link=" -L$ac_find_libraries"
33437     fi
33438   fi
33439
33440                         if test "$ac_path_to_link" != " -L/usr/lib" -a \
33441                                     "$ac_path_to_link" != "$LDFLAGS_GL"; then
33442                             LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
33443                         fi
33444
33445                         found_gl=1
33446                         OPENGL_LIBS="-lGL -lGLU"
33447                         { echo "$as_me:$LINENO: result: yes" >&5
33448 echo "${ECHO_T}yes" >&6; }
33449                     else
33450                         { echo "$as_me:$LINENO: result: no" >&5
33451 echo "${ECHO_T}no" >&6; }
33452                     fi
33453                 else
33454                     { echo "$as_me:$LINENO: result: no" >&5
33455 echo "${ECHO_T}no" >&6; }
33456                 fi
33457
33458                 if test "$found_gl" != 1; then
33459                     { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
33460 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
33461
33462   ac_find_libraries=
33463   for ac_dir in $SEARCH_LIB;
33464   do
33465     for ac_extension in a so sl dylib dll.a; do
33466       if test -f "$ac_dir/libMesaGL.$ac_extension"; then
33467         ac_find_libraries=$ac_dir
33468         break 2
33469       fi
33470     done
33471   done
33472
33473                     if test "$ac_find_libraries" != "" ; then
33474
33475     if test "$ac_find_libraries" = "default location"; then
33476     ac_path_to_link=""
33477   else
33478     echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33479     result=$?
33480     if test $result = 0; then
33481       ac_path_to_link=""
33482     else
33483       ac_path_to_link=" -L$ac_find_libraries"
33484     fi
33485   fi
33486
33487                         LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
33488                         OPENGL_LIBS="-lMesaGL -lMesaGLU"
33489                         { echo "$as_me:$LINENO: result: yes" >&5
33490 echo "${ECHO_T}yes" >&6; }
33491                     else
33492                         { echo "$as_me:$LINENO: result: no" >&5
33493 echo "${ECHO_T}no" >&6; }
33494                     fi
33495                 fi
33496
33497 fi
33498
33499
33500
33501 fi
33502
33503
33504
33505         if test "x$OPENGL_LIBS" = "x"; then
33506             if test "$wxUSE_OPENGL" = "yes"; then
33507                 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
33508 echo "$as_me: error: OpenGL libraries not available" >&2;}
33509    { (exit 1); exit 1; }; }
33510             else
33511                                 { echo "$as_me:$LINENO: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5
33512 echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;}
33513                 wxUSE_OPENGL=no
33514                 USE_OPENGL=0
33515             fi
33516         fi
33517     else
33518         { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
33519 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
33520         wxUSE_OPENGL="no"
33521     fi
33522
33523     if test "$wxUSE_OPENGL" = "auto"; then
33524                                 wxUSE_OPENGL=yes
33525     fi
33526
33527     if test "$wxUSE_OPENGL" = "yes"; then
33528         USE_OPENGL=1
33529         cat >>confdefs.h <<\_ACEOF
33530 #define wxUSE_OPENGL 1
33531 _ACEOF
33532
33533         cat >>confdefs.h <<\_ACEOF
33534 #define wxUSE_GLCANVAS 1
33535 _ACEOF
33536
33537         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
33538     fi
33539 fi
33540
33541
33542 if test -n "$TOOLKIT" ; then
33543     TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
33544 fi
33545
33546
33547
33548 if test "$wxUSE_SHARED" = "yes"; then
33549     case "${host}" in
33550       *-pc-msdosdjgpp )
33551                 wxUSE_SHARED=no
33552         { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
33553 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
33554       ;;
33555     esac
33556 fi
33557
33558 if test "$wxUSE_SHARED" = "yes"; then
33559
33560
33561     case "${host}" in
33562         *-*-cygwin* | *-*-mingw* )
33563                                                                                                 wx_cv_version_script=no
33564             ;;
33565
33566         *)
33567             { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
33568 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
33569 if test "${wx_cv_version_script+set}" = set; then
33570   echo $ECHO_N "(cached) $ECHO_C" >&6
33571 else
33572
33573                 echo "VER_1 { *; };" >conftest.sym
33574                 echo "int main() { return 0; }" >conftest.cpp
33575
33576                 if { ac_try='
33577                         $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33578                         -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
33579   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33580   (eval $ac_try) 2>&5
33581   ac_status=$?
33582   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33583   (exit $ac_status); }; } ; then
33584                   if test -s conftest.stderr ; then
33585                       wx_cv_version_script=no
33586                   else
33587                       wx_cv_version_script=yes
33588                   fi
33589                 else
33590                   wx_cv_version_script=no
33591                 fi
33592
33593                                                                                                                                                                                                 if test $wx_cv_version_script = yes
33594                 then
33595                   echo "struct B { virtual ~B() { } }; \
33596                         struct D : public B { }; \
33597                         void F() { D d; }" > conftest.cpp
33598
33599                   if { ac_try='
33600                         $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33601                         -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
33602   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33603   (eval $ac_try) 2>&5
33604   ac_status=$?
33605   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33606   (exit $ac_status); }; } &&
33607                      { ac_try='
33608                         $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33609                         -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
33610   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33611   (eval $ac_try) 2>&5
33612   ac_status=$?
33613   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33614   (exit $ac_status); }; }
33615                   then
33616                     if { ac_try='
33617                           $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33618                           -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
33619   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33620   (eval $ac_try) 2>&5
33621   ac_status=$?
33622   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33623   (exit $ac_status); }; }
33624                     then
33625                       wx_cv_version_script=yes
33626                     else
33627                       wx_cv_version_script=no
33628                     fi
33629                   fi
33630                 fi
33631
33632                 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
33633                 rm -f conftest1.output conftest2.output conftest3.output
33634
33635 fi
33636 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
33637 echo "${ECHO_T}$wx_cv_version_script" >&6; }
33638
33639             if test $wx_cv_version_script = yes ; then
33640                 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
33641             fi
33642             ;;
33643     esac
33644
33645
33646             if test "$wxUSE_VISIBILITY" != "no"; then
33647
33648
33649   if test -n "$GCC"; then
33650     CFLAGS_VISIBILITY="-fvisibility=hidden"
33651     CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
33652     { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
33653 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
33654     if test "${wx_cv_cc_visibility+set}" = set; then
33655   echo $ECHO_N "(cached) $ECHO_C" >&6
33656 else
33657
33658       wx_save_CXXFLAGS="$CXXFLAGS"
33659       CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33660       ac_ext=cpp
33661 ac_cpp='$CXXCPP $CPPFLAGS'
33662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33665
33666       cat >conftest.$ac_ext <<_ACEOF
33667 /* confdefs.h.  */
33668 _ACEOF
33669 cat confdefs.h >>conftest.$ac_ext
33670 cat >>conftest.$ac_ext <<_ACEOF
33671 /* end confdefs.h.  */
33672
33673          /* we need gcc >= 4.0, older versions with visibility support
33674             didn't have class visibility: */
33675          #if defined(__GNUC__) && __GNUC__ < 4
33676          error this gcc is too old;
33677          #endif
33678
33679          /* visibility only makes sense for ELF shared libs: */
33680          #if !defined(__ELF__) && !defined(__APPLE__)
33681          error this platform has no visibility;
33682          #endif
33683
33684          extern __attribute__((__visibility__("hidden"))) int hiddenvar;
33685          extern __attribute__((__visibility__("default"))) int exportedvar;
33686          extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
33687          extern __attribute__((__visibility__("default"))) int exportedfunc (void);
33688          class __attribute__((__visibility__("default"))) Foo {
33689            Foo() {}
33690          };
33691
33692 int
33693 main ()
33694 {
33695
33696   ;
33697   return 0;
33698 }
33699 _ACEOF
33700 rm -f conftest.$ac_objext
33701 if { (ac_try="$ac_compile"
33702 case "(($ac_try" in
33703   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33704   *) ac_try_echo=$ac_try;;
33705 esac
33706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33707   (eval "$ac_compile") 2>conftest.er1
33708   ac_status=$?
33709   grep -v '^ *+' conftest.er1 >conftest.err
33710   rm -f conftest.er1
33711   cat conftest.err >&5
33712   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33713   (exit $ac_status); } && {
33714          test -z "$ac_cxx_werror_flag" ||
33715          test ! -s conftest.err
33716        } && test -s conftest.$ac_objext; then
33717   wx_cv_cc_visibility=yes
33718 else
33719   echo "$as_me: failed program was:" >&5
33720 sed 's/^/| /' conftest.$ac_ext >&5
33721
33722         wx_cv_cc_visibility=no
33723 fi
33724
33725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33726       ac_ext=c
33727 ac_cpp='$CPP $CPPFLAGS'
33728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33731
33732       CXXFLAGS="$wx_save_CXXFLAGS"
33733 fi
33734
33735     { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
33736 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
33737     if test $wx_cv_cc_visibility = yes; then
33738                               { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
33739 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
33740       if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
33741   echo $ECHO_N "(cached) $ECHO_C" >&6
33742 else
33743
33744         wx_save_CXXFLAGS="$CXXFLAGS"
33745         wx_save_LDFLAGS="$LDFLAGS"
33746         CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33747         LDFLAGS="$LDFLAGS -shared -fPIC"
33748         ac_ext=cpp
33749 ac_cpp='$CXXCPP $CPPFLAGS'
33750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33753
33754         cat >conftest.$ac_ext <<_ACEOF
33755 /* confdefs.h.  */
33756 _ACEOF
33757 cat confdefs.h >>conftest.$ac_ext
33758 cat >>conftest.$ac_ext <<_ACEOF
33759 /* end confdefs.h.  */
33760
33761             #include <string>
33762
33763 int
33764 main ()
33765 {
33766
33767             std::string s("hello");
33768             return s.length();
33769
33770   ;
33771   return 0;
33772 }
33773 _ACEOF
33774 rm -f conftest.$ac_objext conftest$ac_exeext
33775 if { (ac_try="$ac_link"
33776 case "(($ac_try" in
33777   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33778   *) ac_try_echo=$ac_try;;
33779 esac
33780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33781   (eval "$ac_link") 2>conftest.er1
33782   ac_status=$?
33783   grep -v '^ *+' conftest.er1 >conftest.err
33784   rm -f conftest.er1
33785   cat conftest.err >&5
33786   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33787   (exit $ac_status); } && {
33788          test -z "$ac_cxx_werror_flag" ||
33789          test ! -s conftest.err
33790        } && test -s conftest$ac_exeext &&
33791        $as_test_x conftest$ac_exeext; then
33792   wx_cv_cc_broken_libstdcxx_visibility=no
33793 else
33794   echo "$as_me: failed program was:" >&5
33795 sed 's/^/| /' conftest.$ac_ext >&5
33796
33797         wx_cv_cc_broken_libstdcxx_visibility=yes
33798 fi
33799
33800 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33801       conftest$ac_exeext conftest.$ac_ext
33802         ac_ext=c
33803 ac_cpp='$CPP $CPPFLAGS'
33804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33807
33808         CXXFLAGS="$wx_save_CXXFLAGS"
33809         LDFLAGS="$wx_save_LDFLAGS"
33810 fi
33811
33812       { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
33813 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
33814
33815       if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33816         { echo "$as_me:$LINENO: checking whether we can work around it" >&5
33817 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
33818         if test "${wx_cv_cc_visibility_workaround+set}" = set; then
33819   echo $ECHO_N "(cached) $ECHO_C" >&6
33820 else
33821
33822           ac_ext=cpp
33823 ac_cpp='$CXXCPP $CPPFLAGS'
33824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33827
33828           cat >conftest.$ac_ext <<_ACEOF
33829 /* confdefs.h.  */
33830 _ACEOF
33831 cat confdefs.h >>conftest.$ac_ext
33832 cat >>conftest.$ac_ext <<_ACEOF
33833 /* end confdefs.h.  */
33834
33835               #pragma GCC visibility push(default)
33836               #include <string>
33837               #pragma GCC visibility pop
33838
33839 int
33840 main ()
33841 {
33842
33843               std::string s("hello");
33844               return s.length();
33845
33846   ;
33847   return 0;
33848 }
33849 _ACEOF
33850 rm -f conftest.$ac_objext conftest$ac_exeext
33851 if { (ac_try="$ac_link"
33852 case "(($ac_try" in
33853   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33854   *) ac_try_echo=$ac_try;;
33855 esac
33856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33857   (eval "$ac_link") 2>conftest.er1
33858   ac_status=$?
33859   grep -v '^ *+' conftest.er1 >conftest.err
33860   rm -f conftest.er1
33861   cat conftest.err >&5
33862   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33863   (exit $ac_status); } && {
33864          test -z "$ac_cxx_werror_flag" ||
33865          test ! -s conftest.err
33866        } && test -s conftest$ac_exeext &&
33867        $as_test_x conftest$ac_exeext; then
33868   wx_cv_cc_visibility_workaround=no
33869 else
33870   echo "$as_me: failed program was:" >&5
33871 sed 's/^/| /' conftest.$ac_ext >&5
33872
33873         wx_cv_cc_visibility_workaround=yes
33874 fi
33875
33876 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33877       conftest$ac_exeext conftest.$ac_ext
33878           ac_ext=c
33879 ac_cpp='$CPP $CPPFLAGS'
33880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33883
33884
33885 fi
33886
33887         { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
33888 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
33889
33890         if test $wx_cv_cc_visibility_workaround = no; then
33891                     wx_cv_cc_visibility=no
33892         fi
33893       fi
33894     fi
33895
33896     if test $wx_cv_cc_visibility = yes; then
33897       cat >>confdefs.h <<\_ACEOF
33898 #define HAVE_VISIBILITY 1
33899 _ACEOF
33900
33901       if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33902         cat >>confdefs.h <<\_ACEOF
33903 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
33904 _ACEOF
33905
33906       fi
33907     else
33908       CFLAGS_VISIBILITY=""
33909       CXXFLAGS_VISIBILITY=""
33910     fi
33911
33912
33913   fi
33914
33915     fi
33916
33917         if test "x$SUNCXX" = xyes; then
33918         SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
33919         WXCONFIG_RPATH="-R\$libdir"
33920     else
33921     case "${host}" in
33922       *-*-linux* | *-*-gnu* )
33923         SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33924         WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33925         ;;
33926
33927       *-*-solaris2* )
33928
33929                         CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
33930
33931                         saveLdflags="$LDFLAGS"
33932         LDFLAGS="$saveLdflags -Wl,-rpath,/"
33933         { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
33934 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
33935         cat >conftest.$ac_ext <<_ACEOF
33936 /* confdefs.h.  */
33937 _ACEOF
33938 cat confdefs.h >>conftest.$ac_ext
33939 cat >>conftest.$ac_ext <<_ACEOF
33940 /* end confdefs.h.  */
33941
33942 int
33943 main ()
33944 {
33945
33946   ;
33947   return 0;
33948 }
33949 _ACEOF
33950 rm -f conftest.$ac_objext conftest$ac_exeext
33951 if { (ac_try="$ac_link"
33952 case "(($ac_try" in
33953   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33954   *) ac_try_echo=$ac_try;;
33955 esac
33956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33957   (eval "$ac_link") 2>conftest.er1
33958   ac_status=$?
33959   grep -v '^ *+' conftest.er1 >conftest.err
33960   rm -f conftest.er1
33961   cat conftest.err >&5
33962   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33963   (exit $ac_status); } && {
33964          test -z "$ac_c_werror_flag" ||
33965          test ! -s conftest.err
33966        } && test -s conftest$ac_exeext &&
33967        $as_test_x conftest$ac_exeext; then
33968
33969                 { echo "$as_me:$LINENO: result: yes" >&5
33970 echo "${ECHO_T}yes" >&6; }
33971                 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33972                 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33973
33974 else
33975   echo "$as_me: failed program was:" >&5
33976 sed 's/^/| /' conftest.$ac_ext >&5
33977
33978
33979                 { echo "$as_me:$LINENO: result: no" >&5
33980 echo "${ECHO_T}no" >&6; }
33981                 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
33982 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
33983                 LDFLAGS="$saveLdflags -Wl,-R,/"
33984                 cat >conftest.$ac_ext <<_ACEOF
33985 /* confdefs.h.  */
33986 _ACEOF
33987 cat confdefs.h >>conftest.$ac_ext
33988 cat >>conftest.$ac_ext <<_ACEOF
33989 /* end confdefs.h.  */
33990
33991 int
33992 main ()
33993 {
33994
33995   ;
33996   return 0;
33997 }
33998 _ACEOF
33999 rm -f conftest.$ac_objext conftest$ac_exeext
34000 if { (ac_try="$ac_link"
34001 case "(($ac_try" in
34002   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34003   *) ac_try_echo=$ac_try;;
34004 esac
34005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34006   (eval "$ac_link") 2>conftest.er1
34007   ac_status=$?
34008   grep -v '^ *+' conftest.er1 >conftest.err
34009   rm -f conftest.er1
34010   cat conftest.err >&5
34011   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34012   (exit $ac_status); } && {
34013          test -z "$ac_c_werror_flag" ||
34014          test ! -s conftest.err
34015        } && test -s conftest$ac_exeext &&
34016        $as_test_x conftest$ac_exeext; then
34017
34018                         { echo "$as_me:$LINENO: result: yes" >&5
34019 echo "${ECHO_T}yes" >&6; }
34020                         SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
34021                         WXCONFIG_RPATH="-Wl,-R,\$libdir"
34022
34023 else
34024   echo "$as_me: failed program was:" >&5
34025 sed 's/^/| /' conftest.$ac_ext >&5
34026
34027
34028                         { echo "$as_me:$LINENO: result: no" >&5
34029 echo "${ECHO_T}no" >&6; }
34030
34031 fi
34032
34033 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34034       conftest$ac_exeext conftest.$ac_ext
34035
34036 fi
34037
34038 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34039       conftest$ac_exeext conftest.$ac_ext
34040         LDFLAGS="$saveLdflags"
34041       ;;
34042
34043       *-*-darwin* )
34044         install_name_tool=`which ${HOST_PREFIX}install_name_tool`
34045         if test "$install_name_tool" -a -x "$install_name_tool"; then
34046             DYLIB_RPATH_POSTLINK="${HOST_PREFIX}install_name_tool -id \$@ \$@"
34047             cat <<EOF >change-install-names
34048 #!/bin/sh
34049 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
34050 for i in \${libnames} ; do
34051     ${HOST_PREFIX}install_name_tool -id \${1}/\${i} \${1}/\${i}
34052     for dep in \${libnames} ; do
34053         ${HOST_PREFIX}install_name_tool -change \${2}/\${dep} \${1}/\${dep} \${1}/\${i}
34054     done
34055 done
34056 EOF
34057             chmod +x change-install-names
34058             DYLIB_RPATH_INSTALL="\$(wx_top_builddir)/change-install-names \${libdir} \$(wx_top_builddir)/lib"
34059         fi
34060
34061                                         HEADER_PAD_OPTION="-headerpad_max_install_names"
34062       ;;
34063
34064       *-*-cygwin* | *-*-mingw32* )
34065         ;;
34066
34067       *-*-hpux* )
34068         SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
34069         WXCONFIG_RPATH="-Wl,+b,\$libdir"
34070         ;;
34071
34072     esac
34073     fi
34074
34075             WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
34076
34077     if test $wxUSE_RPATH = "no"; then
34078         SAMPLES_RPATH_FLAG=''
34079         DYLIB_PATH_POSTLINK=''
34080         WXCONFIG_RPATH=''
34081     fi
34082
34083     SHARED=1
34084
34085 else
34086
34087     config_linkage_component="-static"
34088     SHARED=0
34089
34090 fi
34091
34092
34093 UNICODE=0
34094 lib_unicode_suffix=
34095 WX_CHARTYPE="ansi"
34096 if test "$wxUSE_UNICODE" = "yes"; then
34097     lib_unicode_suffix=u
34098     WX_CHARTYPE="unicode"
34099     UNICODE=1
34100 fi
34101
34102 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
34103 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
34104
34105 DEBUG_INFO=0
34106 if test "$wxUSE_DEBUG_INFO" = "yes"; then
34107     DEBUG_INFO=1
34108 fi
34109
34110 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
34111
34112 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
34113
34114 TOOLCHAIN_FULLNAME="${HOST_PREFIX}${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
34115
34116
34117 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_COCOA" = 1; then
34118     WX_LIBRARY_BASENAME_NOGUI="wx_base${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
34119 else
34120     WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
34121 fi
34122 if test "${TOOLKIT_DIR}" = "os2"; then
34123     WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
34124 else
34125     WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
34126 fi
34127
34128
34129
34130 if test "$wxUSE_COCOA" = 1; then
34131
34132     ac_ext=c
34133 ac_cpp='$CPP $CPPFLAGS'
34134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34137
34138 ac_ext=m
34139
34140     { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
34141 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
34142     cat >conftest.$ac_ext <<_ACEOF
34143 /* confdefs.h.  */
34144 _ACEOF
34145 cat confdefs.h >>conftest.$ac_ext
34146 cat >>conftest.$ac_ext <<_ACEOF
34147 /* end confdefs.h.  */
34148 #include <AppKit/NSEvent.h>
34149 #include <CoreFoundation/CoreFoundation.h>
34150
34151 int
34152 main ()
34153 {
34154
34155   ;
34156   return 0;
34157 }
34158 _ACEOF
34159 rm -f conftest.$ac_objext
34160 if { (ac_try="$ac_compile"
34161 case "(($ac_try" in
34162   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34163   *) ac_try_echo=$ac_try;;
34164 esac
34165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34166   (eval "$ac_compile") 2>conftest.er1
34167   ac_status=$?
34168   grep -v '^ *+' conftest.er1 >conftest.err
34169   rm -f conftest.er1
34170   cat conftest.err >&5
34171   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34172   (exit $ac_status); } && {
34173          test -z "$ac_c_werror_flag" ||
34174          test ! -s conftest.err
34175        } && test -s conftest.$ac_objext; then
34176   { echo "$as_me:$LINENO: result: no" >&5
34177 echo "${ECHO_T}no" >&6; }
34178 else
34179   echo "$as_me: failed program was:" >&5
34180 sed 's/^/| /' conftest.$ac_ext >&5
34181
34182         { echo "$as_me:$LINENO: result: yes" >&5
34183 echo "${ECHO_T}yes" >&6; }
34184         { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
34185 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
34186         cat >conftest.$ac_ext <<_ACEOF
34187 /* confdefs.h.  */
34188 _ACEOF
34189 cat confdefs.h >>conftest.$ac_ext
34190 cat >>conftest.$ac_ext <<_ACEOF
34191 /* end confdefs.h.  */
34192 #define __Point__ 1
34193 #include <AppKit/NSEvent.h>
34194 #include <CoreFoundation/CoreFoundation.h>
34195
34196 int
34197 main ()
34198 {
34199
34200   ;
34201   return 0;
34202 }
34203 _ACEOF
34204 rm -f conftest.$ac_objext
34205 if { (ac_try="$ac_compile"
34206 case "(($ac_try" in
34207   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34208   *) ac_try_echo=$ac_try;;
34209 esac
34210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34211   (eval "$ac_compile") 2>conftest.er1
34212   ac_status=$?
34213   grep -v '^ *+' conftest.er1 >conftest.err
34214   rm -f conftest.er1
34215   cat conftest.err >&5
34216   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34217   (exit $ac_status); } && {
34218          test -z "$ac_c_werror_flag" ||
34219          test ! -s conftest.err
34220        } && test -s conftest.$ac_objext; then
34221   { echo "$as_me:$LINENO: result: yes" >&5
34222 echo "${ECHO_T}yes" >&6; }
34223             cat >>confdefs.h <<\_ACEOF
34224 #define __Point__ 1
34225 _ACEOF
34226
34227
34228 else
34229   echo "$as_me: failed program was:" >&5
34230 sed 's/^/| /' conftest.$ac_ext >&5
34231
34232         { { echo "$as_me:$LINENO: error: no
34233 See \`config.log' for more details." >&5
34234 echo "$as_me: error: no
34235 See \`config.log' for more details." >&2;}
34236    { (exit 1); exit 1; }; }
34237
34238 fi
34239
34240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34241
34242 fi
34243
34244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34245     ac_ext=c
34246 ac_cpp='$CPP $CPPFLAGS'
34247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34250
34251 fi
34252
34253
34254 { echo "$as_me:$LINENO: checking for mode_t" >&5
34255 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
34256 if test "${ac_cv_type_mode_t+set}" = set; then
34257   echo $ECHO_N "(cached) $ECHO_C" >&6
34258 else
34259   cat >conftest.$ac_ext <<_ACEOF
34260 /* confdefs.h.  */
34261 _ACEOF
34262 cat confdefs.h >>conftest.$ac_ext
34263 cat >>conftest.$ac_ext <<_ACEOF
34264 /* end confdefs.h.  */
34265 $ac_includes_default
34266 typedef mode_t ac__type_new_;
34267 int
34268 main ()
34269 {
34270 if ((ac__type_new_ *) 0)
34271   return 0;
34272 if (sizeof (ac__type_new_))
34273   return 0;
34274   ;
34275   return 0;
34276 }
34277 _ACEOF
34278 rm -f conftest.$ac_objext
34279 if { (ac_try="$ac_compile"
34280 case "(($ac_try" in
34281   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34282   *) ac_try_echo=$ac_try;;
34283 esac
34284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34285   (eval "$ac_compile") 2>conftest.er1
34286   ac_status=$?
34287   grep -v '^ *+' conftest.er1 >conftest.err
34288   rm -f conftest.er1
34289   cat conftest.err >&5
34290   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34291   (exit $ac_status); } && {
34292          test -z "$ac_c_werror_flag" ||
34293          test ! -s conftest.err
34294        } && test -s conftest.$ac_objext; then
34295   ac_cv_type_mode_t=yes
34296 else
34297   echo "$as_me: failed program was:" >&5
34298 sed 's/^/| /' conftest.$ac_ext >&5
34299
34300         ac_cv_type_mode_t=no
34301 fi
34302
34303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34304 fi
34305 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
34306 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
34307 if test $ac_cv_type_mode_t = yes; then
34308   :
34309 else
34310
34311 cat >>confdefs.h <<_ACEOF
34312 #define mode_t int
34313 _ACEOF
34314
34315 fi
34316
34317 { echo "$as_me:$LINENO: checking for off_t" >&5
34318 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
34319 if test "${ac_cv_type_off_t+set}" = set; then
34320   echo $ECHO_N "(cached) $ECHO_C" >&6
34321 else
34322   cat >conftest.$ac_ext <<_ACEOF
34323 /* confdefs.h.  */
34324 _ACEOF
34325 cat confdefs.h >>conftest.$ac_ext
34326 cat >>conftest.$ac_ext <<_ACEOF
34327 /* end confdefs.h.  */
34328 $ac_includes_default
34329 typedef off_t ac__type_new_;
34330 int
34331 main ()
34332 {
34333 if ((ac__type_new_ *) 0)
34334   return 0;
34335 if (sizeof (ac__type_new_))
34336   return 0;
34337   ;
34338   return 0;
34339 }
34340 _ACEOF
34341 rm -f conftest.$ac_objext
34342 if { (ac_try="$ac_compile"
34343 case "(($ac_try" in
34344   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34345   *) ac_try_echo=$ac_try;;
34346 esac
34347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34348   (eval "$ac_compile") 2>conftest.er1
34349   ac_status=$?
34350   grep -v '^ *+' conftest.er1 >conftest.err
34351   rm -f conftest.er1
34352   cat conftest.err >&5
34353   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34354   (exit $ac_status); } && {
34355          test -z "$ac_c_werror_flag" ||
34356          test ! -s conftest.err
34357        } && test -s conftest.$ac_objext; then
34358   ac_cv_type_off_t=yes
34359 else
34360   echo "$as_me: failed program was:" >&5
34361 sed 's/^/| /' conftest.$ac_ext >&5
34362
34363         ac_cv_type_off_t=no
34364 fi
34365
34366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34367 fi
34368 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
34369 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
34370 if test $ac_cv_type_off_t = yes; then
34371   :
34372 else
34373
34374 cat >>confdefs.h <<_ACEOF
34375 #define off_t long int
34376 _ACEOF
34377
34378 fi
34379
34380 { echo "$as_me:$LINENO: checking for pid_t" >&5
34381 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
34382 if test "${ac_cv_type_pid_t+set}" = set; then
34383   echo $ECHO_N "(cached) $ECHO_C" >&6
34384 else
34385   cat >conftest.$ac_ext <<_ACEOF
34386 /* confdefs.h.  */
34387 _ACEOF
34388 cat confdefs.h >>conftest.$ac_ext
34389 cat >>conftest.$ac_ext <<_ACEOF
34390 /* end confdefs.h.  */
34391 $ac_includes_default
34392 typedef pid_t ac__type_new_;
34393 int
34394 main ()
34395 {
34396 if ((ac__type_new_ *) 0)
34397   return 0;
34398 if (sizeof (ac__type_new_))
34399   return 0;
34400   ;
34401   return 0;
34402 }
34403 _ACEOF
34404 rm -f conftest.$ac_objext
34405 if { (ac_try="$ac_compile"
34406 case "(($ac_try" in
34407   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34408   *) ac_try_echo=$ac_try;;
34409 esac
34410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34411   (eval "$ac_compile") 2>conftest.er1
34412   ac_status=$?
34413   grep -v '^ *+' conftest.er1 >conftest.err
34414   rm -f conftest.er1
34415   cat conftest.err >&5
34416   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34417   (exit $ac_status); } && {
34418          test -z "$ac_c_werror_flag" ||
34419          test ! -s conftest.err
34420        } && test -s conftest.$ac_objext; then
34421   ac_cv_type_pid_t=yes
34422 else
34423   echo "$as_me: failed program was:" >&5
34424 sed 's/^/| /' conftest.$ac_ext >&5
34425
34426         ac_cv_type_pid_t=no
34427 fi
34428
34429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34430 fi
34431 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
34432 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
34433 if test $ac_cv_type_pid_t = yes; then
34434   :
34435 else
34436
34437 cat >>confdefs.h <<_ACEOF
34438 #define pid_t int
34439 _ACEOF
34440
34441 fi
34442
34443 { echo "$as_me:$LINENO: checking for size_t" >&5
34444 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
34445 if test "${ac_cv_type_size_t+set}" = set; then
34446   echo $ECHO_N "(cached) $ECHO_C" >&6
34447 else
34448   cat >conftest.$ac_ext <<_ACEOF
34449 /* confdefs.h.  */
34450 _ACEOF
34451 cat confdefs.h >>conftest.$ac_ext
34452 cat >>conftest.$ac_ext <<_ACEOF
34453 /* end confdefs.h.  */
34454 $ac_includes_default
34455 typedef size_t ac__type_new_;
34456 int
34457 main ()
34458 {
34459 if ((ac__type_new_ *) 0)
34460   return 0;
34461 if (sizeof (ac__type_new_))
34462   return 0;
34463   ;
34464   return 0;
34465 }
34466 _ACEOF
34467 rm -f conftest.$ac_objext
34468 if { (ac_try="$ac_compile"
34469 case "(($ac_try" in
34470   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34471   *) ac_try_echo=$ac_try;;
34472 esac
34473 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34474   (eval "$ac_compile") 2>conftest.er1
34475   ac_status=$?
34476   grep -v '^ *+' conftest.er1 >conftest.err
34477   rm -f conftest.er1
34478   cat conftest.err >&5
34479   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34480   (exit $ac_status); } && {
34481          test -z "$ac_c_werror_flag" ||
34482          test ! -s conftest.err
34483        } && test -s conftest.$ac_objext; then
34484   ac_cv_type_size_t=yes
34485 else
34486   echo "$as_me: failed program was:" >&5
34487 sed 's/^/| /' conftest.$ac_ext >&5
34488
34489         ac_cv_type_size_t=no
34490 fi
34491
34492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34493 fi
34494 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
34495 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
34496 if test $ac_cv_type_size_t = yes; then
34497   :
34498 else
34499
34500 cat >>confdefs.h <<_ACEOF
34501 #define size_t unsigned int
34502 _ACEOF
34503
34504 fi
34505
34506
34507 { echo "$as_me:$LINENO: checking for ssize_t" >&5
34508 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
34509 if test "${ac_cv_type_ssize_t+set}" = set; then
34510   echo $ECHO_N "(cached) $ECHO_C" >&6
34511 else
34512   cat >conftest.$ac_ext <<_ACEOF
34513 /* confdefs.h.  */
34514 _ACEOF
34515 cat confdefs.h >>conftest.$ac_ext
34516 cat >>conftest.$ac_ext <<_ACEOF
34517 /* end confdefs.h.  */
34518 $ac_includes_default
34519 typedef ssize_t ac__type_new_;
34520 int
34521 main ()
34522 {
34523 if ((ac__type_new_ *) 0)
34524   return 0;
34525 if (sizeof (ac__type_new_))
34526   return 0;
34527   ;
34528   return 0;
34529 }
34530 _ACEOF
34531 rm -f conftest.$ac_objext
34532 if { (ac_try="$ac_compile"
34533 case "(($ac_try" in
34534   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34535   *) ac_try_echo=$ac_try;;
34536 esac
34537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34538   (eval "$ac_compile") 2>conftest.er1
34539   ac_status=$?
34540   grep -v '^ *+' conftest.er1 >conftest.err
34541   rm -f conftest.er1
34542   cat conftest.err >&5
34543   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34544   (exit $ac_status); } && {
34545          test -z "$ac_c_werror_flag" ||
34546          test ! -s conftest.err
34547        } && test -s conftest.$ac_objext; then
34548   ac_cv_type_ssize_t=yes
34549 else
34550   echo "$as_me: failed program was:" >&5
34551 sed 's/^/| /' conftest.$ac_ext >&5
34552
34553         ac_cv_type_ssize_t=no
34554 fi
34555
34556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34557 fi
34558 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
34559 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
34560 if test $ac_cv_type_ssize_t = yes; then
34561
34562 cat >>confdefs.h <<_ACEOF
34563 #define HAVE_SSIZE_T 1
34564 _ACEOF
34565
34566
34567 fi
34568
34569
34570 ac_ext=cpp
34571 ac_cpp='$CXXCPP $CPPFLAGS'
34572 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34573 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34574 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34575  { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
34576 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
34577 if test "${wx_cv_size_t_is_uint+set}" = set; then
34578   echo $ECHO_N "(cached) $ECHO_C" >&6
34579 else
34580
34581                             cat >conftest.$ac_ext <<_ACEOF
34582 /* confdefs.h.  */
34583 _ACEOF
34584 cat confdefs.h >>conftest.$ac_ext
34585 cat >>conftest.$ac_ext <<_ACEOF
34586 /* end confdefs.h.  */
34587 #include <stddef.h>
34588 int
34589 main ()
34590 {
34591
34592             return 0; }
34593
34594             struct Foo { void foo(size_t); void foo(unsigned int); };
34595
34596             int bar() {
34597
34598   ;
34599   return 0;
34600 }
34601 _ACEOF
34602 rm -f conftest.$ac_objext
34603 if { (ac_try="$ac_compile"
34604 case "(($ac_try" in
34605   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34606   *) ac_try_echo=$ac_try;;
34607 esac
34608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34609   (eval "$ac_compile") 2>conftest.er1
34610   ac_status=$?
34611   grep -v '^ *+' conftest.er1 >conftest.err
34612   rm -f conftest.er1
34613   cat conftest.err >&5
34614   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34615   (exit $ac_status); } && {
34616          test -z "$ac_cxx_werror_flag" ||
34617          test ! -s conftest.err
34618        } && test -s conftest.$ac_objext; then
34619   wx_cv_size_t_is_uint=no
34620 else
34621   echo "$as_me: failed program was:" >&5
34622 sed 's/^/| /' conftest.$ac_ext >&5
34623
34624         wx_cv_size_t_is_uint=yes
34625
34626 fi
34627
34628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34629
34630
34631 fi
34632 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
34633 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
34634
34635 if test "$wx_cv_size_t_is_uint" = "yes"; then
34636     cat >>confdefs.h <<\_ACEOF
34637 #define wxSIZE_T_IS_UINT 1
34638 _ACEOF
34639
34640 else
34641     { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
34642 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
34643 if test "${wx_cv_size_t_is_ulong+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 #include <stddef.h>
34653 int
34654 main ()
34655 {
34656
34657                 return 0; }
34658
34659                 struct Foo { void foo(size_t); void foo(unsigned long); };
34660
34661                 int bar() {
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_cxx_werror_flag" ||
34682          test ! -s conftest.err
34683        } && test -s conftest.$ac_objext; then
34684   wx_cv_size_t_is_ulong=no
34685 else
34686   echo "$as_me: failed program was:" >&5
34687 sed 's/^/| /' conftest.$ac_ext >&5
34688
34689         wx_cv_size_t_is_ulong=yes
34690
34691 fi
34692
34693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34694
34695 fi
34696 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
34697 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
34698
34699     if test "$wx_cv_size_t_is_ulong" = "yes"; then
34700         cat >>confdefs.h <<\_ACEOF
34701 #define wxSIZE_T_IS_ULONG 1
34702 _ACEOF
34703
34704     fi
34705 fi
34706
34707 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
34708 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
34709 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
34710   echo $ECHO_N "(cached) $ECHO_C" >&6
34711 else
34712   cat >conftest.$ac_ext <<_ACEOF
34713 /* confdefs.h.  */
34714 _ACEOF
34715 cat confdefs.h >>conftest.$ac_ext
34716 cat >>conftest.$ac_ext <<_ACEOF
34717 /* end confdefs.h.  */
34718 #include <wchar.h>
34719 int
34720 main ()
34721 {
34722
34723             return 0; }
34724
34725             struct Foo { void foo(wchar_t);
34726                          void foo(unsigned short);
34727                          void foo(unsigned int);
34728                          void foo(unsigned long); };
34729
34730             int bar() {
34731
34732   ;
34733   return 0;
34734 }
34735 _ACEOF
34736 rm -f conftest.$ac_objext
34737 if { (ac_try="$ac_compile"
34738 case "(($ac_try" in
34739   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34740   *) ac_try_echo=$ac_try;;
34741 esac
34742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34743   (eval "$ac_compile") 2>conftest.er1
34744   ac_status=$?
34745   grep -v '^ *+' conftest.er1 >conftest.err
34746   rm -f conftest.er1
34747   cat conftest.err >&5
34748   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34749   (exit $ac_status); } && {
34750          test -z "$ac_cxx_werror_flag" ||
34751          test ! -s conftest.err
34752        } && test -s conftest.$ac_objext; then
34753   wx_cv_wchar_t_is_separate_type=yes
34754 else
34755   echo "$as_me: failed program was:" >&5
34756 sed 's/^/| /' conftest.$ac_ext >&5
34757
34758         wx_cv_wchar_t_is_separate_type=no
34759
34760 fi
34761
34762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34763
34764 fi
34765 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
34766 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
34767
34768 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
34769     cat >>confdefs.h <<\_ACEOF
34770 #define wxWCHAR_T_IS_REAL_TYPE 1
34771 _ACEOF
34772
34773 else
34774     cat >>confdefs.h <<\_ACEOF
34775 #define wxWCHAR_T_IS_REAL_TYPE 0
34776 _ACEOF
34777
34778 fi
34779
34780 ac_ext=c
34781 ac_cpp='$CPP $CPPFLAGS'
34782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34785
34786
34787 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
34788 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
34789 if test "${wx_cv_struct_pw_gecos+set}" = set; then
34790   echo $ECHO_N "(cached) $ECHO_C" >&6
34791 else
34792
34793         cat >conftest.$ac_ext <<_ACEOF
34794 /* confdefs.h.  */
34795 _ACEOF
34796 cat confdefs.h >>conftest.$ac_ext
34797 cat >>conftest.$ac_ext <<_ACEOF
34798 /* end confdefs.h.  */
34799 #include <pwd.h>
34800 int
34801 main ()
34802 {
34803
34804                 char *p;
34805                 struct passwd *pw;
34806                 p = pw->pw_gecos;
34807
34808   ;
34809   return 0;
34810 }
34811 _ACEOF
34812 rm -f conftest.$ac_objext
34813 if { (ac_try="$ac_compile"
34814 case "(($ac_try" in
34815   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34816   *) ac_try_echo=$ac_try;;
34817 esac
34818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34819   (eval "$ac_compile") 2>conftest.er1
34820   ac_status=$?
34821   grep -v '^ *+' conftest.er1 >conftest.err
34822   rm -f conftest.er1
34823   cat conftest.err >&5
34824   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34825   (exit $ac_status); } && {
34826          test -z "$ac_c_werror_flag" ||
34827          test ! -s conftest.err
34828        } && test -s conftest.$ac_objext; then
34829
34830                 wx_cv_struct_pw_gecos=yes
34831
34832 else
34833   echo "$as_me: failed program was:" >&5
34834 sed 's/^/| /' conftest.$ac_ext >&5
34835
34836
34837                 wx_cv_struct_pw_gecos=no
34838
34839
34840 fi
34841
34842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34843
34844
34845 fi
34846 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
34847 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
34848
34849 if test "$wx_cv_struct_pw_gecos" = "yes"; then
34850     cat >>confdefs.h <<\_ACEOF
34851 #define HAVE_PW_GECOS 1
34852 _ACEOF
34853
34854 fi
34855
34856
34857 if test "$wxUSE_WCHAR_T" = "yes"; then
34858     cat >>confdefs.h <<\_ACEOF
34859 #define wxUSE_WCHAR_T 1
34860 _ACEOF
34861
34862
34863         WCSLEN_FOUND=0
34864     WCHAR_LINK=
34865
34866 for ac_func in wcslen
34867 do
34868 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34869 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34870 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34871 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34872   echo $ECHO_N "(cached) $ECHO_C" >&6
34873 else
34874   cat >conftest.$ac_ext <<_ACEOF
34875 /* confdefs.h.  */
34876 _ACEOF
34877 cat confdefs.h >>conftest.$ac_ext
34878 cat >>conftest.$ac_ext <<_ACEOF
34879 /* end confdefs.h.  */
34880 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34881    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
34882 #define $ac_func innocuous_$ac_func
34883
34884 /* System header to define __stub macros and hopefully few prototypes,
34885     which can conflict with char $ac_func (); below.
34886     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34887     <limits.h> exists even on freestanding compilers.  */
34888
34889 #ifdef __STDC__
34890 # include <limits.h>
34891 #else
34892 # include <assert.h>
34893 #endif
34894
34895 #undef $ac_func
34896
34897 /* Override any GCC internal prototype to avoid an error.
34898    Use char because int might match the return type of a GCC
34899    builtin and then its argument prototype would still apply.  */
34900 #ifdef __cplusplus
34901 extern "C"
34902 #endif
34903 char $ac_func ();
34904 /* The GNU C library defines this for functions which it implements
34905     to always fail with ENOSYS.  Some functions are actually named
34906     something starting with __ and the normal name is an alias.  */
34907 #if defined __stub_$ac_func || defined __stub___$ac_func
34908 choke me
34909 #endif
34910
34911 int
34912 main ()
34913 {
34914 return $ac_func ();
34915   ;
34916   return 0;
34917 }
34918 _ACEOF
34919 rm -f conftest.$ac_objext conftest$ac_exeext
34920 if { (ac_try="$ac_link"
34921 case "(($ac_try" in
34922   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34923   *) ac_try_echo=$ac_try;;
34924 esac
34925 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34926   (eval "$ac_link") 2>conftest.er1
34927   ac_status=$?
34928   grep -v '^ *+' conftest.er1 >conftest.err
34929   rm -f conftest.er1
34930   cat conftest.err >&5
34931   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34932   (exit $ac_status); } && {
34933          test -z "$ac_c_werror_flag" ||
34934          test ! -s conftest.err
34935        } && test -s conftest$ac_exeext &&
34936        $as_test_x conftest$ac_exeext; then
34937   eval "$as_ac_var=yes"
34938 else
34939   echo "$as_me: failed program was:" >&5
34940 sed 's/^/| /' conftest.$ac_ext >&5
34941
34942         eval "$as_ac_var=no"
34943 fi
34944
34945 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34946       conftest$ac_exeext conftest.$ac_ext
34947 fi
34948 ac_res=`eval echo '${'$as_ac_var'}'`
34949                { echo "$as_me:$LINENO: result: $ac_res" >&5
34950 echo "${ECHO_T}$ac_res" >&6; }
34951 if test `eval echo '${'$as_ac_var'}'` = yes; then
34952   cat >>confdefs.h <<_ACEOF
34953 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34954 _ACEOF
34955  WCSLEN_FOUND=1
34956 fi
34957 done
34958
34959
34960     if test "$WCSLEN_FOUND" = 0; then
34961         if test "$TOOLKIT" = "MSW"; then
34962             { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
34963 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
34964 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
34965   echo $ECHO_N "(cached) $ECHO_C" >&6
34966 else
34967   ac_check_lib_save_LIBS=$LIBS
34968 LIBS="-lmsvcrt  $LIBS"
34969 cat >conftest.$ac_ext <<_ACEOF
34970 /* confdefs.h.  */
34971 _ACEOF
34972 cat confdefs.h >>conftest.$ac_ext
34973 cat >>conftest.$ac_ext <<_ACEOF
34974 /* end confdefs.h.  */
34975
34976 /* Override any GCC internal prototype to avoid an error.
34977    Use char because int might match the return type of a GCC
34978    builtin and then its argument prototype would still apply.  */
34979 #ifdef __cplusplus
34980 extern "C"
34981 #endif
34982 char wcslen ();
34983 int
34984 main ()
34985 {
34986 return wcslen ();
34987   ;
34988   return 0;
34989 }
34990 _ACEOF
34991 rm -f conftest.$ac_objext conftest$ac_exeext
34992 if { (ac_try="$ac_link"
34993 case "(($ac_try" in
34994   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34995   *) ac_try_echo=$ac_try;;
34996 esac
34997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34998   (eval "$ac_link") 2>conftest.er1
34999   ac_status=$?
35000   grep -v '^ *+' conftest.er1 >conftest.err
35001   rm -f conftest.er1
35002   cat conftest.err >&5
35003   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35004   (exit $ac_status); } && {
35005          test -z "$ac_c_werror_flag" ||
35006          test ! -s conftest.err
35007        } && test -s conftest$ac_exeext &&
35008        $as_test_x conftest$ac_exeext; then
35009   ac_cv_lib_msvcrt_wcslen=yes
35010 else
35011   echo "$as_me: failed program was:" >&5
35012 sed 's/^/| /' conftest.$ac_ext >&5
35013
35014         ac_cv_lib_msvcrt_wcslen=no
35015 fi
35016
35017 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35018       conftest$ac_exeext conftest.$ac_ext
35019 LIBS=$ac_check_lib_save_LIBS
35020 fi
35021 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
35022 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
35023 if test $ac_cv_lib_msvcrt_wcslen = yes; then
35024   WCHAR_OK=1
35025 fi
35026
35027         else
35028             { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
35029 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
35030 if test "${ac_cv_lib_w_wcslen+set}" = set; then
35031   echo $ECHO_N "(cached) $ECHO_C" >&6
35032 else
35033   ac_check_lib_save_LIBS=$LIBS
35034 LIBS="-lw  $LIBS"
35035 cat >conftest.$ac_ext <<_ACEOF
35036 /* confdefs.h.  */
35037 _ACEOF
35038 cat confdefs.h >>conftest.$ac_ext
35039 cat >>conftest.$ac_ext <<_ACEOF
35040 /* end confdefs.h.  */
35041
35042 /* Override any GCC internal prototype to avoid an error.
35043    Use char because int might match the return type of a GCC
35044    builtin and then its argument prototype would still apply.  */
35045 #ifdef __cplusplus
35046 extern "C"
35047 #endif
35048 char wcslen ();
35049 int
35050 main ()
35051 {
35052 return wcslen ();
35053   ;
35054   return 0;
35055 }
35056 _ACEOF
35057 rm -f conftest.$ac_objext conftest$ac_exeext
35058 if { (ac_try="$ac_link"
35059 case "(($ac_try" in
35060   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35061   *) ac_try_echo=$ac_try;;
35062 esac
35063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35064   (eval "$ac_link") 2>conftest.er1
35065   ac_status=$?
35066   grep -v '^ *+' conftest.er1 >conftest.err
35067   rm -f conftest.er1
35068   cat conftest.err >&5
35069   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35070   (exit $ac_status); } && {
35071          test -z "$ac_c_werror_flag" ||
35072          test ! -s conftest.err
35073        } && test -s conftest$ac_exeext &&
35074        $as_test_x conftest$ac_exeext; then
35075   ac_cv_lib_w_wcslen=yes
35076 else
35077   echo "$as_me: failed program was:" >&5
35078 sed 's/^/| /' conftest.$ac_ext >&5
35079
35080         ac_cv_lib_w_wcslen=no
35081 fi
35082
35083 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35084       conftest$ac_exeext conftest.$ac_ext
35085 LIBS=$ac_check_lib_save_LIBS
35086 fi
35087 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
35088 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
35089 if test $ac_cv_lib_w_wcslen = yes; then
35090
35091                             WCHAR_LINK=" -lw"
35092                             WCSLEN_FOUND=1
35093
35094 fi
35095
35096         fi
35097     fi
35098
35099     if test "$WCSLEN_FOUND" = 1; then
35100         cat >>confdefs.h <<\_ACEOF
35101 #define HAVE_WCSLEN 1
35102 _ACEOF
35103
35104     fi
35105
35106
35107
35108
35109
35110
35111 for ac_func in wcsdup strnlen wcsnlen wcscasecmp wcsncasecmp
35112 do
35113 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35114 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35115 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35116 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35117   echo $ECHO_N "(cached) $ECHO_C" >&6
35118 else
35119   cat >conftest.$ac_ext <<_ACEOF
35120 /* confdefs.h.  */
35121 _ACEOF
35122 cat confdefs.h >>conftest.$ac_ext
35123 cat >>conftest.$ac_ext <<_ACEOF
35124 /* end confdefs.h.  */
35125 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35126    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
35127 #define $ac_func innocuous_$ac_func
35128
35129 /* System header to define __stub macros and hopefully few prototypes,
35130     which can conflict with char $ac_func (); below.
35131     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35132     <limits.h> exists even on freestanding compilers.  */
35133
35134 #ifdef __STDC__
35135 # include <limits.h>
35136 #else
35137 # include <assert.h>
35138 #endif
35139
35140 #undef $ac_func
35141
35142 /* Override any GCC internal prototype to avoid an error.
35143    Use char because int might match the return type of a GCC
35144    builtin and then its argument prototype would still apply.  */
35145 #ifdef __cplusplus
35146 extern "C"
35147 #endif
35148 char $ac_func ();
35149 /* The GNU C library defines this for functions which it implements
35150     to always fail with ENOSYS.  Some functions are actually named
35151     something starting with __ and the normal name is an alias.  */
35152 #if defined __stub_$ac_func || defined __stub___$ac_func
35153 choke me
35154 #endif
35155
35156 int
35157 main ()
35158 {
35159 return $ac_func ();
35160   ;
35161   return 0;
35162 }
35163 _ACEOF
35164 rm -f conftest.$ac_objext conftest$ac_exeext
35165 if { (ac_try="$ac_link"
35166 case "(($ac_try" in
35167   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35168   *) ac_try_echo=$ac_try;;
35169 esac
35170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35171   (eval "$ac_link") 2>conftest.er1
35172   ac_status=$?
35173   grep -v '^ *+' conftest.er1 >conftest.err
35174   rm -f conftest.er1
35175   cat conftest.err >&5
35176   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35177   (exit $ac_status); } && {
35178          test -z "$ac_c_werror_flag" ||
35179          test ! -s conftest.err
35180        } && test -s conftest$ac_exeext &&
35181        $as_test_x conftest$ac_exeext; then
35182   eval "$as_ac_var=yes"
35183 else
35184   echo "$as_me: failed program was:" >&5
35185 sed 's/^/| /' conftest.$ac_ext >&5
35186
35187         eval "$as_ac_var=no"
35188 fi
35189
35190 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35191       conftest$ac_exeext conftest.$ac_ext
35192 fi
35193 ac_res=`eval echo '${'$as_ac_var'}'`
35194                { echo "$as_me:$LINENO: result: $ac_res" >&5
35195 echo "${ECHO_T}$ac_res" >&6; }
35196 if test `eval echo '${'$as_ac_var'}'` = yes; then
35197   cat >>confdefs.h <<_ACEOF
35198 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35199 _ACEOF
35200
35201 fi
35202 done
35203
35204
35205                     if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
35206         CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
35207     fi
35208
35209                 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
35210 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
35211 if test "${ac_cv_type_mbstate_t+set}" = set; then
35212   echo $ECHO_N "(cached) $ECHO_C" >&6
35213 else
35214   cat >conftest.$ac_ext <<_ACEOF
35215 /* confdefs.h.  */
35216 _ACEOF
35217 cat confdefs.h >>conftest.$ac_ext
35218 cat >>conftest.$ac_ext <<_ACEOF
35219 /* end confdefs.h.  */
35220 #include <wchar.h>
35221
35222 typedef mbstate_t ac__type_new_;
35223 int
35224 main ()
35225 {
35226 if ((ac__type_new_ *) 0)
35227   return 0;
35228 if (sizeof (ac__type_new_))
35229   return 0;
35230   ;
35231   return 0;
35232 }
35233 _ACEOF
35234 rm -f conftest.$ac_objext
35235 if { (ac_try="$ac_compile"
35236 case "(($ac_try" in
35237   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35238   *) ac_try_echo=$ac_try;;
35239 esac
35240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35241   (eval "$ac_compile") 2>conftest.er1
35242   ac_status=$?
35243   grep -v '^ *+' conftest.er1 >conftest.err
35244   rm -f conftest.er1
35245   cat conftest.err >&5
35246   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35247   (exit $ac_status); } && {
35248          test -z "$ac_c_werror_flag" ||
35249          test ! -s conftest.err
35250        } && test -s conftest.$ac_objext; then
35251   ac_cv_type_mbstate_t=yes
35252 else
35253   echo "$as_me: failed program was:" >&5
35254 sed 's/^/| /' conftest.$ac_ext >&5
35255
35256         ac_cv_type_mbstate_t=no
35257 fi
35258
35259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35260 fi
35261 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
35262 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
35263 if test $ac_cv_type_mbstate_t = yes; then
35264
35265 cat >>confdefs.h <<_ACEOF
35266 #define HAVE_MBSTATE_T 1
35267 _ACEOF
35268
35269
35270 for ac_func in wcsrtombs
35271 do
35272 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35273 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35274 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35275 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35276   echo $ECHO_N "(cached) $ECHO_C" >&6
35277 else
35278   cat >conftest.$ac_ext <<_ACEOF
35279 /* confdefs.h.  */
35280 _ACEOF
35281 cat confdefs.h >>conftest.$ac_ext
35282 cat >>conftest.$ac_ext <<_ACEOF
35283 /* end confdefs.h.  */
35284 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35285    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
35286 #define $ac_func innocuous_$ac_func
35287
35288 /* System header to define __stub macros and hopefully few prototypes,
35289     which can conflict with char $ac_func (); below.
35290     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35291     <limits.h> exists even on freestanding compilers.  */
35292
35293 #ifdef __STDC__
35294 # include <limits.h>
35295 #else
35296 # include <assert.h>
35297 #endif
35298
35299 #undef $ac_func
35300
35301 /* Override any GCC internal prototype to avoid an error.
35302    Use char because int might match the return type of a GCC
35303    builtin and then its argument prototype would still apply.  */
35304 #ifdef __cplusplus
35305 extern "C"
35306 #endif
35307 char $ac_func ();
35308 /* The GNU C library defines this for functions which it implements
35309     to always fail with ENOSYS.  Some functions are actually named
35310     something starting with __ and the normal name is an alias.  */
35311 #if defined __stub_$ac_func || defined __stub___$ac_func
35312 choke me
35313 #endif
35314
35315 int
35316 main ()
35317 {
35318 return $ac_func ();
35319   ;
35320   return 0;
35321 }
35322 _ACEOF
35323 rm -f conftest.$ac_objext conftest$ac_exeext
35324 if { (ac_try="$ac_link"
35325 case "(($ac_try" in
35326   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35327   *) ac_try_echo=$ac_try;;
35328 esac
35329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35330   (eval "$ac_link") 2>conftest.er1
35331   ac_status=$?
35332   grep -v '^ *+' conftest.er1 >conftest.err
35333   rm -f conftest.er1
35334   cat conftest.err >&5
35335   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35336   (exit $ac_status); } && {
35337          test -z "$ac_c_werror_flag" ||
35338          test ! -s conftest.err
35339        } && test -s conftest$ac_exeext &&
35340        $as_test_x conftest$ac_exeext; then
35341   eval "$as_ac_var=yes"
35342 else
35343   echo "$as_me: failed program was:" >&5
35344 sed 's/^/| /' conftest.$ac_ext >&5
35345
35346         eval "$as_ac_var=no"
35347 fi
35348
35349 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35350       conftest$ac_exeext conftest.$ac_ext
35351 fi
35352 ac_res=`eval echo '${'$as_ac_var'}'`
35353                { echo "$as_me:$LINENO: result: $ac_res" >&5
35354 echo "${ECHO_T}$ac_res" >&6; }
35355 if test `eval echo '${'$as_ac_var'}'` = yes; then
35356   cat >>confdefs.h <<_ACEOF
35357 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35358 _ACEOF
35359
35360 fi
35361 done
35362
35363 fi
35364
35365 else
35366     { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
35367 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
35368 fi
35369
35370
35371
35372
35373 for ac_func in snprintf vsnprintf vsscanf
35374 do
35375 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35376 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35377 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35378 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35379   echo $ECHO_N "(cached) $ECHO_C" >&6
35380 else
35381   cat >conftest.$ac_ext <<_ACEOF
35382 /* confdefs.h.  */
35383 _ACEOF
35384 cat confdefs.h >>conftest.$ac_ext
35385 cat >>conftest.$ac_ext <<_ACEOF
35386 /* end confdefs.h.  */
35387 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35388    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
35389 #define $ac_func innocuous_$ac_func
35390
35391 /* System header to define __stub macros and hopefully few prototypes,
35392     which can conflict with char $ac_func (); below.
35393     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35394     <limits.h> exists even on freestanding compilers.  */
35395
35396 #ifdef __STDC__
35397 # include <limits.h>
35398 #else
35399 # include <assert.h>
35400 #endif
35401
35402 #undef $ac_func
35403
35404 /* Override any GCC internal prototype to avoid an error.
35405    Use char because int might match the return type of a GCC
35406    builtin and then its argument prototype would still apply.  */
35407 #ifdef __cplusplus
35408 extern "C"
35409 #endif
35410 char $ac_func ();
35411 /* The GNU C library defines this for functions which it implements
35412     to always fail with ENOSYS.  Some functions are actually named
35413     something starting with __ and the normal name is an alias.  */
35414 #if defined __stub_$ac_func || defined __stub___$ac_func
35415 choke me
35416 #endif
35417
35418 int
35419 main ()
35420 {
35421 return $ac_func ();
35422   ;
35423   return 0;
35424 }
35425 _ACEOF
35426 rm -f conftest.$ac_objext conftest$ac_exeext
35427 if { (ac_try="$ac_link"
35428 case "(($ac_try" in
35429   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35430   *) ac_try_echo=$ac_try;;
35431 esac
35432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35433   (eval "$ac_link") 2>conftest.er1
35434   ac_status=$?
35435   grep -v '^ *+' conftest.er1 >conftest.err
35436   rm -f conftest.er1
35437   cat conftest.err >&5
35438   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35439   (exit $ac_status); } && {
35440          test -z "$ac_c_werror_flag" ||
35441          test ! -s conftest.err
35442        } && test -s conftest$ac_exeext &&
35443        $as_test_x conftest$ac_exeext; then
35444   eval "$as_ac_var=yes"
35445 else
35446   echo "$as_me: failed program was:" >&5
35447 sed 's/^/| /' conftest.$ac_ext >&5
35448
35449         eval "$as_ac_var=no"
35450 fi
35451
35452 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35453       conftest$ac_exeext conftest.$ac_ext
35454 fi
35455 ac_res=`eval echo '${'$as_ac_var'}'`
35456                { echo "$as_me:$LINENO: result: $ac_res" >&5
35457 echo "${ECHO_T}$ac_res" >&6; }
35458 if test `eval echo '${'$as_ac_var'}'` = yes; then
35459   cat >>confdefs.h <<_ACEOF
35460 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35461 _ACEOF
35462
35463 fi
35464 done
35465
35466
35467 ac_ext=cpp
35468 ac_cpp='$CXXCPP $CPPFLAGS'
35469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35472
35473 if test "$ac_cv_func_vsnprintf" = "yes"; then
35474         { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
35475 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
35476 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
35477   echo $ECHO_N "(cached) $ECHO_C" >&6
35478 else
35479
35480                                                             cat >conftest.$ac_ext <<_ACEOF
35481 /* confdefs.h.  */
35482 _ACEOF
35483 cat confdefs.h >>conftest.$ac_ext
35484 cat >>conftest.$ac_ext <<_ACEOF
35485 /* end confdefs.h.  */
35486
35487                     #include <stdio.h>
35488                     #include <stdarg.h>
35489                     #ifdef __MSL__
35490                     #if __MSL__ >= 0x6000
35491                     namespace std {}
35492                     using namespace std;
35493                     #endif
35494                     #endif
35495
35496 int
35497 main ()
35498 {
35499
35500                     char *buf;
35501                     va_list ap;
35502                     vsnprintf(buf, 10u, "%s", ap);
35503
35504   ;
35505   return 0;
35506 }
35507 _ACEOF
35508 rm -f conftest.$ac_objext
35509 if { (ac_try="$ac_compile"
35510 case "(($ac_try" in
35511   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35512   *) ac_try_echo=$ac_try;;
35513 esac
35514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35515   (eval "$ac_compile") 2>conftest.er1
35516   ac_status=$?
35517   grep -v '^ *+' conftest.er1 >conftest.err
35518   rm -f conftest.er1
35519   cat conftest.err >&5
35520   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35521   (exit $ac_status); } && {
35522          test -z "$ac_cxx_werror_flag" ||
35523          test ! -s conftest.err
35524        } && test -s conftest.$ac_objext; then
35525   wx_cv_func_vsnprintf_decl=yes
35526 else
35527   echo "$as_me: failed program was:" >&5
35528 sed 's/^/| /' conftest.$ac_ext >&5
35529
35530         wx_cv_func_vsnprintf_decl=no
35531
35532 fi
35533
35534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35535
35536
35537 fi
35538 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
35539 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
35540
35541     if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
35542         cat >>confdefs.h <<\_ACEOF
35543 #define HAVE_VSNPRINTF_DECL 1
35544 _ACEOF
35545
35546
35547                         { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
35548 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
35549 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
35550   echo $ECHO_N "(cached) $ECHO_C" >&6
35551 else
35552
35553                 cat >conftest.$ac_ext <<_ACEOF
35554 /* confdefs.h.  */
35555 _ACEOF
35556 cat confdefs.h >>conftest.$ac_ext
35557 cat >>conftest.$ac_ext <<_ACEOF
35558 /* end confdefs.h.  */
35559
35560                         #include <stdio.h>
35561                         #include <stdarg.h>
35562                         #ifdef __MSL__
35563                         #if __MSL__ >= 0x6000
35564                         namespace std {}
35565                         using namespace std;
35566                         #endif
35567                         #endif
35568
35569 int
35570 main ()
35571 {
35572
35573                         char *buf;
35574                         va_list ap;
35575                         const char *fmt = "%s";
35576                         vsnprintf(buf, 10u, fmt, ap);
35577
35578   ;
35579   return 0;
35580 }
35581 _ACEOF
35582 rm -f conftest.$ac_objext
35583 if { (ac_try="$ac_compile"
35584 case "(($ac_try" in
35585   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35586   *) ac_try_echo=$ac_try;;
35587 esac
35588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35589   (eval "$ac_compile") 2>conftest.er1
35590   ac_status=$?
35591   grep -v '^ *+' conftest.er1 >conftest.err
35592   rm -f conftest.er1
35593   cat conftest.err >&5
35594   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35595   (exit $ac_status); } && {
35596          test -z "$ac_cxx_werror_flag" ||
35597          test ! -s conftest.err
35598        } && test -s conftest.$ac_objext; then
35599   wx_cv_func_broken_vsnprintf_decl=no
35600 else
35601   echo "$as_me: failed program was:" >&5
35602 sed 's/^/| /' conftest.$ac_ext >&5
35603
35604         wx_cv_func_broken_vsnprintf_decl=yes
35605
35606 fi
35607
35608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35609
35610
35611 fi
35612 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
35613 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
35614
35615         if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
35616             cat >>confdefs.h <<\_ACEOF
35617 #define HAVE_BROKEN_VSNPRINTF_DECL 1
35618 _ACEOF
35619
35620         fi
35621     fi
35622 fi
35623
35624 if test "$ac_cv_func_snprintf" = "yes"; then
35625     { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
35626 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
35627 if test "${wx_cv_func_snprintf_decl+set}" = set; then
35628   echo $ECHO_N "(cached) $ECHO_C" >&6
35629 else
35630
35631             cat >conftest.$ac_ext <<_ACEOF
35632 /* confdefs.h.  */
35633 _ACEOF
35634 cat confdefs.h >>conftest.$ac_ext
35635 cat >>conftest.$ac_ext <<_ACEOF
35636 /* end confdefs.h.  */
35637
35638                     #include <stdio.h>
35639                     #include <stdarg.h>
35640                     #ifdef __MSL__
35641                     #if __MSL__ >= 0x6000
35642                     namespace std {}
35643                     using namespace std;
35644                     #endif
35645                     #endif
35646
35647 int
35648 main ()
35649 {
35650
35651                     char *buf;
35652                     snprintf(buf, 10u, "%s", "wx");
35653
35654   ;
35655   return 0;
35656 }
35657 _ACEOF
35658 rm -f conftest.$ac_objext
35659 if { (ac_try="$ac_compile"
35660 case "(($ac_try" in
35661   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35662   *) ac_try_echo=$ac_try;;
35663 esac
35664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35665   (eval "$ac_compile") 2>conftest.er1
35666   ac_status=$?
35667   grep -v '^ *+' conftest.er1 >conftest.err
35668   rm -f conftest.er1
35669   cat conftest.err >&5
35670   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35671   (exit $ac_status); } && {
35672          test -z "$ac_cxx_werror_flag" ||
35673          test ! -s conftest.err
35674        } && test -s conftest.$ac_objext; then
35675   wx_cv_func_snprintf_decl=yes
35676 else
35677   echo "$as_me: failed program was:" >&5
35678 sed 's/^/| /' conftest.$ac_ext >&5
35679
35680         wx_cv_func_snprintf_decl=no
35681
35682 fi
35683
35684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35685
35686
35687 fi
35688 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
35689 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
35690
35691     if test "$wx_cv_func_snprintf_decl" = "yes"; then
35692         cat >>confdefs.h <<\_ACEOF
35693 #define HAVE_SNPRINTF_DECL 1
35694 _ACEOF
35695
35696     fi
35697
35698     if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35699
35700                                         { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
35701 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
35702 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
35703   echo $ECHO_N "(cached) $ECHO_C" >&6
35704 else
35705
35706                 if test "$cross_compiling" = yes; then
35707
35708                         { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
35709 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
35710 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
35711 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
35712                         wx_cv_func_snprintf_pos_params=no
35713
35714
35715 else
35716   cat >conftest.$ac_ext <<_ACEOF
35717 /* confdefs.h.  */
35718 _ACEOF
35719 cat confdefs.h >>conftest.$ac_ext
35720 cat >>conftest.$ac_ext <<_ACEOF
35721 /* end confdefs.h.  */
35722
35723                         #include <stdio.h>
35724
35725                         int main (void)
35726                         {
35727                             char buffer[128];
35728                             snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
35729                             if (strcmp ("2 3 1", buffer) == 0)
35730                                 exit (0);
35731                             exit (1);
35732                         }
35733
35734 _ACEOF
35735 rm -f conftest$ac_exeext
35736 if { (ac_try="$ac_link"
35737 case "(($ac_try" in
35738   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35739   *) ac_try_echo=$ac_try;;
35740 esac
35741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35742   (eval "$ac_link") 2>&5
35743   ac_status=$?
35744   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35745   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
35746   { (case "(($ac_try" in
35747   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35748   *) ac_try_echo=$ac_try;;
35749 esac
35750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35751   (eval "$ac_try") 2>&5
35752   ac_status=$?
35753   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35754   (exit $ac_status); }; }; then
35755   wx_cv_func_snprintf_pos_params=no
35756 else
35757   echo "$as_me: program exited with status $ac_status" >&5
35758 echo "$as_me: failed program was:" >&5
35759 sed 's/^/| /' conftest.$ac_ext >&5
35760
35761 ( exit $ac_status )
35762 wx_cv_func_snprintf_pos_params=yes
35763 fi
35764 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
35765 fi
35766
35767
35768
35769
35770 fi
35771 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
35772 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
35773
35774         if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
35775             cat >>confdefs.h <<\_ACEOF
35776 #define HAVE_UNIX98_PRINTF 1
35777 _ACEOF
35778
35779         fi
35780     fi
35781 fi
35782
35783 if test "$ac_cv_func_vsscanf" = "yes"; then
35784     { echo "$as_me:$LINENO: checking for vsscanf declaration" >&5
35785 echo $ECHO_N "checking for vsscanf declaration... $ECHO_C" >&6; }
35786 if test "${wx_cv_func_vsscanf_decl+set}" = set; then
35787   echo $ECHO_N "(cached) $ECHO_C" >&6
35788 else
35789
35790             cat >conftest.$ac_ext <<_ACEOF
35791 /* confdefs.h.  */
35792 _ACEOF
35793 cat confdefs.h >>conftest.$ac_ext
35794 cat >>conftest.$ac_ext <<_ACEOF
35795 /* end confdefs.h.  */
35796
35797                     #include <stdio.h>
35798                     #include <stdarg.h>
35799                     #ifdef __MSL__
35800                     #if __MSL__ >= 0x6000
35801                     namespace std {}
35802                     using namespace std;
35803                     #endif
35804                     #endif
35805
35806 int
35807 main ()
35808 {
35809
35810                     char *buf;
35811                     va_list args;
35812                     vsscanf(buf, "%s", args);
35813
35814   ;
35815   return 0;
35816 }
35817 _ACEOF
35818 rm -f conftest.$ac_objext
35819 if { (ac_try="$ac_compile"
35820 case "(($ac_try" in
35821   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35822   *) ac_try_echo=$ac_try;;
35823 esac
35824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35825   (eval "$ac_compile") 2>conftest.er1
35826   ac_status=$?
35827   grep -v '^ *+' conftest.er1 >conftest.err
35828   rm -f conftest.er1
35829   cat conftest.err >&5
35830   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35831   (exit $ac_status); } && {
35832          test -z "$ac_cxx_werror_flag" ||
35833          test ! -s conftest.err
35834        } && test -s conftest.$ac_objext; then
35835   wx_cv_func_vsscanf_decl=yes
35836 else
35837   echo "$as_me: failed program was:" >&5
35838 sed 's/^/| /' conftest.$ac_ext >&5
35839
35840         wx_cv_func_vsscanf_decl=no
35841
35842 fi
35843
35844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35845
35846
35847 fi
35848 { echo "$as_me:$LINENO: result: $wx_cv_func_vsscanf_decl" >&5
35849 echo "${ECHO_T}$wx_cv_func_vsscanf_decl" >&6; }
35850
35851     if test "$wx_cv_func_vsscanf_decl" = "yes"; then
35852         cat >>confdefs.h <<\_ACEOF
35853 #define HAVE_VSSCANF_DECL 1
35854 _ACEOF
35855
35856     fi
35857 fi
35858 ac_ext=c
35859 ac_cpp='$CPP $CPPFLAGS'
35860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35863
35864
35865 if test "$wxUSE_UNICODE" = yes; then
35866
35867             wchar_headers="#include <stdio.h>
35868 #include <wchar.h>"
35869     case "${host}" in
35870         *-*-solaris2* )
35871
35872 for ac_header in widec.h
35873 do
35874 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35875 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35876 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35877 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35878   echo $ECHO_N "(cached) $ECHO_C" >&6
35879 else
35880   cat >conftest.$ac_ext <<_ACEOF
35881 /* confdefs.h.  */
35882 _ACEOF
35883 cat confdefs.h >>conftest.$ac_ext
35884 cat >>conftest.$ac_ext <<_ACEOF
35885 /* end confdefs.h.  */
35886 $ac_includes_default
35887
35888 #include <$ac_header>
35889 _ACEOF
35890 rm -f conftest.$ac_objext
35891 if { (ac_try="$ac_compile"
35892 case "(($ac_try" in
35893   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35894   *) ac_try_echo=$ac_try;;
35895 esac
35896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35897   (eval "$ac_compile") 2>conftest.er1
35898   ac_status=$?
35899   grep -v '^ *+' conftest.er1 >conftest.err
35900   rm -f conftest.er1
35901   cat conftest.err >&5
35902   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35903   (exit $ac_status); } && {
35904          test -z "$ac_c_werror_flag" ||
35905          test ! -s conftest.err
35906        } && test -s conftest.$ac_objext; then
35907   eval "$as_ac_Header=yes"
35908 else
35909   echo "$as_me: failed program was:" >&5
35910 sed 's/^/| /' conftest.$ac_ext >&5
35911
35912         eval "$as_ac_Header=no"
35913 fi
35914
35915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35916 fi
35917 ac_res=`eval echo '${'$as_ac_Header'}'`
35918                { echo "$as_me:$LINENO: result: $ac_res" >&5
35919 echo "${ECHO_T}$ac_res" >&6; }
35920 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35921   cat >>confdefs.h <<_ACEOF
35922 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35923 _ACEOF
35924
35925 fi
35926
35927 done
35928
35929             if test "$ac_cv_header_widec_h" = "yes"; then
35930                 wchar_headers="$wchar_headers
35931 #include <widec.h>"
35932             fi
35933     esac
35934
35935
35936   for wx_func in putws fputws wprintf vswprintf vswscanf
35937   do
35938     { echo "$as_me:$LINENO: checking for $wx_func" >&5
35939 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35940 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35941   echo $ECHO_N "(cached) $ECHO_C" >&6
35942 else
35943
35944         cat >conftest.$ac_ext <<_ACEOF
35945
35946             /* confdefs.h.  */
35947 _ACEOF
35948 cat confdefs.h >>conftest.$ac_ext
35949 cat >>conftest.$ac_ext <<_ACEOF
35950 /* end confdefs.h.  */
35951
35952                 $wchar_headers
35953                 $ac_includes_default
35954
35955 int
35956 main ()
35957 {
35958
35959                 #ifndef $wx_func
35960                   &$wx_func;
35961                 #endif
35962
35963
35964   ;
35965   return 0;
35966 }
35967
35968 _ACEOF
35969 rm -f conftest.$ac_objext conftest$ac_exeext
35970 if { (ac_try="$ac_link"
35971 case "(($ac_try" in
35972   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35973   *) ac_try_echo=$ac_try;;
35974 esac
35975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35976   (eval "$ac_link") 2>conftest.er1
35977   ac_status=$?
35978   grep -v '^ *+' conftest.er1 >conftest.err
35979   rm -f conftest.er1
35980   cat conftest.err >&5
35981   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35982   (exit $ac_status); } && {
35983          test -z "$ac_c_werror_flag" ||
35984          test ! -s conftest.err
35985        } && test -s conftest$ac_exeext &&
35986        $as_test_x conftest$ac_exeext; then
35987   eval wx_cv_func_$wx_func=yes
35988 else
35989   echo "$as_me: failed program was:" >&5
35990 sed 's/^/| /' conftest.$ac_ext >&5
35991
35992         eval wx_cv_func_$wx_func=no
35993 fi
35994
35995 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35996       conftest$ac_exeext conftest.$ac_ext
35997
35998 fi
35999 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36000                { echo "$as_me:$LINENO: result: $ac_res" >&5
36001 echo "${ECHO_T}$ac_res" >&6; }
36002
36003     if eval test \$wx_cv_func_$wx_func = yes
36004     then
36005       cat >>confdefs.h <<_ACEOF
36006 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
36007 _ACEOF
36008
36009
36010     else
36011       :
36012
36013     fi
36014   done
36015
36016
36017                 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
36018 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
36019     cat >conftest.$ac_ext <<_ACEOF
36020 /* confdefs.h.  */
36021 _ACEOF
36022 cat confdefs.h >>conftest.$ac_ext
36023 cat >>conftest.$ac_ext <<_ACEOF
36024 /* end confdefs.h.  */
36025 #include <wchar.h>
36026 int
36027 main ()
36028 {
36029 &_vsnwprintf;
36030   ;
36031   return 0;
36032 }
36033 _ACEOF
36034 rm -f conftest.$ac_objext
36035 if { (ac_try="$ac_compile"
36036 case "(($ac_try" in
36037   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36038   *) ac_try_echo=$ac_try;;
36039 esac
36040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36041   (eval "$ac_compile") 2>conftest.er1
36042   ac_status=$?
36043   grep -v '^ *+' conftest.er1 >conftest.err
36044   rm -f conftest.er1
36045   cat conftest.err >&5
36046   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36047   (exit $ac_status); } && {
36048          test -z "$ac_c_werror_flag" ||
36049          test ! -s conftest.err
36050        } && test -s conftest.$ac_objext; then
36051   { echo "$as_me:$LINENO: result: yes" >&5
36052 echo "${ECHO_T}yes" >&6; }
36053                     cat >>confdefs.h <<\_ACEOF
36054 #define HAVE__VSNWPRINTF 1
36055 _ACEOF
36056
36057 else
36058   echo "$as_me: failed program was:" >&5
36059 sed 's/^/| /' conftest.$ac_ext >&5
36060
36061         { echo "$as_me:$LINENO: result: no" >&5
36062 echo "${ECHO_T}no" >&6; }
36063 fi
36064
36065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
36066 fi
36067
36068 if test "$wxUSE_FILE" = "yes"; then
36069
36070   for wx_func in fsync
36071   do
36072     { echo "$as_me:$LINENO: checking for $wx_func" >&5
36073 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36074 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36075   echo $ECHO_N "(cached) $ECHO_C" >&6
36076 else
36077
36078         cat >conftest.$ac_ext <<_ACEOF
36079
36080             /* confdefs.h.  */
36081 _ACEOF
36082 cat confdefs.h >>conftest.$ac_ext
36083 cat >>conftest.$ac_ext <<_ACEOF
36084 /* end confdefs.h.  */
36085
36086
36087                 $ac_includes_default
36088
36089 int
36090 main ()
36091 {
36092
36093                 #ifndef $wx_func
36094                   &$wx_func;
36095                 #endif
36096
36097
36098   ;
36099   return 0;
36100 }
36101
36102 _ACEOF
36103 rm -f conftest.$ac_objext conftest$ac_exeext
36104 if { (ac_try="$ac_link"
36105 case "(($ac_try" in
36106   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36107   *) ac_try_echo=$ac_try;;
36108 esac
36109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36110   (eval "$ac_link") 2>conftest.er1
36111   ac_status=$?
36112   grep -v '^ *+' conftest.er1 >conftest.err
36113   rm -f conftest.er1
36114   cat conftest.err >&5
36115   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36116   (exit $ac_status); } && {
36117          test -z "$ac_c_werror_flag" ||
36118          test ! -s conftest.err
36119        } && test -s conftest$ac_exeext &&
36120        $as_test_x conftest$ac_exeext; then
36121   eval wx_cv_func_$wx_func=yes
36122 else
36123   echo "$as_me: failed program was:" >&5
36124 sed 's/^/| /' conftest.$ac_ext >&5
36125
36126         eval wx_cv_func_$wx_func=no
36127 fi
36128
36129 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36130       conftest$ac_exeext conftest.$ac_ext
36131
36132 fi
36133 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36134                { echo "$as_me:$LINENO: result: $ac_res" >&5
36135 echo "${ECHO_T}$ac_res" >&6; }
36136
36137     if eval test \$wx_cv_func_$wx_func = yes
36138     then
36139       cat >>confdefs.h <<_ACEOF
36140 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
36141 _ACEOF
36142
36143
36144     else
36145       :
36146
36147     fi
36148   done
36149
36150 fi
36151
36152 ac_ext=cpp
36153 ac_cpp='$CXXCPP $CPPFLAGS'
36154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36157
36158
36159   for wx_func in round
36160   do
36161     { echo "$as_me:$LINENO: checking for $wx_func" >&5
36162 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36163 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36164   echo $ECHO_N "(cached) $ECHO_C" >&6
36165 else
36166
36167         cat >conftest.$ac_ext <<_ACEOF
36168
36169             /* confdefs.h.  */
36170 _ACEOF
36171 cat confdefs.h >>conftest.$ac_ext
36172 cat >>conftest.$ac_ext <<_ACEOF
36173 /* end confdefs.h.  */
36174
36175                 #include <math.h>
36176                 $ac_includes_default
36177
36178 int
36179 main ()
36180 {
36181
36182                 #ifndef $wx_func
36183                   &$wx_func;
36184                 #endif
36185
36186
36187   ;
36188   return 0;
36189 }
36190
36191 _ACEOF
36192 rm -f conftest.$ac_objext conftest$ac_exeext
36193 if { (ac_try="$ac_link"
36194 case "(($ac_try" in
36195   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36196   *) ac_try_echo=$ac_try;;
36197 esac
36198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36199   (eval "$ac_link") 2>conftest.er1
36200   ac_status=$?
36201   grep -v '^ *+' conftest.er1 >conftest.err
36202   rm -f conftest.er1
36203   cat conftest.err >&5
36204   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36205   (exit $ac_status); } && {
36206          test -z "$ac_cxx_werror_flag" ||
36207          test ! -s conftest.err
36208        } && test -s conftest$ac_exeext &&
36209        $as_test_x conftest$ac_exeext; then
36210   eval wx_cv_func_$wx_func=yes
36211 else
36212   echo "$as_me: failed program was:" >&5
36213 sed 's/^/| /' conftest.$ac_ext >&5
36214
36215         eval wx_cv_func_$wx_func=no
36216 fi
36217
36218 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36219       conftest$ac_exeext conftest.$ac_ext
36220
36221 fi
36222 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36223                { echo "$as_me:$LINENO: result: $ac_res" >&5
36224 echo "${ECHO_T}$ac_res" >&6; }
36225
36226     if eval test \$wx_cv_func_$wx_func = yes
36227     then
36228       cat >>confdefs.h <<_ACEOF
36229 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
36230 _ACEOF
36231
36232
36233     else
36234       :
36235
36236     fi
36237   done
36238
36239 ac_ext=c
36240 ac_cpp='$CPP $CPPFLAGS'
36241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36244
36245
36246 if test "$TOOLKIT" != "MSW"; then
36247
36248 if test "$wxUSE_LIBICONV" != "no" ; then
36249
36250
36251
36252 # Check whether --with-libiconv-prefix was given.
36253 if test "${with_libiconv_prefix+set}" = set; then
36254   withval=$with_libiconv_prefix;
36255     for dir in `echo "$withval" | tr : ' '`; do
36256       if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
36257       if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
36258     done
36259
36260 fi
36261
36262
36263   { echo "$as_me:$LINENO: checking for iconv" >&5
36264 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
36265 if test "${am_cv_func_iconv+set}" = set; then
36266   echo $ECHO_N "(cached) $ECHO_C" >&6
36267 else
36268
36269     am_cv_func_iconv="no, consider installing GNU libiconv"
36270     am_cv_lib_iconv=no
36271     cat >conftest.$ac_ext <<_ACEOF
36272 /* confdefs.h.  */
36273 _ACEOF
36274 cat confdefs.h >>conftest.$ac_ext
36275 cat >>conftest.$ac_ext <<_ACEOF
36276 /* end confdefs.h.  */
36277 #include <stdlib.h>
36278 #include <iconv.h>
36279 int
36280 main ()
36281 {
36282 iconv_t cd = iconv_open("","");
36283        iconv(cd,NULL,NULL,NULL,NULL);
36284        iconv_close(cd);
36285   ;
36286   return 0;
36287 }
36288 _ACEOF
36289 rm -f conftest.$ac_objext conftest$ac_exeext
36290 if { (ac_try="$ac_link"
36291 case "(($ac_try" in
36292   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36293   *) ac_try_echo=$ac_try;;
36294 esac
36295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36296   (eval "$ac_link") 2>conftest.er1
36297   ac_status=$?
36298   grep -v '^ *+' conftest.er1 >conftest.err
36299   rm -f conftest.er1
36300   cat conftest.err >&5
36301   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36302   (exit $ac_status); } && {
36303          test -z "$ac_c_werror_flag" ||
36304          test ! -s conftest.err
36305        } && test -s conftest$ac_exeext &&
36306        $as_test_x conftest$ac_exeext; then
36307   am_cv_func_iconv=yes
36308 else
36309   echo "$as_me: failed program was:" >&5
36310 sed 's/^/| /' conftest.$ac_ext >&5
36311
36312
36313 fi
36314
36315 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36316       conftest$ac_exeext conftest.$ac_ext
36317     if test "$am_cv_func_iconv" != yes; then
36318       am_save_LIBS="$LIBS"
36319       LIBS="$LIBS -liconv"
36320       cat >conftest.$ac_ext <<_ACEOF
36321 /* confdefs.h.  */
36322 _ACEOF
36323 cat confdefs.h >>conftest.$ac_ext
36324 cat >>conftest.$ac_ext <<_ACEOF
36325 /* end confdefs.h.  */
36326 #include <stdlib.h>
36327 #include <iconv.h>
36328 int
36329 main ()
36330 {
36331 iconv_t cd = iconv_open("","");
36332          iconv(cd,NULL,NULL,NULL,NULL);
36333          iconv_close(cd);
36334   ;
36335   return 0;
36336 }
36337 _ACEOF
36338 rm -f conftest.$ac_objext conftest$ac_exeext
36339 if { (ac_try="$ac_link"
36340 case "(($ac_try" in
36341   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36342   *) ac_try_echo=$ac_try;;
36343 esac
36344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36345   (eval "$ac_link") 2>conftest.er1
36346   ac_status=$?
36347   grep -v '^ *+' conftest.er1 >conftest.err
36348   rm -f conftest.er1
36349   cat conftest.err >&5
36350   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36351   (exit $ac_status); } && {
36352          test -z "$ac_c_werror_flag" ||
36353          test ! -s conftest.err
36354        } && test -s conftest$ac_exeext &&
36355        $as_test_x conftest$ac_exeext; then
36356   am_cv_lib_iconv=yes
36357         am_cv_func_iconv=yes
36358 else
36359   echo "$as_me: failed program was:" >&5
36360 sed 's/^/| /' conftest.$ac_ext >&5
36361
36362
36363 fi
36364
36365 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36366       conftest$ac_exeext conftest.$ac_ext
36367       LIBS="$am_save_LIBS"
36368     fi
36369
36370 fi
36371 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
36372 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
36373   if test "$am_cv_func_iconv" = yes; then
36374
36375 cat >>confdefs.h <<\_ACEOF
36376 #define HAVE_ICONV 1
36377 _ACEOF
36378
36379     { echo "$as_me:$LINENO: checking if iconv needs const" >&5
36380 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
36381 if test "${wx_cv_func_iconv_const+set}" = set; then
36382   echo $ECHO_N "(cached) $ECHO_C" >&6
36383 else
36384   cat >conftest.$ac_ext <<_ACEOF
36385 /* confdefs.h.  */
36386 _ACEOF
36387 cat confdefs.h >>conftest.$ac_ext
36388 cat >>conftest.$ac_ext <<_ACEOF
36389 /* end confdefs.h.  */
36390
36391 #include <stdlib.h>
36392 #include <iconv.h>
36393 extern
36394 #ifdef __cplusplus
36395 "C"
36396 #endif
36397 #if defined(__STDC__) || defined(__cplusplus)
36398 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
36399 #else
36400 size_t iconv();
36401 #endif
36402
36403 int
36404 main ()
36405 {
36406
36407   ;
36408   return 0;
36409 }
36410 _ACEOF
36411 rm -f conftest.$ac_objext
36412 if { (ac_try="$ac_compile"
36413 case "(($ac_try" in
36414   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36415   *) ac_try_echo=$ac_try;;
36416 esac
36417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36418   (eval "$ac_compile") 2>conftest.er1
36419   ac_status=$?
36420   grep -v '^ *+' conftest.er1 >conftest.err
36421   rm -f conftest.er1
36422   cat conftest.err >&5
36423   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36424   (exit $ac_status); } && {
36425          test -z "$ac_c_werror_flag" ||
36426          test ! -s conftest.err
36427        } && test -s conftest.$ac_objext; then
36428   wx_cv_func_iconv_const="no"
36429 else
36430   echo "$as_me: failed program was:" >&5
36431 sed 's/^/| /' conftest.$ac_ext >&5
36432
36433         wx_cv_func_iconv_const="yes"
36434
36435 fi
36436
36437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36438
36439 fi
36440 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
36441 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
36442
36443     iconv_const=
36444     if test "x$wx_cv_func_iconv_const" = "xyes"; then
36445         iconv_const="const"
36446     fi
36447
36448
36449 cat >>confdefs.h <<_ACEOF
36450 #define ICONV_CONST $iconv_const
36451 _ACEOF
36452
36453   fi
36454   LIBICONV=
36455   if test "$am_cv_lib_iconv" = yes; then
36456     LIBICONV="-liconv"
36457   fi
36458
36459
36460     LIBS="$LIBICONV $LIBS"
36461 fi
36462
36463 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36464
36465 for ac_func in sigaction
36466 do
36467 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36468 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36469 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36470 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36471   echo $ECHO_N "(cached) $ECHO_C" >&6
36472 else
36473   cat >conftest.$ac_ext <<_ACEOF
36474 /* confdefs.h.  */
36475 _ACEOF
36476 cat confdefs.h >>conftest.$ac_ext
36477 cat >>conftest.$ac_ext <<_ACEOF
36478 /* end confdefs.h.  */
36479 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36480    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
36481 #define $ac_func innocuous_$ac_func
36482
36483 /* System header to define __stub macros and hopefully few prototypes,
36484     which can conflict with char $ac_func (); below.
36485     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36486     <limits.h> exists even on freestanding compilers.  */
36487
36488 #ifdef __STDC__
36489 # include <limits.h>
36490 #else
36491 # include <assert.h>
36492 #endif
36493
36494 #undef $ac_func
36495
36496 /* Override any GCC internal prototype to avoid an error.
36497    Use char because int might match the return type of a GCC
36498    builtin and then its argument prototype would still apply.  */
36499 #ifdef __cplusplus
36500 extern "C"
36501 #endif
36502 char $ac_func ();
36503 /* The GNU C library defines this for functions which it implements
36504     to always fail with ENOSYS.  Some functions are actually named
36505     something starting with __ and the normal name is an alias.  */
36506 #if defined __stub_$ac_func || defined __stub___$ac_func
36507 choke me
36508 #endif
36509
36510 int
36511 main ()
36512 {
36513 return $ac_func ();
36514   ;
36515   return 0;
36516 }
36517 _ACEOF
36518 rm -f conftest.$ac_objext conftest$ac_exeext
36519 if { (ac_try="$ac_link"
36520 case "(($ac_try" in
36521   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36522   *) ac_try_echo=$ac_try;;
36523 esac
36524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36525   (eval "$ac_link") 2>conftest.er1
36526   ac_status=$?
36527   grep -v '^ *+' conftest.er1 >conftest.err
36528   rm -f conftest.er1
36529   cat conftest.err >&5
36530   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36531   (exit $ac_status); } && {
36532          test -z "$ac_c_werror_flag" ||
36533          test ! -s conftest.err
36534        } && test -s conftest$ac_exeext &&
36535        $as_test_x conftest$ac_exeext; then
36536   eval "$as_ac_var=yes"
36537 else
36538   echo "$as_me: failed program was:" >&5
36539 sed 's/^/| /' conftest.$ac_ext >&5
36540
36541         eval "$as_ac_var=no"
36542 fi
36543
36544 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36545       conftest$ac_exeext conftest.$ac_ext
36546 fi
36547 ac_res=`eval echo '${'$as_ac_var'}'`
36548                { echo "$as_me:$LINENO: result: $ac_res" >&5
36549 echo "${ECHO_T}$ac_res" >&6; }
36550 if test `eval echo '${'$as_ac_var'}'` = yes; then
36551   cat >>confdefs.h <<_ACEOF
36552 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36553 _ACEOF
36554
36555 fi
36556 done
36557
36558
36559     if test "$ac_cv_func_sigaction" = "no"; then
36560         { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
36561 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
36562         wxUSE_ON_FATAL_EXCEPTION=no
36563     fi
36564
36565     if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
36566       { echo "$as_me:$LINENO: checking for sa_handler type" >&5
36567 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
36568 if test "${wx_cv_type_sa_handler+set}" = set; then
36569   echo $ECHO_N "(cached) $ECHO_C" >&6
36570 else
36571
36572                 ac_ext=cpp
36573 ac_cpp='$CXXCPP $CPPFLAGS'
36574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36577
36578         cat >conftest.$ac_ext <<_ACEOF
36579 /* confdefs.h.  */
36580 _ACEOF
36581 cat confdefs.h >>conftest.$ac_ext
36582 cat >>conftest.$ac_ext <<_ACEOF
36583 /* end confdefs.h.  */
36584 #include <signal.h>
36585 int
36586 main ()
36587 {
36588
36589                         extern void testSigHandler(int);
36590
36591                         struct sigaction sa;
36592                         sa.sa_handler = testSigHandler;
36593
36594   ;
36595   return 0;
36596 }
36597 _ACEOF
36598 rm -f conftest.$ac_objext
36599 if { (ac_try="$ac_compile"
36600 case "(($ac_try" in
36601   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36602   *) ac_try_echo=$ac_try;;
36603 esac
36604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36605   (eval "$ac_compile") 2>conftest.er1
36606   ac_status=$?
36607   grep -v '^ *+' conftest.er1 >conftest.err
36608   rm -f conftest.er1
36609   cat conftest.err >&5
36610   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36611   (exit $ac_status); } && {
36612          test -z "$ac_cxx_werror_flag" ||
36613          test ! -s conftest.err
36614        } && test -s conftest.$ac_objext; then
36615
36616                         wx_cv_type_sa_handler=int
36617
36618 else
36619   echo "$as_me: failed program was:" >&5
36620 sed 's/^/| /' conftest.$ac_ext >&5
36621
36622
36623                         wx_cv_type_sa_handler=void
36624
36625 fi
36626
36627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36628         ac_ext=c
36629 ac_cpp='$CPP $CPPFLAGS'
36630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36633
36634
36635 fi
36636 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
36637 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
36638
36639       cat >>confdefs.h <<_ACEOF
36640 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
36641 _ACEOF
36642
36643     fi
36644 fi
36645
36646 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36647     { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
36648 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
36649 if test "${wx_cv_func_backtrace+set}" = set; then
36650   echo $ECHO_N "(cached) $ECHO_C" >&6
36651 else
36652
36653             ac_ext=cpp
36654 ac_cpp='$CXXCPP $CPPFLAGS'
36655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36658
36659             cat >conftest.$ac_ext <<_ACEOF
36660 /* confdefs.h.  */
36661 _ACEOF
36662 cat confdefs.h >>conftest.$ac_ext
36663 cat >>conftest.$ac_ext <<_ACEOF
36664 /* end confdefs.h.  */
36665 #include <execinfo.h>
36666 int
36667 main ()
36668 {
36669
36670                     void *trace[1];
36671                     char **messages;
36672
36673                     backtrace(trace, 1);
36674                     messages = backtrace_symbols(trace, 1);
36675
36676   ;
36677   return 0;
36678 }
36679 _ACEOF
36680 rm -f conftest.$ac_objext
36681 if { (ac_try="$ac_compile"
36682 case "(($ac_try" in
36683   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36684   *) ac_try_echo=$ac_try;;
36685 esac
36686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36687   (eval "$ac_compile") 2>conftest.er1
36688   ac_status=$?
36689   grep -v '^ *+' conftest.er1 >conftest.err
36690   rm -f conftest.er1
36691   cat conftest.err >&5
36692   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36693   (exit $ac_status); } && {
36694          test -z "$ac_cxx_werror_flag" ||
36695          test ! -s conftest.err
36696        } && test -s conftest.$ac_objext; then
36697   wx_cv_func_backtrace=yes
36698 else
36699   echo "$as_me: failed program was:" >&5
36700 sed 's/^/| /' conftest.$ac_ext >&5
36701
36702         wx_cv_func_backtrace=no
36703
36704 fi
36705
36706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36707             ac_ext=c
36708 ac_cpp='$CPP $CPPFLAGS'
36709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36712
36713
36714
36715 fi
36716 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
36717 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
36718
36719
36720     if test "$wx_cv_func_backtrace" = "no"; then
36721         { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
36722 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
36723         wxUSE_STACKWALKER=no
36724     else
36725         { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
36726 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
36727 if test "${wx_cv_func_cxa_demangle+set}" = set; then
36728   echo $ECHO_N "(cached) $ECHO_C" >&6
36729 else
36730
36731                 ac_ext=cpp
36732 ac_cpp='$CXXCPP $CPPFLAGS'
36733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36736
36737                 cat >conftest.$ac_ext <<_ACEOF
36738 /* confdefs.h.  */
36739 _ACEOF
36740 cat confdefs.h >>conftest.$ac_ext
36741 cat >>conftest.$ac_ext <<_ACEOF
36742 /* end confdefs.h.  */
36743 #include <cxxabi.h>
36744 int
36745 main ()
36746 {
36747
36748                         int rc;
36749                         __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
36750
36751   ;
36752   return 0;
36753 }
36754 _ACEOF
36755 rm -f conftest.$ac_objext conftest$ac_exeext
36756 if { (ac_try="$ac_link"
36757 case "(($ac_try" in
36758   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36759   *) ac_try_echo=$ac_try;;
36760 esac
36761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36762   (eval "$ac_link") 2>conftest.er1
36763   ac_status=$?
36764   grep -v '^ *+' conftest.er1 >conftest.err
36765   rm -f conftest.er1
36766   cat conftest.err >&5
36767   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36768   (exit $ac_status); } && {
36769          test -z "$ac_cxx_werror_flag" ||
36770          test ! -s conftest.err
36771        } && test -s conftest$ac_exeext &&
36772        $as_test_x conftest$ac_exeext; then
36773   wx_cv_func_cxa_demangle=yes
36774 else
36775   echo "$as_me: failed program was:" >&5
36776 sed 's/^/| /' conftest.$ac_ext >&5
36777
36778         wx_cv_func_cxa_demangle=no
36779
36780 fi
36781
36782 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36783       conftest$ac_exeext conftest.$ac_ext
36784                 ac_ext=c
36785 ac_cpp='$CPP $CPPFLAGS'
36786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36789
36790
36791
36792 fi
36793 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
36794 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
36795
36796         if test "$wx_cv_func_cxa_demangle" = "yes"; then
36797             cat >>confdefs.h <<\_ACEOF
36798 #define HAVE_CXA_DEMANGLE 1
36799 _ACEOF
36800
36801         fi
36802     fi
36803 fi
36804
36805 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
36806     { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
36807 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
36808     wxUSE_STACKWALKER=no
36809 fi
36810
36811
36812
36813
36814 for ac_func in mkstemp mktemp
36815 do
36816 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36817 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36818 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36819 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36820   echo $ECHO_N "(cached) $ECHO_C" >&6
36821 else
36822   cat >conftest.$ac_ext <<_ACEOF
36823 /* confdefs.h.  */
36824 _ACEOF
36825 cat confdefs.h >>conftest.$ac_ext
36826 cat >>conftest.$ac_ext <<_ACEOF
36827 /* end confdefs.h.  */
36828 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36829    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
36830 #define $ac_func innocuous_$ac_func
36831
36832 /* System header to define __stub macros and hopefully few prototypes,
36833     which can conflict with char $ac_func (); below.
36834     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36835     <limits.h> exists even on freestanding compilers.  */
36836
36837 #ifdef __STDC__
36838 # include <limits.h>
36839 #else
36840 # include <assert.h>
36841 #endif
36842
36843 #undef $ac_func
36844
36845 /* Override any GCC internal prototype to avoid an error.
36846    Use char because int might match the return type of a GCC
36847    builtin and then its argument prototype would still apply.  */
36848 #ifdef __cplusplus
36849 extern "C"
36850 #endif
36851 char $ac_func ();
36852 /* The GNU C library defines this for functions which it implements
36853     to always fail with ENOSYS.  Some functions are actually named
36854     something starting with __ and the normal name is an alias.  */
36855 #if defined __stub_$ac_func || defined __stub___$ac_func
36856 choke me
36857 #endif
36858
36859 int
36860 main ()
36861 {
36862 return $ac_func ();
36863   ;
36864   return 0;
36865 }
36866 _ACEOF
36867 rm -f conftest.$ac_objext conftest$ac_exeext
36868 if { (ac_try="$ac_link"
36869 case "(($ac_try" in
36870   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36871   *) ac_try_echo=$ac_try;;
36872 esac
36873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36874   (eval "$ac_link") 2>conftest.er1
36875   ac_status=$?
36876   grep -v '^ *+' conftest.er1 >conftest.err
36877   rm -f conftest.er1
36878   cat conftest.err >&5
36879   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36880   (exit $ac_status); } && {
36881          test -z "$ac_c_werror_flag" ||
36882          test ! -s conftest.err
36883        } && test -s conftest$ac_exeext &&
36884        $as_test_x conftest$ac_exeext; then
36885   eval "$as_ac_var=yes"
36886 else
36887   echo "$as_me: failed program was:" >&5
36888 sed 's/^/| /' conftest.$ac_ext >&5
36889
36890         eval "$as_ac_var=no"
36891 fi
36892
36893 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36894       conftest$ac_exeext conftest.$ac_ext
36895 fi
36896 ac_res=`eval echo '${'$as_ac_var'}'`
36897                { echo "$as_me:$LINENO: result: $ac_res" >&5
36898 echo "${ECHO_T}$ac_res" >&6; }
36899 if test `eval echo '${'$as_ac_var'}'` = yes; then
36900   cat >>confdefs.h <<_ACEOF
36901 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36902 _ACEOF
36903  break
36904 fi
36905 done
36906
36907
36908 { echo "$as_me:$LINENO: checking for statfs" >&5
36909 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
36910 if test "${wx_cv_func_statfs+set}" = set; then
36911   echo $ECHO_N "(cached) $ECHO_C" >&6
36912 else
36913   cat >conftest.$ac_ext <<_ACEOF
36914 /* confdefs.h.  */
36915 _ACEOF
36916 cat confdefs.h >>conftest.$ac_ext
36917 cat >>conftest.$ac_ext <<_ACEOF
36918 /* end confdefs.h.  */
36919
36920              #if defined(__BSD__)
36921              #include <sys/param.h>
36922              #include <sys/mount.h>
36923              #else
36924              #include <sys/vfs.h>
36925              #endif
36926
36927 int
36928 main ()
36929 {
36930
36931              long l;
36932              struct statfs fs;
36933              statfs("/", &fs);
36934              l = fs.f_bsize;
36935              l += fs.f_blocks;
36936              l += fs.f_bavail;
36937
36938   ;
36939   return 0;
36940 }
36941 _ACEOF
36942 rm -f conftest.$ac_objext
36943 if { (ac_try="$ac_compile"
36944 case "(($ac_try" in
36945   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36946   *) ac_try_echo=$ac_try;;
36947 esac
36948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36949   (eval "$ac_compile") 2>conftest.er1
36950   ac_status=$?
36951   grep -v '^ *+' conftest.er1 >conftest.err
36952   rm -f conftest.er1
36953   cat conftest.err >&5
36954   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36955   (exit $ac_status); } && {
36956          test -z "$ac_c_werror_flag" ||
36957          test ! -s conftest.err
36958        } && test -s conftest.$ac_objext; then
36959   wx_cv_func_statfs=yes
36960 else
36961   echo "$as_me: failed program was:" >&5
36962 sed 's/^/| /' conftest.$ac_ext >&5
36963
36964         wx_cv_func_statfs=no
36965
36966 fi
36967
36968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36969
36970 fi
36971 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
36972 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
36973
36974 if test "$wx_cv_func_statfs" = "yes"; then
36975         { echo "$as_me:$LINENO: checking for statfs declaration" >&5
36976 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
36977 if test "${wx_cv_func_statfs_decl+set}" = set; then
36978   echo $ECHO_N "(cached) $ECHO_C" >&6
36979 else
36980   ac_ext=cpp
36981 ac_cpp='$CXXCPP $CPPFLAGS'
36982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36985
36986         cat >conftest.$ac_ext <<_ACEOF
36987 /* confdefs.h.  */
36988 _ACEOF
36989 cat confdefs.h >>conftest.$ac_ext
36990 cat >>conftest.$ac_ext <<_ACEOF
36991 /* end confdefs.h.  */
36992
36993                  #if defined(__BSD__)
36994                  #include <sys/param.h>
36995                  #include <sys/mount.h>
36996                  #else
36997                  #include <sys/vfs.h>
36998                  #endif
36999
37000 int
37001 main ()
37002 {
37003
37004                 struct statfs fs;
37005                 statfs("", &fs);
37006
37007   ;
37008   return 0;
37009 }
37010 _ACEOF
37011 rm -f conftest.$ac_objext
37012 if { (ac_try="$ac_compile"
37013 case "(($ac_try" in
37014   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37015   *) ac_try_echo=$ac_try;;
37016 esac
37017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37018   (eval "$ac_compile") 2>conftest.er1
37019   ac_status=$?
37020   grep -v '^ *+' conftest.er1 >conftest.err
37021   rm -f conftest.er1
37022   cat conftest.err >&5
37023   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37024   (exit $ac_status); } && {
37025          test -z "$ac_cxx_werror_flag" ||
37026          test ! -s conftest.err
37027        } && test -s conftest.$ac_objext; then
37028   wx_cv_func_statfs_decl=yes
37029 else
37030   echo "$as_me: failed program was:" >&5
37031 sed 's/^/| /' conftest.$ac_ext >&5
37032
37033         wx_cv_func_statfs_decl=no
37034
37035 fi
37036
37037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37038         ac_ext=c
37039 ac_cpp='$CPP $CPPFLAGS'
37040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37043
37044
37045 fi
37046 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
37047 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
37048
37049     if test "$wx_cv_func_statfs_decl" = "yes"; then
37050         cat >>confdefs.h <<\_ACEOF
37051 #define HAVE_STATFS_DECL 1
37052 _ACEOF
37053
37054     fi
37055
37056     wx_cv_type_statvfs_t="struct statfs"
37057     cat >>confdefs.h <<\_ACEOF
37058 #define HAVE_STATFS 1
37059 _ACEOF
37060
37061 else
37062     { echo "$as_me:$LINENO: checking for statvfs" >&5
37063 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
37064 if test "${wx_cv_func_statvfs+set}" = set; then
37065   echo $ECHO_N "(cached) $ECHO_C" >&6
37066 else
37067   cat >conftest.$ac_ext <<_ACEOF
37068 /* confdefs.h.  */
37069 _ACEOF
37070 cat confdefs.h >>conftest.$ac_ext
37071 cat >>conftest.$ac_ext <<_ACEOF
37072 /* end confdefs.h.  */
37073
37074                 #include <stddef.h>
37075                 #include <sys/statvfs.h>
37076
37077 int
37078 main ()
37079 {
37080
37081                 statvfs("/", NULL);
37082
37083   ;
37084   return 0;
37085 }
37086 _ACEOF
37087 rm -f conftest.$ac_objext
37088 if { (ac_try="$ac_compile"
37089 case "(($ac_try" in
37090   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37091   *) ac_try_echo=$ac_try;;
37092 esac
37093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37094   (eval "$ac_compile") 2>conftest.er1
37095   ac_status=$?
37096   grep -v '^ *+' conftest.er1 >conftest.err
37097   rm -f conftest.er1
37098   cat conftest.err >&5
37099   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37100   (exit $ac_status); } && {
37101          test -z "$ac_c_werror_flag" ||
37102          test ! -s conftest.err
37103        } && test -s conftest.$ac_objext; then
37104   wx_cv_func_statvfs=yes
37105 else
37106   echo "$as_me: failed program was:" >&5
37107 sed 's/^/| /' conftest.$ac_ext >&5
37108
37109         wx_cv_func_statvfs=no
37110
37111 fi
37112
37113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37114
37115 fi
37116 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
37117 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
37118
37119     if test "$wx_cv_func_statvfs" = "yes"; then
37120                                                                 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
37121 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
37122 if test "${wx_cv_type_statvfs_t+set}" = set; then
37123   echo $ECHO_N "(cached) $ECHO_C" >&6
37124 else
37125   ac_ext=cpp
37126 ac_cpp='$CXXCPP $CPPFLAGS'
37127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37130
37131             cat >conftest.$ac_ext <<_ACEOF
37132 /* confdefs.h.  */
37133 _ACEOF
37134 cat confdefs.h >>conftest.$ac_ext
37135 cat >>conftest.$ac_ext <<_ACEOF
37136 /* end confdefs.h.  */
37137
37138                     #include <sys/statvfs.h>
37139
37140 int
37141 main ()
37142 {
37143
37144                     long l;
37145                     statvfs_t fs;
37146                     statvfs("/", &fs);
37147                     l = fs.f_bsize;
37148                     l += fs.f_blocks;
37149                     l += fs.f_bavail;
37150
37151   ;
37152   return 0;
37153 }
37154 _ACEOF
37155 rm -f conftest.$ac_objext
37156 if { (ac_try="$ac_compile"
37157 case "(($ac_try" in
37158   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37159   *) ac_try_echo=$ac_try;;
37160 esac
37161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37162   (eval "$ac_compile") 2>conftest.er1
37163   ac_status=$?
37164   grep -v '^ *+' conftest.er1 >conftest.err
37165   rm -f conftest.er1
37166   cat conftest.err >&5
37167   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37168   (exit $ac_status); } && {
37169          test -z "$ac_cxx_werror_flag" ||
37170          test ! -s conftest.err
37171        } && test -s conftest.$ac_objext; then
37172   wx_cv_type_statvfs_t=statvfs_t
37173 else
37174   echo "$as_me: failed program was:" >&5
37175 sed 's/^/| /' conftest.$ac_ext >&5
37176
37177
37178                     cat >conftest.$ac_ext <<_ACEOF
37179 /* confdefs.h.  */
37180 _ACEOF
37181 cat confdefs.h >>conftest.$ac_ext
37182 cat >>conftest.$ac_ext <<_ACEOF
37183 /* end confdefs.h.  */
37184
37185                             #include <sys/statvfs.h>
37186
37187 int
37188 main ()
37189 {
37190
37191                             long l;
37192                             struct statvfs fs;
37193                             statvfs("/", &fs);
37194                             l = fs.f_bsize;
37195                             l += fs.f_blocks;
37196                             l += fs.f_bavail;
37197
37198   ;
37199   return 0;
37200 }
37201 _ACEOF
37202 rm -f conftest.$ac_objext
37203 if { (ac_try="$ac_compile"
37204 case "(($ac_try" in
37205   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37206   *) ac_try_echo=$ac_try;;
37207 esac
37208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37209   (eval "$ac_compile") 2>conftest.er1
37210   ac_status=$?
37211   grep -v '^ *+' conftest.er1 >conftest.err
37212   rm -f conftest.er1
37213   cat conftest.err >&5
37214   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37215   (exit $ac_status); } && {
37216          test -z "$ac_cxx_werror_flag" ||
37217          test ! -s conftest.err
37218        } && test -s conftest.$ac_objext; then
37219   wx_cv_type_statvfs_t="struct statvfs"
37220 else
37221   echo "$as_me: failed program was:" >&5
37222 sed 's/^/| /' conftest.$ac_ext >&5
37223
37224         wx_cv_type_statvfs_t="unknown"
37225
37226 fi
37227
37228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37229
37230
37231 fi
37232
37233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37234             ac_ext=c
37235 ac_cpp='$CPP $CPPFLAGS'
37236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37239
37240
37241 fi
37242 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
37243 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
37244
37245         if test "$wx_cv_type_statvfs_t" != "unknown"; then
37246             cat >>confdefs.h <<\_ACEOF
37247 #define HAVE_STATVFS 1
37248 _ACEOF
37249
37250         fi
37251     else
37252                 wx_cv_type_statvfs_t="unknown"
37253     fi
37254 fi
37255
37256 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37257     cat >>confdefs.h <<_ACEOF
37258 #define WX_STATFS_T $wx_cv_type_statvfs_t
37259 _ACEOF
37260
37261 else
37262     { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
37263 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
37264 fi
37265
37266 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
37267
37268
37269 for ac_func in fcntl flock
37270 do
37271 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37272 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37273 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37274 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37275   echo $ECHO_N "(cached) $ECHO_C" >&6
37276 else
37277   cat >conftest.$ac_ext <<_ACEOF
37278 /* confdefs.h.  */
37279 _ACEOF
37280 cat confdefs.h >>conftest.$ac_ext
37281 cat >>conftest.$ac_ext <<_ACEOF
37282 /* end confdefs.h.  */
37283 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37284    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
37285 #define $ac_func innocuous_$ac_func
37286
37287 /* System header to define __stub macros and hopefully few prototypes,
37288     which can conflict with char $ac_func (); below.
37289     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37290     <limits.h> exists even on freestanding compilers.  */
37291
37292 #ifdef __STDC__
37293 # include <limits.h>
37294 #else
37295 # include <assert.h>
37296 #endif
37297
37298 #undef $ac_func
37299
37300 /* Override any GCC internal prototype to avoid an error.
37301    Use char because int might match the return type of a GCC
37302    builtin and then its argument prototype would still apply.  */
37303 #ifdef __cplusplus
37304 extern "C"
37305 #endif
37306 char $ac_func ();
37307 /* The GNU C library defines this for functions which it implements
37308     to always fail with ENOSYS.  Some functions are actually named
37309     something starting with __ and the normal name is an alias.  */
37310 #if defined __stub_$ac_func || defined __stub___$ac_func
37311 choke me
37312 #endif
37313
37314 int
37315 main ()
37316 {
37317 return $ac_func ();
37318   ;
37319   return 0;
37320 }
37321 _ACEOF
37322 rm -f conftest.$ac_objext conftest$ac_exeext
37323 if { (ac_try="$ac_link"
37324 case "(($ac_try" in
37325   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37326   *) ac_try_echo=$ac_try;;
37327 esac
37328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37329   (eval "$ac_link") 2>conftest.er1
37330   ac_status=$?
37331   grep -v '^ *+' conftest.er1 >conftest.err
37332   rm -f conftest.er1
37333   cat conftest.err >&5
37334   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37335   (exit $ac_status); } && {
37336          test -z "$ac_c_werror_flag" ||
37337          test ! -s conftest.err
37338        } && test -s conftest$ac_exeext &&
37339        $as_test_x conftest$ac_exeext; then
37340   eval "$as_ac_var=yes"
37341 else
37342   echo "$as_me: failed program was:" >&5
37343 sed 's/^/| /' conftest.$ac_ext >&5
37344
37345         eval "$as_ac_var=no"
37346 fi
37347
37348 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37349       conftest$ac_exeext conftest.$ac_ext
37350 fi
37351 ac_res=`eval echo '${'$as_ac_var'}'`
37352                { echo "$as_me:$LINENO: result: $ac_res" >&5
37353 echo "${ECHO_T}$ac_res" >&6; }
37354 if test `eval echo '${'$as_ac_var'}'` = yes; then
37355   cat >>confdefs.h <<_ACEOF
37356 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37357 _ACEOF
37358  break
37359 fi
37360 done
37361
37362
37363     if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
37364         { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
37365 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
37366         wxUSE_SNGLINST_CHECKER=no
37367     fi
37368 fi
37369
37370
37371
37372 for ac_func in setenv putenv
37373 do
37374 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37375 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37376 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37377 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37378   echo $ECHO_N "(cached) $ECHO_C" >&6
37379 else
37380   cat >conftest.$ac_ext <<_ACEOF
37381 /* confdefs.h.  */
37382 _ACEOF
37383 cat confdefs.h >>conftest.$ac_ext
37384 cat >>conftest.$ac_ext <<_ACEOF
37385 /* end confdefs.h.  */
37386 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37387    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
37388 #define $ac_func innocuous_$ac_func
37389
37390 /* System header to define __stub macros and hopefully few prototypes,
37391     which can conflict with char $ac_func (); below.
37392     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37393     <limits.h> exists even on freestanding compilers.  */
37394
37395 #ifdef __STDC__
37396 # include <limits.h>
37397 #else
37398 # include <assert.h>
37399 #endif
37400
37401 #undef $ac_func
37402
37403 /* Override any GCC internal prototype to avoid an error.
37404    Use char because int might match the return type of a GCC
37405    builtin and then its argument prototype would still apply.  */
37406 #ifdef __cplusplus
37407 extern "C"
37408 #endif
37409 char $ac_func ();
37410 /* The GNU C library defines this for functions which it implements
37411     to always fail with ENOSYS.  Some functions are actually named
37412     something starting with __ and the normal name is an alias.  */
37413 #if defined __stub_$ac_func || defined __stub___$ac_func
37414 choke me
37415 #endif
37416
37417 int
37418 main ()
37419 {
37420 return $ac_func ();
37421   ;
37422   return 0;
37423 }
37424 _ACEOF
37425 rm -f conftest.$ac_objext conftest$ac_exeext
37426 if { (ac_try="$ac_link"
37427 case "(($ac_try" in
37428   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37429   *) ac_try_echo=$ac_try;;
37430 esac
37431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37432   (eval "$ac_link") 2>conftest.er1
37433   ac_status=$?
37434   grep -v '^ *+' conftest.er1 >conftest.err
37435   rm -f conftest.er1
37436   cat conftest.err >&5
37437   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37438   (exit $ac_status); } && {
37439          test -z "$ac_c_werror_flag" ||
37440          test ! -s conftest.err
37441        } && test -s conftest$ac_exeext &&
37442        $as_test_x conftest$ac_exeext; then
37443   eval "$as_ac_var=yes"
37444 else
37445   echo "$as_me: failed program was:" >&5
37446 sed 's/^/| /' conftest.$ac_ext >&5
37447
37448         eval "$as_ac_var=no"
37449 fi
37450
37451 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37452       conftest$ac_exeext conftest.$ac_ext
37453 fi
37454 ac_res=`eval echo '${'$as_ac_var'}'`
37455                { echo "$as_me:$LINENO: result: $ac_res" >&5
37456 echo "${ECHO_T}$ac_res" >&6; }
37457 if test `eval echo '${'$as_ac_var'}'` = yes; then
37458   cat >>confdefs.h <<_ACEOF
37459 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37460 _ACEOF
37461  break
37462 fi
37463 done
37464
37465 if test "$ac_cv_func_setenv" = "yes"; then
37466
37467 for ac_func in unsetenv
37468 do
37469 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37470 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37471 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37472 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37473   echo $ECHO_N "(cached) $ECHO_C" >&6
37474 else
37475   cat >conftest.$ac_ext <<_ACEOF
37476 /* confdefs.h.  */
37477 _ACEOF
37478 cat confdefs.h >>conftest.$ac_ext
37479 cat >>conftest.$ac_ext <<_ACEOF
37480 /* end confdefs.h.  */
37481 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37482    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
37483 #define $ac_func innocuous_$ac_func
37484
37485 /* System header to define __stub macros and hopefully few prototypes,
37486     which can conflict with char $ac_func (); below.
37487     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37488     <limits.h> exists even on freestanding compilers.  */
37489
37490 #ifdef __STDC__
37491 # include <limits.h>
37492 #else
37493 # include <assert.h>
37494 #endif
37495
37496 #undef $ac_func
37497
37498 /* Override any GCC internal prototype to avoid an error.
37499    Use char because int might match the return type of a GCC
37500    builtin and then its argument prototype would still apply.  */
37501 #ifdef __cplusplus
37502 extern "C"
37503 #endif
37504 char $ac_func ();
37505 /* The GNU C library defines this for functions which it implements
37506     to always fail with ENOSYS.  Some functions are actually named
37507     something starting with __ and the normal name is an alias.  */
37508 #if defined __stub_$ac_func || defined __stub___$ac_func
37509 choke me
37510 #endif
37511
37512 int
37513 main ()
37514 {
37515 return $ac_func ();
37516   ;
37517   return 0;
37518 }
37519 _ACEOF
37520 rm -f conftest.$ac_objext conftest$ac_exeext
37521 if { (ac_try="$ac_link"
37522 case "(($ac_try" in
37523   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37524   *) ac_try_echo=$ac_try;;
37525 esac
37526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37527   (eval "$ac_link") 2>conftest.er1
37528   ac_status=$?
37529   grep -v '^ *+' conftest.er1 >conftest.err
37530   rm -f conftest.er1
37531   cat conftest.err >&5
37532   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37533   (exit $ac_status); } && {
37534          test -z "$ac_c_werror_flag" ||
37535          test ! -s conftest.err
37536        } && test -s conftest$ac_exeext &&
37537        $as_test_x conftest$ac_exeext; then
37538   eval "$as_ac_var=yes"
37539 else
37540   echo "$as_me: failed program was:" >&5
37541 sed 's/^/| /' conftest.$ac_ext >&5
37542
37543         eval "$as_ac_var=no"
37544 fi
37545
37546 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37547       conftest$ac_exeext conftest.$ac_ext
37548 fi
37549 ac_res=`eval echo '${'$as_ac_var'}'`
37550                { echo "$as_me:$LINENO: result: $ac_res" >&5
37551 echo "${ECHO_T}$ac_res" >&6; }
37552 if test `eval echo '${'$as_ac_var'}'` = yes; then
37553   cat >>confdefs.h <<_ACEOF
37554 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37555 _ACEOF
37556
37557 fi
37558 done
37559
37560 fi
37561
37562 HAVE_SOME_SLEEP_FUNC=0
37563 if test "$USE_BEOS" = 1; then
37564             cat >>confdefs.h <<\_ACEOF
37565 #define HAVE_SLEEP 1
37566 _ACEOF
37567
37568     HAVE_SOME_SLEEP_FUNC=1
37569 fi
37570
37571 if test "$USE_DARWIN" = 1; then
37572             cat >>confdefs.h <<\_ACEOF
37573 #define HAVE_USLEEP 1
37574 _ACEOF
37575
37576     HAVE_SOME_SLEEP_FUNC=1
37577 fi
37578
37579 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
37580         POSIX4_LINK=
37581
37582 for ac_func in nanosleep
37583 do
37584 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37585 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37586 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37587 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37588   echo $ECHO_N "(cached) $ECHO_C" >&6
37589 else
37590   cat >conftest.$ac_ext <<_ACEOF
37591 /* confdefs.h.  */
37592 _ACEOF
37593 cat confdefs.h >>conftest.$ac_ext
37594 cat >>conftest.$ac_ext <<_ACEOF
37595 /* end confdefs.h.  */
37596 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37597    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
37598 #define $ac_func innocuous_$ac_func
37599
37600 /* System header to define __stub macros and hopefully few prototypes,
37601     which can conflict with char $ac_func (); below.
37602     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37603     <limits.h> exists even on freestanding compilers.  */
37604
37605 #ifdef __STDC__
37606 # include <limits.h>
37607 #else
37608 # include <assert.h>
37609 #endif
37610
37611 #undef $ac_func
37612
37613 /* Override any GCC internal prototype to avoid an error.
37614    Use char because int might match the return type of a GCC
37615    builtin and then its argument prototype would still apply.  */
37616 #ifdef __cplusplus
37617 extern "C"
37618 #endif
37619 char $ac_func ();
37620 /* The GNU C library defines this for functions which it implements
37621     to always fail with ENOSYS.  Some functions are actually named
37622     something starting with __ and the normal name is an alias.  */
37623 #if defined __stub_$ac_func || defined __stub___$ac_func
37624 choke me
37625 #endif
37626
37627 int
37628 main ()
37629 {
37630 return $ac_func ();
37631   ;
37632   return 0;
37633 }
37634 _ACEOF
37635 rm -f conftest.$ac_objext conftest$ac_exeext
37636 if { (ac_try="$ac_link"
37637 case "(($ac_try" in
37638   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37639   *) ac_try_echo=$ac_try;;
37640 esac
37641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37642   (eval "$ac_link") 2>conftest.er1
37643   ac_status=$?
37644   grep -v '^ *+' conftest.er1 >conftest.err
37645   rm -f conftest.er1
37646   cat conftest.err >&5
37647   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37648   (exit $ac_status); } && {
37649          test -z "$ac_c_werror_flag" ||
37650          test ! -s conftest.err
37651        } && test -s conftest$ac_exeext &&
37652        $as_test_x conftest$ac_exeext; then
37653   eval "$as_ac_var=yes"
37654 else
37655   echo "$as_me: failed program was:" >&5
37656 sed 's/^/| /' conftest.$ac_ext >&5
37657
37658         eval "$as_ac_var=no"
37659 fi
37660
37661 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37662       conftest$ac_exeext conftest.$ac_ext
37663 fi
37664 ac_res=`eval echo '${'$as_ac_var'}'`
37665                { echo "$as_me:$LINENO: result: $ac_res" >&5
37666 echo "${ECHO_T}$ac_res" >&6; }
37667 if test `eval echo '${'$as_ac_var'}'` = yes; then
37668   cat >>confdefs.h <<_ACEOF
37669 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37670 _ACEOF
37671  cat >>confdefs.h <<\_ACEOF
37672 #define HAVE_NANOSLEEP 1
37673 _ACEOF
37674
37675 else
37676
37677             { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
37678 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
37679 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
37680   echo $ECHO_N "(cached) $ECHO_C" >&6
37681 else
37682   ac_check_lib_save_LIBS=$LIBS
37683 LIBS="-lposix4  $LIBS"
37684 cat >conftest.$ac_ext <<_ACEOF
37685 /* confdefs.h.  */
37686 _ACEOF
37687 cat confdefs.h >>conftest.$ac_ext
37688 cat >>conftest.$ac_ext <<_ACEOF
37689 /* end confdefs.h.  */
37690
37691 /* Override any GCC internal prototype to avoid an error.
37692    Use char because int might match the return type of a GCC
37693    builtin and then its argument prototype would still apply.  */
37694 #ifdef __cplusplus
37695 extern "C"
37696 #endif
37697 char nanosleep ();
37698 int
37699 main ()
37700 {
37701 return nanosleep ();
37702   ;
37703   return 0;
37704 }
37705 _ACEOF
37706 rm -f conftest.$ac_objext conftest$ac_exeext
37707 if { (ac_try="$ac_link"
37708 case "(($ac_try" in
37709   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37710   *) ac_try_echo=$ac_try;;
37711 esac
37712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37713   (eval "$ac_link") 2>conftest.er1
37714   ac_status=$?
37715   grep -v '^ *+' conftest.er1 >conftest.err
37716   rm -f conftest.er1
37717   cat conftest.err >&5
37718   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37719   (exit $ac_status); } && {
37720          test -z "$ac_c_werror_flag" ||
37721          test ! -s conftest.err
37722        } && test -s conftest$ac_exeext &&
37723        $as_test_x conftest$ac_exeext; then
37724   ac_cv_lib_posix4_nanosleep=yes
37725 else
37726   echo "$as_me: failed program was:" >&5
37727 sed 's/^/| /' conftest.$ac_ext >&5
37728
37729         ac_cv_lib_posix4_nanosleep=no
37730 fi
37731
37732 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37733       conftest$ac_exeext conftest.$ac_ext
37734 LIBS=$ac_check_lib_save_LIBS
37735 fi
37736 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
37737 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
37738 if test $ac_cv_lib_posix4_nanosleep = yes; then
37739
37740                     cat >>confdefs.h <<\_ACEOF
37741 #define HAVE_NANOSLEEP 1
37742 _ACEOF
37743
37744                     POSIX4_LINK=" -lposix4"
37745
37746 else
37747
37748
37749   for wx_func in usleep
37750   do
37751     { echo "$as_me:$LINENO: checking for $wx_func" >&5
37752 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37753 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37754   echo $ECHO_N "(cached) $ECHO_C" >&6
37755 else
37756
37757         cat >conftest.$ac_ext <<_ACEOF
37758
37759             /* confdefs.h.  */
37760 _ACEOF
37761 cat confdefs.h >>conftest.$ac_ext
37762 cat >>conftest.$ac_ext <<_ACEOF
37763 /* end confdefs.h.  */
37764
37765
37766                 $ac_includes_default
37767
37768 int
37769 main ()
37770 {
37771
37772                 #ifndef $wx_func
37773                   &$wx_func;
37774                 #endif
37775
37776
37777   ;
37778   return 0;
37779 }
37780
37781 _ACEOF
37782 rm -f conftest.$ac_objext conftest$ac_exeext
37783 if { (ac_try="$ac_link"
37784 case "(($ac_try" in
37785   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37786   *) ac_try_echo=$ac_try;;
37787 esac
37788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37789   (eval "$ac_link") 2>conftest.er1
37790   ac_status=$?
37791   grep -v '^ *+' conftest.er1 >conftest.err
37792   rm -f conftest.er1
37793   cat conftest.err >&5
37794   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37795   (exit $ac_status); } && {
37796          test -z "$ac_c_werror_flag" ||
37797          test ! -s conftest.err
37798        } && test -s conftest$ac_exeext &&
37799        $as_test_x conftest$ac_exeext; then
37800   eval wx_cv_func_$wx_func=yes
37801 else
37802   echo "$as_me: failed program was:" >&5
37803 sed 's/^/| /' conftest.$ac_ext >&5
37804
37805         eval wx_cv_func_$wx_func=no
37806 fi
37807
37808 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37809       conftest$ac_exeext conftest.$ac_ext
37810
37811 fi
37812 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37813                { echo "$as_me:$LINENO: result: $ac_res" >&5
37814 echo "${ECHO_T}$ac_res" >&6; }
37815
37816     if eval test \$wx_cv_func_$wx_func = yes
37817     then
37818       cat >>confdefs.h <<_ACEOF
37819 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37820 _ACEOF
37821
37822
37823     else
37824       :
37825       { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
37826 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
37827
37828     fi
37829   done
37830
37831
37832
37833 fi
37834
37835
37836
37837 fi
37838 done
37839
37840 fi
37841
37842
37843   for wx_func in uname
37844   do
37845     { echo "$as_me:$LINENO: checking for $wx_func" >&5
37846 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37847 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37848   echo $ECHO_N "(cached) $ECHO_C" >&6
37849 else
37850
37851         cat >conftest.$ac_ext <<_ACEOF
37852
37853             /* confdefs.h.  */
37854 _ACEOF
37855 cat confdefs.h >>conftest.$ac_ext
37856 cat >>conftest.$ac_ext <<_ACEOF
37857 /* end confdefs.h.  */
37858
37859                 #include <sys/utsname.h>
37860                 $ac_includes_default
37861
37862 int
37863 main ()
37864 {
37865
37866                 #ifndef $wx_func
37867                   &$wx_func;
37868                 #endif
37869
37870
37871   ;
37872   return 0;
37873 }
37874
37875 _ACEOF
37876 rm -f conftest.$ac_objext conftest$ac_exeext
37877 if { (ac_try="$ac_link"
37878 case "(($ac_try" in
37879   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37880   *) ac_try_echo=$ac_try;;
37881 esac
37882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37883   (eval "$ac_link") 2>conftest.er1
37884   ac_status=$?
37885   grep -v '^ *+' conftest.er1 >conftest.err
37886   rm -f conftest.er1
37887   cat conftest.err >&5
37888   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37889   (exit $ac_status); } && {
37890          test -z "$ac_c_werror_flag" ||
37891          test ! -s conftest.err
37892        } && test -s conftest$ac_exeext &&
37893        $as_test_x conftest$ac_exeext; then
37894   eval wx_cv_func_$wx_func=yes
37895 else
37896   echo "$as_me: failed program was:" >&5
37897 sed 's/^/| /' conftest.$ac_ext >&5
37898
37899         eval wx_cv_func_$wx_func=no
37900 fi
37901
37902 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37903       conftest$ac_exeext conftest.$ac_ext
37904
37905 fi
37906 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37907                { echo "$as_me:$LINENO: result: $ac_res" >&5
37908 echo "${ECHO_T}$ac_res" >&6; }
37909
37910     if eval test \$wx_cv_func_$wx_func = yes
37911     then
37912       cat >>confdefs.h <<_ACEOF
37913 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37914 _ACEOF
37915
37916
37917     else
37918       :
37919
37920     fi
37921   done
37922
37923 if test "$wx_cv_func_uname" != yes; then
37924
37925   for wx_func in gethostname
37926   do
37927     { echo "$as_me:$LINENO: checking for $wx_func" >&5
37928 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37929 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37930   echo $ECHO_N "(cached) $ECHO_C" >&6
37931 else
37932
37933         cat >conftest.$ac_ext <<_ACEOF
37934
37935             /* confdefs.h.  */
37936 _ACEOF
37937 cat confdefs.h >>conftest.$ac_ext
37938 cat >>conftest.$ac_ext <<_ACEOF
37939 /* end confdefs.h.  */
37940
37941
37942                 $ac_includes_default
37943
37944 int
37945 main ()
37946 {
37947
37948                 #ifndef $wx_func
37949                   &$wx_func;
37950                 #endif
37951
37952
37953   ;
37954   return 0;
37955 }
37956
37957 _ACEOF
37958 rm -f conftest.$ac_objext conftest$ac_exeext
37959 if { (ac_try="$ac_link"
37960 case "(($ac_try" in
37961   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37962   *) ac_try_echo=$ac_try;;
37963 esac
37964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37965   (eval "$ac_link") 2>conftest.er1
37966   ac_status=$?
37967   grep -v '^ *+' conftest.er1 >conftest.err
37968   rm -f conftest.er1
37969   cat conftest.err >&5
37970   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37971   (exit $ac_status); } && {
37972          test -z "$ac_c_werror_flag" ||
37973          test ! -s conftest.err
37974        } && test -s conftest$ac_exeext &&
37975        $as_test_x conftest$ac_exeext; then
37976   eval wx_cv_func_$wx_func=yes
37977 else
37978   echo "$as_me: failed program was:" >&5
37979 sed 's/^/| /' conftest.$ac_ext >&5
37980
37981         eval wx_cv_func_$wx_func=no
37982 fi
37983
37984 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37985       conftest$ac_exeext conftest.$ac_ext
37986
37987 fi
37988 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37989                { echo "$as_me:$LINENO: result: $ac_res" >&5
37990 echo "${ECHO_T}$ac_res" >&6; }
37991
37992     if eval test \$wx_cv_func_$wx_func = yes
37993     then
37994       cat >>confdefs.h <<_ACEOF
37995 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37996 _ACEOF
37997
37998
37999     else
38000       :
38001
38002     fi
38003   done
38004
38005 fi
38006
38007
38008   for wx_func in strtok_r
38009   do
38010     { echo "$as_me:$LINENO: checking for $wx_func" >&5
38011 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38012 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38013   echo $ECHO_N "(cached) $ECHO_C" >&6
38014 else
38015
38016         cat >conftest.$ac_ext <<_ACEOF
38017
38018             /* confdefs.h.  */
38019 _ACEOF
38020 cat confdefs.h >>conftest.$ac_ext
38021 cat >>conftest.$ac_ext <<_ACEOF
38022 /* end confdefs.h.  */
38023
38024                 #define _REENTRANT
38025                 $ac_includes_default
38026
38027 int
38028 main ()
38029 {
38030
38031                 #ifndef $wx_func
38032                   &$wx_func;
38033                 #endif
38034
38035
38036   ;
38037   return 0;
38038 }
38039
38040 _ACEOF
38041 rm -f conftest.$ac_objext conftest$ac_exeext
38042 if { (ac_try="$ac_link"
38043 case "(($ac_try" in
38044   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38045   *) ac_try_echo=$ac_try;;
38046 esac
38047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38048   (eval "$ac_link") 2>conftest.er1
38049   ac_status=$?
38050   grep -v '^ *+' conftest.er1 >conftest.err
38051   rm -f conftest.er1
38052   cat conftest.err >&5
38053   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38054   (exit $ac_status); } && {
38055          test -z "$ac_c_werror_flag" ||
38056          test ! -s conftest.err
38057        } && test -s conftest$ac_exeext &&
38058        $as_test_x conftest$ac_exeext; then
38059   eval wx_cv_func_$wx_func=yes
38060 else
38061   echo "$as_me: failed program was:" >&5
38062 sed 's/^/| /' conftest.$ac_ext >&5
38063
38064         eval wx_cv_func_$wx_func=no
38065 fi
38066
38067 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38068       conftest$ac_exeext conftest.$ac_ext
38069
38070 fi
38071 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38072                { echo "$as_me:$LINENO: result: $ac_res" >&5
38073 echo "${ECHO_T}$ac_res" >&6; }
38074
38075     if eval test \$wx_cv_func_$wx_func = yes
38076     then
38077       cat >>confdefs.h <<_ACEOF
38078 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38079 _ACEOF
38080
38081
38082     else
38083       :
38084
38085     fi
38086   done
38087
38088
38089 INET_LINK=
38090
38091 for ac_func in inet_addr
38092 do
38093 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38094 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38095 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38096 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38097   echo $ECHO_N "(cached) $ECHO_C" >&6
38098 else
38099   cat >conftest.$ac_ext <<_ACEOF
38100 /* confdefs.h.  */
38101 _ACEOF
38102 cat confdefs.h >>conftest.$ac_ext
38103 cat >>conftest.$ac_ext <<_ACEOF
38104 /* end confdefs.h.  */
38105 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38106    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
38107 #define $ac_func innocuous_$ac_func
38108
38109 /* System header to define __stub macros and hopefully few prototypes,
38110     which can conflict with char $ac_func (); below.
38111     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38112     <limits.h> exists even on freestanding compilers.  */
38113
38114 #ifdef __STDC__
38115 # include <limits.h>
38116 #else
38117 # include <assert.h>
38118 #endif
38119
38120 #undef $ac_func
38121
38122 /* Override any GCC internal prototype to avoid an error.
38123    Use char because int might match the return type of a GCC
38124    builtin and then its argument prototype would still apply.  */
38125 #ifdef __cplusplus
38126 extern "C"
38127 #endif
38128 char $ac_func ();
38129 /* The GNU C library defines this for functions which it implements
38130     to always fail with ENOSYS.  Some functions are actually named
38131     something starting with __ and the normal name is an alias.  */
38132 #if defined __stub_$ac_func || defined __stub___$ac_func
38133 choke me
38134 #endif
38135
38136 int
38137 main ()
38138 {
38139 return $ac_func ();
38140   ;
38141   return 0;
38142 }
38143 _ACEOF
38144 rm -f conftest.$ac_objext conftest$ac_exeext
38145 if { (ac_try="$ac_link"
38146 case "(($ac_try" in
38147   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38148   *) ac_try_echo=$ac_try;;
38149 esac
38150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38151   (eval "$ac_link") 2>conftest.er1
38152   ac_status=$?
38153   grep -v '^ *+' conftest.er1 >conftest.err
38154   rm -f conftest.er1
38155   cat conftest.err >&5
38156   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38157   (exit $ac_status); } && {
38158          test -z "$ac_c_werror_flag" ||
38159          test ! -s conftest.err
38160        } && test -s conftest$ac_exeext &&
38161        $as_test_x conftest$ac_exeext; then
38162   eval "$as_ac_var=yes"
38163 else
38164   echo "$as_me: failed program was:" >&5
38165 sed 's/^/| /' conftest.$ac_ext >&5
38166
38167         eval "$as_ac_var=no"
38168 fi
38169
38170 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38171       conftest$ac_exeext conftest.$ac_ext
38172 fi
38173 ac_res=`eval echo '${'$as_ac_var'}'`
38174                { echo "$as_me:$LINENO: result: $ac_res" >&5
38175 echo "${ECHO_T}$ac_res" >&6; }
38176 if test `eval echo '${'$as_ac_var'}'` = yes; then
38177   cat >>confdefs.h <<_ACEOF
38178 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38179 _ACEOF
38180  cat >>confdefs.h <<\_ACEOF
38181 #define HAVE_INET_ADDR 1
38182 _ACEOF
38183
38184 else
38185
38186         { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
38187 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
38188 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
38189   echo $ECHO_N "(cached) $ECHO_C" >&6
38190 else
38191   ac_check_lib_save_LIBS=$LIBS
38192 LIBS="-lnsl  $LIBS"
38193 cat >conftest.$ac_ext <<_ACEOF
38194 /* confdefs.h.  */
38195 _ACEOF
38196 cat confdefs.h >>conftest.$ac_ext
38197 cat >>conftest.$ac_ext <<_ACEOF
38198 /* end confdefs.h.  */
38199
38200 /* Override any GCC internal prototype to avoid an error.
38201    Use char because int might match the return type of a GCC
38202    builtin and then its argument prototype would still apply.  */
38203 #ifdef __cplusplus
38204 extern "C"
38205 #endif
38206 char inet_addr ();
38207 int
38208 main ()
38209 {
38210 return inet_addr ();
38211   ;
38212   return 0;
38213 }
38214 _ACEOF
38215 rm -f conftest.$ac_objext conftest$ac_exeext
38216 if { (ac_try="$ac_link"
38217 case "(($ac_try" in
38218   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38219   *) ac_try_echo=$ac_try;;
38220 esac
38221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38222   (eval "$ac_link") 2>conftest.er1
38223   ac_status=$?
38224   grep -v '^ *+' conftest.er1 >conftest.err
38225   rm -f conftest.er1
38226   cat conftest.err >&5
38227   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38228   (exit $ac_status); } && {
38229          test -z "$ac_c_werror_flag" ||
38230          test ! -s conftest.err
38231        } && test -s conftest$ac_exeext &&
38232        $as_test_x conftest$ac_exeext; then
38233   ac_cv_lib_nsl_inet_addr=yes
38234 else
38235   echo "$as_me: failed program was:" >&5
38236 sed 's/^/| /' conftest.$ac_ext >&5
38237
38238         ac_cv_lib_nsl_inet_addr=no
38239 fi
38240
38241 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38242       conftest$ac_exeext conftest.$ac_ext
38243 LIBS=$ac_check_lib_save_LIBS
38244 fi
38245 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
38246 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
38247 if test $ac_cv_lib_nsl_inet_addr = yes; then
38248   INET_LINK="nsl"
38249 else
38250
38251                 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
38252 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
38253 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
38254   echo $ECHO_N "(cached) $ECHO_C" >&6
38255 else
38256   ac_check_lib_save_LIBS=$LIBS
38257 LIBS="-lresolv  $LIBS"
38258 cat >conftest.$ac_ext <<_ACEOF
38259 /* confdefs.h.  */
38260 _ACEOF
38261 cat confdefs.h >>conftest.$ac_ext
38262 cat >>conftest.$ac_ext <<_ACEOF
38263 /* end confdefs.h.  */
38264
38265 /* Override any GCC internal prototype to avoid an error.
38266    Use char because int might match the return type of a GCC
38267    builtin and then its argument prototype would still apply.  */
38268 #ifdef __cplusplus
38269 extern "C"
38270 #endif
38271 char inet_addr ();
38272 int
38273 main ()
38274 {
38275 return inet_addr ();
38276   ;
38277   return 0;
38278 }
38279 _ACEOF
38280 rm -f conftest.$ac_objext conftest$ac_exeext
38281 if { (ac_try="$ac_link"
38282 case "(($ac_try" in
38283   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38284   *) ac_try_echo=$ac_try;;
38285 esac
38286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38287   (eval "$ac_link") 2>conftest.er1
38288   ac_status=$?
38289   grep -v '^ *+' conftest.er1 >conftest.err
38290   rm -f conftest.er1
38291   cat conftest.err >&5
38292   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38293   (exit $ac_status); } && {
38294          test -z "$ac_c_werror_flag" ||
38295          test ! -s conftest.err
38296        } && test -s conftest$ac_exeext &&
38297        $as_test_x conftest$ac_exeext; then
38298   ac_cv_lib_resolv_inet_addr=yes
38299 else
38300   echo "$as_me: failed program was:" >&5
38301 sed 's/^/| /' conftest.$ac_ext >&5
38302
38303         ac_cv_lib_resolv_inet_addr=no
38304 fi
38305
38306 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38307       conftest$ac_exeext conftest.$ac_ext
38308 LIBS=$ac_check_lib_save_LIBS
38309 fi
38310 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
38311 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
38312 if test $ac_cv_lib_resolv_inet_addr = yes; then
38313   INET_LINK="resolv"
38314 else
38315
38316                         { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
38317 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
38318 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
38319   echo $ECHO_N "(cached) $ECHO_C" >&6
38320 else
38321   ac_check_lib_save_LIBS=$LIBS
38322 LIBS="-lsocket  $LIBS"
38323 cat >conftest.$ac_ext <<_ACEOF
38324 /* confdefs.h.  */
38325 _ACEOF
38326 cat confdefs.h >>conftest.$ac_ext
38327 cat >>conftest.$ac_ext <<_ACEOF
38328 /* end confdefs.h.  */
38329
38330 /* Override any GCC internal prototype to avoid an error.
38331    Use char because int might match the return type of a GCC
38332    builtin and then its argument prototype would still apply.  */
38333 #ifdef __cplusplus
38334 extern "C"
38335 #endif
38336 char inet_addr ();
38337 int
38338 main ()
38339 {
38340 return inet_addr ();
38341   ;
38342   return 0;
38343 }
38344 _ACEOF
38345 rm -f conftest.$ac_objext conftest$ac_exeext
38346 if { (ac_try="$ac_link"
38347 case "(($ac_try" in
38348   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38349   *) ac_try_echo=$ac_try;;
38350 esac
38351 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38352   (eval "$ac_link") 2>conftest.er1
38353   ac_status=$?
38354   grep -v '^ *+' conftest.er1 >conftest.err
38355   rm -f conftest.er1
38356   cat conftest.err >&5
38357   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38358   (exit $ac_status); } && {
38359          test -z "$ac_c_werror_flag" ||
38360          test ! -s conftest.err
38361        } && test -s conftest$ac_exeext &&
38362        $as_test_x conftest$ac_exeext; then
38363   ac_cv_lib_socket_inet_addr=yes
38364 else
38365   echo "$as_me: failed program was:" >&5
38366 sed 's/^/| /' conftest.$ac_ext >&5
38367
38368         ac_cv_lib_socket_inet_addr=no
38369 fi
38370
38371 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38372       conftest$ac_exeext conftest.$ac_ext
38373 LIBS=$ac_check_lib_save_LIBS
38374 fi
38375 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
38376 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
38377 if test $ac_cv_lib_socket_inet_addr = yes; then
38378   INET_LINK="socket"
38379
38380 fi
38381
38382
38383
38384 fi
38385
38386
38387
38388 fi
38389
38390
38391
38392 fi
38393 done
38394
38395
38396
38397 for ac_func in inet_aton
38398 do
38399 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38400 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38401 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38402 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38403   echo $ECHO_N "(cached) $ECHO_C" >&6
38404 else
38405   cat >conftest.$ac_ext <<_ACEOF
38406 /* confdefs.h.  */
38407 _ACEOF
38408 cat confdefs.h >>conftest.$ac_ext
38409 cat >>conftest.$ac_ext <<_ACEOF
38410 /* end confdefs.h.  */
38411 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38412    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
38413 #define $ac_func innocuous_$ac_func
38414
38415 /* System header to define __stub macros and hopefully few prototypes,
38416     which can conflict with char $ac_func (); below.
38417     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38418     <limits.h> exists even on freestanding compilers.  */
38419
38420 #ifdef __STDC__
38421 # include <limits.h>
38422 #else
38423 # include <assert.h>
38424 #endif
38425
38426 #undef $ac_func
38427
38428 /* Override any GCC internal prototype to avoid an error.
38429    Use char because int might match the return type of a GCC
38430    builtin and then its argument prototype would still apply.  */
38431 #ifdef __cplusplus
38432 extern "C"
38433 #endif
38434 char $ac_func ();
38435 /* The GNU C library defines this for functions which it implements
38436     to always fail with ENOSYS.  Some functions are actually named
38437     something starting with __ and the normal name is an alias.  */
38438 #if defined __stub_$ac_func || defined __stub___$ac_func
38439 choke me
38440 #endif
38441
38442 int
38443 main ()
38444 {
38445 return $ac_func ();
38446   ;
38447   return 0;
38448 }
38449 _ACEOF
38450 rm -f conftest.$ac_objext conftest$ac_exeext
38451 if { (ac_try="$ac_link"
38452 case "(($ac_try" in
38453   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38454   *) ac_try_echo=$ac_try;;
38455 esac
38456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38457   (eval "$ac_link") 2>conftest.er1
38458   ac_status=$?
38459   grep -v '^ *+' conftest.er1 >conftest.err
38460   rm -f conftest.er1
38461   cat conftest.err >&5
38462   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38463   (exit $ac_status); } && {
38464          test -z "$ac_c_werror_flag" ||
38465          test ! -s conftest.err
38466        } && test -s conftest$ac_exeext &&
38467        $as_test_x conftest$ac_exeext; then
38468   eval "$as_ac_var=yes"
38469 else
38470   echo "$as_me: failed program was:" >&5
38471 sed 's/^/| /' conftest.$ac_ext >&5
38472
38473         eval "$as_ac_var=no"
38474 fi
38475
38476 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38477       conftest$ac_exeext conftest.$ac_ext
38478 fi
38479 ac_res=`eval echo '${'$as_ac_var'}'`
38480                { echo "$as_me:$LINENO: result: $ac_res" >&5
38481 echo "${ECHO_T}$ac_res" >&6; }
38482 if test `eval echo '${'$as_ac_var'}'` = yes; then
38483   cat >>confdefs.h <<_ACEOF
38484 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38485 _ACEOF
38486  cat >>confdefs.h <<\_ACEOF
38487 #define HAVE_INET_ATON 1
38488 _ACEOF
38489
38490 else
38491
38492                         as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
38493 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
38494 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
38495 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
38496   echo $ECHO_N "(cached) $ECHO_C" >&6
38497 else
38498   ac_check_lib_save_LIBS=$LIBS
38499 LIBS="-l$INET_LINK  $LIBS"
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
38507 /* Override any GCC internal prototype to avoid an error.
38508    Use char because int might match the return type of a GCC
38509    builtin and then its argument prototype would still apply.  */
38510 #ifdef __cplusplus
38511 extern "C"
38512 #endif
38513 char inet_aton ();
38514 int
38515 main ()
38516 {
38517 return inet_aton ();
38518   ;
38519   return 0;
38520 }
38521 _ACEOF
38522 rm -f conftest.$ac_objext conftest$ac_exeext
38523 if { (ac_try="$ac_link"
38524 case "(($ac_try" in
38525   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38526   *) ac_try_echo=$ac_try;;
38527 esac
38528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38529   (eval "$ac_link") 2>conftest.er1
38530   ac_status=$?
38531   grep -v '^ *+' conftest.er1 >conftest.err
38532   rm -f conftest.er1
38533   cat conftest.err >&5
38534   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38535   (exit $ac_status); } && {
38536          test -z "$ac_c_werror_flag" ||
38537          test ! -s conftest.err
38538        } && test -s conftest$ac_exeext &&
38539        $as_test_x conftest$ac_exeext; then
38540   eval "$as_ac_Lib=yes"
38541 else
38542   echo "$as_me: failed program was:" >&5
38543 sed 's/^/| /' conftest.$ac_ext >&5
38544
38545         eval "$as_ac_Lib=no"
38546 fi
38547
38548 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38549       conftest$ac_exeext conftest.$ac_ext
38550 LIBS=$ac_check_lib_save_LIBS
38551 fi
38552 ac_res=`eval echo '${'$as_ac_Lib'}'`
38553                { echo "$as_me:$LINENO: result: $ac_res" >&5
38554 echo "${ECHO_T}$ac_res" >&6; }
38555 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
38556   cat >>confdefs.h <<\_ACEOF
38557 #define HAVE_INET_ATON 1
38558 _ACEOF
38559
38560 fi
38561
38562
38563 fi
38564 done
38565
38566
38567 if test "x$INET_LINK" != "x"; then
38568     cat >>confdefs.h <<\_ACEOF
38569 #define HAVE_INET_ADDR 1
38570 _ACEOF
38571
38572     INET_LINK=" -l$INET_LINK"
38573 fi
38574
38575
38576   for wx_func in fdopen
38577   do
38578     { echo "$as_me:$LINENO: checking for $wx_func" >&5
38579 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38580 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38581   echo $ECHO_N "(cached) $ECHO_C" >&6
38582 else
38583
38584         cat >conftest.$ac_ext <<_ACEOF
38585
38586             /* confdefs.h.  */
38587 _ACEOF
38588 cat confdefs.h >>conftest.$ac_ext
38589 cat >>conftest.$ac_ext <<_ACEOF
38590 /* end confdefs.h.  */
38591
38592
38593                 $ac_includes_default
38594
38595 int
38596 main ()
38597 {
38598
38599                 #ifndef $wx_func
38600                   &$wx_func;
38601                 #endif
38602
38603
38604   ;
38605   return 0;
38606 }
38607
38608 _ACEOF
38609 rm -f conftest.$ac_objext conftest$ac_exeext
38610 if { (ac_try="$ac_link"
38611 case "(($ac_try" in
38612   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38613   *) ac_try_echo=$ac_try;;
38614 esac
38615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38616   (eval "$ac_link") 2>conftest.er1
38617   ac_status=$?
38618   grep -v '^ *+' conftest.er1 >conftest.err
38619   rm -f conftest.er1
38620   cat conftest.err >&5
38621   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38622   (exit $ac_status); } && {
38623          test -z "$ac_c_werror_flag" ||
38624          test ! -s conftest.err
38625        } && test -s conftest$ac_exeext &&
38626        $as_test_x conftest$ac_exeext; then
38627   eval wx_cv_func_$wx_func=yes
38628 else
38629   echo "$as_me: failed program was:" >&5
38630 sed 's/^/| /' conftest.$ac_ext >&5
38631
38632         eval wx_cv_func_$wx_func=no
38633 fi
38634
38635 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38636       conftest$ac_exeext conftest.$ac_ext
38637
38638 fi
38639 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38640                { echo "$as_me:$LINENO: result: $ac_res" >&5
38641 echo "${ECHO_T}$ac_res" >&6; }
38642
38643     if eval test \$wx_cv_func_$wx_func = yes
38644     then
38645       cat >>confdefs.h <<_ACEOF
38646 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38647 _ACEOF
38648
38649
38650     else
38651       :
38652
38653     fi
38654   done
38655
38656
38657 if test "$wxUSE_TARSTREAM" = "yes"; then
38658
38659   for wx_func in sysconf
38660   do
38661     { echo "$as_me:$LINENO: checking for $wx_func" >&5
38662 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38663 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38664   echo $ECHO_N "(cached) $ECHO_C" >&6
38665 else
38666
38667         cat >conftest.$ac_ext <<_ACEOF
38668
38669             /* confdefs.h.  */
38670 _ACEOF
38671 cat confdefs.h >>conftest.$ac_ext
38672 cat >>conftest.$ac_ext <<_ACEOF
38673 /* end confdefs.h.  */
38674
38675
38676                 $ac_includes_default
38677
38678 int
38679 main ()
38680 {
38681
38682                 #ifndef $wx_func
38683                   &$wx_func;
38684                 #endif
38685
38686
38687   ;
38688   return 0;
38689 }
38690
38691 _ACEOF
38692 rm -f conftest.$ac_objext conftest$ac_exeext
38693 if { (ac_try="$ac_link"
38694 case "(($ac_try" in
38695   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38696   *) ac_try_echo=$ac_try;;
38697 esac
38698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38699   (eval "$ac_link") 2>conftest.er1
38700   ac_status=$?
38701   grep -v '^ *+' conftest.er1 >conftest.err
38702   rm -f conftest.er1
38703   cat conftest.err >&5
38704   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38705   (exit $ac_status); } && {
38706          test -z "$ac_c_werror_flag" ||
38707          test ! -s conftest.err
38708        } && test -s conftest$ac_exeext &&
38709        $as_test_x conftest$ac_exeext; then
38710   eval wx_cv_func_$wx_func=yes
38711 else
38712   echo "$as_me: failed program was:" >&5
38713 sed 's/^/| /' conftest.$ac_ext >&5
38714
38715         eval wx_cv_func_$wx_func=no
38716 fi
38717
38718 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38719       conftest$ac_exeext conftest.$ac_ext
38720
38721 fi
38722 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38723                { echo "$as_me:$LINENO: result: $ac_res" >&5
38724 echo "${ECHO_T}$ac_res" >&6; }
38725
38726     if eval test \$wx_cv_func_$wx_func = yes
38727     then
38728       cat >>confdefs.h <<_ACEOF
38729 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38730 _ACEOF
38731
38732
38733     else
38734       :
38735
38736     fi
38737   done
38738
38739
38740
38741   for wx_func in getpwuid_r
38742   do
38743     { echo "$as_me:$LINENO: checking for $wx_func" >&5
38744 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38745 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38746   echo $ECHO_N "(cached) $ECHO_C" >&6
38747 else
38748
38749         cat >conftest.$ac_ext <<_ACEOF
38750
38751             /* confdefs.h.  */
38752 _ACEOF
38753 cat confdefs.h >>conftest.$ac_ext
38754 cat >>conftest.$ac_ext <<_ACEOF
38755 /* end confdefs.h.  */
38756
38757
38758                     #define _REENTRANT
38759                     #include <pwd.h>
38760
38761                 $ac_includes_default
38762
38763 int
38764 main ()
38765 {
38766
38767                 #ifndef $wx_func
38768                   &$wx_func;
38769                 #endif
38770
38771                     struct passwd pw, *ppw;
38772                     char buf[1024];
38773                     getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
38774
38775
38776   ;
38777   return 0;
38778 }
38779
38780 _ACEOF
38781 rm -f conftest.$ac_objext conftest$ac_exeext
38782 if { (ac_try="$ac_link"
38783 case "(($ac_try" in
38784   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38785   *) ac_try_echo=$ac_try;;
38786 esac
38787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38788   (eval "$ac_link") 2>conftest.er1
38789   ac_status=$?
38790   grep -v '^ *+' conftest.er1 >conftest.err
38791   rm -f conftest.er1
38792   cat conftest.err >&5
38793   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38794   (exit $ac_status); } && {
38795          test -z "$ac_c_werror_flag" ||
38796          test ! -s conftest.err
38797        } && test -s conftest$ac_exeext &&
38798        $as_test_x conftest$ac_exeext; then
38799   eval wx_cv_func_$wx_func=yes
38800 else
38801   echo "$as_me: failed program was:" >&5
38802 sed 's/^/| /' conftest.$ac_ext >&5
38803
38804         eval wx_cv_func_$wx_func=no
38805 fi
38806
38807 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38808       conftest$ac_exeext conftest.$ac_ext
38809
38810 fi
38811 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38812                { echo "$as_me:$LINENO: result: $ac_res" >&5
38813 echo "${ECHO_T}$ac_res" >&6; }
38814
38815     if eval test \$wx_cv_func_$wx_func = yes
38816     then
38817       cat >>confdefs.h <<_ACEOF
38818 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38819 _ACEOF
38820
38821
38822     else
38823       :
38824
38825     fi
38826   done
38827
38828
38829
38830   for wx_func in getgrgid_r
38831   do
38832     { echo "$as_me:$LINENO: checking for $wx_func" >&5
38833 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38834 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38835   echo $ECHO_N "(cached) $ECHO_C" >&6
38836 else
38837
38838         cat >conftest.$ac_ext <<_ACEOF
38839
38840             /* confdefs.h.  */
38841 _ACEOF
38842 cat confdefs.h >>conftest.$ac_ext
38843 cat >>conftest.$ac_ext <<_ACEOF
38844 /* end confdefs.h.  */
38845
38846
38847                     #define _REENTRANT
38848                     #include <grp.h>
38849
38850                 $ac_includes_default
38851
38852 int
38853 main ()
38854 {
38855
38856                 #ifndef $wx_func
38857                   &$wx_func;
38858                 #endif
38859
38860                     struct group grp, *pgrp;
38861                     char buf[1024];
38862                     getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
38863
38864
38865   ;
38866   return 0;
38867 }
38868
38869 _ACEOF
38870 rm -f conftest.$ac_objext conftest$ac_exeext
38871 if { (ac_try="$ac_link"
38872 case "(($ac_try" in
38873   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38874   *) ac_try_echo=$ac_try;;
38875 esac
38876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38877   (eval "$ac_link") 2>conftest.er1
38878   ac_status=$?
38879   grep -v '^ *+' conftest.er1 >conftest.err
38880   rm -f conftest.er1
38881   cat conftest.err >&5
38882   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38883   (exit $ac_status); } && {
38884          test -z "$ac_c_werror_flag" ||
38885          test ! -s conftest.err
38886        } && test -s conftest$ac_exeext &&
38887        $as_test_x conftest$ac_exeext; then
38888   eval wx_cv_func_$wx_func=yes
38889 else
38890   echo "$as_me: failed program was:" >&5
38891 sed 's/^/| /' conftest.$ac_ext >&5
38892
38893         eval wx_cv_func_$wx_func=no
38894 fi
38895
38896 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38897       conftest$ac_exeext conftest.$ac_ext
38898
38899 fi
38900 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38901                { echo "$as_me:$LINENO: result: $ac_res" >&5
38902 echo "${ECHO_T}$ac_res" >&6; }
38903
38904     if eval test \$wx_cv_func_$wx_func = yes
38905     then
38906       cat >>confdefs.h <<_ACEOF
38907 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38908 _ACEOF
38909
38910
38911     else
38912       :
38913
38914     fi
38915   done
38916
38917 fi
38918
38919 fi
38920
38921
38922
38923 cat >confcache <<\_ACEOF
38924 # This file is a shell script that caches the results of configure
38925 # tests run on this system so they can be shared between configure
38926 # scripts and configure runs, see configure's option --config-cache.
38927 # It is not useful on other systems.  If it contains results you don't
38928 # want to keep, you may remove or edit it.
38929 #
38930 # config.status only pays attention to the cache file if you give it
38931 # the --recheck option to rerun configure.
38932 #
38933 # `ac_cv_env_foo' variables (set or unset) will be overridden when
38934 # loading this file, other *unset* `ac_cv_foo' will be assigned the
38935 # following values.
38936
38937 _ACEOF
38938
38939 # The following way of writing the cache mishandles newlines in values,
38940 # but we know of no workaround that is simple, portable, and efficient.
38941 # So, we kill variables containing newlines.
38942 # Ultrix sh set writes to stderr and can't be redirected directly,
38943 # and sets the high bit in the cache file unless we assign to the vars.
38944 (
38945   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
38946     eval ac_val=\$$ac_var
38947     case $ac_val in #(
38948     *${as_nl}*)
38949       case $ac_var in #(
38950       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
38951 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
38952       esac
38953       case $ac_var in #(
38954       _ | IFS | as_nl) ;; #(
38955       *) $as_unset $ac_var ;;
38956       esac ;;
38957     esac
38958   done
38959
38960   (set) 2>&1 |
38961     case $as_nl`(ac_space=' '; set) 2>&1` in #(
38962     *${as_nl}ac_space=\ *)
38963       # `set' does not quote correctly, so add quotes (double-quote
38964       # substitution turns \\\\ into \\, and sed turns \\ into \).
38965       sed -n \
38966         "s/'/'\\\\''/g;
38967           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
38968       ;; #(
38969     *)
38970       # `set' quotes correctly as required by POSIX, so do not add quotes.
38971       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
38972       ;;
38973     esac |
38974     sort
38975 ) |
38976   sed '
38977      /^ac_cv_env_/b end
38978      t clear
38979      :clear
38980      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
38981      t end
38982      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
38983      :end' >>confcache
38984 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
38985   if test -w "$cache_file"; then
38986     test "x$cache_file" != "x/dev/null" &&
38987       { echo "$as_me:$LINENO: updating cache $cache_file" >&5
38988 echo "$as_me: updating cache $cache_file" >&6;}
38989     cat confcache >$cache_file
38990   else
38991     { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
38992 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
38993   fi
38994 fi
38995 rm -f confcache
38996
38997
38998 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
38999
39000
39001     THREADS_LINK=
39002     THREADS_CFLAGS=
39003
39004     if test "$wxUSE_THREADS" = "yes" ; then
39005         if test "$USE_BEOS" = 1; then
39006             { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
39007 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
39008             wxUSE_THREADS="no"
39009         fi
39010     fi
39011
39012     if test "$wxUSE_THREADS" = "yes" ; then
39013
39014
39015                                 THREAD_OPTS="-pthread"
39016         if test "x$SUNCXX" = xyes; then
39017             THREAD_OPTS="-mt lthread $THREAD_OPTS"
39018         fi
39019
39020         case "${host}" in
39021           *-*-solaris2* | *-*-sunos4* )
39022                 if test "x$GCC" = "xyes"; then
39023                                         THREAD_OPTS="-pthreads $THREAD_OPTS"
39024                 fi
39025                 ;;
39026           *-*-freebsd*)
39027                                                 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
39028                 ;;
39029           *-*-darwin* | *-*-cygwin* )
39030                                                 THREAD_OPTS=""
39031                 ;;
39032           *-*-aix*)
39033                                 THREAD_OPTS="pthreads"
39034                 ;;
39035           *-hp-hpux* )
39036                 if test "x$GCC" = "xyes"; then
39037                                         $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
39038                         THREAD_OPTS=""
39039                 else
39040                                                             THREAD_OPTS="-mt"
39041                 fi
39042                 ;;
39043
39044           *-*-irix* )
39045                                                                 if test "x$GCC" = "xyes"; then
39046                     THREAD_OPTS=""
39047                 fi
39048                 ;;
39049
39050           *-*-*UnixWare*)
39051                                 if test "x$GCC" != "xyes"; then
39052                     THREAD_OPTS="-Ethread"
39053                 fi
39054                 ;;
39055         esac
39056
39057                                 THREAD_OPTS="$THREAD_OPTS pthread none"
39058
39059                 THREADS_OK=no
39060         for flag in $THREAD_OPTS; do
39061             case $flag in
39062                 none)
39063                     { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
39064 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
39065                     ;;
39066
39067                 -*)
39068                     { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
39069 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
39070                     THREADS_CFLAGS="$flag"
39071                     ;;
39072
39073                 *)
39074                     { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
39075 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
39076                     THREADS_LINK="-l$flag"
39077                     ;;
39078               esac
39079
39080               save_LIBS="$LIBS"
39081               save_CFLAGS="$CFLAGS"
39082               LIBS="$THREADS_LINK $LIBS"
39083               CFLAGS="$THREADS_CFLAGS $CFLAGS"
39084
39085               cat >conftest.$ac_ext <<_ACEOF
39086 /* confdefs.h.  */
39087 _ACEOF
39088 cat confdefs.h >>conftest.$ac_ext
39089 cat >>conftest.$ac_ext <<_ACEOF
39090 /* end confdefs.h.  */
39091 #include <pthread.h>
39092 int
39093 main ()
39094 {
39095 pthread_create(0,0,0,0);
39096   ;
39097   return 0;
39098 }
39099 _ACEOF
39100 rm -f conftest.$ac_objext conftest$ac_exeext
39101 if { (ac_try="$ac_link"
39102 case "(($ac_try" in
39103   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39104   *) ac_try_echo=$ac_try;;
39105 esac
39106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39107   (eval "$ac_link") 2>conftest.er1
39108   ac_status=$?
39109   grep -v '^ *+' conftest.er1 >conftest.err
39110   rm -f conftest.er1
39111   cat conftest.err >&5
39112   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39113   (exit $ac_status); } && {
39114          test -z "$ac_c_werror_flag" ||
39115          test ! -s conftest.err
39116        } && test -s conftest$ac_exeext &&
39117        $as_test_x conftest$ac_exeext; then
39118   THREADS_OK=yes
39119 else
39120   echo "$as_me: failed program was:" >&5
39121 sed 's/^/| /' conftest.$ac_ext >&5
39122
39123
39124 fi
39125
39126 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39127       conftest$ac_exeext conftest.$ac_ext
39128
39129               LIBS="$save_LIBS"
39130               CFLAGS="$save_CFLAGS"
39131
39132               { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
39133 echo "${ECHO_T}$THREADS_OK" >&6; }
39134               if test "x$THREADS_OK" = "xyes"; then
39135                       break;
39136               fi
39137
39138               THREADS_LINK=""
39139               THREADS_CFLAGS=""
39140       done
39141
39142       if test "x$THREADS_OK" != "xyes"; then
39143           wxUSE_THREADS=no
39144           { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
39145 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
39146       else
39147                               LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
39148           LIBS="$THREADS_LINK $LIBS"
39149
39150           { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
39151 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
39152           flag=no
39153           case "${host}" in
39154             *-aix*)
39155                                                                                                                 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
39156                 flag="-D_THREAD_SAFE"
39157                 ;;
39158             *-freebsd*)
39159                 flag="-D_THREAD_SAFE"
39160                 ;;
39161             *-hp-hpux* )
39162                 flag="-D_REENTRANT"
39163                 if test "x$GCC" != "xyes"; then
39164                                         flag="$flag -D_RWSTD_MULTI_THREAD"
39165                 fi
39166                 ;;
39167             *solaris* | alpha*-osf*)
39168                 flag="-D_REENTRANT"
39169                 ;;
39170           esac
39171           { echo "$as_me:$LINENO: result: ${flag}" >&5
39172 echo "${ECHO_T}${flag}" >&6; }
39173           if test "x$flag" != xno; then
39174               THREADS_CFLAGS="$THREADS_CFLAGS $flag"
39175           fi
39176
39177                     WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
39178       fi
39179     fi
39180
39181         if test "$wxUSE_THREADS" = "yes" ; then
39182
39183 for ac_func in thr_setconcurrency
39184 do
39185 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39186 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39187 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39188 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39189   echo $ECHO_N "(cached) $ECHO_C" >&6
39190 else
39191   cat >conftest.$ac_ext <<_ACEOF
39192 /* confdefs.h.  */
39193 _ACEOF
39194 cat confdefs.h >>conftest.$ac_ext
39195 cat >>conftest.$ac_ext <<_ACEOF
39196 /* end confdefs.h.  */
39197 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39198    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
39199 #define $ac_func innocuous_$ac_func
39200
39201 /* System header to define __stub macros and hopefully few prototypes,
39202     which can conflict with char $ac_func (); below.
39203     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39204     <limits.h> exists even on freestanding compilers.  */
39205
39206 #ifdef __STDC__
39207 # include <limits.h>
39208 #else
39209 # include <assert.h>
39210 #endif
39211
39212 #undef $ac_func
39213
39214 /* Override any GCC internal prototype to avoid an error.
39215    Use char because int might match the return type of a GCC
39216    builtin and then its argument prototype would still apply.  */
39217 #ifdef __cplusplus
39218 extern "C"
39219 #endif
39220 char $ac_func ();
39221 /* The GNU C library defines this for functions which it implements
39222     to always fail with ENOSYS.  Some functions are actually named
39223     something starting with __ and the normal name is an alias.  */
39224 #if defined __stub_$ac_func || defined __stub___$ac_func
39225 choke me
39226 #endif
39227
39228 int
39229 main ()
39230 {
39231 return $ac_func ();
39232   ;
39233   return 0;
39234 }
39235 _ACEOF
39236 rm -f conftest.$ac_objext conftest$ac_exeext
39237 if { (ac_try="$ac_link"
39238 case "(($ac_try" in
39239   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39240   *) ac_try_echo=$ac_try;;
39241 esac
39242 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39243   (eval "$ac_link") 2>conftest.er1
39244   ac_status=$?
39245   grep -v '^ *+' conftest.er1 >conftest.err
39246   rm -f conftest.er1
39247   cat conftest.err >&5
39248   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39249   (exit $ac_status); } && {
39250          test -z "$ac_c_werror_flag" ||
39251          test ! -s conftest.err
39252        } && test -s conftest$ac_exeext &&
39253        $as_test_x conftest$ac_exeext; then
39254   eval "$as_ac_var=yes"
39255 else
39256   echo "$as_me: failed program was:" >&5
39257 sed 's/^/| /' conftest.$ac_ext >&5
39258
39259         eval "$as_ac_var=no"
39260 fi
39261
39262 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39263       conftest$ac_exeext conftest.$ac_ext
39264 fi
39265 ac_res=`eval echo '${'$as_ac_var'}'`
39266                { echo "$as_me:$LINENO: result: $ac_res" >&5
39267 echo "${ECHO_T}$ac_res" >&6; }
39268 if test `eval echo '${'$as_ac_var'}'` = yes; then
39269   cat >>confdefs.h <<_ACEOF
39270 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39271 _ACEOF
39272
39273 fi
39274 done
39275
39276
39277                   { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
39278 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
39279 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
39280   echo $ECHO_N "(cached) $ECHO_C" >&6
39281 else
39282
39283                                 ac_ext=cpp
39284 ac_cpp='$CXXCPP $CPPFLAGS'
39285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39288
39289         cat >conftest.$ac_ext <<_ACEOF
39290 /* confdefs.h.  */
39291 _ACEOF
39292 cat confdefs.h >>conftest.$ac_ext
39293 cat >>conftest.$ac_ext <<_ACEOF
39294 /* end confdefs.h.  */
39295 #include <pthread.h>
39296                void ThreadCleanupFunc(void *p);
39297
39298 int
39299 main ()
39300 {
39301
39302                 void *p;
39303                 pthread_cleanup_push(ThreadCleanupFunc, p);
39304                 pthread_cleanup_pop(0);
39305
39306   ;
39307   return 0;
39308 }
39309 _ACEOF
39310 rm -f conftest.$ac_objext
39311 if { (ac_try="$ac_compile"
39312 case "(($ac_try" in
39313   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39314   *) ac_try_echo=$ac_try;;
39315 esac
39316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39317   (eval "$ac_compile") 2>conftest.er1
39318   ac_status=$?
39319   grep -v '^ *+' conftest.er1 >conftest.err
39320   rm -f conftest.er1
39321   cat conftest.err >&5
39322   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39323   (exit $ac_status); } && {
39324          test -z "$ac_cxx_werror_flag" ||
39325          test ! -s conftest.err
39326        } && test -s conftest.$ac_objext; then
39327
39328                wx_cv_func_pthread_cleanup=yes
39329
39330 else
39331   echo "$as_me: failed program was:" >&5
39332 sed 's/^/| /' conftest.$ac_ext >&5
39333
39334
39335                wx_cv_func_pthread_cleanup=no
39336
39337
39338 fi
39339
39340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39341         ac_ext=c
39342 ac_cpp='$CPP $CPPFLAGS'
39343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39346
39347
39348 fi
39349 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
39350 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
39351       if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
39352         cat >>confdefs.h <<\_ACEOF
39353 #define wxHAVE_PTHREAD_CLEANUP 1
39354 _ACEOF
39355
39356       fi
39357
39358
39359 for ac_header in sched.h
39360 do
39361 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39362 { echo "$as_me:$LINENO: checking for $ac_header" >&5
39363 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
39364 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
39365   echo $ECHO_N "(cached) $ECHO_C" >&6
39366 else
39367   cat >conftest.$ac_ext <<_ACEOF
39368 /* confdefs.h.  */
39369 _ACEOF
39370 cat confdefs.h >>conftest.$ac_ext
39371 cat >>conftest.$ac_ext <<_ACEOF
39372 /* end confdefs.h.  */
39373 $ac_includes_default
39374
39375 #include <$ac_header>
39376 _ACEOF
39377 rm -f conftest.$ac_objext
39378 if { (ac_try="$ac_compile"
39379 case "(($ac_try" in
39380   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39381   *) ac_try_echo=$ac_try;;
39382 esac
39383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39384   (eval "$ac_compile") 2>conftest.er1
39385   ac_status=$?
39386   grep -v '^ *+' conftest.er1 >conftest.err
39387   rm -f conftest.er1
39388   cat conftest.err >&5
39389   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39390   (exit $ac_status); } && {
39391          test -z "$ac_c_werror_flag" ||
39392          test ! -s conftest.err
39393        } && test -s conftest.$ac_objext; then
39394   eval "$as_ac_Header=yes"
39395 else
39396   echo "$as_me: failed program was:" >&5
39397 sed 's/^/| /' conftest.$ac_ext >&5
39398
39399         eval "$as_ac_Header=no"
39400 fi
39401
39402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39403 fi
39404 ac_res=`eval echo '${'$as_ac_Header'}'`
39405                { echo "$as_me:$LINENO: result: $ac_res" >&5
39406 echo "${ECHO_T}$ac_res" >&6; }
39407 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39408   cat >>confdefs.h <<_ACEOF
39409 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39410 _ACEOF
39411
39412 fi
39413
39414 done
39415
39416       if test "$ac_cv_header_sched_h" = "yes"; then
39417           { echo "$as_me:$LINENO: checking for sched_yield" >&5
39418 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
39419 if test "${ac_cv_func_sched_yield+set}" = set; then
39420   echo $ECHO_N "(cached) $ECHO_C" >&6
39421 else
39422   cat >conftest.$ac_ext <<_ACEOF
39423 /* confdefs.h.  */
39424 _ACEOF
39425 cat confdefs.h >>conftest.$ac_ext
39426 cat >>conftest.$ac_ext <<_ACEOF
39427 /* end confdefs.h.  */
39428 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
39429    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
39430 #define sched_yield innocuous_sched_yield
39431
39432 /* System header to define __stub macros and hopefully few prototypes,
39433     which can conflict with char sched_yield (); below.
39434     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39435     <limits.h> exists even on freestanding compilers.  */
39436
39437 #ifdef __STDC__
39438 # include <limits.h>
39439 #else
39440 # include <assert.h>
39441 #endif
39442
39443 #undef sched_yield
39444
39445 /* Override any GCC internal prototype to avoid an error.
39446    Use char because int might match the return type of a GCC
39447    builtin and then its argument prototype would still apply.  */
39448 #ifdef __cplusplus
39449 extern "C"
39450 #endif
39451 char sched_yield ();
39452 /* The GNU C library defines this for functions which it implements
39453     to always fail with ENOSYS.  Some functions are actually named
39454     something starting with __ and the normal name is an alias.  */
39455 #if defined __stub_sched_yield || defined __stub___sched_yield
39456 choke me
39457 #endif
39458
39459 int
39460 main ()
39461 {
39462 return sched_yield ();
39463   ;
39464   return 0;
39465 }
39466 _ACEOF
39467 rm -f conftest.$ac_objext conftest$ac_exeext
39468 if { (ac_try="$ac_link"
39469 case "(($ac_try" in
39470   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39471   *) ac_try_echo=$ac_try;;
39472 esac
39473 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39474   (eval "$ac_link") 2>conftest.er1
39475   ac_status=$?
39476   grep -v '^ *+' conftest.er1 >conftest.err
39477   rm -f conftest.er1
39478   cat conftest.err >&5
39479   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39480   (exit $ac_status); } && {
39481          test -z "$ac_c_werror_flag" ||
39482          test ! -s conftest.err
39483        } && test -s conftest$ac_exeext &&
39484        $as_test_x conftest$ac_exeext; then
39485   ac_cv_func_sched_yield=yes
39486 else
39487   echo "$as_me: failed program was:" >&5
39488 sed 's/^/| /' conftest.$ac_ext >&5
39489
39490         ac_cv_func_sched_yield=no
39491 fi
39492
39493 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39494       conftest$ac_exeext conftest.$ac_ext
39495 fi
39496 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
39497 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
39498 if test $ac_cv_func_sched_yield = yes; then
39499   cat >>confdefs.h <<\_ACEOF
39500 #define HAVE_SCHED_YIELD 1
39501 _ACEOF
39502
39503 else
39504
39505                 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
39506 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
39507 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
39508   echo $ECHO_N "(cached) $ECHO_C" >&6
39509 else
39510   ac_check_lib_save_LIBS=$LIBS
39511 LIBS="-lposix4  $LIBS"
39512 cat >conftest.$ac_ext <<_ACEOF
39513 /* confdefs.h.  */
39514 _ACEOF
39515 cat confdefs.h >>conftest.$ac_ext
39516 cat >>conftest.$ac_ext <<_ACEOF
39517 /* end confdefs.h.  */
39518
39519 /* Override any GCC internal prototype to avoid an error.
39520    Use char because int might match the return type of a GCC
39521    builtin and then its argument prototype would still apply.  */
39522 #ifdef __cplusplus
39523 extern "C"
39524 #endif
39525 char sched_yield ();
39526 int
39527 main ()
39528 {
39529 return sched_yield ();
39530   ;
39531   return 0;
39532 }
39533 _ACEOF
39534 rm -f conftest.$ac_objext conftest$ac_exeext
39535 if { (ac_try="$ac_link"
39536 case "(($ac_try" in
39537   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39538   *) ac_try_echo=$ac_try;;
39539 esac
39540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39541   (eval "$ac_link") 2>conftest.er1
39542   ac_status=$?
39543   grep -v '^ *+' conftest.er1 >conftest.err
39544   rm -f conftest.er1
39545   cat conftest.err >&5
39546   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39547   (exit $ac_status); } && {
39548          test -z "$ac_c_werror_flag" ||
39549          test ! -s conftest.err
39550        } && test -s conftest$ac_exeext &&
39551        $as_test_x conftest$ac_exeext; then
39552   ac_cv_lib_posix4_sched_yield=yes
39553 else
39554   echo "$as_me: failed program was:" >&5
39555 sed 's/^/| /' conftest.$ac_ext >&5
39556
39557         ac_cv_lib_posix4_sched_yield=no
39558 fi
39559
39560 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39561       conftest$ac_exeext conftest.$ac_ext
39562 LIBS=$ac_check_lib_save_LIBS
39563 fi
39564 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
39565 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
39566 if test $ac_cv_lib_posix4_sched_yield = yes; then
39567   cat >>confdefs.h <<\_ACEOF
39568 #define HAVE_SCHED_YIELD 1
39569 _ACEOF
39570  POSIX4_LINK=" -lposix4"
39571 else
39572   { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
39573 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
39574
39575 fi
39576
39577
39578
39579 fi
39580
39581       fi
39582
39583                                           HAVE_PRIOR_FUNCS=0
39584       { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
39585 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
39586 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
39587   echo $ECHO_N "(cached) $ECHO_C" >&6
39588 else
39589   cat >conftest.$ac_ext <<_ACEOF
39590 /* confdefs.h.  */
39591 _ACEOF
39592 cat confdefs.h >>conftest.$ac_ext
39593 cat >>conftest.$ac_ext <<_ACEOF
39594 /* end confdefs.h.  */
39595 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
39596    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
39597 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
39598
39599 /* System header to define __stub macros and hopefully few prototypes,
39600     which can conflict with char pthread_attr_getschedpolicy (); below.
39601     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39602     <limits.h> exists even on freestanding compilers.  */
39603
39604 #ifdef __STDC__
39605 # include <limits.h>
39606 #else
39607 # include <assert.h>
39608 #endif
39609
39610 #undef pthread_attr_getschedpolicy
39611
39612 /* Override any GCC internal prototype to avoid an error.
39613    Use char because int might match the return type of a GCC
39614    builtin and then its argument prototype would still apply.  */
39615 #ifdef __cplusplus
39616 extern "C"
39617 #endif
39618 char pthread_attr_getschedpolicy ();
39619 /* The GNU C library defines this for functions which it implements
39620     to always fail with ENOSYS.  Some functions are actually named
39621     something starting with __ and the normal name is an alias.  */
39622 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
39623 choke me
39624 #endif
39625
39626 int
39627 main ()
39628 {
39629 return pthread_attr_getschedpolicy ();
39630   ;
39631   return 0;
39632 }
39633 _ACEOF
39634 rm -f conftest.$ac_objext conftest$ac_exeext
39635 if { (ac_try="$ac_link"
39636 case "(($ac_try" in
39637   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39638   *) ac_try_echo=$ac_try;;
39639 esac
39640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39641   (eval "$ac_link") 2>conftest.er1
39642   ac_status=$?
39643   grep -v '^ *+' conftest.er1 >conftest.err
39644   rm -f conftest.er1
39645   cat conftest.err >&5
39646   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39647   (exit $ac_status); } && {
39648          test -z "$ac_c_werror_flag" ||
39649          test ! -s conftest.err
39650        } && test -s conftest$ac_exeext &&
39651        $as_test_x conftest$ac_exeext; then
39652   ac_cv_func_pthread_attr_getschedpolicy=yes
39653 else
39654   echo "$as_me: failed program was:" >&5
39655 sed 's/^/| /' conftest.$ac_ext >&5
39656
39657         ac_cv_func_pthread_attr_getschedpolicy=no
39658 fi
39659
39660 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39661       conftest$ac_exeext conftest.$ac_ext
39662 fi
39663 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
39664 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
39665 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
39666   { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
39667 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
39668 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
39669   echo $ECHO_N "(cached) $ECHO_C" >&6
39670 else
39671   cat >conftest.$ac_ext <<_ACEOF
39672 /* confdefs.h.  */
39673 _ACEOF
39674 cat confdefs.h >>conftest.$ac_ext
39675 cat >>conftest.$ac_ext <<_ACEOF
39676 /* end confdefs.h.  */
39677 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
39678    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
39679 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
39680
39681 /* System header to define __stub macros and hopefully few prototypes,
39682     which can conflict with char pthread_attr_setschedparam (); below.
39683     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39684     <limits.h> exists even on freestanding compilers.  */
39685
39686 #ifdef __STDC__
39687 # include <limits.h>
39688 #else
39689 # include <assert.h>
39690 #endif
39691
39692 #undef pthread_attr_setschedparam
39693
39694 /* Override any GCC internal prototype to avoid an error.
39695    Use char because int might match the return type of a GCC
39696    builtin and then its argument prototype would still apply.  */
39697 #ifdef __cplusplus
39698 extern "C"
39699 #endif
39700 char pthread_attr_setschedparam ();
39701 /* The GNU C library defines this for functions which it implements
39702     to always fail with ENOSYS.  Some functions are actually named
39703     something starting with __ and the normal name is an alias.  */
39704 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
39705 choke me
39706 #endif
39707
39708 int
39709 main ()
39710 {
39711 return pthread_attr_setschedparam ();
39712   ;
39713   return 0;
39714 }
39715 _ACEOF
39716 rm -f conftest.$ac_objext conftest$ac_exeext
39717 if { (ac_try="$ac_link"
39718 case "(($ac_try" in
39719   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39720   *) ac_try_echo=$ac_try;;
39721 esac
39722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39723   (eval "$ac_link") 2>conftest.er1
39724   ac_status=$?
39725   grep -v '^ *+' conftest.er1 >conftest.err
39726   rm -f conftest.er1
39727   cat conftest.err >&5
39728   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39729   (exit $ac_status); } && {
39730          test -z "$ac_c_werror_flag" ||
39731          test ! -s conftest.err
39732        } && test -s conftest$ac_exeext &&
39733        $as_test_x conftest$ac_exeext; then
39734   ac_cv_func_pthread_attr_setschedparam=yes
39735 else
39736   echo "$as_me: failed program was:" >&5
39737 sed 's/^/| /' conftest.$ac_ext >&5
39738
39739         ac_cv_func_pthread_attr_setschedparam=no
39740 fi
39741
39742 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39743       conftest$ac_exeext conftest.$ac_ext
39744 fi
39745 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
39746 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
39747 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
39748   { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
39749 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
39750 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
39751   echo $ECHO_N "(cached) $ECHO_C" >&6
39752 else
39753   cat >conftest.$ac_ext <<_ACEOF
39754 /* confdefs.h.  */
39755 _ACEOF
39756 cat confdefs.h >>conftest.$ac_ext
39757 cat >>conftest.$ac_ext <<_ACEOF
39758 /* end confdefs.h.  */
39759 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
39760    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
39761 #define sched_get_priority_max innocuous_sched_get_priority_max
39762
39763 /* System header to define __stub macros and hopefully few prototypes,
39764     which can conflict with char sched_get_priority_max (); below.
39765     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39766     <limits.h> exists even on freestanding compilers.  */
39767
39768 #ifdef __STDC__
39769 # include <limits.h>
39770 #else
39771 # include <assert.h>
39772 #endif
39773
39774 #undef sched_get_priority_max
39775
39776 /* Override any GCC internal prototype to avoid an error.
39777    Use char because int might match the return type of a GCC
39778    builtin and then its argument prototype would still apply.  */
39779 #ifdef __cplusplus
39780 extern "C"
39781 #endif
39782 char sched_get_priority_max ();
39783 /* The GNU C library defines this for functions which it implements
39784     to always fail with ENOSYS.  Some functions are actually named
39785     something starting with __ and the normal name is an alias.  */
39786 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
39787 choke me
39788 #endif
39789
39790 int
39791 main ()
39792 {
39793 return sched_get_priority_max ();
39794   ;
39795   return 0;
39796 }
39797 _ACEOF
39798 rm -f conftest.$ac_objext conftest$ac_exeext
39799 if { (ac_try="$ac_link"
39800 case "(($ac_try" in
39801   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39802   *) ac_try_echo=$ac_try;;
39803 esac
39804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39805   (eval "$ac_link") 2>conftest.er1
39806   ac_status=$?
39807   grep -v '^ *+' conftest.er1 >conftest.err
39808   rm -f conftest.er1
39809   cat conftest.err >&5
39810   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39811   (exit $ac_status); } && {
39812          test -z "$ac_c_werror_flag" ||
39813          test ! -s conftest.err
39814        } && test -s conftest$ac_exeext &&
39815        $as_test_x conftest$ac_exeext; then
39816   ac_cv_func_sched_get_priority_max=yes
39817 else
39818   echo "$as_me: failed program was:" >&5
39819 sed 's/^/| /' conftest.$ac_ext >&5
39820
39821         ac_cv_func_sched_get_priority_max=no
39822 fi
39823
39824 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39825       conftest$ac_exeext conftest.$ac_ext
39826 fi
39827 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
39828 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
39829 if test $ac_cv_func_sched_get_priority_max = yes; then
39830   HAVE_PRIOR_FUNCS=1
39831 else
39832   { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
39833 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
39834 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
39835   echo $ECHO_N "(cached) $ECHO_C" >&6
39836 else
39837   ac_check_lib_save_LIBS=$LIBS
39838 LIBS="-lposix4  $LIBS"
39839 cat >conftest.$ac_ext <<_ACEOF
39840 /* confdefs.h.  */
39841 _ACEOF
39842 cat confdefs.h >>conftest.$ac_ext
39843 cat >>conftest.$ac_ext <<_ACEOF
39844 /* end confdefs.h.  */
39845
39846 /* Override any GCC internal prototype to avoid an error.
39847    Use char because int might match the return type of a GCC
39848    builtin and then its argument prototype would still apply.  */
39849 #ifdef __cplusplus
39850 extern "C"
39851 #endif
39852 char sched_get_priority_max ();
39853 int
39854 main ()
39855 {
39856 return sched_get_priority_max ();
39857   ;
39858   return 0;
39859 }
39860 _ACEOF
39861 rm -f conftest.$ac_objext conftest$ac_exeext
39862 if { (ac_try="$ac_link"
39863 case "(($ac_try" in
39864   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39865   *) ac_try_echo=$ac_try;;
39866 esac
39867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39868   (eval "$ac_link") 2>conftest.er1
39869   ac_status=$?
39870   grep -v '^ *+' conftest.er1 >conftest.err
39871   rm -f conftest.er1
39872   cat conftest.err >&5
39873   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39874   (exit $ac_status); } && {
39875          test -z "$ac_c_werror_flag" ||
39876          test ! -s conftest.err
39877        } && test -s conftest$ac_exeext &&
39878        $as_test_x conftest$ac_exeext; then
39879   ac_cv_lib_posix4_sched_get_priority_max=yes
39880 else
39881   echo "$as_me: failed program was:" >&5
39882 sed 's/^/| /' conftest.$ac_ext >&5
39883
39884         ac_cv_lib_posix4_sched_get_priority_max=no
39885 fi
39886
39887 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39888       conftest$ac_exeext conftest.$ac_ext
39889 LIBS=$ac_check_lib_save_LIBS
39890 fi
39891 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
39892 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
39893 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
39894
39895                                 HAVE_PRIOR_FUNCS=1
39896                                 POSIX4_LINK=" -lposix4"
39897
39898 fi
39899
39900
39901 fi
39902
39903
39904 fi
39905
39906
39907 fi
39908
39909
39910       if test "$HAVE_PRIOR_FUNCS" = 1; then
39911         cat >>confdefs.h <<\_ACEOF
39912 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
39913 _ACEOF
39914
39915       else
39916         { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
39917 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
39918       fi
39919
39920       { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
39921 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
39922 if test "${ac_cv_func_pthread_cancel+set}" = set; then
39923   echo $ECHO_N "(cached) $ECHO_C" >&6
39924 else
39925   cat >conftest.$ac_ext <<_ACEOF
39926 /* confdefs.h.  */
39927 _ACEOF
39928 cat confdefs.h >>conftest.$ac_ext
39929 cat >>conftest.$ac_ext <<_ACEOF
39930 /* end confdefs.h.  */
39931 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
39932    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
39933 #define pthread_cancel innocuous_pthread_cancel
39934
39935 /* System header to define __stub macros and hopefully few prototypes,
39936     which can conflict with char pthread_cancel (); below.
39937     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39938     <limits.h> exists even on freestanding compilers.  */
39939
39940 #ifdef __STDC__
39941 # include <limits.h>
39942 #else
39943 # include <assert.h>
39944 #endif
39945
39946 #undef pthread_cancel
39947
39948 /* Override any GCC internal prototype to avoid an error.
39949    Use char because int might match the return type of a GCC
39950    builtin and then its argument prototype would still apply.  */
39951 #ifdef __cplusplus
39952 extern "C"
39953 #endif
39954 char pthread_cancel ();
39955 /* The GNU C library defines this for functions which it implements
39956     to always fail with ENOSYS.  Some functions are actually named
39957     something starting with __ and the normal name is an alias.  */
39958 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
39959 choke me
39960 #endif
39961
39962 int
39963 main ()
39964 {
39965 return pthread_cancel ();
39966   ;
39967   return 0;
39968 }
39969 _ACEOF
39970 rm -f conftest.$ac_objext conftest$ac_exeext
39971 if { (ac_try="$ac_link"
39972 case "(($ac_try" in
39973   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39974   *) ac_try_echo=$ac_try;;
39975 esac
39976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39977   (eval "$ac_link") 2>conftest.er1
39978   ac_status=$?
39979   grep -v '^ *+' conftest.er1 >conftest.err
39980   rm -f conftest.er1
39981   cat conftest.err >&5
39982   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39983   (exit $ac_status); } && {
39984          test -z "$ac_c_werror_flag" ||
39985          test ! -s conftest.err
39986        } && test -s conftest$ac_exeext &&
39987        $as_test_x conftest$ac_exeext; then
39988   ac_cv_func_pthread_cancel=yes
39989 else
39990   echo "$as_me: failed program was:" >&5
39991 sed 's/^/| /' conftest.$ac_ext >&5
39992
39993         ac_cv_func_pthread_cancel=no
39994 fi
39995
39996 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39997       conftest$ac_exeext conftest.$ac_ext
39998 fi
39999 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
40000 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
40001 if test $ac_cv_func_pthread_cancel = yes; then
40002   cat >>confdefs.h <<\_ACEOF
40003 #define HAVE_PTHREAD_CANCEL 1
40004 _ACEOF
40005
40006 else
40007   { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
40008 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
40009 fi
40010
40011
40012       { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
40013 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
40014 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
40015   echo $ECHO_N "(cached) $ECHO_C" >&6
40016 else
40017   cat >conftest.$ac_ext <<_ACEOF
40018 /* confdefs.h.  */
40019 _ACEOF
40020 cat confdefs.h >>conftest.$ac_ext
40021 cat >>conftest.$ac_ext <<_ACEOF
40022 /* end confdefs.h.  */
40023 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
40024    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
40025 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
40026
40027 /* System header to define __stub macros and hopefully few prototypes,
40028     which can conflict with char pthread_mutex_timedlock (); below.
40029     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40030     <limits.h> exists even on freestanding compilers.  */
40031
40032 #ifdef __STDC__
40033 # include <limits.h>
40034 #else
40035 # include <assert.h>
40036 #endif
40037
40038 #undef pthread_mutex_timedlock
40039
40040 /* Override any GCC internal prototype to avoid an error.
40041    Use char because int might match the return type of a GCC
40042    builtin and then its argument prototype would still apply.  */
40043 #ifdef __cplusplus
40044 extern "C"
40045 #endif
40046 char pthread_mutex_timedlock ();
40047 /* The GNU C library defines this for functions which it implements
40048     to always fail with ENOSYS.  Some functions are actually named
40049     something starting with __ and the normal name is an alias.  */
40050 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
40051 choke me
40052 #endif
40053
40054 int
40055 main ()
40056 {
40057 return pthread_mutex_timedlock ();
40058   ;
40059   return 0;
40060 }
40061 _ACEOF
40062 rm -f conftest.$ac_objext conftest$ac_exeext
40063 if { (ac_try="$ac_link"
40064 case "(($ac_try" in
40065   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40066   *) ac_try_echo=$ac_try;;
40067 esac
40068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40069   (eval "$ac_link") 2>conftest.er1
40070   ac_status=$?
40071   grep -v '^ *+' conftest.er1 >conftest.err
40072   rm -f conftest.er1
40073   cat conftest.err >&5
40074   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40075   (exit $ac_status); } && {
40076          test -z "$ac_c_werror_flag" ||
40077          test ! -s conftest.err
40078        } && test -s conftest$ac_exeext &&
40079        $as_test_x conftest$ac_exeext; then
40080   ac_cv_func_pthread_mutex_timedlock=yes
40081 else
40082   echo "$as_me: failed program was:" >&5
40083 sed 's/^/| /' conftest.$ac_ext >&5
40084
40085         ac_cv_func_pthread_mutex_timedlock=no
40086 fi
40087
40088 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40089       conftest$ac_exeext conftest.$ac_ext
40090 fi
40091 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
40092 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
40093 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
40094   cat >>confdefs.h <<\_ACEOF
40095 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
40096 _ACEOF
40097
40098 else
40099   { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
40100 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
40101 fi
40102
40103
40104       { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
40105 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
40106 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
40107   echo $ECHO_N "(cached) $ECHO_C" >&6
40108 else
40109   cat >conftest.$ac_ext <<_ACEOF
40110 /* confdefs.h.  */
40111 _ACEOF
40112 cat confdefs.h >>conftest.$ac_ext
40113 cat >>conftest.$ac_ext <<_ACEOF
40114 /* end confdefs.h.  */
40115 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
40116    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
40117 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
40118
40119 /* System header to define __stub macros and hopefully few prototypes,
40120     which can conflict with char pthread_attr_setstacksize (); below.
40121     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40122     <limits.h> exists even on freestanding compilers.  */
40123
40124 #ifdef __STDC__
40125 # include <limits.h>
40126 #else
40127 # include <assert.h>
40128 #endif
40129
40130 #undef pthread_attr_setstacksize
40131
40132 /* Override any GCC internal prototype to avoid an error.
40133    Use char because int might match the return type of a GCC
40134    builtin and then its argument prototype would still apply.  */
40135 #ifdef __cplusplus
40136 extern "C"
40137 #endif
40138 char pthread_attr_setstacksize ();
40139 /* The GNU C library defines this for functions which it implements
40140     to always fail with ENOSYS.  Some functions are actually named
40141     something starting with __ and the normal name is an alias.  */
40142 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
40143 choke me
40144 #endif
40145
40146 int
40147 main ()
40148 {
40149 return pthread_attr_setstacksize ();
40150   ;
40151   return 0;
40152 }
40153 _ACEOF
40154 rm -f conftest.$ac_objext conftest$ac_exeext
40155 if { (ac_try="$ac_link"
40156 case "(($ac_try" in
40157   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40158   *) ac_try_echo=$ac_try;;
40159 esac
40160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40161   (eval "$ac_link") 2>conftest.er1
40162   ac_status=$?
40163   grep -v '^ *+' conftest.er1 >conftest.err
40164   rm -f conftest.er1
40165   cat conftest.err >&5
40166   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40167   (exit $ac_status); } && {
40168          test -z "$ac_c_werror_flag" ||
40169          test ! -s conftest.err
40170        } && test -s conftest$ac_exeext &&
40171        $as_test_x conftest$ac_exeext; then
40172   ac_cv_func_pthread_attr_setstacksize=yes
40173 else
40174   echo "$as_me: failed program was:" >&5
40175 sed 's/^/| /' conftest.$ac_ext >&5
40176
40177         ac_cv_func_pthread_attr_setstacksize=no
40178 fi
40179
40180 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40181       conftest$ac_exeext conftest.$ac_ext
40182 fi
40183 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
40184 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
40185 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
40186   cat >>confdefs.h <<\_ACEOF
40187 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
40188 _ACEOF
40189
40190 fi
40191
40192
40193
40194       { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
40195 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
40196 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
40197   echo $ECHO_N "(cached) $ECHO_C" >&6
40198 else
40199
40200         cat >conftest.$ac_ext <<_ACEOF
40201 /* confdefs.h.  */
40202 _ACEOF
40203 cat confdefs.h >>conftest.$ac_ext
40204 cat >>conftest.$ac_ext <<_ACEOF
40205 /* end confdefs.h.  */
40206 #include <pthread.h>
40207 int
40208 main ()
40209 {
40210
40211                pthread_mutexattr_t attr;
40212                pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40213
40214   ;
40215   return 0;
40216 }
40217 _ACEOF
40218 rm -f conftest.$ac_objext
40219 if { (ac_try="$ac_compile"
40220 case "(($ac_try" in
40221   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40222   *) ac_try_echo=$ac_try;;
40223 esac
40224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40225   (eval "$ac_compile") 2>conftest.er1
40226   ac_status=$?
40227   grep -v '^ *+' conftest.er1 >conftest.err
40228   rm -f conftest.er1
40229   cat conftest.err >&5
40230   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40231   (exit $ac_status); } && {
40232          test -z "$ac_c_werror_flag" ||
40233          test ! -s conftest.err
40234        } && test -s conftest.$ac_objext; then
40235   wx_cv_type_pthread_mutexattr_t=yes
40236 else
40237   echo "$as_me: failed program was:" >&5
40238 sed 's/^/| /' conftest.$ac_ext >&5
40239
40240         wx_cv_type_pthread_mutexattr_t=no
40241
40242 fi
40243
40244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40245
40246 fi
40247 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
40248 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
40249
40250       if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
40251         cat >>confdefs.h <<\_ACEOF
40252 #define HAVE_PTHREAD_MUTEXATTR_T 1
40253 _ACEOF
40254
40255
40256                         { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
40257 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
40258 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
40259   echo $ECHO_N "(cached) $ECHO_C" >&6
40260 else
40261
40262                        cat >conftest.$ac_ext <<_ACEOF
40263 /* confdefs.h.  */
40264 _ACEOF
40265 cat confdefs.h >>conftest.$ac_ext
40266 cat >>conftest.$ac_ext <<_ACEOF
40267 /* end confdefs.h.  */
40268 #include <pthread.h>
40269 int
40270 main ()
40271 {
40272
40273                                pthread_mutexattr_t attr;
40274                                pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40275
40276   ;
40277   return 0;
40278 }
40279 _ACEOF
40280 rm -f conftest.$ac_objext
40281 if { (ac_try="$ac_compile"
40282 case "(($ac_try" in
40283   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40284   *) ac_try_echo=$ac_try;;
40285 esac
40286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40287   (eval "$ac_compile") 2>conftest.er1
40288   ac_status=$?
40289   grep -v '^ *+' conftest.er1 >conftest.err
40290   rm -f conftest.er1
40291   cat conftest.err >&5
40292   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40293   (exit $ac_status); } && {
40294          test -z "$ac_c_werror_flag" ||
40295          test ! -s conftest.err
40296        } && test -s conftest.$ac_objext; then
40297   wx_cv_func_pthread_mutexattr_settype_decl=yes
40298 else
40299   echo "$as_me: failed program was:" >&5
40300 sed 's/^/| /' conftest.$ac_ext >&5
40301
40302         wx_cv_func_pthread_mutexattr_settype_decl=no
40303
40304 fi
40305
40306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40307
40308 fi
40309 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
40310 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
40311         if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
40312             cat >>confdefs.h <<\_ACEOF
40313 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
40314 _ACEOF
40315
40316         fi
40317       else
40318                 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
40319 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
40320 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
40321   echo $ECHO_N "(cached) $ECHO_C" >&6
40322 else
40323
40324             cat >conftest.$ac_ext <<_ACEOF
40325 /* confdefs.h.  */
40326 _ACEOF
40327 cat confdefs.h >>conftest.$ac_ext
40328 cat >>conftest.$ac_ext <<_ACEOF
40329 /* end confdefs.h.  */
40330 #include <pthread.h>
40331 int
40332 main ()
40333 {
40334
40335                     pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
40336
40337   ;
40338   return 0;
40339 }
40340 _ACEOF
40341 rm -f conftest.$ac_objext
40342 if { (ac_try="$ac_compile"
40343 case "(($ac_try" in
40344   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40345   *) ac_try_echo=$ac_try;;
40346 esac
40347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40348   (eval "$ac_compile") 2>conftest.er1
40349   ac_status=$?
40350   grep -v '^ *+' conftest.er1 >conftest.err
40351   rm -f conftest.er1
40352   cat conftest.err >&5
40353   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40354   (exit $ac_status); } && {
40355          test -z "$ac_c_werror_flag" ||
40356          test ! -s conftest.err
40357        } && test -s conftest.$ac_objext; then
40358
40359                     wx_cv_type_pthread_rec_mutex_init=yes
40360
40361 else
40362   echo "$as_me: failed program was:" >&5
40363 sed 's/^/| /' conftest.$ac_ext >&5
40364
40365
40366                     wx_cv_type_pthread_rec_mutex_init=no
40367
40368
40369 fi
40370
40371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40372
40373 fi
40374 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
40375 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
40376         if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
40377           cat >>confdefs.h <<\_ACEOF
40378 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
40379 _ACEOF
40380
40381         else
40382                     { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
40383 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
40384         fi
40385       fi
40386
40387       if test "$wxUSE_COMPILER_TLS" = "auto"; then
40388           if test "$USE_NETBSD" = 1; then
40389               { echo "$as_me:$LINENO: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&5
40390 echo "$as_me: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&2;}
40391               wxUSE_COMPILER_TLS=no
40392           else
40393               wxUSE_COMPILER_TLS=yes
40394           fi
40395       fi
40396
40397       if test "$wxUSE_COMPILER_TLS" = "yes"; then
40398                     { echo "$as_me:$LINENO: checking for __thread keyword" >&5
40399 echo $ECHO_N "checking for __thread keyword... $ECHO_C" >&6; }
40400 if test "${wx_cv_cc___thread+set}" = set; then
40401   echo $ECHO_N "(cached) $ECHO_C" >&6
40402 else
40403
40404                   cat >conftest.$ac_ext <<_ACEOF
40405 /* confdefs.h.  */
40406 _ACEOF
40407 cat confdefs.h >>conftest.$ac_ext
40408 cat >>conftest.$ac_ext <<_ACEOF
40409 /* end confdefs.h.  */
40410 #include <pthread.h>
40411 int
40412 main ()
40413 {
40414
40415                           static __thread int n = 0;
40416                           static __thread int *p = 0;
40417
40418   ;
40419   return 0;
40420 }
40421 _ACEOF
40422 rm -f conftest.$ac_objext
40423 if { (ac_try="$ac_compile"
40424 case "(($ac_try" in
40425   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40426   *) ac_try_echo=$ac_try;;
40427 esac
40428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40429   (eval "$ac_compile") 2>conftest.er1
40430   ac_status=$?
40431   grep -v '^ *+' conftest.er1 >conftest.err
40432   rm -f conftest.er1
40433   cat conftest.err >&5
40434   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40435   (exit $ac_status); } && {
40436          test -z "$ac_c_werror_flag" ||
40437          test ! -s conftest.err
40438        } && test -s conftest.$ac_objext; then
40439   wx_cv_cc___thread=yes
40440 else
40441   echo "$as_me: failed program was:" >&5
40442 sed 's/^/| /' conftest.$ac_ext >&5
40443
40444         wx_cv_cc___thread=no
40445
40446 fi
40447
40448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40449
40450
40451 fi
40452 { echo "$as_me:$LINENO: result: $wx_cv_cc___thread" >&5
40453 echo "${ECHO_T}$wx_cv_cc___thread" >&6; }
40454
40455           if test "$wx_cv_cc___thread" = "yes"; then
40456
40457   GXX_VERSION=""
40458
40459
40460
40461   { echo "$as_me:$LINENO: checking if gcc accepts -dumpversion option" >&5
40462 echo $ECHO_N "checking if gcc accepts -dumpversion option... $ECHO_C" >&6; }
40463
40464   if  test "x$GCC" = "xyes" ; then
40465
40466     if  test -z "" ; then
40467
40468       ax_gcc_option_test="int main()
40469 {
40470         return 0;
40471 }"
40472
40473 else
40474
40475       ax_gcc_option_test=""
40476
40477 fi
40478
40479
40480     # Dump the test program to file
40481     cat <<EOF > conftest.c
40482 $ax_gcc_option_test
40483 EOF
40484
40485     # Dump back the file to the log, useful for debugging purposes
40486     { ac_try='cat conftest.c 1>&5'
40487   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40488   (eval $ac_try) 2>&5
40489   ac_status=$?
40490   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40491   (exit $ac_status); }; }
40492
40493     if  { ac_try='$CC  -dumpversion -c conftest.c 1>&5'
40494   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40495   (eval $ac_try) 2>&5
40496   ac_status=$?
40497   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40498   (exit $ac_status); }; } ; then
40499
40500                 { echo "$as_me:$LINENO: result: yes" >&5
40501 echo "${ECHO_T}yes" >&6; }
40502
40503     ax_gcc_version_option=yes
40504
40505
40506 else
40507
40508                 { echo "$as_me:$LINENO: result: no" >&5
40509 echo "${ECHO_T}no" >&6; }
40510
40511     ax_gcc_version_option=no
40512
40513
40514 fi
40515
40516
40517 else
40518
40519     { echo "$as_me:$LINENO: result: no gcc available" >&5
40520 echo "${ECHO_T}no gcc available" >&6; }
40521
40522 fi
40523
40524
40525   if test "x$GXX" = "xyes"; then
40526
40527     if test "x$ax_gxx_version_option" != "no"; then
40528
40529       { echo "$as_me:$LINENO: checking gxx version" >&5
40530 echo $ECHO_N "checking gxx version... $ECHO_C" >&6; }
40531 if test "${ax_cv_gxx_version+set}" = set; then
40532   echo $ECHO_N "(cached) $ECHO_C" >&6
40533 else
40534
40535         ax_cv_gxx_version="`$CXX -dumpversion`"
40536         if test "x$ax_cv_gxx_version" = "x"; then
40537
40538           ax_cv_gxx_version=""
40539
40540 fi
40541
40542
40543 fi
40544 { echo "$as_me:$LINENO: result: $ax_cv_gxx_version" >&5
40545 echo "${ECHO_T}$ax_cv_gxx_version" >&6; }
40546       GXX_VERSION=$ax_cv_gxx_version
40547
40548 fi
40549
40550
40551 fi
40552
40553
40554
40555               if test -n "$ax_cv_gxx_version"; then
40556                                                                                                                                                                   { echo "$as_me:$LINENO: checking whether __thread support in g++ is usable" >&5
40557 echo $ECHO_N "checking whether __thread support in g++ is usable... $ECHO_C" >&6; }
40558                   case "$ax_cv_gxx_version" in
40559                     1.* | 2.* | 3.* )
40560                         { echo "$as_me:$LINENO: result: no, it's broken" >&5
40561 echo "${ECHO_T}no, it's broken" >&6; }
40562                         wx_cv_cc___thread=no
40563                         ;;
40564                     *)
40565                         { echo "$as_me:$LINENO: result: yes, it works" >&5
40566 echo "${ECHO_T}yes, it works" >&6; }
40567                         ;;
40568                   esac
40569               fi
40570           fi
40571
40572           if test "$wx_cv_cc___thread" = "yes"; then
40573             cat >>confdefs.h <<\_ACEOF
40574 #define HAVE___THREAD_KEYWORD 1
40575 _ACEOF
40576
40577           fi
40578         fi
40579     fi
40580
40581 else
40582     if test "$wxUSE_THREADS" = "yes" ; then
40583       case "${host}" in
40584         x86_64-*-mingw32* )
40585         ;;
40586         *-*-mingw32* )
40587                         { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
40588 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
40589 if test "${wx_cv_cflags_mthread+set}" = set; then
40590   echo $ECHO_N "(cached) $ECHO_C" >&6
40591 else
40592
40593                     CFLAGS_OLD="$CFLAGS"
40594                     CFLAGS="-mthreads $CFLAGS"
40595                     cat >conftest.$ac_ext <<_ACEOF
40596 /* confdefs.h.  */
40597 _ACEOF
40598 cat confdefs.h >>conftest.$ac_ext
40599 cat >>conftest.$ac_ext <<_ACEOF
40600 /* end confdefs.h.  */
40601
40602 int
40603 main ()
40604 {
40605
40606   ;
40607   return 0;
40608 }
40609 _ACEOF
40610 rm -f conftest.$ac_objext
40611 if { (ac_try="$ac_compile"
40612 case "(($ac_try" in
40613   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40614   *) ac_try_echo=$ac_try;;
40615 esac
40616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40617   (eval "$ac_compile") 2>conftest.er1
40618   ac_status=$?
40619   grep -v '^ *+' conftest.er1 >conftest.err
40620   rm -f conftest.er1
40621   cat conftest.err >&5
40622   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40623   (exit $ac_status); } && {
40624          test -z "$ac_c_werror_flag" ||
40625          test ! -s conftest.err
40626        } && test -s conftest.$ac_objext; then
40627   wx_cv_cflags_mthread=yes
40628 else
40629   echo "$as_me: failed program was:" >&5
40630 sed 's/^/| /' conftest.$ac_ext >&5
40631
40632         wx_cv_cflags_mthread=no
40633
40634 fi
40635
40636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40637
40638
40639 fi
40640 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
40641 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
40642
40643             if test "$wx_cv_cflags_mthread" = "yes"; then
40644                                 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
40645                 LDFLAGS="$LDFLAGS -mthreads"
40646             else
40647                                 CFLAGS="$CFLAGS_OLD"
40648             fi
40649         ;;
40650         *-pc-os2*emx )
40651             WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
40652             LDFLAGS="$LDFLAGS -Zmt"
40653         ;;
40654       esac
40655     fi
40656 fi
40657
40658 { echo "$as_me:$LINENO: checking for localtime_r" >&5
40659 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
40660 if test "${ac_cv_func_localtime_r+set}" = set; then
40661   echo $ECHO_N "(cached) $ECHO_C" >&6
40662 else
40663   cat >conftest.$ac_ext <<_ACEOF
40664 /* confdefs.h.  */
40665 _ACEOF
40666 cat confdefs.h >>conftest.$ac_ext
40667 cat >>conftest.$ac_ext <<_ACEOF
40668 /* end confdefs.h.  */
40669 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
40670    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
40671 #define localtime_r innocuous_localtime_r
40672
40673 /* System header to define __stub macros and hopefully few prototypes,
40674     which can conflict with char localtime_r (); below.
40675     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40676     <limits.h> exists even on freestanding compilers.  */
40677
40678 #ifdef __STDC__
40679 # include <limits.h>
40680 #else
40681 # include <assert.h>
40682 #endif
40683
40684 #undef localtime_r
40685
40686 /* Override any GCC internal prototype to avoid an error.
40687    Use char because int might match the return type of a GCC
40688    builtin and then its argument prototype would still apply.  */
40689 #ifdef __cplusplus
40690 extern "C"
40691 #endif
40692 char localtime_r ();
40693 /* The GNU C library defines this for functions which it implements
40694     to always fail with ENOSYS.  Some functions are actually named
40695     something starting with __ and the normal name is an alias.  */
40696 #if defined __stub_localtime_r || defined __stub___localtime_r
40697 choke me
40698 #endif
40699
40700 int
40701 main ()
40702 {
40703 return localtime_r ();
40704   ;
40705   return 0;
40706 }
40707 _ACEOF
40708 rm -f conftest.$ac_objext conftest$ac_exeext
40709 if { (ac_try="$ac_link"
40710 case "(($ac_try" in
40711   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40712   *) ac_try_echo=$ac_try;;
40713 esac
40714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40715   (eval "$ac_link") 2>conftest.er1
40716   ac_status=$?
40717   grep -v '^ *+' conftest.er1 >conftest.err
40718   rm -f conftest.er1
40719   cat conftest.err >&5
40720   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40721   (exit $ac_status); } && {
40722          test -z "$ac_c_werror_flag" ||
40723          test ! -s conftest.err
40724        } && test -s conftest$ac_exeext &&
40725        $as_test_x conftest$ac_exeext; then
40726   ac_cv_func_localtime_r=yes
40727 else
40728   echo "$as_me: failed program was:" >&5
40729 sed 's/^/| /' conftest.$ac_ext >&5
40730
40731         ac_cv_func_localtime_r=no
40732 fi
40733
40734 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40735       conftest$ac_exeext conftest.$ac_ext
40736 fi
40737 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
40738 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
40739 if test $ac_cv_func_localtime_r = yes; then
40740    cat >>confdefs.h <<\_ACEOF
40741 #define HAVE_LOCALTIME_R 1
40742 _ACEOF
40743
40744 fi
40745
40746 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
40747 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
40748 if test "${ac_cv_func_gmtime_r+set}" = set; then
40749   echo $ECHO_N "(cached) $ECHO_C" >&6
40750 else
40751   cat >conftest.$ac_ext <<_ACEOF
40752 /* confdefs.h.  */
40753 _ACEOF
40754 cat confdefs.h >>conftest.$ac_ext
40755 cat >>conftest.$ac_ext <<_ACEOF
40756 /* end confdefs.h.  */
40757 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
40758    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
40759 #define gmtime_r innocuous_gmtime_r
40760
40761 /* System header to define __stub macros and hopefully few prototypes,
40762     which can conflict with char gmtime_r (); below.
40763     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40764     <limits.h> exists even on freestanding compilers.  */
40765
40766 #ifdef __STDC__
40767 # include <limits.h>
40768 #else
40769 # include <assert.h>
40770 #endif
40771
40772 #undef gmtime_r
40773
40774 /* Override any GCC internal prototype to avoid an error.
40775    Use char because int might match the return type of a GCC
40776    builtin and then its argument prototype would still apply.  */
40777 #ifdef __cplusplus
40778 extern "C"
40779 #endif
40780 char gmtime_r ();
40781 /* The GNU C library defines this for functions which it implements
40782     to always fail with ENOSYS.  Some functions are actually named
40783     something starting with __ and the normal name is an alias.  */
40784 #if defined __stub_gmtime_r || defined __stub___gmtime_r
40785 choke me
40786 #endif
40787
40788 int
40789 main ()
40790 {
40791 return gmtime_r ();
40792   ;
40793   return 0;
40794 }
40795 _ACEOF
40796 rm -f conftest.$ac_objext conftest$ac_exeext
40797 if { (ac_try="$ac_link"
40798 case "(($ac_try" in
40799   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40800   *) ac_try_echo=$ac_try;;
40801 esac
40802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40803   (eval "$ac_link") 2>conftest.er1
40804   ac_status=$?
40805   grep -v '^ *+' conftest.er1 >conftest.err
40806   rm -f conftest.er1
40807   cat conftest.err >&5
40808   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40809   (exit $ac_status); } && {
40810          test -z "$ac_c_werror_flag" ||
40811          test ! -s conftest.err
40812        } && test -s conftest$ac_exeext &&
40813        $as_test_x conftest$ac_exeext; then
40814   ac_cv_func_gmtime_r=yes
40815 else
40816   echo "$as_me: failed program was:" >&5
40817 sed 's/^/| /' conftest.$ac_ext >&5
40818
40819         ac_cv_func_gmtime_r=no
40820 fi
40821
40822 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40823       conftest$ac_exeext conftest.$ac_ext
40824 fi
40825 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
40826 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
40827 if test $ac_cv_func_gmtime_r = yes; then
40828    cat >>confdefs.h <<\_ACEOF
40829 #define HAVE_GMTIME_R 1
40830 _ACEOF
40831
40832 fi
40833
40834
40835
40836
40837     ac_ext=c
40838 ac_cpp='$CPP $CPPFLAGS'
40839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40842
40843     { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
40844 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
40845
40846     if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
40847   echo $ECHO_N "(cached) $ECHO_C" >&6
40848 else
40849
40850
40851 ################################################################
40852
40853 ac_cv_func_which_gethostbyname_r=unknown
40854
40855 #
40856 # ONE ARGUMENT (sanity check)
40857 #
40858
40859 # This should fail, as there is no variant of gethostbyname_r() that takes
40860 # a single argument. If it actually compiles, then we can assume that
40861 # netdb.h is not declaring the function, and the compiler is thereby
40862 # assuming an implicit prototype. In which case, we're out of luck.
40863 #
40864 cat >conftest.$ac_ext <<_ACEOF
40865 /* confdefs.h.  */
40866 _ACEOF
40867 cat confdefs.h >>conftest.$ac_ext
40868 cat >>conftest.$ac_ext <<_ACEOF
40869 /* end confdefs.h.  */
40870 #include <netdb.h>
40871 int
40872 main ()
40873 {
40874
40875             char *name = "www.gnu.org";
40876             (void)gethostbyname_r(name) /* ; */
40877
40878   ;
40879   return 0;
40880 }
40881 _ACEOF
40882 rm -f conftest.$ac_objext
40883 if { (ac_try="$ac_compile"
40884 case "(($ac_try" in
40885   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40886   *) ac_try_echo=$ac_try;;
40887 esac
40888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40889   (eval "$ac_compile") 2>conftest.er1
40890   ac_status=$?
40891   grep -v '^ *+' conftest.er1 >conftest.err
40892   rm -f conftest.er1
40893   cat conftest.err >&5
40894   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40895   (exit $ac_status); } && {
40896          test -z "$ac_c_werror_flag" ||
40897          test ! -s conftest.err
40898        } && test -s conftest.$ac_objext; then
40899   ac_cv_func_which_gethostbyname_r=no
40900 else
40901   echo "$as_me: failed program was:" >&5
40902 sed 's/^/| /' conftest.$ac_ext >&5
40903
40904
40905 fi
40906
40907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40908
40909 #
40910 # SIX ARGUMENTS
40911 # (e.g. Linux)
40912 #
40913
40914 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40915
40916 cat >conftest.$ac_ext <<_ACEOF
40917 /* confdefs.h.  */
40918 _ACEOF
40919 cat confdefs.h >>conftest.$ac_ext
40920 cat >>conftest.$ac_ext <<_ACEOF
40921 /* end confdefs.h.  */
40922 #include <netdb.h>
40923 int
40924 main ()
40925 {
40926
40927             char *name = "www.gnu.org";
40928             struct hostent ret, *retp;
40929             char buf[1024];
40930             int buflen = 1024;
40931             int my_h_errno;
40932             (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
40933
40934   ;
40935   return 0;
40936 }
40937 _ACEOF
40938 rm -f conftest.$ac_objext
40939 if { (ac_try="$ac_compile"
40940 case "(($ac_try" in
40941   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40942   *) ac_try_echo=$ac_try;;
40943 esac
40944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40945   (eval "$ac_compile") 2>conftest.er1
40946   ac_status=$?
40947   grep -v '^ *+' conftest.er1 >conftest.err
40948   rm -f conftest.er1
40949   cat conftest.err >&5
40950   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40951   (exit $ac_status); } && {
40952          test -z "$ac_c_werror_flag" ||
40953          test ! -s conftest.err
40954        } && test -s conftest.$ac_objext; then
40955   ac_cv_func_which_gethostbyname_r=six
40956 else
40957   echo "$as_me: failed program was:" >&5
40958 sed 's/^/| /' conftest.$ac_ext >&5
40959
40960
40961 fi
40962
40963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40964
40965 fi
40966
40967 #
40968 # FIVE ARGUMENTS
40969 # (e.g. Solaris)
40970 #
40971
40972 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40973
40974 cat >conftest.$ac_ext <<_ACEOF
40975 /* confdefs.h.  */
40976 _ACEOF
40977 cat confdefs.h >>conftest.$ac_ext
40978 cat >>conftest.$ac_ext <<_ACEOF
40979 /* end confdefs.h.  */
40980 #include <netdb.h>
40981 int
40982 main ()
40983 {
40984
40985             char *name = "www.gnu.org";
40986             struct hostent ret;
40987             char buf[1024];
40988             int buflen = 1024;
40989             int my_h_errno;
40990             (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
40991
40992   ;
40993   return 0;
40994 }
40995 _ACEOF
40996 rm -f conftest.$ac_objext
40997 if { (ac_try="$ac_compile"
40998 case "(($ac_try" in
40999   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41000   *) ac_try_echo=$ac_try;;
41001 esac
41002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41003   (eval "$ac_compile") 2>conftest.er1
41004   ac_status=$?
41005   grep -v '^ *+' conftest.er1 >conftest.err
41006   rm -f conftest.er1
41007   cat conftest.err >&5
41008   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41009   (exit $ac_status); } && {
41010          test -z "$ac_c_werror_flag" ||
41011          test ! -s conftest.err
41012        } && test -s conftest.$ac_objext; then
41013   ac_cv_func_which_gethostbyname_r=five
41014 else
41015   echo "$as_me: failed program was:" >&5
41016 sed 's/^/| /' conftest.$ac_ext >&5
41017
41018
41019 fi
41020
41021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41022
41023 fi
41024
41025 #
41026 # THREE ARGUMENTS
41027 # (e.g. AIX, HP-UX, Tru64)
41028 #
41029
41030 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41031
41032 cat >conftest.$ac_ext <<_ACEOF
41033 /* confdefs.h.  */
41034 _ACEOF
41035 cat confdefs.h >>conftest.$ac_ext
41036 cat >>conftest.$ac_ext <<_ACEOF
41037 /* end confdefs.h.  */
41038 #include <netdb.h>
41039 int
41040 main ()
41041 {
41042
41043             char *name = "www.gnu.org";
41044             struct hostent ret;
41045             struct hostent_data data;
41046             (void)gethostbyname_r(name, &ret, &data) /* ; */
41047
41048   ;
41049   return 0;
41050 }
41051 _ACEOF
41052 rm -f conftest.$ac_objext
41053 if { (ac_try="$ac_compile"
41054 case "(($ac_try" in
41055   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41056   *) ac_try_echo=$ac_try;;
41057 esac
41058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41059   (eval "$ac_compile") 2>conftest.er1
41060   ac_status=$?
41061   grep -v '^ *+' conftest.er1 >conftest.err
41062   rm -f conftest.er1
41063   cat conftest.err >&5
41064   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41065   (exit $ac_status); } && {
41066          test -z "$ac_c_werror_flag" ||
41067          test ! -s conftest.err
41068        } && test -s conftest.$ac_objext; then
41069   ac_cv_func_which_gethostbyname_r=three
41070 else
41071   echo "$as_me: failed program was:" >&5
41072 sed 's/^/| /' conftest.$ac_ext >&5
41073
41074
41075 fi
41076
41077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41078
41079 fi
41080
41081 ################################################################
41082
41083
41084 fi
41085
41086 case "$ac_cv_func_which_gethostbyname_r" in
41087     three)
41088     { echo "$as_me:$LINENO: result: three" >&5
41089 echo "${ECHO_T}three" >&6; }
41090     cat >>confdefs.h <<\_ACEOF
41091 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
41092 _ACEOF
41093
41094     ;;
41095
41096     five)
41097     { echo "$as_me:$LINENO: result: five" >&5
41098 echo "${ECHO_T}five" >&6; }
41099     cat >>confdefs.h <<\_ACEOF
41100 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
41101 _ACEOF
41102
41103     ;;
41104
41105     six)
41106     { echo "$as_me:$LINENO: result: six" >&5
41107 echo "${ECHO_T}six" >&6; }
41108     cat >>confdefs.h <<\_ACEOF
41109 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
41110 _ACEOF
41111
41112     ;;
41113
41114     no)
41115     { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
41116 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
41117     ;;
41118
41119     unknown)
41120     { echo "$as_me:$LINENO: result: can't tell" >&5
41121 echo "${ECHO_T}can't tell" >&6; }
41122     ;;
41123
41124     *)
41125     { { echo "$as_me:$LINENO: error: internal error" >&5
41126 echo "$as_me: error: internal error" >&2;}
41127    { (exit 1); exit 1; }; }
41128     ;;
41129 esac
41130
41131 ac_ext=c
41132 ac_cpp='$CPP $CPPFLAGS'
41133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41136
41137
41138
41139       if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
41140               "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
41141           { echo "$as_me:$LINENO: checking for gethostbyname" >&5
41142 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
41143 if test "${ac_cv_func_gethostbyname+set}" = set; then
41144   echo $ECHO_N "(cached) $ECHO_C" >&6
41145 else
41146   cat >conftest.$ac_ext <<_ACEOF
41147 /* confdefs.h.  */
41148 _ACEOF
41149 cat confdefs.h >>conftest.$ac_ext
41150 cat >>conftest.$ac_ext <<_ACEOF
41151 /* end confdefs.h.  */
41152 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
41153    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
41154 #define gethostbyname innocuous_gethostbyname
41155
41156 /* System header to define __stub macros and hopefully few prototypes,
41157     which can conflict with char gethostbyname (); below.
41158     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41159     <limits.h> exists even on freestanding compilers.  */
41160
41161 #ifdef __STDC__
41162 # include <limits.h>
41163 #else
41164 # include <assert.h>
41165 #endif
41166
41167 #undef gethostbyname
41168
41169 /* Override any GCC internal prototype to avoid an error.
41170    Use char because int might match the return type of a GCC
41171    builtin and then its argument prototype would still apply.  */
41172 #ifdef __cplusplus
41173 extern "C"
41174 #endif
41175 char gethostbyname ();
41176 /* The GNU C library defines this for functions which it implements
41177     to always fail with ENOSYS.  Some functions are actually named
41178     something starting with __ and the normal name is an alias.  */
41179 #if defined __stub_gethostbyname || defined __stub___gethostbyname
41180 choke me
41181 #endif
41182
41183 int
41184 main ()
41185 {
41186 return gethostbyname ();
41187   ;
41188   return 0;
41189 }
41190 _ACEOF
41191 rm -f conftest.$ac_objext conftest$ac_exeext
41192 if { (ac_try="$ac_link"
41193 case "(($ac_try" in
41194   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41195   *) ac_try_echo=$ac_try;;
41196 esac
41197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41198   (eval "$ac_link") 2>conftest.er1
41199   ac_status=$?
41200   grep -v '^ *+' conftest.er1 >conftest.err
41201   rm -f conftest.er1
41202   cat conftest.err >&5
41203   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41204   (exit $ac_status); } && {
41205          test -z "$ac_c_werror_flag" ||
41206          test ! -s conftest.err
41207        } && test -s conftest$ac_exeext &&
41208        $as_test_x conftest$ac_exeext; then
41209   ac_cv_func_gethostbyname=yes
41210 else
41211   echo "$as_me: failed program was:" >&5
41212 sed 's/^/| /' conftest.$ac_ext >&5
41213
41214         ac_cv_func_gethostbyname=no
41215 fi
41216
41217 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41218       conftest$ac_exeext conftest.$ac_ext
41219 fi
41220 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
41221 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
41222 if test $ac_cv_func_gethostbyname = yes; then
41223    cat >>confdefs.h <<\_ACEOF
41224 #define HAVE_GETHOSTBYNAME 1
41225 _ACEOF
41226
41227 fi
41228
41229       fi
41230
41231 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
41232 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
41233 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
41234   echo $ECHO_N "(cached) $ECHO_C" >&6
41235 else
41236
41237                 ac_ext=cpp
41238 ac_cpp='$CXXCPP $CPPFLAGS'
41239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41242
41243
41244         cat >conftest.$ac_ext <<_ACEOF
41245 /* confdefs.h.  */
41246 _ACEOF
41247 cat confdefs.h >>conftest.$ac_ext
41248 cat >>conftest.$ac_ext <<_ACEOF
41249 /* end confdefs.h.  */
41250 #include <netdb.h>
41251 int
41252 main ()
41253 {
41254
41255                 char *name;
41256                 char *proto;
41257                 struct servent *se, *res;
41258                 char buffer[2048];
41259                 int buflen = 2048;
41260                 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
41261
41262   ;
41263   return 0;
41264 }
41265 _ACEOF
41266 rm -f conftest.$ac_objext
41267 if { (ac_try="$ac_compile"
41268 case "(($ac_try" in
41269   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41270   *) ac_try_echo=$ac_try;;
41271 esac
41272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41273   (eval "$ac_compile") 2>conftest.er1
41274   ac_status=$?
41275   grep -v '^ *+' conftest.er1 >conftest.err
41276   rm -f conftest.er1
41277   cat conftest.err >&5
41278   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41279   (exit $ac_status); } && {
41280          test -z "$ac_cxx_werror_flag" ||
41281          test ! -s conftest.err
41282        } && test -s conftest.$ac_objext; then
41283   ac_cv_func_which_getservbyname_r=six
41284 else
41285   echo "$as_me: failed program was:" >&5
41286 sed 's/^/| /' conftest.$ac_ext >&5
41287
41288
41289                 cat >conftest.$ac_ext <<_ACEOF
41290 /* confdefs.h.  */
41291 _ACEOF
41292 cat confdefs.h >>conftest.$ac_ext
41293 cat >>conftest.$ac_ext <<_ACEOF
41294 /* end confdefs.h.  */
41295 #include <netdb.h>
41296 int
41297 main ()
41298 {
41299
41300                         char *name;
41301                         char *proto;
41302                         struct servent *se;
41303                         char buffer[2048];
41304                         int buflen = 2048;
41305                         (void) getservbyname_r(name, proto, se, buffer, buflen)
41306
41307   ;
41308   return 0;
41309 }
41310 _ACEOF
41311 rm -f conftest.$ac_objext
41312 if { (ac_try="$ac_compile"
41313 case "(($ac_try" in
41314   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41315   *) ac_try_echo=$ac_try;;
41316 esac
41317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41318   (eval "$ac_compile") 2>conftest.er1
41319   ac_status=$?
41320   grep -v '^ *+' conftest.er1 >conftest.err
41321   rm -f conftest.er1
41322   cat conftest.err >&5
41323   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41324   (exit $ac_status); } && {
41325          test -z "$ac_cxx_werror_flag" ||
41326          test ! -s conftest.err
41327        } && test -s conftest.$ac_objext; then
41328   ac_cv_func_which_getservbyname_r=five
41329 else
41330   echo "$as_me: failed program was:" >&5
41331 sed 's/^/| /' conftest.$ac_ext >&5
41332
41333
41334                         cat >conftest.$ac_ext <<_ACEOF
41335 /* confdefs.h.  */
41336 _ACEOF
41337 cat confdefs.h >>conftest.$ac_ext
41338 cat >>conftest.$ac_ext <<_ACEOF
41339 /* end confdefs.h.  */
41340 #include <netdb.h>
41341 int
41342 main ()
41343 {
41344
41345                                 char *name;
41346                                 char *proto;
41347                                 struct servent *se;
41348                                 struct servent_data data;
41349                                 (void) getservbyname_r(name, proto, se, &data);
41350
41351   ;
41352   return 0;
41353 }
41354 _ACEOF
41355 rm -f conftest.$ac_objext
41356 if { (ac_try="$ac_compile"
41357 case "(($ac_try" in
41358   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41359   *) ac_try_echo=$ac_try;;
41360 esac
41361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41362   (eval "$ac_compile") 2>conftest.er1
41363   ac_status=$?
41364   grep -v '^ *+' conftest.er1 >conftest.err
41365   rm -f conftest.er1
41366   cat conftest.err >&5
41367   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41368   (exit $ac_status); } && {
41369          test -z "$ac_cxx_werror_flag" ||
41370          test ! -s conftest.err
41371        } && test -s conftest.$ac_objext; then
41372   ac_cv_func_which_getservbyname_r=four
41373 else
41374   echo "$as_me: failed program was:" >&5
41375 sed 's/^/| /' conftest.$ac_ext >&5
41376
41377         ac_cv_func_which_getservbyname_r=no
41378
41379 fi
41380
41381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41382
41383
41384 fi
41385
41386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41387
41388
41389 fi
41390
41391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41392         ac_ext=c
41393 ac_cpp='$CPP $CPPFLAGS'
41394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41397
41398
41399
41400 fi
41401 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
41402 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
41403
41404 if test $ac_cv_func_which_getservbyname_r = six; then
41405   cat >>confdefs.h <<\_ACEOF
41406 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
41407 _ACEOF
41408
41409 elif test $ac_cv_func_which_getservbyname_r = five; then
41410   cat >>confdefs.h <<\_ACEOF
41411 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
41412 _ACEOF
41413
41414 elif test $ac_cv_func_which_getservbyname_r = four; then
41415   cat >>confdefs.h <<\_ACEOF
41416 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
41417 _ACEOF
41418
41419 fi
41420
41421
41422       if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
41423               "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
41424
41425 for ac_func in getservbyname
41426 do
41427 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41428 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41429 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41430 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41431   echo $ECHO_N "(cached) $ECHO_C" >&6
41432 else
41433   cat >conftest.$ac_ext <<_ACEOF
41434 /* confdefs.h.  */
41435 _ACEOF
41436 cat confdefs.h >>conftest.$ac_ext
41437 cat >>conftest.$ac_ext <<_ACEOF
41438 /* end confdefs.h.  */
41439 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41440    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
41441 #define $ac_func innocuous_$ac_func
41442
41443 /* System header to define __stub macros and hopefully few prototypes,
41444     which can conflict with char $ac_func (); below.
41445     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41446     <limits.h> exists even on freestanding compilers.  */
41447
41448 #ifdef __STDC__
41449 # include <limits.h>
41450 #else
41451 # include <assert.h>
41452 #endif
41453
41454 #undef $ac_func
41455
41456 /* Override any GCC internal prototype to avoid an error.
41457    Use char because int might match the return type of a GCC
41458    builtin and then its argument prototype would still apply.  */
41459 #ifdef __cplusplus
41460 extern "C"
41461 #endif
41462 char $ac_func ();
41463 /* The GNU C library defines this for functions which it implements
41464     to always fail with ENOSYS.  Some functions are actually named
41465     something starting with __ and the normal name is an alias.  */
41466 #if defined __stub_$ac_func || defined __stub___$ac_func
41467 choke me
41468 #endif
41469
41470 int
41471 main ()
41472 {
41473 return $ac_func ();
41474   ;
41475   return 0;
41476 }
41477 _ACEOF
41478 rm -f conftest.$ac_objext conftest$ac_exeext
41479 if { (ac_try="$ac_link"
41480 case "(($ac_try" in
41481   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41482   *) ac_try_echo=$ac_try;;
41483 esac
41484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41485   (eval "$ac_link") 2>conftest.er1
41486   ac_status=$?
41487   grep -v '^ *+' conftest.er1 >conftest.err
41488   rm -f conftest.er1
41489   cat conftest.err >&5
41490   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41491   (exit $ac_status); } && {
41492          test -z "$ac_c_werror_flag" ||
41493          test ! -s conftest.err
41494        } && test -s conftest$ac_exeext &&
41495        $as_test_x conftest$ac_exeext; then
41496   eval "$as_ac_var=yes"
41497 else
41498   echo "$as_me: failed program was:" >&5
41499 sed 's/^/| /' conftest.$ac_ext >&5
41500
41501         eval "$as_ac_var=no"
41502 fi
41503
41504 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41505       conftest$ac_exeext conftest.$ac_ext
41506 fi
41507 ac_res=`eval echo '${'$as_ac_var'}'`
41508                { echo "$as_me:$LINENO: result: $ac_res" >&5
41509 echo "${ECHO_T}$ac_res" >&6; }
41510 if test `eval echo '${'$as_ac_var'}'` = yes; then
41511   cat >>confdefs.h <<_ACEOF
41512 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41513 _ACEOF
41514   cat >>confdefs.h <<\_ACEOF
41515 #define HAVE_GETSERVBYNAME 1
41516 _ACEOF
41517
41518 fi
41519 done
41520
41521       fi
41522
41523 if test "$wxUSE_THREADS" = "yes"; then
41524   cat >>confdefs.h <<\_ACEOF
41525 #define wxUSE_THREADS 1
41526 _ACEOF
41527
41528
41529   SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
41530 else
41531       if test "$wx_cv_func_strtok_r" = "yes"; then
41532     { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
41533 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
41534     if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
41535         WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
41536         { echo "$as_me:$LINENO: result: yes" >&5
41537 echo "${ECHO_T}yes" >&6; }
41538     else
41539         { echo "$as_me:$LINENO: result: no" >&5
41540 echo "${ECHO_T}no" >&6; }
41541     fi
41542   fi
41543 fi
41544
41545 if test "$WXGTK2" = 1 ; then
41546   cat >>confdefs.h <<_ACEOF
41547 #define __WXGTK20__ $WXGTK2
41548 _ACEOF
41549
41550   WXGTK12=1
41551 fi
41552
41553 if test "$WXGTK12" = 1 ; then
41554   cat >>confdefs.h <<_ACEOF
41555 #define __WXGTK12__ $WXGTK12
41556 _ACEOF
41557
41558 fi
41559
41560 if test "$WXGTK127" = 1 ; then
41561   cat >>confdefs.h <<_ACEOF
41562 #define __WXGTK127__ $WXGTK127
41563 _ACEOF
41564
41565 fi
41566
41567 if test "$WXGPE" = 1 ; then
41568   cat >>confdefs.h <<_ACEOF
41569 #define __WXGPE__ $WXGPE
41570 _ACEOF
41571
41572 fi
41573
41574 DEBUG_CFLAGS=
41575 if `echo $CXXFLAGS $CFLAGS | grep " -g" >/dev/null`; then
41576                     { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&5
41577 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&2;}
41578 elif test "$wxUSE_DEBUG_INFO" = "yes" ; then
41579     DEBUG_CFLAGS="-g"
41580 fi
41581
41582 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
41583     wxUSE_DEBUG_INFO=yes
41584     if test "$GCC" = yes; then
41585         DEBUG_CFLAGS="-ggdb"
41586     fi
41587 fi
41588
41589 if test "$wxUSE_DEBUG_FLAG" = "no" ; then
41590     if test "$wxUSE_GTK" = 1 ; then
41591         if test "x$wxGTK_VERSION" = "x1" ; then
41592             CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
41593         fi
41594     fi
41595 fi
41596
41597 if test "$wxUSE_MEM_TRACING" = "yes" ; then
41598     cat >>confdefs.h <<\_ACEOF
41599 #define wxUSE_MEMORY_TRACING 1
41600 _ACEOF
41601
41602     cat >>confdefs.h <<\_ACEOF
41603 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
41604 _ACEOF
41605
41606     cat >>confdefs.h <<\_ACEOF
41607 #define wxUSE_DEBUG_NEW_ALWAYS 1
41608 _ACEOF
41609
41610     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
41611 fi
41612
41613 if test "$wxUSE_DMALLOC" = "yes" ; then
41614     DMALLOC_LIBS="-ldmallocthcxx"
41615 fi
41616
41617 PROFILE_FLAGS=
41618 if test "$wxUSE_PROFILE" = "yes" ; then
41619     PROFILE_FLAGS=" -pg"
41620 fi
41621
41622 if test "$GCC" = "yes" ; then
41623     if test "$wxUSE_NO_RTTI" = "yes" ; then
41624         WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
41625     fi
41626     if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
41627         WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
41628     fi
41629     if test "$wxUSE_PERMISSIVE" = "yes" ; then
41630         WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
41631     fi
41632
41633                                                 case "${host}" in
41634       powerpc*-*-aix* )
41635         WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
41636         ;;
41637       *-hppa* )
41638         WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
41639         ;;
41640     esac
41641 fi
41642
41643 OPTIMISE_CFLAGS=
41644 if `echo $CXXFLAGS $CFLAGS | grep " -O" >/dev/null`; then
41645                     { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&5
41646 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&2;}
41647 else
41648     if test "$wxUSE_OPTIMISE" = "no" ; then
41649         if test "$GCC" = yes ; then
41650                                     OPTIMISE_CFLAGS="-O0"
41651         fi
41652     else
41653         if test "$GCC" = yes ; then
41654             case "${host}" in
41655                 *-pc-os2_emx | *-pc-os2-emx )
41656                                                             OPTIMISE_CFLAGS="-O2"
41657                 ;;
41658                 *)
41659                                                                                 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
41660                 ;;
41661             esac
41662         else
41663             OPTIMISE_CFLAGS="-O"
41664         fi
41665     fi
41666 fi
41667
41668
41669 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
41670     cat >>confdefs.h <<\_ACEOF
41671 #define WXWIN_COMPATIBILITY_2_6 1
41672 _ACEOF
41673
41674
41675     WXWIN_COMPATIBILITY_2_8="yes"
41676 fi
41677
41678 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
41679     cat >>confdefs.h <<\_ACEOF
41680 #define WXWIN_COMPATIBILITY_2_8 1
41681 _ACEOF
41682
41683 fi
41684
41685
41686 if test "$wxUSE_GUI" = "yes"; then
41687     cat >>confdefs.h <<\_ACEOF
41688 #define wxUSE_GUI 1
41689 _ACEOF
41690
41691
41692                                             fi
41693
41694
41695 if test "$wxUSE_UNIX" = "yes"; then
41696   cat >>confdefs.h <<\_ACEOF
41697 #define wxUSE_UNIX 1
41698 _ACEOF
41699
41700 fi
41701
41702
41703 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41704
41705     HAVE_DL_FUNCS=0
41706     HAVE_SHL_FUNCS=0
41707     if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41708         if test "$USE_DOS" = 1; then
41709             HAVE_DL_FUNCS=0
41710         else
41711
41712 for ac_func in dlopen
41713 do
41714 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41715 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41716 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41717 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41718   echo $ECHO_N "(cached) $ECHO_C" >&6
41719 else
41720   cat >conftest.$ac_ext <<_ACEOF
41721 /* confdefs.h.  */
41722 _ACEOF
41723 cat confdefs.h >>conftest.$ac_ext
41724 cat >>conftest.$ac_ext <<_ACEOF
41725 /* end confdefs.h.  */
41726 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41727    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
41728 #define $ac_func innocuous_$ac_func
41729
41730 /* System header to define __stub macros and hopefully few prototypes,
41731     which can conflict with char $ac_func (); below.
41732     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41733     <limits.h> exists even on freestanding compilers.  */
41734
41735 #ifdef __STDC__
41736 # include <limits.h>
41737 #else
41738 # include <assert.h>
41739 #endif
41740
41741 #undef $ac_func
41742
41743 /* Override any GCC internal prototype to avoid an error.
41744    Use char because int might match the return type of a GCC
41745    builtin and then its argument prototype would still apply.  */
41746 #ifdef __cplusplus
41747 extern "C"
41748 #endif
41749 char $ac_func ();
41750 /* The GNU C library defines this for functions which it implements
41751     to always fail with ENOSYS.  Some functions are actually named
41752     something starting with __ and the normal name is an alias.  */
41753 #if defined __stub_$ac_func || defined __stub___$ac_func
41754 choke me
41755 #endif
41756
41757 int
41758 main ()
41759 {
41760 return $ac_func ();
41761   ;
41762   return 0;
41763 }
41764 _ACEOF
41765 rm -f conftest.$ac_objext conftest$ac_exeext
41766 if { (ac_try="$ac_link"
41767 case "(($ac_try" in
41768   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41769   *) ac_try_echo=$ac_try;;
41770 esac
41771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41772   (eval "$ac_link") 2>conftest.er1
41773   ac_status=$?
41774   grep -v '^ *+' conftest.er1 >conftest.err
41775   rm -f conftest.er1
41776   cat conftest.err >&5
41777   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41778   (exit $ac_status); } && {
41779          test -z "$ac_c_werror_flag" ||
41780          test ! -s conftest.err
41781        } && test -s conftest$ac_exeext &&
41782        $as_test_x conftest$ac_exeext; then
41783   eval "$as_ac_var=yes"
41784 else
41785   echo "$as_me: failed program was:" >&5
41786 sed 's/^/| /' conftest.$ac_ext >&5
41787
41788         eval "$as_ac_var=no"
41789 fi
41790
41791 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41792       conftest$ac_exeext conftest.$ac_ext
41793 fi
41794 ac_res=`eval echo '${'$as_ac_var'}'`
41795                { echo "$as_me:$LINENO: result: $ac_res" >&5
41796 echo "${ECHO_T}$ac_res" >&6; }
41797 if test `eval echo '${'$as_ac_var'}'` = yes; then
41798   cat >>confdefs.h <<_ACEOF
41799 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41800 _ACEOF
41801
41802                 cat >>confdefs.h <<\_ACEOF
41803 #define HAVE_DLOPEN 1
41804 _ACEOF
41805
41806                 HAVE_DL_FUNCS=1
41807
41808 else
41809
41810                 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
41811 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
41812 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
41813   echo $ECHO_N "(cached) $ECHO_C" >&6
41814 else
41815   ac_check_lib_save_LIBS=$LIBS
41816 LIBS="-ldl  $LIBS"
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
41824 /* Override any GCC internal prototype to avoid an error.
41825    Use char because int might match the return type of a GCC
41826    builtin and then its argument prototype would still apply.  */
41827 #ifdef __cplusplus
41828 extern "C"
41829 #endif
41830 char dlopen ();
41831 int
41832 main ()
41833 {
41834 return dlopen ();
41835   ;
41836   return 0;
41837 }
41838 _ACEOF
41839 rm -f conftest.$ac_objext conftest$ac_exeext
41840 if { (ac_try="$ac_link"
41841 case "(($ac_try" in
41842   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41843   *) ac_try_echo=$ac_try;;
41844 esac
41845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41846   (eval "$ac_link") 2>conftest.er1
41847   ac_status=$?
41848   grep -v '^ *+' conftest.er1 >conftest.err
41849   rm -f conftest.er1
41850   cat conftest.err >&5
41851   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41852   (exit $ac_status); } && {
41853          test -z "$ac_c_werror_flag" ||
41854          test ! -s conftest.err
41855        } && test -s conftest$ac_exeext &&
41856        $as_test_x conftest$ac_exeext; then
41857   ac_cv_lib_dl_dlopen=yes
41858 else
41859   echo "$as_me: failed program was:" >&5
41860 sed 's/^/| /' conftest.$ac_ext >&5
41861
41862         ac_cv_lib_dl_dlopen=no
41863 fi
41864
41865 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41866       conftest$ac_exeext conftest.$ac_ext
41867 LIBS=$ac_check_lib_save_LIBS
41868 fi
41869 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
41870 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
41871 if test $ac_cv_lib_dl_dlopen = yes; then
41872
41873                                 cat >>confdefs.h <<\_ACEOF
41874 #define HAVE_DLOPEN 1
41875 _ACEOF
41876
41877                                 HAVE_DL_FUNCS=1
41878                                 DL_LINK=" -ldl$DL_LINK"
41879
41880 else
41881
41882
41883 for ac_func in shl_load
41884 do
41885 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41886 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41887 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41888 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41889   echo $ECHO_N "(cached) $ECHO_C" >&6
41890 else
41891   cat >conftest.$ac_ext <<_ACEOF
41892 /* confdefs.h.  */
41893 _ACEOF
41894 cat confdefs.h >>conftest.$ac_ext
41895 cat >>conftest.$ac_ext <<_ACEOF
41896 /* end confdefs.h.  */
41897 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41898    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
41899 #define $ac_func innocuous_$ac_func
41900
41901 /* System header to define __stub macros and hopefully few prototypes,
41902     which can conflict with char $ac_func (); below.
41903     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41904     <limits.h> exists even on freestanding compilers.  */
41905
41906 #ifdef __STDC__
41907 # include <limits.h>
41908 #else
41909 # include <assert.h>
41910 #endif
41911
41912 #undef $ac_func
41913
41914 /* Override any GCC internal prototype to avoid an error.
41915    Use char because int might match the return type of a GCC
41916    builtin and then its argument prototype would still apply.  */
41917 #ifdef __cplusplus
41918 extern "C"
41919 #endif
41920 char $ac_func ();
41921 /* The GNU C library defines this for functions which it implements
41922     to always fail with ENOSYS.  Some functions are actually named
41923     something starting with __ and the normal name is an alias.  */
41924 #if defined __stub_$ac_func || defined __stub___$ac_func
41925 choke me
41926 #endif
41927
41928 int
41929 main ()
41930 {
41931 return $ac_func ();
41932   ;
41933   return 0;
41934 }
41935 _ACEOF
41936 rm -f conftest.$ac_objext conftest$ac_exeext
41937 if { (ac_try="$ac_link"
41938 case "(($ac_try" in
41939   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41940   *) ac_try_echo=$ac_try;;
41941 esac
41942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41943   (eval "$ac_link") 2>conftest.er1
41944   ac_status=$?
41945   grep -v '^ *+' conftest.er1 >conftest.err
41946   rm -f conftest.er1
41947   cat conftest.err >&5
41948   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41949   (exit $ac_status); } && {
41950          test -z "$ac_c_werror_flag" ||
41951          test ! -s conftest.err
41952        } && test -s conftest$ac_exeext &&
41953        $as_test_x conftest$ac_exeext; then
41954   eval "$as_ac_var=yes"
41955 else
41956   echo "$as_me: failed program was:" >&5
41957 sed 's/^/| /' conftest.$ac_ext >&5
41958
41959         eval "$as_ac_var=no"
41960 fi
41961
41962 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41963       conftest$ac_exeext conftest.$ac_ext
41964 fi
41965 ac_res=`eval echo '${'$as_ac_var'}'`
41966                { echo "$as_me:$LINENO: result: $ac_res" >&5
41967 echo "${ECHO_T}$ac_res" >&6; }
41968 if test `eval echo '${'$as_ac_var'}'` = yes; then
41969   cat >>confdefs.h <<_ACEOF
41970 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41971 _ACEOF
41972
41973                                                 cat >>confdefs.h <<\_ACEOF
41974 #define HAVE_SHL_LOAD 1
41975 _ACEOF
41976
41977                                                 HAVE_SHL_FUNCS=1
41978
41979 else
41980
41981                                                 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
41982 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
41983 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
41984   echo $ECHO_N "(cached) $ECHO_C" >&6
41985 else
41986   ac_check_lib_save_LIBS=$LIBS
41987 LIBS="-lshl_load  $LIBS"
41988 cat >conftest.$ac_ext <<_ACEOF
41989 /* confdefs.h.  */
41990 _ACEOF
41991 cat confdefs.h >>conftest.$ac_ext
41992 cat >>conftest.$ac_ext <<_ACEOF
41993 /* end confdefs.h.  */
41994
41995 /* Override any GCC internal prototype to avoid an error.
41996    Use char because int might match the return type of a GCC
41997    builtin and then its argument prototype would still apply.  */
41998 #ifdef __cplusplus
41999 extern "C"
42000 #endif
42001 char dld ();
42002 int
42003 main ()
42004 {
42005 return dld ();
42006   ;
42007   return 0;
42008 }
42009 _ACEOF
42010 rm -f conftest.$ac_objext conftest$ac_exeext
42011 if { (ac_try="$ac_link"
42012 case "(($ac_try" in
42013   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42014   *) ac_try_echo=$ac_try;;
42015 esac
42016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42017   (eval "$ac_link") 2>conftest.er1
42018   ac_status=$?
42019   grep -v '^ *+' conftest.er1 >conftest.err
42020   rm -f conftest.er1
42021   cat conftest.err >&5
42022   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42023   (exit $ac_status); } && {
42024          test -z "$ac_c_werror_flag" ||
42025          test ! -s conftest.err
42026        } && test -s conftest$ac_exeext &&
42027        $as_test_x conftest$ac_exeext; then
42028   ac_cv_lib_shl_load_dld=yes
42029 else
42030   echo "$as_me: failed program was:" >&5
42031 sed 's/^/| /' conftest.$ac_ext >&5
42032
42033         ac_cv_lib_shl_load_dld=no
42034 fi
42035
42036 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42037       conftest$ac_exeext conftest.$ac_ext
42038 LIBS=$ac_check_lib_save_LIBS
42039 fi
42040 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
42041 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
42042 if test $ac_cv_lib_shl_load_dld = yes; then
42043
42044                                                                 HAVE_SHL_FUNCS=1
42045                                                                 DL_LINK=" -ldld$DL_LINK"
42046
42047 fi
42048
42049
42050 fi
42051 done
42052
42053
42054 fi
42055
42056
42057 fi
42058 done
42059
42060
42061                         if test "$HAVE_DL_FUNCS" = 1; then
42062
42063 for ac_func in dlerror
42064 do
42065 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42066 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42067 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42068 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42069   echo $ECHO_N "(cached) $ECHO_C" >&6
42070 else
42071   cat >conftest.$ac_ext <<_ACEOF
42072 /* confdefs.h.  */
42073 _ACEOF
42074 cat confdefs.h >>conftest.$ac_ext
42075 cat >>conftest.$ac_ext <<_ACEOF
42076 /* end confdefs.h.  */
42077 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42078    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
42079 #define $ac_func innocuous_$ac_func
42080
42081 /* System header to define __stub macros and hopefully few prototypes,
42082     which can conflict with char $ac_func (); below.
42083     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42084     <limits.h> exists even on freestanding compilers.  */
42085
42086 #ifdef __STDC__
42087 # include <limits.h>
42088 #else
42089 # include <assert.h>
42090 #endif
42091
42092 #undef $ac_func
42093
42094 /* Override any GCC internal prototype to avoid an error.
42095    Use char because int might match the return type of a GCC
42096    builtin and then its argument prototype would still apply.  */
42097 #ifdef __cplusplus
42098 extern "C"
42099 #endif
42100 char $ac_func ();
42101 /* The GNU C library defines this for functions which it implements
42102     to always fail with ENOSYS.  Some functions are actually named
42103     something starting with __ and the normal name is an alias.  */
42104 #if defined __stub_$ac_func || defined __stub___$ac_func
42105 choke me
42106 #endif
42107
42108 int
42109 main ()
42110 {
42111 return $ac_func ();
42112   ;
42113   return 0;
42114 }
42115 _ACEOF
42116 rm -f conftest.$ac_objext conftest$ac_exeext
42117 if { (ac_try="$ac_link"
42118 case "(($ac_try" in
42119   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42120   *) ac_try_echo=$ac_try;;
42121 esac
42122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42123   (eval "$ac_link") 2>conftest.er1
42124   ac_status=$?
42125   grep -v '^ *+' conftest.er1 >conftest.err
42126   rm -f conftest.er1
42127   cat conftest.err >&5
42128   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42129   (exit $ac_status); } && {
42130          test -z "$ac_c_werror_flag" ||
42131          test ! -s conftest.err
42132        } && test -s conftest$ac_exeext &&
42133        $as_test_x conftest$ac_exeext; then
42134   eval "$as_ac_var=yes"
42135 else
42136   echo "$as_me: failed program was:" >&5
42137 sed 's/^/| /' conftest.$ac_ext >&5
42138
42139         eval "$as_ac_var=no"
42140 fi
42141
42142 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42143       conftest$ac_exeext conftest.$ac_ext
42144 fi
42145 ac_res=`eval echo '${'$as_ac_var'}'`
42146                { echo "$as_me:$LINENO: result: $ac_res" >&5
42147 echo "${ECHO_T}$ac_res" >&6; }
42148 if test `eval echo '${'$as_ac_var'}'` = yes; then
42149   cat >>confdefs.h <<_ACEOF
42150 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42151 _ACEOF
42152  cat >>confdefs.h <<\_ACEOF
42153 #define HAVE_DLERROR 1
42154 _ACEOF
42155
42156 else
42157
42158                         { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
42159 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
42160 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
42161   echo $ECHO_N "(cached) $ECHO_C" >&6
42162 else
42163   ac_check_lib_save_LIBS=$LIBS
42164 LIBS="-ldl  $LIBS"
42165 cat >conftest.$ac_ext <<_ACEOF
42166 /* confdefs.h.  */
42167 _ACEOF
42168 cat confdefs.h >>conftest.$ac_ext
42169 cat >>conftest.$ac_ext <<_ACEOF
42170 /* end confdefs.h.  */
42171
42172 /* Override any GCC internal prototype to avoid an error.
42173    Use char because int might match the return type of a GCC
42174    builtin and then its argument prototype would still apply.  */
42175 #ifdef __cplusplus
42176 extern "C"
42177 #endif
42178 char dlerror ();
42179 int
42180 main ()
42181 {
42182 return dlerror ();
42183   ;
42184   return 0;
42185 }
42186 _ACEOF
42187 rm -f conftest.$ac_objext conftest$ac_exeext
42188 if { (ac_try="$ac_link"
42189 case "(($ac_try" in
42190   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42191   *) ac_try_echo=$ac_try;;
42192 esac
42193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42194   (eval "$ac_link") 2>conftest.er1
42195   ac_status=$?
42196   grep -v '^ *+' conftest.er1 >conftest.err
42197   rm -f conftest.er1
42198   cat conftest.err >&5
42199   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42200   (exit $ac_status); } && {
42201          test -z "$ac_c_werror_flag" ||
42202          test ! -s conftest.err
42203        } && test -s conftest$ac_exeext &&
42204        $as_test_x conftest$ac_exeext; then
42205   ac_cv_lib_dl_dlerror=yes
42206 else
42207   echo "$as_me: failed program was:" >&5
42208 sed 's/^/| /' conftest.$ac_ext >&5
42209
42210         ac_cv_lib_dl_dlerror=no
42211 fi
42212
42213 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42214       conftest$ac_exeext conftest.$ac_ext
42215 LIBS=$ac_check_lib_save_LIBS
42216 fi
42217 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
42218 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
42219 if test $ac_cv_lib_dl_dlerror = yes; then
42220   cat >>confdefs.h <<\_ACEOF
42221 #define HAVE_DLERROR 1
42222 _ACEOF
42223
42224 fi
42225
42226
42227
42228 fi
42229 done
42230
42231             fi
42232         fi
42233
42234                 if test "$USE_DARWIN" = 1; then
42235                         HAVE_DL_FUNCS=1
42236         fi
42237
42238         if test "$HAVE_DL_FUNCS" = 0; then
42239             if test "$HAVE_SHL_FUNCS" = 0; then
42240               if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
42241                   { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
42242 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
42243                   wxUSE_DYNAMIC_LOADER=no
42244                   wxUSE_DYNLIB_CLASS=no
42245               else
42246                   { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
42247 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
42248               fi
42249             fi
42250         fi
42251     fi
42252 fi
42253
42254 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
42255     cat >>confdefs.h <<\_ACEOF
42256 #define wxUSE_DYNAMIC_LOADER 1
42257 _ACEOF
42258
42259 fi
42260 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42261     cat >>confdefs.h <<\_ACEOF
42262 #define wxUSE_DYNLIB_CLASS 1
42263 _ACEOF
42264
42265 fi
42266
42267
42268
42269 if test "$wxUSE_PLUGINS" = "yes" ; then
42270     if test "$wxUSE_SHARED" = "no" ; then
42271         { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
42272 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
42273         wxUSE_PLUGINS=no
42274     fi
42275     if test "$wxUSE_MONOLITHIC" = "yes" ; then
42276         { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
42277 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
42278         wxUSE_PLUGINS=no
42279     fi
42280     if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
42281         { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
42282 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
42283         wxUSE_PLUGINS=no
42284     fi
42285     if test "$wxUSE_PLUGINS" = "yes" ; then
42286         cat >>confdefs.h <<\_ACEOF
42287 #define wxUSE_PLUGINS 1
42288 _ACEOF
42289
42290     fi
42291 fi
42292
42293
42294 if test "$wxUSE_STL" = "yes"; then
42295   cat >>confdefs.h <<\_ACEOF
42296 #define wxUSE_STL 1
42297 _ACEOF
42298
42299 fi
42300
42301 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
42302   cat >>confdefs.h <<\_ACEOF
42303 #define wxUSE_EXTENDED_RTTI 1
42304 _ACEOF
42305
42306 fi
42307
42308 if test "$wxUSE_ANY" = "yes"; then
42309     cat >>confdefs.h <<\_ACEOF
42310 #define wxUSE_ANY 1
42311 _ACEOF
42312
42313 fi
42314
42315 if test "$wxUSE_APPLE_IEEE" = "yes"; then
42316   cat >>confdefs.h <<\_ACEOF
42317 #define wxUSE_APPLE_IEEE 1
42318 _ACEOF
42319
42320 fi
42321
42322 if test "$wxUSE_TIMER" = "yes"; then
42323   cat >>confdefs.h <<\_ACEOF
42324 #define wxUSE_TIMER 1
42325 _ACEOF
42326
42327 fi
42328
42329 if test "$USE_UNIX" = 1 ; then
42330         if test "$wxUSE_MGL" != 1; then
42331                                 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
42332 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
42333 if test "${ac_cv_header_sys_soundcard+set}" = set; then
42334   echo $ECHO_N "(cached) $ECHO_C" >&6
42335 else
42336
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
42344                     #include <sys/ioctl.h>
42345                     #include <sys/soundcard.h>
42346
42347 int
42348 main ()
42349 {
42350
42351                     ioctl(0, SNDCTL_DSP_SPEED, 0);
42352
42353   ;
42354   return 0;
42355 }
42356 _ACEOF
42357 rm -f conftest.$ac_objext conftest$ac_exeext
42358 if { (ac_try="$ac_link"
42359 case "(($ac_try" in
42360   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42361   *) ac_try_echo=$ac_try;;
42362 esac
42363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42364   (eval "$ac_link") 2>conftest.er1
42365   ac_status=$?
42366   grep -v '^ *+' conftest.er1 >conftest.err
42367   rm -f conftest.er1
42368   cat conftest.err >&5
42369   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42370   (exit $ac_status); } && {
42371          test -z "$ac_c_werror_flag" ||
42372          test ! -s conftest.err
42373        } && test -s conftest$ac_exeext &&
42374        $as_test_x conftest$ac_exeext; then
42375   ac_cv_header_sys_soundcard=yes
42376 else
42377   echo "$as_me: failed program was:" >&5
42378 sed 's/^/| /' conftest.$ac_ext >&5
42379
42380
42381                     saveLibs="$LIBS"
42382                     LIBS="$saveLibs -lossaudio"
42383                     cat >conftest.$ac_ext <<_ACEOF
42384 /* confdefs.h.  */
42385 _ACEOF
42386 cat confdefs.h >>conftest.$ac_ext
42387 cat >>conftest.$ac_ext <<_ACEOF
42388 /* end confdefs.h.  */
42389
42390                             #include <sys/ioctl.h>
42391                             #include <sys/soundcard.h>
42392
42393 int
42394 main ()
42395 {
42396
42397                             ioctl(0, SNDCTL_DSP_SPEED, 0);
42398
42399   ;
42400   return 0;
42401 }
42402 _ACEOF
42403 rm -f conftest.$ac_objext conftest$ac_exeext
42404 if { (ac_try="$ac_link"
42405 case "(($ac_try" in
42406   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42407   *) ac_try_echo=$ac_try;;
42408 esac
42409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42410   (eval "$ac_link") 2>conftest.er1
42411   ac_status=$?
42412   grep -v '^ *+' conftest.er1 >conftest.err
42413   rm -f conftest.er1
42414   cat conftest.err >&5
42415   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42416   (exit $ac_status); } && {
42417          test -z "$ac_c_werror_flag" ||
42418          test ! -s conftest.err
42419        } && test -s conftest$ac_exeext &&
42420        $as_test_x conftest$ac_exeext; then
42421   ac_cv_header_sys_soundcard=yes
42422 else
42423   echo "$as_me: failed program was:" >&5
42424 sed 's/^/| /' conftest.$ac_ext >&5
42425
42426
42427                             LIBS="$saveLibs"
42428                             ac_cv_header_sys_soundcard=no
42429
42430
42431 fi
42432
42433 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42434       conftest$ac_exeext conftest.$ac_ext
42435
42436
42437 fi
42438
42439 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42440       conftest$ac_exeext conftest.$ac_ext
42441
42442 fi
42443 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
42444 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
42445     fi
42446
42447     if test "$ac_cv_header_sys_soundcard" = "yes"; then
42448         cat >>confdefs.h <<\_ACEOF
42449 #define HAVE_SYS_SOUNDCARD_H 1
42450 _ACEOF
42451
42452     fi
42453 fi
42454
42455 WITH_PLUGIN_SDL=0
42456 if test "$wxUSE_SOUND" = "yes"; then
42457   if test "$USE_UNIX" = 1 ; then
42458     if test "$wxUSE_LIBSDL" != "no"; then
42459
42460 # Check whether --with-sdl-prefix was given.
42461 if test "${with_sdl_prefix+set}" = set; then
42462   withval=$with_sdl_prefix; sdl_prefix="$withval"
42463 else
42464   sdl_prefix=""
42465 fi
42466
42467
42468 # Check whether --with-sdl-exec-prefix was given.
42469 if test "${with_sdl_exec_prefix+set}" = set; then
42470   withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
42471 else
42472   sdl_exec_prefix=""
42473 fi
42474
42475 # Check whether --enable-sdltest was given.
42476 if test "${enable_sdltest+set}" = set; then
42477   enableval=$enable_sdltest;
42478 else
42479   enable_sdltest=yes
42480 fi
42481
42482
42483   if test x$sdl_exec_prefix != x ; then
42484     sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
42485     if test x${SDL_CONFIG+set} != xset ; then
42486       SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
42487     fi
42488   fi
42489   if test x$sdl_prefix != x ; then
42490     sdl_args="$sdl_args --prefix=$sdl_prefix"
42491     if test x${SDL_CONFIG+set} != xset ; then
42492       SDL_CONFIG=$sdl_prefix/bin/sdl-config
42493     fi
42494   fi
42495
42496   if test "x$prefix" != xNONE; then
42497     PATH="$prefix/bin:$prefix/usr/bin:$PATH"
42498   fi
42499   # Extract the first word of "sdl-config", so it can be a program name with args.
42500 set dummy sdl-config; ac_word=$2
42501 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42502 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42503 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
42504   echo $ECHO_N "(cached) $ECHO_C" >&6
42505 else
42506   case $SDL_CONFIG in
42507   [\\/]* | ?:[\\/]*)
42508   ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
42509   ;;
42510   *)
42511   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42512 for as_dir in $PATH
42513 do
42514   IFS=$as_save_IFS
42515   test -z "$as_dir" && as_dir=.
42516   for ac_exec_ext in '' $ac_executable_extensions; do
42517   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42518     ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42519     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42520     break 2
42521   fi
42522 done
42523 done
42524 IFS=$as_save_IFS
42525
42526   test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
42527   ;;
42528 esac
42529 fi
42530 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
42531 if test -n "$SDL_CONFIG"; then
42532   { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
42533 echo "${ECHO_T}$SDL_CONFIG" >&6; }
42534 else
42535   { echo "$as_me:$LINENO: result: no" >&5
42536 echo "${ECHO_T}no" >&6; }
42537 fi
42538
42539
42540   min_sdl_version=1.2.0
42541   { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
42542 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
42543   no_sdl=""
42544   if test "$SDL_CONFIG" = "no" ; then
42545     no_sdl=yes
42546   else
42547     SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
42548     SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
42549
42550     sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
42551            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
42552     sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
42553            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
42554     sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
42555            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
42556     if test "x$enable_sdltest" = "xyes" ; then
42557       ac_save_CFLAGS="$CFLAGS"
42558       ac_save_CXXFLAGS="$CXXFLAGS"
42559       ac_save_LIBS="$LIBS"
42560       CFLAGS="$CFLAGS $SDL_CFLAGS"
42561       CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42562       LIBS="$LIBS $SDL_LIBS"
42563       rm -f conf.sdltest
42564       if test "$cross_compiling" = yes; then
42565   echo $ac_n "cross compiling; assumed OK... $ac_c"
42566 else
42567   cat >conftest.$ac_ext <<_ACEOF
42568 /* confdefs.h.  */
42569 _ACEOF
42570 cat confdefs.h >>conftest.$ac_ext
42571 cat >>conftest.$ac_ext <<_ACEOF
42572 /* end confdefs.h.  */
42573
42574 #include <stdio.h>
42575 #include <stdlib.h>
42576 #include <string.h>
42577 #include "SDL.h"
42578
42579 char*
42580 my_strdup (char *str)
42581 {
42582   char *new_str;
42583
42584   if (str)
42585     {
42586       new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
42587       strcpy (new_str, str);
42588     }
42589   else
42590     new_str = NULL;
42591
42592   return new_str;
42593 }
42594
42595 int main (int argc, char *argv[])
42596 {
42597   int major, minor, micro;
42598   char *tmp_version;
42599
42600   /* This hangs on some systems (?)
42601   system ("touch conf.sdltest");
42602   */
42603   { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
42604
42605   /* HP/UX 9 (%@#!) writes to sscanf strings */
42606   tmp_version = my_strdup("$min_sdl_version");
42607   if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
42608      printf("%s, bad version string\n", "$min_sdl_version");
42609      exit(1);
42610    }
42611
42612    if (($sdl_major_version > major) ||
42613       (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
42614       (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
42615     {
42616       return 0;
42617     }
42618   else
42619     {
42620       printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
42621       printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
42622       printf("*** best to upgrade to the required version.\n");
42623       printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
42624       printf("*** to point to the correct copy of sdl-config, and remove the file\n");
42625       printf("*** config.cache before re-running configure\n");
42626       return 1;
42627     }
42628 }
42629
42630
42631 _ACEOF
42632 rm -f conftest$ac_exeext
42633 if { (ac_try="$ac_link"
42634 case "(($ac_try" in
42635   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42636   *) ac_try_echo=$ac_try;;
42637 esac
42638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42639   (eval "$ac_link") 2>&5
42640   ac_status=$?
42641   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42642   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
42643   { (case "(($ac_try" in
42644   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42645   *) ac_try_echo=$ac_try;;
42646 esac
42647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42648   (eval "$ac_try") 2>&5
42649   ac_status=$?
42650   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42651   (exit $ac_status); }; }; then
42652   :
42653 else
42654   echo "$as_me: program exited with status $ac_status" >&5
42655 echo "$as_me: failed program was:" >&5
42656 sed 's/^/| /' conftest.$ac_ext >&5
42657
42658 ( exit $ac_status )
42659 no_sdl=yes
42660 fi
42661 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
42662 fi
42663
42664
42665        CFLAGS="$ac_save_CFLAGS"
42666        CXXFLAGS="$ac_save_CXXFLAGS"
42667        LIBS="$ac_save_LIBS"
42668      fi
42669   fi
42670   if test "x$no_sdl" = x ; then
42671      { echo "$as_me:$LINENO: result: yes" >&5
42672 echo "${ECHO_T}yes" >&6; }
42673
42674                     EXTRALIBS_SDL="$SDL_LIBS"
42675                     CFLAGS="$SDL_CFLAGS $CFLAGS"
42676                     CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
42677                     cat >>confdefs.h <<\_ACEOF
42678 #define wxUSE_LIBSDL 1
42679 _ACEOF
42680
42681
42682   else
42683      { echo "$as_me:$LINENO: result: no" >&5
42684 echo "${ECHO_T}no" >&6; }
42685      if test "$SDL_CONFIG" = "no" ; then
42686        echo "*** The sdl-config script installed by SDL could not be found"
42687        echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
42688        echo "*** your path, or set the SDL_CONFIG environment variable to the"
42689        echo "*** full path to sdl-config."
42690      else
42691        if test -f conf.sdltest ; then
42692         :
42693        else
42694           echo "*** Could not run SDL test program, checking why..."
42695           CFLAGS="$CFLAGS $SDL_CFLAGS"
42696           CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42697           LIBS="$LIBS $SDL_LIBS"
42698           cat >conftest.$ac_ext <<_ACEOF
42699 /* confdefs.h.  */
42700 _ACEOF
42701 cat confdefs.h >>conftest.$ac_ext
42702 cat >>conftest.$ac_ext <<_ACEOF
42703 /* end confdefs.h.  */
42704
42705 #include <stdio.h>
42706 #include "SDL.h"
42707
42708 int main(int argc, char *argv[])
42709 { return 0; }
42710 #undef  main
42711 #define main K_and_R_C_main
42712
42713 int
42714 main ()
42715 {
42716  return 0;
42717   ;
42718   return 0;
42719 }
42720 _ACEOF
42721 rm -f conftest.$ac_objext conftest$ac_exeext
42722 if { (ac_try="$ac_link"
42723 case "(($ac_try" in
42724   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42725   *) ac_try_echo=$ac_try;;
42726 esac
42727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42728   (eval "$ac_link") 2>conftest.er1
42729   ac_status=$?
42730   grep -v '^ *+' conftest.er1 >conftest.err
42731   rm -f conftest.er1
42732   cat conftest.err >&5
42733   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42734   (exit $ac_status); } && {
42735          test -z "$ac_c_werror_flag" ||
42736          test ! -s conftest.err
42737        } && test -s conftest$ac_exeext &&
42738        $as_test_x conftest$ac_exeext; then
42739    echo "*** The test program compiled, but did not run. This usually means"
42740           echo "*** that the run-time linker is not finding SDL or finding the wrong"
42741           echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
42742           echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
42743           echo "*** to the installed location  Also, make sure you have run ldconfig if that"
42744           echo "*** is required on your system"
42745           echo "***"
42746           echo "*** If you have an old version installed, it is best to remove it, although"
42747           echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
42748 else
42749   echo "$as_me: failed program was:" >&5
42750 sed 's/^/| /' conftest.$ac_ext >&5
42751
42752          echo "*** The test program failed to compile or link. See the file config.log for the"
42753           echo "*** exact error that occured. This usually means SDL was incorrectly installed"
42754           echo "*** or that you have moved SDL since it was installed. In the latter case, you"
42755           echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
42756 fi
42757
42758 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42759       conftest$ac_exeext conftest.$ac_ext
42760           CFLAGS="$ac_save_CFLAGS"
42761           CXXFLAGS="$ac_save_CXXFLAGS"
42762           LIBS="$ac_save_LIBS"
42763        fi
42764      fi
42765      SDL_CFLAGS=""
42766      SDL_LIBS=""
42767      wxUSE_LIBSDL="no"
42768   fi
42769
42770
42771   rm -f conf.sdltest
42772
42773       if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
42774         WITH_PLUGIN_SDL=1
42775       fi
42776     fi
42777   else
42778         if test "$wxUSE_MGL" = 1; then
42779         { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
42780 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
42781         wxUSE_SOUND="no"
42782     fi
42783   fi
42784 fi
42785
42786 if test "$wxUSE_SOUND" = "yes"; then
42787   cat >>confdefs.h <<\_ACEOF
42788 #define wxUSE_SOUND 1
42789 _ACEOF
42790
42791   SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
42792 fi
42793
42794 if test "$WXGTK2" = 1; then
42795
42796
42797 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
42798         if test -n "$ac_tool_prefix"; then
42799   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
42800 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
42801 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42802 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42803 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
42804   echo $ECHO_N "(cached) $ECHO_C" >&6
42805 else
42806   case $PKG_CONFIG in
42807   [\\/]* | ?:[\\/]*)
42808   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
42809   ;;
42810   *)
42811   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42812 for as_dir in $PATH
42813 do
42814   IFS=$as_save_IFS
42815   test -z "$as_dir" && as_dir=.
42816   for ac_exec_ext in '' $ac_executable_extensions; do
42817   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42818     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42819     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42820     break 2
42821   fi
42822 done
42823 done
42824 IFS=$as_save_IFS
42825
42826   ;;
42827 esac
42828 fi
42829 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
42830 if test -n "$PKG_CONFIG"; then
42831   { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
42832 echo "${ECHO_T}$PKG_CONFIG" >&6; }
42833 else
42834   { echo "$as_me:$LINENO: result: no" >&5
42835 echo "${ECHO_T}no" >&6; }
42836 fi
42837
42838
42839 fi
42840 if test -z "$ac_cv_path_PKG_CONFIG"; then
42841   ac_pt_PKG_CONFIG=$PKG_CONFIG
42842   # Extract the first word of "pkg-config", so it can be a program name with args.
42843 set dummy pkg-config; ac_word=$2
42844 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42845 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42846 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
42847   echo $ECHO_N "(cached) $ECHO_C" >&6
42848 else
42849   case $ac_pt_PKG_CONFIG in
42850   [\\/]* | ?:[\\/]*)
42851   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
42852   ;;
42853   *)
42854   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42855 for as_dir in $PATH
42856 do
42857   IFS=$as_save_IFS
42858   test -z "$as_dir" && as_dir=.
42859   for ac_exec_ext in '' $ac_executable_extensions; do
42860   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42861     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42862     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42863     break 2
42864   fi
42865 done
42866 done
42867 IFS=$as_save_IFS
42868
42869   ;;
42870 esac
42871 fi
42872 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
42873 if test -n "$ac_pt_PKG_CONFIG"; then
42874   { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
42875 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
42876 else
42877   { echo "$as_me:$LINENO: result: no" >&5
42878 echo "${ECHO_T}no" >&6; }
42879 fi
42880
42881   if test "x$ac_pt_PKG_CONFIG" = x; then
42882     PKG_CONFIG=""
42883   else
42884     case $cross_compiling:$ac_tool_warned in
42885 yes:)
42886 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
42887 whose name does not start with the host triplet.  If you think this
42888 configuration is useful to you, please write to autoconf@gnu.org." >&5
42889 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
42890 whose name does not start with the host triplet.  If you think this
42891 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
42892 ac_tool_warned=yes ;;
42893 esac
42894     PKG_CONFIG=$ac_pt_PKG_CONFIG
42895   fi
42896 else
42897   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
42898 fi
42899
42900 fi
42901 if test -n "$PKG_CONFIG"; then
42902         _pkg_min_version=0.9.0
42903         { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
42904 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
42905         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
42906                 { echo "$as_me:$LINENO: result: yes" >&5
42907 echo "${ECHO_T}yes" >&6; }
42908         else
42909                 { echo "$as_me:$LINENO: result: no" >&5
42910 echo "${ECHO_T}no" >&6; }
42911                 PKG_CONFIG=""
42912         fi
42913
42914 fi
42915
42916     if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
42917
42918         if test "$wxUSE_GTKPRINT" = "yes" ; then
42919
42920
42921 pkg_failed=no
42922 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
42923 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
42924
42925 if test -n "$PKG_CONFIG"; then
42926     if test -n "$GTKPRINT_CFLAGS"; then
42927         pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
42928     else
42929         if test -n "$PKG_CONFIG" && \
42930     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42931   ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42932   ac_status=$?
42933   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42934   (exit $ac_status); }; then
42935   pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
42936 else
42937   pkg_failed=yes
42938 fi
42939     fi
42940 else
42941         pkg_failed=untried
42942 fi
42943 if test -n "$PKG_CONFIG"; then
42944     if test -n "$GTKPRINT_LIBS"; then
42945         pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
42946     else
42947         if test -n "$PKG_CONFIG" && \
42948     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42949   ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42950   ac_status=$?
42951   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42952   (exit $ac_status); }; then
42953   pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
42954 else
42955   pkg_failed=yes
42956 fi
42957     fi
42958 else
42959         pkg_failed=untried
42960 fi
42961
42962
42963
42964 if test $pkg_failed = yes; then
42965
42966 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42967         _pkg_short_errors_supported=yes
42968 else
42969         _pkg_short_errors_supported=no
42970 fi
42971         if test $_pkg_short_errors_supported = yes; then
42972                 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42973         else
42974                 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42975         fi
42976         # Put the nasty error message in config.log where it belongs
42977         echo "$GTKPRINT_PKG_ERRORS" >&5
42978
42979
42980                         { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42981 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42982                         wxUSE_GTKPRINT="no"
42983
42984
42985 elif test $pkg_failed = untried; then
42986
42987                         { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42988 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42989                         wxUSE_GTKPRINT="no"
42990
42991
42992 else
42993         GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
42994         GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
42995         { echo "$as_me:$LINENO: result: yes" >&5
42996 echo "${ECHO_T}yes" >&6; }
42997
42998                         CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
42999                         CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
43000                         cat >>confdefs.h <<\_ACEOF
43001 #define wxUSE_GTKPRINT 1
43002 _ACEOF
43003
43004
43005 fi
43006         fi
43007
43008         if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
43009
43010
43011 pkg_failed=no
43012 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
43013 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
43014
43015 if test -n "$PKG_CONFIG"; then
43016     if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
43017         pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
43018     else
43019         if test -n "$PKG_CONFIG" && \
43020     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
43021   ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
43022   ac_status=$?
43023   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43024   (exit $ac_status); }; then
43025   pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
43026 else
43027   pkg_failed=yes
43028 fi
43029     fi
43030 else
43031         pkg_failed=untried
43032 fi
43033 if test -n "$PKG_CONFIG"; then
43034     if test -n "$LIBGNOMEPRINTUI_LIBS"; then
43035         pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
43036     else
43037         if test -n "$PKG_CONFIG" && \
43038     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
43039   ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
43040   ac_status=$?
43041   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43042   (exit $ac_status); }; then
43043   pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
43044 else
43045   pkg_failed=yes
43046 fi
43047     fi
43048 else
43049         pkg_failed=untried
43050 fi
43051
43052
43053
43054 if test $pkg_failed = yes; then
43055
43056 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43057         _pkg_short_errors_supported=yes
43058 else
43059         _pkg_short_errors_supported=no
43060 fi
43061         if test $_pkg_short_errors_supported = yes; then
43062                 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
43063         else
43064                 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
43065         fi
43066         # Put the nasty error message in config.log where it belongs
43067         echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
43068
43069
43070                         { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
43071 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
43072                         wxUSE_LIBGNOMEPRINT="no"
43073
43074
43075 elif test $pkg_failed = untried; then
43076
43077                         { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
43078 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
43079                         wxUSE_LIBGNOMEPRINT="no"
43080
43081
43082 else
43083         LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
43084         LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
43085         { echo "$as_me:$LINENO: result: yes" >&5
43086 echo "${ECHO_T}yes" >&6; }
43087
43088                         CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
43089                         CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
43090                         cat >>confdefs.h <<\_ACEOF
43091 #define wxUSE_LIBGNOMEPRINT 1
43092 _ACEOF
43093
43094
43095 fi
43096         fi
43097     fi
43098
43099     if test "$wxUSE_MIMETYPE" = "yes" ; then
43100         if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
43101
43102
43103 pkg_failed=no
43104 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
43105 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
43106
43107 if test -n "$PKG_CONFIG"; then
43108     if test -n "$GNOMEVFS_CFLAGS"; then
43109         pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
43110     else
43111         if test -n "$PKG_CONFIG" && \
43112     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
43113   ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
43114   ac_status=$?
43115   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43116   (exit $ac_status); }; then
43117   pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
43118 else
43119   pkg_failed=yes
43120 fi
43121     fi
43122 else
43123         pkg_failed=untried
43124 fi
43125 if test -n "$PKG_CONFIG"; then
43126     if test -n "$GNOMEVFS_LIBS"; then
43127         pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
43128     else
43129         if test -n "$PKG_CONFIG" && \
43130     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
43131   ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
43132   ac_status=$?
43133   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43134   (exit $ac_status); }; then
43135   pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
43136 else
43137   pkg_failed=yes
43138 fi
43139     fi
43140 else
43141         pkg_failed=untried
43142 fi
43143
43144
43145
43146 if test $pkg_failed = yes; then
43147
43148 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43149         _pkg_short_errors_supported=yes
43150 else
43151         _pkg_short_errors_supported=no
43152 fi
43153         if test $_pkg_short_errors_supported = yes; then
43154                 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
43155         else
43156                 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
43157         fi
43158         # Put the nasty error message in config.log where it belongs
43159         echo "$GNOMEVFS_PKG_ERRORS" >&5
43160
43161
43162                         { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
43163 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
43164                         wxUSE_LIBGNOMEVFS="no"
43165
43166
43167 elif test $pkg_failed = untried; then
43168
43169                         { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
43170 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
43171                         wxUSE_LIBGNOMEVFS="no"
43172
43173
43174 else
43175         GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
43176         GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
43177         { echo "$as_me:$LINENO: result: yes" >&5
43178 echo "${ECHO_T}yes" >&6; }
43179
43180                         CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
43181                         CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
43182                         cat >>confdefs.h <<\_ACEOF
43183 #define wxUSE_LIBGNOMEVFS 1
43184 _ACEOF
43185
43186
43187 fi
43188         fi
43189     fi
43190
43191     if test "$wxUSE_LIBHILDON" = "yes" ; then
43192
43193 pkg_failed=no
43194 { echo "$as_me:$LINENO: checking for HILDON" >&5
43195 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
43196
43197 if test -n "$PKG_CONFIG"; then
43198     if test -n "$HILDON_CFLAGS"; then
43199         pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
43200     else
43201         if test -n "$PKG_CONFIG" && \
43202     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43203   ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43204   ac_status=$?
43205   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43206   (exit $ac_status); }; then
43207   pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
43208 else
43209   pkg_failed=yes
43210 fi
43211     fi
43212 else
43213         pkg_failed=untried
43214 fi
43215 if test -n "$PKG_CONFIG"; then
43216     if test -n "$HILDON_LIBS"; then
43217         pkg_cv_HILDON_LIBS="$HILDON_LIBS"
43218     else
43219         if test -n "$PKG_CONFIG" && \
43220     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43221   ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43222   ac_status=$?
43223   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43224   (exit $ac_status); }; then
43225   pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
43226 else
43227   pkg_failed=yes
43228 fi
43229     fi
43230 else
43231         pkg_failed=untried
43232 fi
43233
43234
43235
43236 if test $pkg_failed = yes; then
43237
43238 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43239         _pkg_short_errors_supported=yes
43240 else
43241         _pkg_short_errors_supported=no
43242 fi
43243         if test $_pkg_short_errors_supported = yes; then
43244                 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43245         else
43246                 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43247         fi
43248         # Put the nasty error message in config.log where it belongs
43249         echo "$HILDON_PKG_ERRORS" >&5
43250
43251
43252                 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43253 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43254                         wxUSE_LIBHILDON="no"
43255
43256
43257 elif test $pkg_failed = untried; then
43258
43259                 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43260 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43261                         wxUSE_LIBHILDON="no"
43262
43263
43264 else
43265         HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
43266         HILDON_LIBS=$pkg_cv_HILDON_LIBS
43267         { echo "$as_me:$LINENO: result: yes" >&5
43268 echo "${ECHO_T}yes" >&6; }
43269
43270                 EXTRALIBS_HILDON="$HILDON_LIBS"
43271                 CFLAGS="$CFLAGS $HILDON_CFLAGS"
43272                 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
43273                 cat >>confdefs.h <<\_ACEOF
43274 #define wxUSE_LIBHILDON 1
43275 _ACEOF
43276
43277
43278 fi
43279     fi
43280 fi
43281
43282 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
43283   cat >>confdefs.h <<\_ACEOF
43284 #define wxUSE_CMDLINE_PARSER 1
43285 _ACEOF
43286
43287 fi
43288
43289 if test "$wxUSE_STOPWATCH" = "yes"; then
43290   cat >>confdefs.h <<\_ACEOF
43291 #define wxUSE_STOPWATCH 1
43292 _ACEOF
43293
43294 fi
43295
43296 if test "$wxUSE_DATETIME" = "yes"; then
43297   cat >>confdefs.h <<\_ACEOF
43298 #define wxUSE_DATETIME 1
43299 _ACEOF
43300
43301 fi
43302
43303 if test "$wxUSE_FILE" = "yes"; then
43304   cat >>confdefs.h <<\_ACEOF
43305 #define wxUSE_FILE 1
43306 _ACEOF
43307
43308 fi
43309
43310 if test "$wxUSE_FFILE" = "yes"; then
43311   cat >>confdefs.h <<\_ACEOF
43312 #define wxUSE_FFILE 1
43313 _ACEOF
43314
43315 fi
43316
43317 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
43318   if test "$wxUSE_STREAMS" != yes; then
43319     { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
43320 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
43321     wxUSE_ARCHIVE_STREAMS=no
43322   else
43323     cat >>confdefs.h <<\_ACEOF
43324 #define wxUSE_ARCHIVE_STREAMS 1
43325 _ACEOF
43326
43327   fi
43328 fi
43329
43330 if test "$wxUSE_ZIPSTREAM" = "yes"; then
43331   if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43332     { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
43333 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
43334   elif test "$wxUSE_ZLIB" = "no"; then
43335     { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
43336 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
43337   else
43338     cat >>confdefs.h <<\_ACEOF
43339 #define wxUSE_ZIPSTREAM 1
43340 _ACEOF
43341
43342   fi
43343 fi
43344
43345 if test "$wxUSE_TARSTREAM" = "yes"; then
43346   if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43347     { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
43348 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
43349   else
43350     cat >>confdefs.h <<\_ACEOF
43351 #define wxUSE_TARSTREAM 1
43352 _ACEOF
43353
43354   fi
43355 fi
43356
43357 if test "$wxUSE_FILESYSTEM" = "yes"; then
43358   if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
43359     { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
43360 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
43361     wxUSE_FILESYSTEM=no
43362   else
43363     cat >>confdefs.h <<\_ACEOF
43364 #define wxUSE_FILESYSTEM 1
43365 _ACEOF
43366
43367   fi
43368 fi
43369
43370 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
43371   if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
43372     { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
43373 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
43374   else
43375     cat >>confdefs.h <<\_ACEOF
43376 #define wxUSE_FS_ARCHIVE 1
43377 _ACEOF
43378
43379   fi
43380 fi
43381
43382 if test "$wxUSE_FS_ZIP" = "yes"; then
43383   if test "$wxUSE_FS_ARCHIVE" != yes; then
43384     { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
43385 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
43386   else
43387     cat >>confdefs.h <<\_ACEOF
43388 #define wxUSE_FS_ZIP 1
43389 _ACEOF
43390
43391   fi
43392 fi
43393
43394 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43395   if test "$USE_UNIX" != 1; then
43396     { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
43397 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
43398     wxUSE_ON_FATAL_EXCEPTION=no
43399   else
43400     cat >>confdefs.h <<\_ACEOF
43401 #define wxUSE_ON_FATAL_EXCEPTION 1
43402 _ACEOF
43403
43404   fi
43405 fi
43406
43407 if test "$wxUSE_STACKWALKER" = "yes"; then
43408     cat >>confdefs.h <<\_ACEOF
43409 #define wxUSE_STACKWALKER 1
43410 _ACEOF
43411
43412 fi
43413
43414 if test "$wxUSE_DEBUGREPORT" = "yes"; then
43415     if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
43416         { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
43417 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
43418         wxUSE_DEBUGREPORT=no
43419     else
43420         cat >>confdefs.h <<\_ACEOF
43421 #define wxUSE_DEBUGREPORT 1
43422 _ACEOF
43423
43424         if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43425             SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
43426         fi
43427     fi
43428 fi
43429
43430 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
43431   cat >>confdefs.h <<\_ACEOF
43432 #define wxUSE_SNGLINST_CHECKER 1
43433 _ACEOF
43434
43435 fi
43436
43437 if test "$wxUSE_BUSYINFO" = "yes"; then
43438   cat >>confdefs.h <<\_ACEOF
43439 #define wxUSE_BUSYINFO 1
43440 _ACEOF
43441
43442 fi
43443
43444 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
43445   cat >>confdefs.h <<\_ACEOF
43446 #define wxUSE_STD_IOSTREAM 1
43447 _ACEOF
43448
43449 fi
43450
43451 if test "$wxUSE_STD_STRING" = "yes"; then
43452   cat >>confdefs.h <<\_ACEOF
43453 #define wxUSE_STD_STRING 1
43454 _ACEOF
43455
43456 fi
43457
43458 if test "$wxUSE_STDPATHS" = "yes"; then
43459   cat >>confdefs.h <<\_ACEOF
43460 #define wxUSE_STDPATHS 1
43461 _ACEOF
43462
43463 fi
43464
43465 if test "$wxUSE_TEXTBUFFER" = "yes"; then
43466     cat >>confdefs.h <<\_ACEOF
43467 #define wxUSE_TEXTBUFFER 1
43468 _ACEOF
43469
43470 fi
43471
43472 if test "$wxUSE_TEXTFILE" = "yes"; then
43473   if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
43474     { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
43475 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
43476   else
43477     cat >>confdefs.h <<\_ACEOF
43478 #define wxUSE_TEXTFILE 1
43479 _ACEOF
43480
43481   fi
43482 fi
43483
43484 if test "$wxUSE_CONFIG" = "yes" ; then
43485   if test "$wxUSE_TEXTFILE" != "yes"; then
43486     { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
43487 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
43488   else
43489     cat >>confdefs.h <<\_ACEOF
43490 #define wxUSE_CONFIG 1
43491 _ACEOF
43492
43493     cat >>confdefs.h <<\_ACEOF
43494 #define wxUSE_CONFIG_NATIVE 1
43495 _ACEOF
43496
43497     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
43498   fi
43499 fi
43500
43501 if test "$wxUSE_INTL" = "yes" ; then
43502   if test "$wxUSE_FILE" != "yes"; then
43503     { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
43504 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
43505   else
43506     cat >>confdefs.h <<\_ACEOF
43507 #define wxUSE_INTL 1
43508 _ACEOF
43509
43510     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
43511     GUIDIST="$GUIDIST INTL_DIST"
43512   fi
43513 fi
43514
43515 if test "$wxUSE_XLOCALE" = "yes" ; then
43516     cat >>confdefs.h <<\_ACEOF
43517 #define wxUSE_XLOCALE 1
43518 _ACEOF
43519
43520     { echo "$as_me:$LINENO: checking for locale_t" >&5
43521 echo $ECHO_N "checking for locale_t... $ECHO_C" >&6; }
43522 if test "${ac_cv_type_locale_t+set}" = set; then
43523   echo $ECHO_N "(cached) $ECHO_C" >&6
43524 else
43525   cat >conftest.$ac_ext <<_ACEOF
43526 /* confdefs.h.  */
43527 _ACEOF
43528 cat confdefs.h >>conftest.$ac_ext
43529 cat >>conftest.$ac_ext <<_ACEOF
43530 /* end confdefs.h.  */
43531 #include <xlocale.h>
43532                     #include <locale.h>
43533
43534 typedef locale_t ac__type_new_;
43535 int
43536 main ()
43537 {
43538 if ((ac__type_new_ *) 0)
43539   return 0;
43540 if (sizeof (ac__type_new_))
43541   return 0;
43542   ;
43543   return 0;
43544 }
43545 _ACEOF
43546 rm -f conftest.$ac_objext
43547 if { (ac_try="$ac_compile"
43548 case "(($ac_try" in
43549   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43550   *) ac_try_echo=$ac_try;;
43551 esac
43552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43553   (eval "$ac_compile") 2>conftest.er1
43554   ac_status=$?
43555   grep -v '^ *+' conftest.er1 >conftest.err
43556   rm -f conftest.er1
43557   cat conftest.err >&5
43558   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43559   (exit $ac_status); } && {
43560          test -z "$ac_c_werror_flag" ||
43561          test ! -s conftest.err
43562        } && test -s conftest.$ac_objext; then
43563   ac_cv_type_locale_t=yes
43564 else
43565   echo "$as_me: failed program was:" >&5
43566 sed 's/^/| /' conftest.$ac_ext >&5
43567
43568         ac_cv_type_locale_t=no
43569 fi
43570
43571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43572 fi
43573 { echo "$as_me:$LINENO: result: $ac_cv_type_locale_t" >&5
43574 echo "${ECHO_T}$ac_cv_type_locale_t" >&6; }
43575 if test $ac_cv_type_locale_t = yes; then
43576
43577 cat >>confdefs.h <<_ACEOF
43578 #define HAVE_LOCALE_T 1
43579 _ACEOF
43580
43581
43582 fi
43583
43584 fi
43585
43586 if test "$wxUSE_LOG" = "yes"; then
43587   cat >>confdefs.h <<\_ACEOF
43588 #define wxUSE_LOG 1
43589 _ACEOF
43590
43591
43592     if test "$wxUSE_LOGGUI" = "yes"; then
43593       cat >>confdefs.h <<\_ACEOF
43594 #define wxUSE_LOGGUI 1
43595 _ACEOF
43596
43597     fi
43598
43599     if test "$wxUSE_LOGWINDOW" = "yes"; then
43600       cat >>confdefs.h <<\_ACEOF
43601 #define wxUSE_LOGWINDOW 1
43602 _ACEOF
43603
43604     fi
43605
43606     if test "$wxUSE_LOGDIALOG" = "yes"; then
43607       cat >>confdefs.h <<\_ACEOF
43608 #define wxUSE_LOG_DIALOG 1
43609 _ACEOF
43610
43611     fi
43612
43613         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
43614 fi
43615
43616 if test "$wxUSE_LONGLONG" = "yes"; then
43617   cat >>confdefs.h <<\_ACEOF
43618 #define wxUSE_LONGLONG 1
43619 _ACEOF
43620
43621 fi
43622
43623 if test "$wxUSE_GEOMETRY" = "yes"; then
43624   cat >>confdefs.h <<\_ACEOF
43625 #define wxUSE_GEOMETRY 1
43626 _ACEOF
43627
43628 fi
43629
43630 if test "$wxUSE_BASE64" = "yes"; then
43631   cat >>confdefs.h <<\_ACEOF
43632 #define wxUSE_BASE64 1
43633 _ACEOF
43634
43635 fi
43636
43637 if test "$wxUSE_STREAMS" = "yes" ; then
43638   cat >>confdefs.h <<\_ACEOF
43639 #define wxUSE_STREAMS 1
43640 _ACEOF
43641
43642 fi
43643
43644 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
43645   cat >>confdefs.h <<\_ACEOF
43646 #define wxUSE_PRINTF_POS_PARAMS 1
43647 _ACEOF
43648
43649 fi
43650
43651 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
43652   cat >>confdefs.h <<\_ACEOF
43653 #define wxUSE_OBJC_UNIQUIFYING 1
43654 _ACEOF
43655
43656 fi
43657
43658
43659 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
43660     cat >>confdefs.h <<\_ACEOF
43661 #define wxUSE_CONSOLE_EVENTLOOP 1
43662 _ACEOF
43663
43664
43665     if test "$wxUSE_UNIX" = "yes"; then
43666         if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
43667             cat >>confdefs.h <<\_ACEOF
43668 #define wxUSE_SELECT_DISPATCHER 1
43669 _ACEOF
43670
43671         fi
43672
43673         if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
43674
43675 for ac_header in sys/epoll.h
43676 do
43677 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43678 { echo "$as_me:$LINENO: checking for $ac_header" >&5
43679 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
43680 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43681   echo $ECHO_N "(cached) $ECHO_C" >&6
43682 else
43683   cat >conftest.$ac_ext <<_ACEOF
43684 /* confdefs.h.  */
43685 _ACEOF
43686 cat confdefs.h >>conftest.$ac_ext
43687 cat >>conftest.$ac_ext <<_ACEOF
43688 /* end confdefs.h.  */
43689 $ac_includes_default
43690
43691 #include <$ac_header>
43692 _ACEOF
43693 rm -f conftest.$ac_objext
43694 if { (ac_try="$ac_compile"
43695 case "(($ac_try" in
43696   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43697   *) ac_try_echo=$ac_try;;
43698 esac
43699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43700   (eval "$ac_compile") 2>conftest.er1
43701   ac_status=$?
43702   grep -v '^ *+' conftest.er1 >conftest.err
43703   rm -f conftest.er1
43704   cat conftest.err >&5
43705   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43706   (exit $ac_status); } && {
43707          test -z "$ac_c_werror_flag" ||
43708          test ! -s conftest.err
43709        } && test -s conftest.$ac_objext; then
43710   eval "$as_ac_Header=yes"
43711 else
43712   echo "$as_me: failed program was:" >&5
43713 sed 's/^/| /' conftest.$ac_ext >&5
43714
43715         eval "$as_ac_Header=no"
43716 fi
43717
43718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43719 fi
43720 ac_res=`eval echo '${'$as_ac_Header'}'`
43721                { echo "$as_me:$LINENO: result: $ac_res" >&5
43722 echo "${ECHO_T}$ac_res" >&6; }
43723 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43724   cat >>confdefs.h <<_ACEOF
43725 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43726 _ACEOF
43727
43728 fi
43729
43730 done
43731
43732             if test "$ac_cv_header_sys_epoll_h" = "yes"; then
43733                 cat >>confdefs.h <<\_ACEOF
43734 #define wxUSE_EPOLL_DISPATCHER 1
43735 _ACEOF
43736
43737             else
43738                 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
43739 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
43740             fi
43741         fi
43742     fi
43743 fi
43744
43745
43746
43747
43748 for ac_func in gettimeofday ftime
43749 do
43750 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43751 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43752 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43753 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43754   echo $ECHO_N "(cached) $ECHO_C" >&6
43755 else
43756   cat >conftest.$ac_ext <<_ACEOF
43757 /* confdefs.h.  */
43758 _ACEOF
43759 cat confdefs.h >>conftest.$ac_ext
43760 cat >>conftest.$ac_ext <<_ACEOF
43761 /* end confdefs.h.  */
43762 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43763    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
43764 #define $ac_func innocuous_$ac_func
43765
43766 /* System header to define __stub macros and hopefully few prototypes,
43767     which can conflict with char $ac_func (); below.
43768     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43769     <limits.h> exists even on freestanding compilers.  */
43770
43771 #ifdef __STDC__
43772 # include <limits.h>
43773 #else
43774 # include <assert.h>
43775 #endif
43776
43777 #undef $ac_func
43778
43779 /* Override any GCC internal prototype to avoid an error.
43780    Use char because int might match the return type of a GCC
43781    builtin and then its argument prototype would still apply.  */
43782 #ifdef __cplusplus
43783 extern "C"
43784 #endif
43785 char $ac_func ();
43786 /* The GNU C library defines this for functions which it implements
43787     to always fail with ENOSYS.  Some functions are actually named
43788     something starting with __ and the normal name is an alias.  */
43789 #if defined __stub_$ac_func || defined __stub___$ac_func
43790 choke me
43791 #endif
43792
43793 int
43794 main ()
43795 {
43796 return $ac_func ();
43797   ;
43798   return 0;
43799 }
43800 _ACEOF
43801 rm -f conftest.$ac_objext conftest$ac_exeext
43802 if { (ac_try="$ac_link"
43803 case "(($ac_try" in
43804   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43805   *) ac_try_echo=$ac_try;;
43806 esac
43807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43808   (eval "$ac_link") 2>conftest.er1
43809   ac_status=$?
43810   grep -v '^ *+' conftest.er1 >conftest.err
43811   rm -f conftest.er1
43812   cat conftest.err >&5
43813   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43814   (exit $ac_status); } && {
43815          test -z "$ac_c_werror_flag" ||
43816          test ! -s conftest.err
43817        } && test -s conftest$ac_exeext &&
43818        $as_test_x conftest$ac_exeext; then
43819   eval "$as_ac_var=yes"
43820 else
43821   echo "$as_me: failed program was:" >&5
43822 sed 's/^/| /' conftest.$ac_ext >&5
43823
43824         eval "$as_ac_var=no"
43825 fi
43826
43827 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43828       conftest$ac_exeext conftest.$ac_ext
43829 fi
43830 ac_res=`eval echo '${'$as_ac_var'}'`
43831                { echo "$as_me:$LINENO: result: $ac_res" >&5
43832 echo "${ECHO_T}$ac_res" >&6; }
43833 if test `eval echo '${'$as_ac_var'}'` = yes; then
43834   cat >>confdefs.h <<_ACEOF
43835 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43836 _ACEOF
43837  break
43838 fi
43839 done
43840
43841
43842 if test "$ac_cv_func_gettimeofday" = "yes"; then
43843     { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
43844 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
43845 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
43846   echo $ECHO_N "(cached) $ECHO_C" >&6
43847 else
43848
43849                 cat >conftest.$ac_ext <<_ACEOF
43850 /* confdefs.h.  */
43851 _ACEOF
43852 cat confdefs.h >>conftest.$ac_ext
43853 cat >>conftest.$ac_ext <<_ACEOF
43854 /* end confdefs.h.  */
43855
43856                 #include <sys/time.h>
43857                 #include <unistd.h>
43858
43859 int
43860 main ()
43861 {
43862
43863                 struct timeval tv;
43864                 gettimeofday(&tv, NULL);
43865
43866   ;
43867   return 0;
43868 }
43869 _ACEOF
43870 rm -f conftest.$ac_objext
43871 if { (ac_try="$ac_compile"
43872 case "(($ac_try" in
43873   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43874   *) ac_try_echo=$ac_try;;
43875 esac
43876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43877   (eval "$ac_compile") 2>conftest.er1
43878   ac_status=$?
43879   grep -v '^ *+' conftest.er1 >conftest.err
43880   rm -f conftest.er1
43881   cat conftest.err >&5
43882   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43883   (exit $ac_status); } && {
43884          test -z "$ac_c_werror_flag" ||
43885          test ! -s conftest.err
43886        } && test -s conftest.$ac_objext; then
43887   wx_cv_func_gettimeofday_has_2_args=yes
43888 else
43889   echo "$as_me: failed program was:" >&5
43890 sed 's/^/| /' conftest.$ac_ext >&5
43891
43892         cat >conftest.$ac_ext <<_ACEOF
43893 /* confdefs.h.  */
43894 _ACEOF
43895 cat confdefs.h >>conftest.$ac_ext
43896 cat >>conftest.$ac_ext <<_ACEOF
43897 /* end confdefs.h.  */
43898
43899                     #include <sys/time.h>
43900                     #include <unistd.h>
43901
43902 int
43903 main ()
43904 {
43905
43906                     struct timeval tv;
43907                     gettimeofday(&tv);
43908
43909   ;
43910   return 0;
43911 }
43912 _ACEOF
43913 rm -f conftest.$ac_objext
43914 if { (ac_try="$ac_compile"
43915 case "(($ac_try" in
43916   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43917   *) ac_try_echo=$ac_try;;
43918 esac
43919 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43920   (eval "$ac_compile") 2>conftest.er1
43921   ac_status=$?
43922   grep -v '^ *+' conftest.er1 >conftest.err
43923   rm -f conftest.er1
43924   cat conftest.err >&5
43925   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43926   (exit $ac_status); } && {
43927          test -z "$ac_c_werror_flag" ||
43928          test ! -s conftest.err
43929        } && test -s conftest.$ac_objext; then
43930   wx_cv_func_gettimeofday_has_2_args=no
43931 else
43932   echo "$as_me: failed program was:" >&5
43933 sed 's/^/| /' conftest.$ac_ext >&5
43934
43935
43936                     { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
43937 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
43938                     wx_cv_func_gettimeofday_has_2_args=unknown
43939
43940
43941 fi
43942
43943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43944
43945 fi
43946
43947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43948
43949 fi
43950 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
43951 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
43952
43953     if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
43954         cat >>confdefs.h <<\_ACEOF
43955 #define WX_GETTIMEOFDAY_NO_TZ 1
43956 _ACEOF
43957
43958     fi
43959 fi
43960
43961 if test "$wxUSE_DATETIME" = "yes"; then
43962             { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
43963 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
43964 if test "${wx_cv_var_timezone+set}" = set; then
43965   echo $ECHO_N "(cached) $ECHO_C" >&6
43966 else
43967
43968                         ac_ext=cpp
43969 ac_cpp='$CXXCPP $CPPFLAGS'
43970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43973
43974                         cat >conftest.$ac_ext <<_ACEOF
43975 /* confdefs.h.  */
43976 _ACEOF
43977 cat confdefs.h >>conftest.$ac_ext
43978 cat >>conftest.$ac_ext <<_ACEOF
43979 /* end confdefs.h.  */
43980
43981                                 #include <time.h>
43982
43983 int
43984 main ()
43985 {
43986
43987                                 int tz;
43988                                 tz = timezone;
43989
43990   ;
43991   return 0;
43992 }
43993 _ACEOF
43994 rm -f conftest.$ac_objext
43995 if { (ac_try="$ac_compile"
43996 case "(($ac_try" in
43997   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43998   *) ac_try_echo=$ac_try;;
43999 esac
44000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44001   (eval "$ac_compile") 2>conftest.er1
44002   ac_status=$?
44003   grep -v '^ *+' conftest.er1 >conftest.err
44004   rm -f conftest.er1
44005   cat conftest.err >&5
44006   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44007   (exit $ac_status); } && {
44008          test -z "$ac_cxx_werror_flag" ||
44009          test ! -s conftest.err
44010        } && test -s conftest.$ac_objext; then
44011
44012                                 wx_cv_var_timezone=timezone
44013
44014 else
44015   echo "$as_me: failed program was:" >&5
44016 sed 's/^/| /' conftest.$ac_ext >&5
44017
44018
44019                                 cat >conftest.$ac_ext <<_ACEOF
44020 /* confdefs.h.  */
44021 _ACEOF
44022 cat confdefs.h >>conftest.$ac_ext
44023 cat >>conftest.$ac_ext <<_ACEOF
44024 /* end confdefs.h.  */
44025
44026                                         #include <time.h>
44027
44028 int
44029 main ()
44030 {
44031
44032                                         int tz;
44033                                         tz = _timezone;
44034
44035   ;
44036   return 0;
44037 }
44038 _ACEOF
44039 rm -f conftest.$ac_objext
44040 if { (ac_try="$ac_compile"
44041 case "(($ac_try" in
44042   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44043   *) ac_try_echo=$ac_try;;
44044 esac
44045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44046   (eval "$ac_compile") 2>conftest.er1
44047   ac_status=$?
44048   grep -v '^ *+' conftest.er1 >conftest.err
44049   rm -f conftest.er1
44050   cat conftest.err >&5
44051   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44052   (exit $ac_status); } && {
44053          test -z "$ac_cxx_werror_flag" ||
44054          test ! -s conftest.err
44055        } && test -s conftest.$ac_objext; then
44056
44057                                         wx_cv_var_timezone=_timezone
44058
44059 else
44060   echo "$as_me: failed program was:" >&5
44061 sed 's/^/| /' conftest.$ac_ext >&5
44062
44063
44064                                         cat >conftest.$ac_ext <<_ACEOF
44065 /* confdefs.h.  */
44066 _ACEOF
44067 cat confdefs.h >>conftest.$ac_ext
44068 cat >>conftest.$ac_ext <<_ACEOF
44069 /* end confdefs.h.  */
44070
44071                                                 #include <time.h>
44072
44073 int
44074 main ()
44075 {
44076
44077                                                 int tz;
44078                                                 tz = __timezone;
44079
44080   ;
44081   return 0;
44082 }
44083 _ACEOF
44084 rm -f conftest.$ac_objext
44085 if { (ac_try="$ac_compile"
44086 case "(($ac_try" in
44087   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44088   *) ac_try_echo=$ac_try;;
44089 esac
44090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44091   (eval "$ac_compile") 2>conftest.er1
44092   ac_status=$?
44093   grep -v '^ *+' conftest.er1 >conftest.err
44094   rm -f conftest.er1
44095   cat conftest.err >&5
44096   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44097   (exit $ac_status); } && {
44098          test -z "$ac_cxx_werror_flag" ||
44099          test ! -s conftest.err
44100        } && test -s conftest.$ac_objext; then
44101
44102                                                 wx_cv_var_timezone=__timezone
44103
44104 else
44105   echo "$as_me: failed program was:" >&5
44106 sed 's/^/| /' conftest.$ac_ext >&5
44107
44108
44109                                                 if test "$USE_DOS" = 0 ; then
44110                                                     { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
44111 echo "$as_me: WARNING: no timezone variable" >&2;}
44112                                                 fi
44113
44114
44115 fi
44116
44117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44118
44119
44120 fi
44121
44122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44123
44124
44125 fi
44126
44127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44128                         ac_ext=c
44129 ac_cpp='$CPP $CPPFLAGS'
44130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44133
44134
44135
44136 fi
44137 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
44138 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
44139
44140         if test "x$wx_cv_var_timezone" != x ; then
44141         cat >>confdefs.h <<_ACEOF
44142 #define WX_TIMEZONE $wx_cv_var_timezone
44143 _ACEOF
44144
44145     fi
44146
44147
44148 for ac_func in localtime
44149 do
44150 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44151 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44152 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44153 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44154   echo $ECHO_N "(cached) $ECHO_C" >&6
44155 else
44156   cat >conftest.$ac_ext <<_ACEOF
44157 /* confdefs.h.  */
44158 _ACEOF
44159 cat confdefs.h >>conftest.$ac_ext
44160 cat >>conftest.$ac_ext <<_ACEOF
44161 /* end confdefs.h.  */
44162 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44163    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
44164 #define $ac_func innocuous_$ac_func
44165
44166 /* System header to define __stub macros and hopefully few prototypes,
44167     which can conflict with char $ac_func (); below.
44168     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44169     <limits.h> exists even on freestanding compilers.  */
44170
44171 #ifdef __STDC__
44172 # include <limits.h>
44173 #else
44174 # include <assert.h>
44175 #endif
44176
44177 #undef $ac_func
44178
44179 /* Override any GCC internal prototype to avoid an error.
44180    Use char because int might match the return type of a GCC
44181    builtin and then its argument prototype would still apply.  */
44182 #ifdef __cplusplus
44183 extern "C"
44184 #endif
44185 char $ac_func ();
44186 /* The GNU C library defines this for functions which it implements
44187     to always fail with ENOSYS.  Some functions are actually named
44188     something starting with __ and the normal name is an alias.  */
44189 #if defined __stub_$ac_func || defined __stub___$ac_func
44190 choke me
44191 #endif
44192
44193 int
44194 main ()
44195 {
44196 return $ac_func ();
44197   ;
44198   return 0;
44199 }
44200 _ACEOF
44201 rm -f conftest.$ac_objext conftest$ac_exeext
44202 if { (ac_try="$ac_link"
44203 case "(($ac_try" in
44204   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44205   *) ac_try_echo=$ac_try;;
44206 esac
44207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44208   (eval "$ac_link") 2>conftest.er1
44209   ac_status=$?
44210   grep -v '^ *+' conftest.er1 >conftest.err
44211   rm -f conftest.er1
44212   cat conftest.err >&5
44213   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44214   (exit $ac_status); } && {
44215          test -z "$ac_c_werror_flag" ||
44216          test ! -s conftest.err
44217        } && test -s conftest$ac_exeext &&
44218        $as_test_x conftest$ac_exeext; then
44219   eval "$as_ac_var=yes"
44220 else
44221   echo "$as_me: failed program was:" >&5
44222 sed 's/^/| /' conftest.$ac_ext >&5
44223
44224         eval "$as_ac_var=no"
44225 fi
44226
44227 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44228       conftest$ac_exeext conftest.$ac_ext
44229 fi
44230 ac_res=`eval echo '${'$as_ac_var'}'`
44231                { echo "$as_me:$LINENO: result: $ac_res" >&5
44232 echo "${ECHO_T}$ac_res" >&6; }
44233 if test `eval echo '${'$as_ac_var'}'` = yes; then
44234   cat >>confdefs.h <<_ACEOF
44235 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44236 _ACEOF
44237
44238 fi
44239 done
44240
44241
44242     if test "$ac_cv_func_localtime" = "yes"; then
44243         { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
44244 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
44245 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
44246   echo $ECHO_N "(cached) $ECHO_C" >&6
44247 else
44248
44249             cat >conftest.$ac_ext <<_ACEOF
44250 /* confdefs.h.  */
44251 _ACEOF
44252 cat confdefs.h >>conftest.$ac_ext
44253 cat >>conftest.$ac_ext <<_ACEOF
44254 /* end confdefs.h.  */
44255
44256                     #include <time.h>
44257
44258 int
44259 main ()
44260 {
44261
44262                     struct tm tm;
44263                     tm.tm_gmtoff++;
44264
44265   ;
44266   return 0;
44267 }
44268 _ACEOF
44269 rm -f conftest.$ac_objext
44270 if { (ac_try="$ac_compile"
44271 case "(($ac_try" in
44272   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44273   *) ac_try_echo=$ac_try;;
44274 esac
44275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44276   (eval "$ac_compile") 2>conftest.er1
44277   ac_status=$?
44278   grep -v '^ *+' conftest.er1 >conftest.err
44279   rm -f conftest.er1
44280   cat conftest.err >&5
44281   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44282   (exit $ac_status); } && {
44283          test -z "$ac_c_werror_flag" ||
44284          test ! -s conftest.err
44285        } && test -s conftest.$ac_objext; then
44286
44287                     wx_cv_struct_tm_has_gmtoff=yes
44288
44289 else
44290   echo "$as_me: failed program was:" >&5
44291 sed 's/^/| /' conftest.$ac_ext >&5
44292
44293         wx_cv_struct_tm_has_gmtoff=no
44294
44295 fi
44296
44297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44298
44299 fi
44300 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
44301 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
44302     fi
44303
44304     if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
44305         cat >>confdefs.h <<\_ACEOF
44306 #define WX_GMTOFF_IN_TM 1
44307 _ACEOF
44308
44309     fi
44310
44311     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
44312 fi
44313
44314
44315 if test "$wxUSE_SOCKETS" = "yes"; then
44316     if test "$wxUSE_MGL" = 1; then
44317         { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
44318 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
44319         wxUSE_SOCKETS="no"
44320     fi
44321 fi
44322
44323 if test "$wxUSE_SOCKETS" = "yes"; then
44324         if test "$TOOLKIT" != "MSW"; then
44325                 { echo "$as_me:$LINENO: checking for socket" >&5
44326 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
44327 if test "${ac_cv_func_socket+set}" = set; then
44328   echo $ECHO_N "(cached) $ECHO_C" >&6
44329 else
44330   cat >conftest.$ac_ext <<_ACEOF
44331 /* confdefs.h.  */
44332 _ACEOF
44333 cat confdefs.h >>conftest.$ac_ext
44334 cat >>conftest.$ac_ext <<_ACEOF
44335 /* end confdefs.h.  */
44336 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
44337    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
44338 #define socket innocuous_socket
44339
44340 /* System header to define __stub macros and hopefully few prototypes,
44341     which can conflict with char socket (); below.
44342     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44343     <limits.h> exists even on freestanding compilers.  */
44344
44345 #ifdef __STDC__
44346 # include <limits.h>
44347 #else
44348 # include <assert.h>
44349 #endif
44350
44351 #undef socket
44352
44353 /* Override any GCC internal prototype to avoid an error.
44354    Use char because int might match the return type of a GCC
44355    builtin and then its argument prototype would still apply.  */
44356 #ifdef __cplusplus
44357 extern "C"
44358 #endif
44359 char socket ();
44360 /* The GNU C library defines this for functions which it implements
44361     to always fail with ENOSYS.  Some functions are actually named
44362     something starting with __ and the normal name is an alias.  */
44363 #if defined __stub_socket || defined __stub___socket
44364 choke me
44365 #endif
44366
44367 int
44368 main ()
44369 {
44370 return socket ();
44371   ;
44372   return 0;
44373 }
44374 _ACEOF
44375 rm -f conftest.$ac_objext conftest$ac_exeext
44376 if { (ac_try="$ac_link"
44377 case "(($ac_try" in
44378   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44379   *) ac_try_echo=$ac_try;;
44380 esac
44381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44382   (eval "$ac_link") 2>conftest.er1
44383   ac_status=$?
44384   grep -v '^ *+' conftest.er1 >conftest.err
44385   rm -f conftest.er1
44386   cat conftest.err >&5
44387   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44388   (exit $ac_status); } && {
44389          test -z "$ac_c_werror_flag" ||
44390          test ! -s conftest.err
44391        } && test -s conftest$ac_exeext &&
44392        $as_test_x conftest$ac_exeext; then
44393   ac_cv_func_socket=yes
44394 else
44395   echo "$as_me: failed program was:" >&5
44396 sed 's/^/| /' conftest.$ac_ext >&5
44397
44398         ac_cv_func_socket=no
44399 fi
44400
44401 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44402       conftest$ac_exeext conftest.$ac_ext
44403 fi
44404 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
44405 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
44406 if test $ac_cv_func_socket = yes; then
44407   :
44408 else
44409
44410                 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
44411 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
44412 if test "${ac_cv_lib_socket_socket+set}" = set; then
44413   echo $ECHO_N "(cached) $ECHO_C" >&6
44414 else
44415   ac_check_lib_save_LIBS=$LIBS
44416 LIBS="-lsocket  $LIBS"
44417 cat >conftest.$ac_ext <<_ACEOF
44418 /* confdefs.h.  */
44419 _ACEOF
44420 cat confdefs.h >>conftest.$ac_ext
44421 cat >>conftest.$ac_ext <<_ACEOF
44422 /* end confdefs.h.  */
44423
44424 /* Override any GCC internal prototype to avoid an error.
44425    Use char because int might match the return type of a GCC
44426    builtin and then its argument prototype would still apply.  */
44427 #ifdef __cplusplus
44428 extern "C"
44429 #endif
44430 char socket ();
44431 int
44432 main ()
44433 {
44434 return socket ();
44435   ;
44436   return 0;
44437 }
44438 _ACEOF
44439 rm -f conftest.$ac_objext conftest$ac_exeext
44440 if { (ac_try="$ac_link"
44441 case "(($ac_try" in
44442   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44443   *) ac_try_echo=$ac_try;;
44444 esac
44445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44446   (eval "$ac_link") 2>conftest.er1
44447   ac_status=$?
44448   grep -v '^ *+' conftest.er1 >conftest.err
44449   rm -f conftest.er1
44450   cat conftest.err >&5
44451   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44452   (exit $ac_status); } && {
44453          test -z "$ac_c_werror_flag" ||
44454          test ! -s conftest.err
44455        } && test -s conftest$ac_exeext &&
44456        $as_test_x conftest$ac_exeext; then
44457   ac_cv_lib_socket_socket=yes
44458 else
44459   echo "$as_me: failed program was:" >&5
44460 sed 's/^/| /' conftest.$ac_ext >&5
44461
44462         ac_cv_lib_socket_socket=no
44463 fi
44464
44465 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44466       conftest$ac_exeext conftest.$ac_ext
44467 LIBS=$ac_check_lib_save_LIBS
44468 fi
44469 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
44470 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
44471 if test $ac_cv_lib_socket_socket = yes; then
44472   if test "$INET_LINK" != " -lsocket"; then
44473                         INET_LINK="$INET_LINK -lsocket"
44474                     fi
44475 else
44476
44477                         { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
44478 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
44479                         wxUSE_SOCKETS=no
44480
44481
44482 fi
44483
44484
44485
44486 fi
44487
44488     fi
44489 fi
44490
44491 if test "$wxUSE_SOCKETS" = "yes" ; then
44492                 if test "$TOOLKIT" != "MSW"; then
44493                                         { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
44494 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
44495 if test "${wx_cv_type_getsockname3+set}" = set; then
44496   echo $ECHO_N "(cached) $ECHO_C" >&6
44497 else
44498
44499                 ac_ext=cpp
44500 ac_cpp='$CXXCPP $CPPFLAGS'
44501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44504
44505                 cat >conftest.$ac_ext <<_ACEOF
44506 /* confdefs.h.  */
44507 _ACEOF
44508 cat confdefs.h >>conftest.$ac_ext
44509 cat >>conftest.$ac_ext <<_ACEOF
44510 /* end confdefs.h.  */
44511
44512                         #include <sys/types.h>
44513                         #include <sys/socket.h>
44514
44515 int
44516 main ()
44517 {
44518
44519                         socklen_t len;
44520                         getsockname(0, 0, &len);
44521
44522   ;
44523   return 0;
44524 }
44525 _ACEOF
44526 rm -f conftest.$ac_objext
44527 if { (ac_try="$ac_compile"
44528 case "(($ac_try" in
44529   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44530   *) ac_try_echo=$ac_try;;
44531 esac
44532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44533   (eval "$ac_compile") 2>conftest.er1
44534   ac_status=$?
44535   grep -v '^ *+' conftest.er1 >conftest.err
44536   rm -f conftest.er1
44537   cat conftest.err >&5
44538   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44539   (exit $ac_status); } && {
44540          test -z "$ac_cxx_werror_flag" ||
44541          test ! -s conftest.err
44542        } && test -s conftest.$ac_objext; then
44543   wx_cv_type_getsockname3=socklen_t
44544 else
44545   echo "$as_me: failed program was:" >&5
44546 sed 's/^/| /' conftest.$ac_ext >&5
44547
44548
44549                                                                                                                                                                         CFLAGS_OLD="$CFLAGS"
44550                         if test "$GCC" = yes ; then
44551                             CFLAGS="-Werror $CFLAGS"
44552                         fi
44553
44554                         cat >conftest.$ac_ext <<_ACEOF
44555 /* confdefs.h.  */
44556 _ACEOF
44557 cat confdefs.h >>conftest.$ac_ext
44558 cat >>conftest.$ac_ext <<_ACEOF
44559 /* end confdefs.h.  */
44560
44561                                 #include <sys/types.h>
44562                                 #include <sys/socket.h>
44563
44564 int
44565 main ()
44566 {
44567
44568                                 size_t len;
44569                                 getsockname(0, 0, &len);
44570
44571   ;
44572   return 0;
44573 }
44574 _ACEOF
44575 rm -f conftest.$ac_objext
44576 if { (ac_try="$ac_compile"
44577 case "(($ac_try" in
44578   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44579   *) ac_try_echo=$ac_try;;
44580 esac
44581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44582   (eval "$ac_compile") 2>conftest.er1
44583   ac_status=$?
44584   grep -v '^ *+' conftest.er1 >conftest.err
44585   rm -f conftest.er1
44586   cat conftest.err >&5
44587   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44588   (exit $ac_status); } && {
44589          test -z "$ac_cxx_werror_flag" ||
44590          test ! -s conftest.err
44591        } && test -s conftest.$ac_objext; then
44592   wx_cv_type_getsockname3=size_t
44593 else
44594   echo "$as_me: failed program was:" >&5
44595 sed 's/^/| /' conftest.$ac_ext >&5
44596
44597         cat >conftest.$ac_ext <<_ACEOF
44598 /* confdefs.h.  */
44599 _ACEOF
44600 cat confdefs.h >>conftest.$ac_ext
44601 cat >>conftest.$ac_ext <<_ACEOF
44602 /* end confdefs.h.  */
44603
44604                                     #include <sys/types.h>
44605                                     #include <sys/socket.h>
44606
44607 int
44608 main ()
44609 {
44610
44611                                     int len;
44612                                     getsockname(0, 0, &len);
44613
44614   ;
44615   return 0;
44616 }
44617 _ACEOF
44618 rm -f conftest.$ac_objext
44619 if { (ac_try="$ac_compile"
44620 case "(($ac_try" in
44621   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44622   *) ac_try_echo=$ac_try;;
44623 esac
44624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44625   (eval "$ac_compile") 2>conftest.er1
44626   ac_status=$?
44627   grep -v '^ *+' conftest.er1 >conftest.err
44628   rm -f conftest.er1
44629   cat conftest.err >&5
44630   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44631   (exit $ac_status); } && {
44632          test -z "$ac_cxx_werror_flag" ||
44633          test ! -s conftest.err
44634        } && test -s conftest.$ac_objext; then
44635   wx_cv_type_getsockname3=int
44636 else
44637   echo "$as_me: failed program was:" >&5
44638 sed 's/^/| /' conftest.$ac_ext >&5
44639
44640         wx_cv_type_getsockname3=unknown
44641
44642 fi
44643
44644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44645
44646 fi
44647
44648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44649
44650                         CFLAGS="$CFLAGS_OLD"
44651
44652
44653 fi
44654
44655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44656                 ac_ext=c
44657 ac_cpp='$CPP $CPPFLAGS'
44658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44661
44662
44663 fi
44664 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
44665 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
44666
44667         if test "$wx_cv_type_getsockname3" = "unknown"; then
44668             wxUSE_SOCKETS=no
44669             { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44670 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44671         else
44672             cat >>confdefs.h <<_ACEOF
44673 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
44674 _ACEOF
44675
44676         fi
44677                 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
44678 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
44679 if test "${wx_cv_type_getsockopt5+set}" = set; then
44680   echo $ECHO_N "(cached) $ECHO_C" >&6
44681 else
44682
44683                                                                                                 ac_ext=cpp
44684 ac_cpp='$CXXCPP $CPPFLAGS'
44685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44688
44689                 cat >conftest.$ac_ext <<_ACEOF
44690 /* confdefs.h.  */
44691 _ACEOF
44692 cat confdefs.h >>conftest.$ac_ext
44693 cat >>conftest.$ac_ext <<_ACEOF
44694 /* end confdefs.h.  */
44695
44696                         #include <sys/types.h>
44697                         #include <sys/socket.h>
44698
44699 int
44700 main ()
44701 {
44702
44703                         socklen_t len;
44704                         getsockopt(0, 0, 0, 0, &len);
44705
44706   ;
44707   return 0;
44708 }
44709 _ACEOF
44710 rm -f conftest.$ac_objext
44711 if { (ac_try="$ac_compile"
44712 case "(($ac_try" in
44713   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44714   *) ac_try_echo=$ac_try;;
44715 esac
44716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44717   (eval "$ac_compile") 2>conftest.er1
44718   ac_status=$?
44719   grep -v '^ *+' conftest.er1 >conftest.err
44720   rm -f conftest.er1
44721   cat conftest.err >&5
44722   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44723   (exit $ac_status); } && {
44724          test -z "$ac_cxx_werror_flag" ||
44725          test ! -s conftest.err
44726        } && test -s conftest.$ac_objext; then
44727   wx_cv_type_getsockopt5=socklen_t
44728 else
44729   echo "$as_me: failed program was:" >&5
44730 sed 's/^/| /' conftest.$ac_ext >&5
44731
44732
44733                         cat >conftest.$ac_ext <<_ACEOF
44734 /* confdefs.h.  */
44735 _ACEOF
44736 cat confdefs.h >>conftest.$ac_ext
44737 cat >>conftest.$ac_ext <<_ACEOF
44738 /* end confdefs.h.  */
44739
44740                                 #include <sys/types.h>
44741                                 #include <sys/socket.h>
44742
44743 int
44744 main ()
44745 {
44746
44747                                 size_t len;
44748                                 getsockopt(0, 0, 0, 0, &len);
44749
44750   ;
44751   return 0;
44752 }
44753 _ACEOF
44754 rm -f conftest.$ac_objext
44755 if { (ac_try="$ac_compile"
44756 case "(($ac_try" in
44757   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44758   *) ac_try_echo=$ac_try;;
44759 esac
44760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44761   (eval "$ac_compile") 2>conftest.er1
44762   ac_status=$?
44763   grep -v '^ *+' conftest.er1 >conftest.err
44764   rm -f conftest.er1
44765   cat conftest.err >&5
44766   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44767   (exit $ac_status); } && {
44768          test -z "$ac_cxx_werror_flag" ||
44769          test ! -s conftest.err
44770        } && test -s conftest.$ac_objext; then
44771   wx_cv_type_getsockopt5=size_t
44772 else
44773   echo "$as_me: failed program was:" >&5
44774 sed 's/^/| /' conftest.$ac_ext >&5
44775
44776         cat >conftest.$ac_ext <<_ACEOF
44777 /* confdefs.h.  */
44778 _ACEOF
44779 cat confdefs.h >>conftest.$ac_ext
44780 cat >>conftest.$ac_ext <<_ACEOF
44781 /* end confdefs.h.  */
44782
44783                                     #include <sys/types.h>
44784                                     #include <sys/socket.h>
44785
44786 int
44787 main ()
44788 {
44789
44790                                     int len;
44791                                     getsockopt(0, 0, 0, 0, &len);
44792
44793   ;
44794   return 0;
44795 }
44796 _ACEOF
44797 rm -f conftest.$ac_objext
44798 if { (ac_try="$ac_compile"
44799 case "(($ac_try" in
44800   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44801   *) ac_try_echo=$ac_try;;
44802 esac
44803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44804   (eval "$ac_compile") 2>conftest.er1
44805   ac_status=$?
44806   grep -v '^ *+' conftest.er1 >conftest.err
44807   rm -f conftest.er1
44808   cat conftest.err >&5
44809   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44810   (exit $ac_status); } && {
44811          test -z "$ac_cxx_werror_flag" ||
44812          test ! -s conftest.err
44813        } && test -s conftest.$ac_objext; then
44814   wx_cv_type_getsockopt5=int
44815 else
44816   echo "$as_me: failed program was:" >&5
44817 sed 's/^/| /' conftest.$ac_ext >&5
44818
44819         wx_cv_type_getsockopt5=unknown
44820
44821 fi
44822
44823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44824
44825 fi
44826
44827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44828
44829
44830 fi
44831
44832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44833                 ac_ext=c
44834 ac_cpp='$CPP $CPPFLAGS'
44835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44838
44839
44840 fi
44841 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
44842 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
44843
44844         if test "$wx_cv_type_getsockopt5" = "unknown"; then
44845             wxUSE_SOCKETS=no
44846             { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44847 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44848         else
44849             cat >>confdefs.h <<_ACEOF
44850 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
44851 _ACEOF
44852
44853         fi
44854     fi
44855 fi
44856
44857 if test "$wxUSE_SOCKETS" = "yes" ; then
44858     if test "$wxUSE_IPV6" = "yes"; then
44859         { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
44860 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
44861 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
44862   echo $ECHO_N "(cached) $ECHO_C" >&6
44863 else
44864
44865                 cat >conftest.$ac_ext <<_ACEOF
44866 /* confdefs.h.  */
44867 _ACEOF
44868 cat confdefs.h >>conftest.$ac_ext
44869 cat >>conftest.$ac_ext <<_ACEOF
44870 /* end confdefs.h.  */
44871
44872                         #include <sys/types.h>
44873                         #include <sys/socket.h>
44874                         #include <netinet/in.h>
44875
44876 int
44877 main ()
44878 {
44879
44880                         struct sockaddr_in6 sa6;
44881
44882   ;
44883   return 0;
44884 }
44885 _ACEOF
44886 rm -f conftest.$ac_objext
44887 if { (ac_try="$ac_compile"
44888 case "(($ac_try" in
44889   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44890   *) ac_try_echo=$ac_try;;
44891 esac
44892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44893   (eval "$ac_compile") 2>conftest.er1
44894   ac_status=$?
44895   grep -v '^ *+' conftest.er1 >conftest.err
44896   rm -f conftest.er1
44897   cat conftest.err >&5
44898   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44899   (exit $ac_status); } && {
44900          test -z "$ac_c_werror_flag" ||
44901          test ! -s conftest.err
44902        } && test -s conftest.$ac_objext; then
44903   wx_cv_type_sockaddr_in6=yes
44904 else
44905   echo "$as_me: failed program was:" >&5
44906 sed 's/^/| /' conftest.$ac_ext >&5
44907
44908         wx_cv_type_sockaddr_in6=no
44909
44910 fi
44911
44912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44913
44914
44915 fi
44916 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
44917 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
44918
44919         if test "$wx_cv_type_sockaddr_in6"="yes"; then
44920             cat >>confdefs.h <<\_ACEOF
44921 #define wxUSE_IPV6 1
44922 _ACEOF
44923
44924         else
44925             { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
44926 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
44927         fi
44928     fi
44929
44930     cat >>confdefs.h <<\_ACEOF
44931 #define wxUSE_SOCKETS 1
44932 _ACEOF
44933
44934     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
44935 fi
44936
44937 if test "$wxUSE_PROTOCOL" = "yes"; then
44938     if test "$wxUSE_SOCKETS" != "yes"; then
44939         { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
44940 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
44941         wxUSE_PROTOCOL=no
44942     fi
44943 fi
44944
44945 if test "$wxUSE_PROTOCOL" = "yes"; then
44946     cat >>confdefs.h <<\_ACEOF
44947 #define wxUSE_PROTOCOL 1
44948 _ACEOF
44949
44950
44951     if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
44952         cat >>confdefs.h <<\_ACEOF
44953 #define wxUSE_PROTOCOL_HTTP 1
44954 _ACEOF
44955
44956     fi
44957     if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
44958         cat >>confdefs.h <<\_ACEOF
44959 #define wxUSE_PROTOCOL_FTP 1
44960 _ACEOF
44961
44962     fi
44963     if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
44964         cat >>confdefs.h <<\_ACEOF
44965 #define wxUSE_PROTOCOL_FILE 1
44966 _ACEOF
44967
44968     fi
44969 else
44970     if test "$wxUSE_FS_INET" = "yes"; then
44971         { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
44972 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
44973         wxUSE_FS_INET="no"
44974     fi
44975 fi
44976
44977 if test "$wxUSE_URL" = "yes"; then
44978     if test "$wxUSE_PROTOCOL" != "yes"; then
44979         { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
44980 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
44981         wxUSE_URL=no
44982     fi
44983     if test "$wxUSE_URL" = "yes"; then
44984         cat >>confdefs.h <<\_ACEOF
44985 #define wxUSE_URL 1
44986 _ACEOF
44987
44988     fi
44989 fi
44990
44991 if test "$wxUSE_VARIANT" = "yes"; then
44992     cat >>confdefs.h <<\_ACEOF
44993 #define wxUSE_VARIANT 1
44994 _ACEOF
44995
44996 fi
44997
44998 if test "$wxUSE_FS_INET" = "yes"; then
44999   cat >>confdefs.h <<\_ACEOF
45000 #define wxUSE_FS_INET 1
45001 _ACEOF
45002
45003 fi
45004
45005
45006 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
45007     wxUSE_JOYSTICK=no
45008
45009         if test "$TOOLKIT" = "MSW"; then
45010         wxUSE_JOYSTICK=yes
45011
45012         elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
45013         if test "$USE_DARWIN" = 1; then
45014                         { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
45015 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
45016             ac_ext=cpp
45017 ac_cpp='$CXXCPP $CPPFLAGS'
45018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45021
45022             cat >conftest.$ac_ext <<_ACEOF
45023 /* confdefs.h.  */
45024 _ACEOF
45025 cat confdefs.h >>conftest.$ac_ext
45026 cat >>conftest.$ac_ext <<_ACEOF
45027 /* end confdefs.h.  */
45028  #include <IOKit/hid/IOHIDLib.h>
45029 int
45030 main ()
45031 {
45032  IOHIDQueueInterface *qi = NULL;
45033                               IOHIDCallbackFunction cb = NULL;
45034                               qi->setEventCallout(NULL, cb, NULL, NULL);
45035   ;
45036   return 0;
45037 }
45038 _ACEOF
45039 rm -f conftest.$ac_objext
45040 if { (ac_try="$ac_compile"
45041 case "(($ac_try" in
45042   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45043   *) ac_try_echo=$ac_try;;
45044 esac
45045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45046   (eval "$ac_compile") 2>conftest.er1
45047   ac_status=$?
45048   grep -v '^ *+' conftest.er1 >conftest.err
45049   rm -f conftest.er1
45050   cat conftest.err >&5
45051   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45052   (exit $ac_status); } && {
45053          test -z "$ac_cxx_werror_flag" ||
45054          test ! -s conftest.err
45055        } && test -s conftest.$ac_objext; then
45056    wxUSE_JOYSTICK=yes
45057
45058 else
45059   echo "$as_me: failed program was:" >&5
45060 sed 's/^/| /' conftest.$ac_ext >&5
45061
45062
45063 fi
45064
45065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45066             ac_ext=c
45067 ac_cpp='$CPP $CPPFLAGS'
45068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45071
45072             { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
45073 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
45074         fi
45075
45076         else
45077                 if test "$wxUSE_MGL" != 1; then
45078
45079 for ac_header in linux/joystick.h
45080 do
45081 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45082 { echo "$as_me:$LINENO: checking for $ac_header" >&5
45083 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
45084 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45085   echo $ECHO_N "(cached) $ECHO_C" >&6
45086 else
45087   cat >conftest.$ac_ext <<_ACEOF
45088 /* confdefs.h.  */
45089 _ACEOF
45090 cat confdefs.h >>conftest.$ac_ext
45091 cat >>conftest.$ac_ext <<_ACEOF
45092 /* end confdefs.h.  */
45093 $ac_includes_default
45094
45095 #include <$ac_header>
45096 _ACEOF
45097 rm -f conftest.$ac_objext
45098 if { (ac_try="$ac_compile"
45099 case "(($ac_try" in
45100   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45101   *) ac_try_echo=$ac_try;;
45102 esac
45103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45104   (eval "$ac_compile") 2>conftest.er1
45105   ac_status=$?
45106   grep -v '^ *+' conftest.er1 >conftest.err
45107   rm -f conftest.er1
45108   cat conftest.err >&5
45109   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45110   (exit $ac_status); } && {
45111          test -z "$ac_c_werror_flag" ||
45112          test ! -s conftest.err
45113        } && test -s conftest.$ac_objext; then
45114   eval "$as_ac_Header=yes"
45115 else
45116   echo "$as_me: failed program was:" >&5
45117 sed 's/^/| /' conftest.$ac_ext >&5
45118
45119         eval "$as_ac_Header=no"
45120 fi
45121
45122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45123 fi
45124 ac_res=`eval echo '${'$as_ac_Header'}'`
45125                { echo "$as_me:$LINENO: result: $ac_res" >&5
45126 echo "${ECHO_T}$ac_res" >&6; }
45127 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45128   cat >>confdefs.h <<_ACEOF
45129 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45130 _ACEOF
45131  wxUSE_JOYSTICK=yes
45132 fi
45133
45134 done
45135
45136         fi
45137     fi
45138
45139     if test "$wxUSE_JOYSTICK" = "yes"; then
45140         cat >>confdefs.h <<\_ACEOF
45141 #define wxUSE_JOYSTICK 1
45142 _ACEOF
45143
45144         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
45145     else
45146         { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
45147 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
45148     fi
45149 fi
45150
45151
45152
45153 if test "$wxUSE_FONTENUM" = "yes" ; then
45154   cat >>confdefs.h <<\_ACEOF
45155 #define wxUSE_FONTENUM 1
45156 _ACEOF
45157
45158 fi
45159
45160 if test "$wxUSE_FONTMAP" = "yes" ; then
45161   cat >>confdefs.h <<\_ACEOF
45162 #define wxUSE_FONTMAP 1
45163 _ACEOF
45164
45165 fi
45166
45167 if test "$wxUSE_UNICODE" = "yes" ; then
45168   cat >>confdefs.h <<\_ACEOF
45169 #define wxUSE_UNICODE 1
45170 _ACEOF
45171
45172
45173   if test "$USE_WIN32" != 1; then
45174       wxUSE_UNICODE_MSLU=no
45175   fi
45176
45177   if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
45178         { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
45179 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
45180 if test "${ac_cv_lib_unicows_main+set}" = set; then
45181   echo $ECHO_N "(cached) $ECHO_C" >&6
45182 else
45183   ac_check_lib_save_LIBS=$LIBS
45184 LIBS="-lunicows  $LIBS"
45185 cat >conftest.$ac_ext <<_ACEOF
45186 /* confdefs.h.  */
45187 _ACEOF
45188 cat confdefs.h >>conftest.$ac_ext
45189 cat >>conftest.$ac_ext <<_ACEOF
45190 /* end confdefs.h.  */
45191
45192
45193 int
45194 main ()
45195 {
45196 return main ();
45197   ;
45198   return 0;
45199 }
45200 _ACEOF
45201 rm -f conftest.$ac_objext conftest$ac_exeext
45202 if { (ac_try="$ac_link"
45203 case "(($ac_try" in
45204   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45205   *) ac_try_echo=$ac_try;;
45206 esac
45207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45208   (eval "$ac_link") 2>conftest.er1
45209   ac_status=$?
45210   grep -v '^ *+' conftest.er1 >conftest.err
45211   rm -f conftest.er1
45212   cat conftest.err >&5
45213   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45214   (exit $ac_status); } && {
45215          test -z "$ac_c_werror_flag" ||
45216          test ! -s conftest.err
45217        } && test -s conftest$ac_exeext &&
45218        $as_test_x conftest$ac_exeext; then
45219   ac_cv_lib_unicows_main=yes
45220 else
45221   echo "$as_me: failed program was:" >&5
45222 sed 's/^/| /' conftest.$ac_ext >&5
45223
45224         ac_cv_lib_unicows_main=no
45225 fi
45226
45227 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45228       conftest$ac_exeext conftest.$ac_ext
45229 LIBS=$ac_check_lib_save_LIBS
45230 fi
45231 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
45232 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
45233 if test $ac_cv_lib_unicows_main = yes; then
45234
45235                 cat >>confdefs.h <<\_ACEOF
45236 #define wxUSE_UNICODE_MSLU 1
45237 _ACEOF
45238
45239
45240 else
45241
45242                 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45243                              Applications will only run on Windows NT/2000/XP!" >&5
45244 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45245                              Applications will only run on Windows NT/2000/XP!" >&2;}
45246                 wxUSE_UNICODE_MSLU=no
45247
45248 fi
45249
45250     fi
45251 fi
45252
45253 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
45254     cat >>confdefs.h <<\_ACEOF
45255 #define wxUSE_UNICODE_UTF8 1
45256 _ACEOF
45257
45258
45259     if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
45260         cat >>confdefs.h <<\_ACEOF
45261 #define wxUSE_UTF8_LOCALE_ONLY 1
45262 _ACEOF
45263
45264     fi
45265 fi
45266
45267
45268 if test "$wxUSE_CONSTRAINTS" = "yes"; then
45269     cat >>confdefs.h <<\_ACEOF
45270 #define wxUSE_CONSTRAINTS 1
45271 _ACEOF
45272
45273     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
45274 fi
45275
45276 if test "$wxUSE_MDI" = "yes"; then
45277     cat >>confdefs.h <<\_ACEOF
45278 #define wxUSE_MDI 1
45279 _ACEOF
45280
45281
45282     if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
45283         cat >>confdefs.h <<\_ACEOF
45284 #define wxUSE_MDI_ARCHITECTURE 1
45285 _ACEOF
45286
45287         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
45288     fi
45289 fi
45290
45291 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
45292     cat >>confdefs.h <<\_ACEOF
45293 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
45294 _ACEOF
45295
45296     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
45297 fi
45298
45299 if test "$wxUSE_HELP" = "yes"; then
45300     cat >>confdefs.h <<\_ACEOF
45301 #define wxUSE_HELP 1
45302 _ACEOF
45303
45304     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
45305
45306     if test "$wxUSE_MSW" = 1; then
45307       if test "$wxUSE_MS_HTML_HELP" = "yes"; then
45308         cat >>confdefs.h <<\_ACEOF
45309 #define wxUSE_MS_HTML_HELP 1
45310 _ACEOF
45311
45312       fi
45313     fi
45314
45315     if test "$wxUSE_WXHTML_HELP" = "yes"; then
45316       if test "$wxUSE_HTML" = "yes"; then
45317         cat >>confdefs.h <<\_ACEOF
45318 #define wxUSE_WXHTML_HELP 1
45319 _ACEOF
45320
45321       else
45322         { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
45323 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
45324         wxUSE_WXHTML_HELP=no
45325       fi
45326     fi
45327 fi
45328
45329 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
45330     cat >>confdefs.h <<\_ACEOF
45331 #define wxUSE_PRINTING_ARCHITECTURE 1
45332 _ACEOF
45333
45334     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
45335 fi
45336
45337 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
45338   cat >>confdefs.h <<\_ACEOF
45339 #define wxUSE_POSTSCRIPT 1
45340 _ACEOF
45341
45342 fi
45343
45344 cat >>confdefs.h <<\_ACEOF
45345 #define wxUSE_AFM_FOR_POSTSCRIPT 1
45346 _ACEOF
45347
45348
45349 if test "$wxUSE_SVG" = "yes"; then
45350     cat >>confdefs.h <<\_ACEOF
45351 #define wxUSE_SVG 1
45352 _ACEOF
45353
45354 fi
45355
45356
45357 if test "$wxUSE_METAFILE" = "yes"; then
45358     if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
45359         { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
45360 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
45361         wxUSE_METAFILE=no
45362     fi
45363 fi
45364
45365
45366 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ"       = "yes" \
45367                           -o "$wxUSE_CLIPBOARD"     = "yes" \
45368                           -o "$wxUSE_OLE"     = "yes" \
45369                           -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
45370     { echo "$as_me:$LINENO: checking for ole2.h" >&5
45371 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
45372 if test "${ac_cv_header_ole2_h+set}" = set; then
45373   echo $ECHO_N "(cached) $ECHO_C" >&6
45374 else
45375   cat >conftest.$ac_ext <<_ACEOF
45376 /* confdefs.h.  */
45377 _ACEOF
45378 cat confdefs.h >>conftest.$ac_ext
45379 cat >>conftest.$ac_ext <<_ACEOF
45380 /* end confdefs.h.  */
45381
45382
45383 #include <ole2.h>
45384 _ACEOF
45385 rm -f conftest.$ac_objext
45386 if { (ac_try="$ac_compile"
45387 case "(($ac_try" in
45388   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45389   *) ac_try_echo=$ac_try;;
45390 esac
45391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45392   (eval "$ac_compile") 2>conftest.er1
45393   ac_status=$?
45394   grep -v '^ *+' conftest.er1 >conftest.err
45395   rm -f conftest.er1
45396   cat conftest.err >&5
45397   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45398   (exit $ac_status); } && {
45399          test -z "$ac_c_werror_flag" ||
45400          test ! -s conftest.err
45401        } && test -s conftest.$ac_objext; then
45402   ac_cv_header_ole2_h=yes
45403 else
45404   echo "$as_me: failed program was:" >&5
45405 sed 's/^/| /' conftest.$ac_ext >&5
45406
45407         ac_cv_header_ole2_h=no
45408 fi
45409
45410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45411 fi
45412 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
45413 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
45414
45415
45416
45417     if test "$ac_cv_header_ole2_h" = "yes" ; then
45418         if test "$GCC" = yes ; then
45419             { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
45420 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
45421             cat >conftest.$ac_ext <<_ACEOF
45422 /* confdefs.h.  */
45423 _ACEOF
45424 cat confdefs.h >>conftest.$ac_ext
45425 cat >>conftest.$ac_ext <<_ACEOF
45426 /* end confdefs.h.  */
45427 #include <windows.h>
45428                             #include <ole2.h>
45429 int
45430 main ()
45431 {
45432
45433   ;
45434   return 0;
45435 }
45436 _ACEOF
45437 rm -f conftest.$ac_objext
45438 if { (ac_try="$ac_compile"
45439 case "(($ac_try" in
45440   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45441   *) ac_try_echo=$ac_try;;
45442 esac
45443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45444   (eval "$ac_compile") 2>conftest.er1
45445   ac_status=$?
45446   grep -v '^ *+' conftest.er1 >conftest.err
45447   rm -f conftest.er1
45448   cat conftest.err >&5
45449   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45450   (exit $ac_status); } && {
45451          test -z "$ac_c_werror_flag" ||
45452          test ! -s conftest.err
45453        } && test -s conftest.$ac_objext; then
45454   { echo "$as_me:$LINENO: result: no" >&5
45455 echo "${ECHO_T}no" >&6; }
45456 else
45457   echo "$as_me: failed program was:" >&5
45458 sed 's/^/| /' conftest.$ac_ext >&5
45459
45460         { echo "$as_me:$LINENO: result: yes" >&5
45461 echo "${ECHO_T}yes" >&6; }
45462                             WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
45463 fi
45464
45465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45466             LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
45467             if test "$wxUSE_OLE" = "yes" ; then
45468                 cat >>confdefs.h <<\_ACEOF
45469 #define wxUSE_OLE 1
45470 _ACEOF
45471
45472                 cat >>confdefs.h <<\_ACEOF
45473 #define wxUSE_OLE_AUTOMATION 1
45474 _ACEOF
45475
45476                 cat >>confdefs.h <<\_ACEOF
45477 #define wxUSE_ACTIVEX 1
45478 _ACEOF
45479
45480                 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
45481             fi
45482         fi
45483
45484                 if test "$wxUSE_DATAOBJ" = "yes" ; then
45485             cat >>confdefs.h <<\_ACEOF
45486 #define wxUSE_DATAOBJ 1
45487 _ACEOF
45488
45489         fi
45490     else
45491         { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
45492 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
45493
45494         wxUSE_CLIPBOARD=no
45495         wxUSE_DRAG_AND_DROP=no
45496         wxUSE_DATAOBJ=no
45497         wxUSE_OLE=no
45498     fi
45499
45500     if test "$wxUSE_METAFILE" = "yes"; then
45501         cat >>confdefs.h <<\_ACEOF
45502 #define wxUSE_METAFILE 1
45503 _ACEOF
45504
45505
45506                 cat >>confdefs.h <<\_ACEOF
45507 #define wxUSE_ENH_METAFILE 1
45508 _ACEOF
45509
45510     fi
45511 fi
45512
45513 if test "$wxUSE_IPC" = "yes"; then
45514     if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
45515         { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
45516 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
45517         wxUSE_IPC=no
45518     fi
45519
45520     if test "$wxUSE_IPC" = "yes"; then
45521         cat >>confdefs.h <<\_ACEOF
45522 #define wxUSE_IPC 1
45523 _ACEOF
45524
45525         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
45526     fi
45527 fi
45528
45529 if test "$wxUSE_DATAOBJ" = "yes"; then
45530     if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
45531         { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
45532 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
45533         wxUSE_DATAOBJ=no
45534     else
45535         cat >>confdefs.h <<\_ACEOF
45536 #define wxUSE_DATAOBJ 1
45537 _ACEOF
45538
45539     fi
45540 else
45541     { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
45542 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
45543     wxUSE_CLIPBOARD=no
45544     wxUSE_DRAG_AND_DROP=no
45545 fi
45546
45547 if test "$wxUSE_CLIPBOARD" = "yes"; then
45548     if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
45549         { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
45550 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
45551         wxUSE_CLIPBOARD=no
45552     fi
45553
45554     if test "$wxUSE_CLIPBOARD" = "yes"; then
45555         cat >>confdefs.h <<\_ACEOF
45556 #define wxUSE_CLIPBOARD 1
45557 _ACEOF
45558
45559     fi
45560 fi
45561
45562 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
45563     if test "$wxUSE_GTK" = 1; then
45564         if test "$WXGTK12" != 1; then
45565             { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
45566 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
45567             wxUSE_DRAG_AND_DROP=no
45568         fi
45569     fi
45570
45571     if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
45572             "$wxUSE_DFB" = 1; then
45573         { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
45574 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
45575         wxUSE_DRAG_AND_DROP=no
45576     fi
45577
45578     if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
45579         cat >>confdefs.h <<\_ACEOF
45580 #define wxUSE_DRAG_AND_DROP 1
45581 _ACEOF
45582
45583     fi
45584
45585 fi
45586
45587 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
45588     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
45589 fi
45590
45591 if test "$wxUSE_CLIPBOARD" = "yes"; then
45592     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS clipboard"
45593 fi
45594
45595 if test "$wxUSE_SPLINES" = "yes" ; then
45596   cat >>confdefs.h <<\_ACEOF
45597 #define wxUSE_SPLINES 1
45598 _ACEOF
45599
45600 fi
45601
45602 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
45603   cat >>confdefs.h <<\_ACEOF
45604 #define wxUSE_MOUSEWHEEL 1
45605 _ACEOF
45606
45607 fi
45608
45609
45610 USES_CONTROLS=0
45611 if test "$wxUSE_CONTROLS" = "yes"; then
45612   USES_CONTROLS=1
45613 fi
45614
45615 if test "$wxUSE_ACCEL" = "yes"; then
45616   cat >>confdefs.h <<\_ACEOF
45617 #define wxUSE_ACCEL 1
45618 _ACEOF
45619
45620   USES_CONTROLS=1
45621 fi
45622
45623 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
45624   cat >>confdefs.h <<\_ACEOF
45625 #define wxUSE_ANIMATIONCTRL 1
45626 _ACEOF
45627
45628   USES_CONTROLS=1
45629   SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
45630 fi
45631
45632 if test "$wxUSE_BUTTON" = "yes"; then
45633   cat >>confdefs.h <<\_ACEOF
45634 #define wxUSE_BUTTON 1
45635 _ACEOF
45636
45637   USES_CONTROLS=1
45638 fi
45639
45640 if test "$wxUSE_BMPBUTTON" = "yes"; then
45641   cat >>confdefs.h <<\_ACEOF
45642 #define wxUSE_BMPBUTTON 1
45643 _ACEOF
45644
45645   USES_CONTROLS=1
45646 fi
45647
45648 if test "$wxUSE_CALCTRL" = "yes"; then
45649   cat >>confdefs.h <<\_ACEOF
45650 #define wxUSE_CALENDARCTRL 1
45651 _ACEOF
45652
45653   USES_CONTROLS=1
45654   SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
45655 fi
45656
45657 if test "$wxUSE_CARET" = "yes"; then
45658   cat >>confdefs.h <<\_ACEOF
45659 #define wxUSE_CARET 1
45660 _ACEOF
45661
45662   USES_CONTROLS=1
45663   SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
45664 fi
45665
45666 if test "$wxUSE_COLLPANE" = "yes"; then
45667     cat >>confdefs.h <<\_ACEOF
45668 #define wxUSE_COLLPANE 1
45669 _ACEOF
45670
45671     USES_CONTROLS=1
45672     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
45673 fi
45674
45675 if test "$wxUSE_COMBOBOX" = "yes"; then
45676   cat >>confdefs.h <<\_ACEOF
45677 #define wxUSE_COMBOBOX 1
45678 _ACEOF
45679
45680   USES_CONTROLS=1
45681 fi
45682
45683 if test "$wxUSE_COMBOCTRL" = "yes"; then
45684   cat >>confdefs.h <<\_ACEOF
45685 #define wxUSE_COMBOCTRL 1
45686 _ACEOF
45687
45688   USES_CONTROLS=1
45689 fi
45690
45691 if test "$wxUSE_CHOICE" = "yes"; then
45692   cat >>confdefs.h <<\_ACEOF
45693 #define wxUSE_CHOICE 1
45694 _ACEOF
45695
45696   USES_CONTROLS=1
45697 fi
45698
45699 if test "$wxUSE_CHOICEBOOK" = "yes"; then
45700     cat >>confdefs.h <<\_ACEOF
45701 #define wxUSE_CHOICEBOOK 1
45702 _ACEOF
45703
45704     USES_CONTROLS=1
45705 fi
45706
45707 if test "$wxUSE_CHECKBOX" = "yes"; then
45708   cat >>confdefs.h <<\_ACEOF
45709 #define wxUSE_CHECKBOX 1
45710 _ACEOF
45711
45712   USES_CONTROLS=1
45713 fi
45714
45715 if test "$wxUSE_CHECKLST" = "yes"; then
45716   cat >>confdefs.h <<\_ACEOF
45717 #define wxUSE_CHECKLISTBOX 1
45718 _ACEOF
45719
45720   USES_CONTROLS=1
45721 fi
45722
45723 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
45724   cat >>confdefs.h <<\_ACEOF
45725 #define wxUSE_COLOURPICKERCTRL 1
45726 _ACEOF
45727
45728   USES_CONTROLS=1
45729 fi
45730
45731 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
45732   cat >>confdefs.h <<\_ACEOF
45733 #define wxUSE_DATEPICKCTRL 1
45734 _ACEOF
45735
45736   USES_CONTROLS=1
45737 fi
45738
45739 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
45740   cat >>confdefs.h <<\_ACEOF
45741 #define wxUSE_DIRPICKERCTRL 1
45742 _ACEOF
45743
45744   USES_CONTROLS=1
45745 fi
45746
45747 if test "$wxUSE_FILECTRL" = "yes"; then
45748   cat >>confdefs.h <<\_ACEOF
45749 #define wxUSE_FILECTRL 1
45750 _ACEOF
45751
45752   USES_CONTROLS=1
45753 fi
45754
45755 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
45756   cat >>confdefs.h <<\_ACEOF
45757 #define wxUSE_FILEPICKERCTRL 1
45758 _ACEOF
45759
45760   USES_CONTROLS=1
45761 fi
45762
45763 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
45764   cat >>confdefs.h <<\_ACEOF
45765 #define wxUSE_FONTPICKERCTRL 1
45766 _ACEOF
45767
45768   USES_CONTROLS=1
45769 fi
45770
45771 if test "$wxUSE_DISPLAY" = "yes"; then
45772     if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
45773         { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
45774 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
45775         wxUSE_DISPLAY=no
45776     else
45777         cat >>confdefs.h <<\_ACEOF
45778 #define wxUSE_DISPLAY 1
45779 _ACEOF
45780
45781         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
45782     fi
45783 fi
45784
45785 if test "$wxUSE_DETECT_SM" = "yes"; then
45786     cat >>confdefs.h <<\_ACEOF
45787 #define wxUSE_DETECT_SM 1
45788 _ACEOF
45789
45790 fi
45791
45792 if test "$wxUSE_GAUGE" = "yes"; then
45793   cat >>confdefs.h <<\_ACEOF
45794 #define wxUSE_GAUGE 1
45795 _ACEOF
45796
45797   USES_CONTROLS=1
45798 fi
45799
45800 if test "$wxUSE_GRID" = "yes"; then
45801   cat >>confdefs.h <<\_ACEOF
45802 #define wxUSE_GRID 1
45803 _ACEOF
45804
45805   USES_CONTROLS=1
45806   SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
45807 fi
45808
45809 if test "$wxUSE_HEADERCTRL" = "yes"; then
45810   cat >>confdefs.h <<\_ACEOF
45811 #define wxUSE_HEADERCTRL 1
45812 _ACEOF
45813
45814   USES_CONTROLS=1
45815 fi
45816
45817 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
45818   cat >>confdefs.h <<\_ACEOF
45819 #define wxUSE_HYPERLINKCTRL 1
45820 _ACEOF
45821
45822   USES_CONTROLS=1
45823 fi
45824
45825 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
45826   cat >>confdefs.h <<\_ACEOF
45827 #define wxUSE_BITMAPCOMBOBOX 1
45828 _ACEOF
45829
45830   USES_CONTROLS=1
45831 fi
45832
45833 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
45834   cat >>confdefs.h <<\_ACEOF
45835 #define wxUSE_DATAVIEWCTRL 1
45836 _ACEOF
45837
45838   USES_CONTROLS=1
45839   SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
45840 fi
45841
45842 if test "$wxUSE_IMAGLIST" = "yes"; then
45843     cat >>confdefs.h <<\_ACEOF
45844 #define wxUSE_IMAGLIST 1
45845 _ACEOF
45846
45847 fi
45848
45849 if test "$wxUSE_LISTBOOK" = "yes"; then
45850     cat >>confdefs.h <<\_ACEOF
45851 #define wxUSE_LISTBOOK 1
45852 _ACEOF
45853
45854     USES_CONTROLS=1
45855 fi
45856
45857 if test "$wxUSE_LISTBOX" = "yes"; then
45858     cat >>confdefs.h <<\_ACEOF
45859 #define wxUSE_LISTBOX 1
45860 _ACEOF
45861
45862     USES_CONTROLS=1
45863 fi
45864
45865 if test "$wxUSE_LISTCTRL" = "yes"; then
45866     if test "$wxUSE_IMAGLIST" = "yes"; then
45867         cat >>confdefs.h <<\_ACEOF
45868 #define wxUSE_LISTCTRL 1
45869 _ACEOF
45870
45871         USES_CONTROLS=1
45872         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
45873     else
45874         { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
45875 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
45876     fi
45877 fi
45878
45879 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
45880     cat >>confdefs.h <<\_ACEOF
45881 #define wxUSE_EDITABLELISTBOX 1
45882 _ACEOF
45883
45884     USES_CONTROLS=1
45885 fi
45886
45887 if test "$wxUSE_NOTEBOOK" = "yes"; then
45888     cat >>confdefs.h <<\_ACEOF
45889 #define wxUSE_NOTEBOOK 1
45890 _ACEOF
45891
45892     USES_CONTROLS=1
45893     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
45894 fi
45895
45896 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
45897     cat >>confdefs.h <<\_ACEOF
45898 #define wxUSE_NOTIFICATION_MESSAGE 1
45899 _ACEOF
45900
45901 fi
45902
45903 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
45904   cat >>confdefs.h <<\_ACEOF
45905 #define wxUSE_ODCOMBOBOX 1
45906 _ACEOF
45907
45908   USES_CONTROLS=1
45909   SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
45910 fi
45911
45912 if test "$wxUSE_RADIOBOX" = "yes"; then
45913     cat >>confdefs.h <<\_ACEOF
45914 #define wxUSE_RADIOBOX 1
45915 _ACEOF
45916
45917     USES_CONTROLS=1
45918 fi
45919
45920 if test "$wxUSE_RADIOBTN" = "yes"; then
45921     cat >>confdefs.h <<\_ACEOF
45922 #define wxUSE_RADIOBTN 1
45923 _ACEOF
45924
45925     USES_CONTROLS=1
45926 fi
45927
45928 if test "$wxUSE_REARRANGECTRL" = "yes"; then
45929     cat >>confdefs.h <<\_ACEOF
45930 #define wxUSE_REARRANGECTRL 1
45931 _ACEOF
45932
45933 fi
45934
45935 if test "$wxUSE_SASH" = "yes"; then
45936     cat >>confdefs.h <<\_ACEOF
45937 #define wxUSE_SASH 1
45938 _ACEOF
45939
45940     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
45941 fi
45942
45943 if test "$wxUSE_SCROLLBAR" = "yes"; then
45944     cat >>confdefs.h <<\_ACEOF
45945 #define wxUSE_SCROLLBAR 1
45946 _ACEOF
45947
45948     USES_CONTROLS=1
45949     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll"
45950 fi
45951
45952 if test "$wxUSE_SEARCHCTRL" = "yes"; then
45953     cat >>confdefs.h <<\_ACEOF
45954 #define wxUSE_SEARCHCTRL 1
45955 _ACEOF
45956
45957     USES_CONTROLS=1
45958 fi
45959
45960 if test "$wxUSE_SLIDER" = "yes"; then
45961     cat >>confdefs.h <<\_ACEOF
45962 #define wxUSE_SLIDER 1
45963 _ACEOF
45964
45965     USES_CONTROLS=1
45966 fi
45967
45968 if test "$wxUSE_SPINBTN" = "yes"; then
45969     cat >>confdefs.h <<\_ACEOF
45970 #define wxUSE_SPINBTN 1
45971 _ACEOF
45972
45973     USES_CONTROLS=1
45974 fi
45975
45976 if test "$wxUSE_SPINCTRL" = "yes"; then
45977     cat >>confdefs.h <<\_ACEOF
45978 #define wxUSE_SPINCTRL 1
45979 _ACEOF
45980
45981     USES_CONTROLS=1
45982 fi
45983
45984 if test "$wxUSE_SPLITTER" = "yes"; then
45985     cat >>confdefs.h <<\_ACEOF
45986 #define wxUSE_SPLITTER 1
45987 _ACEOF
45988
45989     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
45990 fi
45991
45992 if test "$wxUSE_STATBMP" = "yes"; then
45993     cat >>confdefs.h <<\_ACEOF
45994 #define wxUSE_STATBMP 1
45995 _ACEOF
45996
45997     USES_CONTROLS=1
45998 fi
45999
46000 if test "$wxUSE_STATBOX" = "yes"; then
46001     cat >>confdefs.h <<\_ACEOF
46002 #define wxUSE_STATBOX 1
46003 _ACEOF
46004
46005     USES_CONTROLS=1
46006 fi
46007
46008 if test "$wxUSE_STATTEXT" = "yes"; then
46009     cat >>confdefs.h <<\_ACEOF
46010 #define wxUSE_STATTEXT 1
46011 _ACEOF
46012
46013     USES_CONTROLS=1
46014 fi
46015
46016 if test "$wxUSE_STATLINE" = "yes"; then
46017     cat >>confdefs.h <<\_ACEOF
46018 #define wxUSE_STATLINE 1
46019 _ACEOF
46020
46021     USES_CONTROLS=1
46022 fi
46023
46024 if test "$wxUSE_STATUSBAR" = "yes"; then
46025         cat >>confdefs.h <<\_ACEOF
46026 #define wxUSE_NATIVE_STATUSBAR 1
46027 _ACEOF
46028
46029     cat >>confdefs.h <<\_ACEOF
46030 #define wxUSE_STATUSBAR 1
46031 _ACEOF
46032
46033     USES_CONTROLS=1
46034
46035     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
46036 fi
46037
46038 if test "$wxUSE_TEXTCTRL" = "yes"; then
46039     cat >>confdefs.h <<\_ACEOF
46040 #define wxUSE_TEXTCTRL 1
46041 _ACEOF
46042
46043     USES_CONTROLS=1
46044     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
46045
46046             cat >>confdefs.h <<\_ACEOF
46047 #define wxUSE_RICHEDIT 1
46048 _ACEOF
46049
46050     cat >>confdefs.h <<\_ACEOF
46051 #define wxUSE_RICHEDIT2 1
46052 _ACEOF
46053
46054 fi
46055
46056 if test "$wxUSE_TOGGLEBTN" = "yes"; then
46057     if test "$wxUSE_COCOA" = 1 ; then
46058         { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
46059 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
46060         wxUSE_TOGGLEBTN=no
46061     fi
46062
46063     if test "$wxUSE_TOGGLEBTN" = "yes"; then
46064         cat >>confdefs.h <<\_ACEOF
46065 #define wxUSE_TOGGLEBTN 1
46066 _ACEOF
46067
46068         USES_CONTROLS=1
46069     fi
46070 fi
46071
46072 if test "$wxUSE_TOOLBAR" = "yes"; then
46073     cat >>confdefs.h <<\_ACEOF
46074 #define wxUSE_TOOLBAR 1
46075 _ACEOF
46076
46077     USES_CONTROLS=1
46078
46079     if test "$wxUSE_UNIVERSAL" = "yes"; then
46080         wxUSE_TOOLBAR_NATIVE="no"
46081     else
46082         wxUSE_TOOLBAR_NATIVE="yes"
46083         cat >>confdefs.h <<\_ACEOF
46084 #define wxUSE_TOOLBAR_NATIVE 1
46085 _ACEOF
46086
46087     fi
46088
46089     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
46090 fi
46091
46092 if test "$wxUSE_TOOLTIPS" = "yes"; then
46093     if test "$wxUSE_MOTIF" = 1; then
46094         { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
46095 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
46096     else
46097         if test "$wxUSE_UNIVERSAL" = "yes"; then
46098             { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
46099 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
46100         else
46101             cat >>confdefs.h <<\_ACEOF
46102 #define wxUSE_TOOLTIPS 1
46103 _ACEOF
46104
46105         fi
46106     fi
46107 fi
46108
46109 if test "$wxUSE_TREEBOOK" = "yes"; then
46110     cat >>confdefs.h <<\_ACEOF
46111 #define wxUSE_TREEBOOK 1
46112 _ACEOF
46113
46114     USES_CONTROLS=1
46115 fi
46116
46117 if test "$wxUSE_TOOLBOOK" = "yes"; then
46118     cat >>confdefs.h <<\_ACEOF
46119 #define wxUSE_TOOLBOOK 1
46120 _ACEOF
46121
46122     USES_CONTROLS=1
46123 fi
46124
46125 if test "$wxUSE_TREECTRL" = "yes"; then
46126     if test "$wxUSE_IMAGLIST" = "yes"; then
46127         cat >>confdefs.h <<\_ACEOF
46128 #define wxUSE_TREECTRL 1
46129 _ACEOF
46130
46131         USES_CONTROLS=1
46132         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
46133     else
46134         { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
46135 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
46136     fi
46137 fi
46138
46139 if test "$wxUSE_POPUPWIN" = "yes"; then
46140     if test "$wxUSE_COCOA" = 1 ; then
46141         { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
46142 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
46143     else
46144         if test "$wxUSE_PM" = 1; then
46145             { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
46146 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
46147         else
46148             cat >>confdefs.h <<\_ACEOF
46149 #define wxUSE_POPUPWIN 1
46150 _ACEOF
46151
46152             SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
46153
46154             USES_CONTROLS=1
46155         fi
46156     fi
46157 fi
46158
46159 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
46160     if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
46161         { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
46162 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
46163     else
46164         cat >>confdefs.h <<\_ACEOF
46165 #define wxUSE_DIALUP_MANAGER 1
46166 _ACEOF
46167
46168         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
46169     fi
46170 fi
46171
46172 if test "$wxUSE_TIPWINDOW" = "yes"; then
46173     if test "$wxUSE_PM" = 1; then
46174         { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
46175 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
46176     else
46177         cat >>confdefs.h <<\_ACEOF
46178 #define wxUSE_TIPWINDOW 1
46179 _ACEOF
46180
46181     fi
46182 fi
46183
46184 if test "$USES_CONTROLS" = 1; then
46185     cat >>confdefs.h <<\_ACEOF
46186 #define wxUSE_CONTROLS 1
46187 _ACEOF
46188
46189 fi
46190
46191
46192 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
46193     cat >>confdefs.h <<\_ACEOF
46194 #define wxUSE_ACCESSIBILITY 1
46195 _ACEOF
46196
46197     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
46198 fi
46199
46200 if test "$wxUSE_DRAGIMAGE" = "yes"; then
46201     cat >>confdefs.h <<\_ACEOF
46202 #define wxUSE_DRAGIMAGE 1
46203 _ACEOF
46204
46205     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
46206 fi
46207
46208 if test "$wxUSE_EXCEPTIONS" = "yes"; then
46209     if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
46210         { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
46211 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
46212     else
46213         cat >>confdefs.h <<\_ACEOF
46214 #define wxUSE_EXCEPTIONS 1
46215 _ACEOF
46216
46217         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
46218     fi
46219 fi
46220
46221 USE_HTML=0
46222 if test "$wxUSE_HTML" = "yes"; then
46223     cat >>confdefs.h <<\_ACEOF
46224 #define wxUSE_HTML 1
46225 _ACEOF
46226
46227     USE_HTML=1
46228     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
46229 fi
46230 if test "$wxUSE_WEBKIT" = "yes"; then
46231     if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
46232         old_CPPFLAGS="$CPPFLAGS"
46233         CPPFLAGS="-x objective-c++ $CPPFLAGS"
46234         { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
46235 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
46236 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
46237   echo $ECHO_N "(cached) $ECHO_C" >&6
46238 else
46239   cat >conftest.$ac_ext <<_ACEOF
46240 /* confdefs.h.  */
46241 _ACEOF
46242 cat confdefs.h >>conftest.$ac_ext
46243 cat >>conftest.$ac_ext <<_ACEOF
46244 /* end confdefs.h.  */
46245
46246                            #include <Carbon/Carbon.h>
46247                            #include <WebKit/WebKit.h>
46248
46249
46250 #include <WebKit/HIWebView.h>
46251 _ACEOF
46252 rm -f conftest.$ac_objext
46253 if { (ac_try="$ac_compile"
46254 case "(($ac_try" in
46255   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46256   *) ac_try_echo=$ac_try;;
46257 esac
46258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46259   (eval "$ac_compile") 2>conftest.er1
46260   ac_status=$?
46261   grep -v '^ *+' conftest.er1 >conftest.err
46262   rm -f conftest.er1
46263   cat conftest.err >&5
46264   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46265   (exit $ac_status); } && {
46266          test -z "$ac_c_werror_flag" ||
46267          test ! -s conftest.err
46268        } && test -s conftest.$ac_objext; then
46269   ac_cv_header_WebKit_HIWebView_h=yes
46270 else
46271   echo "$as_me: failed program was:" >&5
46272 sed 's/^/| /' conftest.$ac_ext >&5
46273
46274         ac_cv_header_WebKit_HIWebView_h=no
46275 fi
46276
46277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46278 fi
46279 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
46280 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
46281 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
46282
46283                            cat >>confdefs.h <<\_ACEOF
46284 #define wxUSE_WEBKIT 1
46285 _ACEOF
46286
46287                            WEBKIT_LINK="-framework WebKit"
46288
46289 else
46290
46291                            { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
46292 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
46293                            wxUSE_WEBKIT=no
46294
46295 fi
46296
46297
46298         CPPFLAGS="$old_CPPFLAGS"
46299     elif test "$wxUSE_COCOA" = 1; then
46300         cat >>confdefs.h <<\_ACEOF
46301 #define wxUSE_WEBKIT 1
46302 _ACEOF
46303
46304     else
46305         wxUSE_WEBKIT=no
46306     fi
46307     if test "$wxUSE_WEBKIT" = "yes"; then
46308         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
46309     fi
46310 fi
46311
46312 USE_XRC=0
46313 if test "$wxUSE_XRC" = "yes"; then
46314     if test "$wxUSE_XML" != "yes"; then
46315         { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
46316 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
46317         wxUSE_XRC=no
46318     else
46319         cat >>confdefs.h <<\_ACEOF
46320 #define wxUSE_XRC 1
46321 _ACEOF
46322
46323         USE_XRC=1
46324         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
46325     fi
46326 fi
46327
46328 USE_AUI=0
46329 if test "$wxUSE_AUI" = "yes"; then
46330    cat >>confdefs.h <<\_ACEOF
46331 #define wxUSE_AUI 1
46332 _ACEOF
46333
46334    USE_AUI=1
46335    SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
46336 fi
46337
46338 USE_PROPGRID=0
46339 if test "$wxUSE_PROPGRID" = "yes"; then
46340    cat >>confdefs.h <<\_ACEOF
46341 #define wxUSE_PROPGRID 1
46342 _ACEOF
46343
46344    USE_PROPGRID=1
46345    SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS propgrid"
46346 fi
46347
46348 USE_RIBBON=0
46349 if test "$wxUSE_RIBBON" = "yes"; then
46350    cat >>confdefs.h <<\_ACEOF
46351 #define wxUSE_RIBBON 1
46352 _ACEOF
46353
46354    USE_RIBBON=1
46355    SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ribbon"
46356 fi
46357
46358 USE_STC=0
46359 if test "$wxUSE_STC" = "yes"; then
46360    cat >>confdefs.h <<\_ACEOF
46361 #define wxUSE_STC 1
46362 _ACEOF
46363
46364    USE_STC=1
46365    SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
46366
46367       # Extract the first word of "python", so it can be a program name with args.
46368 set dummy python; ac_word=$2
46369 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46370 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46371 if test "${ac_cv_path_PYTHON+set}" = set; then
46372   echo $ECHO_N "(cached) $ECHO_C" >&6
46373 else
46374   case $PYTHON in
46375   [\\/]* | ?:[\\/]*)
46376   ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
46377   ;;
46378   *)
46379   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46380 for as_dir in $PATH
46381 do
46382   IFS=$as_save_IFS
46383   test -z "$as_dir" && as_dir=.
46384   for ac_exec_ext in '' $ac_executable_extensions; do
46385   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46386     ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
46387     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46388     break 2
46389   fi
46390 done
46391 done
46392 IFS=$as_save_IFS
46393
46394   ;;
46395 esac
46396 fi
46397 PYTHON=$ac_cv_path_PYTHON
46398 if test -n "$PYTHON"; then
46399   { echo "$as_me:$LINENO: result: $PYTHON" >&5
46400 echo "${ECHO_T}$PYTHON" >&6; }
46401 else
46402   { echo "$as_me:$LINENO: result: no" >&5
46403 echo "${ECHO_T}no" >&6; }
46404 fi
46405
46406
46407    if test "x$PYTHON" = "x"; then
46408      COND_PYTHON="#"
46409    fi
46410
46411 fi
46412
46413 if test "$wxUSE_MENUS" = "yes"; then
46414     cat >>confdefs.h <<\_ACEOF
46415 #define wxUSE_MENUS 1
46416 _ACEOF
46417
46418     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
46419 fi
46420
46421 if test "$wxUSE_METAFILE" = "yes"; then
46422     cat >>confdefs.h <<\_ACEOF
46423 #define wxUSE_METAFILE 1
46424 _ACEOF
46425
46426 fi
46427
46428 if test "$wxUSE_MIMETYPE" = "yes"; then
46429     cat >>confdefs.h <<\_ACEOF
46430 #define wxUSE_MIMETYPE 1
46431 _ACEOF
46432
46433 fi
46434
46435 if test "$wxUSE_MINIFRAME" = "yes"; then
46436     cat >>confdefs.h <<\_ACEOF
46437 #define wxUSE_MINIFRAME 1
46438 _ACEOF
46439
46440 fi
46441
46442 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
46443     cat >>confdefs.h <<\_ACEOF
46444 #define wxUSE_SYSTEM_OPTIONS 1
46445 _ACEOF
46446
46447 fi
46448
46449 if test "$wxUSE_TASKBARICON" = "yes"; then
46450     cat >>confdefs.h <<\_ACEOF
46451 #define wxUSE_TASKBARICON 1
46452 _ACEOF
46453
46454     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
46455 fi
46456
46457
46458 if test "$wxUSE_VALIDATORS" = "yes"; then
46459     cat >>confdefs.h <<\_ACEOF
46460 #define wxUSE_VALIDATORS 1
46461 _ACEOF
46462
46463     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
46464 fi
46465
46466 if test "$wxUSE_PALETTE" = "yes" ; then
46467     if test "$wxUSE_DFB" = 1; then
46468         { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
46469 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
46470         wxUSE_PALETTE=no
46471     else
46472         cat >>confdefs.h <<\_ACEOF
46473 #define wxUSE_PALETTE 1
46474 _ACEOF
46475
46476     fi
46477 fi
46478
46479 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
46480     LIBS=" -lunicows $LIBS"
46481 fi
46482
46483 USE_RICHTEXT=0
46484 if test "$wxUSE_RICHTEXT" = "yes"; then
46485     cat >>confdefs.h <<\_ACEOF
46486 #define wxUSE_RICHTEXT 1
46487 _ACEOF
46488
46489     USE_RICHTEXT=1
46490     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
46491 fi
46492
46493
46494 if test "$wxUSE_IMAGE" = "yes" ; then
46495     cat >>confdefs.h <<\_ACEOF
46496 #define wxUSE_IMAGE 1
46497 _ACEOF
46498
46499
46500     if test "$wxUSE_GIF" = "yes" ; then
46501       cat >>confdefs.h <<\_ACEOF
46502 #define wxUSE_GIF 1
46503 _ACEOF
46504
46505     fi
46506
46507     if test "$wxUSE_PCX" = "yes" ; then
46508       cat >>confdefs.h <<\_ACEOF
46509 #define wxUSE_PCX 1
46510 _ACEOF
46511
46512     fi
46513
46514     if test "$wxUSE_TGA" = "yes" ; then
46515       cat >>confdefs.h <<\_ACEOF
46516 #define wxUSE_TGA 1
46517 _ACEOF
46518
46519     fi
46520
46521     if test "$wxUSE_IFF" = "yes" ; then
46522       cat >>confdefs.h <<\_ACEOF
46523 #define wxUSE_IFF 1
46524 _ACEOF
46525
46526     fi
46527
46528     if test "$wxUSE_PNM" = "yes" ; then
46529       cat >>confdefs.h <<\_ACEOF
46530 #define wxUSE_PNM 1
46531 _ACEOF
46532
46533     fi
46534
46535     if test "$wxUSE_XPM" = "yes" ; then
46536       cat >>confdefs.h <<\_ACEOF
46537 #define wxUSE_XPM 1
46538 _ACEOF
46539
46540     fi
46541
46542     if test "$wxUSE_ICO_CUR" = "yes" ; then
46543       cat >>confdefs.h <<\_ACEOF
46544 #define wxUSE_ICO_CUR 1
46545 _ACEOF
46546
46547     fi
46548 fi
46549
46550
46551 if test "$wxUSE_ABOUTDLG" = "yes"; then
46552     cat >>confdefs.h <<\_ACEOF
46553 #define wxUSE_ABOUTDLG 1
46554 _ACEOF
46555
46556 fi
46557
46558 if test "$wxUSE_CHOICEDLG" = "yes"; then
46559     cat >>confdefs.h <<\_ACEOF
46560 #define wxUSE_CHOICEDLG 1
46561 _ACEOF
46562
46563 fi
46564
46565 if test "$wxUSE_COLOURDLG" = "yes"; then
46566     cat >>confdefs.h <<\_ACEOF
46567 #define wxUSE_COLOURDLG 1
46568 _ACEOF
46569
46570 fi
46571
46572 if test "$wxUSE_FILEDLG" = "yes"; then
46573     cat >>confdefs.h <<\_ACEOF
46574 #define wxUSE_FILEDLG 1
46575 _ACEOF
46576
46577 fi
46578
46579 if test "$wxUSE_FINDREPLDLG" = "yes"; then
46580     cat >>confdefs.h <<\_ACEOF
46581 #define wxUSE_FINDREPLDLG 1
46582 _ACEOF
46583
46584 fi
46585
46586 if test "$wxUSE_FONTDLG" = "yes"; then
46587     cat >>confdefs.h <<\_ACEOF
46588 #define wxUSE_FONTDLG 1
46589 _ACEOF
46590
46591 fi
46592
46593 if test "$wxUSE_DIRDLG" = "yes"; then
46594     if test "$wxUSE_TREECTRL" != "yes"; then
46595         { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
46596 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
46597     else
46598         cat >>confdefs.h <<\_ACEOF
46599 #define wxUSE_DIRDLG 1
46600 _ACEOF
46601
46602     fi
46603 fi
46604
46605 if test "$wxUSE_MSGDLG" = "yes"; then
46606     cat >>confdefs.h <<\_ACEOF
46607 #define wxUSE_MSGDLG 1
46608 _ACEOF
46609
46610 fi
46611
46612 if test "$wxUSE_NUMBERDLG" = "yes"; then
46613     cat >>confdefs.h <<\_ACEOF
46614 #define wxUSE_NUMBERDLG 1
46615 _ACEOF
46616
46617 fi
46618
46619 if test "$wxUSE_PROGRESSDLG" = "yes"; then
46620     cat >>confdefs.h <<\_ACEOF
46621 #define wxUSE_PROGRESSDLG 1
46622 _ACEOF
46623
46624 fi
46625
46626 if test "$wxUSE_SPLASH" = "yes"; then
46627     cat >>confdefs.h <<\_ACEOF
46628 #define wxUSE_SPLASH 1
46629 _ACEOF
46630
46631     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
46632 fi
46633
46634 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
46635     cat >>confdefs.h <<\_ACEOF
46636 #define wxUSE_STARTUP_TIPS 1
46637 _ACEOF
46638
46639 fi
46640
46641 if test "$wxUSE_TEXTDLG" = "yes"; then
46642     cat >>confdefs.h <<\_ACEOF
46643 #define wxUSE_TEXTDLG 1
46644 _ACEOF
46645
46646 fi
46647
46648 if test "$wxUSE_WIZARDDLG" = "yes"; then
46649     cat >>confdefs.h <<\_ACEOF
46650 #define wxUSE_WIZARDDLG 1
46651 _ACEOF
46652
46653     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
46654 fi
46655
46656
46657 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
46658     if test "$wxUSE_OWNER_DRAWN" = "yes"; then
46659         cat >>confdefs.h <<\_ACEOF
46660 #define wxUSE_OWNER_DRAWN 1
46661 _ACEOF
46662
46663     fi
46664 fi
46665
46666
46667 if test "$wxUSE_MSW" = 1 ; then
46668
46669     if test "$wxUSE_DC_CACHEING" = "yes"; then
46670         cat >>confdefs.h <<\_ACEOF
46671 #define wxUSE_DC_CACHEING 1
46672 _ACEOF
46673
46674     fi
46675
46676     if test "$wxUSE_DIB" = "yes"; then
46677         cat >>confdefs.h <<\_ACEOF
46678 #define wxUSE_WXDIB 1
46679 _ACEOF
46680
46681     fi
46682
46683     if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
46684         cat >>confdefs.h <<\_ACEOF
46685 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
46686 _ACEOF
46687
46688     fi
46689
46690     if test "$wxUSE_UXTHEME" = "yes"; then
46691         cat >>confdefs.h <<\_ACEOF
46692 #define wxUSE_UXTHEME 1
46693 _ACEOF
46694
46695     fi
46696
46697 fi
46698
46699 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
46700     cat >>confdefs.h <<\_ACEOF
46701 #define wxUSE_AUTOID_MANAGEMENT 1
46702 _ACEOF
46703
46704 fi
46705
46706 if test "$USE_WIN32" = 1 ; then
46707     if test "$wxUSE_INICONF" = "yes"; then
46708         cat >>confdefs.h <<\_ACEOF
46709 #define wxUSE_INICONF 1
46710 _ACEOF
46711
46712     fi
46713
46714     if test "$wxUSE_REGKEY" = "yes"; then
46715         cat >>confdefs.h <<\_ACEOF
46716 #define wxUSE_REGKEY 1
46717 _ACEOF
46718
46719     fi
46720 fi
46721
46722
46723 if test "$wxUSE_MAC" = 1; then
46724         wxUSE_GRAPHICS_CONTEXT="yes"
46725 fi
46726
46727 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
46728    if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
46729       cat >>confdefs.h <<\_ACEOF
46730 #define wxUSE_GRAPHICS_CONTEXT 1
46731 _ACEOF
46732
46733    elif test "$wxUSE_GTK" != 1; then
46734             cat >>confdefs.h <<\_ACEOF
46735 #define wxUSE_GRAPHICS_CONTEXT 1
46736 _ACEOF
46737
46738    else
46739
46740 pkg_failed=no
46741 { echo "$as_me:$LINENO: checking for CAIRO" >&5
46742 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
46743
46744 if test -n "$PKG_CONFIG"; then
46745     if test -n "$CAIRO_CFLAGS"; then
46746         pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
46747     else
46748         if test -n "$PKG_CONFIG" && \
46749     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46750   ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46751   ac_status=$?
46752   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46753   (exit $ac_status); }; then
46754   pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
46755 else
46756   pkg_failed=yes
46757 fi
46758     fi
46759 else
46760         pkg_failed=untried
46761 fi
46762 if test -n "$PKG_CONFIG"; then
46763     if test -n "$CAIRO_LIBS"; then
46764         pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
46765     else
46766         if test -n "$PKG_CONFIG" && \
46767     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46768   ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46769   ac_status=$?
46770   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46771   (exit $ac_status); }; then
46772   pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
46773 else
46774   pkg_failed=yes
46775 fi
46776     fi
46777 else
46778         pkg_failed=untried
46779 fi
46780
46781
46782
46783 if test $pkg_failed = yes; then
46784
46785 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46786         _pkg_short_errors_supported=yes
46787 else
46788         _pkg_short_errors_supported=no
46789 fi
46790         if test $_pkg_short_errors_supported = yes; then
46791                 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
46792         else
46793                 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
46794         fi
46795         # Put the nasty error message in config.log where it belongs
46796         echo "$CAIRO_PKG_ERRORS" >&5
46797
46798         { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46799 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46800
46801 elif test $pkg_failed = untried; then
46802         { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46803 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46804
46805 else
46806         CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
46807         CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
46808         { echo "$as_me:$LINENO: result: yes" >&5
46809 echo "${ECHO_T}yes" >&6; }
46810         cat >>confdefs.h <<\_ACEOF
46811 #define wxUSE_GRAPHICS_CONTEXT 1
46812 _ACEOF
46813
46814 fi
46815    fi
46816 fi
46817
46818
46819 USE_MEDIA=0
46820
46821 if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
46822     USE_MEDIA=1
46823
46824                 if test "$wxUSE_GTK" = 1; then
46825         wxUSE_GSTREAMER="no"
46826
46827                                                                 GST_VERSION_MAJOR=0
46828         GST_VERSION_MINOR=10
46829         GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46830
46831         if test "$wxUSE_GSTREAMER8" = "no"; then
46832
46833 pkg_failed=no
46834 { echo "$as_me:$LINENO: checking for GST" >&5
46835 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
46836
46837 if test -n "$PKG_CONFIG"; then
46838     if test -n "$GST_CFLAGS"; then
46839         pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46840     else
46841         if test -n "$PKG_CONFIG" && \
46842     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46843   ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46844   ac_status=$?
46845   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46846   (exit $ac_status); }; then
46847   pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46848 else
46849   pkg_failed=yes
46850 fi
46851     fi
46852 else
46853         pkg_failed=untried
46854 fi
46855 if test -n "$PKG_CONFIG"; then
46856     if test -n "$GST_LIBS"; then
46857         pkg_cv_GST_LIBS="$GST_LIBS"
46858     else
46859         if test -n "$PKG_CONFIG" && \
46860     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46861   ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46862   ac_status=$?
46863   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46864   (exit $ac_status); }; then
46865   pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46866 else
46867   pkg_failed=yes
46868 fi
46869     fi
46870 else
46871         pkg_failed=untried
46872 fi
46873
46874
46875
46876 if test $pkg_failed = yes; then
46877
46878 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46879         _pkg_short_errors_supported=yes
46880 else
46881         _pkg_short_errors_supported=no
46882 fi
46883         if test $_pkg_short_errors_supported = yes; then
46884                 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46885         else
46886                 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46887         fi
46888         # Put the nasty error message in config.log where it belongs
46889         echo "$GST_PKG_ERRORS" >&5
46890
46891
46892                     { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46893 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46894                     GST_VERSION_MINOR=8
46895
46896
46897 elif test $pkg_failed = untried; then
46898
46899                     { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46900 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46901                     GST_VERSION_MINOR=8
46902
46903
46904 else
46905         GST_CFLAGS=$pkg_cv_GST_CFLAGS
46906         GST_LIBS=$pkg_cv_GST_LIBS
46907         { echo "$as_me:$LINENO: result: yes" >&5
46908 echo "${ECHO_T}yes" >&6; }
46909
46910                     wxUSE_GSTREAMER="yes"
46911                     GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
46912
46913 fi
46914         else
46915                         GST_VERSION_MINOR=8
46916         fi
46917
46918         if test $GST_VERSION_MINOR = "8"; then
46919             GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46920
46921 pkg_failed=no
46922 { echo "$as_me:$LINENO: checking for GST" >&5
46923 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
46924
46925 if test -n "$PKG_CONFIG"; then
46926     if test -n "$GST_CFLAGS"; then
46927         pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46928     else
46929         if test -n "$PKG_CONFIG" && \
46930     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46931   ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46932   ac_status=$?
46933   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46934   (exit $ac_status); }; then
46935   pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46936 else
46937   pkg_failed=yes
46938 fi
46939     fi
46940 else
46941         pkg_failed=untried
46942 fi
46943 if test -n "$PKG_CONFIG"; then
46944     if test -n "$GST_LIBS"; then
46945         pkg_cv_GST_LIBS="$GST_LIBS"
46946     else
46947         if test -n "$PKG_CONFIG" && \
46948     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46949   ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46950   ac_status=$?
46951   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46952   (exit $ac_status); }; then
46953   pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46954 else
46955   pkg_failed=yes
46956 fi
46957     fi
46958 else
46959         pkg_failed=untried
46960 fi
46961
46962
46963
46964 if test $pkg_failed = yes; then
46965
46966 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46967         _pkg_short_errors_supported=yes
46968 else
46969         _pkg_short_errors_supported=no
46970 fi
46971         if test $_pkg_short_errors_supported = yes; then
46972                 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46973         else
46974                 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46975         fi
46976         # Put the nasty error message in config.log where it belongs
46977         echo "$GST_PKG_ERRORS" >&5
46978
46979
46980                     { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46981 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46982
46983 elif test $pkg_failed = untried; then
46984
46985                     { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46986 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46987
46988 else
46989         GST_CFLAGS=$pkg_cv_GST_CFLAGS
46990         GST_LIBS=$pkg_cv_GST_LIBS
46991         { echo "$as_me:$LINENO: result: yes" >&5
46992 echo "${ECHO_T}yes" >&6; }
46993         wxUSE_GSTREAMER="yes"
46994 fi
46995         fi
46996
46997
46998         if test "$wxUSE_GSTREAMER" = "yes"; then
46999             CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
47000             EXTRALIBS_MEDIA="$GST_LIBS"
47001
47002             cat >>confdefs.h <<\_ACEOF
47003 #define wxUSE_GSTREAMER 1
47004 _ACEOF
47005
47006         else
47007             USE_MEDIA=0
47008         fi
47009     fi
47010
47011     if test $USE_MEDIA = 1; then
47012         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
47013         cat >>confdefs.h <<\_ACEOF
47014 #define wxUSE_MEDIACTRL 1
47015 _ACEOF
47016
47017     else
47018         if test "$wxUSE_MEDIACTRL" = "yes"; then
47019             { { echo "$as_me:$LINENO: error: GStreamer not available" >&5
47020 echo "$as_me: error: GStreamer not available" >&2;}
47021    { (exit 1); exit 1; }; }
47022         else
47023                         { echo "$as_me:$LINENO: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5
47024 echo "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;}
47025         fi
47026     fi
47027 fi
47028
47029
47030 if test "$cross_compiling" != "no"; then
47031         OSINFO="\"$host\""
47032 else
47033         OSINFO=`uname -s -r -m`
47034     OSINFO="\"$OSINFO\""
47035 fi
47036
47037 cat >>confdefs.h <<_ACEOF
47038 #define WXWIN_OS_DESCRIPTION $OSINFO
47039 _ACEOF
47040
47041
47042
47043 if test "x$prefix" != "xNONE"; then
47044     wxPREFIX=$prefix
47045 else
47046     wxPREFIX=$ac_default_prefix
47047 fi
47048
47049 cat >>confdefs.h <<_ACEOF
47050 #define wxINSTALL_PREFIX "$wxPREFIX"
47051 _ACEOF
47052
47053
47054
47055
47056 STD_BASE_LIBS="base"
47057 STD_GUI_LIBS=""
47058 BUILT_WX_LIBS="base"
47059 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
47060
47061 if test "$wxUSE_SOCKETS" = "yes" ; then
47062     STD_BASE_LIBS="net $STD_BASE_LIBS"
47063     BUILT_WX_LIBS="net $BUILT_WX_LIBS"
47064 fi
47065 if test "$wxUSE_XML" = "yes" ; then
47066     STD_BASE_LIBS="xml $STD_BASE_LIBS"
47067     BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
47068 fi
47069
47070 if test "$wxUSE_GUI" = "yes"; then
47071     STD_GUI_LIBS="adv core"
47072     BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
47073
47074     if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47075         STD_GUI_LIBS="qa $STD_GUI_LIBS"
47076         BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
47077     fi
47078     if test "$wxUSE_HTML" = "yes" ; then
47079         STD_GUI_LIBS="html $STD_GUI_LIBS"
47080         BUILT_WX_LIBS="html $BUILT_WX_LIBS"
47081     fi
47082     if test "$wxUSE_MEDIACTRL" = "yes" ; then
47083         BUILT_WX_LIBS="media $BUILT_WX_LIBS"
47084     fi
47085     if test "$wxUSE_OPENGL" = "yes" ; then
47086         BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
47087     fi
47088     if test "$wxUSE_AUI" = "yes" ; then
47089         BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
47090     fi
47091     if test "$wxUSE_PROPGRID" = "yes" ; then
47092         BUILT_WX_LIBS="propgrid $BUILT_WX_LIBS"
47093     fi
47094     if test "$wxUSE_RIBBON" = "yes" ; then
47095         BUILT_WX_LIBS="ribbon $BUILT_WX_LIBS"
47096     fi
47097     if test "$wxUSE_RICHTEXT" = "yes" ; then
47098         BUILT_WX_LIBS="richtext $BUILT_WX_LIBS"
47099     fi
47100     if test "$wxUSE_STC" = "yes" ; then
47101         BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
47102     fi
47103     if test "$wxUSE_XRC" = "yes" ; then
47104         STD_GUI_LIBS="xrc $STD_GUI_LIBS"
47105         BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
47106     fi
47107 fi
47108
47109
47110
47111
47112
47113
47114
47115
47116 if test "$wxUSE_MAC" = 1 ; then
47117     if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
47118         if test "$USE_DARWIN" = 1; then
47119             LDFLAGS="$LDFLAGS -framework QuickTime"
47120         fi
47121     fi
47122     if test "$USE_DARWIN" = 1; then
47123         LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL"
47124     fi
47125 fi
47126 if test "$wxUSE_COCOA" = 1 ; then
47127     LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
47128     if test "$wxUSE_MEDIACTRL" = "yes"; then
47129         LDFLAGS="$LDFLAGS -framework QuickTime"
47130     fi
47131 fi
47132 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
47133     LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
47134 fi
47135
47136 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
47137
47138 if test "$wxUSE_GUI" = "yes"; then
47139
47140
47141         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
47142                      erase event exec font image minimal render \
47143                      shaped svg taborder vscroll widgets wrapsizer"
47144
47145     if test "$wxUSE_MONOLITHIC" != "yes"; then
47146         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
47147     fi
47148     if test "$TOOLKIT" = "MSW"; then
47149         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
47150         if test "$wxUSE_UNIVERSAL" != "yes"; then
47151             SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
47152         fi
47153     fi
47154     if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
47155         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
47156     fi
47157 else
47158     SAMPLES_SUBDIRS="console"
47159     if test "$wxUSE_SOCKETS" = "yes" ; then
47160         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
47161     fi
47162     if test "$wxUSE_IPC" = "yes" ; then
47163         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
47164     fi
47165 fi
47166
47167
47168 if test "x$INTELCC" = "xyes" ; then
47169                                         CWARNINGS="-Wall -wd810,869,981,1418,1572,1684,2259"
47170 elif test "$GCC" = yes ; then
47171     CWARNINGS="-Wall -Wundef"
47172 fi
47173
47174 if test "x$INTELCXX" = "xyes" ; then
47175                                                                 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
47176 elif test "$GXX" = yes ; then
47177     CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
47178     { echo "$as_me:$LINENO: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
47179 echo $ECHO_N "checking CXXWARNINGS for gcc -Woverloaded-virtual... $ECHO_C" >&6; }
47180 if test "${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+set}" = set; then
47181   echo $ECHO_N "(cached) $ECHO_C" >&6
47182 else
47183   ac_cv_cxxflags_gcc_option__Woverloaded_virtual="no, unknown"
47184
47185  ac_ext=cpp
47186 ac_cpp='$CXXCPP $CPPFLAGS'
47187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47190
47191  ac_save_CXXFLAGS="$CXXFLAGS"
47192 for ac_arg in "-pedantic -Werror % -Woverloaded-virtual"     "-pedantic % -Woverloaded-virtual %% no, obsolete"     #
47193 do CXXFLAGS="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
47194    cat >conftest.$ac_ext <<_ACEOF
47195 /* confdefs.h.  */
47196 _ACEOF
47197 cat confdefs.h >>conftest.$ac_ext
47198 cat >>conftest.$ac_ext <<_ACEOF
47199 /* end confdefs.h.  */
47200
47201 int
47202 main ()
47203 {
47204 return 0;
47205   ;
47206   return 0;
47207 }
47208 _ACEOF
47209 rm -f conftest.$ac_objext
47210 if { (ac_try="$ac_compile"
47211 case "(($ac_try" in
47212   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47213   *) ac_try_echo=$ac_try;;
47214 esac
47215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47216   (eval "$ac_compile") 2>conftest.er1
47217   ac_status=$?
47218   grep -v '^ *+' conftest.er1 >conftest.err
47219   rm -f conftest.er1
47220   cat conftest.err >&5
47221   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47222   (exit $ac_status); } && {
47223          test -z "$ac_cxx_werror_flag" ||
47224          test ! -s conftest.err
47225        } && test -s conftest.$ac_objext; then
47226   ac_cv_cxxflags_gcc_option__Woverloaded_virtual=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
47227 else
47228   echo "$as_me: failed program was:" >&5
47229 sed 's/^/| /' conftest.$ac_ext >&5
47230
47231
47232 fi
47233
47234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47235 done
47236  CXXFLAGS="$ac_save_CXXFLAGS"
47237  ac_ext=c
47238 ac_cpp='$CPP $CPPFLAGS'
47239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47242
47243
47244 fi
47245 { echo "$as_me:$LINENO: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
47246 echo "${ECHO_T}$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
47247 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
47248      .ok|.ok,*)  ;;
47249    .|.no|.no,*)  ;;
47250    *)
47251    if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev/null
47252    then { (echo "$as_me:$LINENO: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual") >&5
47253   (: CXXWARNINGS does contain $ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
47254   ac_status=$?
47255   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47256   (exit $ac_status); }
47257    else { (echo "$as_me:$LINENO: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\"") >&5
47258   (: CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
47259   ac_status=$?
47260   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47261   (exit $ac_status); }
47262                       CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
47263    fi
47264  ;;
47265 esac
47266
47267
47268                     if test "$wxUSE_MAC" = 1 ; then
47269         CXXWARNINGS="$CXXWARNINGS -Wno-deprecated-declarations"
47270     fi
47271 fi
47272
47273
47274 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
47275 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
47276
47277
47278 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
47279  -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
47280  -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
47281  $CPPFLAGS `
47282
47283 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
47284 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
47285 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
47286 OBJCFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
47287 OBJCXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
47288
47289 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
47290
47291
47292 if test "x$MWCC" = "xyes"; then
47293
47294             CC="$CC -cwd source -I-"
47295     CXX="$CXX -cwd source -I-"
47296 fi
47297
47298
47299 LIBS=`echo $LIBS`
47300 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
47301 EXTRALIBS_XML="$EXPAT_LINK"
47302 EXTRALIBS_HTML="$MSPACK_LINK"
47303 EXTRALIBS_MEDIA="$GST_LIBS"
47304 EXTRALIBS_STC="-lwxscintilla${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
47305 if test "$wxUSE_GUI" = "yes"; then
47306     EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
47307 fi
47308 if test "$wxUSE_OPENGL" = "yes"; then
47309     EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
47310 fi
47311
47312 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
47313
47314 WXCONFIG_LIBS="$LIBS"
47315
47316 if test "$wxUSE_REGEX" = "builtin" ; then
47317     wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
47318 fi
47319 if test "$wxUSE_EXPAT" = "builtin" ; then
47320     wxconfig_3rdparty="expat $wxconfig_3rdparty"
47321 fi
47322 if test "$wxUSE_LIBTIFF" = "builtin" ; then
47323     wxconfig_3rdparty="tiff $wxconfig_3rdparty"
47324 fi
47325 if test "$wxUSE_LIBJPEG" = "builtin" ; then
47326     wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
47327 fi
47328 if test "$wxUSE_LIBPNG" = "builtin" ; then
47329     wxconfig_3rdparty="png $wxconfig_3rdparty"
47330 fi
47331 if test "$wxUSE_ZLIB" = "builtin" ; then
47332     wxconfig_3rdparty="zlib $wxconfig_3rdparty"
47333 fi
47334
47335 for i in $wxconfig_3rdparty ; do
47336     WXCONFIG_LIBS="-lwx${i}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
47337 done
47338
47339
47340 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
47341     WXUNIV=1
47342
47343     case "$wxUNIV_THEMES" in
47344         ''|all)
47345             cat >>confdefs.h <<\_ACEOF
47346 #define wxUSE_ALL_THEMES 1
47347 _ACEOF
47348
47349             ;;
47350
47351         *)
47352             for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
47353                 cat >>confdefs.h <<_ACEOF
47354 #define wxUSE_THEME_$t 1
47355 _ACEOF
47356
47357             done
47358     esac
47359 else
47360     WXUNIV=0
47361 fi
47362
47363
47364
47365
47366
47367
47368
47369
47370 if test $wxUSE_MONOLITHIC = "yes" ; then
47371     MONOLITHIC=1
47372 else
47373     MONOLITHIC=0
47374 fi
47375
47376 if test $wxUSE_PLUGINS = "yes" ; then
47377     USE_PLUGINS=1
47378 else
47379     USE_PLUGINS=0
47380 fi
47381
47382 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47383     USE_QA=1
47384 else
47385     USE_QA=0
47386 fi
47387
47388 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
47389     OFFICIAL_BUILD=1
47390 else
47391     OFFICIAL_BUILD=0
47392 fi
47393
47394
47395
47396
47397
47398
47399
47400
47401
47402
47403
47404
47405
47406
47407
47408
47409
47410
47411
47412
47413
47414
47415
47416
47417
47418
47419
47420 TOOLKIT_LOWERCASE=xxx
47421 if test "$TOOLKIT" = "MAC"; then
47422     TOOLKIT_LOWERCASE=osx_carbon
47423 fi
47424 if test "$TOOLKIT" = "OSX_CARBON"; then
47425     TOOLKIT_LOWERCASE=osx_carbon
47426 fi
47427 if test "$TOOLKIT" = "OSX_COCOA"; then
47428     TOOLKIT_LOWERCASE=osx_cocoa
47429 fi
47430 if test "$TOOLKIT_LOWERCASE" = "xxx"; then
47431     TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
47432 fi
47433
47434
47435
47436
47437
47438
47439
47440
47441
47442
47443 case "$TOOLKIT" in
47444     GTK)
47445         TOOLKIT_DESC="GTK+"
47446         if test "$WXGTK2" = 1; then
47447             TOOLKIT_DESC="$TOOLKIT_DESC 2"
47448             if test "$wxUSE_GTKPRINT" = "yes" ; then
47449                 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
47450             fi
47451             if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
47452                 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
47453             fi
47454             if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
47455                 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
47456             fi
47457             if test "$wxUSE_LIBHILDON" = "yes"; then
47458                 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
47459             fi
47460
47461             if test "$TOOLKIT_EXTRA" != ""; then
47462                 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
47463             fi
47464         fi
47465         ;;
47466
47467     ?*)
47468         TOOLKIT_DESC=$TOOLKIT_LOWERCASE
47469         ;;
47470
47471     *)
47472         TOOLKIT_DESC="base only"
47473         ;;
47474 esac
47475
47476 if test "$wxUSE_WINE" = "yes"; then
47477     BAKEFILE_FORCE_PLATFORM=win32
47478 fi
47479
47480 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
47481 then
47482     { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
47483 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
47484 if test "${wx_cv_gcc_pch_bug+set}" = set; then
47485   echo $ECHO_N "(cached) $ECHO_C" >&6
47486 else
47487
47488             echo '#include <stdio.h>
47489                   const wchar_t test_var[] = L"awidetest";' > conftest.h
47490
47491             echo '#include "conftest.h"
47492                   int main()
47493                   {
47494                      printf("%ls", test_var);
47495                      return 0;
47496                   }' > conftest.cpp
47497
47498             wx_cv_gcc_pch_bug="pch not supported"
47499
47500             if $CXX conftest.h >/dev/null 2>&1
47501             then
47502                 wx_cv_gcc_pch_bug=
47503
47504                 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
47505                 then
47506                     if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
47507                         grep awidetest >/dev/null
47508                     then
47509                         wx_cv_gcc_pch_bug=no
47510                     else
47511                         wx_cv_gcc_pch_bug=yes
47512                     fi
47513                 fi
47514             fi
47515
47516             rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
47517
47518 fi
47519 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
47520 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
47521
47522     if test "$wx_cv_gcc_pch_bug" = yes; then
47523                         bk_use_pch=no
47524     fi
47525 fi
47526
47527
47528
47529
47530
47531
47532
47533     if test "x$BAKEFILE_HOST" = "x"; then
47534                if test "x${host}" = "x" ; then
47535                        { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
47536 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
47537    { (exit 1); exit 1; }; }
47538                fi
47539
47540         BAKEFILE_HOST="${host}"
47541     fi
47542
47543     if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
47544
47545     if test -n "$ac_tool_prefix"; then
47546   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
47547 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
47548 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47549 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47550 if test "${ac_cv_prog_RANLIB+set}" = set; then
47551   echo $ECHO_N "(cached) $ECHO_C" >&6
47552 else
47553   if test -n "$RANLIB"; then
47554   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
47555 else
47556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47557 for as_dir in $PATH
47558 do
47559   IFS=$as_save_IFS
47560   test -z "$as_dir" && as_dir=.
47561   for ac_exec_ext in '' $ac_executable_extensions; do
47562   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47563     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
47564     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47565     break 2
47566   fi
47567 done
47568 done
47569 IFS=$as_save_IFS
47570
47571 fi
47572 fi
47573 RANLIB=$ac_cv_prog_RANLIB
47574 if test -n "$RANLIB"; then
47575   { echo "$as_me:$LINENO: result: $RANLIB" >&5
47576 echo "${ECHO_T}$RANLIB" >&6; }
47577 else
47578   { echo "$as_me:$LINENO: result: no" >&5
47579 echo "${ECHO_T}no" >&6; }
47580 fi
47581
47582
47583 fi
47584 if test -z "$ac_cv_prog_RANLIB"; then
47585   ac_ct_RANLIB=$RANLIB
47586   # Extract the first word of "ranlib", so it can be a program name with args.
47587 set dummy ranlib; ac_word=$2
47588 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47589 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47590 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
47591   echo $ECHO_N "(cached) $ECHO_C" >&6
47592 else
47593   if test -n "$ac_ct_RANLIB"; then
47594   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
47595 else
47596 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47597 for as_dir in $PATH
47598 do
47599   IFS=$as_save_IFS
47600   test -z "$as_dir" && as_dir=.
47601   for ac_exec_ext in '' $ac_executable_extensions; do
47602   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47603     ac_cv_prog_ac_ct_RANLIB="ranlib"
47604     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47605     break 2
47606   fi
47607 done
47608 done
47609 IFS=$as_save_IFS
47610
47611 fi
47612 fi
47613 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
47614 if test -n "$ac_ct_RANLIB"; then
47615   { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
47616 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
47617 else
47618   { echo "$as_me:$LINENO: result: no" >&5
47619 echo "${ECHO_T}no" >&6; }
47620 fi
47621
47622   if test "x$ac_ct_RANLIB" = x; then
47623     RANLIB=":"
47624   else
47625     case $cross_compiling:$ac_tool_warned in
47626 yes:)
47627 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47628 whose name does not start with the host triplet.  If you think this
47629 configuration is useful to you, please write to autoconf@gnu.org." >&5
47630 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47631 whose name does not start with the host triplet.  If you think this
47632 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47633 ac_tool_warned=yes ;;
47634 esac
47635     RANLIB=$ac_ct_RANLIB
47636   fi
47637 else
47638   RANLIB="$ac_cv_prog_RANLIB"
47639 fi
47640
47641     # Find a good install program.  We prefer a C program (faster),
47642 # so one script is as good as another.  But avoid the broken or
47643 # incompatible versions:
47644 # SysV /etc/install, /usr/sbin/install
47645 # SunOS /usr/etc/install
47646 # IRIX /sbin/install
47647 # AIX /bin/install
47648 # AmigaOS /C/install, which installs bootblocks on floppy discs
47649 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
47650 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
47651 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
47652 # OS/2's system install, which has a completely different semantic
47653 # ./install, which can be erroneously created by make from ./install.sh.
47654 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
47655 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
47656 if test -z "$INSTALL"; then
47657 if test "${ac_cv_path_install+set}" = set; then
47658   echo $ECHO_N "(cached) $ECHO_C" >&6
47659 else
47660   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47661 for as_dir in $PATH
47662 do
47663   IFS=$as_save_IFS
47664   test -z "$as_dir" && as_dir=.
47665   # Account for people who put trailing slashes in PATH elements.
47666 case $as_dir/ in
47667   ./ | .// | /cC/* | \
47668   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
47669   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
47670   /usr/ucb/* ) ;;
47671   *)
47672     # OSF1 and SCO ODT 3.0 have their own names for install.
47673     # Don't use installbsd from OSF since it installs stuff as root
47674     # by default.
47675     for ac_prog in ginstall scoinst install; do
47676       for ac_exec_ext in '' $ac_executable_extensions; do
47677         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
47678           if test $ac_prog = install &&
47679             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
47680             # AIX install.  It has an incompatible calling convention.
47681             :
47682           elif test $ac_prog = install &&
47683             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
47684             # program-specific install script used by HP pwplus--don't use.
47685             :
47686           else
47687             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
47688             break 3
47689           fi
47690         fi
47691       done
47692     done
47693     ;;
47694 esac
47695 done
47696 IFS=$as_save_IFS
47697
47698
47699 fi
47700   if test "${ac_cv_path_install+set}" = set; then
47701     INSTALL=$ac_cv_path_install
47702   else
47703     # As a last resort, use the slow shell script.  Don't cache a
47704     # value for INSTALL within a source directory, because that will
47705     # break other packages using the cache if that directory is
47706     # removed, or if the value is a relative name.
47707     INSTALL=$ac_install_sh
47708   fi
47709 fi
47710 { echo "$as_me:$LINENO: result: $INSTALL" >&5
47711 echo "${ECHO_T}$INSTALL" >&6; }
47712
47713 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
47714 # It thinks the first close brace ends the variable substitution.
47715 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
47716
47717 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
47718
47719 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
47720
47721     { echo "$as_me:$LINENO: checking whether ln -s works" >&5
47722 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
47723 LN_S=$as_ln_s
47724 if test "$LN_S" = "ln -s"; then
47725   { echo "$as_me:$LINENO: result: yes" >&5
47726 echo "${ECHO_T}yes" >&6; }
47727 else
47728   { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
47729 echo "${ECHO_T}no, using $LN_S" >&6; }
47730 fi
47731
47732
47733     { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
47734 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
47735 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
47736 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
47737   echo $ECHO_N "(cached) $ECHO_C" >&6
47738 else
47739   cat >conftest.make <<\_ACEOF
47740 SHELL = /bin/sh
47741 all:
47742         @echo '@@@%%%=$(MAKE)=@@@%%%'
47743 _ACEOF
47744 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
47745 case `${MAKE-make} -f conftest.make 2>/dev/null` in
47746   *@@@%%%=?*=@@@%%%*)
47747     eval ac_cv_prog_make_${ac_make}_set=yes;;
47748   *)
47749     eval ac_cv_prog_make_${ac_make}_set=no;;
47750 esac
47751 rm -f conftest.make
47752 fi
47753 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
47754   { echo "$as_me:$LINENO: result: yes" >&5
47755 echo "${ECHO_T}yes" >&6; }
47756   SET_MAKE=
47757 else
47758   { echo "$as_me:$LINENO: result: no" >&5
47759 echo "${ECHO_T}no" >&6; }
47760   SET_MAKE="MAKE=${MAKE-make}"
47761 fi
47762
47763
47764
47765     if test "x$SUNCXX" = "xyes"; then
47766                                 AR=$CXX
47767         AROPTIONS="-xar -o"
47768
47769     elif test "x$SGICC" = "xyes"; then
47770                 AR=$CXX
47771         AROPTIONS="-ar -o"
47772
47773     else
47774         if test -n "$ac_tool_prefix"; then
47775   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
47776 set dummy ${ac_tool_prefix}ar; ac_word=$2
47777 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47778 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47779 if test "${ac_cv_prog_AR+set}" = set; then
47780   echo $ECHO_N "(cached) $ECHO_C" >&6
47781 else
47782   if test -n "$AR"; then
47783   ac_cv_prog_AR="$AR" # Let the user override the test.
47784 else
47785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47786 for as_dir in $PATH
47787 do
47788   IFS=$as_save_IFS
47789   test -z "$as_dir" && as_dir=.
47790   for ac_exec_ext in '' $ac_executable_extensions; do
47791   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47792     ac_cv_prog_AR="${ac_tool_prefix}ar"
47793     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47794     break 2
47795   fi
47796 done
47797 done
47798 IFS=$as_save_IFS
47799
47800 fi
47801 fi
47802 AR=$ac_cv_prog_AR
47803 if test -n "$AR"; then
47804   { echo "$as_me:$LINENO: result: $AR" >&5
47805 echo "${ECHO_T}$AR" >&6; }
47806 else
47807   { echo "$as_me:$LINENO: result: no" >&5
47808 echo "${ECHO_T}no" >&6; }
47809 fi
47810
47811
47812 fi
47813 if test -z "$ac_cv_prog_AR"; then
47814   ac_ct_AR=$AR
47815   # Extract the first word of "ar", so it can be a program name with args.
47816 set dummy ar; ac_word=$2
47817 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47818 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47819 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
47820   echo $ECHO_N "(cached) $ECHO_C" >&6
47821 else
47822   if test -n "$ac_ct_AR"; then
47823   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
47824 else
47825 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47826 for as_dir in $PATH
47827 do
47828   IFS=$as_save_IFS
47829   test -z "$as_dir" && as_dir=.
47830   for ac_exec_ext in '' $ac_executable_extensions; do
47831   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47832     ac_cv_prog_ac_ct_AR="ar"
47833     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47834     break 2
47835   fi
47836 done
47837 done
47838 IFS=$as_save_IFS
47839
47840 fi
47841 fi
47842 ac_ct_AR=$ac_cv_prog_ac_ct_AR
47843 if test -n "$ac_ct_AR"; then
47844   { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
47845 echo "${ECHO_T}$ac_ct_AR" >&6; }
47846 else
47847   { echo "$as_me:$LINENO: result: no" >&5
47848 echo "${ECHO_T}no" >&6; }
47849 fi
47850
47851   if test "x$ac_ct_AR" = x; then
47852     AR="ar"
47853   else
47854     case $cross_compiling:$ac_tool_warned in
47855 yes:)
47856 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47857 whose name does not start with the host triplet.  If you think this
47858 configuration is useful to you, please write to autoconf@gnu.org." >&5
47859 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47860 whose name does not start with the host triplet.  If you think this
47861 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47862 ac_tool_warned=yes ;;
47863 esac
47864     AR=$ac_ct_AR
47865   fi
47866 else
47867   AR="$ac_cv_prog_AR"
47868 fi
47869
47870         AROPTIONS=rcu
47871     fi
47872
47873
47874     if test -n "$ac_tool_prefix"; then
47875   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
47876 set dummy ${ac_tool_prefix}strip; ac_word=$2
47877 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47878 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47879 if test "${ac_cv_prog_STRIP+set}" = set; then
47880   echo $ECHO_N "(cached) $ECHO_C" >&6
47881 else
47882   if test -n "$STRIP"; then
47883   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
47884 else
47885 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47886 for as_dir in $PATH
47887 do
47888   IFS=$as_save_IFS
47889   test -z "$as_dir" && as_dir=.
47890   for ac_exec_ext in '' $ac_executable_extensions; do
47891   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47892     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
47893     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47894     break 2
47895   fi
47896 done
47897 done
47898 IFS=$as_save_IFS
47899
47900 fi
47901 fi
47902 STRIP=$ac_cv_prog_STRIP
47903 if test -n "$STRIP"; then
47904   { echo "$as_me:$LINENO: result: $STRIP" >&5
47905 echo "${ECHO_T}$STRIP" >&6; }
47906 else
47907   { echo "$as_me:$LINENO: result: no" >&5
47908 echo "${ECHO_T}no" >&6; }
47909 fi
47910
47911
47912 fi
47913 if test -z "$ac_cv_prog_STRIP"; then
47914   ac_ct_STRIP=$STRIP
47915   # Extract the first word of "strip", so it can be a program name with args.
47916 set dummy strip; ac_word=$2
47917 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47918 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47919 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
47920   echo $ECHO_N "(cached) $ECHO_C" >&6
47921 else
47922   if test -n "$ac_ct_STRIP"; then
47923   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
47924 else
47925 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47926 for as_dir in $PATH
47927 do
47928   IFS=$as_save_IFS
47929   test -z "$as_dir" && as_dir=.
47930   for ac_exec_ext in '' $ac_executable_extensions; do
47931   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47932     ac_cv_prog_ac_ct_STRIP="strip"
47933     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47934     break 2
47935   fi
47936 done
47937 done
47938 IFS=$as_save_IFS
47939
47940 fi
47941 fi
47942 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
47943 if test -n "$ac_ct_STRIP"; then
47944   { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
47945 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
47946 else
47947   { echo "$as_me:$LINENO: result: no" >&5
47948 echo "${ECHO_T}no" >&6; }
47949 fi
47950
47951   if test "x$ac_ct_STRIP" = x; then
47952     STRIP=":"
47953   else
47954     case $cross_compiling:$ac_tool_warned in
47955 yes:)
47956 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47957 whose name does not start with the host triplet.  If you think this
47958 configuration is useful to you, please write to autoconf@gnu.org." >&5
47959 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47960 whose name does not start with the host triplet.  If you think this
47961 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47962 ac_tool_warned=yes ;;
47963 esac
47964     STRIP=$ac_ct_STRIP
47965   fi
47966 else
47967   STRIP="$ac_cv_prog_STRIP"
47968 fi
47969
47970     if test -n "$ac_tool_prefix"; then
47971   # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
47972 set dummy ${ac_tool_prefix}nm; ac_word=$2
47973 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47974 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47975 if test "${ac_cv_prog_NM+set}" = set; then
47976   echo $ECHO_N "(cached) $ECHO_C" >&6
47977 else
47978   if test -n "$NM"; then
47979   ac_cv_prog_NM="$NM" # Let the user override the test.
47980 else
47981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47982 for as_dir in $PATH
47983 do
47984   IFS=$as_save_IFS
47985   test -z "$as_dir" && as_dir=.
47986   for ac_exec_ext in '' $ac_executable_extensions; do
47987   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47988     ac_cv_prog_NM="${ac_tool_prefix}nm"
47989     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47990     break 2
47991   fi
47992 done
47993 done
47994 IFS=$as_save_IFS
47995
47996 fi
47997 fi
47998 NM=$ac_cv_prog_NM
47999 if test -n "$NM"; then
48000   { echo "$as_me:$LINENO: result: $NM" >&5
48001 echo "${ECHO_T}$NM" >&6; }
48002 else
48003   { echo "$as_me:$LINENO: result: no" >&5
48004 echo "${ECHO_T}no" >&6; }
48005 fi
48006
48007
48008 fi
48009 if test -z "$ac_cv_prog_NM"; then
48010   ac_ct_NM=$NM
48011   # Extract the first word of "nm", so it can be a program name with args.
48012 set dummy nm; ac_word=$2
48013 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48014 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48015 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
48016   echo $ECHO_N "(cached) $ECHO_C" >&6
48017 else
48018   if test -n "$ac_ct_NM"; then
48019   ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
48020 else
48021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48022 for as_dir in $PATH
48023 do
48024   IFS=$as_save_IFS
48025   test -z "$as_dir" && as_dir=.
48026   for ac_exec_ext in '' $ac_executable_extensions; do
48027   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48028     ac_cv_prog_ac_ct_NM="nm"
48029     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48030     break 2
48031   fi
48032 done
48033 done
48034 IFS=$as_save_IFS
48035
48036 fi
48037 fi
48038 ac_ct_NM=$ac_cv_prog_ac_ct_NM
48039 if test -n "$ac_ct_NM"; then
48040   { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
48041 echo "${ECHO_T}$ac_ct_NM" >&6; }
48042 else
48043   { echo "$as_me:$LINENO: result: no" >&5
48044 echo "${ECHO_T}no" >&6; }
48045 fi
48046
48047   if test "x$ac_ct_NM" = x; then
48048     NM=":"
48049   else
48050     case $cross_compiling:$ac_tool_warned in
48051 yes:)
48052 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48053 whose name does not start with the host triplet.  If you think this
48054 configuration is useful to you, please write to autoconf@gnu.org." >&5
48055 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48056 whose name does not start with the host triplet.  If you think this
48057 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48058 ac_tool_warned=yes ;;
48059 esac
48060     NM=$ac_ct_NM
48061   fi
48062 else
48063   NM="$ac_cv_prog_NM"
48064 fi
48065
48066
48067             { echo "$as_me:$LINENO: checking for command to install directories" >&5
48068 echo $ECHO_N "checking for command to install directories... $ECHO_C" >&6; }
48069     INSTALL_TEST_DIR=acbftest$$
48070     $INSTALL -d $INSTALL_TEST_DIR > /dev/null 2>&1
48071     if test $? = 0 -a -d $INSTALL_TEST_DIR; then
48072         rmdir $INSTALL_TEST_DIR
48073                         INSTALL_DIR='$(INSTALL) -d'
48074         { echo "$as_me:$LINENO: result: $INSTALL -d" >&5
48075 echo "${ECHO_T}$INSTALL -d" >&6; }
48076     else
48077         INSTALL_DIR="mkdir -p"
48078         { echo "$as_me:$LINENO: result: mkdir -p" >&5
48079 echo "${ECHO_T}mkdir -p" >&6; }
48080     fi
48081
48082
48083     LDFLAGS_GUI=
48084     case ${BAKEFILE_HOST} in
48085         *-*-cygwin* | *-*-mingw32* )
48086         LDFLAGS_GUI="-mwindows"
48087     esac
48088
48089
48090     fi
48091
48092         { echo "$as_me:$LINENO: checking if make is GNU make" >&5
48093 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
48094 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
48095   echo $ECHO_N "(cached) $ECHO_C" >&6
48096 else
48097
48098         if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
48099                 egrep -s GNU > /dev/null); then
48100             bakefile_cv_prog_makeisgnu="yes"
48101         else
48102             bakefile_cv_prog_makeisgnu="no"
48103         fi
48104
48105 fi
48106 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
48107 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
48108
48109     if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
48110         IF_GNU_MAKE=""
48111     else
48112         IF_GNU_MAKE="#"
48113     fi
48114
48115
48116
48117     PLATFORM_UNIX=0
48118     PLATFORM_WIN32=0
48119     PLATFORM_MSDOS=0
48120     PLATFORM_MAC=0
48121     PLATFORM_MACOS=0
48122     PLATFORM_MACOSX=0
48123     PLATFORM_OS2=0
48124     PLATFORM_BEOS=0
48125
48126     if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
48127         case "${BAKEFILE_HOST}" in
48128             *-*-mingw32* )
48129                 PLATFORM_WIN32=1
48130             ;;
48131             *-pc-msdosdjgpp )
48132                 PLATFORM_MSDOS=1
48133             ;;
48134             *-pc-os2_emx | *-pc-os2-emx )
48135                 PLATFORM_OS2=1
48136             ;;
48137             *-*-darwin* )
48138                 PLATFORM_MAC=1
48139                 PLATFORM_MACOSX=1
48140             ;;
48141             *-*-beos* )
48142                 PLATFORM_BEOS=1
48143             ;;
48144             powerpc-apple-macos* )
48145                 PLATFORM_MAC=1
48146                 PLATFORM_MACOS=1
48147             ;;
48148             * )
48149                 PLATFORM_UNIX=1
48150             ;;
48151         esac
48152     else
48153         case "$BAKEFILE_FORCE_PLATFORM" in
48154             win32 )
48155                 PLATFORM_WIN32=1
48156             ;;
48157             msdos )
48158                 PLATFORM_MSDOS=1
48159             ;;
48160             os2 )
48161                 PLATFORM_OS2=1
48162             ;;
48163             darwin )
48164                 PLATFORM_MAC=1
48165                 PLATFORM_MACOSX=1
48166             ;;
48167             unix )
48168                 PLATFORM_UNIX=1
48169             ;;
48170             beos )
48171                 PLATFORM_BEOS=1
48172             ;;
48173             * )
48174                                             ;;
48175         esac
48176     fi
48177
48178
48179
48180
48181
48182
48183
48184
48185
48186
48187
48188     # Check whether --enable-omf was given.
48189 if test "${enable_omf+set}" = set; then
48190   enableval=$enable_omf; bk_os2_use_omf="$enableval"
48191 fi
48192
48193
48194     case "${BAKEFILE_HOST}" in
48195       *-*-darwin* )
48196                         if test "x$GCC" = "xyes"; then
48197             CFLAGS="$CFLAGS -fno-common"
48198             CXXFLAGS="$CXXFLAGS -fno-common"
48199         fi
48200         if test "x$XLCC" = "xyes"; then
48201             CFLAGS="$CFLAGS -qnocommon"
48202             CXXFLAGS="$CXXFLAGS -qnocommon"
48203         fi
48204         ;;
48205
48206       *-pc-os2_emx | *-pc-os2-emx )
48207         if test "x$bk_os2_use_omf" = "xyes" ; then
48208             AR=emxomfar
48209             RANLIB=:
48210             LDFLAGS="-Zomf $LDFLAGS"
48211             CFLAGS="-Zomf $CFLAGS"
48212             CXXFLAGS="-Zomf $CXXFLAGS"
48213             OS2_LIBEXT="lib"
48214         else
48215             OS2_LIBEXT="a"
48216         fi
48217         ;;
48218
48219       i*86-*-beos* )
48220         LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
48221         ;;
48222     esac
48223
48224
48225     SO_SUFFIX="so"
48226     SO_SUFFIX_MODULE="so"
48227     EXEEXT=""
48228     LIBPREFIX="lib"
48229     LIBEXT=".a"
48230     DLLPREFIX="lib"
48231     DLLPREFIX_MODULE=""
48232     DLLIMP_SUFFIX=""
48233     dlldir="$libdir"
48234
48235     case "${BAKEFILE_HOST}" in
48236                         ia64-hp-hpux* )
48237         ;;
48238         *-hp-hpux* )
48239             SO_SUFFIX="sl"
48240             SO_SUFFIX_MODULE="sl"
48241         ;;
48242         *-*-aix* )
48243                                                                         SO_SUFFIX="a"
48244             SO_SUFFIX_MODULE="a"
48245         ;;
48246         *-*-cygwin* )
48247             SO_SUFFIX="dll"
48248             SO_SUFFIX_MODULE="dll"
48249             DLLIMP_SUFFIX="dll.a"
48250             EXEEXT=".exe"
48251             DLLPREFIX="cyg"
48252             dlldir="$bindir"
48253         ;;
48254         *-*-mingw32* )
48255             SO_SUFFIX="dll"
48256             SO_SUFFIX_MODULE="dll"
48257             DLLIMP_SUFFIX="dll.a"
48258             EXEEXT=".exe"
48259             DLLPREFIX=""
48260             dlldir="$bindir"
48261         ;;
48262         *-pc-msdosdjgpp )
48263             EXEEXT=".exe"
48264             DLLPREFIX=""
48265             dlldir="$bindir"
48266         ;;
48267         *-pc-os2_emx | *-pc-os2-emx )
48268             SO_SUFFIX="dll"
48269             SO_SUFFIX_MODULE="dll"
48270             DLLIMP_SUFFIX=$OS2_LIBEXT
48271             EXEEXT=".exe"
48272             DLLPREFIX=""
48273             LIBPREFIX=""
48274             LIBEXT=".$OS2_LIBEXT"
48275             dlldir="$bindir"
48276         ;;
48277         *-*-darwin* )
48278             SO_SUFFIX="dylib"
48279             SO_SUFFIX_MODULE="bundle"
48280         ;;
48281     esac
48282
48283     if test "x$DLLIMP_SUFFIX" = "x" ; then
48284         DLLIMP_SUFFIX="$SO_SUFFIX"
48285     fi
48286
48287
48288
48289
48290
48291
48292
48293
48294
48295
48296
48297
48298         PIC_FLAG=""
48299     if test "x$GCC" = "xyes"; then
48300                 PIC_FLAG="-fPIC"
48301     fi
48302
48303         SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
48304     SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
48305     WINDOWS_IMPLIB=0
48306
48307     case "${BAKEFILE_HOST}" in
48308       *-hp-hpux* )
48309                 if test "x$GCC" != "xyes"; then
48310                         LDFLAGS="$LDFLAGS -L/usr/lib"
48311
48312             SHARED_LD_CC="${CC} -b -o"
48313             SHARED_LD_CXX="${CXX} -b -o"
48314             PIC_FLAG="+Z"
48315         fi
48316       ;;
48317
48318       *-*-linux* )
48319                         if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
48320             PIC_FLAG="-KPIC"
48321         elif test "x$SUNCXX" = "xyes"; then
48322             SHARED_LD_CC="${CC} -G -o"
48323             SHARED_LD_CXX="${CXX} -G -o"
48324             PIC_FLAG="-KPIC"
48325         fi
48326       ;;
48327
48328       *-*-solaris2* )
48329         if test "x$SUNCXX" = xyes ; then
48330             SHARED_LD_CC="${CC} -G -o"
48331             SHARED_LD_CXX="${CXX} -G -o"
48332             PIC_FLAG="-KPIC"
48333         fi
48334       ;;
48335
48336       *-*-darwin* )
48337
48338 D='$'
48339 cat <<EOF >shared-ld-sh
48340 #!/bin/sh
48341 #-----------------------------------------------------------------------------
48342 #-- Name:        distrib/mac/shared-ld-sh
48343 #-- Purpose:     Link a mach-o dynamic shared library for Darwin / Mac OS X
48344 #-- Author:      Gilles Depeyrot
48345 #-- Copyright:   (c) 2002 Gilles Depeyrot
48346 #-- Licence:     any use permitted
48347 #-----------------------------------------------------------------------------
48348
48349 verbose=0
48350 args=""
48351 objects=""
48352 linking_flag="-dynamiclib"
48353 ldargs="-r -keep_private_externs -nostdlib"
48354
48355 if test "x${D}CXX" = "x"; then
48356     CXX="c++"
48357 fi
48358
48359 while test ${D}# -gt 0; do
48360     case ${D}1 in
48361
48362        -v)
48363         verbose=1
48364         ;;
48365
48366        -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
48367         # collect these options and values
48368         args="${D}{args} ${D}1 ${D}2"
48369         shift
48370         ;;
48371
48372        -arch|-isysroot)
48373         # collect these options and values
48374         ldargs="${D}{ldargs} ${D}1 ${D}2"
48375         shift
48376         ;;
48377
48378        -s|-Wl,*)
48379         # collect these load args
48380         ldargs="${D}{ldargs} ${D}1"
48381         ;;
48382
48383        -l*|-L*|-flat_namespace|-headerpad_max_install_names)
48384         # collect these options
48385         args="${D}{args} ${D}1"
48386         ;;
48387
48388        -dynamiclib|-bundle)
48389         linking_flag="${D}1"
48390         ;;
48391
48392        -*)
48393         echo "shared-ld: unhandled option '${D}1'"
48394         exit 1
48395         ;;
48396
48397         *.o | *.a | *.dylib)
48398         # collect object files
48399         objects="${D}{objects} ${D}1"
48400         ;;
48401
48402         *)
48403         echo "shared-ld: unhandled argument '${D}1'"
48404         exit 1
48405         ;;
48406
48407     esac
48408     shift
48409 done
48410
48411 status=0
48412
48413 #
48414 # Link one module containing all the others
48415 #
48416 if test ${D}{verbose} = 1; then
48417     echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
48418 fi
48419 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
48420 status=${D}?
48421
48422 #
48423 # Link the shared library from the single module created, but only if the
48424 # previous command didn't fail:
48425 #
48426 if test ${D}{status} = 0; then
48427     if test ${D}{verbose} = 1; then
48428         echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
48429     fi
48430     ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
48431     status=${D}?
48432 fi
48433
48434 #
48435 # Remove intermediate module
48436 #
48437 rm -f master.${D}${D}.o
48438
48439 exit ${D}status
48440 EOF
48441
48442         chmod +x shared-ld-sh
48443
48444         SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
48445         SHARED_LD_MODULE_CXX="CXX=\$(CXX) $SHARED_LD_MODULE_CC"
48446
48447
48448                                 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
48449 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
48450 if test "${bakefile_cv_gcc31+set}" = set; then
48451   echo $ECHO_N "(cached) $ECHO_C" >&6
48452 else
48453
48454            cat >conftest.$ac_ext <<_ACEOF
48455 /* confdefs.h.  */
48456 _ACEOF
48457 cat confdefs.h >>conftest.$ac_ext
48458 cat >>conftest.$ac_ext <<_ACEOF
48459 /* end confdefs.h.  */
48460
48461 int
48462 main ()
48463 {
48464
48465                    #if (__GNUC__ < 3) || \
48466                        ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
48467                        This is old gcc
48468                    #endif
48469
48470   ;
48471   return 0;
48472 }
48473 _ACEOF
48474 rm -f conftest.$ac_objext
48475 if { (ac_try="$ac_compile"
48476 case "(($ac_try" in
48477   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48478   *) ac_try_echo=$ac_try;;
48479 esac
48480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48481   (eval "$ac_compile") 2>conftest.er1
48482   ac_status=$?
48483   grep -v '^ *+' conftest.er1 >conftest.err
48484   rm -f conftest.er1
48485   cat conftest.err >&5
48486   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48487   (exit $ac_status); } && {
48488          test -z "$ac_c_werror_flag" ||
48489          test ! -s conftest.err
48490        } && test -s conftest.$ac_objext; then
48491
48492                    bakefile_cv_gcc31=yes
48493
48494 else
48495   echo "$as_me: failed program was:" >&5
48496 sed 's/^/| /' conftest.$ac_ext >&5
48497
48498
48499                    bakefile_cv_gcc31=no
48500
48501
48502 fi
48503
48504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48505
48506 fi
48507 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
48508 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
48509         if test "$bakefile_cv_gcc31" = "no"; then
48510                         SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
48511             SHARED_LD_CXX="$SHARED_LD_CC"
48512         else
48513                         SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
48514             SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
48515         fi
48516
48517         if test "x$GCC" == "xyes"; then
48518             PIC_FLAG="-dynamic -fPIC"
48519         fi
48520         if test "x$XLCC" = "xyes"; then
48521             PIC_FLAG="-dynamic -DPIC"
48522         fi
48523       ;;
48524
48525       *-*-aix* )
48526         if test "x$GCC" = "xyes"; then
48527                                                             PIC_FLAG=""
48528
48529                                                                                     case "${BAKEFILE_HOST}" in
48530                 *-*-aix5* )
48531                     LD_EXPFULL="-Wl,-bexpfull"
48532                     ;;
48533             esac
48534
48535             SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
48536             SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
48537         else
48538                                     # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
48539 set dummy makeC++SharedLib; ac_word=$2
48540 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48541 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48542 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
48543   echo $ECHO_N "(cached) $ECHO_C" >&6
48544 else
48545   if test -n "$AIX_CXX_LD"; then
48546   ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
48547 else
48548 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48549 for as_dir in $PATH
48550 do
48551   IFS=$as_save_IFS
48552   test -z "$as_dir" && as_dir=.
48553   for ac_exec_ext in '' $ac_executable_extensions; do
48554   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48555     ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
48556     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48557     break 2
48558   fi
48559 done
48560 done
48561 IFS=$as_save_IFS
48562
48563   test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
48564 fi
48565 fi
48566 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
48567 if test -n "$AIX_CXX_LD"; then
48568   { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
48569 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
48570 else
48571   { echo "$as_me:$LINENO: result: no" >&5
48572 echo "${ECHO_T}no" >&6; }
48573 fi
48574
48575
48576             SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
48577             SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
48578         fi
48579       ;;
48580
48581       *-*-beos* )
48582                         SHARED_LD_CC="${LD} -nostart -o"
48583         SHARED_LD_CXX="${LD} -nostart -o"
48584       ;;
48585
48586       *-*-irix* )
48587                 if test "x$GCC" != "xyes"; then
48588             PIC_FLAG="-KPIC"
48589         fi
48590       ;;
48591
48592       *-*-cygwin* | *-*-mingw32* )
48593         PIC_FLAG=""
48594         SHARED_LD_CC="\$(CC) -shared -o"
48595         SHARED_LD_CXX="\$(CXX) -shared -o"
48596         WINDOWS_IMPLIB=1
48597       ;;
48598
48599       *-pc-os2_emx | *-pc-os2-emx )
48600         SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48601         SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48602         PIC_FLAG=""
48603
48604 D='$'
48605 cat <<EOF >dllar.sh
48606 #!/bin/sh
48607 #
48608 # dllar - a tool to build both a .dll and an .a file
48609 # from a set of object (.o) files for EMX/OS2.
48610 #
48611 #  Written by Andrew Zabolotny, bit@freya.etu.ru
48612 #  Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
48613 #
48614 #  This script will accept a set of files on the command line.
48615 #  All the public symbols from the .o files will be exported into
48616 #  a .DEF file, then linker will be run (through gcc) against them to
48617 #  build a shared library consisting of all given .o files. All libraries
48618 #  (.a) will be first decompressed into component .o files then act as
48619 #  described above. You can optionally give a description (-d "description")
48620 #  which will be put into .DLL. To see the list of accepted options (as well
48621 #  as command-line format) simply run this program without options. The .DLL
48622 #  is built to be imported by name (there is no guarantee that new versions
48623 #  of the library you build will have same ordinals for same symbols).
48624 #
48625 #  dllar is free software; you can redistribute it and/or modify
48626 #  it under the terms of the GNU General Public License as published by
48627 #  the Free Software Foundation; either version 2, or (at your option)
48628 #  any later version.
48629 #
48630 #  dllar is distributed in the hope that it will be useful,
48631 #  but WITHOUT ANY WARRANTY; without even the implied warranty of
48632 #  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
48633 #  GNU General Public License for more details.
48634 #
48635 #  You should have received a copy of the GNU General Public License
48636 #  along with dllar; see the file COPYING.  If not, write to the Free
48637 #  Software Foundation, 59 Temple Place - Suite 330, Boston, MA
48638 #  02111-1307, USA.
48639
48640 # To successfuly run this program you will need:
48641 #  - Current drive should have LFN support (HPFS, ext2, network, etc)
48642 #    (Sometimes dllar generates filenames which won't fit 8.3 scheme)
48643 #  - gcc
48644 #    (used to build the .dll)
48645 #  - emxexp
48646 #    (used to create .def file from .o files)
48647 #  - emximp
48648 #    (used to create .a file from .def file)
48649 #  - GNU text utilites (cat, sort, uniq)
48650 #    used to process emxexp output
48651 #  - GNU file utilities (mv, rm)
48652 #  - GNU sed
48653 #  - lxlite (optional, see flag below)
48654 #    (used for general .dll cleanup)
48655 #
48656
48657 flag_USE_LXLITE=1;
48658
48659 #
48660 # helper functions
48661 # basnam, variant of basename, which does _not_ remove the path, _iff_
48662 #                              second argument (suffix to remove) is given
48663 basnam(){
48664     case ${D}# in
48665     1)
48666         echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
48667         ;;
48668     2)
48669         echo ${D}1 | sed 's/'${D}2'${D}//'
48670         ;;
48671     *)
48672         echo "error in basnam ${D}*"
48673         exit 8
48674         ;;
48675     esac
48676 }
48677
48678 # Cleanup temporary files and output
48679 CleanUp() {
48680     cd ${D}curDir
48681     for i in ${D}inputFiles ; do
48682         case ${D}i in
48683         *!)
48684             rm -rf \`basnam ${D}i !\`
48685             ;;
48686         *)
48687             ;;
48688         esac
48689     done
48690
48691     # Kill result in case of failure as there is just to many stupid make/nmake
48692     # things out there which doesn't do this.
48693     if [ ${D}# -eq 0 ]; then
48694         rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
48695     fi
48696 }
48697
48698 # Print usage and exit script with rc=1.
48699 PrintHelp() {
48700  echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
48701  echo '       [-name-mangler-script script.sh]'
48702  echo '       [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
48703  echo '       [-ord[inals]] -ex[clude] "symbol(s)"'
48704  echo '       [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
48705  echo '       [*.o] [*.a]'
48706  echo '*> "output_file" should have no extension.'
48707  echo '   If it has the .o, .a or .dll extension, it is automatically removed.'
48708  echo '   The import library name is derived from this and is set to "name".a,'
48709  echo '   unless overridden by -import'
48710  echo '*> "importlib_name" should have no extension.'
48711  echo '   If it has the .o, or .a extension, it is automatically removed.'
48712  echo '   This name is used as the import library name and may be longer and'
48713  echo '   more descriptive than the DLL name which has to follow the old '
48714  echo '   8.3 convention of FAT.'
48715  echo '*> "script.sh may be given to override the output_file name by a'
48716  echo '   different name. It is mainly useful if the regular make process'
48717  echo '   of some package does not take into account OS/2 restriction of'
48718  echo '   DLL name lengths. It takes the importlib name as input and is'
48719  echo '   supposed to procude a shorter name as output. The script should'
48720  echo '   expect to get importlib_name without extension and should produce'
48721  echo '   a (max.) 8 letter name without extension.'
48722  echo '*> "cc" is used to use another GCC executable.   (default: gcc.exe)'
48723  echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
48724  echo '   These flags will be put at the start of GCC command line.'
48725  echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
48726  echo '*> -ex[clude] defines symbols which will not be exported. You can define'
48727  echo '   multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
48728  echo '   If the last character of a symbol is "*", all symbols beginning'
48729  echo '   with the prefix before "*" will be exclude, (see _GLOBAL* above).'
48730  echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
48731  echo '   TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
48732  echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
48733  echo '   C runtime DLLs.'
48734  echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
48735  echo '*> All other switches (for example -L./ or -lmylib) will be passed'
48736  echo '   unchanged to GCC at the end of command line.'
48737  echo '*> If you create a DLL from a library and you do not specify -o,'
48738  echo '   the basename for DLL and import library will be set to library name,'
48739  echo '   the initial library will be renamed to 'name'_s.a (_s for static)'
48740  echo '   i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
48741  echo '   library will be renamed into gcc_s.a.'
48742  echo '--------'
48743  echo 'Example:'
48744  echo '   dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
48745  echo '    -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
48746  CleanUp
48747  exit 1
48748 }
48749
48750 # Execute a command.
48751 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
48752 # @Uses    Whatever CleanUp() uses.
48753 doCommand() {
48754     echo "${D}*"
48755     eval ${D}*
48756     rcCmd=${D}?
48757
48758     if [ ${D}rcCmd -ne 0 ]; then
48759         echo "command failed, exit code="${D}rcCmd
48760         CleanUp
48761         exit ${D}rcCmd
48762     fi
48763 }
48764
48765 # main routine
48766 # setup globals
48767 cmdLine=${D}*
48768 outFile=""
48769 outimpFile=""
48770 inputFiles=""
48771 renameScript=""
48772 description=""
48773 CC=gcc.exe
48774 CFLAGS="-s -Zcrtdll"
48775 EXTRA_CFLAGS=""
48776 EXPORT_BY_ORDINALS=0
48777 exclude_symbols=""
48778 library_flags=""
48779 curDir=\`pwd\`
48780 curDirS=curDir
48781 case ${D}curDirS in
48782 */)
48783   ;;
48784 *)
48785   curDirS=${D}{curDirS}"/"
48786   ;;
48787 esac
48788 # Parse commandline
48789 libsToLink=0
48790 omfLinking=0
48791 while [ ${D}1 ]; do
48792     case ${D}1 in
48793     -ord*)
48794         EXPORT_BY_ORDINALS=1;
48795         ;;
48796     -o*)
48797         shift
48798         outFile=${D}1
48799         ;;
48800     -i*)
48801         shift
48802         outimpFile=${D}1
48803         ;;
48804     -name-mangler-script)
48805         shift
48806         renameScript=${D}1
48807         ;;
48808     -d*)
48809         shift
48810         description=${D}1
48811         ;;
48812     -f*)
48813         shift
48814         CFLAGS=${D}1
48815         ;;
48816     -c*)
48817         shift
48818         CC=${D}1
48819         ;;
48820     -h*)
48821         PrintHelp
48822         ;;
48823     -ex*)
48824         shift
48825         exclude_symbols=${D}{exclude_symbols}${D}1" "
48826         ;;
48827     -libf*)
48828         shift
48829         library_flags=${D}{library_flags}${D}1" "
48830         ;;
48831     -nocrt*)
48832         CFLAGS="-s"
48833         ;;
48834     -nolxl*)
48835         flag_USE_LXLITE=0
48836         ;;
48837     -* | /*)
48838         case ${D}1 in
48839         -L* | -l*)
48840             libsToLink=1
48841             ;;
48842         -Zomf)
48843             omfLinking=1
48844             ;;
48845         *)
48846             ;;
48847         esac
48848         EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48849         ;;
48850     *.dll)
48851         EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
48852         if [ ${D}omfLinking -eq 1 ]; then
48853             EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
48854         else
48855             EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
48856         fi
48857         ;;
48858     *)
48859         found=0;
48860         if [ ${D}libsToLink -ne 0 ]; then
48861             EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48862         else
48863             for file in ${D}1 ; do
48864                 if [ -f ${D}file ]; then
48865                     inputFiles="${D}{inputFiles} ${D}file"
48866                     found=1
48867                 fi
48868             done
48869             if [ ${D}found -eq 0 ]; then
48870                 echo "ERROR: No file(s) found: "${D}1
48871                 exit 8
48872             fi
48873         fi
48874       ;;
48875     esac
48876     shift
48877 done # iterate cmdline words
48878
48879 #
48880 if [ -z "${D}inputFiles" ]; then
48881     echo "dllar: no input files"
48882     PrintHelp
48883 fi
48884
48885 # Now extract all .o files from .a files
48886 newInputFiles=""
48887 for file in ${D}inputFiles ; do
48888     case ${D}file in
48889     *.a | *.lib)
48890         case ${D}file in
48891         *.a)
48892             suffix=".a"
48893             AR="ar"
48894             ;;
48895         *.lib)
48896             suffix=".lib"
48897             AR="emxomfar"
48898             EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
48899             ;;
48900         *)
48901             ;;
48902         esac
48903         dirname=\`basnam ${D}file ${D}suffix\`"_%"
48904         mkdir ${D}dirname
48905         if [ ${D}? -ne 0 ]; then
48906             echo "Failed to create subdirectory ./${D}dirname"
48907             CleanUp
48908             exit 8;
48909         fi
48910         # Append '!' to indicate archive
48911         newInputFiles="${D}newInputFiles ${D}{dirname}!"
48912         doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
48913         cd ${D}curDir
48914         found=0;
48915         for subfile in ${D}dirname/*.o* ; do
48916             if [ -f ${D}subfile ]; then
48917                 found=1
48918                 if [ -s ${D}subfile ]; then
48919                     # FIXME: This should be: is file size > 32 byte, _not_ > 0!
48920                     newInputFiles="${D}newInputFiles ${D}subfile"
48921                 fi
48922             fi
48923         done
48924         if [ ${D}found -eq 0 ]; then
48925             echo "WARNING: there are no files in archive \\'${D}file\\'"
48926         fi
48927         ;;
48928     *)
48929         newInputFiles="${D}{newInputFiles} ${D}file"
48930         ;;
48931     esac
48932 done
48933 inputFiles="${D}newInputFiles"
48934
48935 # Output filename(s).
48936 do_backup=0;
48937 if [ -z ${D}outFile ]; then
48938     do_backup=1;
48939     set outFile ${D}inputFiles; outFile=${D}2
48940 fi
48941
48942 # If it is an archive, remove the '!' and the '_%' suffixes
48943 case ${D}outFile in
48944 *_%!)
48945     outFile=\`basnam ${D}outFile _%!\`
48946     ;;
48947 *)
48948     ;;
48949 esac
48950 case ${D}outFile in
48951 *.dll)
48952     outFile=\`basnam ${D}outFile .dll\`
48953     ;;
48954 *.DLL)
48955     outFile=\`basnam ${D}outFile .DLL\`
48956     ;;
48957 *.o)
48958     outFile=\`basnam ${D}outFile .o\`
48959     ;;
48960 *.obj)
48961     outFile=\`basnam ${D}outFile .obj\`
48962     ;;
48963 *.a)
48964     outFile=\`basnam ${D}outFile .a\`
48965     ;;
48966 *.lib)
48967     outFile=\`basnam ${D}outFile .lib\`
48968     ;;
48969 *)
48970     ;;
48971 esac
48972 case ${D}outimpFile in
48973 *.a)
48974     outimpFile=\`basnam ${D}outimpFile .a\`
48975     ;;
48976 *.lib)
48977     outimpFile=\`basnam ${D}outimpFile .lib\`
48978     ;;
48979 *)
48980     ;;
48981 esac
48982 if [ -z ${D}outimpFile ]; then
48983     outimpFile=${D}outFile
48984 fi
48985 defFile="${D}{outFile}.def"
48986 arcFile="${D}{outimpFile}.a"
48987 arcFile2="${D}{outimpFile}.lib"
48988
48989 #create ${D}dllFile as something matching 8.3 restrictions,
48990 if [ -z ${D}renameScript ] ; then
48991     dllFile="${D}outFile"
48992 else
48993     dllFile=\`${D}renameScript ${D}outimpFile\`
48994 fi
48995
48996 if [ ${D}do_backup -ne 0 ] ; then
48997     if [ -f ${D}arcFile ] ; then
48998         doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
48999     fi
49000     if [ -f ${D}arcFile2 ] ; then
49001         doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
49002     fi
49003 fi
49004
49005 # Extract public symbols from all the object files.
49006 tmpdefFile=${D}{defFile}_%
49007 rm -f ${D}tmpdefFile
49008 for file in ${D}inputFiles ; do
49009     case ${D}file in
49010     *!)
49011         ;;
49012     *)
49013         doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
49014         ;;
49015     esac
49016 done
49017
49018 # Create the def file.
49019 rm -f ${D}defFile
49020 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
49021 dllFile="${D}{dllFile}.dll"
49022 if [ ! -z ${D}description ]; then
49023     echo "DESCRIPTION  \\"${D}{description}\\"" >> ${D}defFile
49024 fi
49025 echo "EXPORTS" >> ${D}defFile
49026
49027 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
49028 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
49029
49030 # Checks if the export is ok or not.
49031 for word in ${D}exclude_symbols; do
49032     grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
49033     mv ${D}{tmpdefFile}% ${D}tmpdefFile
49034 done
49035
49036
49037 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
49038     sed "=" < ${D}tmpdefFile | \\
49039     sed '
49040       N
49041       : loop
49042       s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
49043       t loop
49044     ' > ${D}{tmpdefFile}%
49045     grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
49046 else
49047     rm -f ${D}{tmpdefFile}%
49048 fi
49049 cat ${D}tmpdefFile >> ${D}defFile
49050 rm -f ${D}tmpdefFile
49051
49052 # Do linking, create implib, and apply lxlite.
49053 gccCmdl="";
49054 for file in ${D}inputFiles ; do
49055     case ${D}file in
49056     *!)
49057         ;;
49058     *)
49059         gccCmdl="${D}gccCmdl ${D}file"
49060         ;;
49061     esac
49062 done
49063 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
49064 touch "${D}{outFile}.dll"
49065
49066 doCommand "emximp -o ${D}arcFile ${D}defFile"
49067 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
49068     add_flags="";
49069     if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
49070         add_flags="-ynd"
49071     fi
49072     doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
49073 fi
49074 doCommand "emxomf -s -l ${D}arcFile"
49075
49076 # Successful exit.
49077 CleanUp 1
49078 exit 0
49079 EOF
49080
49081         chmod +x dllar.sh
49082       ;;
49083
49084       powerpc-apple-macos* | \
49085       *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
49086       *-*-mirbsd* | \
49087       *-*-sunos4* | \
49088       *-*-osf* | \
49089       *-*-dgux5* | \
49090       *-*-sysv5* | \
49091       *-pc-msdosdjgpp )
49092               ;;
49093
49094       *)
49095         { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
49096 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
49097    { (exit 1); exit 1; }; }
49098     esac
49099
49100     if test "x$PIC_FLAG" != "x" ; then
49101         PIC_FLAG="$PIC_FLAG -DPIC"
49102     fi
49103
49104     if test "x$SHARED_LD_MODULE_CC" = "x" ; then
49105         SHARED_LD_MODULE_CC="$SHARED_LD_CC"
49106     fi
49107     if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
49108         SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
49109     fi
49110
49111
49112
49113
49114
49115
49116
49117
49118
49119     USE_SOVERSION=0
49120     USE_SOVERLINUX=0
49121     USE_SOVERSOLARIS=0
49122     USE_SOVERCYGWIN=0
49123     USE_SOSYMLINKS=0
49124     USE_MACVERSION=0
49125     SONAME_FLAG=
49126
49127     case "${BAKEFILE_HOST}" in
49128       *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
49129       *-*-k*bsd*-gnu | *-*-mirbsd* )
49130         if test "x$SUNCXX" = "xyes"; then
49131             SONAME_FLAG="-h "
49132         else
49133             SONAME_FLAG="-Wl,-soname,"
49134         fi
49135         USE_SOVERSION=1
49136         USE_SOVERLINUX=1
49137         USE_SOSYMLINKS=1
49138       ;;
49139
49140       *-*-solaris2* )
49141         SONAME_FLAG="-h "
49142         USE_SOVERSION=1
49143         USE_SOVERSOLARIS=1
49144         USE_SOSYMLINKS=1
49145       ;;
49146
49147       *-*-darwin* )
49148         USE_MACVERSION=1
49149         USE_SOVERSION=1
49150         USE_SOSYMLINKS=1
49151       ;;
49152
49153       *-*-cygwin* )
49154         USE_SOVERSION=1
49155         USE_SOVERCYGWIN=1
49156       ;;
49157     esac
49158
49159
49160
49161
49162
49163
49164
49165
49166
49167
49168     # Check whether --enable-dependency-tracking was given.
49169 if test "${enable_dependency_tracking+set}" = set; then
49170   enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
49171 fi
49172
49173
49174     { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
49175 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
49176
49177     BK_DEPS=""
49178     if test "x$bk_use_trackdeps" = "xno" ; then
49179         DEPS_TRACKING=0
49180         { echo "$as_me:$LINENO: result: disabled" >&5
49181 echo "${ECHO_T}disabled" >&6; }
49182     else
49183         DEPS_TRACKING=1
49184
49185         if test "x$GCC" = "xyes"; then
49186             DEPSMODE=gcc
49187             case "${BAKEFILE_HOST}" in
49188                 *-*-darwin* )
49189                                                             DEPSFLAG="-no-cpp-precomp -MMD"
49190                 ;;
49191                 * )
49192                     DEPSFLAG="-MMD"
49193                 ;;
49194             esac
49195             { echo "$as_me:$LINENO: result: gcc" >&5
49196 echo "${ECHO_T}gcc" >&6; }
49197         elif test "x$MWCC" = "xyes"; then
49198             DEPSMODE=mwcc
49199             DEPSFLAG="-MM"
49200             { echo "$as_me:$LINENO: result: mwcc" >&5
49201 echo "${ECHO_T}mwcc" >&6; }
49202         elif test "x$SUNCC" = "xyes"; then
49203             DEPSMODE=unixcc
49204             DEPSFLAG="-xM1"
49205             { echo "$as_me:$LINENO: result: Sun cc" >&5
49206 echo "${ECHO_T}Sun cc" >&6; }
49207         elif test "x$SGICC" = "xyes"; then
49208             DEPSMODE=unixcc
49209             DEPSFLAG="-M"
49210             { echo "$as_me:$LINENO: result: SGI cc" >&5
49211 echo "${ECHO_T}SGI cc" >&6; }
49212         elif test "x$HPCC" = "xyes"; then
49213             DEPSMODE=unixcc
49214             DEPSFLAG="+make"
49215             { echo "$as_me:$LINENO: result: HP cc" >&5
49216 echo "${ECHO_T}HP cc" >&6; }
49217         elif test "x$COMPAQCC" = "xyes"; then
49218             DEPSMODE=gcc
49219             DEPSFLAG="-MD"
49220             { echo "$as_me:$LINENO: result: Compaq cc" >&5
49221 echo "${ECHO_T}Compaq cc" >&6; }
49222         else
49223             DEPS_TRACKING=0
49224             { echo "$as_me:$LINENO: result: none" >&5
49225 echo "${ECHO_T}none" >&6; }
49226         fi
49227
49228         if test $DEPS_TRACKING = 1 ; then
49229
49230 D='$'
49231 cat <<EOF >bk-deps
49232 #!/bin/sh
49233
49234 # This script is part of Bakefile (http://www.bakefile.org) autoconf
49235 # script. It is used to track C/C++ files dependencies in portable way.
49236 #
49237 # Permission is given to use this file in any way.
49238
49239 DEPSMODE=${DEPSMODE}
49240 DEPSFLAG="${DEPSFLAG}"
49241 DEPSDIRBASE=.deps
49242
49243 if test ${D}DEPSMODE = gcc ; then
49244     ${D}* ${D}{DEPSFLAG}
49245     status=${D}?
49246
49247     # determine location of created files:
49248     while test ${D}# -gt 0; do
49249         case "${D}1" in
49250             -o )
49251                 shift
49252                 objfile=${D}1
49253             ;;
49254             -* )
49255             ;;
49256             * )
49257                 srcfile=${D}1
49258             ;;
49259         esac
49260         shift
49261     done
49262     objfilebase=\`basename ${D}objfile\`
49263     builddir=\`dirname ${D}objfile\`
49264     depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
49265     depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
49266     depsdir=${D}builddir/${D}DEPSDIRBASE
49267     mkdir -p ${D}depsdir
49268
49269     # if the compiler failed, we're done:
49270     if test ${D}{status} != 0 ; then
49271         rm -f ${D}depfile
49272         exit ${D}{status}
49273     fi
49274
49275     # move created file to the location we want it in:
49276     if test -f ${D}depfile ; then
49277         sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
49278         rm -f ${D}depfile
49279     else
49280         # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
49281         depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\`
49282         if test ! -f ${D}depfile ; then
49283             # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
49284             depfile="${D}objfile.d"
49285         fi
49286         if test -f ${D}depfile ; then
49287             sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
49288             rm -f ${D}depfile
49289         fi
49290     fi
49291     exit 0
49292
49293 elif test ${D}DEPSMODE = mwcc ; then
49294     ${D}* || exit ${D}?
49295     # Run mwcc again with -MM and redirect into the dep file we want
49296     # NOTE: We can't use shift here because we need ${D}* to be valid
49297     prevarg=
49298     for arg in ${D}* ; do
49299         if test "${D}prevarg" = "-o"; then
49300             objfile=${D}arg
49301         else
49302             case "${D}arg" in
49303                 -* )
49304                 ;;
49305                 * )
49306                     srcfile=${D}arg
49307                 ;;
49308             esac
49309         fi
49310         prevarg="${D}arg"
49311     done
49312
49313     objfilebase=\`basename ${D}objfile\`
49314     builddir=\`dirname ${D}objfile\`
49315     depsdir=${D}builddir/${D}DEPSDIRBASE
49316     mkdir -p ${D}depsdir
49317
49318     ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
49319     exit 0
49320
49321 elif test ${D}DEPSMODE = unixcc; then
49322     ${D}* || exit ${D}?
49323     # Run compiler again with deps flag and redirect into the dep file.
49324     # It doesn't work if the '-o FILE' option is used, but without it the
49325     # dependency file will contain the wrong name for the object. So it is
49326     # removed from the command line, and the dep file is fixed with sed.
49327     cmd=""
49328     while test ${D}# -gt 0; do
49329         case "${D}1" in
49330             -o )
49331                 shift
49332                 objfile=${D}1
49333             ;;
49334             * )
49335                 eval arg${D}#=\\${D}1
49336                 cmd="${D}cmd \\${D}arg${D}#"
49337             ;;
49338         esac
49339         shift
49340     done
49341
49342     objfilebase=\`basename ${D}objfile\`
49343     builddir=\`dirname ${D}objfile\`
49344     depsdir=${D}builddir/${D}DEPSDIRBASE
49345     mkdir -p ${D}depsdir
49346
49347     eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
49348     exit 0
49349
49350 else
49351     ${D}*
49352     exit ${D}?
49353 fi
49354 EOF
49355
49356             chmod +x bk-deps
49357                                     BK_DEPS="`pwd`/bk-deps"
49358         fi
49359     fi
49360
49361
49362
49363
49364
49365     case ${BAKEFILE_HOST} in
49366         *-*-cygwin* | *-*-mingw32* )
49367                         if test -n "$ac_tool_prefix"; then
49368   # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
49369 set dummy ${ac_tool_prefix}windres; ac_word=$2
49370 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49371 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49372 if test "${ac_cv_prog_WINDRES+set}" = set; then
49373   echo $ECHO_N "(cached) $ECHO_C" >&6
49374 else
49375   if test -n "$WINDRES"; then
49376   ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
49377 else
49378 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49379 for as_dir in $PATH
49380 do
49381   IFS=$as_save_IFS
49382   test -z "$as_dir" && as_dir=.
49383   for ac_exec_ext in '' $ac_executable_extensions; do
49384   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49385     ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
49386     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49387     break 2
49388   fi
49389 done
49390 done
49391 IFS=$as_save_IFS
49392
49393 fi
49394 fi
49395 WINDRES=$ac_cv_prog_WINDRES
49396 if test -n "$WINDRES"; then
49397   { echo "$as_me:$LINENO: result: $WINDRES" >&5
49398 echo "${ECHO_T}$WINDRES" >&6; }
49399 else
49400   { echo "$as_me:$LINENO: result: no" >&5
49401 echo "${ECHO_T}no" >&6; }
49402 fi
49403
49404
49405 fi
49406 if test -z "$ac_cv_prog_WINDRES"; then
49407   ac_ct_WINDRES=$WINDRES
49408   # Extract the first word of "windres", so it can be a program name with args.
49409 set dummy windres; ac_word=$2
49410 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49411 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49412 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
49413   echo $ECHO_N "(cached) $ECHO_C" >&6
49414 else
49415   if test -n "$ac_ct_WINDRES"; then
49416   ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
49417 else
49418 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49419 for as_dir in $PATH
49420 do
49421   IFS=$as_save_IFS
49422   test -z "$as_dir" && as_dir=.
49423   for ac_exec_ext in '' $ac_executable_extensions; do
49424   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49425     ac_cv_prog_ac_ct_WINDRES="windres"
49426     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49427     break 2
49428   fi
49429 done
49430 done
49431 IFS=$as_save_IFS
49432
49433 fi
49434 fi
49435 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
49436 if test -n "$ac_ct_WINDRES"; then
49437   { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
49438 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
49439 else
49440   { echo "$as_me:$LINENO: result: no" >&5
49441 echo "${ECHO_T}no" >&6; }
49442 fi
49443
49444   if test "x$ac_ct_WINDRES" = x; then
49445     WINDRES=""
49446   else
49447     case $cross_compiling:$ac_tool_warned in
49448 yes:)
49449 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49450 whose name does not start with the host triplet.  If you think this
49451 configuration is useful to you, please write to autoconf@gnu.org." >&5
49452 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49453 whose name does not start with the host triplet.  If you think this
49454 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49455 ac_tool_warned=yes ;;
49456 esac
49457     WINDRES=$ac_ct_WINDRES
49458   fi
49459 else
49460   WINDRES="$ac_cv_prog_WINDRES"
49461 fi
49462
49463          ;;
49464
49465       *-*-darwin* | powerpc-apple-macos* )
49466             # Extract the first word of "Rez", so it can be a program name with args.
49467 set dummy Rez; ac_word=$2
49468 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49469 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49470 if test "${ac_cv_prog_REZ+set}" = set; then
49471   echo $ECHO_N "(cached) $ECHO_C" >&6
49472 else
49473   if test -n "$REZ"; then
49474   ac_cv_prog_REZ="$REZ" # Let the user override the test.
49475 else
49476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49477 for as_dir in $PATH
49478 do
49479   IFS=$as_save_IFS
49480   test -z "$as_dir" && as_dir=.
49481   for ac_exec_ext in '' $ac_executable_extensions; do
49482   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49483     ac_cv_prog_REZ="Rez"
49484     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49485     break 2
49486   fi
49487 done
49488 done
49489 IFS=$as_save_IFS
49490
49491   test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
49492 fi
49493 fi
49494 REZ=$ac_cv_prog_REZ
49495 if test -n "$REZ"; then
49496   { echo "$as_me:$LINENO: result: $REZ" >&5
49497 echo "${ECHO_T}$REZ" >&6; }
49498 else
49499   { echo "$as_me:$LINENO: result: no" >&5
49500 echo "${ECHO_T}no" >&6; }
49501 fi
49502
49503
49504             # Extract the first word of "SetFile", so it can be a program name with args.
49505 set dummy SetFile; ac_word=$2
49506 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49507 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49508 if test "${ac_cv_prog_SETFILE+set}" = set; then
49509   echo $ECHO_N "(cached) $ECHO_C" >&6
49510 else
49511   if test -n "$SETFILE"; then
49512   ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
49513 else
49514 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49515 for as_dir in $PATH
49516 do
49517   IFS=$as_save_IFS
49518   test -z "$as_dir" && as_dir=.
49519   for ac_exec_ext in '' $ac_executable_extensions; do
49520   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49521     ac_cv_prog_SETFILE="SetFile"
49522     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49523     break 2
49524   fi
49525 done
49526 done
49527 IFS=$as_save_IFS
49528
49529   test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
49530 fi
49531 fi
49532 SETFILE=$ac_cv_prog_SETFILE
49533 if test -n "$SETFILE"; then
49534   { echo "$as_me:$LINENO: result: $SETFILE" >&5
49535 echo "${ECHO_T}$SETFILE" >&6; }
49536 else
49537   { echo "$as_me:$LINENO: result: no" >&5
49538 echo "${ECHO_T}no" >&6; }
49539 fi
49540
49541
49542         ;;
49543     esac
49544
49545
49546
49547
49548
49549
49550
49551
49552
49553     BAKEFILE_BAKEFILE_M4_VERSION="0.2.6"
49554
49555
49556 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.6"
49557
49558
49559
49560     # Check whether --enable-precomp-headers was given.
49561 if test "${enable_precomp_headers+set}" = set; then
49562   enableval=$enable_precomp_headers; bk_use_pch="$enableval"
49563 fi
49564
49565
49566     GCC_PCH=0
49567     ICC_PCH=0
49568     USE_PCH=0
49569     BK_MAKE_PCH=""
49570
49571     case ${BAKEFILE_HOST} in
49572         *-*-cygwin* )
49573                                                 bk_use_pch="no"
49574             ;;
49575     esac
49576
49577     if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
49578         if test "x$GCC" = "xyes"; then
49579                         { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
49580 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
49581             cat >conftest.$ac_ext <<_ACEOF
49582 /* confdefs.h.  */
49583 _ACEOF
49584 cat confdefs.h >>conftest.$ac_ext
49585 cat >>conftest.$ac_ext <<_ACEOF
49586 /* end confdefs.h.  */
49587
49588 int
49589 main ()
49590 {
49591
49592                     #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
49593                         There is no PCH support
49594                     #endif
49595                     #if (__GNUC__ < 3)
49596                         There is no PCH support
49597                     #endif
49598                     #if (__GNUC__ == 3) && \
49599                        ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
49600                        ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
49601                        ( defined(__INTEL_COMPILER) )
49602                         There is no PCH support
49603                     #endif
49604
49605   ;
49606   return 0;
49607 }
49608 _ACEOF
49609 rm -f conftest.$ac_objext
49610 if { (ac_try="$ac_compile"
49611 case "(($ac_try" in
49612   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49613   *) ac_try_echo=$ac_try;;
49614 esac
49615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49616   (eval "$ac_compile") 2>conftest.er1
49617   ac_status=$?
49618   grep -v '^ *+' conftest.er1 >conftest.err
49619   rm -f conftest.er1
49620   cat conftest.err >&5
49621   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49622   (exit $ac_status); } && {
49623          test -z "$ac_c_werror_flag" ||
49624          test ! -s conftest.err
49625        } && test -s conftest.$ac_objext; then
49626
49627                     { echo "$as_me:$LINENO: result: yes" >&5
49628 echo "${ECHO_T}yes" >&6; }
49629                     GCC_PCH=1
49630
49631 else
49632   echo "$as_me: failed program was:" >&5
49633 sed 's/^/| /' conftest.$ac_ext >&5
49634
49635
49636                     if test "$INTELCXX8" = "yes"; then
49637                         { echo "$as_me:$LINENO: result: yes" >&5
49638 echo "${ECHO_T}yes" >&6; }
49639                         ICC_PCH=1
49640                         if test "$INTELCXX10" = "yes"; then
49641                             ICC_PCH_CREATE_SWITCH="-pch-create"
49642                             ICC_PCH_USE_SWITCH="-pch-use"
49643                         else
49644                             ICC_PCH_CREATE_SWITCH="-create-pch"
49645                             ICC_PCH_USE_SWITCH="-use-pch"
49646                         fi
49647                     else
49648                         { echo "$as_me:$LINENO: result: no" >&5
49649 echo "${ECHO_T}no" >&6; }
49650                     fi
49651
49652 fi
49653
49654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49655             if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
49656                 USE_PCH=1
49657
49658 D='$'
49659 cat <<EOF >bk-make-pch
49660 #!/bin/sh
49661
49662 # This script is part of Bakefile (http://www.bakefile.org) autoconf
49663 # script. It is used to generated precompiled headers.
49664 #
49665 # Permission is given to use this file in any way.
49666
49667 outfile="${D}{1}"
49668 header="${D}{2}"
49669 shift
49670 shift
49671
49672 builddir=\`echo ${D}outfile | sed -e 's,/\\.pch/.*${D},,g'\`
49673
49674 compiler=""
49675 headerfile=""
49676
49677 while test ${D}{#} -gt 0; do
49678     add_to_cmdline=1
49679     case "${D}{1}" in
49680         -I* )
49681             incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
49682             if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
49683                 headerfile="${D}{incdir}/${D}{header}"
49684             fi
49685         ;;
49686         -use-pch|-use_pch|-pch-use )
49687             shift
49688             add_to_cmdline=0
49689         ;;
49690     esac
49691     if test ${D}add_to_cmdline = 1 ; then
49692         compiler="${D}{compiler} ${D}{1}"
49693     fi
49694     shift
49695 done
49696
49697 if test "x${D}{headerfile}" = "x" ; then
49698     echo "error: can't find header ${D}{header} in include paths" >&2
49699 else
49700     if test -f ${D}{outfile} ; then
49701         rm -f ${D}{outfile}
49702     else
49703         mkdir -p \`dirname ${D}{outfile}\`
49704     fi
49705     depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
49706     mkdir -p ${D}{builddir}/.deps
49707     if test "x${GCC_PCH}" = "x1" ; then
49708         # can do this because gcc is >= 3.4:
49709         ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
49710     elif test "x${ICC_PCH}" = "x1" ; then
49711         filename=pch_gen-${D}${D}
49712         file=${D}{filename}.c
49713         dfile=${D}{filename}.d
49714         cat > ${D}file <<EOT
49715 #include "${D}header"
49716 EOT
49717         # using -MF icc complains about differing command lines in creation/use
49718         ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
49719           sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
49720           rm -f ${D}file ${D}dfile ${D}{filename}.o
49721     fi
49722     exit ${D}{?}
49723 fi
49724 EOF
49725
49726                 chmod +x bk-make-pch
49727                                                                 BK_MAKE_PCH="`pwd`/bk-make-pch"
49728             fi
49729         fi
49730     fi
49731
49732
49733
49734
49735
49736
49737
49738     COND_BUILD_DEBUG="#"
49739     if test "x$BUILD" = "xdebug" ; then
49740         COND_BUILD_DEBUG=""
49741     fi
49742
49743     COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
49744     if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
49745         COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
49746     fi
49747
49748     COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
49749     if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
49750         COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
49751     fi
49752
49753     COND_BUILD_DEBUG_UNICODE_0="#"
49754     if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
49755         COND_BUILD_DEBUG_UNICODE_0=""
49756     fi
49757
49758     COND_BUILD_DEBUG_UNICODE_1="#"
49759     if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
49760         COND_BUILD_DEBUG_UNICODE_1=""
49761     fi
49762
49763     COND_BUILD_RELEASE="#"
49764     if test "x$BUILD" = "xrelease" ; then
49765         COND_BUILD_RELEASE=""
49766     fi
49767
49768     COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
49769     if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
49770         COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
49771     fi
49772
49773     COND_BUILD_RELEASE_UNICODE_0="#"
49774     if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
49775         COND_BUILD_RELEASE_UNICODE_0=""
49776     fi
49777
49778     COND_BUILD_RELEASE_UNICODE_1="#"
49779     if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
49780         COND_BUILD_RELEASE_UNICODE_1=""
49781     fi
49782
49783     COND_BUILD_debug="#"
49784     if test "x$BUILD" = "xdebug" ; then
49785         COND_BUILD_debug=""
49786     fi
49787
49788     COND_BUILD_debug_DEBUG_FLAG_default="#"
49789     if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
49790         COND_BUILD_debug_DEBUG_FLAG_default=""
49791     fi
49792
49793     COND_BUILD_debug_DEBUG_INFO_default="#"
49794     if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
49795         COND_BUILD_debug_DEBUG_INFO_default=""
49796     fi
49797
49798     COND_BUILD_debug_UNICODE_0="#"
49799     if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
49800         COND_BUILD_debug_UNICODE_0=""
49801     fi
49802
49803     COND_BUILD_debug_UNICODE_1="#"
49804     if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
49805         COND_BUILD_debug_UNICODE_1=""
49806     fi
49807
49808     COND_BUILD_release="#"
49809     if test "x$BUILD" = "xrelease" ; then
49810         COND_BUILD_release=""
49811     fi
49812
49813     COND_BUILD_release_DEBUG_INFO_default="#"
49814     if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
49815         COND_BUILD_release_DEBUG_INFO_default=""
49816     fi
49817
49818     COND_BUILD_release_UNICODE_0="#"
49819     if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
49820         COND_BUILD_release_UNICODE_0=""
49821     fi
49822
49823     COND_BUILD_release_UNICODE_1="#"
49824     if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
49825         COND_BUILD_release_UNICODE_1=""
49826     fi
49827
49828     COND_DEBUG_FLAG_0="#"
49829     if test "x$DEBUG_FLAG" = "x0" ; then
49830         COND_DEBUG_FLAG_0=""
49831     fi
49832
49833     COND_DEBUG_FLAG_1="#"
49834     if test "x$DEBUG_FLAG" = "x1" ; then
49835         COND_DEBUG_FLAG_1=""
49836     fi
49837
49838     COND_DEBUG_INFO_0="#"
49839     if test "x$DEBUG_INFO" = "x0" ; then
49840         COND_DEBUG_INFO_0=""
49841     fi
49842
49843     COND_DEBUG_INFO_1="#"
49844     if test "x$DEBUG_INFO" = "x1" ; then
49845         COND_DEBUG_INFO_1=""
49846     fi
49847
49848     COND_DEPS_TRACKING_0="#"
49849     if test "x$DEPS_TRACKING" = "x0" ; then
49850         COND_DEPS_TRACKING_0=""
49851     fi
49852
49853     COND_DEPS_TRACKING_1="#"
49854     if test "x$DEPS_TRACKING" = "x1" ; then
49855         COND_DEPS_TRACKING_1=""
49856     fi
49857
49858     COND_GCC_PCH_1="#"
49859     if test "x$GCC_PCH" = "x1" ; then
49860         COND_GCC_PCH_1=""
49861     fi
49862
49863     COND_ICC_PCH_1="#"
49864     if test "x$ICC_PCH" = "x1" ; then
49865         COND_ICC_PCH_1=""
49866     fi
49867
49868     COND_MONOLITHIC_0="#"
49869     if test "x$MONOLITHIC" = "x0" ; then
49870         COND_MONOLITHIC_0=""
49871     fi
49872
49873     COND_MONOLITHIC_0_SHARED_0="#"
49874     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
49875         COND_MONOLITHIC_0_SHARED_0=""
49876     fi
49877
49878     COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
49879     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
49880         COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
49881     fi
49882
49883     COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
49884     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
49885         COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
49886     fi
49887
49888     COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
49889     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49890         COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
49891     fi
49892
49893     COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
49894     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49895         COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
49896     fi
49897
49898     COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
49899     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49900         COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
49901     fi
49902
49903     COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1="#"
49904     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
49905         COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1=""
49906     fi
49907
49908     COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1="#"
49909     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RIBBON" = "x1" ; then
49910         COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1=""
49911     fi
49912
49913     COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
49914     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
49915         COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
49916     fi
49917
49918     COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
49919     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
49920         COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
49921     fi
49922
49923     COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
49924     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
49925         COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
49926     fi
49927
49928     COND_MONOLITHIC_0_SHARED_1="#"
49929     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
49930         COND_MONOLITHIC_0_SHARED_1=""
49931     fi
49932
49933     COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
49934     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
49935         COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
49936     fi
49937
49938     COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
49939     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
49940         COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
49941     fi
49942
49943     COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
49944     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49945         COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
49946     fi
49947
49948     COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
49949     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49950         COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
49951     fi
49952
49953     COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
49954     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49955         COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
49956     fi
49957
49958     COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1="#"
49959     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
49960         COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1=""
49961     fi
49962
49963     COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1="#"
49964     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RIBBON" = "x1" ; then
49965         COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1=""
49966     fi
49967
49968     COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
49969     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
49970         COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
49971     fi
49972
49973     COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
49974     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
49975         COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
49976     fi
49977
49978     COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
49979     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
49980         COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
49981     fi
49982
49983     COND_MONOLITHIC_0_USE_AUI_1="#"
49984     if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
49985         COND_MONOLITHIC_0_USE_AUI_1=""
49986     fi
49987
49988     COND_MONOLITHIC_0_USE_GUI_1="#"
49989     if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
49990         COND_MONOLITHIC_0_USE_GUI_1=""
49991     fi
49992
49993     COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
49994     if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49995         COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
49996     fi
49997
49998     COND_MONOLITHIC_0_USE_HTML_1="#"
49999     if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
50000         COND_MONOLITHIC_0_USE_HTML_1=""
50001     fi
50002
50003     COND_MONOLITHIC_0_USE_MEDIA_1="#"
50004     if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
50005         COND_MONOLITHIC_0_USE_MEDIA_1=""
50006     fi
50007
50008     COND_MONOLITHIC_0_USE_PROPGRID_1="#"
50009     if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
50010         COND_MONOLITHIC_0_USE_PROPGRID_1=""
50011     fi
50012
50013     COND_MONOLITHIC_0_USE_QA_1="#"
50014     if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
50015         COND_MONOLITHIC_0_USE_QA_1=""
50016     fi
50017
50018     COND_MONOLITHIC_0_USE_RIBBON_1="#"
50019     if test "x$MONOLITHIC" = "x0" -a "x$USE_RIBBON" = "x1" ; then
50020         COND_MONOLITHIC_0_USE_RIBBON_1=""
50021     fi
50022
50023     COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
50024     if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
50025         COND_MONOLITHIC_0_USE_RICHTEXT_1=""
50026     fi
50027
50028     COND_MONOLITHIC_0_USE_STC_1="#"
50029     if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
50030         COND_MONOLITHIC_0_USE_STC_1=""
50031     fi
50032
50033     COND_MONOLITHIC_0_USE_XRC_1="#"
50034     if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
50035         COND_MONOLITHIC_0_USE_XRC_1=""
50036     fi
50037
50038     COND_MONOLITHIC_1="#"
50039     if test "x$MONOLITHIC" = "x1" ; then
50040         COND_MONOLITHIC_1=""
50041     fi
50042
50043     COND_MONOLITHIC_1_SHARED_0="#"
50044     if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
50045         COND_MONOLITHIC_1_SHARED_0=""
50046     fi
50047
50048     COND_MONOLITHIC_1_SHARED_1="#"
50049     if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
50050         COND_MONOLITHIC_1_SHARED_1=""
50051     fi
50052
50053     COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
50054     if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
50055         COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
50056     fi
50057
50058     COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
50059     if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
50060         COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
50061     fi
50062
50063     COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
50064     if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
50065         COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
50066     fi
50067
50068     COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
50069     if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
50070         COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
50071     fi
50072
50073     COND_PLATFORM_MACOSX_1="#"
50074     if test "x$PLATFORM_MACOSX" = "x1" ; then
50075         COND_PLATFORM_MACOSX_1=""
50076     fi
50077
50078     COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0="#"
50079     if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
50080         COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0=""
50081     fi
50082
50083     COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
50084     if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
50085         COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1=""
50086     fi
50087
50088     COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0="#"
50089     if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50090         COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0=""
50091     fi
50092
50093     COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
50094     if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
50095         COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1=""
50096     fi
50097
50098     COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0="#"
50099     if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50100         COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0=""
50101     fi
50102
50103     COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
50104     if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
50105         COND_PLATFORM_MACOSX_1_USE_GUI_1=""
50106     fi
50107
50108     COND_PLATFORM_MACOSX_1_USE_OPENGL_1="#"
50109     if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50110         COND_PLATFORM_MACOSX_1_USE_OPENGL_1=""
50111     fi
50112
50113     COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
50114     if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50115         COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
50116     fi
50117
50118     COND_PLATFORM_MACOS_1="#"
50119     if test "x$PLATFORM_MACOS" = "x1" ; then
50120         COND_PLATFORM_MACOS_1=""
50121     fi
50122
50123     COND_PLATFORM_MAC_0="#"
50124     if test "x$PLATFORM_MAC" = "x0" ; then
50125         COND_PLATFORM_MAC_0=""
50126     fi
50127
50128     COND_PLATFORM_MAC_1="#"
50129     if test "x$PLATFORM_MAC" = "x1" ; then
50130         COND_PLATFORM_MAC_1=""
50131     fi
50132
50133     COND_PLATFORM_MSDOS_0="#"
50134     if test "x$PLATFORM_MSDOS" = "x0" ; then
50135         COND_PLATFORM_MSDOS_0=""
50136     fi
50137
50138     COND_PLATFORM_MSDOS_1="#"
50139     if test "x$PLATFORM_MSDOS" = "x1" ; then
50140         COND_PLATFORM_MSDOS_1=""
50141     fi
50142
50143     COND_PLATFORM_OS2_1="#"
50144     if test "x$PLATFORM_OS2" = "x1" ; then
50145         COND_PLATFORM_OS2_1=""
50146     fi
50147
50148     COND_PLATFORM_UNIX_0="#"
50149     if test "x$PLATFORM_UNIX" = "x0" ; then
50150         COND_PLATFORM_UNIX_0=""
50151     fi
50152
50153     COND_PLATFORM_UNIX_1="#"
50154     if test "x$PLATFORM_UNIX" = "x1" ; then
50155         COND_PLATFORM_UNIX_1=""
50156     fi
50157
50158     COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
50159     if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
50160         COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
50161     fi
50162
50163     COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
50164     if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
50165         COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
50166     fi
50167
50168     COND_PLATFORM_UNIX_1_USE_GUI_1="#"
50169     if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
50170         COND_PLATFORM_UNIX_1_USE_GUI_1=""
50171     fi
50172
50173     COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
50174     if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
50175         COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
50176     fi
50177
50178     COND_PLATFORM_WIN32_0="#"
50179     if test "x$PLATFORM_WIN32" = "x0" ; then
50180         COND_PLATFORM_WIN32_0=""
50181     fi
50182
50183     COND_PLATFORM_WIN32_1="#"
50184     if test "x$PLATFORM_WIN32" = "x1" ; then
50185         COND_PLATFORM_WIN32_1=""
50186     fi
50187
50188     COND_SHARED_0="#"
50189     if test "x$SHARED" = "x0" ; then
50190         COND_SHARED_0=""
50191     fi
50192
50193     COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
50194     if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
50195         COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
50196     fi
50197
50198     COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
50199     if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50200         COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
50201     fi
50202
50203     COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
50204     if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
50205         COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
50206     fi
50207
50208     COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
50209     if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50210         COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
50211     fi
50212
50213     COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
50214     if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50215         COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
50216     fi
50217
50218     COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
50219     if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50220         COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin=""
50221     fi
50222
50223     COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
50224     if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50225         COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
50226     fi
50227
50228     COND_SHARED_0_USE_STC_1="#"
50229     if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
50230         COND_SHARED_0_USE_STC_1=""
50231     fi
50232
50233     COND_SHARED_0_wxUSE_EXPAT_builtin="#"
50234     if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
50235         COND_SHARED_0_wxUSE_EXPAT_builtin=""
50236     fi
50237
50238     COND_SHARED_0_wxUSE_REGEX_builtin="#"
50239     if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
50240         COND_SHARED_0_wxUSE_REGEX_builtin=""
50241     fi
50242
50243     COND_SHARED_0_wxUSE_ZLIB_builtin="#"
50244     if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
50245         COND_SHARED_0_wxUSE_ZLIB_builtin=""
50246     fi
50247
50248     COND_SHARED_1="#"
50249     if test "x$SHARED" = "x1" ; then
50250         COND_SHARED_1=""
50251     fi
50252
50253     COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
50254     if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50255         COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
50256     fi
50257
50258     COND_TOOLKIT_="#"
50259     if test "x$TOOLKIT" = "x" ; then
50260         COND_TOOLKIT_=""
50261     fi
50262
50263     COND_TOOLKIT_COCOA="#"
50264     if test "x$TOOLKIT" = "xCOCOA" ; then
50265         COND_TOOLKIT_COCOA=""
50266     fi
50267
50268     COND_TOOLKIT_COCOA_USE_GUI_1="#"
50269     if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
50270         COND_TOOLKIT_COCOA_USE_GUI_1=""
50271     fi
50272
50273     COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
50274     if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50275         COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
50276     fi
50277
50278     COND_TOOLKIT_DFB="#"
50279     if test "x$TOOLKIT" = "xDFB" ; then
50280         COND_TOOLKIT_DFB=""
50281     fi
50282
50283     COND_TOOLKIT_DFB_USE_GUI_1="#"
50284     if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
50285         COND_TOOLKIT_DFB_USE_GUI_1=""
50286     fi
50287
50288     COND_TOOLKIT_GTK="#"
50289     if test "x$TOOLKIT" = "xGTK" ; then
50290         COND_TOOLKIT_GTK=""
50291     fi
50292
50293     COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
50294     if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
50295         COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
50296     fi
50297
50298     COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
50299     if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
50300         COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
50301     fi
50302
50303     COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
50304     if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
50305         COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
50306     fi
50307
50308     COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
50309     if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50310         COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
50311     fi
50312
50313     COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
50314     if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
50315         COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
50316     fi
50317
50318     COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
50319     if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50320         COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
50321     fi
50322
50323     COND_TOOLKIT_GTK_USE_GUI_1="#"
50324     if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
50325         COND_TOOLKIT_GTK_USE_GUI_1=""
50326     fi
50327
50328     COND_TOOLKIT_MAC="#"
50329     if test "x$TOOLKIT" = "xMAC" ; then
50330         COND_TOOLKIT_MAC=""
50331     fi
50332
50333     COND_TOOLKIT_MGL="#"
50334     if test "x$TOOLKIT" = "xMGL" ; then
50335         COND_TOOLKIT_MGL=""
50336     fi
50337
50338     COND_TOOLKIT_MGL_USE_GUI_1="#"
50339     if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
50340         COND_TOOLKIT_MGL_USE_GUI_1=""
50341     fi
50342
50343     COND_TOOLKIT_MOTIF="#"
50344     if test "x$TOOLKIT" = "xMOTIF" ; then
50345         COND_TOOLKIT_MOTIF=""
50346     fi
50347
50348     COND_TOOLKIT_MOTIF_USE_GUI_1="#"
50349     if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
50350         COND_TOOLKIT_MOTIF_USE_GUI_1=""
50351     fi
50352
50353     COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
50354     if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50355         COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
50356     fi
50357
50358     COND_TOOLKIT_MSW="#"
50359     if test "x$TOOLKIT" = "xMSW" ; then
50360         COND_TOOLKIT_MSW=""
50361     fi
50362
50363     COND_TOOLKIT_MSW_USE_GUI_1="#"
50364     if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
50365         COND_TOOLKIT_MSW_USE_GUI_1=""
50366     fi
50367
50368     COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
50369     if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50370         COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
50371     fi
50372
50373     COND_TOOLKIT_MSW_WXUNIV_0="#"
50374     if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50375         COND_TOOLKIT_MSW_WXUNIV_0=""
50376     fi
50377
50378     COND_TOOLKIT_OSX_CARBON="#"
50379     if test "x$TOOLKIT" = "xOSX_CARBON" ; then
50380         COND_TOOLKIT_OSX_CARBON=""
50381     fi
50382
50383     COND_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
50384     if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
50385         COND_TOOLKIT_OSX_CARBON_USE_GUI_1=""
50386     fi
50387
50388     COND_TOOLKIT_OSX_COCOA="#"
50389     if test "x$TOOLKIT" = "xOSX_COCOA" ; then
50390         COND_TOOLKIT_OSX_COCOA=""
50391     fi
50392
50393     COND_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
50394     if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
50395         COND_TOOLKIT_OSX_COCOA_USE_GUI_1=""
50396     fi
50397
50398     COND_TOOLKIT_OSX_IPHONE="#"
50399     if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
50400         COND_TOOLKIT_OSX_IPHONE=""
50401     fi
50402
50403     COND_TOOLKIT_PM="#"
50404     if test "x$TOOLKIT" = "xPM" ; then
50405         COND_TOOLKIT_PM=""
50406     fi
50407
50408     COND_TOOLKIT_PM_USE_GUI_1="#"
50409     if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
50410         COND_TOOLKIT_PM_USE_GUI_1=""
50411     fi
50412
50413     COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
50414     if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50415         COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
50416     fi
50417
50418     COND_TOOLKIT_WINCE="#"
50419     if test "x$TOOLKIT" = "xWINCE" ; then
50420         COND_TOOLKIT_WINCE=""
50421     fi
50422
50423     COND_TOOLKIT_WINCE_USE_GUI_1="#"
50424     if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
50425         COND_TOOLKIT_WINCE_USE_GUI_1=""
50426     fi
50427
50428     COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
50429     if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50430         COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
50431     fi
50432
50433     COND_TOOLKIT_WINCE_WXUNIV_0="#"
50434     if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
50435         COND_TOOLKIT_WINCE_WXUNIV_0=""
50436     fi
50437
50438     COND_TOOLKIT_X11="#"
50439     if test "x$TOOLKIT" = "xX11" ; then
50440         COND_TOOLKIT_X11=""
50441     fi
50442
50443     COND_TOOLKIT_X11_USE_GUI_1="#"
50444     if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
50445         COND_TOOLKIT_X11_USE_GUI_1=""
50446     fi
50447
50448     COND_UNICODE_1="#"
50449     if test "x$UNICODE" = "x1" ; then
50450         COND_UNICODE_1=""
50451     fi
50452
50453     COND_USE_EXCEPTIONS_0="#"
50454     if test "x$USE_EXCEPTIONS" = "x0" ; then
50455         COND_USE_EXCEPTIONS_0=""
50456     fi
50457
50458     COND_USE_EXCEPTIONS_1="#"
50459     if test "x$USE_EXCEPTIONS" = "x1" ; then
50460         COND_USE_EXCEPTIONS_1=""
50461     fi
50462
50463     COND_USE_GUI_0="#"
50464     if test "x$USE_GUI" = "x0" ; then
50465         COND_USE_GUI_0=""
50466     fi
50467
50468     COND_USE_GUI_1="#"
50469     if test "x$USE_GUI" = "x1" ; then
50470         COND_USE_GUI_1=""
50471     fi
50472
50473     COND_USE_GUI_1_USE_OPENGL_1="#"
50474     if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50475         COND_USE_GUI_1_USE_OPENGL_1=""
50476     fi
50477
50478     COND_USE_GUI_1_WXUNIV_0="#"
50479     if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50480         COND_USE_GUI_1_WXUNIV_0=""
50481     fi
50482
50483     COND_USE_GUI_1_WXUNIV_1="#"
50484     if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
50485         COND_USE_GUI_1_WXUNIV_1=""
50486     fi
50487
50488     COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
50489     if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50490         COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
50491     fi
50492
50493     COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
50494     if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50495         COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
50496     fi
50497
50498     COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
50499     if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50500         COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
50501     fi
50502
50503     COND_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
50504     if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50505         COND_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
50506     fi
50507
50508     COND_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
50509     if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50510         COND_USE_GUI_1_wxUSE_LIBPNG_builtin=""
50511     fi
50512
50513     COND_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
50514     if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50515         COND_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
50516     fi
50517
50518     COND_USE_OPENGL_1="#"
50519     if test "x$USE_OPENGL" = "x1" ; then
50520         COND_USE_OPENGL_1=""
50521     fi
50522
50523     COND_USE_PCH_1="#"
50524     if test "x$USE_PCH" = "x1" ; then
50525         COND_USE_PCH_1=""
50526     fi
50527
50528     COND_USE_PLUGINS_0="#"
50529     if test "x$USE_PLUGINS" = "x0" ; then
50530         COND_USE_PLUGINS_0=""
50531     fi
50532
50533     COND_USE_RTTI_0="#"
50534     if test "x$USE_RTTI" = "x0" ; then
50535         COND_USE_RTTI_0=""
50536     fi
50537
50538     COND_USE_RTTI_1="#"
50539     if test "x$USE_RTTI" = "x1" ; then
50540         COND_USE_RTTI_1=""
50541     fi
50542
50543     COND_USE_SOSYMLINKS_1="#"
50544     if test "x$USE_SOSYMLINKS" = "x1" ; then
50545         COND_USE_SOSYMLINKS_1=""
50546     fi
50547
50548     COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
50549     if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50550         COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
50551     fi
50552
50553     COND_USE_SOVERLINUX_1="#"
50554     if test "x$USE_SOVERLINUX" = "x1" ; then
50555         COND_USE_SOVERLINUX_1=""
50556     fi
50557
50558     COND_USE_SOVERSION_0="#"
50559     if test "x$USE_SOVERSION" = "x0" ; then
50560         COND_USE_SOVERSION_0=""
50561     fi
50562
50563     COND_USE_SOVERSOLARIS_1="#"
50564     if test "x$USE_SOVERSOLARIS" = "x1" ; then
50565         COND_USE_SOVERSOLARIS_1=""
50566     fi
50567
50568     COND_USE_STC_1="#"
50569     if test "x$USE_STC" = "x1" ; then
50570         COND_USE_STC_1=""
50571     fi
50572
50573     COND_USE_THREADS_0="#"
50574     if test "x$USE_THREADS" = "x0" ; then
50575         COND_USE_THREADS_0=""
50576     fi
50577
50578     COND_USE_THREADS_1="#"
50579     if test "x$USE_THREADS" = "x1" ; then
50580         COND_USE_THREADS_1=""
50581     fi
50582
50583     COND_USE_XRC_1="#"
50584     if test "x$USE_XRC" = "x1" ; then
50585         COND_USE_XRC_1=""
50586     fi
50587
50588     COND_WINDOWS_IMPLIB_1="#"
50589     if test "x$WINDOWS_IMPLIB" = "x1" ; then
50590         COND_WINDOWS_IMPLIB_1=""
50591     fi
50592
50593     COND_WITH_PLUGIN_SDL_1="#"
50594     if test "x$WITH_PLUGIN_SDL" = "x1" ; then
50595         COND_WITH_PLUGIN_SDL_1=""
50596     fi
50597
50598     COND_WXUNIV_0="#"
50599     if test "x$WXUNIV" = "x0" ; then
50600         COND_WXUNIV_0=""
50601     fi
50602
50603     COND_WXUNIV_1="#"
50604     if test "x$WXUNIV" = "x1" ; then
50605         COND_WXUNIV_1=""
50606     fi
50607
50608     COND_WXUSE_EXPAT_BUILTIN="#"
50609     if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
50610         COND_WXUSE_EXPAT_BUILTIN=""
50611     fi
50612
50613     COND_WXUSE_LIBJPEG_BUILTIN="#"
50614     if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50615         COND_WXUSE_LIBJPEG_BUILTIN=""
50616     fi
50617
50618     COND_WXUSE_LIBPNG_BUILTIN="#"
50619     if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50620         COND_WXUSE_LIBPNG_BUILTIN=""
50621     fi
50622
50623     COND_WXUSE_LIBTIFF_BUILTIN="#"
50624     if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50625         COND_WXUSE_LIBTIFF_BUILTIN=""
50626     fi
50627
50628     COND_WXUSE_REGEX_BUILTIN="#"
50629     if test "x$wxUSE_REGEX" = "xbuiltin" ; then
50630         COND_WXUSE_REGEX_BUILTIN=""
50631     fi
50632
50633     COND_WXUSE_ZLIB_BUILTIN="#"
50634     if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
50635         COND_WXUSE_ZLIB_BUILTIN=""
50636     fi
50637
50638     COND_wxUSE_EXPAT_builtin="#"
50639     if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
50640         COND_wxUSE_EXPAT_builtin=""
50641     fi
50642
50643     COND_wxUSE_LIBJPEG_builtin="#"
50644     if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50645         COND_wxUSE_LIBJPEG_builtin=""
50646     fi
50647
50648     COND_wxUSE_LIBPNG_builtin="#"
50649     if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50650         COND_wxUSE_LIBPNG_builtin=""
50651     fi
50652
50653     COND_wxUSE_LIBTIFF_builtin="#"
50654     if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50655         COND_wxUSE_LIBTIFF_builtin=""
50656     fi
50657
50658     COND_wxUSE_REGEX_builtin="#"
50659     if test "x$wxUSE_REGEX" = "xbuiltin" ; then
50660         COND_wxUSE_REGEX_builtin=""
50661     fi
50662
50663     COND_wxUSE_ZLIB_builtin="#"
50664     if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
50665         COND_wxUSE_ZLIB_builtin=""
50666     fi
50667
50668
50669
50670     if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
50671         { { 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
50672 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;}
50673    { (exit 1); exit 1; }; }
50674     fi
50675
50676     if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
50677         { { 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
50678 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;}
50679    { (exit 1); exit 1; }; }
50680     fi
50681
50682
50683 case ${INSTALL} in
50684   /* ) # Absolute
50685      ;;
50686   ?:* ) # Drive letter, considered as absolute.
50687      ;;
50688   *)
50689      INSTALL=`pwd`/${INSTALL} ;;
50690 esac
50691
50692 if test "$wxUSE_GUI" = "yes"; then
50693
50694 if test "$wxUSE_MSW" = 1 ; then
50695     if test "x$WINDRES" = "x"; then
50696         { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
50697 echo "$as_me: error: Required windres program not found" >&2;}
50698    { (exit 1); exit 1; }; }
50699     fi
50700
50701     RESCOMP="$WINDRES"
50702 fi
50703
50704 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
50705             WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
50706     WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
50707
50708         LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
50709
50710     # Extract the first word of "DeRez", so it can be a program name with args.
50711 set dummy DeRez; ac_word=$2
50712 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50713 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50714 if test "${ac_cv_prog_DEREZ+set}" = set; then
50715   echo $ECHO_N "(cached) $ECHO_C" >&6
50716 else
50717   if test -n "$DEREZ"; then
50718   ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
50719 else
50720 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50721 for as_dir in $PATH
50722 do
50723   IFS=$as_save_IFS
50724   test -z "$as_dir" && as_dir=.
50725   for ac_exec_ext in '' $ac_executable_extensions; do
50726   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50727     ac_cv_prog_DEREZ="DeRez"
50728     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50729     break 2
50730   fi
50731 done
50732 done
50733 IFS=$as_save_IFS
50734
50735   test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
50736 fi
50737 fi
50738 DEREZ=$ac_cv_prog_DEREZ
50739 if test -n "$DEREZ"; then
50740   { echo "$as_me:$LINENO: result: $DEREZ" >&5
50741 echo "${ECHO_T}$DEREZ" >&6; }
50742 else
50743   { echo "$as_me:$LINENO: result: no" >&5
50744 echo "${ECHO_T}no" >&6; }
50745 fi
50746
50747
50748
50749     MACSETFILE="\$(SETFILE)"
50750
50751             if test "$wxUSE_OSX_CARBON" = 1; then
50752         POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
50753         RESCOMP="$REZ"
50754         WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
50755     else
50756         POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
50757         RESCOMP="cat /dev/null \| $REZ"
50758         WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
50759     fi
50760
50761 else
50762         MACSETFILE="@true"
50763
50764     if test "$wxUSE_PM" = 1; then
50765         RESCOMP="emxbind"
50766         WXCONFIG_RESFLAGS="-ep"
50767
50768                 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
50769     else
50770         POSTLINK_COMMAND="@true"
50771     fi
50772 fi
50773
50774 fi
50775
50776
50777 if test $GCC_PCH = 1
50778 then
50779     if test "$wx_cv_gcc_pch_bug" = yes; then
50780         { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
50781 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
50782         { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
50783 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
50784         { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
50785 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
50786     fi
50787
50788     # Our WX_PRECOMP flag does not make sense for any language except C++ because
50789     # the headers that benefit from precompilation are mostly C++ headers.
50790     CXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
50791     # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
50792     #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
50793 fi
50794
50795
50796 if test "$wxUSE_MAC" = 1 ; then
50797     if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
50798         sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
50799         mv temp bk-deps
50800         chmod +x bk-deps
50801     fi
50802 fi
50803
50804 if test "$wxUSE_SHARED" = "yes"; then
50805                 case "${host}" in
50806       *-pc-os2_emx | *-pc-os2-emx )
50807         SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50808         SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50809         cp -p ${srcdir}/src/os2/dllnames.sh .
50810         cp -p ${srcdir}/src/os2/dllar.sh .
50811       ;;
50812     esac
50813 fi
50814 if test "$wxUSE_OMF" = "yes"; then
50815     case "${host}" in
50816       *-pc-os2_emx | *-pc-os2-emx )
50817         LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
50818         LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
50819         WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
50820       ;;
50821     esac
50822 fi
50823
50824 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
50825
50826
50827 case "${host}" in
50828     *-*-solaris2* )
50829                         if test "$GCC" = yes; then
50830             CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
50831             LIBS=`echo $LIBS | sed 's/-mt//'`
50832             EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
50833         fi
50834         ;;
50835
50836     *-*-linux* )
50837                         if test "x$SUNCXX" = xyes; then
50838             CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
50839             LIBS=`echo $LIBS | sed 's/-pthread//'`
50840             EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
50841         fi
50842         ;;
50843 esac
50844
50845 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
50846 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
50847 OBJCFLAGS="$OBJCFLAGS $CFLAGS_VISIBILITY"
50848 OBJCXXFLAGS="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
50849
50850 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
50851
50852
50853
50854
50855
50856
50857
50858
50859
50860
50861
50862
50863
50864
50865
50866
50867
50868
50869
50870
50871
50872
50873
50874
50875
50876
50877
50878
50879
50880
50881
50882
50883
50884
50885
50886
50887
50888
50889
50890
50891
50892
50893
50894
50895
50896
50897
50898
50899
50900
50901
50902
50903
50904
50905
50906
50907
50908
50909
50910 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
50911 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
50912 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
50913 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
50914   echo $ECHO_N "(cached) $ECHO_C" >&6
50915 else
50916   cat >conftest.make <<\_ACEOF
50917 SHELL = /bin/sh
50918 all:
50919         @echo '@@@%%%=$(MAKE)=@@@%%%'
50920 _ACEOF
50921 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
50922 case `${MAKE-make} -f conftest.make 2>/dev/null` in
50923   *@@@%%%=?*=@@@%%%*)
50924     eval ac_cv_prog_make_${ac_make}_set=yes;;
50925   *)
50926     eval ac_cv_prog_make_${ac_make}_set=no;;
50927 esac
50928 rm -f conftest.make
50929 fi
50930 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
50931   { echo "$as_me:$LINENO: result: yes" >&5
50932 echo "${ECHO_T}yes" >&6; }
50933   SET_MAKE=
50934 else
50935   { echo "$as_me:$LINENO: result: no" >&5
50936 echo "${ECHO_T}no" >&6; }
50937   SET_MAKE="MAKE=${MAKE-make}"
50938 fi
50939
50940
50941
50942 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
50943
50944
50945 if test "$USE_WIN32" = 1; then
50946     ac_config_commands="$ac_config_commands rcdefs.h"
50947
50948 fi
50949
50950 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
50951
50952
50953 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
50954
50955
50956 ac_config_files="$ac_config_files utils/ifacecheck/rungccxml.sh"
50957
50958
50959 if test "$wx_cv_version_script" = "yes"; then
50960     ac_config_files="$ac_config_files version-script"
50961
50962 fi
50963 ac_config_files="$ac_config_files Makefile"
50964
50965
50966 ac_config_commands="$ac_config_commands wx-config"
50967
50968
50969
50970 if test "$wxWITH_SUBDIRS" != "no"; then
50971 if test "$wxUSE_GUI" = "yes"; then
50972     SUBDIRS="samples demos utils"
50973 else
50974             SUBDIRS="samples utils"
50975 fi
50976
50977
50978
50979 # Check whether --with-cppunit-prefix was given.
50980 if test "${with_cppunit_prefix+set}" = set; then
50981   withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
50982 else
50983   cppunit_config_prefix=""
50984 fi
50985
50986
50987 # Check whether --with-cppunit-exec-prefix was given.
50988 if test "${with_cppunit_exec_prefix+set}" = set; then
50989   withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
50990 else
50991   cppunit_config_exec_prefix=""
50992 fi
50993
50994
50995   if test x$cppunit_config_exec_prefix != x ; then
50996      cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
50997      if test x${CPPUNIT_CONFIG+set} != xset ; then
50998         CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
50999      fi
51000   fi
51001   if test x$cppunit_config_prefix != x ; then
51002      cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
51003      if test x${CPPUNIT_CONFIG+set} != xset ; then
51004         CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
51005      fi
51006   fi
51007
51008   # Extract the first word of "cppunit-config", so it can be a program name with args.
51009 set dummy cppunit-config; ac_word=$2
51010 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51011 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51012 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
51013   echo $ECHO_N "(cached) $ECHO_C" >&6
51014 else
51015   case $CPPUNIT_CONFIG in
51016   [\\/]* | ?:[\\/]*)
51017   ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
51018   ;;
51019   *)
51020   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51021 for as_dir in $PATH
51022 do
51023   IFS=$as_save_IFS
51024   test -z "$as_dir" && as_dir=.
51025   for ac_exec_ext in '' $ac_executable_extensions; do
51026   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51027     ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
51028     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51029     break 2
51030   fi
51031 done
51032 done
51033 IFS=$as_save_IFS
51034
51035   test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
51036   ;;
51037 esac
51038 fi
51039 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
51040 if test -n "$CPPUNIT_CONFIG"; then
51041   { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
51042 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
51043 else
51044   { echo "$as_me:$LINENO: result: no" >&5
51045 echo "${ECHO_T}no" >&6; }
51046 fi
51047
51048
51049   cppunit_version_min=1.8.0
51050
51051   { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
51052 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
51053   no_cppunit=""
51054   if test "$CPPUNIT_CONFIG" = "no" ; then
51055     { echo "$as_me:$LINENO: result: no" >&5
51056 echo "${ECHO_T}no" >&6; }
51057     no_cppunit=yes
51058   else
51059     CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
51060     CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
51061     cppunit_version=`$CPPUNIT_CONFIG --version`
51062
51063     cppunit_major_version=`echo $cppunit_version | \
51064            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
51065     cppunit_minor_version=`echo $cppunit_version | \
51066            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
51067     cppunit_micro_version=`echo $cppunit_version | \
51068            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
51069
51070     cppunit_major_min=`echo $cppunit_version_min | \
51071            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
51072     cppunit_minor_min=`echo $cppunit_version_min | \
51073            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
51074     cppunit_micro_min=`echo $cppunit_version_min | \
51075            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
51076
51077     cppunit_version_proper=`expr \
51078         $cppunit_major_version \> $cppunit_major_min \| \
51079         $cppunit_major_version \= $cppunit_major_min \& \
51080         $cppunit_minor_version \> $cppunit_minor_min \| \
51081         $cppunit_major_version \= $cppunit_major_min \& \
51082         $cppunit_minor_version \= $cppunit_minor_min \& \
51083         $cppunit_micro_version \>= $cppunit_micro_min `
51084
51085     if test "$cppunit_version_proper" = "1" ; then
51086       { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
51087 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
51088     else
51089       { echo "$as_me:$LINENO: result: no" >&5
51090 echo "${ECHO_T}no" >&6; }
51091       no_cppunit=yes
51092     fi
51093   fi
51094
51095   if test "x$no_cppunit" = x ; then
51096      SUBDIRS="$SUBDIRS tests"
51097   else
51098      CPPUNIT_CFLAGS=""
51099      CPPUNIT_LIBS=""
51100      :
51101   fi
51102
51103
51104
51105
51106
51107 for subdir in $SUBDIRS; do
51108     if test -d ${srcdir}/${subdir} ; then
51109         if test "$wxUSE_GUI" = "yes"; then
51110             if test ${subdir} = "samples"; then
51111                                                 makefiles="samples/Makefile.in $makefiles"
51112                 for sample in $SAMPLES_SUBDIRS; do
51113                     if test -d $srcdir/samples/$sample; then
51114                         makefiles="samples/$sample/Makefile.in $makefiles"
51115                     fi
51116                 done
51117             else
51118                                                                 disabled_var=DISABLED_`echo $subdir | tr '[a-z]' '[A-Z]'`
51119                 eval "disabled=\$$disabled_var"
51120                 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
51121                 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
51122             fi
51123         else
51124                                     if test ${subdir} = "samples"; then
51125                                                 makefiles="samples/Makefile.in $makefiles"
51126                 for sample in `echo $SAMPLES_SUBDIRS`; do
51127                     if test -d $srcdir/samples/$sample; then
51128                         makefiles="samples/$sample/Makefile.in $makefiles"
51129                     fi
51130                 done
51131             elif test ${subdir} = "utils"; then
51132                 makefiles=""
51133                 for util in ifacecheck ; do
51134                     if test -d $srcdir/utils/$util ; then
51135                         makefiles="utils/$util/src/Makefile.in \
51136                                    $makefiles"
51137                     fi
51138                 done
51139             else
51140                                 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
51141             fi
51142         fi
51143
51144         for mkin in $makefiles ; do
51145             mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
51146             ac_config_files="$ac_config_files $mk"
51147
51148         done
51149     fi
51150 done
51151 fi
51152 cat >confcache <<\_ACEOF
51153 # This file is a shell script that caches the results of configure
51154 # tests run on this system so they can be shared between configure
51155 # scripts and configure runs, see configure's option --config-cache.
51156 # It is not useful on other systems.  If it contains results you don't
51157 # want to keep, you may remove or edit it.
51158 #
51159 # config.status only pays attention to the cache file if you give it
51160 # the --recheck option to rerun configure.
51161 #
51162 # `ac_cv_env_foo' variables (set or unset) will be overridden when
51163 # loading this file, other *unset* `ac_cv_foo' will be assigned the
51164 # following values.
51165
51166 _ACEOF
51167
51168 # The following way of writing the cache mishandles newlines in values,
51169 # but we know of no workaround that is simple, portable, and efficient.
51170 # So, we kill variables containing newlines.
51171 # Ultrix sh set writes to stderr and can't be redirected directly,
51172 # and sets the high bit in the cache file unless we assign to the vars.
51173 (
51174   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
51175     eval ac_val=\$$ac_var
51176     case $ac_val in #(
51177     *${as_nl}*)
51178       case $ac_var in #(
51179       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
51180 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
51181       esac
51182       case $ac_var in #(
51183       _ | IFS | as_nl) ;; #(
51184       *) $as_unset $ac_var ;;
51185       esac ;;
51186     esac
51187   done
51188
51189   (set) 2>&1 |
51190     case $as_nl`(ac_space=' '; set) 2>&1` in #(
51191     *${as_nl}ac_space=\ *)
51192       # `set' does not quote correctly, so add quotes (double-quote
51193       # substitution turns \\\\ into \\, and sed turns \\ into \).
51194       sed -n \
51195         "s/'/'\\\\''/g;
51196           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
51197       ;; #(
51198     *)
51199       # `set' quotes correctly as required by POSIX, so do not add quotes.
51200       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
51201       ;;
51202     esac |
51203     sort
51204 ) |
51205   sed '
51206      /^ac_cv_env_/b end
51207      t clear
51208      :clear
51209      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
51210      t end
51211      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
51212      :end' >>confcache
51213 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
51214   if test -w "$cache_file"; then
51215     test "x$cache_file" != "x/dev/null" &&
51216       { echo "$as_me:$LINENO: updating cache $cache_file" >&5
51217 echo "$as_me: updating cache $cache_file" >&6;}
51218     cat confcache >$cache_file
51219   else
51220     { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
51221 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
51222   fi
51223 fi
51224 rm -f confcache
51225
51226 test "x$prefix" = xNONE && prefix=$ac_default_prefix
51227 # Let make expand exec_prefix.
51228 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
51229
51230 DEFS=-DHAVE_CONFIG_H
51231
51232 ac_libobjs=
51233 ac_ltlibobjs=
51234 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
51235   # 1. Remove the extension, and $U if already installed.
51236   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
51237   ac_i=`echo "$ac_i" | sed "$ac_script"`
51238   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
51239   #    will be set to the directory where LIBOBJS objects are built.
51240   ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
51241   ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
51242 done
51243 LIBOBJS=$ac_libobjs
51244
51245 LTLIBOBJS=$ac_ltlibobjs
51246
51247
51248
51249 : ${CONFIG_STATUS=./config.status}
51250 ac_clean_files_save=$ac_clean_files
51251 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
51252 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
51253 echo "$as_me: creating $CONFIG_STATUS" >&6;}
51254 cat >$CONFIG_STATUS <<_ACEOF
51255 #! $SHELL
51256 # Generated by $as_me.
51257 # Run this file to recreate the current configuration.
51258 # Compiler output produced by configure, useful for debugging
51259 # configure, is in config.log if it exists.
51260
51261 debug=false
51262 ac_cs_recheck=false
51263 ac_cs_silent=false
51264 SHELL=\${CONFIG_SHELL-$SHELL}
51265 _ACEOF
51266
51267 cat >>$CONFIG_STATUS <<\_ACEOF
51268 ## --------------------- ##
51269 ## M4sh Initialization.  ##
51270 ## --------------------- ##
51271
51272 # Be more Bourne compatible
51273 DUALCASE=1; export DUALCASE # for MKS sh
51274 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
51275   emulate sh
51276   NULLCMD=:
51277   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
51278   # is contrary to our usage.  Disable this feature.
51279   alias -g '${1+"$@"}'='"$@"'
51280   setopt NO_GLOB_SUBST
51281 else
51282   case `(set -o) 2>/dev/null` in
51283   *posix*) set -o posix ;;
51284 esac
51285
51286 fi
51287
51288
51289
51290
51291 # PATH needs CR
51292 # Avoid depending upon Character Ranges.
51293 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
51294 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
51295 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
51296 as_cr_digits='0123456789'
51297 as_cr_alnum=$as_cr_Letters$as_cr_digits
51298
51299 # The user is always right.
51300 if test "${PATH_SEPARATOR+set}" != set; then
51301   echo "#! /bin/sh" >conf$$.sh
51302   echo  "exit 0"   >>conf$$.sh
51303   chmod +x conf$$.sh
51304   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
51305     PATH_SEPARATOR=';'
51306   else
51307     PATH_SEPARATOR=:
51308   fi
51309   rm -f conf$$.sh
51310 fi
51311
51312 # Support unset when possible.
51313 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
51314   as_unset=unset
51315 else
51316   as_unset=false
51317 fi
51318
51319
51320 # IFS
51321 # We need space, tab and new line, in precisely that order.  Quoting is
51322 # there to prevent editors from complaining about space-tab.
51323 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
51324 # splitting by setting IFS to empty value.)
51325 as_nl='
51326 '
51327 IFS=" ""        $as_nl"
51328
51329 # Find who we are.  Look in the path if we contain no directory separator.
51330 case $0 in
51331   *[\\/]* ) as_myself=$0 ;;
51332   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51333 for as_dir in $PATH
51334 do
51335   IFS=$as_save_IFS
51336   test -z "$as_dir" && as_dir=.
51337   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
51338 done
51339 IFS=$as_save_IFS
51340
51341      ;;
51342 esac
51343 # We did not find ourselves, most probably we were run as `sh COMMAND'
51344 # in which case we are not to be found in the path.
51345 if test "x$as_myself" = x; then
51346   as_myself=$0
51347 fi
51348 if test ! -f "$as_myself"; then
51349   echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
51350   { (exit 1); exit 1; }
51351 fi
51352
51353 # Work around bugs in pre-3.0 UWIN ksh.
51354 for as_var in ENV MAIL MAILPATH
51355 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
51356 done
51357 PS1='$ '
51358 PS2='> '
51359 PS4='+ '
51360
51361 # NLS nuisances.
51362 for as_var in \
51363   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
51364   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
51365   LC_TELEPHONE LC_TIME
51366 do
51367   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
51368     eval $as_var=C; export $as_var
51369   else
51370     ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
51371   fi
51372 done
51373
51374 # Required to use basename.
51375 if expr a : '\(a\)' >/dev/null 2>&1 &&
51376    test "X`expr 00001 : '.*\(...\)'`" = X001; then
51377   as_expr=expr
51378 else
51379   as_expr=false
51380 fi
51381
51382 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
51383   as_basename=basename
51384 else
51385   as_basename=false
51386 fi
51387
51388
51389 # Name of the executable.
51390 as_me=`$as_basename -- "$0" ||
51391 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
51392          X"$0" : 'X\(//\)$' \| \
51393          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
51394 echo X/"$0" |
51395     sed '/^.*\/\([^/][^/]*\)\/*$/{
51396             s//\1/
51397             q
51398           }
51399           /^X\/\(\/\/\)$/{
51400             s//\1/
51401             q
51402           }
51403           /^X\/\(\/\).*/{
51404             s//\1/
51405             q
51406           }
51407           s/.*/./; q'`
51408
51409 # CDPATH.
51410 $as_unset CDPATH
51411
51412
51413
51414   as_lineno_1=$LINENO
51415   as_lineno_2=$LINENO
51416   test "x$as_lineno_1" != "x$as_lineno_2" &&
51417   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
51418
51419   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
51420   # uniformly replaced by the line number.  The first 'sed' inserts a
51421   # line-number line after each line using $LINENO; the second 'sed'
51422   # does the real work.  The second script uses 'N' to pair each
51423   # line-number line with the line containing $LINENO, and appends
51424   # trailing '-' during substitution so that $LINENO is not a special
51425   # case at line end.
51426   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
51427   # scripts with optimization help from Paolo Bonzini.  Blame Lee
51428   # E. McMahon (1931-1989) for sed's syntax.  :-)
51429   sed -n '
51430     p
51431     /[$]LINENO/=
51432   ' <$as_myself |
51433     sed '
51434       s/[$]LINENO.*/&-/
51435       t lineno
51436       b
51437       :lineno
51438       N
51439       :loop
51440       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
51441       t loop
51442       s/-\n.*//
51443     ' >$as_me.lineno &&
51444   chmod +x "$as_me.lineno" ||
51445     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
51446    { (exit 1); exit 1; }; }
51447
51448   # Don't try to exec as it changes $[0], causing all sort of problems
51449   # (the dirname of $[0] is not the place where we might find the
51450   # original and so on.  Autoconf is especially sensitive to this).
51451   . "./$as_me.lineno"
51452   # Exit status is that of the last command.
51453   exit
51454 }
51455
51456
51457 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
51458   as_dirname=dirname
51459 else
51460   as_dirname=false
51461 fi
51462
51463 ECHO_C= ECHO_N= ECHO_T=
51464 case `echo -n x` in
51465 -n*)
51466   case `echo 'x\c'` in
51467   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
51468   *)   ECHO_C='\c';;
51469   esac;;
51470 *)
51471   ECHO_N='-n';;
51472 esac
51473
51474 if expr a : '\(a\)' >/dev/null 2>&1 &&
51475    test "X`expr 00001 : '.*\(...\)'`" = X001; then
51476   as_expr=expr
51477 else
51478   as_expr=false
51479 fi
51480
51481 rm -f conf$$ conf$$.exe conf$$.file
51482 if test -d conf$$.dir; then
51483   rm -f conf$$.dir/conf$$.file
51484 else
51485   rm -f conf$$.dir
51486   mkdir conf$$.dir
51487 fi
51488 echo >conf$$.file
51489 if ln -s conf$$.file conf$$ 2>/dev/null; then
51490   as_ln_s='ln -s'
51491   # ... but there are two gotchas:
51492   # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
51493   # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
51494   # In both cases, we have to default to `cp -p'.
51495   ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
51496     as_ln_s='cp -p'
51497 elif ln conf$$.file conf$$ 2>/dev/null; then
51498   as_ln_s=ln
51499 else
51500   as_ln_s='cp -p'
51501 fi
51502 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
51503 rmdir conf$$.dir 2>/dev/null
51504
51505 if mkdir -p . 2>/dev/null; then
51506   as_mkdir_p=:
51507 else
51508   test -d ./-p && rmdir ./-p
51509   as_mkdir_p=false
51510 fi
51511
51512 if test -x / >/dev/null 2>&1; then
51513   as_test_x='test -x'
51514 else
51515   if ls -dL / >/dev/null 2>&1; then
51516     as_ls_L_option=L
51517   else
51518     as_ls_L_option=
51519   fi
51520   as_test_x='
51521     eval sh -c '\''
51522       if test -d "$1"; then
51523         test -d "$1/.";
51524       else
51525         case $1 in
51526         -*)set "./$1";;
51527         esac;
51528         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
51529         ???[sx]*):;;*)false;;esac;fi
51530     '\'' sh
51531   '
51532 fi
51533 as_executable_p=$as_test_x
51534
51535 # Sed expression to map a string onto a valid CPP name.
51536 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
51537
51538 # Sed expression to map a string onto a valid variable name.
51539 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
51540
51541
51542 exec 6>&1
51543
51544 # Save the log message, to keep $[0] and so on meaningful, and to
51545 # report actual input values of CONFIG_FILES etc. instead of their
51546 # values after options handling.
51547 ac_log="
51548 This file was extended by wxWidgets $as_me 2.9.1, which was
51549 generated by GNU Autoconf 2.61.  Invocation command line was
51550
51551   CONFIG_FILES    = $CONFIG_FILES
51552   CONFIG_HEADERS  = $CONFIG_HEADERS
51553   CONFIG_LINKS    = $CONFIG_LINKS
51554   CONFIG_COMMANDS = $CONFIG_COMMANDS
51555   $ $0 $@
51556
51557 on `(hostname || uname -n) 2>/dev/null | sed 1q`
51558 "
51559
51560 _ACEOF
51561
51562 cat >>$CONFIG_STATUS <<_ACEOF
51563 # Files that config.status was made for.
51564 config_files="$ac_config_files"
51565 config_headers="$ac_config_headers"
51566 config_commands="$ac_config_commands"
51567
51568 _ACEOF
51569
51570 cat >>$CONFIG_STATUS <<\_ACEOF
51571 ac_cs_usage="\
51572 \`$as_me' instantiates files from templates according to the
51573 current configuration.
51574
51575 Usage: $0 [OPTIONS] [FILE]...
51576
51577   -h, --help       print this help, then exit
51578   -V, --version    print version number and configuration settings, then exit
51579   -q, --quiet      do not print progress messages
51580   -d, --debug      don't remove temporary files
51581       --recheck    update $as_me by reconfiguring in the same conditions
51582   --file=FILE[:TEMPLATE]
51583                    instantiate the configuration file FILE
51584   --header=FILE[:TEMPLATE]
51585                    instantiate the configuration header FILE
51586
51587 Configuration files:
51588 $config_files
51589
51590 Configuration headers:
51591 $config_headers
51592
51593 Configuration commands:
51594 $config_commands
51595
51596 Report bugs to <bug-autoconf@gnu.org>."
51597
51598 _ACEOF
51599 cat >>$CONFIG_STATUS <<_ACEOF
51600 ac_cs_version="\\
51601 wxWidgets config.status 2.9.1
51602 configured by $0, generated by GNU Autoconf 2.61,
51603   with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
51604
51605 Copyright (C) 2006 Free Software Foundation, Inc.
51606 This config.status script is free software; the Free Software Foundation
51607 gives unlimited permission to copy, distribute and modify it."
51608
51609 ac_pwd='$ac_pwd'
51610 srcdir='$srcdir'
51611 INSTALL='$INSTALL'
51612 _ACEOF
51613
51614 cat >>$CONFIG_STATUS <<\_ACEOF
51615 # If no file are specified by the user, then we need to provide default
51616 # value.  By we need to know if files were specified by the user.
51617 ac_need_defaults=:
51618 while test $# != 0
51619 do
51620   case $1 in
51621   --*=*)
51622     ac_option=`expr "X$1" : 'X\([^=]*\)='`
51623     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
51624     ac_shift=:
51625     ;;
51626   *)
51627     ac_option=$1
51628     ac_optarg=$2
51629     ac_shift=shift
51630     ;;
51631   esac
51632
51633   case $ac_option in
51634   # Handling of the options.
51635   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
51636     ac_cs_recheck=: ;;
51637   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
51638     echo "$ac_cs_version"; exit ;;
51639   --debug | --debu | --deb | --de | --d | -d )
51640     debug=: ;;
51641   --file | --fil | --fi | --f )
51642     $ac_shift
51643     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
51644     ac_need_defaults=false;;
51645   --header | --heade | --head | --hea )
51646     $ac_shift
51647     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
51648     ac_need_defaults=false;;
51649   --he | --h)
51650     # Conflict between --help and --header
51651     { echo "$as_me: error: ambiguous option: $1
51652 Try \`$0 --help' for more information." >&2
51653    { (exit 1); exit 1; }; };;
51654   --help | --hel | -h )
51655     echo "$ac_cs_usage"; exit ;;
51656   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
51657   | -silent | --silent | --silen | --sile | --sil | --si | --s)
51658     ac_cs_silent=: ;;
51659
51660   # This is an error.
51661   -*) { echo "$as_me: error: unrecognized option: $1
51662 Try \`$0 --help' for more information." >&2
51663    { (exit 1); exit 1; }; } ;;
51664
51665   *) ac_config_targets="$ac_config_targets $1"
51666      ac_need_defaults=false ;;
51667
51668   esac
51669   shift
51670 done
51671
51672 ac_configure_extra_args=
51673
51674 if $ac_cs_silent; then
51675   exec 6>/dev/null
51676   ac_configure_extra_args="$ac_configure_extra_args --silent"
51677 fi
51678
51679 _ACEOF
51680 cat >>$CONFIG_STATUS <<_ACEOF
51681 if \$ac_cs_recheck; then
51682   echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
51683   CONFIG_SHELL=$SHELL
51684   export CONFIG_SHELL
51685   exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
51686 fi
51687
51688 _ACEOF
51689 cat >>$CONFIG_STATUS <<\_ACEOF
51690 exec 5>>config.log
51691 {
51692   echo
51693   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
51694 ## Running $as_me. ##
51695 _ASBOX
51696   echo "$ac_log"
51697 } >&5
51698
51699 _ACEOF
51700 cat >>$CONFIG_STATUS <<_ACEOF
51701 #
51702 # INIT-COMMANDS
51703 #
51704
51705             CPP="$CPP"
51706             infile="$srcdir/include/wx/msw/genrcdefs.h"
51707             outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
51708
51709
51710  TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51711  TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51712  TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51713                      LN_S="${LN_S}"
51714
51715
51716 _ACEOF
51717
51718 cat >>$CONFIG_STATUS <<\_ACEOF
51719
51720 # Handling of arguments.
51721 for ac_config_target in $ac_config_targets
51722 do
51723   case $ac_config_target in
51724     "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
51725     "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
51726     "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
51727     "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
51728     "utils/ifacecheck/rungccxml.sh") CONFIG_FILES="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
51729     "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
51730     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
51731     "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
51732     "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
51733
51734   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
51735 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
51736    { (exit 1); exit 1; }; };;
51737   esac
51738 done
51739
51740
51741 # If the user did not use the arguments to specify the items to instantiate,
51742 # then the envvar interface is used.  Set only those that are not.
51743 # We use the long form for the default assignment because of an extremely
51744 # bizarre bug on SunOS 4.1.3.
51745 if $ac_need_defaults; then
51746   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
51747   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
51748   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
51749 fi
51750
51751 # Have a temporary directory for convenience.  Make it in the build tree
51752 # simply because there is no reason against having it here, and in addition,
51753 # creating and moving files from /tmp can sometimes cause problems.
51754 # Hook for its removal unless debugging.
51755 # Note that there is a small window in which the directory will not be cleaned:
51756 # after its creation but before its name has been assigned to `$tmp'.
51757 $debug ||
51758 {
51759   tmp=
51760   trap 'exit_status=$?
51761   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
51762 ' 0
51763   trap '{ (exit 1); exit 1; }' 1 2 13 15
51764 }
51765 # Create a (secure) tmp directory for tmp files.
51766
51767 {
51768   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
51769   test -n "$tmp" && test -d "$tmp"
51770 }  ||
51771 {
51772   tmp=./conf$$-$RANDOM
51773   (umask 077 && mkdir "$tmp")
51774 } ||
51775 {
51776    echo "$me: cannot create a temporary directory in ." >&2
51777    { (exit 1); exit 1; }
51778 }
51779
51780 #
51781 # Set up the sed scripts for CONFIG_FILES section.
51782 #
51783
51784 # No need to generate the scripts if there are no CONFIG_FILES.
51785 # This happens for instance when ./config.status config.h
51786 if test -n "$CONFIG_FILES"; then
51787
51788 _ACEOF
51789
51790
51791
51792 ac_delim='%!_!# '
51793 for ac_last_try in false false false false false :; do
51794   cat >conf$$subs.sed <<_ACEOF
51795 SHELL!$SHELL$ac_delim
51796 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
51797 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
51798 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
51799 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
51800 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
51801 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
51802 exec_prefix!$exec_prefix$ac_delim
51803 prefix!$prefix$ac_delim
51804 program_transform_name!$program_transform_name$ac_delim
51805 bindir!$bindir$ac_delim
51806 sbindir!$sbindir$ac_delim
51807 libexecdir!$libexecdir$ac_delim
51808 datarootdir!$datarootdir$ac_delim
51809 datadir!$datadir$ac_delim
51810 sysconfdir!$sysconfdir$ac_delim
51811 sharedstatedir!$sharedstatedir$ac_delim
51812 localstatedir!$localstatedir$ac_delim
51813 includedir!$includedir$ac_delim
51814 oldincludedir!$oldincludedir$ac_delim
51815 docdir!$docdir$ac_delim
51816 infodir!$infodir$ac_delim
51817 htmldir!$htmldir$ac_delim
51818 dvidir!$dvidir$ac_delim
51819 pdfdir!$pdfdir$ac_delim
51820 psdir!$psdir$ac_delim
51821 libdir!$libdir$ac_delim
51822 localedir!$localedir$ac_delim
51823 mandir!$mandir$ac_delim
51824 DEFS!$DEFS$ac_delim
51825 ECHO_C!$ECHO_C$ac_delim
51826 ECHO_N!$ECHO_N$ac_delim
51827 ECHO_T!$ECHO_T$ac_delim
51828 LIBS!$LIBS$ac_delim
51829 build_alias!$build_alias$ac_delim
51830 host_alias!$host_alias$ac_delim
51831 target_alias!$target_alias$ac_delim
51832 build!$build$ac_delim
51833 build_cpu!$build_cpu$ac_delim
51834 build_vendor!$build_vendor$ac_delim
51835 build_os!$build_os$ac_delim
51836 host!$host$ac_delim
51837 host_cpu!$host_cpu$ac_delim
51838 host_vendor!$host_vendor$ac_delim
51839 host_os!$host_os$ac_delim
51840 wx_top_builddir!$wx_top_builddir$ac_delim
51841 CC!$CC$ac_delim
51842 CFLAGS!$CFLAGS$ac_delim
51843 LDFLAGS!$LDFLAGS$ac_delim
51844 CPPFLAGS!$CPPFLAGS$ac_delim
51845 ac_ct_CC!$ac_ct_CC$ac_delim
51846 EXEEXT!$EXEEXT$ac_delim
51847 OBJEXT!$OBJEXT$ac_delim
51848 CPP!$CPP$ac_delim
51849 GREP!$GREP$ac_delim
51850 EGREP!$EGREP$ac_delim
51851 CXX!$CXX$ac_delim
51852 CXXFLAGS!$CXXFLAGS$ac_delim
51853 ac_ct_CXX!$ac_ct_CXX$ac_delim
51854 AR!$AR$ac_delim
51855 subdirs!$subdirs$ac_delim
51856 PKG_CONFIG!$PKG_CONFIG$ac_delim
51857 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
51858 GTK_LIBS!$GTK_LIBS$ac_delim
51859 GTK_CONFIG!$GTK_CONFIG$ac_delim
51860 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
51861 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
51862 XMKMF!$XMKMF$ac_delim
51863 X_CFLAGS!$X_CFLAGS$ac_delim
51864 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
51865 X_LIBS!$X_LIBS$ac_delim
51866 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
51867 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
51868 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
51869 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
51870 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
51871 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
51872 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
51873 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
51874 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
51875 LIBICONV!$LIBICONV$ac_delim
51876 GXX_VERSION!$GXX_VERSION$ac_delim
51877 SDL_CONFIG!$SDL_CONFIG$ac_delim
51878 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
51879 SDL_LIBS!$SDL_LIBS$ac_delim
51880 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
51881 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
51882 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
51883 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
51884 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
51885 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
51886 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
51887 HILDON_LIBS!$HILDON_LIBS$ac_delim
51888 PYTHON!$PYTHON$ac_delim
51889 COND_PYTHON!$COND_PYTHON$ac_delim
51890 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
51891 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
51892 _ACEOF
51893
51894   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51895     break
51896   elif $ac_last_try; then
51897     { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51898 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51899    { (exit 1); exit 1; }; }
51900   else
51901     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
51902   fi
51903 done
51904
51905 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51906 if test -n "$ac_eof"; then
51907   ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
51908   ac_eof=`expr $ac_eof + 1`
51909 fi
51910
51911 cat >>$CONFIG_STATUS <<_ACEOF
51912 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
51913 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51914 _ACEOF
51915 sed '
51916 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51917 s/^/s,@/; s/!/@,|#_!!_#|/
51918 :n
51919 t n
51920 s/'"$ac_delim"'$/,g/; t
51921 s/$/\\/; p
51922 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51923 ' >>$CONFIG_STATUS <conf$$subs.sed
51924 rm -f conf$$subs.sed
51925 cat >>$CONFIG_STATUS <<_ACEOF
51926 CEOF$ac_eof
51927 _ACEOF
51928
51929
51930 ac_delim='%!_!# '
51931 for ac_last_try in false false false false false :; do
51932   cat >conf$$subs.sed <<_ACEOF
51933 GST_CFLAGS!$GST_CFLAGS$ac_delim
51934 GST_LIBS!$GST_LIBS$ac_delim
51935 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
51936 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
51937 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
51938 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
51939 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
51940 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
51941 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
51942 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
51943 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
51944 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
51945 VENDOR!$VENDOR$ac_delim
51946 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
51947 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
51948 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
51949 WXUNIV!$WXUNIV$ac_delim
51950 MONOLITHIC!$MONOLITHIC$ac_delim
51951 USE_PLUGINS!$USE_PLUGINS$ac_delim
51952 CXXWARNINGS!$CXXWARNINGS$ac_delim
51953 EXTRALIBS!$EXTRALIBS$ac_delim
51954 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
51955 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
51956 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
51957 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
51958 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
51959 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
51960 EXTRALIBS_STC!$EXTRALIBS_STC$ac_delim
51961 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
51962 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
51963 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
51964 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
51965 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
51966 UNICODE!$UNICODE$ac_delim
51967 DEBUG_INFO!$DEBUG_INFO$ac_delim
51968 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
51969 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
51970 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
51971 DYLIB_RPATH_INSTALL!$DYLIB_RPATH_INSTALL$ac_delim
51972 DYLIB_RPATH_POSTLINK!$DYLIB_RPATH_POSTLINK$ac_delim
51973 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
51974 HEADER_PAD_OPTION!$HEADER_PAD_OPTION$ac_delim
51975 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
51976 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
51977 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
51978 RANLIB!$RANLIB$ac_delim
51979 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
51980 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
51981 INSTALL_DATA!$INSTALL_DATA$ac_delim
51982 LN_S!$LN_S$ac_delim
51983 SET_MAKE!$SET_MAKE$ac_delim
51984 MAKE_SET!$MAKE_SET$ac_delim
51985 AROPTIONS!$AROPTIONS$ac_delim
51986 STRIP!$STRIP$ac_delim
51987 NM!$NM$ac_delim
51988 INSTALL_DIR!$INSTALL_DIR$ac_delim
51989 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
51990 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
51991 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
51992 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
51993 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
51994 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
51995 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
51996 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
51997 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
51998 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
51999 SO_SUFFIX!$SO_SUFFIX$ac_delim
52000 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
52001 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
52002 LIBPREFIX!$LIBPREFIX$ac_delim
52003 LIBEXT!$LIBEXT$ac_delim
52004 DLLPREFIX!$DLLPREFIX$ac_delim
52005 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
52006 dlldir!$dlldir$ac_delim
52007 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
52008 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
52009 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
52010 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
52011 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
52012 PIC_FLAG!$PIC_FLAG$ac_delim
52013 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
52014 USE_SOVERSION!$USE_SOVERSION$ac_delim
52015 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
52016 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
52017 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
52018 USE_MACVERSION!$USE_MACVERSION$ac_delim
52019 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
52020 SONAME_FLAG!$SONAME_FLAG$ac_delim
52021 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
52022 BK_DEPS!$BK_DEPS$ac_delim
52023 WINDRES!$WINDRES$ac_delim
52024 REZ!$REZ$ac_delim
52025 SETFILE!$SETFILE$ac_delim
52026 OBJCXXFLAGS!$OBJCXXFLAGS$ac_delim
52027 GCC_PCH!$GCC_PCH$ac_delim
52028 ICC_PCH!$ICC_PCH$ac_delim
52029 ICC_PCH_CREATE_SWITCH!$ICC_PCH_CREATE_SWITCH$ac_delim
52030 _ACEOF
52031
52032   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52033     break
52034   elif $ac_last_try; then
52035     { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52036 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52037    { (exit 1); exit 1; }; }
52038   else
52039     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
52040   fi
52041 done
52042
52043 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52044 if test -n "$ac_eof"; then
52045   ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
52046   ac_eof=`expr $ac_eof + 1`
52047 fi
52048
52049 cat >>$CONFIG_STATUS <<_ACEOF
52050 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
52051 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52052 _ACEOF
52053 sed '
52054 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52055 s/^/s,@/; s/!/@,|#_!!_#|/
52056 :n
52057 t n
52058 s/'"$ac_delim"'$/,g/; t
52059 s/$/\\/; p
52060 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52061 ' >>$CONFIG_STATUS <conf$$subs.sed
52062 rm -f conf$$subs.sed
52063 cat >>$CONFIG_STATUS <<_ACEOF
52064 CEOF$ac_eof
52065 _ACEOF
52066
52067
52068 ac_delim='%!_!# '
52069 for ac_last_try in false false false false false :; do
52070   cat >conf$$subs.sed <<_ACEOF
52071 ICC_PCH_USE_SWITCH!$ICC_PCH_USE_SWITCH$ac_delim
52072 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
52073 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
52074 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
52075 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
52076 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
52077 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
52078 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
52079 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
52080 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
52081 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
52082 COND_BUILD_debug!$COND_BUILD_debug$ac_delim
52083 COND_BUILD_debug_DEBUG_FLAG_default!$COND_BUILD_debug_DEBUG_FLAG_default$ac_delim
52084 COND_BUILD_debug_DEBUG_INFO_default!$COND_BUILD_debug_DEBUG_INFO_default$ac_delim
52085 COND_BUILD_debug_UNICODE_0!$COND_BUILD_debug_UNICODE_0$ac_delim
52086 COND_BUILD_debug_UNICODE_1!$COND_BUILD_debug_UNICODE_1$ac_delim
52087 COND_BUILD_release!$COND_BUILD_release$ac_delim
52088 COND_BUILD_release_DEBUG_INFO_default!$COND_BUILD_release_DEBUG_INFO_default$ac_delim
52089 COND_BUILD_release_UNICODE_0!$COND_BUILD_release_UNICODE_0$ac_delim
52090 COND_BUILD_release_UNICODE_1!$COND_BUILD_release_UNICODE_1$ac_delim
52091 COND_DEBUG_FLAG_0!$COND_DEBUG_FLAG_0$ac_delim
52092 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
52093 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
52094 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
52095 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
52096 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
52097 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
52098 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
52099 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
52100 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
52101 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
52102 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
52103 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
52104 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
52105 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
52106 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1$ac_delim
52107 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1$ac_delim
52108 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
52109 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
52110 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
52111 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
52112 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
52113 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
52114 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
52115 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
52116 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
52117 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1$ac_delim
52118 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1$ac_delim
52119 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
52120 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
52121 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
52122 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
52123 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
52124 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
52125 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
52126 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
52127 COND_MONOLITHIC_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_USE_PROPGRID_1$ac_delim
52128 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
52129 COND_MONOLITHIC_0_USE_RIBBON_1!$COND_MONOLITHIC_0_USE_RIBBON_1$ac_delim
52130 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
52131 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
52132 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
52133 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
52134 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
52135 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
52136 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
52137 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
52138 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
52139 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
52140 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
52141 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0!$COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0$ac_delim
52142 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
52143 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0$ac_delim
52144 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
52145 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
52146 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
52147 COND_PLATFORM_MACOSX_1_USE_OPENGL_1!$COND_PLATFORM_MACOSX_1_USE_OPENGL_1$ac_delim
52148 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
52149 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
52150 COND_PLATFORM_MAC_0!$COND_PLATFORM_MAC_0$ac_delim
52151 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
52152 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
52153 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
52154 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
52155 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
52156 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
52157 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
52158 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
52159 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
52160 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
52161 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
52162 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
52163 COND_SHARED_0!$COND_SHARED_0$ac_delim
52164 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
52165 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
52166 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
52167 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
52168 _ACEOF
52169
52170   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52171     break
52172   elif $ac_last_try; then
52173     { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52174 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52175    { (exit 1); exit 1; }; }
52176   else
52177     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
52178   fi
52179 done
52180
52181 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52182 if test -n "$ac_eof"; then
52183   ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
52184   ac_eof=`expr $ac_eof + 1`
52185 fi
52186
52187 cat >>$CONFIG_STATUS <<_ACEOF
52188 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
52189 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52190 _ACEOF
52191 sed '
52192 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52193 s/^/s,@/; s/!/@,|#_!!_#|/
52194 :n
52195 t n
52196 s/'"$ac_delim"'$/,g/; t
52197 s/$/\\/; p
52198 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52199 ' >>$CONFIG_STATUS <conf$$subs.sed
52200 rm -f conf$$subs.sed
52201 cat >>$CONFIG_STATUS <<_ACEOF
52202 CEOF$ac_eof
52203 _ACEOF
52204
52205
52206 ac_delim='%!_!# '
52207 for ac_last_try in false false false false false :; do
52208   cat >conf$$subs.sed <<_ACEOF
52209 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
52210 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
52211 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
52212 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
52213 COND_SHARED_0_wxUSE_EXPAT_builtin!$COND_SHARED_0_wxUSE_EXPAT_builtin$ac_delim
52214 COND_SHARED_0_wxUSE_REGEX_builtin!$COND_SHARED_0_wxUSE_REGEX_builtin$ac_delim
52215 COND_SHARED_0_wxUSE_ZLIB_builtin!$COND_SHARED_0_wxUSE_ZLIB_builtin$ac_delim
52216 COND_SHARED_1!$COND_SHARED_1$ac_delim
52217 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
52218 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
52219 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
52220 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
52221 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
52222 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
52223 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
52224 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
52225 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
52226 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
52227 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
52228 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
52229 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
52230 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
52231 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
52232 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
52233 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
52234 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
52235 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
52236 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
52237 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
52238 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
52239 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
52240 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
52241 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
52242 COND_TOOLKIT_OSX_CARBON!$COND_TOOLKIT_OSX_CARBON$ac_delim
52243 COND_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
52244 COND_TOOLKIT_OSX_COCOA!$COND_TOOLKIT_OSX_COCOA$ac_delim
52245 COND_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
52246 COND_TOOLKIT_OSX_IPHONE!$COND_TOOLKIT_OSX_IPHONE$ac_delim
52247 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
52248 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
52249 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
52250 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
52251 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
52252 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
52253 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
52254 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
52255 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
52256 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
52257 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
52258 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
52259 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
52260 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
52261 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
52262 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
52263 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
52264 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
52265 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
52266 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
52267 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
52268 COND_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
52269 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
52270 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
52271 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
52272 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
52273 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
52274 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
52275 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
52276 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
52277 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
52278 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
52279 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
52280 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
52281 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
52282 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
52283 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
52284 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
52285 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
52286 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
52287 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
52288 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
52289 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
52290 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
52291 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
52292 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
52293 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
52294 COND_wxUSE_EXPAT_builtin!$COND_wxUSE_EXPAT_builtin$ac_delim
52295 COND_wxUSE_LIBJPEG_builtin!$COND_wxUSE_LIBJPEG_builtin$ac_delim
52296 COND_wxUSE_LIBPNG_builtin!$COND_wxUSE_LIBPNG_builtin$ac_delim
52297 COND_wxUSE_LIBTIFF_builtin!$COND_wxUSE_LIBTIFF_builtin$ac_delim
52298 COND_wxUSE_REGEX_builtin!$COND_wxUSE_REGEX_builtin$ac_delim
52299 COND_wxUSE_ZLIB_builtin!$COND_wxUSE_ZLIB_builtin$ac_delim
52300 DEREZ!$DEREZ$ac_delim
52301 SHARED!$SHARED$ac_delim
52302 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
52303 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
52304 USE_GUI!$USE_GUI$ac_delim
52305 AFMINSTALL!$AFMINSTALL$ac_delim
52306 _ACEOF
52307
52308   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52309     break
52310   elif $ac_last_try; then
52311     { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52312 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52313    { (exit 1); exit 1; }; }
52314   else
52315     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
52316   fi
52317 done
52318
52319 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52320 if test -n "$ac_eof"; then
52321   ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
52322   ac_eof=`expr $ac_eof + 1`
52323 fi
52324
52325 cat >>$CONFIG_STATUS <<_ACEOF
52326 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
52327 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52328 _ACEOF
52329 sed '
52330 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52331 s/^/s,@/; s/!/@,|#_!!_#|/
52332 :n
52333 t n
52334 s/'"$ac_delim"'$/,g/; t
52335 s/$/\\/; p
52336 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52337 ' >>$CONFIG_STATUS <conf$$subs.sed
52338 rm -f conf$$subs.sed
52339 cat >>$CONFIG_STATUS <<_ACEOF
52340 CEOF$ac_eof
52341 _ACEOF
52342
52343
52344 ac_delim='%!_!# '
52345 for ac_last_try in false false false false false :; do
52346   cat >conf$$subs.sed <<_ACEOF
52347 WIN32INSTALL!$WIN32INSTALL$ac_delim
52348 TOOLKIT!$TOOLKIT$ac_delim
52349 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
52350 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
52351 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
52352 cross_compiling!$cross_compiling$ac_delim
52353 WIDGET_SET!$WIDGET_SET$ac_delim
52354 WX_RELEASE!$WX_RELEASE$ac_delim
52355 WX_VERSION!$WX_VERSION$ac_delim
52356 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
52357 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
52358 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
52359 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
52360 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
52361 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
52362 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
52363 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
52364 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
52365 GUIDIST!$GUIDIST$ac_delim
52366 DISTDIR!$DISTDIR$ac_delim
52367 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
52368 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
52369 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
52370 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
52371 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
52372 RESCOMP!$RESCOMP$ac_delim
52373 RESFLAGS!$RESFLAGS$ac_delim
52374 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
52375 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
52376 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
52377 LIBWXMACRES!$LIBWXMACRES$ac_delim
52378 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
52379 MACSETFILE!$MACSETFILE$ac_delim
52380 GCC!$GCC$ac_delim
52381 DLLTOOL!$DLLTOOL$ac_delim
52382 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
52383 LIBOBJS!$LIBOBJS$ac_delim
52384 LTLIBOBJS!$LTLIBOBJS$ac_delim
52385 _ACEOF
52386
52387   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 38; then
52388     break
52389   elif $ac_last_try; then
52390     { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52391 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52392    { (exit 1); exit 1; }; }
52393   else
52394     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
52395   fi
52396 done
52397
52398 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52399 if test -n "$ac_eof"; then
52400   ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
52401   ac_eof=`expr $ac_eof + 1`
52402 fi
52403
52404 cat >>$CONFIG_STATUS <<_ACEOF
52405 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
52406 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
52407 _ACEOF
52408 sed '
52409 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52410 s/^/s,@/; s/!/@,|#_!!_#|/
52411 :n
52412 t n
52413 s/'"$ac_delim"'$/,g/; t
52414 s/$/\\/; p
52415 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52416 ' >>$CONFIG_STATUS <conf$$subs.sed
52417 rm -f conf$$subs.sed
52418 cat >>$CONFIG_STATUS <<_ACEOF
52419 :end
52420 s/|#_!!_#|//g
52421 CEOF$ac_eof
52422 _ACEOF
52423
52424
52425 # VPATH may cause trouble with some makes, so we remove $(srcdir),
52426 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
52427 # trailing colons and then remove the whole line if VPATH becomes empty
52428 # (actually we leave an empty line to preserve line numbers).
52429 if test "x$srcdir" = x.; then
52430   ac_vpsub='/^[  ]*VPATH[        ]*=/{
52431 s/:*\$(srcdir):*/:/
52432 s/:*\${srcdir}:*/:/
52433 s/:*@srcdir@:*/:/
52434 s/^\([^=]*=[     ]*\):*/\1/
52435 s/:*$//
52436 s/^[^=]*=[       ]*$//
52437 }'
52438 fi
52439
52440 cat >>$CONFIG_STATUS <<\_ACEOF
52441 fi # test -n "$CONFIG_FILES"
52442
52443
52444 for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS
52445 do
52446   case $ac_tag in
52447   :[FHLC]) ac_mode=$ac_tag; continue;;
52448   esac
52449   case $ac_mode$ac_tag in
52450   :[FHL]*:*);;
52451   :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
52452 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
52453    { (exit 1); exit 1; }; };;
52454   :[FH]-) ac_tag=-:-;;
52455   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
52456   esac
52457   ac_save_IFS=$IFS
52458   IFS=:
52459   set x $ac_tag
52460   IFS=$ac_save_IFS
52461   shift
52462   ac_file=$1
52463   shift
52464
52465   case $ac_mode in
52466   :L) ac_source=$1;;
52467   :[FH])
52468     ac_file_inputs=
52469     for ac_f
52470     do
52471       case $ac_f in
52472       -) ac_f="$tmp/stdin";;
52473       *) # Look for the file first in the build tree, then in the source tree
52474          # (if the path is not absolute).  The absolute path cannot be DOS-style,
52475          # because $ac_f cannot contain `:'.
52476          test -f "$ac_f" ||
52477            case $ac_f in
52478            [\\/$]*) false;;
52479            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
52480            esac ||
52481            { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
52482 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
52483    { (exit 1); exit 1; }; };;
52484       esac
52485       ac_file_inputs="$ac_file_inputs $ac_f"
52486     done
52487
52488     # Let's still pretend it is `configure' which instantiates (i.e., don't
52489     # use $as_me), people would be surprised to read:
52490     #    /* config.h.  Generated by config.status.  */
52491     configure_input="Generated from "`IFS=:
52492           echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
52493     if test x"$ac_file" != x-; then
52494       configure_input="$ac_file.  $configure_input"
52495       { echo "$as_me:$LINENO: creating $ac_file" >&5
52496 echo "$as_me: creating $ac_file" >&6;}
52497     fi
52498
52499     case $ac_tag in
52500     *:-:* | *:-) cat >"$tmp/stdin";;
52501     esac
52502     ;;
52503   esac
52504
52505   ac_dir=`$as_dirname -- "$ac_file" ||
52506 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52507          X"$ac_file" : 'X\(//\)[^/]' \| \
52508          X"$ac_file" : 'X\(//\)$' \| \
52509          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
52510 echo X"$ac_file" |
52511     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52512             s//\1/
52513             q
52514           }
52515           /^X\(\/\/\)[^/].*/{
52516             s//\1/
52517             q
52518           }
52519           /^X\(\/\/\)$/{
52520             s//\1/
52521             q
52522           }
52523           /^X\(\/\).*/{
52524             s//\1/
52525             q
52526           }
52527           s/.*/./; q'`
52528   { as_dir="$ac_dir"
52529   case $as_dir in #(
52530   -*) as_dir=./$as_dir;;
52531   esac
52532   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
52533     as_dirs=
52534     while :; do
52535       case $as_dir in #(
52536       *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
52537       *) as_qdir=$as_dir;;
52538       esac
52539       as_dirs="'$as_qdir' $as_dirs"
52540       as_dir=`$as_dirname -- "$as_dir" ||
52541 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52542          X"$as_dir" : 'X\(//\)[^/]' \| \
52543          X"$as_dir" : 'X\(//\)$' \| \
52544          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
52545 echo X"$as_dir" |
52546     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52547             s//\1/
52548             q
52549           }
52550           /^X\(\/\/\)[^/].*/{
52551             s//\1/
52552             q
52553           }
52554           /^X\(\/\/\)$/{
52555             s//\1/
52556             q
52557           }
52558           /^X\(\/\).*/{
52559             s//\1/
52560             q
52561           }
52562           s/.*/./; q'`
52563       test -d "$as_dir" && break
52564     done
52565     test -z "$as_dirs" || eval "mkdir $as_dirs"
52566   } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
52567 echo "$as_me: error: cannot create directory $as_dir" >&2;}
52568    { (exit 1); exit 1; }; }; }
52569   ac_builddir=.
52570
52571 case "$ac_dir" in
52572 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
52573 *)
52574   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52575   # A ".." for each directory in $ac_dir_suffix.
52576   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
52577   case $ac_top_builddir_sub in
52578   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
52579   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
52580   esac ;;
52581 esac
52582 ac_abs_top_builddir=$ac_pwd
52583 ac_abs_builddir=$ac_pwd$ac_dir_suffix
52584 # for backward compatibility:
52585 ac_top_builddir=$ac_top_build_prefix
52586
52587 case $srcdir in
52588   .)  # We are building in place.
52589     ac_srcdir=.
52590     ac_top_srcdir=$ac_top_builddir_sub
52591     ac_abs_top_srcdir=$ac_pwd ;;
52592   [\\/]* | ?:[\\/]* )  # Absolute name.
52593     ac_srcdir=$srcdir$ac_dir_suffix;
52594     ac_top_srcdir=$srcdir
52595     ac_abs_top_srcdir=$srcdir ;;
52596   *) # Relative name.
52597     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
52598     ac_top_srcdir=$ac_top_build_prefix$srcdir
52599     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
52600 esac
52601 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
52602
52603
52604   case $ac_mode in
52605   :F)
52606   #
52607   # CONFIG_FILE
52608   #
52609
52610   case $INSTALL in
52611   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
52612   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
52613   esac
52614 _ACEOF
52615
52616 cat >>$CONFIG_STATUS <<\_ACEOF
52617 # If the template does not know about datarootdir, expand it.
52618 # FIXME: This hack should be removed a few years after 2.60.
52619 ac_datarootdir_hack=; ac_datarootdir_seen=
52620
52621 case `sed -n '/datarootdir/ {
52622   p
52623   q
52624 }
52625 /@datadir@/p
52626 /@docdir@/p
52627 /@infodir@/p
52628 /@localedir@/p
52629 /@mandir@/p
52630 ' $ac_file_inputs` in
52631 *datarootdir*) ac_datarootdir_seen=yes;;
52632 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
52633   { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
52634 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
52635 _ACEOF
52636 cat >>$CONFIG_STATUS <<_ACEOF
52637   ac_datarootdir_hack='
52638   s&@datadir@&$datadir&g
52639   s&@docdir@&$docdir&g
52640   s&@infodir@&$infodir&g
52641   s&@localedir@&$localedir&g
52642   s&@mandir@&$mandir&g
52643     s&\\\${datarootdir}&$datarootdir&g' ;;
52644 esac
52645 _ACEOF
52646
52647 # Neutralize VPATH when `$srcdir' = `.'.
52648 # Shell code in configure.ac might set extrasub.
52649 # FIXME: do we really want to maintain this feature?
52650 cat >>$CONFIG_STATUS <<_ACEOF
52651   sed "$ac_vpsub
52652 $extrasub
52653 _ACEOF
52654 cat >>$CONFIG_STATUS <<\_ACEOF
52655 :t
52656 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52657 s&@configure_input@&$configure_input&;t t
52658 s&@top_builddir@&$ac_top_builddir_sub&;t t
52659 s&@srcdir@&$ac_srcdir&;t t
52660 s&@abs_srcdir@&$ac_abs_srcdir&;t t
52661 s&@top_srcdir@&$ac_top_srcdir&;t t
52662 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
52663 s&@builddir@&$ac_builddir&;t t
52664 s&@abs_builddir@&$ac_abs_builddir&;t t
52665 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
52666 s&@INSTALL@&$ac_INSTALL&;t t
52667 $ac_datarootdir_hack
52668 " $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
52669
52670 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
52671   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
52672   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
52673   { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
52674 which seems to be undefined.  Please make sure it is defined." >&5
52675 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
52676 which seems to be undefined.  Please make sure it is defined." >&2;}
52677
52678   rm -f "$tmp/stdin"
52679   case $ac_file in
52680   -) cat "$tmp/out"; rm -f "$tmp/out";;
52681   *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
52682   esac
52683  ;;
52684   :H)
52685   #
52686   # CONFIG_HEADER
52687   #
52688 _ACEOF
52689
52690 # Transform confdefs.h into a sed script `conftest.defines', that
52691 # substitutes the proper values into config.h.in to produce config.h.
52692 rm -f conftest.defines conftest.tail
52693 # First, append a space to every undef/define line, to ease matching.
52694 echo 's/$/ /' >conftest.defines
52695 # Then, protect against being on the right side of a sed subst, or in
52696 # an unquoted here document, in config.status.  If some macros were
52697 # called several times there might be several #defines for the same
52698 # symbol, which is useless.  But do not sort them, since the last
52699 # AC_DEFINE must be honored.
52700 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
52701 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
52702 # NAME is the cpp macro being defined, VALUE is the value it is being given.
52703 # PARAMS is the parameter list in the macro definition--in most cases, it's
52704 # just an empty string.
52705 ac_dA='s,^\\([   #]*\\)[^        ]*\\([  ]*'
52706 ac_dB='\\)[      (].*,\\1define\\2'
52707 ac_dC=' '
52708 ac_dD=' ,'
52709
52710 uniq confdefs.h |
52711   sed -n '
52712         t rset
52713         :rset
52714         s/^[     ]*#[    ]*define[       ][      ]*//
52715         t ok
52716         d
52717         :ok
52718         s/[\\&,]/\\&/g
52719         s/^\('"$ac_word_re"'\)\(([^()]*)\)[      ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
52720         s/^\('"$ac_word_re"'\)[  ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
52721   ' >>conftest.defines
52722
52723 # Remove the space that was appended to ease matching.
52724 # Then replace #undef with comments.  This is necessary, for
52725 # example, in the case of _POSIX_SOURCE, which is predefined and required
52726 # on some systems where configure will not decide to define it.
52727 # (The regexp can be short, since the line contains either #define or #undef.)
52728 echo 's/ $//
52729 s,^[     #]*u.*,/* & */,' >>conftest.defines
52730
52731 # Break up conftest.defines:
52732 ac_max_sed_lines=50
52733
52734 # First sed command is:  sed -f defines.sed $ac_file_inputs >"$tmp/out1"
52735 # Second one is:         sed -f defines.sed "$tmp/out1" >"$tmp/out2"
52736 # Third one will be:     sed -f defines.sed "$tmp/out2" >"$tmp/out1"
52737 # et cetera.
52738 ac_in='$ac_file_inputs'
52739 ac_out='"$tmp/out1"'
52740 ac_nxt='"$tmp/out2"'
52741
52742 while :
52743 do
52744   # Write a here document:
52745     cat >>$CONFIG_STATUS <<_ACEOF
52746     # First, check the format of the line:
52747     cat >"\$tmp/defines.sed" <<\\CEOF
52748 /^[      ]*#[    ]*undef[        ][      ]*$ac_word_re[  ]*\$/b def
52749 /^[      ]*#[    ]*define[       ][      ]*$ac_word_re[(         ]/b def
52750 b
52751 :def
52752 _ACEOF
52753   sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
52754   echo 'CEOF
52755     sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
52756   ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
52757   sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
52758   grep . conftest.tail >/dev/null || break
52759   rm -f conftest.defines
52760   mv conftest.tail conftest.defines
52761 done
52762 rm -f conftest.defines conftest.tail
52763
52764 echo "ac_result=$ac_in" >>$CONFIG_STATUS
52765 cat >>$CONFIG_STATUS <<\_ACEOF
52766   if test x"$ac_file" != x-; then
52767     echo "/* $configure_input  */" >"$tmp/config.h"
52768     cat "$ac_result" >>"$tmp/config.h"
52769     if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
52770       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
52771 echo "$as_me: $ac_file is unchanged" >&6;}
52772     else
52773       rm -f $ac_file
52774       mv "$tmp/config.h" $ac_file
52775     fi
52776   else
52777     echo "/* $configure_input  */"
52778     cat "$ac_result"
52779   fi
52780   rm -f "$tmp/out12"
52781  ;;
52782
52783   :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
52784 echo "$as_me: executing $ac_file commands" >&6;}
52785  ;;
52786   esac
52787
52788
52789   case $ac_file$ac_mode in
52790     "rcdefs.h":C)
52791             mkdir -p $outdir &&
52792             $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
52793          ;;
52794     "lib/wx/config/${TOOLCHAIN_FULLNAME}":F)  chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME}  ;;
52795     "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F)  chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}  ;;
52796     "utils/ifacecheck/rungccxml.sh":F)  chmod +x utils/ifacecheck/rungccxml.sh  ;;
52797     "wx-config":C)  rm -f wx-config
52798                      ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
52799                     ;;
52800
52801   esac
52802 done # for ac_tag
52803
52804
52805 { (exit 0); exit 0; }
52806 _ACEOF
52807 chmod +x $CONFIG_STATUS
52808 ac_clean_files=$ac_clean_files_save
52809
52810
52811 # configure is writing to config.log, and then calls config.status.
52812 # config.status does its own redirection, appending to config.log.
52813 # Unfortunately, on DOS this fails, as config.log is still kept open
52814 # by configure, so config.status won't be able to write to it; its
52815 # output is simply discarded.  So we exec the FD to /dev/null,
52816 # effectively closing config.log, so it can be properly (re)opened and
52817 # appended to by config.status.  When coming back to configure, we
52818 # need to make the FD available again.
52819 if test "$no_create" != yes; then
52820   ac_cs_success=:
52821   ac_config_status_args=
52822   test "$silent" = yes &&
52823     ac_config_status_args="$ac_config_status_args --quiet"
52824   exec 5>/dev/null
52825   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
52826   exec 5>>config.log
52827   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
52828   # would make configure fail if this is the last instruction.
52829   $ac_cs_success || { (exit 1); exit 1; }
52830 fi
52831
52832 #
52833 # CONFIG_SUBDIRS section.
52834 #
52835 if test "$no_recursion" != yes; then
52836
52837   # Remove --cache-file and --srcdir arguments so they do not pile up.
52838   ac_sub_configure_args=
52839   ac_prev=
52840   eval "set x $ac_configure_args"
52841   shift
52842   for ac_arg
52843   do
52844     if test -n "$ac_prev"; then
52845       ac_prev=
52846       continue
52847     fi
52848     case $ac_arg in
52849     -cache-file | --cache-file | --cache-fil | --cache-fi \
52850     | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
52851       ac_prev=cache_file ;;
52852     -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
52853     | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
52854     | --c=*)
52855       ;;
52856     --config-cache | -C)
52857       ;;
52858     -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
52859       ac_prev=srcdir ;;
52860     -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
52861       ;;
52862     -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
52863       ac_prev=prefix ;;
52864     -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
52865       ;;
52866     *)
52867       case $ac_arg in
52868       *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
52869       esac
52870       ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
52871     esac
52872   done
52873
52874   # Always prepend --prefix to ensure using the same prefix
52875   # in subdir configurations.
52876   ac_arg="--prefix=$prefix"
52877   case $ac_arg in
52878   *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
52879   esac
52880   ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
52881
52882   # Pass --silent
52883   if test "$silent" = yes; then
52884     ac_sub_configure_args="--silent $ac_sub_configure_args"
52885   fi
52886
52887   ac_popdir=`pwd`
52888   for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
52889
52890     # Do not complain, so a configure script can configure whichever
52891     # parts of a large source tree are present.
52892     test -d "$srcdir/$ac_dir" || continue
52893
52894     ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
52895     echo "$as_me:$LINENO: $ac_msg" >&5
52896     echo "$ac_msg" >&6
52897     { as_dir="$ac_dir"
52898   case $as_dir in #(
52899   -*) as_dir=./$as_dir;;
52900   esac
52901   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
52902     as_dirs=
52903     while :; do
52904       case $as_dir in #(
52905       *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
52906       *) as_qdir=$as_dir;;
52907       esac
52908       as_dirs="'$as_qdir' $as_dirs"
52909       as_dir=`$as_dirname -- "$as_dir" ||
52910 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52911          X"$as_dir" : 'X\(//\)[^/]' \| \
52912          X"$as_dir" : 'X\(//\)$' \| \
52913          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
52914 echo X"$as_dir" |
52915     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52916             s//\1/
52917             q
52918           }
52919           /^X\(\/\/\)[^/].*/{
52920             s//\1/
52921             q
52922           }
52923           /^X\(\/\/\)$/{
52924             s//\1/
52925             q
52926           }
52927           /^X\(\/\).*/{
52928             s//\1/
52929             q
52930           }
52931           s/.*/./; q'`
52932       test -d "$as_dir" && break
52933     done
52934     test -z "$as_dirs" || eval "mkdir $as_dirs"
52935   } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
52936 echo "$as_me: error: cannot create directory $as_dir" >&2;}
52937    { (exit 1); exit 1; }; }; }
52938     ac_builddir=.
52939
52940 case "$ac_dir" in
52941 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
52942 *)
52943   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52944   # A ".." for each directory in $ac_dir_suffix.
52945   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
52946   case $ac_top_builddir_sub in
52947   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
52948   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
52949   esac ;;
52950 esac
52951 ac_abs_top_builddir=$ac_pwd
52952 ac_abs_builddir=$ac_pwd$ac_dir_suffix
52953 # for backward compatibility:
52954 ac_top_builddir=$ac_top_build_prefix
52955
52956 case $srcdir in
52957   .)  # We are building in place.
52958     ac_srcdir=.
52959     ac_top_srcdir=$ac_top_builddir_sub
52960     ac_abs_top_srcdir=$ac_pwd ;;
52961   [\\/]* | ?:[\\/]* )  # Absolute name.
52962     ac_srcdir=$srcdir$ac_dir_suffix;
52963     ac_top_srcdir=$srcdir
52964     ac_abs_top_srcdir=$srcdir ;;
52965   *) # Relative name.
52966     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
52967     ac_top_srcdir=$ac_top_build_prefix$srcdir
52968     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
52969 esac
52970 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
52971
52972
52973     cd "$ac_dir"
52974
52975     # Check for guested configure; otherwise get Cygnus style configure.
52976     if test -f "$ac_srcdir/configure.gnu"; then
52977       ac_sub_configure=$ac_srcdir/configure.gnu
52978     elif test -f "$ac_srcdir/configure"; then
52979       ac_sub_configure=$ac_srcdir/configure
52980     elif test -f "$ac_srcdir/configure.in"; then
52981       # This should be Cygnus configure.
52982       ac_sub_configure=$ac_aux_dir/configure
52983     else
52984       { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
52985 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
52986       ac_sub_configure=
52987     fi
52988
52989     # The recursion is here.
52990     if test -n "$ac_sub_configure"; then
52991       # Make the cache file name correct relative to the subdirectory.
52992       case $cache_file in
52993       [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
52994       *) # Relative name.
52995         ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
52996       esac
52997
52998       { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
52999 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
53000       # The eval makes quoting arguments work.
53001       eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
53002            --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
53003         { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
53004 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
53005    { (exit 1); exit 1; }; }
53006     fi
53007
53008     cd "$ac_popdir"
53009   done
53010 fi
53011
53012
53013 echo
53014 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
53015 echo ""
53016 echo "  Which GUI toolkit should wxWidgets use?                 ${TOOLKIT_DESC}"
53017 echo "  Should wxWidgets be compiled into single library?       ${wxUSE_MONOLITHIC:-yes}"
53018 echo "  Should wxWidgets be linked as a shared library?         ${wxUSE_SHARED:-no}"
53019 echo $ECHO_N "  Should wxWidgets support Unicode?                       ${wxUSE_UNICODE:-no}$ECHO_C"
53020 if test "$wxUSE_UNICODE" = "yes"; then
53021     if test "$wxUSE_UNICODE_UTF8" = "yes"; then
53022         echo " (using UTF-8)"
53023     else
53024         echo " (using wchar_t)"
53025     fi
53026 else
53027     echo
53028 fi
53029
53030 echo "  What level of wxWidgets compatibility should be enabled?"
53031 echo "                                       wxWidgets 2.6      ${WXWIN_COMPATIBILITY_2_6:-no}"
53032 echo "                                       wxWidgets 2.8      ${WXWIN_COMPATIBILITY_2_8:-yes}"
53033
53034 echo "  Which libraries should wxWidgets use?"
53035 echo "                                       STL                ${wxUSE_STL}"
53036 echo "                                       jpeg               ${wxUSE_LIBJPEG-none}"
53037 echo "                                       png                ${wxUSE_LIBPNG-none}"
53038 echo "                                       regex              ${wxUSE_REGEX}"
53039 echo "                                       tiff               ${wxUSE_LIBTIFF-none}"
53040 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
53041 echo "                                       xpm                ${wxUSE_LIBXPM-none}"
53042 fi
53043 echo "                                       zlib               ${wxUSE_ZLIB}"
53044 echo "                                       expat              ${wxUSE_EXPAT}"
53045 echo "                                       libmspack          ${wxUSE_LIBMSPACK}"
53046 echo "                                       sdl                ${wxUSE_LIBSDL}"
53047
53048 echo ""
53049