Don't add default extension in wxDocument::SaveAs().
[wxWidgets.git] / configure
1 #! /bin/sh
2 # From configure.in Id.
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 HILDON2_CFLAGS
713 HILDON2_LIBS
714 PYTHON
715 COND_PYTHON
716 CAIRO_CFLAGS
717 CAIRO_LIBS
718 GST_CFLAGS
719 GST_LIBS
720 ALL_WX_LIBS
721 BUILT_WX_LIBS
722 STD_BASE_LIBS
723 STD_GUI_LIBS
724 wxUSE_ZLIB
725 wxUSE_REGEX
726 wxUSE_EXPAT
727 wxUSE_LIBJPEG
728 wxUSE_LIBPNG
729 wxUSE_LIBTIFF
730 VENDOR
731 OFFICIAL_BUILD
732 WX_FLAVOUR
733 WX_LIB_FLAVOUR
734 WXUNIV
735 MONOLITHIC
736 USE_PLUGINS
737 CXXWARNINGS
738 EXTRALIBS
739 EXTRALIBS_XML
740 EXTRALIBS_HTML
741 EXTRALIBS_MEDIA
742 EXTRALIBS_GUI
743 EXTRALIBS_OPENGL
744 EXTRALIBS_SDL
745 EXTRALIBS_STC
746 WITH_PLUGIN_SDL
747 EXTRALIBS_GTKPRINT
748 EXTRALIBS_GNOMEPRINT
749 EXTRALIBS_GNOMEVFS
750 EXTRALIBS_HILDON
751 UNICODE
752 DEBUG_INFO
753 DEBUG_FLAG
754 TOOLKIT_LOWERCASE
755 TOOLKIT_VERSION
756 DYLIB_RPATH_INSTALL
757 DYLIB_RPATH_POSTLINK
758 SAMPLES_RPATH_FLAG
759 HEADER_PAD_OPTION
760 HOST_SUFFIX
761 CPPUNIT_CFLAGS
762 CPPUNIT_LIBS
763 RANLIB
764 INSTALL_PROGRAM
765 INSTALL_SCRIPT
766 INSTALL_DATA
767 LN_S
768 SET_MAKE
769 MAKE_SET
770 AROPTIONS
771 STRIP
772 NM
773 INSTALL_DIR
774 LDFLAGS_GUI
775 IF_GNU_MAKE
776 PLATFORM_UNIX
777 PLATFORM_WIN32
778 PLATFORM_MSDOS
779 PLATFORM_MAC
780 PLATFORM_MACOS
781 PLATFORM_MACOSX
782 PLATFORM_OS2
783 PLATFORM_BEOS
784 SO_SUFFIX
785 SO_SUFFIX_MODULE
786 DLLIMP_SUFFIX
787 LIBPREFIX
788 LIBEXT
789 DLLPREFIX
790 DLLPREFIX_MODULE
791 dlldir
792 AIX_CXX_LD
793 SHARED_LD_CC
794 SHARED_LD_CXX
795 SHARED_LD_MODULE_CC
796 SHARED_LD_MODULE_CXX
797 PIC_FLAG
798 WINDOWS_IMPLIB
799 USE_SOVERSION
800 USE_SOVERLINUX
801 USE_SOVERSOLARIS
802 USE_SOVERCYGWIN
803 USE_MACVERSION
804 USE_SOTWOSYMLINKS
805 SONAME_FLAG
806 DEPS_TRACKING
807 BK_DEPS
808 WINDRES
809 REZ
810 SETFILE
811 OBJCXXFLAGS
812 GCC_PCH
813 ICC_PCH
814 ICC_PCH_CREATE_SWITCH
815 ICC_PCH_USE_SWITCH
816 BK_MAKE_PCH
817 COND_BUILD_DEBUG
818 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
819 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
820 COND_BUILD_DEBUG_UNICODE_0
821 COND_BUILD_DEBUG_UNICODE_1
822 COND_BUILD_RELEASE
823 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
824 COND_BUILD_RELEASE_UNICODE_0
825 COND_BUILD_RELEASE_UNICODE_1
826 COND_BUILD_debug
827 COND_BUILD_debug_DEBUG_FLAG_default
828 COND_BUILD_debug_DEBUG_INFO_default
829 COND_BUILD_debug_UNICODE_0
830 COND_BUILD_debug_UNICODE_1
831 COND_BUILD_release
832 COND_BUILD_release_DEBUG_INFO_default
833 COND_BUILD_release_UNICODE_0
834 COND_BUILD_release_UNICODE_1
835 COND_DEBUG_FLAG_0
836 COND_DEBUG_FLAG_1
837 COND_DEBUG_INFO_0
838 COND_DEBUG_INFO_1
839 COND_DEPS_TRACKING_0
840 COND_DEPS_TRACKING_1
841 COND_GCC_PCH_1
842 COND_ICC_PCH_1
843 COND_MONOLITHIC_0
844 COND_MONOLITHIC_0_SHARED_0
845 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
846 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
847 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
848 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
849 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
850 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
851 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1
852 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
853 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
854 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
855 COND_MONOLITHIC_0_SHARED_1
856 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
857 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
858 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
859 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
860 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
861 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
862 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1
863 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
864 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
865 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
866 COND_MONOLITHIC_0_USE_AUI_1
867 COND_MONOLITHIC_0_USE_GUI_1
868 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
869 COND_MONOLITHIC_0_USE_HTML_1
870 COND_MONOLITHIC_0_USE_MEDIA_1
871 COND_MONOLITHIC_0_USE_PROPGRID_1
872 COND_MONOLITHIC_0_USE_QA_1
873 COND_MONOLITHIC_0_USE_RIBBON_1
874 COND_MONOLITHIC_0_USE_RICHTEXT_1
875 COND_MONOLITHIC_0_USE_STC_1
876 COND_MONOLITHIC_0_USE_XRC_1
877 COND_MONOLITHIC_1
878 COND_MONOLITHIC_1_SHARED_0
879 COND_MONOLITHIC_1_SHARED_1
880 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
881 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
882 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
883 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
884 COND_PLATFORM_MACOSX_1
885 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
886 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
887 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
888 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
889 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
890 COND_PLATFORM_MACOSX_1_USE_GUI_1
891 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
892 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
893 COND_PLATFORM_MACOS_1
894 COND_PLATFORM_MAC_0
895 COND_PLATFORM_MAC_1
896 COND_PLATFORM_MSDOS_0
897 COND_PLATFORM_MSDOS_1
898 COND_PLATFORM_OS2_1
899 COND_PLATFORM_UNIX_0
900 COND_PLATFORM_UNIX_1
901 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
902 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
903 COND_PLATFORM_UNIX_1_USE_GUI_1
904 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
905 COND_PLATFORM_WIN32_0
906 COND_PLATFORM_WIN32_1
907 COND_SHARED_0
908 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
909 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
910 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
911 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
912 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
913 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
914 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
915 COND_SHARED_0_USE_STC_1
916 COND_SHARED_0_wxUSE_EXPAT_builtin
917 COND_SHARED_0_wxUSE_REGEX_builtin
918 COND_SHARED_0_wxUSE_ZLIB_builtin
919 COND_SHARED_1
920 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
921 COND_TOOLKIT_
922 COND_TOOLKIT_COCOA
923 COND_TOOLKIT_COCOA_USE_GUI_1
924 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
925 COND_TOOLKIT_DFB
926 COND_TOOLKIT_DFB_USE_GUI_1
927 COND_TOOLKIT_GTK
928 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
929 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
930 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
931 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
932 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
933 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
934 COND_TOOLKIT_GTK_USE_GUI_1
935 COND_TOOLKIT_MAC
936 COND_TOOLKIT_MGL
937 COND_TOOLKIT_MGL_USE_GUI_1
938 COND_TOOLKIT_MOTIF
939 COND_TOOLKIT_MOTIF_USE_GUI_1
940 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
941 COND_TOOLKIT_MSW
942 COND_TOOLKIT_MSW_USE_GUI_1
943 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
944 COND_TOOLKIT_MSW_WXUNIV_0
945 COND_TOOLKIT_OSX_CARBON
946 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
947 COND_TOOLKIT_OSX_COCOA
948 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
949 COND_TOOLKIT_OSX_IPHONE
950 COND_TOOLKIT_PM
951 COND_TOOLKIT_PM_USE_GUI_1
952 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
953 COND_TOOLKIT_WINCE
954 COND_TOOLKIT_WINCE_USE_GUI_1
955 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
956 COND_TOOLKIT_WINCE_WXUNIV_0
957 COND_TOOLKIT_X11
958 COND_TOOLKIT_X11_USE_GUI_1
959 COND_UNICODE_1
960 COND_USE_EXCEPTIONS_0
961 COND_USE_EXCEPTIONS_1
962 COND_USE_GUI_0
963 COND_USE_GUI_1
964 COND_USE_GUI_1_USE_OPENGL_1
965 COND_USE_GUI_1_WXUNIV_0
966 COND_USE_GUI_1_WXUNIV_1
967 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
968 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
969 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
970 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
971 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
972 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
973 COND_USE_OPENGL_1
974 COND_USE_PCH_1
975 COND_USE_PLUGINS_0
976 COND_USE_RTTI_0
977 COND_USE_RTTI_1
978 COND_USE_SOTWOSYMLINKS_1
979 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
980 COND_USE_SOVERLINUX_1
981 COND_USE_SOVERSION_0
982 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1
983 COND_USE_SOVERSOLARIS_1
984 COND_USE_STC_1
985 COND_USE_THREADS_0
986 COND_USE_THREADS_1
987 COND_USE_XRC_1
988 COND_WINDOWS_IMPLIB_1
989 COND_WITH_PLUGIN_SDL_1
990 COND_WXUNIV_0
991 COND_WXUNIV_1
992 COND_WXUSE_EXPAT_BUILTIN
993 COND_WXUSE_LIBJPEG_BUILTIN
994 COND_WXUSE_LIBPNG_BUILTIN
995 COND_WXUSE_LIBTIFF_BUILTIN
996 COND_WXUSE_REGEX_BUILTIN
997 COND_WXUSE_ZLIB_BUILTIN
998 COND_wxUSE_EXPAT_builtin
999 COND_wxUSE_LIBJPEG_builtin
1000 COND_wxUSE_LIBPNG_builtin
1001 COND_wxUSE_LIBTIFF_builtin
1002 COND_wxUSE_REGEX_builtin
1003 COND_wxUSE_ZLIB_builtin
1004 DEREZ
1005 SHARED
1006 WX_LIBRARY_BASENAME_NOGUI
1007 WX_LIBRARY_BASENAME_GUI
1008 USE_GUI
1009 AFMINSTALL
1010 WIN32INSTALL
1011 TOOLKIT
1012 TOOLKIT_DIR
1013 TOOLCHAIN_NAME
1014 TOOLCHAIN_FULLNAME
1015 cross_compiling
1016 WIDGET_SET
1017 WX_RELEASE
1018 WX_VERSION
1019 WX_SUBVERSION
1020 WX_CHARTYPE
1021 WXCONFIG_CPPFLAGS
1022 WXCONFIG_CFLAGS
1023 WXCONFIG_CXXFLAGS
1024 WXCONFIG_LIBS
1025 WXCONFIG_RPATH
1026 WXCONFIG_LDFLAGS_GUI
1027 WXCONFIG_RESFLAGS
1028 GUIDIST
1029 DISTDIR
1030 SAMPLES_SUBDIRS
1031 LDFLAGS_GL
1032 OPENGL_LIBS
1033 DMALLOC_LIBS
1034 WX_VERSION_TAG
1035 RESCOMP
1036 RESFLAGS
1037 RESPROGRAMOBJ
1038 WX_RESOURCES_MACOSX_ASCII
1039 WX_RESOURCES_MACOSX_DATA
1040 LIBWXMACRES
1041 POSTLINK_COMMAND
1042 MACSETFILE
1043 GCC
1044 DLLTOOL
1045 CPPUNIT_CONFIG
1046 LIBOBJS
1047 LTLIBOBJS'
1048 ac_subst_files=''
1049       ac_precious_vars='build_alias
1050 host_alias
1051 target_alias
1052 CC
1053 CFLAGS
1054 LDFLAGS
1055 LIBS
1056 CPPFLAGS
1057 CPP
1058 CXX
1059 CXXFLAGS
1060 CCC
1061 PKG_CONFIG
1062 DIRECTFB_CFLAGS
1063 DIRECTFB_LIBS
1064 XMKMF
1065 PANGOX_CFLAGS
1066 PANGOX_LIBS
1067 PANGOFT2_CFLAGS
1068 PANGOFT2_LIBS
1069 PANGOXFT_CFLAGS
1070 PANGOXFT_LIBS
1071 GTKPRINT_CFLAGS
1072 GTKPRINT_LIBS
1073 LIBGNOMEPRINTUI_CFLAGS
1074 LIBGNOMEPRINTUI_LIBS
1075 GNOMEVFS_CFLAGS
1076 GNOMEVFS_LIBS
1077 HILDON_CFLAGS
1078 HILDON_LIBS
1079 HILDON2_CFLAGS
1080 HILDON2_LIBS
1081 CAIRO_CFLAGS
1082 CAIRO_LIBS
1083 GST_CFLAGS
1084 GST_LIBS'
1085 ac_subdirs_all='src/tiff
1086 src/expat'
1087
1088 # Initialize some variables set by options.
1089 ac_init_help=
1090 ac_init_version=false
1091 # The variables have the same names as the options, with
1092 # dashes changed to underlines.
1093 cache_file=/dev/null
1094 exec_prefix=NONE
1095 no_create=
1096 no_recursion=
1097 prefix=NONE
1098 program_prefix=NONE
1099 program_suffix=NONE
1100 program_transform_name=s,x,x,
1101 silent=
1102 site=
1103 srcdir=
1104 verbose=
1105 x_includes=NONE
1106 x_libraries=NONE
1107
1108 # Installation directory options.
1109 # These are left unexpanded so users can "make install exec_prefix=/foo"
1110 # and all the variables that are supposed to be based on exec_prefix
1111 # by default will actually change.
1112 # Use braces instead of parens because sh, perl, etc. also accept them.
1113 # (The list follows the same order as the GNU Coding Standards.)
1114 bindir='${exec_prefix}/bin'
1115 sbindir='${exec_prefix}/sbin'
1116 libexecdir='${exec_prefix}/libexec'
1117 datarootdir='${prefix}/share'
1118 datadir='${datarootdir}'
1119 sysconfdir='${prefix}/etc'
1120 sharedstatedir='${prefix}/com'
1121 localstatedir='${prefix}/var'
1122 includedir='${prefix}/include'
1123 oldincludedir='/usr/include'
1124 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1125 infodir='${datarootdir}/info'
1126 htmldir='${docdir}'
1127 dvidir='${docdir}'
1128 pdfdir='${docdir}'
1129 psdir='${docdir}'
1130 libdir='${exec_prefix}/lib'
1131 localedir='${datarootdir}/locale'
1132 mandir='${datarootdir}/man'
1133
1134 ac_prev=
1135 ac_dashdash=
1136 for ac_option
1137 do
1138   # If the previous option needs an argument, assign it.
1139   if test -n "$ac_prev"; then
1140     eval $ac_prev=\$ac_option
1141     ac_prev=
1142     continue
1143   fi
1144
1145   case $ac_option in
1146   *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1147   *)    ac_optarg=yes ;;
1148   esac
1149
1150   # Accept the important Cygnus configure options, so we can diagnose typos.
1151
1152   case $ac_dashdash$ac_option in
1153   --)
1154     ac_dashdash=yes ;;
1155
1156   -bindir | --bindir | --bindi | --bind | --bin | --bi)
1157     ac_prev=bindir ;;
1158   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1159     bindir=$ac_optarg ;;
1160
1161   -build | --build | --buil | --bui | --bu)
1162     ac_prev=build_alias ;;
1163   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1164     build_alias=$ac_optarg ;;
1165
1166   -cache-file | --cache-file | --cache-fil | --cache-fi \
1167   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1168     ac_prev=cache_file ;;
1169   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1170   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1171     cache_file=$ac_optarg ;;
1172
1173   --config-cache | -C)
1174     cache_file=config.cache ;;
1175
1176   -datadir | --datadir | --datadi | --datad)
1177     ac_prev=datadir ;;
1178   -datadir=* | --datadir=* | --datadi=* | --datad=*)
1179     datadir=$ac_optarg ;;
1180
1181   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1182   | --dataroo | --dataro | --datar)
1183     ac_prev=datarootdir ;;
1184   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1185   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1186     datarootdir=$ac_optarg ;;
1187
1188   -disable-* | --disable-*)
1189     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1190     # Reject names that are not valid shell variable names.
1191     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1192       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1193    { (exit 1); exit 1; }; }
1194     ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1195     eval enable_$ac_feature=no ;;
1196
1197   -docdir | --docdir | --docdi | --doc | --do)
1198     ac_prev=docdir ;;
1199   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1200     docdir=$ac_optarg ;;
1201
1202   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1203     ac_prev=dvidir ;;
1204   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1205     dvidir=$ac_optarg ;;
1206
1207   -enable-* | --enable-*)
1208     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1209     # Reject names that are not valid shell variable names.
1210     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1211       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1212    { (exit 1); exit 1; }; }
1213     ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1214     eval enable_$ac_feature=\$ac_optarg ;;
1215
1216   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1217   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1218   | --exec | --exe | --ex)
1219     ac_prev=exec_prefix ;;
1220   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1221   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1222   | --exec=* | --exe=* | --ex=*)
1223     exec_prefix=$ac_optarg ;;
1224
1225   -gas | --gas | --ga | --g)
1226     # Obsolete; use --with-gas.
1227     with_gas=yes ;;
1228
1229   -help | --help | --hel | --he | -h)
1230     ac_init_help=long ;;
1231   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1232     ac_init_help=recursive ;;
1233   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1234     ac_init_help=short ;;
1235
1236   -host | --host | --hos | --ho)
1237     ac_prev=host_alias ;;
1238   -host=* | --host=* | --hos=* | --ho=*)
1239     host_alias=$ac_optarg ;;
1240
1241   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1242     ac_prev=htmldir ;;
1243   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1244   | --ht=*)
1245     htmldir=$ac_optarg ;;
1246
1247   -includedir | --includedir | --includedi | --included | --include \
1248   | --includ | --inclu | --incl | --inc)
1249     ac_prev=includedir ;;
1250   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1251   | --includ=* | --inclu=* | --incl=* | --inc=*)
1252     includedir=$ac_optarg ;;
1253
1254   -infodir | --infodir | --infodi | --infod | --info | --inf)
1255     ac_prev=infodir ;;
1256   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1257     infodir=$ac_optarg ;;
1258
1259   -libdir | --libdir | --libdi | --libd)
1260     ac_prev=libdir ;;
1261   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1262     libdir=$ac_optarg ;;
1263
1264   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1265   | --libexe | --libex | --libe)
1266     ac_prev=libexecdir ;;
1267   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1268   | --libexe=* | --libex=* | --libe=*)
1269     libexecdir=$ac_optarg ;;
1270
1271   -localedir | --localedir | --localedi | --localed | --locale)
1272     ac_prev=localedir ;;
1273   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1274     localedir=$ac_optarg ;;
1275
1276   -localstatedir | --localstatedir | --localstatedi | --localstated \
1277   | --localstate | --localstat | --localsta | --localst | --locals)
1278     ac_prev=localstatedir ;;
1279   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1280   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1281     localstatedir=$ac_optarg ;;
1282
1283   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1284     ac_prev=mandir ;;
1285   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1286     mandir=$ac_optarg ;;
1287
1288   -nfp | --nfp | --nf)
1289     # Obsolete; use --without-fp.
1290     with_fp=no ;;
1291
1292   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1293   | --no-cr | --no-c | -n)
1294     no_create=yes ;;
1295
1296   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1297   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1298     no_recursion=yes ;;
1299
1300   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1301   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1302   | --oldin | --oldi | --old | --ol | --o)
1303     ac_prev=oldincludedir ;;
1304   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1305   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1306   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1307     oldincludedir=$ac_optarg ;;
1308
1309   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1310     ac_prev=prefix ;;
1311   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1312     prefix=$ac_optarg ;;
1313
1314   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1315   | --program-pre | --program-pr | --program-p)
1316     ac_prev=program_prefix ;;
1317   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1318   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1319     program_prefix=$ac_optarg ;;
1320
1321   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1322   | --program-suf | --program-su | --program-s)
1323     ac_prev=program_suffix ;;
1324   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1325   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1326     program_suffix=$ac_optarg ;;
1327
1328   -program-transform-name | --program-transform-name \
1329   | --program-transform-nam | --program-transform-na \
1330   | --program-transform-n | --program-transform- \
1331   | --program-transform | --program-transfor \
1332   | --program-transfo | --program-transf \
1333   | --program-trans | --program-tran \
1334   | --progr-tra | --program-tr | --program-t)
1335     ac_prev=program_transform_name ;;
1336   -program-transform-name=* | --program-transform-name=* \
1337   | --program-transform-nam=* | --program-transform-na=* \
1338   | --program-transform-n=* | --program-transform-=* \
1339   | --program-transform=* | --program-transfor=* \
1340   | --program-transfo=* | --program-transf=* \
1341   | --program-trans=* | --program-tran=* \
1342   | --progr-tra=* | --program-tr=* | --program-t=*)
1343     program_transform_name=$ac_optarg ;;
1344
1345   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1346     ac_prev=pdfdir ;;
1347   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1348     pdfdir=$ac_optarg ;;
1349
1350   -psdir | --psdir | --psdi | --psd | --ps)
1351     ac_prev=psdir ;;
1352   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1353     psdir=$ac_optarg ;;
1354
1355   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1356   | -silent | --silent | --silen | --sile | --sil)
1357     silent=yes ;;
1358
1359   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1360     ac_prev=sbindir ;;
1361   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1362   | --sbi=* | --sb=*)
1363     sbindir=$ac_optarg ;;
1364
1365   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1366   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1367   | --sharedst | --shareds | --shared | --share | --shar \
1368   | --sha | --sh)
1369     ac_prev=sharedstatedir ;;
1370   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1371   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1372   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1373   | --sha=* | --sh=*)
1374     sharedstatedir=$ac_optarg ;;
1375
1376   -site | --site | --sit)
1377     ac_prev=site ;;
1378   -site=* | --site=* | --sit=*)
1379     site=$ac_optarg ;;
1380
1381   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1382     ac_prev=srcdir ;;
1383   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1384     srcdir=$ac_optarg ;;
1385
1386   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1387   | --syscon | --sysco | --sysc | --sys | --sy)
1388     ac_prev=sysconfdir ;;
1389   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1390   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1391     sysconfdir=$ac_optarg ;;
1392
1393   -target | --target | --targe | --targ | --tar | --ta | --t)
1394     ac_prev=target_alias ;;
1395   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1396     target_alias=$ac_optarg ;;
1397
1398   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1399     verbose=yes ;;
1400
1401   -version | --version | --versio | --versi | --vers | -V)
1402     ac_init_version=: ;;
1403
1404   -with-* | --with-*)
1405     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1406     # Reject names that are not valid shell variable names.
1407     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1408       { echo "$as_me: error: invalid package name: $ac_package" >&2
1409    { (exit 1); exit 1; }; }
1410     ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1411     eval with_$ac_package=\$ac_optarg ;;
1412
1413   -without-* | --without-*)
1414     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1415     # Reject names that are not valid shell variable names.
1416     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1417       { echo "$as_me: error: invalid package name: $ac_package" >&2
1418    { (exit 1); exit 1; }; }
1419     ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1420     eval with_$ac_package=no ;;
1421
1422   --x)
1423     # Obsolete; use --with-x.
1424     with_x=yes ;;
1425
1426   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1427   | --x-incl | --x-inc | --x-in | --x-i)
1428     ac_prev=x_includes ;;
1429   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1430   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1431     x_includes=$ac_optarg ;;
1432
1433   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1434   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1435     ac_prev=x_libraries ;;
1436   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1437   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1438     x_libraries=$ac_optarg ;;
1439
1440   -*) { echo "$as_me: error: unrecognized option: $ac_option
1441 Try \`$0 --help' for more information." >&2
1442    { (exit 1); exit 1; }; }
1443     ;;
1444
1445   *=*)
1446     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1447     # Reject names that are not valid shell variable names.
1448     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1449       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1450    { (exit 1); exit 1; }; }
1451     eval $ac_envvar=\$ac_optarg
1452     export $ac_envvar ;;
1453
1454   *)
1455     # FIXME: should be removed in autoconf 3.0.
1456     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1457     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1458       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1459     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1460     ;;
1461
1462   esac
1463 done
1464
1465 if test -n "$ac_prev"; then
1466   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1467   { echo "$as_me: error: missing argument to $ac_option" >&2
1468    { (exit 1); exit 1; }; }
1469 fi
1470
1471 # Be sure to have absolute directory names.
1472 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1473                 datadir sysconfdir sharedstatedir localstatedir includedir \
1474                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1475                 libdir localedir mandir
1476 do
1477   eval ac_val=\$$ac_var
1478   case $ac_val in
1479     [\\/$]* | ?:[\\/]* )  continue;;
1480     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1481   esac
1482   { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1483    { (exit 1); exit 1; }; }
1484 done
1485
1486 # There might be people who depend on the old broken behavior: `$host'
1487 # used to hold the argument of --host etc.
1488 # FIXME: To remove some day.
1489 build=$build_alias
1490 host=$host_alias
1491 target=$target_alias
1492
1493 # FIXME: To remove some day.
1494 if test "x$host_alias" != x; then
1495   if test "x$build_alias" = x; then
1496     cross_compiling=maybe
1497     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1498     If a cross compiler is detected then cross compile mode will be used." >&2
1499   elif test "x$build_alias" != "x$host_alias"; then
1500     cross_compiling=yes
1501   fi
1502 fi
1503
1504 ac_tool_prefix=
1505 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1506
1507 test "$silent" = yes && exec 6>/dev/null
1508
1509
1510 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1511 ac_ls_di=`ls -di .` &&
1512 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1513   { echo "$as_me: error: Working directory cannot be determined" >&2
1514    { (exit 1); exit 1; }; }
1515 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1516   { echo "$as_me: error: pwd does not report name of working directory" >&2
1517    { (exit 1); exit 1; }; }
1518
1519
1520 # Find the source files, if location was not specified.
1521 if test -z "$srcdir"; then
1522   ac_srcdir_defaulted=yes
1523   # Try the directory containing this script, then the parent directory.
1524   ac_confdir=`$as_dirname -- "$0" ||
1525 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1526          X"$0" : 'X\(//\)[^/]' \| \
1527          X"$0" : 'X\(//\)$' \| \
1528          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1529 echo X"$0" |
1530     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1531             s//\1/
1532             q
1533           }
1534           /^X\(\/\/\)[^/].*/{
1535             s//\1/
1536             q
1537           }
1538           /^X\(\/\/\)$/{
1539             s//\1/
1540             q
1541           }
1542           /^X\(\/\).*/{
1543             s//\1/
1544             q
1545           }
1546           s/.*/./; q'`
1547   srcdir=$ac_confdir
1548   if test ! -r "$srcdir/$ac_unique_file"; then
1549     srcdir=..
1550   fi
1551 else
1552   ac_srcdir_defaulted=no
1553 fi
1554 if test ! -r "$srcdir/$ac_unique_file"; then
1555   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1556   { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1557    { (exit 1); exit 1; }; }
1558 fi
1559 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1560 ac_abs_confdir=`(
1561         cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1562    { (exit 1); exit 1; }; }
1563         pwd)`
1564 # When building in place, set srcdir=.
1565 if test "$ac_abs_confdir" = "$ac_pwd"; then
1566   srcdir=.
1567 fi
1568 # Remove unnecessary trailing slashes from srcdir.
1569 # Double slashes in file names in object file debugging info
1570 # mess up M-x gdb in Emacs.
1571 case $srcdir in
1572 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1573 esac
1574 for ac_var in $ac_precious_vars; do
1575   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1576   eval ac_env_${ac_var}_value=\$${ac_var}
1577   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1578   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1579 done
1580
1581 #
1582 # Report the --help message.
1583 #
1584 if test "$ac_init_help" = "long"; then
1585   # Omit some internal or obsolete options to make the list less imposing.
1586   # This message is too long to be a string in the A/UX 3.1 sh.
1587   cat <<_ACEOF
1588 \`configure' configures wxWidgets 2.9.1 to adapt to many kinds of systems.
1589
1590 Usage: $0 [OPTION]... [VAR=VALUE]...
1591
1592 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1593 VAR=VALUE.  See below for descriptions of some of the useful variables.
1594
1595 Defaults for the options are specified in brackets.
1596
1597 Configuration:
1598   -h, --help              display this help and exit
1599       --help=short        display options specific to this package
1600       --help=recursive    display the short help of all the included packages
1601   -V, --version           display version information and exit
1602   -q, --quiet, --silent   do not print \`checking...' messages
1603       --cache-file=FILE   cache test results in FILE [disabled]
1604   -C, --config-cache      alias for \`--cache-file=config.cache'
1605   -n, --no-create         do not create output files
1606       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1607
1608 Installation directories:
1609   --prefix=PREFIX         install architecture-independent files in PREFIX
1610                           [$ac_default_prefix]
1611   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1612                           [PREFIX]
1613
1614 By default, \`make install' will install all the files in
1615 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1616 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1617 for instance \`--prefix=\$HOME'.
1618
1619 For better control, use the options below.
1620
1621 Fine tuning of the installation directories:
1622   --bindir=DIR           user executables [EPREFIX/bin]
1623   --sbindir=DIR          system admin executables [EPREFIX/sbin]
1624   --libexecdir=DIR       program executables [EPREFIX/libexec]
1625   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
1626   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
1627   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
1628   --libdir=DIR           object code libraries [EPREFIX/lib]
1629   --includedir=DIR       C header files [PREFIX/include]
1630   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1631   --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
1632   --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
1633   --infodir=DIR          info documentation [DATAROOTDIR/info]
1634   --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
1635   --mandir=DIR           man documentation [DATAROOTDIR/man]
1636   --docdir=DIR           documentation root [DATAROOTDIR/doc/wxwidgets]
1637   --htmldir=DIR          html documentation [DOCDIR]
1638   --dvidir=DIR           dvi documentation [DOCDIR]
1639   --pdfdir=DIR           pdf documentation [DOCDIR]
1640   --psdir=DIR            ps documentation [DOCDIR]
1641 _ACEOF
1642
1643   cat <<\_ACEOF
1644
1645 X features:
1646   --x-includes=DIR    X include files are in DIR
1647   --x-libraries=DIR   X library files are in DIR
1648
1649 System types:
1650   --build=BUILD     configure for building on BUILD [guessed]
1651   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1652 _ACEOF
1653 fi
1654
1655 if test -n "$ac_init_help"; then
1656   case $ac_init_help in
1657      short | recursive ) echo "Configuration of wxWidgets 2.9.1:";;
1658    esac
1659   cat <<\_ACEOF
1660
1661 Optional Features:
1662   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1663   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1664   --disable-gui           don't build GUI parts of the library
1665   --enable-monolithic     build wxWidgets as single library
1666   --enable-plugins        build parts of wxWidgets as loadable components
1667   --enable-official_build official build of wxWidgets (win32 DLL only)
1668   --enable-vendor=VENDOR  vendor name (win32 DLL only)
1669   --disable-all-features  disable all optional features to build minimal library
1670   --enable-universal      use wxWidgets GUI controls instead of native ones
1671   --enable-nanox          use NanoX
1672   --disable-gtk2          use GTK+ 1.2 instead of 2.0
1673   --enable-gpe            use GNOME PDA Environment features if possible
1674   --enable-debug          build library for debugging
1675   --disable-debug_flag    disable all debugging support
1676   --enable-debug_info     generate debug information
1677   --enable-debug_gdb      create code with extra GDB debugging information
1678   --enable-debug_cntxt    obsolete, don't use: use wxDebugContext
1679   --enable-mem_tracing    obsolete, don't use: create code with memory tracing
1680   --disable-shared        create static library instead of shared
1681   --enable-stl            use STL for containers
1682   --enable-std_iostreams  use standard C++ stream classes
1683   --enable-std_string     use standard C++ string classes
1684   --disable-unicode       compile without Unicode support
1685   --enable-mslu           use MS Layer for Unicode on Windows 9x (Win32 only)
1686   --enable-utf8           use UTF-8 representation for strings (Unix only)
1687   --enable-utf8only       only support UTF-8 locales in UTF-8 build (Unix only)
1688   --enable-extended_rtti  use extended RTTI (XTI)
1689   --enable-omf            use OMF object format
1690   --disable-optimise      compile without optimisations
1691   --enable-profile        create code with profiling information
1692   --enable-no_rtti        create code without RTTI information
1693   --enable-no_exceptions  create code without C++ exceptions handling
1694   --enable-permissive     compile code disregarding strict ANSI
1695   --enable-no_deps        create code without dependency information
1696   --disable-vararg_macros don't use vararg macros, even if they are supported
1697   --enable-universal_binary  create Mac PowerPC and Intel Universal binary
1698   --enable-compat26       enable wxWidgets 2.6 compatibility
1699   --disable-compat28      disable wxWidgets 2.8 compatibility
1700   --disable-rpath         disable use of rpath for uninstalled builds
1701   --enable-objc_uniquifying enable Objective-C class name uniquifying
1702   --disable-visibility    disable use of ELF symbols visibility even if supported
1703   --disable-tls           disable use of compiler TLS support
1704   --enable-intl           use internationalization system
1705   --enable-xlocale        use x-locale support (requires wxLocale)
1706   --enable-config         use wxConfig (and derived) classes
1707   --enable-protocols      use wxProtocol and derived classes
1708   --enable-ftp            use wxFTP (requires wxProtocol
1709   --enable-http           use wxHTTP (requires wxProtocol
1710   --enable-fileproto      use wxFileProto class (requires wxProtocol
1711   --enable-sockets        use socket/network classes
1712   --enable-ipv6           enable IPv6 support in wxSocket
1713   --enable-ole            use OLE classes (Win32 only)
1714   --enable-dataobj        use data object classes
1715   --enable-ipc            use interprocess communication (wxSocket etc.)
1716   --enable-baseevtloop    use event loop in console programs too
1717   --enable-epollloop      use wxEpollDispatcher class (Linux only)
1718   --enable-selectloop     use wxSelectDispatcher class
1719   --enable-any            use wxAny class
1720   --enable-apple_ieee     use the Apple IEEE codec
1721   --enable-arcstream      use wxArchive streams
1722   --enable-base64         use base64 encoding/decoding functions
1723   --enable-backtrace      use wxStackWalker class for getting backtraces
1724   --enable-catch_segvs    catch signals in wxApp::OnFatalException (Unix only)
1725   --enable-cmdline        use wxCmdLineParser class
1726   --enable-datetime       use wxDateTime class
1727   --enable-debugreport    use wxDebugReport class
1728   --enable-dialupman      use dialup network classes
1729   --enable-dynlib         use wxLibrary class for DLL loading
1730   --enable-dynamicloader  use (new) wxDynamicLibrary class
1731   --enable-exceptions     build exception-safe library
1732   --enable-ffile          use wxFFile class
1733   --enable-file           use wxFile class
1734   --enable-filesystem     use virtual file systems classes
1735   --enable-fontenum       use wxFontEnumerator class
1736   --enable-fontmap        use font encodings conversion classes
1737   --enable-fs_archive     use virtual archive filesystems
1738   --enable-fs_inet        use virtual HTTP/FTP filesystems
1739   --enable-fs_zip         now replaced by fs_archive
1740   --enable-geometry       use geometry class
1741   --enable-log            use logging system
1742   --enable-longlong       use wxLongLong class
1743   --enable-mimetype       use wxMimeTypesManager
1744   --enable-printfposparam use wxVsnprintf() which supports positional parameters
1745   --enable-snglinst       use wxSingleInstanceChecker class
1746   --enable-sound          use wxSound class
1747   --enable-stdpaths       use wxStandardPaths class
1748   --enable-stopwatch      use wxStopWatch class
1749   --enable-streams        use wxStream etc classes
1750   --enable-sysoptions     use wxSystemOptions
1751   --enable-tarstream      use wxTar streams
1752   --enable-textbuf        use wxTextBuffer class
1753   --enable-textfile       use wxTextFile class
1754   --enable-timer          use wxTimer class
1755   --enable-variant        use wxVariant class
1756   --enable-zipstream      use wxZip streams
1757   --enable-url            use wxURL class
1758   --enable-protocol       use wxProtocol class
1759   --enable-protocol-http  HTTP support in wxProtocol
1760   --enable-protocol-ftp   FTP support in wxProtocol
1761   --enable-protocol-file  FILE support in wxProtocol
1762   --enable-threads        use threads
1763   --enable-iniconf        use wxIniConfig (Win32 only)
1764   --enable-regkey         use wxRegKey class (Win32 only)
1765   --enable-docview        use document view architecture
1766   --enable-help           use help subsystem
1767   --enable-mshtmlhelp     use MS HTML Help (win32)
1768   --enable-html           use wxHTML sub-library
1769   --enable-htmlhelp       use wxHTML-based help
1770   --enable-xrc            use XRC resources sub-library
1771   --enable-aui            use AUI docking library
1772   --enable-propgrid       use wxPropertyGrid library
1773   --enable-ribbon         use wxRibbon library
1774   --enable-stc            use wxStyledTextCtrl library
1775   --enable-constraints    use layout-constraints system
1776   --enable-loggui         use standard GUI logger
1777   --enable-logwin         use wxLogWindow
1778   --enable-logdialog      use wxLogDialog
1779   --enable-mdi            use multiple document interface architecture
1780   --enable-mdidoc         use docview architecture with MDI
1781   --enable-mediactrl      use wxMediaCtrl class
1782   --enable-gstreamer8     force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1783   --enable-webkit         use wxWebKitCtrl (Mac)
1784   --enable-richtext       use wxRichTextCtrl
1785   --enable-graphics_ctx   use graphics context 2D drawing API
1786   --enable-postscript     use wxPostscriptDC device context (default for gtk+)
1787   --enable-printarch      use printing architecture
1788   --enable-svg            use wxSVGFileDC device context
1789   --enable-clipboard      use wxClipboard class
1790   --enable-dnd            use Drag'n'Drop classes
1791   --enable-metafile       use win32 metafiles
1792   --disable-controls      disable compilation of all standard controls
1793   --enable-accel          use accelerators
1794   --enable-animatectrl    use wxAnimationCtrl class
1795   --enable-bmpbutton      use wxBitmapButton class
1796   --enable-bmpcombobox    use wxBitmapComboBox class
1797   --enable-button         use wxButton class
1798   --enable-calendar       use wxCalendarCtrl class
1799   --enable-caret          use wxCaret class
1800   --enable-checkbox       use wxCheckBox class
1801   --enable-checklst       use wxCheckListBox (listbox with checkboxes) class
1802   --enable-choice         use wxChoice class
1803   --enable-choicebook     use wxChoicebook class
1804   --enable-collpane       use wxCollapsiblePane class
1805   --enable-colourpicker   use wxColourPickerCtrl class
1806   --enable-combobox       use wxComboBox class
1807   --enable-comboctrl      use wxComboCtrl class
1808   --enable-dataviewctrl   use wxDataViewCtrl class
1809   --enable-datepick       use wxDatePickerCtrl class
1810   --enable-detect_sm      use code to detect X11 session manager
1811   --enable-dirpicker      use wxDirPickerCtrl class
1812   --enable-display        use wxDisplay class
1813   --enable-editablebox    use wxEditableListBox class
1814   --enable-filectrl       use wxFileCtrl class
1815   --enable-filepicker     use wxFilePickerCtrl class
1816   --enable-fontpicker     use wxFontPickerCtrl class
1817   --enable-gauge          use wxGauge class
1818   --enable-grid           use wxGrid class
1819   --enable-headerctrl     use wxHeaderCtrl class
1820   --enable-hyperlink      use wxHyperlinkCtrl class
1821   --enable-imaglist       use wxImageList class
1822   --enable-infobar        use wxInfoBar class
1823   --enable-listbook       use wxListbook class
1824   --enable-listbox        use wxListBox class
1825   --enable-listctrl       use wxListCtrl class
1826   --enable-notebook       use wxNotebook class
1827   --enable-notifmsg       use wxNotificationMessage class
1828   --enable-odcombobox     use wxOwnerDrawnComboBox class
1829   --enable-popupwin       use wxPopUpWindow class
1830   --enable-radiobox       use wxRadioBox class
1831   --enable-radiobtn       use wxRadioButton class
1832   --enable-rearrangectrl  use wxRearrangeList/Ctrl/Dialog
1833   --enable-sash           use wxSashWindow class
1834   --enable-scrollbar      use wxScrollBar class and scrollable windows
1835   --enable-searchctrl     use wxSearchCtrl class
1836   --enable-slider         use wxSlider class
1837   --enable-spinbtn        use wxSpinButton class
1838   --enable-spinctrl       use wxSpinCtrl class
1839   --enable-splitter       use wxSplitterWindow class
1840   --enable-statbmp        use wxStaticBitmap class
1841   --enable-statbox        use wxStaticBox class
1842   --enable-statline       use wxStaticLine class
1843   --enable-stattext       use wxStaticText class
1844   --enable-statusbar      use wxStatusBar class
1845   --enable-taskbaricon    use wxTaskBarIcon class
1846   --enable-tbarnative     use native wxToolBar class
1847   --enable-textctrl       use wxTextCtrl class
1848   --enable-tipwindow      use wxTipWindow class
1849   --enable-togglebtn      use wxToggleButton class
1850   --enable-toolbar        use wxToolBar class
1851   --enable-toolbook       use wxToolbook class
1852   --enable-treebook       use wxTreebook class
1853   --enable-treectrl       use wxTreeCtrl class
1854   --enable-commondlg      use all common dialogs
1855   --enable-aboutdlg       use wxAboutBox
1856   --enable-choicedlg      use wxChoiceDialog
1857   --enable-coldlg         use wxColourDialog
1858   --enable-filedlg        use wxFileDialog
1859   --enable-finddlg        use wxFindReplaceDialog
1860   --enable-fontdlg        use wxFontDialog
1861   --enable-dirdlg         use wxDirDialog
1862   --enable-msgdlg         use wxMessageDialog
1863   --enable-numberdlg      use wxNumberEntryDialog
1864   --enable-splash         use wxSplashScreen
1865   --enable-textdlg        use wxTextDialog
1866   --enable-tipdlg         use startup tips
1867   --enable-progressdlg    use wxProgressDialog
1868   --enable-wizarddlg      use wxWizard
1869   --enable-menus          use wxMenu/wxMenuBar/wxMenuItem classes
1870   --enable-miniframe      use wxMiniFrame class
1871   --enable-tooltips       use wxToolTip class
1872   --enable-splines        use spline drawing code
1873   --enable-mousewheel     use mousewheel
1874   --enable-validators     use wxValidator and derived classes
1875   --enable-busyinfo       use wxBusyInfo
1876   --enable-joystick       use wxJoystick
1877   --enable-metafiles      use wxMetaFile (Win32 only)
1878   --enable-dragimage      use wxDragImage
1879   --enable-accessibility  enable accessibility support
1880   --enable-palette        use wxPalette class
1881   --enable-image          use wxImage class
1882   --enable-gif            use gif images (GIF file format)
1883   --enable-pcx            use pcx images (PCX file format)
1884   --enable-tga            use tga images (TGA file format)
1885   --enable-iff            use iff images (IFF file format)
1886   --enable-pnm            use pnm images (PNM file format)
1887   --enable-xpm            use xpm images (XPM file format)
1888   --enable-ico_cur        use Windows ICO and CUR formats
1889   --enable-dccache        cache temporary wxDC objects (Win32 only)
1890   --enable-ps-in-msw      use PS printing in wxMSW (Win32 only)
1891   --enable-ownerdrawn     use owner drawn controls (Win32 and OS/2 only)
1892   --enable-uxtheme        enable support for Windows XP themed look (Win32 only)
1893   --enable-wxdib          use wxDIB class (Win32 only)
1894   --enable-autoidman      use automatic ids management
1895   --disable-largefile     omit support for large files
1896   --disable-gtktest       do not try to compile and run a test GTK+ program
1897   --disable-gtktest       Do not try to compile and run a test GTK program
1898   --disable-sdltest       Do not try to compile and run a test SDL program
1899   --enable-omf            use OMF object format (OS/2)
1900   --disable-dependency-tracking
1901                           don't use dependency tracking even if the compiler
1902                           can
1903   --disable-precomp-headers
1904                           don't use precompiled headers even if compiler can
1905
1906 Optional Packages:
1907   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1908   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1909   --without-subdirs       don't generate makefiles for samples/demos/...
1910   --with-flavour=NAME     specify a name to identify this build
1911   --with-themes=all|list  use only the specified comma-separated list of wxUniversal themes
1912   --with-gtk[=VERSION]    use GTK+, VERSION can be 2 (default), 1 or "any"
1913   --with-motif            use Motif/Lesstif
1914   --with-osx_carbon       use Mac OS X (Carbon)
1915   --with-osx_cocoa        use Mac OS X (Cocoa)
1916   --with-mac              use Mac OS X (Default)
1917   --with-cocoa            use Cocoa
1918   --with-wine             use Wine
1919   --with-msw              use MS-Windows
1920   --with-pm               use OS/2 Presentation Manager
1921   --with-mgl              use SciTech MGL
1922   --with-directfb         use DirectFB
1923   --with-microwin         use MicroWindows
1924   --with-x11              use X11
1925   --with-libpng           use libpng (PNG image format)
1926   --with-libjpeg          use libjpeg (JPEG file format)
1927   --with-libtiff          use libtiff (TIFF file format)
1928   --with-libxpm           use libxpm (XPM file format)
1929   --with-libiconv         use libiconv (character conversion)
1930   --with-libmspack        use libmspack (CHM help files loading)
1931   --without-gtkprint      don't use GTK printing support
1932   --without-gnomeprint    don't use GNOME printing libraries
1933   --with-gnomevfs         use GNOME VFS for associating MIME types
1934   --with-hildon           use Hildon framework for Nokia 770/800/810
1935   --with-opengl           use OpenGL (or Mesa)
1936   --with-dmalloc          use dmalloc library (http://dmalloc.com/)
1937   --with-sdl              use SDL for audio on Unix
1938   --with-regex            enable support for wxRegEx class
1939   --with-zlib             use zlib for LZW compression
1940   --with-expat            enable XML support using expat parser
1941   --with-macosx-sdk=PATH  use an OS X SDK at PATH
1942   --with-macosx-version-min=VER   build binaries which require at least this OS X version
1943   --with-gtk-prefix=PFX   Prefix where GTK is installed (optional)
1944   --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1945   --with-x                use the X Window System
1946   --with-libiconv-prefix=DIR  search for libiconv in DIR/include and DIR/lib
1947   --with-sdl-prefix=PFX   Prefix where SDL is installed (optional)
1948   --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1949   --with-cppunit-prefix=PFX   Prefix where CppUnit is installed (optional)
1950   --with-cppunit-exec-prefix=PFX  Exec prefix where CppUnit is installed (optional)
1951
1952 Some influential environment variables:
1953   CC          C compiler command
1954   CFLAGS      C compiler flags
1955   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1956               nonstandard directory <lib dir>
1957   LIBS        libraries to pass to the linker, e.g. -l<library>
1958   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1959               you have headers in a nonstandard directory <include dir>
1960   CPP         C preprocessor
1961   CXX         C++ compiler command
1962   CXXFLAGS    C++ compiler flags
1963   PKG_CONFIG  path to pkg-config utility
1964   DIRECTFB_CFLAGS
1965               C compiler flags for DIRECTFB, overriding pkg-config
1966   DIRECTFB_LIBS
1967               linker flags for DIRECTFB, overriding pkg-config
1968   XMKMF       Path to xmkmf, Makefile generator for X Window System
1969   PANGOX_CFLAGS
1970               C compiler flags for PANGOX, overriding pkg-config
1971   PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1972   PANGOFT2_CFLAGS
1973               C compiler flags for PANGOFT2, overriding pkg-config
1974   PANGOFT2_LIBS
1975               linker flags for PANGOFT2, overriding pkg-config
1976   PANGOXFT_CFLAGS
1977               C compiler flags for PANGOXFT, overriding pkg-config
1978   PANGOXFT_LIBS
1979               linker flags for PANGOXFT, overriding pkg-config
1980   GTKPRINT_CFLAGS
1981               C compiler flags for GTKPRINT, overriding pkg-config
1982   GTKPRINT_LIBS
1983               linker flags for GTKPRINT, overriding pkg-config
1984   LIBGNOMEPRINTUI_CFLAGS
1985               C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1986   LIBGNOMEPRINTUI_LIBS
1987               linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1988   GNOMEVFS_CFLAGS
1989               C compiler flags for GNOMEVFS, overriding pkg-config
1990   GNOMEVFS_LIBS
1991               linker flags for GNOMEVFS, overriding pkg-config
1992   HILDON_CFLAGS
1993               C compiler flags for HILDON, overriding pkg-config
1994   HILDON_LIBS linker flags for HILDON, overriding pkg-config
1995   HILDON2_CFLAGS
1996               C compiler flags for HILDON2, overriding pkg-config
1997   HILDON2_LIBS
1998               linker flags for HILDON2, overriding pkg-config
1999   CAIRO_CFLAGS
2000               C compiler flags for CAIRO, overriding pkg-config
2001   CAIRO_LIBS  linker flags for CAIRO, overriding pkg-config
2002   GST_CFLAGS  C compiler flags for GST, overriding pkg-config
2003   GST_LIBS    linker flags for GST, overriding pkg-config
2004
2005 Use these variables to override the choices made by `configure' or to help
2006 it to find libraries and programs with nonstandard names/locations.
2007
2008 Report bugs to <wx-dev@lists.wxwidgets.org>.
2009 _ACEOF
2010 ac_status=$?
2011 fi
2012
2013 if test "$ac_init_help" = "recursive"; then
2014   # If there are subdirs, report their specific --help.
2015   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2016     test -d "$ac_dir" || continue
2017     ac_builddir=.
2018
2019 case "$ac_dir" in
2020 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2021 *)
2022   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2023   # A ".." for each directory in $ac_dir_suffix.
2024   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
2025   case $ac_top_builddir_sub in
2026   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2027   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2028   esac ;;
2029 esac
2030 ac_abs_top_builddir=$ac_pwd
2031 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2032 # for backward compatibility:
2033 ac_top_builddir=$ac_top_build_prefix
2034
2035 case $srcdir in
2036   .)  # We are building in place.
2037     ac_srcdir=.
2038     ac_top_srcdir=$ac_top_builddir_sub
2039     ac_abs_top_srcdir=$ac_pwd ;;
2040   [\\/]* | ?:[\\/]* )  # Absolute name.
2041     ac_srcdir=$srcdir$ac_dir_suffix;
2042     ac_top_srcdir=$srcdir
2043     ac_abs_top_srcdir=$srcdir ;;
2044   *) # Relative name.
2045     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2046     ac_top_srcdir=$ac_top_build_prefix$srcdir
2047     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2048 esac
2049 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2050
2051     cd "$ac_dir" || { ac_status=$?; continue; }
2052     # Check for guested configure.
2053     if test -f "$ac_srcdir/configure.gnu"; then
2054       echo &&
2055       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2056     elif test -f "$ac_srcdir/configure"; then
2057       echo &&
2058       $SHELL "$ac_srcdir/configure" --help=recursive
2059     else
2060       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2061     fi || ac_status=$?
2062     cd "$ac_pwd" || { ac_status=$?; break; }
2063   done
2064 fi
2065
2066 test -n "$ac_init_help" && exit $ac_status
2067 if $ac_init_version; then
2068   cat <<\_ACEOF
2069 wxWidgets configure 2.9.1
2070 generated by GNU Autoconf 2.61
2071
2072 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2073 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2074 This configure script is free software; the Free Software Foundation
2075 gives unlimited permission to copy, distribute and modify it.
2076 _ACEOF
2077   exit
2078 fi
2079 cat >config.log <<_ACEOF
2080 This file contains any messages produced by compilers while
2081 running configure, to aid debugging if configure makes a mistake.
2082
2083 It was created by wxWidgets $as_me 2.9.1, which was
2084 generated by GNU Autoconf 2.61.  Invocation command line was
2085
2086   $ $0 $@
2087
2088 _ACEOF
2089 exec 5>>config.log
2090 {
2091 cat <<_ASUNAME
2092 ## --------- ##
2093 ## Platform. ##
2094 ## --------- ##
2095
2096 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2097 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2098 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2099 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2100 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2101
2102 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2103 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2104
2105 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2106 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2107 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2108 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2109 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2110 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2111 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2112
2113 _ASUNAME
2114
2115 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2116 for as_dir in $PATH
2117 do
2118   IFS=$as_save_IFS
2119   test -z "$as_dir" && as_dir=.
2120   echo "PATH: $as_dir"
2121 done
2122 IFS=$as_save_IFS
2123
2124 } >&5
2125
2126 cat >&5 <<_ACEOF
2127
2128
2129 ## ----------- ##
2130 ## Core tests. ##
2131 ## ----------- ##
2132
2133 _ACEOF
2134
2135
2136 # Keep a trace of the command line.
2137 # Strip out --no-create and --no-recursion so they do not pile up.
2138 # Strip out --silent because we don't want to record it for future runs.
2139 # Also quote any args containing shell meta-characters.
2140 # Make two passes to allow for proper duplicate-argument suppression.
2141 ac_configure_args=
2142 ac_configure_args0=
2143 ac_configure_args1=
2144 ac_must_keep_next=false
2145 for ac_pass in 1 2
2146 do
2147   for ac_arg
2148   do
2149     case $ac_arg in
2150     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2151     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2152     | -silent | --silent | --silen | --sile | --sil)
2153       continue ;;
2154     *\'*)
2155       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2156     esac
2157     case $ac_pass in
2158     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2159     2)
2160       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2161       if test $ac_must_keep_next = true; then
2162         ac_must_keep_next=false # Got value, back to normal.
2163       else
2164         case $ac_arg in
2165           *=* | --config-cache | -C | -disable-* | --disable-* \
2166           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2167           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2168           | -with-* | --with-* | -without-* | --without-* | --x)
2169             case "$ac_configure_args0 " in
2170               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2171             esac
2172             ;;
2173           -* ) ac_must_keep_next=true ;;
2174         esac
2175       fi
2176       ac_configure_args="$ac_configure_args '$ac_arg'"
2177       ;;
2178     esac
2179   done
2180 done
2181 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2182 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2183
2184 # When interrupted or exit'd, cleanup temporary files, and complete
2185 # config.log.  We remove comments because anyway the quotes in there
2186 # would cause problems or look ugly.
2187 # WARNING: Use '\'' to represent an apostrophe within the trap.
2188 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2189 trap 'exit_status=$?
2190   # Save into config.log some information that might help in debugging.
2191   {
2192     echo
2193
2194     cat <<\_ASBOX
2195 ## ---------------- ##
2196 ## Cache variables. ##
2197 ## ---------------- ##
2198 _ASBOX
2199     echo
2200     # The following way of writing the cache mishandles newlines in values,
2201 (
2202   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2203     eval ac_val=\$$ac_var
2204     case $ac_val in #(
2205     *${as_nl}*)
2206       case $ac_var in #(
2207       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2208 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2209       esac
2210       case $ac_var in #(
2211       _ | IFS | as_nl) ;; #(
2212       *) $as_unset $ac_var ;;
2213       esac ;;
2214     esac
2215   done
2216   (set) 2>&1 |
2217     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2218     *${as_nl}ac_space=\ *)
2219       sed -n \
2220         "s/'\''/'\''\\\\'\'''\''/g;
2221           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2222       ;; #(
2223     *)
2224       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2225       ;;
2226     esac |
2227     sort
2228 )
2229     echo
2230
2231     cat <<\_ASBOX
2232 ## ----------------- ##
2233 ## Output variables. ##
2234 ## ----------------- ##
2235 _ASBOX
2236     echo
2237     for ac_var in $ac_subst_vars
2238     do
2239       eval ac_val=\$$ac_var
2240       case $ac_val in
2241       *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2242       esac
2243       echo "$ac_var='\''$ac_val'\''"
2244     done | sort
2245     echo
2246
2247     if test -n "$ac_subst_files"; then
2248       cat <<\_ASBOX
2249 ## ------------------- ##
2250 ## File substitutions. ##
2251 ## ------------------- ##
2252 _ASBOX
2253       echo
2254       for ac_var in $ac_subst_files
2255       do
2256         eval ac_val=\$$ac_var
2257         case $ac_val in
2258         *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2259         esac
2260         echo "$ac_var='\''$ac_val'\''"
2261       done | sort
2262       echo
2263     fi
2264
2265     if test -s confdefs.h; then
2266       cat <<\_ASBOX
2267 ## ----------- ##
2268 ## confdefs.h. ##
2269 ## ----------- ##
2270 _ASBOX
2271       echo
2272       cat confdefs.h
2273       echo
2274     fi
2275     test "$ac_signal" != 0 &&
2276       echo "$as_me: caught signal $ac_signal"
2277     echo "$as_me: exit $exit_status"
2278   } >&5
2279   rm -f core *.core core.conftest.* &&
2280     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2281     exit $exit_status
2282 ' 0
2283 for ac_signal in 1 2 13 15; do
2284   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2285 done
2286 ac_signal=0
2287
2288 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2289 rm -f -r conftest* confdefs.h
2290
2291 # Predefined preprocessor variables.
2292
2293 cat >>confdefs.h <<_ACEOF
2294 #define PACKAGE_NAME "$PACKAGE_NAME"
2295 _ACEOF
2296
2297
2298 cat >>confdefs.h <<_ACEOF
2299 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2300 _ACEOF
2301
2302
2303 cat >>confdefs.h <<_ACEOF
2304 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2305 _ACEOF
2306
2307
2308 cat >>confdefs.h <<_ACEOF
2309 #define PACKAGE_STRING "$PACKAGE_STRING"
2310 _ACEOF
2311
2312
2313 cat >>confdefs.h <<_ACEOF
2314 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2315 _ACEOF
2316
2317
2318 # Let the site file select an alternate cache file if it wants to.
2319 # Prefer explicitly selected file to automatically selected ones.
2320 if test -n "$CONFIG_SITE"; then
2321   set x "$CONFIG_SITE"
2322 elif test "x$prefix" != xNONE; then
2323   set x "$prefix/share/config.site" "$prefix/etc/config.site"
2324 else
2325   set x "$ac_default_prefix/share/config.site" \
2326         "$ac_default_prefix/etc/config.site"
2327 fi
2328 shift
2329 for ac_site_file
2330 do
2331   if test -r "$ac_site_file"; then
2332     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2333 echo "$as_me: loading site script $ac_site_file" >&6;}
2334     sed 's/^/| /' "$ac_site_file" >&5
2335     . "$ac_site_file"
2336   fi
2337 done
2338
2339 if test -r "$cache_file"; then
2340   # Some versions of bash will fail to source /dev/null (special
2341   # files actually), so we avoid doing that.
2342   if test -f "$cache_file"; then
2343     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2344 echo "$as_me: loading cache $cache_file" >&6;}
2345     case $cache_file in
2346       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2347       *)                      . "./$cache_file";;
2348     esac
2349   fi
2350 else
2351   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2352 echo "$as_me: creating cache $cache_file" >&6;}
2353   >$cache_file
2354 fi
2355
2356 # Check that the precious variables saved in the cache have kept the same
2357 # value.
2358 ac_cache_corrupted=false
2359 for ac_var in $ac_precious_vars; do
2360   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2361   eval ac_new_set=\$ac_env_${ac_var}_set
2362   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2363   eval ac_new_val=\$ac_env_${ac_var}_value
2364   case $ac_old_set,$ac_new_set in
2365     set,)
2366       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2367 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2368       ac_cache_corrupted=: ;;
2369     ,set)
2370       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2371 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2372       ac_cache_corrupted=: ;;
2373     ,);;
2374     *)
2375       if test "x$ac_old_val" != "x$ac_new_val"; then
2376         { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2377 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2378         { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
2379 echo "$as_me:   former value:  $ac_old_val" >&2;}
2380         { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
2381 echo "$as_me:   current value: $ac_new_val" >&2;}
2382         ac_cache_corrupted=:
2383       fi;;
2384   esac
2385   # Pass precious variables to config.status.
2386   if test "$ac_new_set" = set; then
2387     case $ac_new_val in
2388     *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2389     *) ac_arg=$ac_var=$ac_new_val ;;
2390     esac
2391     case " $ac_configure_args " in
2392       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2393       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2394     esac
2395   fi
2396 done
2397 if $ac_cache_corrupted; then
2398   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2399 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2400   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2401 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2402    { (exit 1); exit 1; }; }
2403 fi
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429 ac_ext=c
2430 ac_cpp='$CPP $CPPFLAGS'
2431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2434
2435
2436
2437
2438
2439 ac_aux_dir=
2440 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2441   if test -f "$ac_dir/install-sh"; then
2442     ac_aux_dir=$ac_dir
2443     ac_install_sh="$ac_aux_dir/install-sh -c"
2444     break
2445   elif test -f "$ac_dir/install.sh"; then
2446     ac_aux_dir=$ac_dir
2447     ac_install_sh="$ac_aux_dir/install.sh -c"
2448     break
2449   elif test -f "$ac_dir/shtool"; then
2450     ac_aux_dir=$ac_dir
2451     ac_install_sh="$ac_aux_dir/shtool install -c"
2452     break
2453   fi
2454 done
2455 if test -z "$ac_aux_dir"; then
2456   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2457 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2458    { (exit 1); exit 1; }; }
2459 fi
2460
2461 # These three variables are undocumented and unsupported,
2462 # and are intended to be withdrawn in a future Autoconf release.
2463 # They can cause serious problems if a builder's source tree is in a directory
2464 # whose full name contains unusual characters.
2465 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2466 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2467 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2468
2469
2470 # Make sure we can run config.sub.
2471 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2472   { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2473 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2474    { (exit 1); exit 1; }; }
2475
2476 { echo "$as_me:$LINENO: checking build system type" >&5
2477 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2478 if test "${ac_cv_build+set}" = set; then
2479   echo $ECHO_N "(cached) $ECHO_C" >&6
2480 else
2481   ac_build_alias=$build_alias
2482 test "x$ac_build_alias" = x &&
2483   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2484 test "x$ac_build_alias" = x &&
2485   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2486 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2487    { (exit 1); exit 1; }; }
2488 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2489   { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2490 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2491    { (exit 1); exit 1; }; }
2492
2493 fi
2494 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2495 echo "${ECHO_T}$ac_cv_build" >&6; }
2496 case $ac_cv_build in
2497 *-*-*) ;;
2498 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2499 echo "$as_me: error: invalid value of canonical build" >&2;}
2500    { (exit 1); exit 1; }; };;
2501 esac
2502 build=$ac_cv_build
2503 ac_save_IFS=$IFS; IFS='-'
2504 set x $ac_cv_build
2505 shift
2506 build_cpu=$1
2507 build_vendor=$2
2508 shift; shift
2509 # Remember, the first character of IFS is used to create $*,
2510 # except with old shells:
2511 build_os=$*
2512 IFS=$ac_save_IFS
2513 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2514
2515
2516 { echo "$as_me:$LINENO: checking host system type" >&5
2517 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2518 if test "${ac_cv_host+set}" = set; then
2519   echo $ECHO_N "(cached) $ECHO_C" >&6
2520 else
2521   if test "x$host_alias" = x; then
2522   ac_cv_host=$ac_cv_build
2523 else
2524   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2525     { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2526 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2527    { (exit 1); exit 1; }; }
2528 fi
2529
2530 fi
2531 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2532 echo "${ECHO_T}$ac_cv_host" >&6; }
2533 case $ac_cv_host in
2534 *-*-*) ;;
2535 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2536 echo "$as_me: error: invalid value of canonical host" >&2;}
2537    { (exit 1); exit 1; }; };;
2538 esac
2539 host=$ac_cv_host
2540 ac_save_IFS=$IFS; IFS='-'
2541 set x $ac_cv_host
2542 shift
2543 host_cpu=$1
2544 host_vendor=$2
2545 shift; shift
2546 # Remember, the first character of IFS is used to create $*,
2547 # except with old shells:
2548 host_os=$*
2549 IFS=$ac_save_IFS
2550 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2551
2552
2553
2554 if test "$cross_compiling" != "no"; then
2555     HOST_PREFIX="${host_alias}-"
2556     HOST_SUFFIX="-$host_alias"
2557 else
2558     HOST_PREFIX=
2559     HOST_SUFFIX=
2560 fi
2561
2562
2563 wx_major_version_number=2
2564 wx_minor_version_number=9
2565 wx_release_number=1
2566 wx_subrelease_number=0
2567
2568 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2569 WX_VERSION=$WX_RELEASE.$wx_release_number
2570 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2571
2572 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2573
2574
2575 wx_top_builddir="`pwd`"
2576
2577
2578
2579
2580 USE_UNIX=1
2581 USE_OS2=0
2582 USE_WIN32=0
2583 USE_DOS=0
2584 USE_BEOS=0
2585 USE_MAC=0
2586
2587 USE_AIX=
2588 USE_BSD=                            USE_DARWIN=                         USE_FREEBSD=
2589 USE_GNU=                            USE_HPUX=
2590 USE_LINUX=
2591 USE_NETBSD=
2592 USE_OPENBSD=
2593 USE_OSF=                            USE_SGI=
2594 USE_SOLARIS=                        USE_SUN=                            USE_SUNOS=                          USE_SVR4=                           USE_SYSV=                           USE_VMS=
2595 USE_ULTRIX=
2596 USE_UNIXWARE=
2597
2598 USE_ALPHA=
2599
2600 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2601
2602 ALL_TOOLKITS="COCOA GTK OSX_CARBON OSX_COCOA MGL MICROWIN MOTIF MSW PM X11 DFB"
2603
2604 DEFAULT_wxUSE_COCOA=0
2605 DEFAULT_wxUSE_GTK=0
2606 DEFAULT_wxUSE_OSX_CARBON=0
2607 DEFAULT_wxUSE_OSX_COCOA=0
2608 DEFAULT_wxUSE_MGL=0
2609 DEFAULT_wxUSE_MICROWIN=0
2610 DEFAULT_wxUSE_MOTIF=0
2611 DEFAULT_wxUSE_MSW=0
2612 DEFAULT_wxUSE_PM=0
2613 DEFAULT_wxUSE_X11=0
2614 DEFAULT_wxUSE_DFB=0
2615
2616 DEFAULT_DEFAULT_wxUSE_COCOA=0
2617 DEFAULT_DEFAULT_wxUSE_GTK=0
2618 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=0
2619 DEFAULT_DEFAULT_wxUSE_OSX_COCOA=0
2620 DEFAULT_DEFAULT_wxUSE_MGL=0
2621 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2622 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2623 DEFAULT_DEFAULT_wxUSE_MSW=0
2624 DEFAULT_DEFAULT_wxUSE_PM=0
2625 DEFAULT_DEFAULT_wxUSE_X11=0
2626 DEFAULT_DEFAULT_wxUSE_DFB=0
2627
2628 PROGRAM_EXT=
2629 SAMPLES_RPATH_FLAG=
2630 DYLIB_RPATH_INSTALL=
2631 DYLIB_RPATH_POSTLINK=
2632
2633 DEFAULT_STD_FLAG=yes
2634
2635 case "${host}" in
2636   *-hp-hpux* )
2637     USE_HPUX=1
2638     DEFAULT_DEFAULT_wxUSE_MOTIF=1
2639     NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2640     cat >>confdefs.h <<\_ACEOF
2641 #define __HPUX__ 1
2642 _ACEOF
2643
2644
2645             CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2646   ;;
2647   *-*-linux* )
2648     USE_LINUX=1
2649     cat >>confdefs.h <<\_ACEOF
2650 #define __LINUX__ 1
2651 _ACEOF
2652
2653     TMP=`uname -m`
2654     if test "x$TMP" = "xalpha"; then
2655       USE_ALPHA=1
2656       cat >>confdefs.h <<\_ACEOF
2657 #define __ALPHA__ 1
2658 _ACEOF
2659
2660     fi
2661     DEFAULT_DEFAULT_wxUSE_GTK=1
2662   ;;
2663   *-*-gnu* | *-*-k*bsd*-gnu )
2664     USE_GNU=1
2665     TMP=`uname -m`
2666     if test "x$TMP" = "xalpha"; then
2667       USE_ALPHA=1
2668       cat >>confdefs.h <<\_ACEOF
2669 #define __ALPHA__ 1
2670 _ACEOF
2671
2672     fi
2673     DEFAULT_DEFAULT_wxUSE_GTK=1
2674   ;;
2675   *-*-irix5* | *-*-irix6* )
2676     USE_SGI=1
2677     USE_SVR4=1
2678     cat >>confdefs.h <<\_ACEOF
2679 #define __SGI__ 1
2680 _ACEOF
2681
2682     cat >>confdefs.h <<\_ACEOF
2683 #define __SVR4__ 1
2684 _ACEOF
2685
2686     DEFAULT_DEFAULT_wxUSE_MOTIF=1
2687   ;;
2688   *-*-solaris2* )
2689     USE_SUN=1
2690     USE_SOLARIS=1
2691     USE_SVR4=1
2692     cat >>confdefs.h <<\_ACEOF
2693 #define __SUN__ 1
2694 _ACEOF
2695
2696     cat >>confdefs.h <<\_ACEOF
2697 #define __SOLARIS__ 1
2698 _ACEOF
2699
2700     cat >>confdefs.h <<\_ACEOF
2701 #define __SVR4__ 1
2702 _ACEOF
2703
2704     DEFAULT_DEFAULT_wxUSE_MOTIF=1
2705     NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2706   ;;
2707   *-*-sunos4* )
2708     USE_SUN=1
2709     USE_SUNOS=1
2710     USE_BSD=1
2711     cat >>confdefs.h <<\_ACEOF
2712 #define __SUN__ 1
2713 _ACEOF
2714
2715     cat >>confdefs.h <<\_ACEOF
2716 #define __SUNOS__ 1
2717 _ACEOF
2718
2719     cat >>confdefs.h <<\_ACEOF
2720 #define __BSD__ 1
2721 _ACEOF
2722
2723     DEFAULT_DEFAULT_wxUSE_MOTIF=1
2724   ;;
2725   *-*-freebsd*)
2726     USE_BSD=1
2727     USE_FREEBSD=1
2728     cat >>confdefs.h <<\_ACEOF
2729 #define __FREEBSD__ 1
2730 _ACEOF
2731
2732     cat >>confdefs.h <<\_ACEOF
2733 #define __BSD__ 1
2734 _ACEOF
2735
2736     DEFAULT_DEFAULT_wxUSE_GTK=1
2737   ;;
2738   *-*-openbsd*|*-*-mirbsd*)
2739     USE_BSD=1
2740     USE_OPENBSD=1
2741     cat >>confdefs.h <<\_ACEOF
2742 #define __OPENBSD__ 1
2743 _ACEOF
2744
2745     cat >>confdefs.h <<\_ACEOF
2746 #define __BSD__ 1
2747 _ACEOF
2748
2749     DEFAULT_DEFAULT_wxUSE_GTK=1
2750   ;;
2751   *-*-netbsd*)
2752     USE_BSD=1
2753     USE_NETBSD=1
2754     cat >>confdefs.h <<\_ACEOF
2755 #define __NETBSD__ 1
2756 _ACEOF
2757
2758     cat >>confdefs.h <<\_ACEOF
2759 #define __BSD__ 1
2760 _ACEOF
2761
2762     DEFAULT_DEFAULT_wxUSE_GTK=1
2763     NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2764
2765             CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2766   ;;
2767   *-*-osf* )
2768     USE_ALPHA=1
2769     USE_OSF=1
2770     cat >>confdefs.h <<\_ACEOF
2771 #define __ALPHA__ 1
2772 _ACEOF
2773
2774     cat >>confdefs.h <<\_ACEOF
2775 #define __OSF__ 1
2776 _ACEOF
2777
2778     DEFAULT_DEFAULT_wxUSE_MOTIF=1
2779     NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2780   ;;
2781   *-*-dgux5* )
2782     USE_ALPHA=1
2783     USE_SVR4=1
2784     cat >>confdefs.h <<\_ACEOF
2785 #define __ALPHA__ 1
2786 _ACEOF
2787
2788     cat >>confdefs.h <<\_ACEOF
2789 #define __SVR4__ 1
2790 _ACEOF
2791
2792     DEFAULT_DEFAULT_wxUSE_MOTIF=1
2793   ;;
2794   *-*-sysv5* )
2795     USE_SYSV=1
2796     USE_SVR4=1
2797     cat >>confdefs.h <<\_ACEOF
2798 #define __SYSV__ 1
2799 _ACEOF
2800
2801     cat >>confdefs.h <<\_ACEOF
2802 #define __SVR4__ 1
2803 _ACEOF
2804
2805     DEFAULT_DEFAULT_wxUSE_MOTIF=1
2806   ;;
2807   *-*-aix* )
2808     USE_AIX=1
2809     USE_SYSV=1
2810     USE_SVR4=1
2811     cat >>confdefs.h <<\_ACEOF
2812 #define __AIX__ 1
2813 _ACEOF
2814
2815     cat >>confdefs.h <<\_ACEOF
2816 #define __SYSV__ 1
2817 _ACEOF
2818
2819     cat >>confdefs.h <<\_ACEOF
2820 #define __SVR4__ 1
2821 _ACEOF
2822
2823     DEFAULT_DEFAULT_wxUSE_MOTIF=1
2824   ;;
2825
2826   *-*-*UnixWare*)
2827     USE_SYSV=1
2828     USE_SVR4=1
2829     USE_UNIXWARE=1
2830     cat >>confdefs.h <<\_ACEOF
2831 #define __UNIXWARE__ 1
2832 _ACEOF
2833
2834   ;;
2835
2836   *-*-cygwin* | *-*-mingw32* )
2837                 PROGRAM_EXT=".exe"
2838     DEFAULT_DEFAULT_wxUSE_MSW=1
2839   ;;
2840
2841   *-pc-msdosdjgpp )
2842     USE_UNIX=0
2843     USE_DOS=1
2844     cat >>confdefs.h <<\_ACEOF
2845 #define __DOS__ 1
2846 _ACEOF
2847
2848     PROGRAM_EXT=".exe"
2849     DEFAULT_DEFAULT_wxUSE_MGL=1
2850   ;;
2851
2852   *-pc-os2_emx | *-pc-os2-emx )
2853     cat >>confdefs.h <<\_ACEOF
2854 #define __EMX__ 1
2855 _ACEOF
2856
2857     USE_OS2=1
2858     cat >>confdefs.h <<\_ACEOF
2859 #define __OS2__ 1
2860 _ACEOF
2861
2862     PROGRAM_EXT=".exe"
2863     DEFAULT_DEFAULT_wxUSE_PM=1
2864         CXX=gcc
2865     LDFLAGS="$LDFLAGS -Zcrtdll"
2866                         ac_executable_extensions=".exe"
2867     export ac_executable_extensions
2868             ac_save_IFS="$IFS"
2869     IFS='\\'
2870     ac_TEMP_PATH=
2871     for ac_dir in $PATH; do
2872       IFS=$ac_save_IFS
2873       if test -z "$ac_TEMP_PATH"; then
2874         ac_TEMP_PATH="$ac_dir"
2875       else
2876         ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2877       fi
2878     done
2879     export PATH="$ac_TEMP_PATH"
2880     unset ac_TEMP_PATH
2881     DEFAULT_STD_FLAG=no
2882   ;;
2883
2884   *-*-darwin* )
2885         USE_BSD=1
2886     USE_DARWIN=1
2887     cat >>confdefs.h <<\_ACEOF
2888 #define __BSD__ 1
2889 _ACEOF
2890
2891     cat >>confdefs.h <<\_ACEOF
2892 #define __DARWIN__ 1
2893 _ACEOF
2894
2895     cat >>confdefs.h <<\_ACEOF
2896 #define TARGET_CARBON 1
2897 _ACEOF
2898
2899     DEFAULT_DEFAULT_wxUSE_OSX_CARBON=1
2900   ;;
2901
2902   *-*-beos* )
2903         USE_BEOS=1
2904     cat >>confdefs.h <<\_ACEOF
2905 #define __BEOS__ 1
2906 _ACEOF
2907
2908   ;;
2909
2910   *)
2911     { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2912 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2913     { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2914 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2915
2916     DEFAULT_DEFAULT_wxUSE_X11=1
2917     DEFAULT_wxUSE_SHARED=no
2918 esac
2919
2920
2921
2922 DEFAULT_wxUSE_ALL_FEATURES=yes
2923
2924 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2925 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2926
2927 DEFAULT_wxUSE_DMALLOC=no
2928 DEFAULT_wxUSE_LIBGNOMEVFS=no
2929 DEFAULT_wxUSE_LIBHILDON=no
2930 DEFAULT_wxUSE_LIBHILDON2=no
2931 DEFAULT_wxUSE_LIBMSPACK=no
2932 DEFAULT_wxUSE_LIBSDL=no
2933
2934 DEFAULT_wxUSE_ACCESSIBILITY=no
2935 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2936 DEFAULT_wxUSE_IPV6=no
2937 DEFAULT_wxUSE_GSTREAMER8=no
2938
2939 DEFAULT_wxUSE_UNICODE_UTF8=auto
2940 DEFAULT_wxUSE_OPENGL=auto
2941 DEFAULT_wxUSE_MEDIACTRL=auto
2942 DEFAULT_wxUSE_COMPILER_TLS=auto
2943
2944 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
2945
2946 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2947
2948 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2949
2950 DEFAULT_wxUSE_GTK2=yes
2951
2952 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
2953
2954
2955
2956
2957
2958           enablestring=disable
2959           defaultval=
2960           if test -z "$defaultval"; then
2961               if test x"$enablestring" = xdisable; then
2962                   defaultval=yes
2963               else
2964                   defaultval=no
2965               fi
2966           fi
2967
2968           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2969 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
2970           # Check whether --enable-gui was given.
2971 if test "${enable_gui+set}" = set; then
2972   enableval=$enable_gui;
2973                           if test "$enableval" = yes; then
2974                             wx_cv_use_gui='wxUSE_GUI=yes'
2975                           else
2976                             wx_cv_use_gui='wxUSE_GUI=no'
2977                           fi
2978
2979 else
2980
2981                           wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
2982
2983 fi
2984
2985
2986           eval "$wx_cv_use_gui"
2987
2988           if test x"$enablestring" = xdisable; then
2989             if test $wxUSE_GUI = no; then
2990               result=yes
2991             else
2992               result=no
2993             fi
2994           else
2995             result=$wxUSE_GUI
2996           fi
2997
2998           { echo "$as_me:$LINENO: result: $result" >&5
2999 echo "${ECHO_T}$result" >&6; }
3000
3001
3002           enablestring=
3003           defaultval=
3004           if test -z "$defaultval"; then
3005               if test x"$enablestring" = xdisable; then
3006                   defaultval=yes
3007               else
3008                   defaultval=no
3009               fi
3010           fi
3011
3012           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3013 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3014           # Check whether --enable-monolithic was given.
3015 if test "${enable_monolithic+set}" = set; then
3016   enableval=$enable_monolithic;
3017                           if test "$enableval" = yes; then
3018                             wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3019                           else
3020                             wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3021                           fi
3022
3023 else
3024
3025                           wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3026
3027 fi
3028
3029
3030           eval "$wx_cv_use_monolithic"
3031
3032           if test x"$enablestring" = xdisable; then
3033             if test $wxUSE_MONOLITHIC = no; then
3034               result=yes
3035             else
3036               result=no
3037             fi
3038           else
3039             result=$wxUSE_MONOLITHIC
3040           fi
3041
3042           { echo "$as_me:$LINENO: result: $result" >&5
3043 echo "${ECHO_T}$result" >&6; }
3044
3045
3046           enablestring=
3047           defaultval=
3048           if test -z "$defaultval"; then
3049               if test x"$enablestring" = xdisable; then
3050                   defaultval=yes
3051               else
3052                   defaultval=no
3053               fi
3054           fi
3055
3056           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3057 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3058           # Check whether --enable-plugins was given.
3059 if test "${enable_plugins+set}" = set; then
3060   enableval=$enable_plugins;
3061                           if test "$enableval" = yes; then
3062                             wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3063                           else
3064                             wx_cv_use_plugins='wxUSE_PLUGINS=no'
3065                           fi
3066
3067 else
3068
3069                           wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3070
3071 fi
3072
3073
3074           eval "$wx_cv_use_plugins"
3075
3076           if test x"$enablestring" = xdisable; then
3077             if test $wxUSE_PLUGINS = no; then
3078               result=yes
3079             else
3080               result=no
3081             fi
3082           else
3083             result=$wxUSE_PLUGINS
3084           fi
3085
3086           { echo "$as_me:$LINENO: result: $result" >&5
3087 echo "${ECHO_T}$result" >&6; }
3088
3089
3090           withstring=without
3091           defaultval=$wxUSE_ALL_FEATURES
3092           if test -z "$defaultval"; then
3093               if test x"$withstring" = xwithout; then
3094                   defaultval=yes
3095               else
3096                   defaultval=no
3097               fi
3098           fi
3099           { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3100 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3101
3102 # Check whether --with-subdirs was given.
3103 if test "${with_subdirs+set}" = set; then
3104   withval=$with_subdirs;
3105                         if test "$withval" = yes; then
3106                           wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3107                         else
3108                           wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
3109                         fi
3110
3111 else
3112
3113                         wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3114
3115 fi
3116
3117
3118           eval "$wx_cv_use_subdirs"
3119
3120           if test x"$withstring" = xwithout; then
3121             if test $wxWITH_SUBDIRS = yes; then
3122               result=no
3123             else
3124               result=yes
3125             fi
3126           else
3127             result=$wxWITH_SUBDIRS
3128           fi
3129
3130           { echo "$as_me:$LINENO: result: $result" >&5
3131 echo "${ECHO_T}$result" >&6; }
3132
3133
3134 # Check whether --with-flavour was given.
3135 if test "${with_flavour+set}" = set; then
3136   withval=$with_flavour; WX_FLAVOUR="$withval"
3137 fi
3138
3139
3140           enablestring=
3141           defaultval=
3142           if test -z "$defaultval"; then
3143               if test x"$enablestring" = xdisable; then
3144                   defaultval=yes
3145               else
3146                   defaultval=no
3147               fi
3148           fi
3149
3150           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3151 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3152           # Check whether --enable-official_build was given.
3153 if test "${enable_official_build+set}" = set; then
3154   enableval=$enable_official_build;
3155                           if test "$enableval" = yes; then
3156                             wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
3157                           else
3158                             wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
3159                           fi
3160
3161 else
3162
3163                           wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3164
3165 fi
3166
3167
3168           eval "$wx_cv_use_official_build"
3169
3170           if test x"$enablestring" = xdisable; then
3171             if test $wxUSE_OFFICIAL_BUILD = no; then
3172               result=yes
3173             else
3174               result=no
3175             fi
3176           else
3177             result=$wxUSE_OFFICIAL_BUILD
3178           fi
3179
3180           { echo "$as_me:$LINENO: result: $result" >&5
3181 echo "${ECHO_T}$result" >&6; }
3182
3183 # Check whether --enable-vendor was given.
3184 if test "${enable_vendor+set}" = set; then
3185   enableval=$enable_vendor; VENDOR="$enableval"
3186 fi
3187
3188 if test "x$VENDOR" = "x"; then
3189     VENDOR="custom"
3190 fi
3191
3192
3193           enablestring=disable
3194           defaultval=
3195           if test -z "$defaultval"; then
3196               if test x"$enablestring" = xdisable; then
3197                   defaultval=yes
3198               else
3199                   defaultval=no
3200               fi
3201           fi
3202
3203           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-all-features" >&5
3204 echo $ECHO_N "checking for --${enablestring:-enable}-all-features... $ECHO_C" >&6; }
3205           # Check whether --enable-all-features was given.
3206 if test "${enable_all_features+set}" = set; then
3207   enableval=$enable_all_features;
3208                           if test "$enableval" = yes; then
3209                             wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3210                           else
3211                             wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3212                           fi
3213
3214 else
3215
3216                           wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3217
3218 fi
3219
3220
3221           eval "$wx_cv_use_all_features"
3222
3223           if test x"$enablestring" = xdisable; then
3224             if test $wxUSE_ALL_FEATURES = no; then
3225               result=yes
3226             else
3227               result=no
3228             fi
3229           else
3230             result=$wxUSE_ALL_FEATURES
3231           fi
3232
3233           { echo "$as_me:$LINENO: result: $result" >&5
3234 echo "${ECHO_T}$result" >&6; }
3235
3236
3237 if test "$wxUSE_ALL_FEATURES" = "no"; then
3238                     DEFAULT_wxUSE_MEDIACTRL=no
3239 fi
3240
3241
3242 if test "$wxUSE_GUI" = "yes"; then
3243
3244
3245           enablestring=
3246           defaultval=
3247           if test -z "$defaultval"; then
3248               if test x"$enablestring" = xdisable; then
3249                   defaultval=yes
3250               else
3251                   defaultval=no
3252               fi
3253           fi
3254
3255           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3256 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3257           # Check whether --enable-universal was given.
3258 if test "${enable_universal+set}" = set; then
3259   enableval=$enable_universal;
3260                           if test "$enableval" = yes; then
3261                             wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
3262                           else
3263                             wx_cv_use_universal='wxUSE_UNIVERSAL=no'
3264                           fi
3265
3266 else
3267
3268                           wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3269
3270 fi
3271
3272
3273           eval "$wx_cv_use_universal"
3274
3275           if test x"$enablestring" = xdisable; then
3276             if test $wxUSE_UNIVERSAL = no; then
3277               result=yes
3278             else
3279               result=no
3280             fi
3281           else
3282             result=$wxUSE_UNIVERSAL
3283           fi
3284
3285           { echo "$as_me:$LINENO: result: $result" >&5
3286 echo "${ECHO_T}$result" >&6; }
3287
3288 if test "$wxUSE_UNIVERSAL" = "yes"; then
3289
3290 # Check whether --with-themes was given.
3291 if test "${with_themes+set}" = set; then
3292   withval=$with_themes; wxUNIV_THEMES="$withval"
3293 fi
3294
3295 fi
3296
3297
3298 # Check whether --with-gtk was given.
3299 if test "${with_gtk+set}" = set; then
3300   withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3301 fi
3302
3303
3304 # Check whether --with-motif was given.
3305 if test "${with_motif+set}" = set; then
3306   withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3307 fi
3308
3309
3310 # Check whether --with-osx_carbon was given.
3311 if test "${with_osx_carbon+set}" = set; then
3312   withval=$with_osx_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3313 fi
3314
3315
3316 # Check whether --with-osx_cocoa was given.
3317 if test "${with_osx_cocoa+set}" = set; then
3318   withval=$with_osx_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3319 fi
3320
3321
3322 # Check whether --with-mac was given.
3323 if test "${with_mac+set}" = set; then
3324   withval=$with_mac; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3325 fi
3326
3327
3328 # Check whether --with-cocoa was given.
3329 if test "${with_cocoa+set}" = set; then
3330   withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3331 fi
3332
3333
3334 # Check whether --with-wine was given.
3335 if test "${with_wine+set}" = set; then
3336   withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3337 fi
3338
3339
3340 # Check whether --with-msw was given.
3341 if test "${with_msw+set}" = set; then
3342   withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3343 fi
3344
3345
3346 # Check whether --with-pm was given.
3347 if test "${with_pm+set}" = set; then
3348   withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3349 fi
3350
3351
3352 # Check whether --with-mgl was given.
3353 if test "${with_mgl+set}" = set; then
3354   withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3355 fi
3356
3357
3358 # Check whether --with-directfb was given.
3359 if test "${with_directfb+set}" = set; then
3360   withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3361 fi
3362
3363
3364 # Check whether --with-microwin was given.
3365 if test "${with_microwin+set}" = set; then
3366   withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3367 fi
3368
3369
3370 # Check whether --with-x11 was given.
3371 if test "${with_x11+set}" = set; then
3372   withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3373 fi
3374
3375
3376           enablestring=
3377           defaultval=
3378           if test -z "$defaultval"; then
3379               if test x"$enablestring" = xdisable; then
3380                   defaultval=yes
3381               else
3382                   defaultval=no
3383               fi
3384           fi
3385
3386           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3387 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3388           # Check whether --enable-nanox was given.
3389 if test "${enable_nanox+set}" = set; then
3390   enableval=$enable_nanox;
3391                           if test "$enableval" = yes; then
3392                             wx_cv_use_nanox='wxUSE_NANOX=yes'
3393                           else
3394                             wx_cv_use_nanox='wxUSE_NANOX=no'
3395                           fi
3396
3397 else
3398
3399                           wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3400
3401 fi
3402
3403
3404           eval "$wx_cv_use_nanox"
3405
3406           if test x"$enablestring" = xdisable; then
3407             if test $wxUSE_NANOX = no; then
3408               result=yes
3409             else
3410               result=no
3411             fi
3412           else
3413             result=$wxUSE_NANOX
3414           fi
3415
3416           { echo "$as_me:$LINENO: result: $result" >&5
3417 echo "${ECHO_T}$result" >&6; }
3418
3419
3420 # Check whether --enable-gtk2 was given.
3421 if test "${enable_gtk2+set}" = set; then
3422   enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3423 fi
3424
3425
3426           enablestring=
3427           defaultval=
3428           if test -z "$defaultval"; then
3429               if test x"$enablestring" = xdisable; then
3430                   defaultval=yes
3431               else
3432                   defaultval=no
3433               fi
3434           fi
3435
3436           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3437 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3438           # Check whether --enable-gpe was given.
3439 if test "${enable_gpe+set}" = set; then
3440   enableval=$enable_gpe;
3441                           if test "$enableval" = yes; then
3442                             wx_cv_use_gpe='wxUSE_GPE=yes'
3443                           else
3444                             wx_cv_use_gpe='wxUSE_GPE=no'
3445                           fi
3446
3447 else
3448
3449                           wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3450
3451 fi
3452
3453
3454           eval "$wx_cv_use_gpe"
3455
3456           if test x"$enablestring" = xdisable; then
3457             if test $wxUSE_GPE = no; then
3458               result=yes
3459             else
3460               result=no
3461             fi
3462           else
3463             result=$wxUSE_GPE
3464           fi
3465
3466           { echo "$as_me:$LINENO: result: $result" >&5
3467 echo "${ECHO_T}$result" >&6; }
3468
3469
3470
3471 { echo "$as_me:$LINENO: checking for toolkit" >&5
3472 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
3473
3474
3475
3476 # In Wine, we need to default to MSW, not GTK or MOTIF
3477 if test "$wxUSE_WINE" = "yes"; then
3478     DEFAULT_DEFAULT_wxUSE_GTK=0
3479     DEFAULT_DEFAULT_wxUSE_MOTIF=0
3480     DEFAULT_DEFAULT_wxUSE_MSW=1
3481     wxUSE_SHARED=no
3482     CC=${CC:-winegcc}
3483     CXX=${CXX:-wineg++}
3484 fi
3485
3486
3487 if test "$wxUSE_GUI" = "yes"; then
3488
3489     if test "$USE_BEOS" = 1; then
3490         { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
3491 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
3492    { (exit 1); exit 1; }; }
3493     fi
3494
3495     if test "$TOOLKIT_GIVEN" = 1; then
3496             for toolkit in $ALL_TOOLKITS; do
3497         var=wxUSE_$toolkit
3498         eval "value=\$${var}"
3499         if test "x$value" = "xno"; then
3500           eval "$var=0"
3501         elif test "x$value" != "x"; then
3502           eval "$var=1"
3503         fi
3504
3505         if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
3506           eval "wx${toolkit}_VERSION=$value"
3507         fi
3508       done
3509     else
3510             for toolkit in $ALL_TOOLKITS; do
3511         var=DEFAULT_DEFAULT_wxUSE_$toolkit
3512         eval "wxUSE_$toolkit=\$${var}"
3513       done
3514     fi
3515
3516             NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_OSX_CARBON:-0} \
3517                   + ${wxUSE_OSX_COCOA:-0} + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} \
3518                   + ${wxUSE_MICROWIN:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
3519
3520         case "${host}" in
3521       *-pc-os2_emx | *-pc-os2-emx )
3522         NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
3523     esac
3524
3525     case "$NUM_TOOLKITS" in
3526       1)
3527       ;;
3528       0)
3529         { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
3530 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
3531    { (exit 1); exit 1; }; }
3532       ;;
3533       *)
3534         { { echo "$as_me:$LINENO: error: Please specify at most one toolkit" >&5
3535 echo "$as_me: error: Please specify at most one toolkit" >&2;}
3536    { (exit 1); exit 1; }; }
3537     esac
3538
3539     # to be removed when --disable-gtk2 isn't needed
3540     if test "x$wxUSE_GTK2" = "xyes"; then
3541         wxGTK_VERSION=2
3542     elif test "x$wxUSE_GTK2" = "xno"; then
3543         wxGTK_VERSION=1
3544     fi
3545
3546     for toolkit in $ALL_TOOLKITS; do
3547         var=wxUSE_$toolkit
3548         eval "value=\$${var}"
3549         if test "$value" = 1; then
3550           toolkit_echo=`echo $toolkit | tr '[A-Z]' '[a-z]'`
3551           { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
3552 echo "${ECHO_T}$toolkit_echo" >&6; }
3553         fi
3554     done
3555 else
3556     if test "x$host_alias" != "x"; then
3557         { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
3558 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
3559     else
3560         { echo "$as_me:$LINENO: result: base only" >&5
3561 echo "${ECHO_T}base only" >&6; }
3562     fi
3563 fi
3564
3565 wxUSE_MAC=0
3566 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1; then
3567     wxUSE_MAC=1
3568 fi
3569
3570
3571
3572           { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3573 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3574
3575 # Check whether --with-libpng was given.
3576 if test "${with_libpng+set}" = set; then
3577   withval=$with_libpng;
3578                         if test "$withval" = yes; then
3579                           wx_cv_use_libpng='wxUSE_LIBPNG=yes'
3580                         elif test "$withval" = no; then
3581                           wx_cv_use_libpng='wxUSE_LIBPNG=no'
3582                         elif test "$withval" = sys; then
3583                           wx_cv_use_libpng='wxUSE_LIBPNG=sys'
3584                         elif test "$withval" = builtin; then
3585                           wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
3586                         else
3587                           { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3588 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3589    { (exit 1); exit 1; }; }
3590                         fi
3591
3592 else
3593
3594                         wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3595
3596 fi
3597
3598
3599           eval "$wx_cv_use_libpng"
3600
3601           if test "$wxUSE_LIBPNG" = yes; then
3602             { echo "$as_me:$LINENO: result: yes" >&5
3603 echo "${ECHO_T}yes" >&6; }
3604           elif test "$wxUSE_LIBPNG" = no; then
3605             { echo "$as_me:$LINENO: result: no" >&5
3606 echo "${ECHO_T}no" >&6; }
3607           elif test "$wxUSE_LIBPNG" = sys; then
3608             { echo "$as_me:$LINENO: result: system version" >&5
3609 echo "${ECHO_T}system version" >&6; }
3610           elif test "$wxUSE_LIBPNG" = builtin; then
3611             { echo "$as_me:$LINENO: result: builtin version" >&5
3612 echo "${ECHO_T}builtin version" >&6; }
3613           else
3614             { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3615 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3616    { (exit 1); exit 1; }; }
3617           fi
3618
3619
3620           { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3621 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3622
3623 # Check whether --with-libjpeg was given.
3624 if test "${with_libjpeg+set}" = set; then
3625   withval=$with_libjpeg;
3626                         if test "$withval" = yes; then
3627                           wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3628                         elif test "$withval" = no; then
3629                           wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3630                         elif test "$withval" = sys; then
3631                           wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3632                         elif test "$withval" = builtin; then
3633                           wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3634                         else
3635                           { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3636 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3637    { (exit 1); exit 1; }; }
3638                         fi
3639
3640 else
3641
3642                         wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3643
3644 fi
3645
3646
3647           eval "$wx_cv_use_libjpeg"
3648
3649           if test "$wxUSE_LIBJPEG" = yes; then
3650             { echo "$as_me:$LINENO: result: yes" >&5
3651 echo "${ECHO_T}yes" >&6; }
3652           elif test "$wxUSE_LIBJPEG" = no; then
3653             { echo "$as_me:$LINENO: result: no" >&5
3654 echo "${ECHO_T}no" >&6; }
3655           elif test "$wxUSE_LIBJPEG" = sys; then
3656             { echo "$as_me:$LINENO: result: system version" >&5
3657 echo "${ECHO_T}system version" >&6; }
3658           elif test "$wxUSE_LIBJPEG" = builtin; then
3659             { echo "$as_me:$LINENO: result: builtin version" >&5
3660 echo "${ECHO_T}builtin version" >&6; }
3661           else
3662             { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3663 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3664    { (exit 1); exit 1; }; }
3665           fi
3666
3667
3668           { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3669 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3670
3671 # Check whether --with-libtiff was given.
3672 if test "${with_libtiff+set}" = set; then
3673   withval=$with_libtiff;
3674                         if test "$withval" = yes; then
3675                           wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3676                         elif test "$withval" = no; then
3677                           wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3678                         elif test "$withval" = sys; then
3679                           wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3680                         elif test "$withval" = builtin; then
3681                           wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3682                         else
3683                           { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3684 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3685    { (exit 1); exit 1; }; }
3686                         fi
3687
3688 else
3689
3690                         wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3691
3692 fi
3693
3694
3695           eval "$wx_cv_use_libtiff"
3696
3697           if test "$wxUSE_LIBTIFF" = yes; then
3698             { echo "$as_me:$LINENO: result: yes" >&5
3699 echo "${ECHO_T}yes" >&6; }
3700           elif test "$wxUSE_LIBTIFF" = no; then
3701             { echo "$as_me:$LINENO: result: no" >&5
3702 echo "${ECHO_T}no" >&6; }
3703           elif test "$wxUSE_LIBTIFF" = sys; then
3704             { echo "$as_me:$LINENO: result: system version" >&5
3705 echo "${ECHO_T}system version" >&6; }
3706           elif test "$wxUSE_LIBTIFF" = builtin; then
3707             { echo "$as_me:$LINENO: result: builtin version" >&5
3708 echo "${ECHO_T}builtin version" >&6; }
3709           else
3710             { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3711 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3712    { (exit 1); exit 1; }; }
3713           fi
3714
3715
3716           { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3717 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3718
3719 # Check whether --with-libxpm was given.
3720 if test "${with_libxpm+set}" = set; then
3721   withval=$with_libxpm;
3722                         if test "$withval" = yes; then
3723                           wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
3724                         elif test "$withval" = no; then
3725                           wx_cv_use_libxpm='wxUSE_LIBXPM=no'
3726                         elif test "$withval" = sys; then
3727                           wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
3728                         elif test "$withval" = builtin; then
3729                           wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3730                         else
3731                           { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3732 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3733    { (exit 1); exit 1; }; }
3734                         fi
3735
3736 else
3737
3738                         wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3739
3740 fi
3741
3742
3743           eval "$wx_cv_use_libxpm"
3744
3745           if test "$wxUSE_LIBXPM" = yes; then
3746             { echo "$as_me:$LINENO: result: yes" >&5
3747 echo "${ECHO_T}yes" >&6; }
3748           elif test "$wxUSE_LIBXPM" = no; then
3749             { echo "$as_me:$LINENO: result: no" >&5
3750 echo "${ECHO_T}no" >&6; }
3751           elif test "$wxUSE_LIBXPM" = sys; then
3752             { echo "$as_me:$LINENO: result: system version" >&5
3753 echo "${ECHO_T}system version" >&6; }
3754           elif test "$wxUSE_LIBXPM" = builtin; then
3755             { echo "$as_me:$LINENO: result: builtin version" >&5
3756 echo "${ECHO_T}builtin version" >&6; }
3757           else
3758             { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3759 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3760    { (exit 1); exit 1; }; }
3761           fi
3762
3763
3764           withstring=
3765           defaultval=$wxUSE_ALL_FEATURES
3766           if test -z "$defaultval"; then
3767               if test x"$withstring" = xwithout; then
3768                   defaultval=yes
3769               else
3770                   defaultval=no
3771               fi
3772           fi
3773           { echo "$as_me:$LINENO: checking for --${withstring:-with}-libiconv" >&5
3774 echo $ECHO_N "checking for --${withstring:-with}-libiconv... $ECHO_C" >&6; }
3775
3776 # Check whether --with-libiconv was given.
3777 if test "${with_libiconv+set}" = set; then
3778   withval=$with_libiconv;
3779                         if test "$withval" = yes; then
3780                           wx_cv_use_libiconv='wxUSE_LIBICONV=yes'
3781                         else
3782                           wx_cv_use_libiconv='wxUSE_LIBICONV=no'
3783                         fi
3784
3785 else
3786
3787                         wx_cv_use_libiconv='wxUSE_LIBICONV=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
3788
3789 fi
3790
3791
3792           eval "$wx_cv_use_libiconv"
3793
3794           if test x"$withstring" = xwithout; then
3795             if test $wxUSE_LIBICONV = yes; then
3796               result=no
3797             else
3798               result=yes
3799             fi
3800           else
3801             result=$wxUSE_LIBICONV
3802           fi
3803
3804           { echo "$as_me:$LINENO: result: $result" >&5
3805 echo "${ECHO_T}$result" >&6; }
3806
3807
3808           withstring=
3809           defaultval=$wxUSE_ALL_FEATURES
3810           if test -z "$defaultval"; then
3811               if test x"$withstring" = xwithout; then
3812                   defaultval=yes
3813               else
3814                   defaultval=no
3815               fi
3816           fi
3817           { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3818 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3819
3820 # Check whether --with-libmspack was given.
3821 if test "${with_libmspack+set}" = set; then
3822   withval=$with_libmspack;
3823                         if test "$withval" = yes; then
3824                           wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3825                         else
3826                           wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3827                         fi
3828
3829 else
3830
3831                         wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3832
3833 fi
3834
3835
3836           eval "$wx_cv_use_libmspack"
3837
3838           if test x"$withstring" = xwithout; then
3839             if test $wxUSE_LIBMSPACK = yes; then
3840               result=no
3841             else
3842               result=yes
3843             fi
3844           else
3845             result=$wxUSE_LIBMSPACK
3846           fi
3847
3848           { echo "$as_me:$LINENO: result: $result" >&5
3849 echo "${ECHO_T}$result" >&6; }
3850
3851
3852           withstring=without
3853           defaultval=$wxUSE_ALL_FEATURES
3854           if test -z "$defaultval"; then
3855               if test x"$withstring" = xwithout; then
3856                   defaultval=yes
3857               else
3858                   defaultval=no
3859               fi
3860           fi
3861           { echo "$as_me:$LINENO: checking for --${withstring:-with}-gtkprint" >&5
3862 echo $ECHO_N "checking for --${withstring:-with}-gtkprint... $ECHO_C" >&6; }
3863
3864 # Check whether --with-gtkprint was given.
3865 if test "${with_gtkprint+set}" = set; then
3866   withval=$with_gtkprint;
3867                         if test "$withval" = yes; then
3868                           wx_cv_use_gtkprint='wxUSE_GTKPRINT=yes'
3869                         else
3870                           wx_cv_use_gtkprint='wxUSE_GTKPRINT=no'
3871                         fi
3872
3873 else
3874
3875                         wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3876
3877 fi
3878
3879
3880           eval "$wx_cv_use_gtkprint"
3881
3882           if test x"$withstring" = xwithout; then
3883             if test $wxUSE_GTKPRINT = yes; then
3884               result=no
3885             else
3886               result=yes
3887             fi
3888           else
3889             result=$wxUSE_GTKPRINT
3890           fi
3891
3892           { echo "$as_me:$LINENO: result: $result" >&5
3893 echo "${ECHO_T}$result" >&6; }
3894
3895
3896           withstring=without
3897           defaultval=$wxUSE_ALL_FEATURES
3898           if test -z "$defaultval"; then
3899               if test x"$withstring" = xwithout; then
3900                   defaultval=yes
3901               else
3902                   defaultval=no
3903               fi
3904           fi
3905           { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3906 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3907
3908 # Check whether --with-gnomeprint was given.
3909 if test "${with_gnomeprint+set}" = set; then
3910   withval=$with_gnomeprint;
3911                         if test "$withval" = yes; then
3912                           wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3913                         else
3914                           wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3915                         fi
3916
3917 else
3918
3919                         wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
3920
3921 fi
3922
3923
3924           eval "$wx_cv_use_gnomeprint"
3925
3926           if test x"$withstring" = xwithout; then
3927             if test $wxUSE_LIBGNOMEPRINT = yes; then
3928               result=no
3929             else
3930               result=yes
3931             fi
3932           else
3933             result=$wxUSE_LIBGNOMEPRINT
3934           fi
3935
3936           { echo "$as_me:$LINENO: result: $result" >&5
3937 echo "${ECHO_T}$result" >&6; }
3938
3939
3940           withstring=
3941           defaultval=$wxUSE_ALL_FEATURES
3942           if test -z "$defaultval"; then
3943               if test x"$withstring" = xwithout; then
3944                   defaultval=yes
3945               else
3946                   defaultval=no
3947               fi
3948           fi
3949           { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3950 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
3951
3952 # Check whether --with-gnomevfs was given.
3953 if test "${with_gnomevfs+set}" = set; then
3954   withval=$with_gnomevfs;
3955                         if test "$withval" = yes; then
3956                           wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3957                         else
3958                           wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3959                         fi
3960
3961 else
3962
3963                         wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
3964
3965 fi
3966
3967
3968           eval "$wx_cv_use_gnomevfs"
3969
3970           if test x"$withstring" = xwithout; then
3971             if test $wxUSE_LIBGNOMEVFS = yes; then
3972               result=no
3973             else
3974               result=yes
3975             fi
3976           else
3977             result=$wxUSE_LIBGNOMEVFS
3978           fi
3979
3980           { echo "$as_me:$LINENO: result: $result" >&5
3981 echo "${ECHO_T}$result" >&6; }
3982
3983
3984           withstring=
3985           defaultval=$wxUSE_ALL_FEATURES
3986           if test -z "$defaultval"; then
3987               if test x"$withstring" = xwithout; then
3988                   defaultval=yes
3989               else
3990                   defaultval=no
3991               fi
3992           fi
3993           { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3994 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
3995
3996 # Check whether --with-hildon was given.
3997 if test "${with_hildon+set}" = set; then
3998   withval=$with_hildon;
3999                         if test "$withval" = yes; then
4000                           wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
4001                         else
4002                           wx_cv_use_hildon='wxUSE_LIBHILDON=no'
4003                         fi
4004
4005 else
4006
4007                         wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
4008
4009 fi
4010
4011
4012           eval "$wx_cv_use_hildon"
4013
4014           if test x"$withstring" = xwithout; then
4015             if test $wxUSE_LIBHILDON = yes; then
4016               result=no
4017             else
4018               result=yes
4019             fi
4020           else
4021             result=$wxUSE_LIBHILDON
4022           fi
4023
4024           { echo "$as_me:$LINENO: result: $result" >&5
4025 echo "${ECHO_T}$result" >&6; }
4026
4027
4028           withstring=
4029           defaultval=$wxUSE_ALL_FEATURES
4030           if test -z "$defaultval"; then
4031               if test x"$withstring" = xwithout; then
4032                   defaultval=yes
4033               else
4034                   defaultval=no
4035               fi
4036           fi
4037           { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4038 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4039
4040 # Check whether --with-opengl was given.
4041 if test "${with_opengl+set}" = set; then
4042   withval=$with_opengl;
4043                         if test "$withval" = yes; then
4044                           wx_cv_use_opengl='wxUSE_OPENGL=yes'
4045                         else
4046                           wx_cv_use_opengl='wxUSE_OPENGL=no'
4047                         fi
4048
4049 else
4050
4051                         wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4052
4053 fi
4054
4055
4056           eval "$wx_cv_use_opengl"
4057
4058           if test x"$withstring" = xwithout; then
4059             if test $wxUSE_OPENGL = yes; then
4060               result=no
4061             else
4062               result=yes
4063             fi
4064           else
4065             result=$wxUSE_OPENGL
4066           fi
4067
4068           { echo "$as_me:$LINENO: result: $result" >&5
4069 echo "${ECHO_T}$result" >&6; }
4070
4071
4072 fi
4073
4074
4075           withstring=
4076           defaultval=$wxUSE_ALL_FEATURES
4077           if test -z "$defaultval"; then
4078               if test x"$withstring" = xwithout; then
4079                   defaultval=yes
4080               else
4081                   defaultval=no
4082               fi
4083           fi
4084           { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4085 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4086
4087 # Check whether --with-dmalloc was given.
4088 if test "${with_dmalloc+set}" = set; then
4089   withval=$with_dmalloc;
4090                         if test "$withval" = yes; then
4091                           wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4092                         else
4093                           wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4094                         fi
4095
4096 else
4097
4098                         wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4099
4100 fi
4101
4102
4103           eval "$wx_cv_use_dmalloc"
4104
4105           if test x"$withstring" = xwithout; then
4106             if test $wxUSE_DMALLOC = yes; then
4107               result=no
4108             else
4109               result=yes
4110             fi
4111           else
4112             result=$wxUSE_DMALLOC
4113           fi
4114
4115           { echo "$as_me:$LINENO: result: $result" >&5
4116 echo "${ECHO_T}$result" >&6; }
4117
4118
4119           withstring=
4120           defaultval=$wxUSE_ALL_FEATURES
4121           if test -z "$defaultval"; then
4122               if test x"$withstring" = xwithout; then
4123                   defaultval=yes
4124               else
4125                   defaultval=no
4126               fi
4127           fi
4128           { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4129 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4130
4131 # Check whether --with-sdl was given.
4132 if test "${with_sdl+set}" = set; then
4133   withval=$with_sdl;
4134                         if test "$withval" = yes; then
4135                           wx_cv_use_sdl='wxUSE_LIBSDL=yes'
4136                         else
4137                           wx_cv_use_sdl='wxUSE_LIBSDL=no'
4138                         fi
4139
4140 else
4141
4142                         wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4143
4144 fi
4145
4146
4147           eval "$wx_cv_use_sdl"
4148
4149           if test x"$withstring" = xwithout; then
4150             if test $wxUSE_LIBSDL = yes; then
4151               result=no
4152             else
4153               result=yes
4154             fi
4155           else
4156             result=$wxUSE_LIBSDL
4157           fi
4158
4159           { echo "$as_me:$LINENO: result: $result" >&5
4160 echo "${ECHO_T}$result" >&6; }
4161
4162
4163           { echo "$as_me:$LINENO: checking for --with-regex" >&5
4164 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4165
4166 # Check whether --with-regex was given.
4167 if test "${with_regex+set}" = set; then
4168   withval=$with_regex;
4169                         if test "$withval" = yes; then
4170                           wx_cv_use_regex='wxUSE_REGEX=yes'
4171                         elif test "$withval" = no; then
4172                           wx_cv_use_regex='wxUSE_REGEX=no'
4173                         elif test "$withval" = sys; then
4174                           wx_cv_use_regex='wxUSE_REGEX=sys'
4175                         elif test "$withval" = builtin; then
4176                           wx_cv_use_regex='wxUSE_REGEX=builtin'
4177                         else
4178                           { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4179 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4180    { (exit 1); exit 1; }; }
4181                         fi
4182
4183 else
4184
4185                         wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4186
4187 fi
4188
4189
4190           eval "$wx_cv_use_regex"
4191
4192           if test "$wxUSE_REGEX" = yes; then
4193             { echo "$as_me:$LINENO: result: yes" >&5
4194 echo "${ECHO_T}yes" >&6; }
4195           elif test "$wxUSE_REGEX" = no; then
4196             { echo "$as_me:$LINENO: result: no" >&5
4197 echo "${ECHO_T}no" >&6; }
4198           elif test "$wxUSE_REGEX" = sys; then
4199             { echo "$as_me:$LINENO: result: system version" >&5
4200 echo "${ECHO_T}system version" >&6; }
4201           elif test "$wxUSE_REGEX" = builtin; then
4202             { echo "$as_me:$LINENO: result: builtin version" >&5
4203 echo "${ECHO_T}builtin version" >&6; }
4204           else
4205             { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4206 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4207    { (exit 1); exit 1; }; }
4208           fi
4209
4210
4211           { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4212 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4213
4214 # Check whether --with-zlib was given.
4215 if test "${with_zlib+set}" = set; then
4216   withval=$with_zlib;
4217                         if test "$withval" = yes; then
4218                           wx_cv_use_zlib='wxUSE_ZLIB=yes'
4219                         elif test "$withval" = no; then
4220                           wx_cv_use_zlib='wxUSE_ZLIB=no'
4221                         elif test "$withval" = sys; then
4222                           wx_cv_use_zlib='wxUSE_ZLIB=sys'
4223                         elif test "$withval" = builtin; then
4224                           wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4225                         else
4226                           { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4227 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4228    { (exit 1); exit 1; }; }
4229                         fi
4230
4231 else
4232
4233                         wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4234
4235 fi
4236
4237
4238           eval "$wx_cv_use_zlib"
4239
4240           if test "$wxUSE_ZLIB" = yes; then
4241             { echo "$as_me:$LINENO: result: yes" >&5
4242 echo "${ECHO_T}yes" >&6; }
4243           elif test "$wxUSE_ZLIB" = no; then
4244             { echo "$as_me:$LINENO: result: no" >&5
4245 echo "${ECHO_T}no" >&6; }
4246           elif test "$wxUSE_ZLIB" = sys; then
4247             { echo "$as_me:$LINENO: result: system version" >&5
4248 echo "${ECHO_T}system version" >&6; }
4249           elif test "$wxUSE_ZLIB" = builtin; then
4250             { echo "$as_me:$LINENO: result: builtin version" >&5
4251 echo "${ECHO_T}builtin version" >&6; }
4252           else
4253             { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4254 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4255    { (exit 1); exit 1; }; }
4256           fi
4257
4258
4259           { echo "$as_me:$LINENO: checking for --with-expat" >&5
4260 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4261
4262 # Check whether --with-expat was given.
4263 if test "${with_expat+set}" = set; then
4264   withval=$with_expat;
4265                         if test "$withval" = yes; then
4266                           wx_cv_use_expat='wxUSE_EXPAT=yes'
4267                         elif test "$withval" = no; then
4268                           wx_cv_use_expat='wxUSE_EXPAT=no'
4269                         elif test "$withval" = sys; then
4270                           wx_cv_use_expat='wxUSE_EXPAT=sys'
4271                         elif test "$withval" = builtin; then
4272                           wx_cv_use_expat='wxUSE_EXPAT=builtin'
4273                         else
4274                           { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4275 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4276    { (exit 1); exit 1; }; }
4277                         fi
4278
4279 else
4280
4281                         wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4282
4283 fi
4284
4285
4286           eval "$wx_cv_use_expat"
4287
4288           if test "$wxUSE_EXPAT" = yes; then
4289             { echo "$as_me:$LINENO: result: yes" >&5
4290 echo "${ECHO_T}yes" >&6; }
4291           elif test "$wxUSE_EXPAT" = no; then
4292             { echo "$as_me:$LINENO: result: no" >&5
4293 echo "${ECHO_T}no" >&6; }
4294           elif test "$wxUSE_EXPAT" = sys; then
4295             { echo "$as_me:$LINENO: result: system version" >&5
4296 echo "${ECHO_T}system version" >&6; }
4297           elif test "$wxUSE_EXPAT" = builtin; then
4298             { echo "$as_me:$LINENO: result: builtin version" >&5
4299 echo "${ECHO_T}builtin version" >&6; }
4300           else
4301             { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4302 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4303    { (exit 1); exit 1; }; }
4304           fi
4305
4306
4307 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4308 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4309
4310 # Check whether --with-macosx-sdk was given.
4311 if test "${with_macosx_sdk+set}" = set; then
4312   withval=$with_macosx_sdk;
4313         wxUSE_MACOSX_SDK=$withval
4314         wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4315
4316 fi
4317
4318 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4319 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4320
4321 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4322 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4323
4324 # Check whether --with-macosx-version-min was given.
4325 if test "${with_macosx_version_min+set}" = set; then
4326   withval=$with_macosx_version_min;
4327         wxUSE_MACOSX_VERSION_MIN=$withval
4328         wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4329
4330 fi
4331
4332 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4333 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4334
4335
4336 { echo "$as_me:$LINENO: checking for --enable-debug" >&5
4337 echo $ECHO_N "checking for --enable-debug... $ECHO_C" >&6; }
4338 # Check whether --enable-debug was given.
4339 if test "${enable_debug+set}" = set; then
4340   enableval=$enable_debug;
4341         if test "$enableval" = yes; then
4342             wxUSE_DEBUG=yes
4343         elif test "$enableval" = no; then
4344             wxUSE_DEBUG=no
4345         elif test "$enableval" = max; then
4346             wxUSE_DEBUG=yes
4347             WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=2"
4348         else
4349             { { echo "$as_me:$LINENO: error: Invalid --enable-debug value, must be yes, no or max" >&5
4350 echo "$as_me: error: Invalid --enable-debug value, must be yes, no or max" >&2;}
4351    { (exit 1); exit 1; }; }
4352         fi
4353
4354 else
4355   wxUSE_DEBUG=default
4356
4357 fi
4358
4359
4360 case "$wxUSE_DEBUG" in
4361     yes)
4362                         DEFAULT_wxUSE_DEBUG_FLAG=yes
4363         DEFAULT_wxUSE_DEBUG_INFO=yes
4364
4365                         DEFAULT_wxUSE_OPTIMISE=no
4366         ;;
4367
4368     no)
4369                         DEFAULT_wxUSE_DEBUG_FLAG=no
4370         DEFAULT_wxUSE_DEBUG_INFO=no
4371         ;;
4372
4373     default)
4374                         DEFAULT_wxUSE_DEBUG_FLAG=yes
4375         DEFAULT_wxUSE_DEBUG_INFO=no
4376         ;;
4377 esac
4378
4379
4380           enablestring=disable
4381           defaultval=
4382           if test -z "$defaultval"; then
4383               if test x"$enablestring" = xdisable; then
4384                   defaultval=yes
4385               else
4386                   defaultval=no
4387               fi
4388           fi
4389
4390           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4391 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4392           # Check whether --enable-debug_flag was given.
4393 if test "${enable_debug_flag+set}" = set; then
4394   enableval=$enable_debug_flag;
4395                           if test "$enableval" = yes; then
4396                             wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4397                           else
4398                             wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4399                           fi
4400
4401 else
4402
4403                           wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
4404
4405 fi
4406
4407
4408           eval "$wx_cv_use_debug_flag"
4409
4410           if test x"$enablestring" = xdisable; then
4411             if test $wxUSE_DEBUG_FLAG = no; then
4412               result=yes
4413             else
4414               result=no
4415             fi
4416           else
4417             result=$wxUSE_DEBUG_FLAG
4418           fi
4419
4420           { echo "$as_me:$LINENO: result: $result" >&5
4421 echo "${ECHO_T}$result" >&6; }
4422
4423
4424           enablestring=
4425           defaultval=
4426           if test -z "$defaultval"; then
4427               if test x"$enablestring" = xdisable; then
4428                   defaultval=yes
4429               else
4430                   defaultval=no
4431               fi
4432           fi
4433
4434           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4435 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4436           # Check whether --enable-debug_info was given.
4437 if test "${enable_debug_info+set}" = set; then
4438   enableval=$enable_debug_info;
4439                           if test "$enableval" = yes; then
4440                             wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4441                           else
4442                             wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4443                           fi
4444
4445 else
4446
4447                           wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
4448
4449 fi
4450
4451
4452           eval "$wx_cv_use_debug_info"
4453
4454           if test x"$enablestring" = xdisable; then
4455             if test $wxUSE_DEBUG_INFO = no; then
4456               result=yes
4457             else
4458               result=no
4459             fi
4460           else
4461             result=$wxUSE_DEBUG_INFO
4462           fi
4463
4464           { echo "$as_me:$LINENO: result: $result" >&5
4465 echo "${ECHO_T}$result" >&6; }
4466
4467
4468
4469
4470           enablestring=
4471           defaultval=
4472           if test -z "$defaultval"; then
4473               if test x"$enablestring" = xdisable; then
4474                   defaultval=yes
4475               else
4476                   defaultval=no
4477               fi
4478           fi
4479
4480           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4481 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4482           # Check whether --enable-debug_gdb was given.
4483 if test "${enable_debug_gdb+set}" = set; then
4484   enableval=$enable_debug_gdb;
4485                           if test "$enableval" = yes; then
4486                             wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4487                           else
4488                             wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4489                           fi
4490
4491 else
4492
4493                           wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
4494
4495 fi
4496
4497
4498           eval "$wx_cv_use_debug_gdb"
4499
4500           if test x"$enablestring" = xdisable; then
4501             if test $wxUSE_DEBUG_GDB = no; then
4502               result=yes
4503             else
4504               result=no
4505             fi
4506           else
4507             result=$wxUSE_DEBUG_GDB
4508           fi
4509
4510           { echo "$as_me:$LINENO: result: $result" >&5
4511 echo "${ECHO_T}$result" >&6; }
4512
4513
4514           enablestring=
4515           defaultval=
4516           if test -z "$defaultval"; then
4517               if test x"$enablestring" = xdisable; then
4518                   defaultval=yes
4519               else
4520                   defaultval=no
4521               fi
4522           fi
4523
4524           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4525 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4526           # Check whether --enable-debug_cntxt was given.
4527 if test "${enable_debug_cntxt+set}" = set; then
4528   enableval=$enable_debug_cntxt;
4529                           if test "$enableval" = yes; then
4530                             wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4531                           else
4532                             wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4533                           fi
4534
4535 else
4536
4537                           wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
4538
4539 fi
4540
4541
4542           eval "$wx_cv_use_debug_cntxt"
4543
4544           if test x"$enablestring" = xdisable; then
4545             if test $wxUSE_DEBUG_CONTEXT = no; then
4546               result=yes
4547             else
4548               result=no
4549             fi
4550           else
4551             result=$wxUSE_DEBUG_CONTEXT
4552           fi
4553
4554           { echo "$as_me:$LINENO: result: $result" >&5
4555 echo "${ECHO_T}$result" >&6; }
4556
4557
4558           enablestring=
4559           defaultval=
4560           if test -z "$defaultval"; then
4561               if test x"$enablestring" = xdisable; then
4562                   defaultval=yes
4563               else
4564                   defaultval=no
4565               fi
4566           fi
4567
4568           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4569 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
4570           # Check whether --enable-mem_tracing was given.
4571 if test "${enable_mem_tracing+set}" = set; then
4572   enableval=$enable_mem_tracing;
4573                           if test "$enableval" = yes; then
4574                             wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4575                           else
4576                             wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4577                           fi
4578
4579 else
4580
4581                           wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
4582
4583 fi
4584
4585
4586           eval "$wx_cv_use_mem_tracing"
4587
4588           if test x"$enablestring" = xdisable; then
4589             if test $wxUSE_MEM_TRACING = no; then
4590               result=yes
4591             else
4592               result=no
4593             fi
4594           else
4595             result=$wxUSE_MEM_TRACING
4596           fi
4597
4598           { echo "$as_me:$LINENO: result: $result" >&5
4599 echo "${ECHO_T}$result" >&6; }
4600
4601
4602
4603
4604           enablestring=disable
4605           defaultval=
4606           if test -z "$defaultval"; then
4607               if test x"$enablestring" = xdisable; then
4608                   defaultval=yes
4609               else
4610                   defaultval=no
4611               fi
4612           fi
4613
4614           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4615 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4616           # Check whether --enable-shared was given.
4617 if test "${enable_shared+set}" = set; then
4618   enableval=$enable_shared;
4619                           if test "$enableval" = yes; then
4620                             wx_cv_use_shared='wxUSE_SHARED=yes'
4621                           else
4622                             wx_cv_use_shared='wxUSE_SHARED=no'
4623                           fi
4624
4625 else
4626
4627                           wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4628
4629 fi
4630
4631
4632           eval "$wx_cv_use_shared"
4633
4634           if test x"$enablestring" = xdisable; then
4635             if test $wxUSE_SHARED = no; then
4636               result=yes
4637             else
4638               result=no
4639             fi
4640           else
4641             result=$wxUSE_SHARED
4642           fi
4643
4644           { echo "$as_me:$LINENO: result: $result" >&5
4645 echo "${ECHO_T}$result" >&6; }
4646
4647
4648           enablestring=
4649           defaultval=
4650           if test -z "$defaultval"; then
4651               if test x"$enablestring" = xdisable; then
4652                   defaultval=yes
4653               else
4654                   defaultval=no
4655               fi
4656           fi
4657
4658           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4659 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4660           # Check whether --enable-stl was given.
4661 if test "${enable_stl+set}" = set; then
4662   enableval=$enable_stl;
4663                           if test "$enableval" = yes; then
4664                             wx_cv_use_stl='wxUSE_STL=yes'
4665                           else
4666                             wx_cv_use_stl='wxUSE_STL=no'
4667                           fi
4668
4669 else
4670
4671                           wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4672
4673 fi
4674
4675
4676           eval "$wx_cv_use_stl"
4677
4678           if test x"$enablestring" = xdisable; then
4679             if test $wxUSE_STL = no; then
4680               result=yes
4681             else
4682               result=no
4683             fi
4684           else
4685             result=$wxUSE_STL
4686           fi
4687
4688           { echo "$as_me:$LINENO: result: $result" >&5
4689 echo "${ECHO_T}$result" >&6; }
4690
4691
4692           enablestring=
4693           defaultval=
4694           if test -z "$defaultval"; then
4695               if test x"$enablestring" = xdisable; then
4696                   defaultval=yes
4697               else
4698                   defaultval=no
4699               fi
4700           fi
4701
4702           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4703 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4704           # Check whether --enable-std_iostreams was given.
4705 if test "${enable_std_iostreams+set}" = set; then
4706   enableval=$enable_std_iostreams;
4707                           if test "$enableval" = yes; then
4708                             wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4709                           else
4710                             wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4711                           fi
4712
4713 else
4714
4715                           wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4716
4717 fi
4718
4719
4720           eval "$wx_cv_use_std_iostreams"
4721
4722           if test x"$enablestring" = xdisable; then
4723             if test $wxUSE_STD_IOSTREAM = no; then
4724               result=yes
4725             else
4726               result=no
4727             fi
4728           else
4729             result=$wxUSE_STD_IOSTREAM
4730           fi
4731
4732           { echo "$as_me:$LINENO: result: $result" >&5
4733 echo "${ECHO_T}$result" >&6; }
4734
4735
4736           enablestring=
4737           defaultval=
4738           if test -z "$defaultval"; then
4739               if test x"$enablestring" = xdisable; then
4740                   defaultval=yes
4741               else
4742                   defaultval=no
4743               fi
4744           fi
4745
4746           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4747 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4748           # Check whether --enable-std_string was given.
4749 if test "${enable_std_string+set}" = set; then
4750   enableval=$enable_std_string;
4751                           if test "$enableval" = yes; then
4752                             wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4753                           else
4754                             wx_cv_use_std_string='wxUSE_STD_STRING=no'
4755                           fi
4756
4757 else
4758
4759                           wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4760
4761 fi
4762
4763
4764           eval "$wx_cv_use_std_string"
4765
4766           if test x"$enablestring" = xdisable; then
4767             if test $wxUSE_STD_STRING = no; then
4768               result=yes
4769             else
4770               result=no
4771             fi
4772           else
4773             result=$wxUSE_STD_STRING
4774           fi
4775
4776           { echo "$as_me:$LINENO: result: $result" >&5
4777 echo "${ECHO_T}$result" >&6; }
4778
4779
4780           enablestring=disable
4781           defaultval=
4782           if test -z "$defaultval"; then
4783               if test x"$enablestring" = xdisable; then
4784                   defaultval=yes
4785               else
4786                   defaultval=no
4787               fi
4788           fi
4789
4790           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4791 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4792           # Check whether --enable-unicode was given.
4793 if test "${enable_unicode+set}" = set; then
4794   enableval=$enable_unicode;
4795                           if test "$enableval" = yes; then
4796                             wx_cv_use_unicode='wxUSE_UNICODE=yes'
4797                           else
4798                             wx_cv_use_unicode='wxUSE_UNICODE=no'
4799                           fi
4800
4801 else
4802
4803                           wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4804
4805 fi
4806
4807
4808           eval "$wx_cv_use_unicode"
4809
4810           if test x"$enablestring" = xdisable; then
4811             if test $wxUSE_UNICODE = no; then
4812               result=yes
4813             else
4814               result=no
4815             fi
4816           else
4817             result=$wxUSE_UNICODE
4818           fi
4819
4820           { echo "$as_me:$LINENO: result: $result" >&5
4821 echo "${ECHO_T}$result" >&6; }
4822
4823
4824           enablestring=
4825           defaultval=
4826           if test -z "$defaultval"; then
4827               if test x"$enablestring" = xdisable; then
4828                   defaultval=yes
4829               else
4830                   defaultval=no
4831               fi
4832           fi
4833
4834           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4835 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
4836           # Check whether --enable-mslu was given.
4837 if test "${enable_mslu+set}" = set; then
4838   enableval=$enable_mslu;
4839                           if test "$enableval" = yes; then
4840                             wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4841                           else
4842                             wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4843                           fi
4844
4845 else
4846
4847                           wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4848
4849 fi
4850
4851
4852           eval "$wx_cv_use_mslu"
4853
4854           if test x"$enablestring" = xdisable; then
4855             if test $wxUSE_UNICODE_MSLU = no; then
4856               result=yes
4857             else
4858               result=no
4859             fi
4860           else
4861             result=$wxUSE_UNICODE_MSLU
4862           fi
4863
4864           { echo "$as_me:$LINENO: result: $result" >&5
4865 echo "${ECHO_T}$result" >&6; }
4866
4867
4868           enablestring=
4869           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
4870 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
4871           # Check whether --enable-utf8 was given.
4872 if test "${enable_utf8+set}" = set; then
4873   enableval=$enable_utf8;
4874                           wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
4875
4876 else
4877
4878                           wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4879
4880 fi
4881
4882
4883           eval "$wx_cv_use_utf8"
4884
4885           { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
4886 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4887
4888
4889           enablestring=
4890           defaultval=
4891           if test -z "$defaultval"; then
4892               if test x"$enablestring" = xdisable; then
4893                   defaultval=yes
4894               else
4895                   defaultval=no
4896               fi
4897           fi
4898
4899           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
4900 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
4901           # Check whether --enable-utf8only was given.
4902 if test "${enable_utf8only+set}" = set; then
4903   enableval=$enable_utf8only;
4904                           if test "$enableval" = yes; then
4905                             wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
4906                           else
4907                             wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
4908                           fi
4909
4910 else
4911
4912                           wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
4913
4914 fi
4915
4916
4917           eval "$wx_cv_use_utf8only"
4918
4919           if test x"$enablestring" = xdisable; then
4920             if test $wxUSE_UNICODE_UTF8_LOCALE = no; then
4921               result=yes
4922             else
4923               result=no
4924             fi
4925           else
4926             result=$wxUSE_UNICODE_UTF8_LOCALE
4927           fi
4928
4929           { echo "$as_me:$LINENO: result: $result" >&5
4930 echo "${ECHO_T}$result" >&6; }
4931
4932
4933           enablestring=
4934           defaultval=
4935           if test -z "$defaultval"; then
4936               if test x"$enablestring" = xdisable; then
4937                   defaultval=yes
4938               else
4939                   defaultval=no
4940               fi
4941           fi
4942
4943           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
4944 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
4945           # Check whether --enable-extended_rtti was given.
4946 if test "${enable_extended_rtti+set}" = set; then
4947   enableval=$enable_extended_rtti;
4948                           if test "$enableval" = yes; then
4949                             wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
4950                           else
4951                             wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
4952                           fi
4953
4954 else
4955
4956                           wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
4957
4958 fi
4959
4960
4961           eval "$wx_cv_use_extended_rtti"
4962
4963           if test x"$enablestring" = xdisable; then
4964             if test $wxUSE_EXTENDED_RTTI = no; then
4965               result=yes
4966             else
4967               result=no
4968             fi
4969           else
4970             result=$wxUSE_EXTENDED_RTTI
4971           fi
4972
4973           { echo "$as_me:$LINENO: result: $result" >&5
4974 echo "${ECHO_T}$result" >&6; }
4975
4976 if test "$USE_OS2" = 1; then
4977     DEFAULT_wxUSE_OMF=no
4978
4979           enablestring=
4980           defaultval=
4981           if test -z "$defaultval"; then
4982               if test x"$enablestring" = xdisable; then
4983                   defaultval=yes
4984               else
4985                   defaultval=no
4986               fi
4987           fi
4988
4989           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
4990 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
4991           # Check whether --enable-omf was given.
4992 if test "${enable_omf+set}" = set; then
4993   enableval=$enable_omf;
4994                           if test "$enableval" = yes; then
4995                             wx_cv_use_omf='wxUSE_OMF=yes'
4996                           else
4997                             wx_cv_use_omf='wxUSE_OMF=no'
4998                           fi
4999
5000 else
5001
5002                           wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
5003
5004 fi
5005
5006
5007           eval "$wx_cv_use_omf"
5008
5009           if test x"$enablestring" = xdisable; then
5010             if test $wxUSE_OMF = no; then
5011               result=yes
5012             else
5013               result=no
5014             fi
5015           else
5016             result=$wxUSE_OMF
5017           fi
5018
5019           { echo "$as_me:$LINENO: result: $result" >&5
5020 echo "${ECHO_T}$result" >&6; }
5021
5022 fi
5023
5024
5025           enablestring=disable
5026           defaultval=
5027           if test -z "$defaultval"; then
5028               if test x"$enablestring" = xdisable; then
5029                   defaultval=yes
5030               else
5031                   defaultval=no
5032               fi
5033           fi
5034
5035           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
5036 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
5037           # Check whether --enable-optimise was given.
5038 if test "${enable_optimise+set}" = set; then
5039   enableval=$enable_optimise;
5040                           if test "$enableval" = yes; then
5041                             wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
5042                           else
5043                             wx_cv_use_optimise='wxUSE_OPTIMISE=no'
5044                           fi
5045
5046 else
5047
5048                           wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
5049
5050 fi
5051
5052
5053           eval "$wx_cv_use_optimise"
5054
5055           if test x"$enablestring" = xdisable; then
5056             if test $wxUSE_OPTIMISE = no; then
5057               result=yes
5058             else
5059               result=no
5060             fi
5061           else
5062             result=$wxUSE_OPTIMISE
5063           fi
5064
5065           { echo "$as_me:$LINENO: result: $result" >&5
5066 echo "${ECHO_T}$result" >&6; }
5067
5068
5069
5070           enablestring=
5071           defaultval=
5072           if test -z "$defaultval"; then
5073               if test x"$enablestring" = xdisable; then
5074                   defaultval=yes
5075               else
5076                   defaultval=no
5077               fi
5078           fi
5079
5080           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5081 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5082           # Check whether --enable-profile was given.
5083 if test "${enable_profile+set}" = set; then
5084   enableval=$enable_profile;
5085                           if test "$enableval" = yes; then
5086                             wx_cv_use_profile='wxUSE_PROFILE=yes'
5087                           else
5088                             wx_cv_use_profile='wxUSE_PROFILE=no'
5089                           fi
5090
5091 else
5092
5093                           wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5094
5095 fi
5096
5097
5098           eval "$wx_cv_use_profile"
5099
5100           if test x"$enablestring" = xdisable; then
5101             if test $wxUSE_PROFILE = no; then
5102               result=yes
5103             else
5104               result=no
5105             fi
5106           else
5107             result=$wxUSE_PROFILE
5108           fi
5109
5110           { echo "$as_me:$LINENO: result: $result" >&5
5111 echo "${ECHO_T}$result" >&6; }
5112
5113
5114           enablestring=
5115           defaultval=
5116           if test -z "$defaultval"; then
5117               if test x"$enablestring" = xdisable; then
5118                   defaultval=yes
5119               else
5120                   defaultval=no
5121               fi
5122           fi
5123
5124           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5125 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5126           # Check whether --enable-no_rtti was given.
5127 if test "${enable_no_rtti+set}" = set; then
5128   enableval=$enable_no_rtti;
5129                           if test "$enableval" = yes; then
5130                             wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5131                           else
5132                             wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5133                           fi
5134
5135 else
5136
5137                           wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5138
5139 fi
5140
5141
5142           eval "$wx_cv_use_no_rtti"
5143
5144           if test x"$enablestring" = xdisable; then
5145             if test $wxUSE_NO_RTTI = no; then
5146               result=yes
5147             else
5148               result=no
5149             fi
5150           else
5151             result=$wxUSE_NO_RTTI
5152           fi
5153
5154           { echo "$as_me:$LINENO: result: $result" >&5
5155 echo "${ECHO_T}$result" >&6; }
5156
5157
5158           enablestring=
5159           defaultval=
5160           if test -z "$defaultval"; then
5161               if test x"$enablestring" = xdisable; then
5162                   defaultval=yes
5163               else
5164                   defaultval=no
5165               fi
5166           fi
5167
5168           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5169 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5170           # Check whether --enable-no_exceptions was given.
5171 if test "${enable_no_exceptions+set}" = set; then
5172   enableval=$enable_no_exceptions;
5173                           if test "$enableval" = yes; then
5174                             wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5175                           else
5176                             wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5177                           fi
5178
5179 else
5180
5181                           wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5182
5183 fi
5184
5185
5186           eval "$wx_cv_use_no_exceptions"
5187
5188           if test x"$enablestring" = xdisable; then
5189             if test $wxUSE_NO_EXCEPTIONS = no; then
5190               result=yes
5191             else
5192               result=no
5193             fi
5194           else
5195             result=$wxUSE_NO_EXCEPTIONS
5196           fi
5197
5198           { echo "$as_me:$LINENO: result: $result" >&5
5199 echo "${ECHO_T}$result" >&6; }
5200
5201
5202           enablestring=
5203           defaultval=
5204           if test -z "$defaultval"; then
5205               if test x"$enablestring" = xdisable; then
5206                   defaultval=yes
5207               else
5208                   defaultval=no
5209               fi
5210           fi
5211
5212           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5213 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5214           # Check whether --enable-permissive was given.
5215 if test "${enable_permissive+set}" = set; then
5216   enableval=$enable_permissive;
5217                           if test "$enableval" = yes; then
5218                             wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5219                           else
5220                             wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5221                           fi
5222
5223 else
5224
5225                           wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5226
5227 fi
5228
5229
5230           eval "$wx_cv_use_permissive"
5231
5232           if test x"$enablestring" = xdisable; then
5233             if test $wxUSE_PERMISSIVE = no; then
5234               result=yes
5235             else
5236               result=no
5237             fi
5238           else
5239             result=$wxUSE_PERMISSIVE
5240           fi
5241
5242           { echo "$as_me:$LINENO: result: $result" >&5
5243 echo "${ECHO_T}$result" >&6; }
5244
5245
5246           enablestring=
5247           defaultval=
5248           if test -z "$defaultval"; then
5249               if test x"$enablestring" = xdisable; then
5250                   defaultval=yes
5251               else
5252                   defaultval=no
5253               fi
5254           fi
5255
5256           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5257 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5258           # Check whether --enable-no_deps was given.
5259 if test "${enable_no_deps+set}" = set; then
5260   enableval=$enable_no_deps;
5261                           if test "$enableval" = yes; then
5262                             wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5263                           else
5264                             wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5265                           fi
5266
5267 else
5268
5269                           wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5270
5271 fi
5272
5273
5274           eval "$wx_cv_use_no_deps"
5275
5276           if test x"$enablestring" = xdisable; then
5277             if test $wxUSE_NO_DEPS = no; then
5278               result=yes
5279             else
5280               result=no
5281             fi
5282           else
5283             result=$wxUSE_NO_DEPS
5284           fi
5285
5286           { echo "$as_me:$LINENO: result: $result" >&5
5287 echo "${ECHO_T}$result" >&6; }
5288
5289
5290           enablestring=disable
5291           defaultval=
5292           if test -z "$defaultval"; then
5293               if test x"$enablestring" = xdisable; then
5294                   defaultval=yes
5295               else
5296                   defaultval=no
5297               fi
5298           fi
5299
5300           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5301 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5302           # Check whether --enable-vararg_macros was given.
5303 if test "${enable_vararg_macros+set}" = set; then
5304   enableval=$enable_vararg_macros;
5305                           if test "$enableval" = yes; then
5306                             wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5307                           else
5308                             wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5309                           fi
5310
5311 else
5312
5313                           wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5314
5315 fi
5316
5317
5318           eval "$wx_cv_use_vararg_macros"
5319
5320           if test x"$enablestring" = xdisable; then
5321             if test $wxUSE_VARARG_MACROS = no; then
5322               result=yes
5323             else
5324               result=no
5325             fi
5326           else
5327             result=$wxUSE_VARARG_MACROS
5328           fi
5329
5330           { echo "$as_me:$LINENO: result: $result" >&5
5331 echo "${ECHO_T}$result" >&6; }
5332
5333
5334           enablestring=
5335           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5336 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5337           # Check whether --enable-universal_binary was given.
5338 if test "${enable_universal_binary+set}" = set; then
5339   enableval=$enable_universal_binary;
5340                           wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5341
5342 else
5343
5344                           wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5345
5346 fi
5347
5348
5349           eval "$wx_cv_use_universal_binary"
5350
5351           { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5352 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5353
5354
5355
5356           enablestring=
5357           defaultval=
5358           if test -z "$defaultval"; then
5359               if test x"$enablestring" = xdisable; then
5360                   defaultval=yes
5361               else
5362                   defaultval=no
5363               fi
5364           fi
5365
5366           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5367 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5368           # Check whether --enable-compat26 was given.
5369 if test "${enable_compat26+set}" = set; then
5370   enableval=$enable_compat26;
5371                           if test "$enableval" = yes; then
5372                             wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5373                           else
5374                             wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5375                           fi
5376
5377 else
5378
5379                           wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5380
5381 fi
5382
5383
5384           eval "$wx_cv_use_compat26"
5385
5386           if test x"$enablestring" = xdisable; then
5387             if test $WXWIN_COMPATIBILITY_2_6 = no; then
5388               result=yes
5389             else
5390               result=no
5391             fi
5392           else
5393             result=$WXWIN_COMPATIBILITY_2_6
5394           fi
5395
5396           { echo "$as_me:$LINENO: result: $result" >&5
5397 echo "${ECHO_T}$result" >&6; }
5398
5399
5400           enablestring=disable
5401           defaultval=
5402           if test -z "$defaultval"; then
5403               if test x"$enablestring" = xdisable; then
5404                   defaultval=yes
5405               else
5406                   defaultval=no
5407               fi
5408           fi
5409
5410           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5411 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5412           # Check whether --enable-compat28 was given.
5413 if test "${enable_compat28+set}" = set; then
5414   enableval=$enable_compat28;
5415                           if test "$enableval" = yes; then
5416                             wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5417                           else
5418                             wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5419                           fi
5420
5421 else
5422
5423                           wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5424
5425 fi
5426
5427
5428           eval "$wx_cv_use_compat28"
5429
5430           if test x"$enablestring" = xdisable; then
5431             if test $WXWIN_COMPATIBILITY_2_8 = no; then
5432               result=yes
5433             else
5434               result=no
5435             fi
5436           else
5437             result=$WXWIN_COMPATIBILITY_2_8
5438           fi
5439
5440           { echo "$as_me:$LINENO: result: $result" >&5
5441 echo "${ECHO_T}$result" >&6; }
5442
5443
5444
5445           enablestring=disable
5446           defaultval=
5447           if test -z "$defaultval"; then
5448               if test x"$enablestring" = xdisable; then
5449                   defaultval=yes
5450               else
5451                   defaultval=no
5452               fi
5453           fi
5454
5455           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5456 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5457           # Check whether --enable-rpath was given.
5458 if test "${enable_rpath+set}" = set; then
5459   enableval=$enable_rpath;
5460                           if test "$enableval" = yes; then
5461                             wx_cv_use_rpath='wxUSE_RPATH=yes'
5462                           else
5463                             wx_cv_use_rpath='wxUSE_RPATH=no'
5464                           fi
5465
5466 else
5467
5468                           wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5469
5470 fi
5471
5472
5473           eval "$wx_cv_use_rpath"
5474
5475           if test x"$enablestring" = xdisable; then
5476             if test $wxUSE_RPATH = no; then
5477               result=yes
5478             else
5479               result=no
5480             fi
5481           else
5482             result=$wxUSE_RPATH
5483           fi
5484
5485           { echo "$as_me:$LINENO: result: $result" >&5
5486 echo "${ECHO_T}$result" >&6; }
5487
5488
5489
5490           enablestring=
5491           defaultval=
5492           if test -z "$defaultval"; then
5493               if test x"$enablestring" = xdisable; then
5494                   defaultval=yes
5495               else
5496                   defaultval=no
5497               fi
5498           fi
5499
5500           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5501 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5502           # Check whether --enable-objc_uniquifying was given.
5503 if test "${enable_objc_uniquifying+set}" = set; then
5504   enableval=$enable_objc_uniquifying;
5505                           if test "$enableval" = yes; then
5506                             wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
5507                           else
5508                             wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
5509                           fi
5510
5511 else
5512
5513                           wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5514
5515 fi
5516
5517
5518           eval "$wx_cv_use_objc_uniquifying"
5519
5520           if test x"$enablestring" = xdisable; then
5521             if test $wxUSE_OBJC_UNIQUIFYING = no; then
5522               result=yes
5523             else
5524               result=no
5525             fi
5526           else
5527             result=$wxUSE_OBJC_UNIQUIFYING
5528           fi
5529
5530           { echo "$as_me:$LINENO: result: $result" >&5
5531 echo "${ECHO_T}$result" >&6; }
5532
5533
5534
5535           enablestring=disable
5536           defaultval=
5537           if test -z "$defaultval"; then
5538               if test x"$enablestring" = xdisable; then
5539                   defaultval=yes
5540               else
5541                   defaultval=no
5542               fi
5543           fi
5544
5545           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
5546 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
5547           # Check whether --enable-visibility was given.
5548 if test "${enable_visibility+set}" = set; then
5549   enableval=$enable_visibility;
5550                           if test "$enableval" = yes; then
5551                             wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
5552                           else
5553                             wx_cv_use_visibility='wxUSE_VISIBILITY=no'
5554                           fi
5555
5556 else
5557
5558                           wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5559
5560 fi
5561
5562
5563           eval "$wx_cv_use_visibility"
5564
5565           if test x"$enablestring" = xdisable; then
5566             if test $wxUSE_VISIBILITY = no; then
5567               result=yes
5568             else
5569               result=no
5570             fi
5571           else
5572             result=$wxUSE_VISIBILITY
5573           fi
5574
5575           { echo "$as_me:$LINENO: result: $result" >&5
5576 echo "${ECHO_T}$result" >&6; }
5577
5578
5579           enablestring=disable
5580           defaultval=
5581           if test -z "$defaultval"; then
5582               if test x"$enablestring" = xdisable; then
5583                   defaultval=yes
5584               else
5585                   defaultval=no
5586               fi
5587           fi
5588
5589           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tls" >&5
5590 echo $ECHO_N "checking for --${enablestring:-enable}-tls... $ECHO_C" >&6; }
5591           # Check whether --enable-tls was given.
5592 if test "${enable_tls+set}" = set; then
5593   enableval=$enable_tls;
5594                           if test "$enableval" = yes; then
5595                             wx_cv_use_tls='wxUSE_COMPILER_TLS=yes'
5596                           else
5597                             wx_cv_use_tls='wxUSE_COMPILER_TLS=no'
5598                           fi
5599
5600 else
5601
5602                           wx_cv_use_tls='wxUSE_COMPILER_TLS=${'DEFAULT_wxUSE_COMPILER_TLS":-$defaultval}"
5603
5604 fi
5605
5606
5607           eval "$wx_cv_use_tls"
5608
5609           if test x"$enablestring" = xdisable; then
5610             if test $wxUSE_COMPILER_TLS = no; then
5611               result=yes
5612             else
5613               result=no
5614             fi
5615           else
5616             result=$wxUSE_COMPILER_TLS
5617           fi
5618
5619           { echo "$as_me:$LINENO: result: $result" >&5
5620 echo "${ECHO_T}$result" >&6; }
5621
5622
5623
5624
5625           enablestring=
5626           defaultval=$wxUSE_ALL_FEATURES
5627           if test -z "$defaultval"; then
5628               if test x"$enablestring" = xdisable; then
5629                   defaultval=yes
5630               else
5631                   defaultval=no
5632               fi
5633           fi
5634
5635           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5636 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5637           # Check whether --enable-intl was given.
5638 if test "${enable_intl+set}" = set; then
5639   enableval=$enable_intl;
5640                           if test "$enableval" = yes; then
5641                             wx_cv_use_intl='wxUSE_INTL=yes'
5642                           else
5643                             wx_cv_use_intl='wxUSE_INTL=no'
5644                           fi
5645
5646 else
5647
5648                           wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5649
5650 fi
5651
5652
5653           eval "$wx_cv_use_intl"
5654
5655           if test x"$enablestring" = xdisable; then
5656             if test $wxUSE_INTL = no; then
5657               result=yes
5658             else
5659               result=no
5660             fi
5661           else
5662             result=$wxUSE_INTL
5663           fi
5664
5665           { echo "$as_me:$LINENO: result: $result" >&5
5666 echo "${ECHO_T}$result" >&6; }
5667
5668
5669           enablestring=
5670           defaultval=$wxUSE_ALL_FEATURES
5671           if test -z "$defaultval"; then
5672               if test x"$enablestring" = xdisable; then
5673                   defaultval=yes
5674               else
5675                   defaultval=no
5676               fi
5677           fi
5678
5679           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xlocale" >&5
5680 echo $ECHO_N "checking for --${enablestring:-enable}-xlocale... $ECHO_C" >&6; }
5681           # Check whether --enable-xlocale was given.
5682 if test "${enable_xlocale+set}" = set; then
5683   enableval=$enable_xlocale;
5684                           if test "$enableval" = yes; then
5685                             wx_cv_use_xlocale='wxUSE_XLOCALE=yes'
5686                           else
5687                             wx_cv_use_xlocale='wxUSE_XLOCALE=no'
5688                           fi
5689
5690 else
5691
5692                           wx_cv_use_xlocale='wxUSE_XLOCALE=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
5693
5694 fi
5695
5696
5697           eval "$wx_cv_use_xlocale"
5698
5699           if test x"$enablestring" = xdisable; then
5700             if test $wxUSE_XLOCALE = no; then
5701               result=yes
5702             else
5703               result=no
5704             fi
5705           else
5706             result=$wxUSE_XLOCALE
5707           fi
5708
5709           { echo "$as_me:$LINENO: result: $result" >&5
5710 echo "${ECHO_T}$result" >&6; }
5711
5712
5713           enablestring=
5714           defaultval=$wxUSE_ALL_FEATURES
5715           if test -z "$defaultval"; then
5716               if test x"$enablestring" = xdisable; then
5717                   defaultval=yes
5718               else
5719                   defaultval=no
5720               fi
5721           fi
5722
5723           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5724 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5725           # Check whether --enable-config was given.
5726 if test "${enable_config+set}" = set; then
5727   enableval=$enable_config;
5728                           if test "$enableval" = yes; then
5729                             wx_cv_use_config='wxUSE_CONFIG=yes'
5730                           else
5731                             wx_cv_use_config='wxUSE_CONFIG=no'
5732                           fi
5733
5734 else
5735
5736                           wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5737
5738 fi
5739
5740
5741           eval "$wx_cv_use_config"
5742
5743           if test x"$enablestring" = xdisable; then
5744             if test $wxUSE_CONFIG = no; then
5745               result=yes
5746             else
5747               result=no
5748             fi
5749           else
5750             result=$wxUSE_CONFIG
5751           fi
5752
5753           { echo "$as_me:$LINENO: result: $result" >&5
5754 echo "${ECHO_T}$result" >&6; }
5755
5756
5757
5758           enablestring=
5759           defaultval=$wxUSE_ALL_FEATURES
5760           if test -z "$defaultval"; then
5761               if test x"$enablestring" = xdisable; then
5762                   defaultval=yes
5763               else
5764                   defaultval=no
5765               fi
5766           fi
5767
5768           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5769 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5770           # Check whether --enable-protocols was given.
5771 if test "${enable_protocols+set}" = set; then
5772   enableval=$enable_protocols;
5773                           if test "$enableval" = yes; then
5774                             wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
5775                           else
5776                             wx_cv_use_protocols='wxUSE_PROTOCOL=no'
5777                           fi
5778
5779 else
5780
5781                           wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
5782
5783 fi
5784
5785
5786           eval "$wx_cv_use_protocols"
5787
5788           if test x"$enablestring" = xdisable; then
5789             if test $wxUSE_PROTOCOL = no; then
5790               result=yes
5791             else
5792               result=no
5793             fi
5794           else
5795             result=$wxUSE_PROTOCOL
5796           fi
5797
5798           { echo "$as_me:$LINENO: result: $result" >&5
5799 echo "${ECHO_T}$result" >&6; }
5800
5801
5802           enablestring=
5803           defaultval=$wxUSE_ALL_FEATURES
5804           if test -z "$defaultval"; then
5805               if test x"$enablestring" = xdisable; then
5806                   defaultval=yes
5807               else
5808                   defaultval=no
5809               fi
5810           fi
5811
5812           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
5813 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
5814           # Check whether --enable-ftp was given.
5815 if test "${enable_ftp+set}" = set; then
5816   enableval=$enable_ftp;
5817                           if test "$enableval" = yes; then
5818                             wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
5819                           else
5820                             wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
5821                           fi
5822
5823 else
5824
5825                           wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
5826
5827 fi
5828
5829
5830           eval "$wx_cv_use_ftp"
5831
5832           if test x"$enablestring" = xdisable; then
5833             if test $wxUSE_PROTOCOL_FTP = no; then
5834               result=yes
5835             else
5836               result=no
5837             fi
5838           else
5839             result=$wxUSE_PROTOCOL_FTP
5840           fi
5841
5842           { echo "$as_me:$LINENO: result: $result" >&5
5843 echo "${ECHO_T}$result" >&6; }
5844
5845
5846           enablestring=
5847           defaultval=$wxUSE_ALL_FEATURES
5848           if test -z "$defaultval"; then
5849               if test x"$enablestring" = xdisable; then
5850                   defaultval=yes
5851               else
5852                   defaultval=no
5853               fi
5854           fi
5855
5856           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5857 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
5858           # Check whether --enable-http was given.
5859 if test "${enable_http+set}" = set; then
5860   enableval=$enable_http;
5861                           if test "$enableval" = yes; then
5862                             wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
5863                           else
5864                             wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
5865                           fi
5866
5867 else
5868
5869                           wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
5870
5871 fi
5872
5873
5874           eval "$wx_cv_use_http"
5875
5876           if test x"$enablestring" = xdisable; then
5877             if test $wxUSE_PROTOCOL_HTTP = no; then
5878               result=yes
5879             else
5880               result=no
5881             fi
5882           else
5883             result=$wxUSE_PROTOCOL_HTTP
5884           fi
5885
5886           { echo "$as_me:$LINENO: result: $result" >&5
5887 echo "${ECHO_T}$result" >&6; }
5888
5889
5890           enablestring=
5891           defaultval=$wxUSE_ALL_FEATURES
5892           if test -z "$defaultval"; then
5893               if test x"$enablestring" = xdisable; then
5894                   defaultval=yes
5895               else
5896                   defaultval=no
5897               fi
5898           fi
5899
5900           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
5901 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
5902           # Check whether --enable-fileproto was given.
5903 if test "${enable_fileproto+set}" = set; then
5904   enableval=$enable_fileproto;
5905                           if test "$enableval" = yes; then
5906                             wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
5907                           else
5908                             wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
5909                           fi
5910
5911 else
5912
5913                           wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
5914
5915 fi
5916
5917
5918           eval "$wx_cv_use_fileproto"
5919
5920           if test x"$enablestring" = xdisable; then
5921             if test $wxUSE_PROTOCOL_FILE = no; then
5922               result=yes
5923             else
5924               result=no
5925             fi
5926           else
5927             result=$wxUSE_PROTOCOL_FILE
5928           fi
5929
5930           { echo "$as_me:$LINENO: result: $result" >&5
5931 echo "${ECHO_T}$result" >&6; }
5932
5933
5934           enablestring=
5935           defaultval=$wxUSE_ALL_FEATURES
5936           if test -z "$defaultval"; then
5937               if test x"$enablestring" = xdisable; then
5938                   defaultval=yes
5939               else
5940                   defaultval=no
5941               fi
5942           fi
5943
5944           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
5945 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
5946           # Check whether --enable-sockets was given.
5947 if test "${enable_sockets+set}" = set; then
5948   enableval=$enable_sockets;
5949                           if test "$enableval" = yes; then
5950                             wx_cv_use_sockets='wxUSE_SOCKETS=yes'
5951                           else
5952                             wx_cv_use_sockets='wxUSE_SOCKETS=no'
5953                           fi
5954
5955 else
5956
5957                           wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
5958
5959 fi
5960
5961
5962           eval "$wx_cv_use_sockets"
5963
5964           if test x"$enablestring" = xdisable; then
5965             if test $wxUSE_SOCKETS = no; then
5966               result=yes
5967             else
5968               result=no
5969             fi
5970           else
5971             result=$wxUSE_SOCKETS
5972           fi
5973
5974           { echo "$as_me:$LINENO: result: $result" >&5
5975 echo "${ECHO_T}$result" >&6; }
5976
5977
5978           enablestring=
5979           defaultval=$wxUSE_ALL_FEATURES
5980           if test -z "$defaultval"; then
5981               if test x"$enablestring" = xdisable; then
5982                   defaultval=yes
5983               else
5984                   defaultval=no
5985               fi
5986           fi
5987
5988           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipv6" >&5
5989 echo $ECHO_N "checking for --${enablestring:-enable}-ipv6... $ECHO_C" >&6; }
5990           # Check whether --enable-ipv6 was given.
5991 if test "${enable_ipv6+set}" = set; then
5992   enableval=$enable_ipv6;
5993                           if test "$enableval" = yes; then
5994                             wx_cv_use_ipv6='wxUSE_IPV6=yes'
5995                           else
5996                             wx_cv_use_ipv6='wxUSE_IPV6=no'
5997                           fi
5998
5999 else
6000
6001                           wx_cv_use_ipv6='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
6002
6003 fi
6004
6005
6006           eval "$wx_cv_use_ipv6"
6007
6008           if test x"$enablestring" = xdisable; then
6009             if test $wxUSE_IPV6 = no; then
6010               result=yes
6011             else
6012               result=no
6013             fi
6014           else
6015             result=$wxUSE_IPV6
6016           fi
6017
6018           { echo "$as_me:$LINENO: result: $result" >&5
6019 echo "${ECHO_T}$result" >&6; }
6020
6021
6022           enablestring=
6023           defaultval=$wxUSE_ALL_FEATURES
6024           if test -z "$defaultval"; then
6025               if test x"$enablestring" = xdisable; then
6026                   defaultval=yes
6027               else
6028                   defaultval=no
6029               fi
6030           fi
6031
6032           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
6033 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
6034           # Check whether --enable-ole was given.
6035 if test "${enable_ole+set}" = set; then
6036   enableval=$enable_ole;
6037                           if test "$enableval" = yes; then
6038                             wx_cv_use_ole='wxUSE_OLE=yes'
6039                           else
6040                             wx_cv_use_ole='wxUSE_OLE=no'
6041                           fi
6042
6043 else
6044
6045                           wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6046
6047 fi
6048
6049
6050           eval "$wx_cv_use_ole"
6051
6052           if test x"$enablestring" = xdisable; then
6053             if test $wxUSE_OLE = no; then
6054               result=yes
6055             else
6056               result=no
6057             fi
6058           else
6059             result=$wxUSE_OLE
6060           fi
6061
6062           { echo "$as_me:$LINENO: result: $result" >&5
6063 echo "${ECHO_T}$result" >&6; }
6064
6065
6066           enablestring=
6067           defaultval=$wxUSE_ALL_FEATURES
6068           if test -z "$defaultval"; then
6069               if test x"$enablestring" = xdisable; then
6070                   defaultval=yes
6071               else
6072                   defaultval=no
6073               fi
6074           fi
6075
6076           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
6077 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
6078           # Check whether --enable-dataobj was given.
6079 if test "${enable_dataobj+set}" = set; then
6080   enableval=$enable_dataobj;
6081                           if test "$enableval" = yes; then
6082                             wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6083                           else
6084                             wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6085                           fi
6086
6087 else
6088
6089                           wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6090
6091 fi
6092
6093
6094           eval "$wx_cv_use_dataobj"
6095
6096           if test x"$enablestring" = xdisable; then
6097             if test $wxUSE_DATAOBJ = no; then
6098               result=yes
6099             else
6100               result=no
6101             fi
6102           else
6103             result=$wxUSE_DATAOBJ
6104           fi
6105
6106           { echo "$as_me:$LINENO: result: $result" >&5
6107 echo "${ECHO_T}$result" >&6; }
6108
6109
6110
6111           enablestring=
6112           defaultval=$wxUSE_ALL_FEATURES
6113           if test -z "$defaultval"; then
6114               if test x"$enablestring" = xdisable; then
6115                   defaultval=yes
6116               else
6117                   defaultval=no
6118               fi
6119           fi
6120
6121           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6122 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6123           # Check whether --enable-ipc was given.
6124 if test "${enable_ipc+set}" = set; then
6125   enableval=$enable_ipc;
6126                           if test "$enableval" = yes; then
6127                             wx_cv_use_ipc='wxUSE_IPC=yes'
6128                           else
6129                             wx_cv_use_ipc='wxUSE_IPC=no'
6130                           fi
6131
6132 else
6133
6134                           wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6135
6136 fi
6137
6138
6139           eval "$wx_cv_use_ipc"
6140
6141           if test x"$enablestring" = xdisable; then
6142             if test $wxUSE_IPC = no; then
6143               result=yes
6144             else
6145               result=no
6146             fi
6147           else
6148             result=$wxUSE_IPC
6149           fi
6150
6151           { echo "$as_me:$LINENO: result: $result" >&5
6152 echo "${ECHO_T}$result" >&6; }
6153
6154
6155
6156           enablestring=
6157           defaultval=$wxUSE_ALL_FEATURES
6158           if test -z "$defaultval"; then
6159               if test x"$enablestring" = xdisable; then
6160                   defaultval=yes
6161               else
6162                   defaultval=no
6163               fi
6164           fi
6165
6166           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6167 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6168           # Check whether --enable-baseevtloop was given.
6169 if test "${enable_baseevtloop+set}" = set; then
6170   enableval=$enable_baseevtloop;
6171                           if test "$enableval" = yes; then
6172                             wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
6173                           else
6174                             wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
6175                           fi
6176
6177 else
6178
6179                           wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6180
6181 fi
6182
6183
6184           eval "$wx_cv_use_baseevtloop"
6185
6186           if test x"$enablestring" = xdisable; then
6187             if test $wxUSE_CONSOLE_EVENTLOOP = no; then
6188               result=yes
6189             else
6190               result=no
6191             fi
6192           else
6193             result=$wxUSE_CONSOLE_EVENTLOOP
6194           fi
6195
6196           { echo "$as_me:$LINENO: result: $result" >&5
6197 echo "${ECHO_T}$result" >&6; }
6198
6199
6200           enablestring=
6201           defaultval=$wxUSE_ALL_FEATURES
6202           if test -z "$defaultval"; then
6203               if test x"$enablestring" = xdisable; then
6204                   defaultval=yes
6205               else
6206                   defaultval=no
6207               fi
6208           fi
6209
6210           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epollloop" >&5
6211 echo $ECHO_N "checking for --${enablestring:-enable}-epollloop... $ECHO_C" >&6; }
6212           # Check whether --enable-epollloop was given.
6213 if test "${enable_epollloop+set}" = set; then
6214   enableval=$enable_epollloop;
6215                           if test "$enableval" = yes; then
6216                             wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
6217                           else
6218                             wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
6219                           fi
6220
6221 else
6222
6223                           wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6224
6225 fi
6226
6227
6228           eval "$wx_cv_use_epollloop"
6229
6230           if test x"$enablestring" = xdisable; then
6231             if test $wxUSE_EPOLL_DISPATCHER = no; then
6232               result=yes
6233             else
6234               result=no
6235             fi
6236           else
6237             result=$wxUSE_EPOLL_DISPATCHER
6238           fi
6239
6240           { echo "$as_me:$LINENO: result: $result" >&5
6241 echo "${ECHO_T}$result" >&6; }
6242
6243
6244           enablestring=
6245           defaultval=$wxUSE_ALL_FEATURES
6246           if test -z "$defaultval"; then
6247               if test x"$enablestring" = xdisable; then
6248                   defaultval=yes
6249               else
6250                   defaultval=no
6251               fi
6252           fi
6253
6254           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6255 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6256           # Check whether --enable-selectloop was given.
6257 if test "${enable_selectloop+set}" = set; then
6258   enableval=$enable_selectloop;
6259                           if test "$enableval" = yes; then
6260                             wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
6261                           else
6262                             wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
6263                           fi
6264
6265 else
6266
6267                           wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6268
6269 fi
6270
6271
6272           eval "$wx_cv_use_selectloop"
6273
6274           if test x"$enablestring" = xdisable; then
6275             if test $wxUSE_SELECT_DISPATCHER = no; then
6276               result=yes
6277             else
6278               result=no
6279             fi
6280           else
6281             result=$wxUSE_SELECT_DISPATCHER
6282           fi
6283
6284           { echo "$as_me:$LINENO: result: $result" >&5
6285 echo "${ECHO_T}$result" >&6; }
6286
6287
6288
6289           enablestring=
6290           defaultval=$wxUSE_ALL_FEATURES
6291           if test -z "$defaultval"; then
6292               if test x"$enablestring" = xdisable; then
6293                   defaultval=yes
6294               else
6295                   defaultval=no
6296               fi
6297           fi
6298
6299           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-any" >&5
6300 echo $ECHO_N "checking for --${enablestring:-enable}-any... $ECHO_C" >&6; }
6301           # Check whether --enable-any was given.
6302 if test "${enable_any+set}" = set; then
6303   enableval=$enable_any;
6304                           if test "$enableval" = yes; then
6305                             wx_cv_use_any='wxUSE_ANY=yes'
6306                           else
6307                             wx_cv_use_any='wxUSE_ANY=no'
6308                           fi
6309
6310 else
6311
6312                           wx_cv_use_any='wxUSE_ANY=${'DEFAULT_wxUSE_ANY":-$defaultval}"
6313
6314 fi
6315
6316
6317           eval "$wx_cv_use_any"
6318
6319           if test x"$enablestring" = xdisable; then
6320             if test $wxUSE_ANY = no; then
6321               result=yes
6322             else
6323               result=no
6324             fi
6325           else
6326             result=$wxUSE_ANY
6327           fi
6328
6329           { echo "$as_me:$LINENO: result: $result" >&5
6330 echo "${ECHO_T}$result" >&6; }
6331
6332
6333           enablestring=
6334           defaultval=$wxUSE_ALL_FEATURES
6335           if test -z "$defaultval"; then
6336               if test x"$enablestring" = xdisable; then
6337                   defaultval=yes
6338               else
6339                   defaultval=no
6340               fi
6341           fi
6342
6343           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6344 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6345           # Check whether --enable-apple_ieee was given.
6346 if test "${enable_apple_ieee+set}" = set; then
6347   enableval=$enable_apple_ieee;
6348                           if test "$enableval" = yes; then
6349                             wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6350                           else
6351                             wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6352                           fi
6353
6354 else
6355
6356                           wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6357
6358 fi
6359
6360
6361           eval "$wx_cv_use_apple_ieee"
6362
6363           if test x"$enablestring" = xdisable; then
6364             if test $wxUSE_APPLE_IEEE = no; then
6365               result=yes
6366             else
6367               result=no
6368             fi
6369           else
6370             result=$wxUSE_APPLE_IEEE
6371           fi
6372
6373           { echo "$as_me:$LINENO: result: $result" >&5
6374 echo "${ECHO_T}$result" >&6; }
6375
6376
6377           enablestring=
6378           defaultval=$wxUSE_ALL_FEATURES
6379           if test -z "$defaultval"; then
6380               if test x"$enablestring" = xdisable; then
6381                   defaultval=yes
6382               else
6383                   defaultval=no
6384               fi
6385           fi
6386
6387           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6388 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6389           # Check whether --enable-arcstream was given.
6390 if test "${enable_arcstream+set}" = set; then
6391   enableval=$enable_arcstream;
6392                           if test "$enableval" = yes; then
6393                             wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6394                           else
6395                             wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6396                           fi
6397
6398 else
6399
6400                           wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6401
6402 fi
6403
6404
6405           eval "$wx_cv_use_arcstream"
6406
6407           if test x"$enablestring" = xdisable; then
6408             if test $wxUSE_ARCHIVE_STREAMS = no; then
6409               result=yes
6410             else
6411               result=no
6412             fi
6413           else
6414             result=$wxUSE_ARCHIVE_STREAMS
6415           fi
6416
6417           { echo "$as_me:$LINENO: result: $result" >&5
6418 echo "${ECHO_T}$result" >&6; }
6419
6420
6421           enablestring=
6422           defaultval=$wxUSE_ALL_FEATURES
6423           if test -z "$defaultval"; then
6424               if test x"$enablestring" = xdisable; then
6425                   defaultval=yes
6426               else
6427                   defaultval=no
6428               fi
6429           fi
6430
6431           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6432 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6433           # Check whether --enable-base64 was given.
6434 if test "${enable_base64+set}" = set; then
6435   enableval=$enable_base64;
6436                           if test "$enableval" = yes; then
6437                             wx_cv_use_base64='wxUSE_BASE64=yes'
6438                           else
6439                             wx_cv_use_base64='wxUSE_BASE64=no'
6440                           fi
6441
6442 else
6443
6444                           wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6445
6446 fi
6447
6448
6449           eval "$wx_cv_use_base64"
6450
6451           if test x"$enablestring" = xdisable; then
6452             if test $wxUSE_BASE64 = no; then
6453               result=yes
6454             else
6455               result=no
6456             fi
6457           else
6458             result=$wxUSE_BASE64
6459           fi
6460
6461           { echo "$as_me:$LINENO: result: $result" >&5
6462 echo "${ECHO_T}$result" >&6; }
6463
6464
6465           enablestring=
6466           defaultval=$wxUSE_ALL_FEATURES
6467           if test -z "$defaultval"; then
6468               if test x"$enablestring" = xdisable; then
6469                   defaultval=yes
6470               else
6471                   defaultval=no
6472               fi
6473           fi
6474
6475           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
6476 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
6477           # Check whether --enable-backtrace was given.
6478 if test "${enable_backtrace+set}" = set; then
6479   enableval=$enable_backtrace;
6480                           if test "$enableval" = yes; then
6481                             wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
6482                           else
6483                             wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
6484                           fi
6485
6486 else
6487
6488                           wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6489
6490 fi
6491
6492
6493           eval "$wx_cv_use_backtrace"
6494
6495           if test x"$enablestring" = xdisable; then
6496             if test $wxUSE_STACKWALKER = no; then
6497               result=yes
6498             else
6499               result=no
6500             fi
6501           else
6502             result=$wxUSE_STACKWALKER
6503           fi
6504
6505           { echo "$as_me:$LINENO: result: $result" >&5
6506 echo "${ECHO_T}$result" >&6; }
6507
6508
6509           enablestring=
6510           defaultval=$wxUSE_ALL_FEATURES
6511           if test -z "$defaultval"; then
6512               if test x"$enablestring" = xdisable; then
6513                   defaultval=yes
6514               else
6515                   defaultval=no
6516               fi
6517           fi
6518
6519           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
6520 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
6521           # Check whether --enable-catch_segvs was given.
6522 if test "${enable_catch_segvs+set}" = set; then
6523   enableval=$enable_catch_segvs;
6524                           if test "$enableval" = yes; then
6525                             wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
6526                           else
6527                             wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
6528                           fi
6529
6530 else
6531
6532                           wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6533
6534 fi
6535
6536
6537           eval "$wx_cv_use_catch_segvs"
6538
6539           if test x"$enablestring" = xdisable; then
6540             if test $wxUSE_ON_FATAL_EXCEPTION = no; then
6541               result=yes
6542             else
6543               result=no
6544             fi
6545           else
6546             result=$wxUSE_ON_FATAL_EXCEPTION
6547           fi
6548
6549           { echo "$as_me:$LINENO: result: $result" >&5
6550 echo "${ECHO_T}$result" >&6; }
6551
6552
6553           enablestring=
6554           defaultval=$wxUSE_ALL_FEATURES
6555           if test -z "$defaultval"; then
6556               if test x"$enablestring" = xdisable; then
6557                   defaultval=yes
6558               else
6559                   defaultval=no
6560               fi
6561           fi
6562
6563           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6564 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6565           # Check whether --enable-cmdline was given.
6566 if test "${enable_cmdline+set}" = set; then
6567   enableval=$enable_cmdline;
6568                           if test "$enableval" = yes; then
6569                             wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
6570                           else
6571                             wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
6572                           fi
6573
6574 else
6575
6576                           wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6577
6578 fi
6579
6580
6581           eval "$wx_cv_use_cmdline"
6582
6583           if test x"$enablestring" = xdisable; then
6584             if test $wxUSE_CMDLINE_PARSER = no; then
6585               result=yes
6586             else
6587               result=no
6588             fi
6589           else
6590             result=$wxUSE_CMDLINE_PARSER
6591           fi
6592
6593           { echo "$as_me:$LINENO: result: $result" >&5
6594 echo "${ECHO_T}$result" >&6; }
6595
6596
6597           enablestring=
6598           defaultval=$wxUSE_ALL_FEATURES
6599           if test -z "$defaultval"; then
6600               if test x"$enablestring" = xdisable; then
6601                   defaultval=yes
6602               else
6603                   defaultval=no
6604               fi
6605           fi
6606
6607           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6608 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6609           # Check whether --enable-datetime was given.
6610 if test "${enable_datetime+set}" = set; then
6611   enableval=$enable_datetime;
6612                           if test "$enableval" = yes; then
6613                             wx_cv_use_datetime='wxUSE_DATETIME=yes'
6614                           else
6615                             wx_cv_use_datetime='wxUSE_DATETIME=no'
6616                           fi
6617
6618 else
6619
6620                           wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6621
6622 fi
6623
6624
6625           eval "$wx_cv_use_datetime"
6626
6627           if test x"$enablestring" = xdisable; then
6628             if test $wxUSE_DATETIME = no; then
6629               result=yes
6630             else
6631               result=no
6632             fi
6633           else
6634             result=$wxUSE_DATETIME
6635           fi
6636
6637           { echo "$as_me:$LINENO: result: $result" >&5
6638 echo "${ECHO_T}$result" >&6; }
6639
6640
6641           enablestring=
6642           defaultval=$wxUSE_ALL_FEATURES
6643           if test -z "$defaultval"; then
6644               if test x"$enablestring" = xdisable; then
6645                   defaultval=yes
6646               else
6647                   defaultval=no
6648               fi
6649           fi
6650
6651           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6652 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6653           # Check whether --enable-debugreport was given.
6654 if test "${enable_debugreport+set}" = set; then
6655   enableval=$enable_debugreport;
6656                           if test "$enableval" = yes; then
6657                             wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6658                           else
6659                             wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6660                           fi
6661
6662 else
6663
6664                           wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6665
6666 fi
6667
6668
6669           eval "$wx_cv_use_debugreport"
6670
6671           if test x"$enablestring" = xdisable; then
6672             if test $wxUSE_DEBUGREPORT = no; then
6673               result=yes
6674             else
6675               result=no
6676             fi
6677           else
6678             result=$wxUSE_DEBUGREPORT
6679           fi
6680
6681           { echo "$as_me:$LINENO: result: $result" >&5
6682 echo "${ECHO_T}$result" >&6; }
6683
6684
6685           enablestring=
6686           defaultval=$wxUSE_ALL_FEATURES
6687           if test -z "$defaultval"; then
6688               if test x"$enablestring" = xdisable; then
6689                   defaultval=yes
6690               else
6691                   defaultval=no
6692               fi
6693           fi
6694
6695           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6696 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6697           # Check whether --enable-dialupman was given.
6698 if test "${enable_dialupman+set}" = set; then
6699   enableval=$enable_dialupman;
6700                           if test "$enableval" = yes; then
6701                             wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
6702                           else
6703                             wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
6704                           fi
6705
6706 else
6707
6708                           wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6709
6710 fi
6711
6712
6713           eval "$wx_cv_use_dialupman"
6714
6715           if test x"$enablestring" = xdisable; then
6716             if test $wxUSE_DIALUP_MANAGER = no; then
6717               result=yes
6718             else
6719               result=no
6720             fi
6721           else
6722             result=$wxUSE_DIALUP_MANAGER
6723           fi
6724
6725           { echo "$as_me:$LINENO: result: $result" >&5
6726 echo "${ECHO_T}$result" >&6; }
6727
6728
6729           enablestring=
6730           defaultval=$wxUSE_ALL_FEATURES
6731           if test -z "$defaultval"; then
6732               if test x"$enablestring" = xdisable; then
6733                   defaultval=yes
6734               else
6735                   defaultval=no
6736               fi
6737           fi
6738
6739           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6740 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6741           # Check whether --enable-dynlib was given.
6742 if test "${enable_dynlib+set}" = set; then
6743   enableval=$enable_dynlib;
6744                           if test "$enableval" = yes; then
6745                             wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6746                           else
6747                             wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6748                           fi
6749
6750 else
6751
6752                           wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
6753
6754 fi
6755
6756
6757           eval "$wx_cv_use_dynlib"
6758
6759           if test x"$enablestring" = xdisable; then
6760             if test $wxUSE_DYNLIB_CLASS = no; then
6761               result=yes
6762             else
6763               result=no
6764             fi
6765           else
6766             result=$wxUSE_DYNLIB_CLASS
6767           fi
6768
6769           { echo "$as_me:$LINENO: result: $result" >&5
6770 echo "${ECHO_T}$result" >&6; }
6771
6772
6773           enablestring=
6774           defaultval=$wxUSE_ALL_FEATURES
6775           if test -z "$defaultval"; then
6776               if test x"$enablestring" = xdisable; then
6777                   defaultval=yes
6778               else
6779                   defaultval=no
6780               fi
6781           fi
6782
6783           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6784 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
6785           # Check whether --enable-dynamicloader was given.
6786 if test "${enable_dynamicloader+set}" = set; then
6787   enableval=$enable_dynamicloader;
6788                           if test "$enableval" = yes; then
6789                             wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
6790                           else
6791                             wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
6792                           fi
6793
6794 else
6795
6796                           wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
6797
6798 fi
6799
6800
6801           eval "$wx_cv_use_dynamicloader"
6802
6803           if test x"$enablestring" = xdisable; then
6804             if test $wxUSE_DYNAMIC_LOADER = no; then
6805               result=yes
6806             else
6807               result=no
6808             fi
6809           else
6810             result=$wxUSE_DYNAMIC_LOADER
6811           fi
6812
6813           { echo "$as_me:$LINENO: result: $result" >&5
6814 echo "${ECHO_T}$result" >&6; }
6815
6816
6817           enablestring=
6818           defaultval=$wxUSE_ALL_FEATURES
6819           if test -z "$defaultval"; then
6820               if test x"$enablestring" = xdisable; then
6821                   defaultval=yes
6822               else
6823                   defaultval=no
6824               fi
6825           fi
6826
6827           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6828 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6829           # Check whether --enable-exceptions was given.
6830 if test "${enable_exceptions+set}" = set; then
6831   enableval=$enable_exceptions;
6832                           if test "$enableval" = yes; then
6833                             wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
6834                           else
6835                             wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
6836                           fi
6837
6838 else
6839
6840                           wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
6841
6842 fi
6843
6844
6845           eval "$wx_cv_use_exceptions"
6846
6847           if test x"$enablestring" = xdisable; then
6848             if test $wxUSE_EXCEPTIONS = no; then
6849               result=yes
6850             else
6851               result=no
6852             fi
6853           else
6854             result=$wxUSE_EXCEPTIONS
6855           fi
6856
6857           { echo "$as_me:$LINENO: result: $result" >&5
6858 echo "${ECHO_T}$result" >&6; }
6859
6860
6861           enablestring=
6862           defaultval=$wxUSE_ALL_FEATURES
6863           if test -z "$defaultval"; then
6864               if test x"$enablestring" = xdisable; then
6865                   defaultval=yes
6866               else
6867                   defaultval=no
6868               fi
6869           fi
6870
6871           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
6872 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
6873           # Check whether --enable-ffile was given.
6874 if test "${enable_ffile+set}" = set; then
6875   enableval=$enable_ffile;
6876                           if test "$enableval" = yes; then
6877                             wx_cv_use_ffile='wxUSE_FFILE=yes'
6878                           else
6879                             wx_cv_use_ffile='wxUSE_FFILE=no'
6880                           fi
6881
6882 else
6883
6884                           wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
6885
6886 fi
6887
6888
6889           eval "$wx_cv_use_ffile"
6890
6891           if test x"$enablestring" = xdisable; then
6892             if test $wxUSE_FFILE = no; then
6893               result=yes
6894             else
6895               result=no
6896             fi
6897           else
6898             result=$wxUSE_FFILE
6899           fi
6900
6901           { echo "$as_me:$LINENO: result: $result" >&5
6902 echo "${ECHO_T}$result" >&6; }
6903
6904
6905           enablestring=
6906           defaultval=$wxUSE_ALL_FEATURES
6907           if test -z "$defaultval"; then
6908               if test x"$enablestring" = xdisable; then
6909                   defaultval=yes
6910               else
6911                   defaultval=no
6912               fi
6913           fi
6914
6915           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
6916 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
6917           # Check whether --enable-file was given.
6918 if test "${enable_file+set}" = set; then
6919   enableval=$enable_file;
6920                           if test "$enableval" = yes; then
6921                             wx_cv_use_file='wxUSE_FILE=yes'
6922                           else
6923                             wx_cv_use_file='wxUSE_FILE=no'
6924                           fi
6925
6926 else
6927
6928                           wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
6929
6930 fi
6931
6932
6933           eval "$wx_cv_use_file"
6934
6935           if test x"$enablestring" = xdisable; then
6936             if test $wxUSE_FILE = no; then
6937               result=yes
6938             else
6939               result=no
6940             fi
6941           else
6942             result=$wxUSE_FILE
6943           fi
6944
6945           { echo "$as_me:$LINENO: result: $result" >&5
6946 echo "${ECHO_T}$result" >&6; }
6947
6948
6949           enablestring=
6950           defaultval=$wxUSE_ALL_FEATURES
6951           if test -z "$defaultval"; then
6952               if test x"$enablestring" = xdisable; then
6953                   defaultval=yes
6954               else
6955                   defaultval=no
6956               fi
6957           fi
6958
6959           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
6960 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
6961           # Check whether --enable-filesystem was given.
6962 if test "${enable_filesystem+set}" = set; then
6963   enableval=$enable_filesystem;
6964                           if test "$enableval" = yes; then
6965                             wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
6966                           else
6967                             wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
6968                           fi
6969
6970 else
6971
6972                           wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
6973
6974 fi
6975
6976
6977           eval "$wx_cv_use_filesystem"
6978
6979           if test x"$enablestring" = xdisable; then
6980             if test $wxUSE_FILESYSTEM = no; then
6981               result=yes
6982             else
6983               result=no
6984             fi
6985           else
6986             result=$wxUSE_FILESYSTEM
6987           fi
6988
6989           { echo "$as_me:$LINENO: result: $result" >&5
6990 echo "${ECHO_T}$result" >&6; }
6991
6992
6993           enablestring=
6994           defaultval=$wxUSE_ALL_FEATURES
6995           if test -z "$defaultval"; then
6996               if test x"$enablestring" = xdisable; then
6997                   defaultval=yes
6998               else
6999                   defaultval=no
7000               fi
7001           fi
7002
7003           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
7004 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
7005           # Check whether --enable-fontenum was given.
7006 if test "${enable_fontenum+set}" = set; then
7007   enableval=$enable_fontenum;
7008                           if test "$enableval" = yes; then
7009                             wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
7010                           else
7011                             wx_cv_use_fontenum='wxUSE_FONTENUM=no'
7012                           fi
7013
7014 else
7015
7016                           wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
7017
7018 fi
7019
7020
7021           eval "$wx_cv_use_fontenum"
7022
7023           if test x"$enablestring" = xdisable; then
7024             if test $wxUSE_FONTENUM = no; then
7025               result=yes
7026             else
7027               result=no
7028             fi
7029           else
7030             result=$wxUSE_FONTENUM
7031           fi
7032
7033           { echo "$as_me:$LINENO: result: $result" >&5
7034 echo "${ECHO_T}$result" >&6; }
7035
7036
7037           enablestring=
7038           defaultval=$wxUSE_ALL_FEATURES
7039           if test -z "$defaultval"; then
7040               if test x"$enablestring" = xdisable; then
7041                   defaultval=yes
7042               else
7043                   defaultval=no
7044               fi
7045           fi
7046
7047           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
7048 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
7049           # Check whether --enable-fontmap was given.
7050 if test "${enable_fontmap+set}" = set; then
7051   enableval=$enable_fontmap;
7052                           if test "$enableval" = yes; then
7053                             wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
7054                           else
7055                             wx_cv_use_fontmap='wxUSE_FONTMAP=no'
7056                           fi
7057
7058 else
7059
7060                           wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7061
7062 fi
7063
7064
7065           eval "$wx_cv_use_fontmap"
7066
7067           if test x"$enablestring" = xdisable; then
7068             if test $wxUSE_FONTMAP = no; then
7069               result=yes
7070             else
7071               result=no
7072             fi
7073           else
7074             result=$wxUSE_FONTMAP
7075           fi
7076
7077           { echo "$as_me:$LINENO: result: $result" >&5
7078 echo "${ECHO_T}$result" >&6; }
7079
7080
7081           enablestring=
7082           defaultval=$wxUSE_ALL_FEATURES
7083           if test -z "$defaultval"; then
7084               if test x"$enablestring" = xdisable; then
7085                   defaultval=yes
7086               else
7087                   defaultval=no
7088               fi
7089           fi
7090
7091           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7092 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7093           # Check whether --enable-fs_archive was given.
7094 if test "${enable_fs_archive+set}" = set; then
7095   enableval=$enable_fs_archive;
7096                           if test "$enableval" = yes; then
7097                             wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
7098                           else
7099                             wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
7100                           fi
7101
7102 else
7103
7104                           wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7105
7106 fi
7107
7108
7109           eval "$wx_cv_use_fs_archive"
7110
7111           if test x"$enablestring" = xdisable; then
7112             if test $wxUSE_FS_ARCHIVE = no; then
7113               result=yes
7114             else
7115               result=no
7116             fi
7117           else
7118             result=$wxUSE_FS_ARCHIVE
7119           fi
7120
7121           { echo "$as_me:$LINENO: result: $result" >&5
7122 echo "${ECHO_T}$result" >&6; }
7123
7124
7125           enablestring=
7126           defaultval=$wxUSE_ALL_FEATURES
7127           if test -z "$defaultval"; then
7128               if test x"$enablestring" = xdisable; then
7129                   defaultval=yes
7130               else
7131                   defaultval=no
7132               fi
7133           fi
7134
7135           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7136 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7137           # Check whether --enable-fs_inet was given.
7138 if test "${enable_fs_inet+set}" = set; then
7139   enableval=$enable_fs_inet;
7140                           if test "$enableval" = yes; then
7141                             wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
7142                           else
7143                             wx_cv_use_fs_inet='wxUSE_FS_INET=no'
7144                           fi
7145
7146 else
7147
7148                           wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7149
7150 fi
7151
7152
7153           eval "$wx_cv_use_fs_inet"
7154
7155           if test x"$enablestring" = xdisable; then
7156             if test $wxUSE_FS_INET = no; then
7157               result=yes
7158             else
7159               result=no
7160             fi
7161           else
7162             result=$wxUSE_FS_INET
7163           fi
7164
7165           { echo "$as_me:$LINENO: result: $result" >&5
7166 echo "${ECHO_T}$result" >&6; }
7167
7168
7169           enablestring=
7170           defaultval=$wxUSE_ALL_FEATURES
7171           if test -z "$defaultval"; then
7172               if test x"$enablestring" = xdisable; then
7173                   defaultval=yes
7174               else
7175                   defaultval=no
7176               fi
7177           fi
7178
7179           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7180 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7181           # Check whether --enable-fs_zip was given.
7182 if test "${enable_fs_zip+set}" = set; then
7183   enableval=$enable_fs_zip;
7184                           if test "$enableval" = yes; then
7185                             wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
7186                           else
7187                             wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7188                           fi
7189
7190 else
7191
7192                           wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7193
7194 fi
7195
7196
7197           eval "$wx_cv_use_fs_zip"
7198
7199           if test x"$enablestring" = xdisable; then
7200             if test $wxUSE_FS_ZIP = no; then
7201               result=yes
7202             else
7203               result=no
7204             fi
7205           else
7206             result=$wxUSE_FS_ZIP
7207           fi
7208
7209           { echo "$as_me:$LINENO: result: $result" >&5
7210 echo "${ECHO_T}$result" >&6; }
7211
7212
7213           enablestring=
7214           defaultval=$wxUSE_ALL_FEATURES
7215           if test -z "$defaultval"; then
7216               if test x"$enablestring" = xdisable; then
7217                   defaultval=yes
7218               else
7219                   defaultval=no
7220               fi
7221           fi
7222
7223           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7224 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7225           # Check whether --enable-geometry was given.
7226 if test "${enable_geometry+set}" = set; then
7227   enableval=$enable_geometry;
7228                           if test "$enableval" = yes; then
7229                             wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
7230                           else
7231                             wx_cv_use_geometry='wxUSE_GEOMETRY=no'
7232                           fi
7233
7234 else
7235
7236                           wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7237
7238 fi
7239
7240
7241           eval "$wx_cv_use_geometry"
7242
7243           if test x"$enablestring" = xdisable; then
7244             if test $wxUSE_GEOMETRY = no; then
7245               result=yes
7246             else
7247               result=no
7248             fi
7249           else
7250             result=$wxUSE_GEOMETRY
7251           fi
7252
7253           { echo "$as_me:$LINENO: result: $result" >&5
7254 echo "${ECHO_T}$result" >&6; }
7255
7256
7257           enablestring=
7258           defaultval=$wxUSE_ALL_FEATURES
7259           if test -z "$defaultval"; then
7260               if test x"$enablestring" = xdisable; then
7261                   defaultval=yes
7262               else
7263                   defaultval=no
7264               fi
7265           fi
7266
7267           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7268 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7269           # Check whether --enable-log was given.
7270 if test "${enable_log+set}" = set; then
7271   enableval=$enable_log;
7272                           if test "$enableval" = yes; then
7273                             wx_cv_use_log='wxUSE_LOG=yes'
7274                           else
7275                             wx_cv_use_log='wxUSE_LOG=no'
7276                           fi
7277
7278 else
7279
7280                           wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7281
7282 fi
7283
7284
7285           eval "$wx_cv_use_log"
7286
7287           if test x"$enablestring" = xdisable; then
7288             if test $wxUSE_LOG = no; then
7289               result=yes
7290             else
7291               result=no
7292             fi
7293           else
7294             result=$wxUSE_LOG
7295           fi
7296
7297           { echo "$as_me:$LINENO: result: $result" >&5
7298 echo "${ECHO_T}$result" >&6; }
7299
7300
7301           enablestring=
7302           defaultval=$wxUSE_ALL_FEATURES
7303           if test -z "$defaultval"; then
7304               if test x"$enablestring" = xdisable; then
7305                   defaultval=yes
7306               else
7307                   defaultval=no
7308               fi
7309           fi
7310
7311           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
7312 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
7313           # Check whether --enable-longlong was given.
7314 if test "${enable_longlong+set}" = set; then
7315   enableval=$enable_longlong;
7316                           if test "$enableval" = yes; then
7317                             wx_cv_use_longlong='wxUSE_LONGLONG=yes'
7318                           else
7319                             wx_cv_use_longlong='wxUSE_LONGLONG=no'
7320                           fi
7321
7322 else
7323
7324                           wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7325
7326 fi
7327
7328
7329           eval "$wx_cv_use_longlong"
7330
7331           if test x"$enablestring" = xdisable; then
7332             if test $wxUSE_LONGLONG = no; then
7333               result=yes
7334             else
7335               result=no
7336             fi
7337           else
7338             result=$wxUSE_LONGLONG
7339           fi
7340
7341           { echo "$as_me:$LINENO: result: $result" >&5
7342 echo "${ECHO_T}$result" >&6; }
7343
7344
7345           enablestring=
7346           defaultval=$wxUSE_ALL_FEATURES
7347           if test -z "$defaultval"; then
7348               if test x"$enablestring" = xdisable; then
7349                   defaultval=yes
7350               else
7351                   defaultval=no
7352               fi
7353           fi
7354
7355           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7356 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7357           # Check whether --enable-mimetype was given.
7358 if test "${enable_mimetype+set}" = set; then
7359   enableval=$enable_mimetype;
7360                           if test "$enableval" = yes; then
7361                             wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
7362                           else
7363                             wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
7364                           fi
7365
7366 else
7367
7368                           wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7369
7370 fi
7371
7372
7373           eval "$wx_cv_use_mimetype"
7374
7375           if test x"$enablestring" = xdisable; then
7376             if test $wxUSE_MIMETYPE = no; then
7377               result=yes
7378             else
7379               result=no
7380             fi
7381           else
7382             result=$wxUSE_MIMETYPE
7383           fi
7384
7385           { echo "$as_me:$LINENO: result: $result" >&5
7386 echo "${ECHO_T}$result" >&6; }
7387
7388
7389           enablestring=
7390           defaultval=$wxUSE_ALL_FEATURES
7391           if test -z "$defaultval"; then
7392               if test x"$enablestring" = xdisable; then
7393                   defaultval=yes
7394               else
7395                   defaultval=no
7396               fi
7397           fi
7398
7399           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7400 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7401           # Check whether --enable-printfposparam was given.
7402 if test "${enable_printfposparam+set}" = set; then
7403   enableval=$enable_printfposparam;
7404                           if test "$enableval" = yes; then
7405                             wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
7406                           else
7407                             wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
7408                           fi
7409
7410 else
7411
7412                           wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
7413
7414 fi
7415
7416
7417           eval "$wx_cv_use_printfposparam"
7418
7419           if test x"$enablestring" = xdisable; then
7420             if test $wxUSE_PRINTF_POS_PARAMS = no; then
7421               result=yes
7422             else
7423               result=no
7424             fi
7425           else
7426             result=$wxUSE_PRINTF_POS_PARAMS
7427           fi
7428
7429           { echo "$as_me:$LINENO: result: $result" >&5
7430 echo "${ECHO_T}$result" >&6; }
7431
7432
7433           enablestring=
7434           defaultval=$wxUSE_ALL_FEATURES
7435           if test -z "$defaultval"; then
7436               if test x"$enablestring" = xdisable; then
7437                   defaultval=yes
7438               else
7439                   defaultval=no
7440               fi
7441           fi
7442
7443           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
7444 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
7445           # Check whether --enable-snglinst was given.
7446 if test "${enable_snglinst+set}" = set; then
7447   enableval=$enable_snglinst;
7448                           if test "$enableval" = yes; then
7449                             wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
7450                           else
7451                             wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
7452                           fi
7453
7454 else
7455
7456                           wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7457
7458 fi
7459
7460
7461           eval "$wx_cv_use_snglinst"
7462
7463           if test x"$enablestring" = xdisable; then
7464             if test $wxUSE_SNGLINST_CHECKER = no; then
7465               result=yes
7466             else
7467               result=no
7468             fi
7469           else
7470             result=$wxUSE_SNGLINST_CHECKER
7471           fi
7472
7473           { echo "$as_me:$LINENO: result: $result" >&5
7474 echo "${ECHO_T}$result" >&6; }
7475
7476
7477           enablestring=
7478           defaultval=$wxUSE_ALL_FEATURES
7479           if test -z "$defaultval"; then
7480               if test x"$enablestring" = xdisable; then
7481                   defaultval=yes
7482               else
7483                   defaultval=no
7484               fi
7485           fi
7486
7487           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7488 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7489           # Check whether --enable-sound was given.
7490 if test "${enable_sound+set}" = set; then
7491   enableval=$enable_sound;
7492                           if test "$enableval" = yes; then
7493                             wx_cv_use_sound='wxUSE_SOUND=yes'
7494                           else
7495                             wx_cv_use_sound='wxUSE_SOUND=no'
7496                           fi
7497
7498 else
7499
7500                           wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
7501
7502 fi
7503
7504
7505           eval "$wx_cv_use_sound"
7506
7507           if test x"$enablestring" = xdisable; then
7508             if test $wxUSE_SOUND = no; then
7509               result=yes
7510             else
7511               result=no
7512             fi
7513           else
7514             result=$wxUSE_SOUND
7515           fi
7516
7517           { echo "$as_me:$LINENO: result: $result" >&5
7518 echo "${ECHO_T}$result" >&6; }
7519
7520
7521           enablestring=
7522           defaultval=$wxUSE_ALL_FEATURES
7523           if test -z "$defaultval"; then
7524               if test x"$enablestring" = xdisable; then
7525                   defaultval=yes
7526               else
7527                   defaultval=no
7528               fi
7529           fi
7530
7531           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7532 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7533           # Check whether --enable-stdpaths was given.
7534 if test "${enable_stdpaths+set}" = set; then
7535   enableval=$enable_stdpaths;
7536                           if test "$enableval" = yes; then
7537                             wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
7538                           else
7539                             wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
7540                           fi
7541
7542 else
7543
7544                           wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7545
7546 fi
7547
7548
7549           eval "$wx_cv_use_stdpaths"
7550
7551           if test x"$enablestring" = xdisable; then
7552             if test $wxUSE_STDPATHS = no; then
7553               result=yes
7554             else
7555               result=no
7556             fi
7557           else
7558             result=$wxUSE_STDPATHS
7559           fi
7560
7561           { echo "$as_me:$LINENO: result: $result" >&5
7562 echo "${ECHO_T}$result" >&6; }
7563
7564
7565           enablestring=
7566           defaultval=$wxUSE_ALL_FEATURES
7567           if test -z "$defaultval"; then
7568               if test x"$enablestring" = xdisable; then
7569                   defaultval=yes
7570               else
7571                   defaultval=no
7572               fi
7573           fi
7574
7575           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
7576 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
7577           # Check whether --enable-stopwatch was given.
7578 if test "${enable_stopwatch+set}" = set; then
7579   enableval=$enable_stopwatch;
7580                           if test "$enableval" = yes; then
7581                             wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
7582                           else
7583                             wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
7584                           fi
7585
7586 else
7587
7588                           wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7589
7590 fi
7591
7592
7593           eval "$wx_cv_use_stopwatch"
7594
7595           if test x"$enablestring" = xdisable; then
7596             if test $wxUSE_STOPWATCH = no; then
7597               result=yes
7598             else
7599               result=no
7600             fi
7601           else
7602             result=$wxUSE_STOPWATCH
7603           fi
7604
7605           { echo "$as_me:$LINENO: result: $result" >&5
7606 echo "${ECHO_T}$result" >&6; }
7607
7608
7609           enablestring=
7610           defaultval=$wxUSE_ALL_FEATURES
7611           if test -z "$defaultval"; then
7612               if test x"$enablestring" = xdisable; then
7613                   defaultval=yes
7614               else
7615                   defaultval=no
7616               fi
7617           fi
7618
7619           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
7620 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
7621           # Check whether --enable-streams was given.
7622 if test "${enable_streams+set}" = set; then
7623   enableval=$enable_streams;
7624                           if test "$enableval" = yes; then
7625                             wx_cv_use_streams='wxUSE_STREAMS=yes'
7626                           else
7627                             wx_cv_use_streams='wxUSE_STREAMS=no'
7628                           fi
7629
7630 else
7631
7632                           wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7633
7634 fi
7635
7636
7637           eval "$wx_cv_use_streams"
7638
7639           if test x"$enablestring" = xdisable; then
7640             if test $wxUSE_STREAMS = no; then
7641               result=yes
7642             else
7643               result=no
7644             fi
7645           else
7646             result=$wxUSE_STREAMS
7647           fi
7648
7649           { echo "$as_me:$LINENO: result: $result" >&5
7650 echo "${ECHO_T}$result" >&6; }
7651
7652
7653           enablestring=
7654           defaultval=$wxUSE_ALL_FEATURES
7655           if test -z "$defaultval"; then
7656               if test x"$enablestring" = xdisable; then
7657                   defaultval=yes
7658               else
7659                   defaultval=no
7660               fi
7661           fi
7662
7663           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
7664 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
7665           # Check whether --enable-system_options was given.
7666 if test "${enable_system_options+set}" = set; then
7667   enableval=$enable_system_options;
7668                           if test "$enableval" = yes; then
7669                             wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
7670                           else
7671                             wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
7672                           fi
7673
7674 else
7675
7676                           wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
7677
7678 fi
7679
7680
7681           eval "$wx_cv_use_system_options"
7682
7683           if test x"$enablestring" = xdisable; then
7684             if test $wxUSE_SYSTEM_OPTIONS = no; then
7685               result=yes
7686             else
7687               result=no
7688             fi
7689           else
7690             result=$wxUSE_SYSTEM_OPTIONS
7691           fi
7692
7693           { echo "$as_me:$LINENO: result: $result" >&5
7694 echo "${ECHO_T}$result" >&6; }
7695
7696
7697           enablestring=
7698           defaultval=$wxUSE_ALL_FEATURES
7699           if test -z "$defaultval"; then
7700               if test x"$enablestring" = xdisable; then
7701                   defaultval=yes
7702               else
7703                   defaultval=no
7704               fi
7705           fi
7706
7707           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
7708 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
7709           # Check whether --enable-tarstream was given.
7710 if test "${enable_tarstream+set}" = set; then
7711   enableval=$enable_tarstream;
7712                           if test "$enableval" = yes; then
7713                             wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
7714                           else
7715                             wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
7716                           fi
7717
7718 else
7719
7720                           wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
7721
7722 fi
7723
7724
7725           eval "$wx_cv_use_tarstream"
7726
7727           if test x"$enablestring" = xdisable; then
7728             if test $wxUSE_TARSTREAM = no; then
7729               result=yes
7730             else
7731               result=no
7732             fi
7733           else
7734             result=$wxUSE_TARSTREAM
7735           fi
7736
7737           { echo "$as_me:$LINENO: result: $result" >&5
7738 echo "${ECHO_T}$result" >&6; }
7739
7740
7741           enablestring=
7742           defaultval=$wxUSE_ALL_FEATURES
7743           if test -z "$defaultval"; then
7744               if test x"$enablestring" = xdisable; then
7745                   defaultval=yes
7746               else
7747                   defaultval=no
7748               fi
7749           fi
7750
7751           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
7752 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
7753           # Check whether --enable-textbuf was given.
7754 if test "${enable_textbuf+set}" = set; then
7755   enableval=$enable_textbuf;
7756                           if test "$enableval" = yes; then
7757                             wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
7758                           else
7759                             wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
7760                           fi
7761
7762 else
7763
7764                           wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
7765
7766 fi
7767
7768
7769           eval "$wx_cv_use_textbuf"
7770
7771           if test x"$enablestring" = xdisable; then
7772             if test $wxUSE_TEXTBUFFER = no; then
7773               result=yes
7774             else
7775               result=no
7776             fi
7777           else
7778             result=$wxUSE_TEXTBUFFER
7779           fi
7780
7781           { echo "$as_me:$LINENO: result: $result" >&5
7782 echo "${ECHO_T}$result" >&6; }
7783
7784
7785           enablestring=
7786           defaultval=$wxUSE_ALL_FEATURES
7787           if test -z "$defaultval"; then
7788               if test x"$enablestring" = xdisable; then
7789                   defaultval=yes
7790               else
7791                   defaultval=no
7792               fi
7793           fi
7794
7795           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7796 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
7797           # Check whether --enable-textfile was given.
7798 if test "${enable_textfile+set}" = set; then
7799   enableval=$enable_textfile;
7800                           if test "$enableval" = yes; then
7801                             wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
7802                           else
7803                             wx_cv_use_textfile='wxUSE_TEXTFILE=no'
7804                           fi
7805
7806 else
7807
7808                           wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
7809
7810 fi
7811
7812
7813           eval "$wx_cv_use_textfile"
7814
7815           if test x"$enablestring" = xdisable; then
7816             if test $wxUSE_TEXTFILE = no; then
7817               result=yes
7818             else
7819               result=no
7820             fi
7821           else
7822             result=$wxUSE_TEXTFILE
7823           fi
7824
7825           { echo "$as_me:$LINENO: result: $result" >&5
7826 echo "${ECHO_T}$result" >&6; }
7827
7828
7829           enablestring=
7830           defaultval=$wxUSE_ALL_FEATURES
7831           if test -z "$defaultval"; then
7832               if test x"$enablestring" = xdisable; then
7833                   defaultval=yes
7834               else
7835                   defaultval=no
7836               fi
7837           fi
7838
7839           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
7840 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
7841           # Check whether --enable-timer was given.
7842 if test "${enable_timer+set}" = set; then
7843   enableval=$enable_timer;
7844                           if test "$enableval" = yes; then
7845                             wx_cv_use_timer='wxUSE_TIMER=yes'
7846                           else
7847                             wx_cv_use_timer='wxUSE_TIMER=no'
7848                           fi
7849
7850 else
7851
7852                           wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
7853
7854 fi
7855
7856
7857           eval "$wx_cv_use_timer"
7858
7859           if test x"$enablestring" = xdisable; then
7860             if test $wxUSE_TIMER = no; then
7861               result=yes
7862             else
7863               result=no
7864             fi
7865           else
7866             result=$wxUSE_TIMER
7867           fi
7868
7869           { echo "$as_me:$LINENO: result: $result" >&5
7870 echo "${ECHO_T}$result" >&6; }
7871
7872
7873           enablestring=
7874           defaultval=$wxUSE_ALL_FEATURES
7875           if test -z "$defaultval"; then
7876               if test x"$enablestring" = xdisable; then
7877                   defaultval=yes
7878               else
7879                   defaultval=no
7880               fi
7881           fi
7882
7883           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
7884 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
7885           # Check whether --enable-variant was given.
7886 if test "${enable_variant+set}" = set; then
7887   enableval=$enable_variant;
7888                           if test "$enableval" = yes; then
7889                             wx_cv_use_variant='wxUSE_VARIANT=yes'
7890                           else
7891                             wx_cv_use_variant='wxUSE_VARIANT=no'
7892                           fi
7893
7894 else
7895
7896                           wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
7897
7898 fi
7899
7900
7901           eval "$wx_cv_use_variant"
7902
7903           if test x"$enablestring" = xdisable; then
7904             if test $wxUSE_VARIANT = no; then
7905               result=yes
7906             else
7907               result=no
7908             fi
7909           else
7910             result=$wxUSE_VARIANT
7911           fi
7912
7913           { echo "$as_me:$LINENO: result: $result" >&5
7914 echo "${ECHO_T}$result" >&6; }
7915
7916
7917           enablestring=
7918           defaultval=$wxUSE_ALL_FEATURES
7919           if test -z "$defaultval"; then
7920               if test x"$enablestring" = xdisable; then
7921                   defaultval=yes
7922               else
7923                   defaultval=no
7924               fi
7925           fi
7926
7927           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
7928 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
7929           # Check whether --enable-zipstream was given.
7930 if test "${enable_zipstream+set}" = set; then
7931   enableval=$enable_zipstream;
7932                           if test "$enableval" = yes; then
7933                             wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
7934                           else
7935                             wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
7936                           fi
7937
7938 else
7939
7940                           wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
7941
7942 fi
7943
7944
7945           eval "$wx_cv_use_zipstream"
7946
7947           if test x"$enablestring" = xdisable; then
7948             if test $wxUSE_ZIPSTREAM = no; then
7949               result=yes
7950             else
7951               result=no
7952             fi
7953           else
7954             result=$wxUSE_ZIPSTREAM
7955           fi
7956
7957           { echo "$as_me:$LINENO: result: $result" >&5
7958 echo "${ECHO_T}$result" >&6; }
7959
7960
7961
7962           enablestring=
7963           defaultval=$wxUSE_ALL_FEATURES
7964           if test -z "$defaultval"; then
7965               if test x"$enablestring" = xdisable; then
7966                   defaultval=yes
7967               else
7968                   defaultval=no
7969               fi
7970           fi
7971
7972           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
7973 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
7974           # Check whether --enable-url was given.
7975 if test "${enable_url+set}" = set; then
7976   enableval=$enable_url;
7977                           if test "$enableval" = yes; then
7978                             wx_cv_use_url='wxUSE_URL=yes'
7979                           else
7980                             wx_cv_use_url='wxUSE_URL=no'
7981                           fi
7982
7983 else
7984
7985                           wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
7986
7987 fi
7988
7989
7990           eval "$wx_cv_use_url"
7991
7992           if test x"$enablestring" = xdisable; then
7993             if test $wxUSE_URL = no; then
7994               result=yes
7995             else
7996               result=no
7997             fi
7998           else
7999             result=$wxUSE_URL
8000           fi
8001
8002           { echo "$as_me:$LINENO: result: $result" >&5
8003 echo "${ECHO_T}$result" >&6; }
8004
8005
8006           enablestring=
8007           defaultval=$wxUSE_ALL_FEATURES
8008           if test -z "$defaultval"; then
8009               if test x"$enablestring" = xdisable; then
8010                   defaultval=yes
8011               else
8012                   defaultval=no
8013               fi
8014           fi
8015
8016           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
8017 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
8018           # Check whether --enable-protocol was given.
8019 if test "${enable_protocol+set}" = set; then
8020   enableval=$enable_protocol;
8021                           if test "$enableval" = yes; then
8022                             wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
8023                           else
8024                             wx_cv_use_protocol='wxUSE_PROTOCOL=no'
8025                           fi
8026
8027 else
8028
8029                           wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
8030
8031 fi
8032
8033
8034           eval "$wx_cv_use_protocol"
8035
8036           if test x"$enablestring" = xdisable; then
8037             if test $wxUSE_PROTOCOL = no; then
8038               result=yes
8039             else
8040               result=no
8041             fi
8042           else
8043             result=$wxUSE_PROTOCOL
8044           fi
8045
8046           { echo "$as_me:$LINENO: result: $result" >&5
8047 echo "${ECHO_T}$result" >&6; }
8048
8049
8050           enablestring=
8051           defaultval=$wxUSE_ALL_FEATURES
8052           if test -z "$defaultval"; then
8053               if test x"$enablestring" = xdisable; then
8054                   defaultval=yes
8055               else
8056                   defaultval=no
8057               fi
8058           fi
8059
8060           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
8061 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
8062           # Check whether --enable-protocol_http was given.
8063 if test "${enable_protocol_http+set}" = set; then
8064   enableval=$enable_protocol_http;
8065                           if test "$enableval" = yes; then
8066                             wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
8067                           else
8068                             wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
8069                           fi
8070
8071 else
8072
8073                           wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
8074
8075 fi
8076
8077
8078           eval "$wx_cv_use_protocol_http"
8079
8080           if test x"$enablestring" = xdisable; then
8081             if test $wxUSE_PROTOCOL_HTTP = no; then
8082               result=yes
8083             else
8084               result=no
8085             fi
8086           else
8087             result=$wxUSE_PROTOCOL_HTTP
8088           fi
8089
8090           { echo "$as_me:$LINENO: result: $result" >&5
8091 echo "${ECHO_T}$result" >&6; }
8092
8093
8094           enablestring=
8095           defaultval=$wxUSE_ALL_FEATURES
8096           if test -z "$defaultval"; then
8097               if test x"$enablestring" = xdisable; then
8098                   defaultval=yes
8099               else
8100                   defaultval=no
8101               fi
8102           fi
8103
8104           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
8105 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
8106           # Check whether --enable-protocol_ftp was given.
8107 if test "${enable_protocol_ftp+set}" = set; then
8108   enableval=$enable_protocol_ftp;
8109                           if test "$enableval" = yes; then
8110                             wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
8111                           else
8112                             wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
8113                           fi
8114
8115 else
8116
8117                           wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8118
8119 fi
8120
8121
8122           eval "$wx_cv_use_protocol_ftp"
8123
8124           if test x"$enablestring" = xdisable; then
8125             if test $wxUSE_PROTOCOL_FTP = no; then
8126               result=yes
8127             else
8128               result=no
8129             fi
8130           else
8131             result=$wxUSE_PROTOCOL_FTP
8132           fi
8133
8134           { echo "$as_me:$LINENO: result: $result" >&5
8135 echo "${ECHO_T}$result" >&6; }
8136
8137
8138           enablestring=
8139           defaultval=$wxUSE_ALL_FEATURES
8140           if test -z "$defaultval"; then
8141               if test x"$enablestring" = xdisable; then
8142                   defaultval=yes
8143               else
8144                   defaultval=no
8145               fi
8146           fi
8147
8148           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
8149 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
8150           # Check whether --enable-protocol_file was given.
8151 if test "${enable_protocol_file+set}" = set; then
8152   enableval=$enable_protocol_file;
8153                           if test "$enableval" = yes; then
8154                             wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
8155                           else
8156                             wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
8157                           fi
8158
8159 else
8160
8161                           wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8162
8163 fi
8164
8165
8166           eval "$wx_cv_use_protocol_file"
8167
8168           if test x"$enablestring" = xdisable; then
8169             if test $wxUSE_PROTOCOL_FILE = no; then
8170               result=yes
8171             else
8172               result=no
8173             fi
8174           else
8175             result=$wxUSE_PROTOCOL_FILE
8176           fi
8177
8178           { echo "$as_me:$LINENO: result: $result" >&5
8179 echo "${ECHO_T}$result" >&6; }
8180
8181
8182
8183           enablestring=
8184           defaultval=$wxUSE_ALL_FEATURES
8185           if test -z "$defaultval"; then
8186               if test x"$enablestring" = xdisable; then
8187                   defaultval=yes
8188               else
8189                   defaultval=no
8190               fi
8191           fi
8192
8193           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
8194 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
8195           # Check whether --enable-threads was given.
8196 if test "${enable_threads+set}" = set; then
8197   enableval=$enable_threads;
8198                           if test "$enableval" = yes; then
8199                             wx_cv_use_threads='wxUSE_THREADS=yes'
8200                           else
8201                             wx_cv_use_threads='wxUSE_THREADS=no'
8202                           fi
8203
8204 else
8205
8206                           wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8207
8208 fi
8209
8210
8211           eval "$wx_cv_use_threads"
8212
8213           if test x"$enablestring" = xdisable; then
8214             if test $wxUSE_THREADS = no; then
8215               result=yes
8216             else
8217               result=no
8218             fi
8219           else
8220             result=$wxUSE_THREADS
8221           fi
8222
8223           { echo "$as_me:$LINENO: result: $result" >&5
8224 echo "${ECHO_T}$result" >&6; }
8225
8226
8227
8228           enablestring=
8229           defaultval=
8230           if test -z "$defaultval"; then
8231               if test x"$enablestring" = xdisable; then
8232                   defaultval=yes
8233               else
8234                   defaultval=no
8235               fi
8236           fi
8237
8238           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iniconf" >&5
8239 echo $ECHO_N "checking for --${enablestring:-enable}-iniconf... $ECHO_C" >&6; }
8240           # Check whether --enable-iniconf was given.
8241 if test "${enable_iniconf+set}" = set; then
8242   enableval=$enable_iniconf;
8243                           if test "$enableval" = yes; then
8244                             wx_cv_use_iniconf='wxUSE_INICONF=yes'
8245                           else
8246                             wx_cv_use_iniconf='wxUSE_INICONF=no'
8247                           fi
8248
8249 else
8250
8251                           wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
8252
8253 fi
8254
8255
8256           eval "$wx_cv_use_iniconf"
8257
8258           if test x"$enablestring" = xdisable; then
8259             if test $wxUSE_INICONF = no; then
8260               result=yes
8261             else
8262               result=no
8263             fi
8264           else
8265             result=$wxUSE_INICONF
8266           fi
8267
8268           { echo "$as_me:$LINENO: result: $result" >&5
8269 echo "${ECHO_T}$result" >&6; }
8270
8271
8272           enablestring=
8273           defaultval=$wxUSE_ALL_FEATURES
8274           if test -z "$defaultval"; then
8275               if test x"$enablestring" = xdisable; then
8276                   defaultval=yes
8277               else
8278                   defaultval=no
8279               fi
8280           fi
8281
8282           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
8283 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
8284           # Check whether --enable-regkey was given.
8285 if test "${enable_regkey+set}" = set; then
8286   enableval=$enable_regkey;
8287                           if test "$enableval" = yes; then
8288                             wx_cv_use_regkey='wxUSE_REGKEY=yes'
8289                           else
8290                             wx_cv_use_regkey='wxUSE_REGKEY=no'
8291                           fi
8292
8293 else
8294
8295                           wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
8296
8297 fi
8298
8299
8300           eval "$wx_cv_use_regkey"
8301
8302           if test x"$enablestring" = xdisable; then
8303             if test $wxUSE_REGKEY = no; then
8304               result=yes
8305             else
8306               result=no
8307             fi
8308           else
8309             result=$wxUSE_REGKEY
8310           fi
8311
8312           { echo "$as_me:$LINENO: result: $result" >&5
8313 echo "${ECHO_T}$result" >&6; }
8314
8315
8316 if test "$wxUSE_GUI" = "yes"; then
8317
8318
8319
8320           enablestring=
8321           defaultval=$wxUSE_ALL_FEATURES
8322           if test -z "$defaultval"; then
8323               if test x"$enablestring" = xdisable; then
8324                   defaultval=yes
8325               else
8326                   defaultval=no
8327               fi
8328           fi
8329
8330           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8331 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8332           # Check whether --enable-docview was given.
8333 if test "${enable_docview+set}" = set; then
8334   enableval=$enable_docview;
8335                           if test "$enableval" = yes; then
8336                             wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
8337                           else
8338                             wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
8339                           fi
8340
8341 else
8342
8343                           wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8344
8345 fi
8346
8347
8348           eval "$wx_cv_use_docview"
8349
8350           if test x"$enablestring" = xdisable; then
8351             if test $wxUSE_DOC_VIEW_ARCHITECTURE = no; then
8352               result=yes
8353             else
8354               result=no
8355             fi
8356           else
8357             result=$wxUSE_DOC_VIEW_ARCHITECTURE
8358           fi
8359
8360           { echo "$as_me:$LINENO: result: $result" >&5
8361 echo "${ECHO_T}$result" >&6; }
8362
8363
8364           enablestring=
8365           defaultval=$wxUSE_ALL_FEATURES
8366           if test -z "$defaultval"; then
8367               if test x"$enablestring" = xdisable; then
8368                   defaultval=yes
8369               else
8370                   defaultval=no
8371               fi
8372           fi
8373
8374           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
8375 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
8376           # Check whether --enable-help was given.
8377 if test "${enable_help+set}" = set; then
8378   enableval=$enable_help;
8379                           if test "$enableval" = yes; then
8380                             wx_cv_use_help='wxUSE_HELP=yes'
8381                           else
8382                             wx_cv_use_help='wxUSE_HELP=no'
8383                           fi
8384
8385 else
8386
8387                           wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8388
8389 fi
8390
8391
8392           eval "$wx_cv_use_help"
8393
8394           if test x"$enablestring" = xdisable; then
8395             if test $wxUSE_HELP = no; then
8396               result=yes
8397             else
8398               result=no
8399             fi
8400           else
8401             result=$wxUSE_HELP
8402           fi
8403
8404           { echo "$as_me:$LINENO: result: $result" >&5
8405 echo "${ECHO_T}$result" >&6; }
8406
8407
8408           enablestring=
8409           defaultval=$wxUSE_ALL_FEATURES
8410           if test -z "$defaultval"; then
8411               if test x"$enablestring" = xdisable; then
8412                   defaultval=yes
8413               else
8414                   defaultval=no
8415               fi
8416           fi
8417
8418           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
8419 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
8420           # Check whether --enable-mshtmlhelp was given.
8421 if test "${enable_mshtmlhelp+set}" = set; then
8422   enableval=$enable_mshtmlhelp;
8423                           if test "$enableval" = yes; then
8424                             wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
8425                           else
8426                             wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
8427                           fi
8428
8429 else
8430
8431                           wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8432
8433 fi
8434
8435
8436           eval "$wx_cv_use_mshtmlhelp"
8437
8438           if test x"$enablestring" = xdisable; then
8439             if test $wxUSE_MS_HTML_HELP = no; then
8440               result=yes
8441             else
8442               result=no
8443             fi
8444           else
8445             result=$wxUSE_MS_HTML_HELP
8446           fi
8447
8448           { echo "$as_me:$LINENO: result: $result" >&5
8449 echo "${ECHO_T}$result" >&6; }
8450
8451
8452           enablestring=
8453           defaultval=$wxUSE_ALL_FEATURES
8454           if test -z "$defaultval"; then
8455               if test x"$enablestring" = xdisable; then
8456                   defaultval=yes
8457               else
8458                   defaultval=no
8459               fi
8460           fi
8461
8462           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
8463 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
8464           # Check whether --enable-html was given.
8465 if test "${enable_html+set}" = set; then
8466   enableval=$enable_html;
8467                           if test "$enableval" = yes; then
8468                             wx_cv_use_html='wxUSE_HTML=yes'
8469                           else
8470                             wx_cv_use_html='wxUSE_HTML=no'
8471                           fi
8472
8473 else
8474
8475                           wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
8476
8477 fi
8478
8479
8480           eval "$wx_cv_use_html"
8481
8482           if test x"$enablestring" = xdisable; then
8483             if test $wxUSE_HTML = no; then
8484               result=yes
8485             else
8486               result=no
8487             fi
8488           else
8489             result=$wxUSE_HTML
8490           fi
8491
8492           { echo "$as_me:$LINENO: result: $result" >&5
8493 echo "${ECHO_T}$result" >&6; }
8494
8495
8496           enablestring=
8497           defaultval=$wxUSE_ALL_FEATURES
8498           if test -z "$defaultval"; then
8499               if test x"$enablestring" = xdisable; then
8500                   defaultval=yes
8501               else
8502                   defaultval=no
8503               fi
8504           fi
8505
8506           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
8507 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
8508           # Check whether --enable-htmlhelp was given.
8509 if test "${enable_htmlhelp+set}" = set; then
8510   enableval=$enable_htmlhelp;
8511                           if test "$enableval" = yes; then
8512                             wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
8513                           else
8514                             wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
8515                           fi
8516
8517 else
8518
8519                           wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
8520
8521 fi
8522
8523
8524           eval "$wx_cv_use_htmlhelp"
8525
8526           if test x"$enablestring" = xdisable; then
8527             if test $wxUSE_WXHTML_HELP = no; then
8528               result=yes
8529             else
8530               result=no
8531             fi
8532           else
8533             result=$wxUSE_WXHTML_HELP
8534           fi
8535
8536           { echo "$as_me:$LINENO: result: $result" >&5
8537 echo "${ECHO_T}$result" >&6; }
8538
8539
8540           enablestring=
8541           defaultval=$wxUSE_ALL_FEATURES
8542           if test -z "$defaultval"; then
8543               if test x"$enablestring" = xdisable; then
8544                   defaultval=yes
8545               else
8546                   defaultval=no
8547               fi
8548           fi
8549
8550           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
8551 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
8552           # Check whether --enable-xrc was given.
8553 if test "${enable_xrc+set}" = set; then
8554   enableval=$enable_xrc;
8555                           if test "$enableval" = yes; then
8556                             wx_cv_use_xrc='wxUSE_XRC=yes'
8557                           else
8558                             wx_cv_use_xrc='wxUSE_XRC=no'
8559                           fi
8560
8561 else
8562
8563                           wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
8564
8565 fi
8566
8567
8568           eval "$wx_cv_use_xrc"
8569
8570           if test x"$enablestring" = xdisable; then
8571             if test $wxUSE_XRC = no; then
8572               result=yes
8573             else
8574               result=no
8575             fi
8576           else
8577             result=$wxUSE_XRC
8578           fi
8579
8580           { echo "$as_me:$LINENO: result: $result" >&5
8581 echo "${ECHO_T}$result" >&6; }
8582
8583
8584           enablestring=
8585           defaultval=$wxUSE_ALL_FEATURES
8586           if test -z "$defaultval"; then
8587               if test x"$enablestring" = xdisable; then
8588                   defaultval=yes
8589               else
8590                   defaultval=no
8591               fi
8592           fi
8593
8594           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8595 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8596           # Check whether --enable-aui was given.
8597 if test "${enable_aui+set}" = set; then
8598   enableval=$enable_aui;
8599                           if test "$enableval" = yes; then
8600                             wx_cv_use_aui='wxUSE_AUI=yes'
8601                           else
8602                             wx_cv_use_aui='wxUSE_AUI=no'
8603                           fi
8604
8605 else
8606
8607                           wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
8608
8609 fi
8610
8611
8612           eval "$wx_cv_use_aui"
8613
8614           if test x"$enablestring" = xdisable; then
8615             if test $wxUSE_AUI = no; then
8616               result=yes
8617             else
8618               result=no
8619             fi
8620           else
8621             result=$wxUSE_AUI
8622           fi
8623
8624           { echo "$as_me:$LINENO: result: $result" >&5
8625 echo "${ECHO_T}$result" >&6; }
8626
8627
8628           enablestring=
8629           defaultval=$wxUSE_ALL_FEATURES
8630           if test -z "$defaultval"; then
8631               if test x"$enablestring" = xdisable; then
8632                   defaultval=yes
8633               else
8634                   defaultval=no
8635               fi
8636           fi
8637
8638           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-propgrid" >&5
8639 echo $ECHO_N "checking for --${enablestring:-enable}-propgrid... $ECHO_C" >&6; }
8640           # Check whether --enable-propgrid was given.
8641 if test "${enable_propgrid+set}" = set; then
8642   enableval=$enable_propgrid;
8643                           if test "$enableval" = yes; then
8644                             wx_cv_use_propgrid='wxUSE_PROPGRID=yes'
8645                           else
8646                             wx_cv_use_propgrid='wxUSE_PROPGRID=no'
8647                           fi
8648
8649 else
8650
8651                           wx_cv_use_propgrid='wxUSE_PROPGRID=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}"
8652
8653 fi
8654
8655
8656           eval "$wx_cv_use_propgrid"
8657
8658           if test x"$enablestring" = xdisable; then
8659             if test $wxUSE_PROPGRID = no; then
8660               result=yes
8661             else
8662               result=no
8663             fi
8664           else
8665             result=$wxUSE_PROPGRID
8666           fi
8667
8668           { echo "$as_me:$LINENO: result: $result" >&5
8669 echo "${ECHO_T}$result" >&6; }
8670
8671
8672           enablestring=
8673           defaultval=$wxUSE_ALL_FEATURES
8674           if test -z "$defaultval"; then
8675               if test x"$enablestring" = xdisable; then
8676                   defaultval=yes
8677               else
8678                   defaultval=no
8679               fi
8680           fi
8681
8682           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ribbon" >&5
8683 echo $ECHO_N "checking for --${enablestring:-enable}-ribbon... $ECHO_C" >&6; }
8684           # Check whether --enable-ribbon was given.
8685 if test "${enable_ribbon+set}" = set; then
8686   enableval=$enable_ribbon;
8687                           if test "$enableval" = yes; then
8688                             wx_cv_use_ribbon='wxUSE_RIBBON=yes'
8689                           else
8690                             wx_cv_use_ribbon='wxUSE_RIBBON=no'
8691                           fi
8692
8693 else
8694
8695                           wx_cv_use_ribbon='wxUSE_RIBBON=${'DEFAULT_wxUSE_RIBBON":-$defaultval}"
8696
8697 fi
8698
8699
8700           eval "$wx_cv_use_ribbon"
8701
8702           if test x"$enablestring" = xdisable; then
8703             if test $wxUSE_RIBBON = no; then
8704               result=yes
8705             else
8706               result=no
8707             fi
8708           else
8709             result=$wxUSE_RIBBON
8710           fi
8711
8712           { echo "$as_me:$LINENO: result: $result" >&5
8713 echo "${ECHO_T}$result" >&6; }
8714
8715
8716           enablestring=
8717           defaultval=$wxUSE_ALL_FEATURES
8718           if test -z "$defaultval"; then
8719               if test x"$enablestring" = xdisable; then
8720                   defaultval=yes
8721               else
8722                   defaultval=no
8723               fi
8724           fi
8725
8726           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
8727 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
8728           # Check whether --enable-stc was given.
8729 if test "${enable_stc+set}" = set; then
8730   enableval=$enable_stc;
8731                           if test "$enableval" = yes; then
8732                             wx_cv_use_stc='wxUSE_STC=yes'
8733                           else
8734                             wx_cv_use_stc='wxUSE_STC=no'
8735                           fi
8736
8737 else
8738
8739                           wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
8740
8741 fi
8742
8743
8744           eval "$wx_cv_use_stc"
8745
8746           if test x"$enablestring" = xdisable; then
8747             if test $wxUSE_STC = no; then
8748               result=yes
8749             else
8750               result=no
8751             fi
8752           else
8753             result=$wxUSE_STC
8754           fi
8755
8756           { echo "$as_me:$LINENO: result: $result" >&5
8757 echo "${ECHO_T}$result" >&6; }
8758
8759
8760           enablestring=
8761           defaultval=$wxUSE_ALL_FEATURES
8762           if test -z "$defaultval"; then
8763               if test x"$enablestring" = xdisable; then
8764                   defaultval=yes
8765               else
8766                   defaultval=no
8767               fi
8768           fi
8769
8770           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
8771 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
8772           # Check whether --enable-constraints was given.
8773 if test "${enable_constraints+set}" = set; then
8774   enableval=$enable_constraints;
8775                           if test "$enableval" = yes; then
8776                             wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
8777                           else
8778                             wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
8779                           fi
8780
8781 else
8782
8783                           wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
8784
8785 fi
8786
8787
8788           eval "$wx_cv_use_constraints"
8789
8790           if test x"$enablestring" = xdisable; then
8791             if test $wxUSE_CONSTRAINTS = no; then
8792               result=yes
8793             else
8794               result=no
8795             fi
8796           else
8797             result=$wxUSE_CONSTRAINTS
8798           fi
8799
8800           { echo "$as_me:$LINENO: result: $result" >&5
8801 echo "${ECHO_T}$result" >&6; }
8802
8803
8804           enablestring=
8805           defaultval=$wxUSE_ALL_FEATURES
8806           if test -z "$defaultval"; then
8807               if test x"$enablestring" = xdisable; then
8808                   defaultval=yes
8809               else
8810                   defaultval=no
8811               fi
8812           fi
8813
8814           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
8815 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
8816           # Check whether --enable-loggui was given.
8817 if test "${enable_loggui+set}" = set; then
8818   enableval=$enable_loggui;
8819                           if test "$enableval" = yes; then
8820                             wx_cv_use_loggui='wxUSE_LOGGUI=yes'
8821                           else
8822                             wx_cv_use_loggui='wxUSE_LOGGUI=no'
8823                           fi
8824
8825 else
8826
8827                           wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
8828
8829 fi
8830
8831
8832           eval "$wx_cv_use_loggui"
8833
8834           if test x"$enablestring" = xdisable; then
8835             if test $wxUSE_LOGGUI = no; then
8836               result=yes
8837             else
8838               result=no
8839             fi
8840           else
8841             result=$wxUSE_LOGGUI
8842           fi
8843
8844           { echo "$as_me:$LINENO: result: $result" >&5
8845 echo "${ECHO_T}$result" >&6; }
8846
8847
8848           enablestring=
8849           defaultval=$wxUSE_ALL_FEATURES
8850           if test -z "$defaultval"; then
8851               if test x"$enablestring" = xdisable; then
8852                   defaultval=yes
8853               else
8854                   defaultval=no
8855               fi
8856           fi
8857
8858           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
8859 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
8860           # Check whether --enable-logwin was given.
8861 if test "${enable_logwin+set}" = set; then
8862   enableval=$enable_logwin;
8863                           if test "$enableval" = yes; then
8864                             wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
8865                           else
8866                             wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
8867                           fi
8868
8869 else
8870
8871                           wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
8872
8873 fi
8874
8875
8876           eval "$wx_cv_use_logwin"
8877
8878           if test x"$enablestring" = xdisable; then
8879             if test $wxUSE_LOGWINDOW = no; then
8880               result=yes
8881             else
8882               result=no
8883             fi
8884           else
8885             result=$wxUSE_LOGWINDOW
8886           fi
8887
8888           { echo "$as_me:$LINENO: result: $result" >&5
8889 echo "${ECHO_T}$result" >&6; }
8890
8891
8892           enablestring=
8893           defaultval=$wxUSE_ALL_FEATURES
8894           if test -z "$defaultval"; then
8895               if test x"$enablestring" = xdisable; then
8896                   defaultval=yes
8897               else
8898                   defaultval=no
8899               fi
8900           fi
8901
8902           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
8903 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
8904           # Check whether --enable-logdialog was given.
8905 if test "${enable_logdialog+set}" = set; then
8906   enableval=$enable_logdialog;
8907                           if test "$enableval" = yes; then
8908                             wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
8909                           else
8910                             wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
8911                           fi
8912
8913 else
8914
8915                           wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
8916
8917 fi
8918
8919
8920           eval "$wx_cv_use_logdialog"
8921
8922           if test x"$enablestring" = xdisable; then
8923             if test $wxUSE_LOGDIALOG = no; then
8924               result=yes
8925             else
8926               result=no
8927             fi
8928           else
8929             result=$wxUSE_LOGDIALOG
8930           fi
8931
8932           { echo "$as_me:$LINENO: result: $result" >&5
8933 echo "${ECHO_T}$result" >&6; }
8934
8935
8936           enablestring=
8937           defaultval=$wxUSE_ALL_FEATURES
8938           if test -z "$defaultval"; then
8939               if test x"$enablestring" = xdisable; then
8940                   defaultval=yes
8941               else
8942                   defaultval=no
8943               fi
8944           fi
8945
8946           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
8947 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
8948           # Check whether --enable-mdi was given.
8949 if test "${enable_mdi+set}" = set; then
8950   enableval=$enable_mdi;
8951                           if test "$enableval" = yes; then
8952                             wx_cv_use_mdi='wxUSE_MDI=yes'
8953                           else
8954                             wx_cv_use_mdi='wxUSE_MDI=no'
8955                           fi
8956
8957 else
8958
8959                           wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
8960
8961 fi
8962
8963
8964           eval "$wx_cv_use_mdi"
8965
8966           if test x"$enablestring" = xdisable; then
8967             if test $wxUSE_MDI = no; then
8968               result=yes
8969             else
8970               result=no
8971             fi
8972           else
8973             result=$wxUSE_MDI
8974           fi
8975
8976           { echo "$as_me:$LINENO: result: $result" >&5
8977 echo "${ECHO_T}$result" >&6; }
8978
8979
8980           enablestring=
8981           defaultval=$wxUSE_ALL_FEATURES
8982           if test -z "$defaultval"; then
8983               if test x"$enablestring" = xdisable; then
8984                   defaultval=yes
8985               else
8986                   defaultval=no
8987               fi
8988           fi
8989
8990           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
8991 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
8992           # Check whether --enable-mdidoc was given.
8993 if test "${enable_mdidoc+set}" = set; then
8994   enableval=$enable_mdidoc;
8995                           if test "$enableval" = yes; then
8996                             wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
8997                           else
8998                             wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
8999                           fi
9000
9001 else
9002
9003                           wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
9004
9005 fi
9006
9007
9008           eval "$wx_cv_use_mdidoc"
9009
9010           if test x"$enablestring" = xdisable; then
9011             if test $wxUSE_MDI_ARCHITECTURE = no; then
9012               result=yes
9013             else
9014               result=no
9015             fi
9016           else
9017             result=$wxUSE_MDI_ARCHITECTURE
9018           fi
9019
9020           { echo "$as_me:$LINENO: result: $result" >&5
9021 echo "${ECHO_T}$result" >&6; }
9022
9023
9024           enablestring=
9025           defaultval=$wxUSE_ALL_FEATURES
9026           if test -z "$defaultval"; then
9027               if test x"$enablestring" = xdisable; then
9028                   defaultval=yes
9029               else
9030                   defaultval=no
9031               fi
9032           fi
9033
9034           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
9035 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
9036           # Check whether --enable-mediactrl was given.
9037 if test "${enable_mediactrl+set}" = set; then
9038   enableval=$enable_mediactrl;
9039                           if test "$enableval" = yes; then
9040                             wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
9041                           else
9042                             wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
9043                           fi
9044
9045 else
9046
9047                           wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
9048
9049 fi
9050
9051
9052           eval "$wx_cv_use_mediactrl"
9053
9054           if test x"$enablestring" = xdisable; then
9055             if test $wxUSE_MEDIACTRL = no; then
9056               result=yes
9057             else
9058               result=no
9059             fi
9060           else
9061             result=$wxUSE_MEDIACTRL
9062           fi
9063
9064           { echo "$as_me:$LINENO: result: $result" >&5
9065 echo "${ECHO_T}$result" >&6; }
9066
9067
9068           enablestring=
9069           defaultval=$wxUSE_ALL_FEATURES
9070           if test -z "$defaultval"; then
9071               if test x"$enablestring" = xdisable; then
9072                   defaultval=yes
9073               else
9074                   defaultval=no
9075               fi
9076           fi
9077
9078           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
9079 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
9080           # Check whether --enable-gstreamer8 was given.
9081 if test "${enable_gstreamer8+set}" = set; then
9082   enableval=$enable_gstreamer8;
9083                           if test "$enableval" = yes; then
9084                             wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
9085                           else
9086                             wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
9087                           fi
9088
9089 else
9090
9091                           wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
9092
9093 fi
9094
9095
9096           eval "$wx_cv_use_gstreamer8"
9097
9098           if test x"$enablestring" = xdisable; then
9099             if test $wxUSE_GSTREAMER8 = no; then
9100               result=yes
9101             else
9102               result=no
9103             fi
9104           else
9105             result=$wxUSE_GSTREAMER8
9106           fi
9107
9108           { echo "$as_me:$LINENO: result: $result" >&5
9109 echo "${ECHO_T}$result" >&6; }
9110
9111
9112           enablestring=
9113           defaultval=$wxUSE_ALL_FEATURES
9114           if test -z "$defaultval"; then
9115               if test x"$enablestring" = xdisable; then
9116                   defaultval=yes
9117               else
9118                   defaultval=no
9119               fi
9120           fi
9121
9122           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
9123 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
9124           # Check whether --enable-webkit was given.
9125 if test "${enable_webkit+set}" = set; then
9126   enableval=$enable_webkit;
9127                           if test "$enableval" = yes; then
9128                             wx_cv_use_webkit='wxUSE_WEBKIT=yes'
9129                           else
9130                             wx_cv_use_webkit='wxUSE_WEBKIT=no'
9131                           fi
9132
9133 else
9134
9135                           wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
9136
9137 fi
9138
9139
9140           eval "$wx_cv_use_webkit"
9141
9142           if test x"$enablestring" = xdisable; then
9143             if test $wxUSE_WEBKIT = no; then
9144               result=yes
9145             else
9146               result=no
9147             fi
9148           else
9149             result=$wxUSE_WEBKIT
9150           fi
9151
9152           { echo "$as_me:$LINENO: result: $result" >&5
9153 echo "${ECHO_T}$result" >&6; }
9154
9155
9156           enablestring=
9157           defaultval=$wxUSE_ALL_FEATURES
9158           if test -z "$defaultval"; then
9159               if test x"$enablestring" = xdisable; then
9160                   defaultval=yes
9161               else
9162                   defaultval=no
9163               fi
9164           fi
9165
9166           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
9167 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
9168           # Check whether --enable-richtext was given.
9169 if test "${enable_richtext+set}" = set; then
9170   enableval=$enable_richtext;
9171                           if test "$enableval" = yes; then
9172                             wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
9173                           else
9174                             wx_cv_use_richtext='wxUSE_RICHTEXT=no'
9175                           fi
9176
9177 else
9178
9179                           wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
9180
9181 fi
9182
9183
9184           eval "$wx_cv_use_richtext"
9185
9186           if test x"$enablestring" = xdisable; then
9187             if test $wxUSE_RICHTEXT = no; then
9188               result=yes
9189             else
9190               result=no
9191             fi
9192           else
9193             result=$wxUSE_RICHTEXT
9194           fi
9195
9196           { echo "$as_me:$LINENO: result: $result" >&5
9197 echo "${ECHO_T}$result" >&6; }
9198
9199
9200           enablestring=
9201           defaultval=$wxUSE_ALL_FEATURES
9202           if test -z "$defaultval"; then
9203               if test x"$enablestring" = xdisable; then
9204                   defaultval=yes
9205               else
9206                   defaultval=no
9207               fi
9208           fi
9209
9210           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
9211 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
9212           # Check whether --enable-graphics_ctx was given.
9213 if test "${enable_graphics_ctx+set}" = set; then
9214   enableval=$enable_graphics_ctx;
9215                           if test "$enableval" = yes; then
9216                             wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
9217                           else
9218                             wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
9219                           fi
9220
9221 else
9222
9223                           wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
9224
9225 fi
9226
9227
9228           eval "$wx_cv_use_graphics_ctx"
9229
9230           if test x"$enablestring" = xdisable; then
9231             if test $wxUSE_GRAPHICS_CONTEXT = no; then
9232               result=yes
9233             else
9234               result=no
9235             fi
9236           else
9237             result=$wxUSE_GRAPHICS_CONTEXT
9238           fi
9239
9240           { echo "$as_me:$LINENO: result: $result" >&5
9241 echo "${ECHO_T}$result" >&6; }
9242
9243
9244           enablestring=
9245           defaultval=$wxUSE_ALL_FEATURES
9246           if test -z "$defaultval"; then
9247               if test x"$enablestring" = xdisable; then
9248                   defaultval=yes
9249               else
9250                   defaultval=no
9251               fi
9252           fi
9253
9254           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
9255 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
9256           # Check whether --enable-postscript was given.
9257 if test "${enable_postscript+set}" = set; then
9258   enableval=$enable_postscript;
9259                           if test "$enableval" = yes; then
9260                             wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
9261                           else
9262                             wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
9263                           fi
9264
9265 else
9266
9267                           wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9268
9269 fi
9270
9271
9272           eval "$wx_cv_use_postscript"
9273
9274           if test x"$enablestring" = xdisable; then
9275             if test $wxUSE_POSTSCRIPT = no; then
9276               result=yes
9277             else
9278               result=no
9279             fi
9280           else
9281             result=$wxUSE_POSTSCRIPT
9282           fi
9283
9284           { echo "$as_me:$LINENO: result: $result" >&5
9285 echo "${ECHO_T}$result" >&6; }
9286
9287
9288           enablestring=
9289           defaultval=$wxUSE_ALL_FEATURES
9290           if test -z "$defaultval"; then
9291               if test x"$enablestring" = xdisable; then
9292                   defaultval=yes
9293               else
9294                   defaultval=no
9295               fi
9296           fi
9297
9298           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9299 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9300           # Check whether --enable-printarch was given.
9301 if test "${enable_printarch+set}" = set; then
9302   enableval=$enable_printarch;
9303                           if test "$enableval" = yes; then
9304                             wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
9305                           else
9306                             wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
9307                           fi
9308
9309 else
9310
9311                           wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9312
9313 fi
9314
9315
9316           eval "$wx_cv_use_printarch"
9317
9318           if test x"$enablestring" = xdisable; then
9319             if test $wxUSE_PRINTING_ARCHITECTURE = no; then
9320               result=yes
9321             else
9322               result=no
9323             fi
9324           else
9325             result=$wxUSE_PRINTING_ARCHITECTURE
9326           fi
9327
9328           { echo "$as_me:$LINENO: result: $result" >&5
9329 echo "${ECHO_T}$result" >&6; }
9330
9331
9332           enablestring=
9333           defaultval=$wxUSE_ALL_FEATURES
9334           if test -z "$defaultval"; then
9335               if test x"$enablestring" = xdisable; then
9336                   defaultval=yes
9337               else
9338                   defaultval=no
9339               fi
9340           fi
9341
9342           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
9343 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
9344           # Check whether --enable-svg was given.
9345 if test "${enable_svg+set}" = set; then
9346   enableval=$enable_svg;
9347                           if test "$enableval" = yes; then
9348                             wx_cv_use_svg='wxUSE_SVG=yes'
9349                           else
9350                             wx_cv_use_svg='wxUSE_SVG=no'
9351                           fi
9352
9353 else
9354
9355                           wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
9356
9357 fi
9358
9359
9360           eval "$wx_cv_use_svg"
9361
9362           if test x"$enablestring" = xdisable; then
9363             if test $wxUSE_SVG = no; then
9364               result=yes
9365             else
9366               result=no
9367             fi
9368           else
9369             result=$wxUSE_SVG
9370           fi
9371
9372           { echo "$as_me:$LINENO: result: $result" >&5
9373 echo "${ECHO_T}$result" >&6; }
9374
9375
9376
9377
9378           enablestring=
9379           defaultval=$wxUSE_ALL_FEATURES
9380           if test -z "$defaultval"; then
9381               if test x"$enablestring" = xdisable; then
9382                   defaultval=yes
9383               else
9384                   defaultval=no
9385               fi
9386           fi
9387
9388           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
9389 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
9390           # Check whether --enable-clipboard was given.
9391 if test "${enable_clipboard+set}" = set; then
9392   enableval=$enable_clipboard;
9393                           if test "$enableval" = yes; then
9394                             wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
9395                           else
9396                             wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
9397                           fi
9398
9399 else
9400
9401                           wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9402
9403 fi
9404
9405
9406           eval "$wx_cv_use_clipboard"
9407
9408           if test x"$enablestring" = xdisable; then
9409             if test $wxUSE_CLIPBOARD = no; then
9410               result=yes
9411             else
9412               result=no
9413             fi
9414           else
9415             result=$wxUSE_CLIPBOARD
9416           fi
9417
9418           { echo "$as_me:$LINENO: result: $result" >&5
9419 echo "${ECHO_T}$result" >&6; }
9420
9421
9422           enablestring=
9423           defaultval=$wxUSE_ALL_FEATURES
9424           if test -z "$defaultval"; then
9425               if test x"$enablestring" = xdisable; then
9426                   defaultval=yes
9427               else
9428                   defaultval=no
9429               fi
9430           fi
9431
9432           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
9433 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
9434           # Check whether --enable-dnd was given.
9435 if test "${enable_dnd+set}" = set; then
9436   enableval=$enable_dnd;
9437                           if test "$enableval" = yes; then
9438                             wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
9439                           else
9440                             wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
9441                           fi
9442
9443 else
9444
9445                           wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9446
9447 fi
9448
9449
9450           eval "$wx_cv_use_dnd"
9451
9452           if test x"$enablestring" = xdisable; then
9453             if test $wxUSE_DRAG_AND_DROP = no; then
9454               result=yes
9455             else
9456               result=no
9457             fi
9458           else
9459             result=$wxUSE_DRAG_AND_DROP
9460           fi
9461
9462           { echo "$as_me:$LINENO: result: $result" >&5
9463 echo "${ECHO_T}$result" >&6; }
9464
9465
9466           enablestring=
9467           defaultval=$wxUSE_ALL_FEATURES
9468           if test -z "$defaultval"; then
9469               if test x"$enablestring" = xdisable; then
9470                   defaultval=yes
9471               else
9472                   defaultval=no
9473               fi
9474           fi
9475
9476           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9477 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
9478           # Check whether --enable-metafile was given.
9479 if test "${enable_metafile+set}" = set; then
9480   enableval=$enable_metafile;
9481                           if test "$enableval" = yes; then
9482                             wx_cv_use_metafile='wxUSE_METAFILE=yes'
9483                           else
9484                             wx_cv_use_metafile='wxUSE_METAFILE=no'
9485                           fi
9486
9487 else
9488
9489                           wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
9490
9491 fi
9492
9493
9494           eval "$wx_cv_use_metafile"
9495
9496           if test x"$enablestring" = xdisable; then
9497             if test $wxUSE_METAFILE = no; then
9498               result=yes
9499             else
9500               result=no
9501             fi
9502           else
9503             result=$wxUSE_METAFILE
9504           fi
9505
9506           { echo "$as_me:$LINENO: result: $result" >&5
9507 echo "${ECHO_T}$result" >&6; }
9508
9509
9510
9511 DEFAULT_wxUSE_CONTROLS=none
9512
9513           enablestring=disable
9514           defaultval=
9515           if test -z "$defaultval"; then
9516               if test x"$enablestring" = xdisable; then
9517                   defaultval=yes
9518               else
9519                   defaultval=no
9520               fi
9521           fi
9522
9523           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
9524 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
9525           # Check whether --enable-controls was given.
9526 if test "${enable_controls+set}" = set; then
9527   enableval=$enable_controls;
9528                           if test "$enableval" = yes; then
9529                             wx_cv_use_controls='wxUSE_CONTROLS=yes'
9530                           else
9531                             wx_cv_use_controls='wxUSE_CONTROLS=no'
9532                           fi
9533
9534 else
9535
9536                           wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9537
9538 fi
9539
9540
9541           eval "$wx_cv_use_controls"
9542
9543           if test x"$enablestring" = xdisable; then
9544             if test $wxUSE_CONTROLS = no; then
9545               result=yes
9546             else
9547               result=no
9548             fi
9549           else
9550             result=$wxUSE_CONTROLS
9551           fi
9552
9553           { echo "$as_me:$LINENO: result: $result" >&5
9554 echo "${ECHO_T}$result" >&6; }
9555
9556
9557 if test "$wxUSE_CONTROLS" = "no"; then
9558     DEFAULT_wxUSE_ACCEL=no
9559     DEFAULT_wxUSE_ANIMATIONCTRL=no
9560     DEFAULT_wxUSE_BMPBUTTON=no
9561     DEFAULT_wxUSE_BUTTON=no
9562     DEFAULT_wxUSE_CALCTRL=no
9563     DEFAULT_wxUSE_CARET=no
9564     DEFAULT_wxUSE_CHECKBOX=no
9565     DEFAULT_wxUSE_CHECKLISTBOX=no
9566     DEFAULT_wxUSE_CHOICE=no
9567     DEFAULT_wxUSE_CHOICEBOOK=no
9568     DEFAULT_wxUSE_COLLPANE=no
9569     DEFAULT_wxUSE_COLOURPICKERCTRL=no
9570     DEFAULT_wxUSE_COMBOBOX=no
9571     DEFAULT_wxUSE_COMBOBOX=no
9572     DEFAULT_wxUSE_DATAVIEWCTRL=no
9573     DEFAULT_wxUSE_DATEPICKCTRL=no
9574     DEFAULT_wxUSE_DETECT_SM=no
9575     DEFAULT_wxUSE_DIRPICKERCTRL=no
9576     DEFAULT_wxUSE_DISPLAY=no
9577     DEFAULT_wxUSE_FILECTRL=no
9578     DEFAULT_wxUSE_FILEPICKERCTRL=no
9579     DEFAULT_wxUSE_FONTPICKERCTRL=no
9580     DEFAULT_wxUSE_GAUGE=no
9581     DEFAULT_wxUSE_GRID=no
9582     DEFAULT_wxUSE_HEADERCTRL=no
9583     DEFAULT_wxUSE_HYPERLINKCTRL=no
9584     DEFAULT_wxUSE_IMAGLIST=no
9585     DEFAULT_wxUSE_LISTBOOK=no
9586     DEFAULT_wxUSE_LISTBOX=no
9587     DEFAULT_wxUSE_LISTCTRL=no
9588     DEFAULT_wxUSE_NOTEBOOK=no
9589     DEFAULT_wxUSE_POPUPWIN=no
9590     DEFAULT_wxUSE_RADIOBOX=no
9591     DEFAULT_wxUSE_RADIOBTN=no
9592     DEFAULT_wxUSE_REARRANGECTRL=no
9593     DEFAULT_wxUSE_SASH=no
9594     DEFAULT_wxUSE_SCROLLBAR=no
9595     DEFAULT_wxUSE_SEARCHCTRL=no
9596     DEFAULT_wxUSE_SLIDER=no
9597     DEFAULT_wxUSE_SPINBTN=no
9598     DEFAULT_wxUSE_SPINCTRL=no
9599     DEFAULT_wxUSE_SPLITTER=no
9600     DEFAULT_wxUSE_STATBMP=no
9601     DEFAULT_wxUSE_STATBOX=no
9602     DEFAULT_wxUSE_STATLINE=no
9603     DEFAULT_wxUSE_STATUSBAR=no
9604     DEFAULT_wxUSE_TIPWINDOW=no
9605     DEFAULT_wxUSE_TOGGLEBTN=no
9606     DEFAULT_wxUSE_TOOLBAR=no
9607     DEFAULT_wxUSE_TOOLBAR_NATIVE=no
9608     DEFAULT_wxUSE_TOOLBOOK=no
9609     DEFAULT_wxUSE_TOOLTIPS=no
9610     DEFAULT_wxUSE_TREEBOOK=no
9611     DEFAULT_wxUSE_TREECTRL=no
9612 fi
9613
9614
9615           enablestring=
9616           defaultval=$wxUSE_ALL_FEATURES
9617           if test -z "$defaultval"; then
9618               if test x"$enablestring" = xdisable; then
9619                   defaultval=yes
9620               else
9621                   defaultval=no
9622               fi
9623           fi
9624
9625           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
9626 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
9627           # Check whether --enable-accel was given.
9628 if test "${enable_accel+set}" = set; then
9629   enableval=$enable_accel;
9630                           if test "$enableval" = yes; then
9631                             wx_cv_use_accel='wxUSE_ACCEL=yes'
9632                           else
9633                             wx_cv_use_accel='wxUSE_ACCEL=no'
9634                           fi
9635
9636 else
9637
9638                           wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
9639
9640 fi
9641
9642
9643           eval "$wx_cv_use_accel"
9644
9645           if test x"$enablestring" = xdisable; then
9646             if test $wxUSE_ACCEL = no; then
9647               result=yes
9648             else
9649               result=no
9650             fi
9651           else
9652             result=$wxUSE_ACCEL
9653           fi
9654
9655           { echo "$as_me:$LINENO: result: $result" >&5
9656 echo "${ECHO_T}$result" >&6; }
9657
9658
9659           enablestring=
9660           defaultval=$wxUSE_ALL_FEATURES
9661           if test -z "$defaultval"; then
9662               if test x"$enablestring" = xdisable; then
9663                   defaultval=yes
9664               else
9665                   defaultval=no
9666               fi
9667           fi
9668
9669           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
9670 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
9671           # Check whether --enable-animatectrl was given.
9672 if test "${enable_animatectrl+set}" = set; then
9673   enableval=$enable_animatectrl;
9674                           if test "$enableval" = yes; then
9675                             wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
9676                           else
9677                             wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
9678                           fi
9679
9680 else
9681
9682                           wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
9683
9684 fi
9685
9686
9687           eval "$wx_cv_use_animatectrl"
9688
9689           if test x"$enablestring" = xdisable; then
9690             if test $wxUSE_ANIMATIONCTRL = no; then
9691               result=yes
9692             else
9693               result=no
9694             fi
9695           else
9696             result=$wxUSE_ANIMATIONCTRL
9697           fi
9698
9699           { echo "$as_me:$LINENO: result: $result" >&5
9700 echo "${ECHO_T}$result" >&6; }
9701
9702
9703           enablestring=
9704           defaultval=$wxUSE_ALL_FEATURES
9705           if test -z "$defaultval"; then
9706               if test x"$enablestring" = xdisable; then
9707                   defaultval=yes
9708               else
9709                   defaultval=no
9710               fi
9711           fi
9712
9713           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
9714 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
9715           # Check whether --enable-bmpbutton was given.
9716 if test "${enable_bmpbutton+set}" = set; then
9717   enableval=$enable_bmpbutton;
9718                           if test "$enableval" = yes; then
9719                             wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
9720                           else
9721                             wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
9722                           fi
9723
9724 else
9725
9726                           wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
9727
9728 fi
9729
9730
9731           eval "$wx_cv_use_bmpbutton"
9732
9733           if test x"$enablestring" = xdisable; then
9734             if test $wxUSE_BMPBUTTON = no; then
9735               result=yes
9736             else
9737               result=no
9738             fi
9739           else
9740             result=$wxUSE_BMPBUTTON
9741           fi
9742
9743           { echo "$as_me:$LINENO: result: $result" >&5
9744 echo "${ECHO_T}$result" >&6; }
9745
9746
9747           enablestring=
9748           defaultval=$wxUSE_ALL_FEATURES
9749           if test -z "$defaultval"; then
9750               if test x"$enablestring" = xdisable; then
9751                   defaultval=yes
9752               else
9753                   defaultval=no
9754               fi
9755           fi
9756
9757           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
9758 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
9759           # Check whether --enable-bmpcombobox was given.
9760 if test "${enable_bmpcombobox+set}" = set; then
9761   enableval=$enable_bmpcombobox;
9762                           if test "$enableval" = yes; then
9763                             wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
9764                           else
9765                             wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
9766                           fi
9767
9768 else
9769
9770                           wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
9771
9772 fi
9773
9774
9775           eval "$wx_cv_use_bmpcombobox"
9776
9777           if test x"$enablestring" = xdisable; then
9778             if test $wxUSE_BITMAPCOMBOBOX = no; then
9779               result=yes
9780             else
9781               result=no
9782             fi
9783           else
9784             result=$wxUSE_BITMAPCOMBOBOX
9785           fi
9786
9787           { echo "$as_me:$LINENO: result: $result" >&5
9788 echo "${ECHO_T}$result" >&6; }
9789
9790
9791           enablestring=
9792           defaultval=$wxUSE_ALL_FEATURES
9793           if test -z "$defaultval"; then
9794               if test x"$enablestring" = xdisable; then
9795                   defaultval=yes
9796               else
9797                   defaultval=no
9798               fi
9799           fi
9800
9801           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
9802 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
9803           # Check whether --enable-button was given.
9804 if test "${enable_button+set}" = set; then
9805   enableval=$enable_button;
9806                           if test "$enableval" = yes; then
9807                             wx_cv_use_button='wxUSE_BUTTON=yes'
9808                           else
9809                             wx_cv_use_button='wxUSE_BUTTON=no'
9810                           fi
9811
9812 else
9813
9814                           wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
9815
9816 fi
9817
9818
9819           eval "$wx_cv_use_button"
9820
9821           if test x"$enablestring" = xdisable; then
9822             if test $wxUSE_BUTTON = no; then
9823               result=yes
9824             else
9825               result=no
9826             fi
9827           else
9828             result=$wxUSE_BUTTON
9829           fi
9830
9831           { echo "$as_me:$LINENO: result: $result" >&5
9832 echo "${ECHO_T}$result" >&6; }
9833
9834
9835           enablestring=
9836           defaultval=$wxUSE_ALL_FEATURES
9837           if test -z "$defaultval"; then
9838               if test x"$enablestring" = xdisable; then
9839                   defaultval=yes
9840               else
9841                   defaultval=no
9842               fi
9843           fi
9844
9845           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
9846 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
9847           # Check whether --enable-calendar was given.
9848 if test "${enable_calendar+set}" = set; then
9849   enableval=$enable_calendar;
9850                           if test "$enableval" = yes; then
9851                             wx_cv_use_calendar='wxUSE_CALCTRL=yes'
9852                           else
9853                             wx_cv_use_calendar='wxUSE_CALCTRL=no'
9854                           fi
9855
9856 else
9857
9858                           wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
9859
9860 fi
9861
9862
9863           eval "$wx_cv_use_calendar"
9864
9865           if test x"$enablestring" = xdisable; then
9866             if test $wxUSE_CALCTRL = no; then
9867               result=yes
9868             else
9869               result=no
9870             fi
9871           else
9872             result=$wxUSE_CALCTRL
9873           fi
9874
9875           { echo "$as_me:$LINENO: result: $result" >&5
9876 echo "${ECHO_T}$result" >&6; }
9877
9878
9879           enablestring=
9880           defaultval=$wxUSE_ALL_FEATURES
9881           if test -z "$defaultval"; then
9882               if test x"$enablestring" = xdisable; then
9883                   defaultval=yes
9884               else
9885                   defaultval=no
9886               fi
9887           fi
9888
9889           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
9890 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
9891           # Check whether --enable-caret was given.
9892 if test "${enable_caret+set}" = set; then
9893   enableval=$enable_caret;
9894                           if test "$enableval" = yes; then
9895                             wx_cv_use_caret='wxUSE_CARET=yes'
9896                           else
9897                             wx_cv_use_caret='wxUSE_CARET=no'
9898                           fi
9899
9900 else
9901
9902                           wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
9903
9904 fi
9905
9906
9907           eval "$wx_cv_use_caret"
9908
9909           if test x"$enablestring" = xdisable; then
9910             if test $wxUSE_CARET = no; then
9911               result=yes
9912             else
9913               result=no
9914             fi
9915           else
9916             result=$wxUSE_CARET
9917           fi
9918
9919           { echo "$as_me:$LINENO: result: $result" >&5
9920 echo "${ECHO_T}$result" >&6; }
9921
9922
9923           enablestring=
9924           defaultval=$wxUSE_ALL_FEATURES
9925           if test -z "$defaultval"; then
9926               if test x"$enablestring" = xdisable; then
9927                   defaultval=yes
9928               else
9929                   defaultval=no
9930               fi
9931           fi
9932
9933           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
9934 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
9935           # Check whether --enable-checkbox was given.
9936 if test "${enable_checkbox+set}" = set; then
9937   enableval=$enable_checkbox;
9938                           if test "$enableval" = yes; then
9939                             wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
9940                           else
9941                             wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
9942                           fi
9943
9944 else
9945
9946                           wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
9947
9948 fi
9949
9950
9951           eval "$wx_cv_use_checkbox"
9952
9953           if test x"$enablestring" = xdisable; then
9954             if test $wxUSE_CHECKBOX = no; then
9955               result=yes
9956             else
9957               result=no
9958             fi
9959           else
9960             result=$wxUSE_CHECKBOX
9961           fi
9962
9963           { echo "$as_me:$LINENO: result: $result" >&5
9964 echo "${ECHO_T}$result" >&6; }
9965
9966
9967           enablestring=
9968           defaultval=$wxUSE_ALL_FEATURES
9969           if test -z "$defaultval"; then
9970               if test x"$enablestring" = xdisable; then
9971                   defaultval=yes
9972               else
9973                   defaultval=no
9974               fi
9975           fi
9976
9977           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
9978 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
9979           # Check whether --enable-checklst was given.
9980 if test "${enable_checklst+set}" = set; then
9981   enableval=$enable_checklst;
9982                           if test "$enableval" = yes; then
9983                             wx_cv_use_checklst='wxUSE_CHECKLST=yes'
9984                           else
9985                             wx_cv_use_checklst='wxUSE_CHECKLST=no'
9986                           fi
9987
9988 else
9989
9990                           wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
9991
9992 fi
9993
9994
9995           eval "$wx_cv_use_checklst"
9996
9997           if test x"$enablestring" = xdisable; then
9998             if test $wxUSE_CHECKLST = no; then
9999               result=yes
10000             else
10001               result=no
10002             fi
10003           else
10004             result=$wxUSE_CHECKLST
10005           fi
10006
10007           { echo "$as_me:$LINENO: result: $result" >&5
10008 echo "${ECHO_T}$result" >&6; }
10009
10010
10011           enablestring=
10012           defaultval=$wxUSE_ALL_FEATURES
10013           if test -z "$defaultval"; then
10014               if test x"$enablestring" = xdisable; then
10015                   defaultval=yes
10016               else
10017                   defaultval=no
10018               fi
10019           fi
10020
10021           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
10022 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
10023           # Check whether --enable-choice was given.
10024 if test "${enable_choice+set}" = set; then
10025   enableval=$enable_choice;
10026                           if test "$enableval" = yes; then
10027                             wx_cv_use_choice='wxUSE_CHOICE=yes'
10028                           else
10029                             wx_cv_use_choice='wxUSE_CHOICE=no'
10030                           fi
10031
10032 else
10033
10034                           wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
10035
10036 fi
10037
10038
10039           eval "$wx_cv_use_choice"
10040
10041           if test x"$enablestring" = xdisable; then
10042             if test $wxUSE_CHOICE = no; then
10043               result=yes
10044             else
10045               result=no
10046             fi
10047           else
10048             result=$wxUSE_CHOICE
10049           fi
10050
10051           { echo "$as_me:$LINENO: result: $result" >&5
10052 echo "${ECHO_T}$result" >&6; }
10053
10054
10055           enablestring=
10056           defaultval=$wxUSE_ALL_FEATURES
10057           if test -z "$defaultval"; then
10058               if test x"$enablestring" = xdisable; then
10059                   defaultval=yes
10060               else
10061                   defaultval=no
10062               fi
10063           fi
10064
10065           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
10066 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
10067           # Check whether --enable-choicebook was given.
10068 if test "${enable_choicebook+set}" = set; then
10069   enableval=$enable_choicebook;
10070                           if test "$enableval" = yes; then
10071                             wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
10072                           else
10073                             wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
10074                           fi
10075
10076 else
10077
10078                           wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
10079
10080 fi
10081
10082
10083           eval "$wx_cv_use_choicebook"
10084
10085           if test x"$enablestring" = xdisable; then
10086             if test $wxUSE_CHOICEBOOK = no; then
10087               result=yes
10088             else
10089               result=no
10090             fi
10091           else
10092             result=$wxUSE_CHOICEBOOK
10093           fi
10094
10095           { echo "$as_me:$LINENO: result: $result" >&5
10096 echo "${ECHO_T}$result" >&6; }
10097
10098
10099           enablestring=
10100           defaultval=$wxUSE_ALL_FEATURES
10101           if test -z "$defaultval"; then
10102               if test x"$enablestring" = xdisable; then
10103                   defaultval=yes
10104               else
10105                   defaultval=no
10106               fi
10107           fi
10108
10109           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
10110 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
10111           # Check whether --enable-collpane was given.
10112 if test "${enable_collpane+set}" = set; then
10113   enableval=$enable_collpane;
10114                           if test "$enableval" = yes; then
10115                             wx_cv_use_collpane='wxUSE_COLLPANE=yes'
10116                           else
10117                             wx_cv_use_collpane='wxUSE_COLLPANE=no'
10118                           fi
10119
10120 else
10121
10122                           wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
10123
10124 fi
10125
10126
10127           eval "$wx_cv_use_collpane"
10128
10129           if test x"$enablestring" = xdisable; then
10130             if test $wxUSE_COLLPANE = no; then
10131               result=yes
10132             else
10133               result=no
10134             fi
10135           else
10136             result=$wxUSE_COLLPANE
10137           fi
10138
10139           { echo "$as_me:$LINENO: result: $result" >&5
10140 echo "${ECHO_T}$result" >&6; }
10141
10142
10143           enablestring=
10144           defaultval=$wxUSE_ALL_FEATURES
10145           if test -z "$defaultval"; then
10146               if test x"$enablestring" = xdisable; then
10147                   defaultval=yes
10148               else
10149                   defaultval=no
10150               fi
10151           fi
10152
10153           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
10154 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
10155           # Check whether --enable-colourpicker was given.
10156 if test "${enable_colourpicker+set}" = set; then
10157   enableval=$enable_colourpicker;
10158                           if test "$enableval" = yes; then
10159                             wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
10160                           else
10161                             wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
10162                           fi
10163
10164 else
10165
10166                           wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
10167
10168 fi
10169
10170
10171           eval "$wx_cv_use_colourpicker"
10172
10173           if test x"$enablestring" = xdisable; then
10174             if test $wxUSE_COLOURPICKERCTRL = no; then
10175               result=yes
10176             else
10177               result=no
10178             fi
10179           else
10180             result=$wxUSE_COLOURPICKERCTRL
10181           fi
10182
10183           { echo "$as_me:$LINENO: result: $result" >&5
10184 echo "${ECHO_T}$result" >&6; }
10185
10186
10187           enablestring=
10188           defaultval=$wxUSE_ALL_FEATURES
10189           if test -z "$defaultval"; then
10190               if test x"$enablestring" = xdisable; then
10191                   defaultval=yes
10192               else
10193                   defaultval=no
10194               fi
10195           fi
10196
10197           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
10198 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
10199           # Check whether --enable-combobox was given.
10200 if test "${enable_combobox+set}" = set; then
10201   enableval=$enable_combobox;
10202                           if test "$enableval" = yes; then
10203                             wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
10204                           else
10205                             wx_cv_use_combobox='wxUSE_COMBOBOX=no'
10206                           fi
10207
10208 else
10209
10210                           wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
10211
10212 fi
10213
10214
10215           eval "$wx_cv_use_combobox"
10216
10217           if test x"$enablestring" = xdisable; then
10218             if test $wxUSE_COMBOBOX = no; then
10219               result=yes
10220             else
10221               result=no
10222             fi
10223           else
10224             result=$wxUSE_COMBOBOX
10225           fi
10226
10227           { echo "$as_me:$LINENO: result: $result" >&5
10228 echo "${ECHO_T}$result" >&6; }
10229
10230
10231           enablestring=
10232           defaultval=$wxUSE_ALL_FEATURES
10233           if test -z "$defaultval"; then
10234               if test x"$enablestring" = xdisable; then
10235                   defaultval=yes
10236               else
10237                   defaultval=no
10238               fi
10239           fi
10240
10241           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
10242 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
10243           # Check whether --enable-comboctrl was given.
10244 if test "${enable_comboctrl+set}" = set; then
10245   enableval=$enable_comboctrl;
10246                           if test "$enableval" = yes; then
10247                             wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
10248                           else
10249                             wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
10250                           fi
10251
10252 else
10253
10254                           wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
10255
10256 fi
10257
10258
10259           eval "$wx_cv_use_comboctrl"
10260
10261           if test x"$enablestring" = xdisable; then
10262             if test $wxUSE_COMBOCTRL = no; then
10263               result=yes
10264             else
10265               result=no
10266             fi
10267           else
10268             result=$wxUSE_COMBOCTRL
10269           fi
10270
10271           { echo "$as_me:$LINENO: result: $result" >&5
10272 echo "${ECHO_T}$result" >&6; }
10273
10274
10275           enablestring=
10276           defaultval=$wxUSE_ALL_FEATURES
10277           if test -z "$defaultval"; then
10278               if test x"$enablestring" = xdisable; then
10279                   defaultval=yes
10280               else
10281                   defaultval=no
10282               fi
10283           fi
10284
10285           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
10286 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
10287           # Check whether --enable-dataviewctrl was given.
10288 if test "${enable_dataviewctrl+set}" = set; then
10289   enableval=$enable_dataviewctrl;
10290                           if test "$enableval" = yes; then
10291                             wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
10292                           else
10293                             wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
10294                           fi
10295
10296 else
10297
10298                           wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10299
10300 fi
10301
10302
10303           eval "$wx_cv_use_dataviewctrl"
10304
10305           if test x"$enablestring" = xdisable; then
10306             if test $wxUSE_DATAVIEWCTRL = no; then
10307               result=yes
10308             else
10309               result=no
10310             fi
10311           else
10312             result=$wxUSE_DATAVIEWCTRL
10313           fi
10314
10315           { echo "$as_me:$LINENO: result: $result" >&5
10316 echo "${ECHO_T}$result" >&6; }
10317
10318
10319           enablestring=
10320           defaultval=$wxUSE_ALL_FEATURES
10321           if test -z "$defaultval"; then
10322               if test x"$enablestring" = xdisable; then
10323                   defaultval=yes
10324               else
10325                   defaultval=no
10326               fi
10327           fi
10328
10329           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
10330 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
10331           # Check whether --enable-datepick was given.
10332 if test "${enable_datepick+set}" = set; then
10333   enableval=$enable_datepick;
10334                           if test "$enableval" = yes; then
10335                             wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
10336                           else
10337                             wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
10338                           fi
10339
10340 else
10341
10342                           wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
10343
10344 fi
10345
10346
10347           eval "$wx_cv_use_datepick"
10348
10349           if test x"$enablestring" = xdisable; then
10350             if test $wxUSE_DATEPICKCTRL = no; then
10351               result=yes
10352             else
10353               result=no
10354             fi
10355           else
10356             result=$wxUSE_DATEPICKCTRL
10357           fi
10358
10359           { echo "$as_me:$LINENO: result: $result" >&5
10360 echo "${ECHO_T}$result" >&6; }
10361
10362
10363           enablestring=
10364           defaultval=$wxUSE_ALL_FEATURES
10365           if test -z "$defaultval"; then
10366               if test x"$enablestring" = xdisable; then
10367                   defaultval=yes
10368               else
10369                   defaultval=no
10370               fi
10371           fi
10372
10373           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
10374 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
10375           # Check whether --enable-detect_sm was given.
10376 if test "${enable_detect_sm+set}" = set; then
10377   enableval=$enable_detect_sm;
10378                           if test "$enableval" = yes; then
10379                             wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
10380                           else
10381                             wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
10382                           fi
10383
10384 else
10385
10386                           wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10387
10388 fi
10389
10390
10391           eval "$wx_cv_use_detect_sm"
10392
10393           if test x"$enablestring" = xdisable; then
10394             if test $wxUSE_DETECT_SM = no; then
10395               result=yes
10396             else
10397               result=no
10398             fi
10399           else
10400             result=$wxUSE_DETECT_SM
10401           fi
10402
10403           { echo "$as_me:$LINENO: result: $result" >&5
10404 echo "${ECHO_T}$result" >&6; }
10405
10406
10407           enablestring=
10408           defaultval=$wxUSE_ALL_FEATURES
10409           if test -z "$defaultval"; then
10410               if test x"$enablestring" = xdisable; then
10411                   defaultval=yes
10412               else
10413                   defaultval=no
10414               fi
10415           fi
10416
10417           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
10418 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
10419           # Check whether --enable-dirpicker was given.
10420 if test "${enable_dirpicker+set}" = set; then
10421   enableval=$enable_dirpicker;
10422                           if test "$enableval" = yes; then
10423                             wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
10424                           else
10425                             wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
10426                           fi
10427
10428 else
10429
10430                           wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
10431
10432 fi
10433
10434
10435           eval "$wx_cv_use_dirpicker"
10436
10437           if test x"$enablestring" = xdisable; then
10438             if test $wxUSE_DIRPICKERCTRL = no; then
10439               result=yes
10440             else
10441               result=no
10442             fi
10443           else
10444             result=$wxUSE_DIRPICKERCTRL
10445           fi
10446
10447           { echo "$as_me:$LINENO: result: $result" >&5
10448 echo "${ECHO_T}$result" >&6; }
10449
10450
10451           enablestring=
10452           defaultval=$wxUSE_ALL_FEATURES
10453           if test -z "$defaultval"; then
10454               if test x"$enablestring" = xdisable; then
10455                   defaultval=yes
10456               else
10457                   defaultval=no
10458               fi
10459           fi
10460
10461           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
10462 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
10463           # Check whether --enable-display was given.
10464 if test "${enable_display+set}" = set; then
10465   enableval=$enable_display;
10466                           if test "$enableval" = yes; then
10467                             wx_cv_use_display='wxUSE_DISPLAY=yes'
10468                           else
10469                             wx_cv_use_display='wxUSE_DISPLAY=no'
10470                           fi
10471
10472 else
10473
10474                           wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
10475
10476 fi
10477
10478
10479           eval "$wx_cv_use_display"
10480
10481           if test x"$enablestring" = xdisable; then
10482             if test $wxUSE_DISPLAY = no; then
10483               result=yes
10484             else
10485               result=no
10486             fi
10487           else
10488             result=$wxUSE_DISPLAY
10489           fi
10490
10491           { echo "$as_me:$LINENO: result: $result" >&5
10492 echo "${ECHO_T}$result" >&6; }
10493
10494
10495           enablestring=
10496           defaultval=$wxUSE_ALL_FEATURES
10497           if test -z "$defaultval"; then
10498               if test x"$enablestring" = xdisable; then
10499                   defaultval=yes
10500               else
10501                   defaultval=no
10502               fi
10503           fi
10504
10505           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
10506 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
10507           # Check whether --enable-editablebox was given.
10508 if test "${enable_editablebox+set}" = set; then
10509   enableval=$enable_editablebox;
10510                           if test "$enableval" = yes; then
10511                             wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
10512                           else
10513                             wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
10514                           fi
10515
10516 else
10517
10518                           wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
10519
10520 fi
10521
10522
10523           eval "$wx_cv_use_editablebox"
10524
10525           if test x"$enablestring" = xdisable; then
10526             if test $wxUSE_EDITABLELISTBOX = no; then
10527               result=yes
10528             else
10529               result=no
10530             fi
10531           else
10532             result=$wxUSE_EDITABLELISTBOX
10533           fi
10534
10535           { echo "$as_me:$LINENO: result: $result" >&5
10536 echo "${ECHO_T}$result" >&6; }
10537
10538
10539           enablestring=
10540           defaultval=$wxUSE_ALL_FEATURES
10541           if test -z "$defaultval"; then
10542               if test x"$enablestring" = xdisable; then
10543                   defaultval=yes
10544               else
10545                   defaultval=no
10546               fi
10547           fi
10548
10549           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filectrl" >&5
10550 echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
10551           # Check whether --enable-filectrl was given.
10552 if test "${enable_filectrl+set}" = set; then
10553   enableval=$enable_filectrl;
10554                           if test "$enableval" = yes; then
10555                             wx_cv_use_filectrl='wxUSE_FILECTRL=yes'
10556                           else
10557                             wx_cv_use_filectrl='wxUSE_FILECTRL=no'
10558                           fi
10559
10560 else
10561
10562                           wx_cv_use_filectrl='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
10563
10564 fi
10565
10566
10567           eval "$wx_cv_use_filectrl"
10568
10569           if test x"$enablestring" = xdisable; then
10570             if test $wxUSE_FILECTRL = no; then
10571               result=yes
10572             else
10573               result=no
10574             fi
10575           else
10576             result=$wxUSE_FILECTRL
10577           fi
10578
10579           { echo "$as_me:$LINENO: result: $result" >&5
10580 echo "${ECHO_T}$result" >&6; }
10581
10582
10583           enablestring=
10584           defaultval=$wxUSE_ALL_FEATURES
10585           if test -z "$defaultval"; then
10586               if test x"$enablestring" = xdisable; then
10587                   defaultval=yes
10588               else
10589                   defaultval=no
10590               fi
10591           fi
10592
10593           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
10594 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
10595           # Check whether --enable-filepicker was given.
10596 if test "${enable_filepicker+set}" = set; then
10597   enableval=$enable_filepicker;
10598                           if test "$enableval" = yes; then
10599                             wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
10600                           else
10601                             wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
10602                           fi
10603
10604 else
10605
10606                           wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
10607
10608 fi
10609
10610
10611           eval "$wx_cv_use_filepicker"
10612
10613           if test x"$enablestring" = xdisable; then
10614             if test $wxUSE_FILEPICKERCTRL = no; then
10615               result=yes
10616             else
10617               result=no
10618             fi
10619           else
10620             result=$wxUSE_FILEPICKERCTRL
10621           fi
10622
10623           { echo "$as_me:$LINENO: result: $result" >&5
10624 echo "${ECHO_T}$result" >&6; }
10625
10626
10627           enablestring=
10628           defaultval=$wxUSE_ALL_FEATURES
10629           if test -z "$defaultval"; then
10630               if test x"$enablestring" = xdisable; then
10631                   defaultval=yes
10632               else
10633                   defaultval=no
10634               fi
10635           fi
10636
10637           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
10638 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
10639           # Check whether --enable-fontpicker was given.
10640 if test "${enable_fontpicker+set}" = set; then
10641   enableval=$enable_fontpicker;
10642                           if test "$enableval" = yes; then
10643                             wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
10644                           else
10645                             wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
10646                           fi
10647
10648 else
10649
10650                           wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
10651
10652 fi
10653
10654
10655           eval "$wx_cv_use_fontpicker"
10656
10657           if test x"$enablestring" = xdisable; then
10658             if test $wxUSE_FONTPICKERCTRL = no; then
10659               result=yes
10660             else
10661               result=no
10662             fi
10663           else
10664             result=$wxUSE_FONTPICKERCTRL
10665           fi
10666
10667           { echo "$as_me:$LINENO: result: $result" >&5
10668 echo "${ECHO_T}$result" >&6; }
10669
10670
10671           enablestring=
10672           defaultval=$wxUSE_ALL_FEATURES
10673           if test -z "$defaultval"; then
10674               if test x"$enablestring" = xdisable; then
10675                   defaultval=yes
10676               else
10677                   defaultval=no
10678               fi
10679           fi
10680
10681           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
10682 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
10683           # Check whether --enable-gauge was given.
10684 if test "${enable_gauge+set}" = set; then
10685   enableval=$enable_gauge;
10686                           if test "$enableval" = yes; then
10687                             wx_cv_use_gauge='wxUSE_GAUGE=yes'
10688                           else
10689                             wx_cv_use_gauge='wxUSE_GAUGE=no'
10690                           fi
10691
10692 else
10693
10694                           wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
10695
10696 fi
10697
10698
10699           eval "$wx_cv_use_gauge"
10700
10701           if test x"$enablestring" = xdisable; then
10702             if test $wxUSE_GAUGE = no; then
10703               result=yes
10704             else
10705               result=no
10706             fi
10707           else
10708             result=$wxUSE_GAUGE
10709           fi
10710
10711           { echo "$as_me:$LINENO: result: $result" >&5
10712 echo "${ECHO_T}$result" >&6; }
10713
10714
10715           enablestring=
10716           defaultval=$wxUSE_ALL_FEATURES
10717           if test -z "$defaultval"; then
10718               if test x"$enablestring" = xdisable; then
10719                   defaultval=yes
10720               else
10721                   defaultval=no
10722               fi
10723           fi
10724
10725           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
10726 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
10727           # Check whether --enable-grid was given.
10728 if test "${enable_grid+set}" = set; then
10729   enableval=$enable_grid;
10730                           if test "$enableval" = yes; then
10731                             wx_cv_use_grid='wxUSE_GRID=yes'
10732                           else
10733                             wx_cv_use_grid='wxUSE_GRID=no'
10734                           fi
10735
10736 else
10737
10738                           wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
10739
10740 fi
10741
10742
10743           eval "$wx_cv_use_grid"
10744
10745           if test x"$enablestring" = xdisable; then
10746             if test $wxUSE_GRID = no; then
10747               result=yes
10748             else
10749               result=no
10750             fi
10751           else
10752             result=$wxUSE_GRID
10753           fi
10754
10755           { echo "$as_me:$LINENO: result: $result" >&5
10756 echo "${ECHO_T}$result" >&6; }
10757
10758
10759           enablestring=
10760           defaultval=$wxUSE_ALL_FEATURES
10761           if test -z "$defaultval"; then
10762               if test x"$enablestring" = xdisable; then
10763                   defaultval=yes
10764               else
10765                   defaultval=no
10766               fi
10767           fi
10768
10769           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-headerctrl" >&5
10770 echo $ECHO_N "checking for --${enablestring:-enable}-headerctrl... $ECHO_C" >&6; }
10771           # Check whether --enable-headerctrl was given.
10772 if test "${enable_headerctrl+set}" = set; then
10773   enableval=$enable_headerctrl;
10774                           if test "$enableval" = yes; then
10775                             wx_cv_use_headerctrl='wxUSE_HEADERCTRL=yes'
10776                           else
10777                             wx_cv_use_headerctrl='wxUSE_HEADERCTRL=no'
10778                           fi
10779
10780 else
10781
10782                           wx_cv_use_headerctrl='wxUSE_HEADERCTRL=${'DEFAULT_wxUSE_HEADERCTRL":-$defaultval}"
10783
10784 fi
10785
10786
10787           eval "$wx_cv_use_headerctrl"
10788
10789           if test x"$enablestring" = xdisable; then
10790             if test $wxUSE_HEADERCTRL = no; then
10791               result=yes
10792             else
10793               result=no
10794             fi
10795           else
10796             result=$wxUSE_HEADERCTRL
10797           fi
10798
10799           { echo "$as_me:$LINENO: result: $result" >&5
10800 echo "${ECHO_T}$result" >&6; }
10801
10802
10803           enablestring=
10804           defaultval=$wxUSE_ALL_FEATURES
10805           if test -z "$defaultval"; then
10806               if test x"$enablestring" = xdisable; then
10807                   defaultval=yes
10808               else
10809                   defaultval=no
10810               fi
10811           fi
10812
10813           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
10814 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
10815           # Check whether --enable-hyperlink was given.
10816 if test "${enable_hyperlink+set}" = set; then
10817   enableval=$enable_hyperlink;
10818                           if test "$enableval" = yes; then
10819                             wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
10820                           else
10821                             wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
10822                           fi
10823
10824 else
10825
10826                           wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
10827
10828 fi
10829
10830
10831           eval "$wx_cv_use_hyperlink"
10832
10833           if test x"$enablestring" = xdisable; then
10834             if test $wxUSE_HYPERLINKCTRL = no; then
10835               result=yes
10836             else
10837               result=no
10838             fi
10839           else
10840             result=$wxUSE_HYPERLINKCTRL
10841           fi
10842
10843           { echo "$as_me:$LINENO: result: $result" >&5
10844 echo "${ECHO_T}$result" >&6; }
10845
10846
10847           enablestring=
10848           defaultval=$wxUSE_ALL_FEATURES
10849           if test -z "$defaultval"; then
10850               if test x"$enablestring" = xdisable; then
10851                   defaultval=yes
10852               else
10853                   defaultval=no
10854               fi
10855           fi
10856
10857           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
10858 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
10859           # Check whether --enable-imaglist was given.
10860 if test "${enable_imaglist+set}" = set; then
10861   enableval=$enable_imaglist;
10862                           if test "$enableval" = yes; then
10863                             wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
10864                           else
10865                             wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
10866                           fi
10867
10868 else
10869
10870                           wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
10871
10872 fi
10873
10874
10875           eval "$wx_cv_use_imaglist"
10876
10877           if test x"$enablestring" = xdisable; then
10878             if test $wxUSE_IMAGLIST = no; then
10879               result=yes
10880             else
10881               result=no
10882             fi
10883           else
10884             result=$wxUSE_IMAGLIST
10885           fi
10886
10887           { echo "$as_me:$LINENO: result: $result" >&5
10888 echo "${ECHO_T}$result" >&6; }
10889
10890
10891           enablestring=
10892           defaultval=$wxUSE_ALL_FEATURES
10893           if test -z "$defaultval"; then
10894               if test x"$enablestring" = xdisable; then
10895                   defaultval=yes
10896               else
10897                   defaultval=no
10898               fi
10899           fi
10900
10901           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-infobar" >&5
10902 echo $ECHO_N "checking for --${enablestring:-enable}-infobar... $ECHO_C" >&6; }
10903           # Check whether --enable-infobar was given.
10904 if test "${enable_infobar+set}" = set; then
10905   enableval=$enable_infobar;
10906                           if test "$enableval" = yes; then
10907                             wx_cv_use_infobar='wxUSE_INFOBAR=yes'
10908                           else
10909                             wx_cv_use_infobar='wxUSE_INFOBAR=no'
10910                           fi
10911
10912 else
10913
10914                           wx_cv_use_infobar='wxUSE_INFOBAR=${'DEFAULT_wxUSE_INFOBAR":-$defaultval}"
10915
10916 fi
10917
10918
10919           eval "$wx_cv_use_infobar"
10920
10921           if test x"$enablestring" = xdisable; then
10922             if test $wxUSE_INFOBAR = no; then
10923               result=yes
10924             else
10925               result=no
10926             fi
10927           else
10928             result=$wxUSE_INFOBAR
10929           fi
10930
10931           { echo "$as_me:$LINENO: result: $result" >&5
10932 echo "${ECHO_T}$result" >&6; }
10933
10934
10935           enablestring=
10936           defaultval=$wxUSE_ALL_FEATURES
10937           if test -z "$defaultval"; then
10938               if test x"$enablestring" = xdisable; then
10939                   defaultval=yes
10940               else
10941                   defaultval=no
10942               fi
10943           fi
10944
10945           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
10946 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
10947           # Check whether --enable-listbook was given.
10948 if test "${enable_listbook+set}" = set; then
10949   enableval=$enable_listbook;
10950                           if test "$enableval" = yes; then
10951                             wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
10952                           else
10953                             wx_cv_use_listbook='wxUSE_LISTBOOK=no'
10954                           fi
10955
10956 else
10957
10958                           wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
10959
10960 fi
10961
10962
10963           eval "$wx_cv_use_listbook"
10964
10965           if test x"$enablestring" = xdisable; then
10966             if test $wxUSE_LISTBOOK = no; then
10967               result=yes
10968             else
10969               result=no
10970             fi
10971           else
10972             result=$wxUSE_LISTBOOK
10973           fi
10974
10975           { echo "$as_me:$LINENO: result: $result" >&5
10976 echo "${ECHO_T}$result" >&6; }
10977
10978
10979           enablestring=
10980           defaultval=$wxUSE_ALL_FEATURES
10981           if test -z "$defaultval"; then
10982               if test x"$enablestring" = xdisable; then
10983                   defaultval=yes
10984               else
10985                   defaultval=no
10986               fi
10987           fi
10988
10989           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
10990 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
10991           # Check whether --enable-listbox was given.
10992 if test "${enable_listbox+set}" = set; then
10993   enableval=$enable_listbox;
10994                           if test "$enableval" = yes; then
10995                             wx_cv_use_listbox='wxUSE_LISTBOX=yes'
10996                           else
10997                             wx_cv_use_listbox='wxUSE_LISTBOX=no'
10998                           fi
10999
11000 else
11001
11002                           wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
11003
11004 fi
11005
11006
11007           eval "$wx_cv_use_listbox"
11008
11009           if test x"$enablestring" = xdisable; then
11010             if test $wxUSE_LISTBOX = no; then
11011               result=yes
11012             else
11013               result=no
11014             fi
11015           else
11016             result=$wxUSE_LISTBOX
11017           fi
11018
11019           { echo "$as_me:$LINENO: result: $result" >&5
11020 echo "${ECHO_T}$result" >&6; }
11021
11022
11023           enablestring=
11024           defaultval=$wxUSE_ALL_FEATURES
11025           if test -z "$defaultval"; then
11026               if test x"$enablestring" = xdisable; then
11027                   defaultval=yes
11028               else
11029                   defaultval=no
11030               fi
11031           fi
11032
11033           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
11034 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
11035           # Check whether --enable-listctrl was given.
11036 if test "${enable_listctrl+set}" = set; then
11037   enableval=$enable_listctrl;
11038                           if test "$enableval" = yes; then
11039                             wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
11040                           else
11041                             wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
11042                           fi
11043
11044 else
11045
11046                           wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
11047
11048 fi
11049
11050
11051           eval "$wx_cv_use_listctrl"
11052
11053           if test x"$enablestring" = xdisable; then
11054             if test $wxUSE_LISTCTRL = no; then
11055               result=yes
11056             else
11057               result=no
11058             fi
11059           else
11060             result=$wxUSE_LISTCTRL
11061           fi
11062
11063           { echo "$as_me:$LINENO: result: $result" >&5
11064 echo "${ECHO_T}$result" >&6; }
11065
11066
11067           enablestring=
11068           defaultval=$wxUSE_ALL_FEATURES
11069           if test -z "$defaultval"; then
11070               if test x"$enablestring" = xdisable; then
11071                   defaultval=yes
11072               else
11073                   defaultval=no
11074               fi
11075           fi
11076
11077           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
11078 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
11079           # Check whether --enable-notebook was given.
11080 if test "${enable_notebook+set}" = set; then
11081   enableval=$enable_notebook;
11082                           if test "$enableval" = yes; then
11083                             wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
11084                           else
11085                             wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
11086                           fi
11087
11088 else
11089
11090                           wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
11091
11092 fi
11093
11094
11095           eval "$wx_cv_use_notebook"
11096
11097           if test x"$enablestring" = xdisable; then
11098             if test $wxUSE_NOTEBOOK = no; then
11099               result=yes
11100             else
11101               result=no
11102             fi
11103           else
11104             result=$wxUSE_NOTEBOOK
11105           fi
11106
11107           { echo "$as_me:$LINENO: result: $result" >&5
11108 echo "${ECHO_T}$result" >&6; }
11109
11110
11111           enablestring=
11112           defaultval=$wxUSE_ALL_FEATURES
11113           if test -z "$defaultval"; then
11114               if test x"$enablestring" = xdisable; then
11115                   defaultval=yes
11116               else
11117                   defaultval=no
11118               fi
11119           fi
11120
11121           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notifmsg" >&5
11122 echo $ECHO_N "checking for --${enablestring:-enable}-notifmsg... $ECHO_C" >&6; }
11123           # Check whether --enable-notifmsg was given.
11124 if test "${enable_notifmsg+set}" = set; then
11125   enableval=$enable_notifmsg;
11126                           if test "$enableval" = yes; then
11127                             wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=yes'
11128                           else
11129                             wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=no'
11130                           fi
11131
11132 else
11133
11134                           wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
11135
11136 fi
11137
11138
11139           eval "$wx_cv_use_notifmsg"
11140
11141           if test x"$enablestring" = xdisable; then
11142             if test $wxUSE_NOTIFICATION_MESSAGE = no; then
11143               result=yes
11144             else
11145               result=no
11146             fi
11147           else
11148             result=$wxUSE_NOTIFICATION_MESSAGE
11149           fi
11150
11151           { echo "$as_me:$LINENO: result: $result" >&5
11152 echo "${ECHO_T}$result" >&6; }
11153
11154
11155           enablestring=
11156           defaultval=$wxUSE_ALL_FEATURES
11157           if test -z "$defaultval"; then
11158               if test x"$enablestring" = xdisable; then
11159                   defaultval=yes
11160               else
11161                   defaultval=no
11162               fi
11163           fi
11164
11165           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
11166 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
11167           # Check whether --enable-odcombobox was given.
11168 if test "${enable_odcombobox+set}" = set; then
11169   enableval=$enable_odcombobox;
11170                           if test "$enableval" = yes; then
11171                             wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
11172                           else
11173                             wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
11174                           fi
11175
11176 else
11177
11178                           wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
11179
11180 fi
11181
11182
11183           eval "$wx_cv_use_odcombobox"
11184
11185           if test x"$enablestring" = xdisable; then
11186             if test $wxUSE_ODCOMBOBOX = no; then
11187               result=yes
11188             else
11189               result=no
11190             fi
11191           else
11192             result=$wxUSE_ODCOMBOBOX
11193           fi
11194
11195           { echo "$as_me:$LINENO: result: $result" >&5
11196 echo "${ECHO_T}$result" >&6; }
11197
11198
11199           enablestring=
11200           defaultval=$wxUSE_ALL_FEATURES
11201           if test -z "$defaultval"; then
11202               if test x"$enablestring" = xdisable; then
11203                   defaultval=yes
11204               else
11205                   defaultval=no
11206               fi
11207           fi
11208
11209           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
11210 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
11211           # Check whether --enable-popupwin was given.
11212 if test "${enable_popupwin+set}" = set; then
11213   enableval=$enable_popupwin;
11214                           if test "$enableval" = yes; then
11215                             wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
11216                           else
11217                             wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
11218                           fi
11219
11220 else
11221
11222                           wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
11223
11224 fi
11225
11226
11227           eval "$wx_cv_use_popupwin"
11228
11229           if test x"$enablestring" = xdisable; then
11230             if test $wxUSE_POPUPWIN = no; then
11231               result=yes
11232             else
11233               result=no
11234             fi
11235           else
11236             result=$wxUSE_POPUPWIN
11237           fi
11238
11239           { echo "$as_me:$LINENO: result: $result" >&5
11240 echo "${ECHO_T}$result" >&6; }
11241
11242
11243           enablestring=
11244           defaultval=$wxUSE_ALL_FEATURES
11245           if test -z "$defaultval"; then
11246               if test x"$enablestring" = xdisable; then
11247                   defaultval=yes
11248               else
11249                   defaultval=no
11250               fi
11251           fi
11252
11253           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
11254 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
11255           # Check whether --enable-radiobox was given.
11256 if test "${enable_radiobox+set}" = set; then
11257   enableval=$enable_radiobox;
11258                           if test "$enableval" = yes; then
11259                             wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
11260                           else
11261                             wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
11262                           fi
11263
11264 else
11265
11266                           wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
11267
11268 fi
11269
11270
11271           eval "$wx_cv_use_radiobox"
11272
11273           if test x"$enablestring" = xdisable; then
11274             if test $wxUSE_RADIOBOX = no; then
11275               result=yes
11276             else
11277               result=no
11278             fi
11279           else
11280             result=$wxUSE_RADIOBOX
11281           fi
11282
11283           { echo "$as_me:$LINENO: result: $result" >&5
11284 echo "${ECHO_T}$result" >&6; }
11285
11286
11287           enablestring=
11288           defaultval=$wxUSE_ALL_FEATURES
11289           if test -z "$defaultval"; then
11290               if test x"$enablestring" = xdisable; then
11291                   defaultval=yes
11292               else
11293                   defaultval=no
11294               fi
11295           fi
11296
11297           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
11298 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
11299           # Check whether --enable-radiobtn was given.
11300 if test "${enable_radiobtn+set}" = set; then
11301   enableval=$enable_radiobtn;
11302                           if test "$enableval" = yes; then
11303                             wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
11304                           else
11305                             wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
11306                           fi
11307
11308 else
11309
11310                           wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
11311
11312 fi
11313
11314
11315           eval "$wx_cv_use_radiobtn"
11316
11317           if test x"$enablestring" = xdisable; then
11318             if test $wxUSE_RADIOBTN = no; then
11319               result=yes
11320             else
11321               result=no
11322             fi
11323           else
11324             result=$wxUSE_RADIOBTN
11325           fi
11326
11327           { echo "$as_me:$LINENO: result: $result" >&5
11328 echo "${ECHO_T}$result" >&6; }
11329
11330
11331           enablestring=
11332           defaultval=$wxUSE_ALL_FEATURES
11333           if test -z "$defaultval"; then
11334               if test x"$enablestring" = xdisable; then
11335                   defaultval=yes
11336               else
11337                   defaultval=no
11338               fi
11339           fi
11340
11341           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rearrangectrl" >&5
11342 echo $ECHO_N "checking for --${enablestring:-enable}-rearrangectrl... $ECHO_C" >&6; }
11343           # Check whether --enable-rearrangectrl was given.
11344 if test "${enable_rearrangectrl+set}" = set; then
11345   enableval=$enable_rearrangectrl;
11346                           if test "$enableval" = yes; then
11347                             wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=yes'
11348                           else
11349                             wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=no'
11350                           fi
11351
11352 else
11353
11354                           wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=${'DEFAULT_wxUSE_REARRANGECTRL":-$defaultval}"
11355
11356 fi
11357
11358
11359           eval "$wx_cv_use_rearrangectrl"
11360
11361           if test x"$enablestring" = xdisable; then
11362             if test $wxUSE_REARRANGECTRL = no; then
11363               result=yes
11364             else
11365               result=no
11366             fi
11367           else
11368             result=$wxUSE_REARRANGECTRL
11369           fi
11370
11371           { echo "$as_me:$LINENO: result: $result" >&5
11372 echo "${ECHO_T}$result" >&6; }
11373
11374
11375           enablestring=
11376           defaultval=$wxUSE_ALL_FEATURES
11377           if test -z "$defaultval"; then
11378               if test x"$enablestring" = xdisable; then
11379                   defaultval=yes
11380               else
11381                   defaultval=no
11382               fi
11383           fi
11384
11385           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
11386 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
11387           # Check whether --enable-sash was given.
11388 if test "${enable_sash+set}" = set; then
11389   enableval=$enable_sash;
11390                           if test "$enableval" = yes; then
11391                             wx_cv_use_sash='wxUSE_SASH=yes'
11392                           else
11393                             wx_cv_use_sash='wxUSE_SASH=no'
11394                           fi
11395
11396 else
11397
11398                           wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
11399
11400 fi
11401
11402
11403           eval "$wx_cv_use_sash"
11404
11405           if test x"$enablestring" = xdisable; then
11406             if test $wxUSE_SASH = no; then
11407               result=yes
11408             else
11409               result=no
11410             fi
11411           else
11412             result=$wxUSE_SASH
11413           fi
11414
11415           { echo "$as_me:$LINENO: result: $result" >&5
11416 echo "${ECHO_T}$result" >&6; }
11417
11418
11419           enablestring=
11420           defaultval=$wxUSE_ALL_FEATURES
11421           if test -z "$defaultval"; then
11422               if test x"$enablestring" = xdisable; then
11423                   defaultval=yes
11424               else
11425                   defaultval=no
11426               fi
11427           fi
11428
11429           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
11430 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
11431           # Check whether --enable-scrollbar was given.
11432 if test "${enable_scrollbar+set}" = set; then
11433   enableval=$enable_scrollbar;
11434                           if test "$enableval" = yes; then
11435                             wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
11436                           else
11437                             wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
11438                           fi
11439
11440 else
11441
11442                           wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
11443
11444 fi
11445
11446
11447           eval "$wx_cv_use_scrollbar"
11448
11449           if test x"$enablestring" = xdisable; then
11450             if test $wxUSE_SCROLLBAR = no; then
11451               result=yes
11452             else
11453               result=no
11454             fi
11455           else
11456             result=$wxUSE_SCROLLBAR
11457           fi
11458
11459           { echo "$as_me:$LINENO: result: $result" >&5
11460 echo "${ECHO_T}$result" >&6; }
11461
11462
11463           enablestring=
11464           defaultval=$wxUSE_ALL_FEATURES
11465           if test -z "$defaultval"; then
11466               if test x"$enablestring" = xdisable; then
11467                   defaultval=yes
11468               else
11469                   defaultval=no
11470               fi
11471           fi
11472
11473           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
11474 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
11475           # Check whether --enable-searchctrl was given.
11476 if test "${enable_searchctrl+set}" = set; then
11477   enableval=$enable_searchctrl;
11478                           if test "$enableval" = yes; then
11479                             wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
11480                           else
11481                             wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
11482                           fi
11483
11484 else
11485
11486                           wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
11487
11488 fi
11489
11490
11491           eval "$wx_cv_use_searchctrl"
11492
11493           if test x"$enablestring" = xdisable; then
11494             if test $wxUSE_SEARCHCTRL = no; then
11495               result=yes
11496             else
11497               result=no
11498             fi
11499           else
11500             result=$wxUSE_SEARCHCTRL
11501           fi
11502
11503           { echo "$as_me:$LINENO: result: $result" >&5
11504 echo "${ECHO_T}$result" >&6; }
11505
11506
11507           enablestring=
11508           defaultval=$wxUSE_ALL_FEATURES
11509           if test -z "$defaultval"; then
11510               if test x"$enablestring" = xdisable; then
11511                   defaultval=yes
11512               else
11513                   defaultval=no
11514               fi
11515           fi
11516
11517           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
11518 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
11519           # Check whether --enable-slider was given.
11520 if test "${enable_slider+set}" = set; then
11521   enableval=$enable_slider;
11522                           if test "$enableval" = yes; then
11523                             wx_cv_use_slider='wxUSE_SLIDER=yes'
11524                           else
11525                             wx_cv_use_slider='wxUSE_SLIDER=no'
11526                           fi
11527
11528 else
11529
11530                           wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
11531
11532 fi
11533
11534
11535           eval "$wx_cv_use_slider"
11536
11537           if test x"$enablestring" = xdisable; then
11538             if test $wxUSE_SLIDER = no; then
11539               result=yes
11540             else
11541               result=no
11542             fi
11543           else
11544             result=$wxUSE_SLIDER
11545           fi
11546
11547           { echo "$as_me:$LINENO: result: $result" >&5
11548 echo "${ECHO_T}$result" >&6; }
11549
11550
11551           enablestring=
11552           defaultval=$wxUSE_ALL_FEATURES
11553           if test -z "$defaultval"; then
11554               if test x"$enablestring" = xdisable; then
11555                   defaultval=yes
11556               else
11557                   defaultval=no
11558               fi
11559           fi
11560
11561           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
11562 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
11563           # Check whether --enable-spinbtn was given.
11564 if test "${enable_spinbtn+set}" = set; then
11565   enableval=$enable_spinbtn;
11566                           if test "$enableval" = yes; then
11567                             wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
11568                           else
11569                             wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
11570                           fi
11571
11572 else
11573
11574                           wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
11575
11576 fi
11577
11578
11579           eval "$wx_cv_use_spinbtn"
11580
11581           if test x"$enablestring" = xdisable; then
11582             if test $wxUSE_SPINBTN = no; then
11583               result=yes
11584             else
11585               result=no
11586             fi
11587           else
11588             result=$wxUSE_SPINBTN
11589           fi
11590
11591           { echo "$as_me:$LINENO: result: $result" >&5
11592 echo "${ECHO_T}$result" >&6; }
11593
11594
11595           enablestring=
11596           defaultval=$wxUSE_ALL_FEATURES
11597           if test -z "$defaultval"; then
11598               if test x"$enablestring" = xdisable; then
11599                   defaultval=yes
11600               else
11601                   defaultval=no
11602               fi
11603           fi
11604
11605           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
11606 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
11607           # Check whether --enable-spinctrl was given.
11608 if test "${enable_spinctrl+set}" = set; then
11609   enableval=$enable_spinctrl;
11610                           if test "$enableval" = yes; then
11611                             wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
11612                           else
11613                             wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
11614                           fi
11615
11616 else
11617
11618                           wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
11619
11620 fi
11621
11622
11623           eval "$wx_cv_use_spinctrl"
11624
11625           if test x"$enablestring" = xdisable; then
11626             if test $wxUSE_SPINCTRL = no; then
11627               result=yes
11628             else
11629               result=no
11630             fi
11631           else
11632             result=$wxUSE_SPINCTRL
11633           fi
11634
11635           { echo "$as_me:$LINENO: result: $result" >&5
11636 echo "${ECHO_T}$result" >&6; }
11637
11638
11639           enablestring=
11640           defaultval=$wxUSE_ALL_FEATURES
11641           if test -z "$defaultval"; then
11642               if test x"$enablestring" = xdisable; then
11643                   defaultval=yes
11644               else
11645                   defaultval=no
11646               fi
11647           fi
11648
11649           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
11650 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
11651           # Check whether --enable-splitter was given.
11652 if test "${enable_splitter+set}" = set; then
11653   enableval=$enable_splitter;
11654                           if test "$enableval" = yes; then
11655                             wx_cv_use_splitter='wxUSE_SPLITTER=yes'
11656                           else
11657                             wx_cv_use_splitter='wxUSE_SPLITTER=no'
11658                           fi
11659
11660 else
11661
11662                           wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
11663
11664 fi
11665
11666
11667           eval "$wx_cv_use_splitter"
11668
11669           if test x"$enablestring" = xdisable; then
11670             if test $wxUSE_SPLITTER = no; then
11671               result=yes
11672             else
11673               result=no
11674             fi
11675           else
11676             result=$wxUSE_SPLITTER
11677           fi
11678
11679           { echo "$as_me:$LINENO: result: $result" >&5
11680 echo "${ECHO_T}$result" >&6; }
11681
11682
11683           enablestring=
11684           defaultval=$wxUSE_ALL_FEATURES
11685           if test -z "$defaultval"; then
11686               if test x"$enablestring" = xdisable; then
11687                   defaultval=yes
11688               else
11689                   defaultval=no
11690               fi
11691           fi
11692
11693           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
11694 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
11695           # Check whether --enable-statbmp was given.
11696 if test "${enable_statbmp+set}" = set; then
11697   enableval=$enable_statbmp;
11698                           if test "$enableval" = yes; then
11699                             wx_cv_use_statbmp='wxUSE_STATBMP=yes'
11700                           else
11701                             wx_cv_use_statbmp='wxUSE_STATBMP=no'
11702                           fi
11703
11704 else
11705
11706                           wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
11707
11708 fi
11709
11710
11711           eval "$wx_cv_use_statbmp"
11712
11713           if test x"$enablestring" = xdisable; then
11714             if test $wxUSE_STATBMP = no; then
11715               result=yes
11716             else
11717               result=no
11718             fi
11719           else
11720             result=$wxUSE_STATBMP
11721           fi
11722
11723           { echo "$as_me:$LINENO: result: $result" >&5
11724 echo "${ECHO_T}$result" >&6; }
11725
11726
11727           enablestring=
11728           defaultval=$wxUSE_ALL_FEATURES
11729           if test -z "$defaultval"; then
11730               if test x"$enablestring" = xdisable; then
11731                   defaultval=yes
11732               else
11733                   defaultval=no
11734               fi
11735           fi
11736
11737           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
11738 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
11739           # Check whether --enable-statbox was given.
11740 if test "${enable_statbox+set}" = set; then
11741   enableval=$enable_statbox;
11742                           if test "$enableval" = yes; then
11743                             wx_cv_use_statbox='wxUSE_STATBOX=yes'
11744                           else
11745                             wx_cv_use_statbox='wxUSE_STATBOX=no'
11746                           fi
11747
11748 else
11749
11750                           wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
11751
11752 fi
11753
11754
11755           eval "$wx_cv_use_statbox"
11756
11757           if test x"$enablestring" = xdisable; then
11758             if test $wxUSE_STATBOX = no; then
11759               result=yes
11760             else
11761               result=no
11762             fi
11763           else
11764             result=$wxUSE_STATBOX
11765           fi
11766
11767           { echo "$as_me:$LINENO: result: $result" >&5
11768 echo "${ECHO_T}$result" >&6; }
11769
11770
11771           enablestring=
11772           defaultval=$wxUSE_ALL_FEATURES
11773           if test -z "$defaultval"; then
11774               if test x"$enablestring" = xdisable; then
11775                   defaultval=yes
11776               else
11777                   defaultval=no
11778               fi
11779           fi
11780
11781           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
11782 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
11783           # Check whether --enable-statline was given.
11784 if test "${enable_statline+set}" = set; then
11785   enableval=$enable_statline;
11786                           if test "$enableval" = yes; then
11787                             wx_cv_use_statline='wxUSE_STATLINE=yes'
11788                           else
11789                             wx_cv_use_statline='wxUSE_STATLINE=no'
11790                           fi
11791
11792 else
11793
11794                           wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
11795
11796 fi
11797
11798
11799           eval "$wx_cv_use_statline"
11800
11801           if test x"$enablestring" = xdisable; then
11802             if test $wxUSE_STATLINE = no; then
11803               result=yes
11804             else
11805               result=no
11806             fi
11807           else
11808             result=$wxUSE_STATLINE
11809           fi
11810
11811           { echo "$as_me:$LINENO: result: $result" >&5
11812 echo "${ECHO_T}$result" >&6; }
11813
11814
11815           enablestring=
11816           defaultval=$wxUSE_ALL_FEATURES
11817           if test -z "$defaultval"; then
11818               if test x"$enablestring" = xdisable; then
11819                   defaultval=yes
11820               else
11821                   defaultval=no
11822               fi
11823           fi
11824
11825           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
11826 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
11827           # Check whether --enable-stattext was given.
11828 if test "${enable_stattext+set}" = set; then
11829   enableval=$enable_stattext;
11830                           if test "$enableval" = yes; then
11831                             wx_cv_use_stattext='wxUSE_STATTEXT=yes'
11832                           else
11833                             wx_cv_use_stattext='wxUSE_STATTEXT=no'
11834                           fi
11835
11836 else
11837
11838                           wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
11839
11840 fi
11841
11842
11843           eval "$wx_cv_use_stattext"
11844
11845           if test x"$enablestring" = xdisable; then
11846             if test $wxUSE_STATTEXT = no; then
11847               result=yes
11848             else
11849               result=no
11850             fi
11851           else
11852             result=$wxUSE_STATTEXT
11853           fi
11854
11855           { echo "$as_me:$LINENO: result: $result" >&5
11856 echo "${ECHO_T}$result" >&6; }
11857
11858
11859           enablestring=
11860           defaultval=$wxUSE_ALL_FEATURES
11861           if test -z "$defaultval"; then
11862               if test x"$enablestring" = xdisable; then
11863                   defaultval=yes
11864               else
11865                   defaultval=no
11866               fi
11867           fi
11868
11869           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
11870 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
11871           # Check whether --enable-statusbar was given.
11872 if test "${enable_statusbar+set}" = set; then
11873   enableval=$enable_statusbar;
11874                           if test "$enableval" = yes; then
11875                             wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
11876                           else
11877                             wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
11878                           fi
11879
11880 else
11881
11882                           wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
11883
11884 fi
11885
11886
11887           eval "$wx_cv_use_statusbar"
11888
11889           if test x"$enablestring" = xdisable; then
11890             if test $wxUSE_STATUSBAR = no; then
11891               result=yes
11892             else
11893               result=no
11894             fi
11895           else
11896             result=$wxUSE_STATUSBAR
11897           fi
11898
11899           { echo "$as_me:$LINENO: result: $result" >&5
11900 echo "${ECHO_T}$result" >&6; }
11901
11902
11903           enablestring=
11904           defaultval=$wxUSE_ALL_FEATURES
11905           if test -z "$defaultval"; then
11906               if test x"$enablestring" = xdisable; then
11907                   defaultval=yes
11908               else
11909                   defaultval=no
11910               fi
11911           fi
11912
11913           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
11914 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
11915           # Check whether --enable-taskbaricon was given.
11916 if test "${enable_taskbaricon+set}" = set; then
11917   enableval=$enable_taskbaricon;
11918                           if test "$enableval" = yes; then
11919                             wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
11920                           else
11921                             wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
11922                           fi
11923
11924 else
11925
11926                           wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
11927
11928 fi
11929
11930
11931           eval "$wx_cv_use_taskbaricon"
11932
11933           if test x"$enablestring" = xdisable; then
11934             if test $wxUSE_TASKBARICON = no; then
11935               result=yes
11936             else
11937               result=no
11938             fi
11939           else
11940             result=$wxUSE_TASKBARICON
11941           fi
11942
11943           { echo "$as_me:$LINENO: result: $result" >&5
11944 echo "${ECHO_T}$result" >&6; }
11945
11946
11947           enablestring=
11948           defaultval=$wxUSE_ALL_FEATURES
11949           if test -z "$defaultval"; then
11950               if test x"$enablestring" = xdisable; then
11951                   defaultval=yes
11952               else
11953                   defaultval=no
11954               fi
11955           fi
11956
11957           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
11958 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
11959           # Check whether --enable-tbarnative was given.
11960 if test "${enable_tbarnative+set}" = set; then
11961   enableval=$enable_tbarnative;
11962                           if test "$enableval" = yes; then
11963                             wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
11964                           else
11965                             wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
11966                           fi
11967
11968 else
11969
11970                           wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
11971
11972 fi
11973
11974
11975           eval "$wx_cv_use_tbarnative"
11976
11977           if test x"$enablestring" = xdisable; then
11978             if test $wxUSE_TOOLBAR_NATIVE = no; then
11979               result=yes
11980             else
11981               result=no
11982             fi
11983           else
11984             result=$wxUSE_TOOLBAR_NATIVE
11985           fi
11986
11987           { echo "$as_me:$LINENO: result: $result" >&5
11988 echo "${ECHO_T}$result" >&6; }
11989
11990
11991           enablestring=
11992           defaultval=$wxUSE_ALL_FEATURES
11993           if test -z "$defaultval"; then
11994               if test x"$enablestring" = xdisable; then
11995                   defaultval=yes
11996               else
11997                   defaultval=no
11998               fi
11999           fi
12000
12001           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
12002 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
12003           # Check whether --enable-textctrl was given.
12004 if test "${enable_textctrl+set}" = set; then
12005   enableval=$enable_textctrl;
12006                           if test "$enableval" = yes; then
12007                             wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
12008                           else
12009                             wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
12010                           fi
12011
12012 else
12013
12014                           wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
12015
12016 fi
12017
12018
12019           eval "$wx_cv_use_textctrl"
12020
12021           if test x"$enablestring" = xdisable; then
12022             if test $wxUSE_TEXTCTRL = no; then
12023               result=yes
12024             else
12025               result=no
12026             fi
12027           else
12028             result=$wxUSE_TEXTCTRL
12029           fi
12030
12031           { echo "$as_me:$LINENO: result: $result" >&5
12032 echo "${ECHO_T}$result" >&6; }
12033
12034
12035           enablestring=
12036           defaultval=$wxUSE_ALL_FEATURES
12037           if test -z "$defaultval"; then
12038               if test x"$enablestring" = xdisable; then
12039                   defaultval=yes
12040               else
12041                   defaultval=no
12042               fi
12043           fi
12044
12045           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
12046 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
12047           # Check whether --enable-tipwindow was given.
12048 if test "${enable_tipwindow+set}" = set; then
12049   enableval=$enable_tipwindow;
12050                           if test "$enableval" = yes; then
12051                             wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
12052                           else
12053                             wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
12054                           fi
12055
12056 else
12057
12058                           wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
12059
12060 fi
12061
12062
12063           eval "$wx_cv_use_tipwindow"
12064
12065           if test x"$enablestring" = xdisable; then
12066             if test $wxUSE_TIPWINDOW = no; then
12067               result=yes
12068             else
12069               result=no
12070             fi
12071           else
12072             result=$wxUSE_TIPWINDOW
12073           fi
12074
12075           { echo "$as_me:$LINENO: result: $result" >&5
12076 echo "${ECHO_T}$result" >&6; }
12077
12078
12079           enablestring=
12080           defaultval=$wxUSE_ALL_FEATURES
12081           if test -z "$defaultval"; then
12082               if test x"$enablestring" = xdisable; then
12083                   defaultval=yes
12084               else
12085                   defaultval=no
12086               fi
12087           fi
12088
12089           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
12090 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
12091           # Check whether --enable-togglebtn was given.
12092 if test "${enable_togglebtn+set}" = set; then
12093   enableval=$enable_togglebtn;
12094                           if test "$enableval" = yes; then
12095                             wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
12096                           else
12097                             wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
12098                           fi
12099
12100 else
12101
12102                           wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
12103
12104 fi
12105
12106
12107           eval "$wx_cv_use_togglebtn"
12108
12109           if test x"$enablestring" = xdisable; then
12110             if test $wxUSE_TOGGLEBTN = no; then
12111               result=yes
12112             else
12113               result=no
12114             fi
12115           else
12116             result=$wxUSE_TOGGLEBTN
12117           fi
12118
12119           { echo "$as_me:$LINENO: result: $result" >&5
12120 echo "${ECHO_T}$result" >&6; }
12121
12122
12123           enablestring=
12124           defaultval=$wxUSE_ALL_FEATURES
12125           if test -z "$defaultval"; then
12126               if test x"$enablestring" = xdisable; then
12127                   defaultval=yes
12128               else
12129                   defaultval=no
12130               fi
12131           fi
12132
12133           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
12134 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
12135           # Check whether --enable-toolbar was given.
12136 if test "${enable_toolbar+set}" = set; then
12137   enableval=$enable_toolbar;
12138                           if test "$enableval" = yes; then
12139                             wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
12140                           else
12141                             wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
12142                           fi
12143
12144 else
12145
12146                           wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
12147
12148 fi
12149
12150
12151           eval "$wx_cv_use_toolbar"
12152
12153           if test x"$enablestring" = xdisable; then
12154             if test $wxUSE_TOOLBAR = no; then
12155               result=yes
12156             else
12157               result=no
12158             fi
12159           else
12160             result=$wxUSE_TOOLBAR
12161           fi
12162
12163           { echo "$as_me:$LINENO: result: $result" >&5
12164 echo "${ECHO_T}$result" >&6; }
12165
12166
12167           enablestring=
12168           defaultval=$wxUSE_ALL_FEATURES
12169           if test -z "$defaultval"; then
12170               if test x"$enablestring" = xdisable; then
12171                   defaultval=yes
12172               else
12173                   defaultval=no
12174               fi
12175           fi
12176
12177           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
12178 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
12179           # Check whether --enable-toolbook was given.
12180 if test "${enable_toolbook+set}" = set; then
12181   enableval=$enable_toolbook;
12182                           if test "$enableval" = yes; then
12183                             wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
12184                           else
12185                             wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
12186                           fi
12187
12188 else
12189
12190                           wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
12191
12192 fi
12193
12194
12195           eval "$wx_cv_use_toolbook"
12196
12197           if test x"$enablestring" = xdisable; then
12198             if test $wxUSE_TOOLBOOK = no; then
12199               result=yes
12200             else
12201               result=no
12202             fi
12203           else
12204             result=$wxUSE_TOOLBOOK
12205           fi
12206
12207           { echo "$as_me:$LINENO: result: $result" >&5
12208 echo "${ECHO_T}$result" >&6; }
12209
12210
12211           enablestring=
12212           defaultval=$wxUSE_ALL_FEATURES
12213           if test -z "$defaultval"; then
12214               if test x"$enablestring" = xdisable; then
12215                   defaultval=yes
12216               else
12217                   defaultval=no
12218               fi
12219           fi
12220
12221           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
12222 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
12223           # Check whether --enable-treebook was given.
12224 if test "${enable_treebook+set}" = set; then
12225   enableval=$enable_treebook;
12226                           if test "$enableval" = yes; then
12227                             wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
12228                           else
12229                             wx_cv_use_treebook='wxUSE_TREEBOOK=no'
12230                           fi
12231
12232 else
12233
12234                           wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
12235
12236 fi
12237
12238
12239           eval "$wx_cv_use_treebook"
12240
12241           if test x"$enablestring" = xdisable; then
12242             if test $wxUSE_TREEBOOK = no; then
12243               result=yes
12244             else
12245               result=no
12246             fi
12247           else
12248             result=$wxUSE_TREEBOOK
12249           fi
12250
12251           { echo "$as_me:$LINENO: result: $result" >&5
12252 echo "${ECHO_T}$result" >&6; }
12253
12254
12255           enablestring=
12256           defaultval=$wxUSE_ALL_FEATURES
12257           if test -z "$defaultval"; then
12258               if test x"$enablestring" = xdisable; then
12259                   defaultval=yes
12260               else
12261                   defaultval=no
12262               fi
12263           fi
12264
12265           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
12266 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
12267           # Check whether --enable-treectrl was given.
12268 if test "${enable_treectrl+set}" = set; then
12269   enableval=$enable_treectrl;
12270                           if test "$enableval" = yes; then
12271                             wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
12272                           else
12273                             wx_cv_use_treectrl='wxUSE_TREECTRL=no'
12274                           fi
12275
12276 else
12277
12278                           wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
12279
12280 fi
12281
12282
12283           eval "$wx_cv_use_treectrl"
12284
12285           if test x"$enablestring" = xdisable; then
12286             if test $wxUSE_TREECTRL = no; then
12287               result=yes
12288             else
12289               result=no
12290             fi
12291           else
12292             result=$wxUSE_TREECTRL
12293           fi
12294
12295           { echo "$as_me:$LINENO: result: $result" >&5
12296 echo "${ECHO_T}$result" >&6; }
12297
12298
12299
12300
12301           enablestring=
12302           defaultval=$wxUSE_ALL_FEATURES
12303           if test -z "$defaultval"; then
12304               if test x"$enablestring" = xdisable; then
12305                   defaultval=yes
12306               else
12307                   defaultval=no
12308               fi
12309           fi
12310
12311           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
12312 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
12313           # Check whether --enable-commondlg was given.
12314 if test "${enable_commondlg+set}" = set; then
12315   enableval=$enable_commondlg;
12316                           if test "$enableval" = yes; then
12317                             wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
12318                           else
12319                             wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
12320                           fi
12321
12322 else
12323
12324                           wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
12325
12326 fi
12327
12328
12329           eval "$wx_cv_use_commondlg"
12330
12331           if test x"$enablestring" = xdisable; then
12332             if test $wxUSE_COMMONDLGS = no; then
12333               result=yes
12334             else
12335               result=no
12336             fi
12337           else
12338             result=$wxUSE_COMMONDLGS
12339           fi
12340
12341           { echo "$as_me:$LINENO: result: $result" >&5
12342 echo "${ECHO_T}$result" >&6; }
12343
12344
12345           enablestring=
12346           defaultval=$wxUSE_ALL_FEATURES
12347           if test -z "$defaultval"; then
12348               if test x"$enablestring" = xdisable; then
12349                   defaultval=yes
12350               else
12351                   defaultval=no
12352               fi
12353           fi
12354
12355           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
12356 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
12357           # Check whether --enable-aboutdlg was given.
12358 if test "${enable_aboutdlg+set}" = set; then
12359   enableval=$enable_aboutdlg;
12360                           if test "$enableval" = yes; then
12361                             wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
12362                           else
12363                             wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
12364                           fi
12365
12366 else
12367
12368                           wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
12369
12370 fi
12371
12372
12373           eval "$wx_cv_use_aboutdlg"
12374
12375           if test x"$enablestring" = xdisable; then
12376             if test $wxUSE_ABOUTDLG = no; then
12377               result=yes
12378             else
12379               result=no
12380             fi
12381           else
12382             result=$wxUSE_ABOUTDLG
12383           fi
12384
12385           { echo "$as_me:$LINENO: result: $result" >&5
12386 echo "${ECHO_T}$result" >&6; }
12387
12388
12389           enablestring=
12390           defaultval=$wxUSE_ALL_FEATURES
12391           if test -z "$defaultval"; then
12392               if test x"$enablestring" = xdisable; then
12393                   defaultval=yes
12394               else
12395                   defaultval=no
12396               fi
12397           fi
12398
12399           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
12400 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
12401           # Check whether --enable-choicedlg was given.
12402 if test "${enable_choicedlg+set}" = set; then
12403   enableval=$enable_choicedlg;
12404                           if test "$enableval" = yes; then
12405                             wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
12406                           else
12407                             wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
12408                           fi
12409
12410 else
12411
12412                           wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
12413
12414 fi
12415
12416
12417           eval "$wx_cv_use_choicedlg"
12418
12419           if test x"$enablestring" = xdisable; then
12420             if test $wxUSE_CHOICEDLG = no; then
12421               result=yes
12422             else
12423               result=no
12424             fi
12425           else
12426             result=$wxUSE_CHOICEDLG
12427           fi
12428
12429           { echo "$as_me:$LINENO: result: $result" >&5
12430 echo "${ECHO_T}$result" >&6; }
12431
12432
12433           enablestring=
12434           defaultval=$wxUSE_ALL_FEATURES
12435           if test -z "$defaultval"; then
12436               if test x"$enablestring" = xdisable; then
12437                   defaultval=yes
12438               else
12439                   defaultval=no
12440               fi
12441           fi
12442
12443           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
12444 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
12445           # Check whether --enable-coldlg was given.
12446 if test "${enable_coldlg+set}" = set; then
12447   enableval=$enable_coldlg;
12448                           if test "$enableval" = yes; then
12449                             wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
12450                           else
12451                             wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
12452                           fi
12453
12454 else
12455
12456                           wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
12457
12458 fi
12459
12460
12461           eval "$wx_cv_use_coldlg"
12462
12463           if test x"$enablestring" = xdisable; then
12464             if test $wxUSE_COLOURDLG = no; then
12465               result=yes
12466             else
12467               result=no
12468             fi
12469           else
12470             result=$wxUSE_COLOURDLG
12471           fi
12472
12473           { echo "$as_me:$LINENO: result: $result" >&5
12474 echo "${ECHO_T}$result" >&6; }
12475
12476
12477           enablestring=
12478           defaultval=$wxUSE_ALL_FEATURES
12479           if test -z "$defaultval"; then
12480               if test x"$enablestring" = xdisable; then
12481                   defaultval=yes
12482               else
12483                   defaultval=no
12484               fi
12485           fi
12486
12487           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
12488 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
12489           # Check whether --enable-filedlg was given.
12490 if test "${enable_filedlg+set}" = set; then
12491   enableval=$enable_filedlg;
12492                           if test "$enableval" = yes; then
12493                             wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
12494                           else
12495                             wx_cv_use_filedlg='wxUSE_FILEDLG=no'
12496                           fi
12497
12498 else
12499
12500                           wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
12501
12502 fi
12503
12504
12505           eval "$wx_cv_use_filedlg"
12506
12507           if test x"$enablestring" = xdisable; then
12508             if test $wxUSE_FILEDLG = no; then
12509               result=yes
12510             else
12511               result=no
12512             fi
12513           else
12514             result=$wxUSE_FILEDLG
12515           fi
12516
12517           { echo "$as_me:$LINENO: result: $result" >&5
12518 echo "${ECHO_T}$result" >&6; }
12519
12520
12521           enablestring=
12522           defaultval=$wxUSE_ALL_FEATURES
12523           if test -z "$defaultval"; then
12524               if test x"$enablestring" = xdisable; then
12525                   defaultval=yes
12526               else
12527                   defaultval=no
12528               fi
12529           fi
12530
12531           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
12532 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
12533           # Check whether --enable-finddlg was given.
12534 if test "${enable_finddlg+set}" = set; then
12535   enableval=$enable_finddlg;
12536                           if test "$enableval" = yes; then
12537                             wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
12538                           else
12539                             wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
12540                           fi
12541
12542 else
12543
12544                           wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
12545
12546 fi
12547
12548
12549           eval "$wx_cv_use_finddlg"
12550
12551           if test x"$enablestring" = xdisable; then
12552             if test $wxUSE_FINDREPLDLG = no; then
12553               result=yes
12554             else
12555               result=no
12556             fi
12557           else
12558             result=$wxUSE_FINDREPLDLG
12559           fi
12560
12561           { echo "$as_me:$LINENO: result: $result" >&5
12562 echo "${ECHO_T}$result" >&6; }
12563
12564
12565           enablestring=
12566           defaultval=$wxUSE_ALL_FEATURES
12567           if test -z "$defaultval"; then
12568               if test x"$enablestring" = xdisable; then
12569                   defaultval=yes
12570               else
12571                   defaultval=no
12572               fi
12573           fi
12574
12575           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
12576 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
12577           # Check whether --enable-fontdlg was given.
12578 if test "${enable_fontdlg+set}" = set; then
12579   enableval=$enable_fontdlg;
12580                           if test "$enableval" = yes; then
12581                             wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
12582                           else
12583                             wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
12584                           fi
12585
12586 else
12587
12588                           wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
12589
12590 fi
12591
12592
12593           eval "$wx_cv_use_fontdlg"
12594
12595           if test x"$enablestring" = xdisable; then
12596             if test $wxUSE_FONTDLG = no; then
12597               result=yes
12598             else
12599               result=no
12600             fi
12601           else
12602             result=$wxUSE_FONTDLG
12603           fi
12604
12605           { echo "$as_me:$LINENO: result: $result" >&5
12606 echo "${ECHO_T}$result" >&6; }
12607
12608
12609           enablestring=
12610           defaultval=$wxUSE_ALL_FEATURES
12611           if test -z "$defaultval"; then
12612               if test x"$enablestring" = xdisable; then
12613                   defaultval=yes
12614               else
12615                   defaultval=no
12616               fi
12617           fi
12618
12619           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
12620 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
12621           # Check whether --enable-dirdlg was given.
12622 if test "${enable_dirdlg+set}" = set; then
12623   enableval=$enable_dirdlg;
12624                           if test "$enableval" = yes; then
12625                             wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
12626                           else
12627                             wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
12628                           fi
12629
12630 else
12631
12632                           wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
12633
12634 fi
12635
12636
12637           eval "$wx_cv_use_dirdlg"
12638
12639           if test x"$enablestring" = xdisable; then
12640             if test $wxUSE_DIRDLG = no; then
12641               result=yes
12642             else
12643               result=no
12644             fi
12645           else
12646             result=$wxUSE_DIRDLG
12647           fi
12648
12649           { echo "$as_me:$LINENO: result: $result" >&5
12650 echo "${ECHO_T}$result" >&6; }
12651
12652
12653           enablestring=
12654           defaultval=$wxUSE_ALL_FEATURES
12655           if test -z "$defaultval"; then
12656               if test x"$enablestring" = xdisable; then
12657                   defaultval=yes
12658               else
12659                   defaultval=no
12660               fi
12661           fi
12662
12663           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
12664 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
12665           # Check whether --enable-msgdlg was given.
12666 if test "${enable_msgdlg+set}" = set; then
12667   enableval=$enable_msgdlg;
12668                           if test "$enableval" = yes; then
12669                             wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
12670                           else
12671                             wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
12672                           fi
12673
12674 else
12675
12676                           wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
12677
12678 fi
12679
12680
12681           eval "$wx_cv_use_msgdlg"
12682
12683           if test x"$enablestring" = xdisable; then
12684             if test $wxUSE_MSGDLG = no; then
12685               result=yes
12686             else
12687               result=no
12688             fi
12689           else
12690             result=$wxUSE_MSGDLG
12691           fi
12692
12693           { echo "$as_me:$LINENO: result: $result" >&5
12694 echo "${ECHO_T}$result" >&6; }
12695
12696
12697           enablestring=
12698           defaultval=$wxUSE_ALL_FEATURES
12699           if test -z "$defaultval"; then
12700               if test x"$enablestring" = xdisable; then
12701                   defaultval=yes
12702               else
12703                   defaultval=no
12704               fi
12705           fi
12706
12707           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
12708 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
12709           # Check whether --enable-numberdlg was given.
12710 if test "${enable_numberdlg+set}" = set; then
12711   enableval=$enable_numberdlg;
12712                           if test "$enableval" = yes; then
12713                             wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
12714                           else
12715                             wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
12716                           fi
12717
12718 else
12719
12720                           wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
12721
12722 fi
12723
12724
12725           eval "$wx_cv_use_numberdlg"
12726
12727           if test x"$enablestring" = xdisable; then
12728             if test $wxUSE_NUMBERDLG = no; then
12729               result=yes
12730             else
12731               result=no
12732             fi
12733           else
12734             result=$wxUSE_NUMBERDLG
12735           fi
12736
12737           { echo "$as_me:$LINENO: result: $result" >&5
12738 echo "${ECHO_T}$result" >&6; }
12739
12740
12741           enablestring=
12742           defaultval=$wxUSE_ALL_FEATURES
12743           if test -z "$defaultval"; then
12744               if test x"$enablestring" = xdisable; then
12745                   defaultval=yes
12746               else
12747                   defaultval=no
12748               fi
12749           fi
12750
12751           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
12752 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
12753           # Check whether --enable-splash was given.
12754 if test "${enable_splash+set}" = set; then
12755   enableval=$enable_splash;
12756                           if test "$enableval" = yes; then
12757                             wx_cv_use_splash='wxUSE_SPLASH=yes'
12758                           else
12759                             wx_cv_use_splash='wxUSE_SPLASH=no'
12760                           fi
12761
12762 else
12763
12764                           wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
12765
12766 fi
12767
12768
12769           eval "$wx_cv_use_splash"
12770
12771           if test x"$enablestring" = xdisable; then
12772             if test $wxUSE_SPLASH = no; then
12773               result=yes
12774             else
12775               result=no
12776             fi
12777           else
12778             result=$wxUSE_SPLASH
12779           fi
12780
12781           { echo "$as_me:$LINENO: result: $result" >&5
12782 echo "${ECHO_T}$result" >&6; }
12783
12784
12785           enablestring=
12786           defaultval=$wxUSE_ALL_FEATURES
12787           if test -z "$defaultval"; then
12788               if test x"$enablestring" = xdisable; then
12789                   defaultval=yes
12790               else
12791                   defaultval=no
12792               fi
12793           fi
12794
12795           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
12796 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
12797           # Check whether --enable-textdlg was given.
12798 if test "${enable_textdlg+set}" = set; then
12799   enableval=$enable_textdlg;
12800                           if test "$enableval" = yes; then
12801                             wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
12802                           else
12803                             wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
12804                           fi
12805
12806 else
12807
12808                           wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
12809
12810 fi
12811
12812
12813           eval "$wx_cv_use_textdlg"
12814
12815           if test x"$enablestring" = xdisable; then
12816             if test $wxUSE_TEXTDLG = no; then
12817               result=yes
12818             else
12819               result=no
12820             fi
12821           else
12822             result=$wxUSE_TEXTDLG
12823           fi
12824
12825           { echo "$as_me:$LINENO: result: $result" >&5
12826 echo "${ECHO_T}$result" >&6; }
12827
12828
12829           enablestring=
12830           defaultval=$wxUSE_ALL_FEATURES
12831           if test -z "$defaultval"; then
12832               if test x"$enablestring" = xdisable; then
12833                   defaultval=yes
12834               else
12835                   defaultval=no
12836               fi
12837           fi
12838
12839           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
12840 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
12841           # Check whether --enable-tipdlg was given.
12842 if test "${enable_tipdlg+set}" = set; then
12843   enableval=$enable_tipdlg;
12844                           if test "$enableval" = yes; then
12845                             wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
12846                           else
12847                             wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
12848                           fi
12849
12850 else
12851
12852                           wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
12853
12854 fi
12855
12856
12857           eval "$wx_cv_use_tipdlg"
12858
12859           if test x"$enablestring" = xdisable; then
12860             if test $wxUSE_STARTUP_TIPS = no; then
12861               result=yes
12862             else
12863               result=no
12864             fi
12865           else
12866             result=$wxUSE_STARTUP_TIPS
12867           fi
12868
12869           { echo "$as_me:$LINENO: result: $result" >&5
12870 echo "${ECHO_T}$result" >&6; }
12871
12872
12873           enablestring=
12874           defaultval=$wxUSE_ALL_FEATURES
12875           if test -z "$defaultval"; then
12876               if test x"$enablestring" = xdisable; then
12877                   defaultval=yes
12878               else
12879                   defaultval=no
12880               fi
12881           fi
12882
12883           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
12884 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
12885           # Check whether --enable-progressdlg was given.
12886 if test "${enable_progressdlg+set}" = set; then
12887   enableval=$enable_progressdlg;
12888                           if test "$enableval" = yes; then
12889                             wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
12890                           else
12891                             wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
12892                           fi
12893
12894 else
12895
12896                           wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
12897
12898 fi
12899
12900
12901           eval "$wx_cv_use_progressdlg"
12902
12903           if test x"$enablestring" = xdisable; then
12904             if test $wxUSE_PROGRESSDLG = no; then
12905               result=yes
12906             else
12907               result=no
12908             fi
12909           else
12910             result=$wxUSE_PROGRESSDLG
12911           fi
12912
12913           { echo "$as_me:$LINENO: result: $result" >&5
12914 echo "${ECHO_T}$result" >&6; }
12915
12916
12917           enablestring=
12918           defaultval=$wxUSE_ALL_FEATURES
12919           if test -z "$defaultval"; then
12920               if test x"$enablestring" = xdisable; then
12921                   defaultval=yes
12922               else
12923                   defaultval=no
12924               fi
12925           fi
12926
12927           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
12928 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
12929           # Check whether --enable-wizarddlg was given.
12930 if test "${enable_wizarddlg+set}" = set; then
12931   enableval=$enable_wizarddlg;
12932                           if test "$enableval" = yes; then
12933                             wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
12934                           else
12935                             wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
12936                           fi
12937
12938 else
12939
12940                           wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
12941
12942 fi
12943
12944
12945           eval "$wx_cv_use_wizarddlg"
12946
12947           if test x"$enablestring" = xdisable; then
12948             if test $wxUSE_WIZARDDLG = no; then
12949               result=yes
12950             else
12951               result=no
12952             fi
12953           else
12954             result=$wxUSE_WIZARDDLG
12955           fi
12956
12957           { echo "$as_me:$LINENO: result: $result" >&5
12958 echo "${ECHO_T}$result" >&6; }
12959
12960
12961
12962
12963           enablestring=
12964           defaultval=$wxUSE_ALL_FEATURES
12965           if test -z "$defaultval"; then
12966               if test x"$enablestring" = xdisable; then
12967                   defaultval=yes
12968               else
12969                   defaultval=no
12970               fi
12971           fi
12972
12973           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
12974 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
12975           # Check whether --enable-menus was given.
12976 if test "${enable_menus+set}" = set; then
12977   enableval=$enable_menus;
12978                           if test "$enableval" = yes; then
12979                             wx_cv_use_menus='wxUSE_MENUS=yes'
12980                           else
12981                             wx_cv_use_menus='wxUSE_MENUS=no'
12982                           fi
12983
12984 else
12985
12986                           wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
12987
12988 fi
12989
12990
12991           eval "$wx_cv_use_menus"
12992
12993           if test x"$enablestring" = xdisable; then
12994             if test $wxUSE_MENUS = no; then
12995               result=yes
12996             else
12997               result=no
12998             fi
12999           else
13000             result=$wxUSE_MENUS
13001           fi
13002
13003           { echo "$as_me:$LINENO: result: $result" >&5
13004 echo "${ECHO_T}$result" >&6; }
13005
13006
13007           enablestring=
13008           defaultval=$wxUSE_ALL_FEATURES
13009           if test -z "$defaultval"; then
13010               if test x"$enablestring" = xdisable; then
13011                   defaultval=yes
13012               else
13013                   defaultval=no
13014               fi
13015           fi
13016
13017           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
13018 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
13019           # Check whether --enable-miniframe was given.
13020 if test "${enable_miniframe+set}" = set; then
13021   enableval=$enable_miniframe;
13022                           if test "$enableval" = yes; then
13023                             wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
13024                           else
13025                             wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
13026                           fi
13027
13028 else
13029
13030                           wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
13031
13032 fi
13033
13034
13035           eval "$wx_cv_use_miniframe"
13036
13037           if test x"$enablestring" = xdisable; then
13038             if test $wxUSE_MINIFRAME = no; then
13039               result=yes
13040             else
13041               result=no
13042             fi
13043           else
13044             result=$wxUSE_MINIFRAME
13045           fi
13046
13047           { echo "$as_me:$LINENO: result: $result" >&5
13048 echo "${ECHO_T}$result" >&6; }
13049
13050
13051           enablestring=
13052           defaultval=$wxUSE_ALL_FEATURES
13053           if test -z "$defaultval"; then
13054               if test x"$enablestring" = xdisable; then
13055                   defaultval=yes
13056               else
13057                   defaultval=no
13058               fi
13059           fi
13060
13061           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
13062 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
13063           # Check whether --enable-tooltips was given.
13064 if test "${enable_tooltips+set}" = set; then
13065   enableval=$enable_tooltips;
13066                           if test "$enableval" = yes; then
13067                             wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
13068                           else
13069                             wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
13070                           fi
13071
13072 else
13073
13074                           wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
13075
13076 fi
13077
13078
13079           eval "$wx_cv_use_tooltips"
13080
13081           if test x"$enablestring" = xdisable; then
13082             if test $wxUSE_TOOLTIPS = no; then
13083               result=yes
13084             else
13085               result=no
13086             fi
13087           else
13088             result=$wxUSE_TOOLTIPS
13089           fi
13090
13091           { echo "$as_me:$LINENO: result: $result" >&5
13092 echo "${ECHO_T}$result" >&6; }
13093
13094
13095           enablestring=
13096           defaultval=$wxUSE_ALL_FEATURES
13097           if test -z "$defaultval"; then
13098               if test x"$enablestring" = xdisable; then
13099                   defaultval=yes
13100               else
13101                   defaultval=no
13102               fi
13103           fi
13104
13105           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
13106 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
13107           # Check whether --enable-splines was given.
13108 if test "${enable_splines+set}" = set; then
13109   enableval=$enable_splines;
13110                           if test "$enableval" = yes; then
13111                             wx_cv_use_splines='wxUSE_SPLINES=yes'
13112                           else
13113                             wx_cv_use_splines='wxUSE_SPLINES=no'
13114                           fi
13115
13116 else
13117
13118                           wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
13119
13120 fi
13121
13122
13123           eval "$wx_cv_use_splines"
13124
13125           if test x"$enablestring" = xdisable; then
13126             if test $wxUSE_SPLINES = no; then
13127               result=yes
13128             else
13129               result=no
13130             fi
13131           else
13132             result=$wxUSE_SPLINES
13133           fi
13134
13135           { echo "$as_me:$LINENO: result: $result" >&5
13136 echo "${ECHO_T}$result" >&6; }
13137
13138
13139           enablestring=
13140           defaultval=$wxUSE_ALL_FEATURES
13141           if test -z "$defaultval"; then
13142               if test x"$enablestring" = xdisable; then
13143                   defaultval=yes
13144               else
13145                   defaultval=no
13146               fi
13147           fi
13148
13149           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
13150 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
13151           # Check whether --enable-mousewheel was given.
13152 if test "${enable_mousewheel+set}" = set; then
13153   enableval=$enable_mousewheel;
13154                           if test "$enableval" = yes; then
13155                             wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
13156                           else
13157                             wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
13158                           fi
13159
13160 else
13161
13162                           wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
13163
13164 fi
13165
13166
13167           eval "$wx_cv_use_mousewheel"
13168
13169           if test x"$enablestring" = xdisable; then
13170             if test $wxUSE_MOUSEWHEEL = no; then
13171               result=yes
13172             else
13173               result=no
13174             fi
13175           else
13176             result=$wxUSE_MOUSEWHEEL
13177           fi
13178
13179           { echo "$as_me:$LINENO: result: $result" >&5
13180 echo "${ECHO_T}$result" >&6; }
13181
13182
13183           enablestring=
13184           defaultval=$wxUSE_ALL_FEATURES
13185           if test -z "$defaultval"; then
13186               if test x"$enablestring" = xdisable; then
13187                   defaultval=yes
13188               else
13189                   defaultval=no
13190               fi
13191           fi
13192
13193           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
13194 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
13195           # Check whether --enable-validators was given.
13196 if test "${enable_validators+set}" = set; then
13197   enableval=$enable_validators;
13198                           if test "$enableval" = yes; then
13199                             wx_cv_use_validators='wxUSE_VALIDATORS=yes'
13200                           else
13201                             wx_cv_use_validators='wxUSE_VALIDATORS=no'
13202                           fi
13203
13204 else
13205
13206                           wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
13207
13208 fi
13209
13210
13211           eval "$wx_cv_use_validators"
13212
13213           if test x"$enablestring" = xdisable; then
13214             if test $wxUSE_VALIDATORS = no; then
13215               result=yes
13216             else
13217               result=no
13218             fi
13219           else
13220             result=$wxUSE_VALIDATORS
13221           fi
13222
13223           { echo "$as_me:$LINENO: result: $result" >&5
13224 echo "${ECHO_T}$result" >&6; }
13225
13226
13227           enablestring=
13228           defaultval=$wxUSE_ALL_FEATURES
13229           if test -z "$defaultval"; then
13230               if test x"$enablestring" = xdisable; then
13231                   defaultval=yes
13232               else
13233                   defaultval=no
13234               fi
13235           fi
13236
13237           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
13238 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
13239           # Check whether --enable-busyinfo was given.
13240 if test "${enable_busyinfo+set}" = set; then
13241   enableval=$enable_busyinfo;
13242                           if test "$enableval" = yes; then
13243                             wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
13244                           else
13245                             wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
13246                           fi
13247
13248 else
13249
13250                           wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
13251
13252 fi
13253
13254
13255           eval "$wx_cv_use_busyinfo"
13256
13257           if test x"$enablestring" = xdisable; then
13258             if test $wxUSE_BUSYINFO = no; then
13259               result=yes
13260             else
13261               result=no
13262             fi
13263           else
13264             result=$wxUSE_BUSYINFO
13265           fi
13266
13267           { echo "$as_me:$LINENO: result: $result" >&5
13268 echo "${ECHO_T}$result" >&6; }
13269
13270
13271           enablestring=
13272           defaultval=$wxUSE_ALL_FEATURES
13273           if test -z "$defaultval"; then
13274               if test x"$enablestring" = xdisable; then
13275                   defaultval=yes
13276               else
13277                   defaultval=no
13278               fi
13279           fi
13280
13281           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
13282 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
13283           # Check whether --enable-joystick was given.
13284 if test "${enable_joystick+set}" = set; then
13285   enableval=$enable_joystick;
13286                           if test "$enableval" = yes; then
13287                             wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
13288                           else
13289                             wx_cv_use_joystick='wxUSE_JOYSTICK=no'
13290                           fi
13291
13292 else
13293
13294                           wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
13295
13296 fi
13297
13298
13299           eval "$wx_cv_use_joystick"
13300
13301           if test x"$enablestring" = xdisable; then
13302             if test $wxUSE_JOYSTICK = no; then
13303               result=yes
13304             else
13305               result=no
13306             fi
13307           else
13308             result=$wxUSE_JOYSTICK
13309           fi
13310
13311           { echo "$as_me:$LINENO: result: $result" >&5
13312 echo "${ECHO_T}$result" >&6; }
13313
13314
13315           enablestring=
13316           defaultval=$wxUSE_ALL_FEATURES
13317           if test -z "$defaultval"; then
13318               if test x"$enablestring" = xdisable; then
13319                   defaultval=yes
13320               else
13321                   defaultval=no
13322               fi
13323           fi
13324
13325           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
13326 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
13327           # Check whether --enable-metafile was given.
13328 if test "${enable_metafile+set}" = set; then
13329   enableval=$enable_metafile;
13330                           if test "$enableval" = yes; then
13331                             wx_cv_use_metafile='wxUSE_METAFILE=yes'
13332                           else
13333                             wx_cv_use_metafile='wxUSE_METAFILE=no'
13334                           fi
13335
13336 else
13337
13338                           wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
13339
13340 fi
13341
13342
13343           eval "$wx_cv_use_metafile"
13344
13345           if test x"$enablestring" = xdisable; then
13346             if test $wxUSE_METAFILE = no; then
13347               result=yes
13348             else
13349               result=no
13350             fi
13351           else
13352             result=$wxUSE_METAFILE
13353           fi
13354
13355           { echo "$as_me:$LINENO: result: $result" >&5
13356 echo "${ECHO_T}$result" >&6; }
13357
13358
13359           enablestring=
13360           defaultval=$wxUSE_ALL_FEATURES
13361           if test -z "$defaultval"; then
13362               if test x"$enablestring" = xdisable; then
13363                   defaultval=yes
13364               else
13365                   defaultval=no
13366               fi
13367           fi
13368
13369           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
13370 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
13371           # Check whether --enable-dragimage was given.
13372 if test "${enable_dragimage+set}" = set; then
13373   enableval=$enable_dragimage;
13374                           if test "$enableval" = yes; then
13375                             wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
13376                           else
13377                             wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
13378                           fi
13379
13380 else
13381
13382                           wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
13383
13384 fi
13385
13386
13387           eval "$wx_cv_use_dragimage"
13388
13389           if test x"$enablestring" = xdisable; then
13390             if test $wxUSE_DRAGIMAGE = no; then
13391               result=yes
13392             else
13393               result=no
13394             fi
13395           else
13396             result=$wxUSE_DRAGIMAGE
13397           fi
13398
13399           { echo "$as_me:$LINENO: result: $result" >&5
13400 echo "${ECHO_T}$result" >&6; }
13401
13402
13403           enablestring=
13404           defaultval=$wxUSE_ALL_FEATURES
13405           if test -z "$defaultval"; then
13406               if test x"$enablestring" = xdisable; then
13407                   defaultval=yes
13408               else
13409                   defaultval=no
13410               fi
13411           fi
13412
13413           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
13414 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
13415           # Check whether --enable-accessibility was given.
13416 if test "${enable_accessibility+set}" = set; then
13417   enableval=$enable_accessibility;
13418                           if test "$enableval" = yes; then
13419                             wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
13420                           else
13421                             wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
13422                           fi
13423
13424 else
13425
13426                           wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
13427
13428 fi
13429
13430
13431           eval "$wx_cv_use_accessibility"
13432
13433           if test x"$enablestring" = xdisable; then
13434             if test $wxUSE_ACCESSIBILITY = no; then
13435               result=yes
13436             else
13437               result=no
13438             fi
13439           else
13440             result=$wxUSE_ACCESSIBILITY
13441           fi
13442
13443           { echo "$as_me:$LINENO: result: $result" >&5
13444 echo "${ECHO_T}$result" >&6; }
13445
13446
13447
13448
13449           enablestring=
13450           defaultval=$wxUSE_ALL_FEATURES
13451           if test -z "$defaultval"; then
13452               if test x"$enablestring" = xdisable; then
13453                   defaultval=yes
13454               else
13455                   defaultval=no
13456               fi
13457           fi
13458
13459           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
13460 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
13461           # Check whether --enable-palette was given.
13462 if test "${enable_palette+set}" = set; then
13463   enableval=$enable_palette;
13464                           if test "$enableval" = yes; then
13465                             wx_cv_use_palette='wxUSE_PALETTE=yes'
13466                           else
13467                             wx_cv_use_palette='wxUSE_PALETTE=no'
13468                           fi
13469
13470 else
13471
13472                           wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
13473
13474 fi
13475
13476
13477           eval "$wx_cv_use_palette"
13478
13479           if test x"$enablestring" = xdisable; then
13480             if test $wxUSE_PALETTE = no; then
13481               result=yes
13482             else
13483               result=no
13484             fi
13485           else
13486             result=$wxUSE_PALETTE
13487           fi
13488
13489           { echo "$as_me:$LINENO: result: $result" >&5
13490 echo "${ECHO_T}$result" >&6; }
13491
13492
13493           enablestring=
13494           defaultval=$wxUSE_ALL_FEATURES
13495           if test -z "$defaultval"; then
13496               if test x"$enablestring" = xdisable; then
13497                   defaultval=yes
13498               else
13499                   defaultval=no
13500               fi
13501           fi
13502
13503           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
13504 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
13505           # Check whether --enable-image was given.
13506 if test "${enable_image+set}" = set; then
13507   enableval=$enable_image;
13508                           if test "$enableval" = yes; then
13509                             wx_cv_use_image='wxUSE_IMAGE=yes'
13510                           else
13511                             wx_cv_use_image='wxUSE_IMAGE=no'
13512                           fi
13513
13514 else
13515
13516                           wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
13517
13518 fi
13519
13520
13521           eval "$wx_cv_use_image"
13522
13523           if test x"$enablestring" = xdisable; then
13524             if test $wxUSE_IMAGE = no; then
13525               result=yes
13526             else
13527               result=no
13528             fi
13529           else
13530             result=$wxUSE_IMAGE
13531           fi
13532
13533           { echo "$as_me:$LINENO: result: $result" >&5
13534 echo "${ECHO_T}$result" >&6; }
13535
13536
13537           enablestring=
13538           defaultval=$wxUSE_ALL_FEATURES
13539           if test -z "$defaultval"; then
13540               if test x"$enablestring" = xdisable; then
13541                   defaultval=yes
13542               else
13543                   defaultval=no
13544               fi
13545           fi
13546
13547           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
13548 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
13549           # Check whether --enable-gif was given.
13550 if test "${enable_gif+set}" = set; then
13551   enableval=$enable_gif;
13552                           if test "$enableval" = yes; then
13553                             wx_cv_use_gif='wxUSE_GIF=yes'
13554                           else
13555                             wx_cv_use_gif='wxUSE_GIF=no'
13556                           fi
13557
13558 else
13559
13560                           wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
13561
13562 fi
13563
13564
13565           eval "$wx_cv_use_gif"
13566
13567           if test x"$enablestring" = xdisable; then
13568             if test $wxUSE_GIF = no; then
13569               result=yes
13570             else
13571               result=no
13572             fi
13573           else
13574             result=$wxUSE_GIF
13575           fi
13576
13577           { echo "$as_me:$LINENO: result: $result" >&5
13578 echo "${ECHO_T}$result" >&6; }
13579
13580
13581           enablestring=
13582           defaultval=$wxUSE_ALL_FEATURES
13583           if test -z "$defaultval"; then
13584               if test x"$enablestring" = xdisable; then
13585                   defaultval=yes
13586               else
13587                   defaultval=no
13588               fi
13589           fi
13590
13591           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
13592 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
13593           # Check whether --enable-pcx was given.
13594 if test "${enable_pcx+set}" = set; then
13595   enableval=$enable_pcx;
13596                           if test "$enableval" = yes; then
13597                             wx_cv_use_pcx='wxUSE_PCX=yes'
13598                           else
13599                             wx_cv_use_pcx='wxUSE_PCX=no'
13600                           fi
13601
13602 else
13603
13604                           wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
13605
13606 fi
13607
13608
13609           eval "$wx_cv_use_pcx"
13610
13611           if test x"$enablestring" = xdisable; then
13612             if test $wxUSE_PCX = no; then
13613               result=yes
13614             else
13615               result=no
13616             fi
13617           else
13618             result=$wxUSE_PCX
13619           fi
13620
13621           { echo "$as_me:$LINENO: result: $result" >&5
13622 echo "${ECHO_T}$result" >&6; }
13623
13624
13625           enablestring=
13626           defaultval=$wxUSE_ALL_FEATURES
13627           if test -z "$defaultval"; then
13628               if test x"$enablestring" = xdisable; then
13629                   defaultval=yes
13630               else
13631                   defaultval=no
13632               fi
13633           fi
13634
13635           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
13636 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
13637           # Check whether --enable-tga was given.
13638 if test "${enable_tga+set}" = set; then
13639   enableval=$enable_tga;
13640                           if test "$enableval" = yes; then
13641                             wx_cv_use_tga='wxUSE_TGA=yes'
13642                           else
13643                             wx_cv_use_tga='wxUSE_TGA=no'
13644                           fi
13645
13646 else
13647
13648                           wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
13649
13650 fi
13651
13652
13653           eval "$wx_cv_use_tga"
13654
13655           if test x"$enablestring" = xdisable; then
13656             if test $wxUSE_TGA = no; then
13657               result=yes
13658             else
13659               result=no
13660             fi
13661           else
13662             result=$wxUSE_TGA
13663           fi
13664
13665           { echo "$as_me:$LINENO: result: $result" >&5
13666 echo "${ECHO_T}$result" >&6; }
13667
13668
13669           enablestring=
13670           defaultval=$wxUSE_ALL_FEATURES
13671           if test -z "$defaultval"; then
13672               if test x"$enablestring" = xdisable; then
13673                   defaultval=yes
13674               else
13675                   defaultval=no
13676               fi
13677           fi
13678
13679           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
13680 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
13681           # Check whether --enable-iff was given.
13682 if test "${enable_iff+set}" = set; then
13683   enableval=$enable_iff;
13684                           if test "$enableval" = yes; then
13685                             wx_cv_use_iff='wxUSE_IFF=yes'
13686                           else
13687                             wx_cv_use_iff='wxUSE_IFF=no'
13688                           fi
13689
13690 else
13691
13692                           wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
13693
13694 fi
13695
13696
13697           eval "$wx_cv_use_iff"
13698
13699           if test x"$enablestring" = xdisable; then
13700             if test $wxUSE_IFF = no; then
13701               result=yes
13702             else
13703               result=no
13704             fi
13705           else
13706             result=$wxUSE_IFF
13707           fi
13708
13709           { echo "$as_me:$LINENO: result: $result" >&5
13710 echo "${ECHO_T}$result" >&6; }
13711
13712
13713           enablestring=
13714           defaultval=$wxUSE_ALL_FEATURES
13715           if test -z "$defaultval"; then
13716               if test x"$enablestring" = xdisable; then
13717                   defaultval=yes
13718               else
13719                   defaultval=no
13720               fi
13721           fi
13722
13723           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
13724 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
13725           # Check whether --enable-pnm was given.
13726 if test "${enable_pnm+set}" = set; then
13727   enableval=$enable_pnm;
13728                           if test "$enableval" = yes; then
13729                             wx_cv_use_pnm='wxUSE_PNM=yes'
13730                           else
13731                             wx_cv_use_pnm='wxUSE_PNM=no'
13732                           fi
13733
13734 else
13735
13736                           wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
13737
13738 fi
13739
13740
13741           eval "$wx_cv_use_pnm"
13742
13743           if test x"$enablestring" = xdisable; then
13744             if test $wxUSE_PNM = no; then
13745               result=yes
13746             else
13747               result=no
13748             fi
13749           else
13750             result=$wxUSE_PNM
13751           fi
13752
13753           { echo "$as_me:$LINENO: result: $result" >&5
13754 echo "${ECHO_T}$result" >&6; }
13755
13756
13757           enablestring=
13758           defaultval=$wxUSE_ALL_FEATURES
13759           if test -z "$defaultval"; then
13760               if test x"$enablestring" = xdisable; then
13761                   defaultval=yes
13762               else
13763                   defaultval=no
13764               fi
13765           fi
13766
13767           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
13768 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
13769           # Check whether --enable-xpm was given.
13770 if test "${enable_xpm+set}" = set; then
13771   enableval=$enable_xpm;
13772                           if test "$enableval" = yes; then
13773                             wx_cv_use_xpm='wxUSE_XPM=yes'
13774                           else
13775                             wx_cv_use_xpm='wxUSE_XPM=no'
13776                           fi
13777
13778 else
13779
13780                           wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
13781
13782 fi
13783
13784
13785           eval "$wx_cv_use_xpm"
13786
13787           if test x"$enablestring" = xdisable; then
13788             if test $wxUSE_XPM = no; then
13789               result=yes
13790             else
13791               result=no
13792             fi
13793           else
13794             result=$wxUSE_XPM
13795           fi
13796
13797           { echo "$as_me:$LINENO: result: $result" >&5
13798 echo "${ECHO_T}$result" >&6; }
13799
13800
13801           enablestring=
13802           defaultval=$wxUSE_ALL_FEATURES
13803           if test -z "$defaultval"; then
13804               if test x"$enablestring" = xdisable; then
13805                   defaultval=yes
13806               else
13807                   defaultval=no
13808               fi
13809           fi
13810
13811           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
13812 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
13813           # Check whether --enable-ico_cur was given.
13814 if test "${enable_ico_cur+set}" = set; then
13815   enableval=$enable_ico_cur;
13816                           if test "$enableval" = yes; then
13817                             wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
13818                           else
13819                             wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
13820                           fi
13821
13822 else
13823
13824                           wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
13825
13826 fi
13827
13828
13829           eval "$wx_cv_use_ico_cur"
13830
13831           if test x"$enablestring" = xdisable; then
13832             if test $wxUSE_ICO_CUR = no; then
13833               result=yes
13834             else
13835               result=no
13836             fi
13837           else
13838             result=$wxUSE_ICO_CUR
13839           fi
13840
13841           { echo "$as_me:$LINENO: result: $result" >&5
13842 echo "${ECHO_T}$result" >&6; }
13843
13844
13845
13846
13847           enablestring=
13848           defaultval=$wxUSE_ALL_FEATURES
13849           if test -z "$defaultval"; then
13850               if test x"$enablestring" = xdisable; then
13851                   defaultval=yes
13852               else
13853                   defaultval=no
13854               fi
13855           fi
13856
13857           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
13858 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
13859           # Check whether --enable-dccache was given.
13860 if test "${enable_dccache+set}" = set; then
13861   enableval=$enable_dccache;
13862                           if test "$enableval" = yes; then
13863                             wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
13864                           else
13865                             wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
13866                           fi
13867
13868 else
13869
13870                           wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
13871
13872 fi
13873
13874
13875           eval "$wx_cv_use_dccache"
13876
13877           if test x"$enablestring" = xdisable; then
13878             if test $wxUSE_DC_CACHEING = no; then
13879               result=yes
13880             else
13881               result=no
13882             fi
13883           else
13884             result=$wxUSE_DC_CACHEING
13885           fi
13886
13887           { echo "$as_me:$LINENO: result: $result" >&5
13888 echo "${ECHO_T}$result" >&6; }
13889
13890
13891           enablestring=
13892           defaultval=$wxUSE_ALL_FEATURES
13893           if test -z "$defaultval"; then
13894               if test x"$enablestring" = xdisable; then
13895                   defaultval=yes
13896               else
13897                   defaultval=no
13898               fi
13899           fi
13900
13901           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
13902 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
13903           # Check whether --enable-ps-in-msw was given.
13904 if test "${enable_ps_in_msw+set}" = set; then
13905   enableval=$enable_ps_in_msw;
13906                           if test "$enableval" = yes; then
13907                             wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
13908                           else
13909                             wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
13910                           fi
13911
13912 else
13913
13914                           wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
13915
13916 fi
13917
13918
13919           eval "$wx_cv_use_ps_in_msw"
13920
13921           if test x"$enablestring" = xdisable; then
13922             if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = no; then
13923               result=yes
13924             else
13925               result=no
13926             fi
13927           else
13928             result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
13929           fi
13930
13931           { echo "$as_me:$LINENO: result: $result" >&5
13932 echo "${ECHO_T}$result" >&6; }
13933
13934
13935           enablestring=
13936           defaultval=$wxUSE_ALL_FEATURES
13937           if test -z "$defaultval"; then
13938               if test x"$enablestring" = xdisable; then
13939                   defaultval=yes
13940               else
13941                   defaultval=no
13942               fi
13943           fi
13944
13945           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
13946 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
13947           # Check whether --enable-ownerdrawn was given.
13948 if test "${enable_ownerdrawn+set}" = set; then
13949   enableval=$enable_ownerdrawn;
13950                           if test "$enableval" = yes; then
13951                             wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
13952                           else
13953                             wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
13954                           fi
13955
13956 else
13957
13958                           wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
13959
13960 fi
13961
13962
13963           eval "$wx_cv_use_ownerdrawn"
13964
13965           if test x"$enablestring" = xdisable; then
13966             if test $wxUSE_OWNER_DRAWN = no; then
13967               result=yes
13968             else
13969               result=no
13970             fi
13971           else
13972             result=$wxUSE_OWNER_DRAWN
13973           fi
13974
13975           { echo "$as_me:$LINENO: result: $result" >&5
13976 echo "${ECHO_T}$result" >&6; }
13977
13978
13979           enablestring=
13980           defaultval=$wxUSE_ALL_FEATURES
13981           if test -z "$defaultval"; then
13982               if test x"$enablestring" = xdisable; then
13983                   defaultval=yes
13984               else
13985                   defaultval=no
13986               fi
13987           fi
13988
13989           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
13990 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
13991           # Check whether --enable-uxtheme was given.
13992 if test "${enable_uxtheme+set}" = set; then
13993   enableval=$enable_uxtheme;
13994                           if test "$enableval" = yes; then
13995                             wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
13996                           else
13997                             wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
13998                           fi
13999
14000 else
14001
14002                           wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
14003
14004 fi
14005
14006
14007           eval "$wx_cv_use_uxtheme"
14008
14009           if test x"$enablestring" = xdisable; then
14010             if test $wxUSE_UXTHEME = no; then
14011               result=yes
14012             else
14013               result=no
14014             fi
14015           else
14016             result=$wxUSE_UXTHEME
14017           fi
14018
14019           { echo "$as_me:$LINENO: result: $result" >&5
14020 echo "${ECHO_T}$result" >&6; }
14021
14022
14023           enablestring=
14024           defaultval=$wxUSE_ALL_FEATURES
14025           if test -z "$defaultval"; then
14026               if test x"$enablestring" = xdisable; then
14027                   defaultval=yes
14028               else
14029                   defaultval=no
14030               fi
14031           fi
14032
14033           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
14034 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
14035           # Check whether --enable-wxdib was given.
14036 if test "${enable_wxdib+set}" = set; then
14037   enableval=$enable_wxdib;
14038                           if test "$enableval" = yes; then
14039                             wx_cv_use_wxdib='wxUSE_DIB=yes'
14040                           else
14041                             wx_cv_use_wxdib='wxUSE_DIB=no'
14042                           fi
14043
14044 else
14045
14046                           wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
14047
14048 fi
14049
14050
14051           eval "$wx_cv_use_wxdib"
14052
14053           if test x"$enablestring" = xdisable; then
14054             if test $wxUSE_DIB = no; then
14055               result=yes
14056             else
14057               result=no
14058             fi
14059           else
14060             result=$wxUSE_DIB
14061           fi
14062
14063           { echo "$as_me:$LINENO: result: $result" >&5
14064 echo "${ECHO_T}$result" >&6; }
14065
14066
14067 if test "$wxUSE_MSW" != 1; then
14068     DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
14069 fi
14070
14071
14072           enablestring=
14073           defaultval=$wxUSE_ALL_FEATURES
14074           if test -z "$defaultval"; then
14075               if test x"$enablestring" = xdisable; then
14076                   defaultval=yes
14077               else
14078                   defaultval=no
14079               fi
14080           fi
14081
14082           { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-autoidman" >&5
14083 echo $ECHO_N "checking for --${enablestring:-enable}-autoidman... $ECHO_C" >&6; }
14084           # Check whether --enable-autoidman was given.
14085 if test "${enable_autoidman+set}" = set; then
14086   enableval=$enable_autoidman;
14087                           if test "$enableval" = yes; then
14088                             wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=yes'
14089                           else
14090                             wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=no'
14091                           fi
14092
14093 else
14094
14095                           wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
14096
14097 fi
14098
14099
14100           eval "$wx_cv_use_autoidman"
14101
14102           if test x"$enablestring" = xdisable; then
14103             if test $wxUSE_AUTOID_MANAGEMENT = no; then
14104               result=yes
14105             else
14106               result=no
14107             fi
14108           else
14109             result=$wxUSE_AUTOID_MANAGEMENT
14110           fi
14111
14112           { echo "$as_me:$LINENO: result: $result" >&5
14113 echo "${ECHO_T}$result" >&6; }
14114
14115
14116 fi
14117
14118
14119 cat >confcache <<\_ACEOF
14120 # This file is a shell script that caches the results of configure
14121 # tests run on this system so they can be shared between configure
14122 # scripts and configure runs, see configure's option --config-cache.
14123 # It is not useful on other systems.  If it contains results you don't
14124 # want to keep, you may remove or edit it.
14125 #
14126 # config.status only pays attention to the cache file if you give it
14127 # the --recheck option to rerun configure.
14128 #
14129 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14130 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14131 # following values.
14132
14133 _ACEOF
14134
14135 # The following way of writing the cache mishandles newlines in values,
14136 # but we know of no workaround that is simple, portable, and efficient.
14137 # So, we kill variables containing newlines.
14138 # Ultrix sh set writes to stderr and can't be redirected directly,
14139 # and sets the high bit in the cache file unless we assign to the vars.
14140 (
14141   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14142     eval ac_val=\$$ac_var
14143     case $ac_val in #(
14144     *${as_nl}*)
14145       case $ac_var in #(
14146       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
14147 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
14148       esac
14149       case $ac_var in #(
14150       _ | IFS | as_nl) ;; #(
14151       *) $as_unset $ac_var ;;
14152       esac ;;
14153     esac
14154   done
14155
14156   (set) 2>&1 |
14157     case $as_nl`(ac_space=' '; set) 2>&1` in #(
14158     *${as_nl}ac_space=\ *)
14159       # `set' does not quote correctly, so add quotes (double-quote
14160       # substitution turns \\\\ into \\, and sed turns \\ into \).
14161       sed -n \
14162         "s/'/'\\\\''/g;
14163           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14164       ;; #(
14165     *)
14166       # `set' quotes correctly as required by POSIX, so do not add quotes.
14167       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14168       ;;
14169     esac |
14170     sort
14171 ) |
14172   sed '
14173      /^ac_cv_env_/b end
14174      t clear
14175      :clear
14176      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14177      t end
14178      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14179      :end' >>confcache
14180 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14181   if test -w "$cache_file"; then
14182     test "x$cache_file" != "x/dev/null" &&
14183       { echo "$as_me:$LINENO: updating cache $cache_file" >&5
14184 echo "$as_me: updating cache $cache_file" >&6;}
14185     cat confcache >$cache_file
14186   else
14187     { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
14188 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14189   fi
14190 fi
14191 rm -f confcache
14192
14193 CFLAGS=${CFLAGS:=}
14194
14195
14196
14197     ac_ext=c
14198 ac_cpp='$CPP $CPPFLAGS'
14199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14202 if test -n "$ac_tool_prefix"; then
14203   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
14204 set dummy ${ac_tool_prefix}gcc; ac_word=$2
14205 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14206 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14207 if test "${ac_cv_prog_CC+set}" = set; then
14208   echo $ECHO_N "(cached) $ECHO_C" >&6
14209 else
14210   if test -n "$CC"; then
14211   ac_cv_prog_CC="$CC" # Let the user override the test.
14212 else
14213 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14214 for as_dir in $PATH
14215 do
14216   IFS=$as_save_IFS
14217   test -z "$as_dir" && as_dir=.
14218   for ac_exec_ext in '' $ac_executable_extensions; do
14219   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14220     ac_cv_prog_CC="${ac_tool_prefix}gcc"
14221     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14222     break 2
14223   fi
14224 done
14225 done
14226 IFS=$as_save_IFS
14227
14228 fi
14229 fi
14230 CC=$ac_cv_prog_CC
14231 if test -n "$CC"; then
14232   { echo "$as_me:$LINENO: result: $CC" >&5
14233 echo "${ECHO_T}$CC" >&6; }
14234 else
14235   { echo "$as_me:$LINENO: result: no" >&5
14236 echo "${ECHO_T}no" >&6; }
14237 fi
14238
14239
14240 fi
14241 if test -z "$ac_cv_prog_CC"; then
14242   ac_ct_CC=$CC
14243   # Extract the first word of "gcc", so it can be a program name with args.
14244 set dummy gcc; ac_word=$2
14245 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14246 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14247 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14248   echo $ECHO_N "(cached) $ECHO_C" >&6
14249 else
14250   if test -n "$ac_ct_CC"; then
14251   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14252 else
14253 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14254 for as_dir in $PATH
14255 do
14256   IFS=$as_save_IFS
14257   test -z "$as_dir" && as_dir=.
14258   for ac_exec_ext in '' $ac_executable_extensions; do
14259   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14260     ac_cv_prog_ac_ct_CC="gcc"
14261     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14262     break 2
14263   fi
14264 done
14265 done
14266 IFS=$as_save_IFS
14267
14268 fi
14269 fi
14270 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14271 if test -n "$ac_ct_CC"; then
14272   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14273 echo "${ECHO_T}$ac_ct_CC" >&6; }
14274 else
14275   { echo "$as_me:$LINENO: result: no" >&5
14276 echo "${ECHO_T}no" >&6; }
14277 fi
14278
14279   if test "x$ac_ct_CC" = x; then
14280     CC=""
14281   else
14282     case $cross_compiling:$ac_tool_warned in
14283 yes:)
14284 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14285 whose name does not start with the host triplet.  If you think this
14286 configuration is useful to you, please write to autoconf@gnu.org." >&5
14287 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14288 whose name does not start with the host triplet.  If you think this
14289 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14290 ac_tool_warned=yes ;;
14291 esac
14292     CC=$ac_ct_CC
14293   fi
14294 else
14295   CC="$ac_cv_prog_CC"
14296 fi
14297
14298 if test -z "$CC"; then
14299           if test -n "$ac_tool_prefix"; then
14300     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
14301 set dummy ${ac_tool_prefix}cc; ac_word=$2
14302 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14303 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14304 if test "${ac_cv_prog_CC+set}" = set; then
14305   echo $ECHO_N "(cached) $ECHO_C" >&6
14306 else
14307   if test -n "$CC"; then
14308   ac_cv_prog_CC="$CC" # Let the user override the test.
14309 else
14310 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14311 for as_dir in $PATH
14312 do
14313   IFS=$as_save_IFS
14314   test -z "$as_dir" && as_dir=.
14315   for ac_exec_ext in '' $ac_executable_extensions; do
14316   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14317     ac_cv_prog_CC="${ac_tool_prefix}cc"
14318     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14319     break 2
14320   fi
14321 done
14322 done
14323 IFS=$as_save_IFS
14324
14325 fi
14326 fi
14327 CC=$ac_cv_prog_CC
14328 if test -n "$CC"; then
14329   { echo "$as_me:$LINENO: result: $CC" >&5
14330 echo "${ECHO_T}$CC" >&6; }
14331 else
14332   { echo "$as_me:$LINENO: result: no" >&5
14333 echo "${ECHO_T}no" >&6; }
14334 fi
14335
14336
14337   fi
14338 fi
14339 if test -z "$CC"; then
14340   # Extract the first word of "cc", so it can be a program name with args.
14341 set dummy cc; ac_word=$2
14342 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14343 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14344 if test "${ac_cv_prog_CC+set}" = set; then
14345   echo $ECHO_N "(cached) $ECHO_C" >&6
14346 else
14347   if test -n "$CC"; then
14348   ac_cv_prog_CC="$CC" # Let the user override the test.
14349 else
14350   ac_prog_rejected=no
14351 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14352 for as_dir in $PATH
14353 do
14354   IFS=$as_save_IFS
14355   test -z "$as_dir" && as_dir=.
14356   for ac_exec_ext in '' $ac_executable_extensions; do
14357   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14358     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
14359        ac_prog_rejected=yes
14360        continue
14361      fi
14362     ac_cv_prog_CC="cc"
14363     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14364     break 2
14365   fi
14366 done
14367 done
14368 IFS=$as_save_IFS
14369
14370 if test $ac_prog_rejected = yes; then
14371   # We found a bogon in the path, so make sure we never use it.
14372   set dummy $ac_cv_prog_CC
14373   shift
14374   if test $# != 0; then
14375     # We chose a different compiler from the bogus one.
14376     # However, it has the same basename, so the bogon will be chosen
14377     # first if we set CC to just the basename; use the full file name.
14378     shift
14379     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
14380   fi
14381 fi
14382 fi
14383 fi
14384 CC=$ac_cv_prog_CC
14385 if test -n "$CC"; then
14386   { echo "$as_me:$LINENO: result: $CC" >&5
14387 echo "${ECHO_T}$CC" >&6; }
14388 else
14389   { echo "$as_me:$LINENO: result: no" >&5
14390 echo "${ECHO_T}no" >&6; }
14391 fi
14392
14393
14394 fi
14395 if test -z "$CC"; then
14396   if test -n "$ac_tool_prefix"; then
14397   for ac_prog in cl.exe
14398   do
14399     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14400 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
14401 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14402 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14403 if test "${ac_cv_prog_CC+set}" = set; then
14404   echo $ECHO_N "(cached) $ECHO_C" >&6
14405 else
14406   if test -n "$CC"; then
14407   ac_cv_prog_CC="$CC" # Let the user override the test.
14408 else
14409 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14410 for as_dir in $PATH
14411 do
14412   IFS=$as_save_IFS
14413   test -z "$as_dir" && as_dir=.
14414   for ac_exec_ext in '' $ac_executable_extensions; do
14415   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14416     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
14417     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14418     break 2
14419   fi
14420 done
14421 done
14422 IFS=$as_save_IFS
14423
14424 fi
14425 fi
14426 CC=$ac_cv_prog_CC
14427 if test -n "$CC"; then
14428   { echo "$as_me:$LINENO: result: $CC" >&5
14429 echo "${ECHO_T}$CC" >&6; }
14430 else
14431   { echo "$as_me:$LINENO: result: no" >&5
14432 echo "${ECHO_T}no" >&6; }
14433 fi
14434
14435
14436     test -n "$CC" && break
14437   done
14438 fi
14439 if test -z "$CC"; then
14440   ac_ct_CC=$CC
14441   for ac_prog in cl.exe
14442 do
14443   # Extract the first word of "$ac_prog", so it can be a program name with args.
14444 set dummy $ac_prog; ac_word=$2
14445 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14446 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14447 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14448   echo $ECHO_N "(cached) $ECHO_C" >&6
14449 else
14450   if test -n "$ac_ct_CC"; then
14451   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14452 else
14453 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14454 for as_dir in $PATH
14455 do
14456   IFS=$as_save_IFS
14457   test -z "$as_dir" && as_dir=.
14458   for ac_exec_ext in '' $ac_executable_extensions; do
14459   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14460     ac_cv_prog_ac_ct_CC="$ac_prog"
14461     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14462     break 2
14463   fi
14464 done
14465 done
14466 IFS=$as_save_IFS
14467
14468 fi
14469 fi
14470 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14471 if test -n "$ac_ct_CC"; then
14472   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14473 echo "${ECHO_T}$ac_ct_CC" >&6; }
14474 else
14475   { echo "$as_me:$LINENO: result: no" >&5
14476 echo "${ECHO_T}no" >&6; }
14477 fi
14478
14479
14480   test -n "$ac_ct_CC" && break
14481 done
14482
14483   if test "x$ac_ct_CC" = x; then
14484     CC=""
14485   else
14486     case $cross_compiling:$ac_tool_warned in
14487 yes:)
14488 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14489 whose name does not start with the host triplet.  If you think this
14490 configuration is useful to you, please write to autoconf@gnu.org." >&5
14491 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14492 whose name does not start with the host triplet.  If you think this
14493 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14494 ac_tool_warned=yes ;;
14495 esac
14496     CC=$ac_ct_CC
14497   fi
14498 fi
14499
14500 fi
14501
14502
14503 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
14504 See \`config.log' for more details." >&5
14505 echo "$as_me: error: no acceptable C compiler found in \$PATH
14506 See \`config.log' for more details." >&2;}
14507    { (exit 1); exit 1; }; }
14508
14509 # Provide some information about the compiler.
14510 echo "$as_me:$LINENO: checking for C compiler version" >&5
14511 ac_compiler=`set X $ac_compile; echo $2`
14512 { (ac_try="$ac_compiler --version >&5"
14513 case "(($ac_try" in
14514   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14515   *) ac_try_echo=$ac_try;;
14516 esac
14517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14518   (eval "$ac_compiler --version >&5") 2>&5
14519   ac_status=$?
14520   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14521   (exit $ac_status); }
14522 { (ac_try="$ac_compiler -v >&5"
14523 case "(($ac_try" in
14524   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14525   *) ac_try_echo=$ac_try;;
14526 esac
14527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14528   (eval "$ac_compiler -v >&5") 2>&5
14529   ac_status=$?
14530   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14531   (exit $ac_status); }
14532 { (ac_try="$ac_compiler -V >&5"
14533 case "(($ac_try" in
14534   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14535   *) ac_try_echo=$ac_try;;
14536 esac
14537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14538   (eval "$ac_compiler -V >&5") 2>&5
14539   ac_status=$?
14540   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14541   (exit $ac_status); }
14542
14543 cat >conftest.$ac_ext <<_ACEOF
14544 /* confdefs.h.  */
14545 _ACEOF
14546 cat confdefs.h >>conftest.$ac_ext
14547 cat >>conftest.$ac_ext <<_ACEOF
14548 /* end confdefs.h.  */
14549
14550 int
14551 main ()
14552 {
14553
14554   ;
14555   return 0;
14556 }
14557 _ACEOF
14558 ac_clean_files_save=$ac_clean_files
14559 ac_clean_files="$ac_clean_files a.out a.exe b.out"
14560 # Try to create an executable without -o first, disregard a.out.
14561 # It will help us diagnose broken compilers, and finding out an intuition
14562 # of exeext.
14563 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
14564 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
14565 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
14566 #
14567 # List of possible output files, starting from the most likely.
14568 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
14569 # only as a last resort.  b.out is created by i960 compilers.
14570 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
14571 #
14572 # The IRIX 6 linker writes into existing files which may not be
14573 # executable, retaining their permissions.  Remove them first so a
14574 # subsequent execution test works.
14575 ac_rmfiles=
14576 for ac_file in $ac_files
14577 do
14578   case $ac_file in
14579     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14580     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
14581   esac
14582 done
14583 rm -f $ac_rmfiles
14584
14585 if { (ac_try="$ac_link_default"
14586 case "(($ac_try" in
14587   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14588   *) ac_try_echo=$ac_try;;
14589 esac
14590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14591   (eval "$ac_link_default") 2>&5
14592   ac_status=$?
14593   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14594   (exit $ac_status); }; then
14595   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
14596 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
14597 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
14598 # so that the user can short-circuit this test for compilers unknown to
14599 # Autoconf.
14600 for ac_file in $ac_files ''
14601 do
14602   test -f "$ac_file" || continue
14603   case $ac_file in
14604     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
14605         ;;
14606     [ab].out )
14607         # We found the default executable, but exeext='' is most
14608         # certainly right.
14609         break;;
14610     *.* )
14611         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
14612         then :; else
14613            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
14614         fi
14615         # We set ac_cv_exeext here because the later test for it is not
14616         # safe: cross compilers may not add the suffix if given an `-o'
14617         # argument, so we may need to know it at that point already.
14618         # Even if this section looks crufty: it has the advantage of
14619         # actually working.
14620         break;;
14621     * )
14622         break;;
14623   esac
14624 done
14625 test "$ac_cv_exeext" = no && ac_cv_exeext=
14626
14627 else
14628   ac_file=''
14629 fi
14630
14631 { echo "$as_me:$LINENO: result: $ac_file" >&5
14632 echo "${ECHO_T}$ac_file" >&6; }
14633 if test -z "$ac_file"; then
14634   echo "$as_me: failed program was:" >&5
14635 sed 's/^/| /' conftest.$ac_ext >&5
14636
14637 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
14638 See \`config.log' for more details." >&5
14639 echo "$as_me: error: C compiler cannot create executables
14640 See \`config.log' for more details." >&2;}
14641    { (exit 77); exit 77; }; }
14642 fi
14643
14644 ac_exeext=$ac_cv_exeext
14645
14646 # Check that the compiler produces executables we can run.  If not, either
14647 # the compiler is broken, or we cross compile.
14648 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
14649 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
14650 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
14651 # If not cross compiling, check that we can run a simple program.
14652 if test "$cross_compiling" != yes; then
14653   if { ac_try='./$ac_file'
14654   { (case "(($ac_try" in
14655   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14656   *) ac_try_echo=$ac_try;;
14657 esac
14658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14659   (eval "$ac_try") 2>&5
14660   ac_status=$?
14661   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14662   (exit $ac_status); }; }; then
14663     cross_compiling=no
14664   else
14665     if test "$cross_compiling" = maybe; then
14666         cross_compiling=yes
14667     else
14668         { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
14669 If you meant to cross compile, use \`--host'.
14670 See \`config.log' for more details." >&5
14671 echo "$as_me: error: cannot run C compiled programs.
14672 If you meant to cross compile, use \`--host'.
14673 See \`config.log' for more details." >&2;}
14674    { (exit 1); exit 1; }; }
14675     fi
14676   fi
14677 fi
14678 { echo "$as_me:$LINENO: result: yes" >&5
14679 echo "${ECHO_T}yes" >&6; }
14680
14681 rm -f a.out a.exe conftest$ac_cv_exeext b.out
14682 ac_clean_files=$ac_clean_files_save
14683 # Check that the compiler produces executables we can run.  If not, either
14684 # the compiler is broken, or we cross compile.
14685 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
14686 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
14687 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
14688 echo "${ECHO_T}$cross_compiling" >&6; }
14689
14690 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
14691 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
14692 if { (ac_try="$ac_link"
14693 case "(($ac_try" in
14694   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14695   *) ac_try_echo=$ac_try;;
14696 esac
14697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14698   (eval "$ac_link") 2>&5
14699   ac_status=$?
14700   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14701   (exit $ac_status); }; then
14702   # If both `conftest.exe' and `conftest' are `present' (well, observable)
14703 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
14704 # work properly (i.e., refer to `conftest.exe'), while it won't with
14705 # `rm'.
14706 for ac_file in conftest.exe conftest 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 | *.o | *.obj ) ;;
14710     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
14711           break;;
14712     * ) break;;
14713   esac
14714 done
14715 else
14716   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
14717 See \`config.log' for more details." >&5
14718 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
14719 See \`config.log' for more details." >&2;}
14720    { (exit 1); exit 1; }; }
14721 fi
14722
14723 rm -f conftest$ac_cv_exeext
14724 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
14725 echo "${ECHO_T}$ac_cv_exeext" >&6; }
14726
14727 rm -f conftest.$ac_ext
14728 EXEEXT=$ac_cv_exeext
14729 ac_exeext=$EXEEXT
14730 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
14731 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
14732 if test "${ac_cv_objext+set}" = set; then
14733   echo $ECHO_N "(cached) $ECHO_C" >&6
14734 else
14735   cat >conftest.$ac_ext <<_ACEOF
14736 /* confdefs.h.  */
14737 _ACEOF
14738 cat confdefs.h >>conftest.$ac_ext
14739 cat >>conftest.$ac_ext <<_ACEOF
14740 /* end confdefs.h.  */
14741
14742 int
14743 main ()
14744 {
14745
14746   ;
14747   return 0;
14748 }
14749 _ACEOF
14750 rm -f conftest.o conftest.obj
14751 if { (ac_try="$ac_compile"
14752 case "(($ac_try" in
14753   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14754   *) ac_try_echo=$ac_try;;
14755 esac
14756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14757   (eval "$ac_compile") 2>&5
14758   ac_status=$?
14759   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14760   (exit $ac_status); }; then
14761   for ac_file in conftest.o conftest.obj conftest.*; do
14762   test -f "$ac_file" || continue;
14763   case $ac_file in
14764     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
14765     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
14766        break;;
14767   esac
14768 done
14769 else
14770   echo "$as_me: failed program was:" >&5
14771 sed 's/^/| /' conftest.$ac_ext >&5
14772
14773 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
14774 See \`config.log' for more details." >&5
14775 echo "$as_me: error: cannot compute suffix of object files: cannot compile
14776 See \`config.log' for more details." >&2;}
14777    { (exit 1); exit 1; }; }
14778 fi
14779
14780 rm -f conftest.$ac_cv_objext conftest.$ac_ext
14781 fi
14782 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
14783 echo "${ECHO_T}$ac_cv_objext" >&6; }
14784 OBJEXT=$ac_cv_objext
14785 ac_objext=$OBJEXT
14786 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
14787 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
14788 if test "${ac_cv_c_compiler_gnu+set}" = set; then
14789   echo $ECHO_N "(cached) $ECHO_C" >&6
14790 else
14791   cat >conftest.$ac_ext <<_ACEOF
14792 /* confdefs.h.  */
14793 _ACEOF
14794 cat confdefs.h >>conftest.$ac_ext
14795 cat >>conftest.$ac_ext <<_ACEOF
14796 /* end confdefs.h.  */
14797
14798 int
14799 main ()
14800 {
14801 #ifndef __GNUC__
14802        choke me
14803 #endif
14804
14805   ;
14806   return 0;
14807 }
14808 _ACEOF
14809 rm -f conftest.$ac_objext
14810 if { (ac_try="$ac_compile"
14811 case "(($ac_try" in
14812   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14813   *) ac_try_echo=$ac_try;;
14814 esac
14815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14816   (eval "$ac_compile") 2>conftest.er1
14817   ac_status=$?
14818   grep -v '^ *+' conftest.er1 >conftest.err
14819   rm -f conftest.er1
14820   cat conftest.err >&5
14821   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14822   (exit $ac_status); } && {
14823          test -z "$ac_c_werror_flag" ||
14824          test ! -s conftest.err
14825        } && test -s conftest.$ac_objext; then
14826   ac_compiler_gnu=yes
14827 else
14828   echo "$as_me: failed program was:" >&5
14829 sed 's/^/| /' conftest.$ac_ext >&5
14830
14831         ac_compiler_gnu=no
14832 fi
14833
14834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14835 ac_cv_c_compiler_gnu=$ac_compiler_gnu
14836
14837 fi
14838 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
14839 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
14840 GCC=`test $ac_compiler_gnu = yes && echo yes`
14841 ac_test_CFLAGS=${CFLAGS+set}
14842 ac_save_CFLAGS=$CFLAGS
14843 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14844 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
14845 if test "${ac_cv_prog_cc_g+set}" = set; then
14846   echo $ECHO_N "(cached) $ECHO_C" >&6
14847 else
14848   ac_save_c_werror_flag=$ac_c_werror_flag
14849    ac_c_werror_flag=yes
14850    ac_cv_prog_cc_g=no
14851    CFLAGS="-g"
14852    cat >conftest.$ac_ext <<_ACEOF
14853 /* confdefs.h.  */
14854 _ACEOF
14855 cat confdefs.h >>conftest.$ac_ext
14856 cat >>conftest.$ac_ext <<_ACEOF
14857 /* end confdefs.h.  */
14858
14859 int
14860 main ()
14861 {
14862
14863   ;
14864   return 0;
14865 }
14866 _ACEOF
14867 rm -f conftest.$ac_objext
14868 if { (ac_try="$ac_compile"
14869 case "(($ac_try" in
14870   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14871   *) ac_try_echo=$ac_try;;
14872 esac
14873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14874   (eval "$ac_compile") 2>conftest.er1
14875   ac_status=$?
14876   grep -v '^ *+' conftest.er1 >conftest.err
14877   rm -f conftest.er1
14878   cat conftest.err >&5
14879   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14880   (exit $ac_status); } && {
14881          test -z "$ac_c_werror_flag" ||
14882          test ! -s conftest.err
14883        } && test -s conftest.$ac_objext; then
14884   ac_cv_prog_cc_g=yes
14885 else
14886   echo "$as_me: failed program was:" >&5
14887 sed 's/^/| /' conftest.$ac_ext >&5
14888
14889         CFLAGS=""
14890       cat >conftest.$ac_ext <<_ACEOF
14891 /* confdefs.h.  */
14892 _ACEOF
14893 cat confdefs.h >>conftest.$ac_ext
14894 cat >>conftest.$ac_ext <<_ACEOF
14895 /* end confdefs.h.  */
14896
14897 int
14898 main ()
14899 {
14900
14901   ;
14902   return 0;
14903 }
14904 _ACEOF
14905 rm -f conftest.$ac_objext
14906 if { (ac_try="$ac_compile"
14907 case "(($ac_try" in
14908   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14909   *) ac_try_echo=$ac_try;;
14910 esac
14911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14912   (eval "$ac_compile") 2>conftest.er1
14913   ac_status=$?
14914   grep -v '^ *+' conftest.er1 >conftest.err
14915   rm -f conftest.er1
14916   cat conftest.err >&5
14917   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14918   (exit $ac_status); } && {
14919          test -z "$ac_c_werror_flag" ||
14920          test ! -s conftest.err
14921        } && test -s conftest.$ac_objext; then
14922   :
14923 else
14924   echo "$as_me: failed program was:" >&5
14925 sed 's/^/| /' conftest.$ac_ext >&5
14926
14927         ac_c_werror_flag=$ac_save_c_werror_flag
14928          CFLAGS="-g"
14929          cat >conftest.$ac_ext <<_ACEOF
14930 /* confdefs.h.  */
14931 _ACEOF
14932 cat confdefs.h >>conftest.$ac_ext
14933 cat >>conftest.$ac_ext <<_ACEOF
14934 /* end confdefs.h.  */
14935
14936 int
14937 main ()
14938 {
14939
14940   ;
14941   return 0;
14942 }
14943 _ACEOF
14944 rm -f conftest.$ac_objext
14945 if { (ac_try="$ac_compile"
14946 case "(($ac_try" in
14947   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14948   *) ac_try_echo=$ac_try;;
14949 esac
14950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14951   (eval "$ac_compile") 2>conftest.er1
14952   ac_status=$?
14953   grep -v '^ *+' conftest.er1 >conftest.err
14954   rm -f conftest.er1
14955   cat conftest.err >&5
14956   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14957   (exit $ac_status); } && {
14958          test -z "$ac_c_werror_flag" ||
14959          test ! -s conftest.err
14960        } && test -s conftest.$ac_objext; then
14961   ac_cv_prog_cc_g=yes
14962 else
14963   echo "$as_me: failed program was:" >&5
14964 sed 's/^/| /' conftest.$ac_ext >&5
14965
14966
14967 fi
14968
14969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14970 fi
14971
14972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14973 fi
14974
14975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14976    ac_c_werror_flag=$ac_save_c_werror_flag
14977 fi
14978 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
14979 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
14980 if test "$ac_test_CFLAGS" = set; then
14981   CFLAGS=$ac_save_CFLAGS
14982 elif test $ac_cv_prog_cc_g = yes; then
14983   if test "$GCC" = yes; then
14984     CFLAGS="-g -O2"
14985   else
14986     CFLAGS="-g"
14987   fi
14988 else
14989   if test "$GCC" = yes; then
14990     CFLAGS="-O2"
14991   else
14992     CFLAGS=
14993   fi
14994 fi
14995 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
14996 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
14997 if test "${ac_cv_prog_cc_c89+set}" = set; then
14998   echo $ECHO_N "(cached) $ECHO_C" >&6
14999 else
15000   ac_cv_prog_cc_c89=no
15001 ac_save_CC=$CC
15002 cat >conftest.$ac_ext <<_ACEOF
15003 /* confdefs.h.  */
15004 _ACEOF
15005 cat confdefs.h >>conftest.$ac_ext
15006 cat >>conftest.$ac_ext <<_ACEOF
15007 /* end confdefs.h.  */
15008 #include <stdarg.h>
15009 #include <stdio.h>
15010 #include <sys/types.h>
15011 #include <sys/stat.h>
15012 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
15013 struct buf { int x; };
15014 FILE * (*rcsopen) (struct buf *, struct stat *, int);
15015 static char *e (p, i)
15016      char **p;
15017      int i;
15018 {
15019   return p[i];
15020 }
15021 static char *f (char * (*g) (char **, int), char **p, ...)
15022 {
15023   char *s;
15024   va_list v;
15025   va_start (v,p);
15026   s = g (p, va_arg (v,int));
15027   va_end (v);
15028   return s;
15029 }
15030
15031 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
15032    function prototypes and stuff, but not '\xHH' hex character constants.
15033    These don't provoke an error unfortunately, instead are silently treated
15034    as 'x'.  The following induces an error, until -std is added to get
15035    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
15036    array size at least.  It's necessary to write '\x00'==0 to get something
15037    that's true only with -std.  */
15038 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
15039
15040 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
15041    inside strings and character constants.  */
15042 #define FOO(x) 'x'
15043 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
15044
15045 int test (int i, double x);
15046 struct s1 {int (*f) (int a);};
15047 struct s2 {int (*f) (double a);};
15048 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
15049 int argc;
15050 char **argv;
15051 int
15052 main ()
15053 {
15054 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
15055   ;
15056   return 0;
15057 }
15058 _ACEOF
15059 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
15060         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
15061 do
15062   CC="$ac_save_CC $ac_arg"
15063   rm -f conftest.$ac_objext
15064 if { (ac_try="$ac_compile"
15065 case "(($ac_try" in
15066   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15067   *) ac_try_echo=$ac_try;;
15068 esac
15069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15070   (eval "$ac_compile") 2>conftest.er1
15071   ac_status=$?
15072   grep -v '^ *+' conftest.er1 >conftest.err
15073   rm -f conftest.er1
15074   cat conftest.err >&5
15075   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15076   (exit $ac_status); } && {
15077          test -z "$ac_c_werror_flag" ||
15078          test ! -s conftest.err
15079        } && test -s conftest.$ac_objext; then
15080   ac_cv_prog_cc_c89=$ac_arg
15081 else
15082   echo "$as_me: failed program was:" >&5
15083 sed 's/^/| /' conftest.$ac_ext >&5
15084
15085
15086 fi
15087
15088 rm -f core conftest.err conftest.$ac_objext
15089   test "x$ac_cv_prog_cc_c89" != "xno" && break
15090 done
15091 rm -f conftest.$ac_ext
15092 CC=$ac_save_CC
15093
15094 fi
15095 # AC_CACHE_VAL
15096 case "x$ac_cv_prog_cc_c89" in
15097   x)
15098     { echo "$as_me:$LINENO: result: none needed" >&5
15099 echo "${ECHO_T}none needed" >&6; } ;;
15100   xno)
15101     { echo "$as_me:$LINENO: result: unsupported" >&5
15102 echo "${ECHO_T}unsupported" >&6; } ;;
15103   *)
15104     CC="$CC $ac_cv_prog_cc_c89"
15105     { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
15106 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
15107 esac
15108
15109
15110 ac_ext=c
15111 ac_cpp='$CPP $CPPFLAGS'
15112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15115
15116
15117
15118
15119     ac_ext=c
15120 ac_cpp='$CPP $CPPFLAGS'
15121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15124
15125     { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
15126 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
15127 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
15128   echo $ECHO_N "(cached) $ECHO_C" >&6
15129 else
15130   cat >conftest.$ac_ext <<_ACEOF
15131 /* confdefs.h.  */
15132 _ACEOF
15133 cat confdefs.h >>conftest.$ac_ext
15134 cat >>conftest.$ac_ext <<_ACEOF
15135 /* end confdefs.h.  */
15136
15137 int
15138 main ()
15139 {
15140
15141              #ifndef __INTEL_COMPILER
15142                 choke me
15143              #endif
15144
15145   ;
15146   return 0;
15147 }
15148 _ACEOF
15149 rm -f conftest.$ac_objext
15150 if { (ac_try="$ac_compile"
15151 case "(($ac_try" in
15152   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15153   *) ac_try_echo=$ac_try;;
15154 esac
15155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15156   (eval "$ac_compile") 2>conftest.er1
15157   ac_status=$?
15158   grep -v '^ *+' conftest.er1 >conftest.err
15159   rm -f conftest.er1
15160   cat conftest.err >&5
15161   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15162   (exit $ac_status); } && {
15163          test -z "$ac_c_werror_flag" ||
15164          test ! -s conftest.err
15165        } && test -s conftest.$ac_objext; then
15166   bakefile_cv_c_compiler___INTEL_COMPILER=yes
15167 else
15168   echo "$as_me: failed program was:" >&5
15169 sed 's/^/| /' conftest.$ac_ext >&5
15170
15171         bakefile_cv_c_compiler___INTEL_COMPILER=no
15172
15173 fi
15174
15175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15176
15177
15178 fi
15179 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
15180 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
15181     if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
15182         :; INTELCC=yes
15183     else
15184         :;
15185     fi
15186     ac_ext=c
15187 ac_cpp='$CPP $CPPFLAGS'
15188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15191
15192
15193
15194
15195         if test "$INTELCC" = "yes"; then
15196
15197
15198     ac_ext=c
15199 ac_cpp='$CPP $CPPFLAGS'
15200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15203
15204     { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v8 or later" >&5
15205 echo $ECHO_N "checking whether we are using Intel C compiler v8 or later... $ECHO_C" >&6; }
15206 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+set}" = set; then
15207   echo $ECHO_N "(cached) $ECHO_C" >&6
15208 else
15209   cat >conftest.$ac_ext <<_ACEOF
15210 /* confdefs.h.  */
15211 _ACEOF
15212 cat confdefs.h >>conftest.$ac_ext
15213 cat >>conftest.$ac_ext <<_ACEOF
15214 /* end confdefs.h.  */
15215
15216 int
15217 main ()
15218 {
15219
15220              #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
15221                 choke me
15222              #endif
15223
15224   ;
15225   return 0;
15226 }
15227 _ACEOF
15228 rm -f conftest.$ac_objext
15229 if { (ac_try="$ac_compile"
15230 case "(($ac_try" in
15231   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15232   *) ac_try_echo=$ac_try;;
15233 esac
15234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15235   (eval "$ac_compile") 2>conftest.er1
15236   ac_status=$?
15237   grep -v '^ *+' conftest.er1 >conftest.err
15238   rm -f conftest.er1
15239   cat conftest.err >&5
15240   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15241   (exit $ac_status); } && {
15242          test -z "$ac_c_werror_flag" ||
15243          test ! -s conftest.err
15244        } && test -s conftest.$ac_objext; then
15245   bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=yes
15246 else
15247   echo "$as_me: failed program was:" >&5
15248 sed 's/^/| /' conftest.$ac_ext >&5
15249
15250         bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=no
15251
15252 fi
15253
15254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15255
15256
15257 fi
15258 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&5
15259 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6; }
15260     if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
15261         :; INTELCC8=yes
15262     else
15263         :;
15264     fi
15265     ac_ext=c
15266 ac_cpp='$CPP $CPPFLAGS'
15267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15270
15271
15272
15273
15274
15275     ac_ext=c
15276 ac_cpp='$CPP $CPPFLAGS'
15277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15280
15281     { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v10 or later" >&5
15282 echo $ECHO_N "checking whether we are using Intel C compiler v10 or later... $ECHO_C" >&6; }
15283 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
15284   echo $ECHO_N "(cached) $ECHO_C" >&6
15285 else
15286   cat >conftest.$ac_ext <<_ACEOF
15287 /* confdefs.h.  */
15288 _ACEOF
15289 cat confdefs.h >>conftest.$ac_ext
15290 cat >>conftest.$ac_ext <<_ACEOF
15291 /* end confdefs.h.  */
15292
15293 int
15294 main ()
15295 {
15296
15297              #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
15298                 choke me
15299              #endif
15300
15301   ;
15302   return 0;
15303 }
15304 _ACEOF
15305 rm -f conftest.$ac_objext
15306 if { (ac_try="$ac_compile"
15307 case "(($ac_try" in
15308   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15309   *) ac_try_echo=$ac_try;;
15310 esac
15311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15312   (eval "$ac_compile") 2>conftest.er1
15313   ac_status=$?
15314   grep -v '^ *+' conftest.er1 >conftest.err
15315   rm -f conftest.er1
15316   cat conftest.err >&5
15317   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15318   (exit $ac_status); } && {
15319          test -z "$ac_c_werror_flag" ||
15320          test ! -s conftest.err
15321        } && test -s conftest.$ac_objext; then
15322   bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=yes
15323 else
15324   echo "$as_me: failed program was:" >&5
15325 sed 's/^/| /' conftest.$ac_ext >&5
15326
15327         bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=no
15328
15329 fi
15330
15331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15332
15333
15334 fi
15335 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&5
15336 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6; }
15337     if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
15338         :; INTELCC10=yes
15339     else
15340         :;
15341     fi
15342     ac_ext=c
15343 ac_cpp='$CPP $CPPFLAGS'
15344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15347
15348
15349
15350     fi
15351
15352         if test "x$GCC" != "xyes"; then
15353         if test "xCC" = "xC"; then
15354             { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
15355 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
15356 if test "${bakefile_cv_c_exto+set}" = set; then
15357   echo $ECHO_N "(cached) $ECHO_C" >&6
15358 else
15359   cat >conftest.$ac_ext <<_ACEOF
15360 /* confdefs.h.  */
15361 _ACEOF
15362 cat confdefs.h >>conftest.$ac_ext
15363 cat >>conftest.$ac_ext <<_ACEOF
15364 /* end confdefs.h.  */
15365
15366 int
15367 main ()
15368 {
15369
15370   ;
15371   return 0;
15372 }
15373 _ACEOF
15374 rm -f conftest.$ac_objext conftest.$ac_ext.o
15375 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15376   (eval $ac_compile) 2>&5
15377   ac_status=$?
15378   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15379   (exit $ac_status); }; then
15380   for ac_file in `(ls conftest.* 2>/dev/null)`; do
15381     case $ac_file in
15382         conftest.$ac_ext.o)
15383             bakefile_cv_c_exto="-ext o"
15384             ;;
15385         *)
15386             ;;
15387     esac
15388 done
15389 else
15390   { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
15391 See \`config.log' for more details." >&5
15392 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
15393 See \`config.log' for more details." >&2;}
15394    { (exit 1); exit 1; }; }
15395
15396 fi
15397
15398 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
15399
15400 fi
15401 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
15402 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
15403 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15404     if test "c" = "c"; then
15405         CFLAGS="$bakefile_cv_c_exto $CFLAGS"
15406     fi
15407     if test "c" = "cxx"; then
15408         CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
15409     fi
15410 fi
15411
15412             if test "x$bakefile_cv_c_exto" '!=' "x"; then
15413                 unset ac_cv_prog_cc_g
15414                 ac_test_CFLAGS=${CFLAGS+set}
15415 ac_save_CFLAGS=$CFLAGS
15416 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15417 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15418 if test "${ac_cv_prog_cc_g+set}" = set; then
15419   echo $ECHO_N "(cached) $ECHO_C" >&6
15420 else
15421   ac_save_c_werror_flag=$ac_c_werror_flag
15422    ac_c_werror_flag=yes
15423    ac_cv_prog_cc_g=no
15424    CFLAGS="-g"
15425    cat >conftest.$ac_ext <<_ACEOF
15426 /* confdefs.h.  */
15427 _ACEOF
15428 cat confdefs.h >>conftest.$ac_ext
15429 cat >>conftest.$ac_ext <<_ACEOF
15430 /* end confdefs.h.  */
15431
15432 int
15433 main ()
15434 {
15435
15436   ;
15437   return 0;
15438 }
15439 _ACEOF
15440 rm -f conftest.$ac_objext
15441 if { (ac_try="$ac_compile"
15442 case "(($ac_try" in
15443   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15444   *) ac_try_echo=$ac_try;;
15445 esac
15446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15447   (eval "$ac_compile") 2>conftest.er1
15448   ac_status=$?
15449   grep -v '^ *+' conftest.er1 >conftest.err
15450   rm -f conftest.er1
15451   cat conftest.err >&5
15452   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15453   (exit $ac_status); } && {
15454          test -z "$ac_c_werror_flag" ||
15455          test ! -s conftest.err
15456        } && test -s conftest.$ac_objext; then
15457   ac_cv_prog_cc_g=yes
15458 else
15459   echo "$as_me: failed program was:" >&5
15460 sed 's/^/| /' conftest.$ac_ext >&5
15461
15462         CFLAGS=""
15463       cat >conftest.$ac_ext <<_ACEOF
15464 /* confdefs.h.  */
15465 _ACEOF
15466 cat confdefs.h >>conftest.$ac_ext
15467 cat >>conftest.$ac_ext <<_ACEOF
15468 /* end confdefs.h.  */
15469
15470 int
15471 main ()
15472 {
15473
15474   ;
15475   return 0;
15476 }
15477 _ACEOF
15478 rm -f conftest.$ac_objext
15479 if { (ac_try="$ac_compile"
15480 case "(($ac_try" in
15481   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15482   *) ac_try_echo=$ac_try;;
15483 esac
15484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15485   (eval "$ac_compile") 2>conftest.er1
15486   ac_status=$?
15487   grep -v '^ *+' conftest.er1 >conftest.err
15488   rm -f conftest.er1
15489   cat conftest.err >&5
15490   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15491   (exit $ac_status); } && {
15492          test -z "$ac_c_werror_flag" ||
15493          test ! -s conftest.err
15494        } && test -s conftest.$ac_objext; then
15495   :
15496 else
15497   echo "$as_me: failed program was:" >&5
15498 sed 's/^/| /' conftest.$ac_ext >&5
15499
15500         ac_c_werror_flag=$ac_save_c_werror_flag
15501          CFLAGS="-g"
15502          cat >conftest.$ac_ext <<_ACEOF
15503 /* confdefs.h.  */
15504 _ACEOF
15505 cat confdefs.h >>conftest.$ac_ext
15506 cat >>conftest.$ac_ext <<_ACEOF
15507 /* end confdefs.h.  */
15508
15509 int
15510 main ()
15511 {
15512
15513   ;
15514   return 0;
15515 }
15516 _ACEOF
15517 rm -f conftest.$ac_objext
15518 if { (ac_try="$ac_compile"
15519 case "(($ac_try" in
15520   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15521   *) ac_try_echo=$ac_try;;
15522 esac
15523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15524   (eval "$ac_compile") 2>conftest.er1
15525   ac_status=$?
15526   grep -v '^ *+' conftest.er1 >conftest.err
15527   rm -f conftest.er1
15528   cat conftest.err >&5
15529   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15530   (exit $ac_status); } && {
15531          test -z "$ac_c_werror_flag" ||
15532          test ! -s conftest.err
15533        } && test -s conftest.$ac_objext; then
15534   ac_cv_prog_cc_g=yes
15535 else
15536   echo "$as_me: failed program was:" >&5
15537 sed 's/^/| /' conftest.$ac_ext >&5
15538
15539
15540 fi
15541
15542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15543 fi
15544
15545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15546 fi
15547
15548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15549    ac_c_werror_flag=$ac_save_c_werror_flag
15550 fi
15551 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15552 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15553 if test "$ac_test_CFLAGS" = set; then
15554   CFLAGS=$ac_save_CFLAGS
15555 elif test $ac_cv_prog_cc_g = yes; then
15556   if test "$GCC" = yes; then
15557     CFLAGS="-g -O2"
15558   else
15559     CFLAGS="-g"
15560   fi
15561 else
15562   if test "$GCC" = yes; then
15563     CFLAGS="-O2"
15564   else
15565     CFLAGS=
15566   fi
15567 fi
15568             fi
15569         fi
15570
15571                         case `uname -s` in
15572             AIX*)
15573
15574
15575     ac_ext=c
15576 ac_cpp='$CPP $CPPFLAGS'
15577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15580
15581     { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15582 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15583 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15584   echo $ECHO_N "(cached) $ECHO_C" >&6
15585 else
15586   cat >conftest.$ac_ext <<_ACEOF
15587 /* confdefs.h.  */
15588 _ACEOF
15589 cat confdefs.h >>conftest.$ac_ext
15590 cat >>conftest.$ac_ext <<_ACEOF
15591 /* end confdefs.h.  */
15592
15593 int
15594 main ()
15595 {
15596
15597              #ifndef __xlC__
15598                 choke me
15599              #endif
15600
15601   ;
15602   return 0;
15603 }
15604 _ACEOF
15605 rm -f conftest.$ac_objext
15606 if { (ac_try="$ac_compile"
15607 case "(($ac_try" in
15608   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15609   *) ac_try_echo=$ac_try;;
15610 esac
15611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15612   (eval "$ac_compile") 2>conftest.er1
15613   ac_status=$?
15614   grep -v '^ *+' conftest.er1 >conftest.err
15615   rm -f conftest.er1
15616   cat conftest.err >&5
15617   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15618   (exit $ac_status); } && {
15619          test -z "$ac_c_werror_flag" ||
15620          test ! -s conftest.err
15621        } && test -s conftest.$ac_objext; then
15622   bakefile_cv_c_compiler___xlC__=yes
15623 else
15624   echo "$as_me: failed program was:" >&5
15625 sed 's/^/| /' conftest.$ac_ext >&5
15626
15627         bakefile_cv_c_compiler___xlC__=no
15628
15629 fi
15630
15631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15632
15633
15634 fi
15635 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15636 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15637     if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15638         :; XLCC=yes
15639     else
15640         :;
15641     fi
15642     ac_ext=c
15643 ac_cpp='$CPP $CPPFLAGS'
15644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15647
15648
15649
15650                 ;;
15651
15652             Darwin)
15653
15654
15655     ac_ext=c
15656 ac_cpp='$CPP $CPPFLAGS'
15657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15660
15661     { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
15662 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
15663 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
15664   echo $ECHO_N "(cached) $ECHO_C" >&6
15665 else
15666   cat >conftest.$ac_ext <<_ACEOF
15667 /* confdefs.h.  */
15668 _ACEOF
15669 cat confdefs.h >>conftest.$ac_ext
15670 cat >>conftest.$ac_ext <<_ACEOF
15671 /* end confdefs.h.  */
15672
15673 int
15674 main ()
15675 {
15676
15677              #ifndef __MWERKS__
15678                 choke me
15679              #endif
15680
15681   ;
15682   return 0;
15683 }
15684 _ACEOF
15685 rm -f conftest.$ac_objext
15686 if { (ac_try="$ac_compile"
15687 case "(($ac_try" in
15688   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15689   *) ac_try_echo=$ac_try;;
15690 esac
15691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15692   (eval "$ac_compile") 2>conftest.er1
15693   ac_status=$?
15694   grep -v '^ *+' conftest.er1 >conftest.err
15695   rm -f conftest.er1
15696   cat conftest.err >&5
15697   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15698   (exit $ac_status); } && {
15699          test -z "$ac_c_werror_flag" ||
15700          test ! -s conftest.err
15701        } && test -s conftest.$ac_objext; then
15702   bakefile_cv_c_compiler___MWERKS__=yes
15703 else
15704   echo "$as_me: failed program was:" >&5
15705 sed 's/^/| /' conftest.$ac_ext >&5
15706
15707         bakefile_cv_c_compiler___MWERKS__=no
15708
15709 fi
15710
15711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15712
15713
15714 fi
15715 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
15716 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
15717     if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
15718         :; MWCC=yes
15719     else
15720         :;
15721     fi
15722     ac_ext=c
15723 ac_cpp='$CPP $CPPFLAGS'
15724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15727
15728
15729
15730                 if test "$MWCC" != "yes"; then
15731
15732
15733     ac_ext=c
15734 ac_cpp='$CPP $CPPFLAGS'
15735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15738
15739     { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15740 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15741 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15742   echo $ECHO_N "(cached) $ECHO_C" >&6
15743 else
15744   cat >conftest.$ac_ext <<_ACEOF
15745 /* confdefs.h.  */
15746 _ACEOF
15747 cat confdefs.h >>conftest.$ac_ext
15748 cat >>conftest.$ac_ext <<_ACEOF
15749 /* end confdefs.h.  */
15750
15751 int
15752 main ()
15753 {
15754
15755              #ifndef __xlC__
15756                 choke me
15757              #endif
15758
15759   ;
15760   return 0;
15761 }
15762 _ACEOF
15763 rm -f conftest.$ac_objext
15764 if { (ac_try="$ac_compile"
15765 case "(($ac_try" in
15766   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15767   *) ac_try_echo=$ac_try;;
15768 esac
15769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15770   (eval "$ac_compile") 2>conftest.er1
15771   ac_status=$?
15772   grep -v '^ *+' conftest.er1 >conftest.err
15773   rm -f conftest.er1
15774   cat conftest.err >&5
15775   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15776   (exit $ac_status); } && {
15777          test -z "$ac_c_werror_flag" ||
15778          test ! -s conftest.err
15779        } && test -s conftest.$ac_objext; then
15780   bakefile_cv_c_compiler___xlC__=yes
15781 else
15782   echo "$as_me: failed program was:" >&5
15783 sed 's/^/| /' conftest.$ac_ext >&5
15784
15785         bakefile_cv_c_compiler___xlC__=no
15786
15787 fi
15788
15789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15790
15791
15792 fi
15793 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15794 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15795     if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15796         :; XLCC=yes
15797     else
15798         :;
15799     fi
15800     ac_ext=c
15801 ac_cpp='$CPP $CPPFLAGS'
15802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15805
15806
15807
15808                 fi
15809                 ;;
15810
15811             IRIX*)
15812
15813
15814     ac_ext=c
15815 ac_cpp='$CPP $CPPFLAGS'
15816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15819
15820     { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
15821 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
15822 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
15823   echo $ECHO_N "(cached) $ECHO_C" >&6
15824 else
15825   cat >conftest.$ac_ext <<_ACEOF
15826 /* confdefs.h.  */
15827 _ACEOF
15828 cat confdefs.h >>conftest.$ac_ext
15829 cat >>conftest.$ac_ext <<_ACEOF
15830 /* end confdefs.h.  */
15831
15832 int
15833 main ()
15834 {
15835
15836              #ifndef _SGI_COMPILER_VERSION
15837                 choke me
15838              #endif
15839
15840   ;
15841   return 0;
15842 }
15843 _ACEOF
15844 rm -f conftest.$ac_objext
15845 if { (ac_try="$ac_compile"
15846 case "(($ac_try" in
15847   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15848   *) ac_try_echo=$ac_try;;
15849 esac
15850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15851   (eval "$ac_compile") 2>conftest.er1
15852   ac_status=$?
15853   grep -v '^ *+' conftest.er1 >conftest.err
15854   rm -f conftest.er1
15855   cat conftest.err >&5
15856   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15857   (exit $ac_status); } && {
15858          test -z "$ac_c_werror_flag" ||
15859          test ! -s conftest.err
15860        } && test -s conftest.$ac_objext; then
15861   bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
15862 else
15863   echo "$as_me: failed program was:" >&5
15864 sed 's/^/| /' conftest.$ac_ext >&5
15865
15866         bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
15867
15868 fi
15869
15870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15871
15872
15873 fi
15874 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
15875 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
15876     if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
15877         :; SGICC=yes
15878     else
15879         :;
15880     fi
15881     ac_ext=c
15882 ac_cpp='$CPP $CPPFLAGS'
15883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15886
15887
15888
15889                 ;;
15890
15891             Linux*)
15892                                                 if test "$INTELCC" != "yes"; then
15893
15894
15895     ac_ext=c
15896 ac_cpp='$CPP $CPPFLAGS'
15897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15900
15901     { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
15902 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
15903 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
15904   echo $ECHO_N "(cached) $ECHO_C" >&6
15905 else
15906   cat >conftest.$ac_ext <<_ACEOF
15907 /* confdefs.h.  */
15908 _ACEOF
15909 cat confdefs.h >>conftest.$ac_ext
15910 cat >>conftest.$ac_ext <<_ACEOF
15911 /* end confdefs.h.  */
15912
15913 int
15914 main ()
15915 {
15916
15917              #ifndef __SUNPRO_C
15918                 choke me
15919              #endif
15920
15921   ;
15922   return 0;
15923 }
15924 _ACEOF
15925 rm -f conftest.$ac_objext
15926 if { (ac_try="$ac_compile"
15927 case "(($ac_try" in
15928   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15929   *) ac_try_echo=$ac_try;;
15930 esac
15931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15932   (eval "$ac_compile") 2>conftest.er1
15933   ac_status=$?
15934   grep -v '^ *+' conftest.er1 >conftest.err
15935   rm -f conftest.er1
15936   cat conftest.err >&5
15937   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15938   (exit $ac_status); } && {
15939          test -z "$ac_c_werror_flag" ||
15940          test ! -s conftest.err
15941        } && test -s conftest.$ac_objext; then
15942   bakefile_cv_c_compiler___SUNPRO_C=yes
15943 else
15944   echo "$as_me: failed program was:" >&5
15945 sed 's/^/| /' conftest.$ac_ext >&5
15946
15947         bakefile_cv_c_compiler___SUNPRO_C=no
15948
15949 fi
15950
15951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15952
15953
15954 fi
15955 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
15956 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
15957     if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
15958         :; SUNCC=yes
15959     else
15960         :;
15961     fi
15962     ac_ext=c
15963 ac_cpp='$CPP $CPPFLAGS'
15964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15967
15968
15969
15970                 fi
15971                 ;;
15972
15973             HP-UX*)
15974
15975
15976     ac_ext=c
15977 ac_cpp='$CPP $CPPFLAGS'
15978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15981
15982     { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
15983 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
15984 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
15985   echo $ECHO_N "(cached) $ECHO_C" >&6
15986 else
15987   cat >conftest.$ac_ext <<_ACEOF
15988 /* confdefs.h.  */
15989 _ACEOF
15990 cat confdefs.h >>conftest.$ac_ext
15991 cat >>conftest.$ac_ext <<_ACEOF
15992 /* end confdefs.h.  */
15993
15994 int
15995 main ()
15996 {
15997
15998              #ifndef __HP_cc
15999                 choke me
16000              #endif
16001
16002   ;
16003   return 0;
16004 }
16005 _ACEOF
16006 rm -f conftest.$ac_objext
16007 if { (ac_try="$ac_compile"
16008 case "(($ac_try" in
16009   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16010   *) ac_try_echo=$ac_try;;
16011 esac
16012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16013   (eval "$ac_compile") 2>conftest.er1
16014   ac_status=$?
16015   grep -v '^ *+' conftest.er1 >conftest.err
16016   rm -f conftest.er1
16017   cat conftest.err >&5
16018   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16019   (exit $ac_status); } && {
16020          test -z "$ac_c_werror_flag" ||
16021          test ! -s conftest.err
16022        } && test -s conftest.$ac_objext; then
16023   bakefile_cv_c_compiler___HP_cc=yes
16024 else
16025   echo "$as_me: failed program was:" >&5
16026 sed 's/^/| /' conftest.$ac_ext >&5
16027
16028         bakefile_cv_c_compiler___HP_cc=no
16029
16030 fi
16031
16032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16033
16034
16035 fi
16036 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
16037 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
16038     if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
16039         :; HPCC=yes
16040     else
16041         :;
16042     fi
16043     ac_ext=c
16044 ac_cpp='$CPP $CPPFLAGS'
16045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16048
16049
16050
16051                 ;;
16052
16053             OSF1)
16054
16055
16056     ac_ext=c
16057 ac_cpp='$CPP $CPPFLAGS'
16058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16061
16062     { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
16063 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
16064 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
16065   echo $ECHO_N "(cached) $ECHO_C" >&6
16066 else
16067   cat >conftest.$ac_ext <<_ACEOF
16068 /* confdefs.h.  */
16069 _ACEOF
16070 cat confdefs.h >>conftest.$ac_ext
16071 cat >>conftest.$ac_ext <<_ACEOF
16072 /* end confdefs.h.  */
16073
16074 int
16075 main ()
16076 {
16077
16078              #ifndef __DECC
16079                 choke me
16080              #endif
16081
16082   ;
16083   return 0;
16084 }
16085 _ACEOF
16086 rm -f conftest.$ac_objext
16087 if { (ac_try="$ac_compile"
16088 case "(($ac_try" in
16089   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16090   *) ac_try_echo=$ac_try;;
16091 esac
16092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16093   (eval "$ac_compile") 2>conftest.er1
16094   ac_status=$?
16095   grep -v '^ *+' conftest.er1 >conftest.err
16096   rm -f conftest.er1
16097   cat conftest.err >&5
16098   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16099   (exit $ac_status); } && {
16100          test -z "$ac_c_werror_flag" ||
16101          test ! -s conftest.err
16102        } && test -s conftest.$ac_objext; then
16103   bakefile_cv_c_compiler___DECC=yes
16104 else
16105   echo "$as_me: failed program was:" >&5
16106 sed 's/^/| /' conftest.$ac_ext >&5
16107
16108         bakefile_cv_c_compiler___DECC=no
16109
16110 fi
16111
16112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16113
16114
16115 fi
16116 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
16117 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
16118     if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
16119         :; COMPAQCC=yes
16120     else
16121         :;
16122     fi
16123     ac_ext=c
16124 ac_cpp='$CPP $CPPFLAGS'
16125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16128
16129
16130
16131                 ;;
16132
16133             SunOS)
16134
16135
16136     ac_ext=c
16137 ac_cpp='$CPP $CPPFLAGS'
16138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16141
16142     { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
16143 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
16144 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
16145   echo $ECHO_N "(cached) $ECHO_C" >&6
16146 else
16147   cat >conftest.$ac_ext <<_ACEOF
16148 /* confdefs.h.  */
16149 _ACEOF
16150 cat confdefs.h >>conftest.$ac_ext
16151 cat >>conftest.$ac_ext <<_ACEOF
16152 /* end confdefs.h.  */
16153
16154 int
16155 main ()
16156 {
16157
16158              #ifndef __SUNPRO_C
16159                 choke me
16160              #endif
16161
16162   ;
16163   return 0;
16164 }
16165 _ACEOF
16166 rm -f conftest.$ac_objext
16167 if { (ac_try="$ac_compile"
16168 case "(($ac_try" in
16169   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16170   *) ac_try_echo=$ac_try;;
16171 esac
16172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16173   (eval "$ac_compile") 2>conftest.er1
16174   ac_status=$?
16175   grep -v '^ *+' conftest.er1 >conftest.err
16176   rm -f conftest.er1
16177   cat conftest.err >&5
16178   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16179   (exit $ac_status); } && {
16180          test -z "$ac_c_werror_flag" ||
16181          test ! -s conftest.err
16182        } && test -s conftest.$ac_objext; then
16183   bakefile_cv_c_compiler___SUNPRO_C=yes
16184 else
16185   echo "$as_me: failed program was:" >&5
16186 sed 's/^/| /' conftest.$ac_ext >&5
16187
16188         bakefile_cv_c_compiler___SUNPRO_C=no
16189
16190 fi
16191
16192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16193
16194
16195 fi
16196 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16197 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16198     if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16199         :; SUNCC=yes
16200     else
16201         :;
16202     fi
16203     ac_ext=c
16204 ac_cpp='$CPP $CPPFLAGS'
16205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16208
16209
16210
16211                 ;;
16212         esac
16213     fi
16214
16215
16216
16217 ac_ext=c
16218 ac_cpp='$CPP $CPPFLAGS'
16219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16222 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
16223 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
16224 # On Suns, sometimes $CPP names a directory.
16225 if test -n "$CPP" && test -d "$CPP"; then
16226   CPP=
16227 fi
16228 if test -z "$CPP"; then
16229   if test "${ac_cv_prog_CPP+set}" = set; then
16230   echo $ECHO_N "(cached) $ECHO_C" >&6
16231 else
16232       # Double quotes because CPP needs to be expanded
16233     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
16234     do
16235       ac_preproc_ok=false
16236 for ac_c_preproc_warn_flag in '' yes
16237 do
16238   # Use a header file that comes with gcc, so configuring glibc
16239   # with a fresh cross-compiler works.
16240   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16241   # <limits.h> exists even on freestanding compilers.
16242   # On the NeXT, cc -E runs the code through the compiler's parser,
16243   # not just through cpp. "Syntax error" is here to catch this case.
16244   cat >conftest.$ac_ext <<_ACEOF
16245 /* confdefs.h.  */
16246 _ACEOF
16247 cat confdefs.h >>conftest.$ac_ext
16248 cat >>conftest.$ac_ext <<_ACEOF
16249 /* end confdefs.h.  */
16250 #ifdef __STDC__
16251 # include <limits.h>
16252 #else
16253 # include <assert.h>
16254 #endif
16255                      Syntax error
16256 _ACEOF
16257 if { (ac_try="$ac_cpp conftest.$ac_ext"
16258 case "(($ac_try" in
16259   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16260   *) ac_try_echo=$ac_try;;
16261 esac
16262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16263   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16264   ac_status=$?
16265   grep -v '^ *+' conftest.er1 >conftest.err
16266   rm -f conftest.er1
16267   cat conftest.err >&5
16268   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16269   (exit $ac_status); } >/dev/null && {
16270          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16271          test ! -s conftest.err
16272        }; then
16273   :
16274 else
16275   echo "$as_me: failed program was:" >&5
16276 sed 's/^/| /' conftest.$ac_ext >&5
16277
16278   # Broken: fails on valid input.
16279 continue
16280 fi
16281
16282 rm -f conftest.err conftest.$ac_ext
16283
16284   # OK, works on sane cases.  Now check whether nonexistent headers
16285   # can be detected and how.
16286   cat >conftest.$ac_ext <<_ACEOF
16287 /* confdefs.h.  */
16288 _ACEOF
16289 cat confdefs.h >>conftest.$ac_ext
16290 cat >>conftest.$ac_ext <<_ACEOF
16291 /* end confdefs.h.  */
16292 #include <ac_nonexistent.h>
16293 _ACEOF
16294 if { (ac_try="$ac_cpp conftest.$ac_ext"
16295 case "(($ac_try" in
16296   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16297   *) ac_try_echo=$ac_try;;
16298 esac
16299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16300   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16301   ac_status=$?
16302   grep -v '^ *+' conftest.er1 >conftest.err
16303   rm -f conftest.er1
16304   cat conftest.err >&5
16305   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16306   (exit $ac_status); } >/dev/null && {
16307          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16308          test ! -s conftest.err
16309        }; then
16310   # Broken: success on invalid input.
16311 continue
16312 else
16313   echo "$as_me: failed program was:" >&5
16314 sed 's/^/| /' conftest.$ac_ext >&5
16315
16316   # Passes both tests.
16317 ac_preproc_ok=:
16318 break
16319 fi
16320
16321 rm -f conftest.err conftest.$ac_ext
16322
16323 done
16324 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16325 rm -f conftest.err conftest.$ac_ext
16326 if $ac_preproc_ok; then
16327   break
16328 fi
16329
16330     done
16331     ac_cv_prog_CPP=$CPP
16332
16333 fi
16334   CPP=$ac_cv_prog_CPP
16335 else
16336   ac_cv_prog_CPP=$CPP
16337 fi
16338 { echo "$as_me:$LINENO: result: $CPP" >&5
16339 echo "${ECHO_T}$CPP" >&6; }
16340 ac_preproc_ok=false
16341 for ac_c_preproc_warn_flag in '' yes
16342 do
16343   # Use a header file that comes with gcc, so configuring glibc
16344   # with a fresh cross-compiler works.
16345   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16346   # <limits.h> exists even on freestanding compilers.
16347   # On the NeXT, cc -E runs the code through the compiler's parser,
16348   # not just through cpp. "Syntax error" is here to catch this case.
16349   cat >conftest.$ac_ext <<_ACEOF
16350 /* confdefs.h.  */
16351 _ACEOF
16352 cat confdefs.h >>conftest.$ac_ext
16353 cat >>conftest.$ac_ext <<_ACEOF
16354 /* end confdefs.h.  */
16355 #ifdef __STDC__
16356 # include <limits.h>
16357 #else
16358 # include <assert.h>
16359 #endif
16360                      Syntax error
16361 _ACEOF
16362 if { (ac_try="$ac_cpp conftest.$ac_ext"
16363 case "(($ac_try" in
16364   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16365   *) ac_try_echo=$ac_try;;
16366 esac
16367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16368   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16369   ac_status=$?
16370   grep -v '^ *+' conftest.er1 >conftest.err
16371   rm -f conftest.er1
16372   cat conftest.err >&5
16373   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16374   (exit $ac_status); } >/dev/null && {
16375          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16376          test ! -s conftest.err
16377        }; then
16378   :
16379 else
16380   echo "$as_me: failed program was:" >&5
16381 sed 's/^/| /' conftest.$ac_ext >&5
16382
16383   # Broken: fails on valid input.
16384 continue
16385 fi
16386
16387 rm -f conftest.err conftest.$ac_ext
16388
16389   # OK, works on sane cases.  Now check whether nonexistent headers
16390   # can be detected and how.
16391   cat >conftest.$ac_ext <<_ACEOF
16392 /* confdefs.h.  */
16393 _ACEOF
16394 cat confdefs.h >>conftest.$ac_ext
16395 cat >>conftest.$ac_ext <<_ACEOF
16396 /* end confdefs.h.  */
16397 #include <ac_nonexistent.h>
16398 _ACEOF
16399 if { (ac_try="$ac_cpp conftest.$ac_ext"
16400 case "(($ac_try" in
16401   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16402   *) ac_try_echo=$ac_try;;
16403 esac
16404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16405   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16406   ac_status=$?
16407   grep -v '^ *+' conftest.er1 >conftest.err
16408   rm -f conftest.er1
16409   cat conftest.err >&5
16410   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16411   (exit $ac_status); } >/dev/null && {
16412          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16413          test ! -s conftest.err
16414        }; then
16415   # Broken: success on invalid input.
16416 continue
16417 else
16418   echo "$as_me: failed program was:" >&5
16419 sed 's/^/| /' conftest.$ac_ext >&5
16420
16421   # Passes both tests.
16422 ac_preproc_ok=:
16423 break
16424 fi
16425
16426 rm -f conftest.err conftest.$ac_ext
16427
16428 done
16429 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16430 rm -f conftest.err conftest.$ac_ext
16431 if $ac_preproc_ok; then
16432   :
16433 else
16434   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
16435 See \`config.log' for more details." >&5
16436 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
16437 See \`config.log' for more details." >&2;}
16438    { (exit 1); exit 1; }; }
16439 fi
16440
16441 ac_ext=c
16442 ac_cpp='$CPP $CPPFLAGS'
16443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16446
16447
16448 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
16449 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
16450 if test "${ac_cv_path_GREP+set}" = set; then
16451   echo $ECHO_N "(cached) $ECHO_C" >&6
16452 else
16453   # Extract the first word of "grep ggrep" to use in msg output
16454 if test -z "$GREP"; then
16455 set dummy grep ggrep; ac_prog_name=$2
16456 if test "${ac_cv_path_GREP+set}" = set; then
16457   echo $ECHO_N "(cached) $ECHO_C" >&6
16458 else
16459   ac_path_GREP_found=false
16460 # Loop through the user's path and test for each of PROGNAME-LIST
16461 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16462 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
16463 do
16464   IFS=$as_save_IFS
16465   test -z "$as_dir" && as_dir=.
16466   for ac_prog in grep ggrep; do
16467   for ac_exec_ext in '' $ac_executable_extensions; do
16468     ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
16469     { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
16470     # Check for GNU ac_path_GREP and select it if it is found.
16471   # Check for GNU $ac_path_GREP
16472 case `"$ac_path_GREP" --version 2>&1` in
16473 *GNU*)
16474   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
16475 *)
16476   ac_count=0
16477   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16478   while :
16479   do
16480     cat "conftest.in" "conftest.in" >"conftest.tmp"
16481     mv "conftest.tmp" "conftest.in"
16482     cp "conftest.in" "conftest.nl"
16483     echo 'GREP' >> "conftest.nl"
16484     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
16485     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
16486     ac_count=`expr $ac_count + 1`
16487     if test $ac_count -gt ${ac_path_GREP_max-0}; then
16488       # Best one so far, save it but keep looking for a better one
16489       ac_cv_path_GREP="$ac_path_GREP"
16490       ac_path_GREP_max=$ac_count
16491     fi
16492     # 10*(2^10) chars as input seems more than enough
16493     test $ac_count -gt 10 && break
16494   done
16495   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
16496 esac
16497
16498
16499     $ac_path_GREP_found && break 3
16500   done
16501 done
16502
16503 done
16504 IFS=$as_save_IFS
16505
16506
16507 fi
16508
16509 GREP="$ac_cv_path_GREP"
16510 if test -z "$GREP"; then
16511   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16512 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16513    { (exit 1); exit 1; }; }
16514 fi
16515
16516 else
16517   ac_cv_path_GREP=$GREP
16518 fi
16519
16520
16521 fi
16522 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
16523 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
16524  GREP="$ac_cv_path_GREP"
16525
16526
16527 { echo "$as_me:$LINENO: checking for egrep" >&5
16528 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
16529 if test "${ac_cv_path_EGREP+set}" = set; then
16530   echo $ECHO_N "(cached) $ECHO_C" >&6
16531 else
16532   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
16533    then ac_cv_path_EGREP="$GREP -E"
16534    else
16535      # Extract the first word of "egrep" to use in msg output
16536 if test -z "$EGREP"; then
16537 set dummy egrep; ac_prog_name=$2
16538 if test "${ac_cv_path_EGREP+set}" = set; then
16539   echo $ECHO_N "(cached) $ECHO_C" >&6
16540 else
16541   ac_path_EGREP_found=false
16542 # Loop through the user's path and test for each of PROGNAME-LIST
16543 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16544 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
16545 do
16546   IFS=$as_save_IFS
16547   test -z "$as_dir" && as_dir=.
16548   for ac_prog in egrep; do
16549   for ac_exec_ext in '' $ac_executable_extensions; do
16550     ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
16551     { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
16552     # Check for GNU ac_path_EGREP and select it if it is found.
16553   # Check for GNU $ac_path_EGREP
16554 case `"$ac_path_EGREP" --version 2>&1` in
16555 *GNU*)
16556   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
16557 *)
16558   ac_count=0
16559   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16560   while :
16561   do
16562     cat "conftest.in" "conftest.in" >"conftest.tmp"
16563     mv "conftest.tmp" "conftest.in"
16564     cp "conftest.in" "conftest.nl"
16565     echo 'EGREP' >> "conftest.nl"
16566     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
16567     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
16568     ac_count=`expr $ac_count + 1`
16569     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
16570       # Best one so far, save it but keep looking for a better one
16571       ac_cv_path_EGREP="$ac_path_EGREP"
16572       ac_path_EGREP_max=$ac_count
16573     fi
16574     # 10*(2^10) chars as input seems more than enough
16575     test $ac_count -gt 10 && break
16576   done
16577   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
16578 esac
16579
16580
16581     $ac_path_EGREP_found && break 3
16582   done
16583 done
16584
16585 done
16586 IFS=$as_save_IFS
16587
16588
16589 fi
16590
16591 EGREP="$ac_cv_path_EGREP"
16592 if test -z "$EGREP"; then
16593   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16594 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16595    { (exit 1); exit 1; }; }
16596 fi
16597
16598 else
16599   ac_cv_path_EGREP=$EGREP
16600 fi
16601
16602
16603    fi
16604 fi
16605 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
16606 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
16607  EGREP="$ac_cv_path_EGREP"
16608
16609
16610 if test $ac_cv_c_compiler_gnu = yes; then
16611     { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
16612 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
16613 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
16614   echo $ECHO_N "(cached) $ECHO_C" >&6
16615 else
16616     ac_pattern="Autoconf.*'x'"
16617   cat >conftest.$ac_ext <<_ACEOF
16618 /* confdefs.h.  */
16619 _ACEOF
16620 cat confdefs.h >>conftest.$ac_ext
16621 cat >>conftest.$ac_ext <<_ACEOF
16622 /* end confdefs.h.  */
16623 #include <sgtty.h>
16624 Autoconf TIOCGETP
16625 _ACEOF
16626 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16627   $EGREP "$ac_pattern" >/dev/null 2>&1; then
16628   ac_cv_prog_gcc_traditional=yes
16629 else
16630   ac_cv_prog_gcc_traditional=no
16631 fi
16632 rm -f conftest*
16633
16634
16635   if test $ac_cv_prog_gcc_traditional = no; then
16636     cat >conftest.$ac_ext <<_ACEOF
16637 /* confdefs.h.  */
16638 _ACEOF
16639 cat confdefs.h >>conftest.$ac_ext
16640 cat >>conftest.$ac_ext <<_ACEOF
16641 /* end confdefs.h.  */
16642 #include <termio.h>
16643 Autoconf TCGETA
16644 _ACEOF
16645 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16646   $EGREP "$ac_pattern" >/dev/null 2>&1; then
16647   ac_cv_prog_gcc_traditional=yes
16648 fi
16649 rm -f conftest*
16650
16651   fi
16652 fi
16653 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
16654 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
16655   if test $ac_cv_prog_gcc_traditional = yes; then
16656     CC="$CC -traditional"
16657   fi
16658 fi
16659
16660
16661 CXXFLAGS=${CXXFLAGS:=}
16662
16663
16664
16665     ac_ext=cpp
16666 ac_cpp='$CXXCPP $CPPFLAGS'
16667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16670 if test -z "$CXX"; then
16671   if test -n "$CCC"; then
16672     CXX=$CCC
16673   else
16674     if test -n "$ac_tool_prefix"; then
16675   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16676   do
16677     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16678 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16679 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16680 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16681 if test "${ac_cv_prog_CXX+set}" = set; then
16682   echo $ECHO_N "(cached) $ECHO_C" >&6
16683 else
16684   if test -n "$CXX"; then
16685   ac_cv_prog_CXX="$CXX" # Let the user override the test.
16686 else
16687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16688 for as_dir in $PATH
16689 do
16690   IFS=$as_save_IFS
16691   test -z "$as_dir" && as_dir=.
16692   for ac_exec_ext in '' $ac_executable_extensions; do
16693   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16694     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
16695     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16696     break 2
16697   fi
16698 done
16699 done
16700 IFS=$as_save_IFS
16701
16702 fi
16703 fi
16704 CXX=$ac_cv_prog_CXX
16705 if test -n "$CXX"; then
16706   { echo "$as_me:$LINENO: result: $CXX" >&5
16707 echo "${ECHO_T}$CXX" >&6; }
16708 else
16709   { echo "$as_me:$LINENO: result: no" >&5
16710 echo "${ECHO_T}no" >&6; }
16711 fi
16712
16713
16714     test -n "$CXX" && break
16715   done
16716 fi
16717 if test -z "$CXX"; then
16718   ac_ct_CXX=$CXX
16719   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16720 do
16721   # Extract the first word of "$ac_prog", so it can be a program name with args.
16722 set dummy $ac_prog; ac_word=$2
16723 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16724 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16725 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
16726   echo $ECHO_N "(cached) $ECHO_C" >&6
16727 else
16728   if test -n "$ac_ct_CXX"; then
16729   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
16730 else
16731 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16732 for as_dir in $PATH
16733 do
16734   IFS=$as_save_IFS
16735   test -z "$as_dir" && as_dir=.
16736   for ac_exec_ext in '' $ac_executable_extensions; do
16737   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16738     ac_cv_prog_ac_ct_CXX="$ac_prog"
16739     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16740     break 2
16741   fi
16742 done
16743 done
16744 IFS=$as_save_IFS
16745
16746 fi
16747 fi
16748 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
16749 if test -n "$ac_ct_CXX"; then
16750   { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
16751 echo "${ECHO_T}$ac_ct_CXX" >&6; }
16752 else
16753   { echo "$as_me:$LINENO: result: no" >&5
16754 echo "${ECHO_T}no" >&6; }
16755 fi
16756
16757
16758   test -n "$ac_ct_CXX" && break
16759 done
16760
16761   if test "x$ac_ct_CXX" = x; then
16762     CXX="g++"
16763   else
16764     case $cross_compiling:$ac_tool_warned in
16765 yes:)
16766 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16767 whose name does not start with the host triplet.  If you think this
16768 configuration is useful to you, please write to autoconf@gnu.org." >&5
16769 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16770 whose name does not start with the host triplet.  If you think this
16771 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16772 ac_tool_warned=yes ;;
16773 esac
16774     CXX=$ac_ct_CXX
16775   fi
16776 fi
16777
16778   fi
16779 fi
16780 # Provide some information about the compiler.
16781 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
16782 ac_compiler=`set X $ac_compile; echo $2`
16783 { (ac_try="$ac_compiler --version >&5"
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_compiler --version >&5") 2>&5
16790   ac_status=$?
16791   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16792   (exit $ac_status); }
16793 { (ac_try="$ac_compiler -v >&5"
16794 case "(($ac_try" in
16795   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16796   *) ac_try_echo=$ac_try;;
16797 esac
16798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16799   (eval "$ac_compiler -v >&5") 2>&5
16800   ac_status=$?
16801   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16802   (exit $ac_status); }
16803 { (ac_try="$ac_compiler -V >&5"
16804 case "(($ac_try" in
16805   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16806   *) ac_try_echo=$ac_try;;
16807 esac
16808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16809   (eval "$ac_compiler -V >&5") 2>&5
16810   ac_status=$?
16811   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16812   (exit $ac_status); }
16813
16814 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
16815 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
16816 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
16817   echo $ECHO_N "(cached) $ECHO_C" >&6
16818 else
16819   cat >conftest.$ac_ext <<_ACEOF
16820 /* confdefs.h.  */
16821 _ACEOF
16822 cat confdefs.h >>conftest.$ac_ext
16823 cat >>conftest.$ac_ext <<_ACEOF
16824 /* end confdefs.h.  */
16825
16826 int
16827 main ()
16828 {
16829 #ifndef __GNUC__
16830        choke me
16831 #endif
16832
16833   ;
16834   return 0;
16835 }
16836 _ACEOF
16837 rm -f conftest.$ac_objext
16838 if { (ac_try="$ac_compile"
16839 case "(($ac_try" in
16840   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16841   *) ac_try_echo=$ac_try;;
16842 esac
16843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16844   (eval "$ac_compile") 2>conftest.er1
16845   ac_status=$?
16846   grep -v '^ *+' conftest.er1 >conftest.err
16847   rm -f conftest.er1
16848   cat conftest.err >&5
16849   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16850   (exit $ac_status); } && {
16851          test -z "$ac_cxx_werror_flag" ||
16852          test ! -s conftest.err
16853        } && test -s conftest.$ac_objext; then
16854   ac_compiler_gnu=yes
16855 else
16856   echo "$as_me: failed program was:" >&5
16857 sed 's/^/| /' conftest.$ac_ext >&5
16858
16859         ac_compiler_gnu=no
16860 fi
16861
16862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16863 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
16864
16865 fi
16866 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
16867 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
16868 GXX=`test $ac_compiler_gnu = yes && echo yes`
16869 ac_test_CXXFLAGS=${CXXFLAGS+set}
16870 ac_save_CXXFLAGS=$CXXFLAGS
16871 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
16872 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
16873 if test "${ac_cv_prog_cxx_g+set}" = set; then
16874   echo $ECHO_N "(cached) $ECHO_C" >&6
16875 else
16876   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
16877    ac_cxx_werror_flag=yes
16878    ac_cv_prog_cxx_g=no
16879    CXXFLAGS="-g"
16880    cat >conftest.$ac_ext <<_ACEOF
16881 /* confdefs.h.  */
16882 _ACEOF
16883 cat confdefs.h >>conftest.$ac_ext
16884 cat >>conftest.$ac_ext <<_ACEOF
16885 /* end confdefs.h.  */
16886
16887 int
16888 main ()
16889 {
16890
16891   ;
16892   return 0;
16893 }
16894 _ACEOF
16895 rm -f conftest.$ac_objext
16896 if { (ac_try="$ac_compile"
16897 case "(($ac_try" in
16898   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16899   *) ac_try_echo=$ac_try;;
16900 esac
16901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16902   (eval "$ac_compile") 2>conftest.er1
16903   ac_status=$?
16904   grep -v '^ *+' conftest.er1 >conftest.err
16905   rm -f conftest.er1
16906   cat conftest.err >&5
16907   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16908   (exit $ac_status); } && {
16909          test -z "$ac_cxx_werror_flag" ||
16910          test ! -s conftest.err
16911        } && test -s conftest.$ac_objext; then
16912   ac_cv_prog_cxx_g=yes
16913 else
16914   echo "$as_me: failed program was:" >&5
16915 sed 's/^/| /' conftest.$ac_ext >&5
16916
16917         CXXFLAGS=""
16918       cat >conftest.$ac_ext <<_ACEOF
16919 /* confdefs.h.  */
16920 _ACEOF
16921 cat confdefs.h >>conftest.$ac_ext
16922 cat >>conftest.$ac_ext <<_ACEOF
16923 /* end confdefs.h.  */
16924
16925 int
16926 main ()
16927 {
16928
16929   ;
16930   return 0;
16931 }
16932 _ACEOF
16933 rm -f conftest.$ac_objext
16934 if { (ac_try="$ac_compile"
16935 case "(($ac_try" in
16936   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16937   *) ac_try_echo=$ac_try;;
16938 esac
16939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16940   (eval "$ac_compile") 2>conftest.er1
16941   ac_status=$?
16942   grep -v '^ *+' conftest.er1 >conftest.err
16943   rm -f conftest.er1
16944   cat conftest.err >&5
16945   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16946   (exit $ac_status); } && {
16947          test -z "$ac_cxx_werror_flag" ||
16948          test ! -s conftest.err
16949        } && test -s conftest.$ac_objext; then
16950   :
16951 else
16952   echo "$as_me: failed program was:" >&5
16953 sed 's/^/| /' conftest.$ac_ext >&5
16954
16955         ac_cxx_werror_flag=$ac_save_cxx_werror_flag
16956          CXXFLAGS="-g"
16957          cat >conftest.$ac_ext <<_ACEOF
16958 /* confdefs.h.  */
16959 _ACEOF
16960 cat confdefs.h >>conftest.$ac_ext
16961 cat >>conftest.$ac_ext <<_ACEOF
16962 /* end confdefs.h.  */
16963
16964 int
16965 main ()
16966 {
16967
16968   ;
16969   return 0;
16970 }
16971 _ACEOF
16972 rm -f conftest.$ac_objext
16973 if { (ac_try="$ac_compile"
16974 case "(($ac_try" in
16975   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16976   *) ac_try_echo=$ac_try;;
16977 esac
16978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16979   (eval "$ac_compile") 2>conftest.er1
16980   ac_status=$?
16981   grep -v '^ *+' conftest.er1 >conftest.err
16982   rm -f conftest.er1
16983   cat conftest.err >&5
16984   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16985   (exit $ac_status); } && {
16986          test -z "$ac_cxx_werror_flag" ||
16987          test ! -s conftest.err
16988        } && test -s conftest.$ac_objext; then
16989   ac_cv_prog_cxx_g=yes
16990 else
16991   echo "$as_me: failed program was:" >&5
16992 sed 's/^/| /' conftest.$ac_ext >&5
16993
16994
16995 fi
16996
16997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16998 fi
16999
17000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17001 fi
17002
17003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17004    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
17005 fi
17006 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
17007 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
17008 if test "$ac_test_CXXFLAGS" = set; then
17009   CXXFLAGS=$ac_save_CXXFLAGS
17010 elif test $ac_cv_prog_cxx_g = yes; then
17011   if test "$GXX" = yes; then
17012     CXXFLAGS="-g -O2"
17013   else
17014     CXXFLAGS="-g"
17015   fi
17016 else
17017   if test "$GXX" = yes; then
17018     CXXFLAGS="-O2"
17019   else
17020     CXXFLAGS=
17021   fi
17022 fi
17023 ac_ext=c
17024 ac_cpp='$CPP $CPPFLAGS'
17025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17028
17029
17030
17031
17032     ac_ext=cpp
17033 ac_cpp='$CXXCPP $CPPFLAGS'
17034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17037
17038     { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
17039 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
17040 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
17041   echo $ECHO_N "(cached) $ECHO_C" >&6
17042 else
17043   cat >conftest.$ac_ext <<_ACEOF
17044 /* confdefs.h.  */
17045 _ACEOF
17046 cat confdefs.h >>conftest.$ac_ext
17047 cat >>conftest.$ac_ext <<_ACEOF
17048 /* end confdefs.h.  */
17049
17050 int
17051 main ()
17052 {
17053
17054              #ifndef __INTEL_COMPILER
17055                 choke me
17056              #endif
17057
17058   ;
17059   return 0;
17060 }
17061 _ACEOF
17062 rm -f conftest.$ac_objext
17063 if { (ac_try="$ac_compile"
17064 case "(($ac_try" in
17065   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17066   *) ac_try_echo=$ac_try;;
17067 esac
17068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17069   (eval "$ac_compile") 2>conftest.er1
17070   ac_status=$?
17071   grep -v '^ *+' conftest.er1 >conftest.err
17072   rm -f conftest.er1
17073   cat conftest.err >&5
17074   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17075   (exit $ac_status); } && {
17076          test -z "$ac_cxx_werror_flag" ||
17077          test ! -s conftest.err
17078        } && test -s conftest.$ac_objext; then
17079   bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
17080 else
17081   echo "$as_me: failed program was:" >&5
17082 sed 's/^/| /' conftest.$ac_ext >&5
17083
17084         bakefile_cv_cxx_compiler___INTEL_COMPILER=no
17085
17086 fi
17087
17088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17089
17090
17091 fi
17092 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
17093 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
17094     if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
17095         :; INTELCXX=yes
17096     else
17097         :;
17098     fi
17099     ac_ext=c
17100 ac_cpp='$CPP $CPPFLAGS'
17101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17104
17105
17106
17107
17108         if test "$INTELCXX" = "yes"; then
17109
17110
17111     ac_ext=cpp
17112 ac_cpp='$CXXCPP $CPPFLAGS'
17113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17116
17117     { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v8 or later" >&5
17118 echo $ECHO_N "checking whether we are using Intel C++ compiler v8 or later... $ECHO_C" >&6; }
17119 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+set}" = set; then
17120   echo $ECHO_N "(cached) $ECHO_C" >&6
17121 else
17122   cat >conftest.$ac_ext <<_ACEOF
17123 /* confdefs.h.  */
17124 _ACEOF
17125 cat confdefs.h >>conftest.$ac_ext
17126 cat >>conftest.$ac_ext <<_ACEOF
17127 /* end confdefs.h.  */
17128
17129 int
17130 main ()
17131 {
17132
17133              #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
17134                 choke me
17135              #endif
17136
17137   ;
17138   return 0;
17139 }
17140 _ACEOF
17141 rm -f conftest.$ac_objext
17142 if { (ac_try="$ac_compile"
17143 case "(($ac_try" in
17144   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17145   *) ac_try_echo=$ac_try;;
17146 esac
17147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17148   (eval "$ac_compile") 2>conftest.er1
17149   ac_status=$?
17150   grep -v '^ *+' conftest.er1 >conftest.err
17151   rm -f conftest.er1
17152   cat conftest.err >&5
17153   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17154   (exit $ac_status); } && {
17155          test -z "$ac_cxx_werror_flag" ||
17156          test ! -s conftest.err
17157        } && test -s conftest.$ac_objext; then
17158   bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=yes
17159 else
17160   echo "$as_me: failed program was:" >&5
17161 sed 's/^/| /' conftest.$ac_ext >&5
17162
17163         bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=no
17164
17165 fi
17166
17167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17168
17169
17170 fi
17171 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&5
17172 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&6; }
17173     if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
17174         :; INTELCXX8=yes
17175     else
17176         :;
17177     fi
17178     ac_ext=c
17179 ac_cpp='$CPP $CPPFLAGS'
17180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17183
17184
17185
17186
17187
17188     ac_ext=cpp
17189 ac_cpp='$CXXCPP $CPPFLAGS'
17190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17193
17194     { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v10 or later" >&5
17195 echo $ECHO_N "checking whether we are using Intel C++ compiler v10 or later... $ECHO_C" >&6; }
17196 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
17197   echo $ECHO_N "(cached) $ECHO_C" >&6
17198 else
17199   cat >conftest.$ac_ext <<_ACEOF
17200 /* confdefs.h.  */
17201 _ACEOF
17202 cat confdefs.h >>conftest.$ac_ext
17203 cat >>conftest.$ac_ext <<_ACEOF
17204 /* end confdefs.h.  */
17205
17206 int
17207 main ()
17208 {
17209
17210              #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
17211                 choke me
17212              #endif
17213
17214   ;
17215   return 0;
17216 }
17217 _ACEOF
17218 rm -f conftest.$ac_objext
17219 if { (ac_try="$ac_compile"
17220 case "(($ac_try" in
17221   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17222   *) ac_try_echo=$ac_try;;
17223 esac
17224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17225   (eval "$ac_compile") 2>conftest.er1
17226   ac_status=$?
17227   grep -v '^ *+' conftest.er1 >conftest.err
17228   rm -f conftest.er1
17229   cat conftest.err >&5
17230   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17231   (exit $ac_status); } && {
17232          test -z "$ac_cxx_werror_flag" ||
17233          test ! -s conftest.err
17234        } && test -s conftest.$ac_objext; then
17235   bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=yes
17236 else
17237   echo "$as_me: failed program was:" >&5
17238 sed 's/^/| /' conftest.$ac_ext >&5
17239
17240         bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=no
17241
17242 fi
17243
17244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17245
17246
17247 fi
17248 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&5
17249 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&6; }
17250     if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
17251         :; INTELCXX10=yes
17252     else
17253         :;
17254     fi
17255     ac_ext=c
17256 ac_cpp='$CPP $CPPFLAGS'
17257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17260
17261
17262
17263     fi
17264
17265         if test "x$GCXX" != "xyes"; then
17266         if test "xCXX" = "xC"; then
17267             { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
17268 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
17269 if test "${bakefile_cv_c_exto+set}" = set; then
17270   echo $ECHO_N "(cached) $ECHO_C" >&6
17271 else
17272   cat >conftest.$ac_ext <<_ACEOF
17273 /* confdefs.h.  */
17274 _ACEOF
17275 cat confdefs.h >>conftest.$ac_ext
17276 cat >>conftest.$ac_ext <<_ACEOF
17277 /* end confdefs.h.  */
17278
17279 int
17280 main ()
17281 {
17282
17283   ;
17284   return 0;
17285 }
17286 _ACEOF
17287 rm -f conftest.$ac_objext conftest.$ac_ext.o
17288 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17289   (eval $ac_compile) 2>&5
17290   ac_status=$?
17291   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17292   (exit $ac_status); }; then
17293   for ac_file in `(ls conftest.* 2>/dev/null)`; do
17294     case $ac_file in
17295         conftest.$ac_ext.o)
17296             bakefile_cv_c_exto="-ext o"
17297             ;;
17298         *)
17299             ;;
17300     esac
17301 done
17302 else
17303   { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
17304 See \`config.log' for more details." >&5
17305 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
17306 See \`config.log' for more details." >&2;}
17307    { (exit 1); exit 1; }; }
17308
17309 fi
17310
17311 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
17312
17313 fi
17314 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
17315 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
17316 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17317     if test "c" = "c"; then
17318         CFLAGS="$bakefile_cv_c_exto $CFLAGS"
17319     fi
17320     if test "c" = "cxx"; then
17321         CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
17322     fi
17323 fi
17324
17325             if test "x$bakefile_cv_c_exto" '!=' "x"; then
17326                 unset ac_cv_prog_cc_g
17327                 ac_test_CFLAGS=${CFLAGS+set}
17328 ac_save_CFLAGS=$CFLAGS
17329 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
17330 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
17331 if test "${ac_cv_prog_cc_g+set}" = set; then
17332   echo $ECHO_N "(cached) $ECHO_C" >&6
17333 else
17334   ac_save_c_werror_flag=$ac_c_werror_flag
17335    ac_c_werror_flag=yes
17336    ac_cv_prog_cc_g=no
17337    CFLAGS="-g"
17338    cat >conftest.$ac_ext <<_ACEOF
17339 /* confdefs.h.  */
17340 _ACEOF
17341 cat confdefs.h >>conftest.$ac_ext
17342 cat >>conftest.$ac_ext <<_ACEOF
17343 /* end confdefs.h.  */
17344
17345 int
17346 main ()
17347 {
17348
17349   ;
17350   return 0;
17351 }
17352 _ACEOF
17353 rm -f conftest.$ac_objext
17354 if { (ac_try="$ac_compile"
17355 case "(($ac_try" in
17356   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17357   *) ac_try_echo=$ac_try;;
17358 esac
17359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17360   (eval "$ac_compile") 2>conftest.er1
17361   ac_status=$?
17362   grep -v '^ *+' conftest.er1 >conftest.err
17363   rm -f conftest.er1
17364   cat conftest.err >&5
17365   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17366   (exit $ac_status); } && {
17367          test -z "$ac_c_werror_flag" ||
17368          test ! -s conftest.err
17369        } && test -s conftest.$ac_objext; then
17370   ac_cv_prog_cc_g=yes
17371 else
17372   echo "$as_me: failed program was:" >&5
17373 sed 's/^/| /' conftest.$ac_ext >&5
17374
17375         CFLAGS=""
17376       cat >conftest.$ac_ext <<_ACEOF
17377 /* confdefs.h.  */
17378 _ACEOF
17379 cat confdefs.h >>conftest.$ac_ext
17380 cat >>conftest.$ac_ext <<_ACEOF
17381 /* end confdefs.h.  */
17382
17383 int
17384 main ()
17385 {
17386
17387   ;
17388   return 0;
17389 }
17390 _ACEOF
17391 rm -f conftest.$ac_objext
17392 if { (ac_try="$ac_compile"
17393 case "(($ac_try" in
17394   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17395   *) ac_try_echo=$ac_try;;
17396 esac
17397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17398   (eval "$ac_compile") 2>conftest.er1
17399   ac_status=$?
17400   grep -v '^ *+' conftest.er1 >conftest.err
17401   rm -f conftest.er1
17402   cat conftest.err >&5
17403   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17404   (exit $ac_status); } && {
17405          test -z "$ac_c_werror_flag" ||
17406          test ! -s conftest.err
17407        } && test -s conftest.$ac_objext; then
17408   :
17409 else
17410   echo "$as_me: failed program was:" >&5
17411 sed 's/^/| /' conftest.$ac_ext >&5
17412
17413         ac_c_werror_flag=$ac_save_c_werror_flag
17414          CFLAGS="-g"
17415          cat >conftest.$ac_ext <<_ACEOF
17416 /* confdefs.h.  */
17417 _ACEOF
17418 cat confdefs.h >>conftest.$ac_ext
17419 cat >>conftest.$ac_ext <<_ACEOF
17420 /* end confdefs.h.  */
17421
17422 int
17423 main ()
17424 {
17425
17426   ;
17427   return 0;
17428 }
17429 _ACEOF
17430 rm -f conftest.$ac_objext
17431 if { (ac_try="$ac_compile"
17432 case "(($ac_try" in
17433   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17434   *) ac_try_echo=$ac_try;;
17435 esac
17436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17437   (eval "$ac_compile") 2>conftest.er1
17438   ac_status=$?
17439   grep -v '^ *+' conftest.er1 >conftest.err
17440   rm -f conftest.er1
17441   cat conftest.err >&5
17442   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17443   (exit $ac_status); } && {
17444          test -z "$ac_c_werror_flag" ||
17445          test ! -s conftest.err
17446        } && test -s conftest.$ac_objext; then
17447   ac_cv_prog_cc_g=yes
17448 else
17449   echo "$as_me: failed program was:" >&5
17450 sed 's/^/| /' conftest.$ac_ext >&5
17451
17452
17453 fi
17454
17455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17456 fi
17457
17458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17459 fi
17460
17461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17462    ac_c_werror_flag=$ac_save_c_werror_flag
17463 fi
17464 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
17465 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
17466 if test "$ac_test_CFLAGS" = set; then
17467   CFLAGS=$ac_save_CFLAGS
17468 elif test $ac_cv_prog_cc_g = yes; then
17469   if test "$GCC" = yes; then
17470     CFLAGS="-g -O2"
17471   else
17472     CFLAGS="-g"
17473   fi
17474 else
17475   if test "$GCC" = yes; then
17476     CFLAGS="-O2"
17477   else
17478     CFLAGS=
17479   fi
17480 fi
17481             fi
17482         fi
17483
17484                         case `uname -s` in
17485             AIX*)
17486
17487
17488     ac_ext=cpp
17489 ac_cpp='$CXXCPP $CPPFLAGS'
17490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17493
17494     { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17495 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17496 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17497   echo $ECHO_N "(cached) $ECHO_C" >&6
17498 else
17499   cat >conftest.$ac_ext <<_ACEOF
17500 /* confdefs.h.  */
17501 _ACEOF
17502 cat confdefs.h >>conftest.$ac_ext
17503 cat >>conftest.$ac_ext <<_ACEOF
17504 /* end confdefs.h.  */
17505
17506 int
17507 main ()
17508 {
17509
17510              #ifndef __xlC__
17511                 choke me
17512              #endif
17513
17514   ;
17515   return 0;
17516 }
17517 _ACEOF
17518 rm -f conftest.$ac_objext
17519 if { (ac_try="$ac_compile"
17520 case "(($ac_try" in
17521   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17522   *) ac_try_echo=$ac_try;;
17523 esac
17524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17525   (eval "$ac_compile") 2>conftest.er1
17526   ac_status=$?
17527   grep -v '^ *+' conftest.er1 >conftest.err
17528   rm -f conftest.er1
17529   cat conftest.err >&5
17530   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17531   (exit $ac_status); } && {
17532          test -z "$ac_cxx_werror_flag" ||
17533          test ! -s conftest.err
17534        } && test -s conftest.$ac_objext; then
17535   bakefile_cv_cxx_compiler___xlC__=yes
17536 else
17537   echo "$as_me: failed program was:" >&5
17538 sed 's/^/| /' conftest.$ac_ext >&5
17539
17540         bakefile_cv_cxx_compiler___xlC__=no
17541
17542 fi
17543
17544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17545
17546
17547 fi
17548 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17549 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17550     if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17551         :; XLCXX=yes
17552     else
17553         :;
17554     fi
17555     ac_ext=c
17556 ac_cpp='$CPP $CPPFLAGS'
17557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17560
17561
17562
17563                 ;;
17564
17565             Darwin)
17566
17567
17568     ac_ext=cpp
17569 ac_cpp='$CXXCPP $CPPFLAGS'
17570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17573
17574     { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
17575 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
17576 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
17577   echo $ECHO_N "(cached) $ECHO_C" >&6
17578 else
17579   cat >conftest.$ac_ext <<_ACEOF
17580 /* confdefs.h.  */
17581 _ACEOF
17582 cat confdefs.h >>conftest.$ac_ext
17583 cat >>conftest.$ac_ext <<_ACEOF
17584 /* end confdefs.h.  */
17585
17586 int
17587 main ()
17588 {
17589
17590              #ifndef __MWERKS__
17591                 choke me
17592              #endif
17593
17594   ;
17595   return 0;
17596 }
17597 _ACEOF
17598 rm -f conftest.$ac_objext
17599 if { (ac_try="$ac_compile"
17600 case "(($ac_try" in
17601   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17602   *) ac_try_echo=$ac_try;;
17603 esac
17604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17605   (eval "$ac_compile") 2>conftest.er1
17606   ac_status=$?
17607   grep -v '^ *+' conftest.er1 >conftest.err
17608   rm -f conftest.er1
17609   cat conftest.err >&5
17610   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17611   (exit $ac_status); } && {
17612          test -z "$ac_cxx_werror_flag" ||
17613          test ! -s conftest.err
17614        } && test -s conftest.$ac_objext; then
17615   bakefile_cv_cxx_compiler___MWERKS__=yes
17616 else
17617   echo "$as_me: failed program was:" >&5
17618 sed 's/^/| /' conftest.$ac_ext >&5
17619
17620         bakefile_cv_cxx_compiler___MWERKS__=no
17621
17622 fi
17623
17624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17625
17626
17627 fi
17628 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
17629 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
17630     if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
17631         :; MWCXX=yes
17632     else
17633         :;
17634     fi
17635     ac_ext=c
17636 ac_cpp='$CPP $CPPFLAGS'
17637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17640
17641
17642
17643                 if test "$MWCXX" != "yes"; then
17644
17645
17646     ac_ext=cpp
17647 ac_cpp='$CXXCPP $CPPFLAGS'
17648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17651
17652     { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17653 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17654 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17655   echo $ECHO_N "(cached) $ECHO_C" >&6
17656 else
17657   cat >conftest.$ac_ext <<_ACEOF
17658 /* confdefs.h.  */
17659 _ACEOF
17660 cat confdefs.h >>conftest.$ac_ext
17661 cat >>conftest.$ac_ext <<_ACEOF
17662 /* end confdefs.h.  */
17663
17664 int
17665 main ()
17666 {
17667
17668              #ifndef __xlC__
17669                 choke me
17670              #endif
17671
17672   ;
17673   return 0;
17674 }
17675 _ACEOF
17676 rm -f conftest.$ac_objext
17677 if { (ac_try="$ac_compile"
17678 case "(($ac_try" in
17679   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17680   *) ac_try_echo=$ac_try;;
17681 esac
17682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17683   (eval "$ac_compile") 2>conftest.er1
17684   ac_status=$?
17685   grep -v '^ *+' conftest.er1 >conftest.err
17686   rm -f conftest.er1
17687   cat conftest.err >&5
17688   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17689   (exit $ac_status); } && {
17690          test -z "$ac_cxx_werror_flag" ||
17691          test ! -s conftest.err
17692        } && test -s conftest.$ac_objext; then
17693   bakefile_cv_cxx_compiler___xlC__=yes
17694 else
17695   echo "$as_me: failed program was:" >&5
17696 sed 's/^/| /' conftest.$ac_ext >&5
17697
17698         bakefile_cv_cxx_compiler___xlC__=no
17699
17700 fi
17701
17702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17703
17704
17705 fi
17706 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17707 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17708     if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17709         :; XLCXX=yes
17710     else
17711         :;
17712     fi
17713     ac_ext=c
17714 ac_cpp='$CPP $CPPFLAGS'
17715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17718
17719
17720
17721                 fi
17722                 ;;
17723
17724             IRIX*)
17725
17726
17727     ac_ext=cpp
17728 ac_cpp='$CXXCPP $CPPFLAGS'
17729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17732
17733     { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
17734 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
17735 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
17736   echo $ECHO_N "(cached) $ECHO_C" >&6
17737 else
17738   cat >conftest.$ac_ext <<_ACEOF
17739 /* confdefs.h.  */
17740 _ACEOF
17741 cat confdefs.h >>conftest.$ac_ext
17742 cat >>conftest.$ac_ext <<_ACEOF
17743 /* end confdefs.h.  */
17744
17745 int
17746 main ()
17747 {
17748
17749              #ifndef _SGI_COMPILER_VERSION
17750                 choke me
17751              #endif
17752
17753   ;
17754   return 0;
17755 }
17756 _ACEOF
17757 rm -f conftest.$ac_objext
17758 if { (ac_try="$ac_compile"
17759 case "(($ac_try" in
17760   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17761   *) ac_try_echo=$ac_try;;
17762 esac
17763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17764   (eval "$ac_compile") 2>conftest.er1
17765   ac_status=$?
17766   grep -v '^ *+' conftest.er1 >conftest.err
17767   rm -f conftest.er1
17768   cat conftest.err >&5
17769   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17770   (exit $ac_status); } && {
17771          test -z "$ac_cxx_werror_flag" ||
17772          test ! -s conftest.err
17773        } && test -s conftest.$ac_objext; then
17774   bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
17775 else
17776   echo "$as_me: failed program was:" >&5
17777 sed 's/^/| /' conftest.$ac_ext >&5
17778
17779         bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
17780
17781 fi
17782
17783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17784
17785
17786 fi
17787 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
17788 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
17789     if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17790         :; SGICXX=yes
17791     else
17792         :;
17793     fi
17794     ac_ext=c
17795 ac_cpp='$CPP $CPPFLAGS'
17796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17799
17800
17801
17802                 ;;
17803
17804             Linux*)
17805                                                 if test "$INTELCXX" != "yes"; then
17806
17807
17808     ac_ext=cpp
17809 ac_cpp='$CXXCPP $CPPFLAGS'
17810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17813
17814     { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17815 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17816 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17817   echo $ECHO_N "(cached) $ECHO_C" >&6
17818 else
17819   cat >conftest.$ac_ext <<_ACEOF
17820 /* confdefs.h.  */
17821 _ACEOF
17822 cat confdefs.h >>conftest.$ac_ext
17823 cat >>conftest.$ac_ext <<_ACEOF
17824 /* end confdefs.h.  */
17825
17826 int
17827 main ()
17828 {
17829
17830              #ifndef __SUNPRO_CC
17831                 choke me
17832              #endif
17833
17834   ;
17835   return 0;
17836 }
17837 _ACEOF
17838 rm -f conftest.$ac_objext
17839 if { (ac_try="$ac_compile"
17840 case "(($ac_try" in
17841   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17842   *) ac_try_echo=$ac_try;;
17843 esac
17844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17845   (eval "$ac_compile") 2>conftest.er1
17846   ac_status=$?
17847   grep -v '^ *+' conftest.er1 >conftest.err
17848   rm -f conftest.er1
17849   cat conftest.err >&5
17850   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17851   (exit $ac_status); } && {
17852          test -z "$ac_cxx_werror_flag" ||
17853          test ! -s conftest.err
17854        } && test -s conftest.$ac_objext; then
17855   bakefile_cv_cxx_compiler___SUNPRO_CC=yes
17856 else
17857   echo "$as_me: failed program was:" >&5
17858 sed 's/^/| /' conftest.$ac_ext >&5
17859
17860         bakefile_cv_cxx_compiler___SUNPRO_CC=no
17861
17862 fi
17863
17864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17865
17866
17867 fi
17868 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17869 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17870     if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17871         :; SUNCXX=yes
17872     else
17873         :;
17874     fi
17875     ac_ext=c
17876 ac_cpp='$CPP $CPPFLAGS'
17877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17880
17881
17882
17883                 fi
17884                 ;;
17885
17886             HP-UX*)
17887
17888
17889     ac_ext=cpp
17890 ac_cpp='$CXXCPP $CPPFLAGS'
17891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17892 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17894
17895     { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
17896 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
17897 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
17898   echo $ECHO_N "(cached) $ECHO_C" >&6
17899 else
17900   cat >conftest.$ac_ext <<_ACEOF
17901 /* confdefs.h.  */
17902 _ACEOF
17903 cat confdefs.h >>conftest.$ac_ext
17904 cat >>conftest.$ac_ext <<_ACEOF
17905 /* end confdefs.h.  */
17906
17907 int
17908 main ()
17909 {
17910
17911              #ifndef __HP_aCC
17912                 choke me
17913              #endif
17914
17915   ;
17916   return 0;
17917 }
17918 _ACEOF
17919 rm -f conftest.$ac_objext
17920 if { (ac_try="$ac_compile"
17921 case "(($ac_try" in
17922   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17923   *) ac_try_echo=$ac_try;;
17924 esac
17925 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17926   (eval "$ac_compile") 2>conftest.er1
17927   ac_status=$?
17928   grep -v '^ *+' conftest.er1 >conftest.err
17929   rm -f conftest.er1
17930   cat conftest.err >&5
17931   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17932   (exit $ac_status); } && {
17933          test -z "$ac_cxx_werror_flag" ||
17934          test ! -s conftest.err
17935        } && test -s conftest.$ac_objext; then
17936   bakefile_cv_cxx_compiler___HP_aCC=yes
17937 else
17938   echo "$as_me: failed program was:" >&5
17939 sed 's/^/| /' conftest.$ac_ext >&5
17940
17941         bakefile_cv_cxx_compiler___HP_aCC=no
17942
17943 fi
17944
17945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17946
17947
17948 fi
17949 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
17950 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
17951     if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
17952         :; HPCXX=yes
17953     else
17954         :;
17955     fi
17956     ac_ext=c
17957 ac_cpp='$CPP $CPPFLAGS'
17958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17961
17962
17963
17964                 ;;
17965
17966             OSF1)
17967
17968
17969     ac_ext=cpp
17970 ac_cpp='$CXXCPP $CPPFLAGS'
17971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17974
17975     { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
17976 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
17977 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
17978   echo $ECHO_N "(cached) $ECHO_C" >&6
17979 else
17980   cat >conftest.$ac_ext <<_ACEOF
17981 /* confdefs.h.  */
17982 _ACEOF
17983 cat confdefs.h >>conftest.$ac_ext
17984 cat >>conftest.$ac_ext <<_ACEOF
17985 /* end confdefs.h.  */
17986
17987 int
17988 main ()
17989 {
17990
17991              #ifndef __DECCXX
17992                 choke me
17993              #endif
17994
17995   ;
17996   return 0;
17997 }
17998 _ACEOF
17999 rm -f conftest.$ac_objext
18000 if { (ac_try="$ac_compile"
18001 case "(($ac_try" in
18002   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18003   *) ac_try_echo=$ac_try;;
18004 esac
18005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18006   (eval "$ac_compile") 2>conftest.er1
18007   ac_status=$?
18008   grep -v '^ *+' conftest.er1 >conftest.err
18009   rm -f conftest.er1
18010   cat conftest.err >&5
18011   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18012   (exit $ac_status); } && {
18013          test -z "$ac_cxx_werror_flag" ||
18014          test ! -s conftest.err
18015        } && test -s conftest.$ac_objext; then
18016   bakefile_cv_cxx_compiler___DECCXX=yes
18017 else
18018   echo "$as_me: failed program was:" >&5
18019 sed 's/^/| /' conftest.$ac_ext >&5
18020
18021         bakefile_cv_cxx_compiler___DECCXX=no
18022
18023 fi
18024
18025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18026
18027
18028 fi
18029 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
18030 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
18031     if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
18032         :; COMPAQCXX=yes
18033     else
18034         :;
18035     fi
18036     ac_ext=c
18037 ac_cpp='$CPP $CPPFLAGS'
18038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18041
18042
18043
18044                 ;;
18045
18046             SunOS)
18047
18048
18049     ac_ext=cpp
18050 ac_cpp='$CXXCPP $CPPFLAGS'
18051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18054
18055     { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
18056 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
18057 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
18058   echo $ECHO_N "(cached) $ECHO_C" >&6
18059 else
18060   cat >conftest.$ac_ext <<_ACEOF
18061 /* confdefs.h.  */
18062 _ACEOF
18063 cat confdefs.h >>conftest.$ac_ext
18064 cat >>conftest.$ac_ext <<_ACEOF
18065 /* end confdefs.h.  */
18066
18067 int
18068 main ()
18069 {
18070
18071              #ifndef __SUNPRO_CC
18072                 choke me
18073              #endif
18074
18075   ;
18076   return 0;
18077 }
18078 _ACEOF
18079 rm -f conftest.$ac_objext
18080 if { (ac_try="$ac_compile"
18081 case "(($ac_try" in
18082   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18083   *) ac_try_echo=$ac_try;;
18084 esac
18085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18086   (eval "$ac_compile") 2>conftest.er1
18087   ac_status=$?
18088   grep -v '^ *+' conftest.er1 >conftest.err
18089   rm -f conftest.er1
18090   cat conftest.err >&5
18091   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18092   (exit $ac_status); } && {
18093          test -z "$ac_cxx_werror_flag" ||
18094          test ! -s conftest.err
18095        } && test -s conftest.$ac_objext; then
18096   bakefile_cv_cxx_compiler___SUNPRO_CC=yes
18097 else
18098   echo "$as_me: failed program was:" >&5
18099 sed 's/^/| /' conftest.$ac_ext >&5
18100
18101         bakefile_cv_cxx_compiler___SUNPRO_CC=no
18102
18103 fi
18104
18105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18106
18107
18108 fi
18109 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18110 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
18111     if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
18112         :; SUNCXX=yes
18113     else
18114         :;
18115     fi
18116     ac_ext=c
18117 ac_cpp='$CPP $CPPFLAGS'
18118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18121
18122
18123
18124                 ;;
18125         esac
18126     fi
18127
18128
18129
18130 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
18131     { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
18132 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
18133    { (exit 1); exit 1; }; }
18134 fi
18135
18136 if test "x$SUNCXX" != xyes; then
18137     if test -n "$ac_tool_prefix"; then
18138   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
18139 set dummy ${ac_tool_prefix}ar; ac_word=$2
18140 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18141 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18142 if test "${ac_cv_prog_AR+set}" = set; then
18143   echo $ECHO_N "(cached) $ECHO_C" >&6
18144 else
18145   if test -n "$AR"; then
18146   ac_cv_prog_AR="$AR" # Let the user override the test.
18147 else
18148 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18149 for as_dir in $PATH
18150 do
18151   IFS=$as_save_IFS
18152   test -z "$as_dir" && as_dir=.
18153   for ac_exec_ext in '' $ac_executable_extensions; do
18154   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18155     ac_cv_prog_AR="${ac_tool_prefix}ar"
18156     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18157     break 2
18158   fi
18159 done
18160 done
18161 IFS=$as_save_IFS
18162
18163 fi
18164 fi
18165 AR=$ac_cv_prog_AR
18166 if test -n "$AR"; then
18167   { echo "$as_me:$LINENO: result: $AR" >&5
18168 echo "${ECHO_T}$AR" >&6; }
18169 else
18170   { echo "$as_me:$LINENO: result: no" >&5
18171 echo "${ECHO_T}no" >&6; }
18172 fi
18173
18174
18175 fi
18176 if test -z "$ac_cv_prog_AR"; then
18177   ac_ct_AR=$AR
18178   # Extract the first word of "ar", so it can be a program name with args.
18179 set dummy ar; ac_word=$2
18180 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18181 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18182 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
18183   echo $ECHO_N "(cached) $ECHO_C" >&6
18184 else
18185   if test -n "$ac_ct_AR"; then
18186   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
18187 else
18188 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18189 for as_dir in $PATH
18190 do
18191   IFS=$as_save_IFS
18192   test -z "$as_dir" && as_dir=.
18193   for ac_exec_ext in '' $ac_executable_extensions; do
18194   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18195     ac_cv_prog_ac_ct_AR="ar"
18196     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18197     break 2
18198   fi
18199 done
18200 done
18201 IFS=$as_save_IFS
18202
18203 fi
18204 fi
18205 ac_ct_AR=$ac_cv_prog_ac_ct_AR
18206 if test -n "$ac_ct_AR"; then
18207   { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
18208 echo "${ECHO_T}$ac_ct_AR" >&6; }
18209 else
18210   { echo "$as_me:$LINENO: result: no" >&5
18211 echo "${ECHO_T}no" >&6; }
18212 fi
18213
18214   if test "x$ac_ct_AR" = x; then
18215     AR=""
18216   else
18217     case $cross_compiling:$ac_tool_warned in
18218 yes:)
18219 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
18220 whose name does not start with the host triplet.  If you think this
18221 configuration is useful to you, please write to autoconf@gnu.org." >&5
18222 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
18223 whose name does not start with the host triplet.  If you think this
18224 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
18225 ac_tool_warned=yes ;;
18226 esac
18227     AR=$ac_ct_AR
18228   fi
18229 else
18230   AR="$ac_cv_prog_AR"
18231 fi
18232
18233     if test "x$AR" = "x" ; then
18234         { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
18235 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
18236    { (exit 1); exit 1; }; }
18237     fi
18238 fi
18239
18240
18241 if test "$wxUSE_MAC" = 1; then
18242
18243 retest_macosx_linking=no
18244
18245     if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
18246                         if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
18247             # Implicitly turn on the new --with-macosx-sdk using the default
18248             # SDK which provides the behavior this option has always had.
18249             if test "x$wxUSE_MACOSX_SDK" = "x"; then
18250                 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
18251 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
18252                 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
18253 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
18254                 wxUSE_MACOSX_SDK=yes
18255             fi
18256         else
18257             # Complain to user if he specified an argument to --enable-universal_binary
18258             # and also 1) specified --with-macosx-sdk using the default (yes) or
18259             # 2) specified --with-macosx-sdk using a path or 3) specified
18260             # --without-macosx-sdk (no).
18261             if test "x$wxUSE_MACOSX_SDK" != "x" ; then
18262                 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18263 See \`config.log' for more details." >&5
18264 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18265 See \`config.log' for more details." >&2;}
18266    { (exit 1); exit 1; }; }
18267             else
18268                 # Put the SDK path into the wxUSE_MACOSX_SDK.  We don't have to
18269                 # special-case the empty string because the below test simply
18270                 # converts "no" to the empty string anyway.
18271                 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
18272                                 { echo "$as_me:$LINENO: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&5
18273 echo "$as_me: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&2;}
18274             fi
18275         fi
18276                 OSX_UNIV_OPTS="-arch ppc -arch i386"
18277         CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
18278         CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
18279         OBJCXXFLAGS="$OSX_UNIV_OPTS $OBJCXXFLAGS"
18280         OBJCFLAGS="$OSX_UNIV_OPTS $OBJCFLAGS"
18281         LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
18282                                                                                                                 retest_macosx_linking=yes
18283
18284                                         { echo "$as_me:$LINENO: WARNING: Disabling precompiled headers due to universal binary build." >&5
18285 echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
18286         bk_use_pch=no
18287     fi
18288
18289 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
18290     wxUSE_MACOSX_SDK=
18291 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
18292     # TODO: Search for most recent SDK and use it.
18293     wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
18294 fi
18295
18296
18297 if test "x$wxUSE_MACOSX_SDK" != "x"; then
18298     { echo "$as_me:$LINENO: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
18299 echo $ECHO_N "checking for SDK directory $wxUSE_MACOSX_SDK... $ECHO_C" >&6; }
18300     if ! test -d "$wxUSE_MACOSX_SDK"; then
18301         { { echo "$as_me:$LINENO: error: not found
18302 See \`config.log' for more details." >&5
18303 echo "$as_me: error: not found
18304 See \`config.log' for more details." >&2;}
18305    { (exit 1); exit 1; }; }
18306     else
18307         { echo "$as_me:$LINENO: result: exists" >&5
18308 echo "${ECHO_T}exists" >&6; }
18309     fi
18310     MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
18311     eval "CC=\"$CC $MACOSX_SDK_OPTS\""
18312     eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
18313     eval "LD=\"$LD $MACOSX_SDK_OPTS\""
18314     retest_macosx_linking=yes
18315             fi
18316
18317 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
18318     wxUSE_MACOSX_VERSION_MIN=
18319 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
18320     if test "x$wxUSE_MACOSX_SDK" != "x"; then
18321         { echo "$as_me:$LINENO: checking SDK deployment version" >&5
18322 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
18323
18324         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/'`
18325
18326         # If that failed, try again with the new key
18327         if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
18328
18329             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/'`
18330
18331         fi
18332
18333         if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
18334             wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
18335             { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
18336 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
18337         else
18338             { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
18339 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
18340             wxUSE_MACOSX_VERSION_MIN=
18341         fi
18342     else
18343         wxUSE_MACOSX_VERSION_MIN=
18344     fi
18345 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
18346     OSX_VERSION=`sw_vers -productVersion | grep 10.[0-9]`
18347     if test "$wxUSE_OSX_CARBON" = 1 -o "x$OSX_VERSION" = "x10.4"; then
18348         # otherwise configure stops on leopard for universal_binary
18349         wxUSE_MACOSX_VERSION_MIN=10.4
18350     else
18351         # for OS X Cocoa, use 10.5 so we can get 64-bit compile on Snow Leopard
18352         wxUSE_MACOSX_VERSION_MIN=10.5
18353     fi
18354 fi
18355
18356 NEEDS_GCC40="no"
18357 if test "x$wxUSE_MACOSX_VERSION_MIN" == "x10.4"; then
18358     NEEDS_GCC40="yes"
18359 fi
18360
18361 if test "$wxUSE_OSX_CARBON" = 1; then
18362     NEEDS_GCC40="yes"
18363 fi
18364
18365 if test "x$NEEDS_GCC40" == "xyes"; then
18366     # gcc 4.2 cannot compile 10.4 compatible code, so if the user is using it
18367     # and wants 10.4 compatible code, then 'downgrade' to 4.0
18368     # This is also the simplest way to get 32-bit binaries on Snow Leopard.
18369     if test "x$CC" = "xgcc"; then
18370         CCVERSION=`$CC --version | grep 4.[2-9].`
18371         if test "x$CCVERSION" != "x"; then
18372             echo "$as_me:$LINENO: WARNING: gcc >= 4.2 cannot compile 10.4 compatible code. Using gcc 4.0 instead."
18373             CC="/usr/bin/gcc-4.0"
18374         fi
18375     fi
18376
18377     if test "x$CXX" = "xg++"; then
18378         CCVERSION=`$CXX --version | grep 4.[2-9].`
18379         if test "x$CCVERSION" != "x"; then
18380             CXX="/usr/bin/g++-4.0"
18381         fi
18382     fi
18383 fi
18384
18385 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
18386     MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
18387     eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
18388     eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
18389     eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
18390     retest_macosx_linking=yes
18391 fi
18392
18393 if test "x$retest_macosx_linking" = "xyes"; then
18394     ac_ext=c
18395 ac_cpp='$CPP $CPPFLAGS'
18396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18399
18400     { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
18401 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
18402     cat >conftest.$ac_ext <<_ACEOF
18403 /* confdefs.h.  */
18404 _ACEOF
18405 cat confdefs.h >>conftest.$ac_ext
18406 cat >>conftest.$ac_ext <<_ACEOF
18407 /* end confdefs.h.  */
18408
18409 int
18410 main ()
18411 {
18412
18413   ;
18414   return 0;
18415 }
18416 _ACEOF
18417 rm -f conftest.$ac_objext conftest$ac_exeext
18418 if { (ac_try="$ac_link"
18419 case "(($ac_try" in
18420   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18421   *) ac_try_echo=$ac_try;;
18422 esac
18423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18424   (eval "$ac_link") 2>conftest.er1
18425   ac_status=$?
18426   grep -v '^ *+' conftest.er1 >conftest.err
18427   rm -f conftest.er1
18428   cat conftest.err >&5
18429   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18430   (exit $ac_status); } && {
18431          test -z "$ac_c_werror_flag" ||
18432          test ! -s conftest.err
18433        } && test -s conftest$ac_exeext &&
18434        $as_test_x conftest$ac_exeext; then
18435   { echo "$as_me:$LINENO: result: yes" >&5
18436 echo "${ECHO_T}yes" >&6; }
18437 else
18438   echo "$as_me: failed program was:" >&5
18439 sed 's/^/| /' conftest.$ac_ext >&5
18440
18441         { { echo "$as_me:$LINENO: error: no.  Try a different SDK
18442 See \`config.log' for more details." >&5
18443 echo "$as_me: error: no.  Try a different SDK
18444 See \`config.log' for more details." >&2;}
18445    { (exit 1); exit 1; }; }; exit 1
18446 fi
18447
18448 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18449       conftest$ac_exeext conftest.$ac_ext
18450     ac_ext=c
18451 ac_cpp='$CPP $CPPFLAGS'
18452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18455
18456
18457     ac_ext=cpp
18458 ac_cpp='$CXXCPP $CPPFLAGS'
18459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18462
18463     { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
18464 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
18465     cat >conftest.$ac_ext <<_ACEOF
18466 /* confdefs.h.  */
18467 _ACEOF
18468 cat confdefs.h >>conftest.$ac_ext
18469 cat >>conftest.$ac_ext <<_ACEOF
18470 /* end confdefs.h.  */
18471
18472 int
18473 main ()
18474 {
18475
18476   ;
18477   return 0;
18478 }
18479 _ACEOF
18480 rm -f conftest.$ac_objext conftest$ac_exeext
18481 if { (ac_try="$ac_link"
18482 case "(($ac_try" in
18483   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18484   *) ac_try_echo=$ac_try;;
18485 esac
18486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18487   (eval "$ac_link") 2>conftest.er1
18488   ac_status=$?
18489   grep -v '^ *+' conftest.er1 >conftest.err
18490   rm -f conftest.er1
18491   cat conftest.err >&5
18492   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18493   (exit $ac_status); } && {
18494          test -z "$ac_cxx_werror_flag" ||
18495          test ! -s conftest.err
18496        } && test -s conftest$ac_exeext &&
18497        $as_test_x conftest$ac_exeext; then
18498   { echo "$as_me:$LINENO: result: yes" >&5
18499 echo "${ECHO_T}yes" >&6; }
18500 else
18501   echo "$as_me: failed program was:" >&5
18502 sed 's/^/| /' conftest.$ac_ext >&5
18503
18504         { { echo "$as_me:$LINENO: error: no.  Try a different SDK
18505 See \`config.log' for more details." >&5
18506 echo "$as_me: error: no.  Try a different SDK
18507 See \`config.log' for more details." >&2;}
18508    { (exit 1); exit 1; }; }; exit 1
18509 fi
18510
18511 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18512       conftest$ac_exeext conftest.$ac_ext
18513     ac_ext=c
18514 ac_cpp='$CPP $CPPFLAGS'
18515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18518
18519 fi
18520
18521 fi
18522 case "${host}" in
18523
18524                 *-*-darwin* )
18525         INSTALL_PROGRAM="cp -fp"
18526         INSTALL_DATA="cp -fp"
18527         ;;
18528     *)
18529         ;;
18530 esac
18531
18532
18533 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
18534     CXXFLAGS="-qunique $CXXFLAGS"
18535 fi
18536
18537 case "${host}" in
18538   powerpc-*-darwin* )
18539     { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
18540 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
18541     cat >conftest.$ac_ext <<_ACEOF
18542 /* confdefs.h.  */
18543 _ACEOF
18544 cat confdefs.h >>conftest.$ac_ext
18545 cat >>conftest.$ac_ext <<_ACEOF
18546 /* end confdefs.h.  */
18547
18548 int
18549 main ()
18550 {
18551 #ifndef __POWERPC__
18552         choke me for lack of PowerPC
18553 #endif
18554
18555   ;
18556   return 0;
18557 }
18558 _ACEOF
18559 rm -f conftest.$ac_objext
18560 if { (ac_try="$ac_compile"
18561 case "(($ac_try" in
18562   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18563   *) ac_try_echo=$ac_try;;
18564 esac
18565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18566   (eval "$ac_compile") 2>conftest.er1
18567   ac_status=$?
18568   grep -v '^ *+' conftest.er1 >conftest.err
18569   rm -f conftest.er1
18570   cat conftest.err >&5
18571   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18572   (exit $ac_status); } && {
18573          test -z "$ac_c_werror_flag" ||
18574          test ! -s conftest.err
18575        } && test -s conftest.$ac_objext; then
18576   { echo "$as_me:$LINENO: result: yes" >&5
18577 echo "${ECHO_T}yes" >&6; }
18578 else
18579   echo "$as_me: failed program was:" >&5
18580 sed 's/^/| /' conftest.$ac_ext >&5
18581
18582         { echo "$as_me:$LINENO: result: no" >&5
18583 echo "${ECHO_T}no" >&6; }
18584         cat >>confdefs.h <<\_ACEOF
18585 #define __POWERPC__ 1
18586 _ACEOF
18587
18588
18589 fi
18590
18591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18592   ;;
18593 esac
18594
18595 case "${host}" in
18596   *-*-darwin* )
18597     { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
18598 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
18599     cat >conftest.$ac_ext <<_ACEOF
18600 /* confdefs.h.  */
18601 _ACEOF
18602 cat confdefs.h >>conftest.$ac_ext
18603 cat >>conftest.$ac_ext <<_ACEOF
18604 /* end confdefs.h.  */
18605 #include <CoreFoundation/CFBase.h>
18606
18607 int
18608 main ()
18609 {
18610
18611   ;
18612   return 0;
18613 }
18614 _ACEOF
18615 rm -f conftest.$ac_objext
18616 if { (ac_try="$ac_compile"
18617 case "(($ac_try" in
18618   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18619   *) ac_try_echo=$ac_try;;
18620 esac
18621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18622   (eval "$ac_compile") 2>conftest.er1
18623   ac_status=$?
18624   grep -v '^ *+' conftest.er1 >conftest.err
18625   rm -f conftest.er1
18626   cat conftest.err >&5
18627   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18628   (exit $ac_status); } && {
18629          test -z "$ac_c_werror_flag" ||
18630          test ! -s conftest.err
18631        } && test -s conftest.$ac_objext; then
18632   { echo "$as_me:$LINENO: result: yes" >&5
18633 echo "${ECHO_T}yes" >&6; }
18634 else
18635   echo "$as_me: failed program was:" >&5
18636 sed 's/^/| /' conftest.$ac_ext >&5
18637
18638         { echo "$as_me:$LINENO: result: no" >&5
18639 echo "${ECHO_T}no" >&6; }
18640         { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
18641 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
18642         cat >conftest.$ac_ext <<_ACEOF
18643 /* confdefs.h.  */
18644 _ACEOF
18645 cat confdefs.h >>conftest.$ac_ext
18646 cat >>conftest.$ac_ext <<_ACEOF
18647 /* end confdefs.h.  */
18648 #define __CF_USE_FRAMEWORK_INCLUDES__
18649 #include <CoreFoundation/CFBase.h>
18650
18651 int
18652 main ()
18653 {
18654
18655   ;
18656   return 0;
18657 }
18658 _ACEOF
18659 rm -f conftest.$ac_objext
18660 if { (ac_try="$ac_compile"
18661 case "(($ac_try" in
18662   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18663   *) ac_try_echo=$ac_try;;
18664 esac
18665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18666   (eval "$ac_compile") 2>conftest.er1
18667   ac_status=$?
18668   grep -v '^ *+' conftest.er1 >conftest.err
18669   rm -f conftest.er1
18670   cat conftest.err >&5
18671   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18672   (exit $ac_status); } && {
18673          test -z "$ac_c_werror_flag" ||
18674          test ! -s conftest.err
18675        } && test -s conftest.$ac_objext; then
18676   { echo "$as_me:$LINENO: result: yes" >&5
18677 echo "${ECHO_T}yes" >&6; }
18678                         CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
18679 else
18680   echo "$as_me: failed program was:" >&5
18681 sed 's/^/| /' conftest.$ac_ext >&5
18682
18683         { { echo "$as_me:$LINENO: error: no.  CoreFoundation not available.
18684 See \`config.log' for more details." >&5
18685 echo "$as_me: error: no.  CoreFoundation not available.
18686 See \`config.log' for more details." >&2;}
18687    { (exit 1); exit 1; }; }
18688
18689 fi
18690
18691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18692
18693
18694 fi
18695
18696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18697   ;;
18698 esac
18699
18700 wants_win32=0
18701 doesnt_want_win32=0
18702 case "${host}" in
18703   *-*-cygwin*)
18704       if test "$wxUSE_MSW" = 1 ; then
18705         wants_win32=1
18706       else
18707                         { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
18708 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
18709 if test "${wx_cv_nocygwin+set}" = set; then
18710   echo $ECHO_N "(cached) $ECHO_C" >&6
18711 else
18712
18713                 cat >conftest.$ac_ext <<_ACEOF
18714 /* confdefs.h.  */
18715 _ACEOF
18716 cat confdefs.h >>conftest.$ac_ext
18717 cat >>conftest.$ac_ext <<_ACEOF
18718 /* end confdefs.h.  */
18719
18720 int
18721 main ()
18722 {
18723
18724                         #ifdef __MINGW32__
18725                             choke me
18726                         #endif
18727
18728   ;
18729   return 0;
18730 }
18731 _ACEOF
18732 rm -f conftest.$ac_objext
18733 if { (ac_try="$ac_compile"
18734 case "(($ac_try" in
18735   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18736   *) ac_try_echo=$ac_try;;
18737 esac
18738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18739   (eval "$ac_compile") 2>conftest.er1
18740   ac_status=$?
18741   grep -v '^ *+' conftest.er1 >conftest.err
18742   rm -f conftest.er1
18743   cat conftest.err >&5
18744   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18745   (exit $ac_status); } && {
18746          test -z "$ac_c_werror_flag" ||
18747          test ! -s conftest.err
18748        } && test -s conftest.$ac_objext; then
18749   wx_cv_nocygwin=no
18750 else
18751   echo "$as_me: failed program was:" >&5
18752 sed 's/^/| /' conftest.$ac_ext >&5
18753
18754         wx_cv_nocygwin=yes
18755
18756 fi
18757
18758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18759
18760
18761 fi
18762 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
18763 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
18764
18765         if test "$wx_cv_nocygwin" = "yes"; then
18766             wants_win32=1
18767         else
18768             doesnt_want_win32=1
18769         fi
18770       fi
18771       if test "$wants_win32" = 1 ; then
18772         BAKEFILE_FORCE_PLATFORM=win32
18773       fi
18774   ;;
18775   *-*-mingw*)
18776       wants_win32=1
18777   ;;
18778 esac
18779
18780 if test "$wxUSE_WINE" = "yes"; then
18781     wants_win32=1
18782     LDFLAGS_GUI="-mwindows"
18783 fi
18784
18785 if test "$wants_win32" = 1 ; then
18786     USE_UNIX=0
18787     USE_WIN32=1
18788     cat >>confdefs.h <<\_ACEOF
18789 #define __WIN32__ 1
18790 _ACEOF
18791
18792     cat >>confdefs.h <<\_ACEOF
18793 #define __WIN95__ 1
18794 _ACEOF
18795
18796     cat >>confdefs.h <<\_ACEOF
18797 #define __WINDOWS__ 1
18798 _ACEOF
18799
18800     cat >>confdefs.h <<\_ACEOF
18801 #define __GNUWIN32__ 1
18802 _ACEOF
18803
18804     cat >>confdefs.h <<\_ACEOF
18805 #define STRICT 1
18806 _ACEOF
18807
18808 fi
18809 if test "$doesnt_want_win32" = 1 ; then
18810     USE_UNIX=1
18811     USE_WIN32=0
18812 fi
18813
18814 if test "$USE_UNIX" = 1 ; then
18815     wxUSE_UNIX=yes
18816     cat >>confdefs.h <<\_ACEOF
18817 #define __UNIX__ 1
18818 _ACEOF
18819
18820 fi
18821
18822 case "${host}" in
18823   *-pc-os2_emx | *-pc-os2-emx )
18824                                                       if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
18825                               { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
18826 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
18827 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
18828   echo $ECHO_N "(cached) $ECHO_C" >&6
18829 else
18830   ac_check_lib_save_LIBS=$LIBS
18831 LIBS="-lcExt  $LIBS"
18832 cat >conftest.$ac_ext <<_ACEOF
18833 /* confdefs.h.  */
18834 _ACEOF
18835 cat confdefs.h >>conftest.$ac_ext
18836 cat >>conftest.$ac_ext <<_ACEOF
18837 /* end confdefs.h.  */
18838
18839 /* Override any GCC internal prototype to avoid an error.
18840    Use char because int might match the return type of a GCC
18841    builtin and then its argument prototype would still apply.  */
18842 #ifdef __cplusplus
18843 extern "C"
18844 #endif
18845 char drand48 ();
18846 int
18847 main ()
18848 {
18849 return drand48 ();
18850   ;
18851   return 0;
18852 }
18853 _ACEOF
18854 rm -f conftest.$ac_objext conftest$ac_exeext
18855 if { (ac_try="$ac_link"
18856 case "(($ac_try" in
18857   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18858   *) ac_try_echo=$ac_try;;
18859 esac
18860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18861   (eval "$ac_link") 2>conftest.er1
18862   ac_status=$?
18863   grep -v '^ *+' conftest.er1 >conftest.err
18864   rm -f conftest.er1
18865   cat conftest.err >&5
18866   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18867   (exit $ac_status); } && {
18868          test -z "$ac_c_werror_flag" ||
18869          test ! -s conftest.err
18870        } && test -s conftest$ac_exeext &&
18871        $as_test_x conftest$ac_exeext; then
18872   ac_cv_lib_cExt_drand48=yes
18873 else
18874   echo "$as_me: failed program was:" >&5
18875 sed 's/^/| /' conftest.$ac_ext >&5
18876
18877         ac_cv_lib_cExt_drand48=no
18878 fi
18879
18880 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18881       conftest$ac_exeext conftest.$ac_ext
18882 LIBS=$ac_check_lib_save_LIBS
18883 fi
18884 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
18885 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
18886 if test $ac_cv_lib_cExt_drand48 = yes; then
18887   LIBS="$LIBS -lcExt"
18888 fi
18889
18890       else
18891                     RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
18892       fi
18893                                     { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
18894 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
18895 if test "${wx_cv_gccversion+set}" = set; then
18896   echo $ECHO_N "(cached) $ECHO_C" >&6
18897 else
18898
18899           if test "$cross_compiling" = yes; then
18900                 wx_cv_gccversion="EMX2"
18901
18902 else
18903   cat >conftest.$ac_ext <<_ACEOF
18904 /* confdefs.h.  */
18905 _ACEOF
18906 cat confdefs.h >>conftest.$ac_ext
18907 cat >>conftest.$ac_ext <<_ACEOF
18908 /* end confdefs.h.  */
18909
18910                   #include <stdio.h>
18911
18912                   int main()
18913                   {
18914                       FILE *f=fopen("conftestval", "w");
18915                       if (!f) exit(1);
18916                       fprintf(f,
18917                   #if (__GNUC__ < 3)
18918                               "EMX2"
18919                   #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
18920                               "EMX3"
18921                   #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
18922                               "Innotek5"
18923                   #else
18924                               "Innotek6"
18925                   #endif
18926                       );
18927                       exit(0);
18928                   }
18929
18930 _ACEOF
18931 rm -f conftest$ac_exeext
18932 if { (ac_try="$ac_link"
18933 case "(($ac_try" in
18934   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18935   *) ac_try_echo=$ac_try;;
18936 esac
18937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18938   (eval "$ac_link") 2>&5
18939   ac_status=$?
18940   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18941   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18942   { (case "(($ac_try" in
18943   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18944   *) ac_try_echo=$ac_try;;
18945 esac
18946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18947   (eval "$ac_try") 2>&5
18948   ac_status=$?
18949   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18950   (exit $ac_status); }; }; then
18951   wx_cv_gccversion=`cat conftestval`
18952 else
18953   echo "$as_me: program exited with status $ac_status" >&5
18954 echo "$as_me: failed program was:" >&5
18955 sed 's/^/| /' conftest.$ac_ext >&5
18956
18957 ( exit $ac_status )
18958 wx_cv_gccversion="EMX2"
18959 fi
18960 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18961 fi
18962
18963
18964
18965 fi
18966 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
18967 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
18968       if test "$wx_cv_gccversion" = "EMX2"; then
18969           LIBS="$LIBS -lstdcpp"
18970           LDFLAGS="$LDFLAGS -Zsysv-signals"
18971       else
18972           if test "$wx_cv_gccversion" = "EMX3"; then
18973               LIBS="$LIBS -lstdcxx -lgcc"
18974               LDFLAGS="$LDFLAGS -Zsysv-signals"
18975           else
18976               LIBS="$LIBS -lstdc++"
18977           fi
18978       fi
18979       if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
18980         { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
18981 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
18982         wxUSE_OMF=yes
18983         enable_omf=yes
18984       fi
18985         ;;
18986   *)
18987
18988       { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
18989 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
18990 if test "${ac_cv_string_strcasecmp+set}" = set; then
18991   echo $ECHO_N "(cached) $ECHO_C" >&6
18992 else
18993
18994           cat >conftest.$ac_ext <<_ACEOF
18995 /* confdefs.h.  */
18996 _ACEOF
18997 cat confdefs.h >>conftest.$ac_ext
18998 cat >>conftest.$ac_ext <<_ACEOF
18999 /* end confdefs.h.  */
19000
19001               #include <string.h>
19002
19003 int
19004 main ()
19005 {
19006
19007                   strcasecmp("foo", "bar");
19008
19009   ;
19010   return 0;
19011 }
19012 _ACEOF
19013 rm -f conftest.$ac_objext conftest$ac_exeext
19014 if { (ac_try="$ac_link"
19015 case "(($ac_try" in
19016   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19017   *) ac_try_echo=$ac_try;;
19018 esac
19019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19020   (eval "$ac_link") 2>conftest.er1
19021   ac_status=$?
19022   grep -v '^ *+' conftest.er1 >conftest.err
19023   rm -f conftest.er1
19024   cat conftest.err >&5
19025   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19026   (exit $ac_status); } && {
19027          test -z "$ac_c_werror_flag" ||
19028          test ! -s conftest.err
19029        } && test -s conftest$ac_exeext &&
19030        $as_test_x conftest$ac_exeext; then
19031   ac_cv_string_strcasecmp=yes
19032 else
19033   echo "$as_me: failed program was:" >&5
19034 sed 's/^/| /' conftest.$ac_ext >&5
19035
19036         ac_cv_string_strcasecmp=no
19037
19038 fi
19039
19040 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19041       conftest$ac_exeext conftest.$ac_ext
19042
19043 fi
19044 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
19045 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
19046
19047       if test x"$ac_cv_string_strcasecmp" = "xyes"; then
19048           cat >>confdefs.h <<\_ACEOF
19049 #define HAVE_STRCASECMP_IN_STRING_H 1
19050 _ACEOF
19051
19052       else
19053           { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
19054 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
19055 if test "${ac_cv_strings_strcasecmp+set}" = set; then
19056   echo $ECHO_N "(cached) $ECHO_C" >&6
19057 else
19058
19059               cat >conftest.$ac_ext <<_ACEOF
19060 /* confdefs.h.  */
19061 _ACEOF
19062 cat confdefs.h >>conftest.$ac_ext
19063 cat >>conftest.$ac_ext <<_ACEOF
19064 /* end confdefs.h.  */
19065
19066                   #include <strings.h>
19067
19068 int
19069 main ()
19070 {
19071
19072                       strcasecmp("foo", "bar");
19073
19074   ;
19075   return 0;
19076 }
19077 _ACEOF
19078 rm -f conftest.$ac_objext conftest$ac_exeext
19079 if { (ac_try="$ac_link"
19080 case "(($ac_try" in
19081   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19082   *) ac_try_echo=$ac_try;;
19083 esac
19084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19085   (eval "$ac_link") 2>conftest.er1
19086   ac_status=$?
19087   grep -v '^ *+' conftest.er1 >conftest.err
19088   rm -f conftest.er1
19089   cat conftest.err >&5
19090   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19091   (exit $ac_status); } && {
19092          test -z "$ac_c_werror_flag" ||
19093          test ! -s conftest.err
19094        } && test -s conftest$ac_exeext &&
19095        $as_test_x conftest$ac_exeext; then
19096   ac_cv_strings_strcasecmp=yes
19097 else
19098   echo "$as_me: failed program was:" >&5
19099 sed 's/^/| /' conftest.$ac_ext >&5
19100
19101         ac_cv_strings_strcasecmp=no
19102
19103 fi
19104
19105 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19106       conftest$ac_exeext conftest.$ac_ext
19107
19108 fi
19109 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
19110 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
19111
19112           if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
19113               cat >>confdefs.h <<\_ACEOF
19114 #define HAVE_STRCASECMP_IN_STRINGS_H 1
19115 _ACEOF
19116
19117           else
19118               { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
19119 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
19120    { (exit 1); exit 1; }; }
19121           fi
19122       fi
19123
19124         ;;
19125 esac
19126
19127
19128 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
19129 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
19130 if test "${ac_cv_header_stdc+set}" = set; then
19131   echo $ECHO_N "(cached) $ECHO_C" >&6
19132 else
19133   cat >conftest.$ac_ext <<_ACEOF
19134 /* confdefs.h.  */
19135 _ACEOF
19136 cat confdefs.h >>conftest.$ac_ext
19137 cat >>conftest.$ac_ext <<_ACEOF
19138 /* end confdefs.h.  */
19139 #include <stdlib.h>
19140 #include <stdarg.h>
19141 #include <string.h>
19142 #include <float.h>
19143
19144 int
19145 main ()
19146 {
19147
19148   ;
19149   return 0;
19150 }
19151 _ACEOF
19152 rm -f conftest.$ac_objext
19153 if { (ac_try="$ac_compile"
19154 case "(($ac_try" in
19155   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19156   *) ac_try_echo=$ac_try;;
19157 esac
19158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19159   (eval "$ac_compile") 2>conftest.er1
19160   ac_status=$?
19161   grep -v '^ *+' conftest.er1 >conftest.err
19162   rm -f conftest.er1
19163   cat conftest.err >&5
19164   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19165   (exit $ac_status); } && {
19166          test -z "$ac_c_werror_flag" ||
19167          test ! -s conftest.err
19168        } && test -s conftest.$ac_objext; then
19169   ac_cv_header_stdc=yes
19170 else
19171   echo "$as_me: failed program was:" >&5
19172 sed 's/^/| /' conftest.$ac_ext >&5
19173
19174         ac_cv_header_stdc=no
19175 fi
19176
19177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19178
19179 if test $ac_cv_header_stdc = yes; then
19180   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19181   cat >conftest.$ac_ext <<_ACEOF
19182 /* confdefs.h.  */
19183 _ACEOF
19184 cat confdefs.h >>conftest.$ac_ext
19185 cat >>conftest.$ac_ext <<_ACEOF
19186 /* end confdefs.h.  */
19187 #include <string.h>
19188
19189 _ACEOF
19190 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19191   $EGREP "memchr" >/dev/null 2>&1; then
19192   :
19193 else
19194   ac_cv_header_stdc=no
19195 fi
19196 rm -f conftest*
19197
19198 fi
19199
19200 if test $ac_cv_header_stdc = yes; then
19201   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19202   cat >conftest.$ac_ext <<_ACEOF
19203 /* confdefs.h.  */
19204 _ACEOF
19205 cat confdefs.h >>conftest.$ac_ext
19206 cat >>conftest.$ac_ext <<_ACEOF
19207 /* end confdefs.h.  */
19208 #include <stdlib.h>
19209
19210 _ACEOF
19211 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19212   $EGREP "free" >/dev/null 2>&1; then
19213   :
19214 else
19215   ac_cv_header_stdc=no
19216 fi
19217 rm -f conftest*
19218
19219 fi
19220
19221 if test $ac_cv_header_stdc = yes; then
19222   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19223   if test "$cross_compiling" = yes; then
19224   :
19225 else
19226   cat >conftest.$ac_ext <<_ACEOF
19227 /* confdefs.h.  */
19228 _ACEOF
19229 cat confdefs.h >>conftest.$ac_ext
19230 cat >>conftest.$ac_ext <<_ACEOF
19231 /* end confdefs.h.  */
19232 #include <ctype.h>
19233 #include <stdlib.h>
19234 #if ((' ' & 0x0FF) == 0x020)
19235 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19236 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19237 #else
19238 # define ISLOWER(c) \
19239                    (('a' <= (c) && (c) <= 'i') \
19240                      || ('j' <= (c) && (c) <= 'r') \
19241                      || ('s' <= (c) && (c) <= 'z'))
19242 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19243 #endif
19244
19245 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19246 int
19247 main ()
19248 {
19249   int i;
19250   for (i = 0; i < 256; i++)
19251     if (XOR (islower (i), ISLOWER (i))
19252         || toupper (i) != TOUPPER (i))
19253       return 2;
19254   return 0;
19255 }
19256 _ACEOF
19257 rm -f conftest$ac_exeext
19258 if { (ac_try="$ac_link"
19259 case "(($ac_try" in
19260   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19261   *) ac_try_echo=$ac_try;;
19262 esac
19263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19264   (eval "$ac_link") 2>&5
19265   ac_status=$?
19266   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19267   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19268   { (case "(($ac_try" in
19269   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19270   *) ac_try_echo=$ac_try;;
19271 esac
19272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19273   (eval "$ac_try") 2>&5
19274   ac_status=$?
19275   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19276   (exit $ac_status); }; }; then
19277   :
19278 else
19279   echo "$as_me: program exited with status $ac_status" >&5
19280 echo "$as_me: failed program was:" >&5
19281 sed 's/^/| /' conftest.$ac_ext >&5
19282
19283 ( exit $ac_status )
19284 ac_cv_header_stdc=no
19285 fi
19286 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19287 fi
19288
19289
19290 fi
19291 fi
19292 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
19293 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
19294 if test $ac_cv_header_stdc = yes; then
19295
19296 cat >>confdefs.h <<\_ACEOF
19297 #define STDC_HEADERS 1
19298 _ACEOF
19299
19300 fi
19301
19302 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
19303
19304
19305
19306
19307
19308
19309
19310
19311
19312 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
19313                   inttypes.h stdint.h unistd.h
19314 do
19315 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19316 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19317 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19318 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19319   echo $ECHO_N "(cached) $ECHO_C" >&6
19320 else
19321   cat >conftest.$ac_ext <<_ACEOF
19322 /* confdefs.h.  */
19323 _ACEOF
19324 cat confdefs.h >>conftest.$ac_ext
19325 cat >>conftest.$ac_ext <<_ACEOF
19326 /* end confdefs.h.  */
19327 $ac_includes_default
19328
19329 #include <$ac_header>
19330 _ACEOF
19331 rm -f conftest.$ac_objext
19332 if { (ac_try="$ac_compile"
19333 case "(($ac_try" in
19334   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19335   *) ac_try_echo=$ac_try;;
19336 esac
19337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19338   (eval "$ac_compile") 2>conftest.er1
19339   ac_status=$?
19340   grep -v '^ *+' conftest.er1 >conftest.err
19341   rm -f conftest.er1
19342   cat conftest.err >&5
19343   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19344   (exit $ac_status); } && {
19345          test -z "$ac_c_werror_flag" ||
19346          test ! -s conftest.err
19347        } && test -s conftest.$ac_objext; then
19348   eval "$as_ac_Header=yes"
19349 else
19350   echo "$as_me: failed program was:" >&5
19351 sed 's/^/| /' conftest.$ac_ext >&5
19352
19353         eval "$as_ac_Header=no"
19354 fi
19355
19356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19357 fi
19358 ac_res=`eval echo '${'$as_ac_Header'}'`
19359                { echo "$as_me:$LINENO: result: $ac_res" >&5
19360 echo "${ECHO_T}$ac_res" >&6; }
19361 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19362   cat >>confdefs.h <<_ACEOF
19363 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19364 _ACEOF
19365
19366 fi
19367
19368 done
19369
19370
19371
19372
19373 for ac_header in langinfo.h wchar.h
19374 do
19375 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19376 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19377 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19378 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19379   echo $ECHO_N "(cached) $ECHO_C" >&6
19380 else
19381   cat >conftest.$ac_ext <<_ACEOF
19382 /* confdefs.h.  */
19383 _ACEOF
19384 cat confdefs.h >>conftest.$ac_ext
19385 cat >>conftest.$ac_ext <<_ACEOF
19386 /* end confdefs.h.  */
19387 $ac_includes_default
19388
19389 #include <$ac_header>
19390 _ACEOF
19391 rm -f conftest.$ac_objext
19392 if { (ac_try="$ac_compile"
19393 case "(($ac_try" in
19394   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19395   *) ac_try_echo=$ac_try;;
19396 esac
19397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19398   (eval "$ac_compile") 2>conftest.er1
19399   ac_status=$?
19400   grep -v '^ *+' conftest.er1 >conftest.err
19401   rm -f conftest.er1
19402   cat conftest.err >&5
19403   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19404   (exit $ac_status); } && {
19405          test -z "$ac_c_werror_flag" ||
19406          test ! -s conftest.err
19407        } && test -s conftest.$ac_objext; then
19408   eval "$as_ac_Header=yes"
19409 else
19410   echo "$as_me: failed program was:" >&5
19411 sed 's/^/| /' conftest.$ac_ext >&5
19412
19413         eval "$as_ac_Header=no"
19414 fi
19415
19416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19417 fi
19418 ac_res=`eval echo '${'$as_ac_Header'}'`
19419                { echo "$as_me:$LINENO: result: $ac_res" >&5
19420 echo "${ECHO_T}$ac_res" >&6; }
19421 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19422   cat >>confdefs.h <<_ACEOF
19423 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19424 _ACEOF
19425
19426 fi
19427
19428 done
19429
19430
19431 if test "$ac_cv_header_wchar_h" != "yes"; then
19432
19433 for ac_header in wcstr.h
19434 do
19435 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19436 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19437 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19438 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19439   echo $ECHO_N "(cached) $ECHO_C" >&6
19440 else
19441   cat >conftest.$ac_ext <<_ACEOF
19442 /* confdefs.h.  */
19443 _ACEOF
19444 cat confdefs.h >>conftest.$ac_ext
19445 cat >>conftest.$ac_ext <<_ACEOF
19446 /* end confdefs.h.  */
19447 $ac_includes_default
19448
19449 #include <$ac_header>
19450 _ACEOF
19451 rm -f conftest.$ac_objext
19452 if { (ac_try="$ac_compile"
19453 case "(($ac_try" in
19454   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19455   *) ac_try_echo=$ac_try;;
19456 esac
19457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19458   (eval "$ac_compile") 2>conftest.er1
19459   ac_status=$?
19460   grep -v '^ *+' conftest.er1 >conftest.err
19461   rm -f conftest.er1
19462   cat conftest.err >&5
19463   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19464   (exit $ac_status); } && {
19465          test -z "$ac_c_werror_flag" ||
19466          test ! -s conftest.err
19467        } && test -s conftest.$ac_objext; then
19468   eval "$as_ac_Header=yes"
19469 else
19470   echo "$as_me: failed program was:" >&5
19471 sed 's/^/| /' conftest.$ac_ext >&5
19472
19473         eval "$as_ac_Header=no"
19474 fi
19475
19476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19477 fi
19478 ac_res=`eval echo '${'$as_ac_Header'}'`
19479                { echo "$as_me:$LINENO: result: $ac_res" >&5
19480 echo "${ECHO_T}$ac_res" >&6; }
19481 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19482   cat >>confdefs.h <<_ACEOF
19483 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19484 _ACEOF
19485
19486 fi
19487
19488 done
19489
19490 fi
19491
19492 case "${host}" in
19493   *-pc-os2_emx | *-pc-os2-emx )
19494                   if test $ac_cv_header_langinfo_h = "yes" \
19495                 -a \(   "$wx_cv_gccversion" = "EMX2" \
19496                      -o "$wx_cv_gccversion" = "EMX3" \
19497                      -o "$wx_cv_gccversion" = "Innotek5" \); then
19498           LIBS="$LIBS -lintl"
19499       fi
19500   ;;
19501 esac
19502
19503 if test "$USE_UNIX" = 1 ; then
19504
19505 for ac_header in sys/select.h
19506 do
19507 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19508 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19509 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19510 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19511   echo $ECHO_N "(cached) $ECHO_C" >&6
19512 else
19513   cat >conftest.$ac_ext <<_ACEOF
19514 /* confdefs.h.  */
19515 _ACEOF
19516 cat confdefs.h >>conftest.$ac_ext
19517 cat >>conftest.$ac_ext <<_ACEOF
19518 /* end confdefs.h.  */
19519 $ac_includes_default
19520
19521 #include <$ac_header>
19522 _ACEOF
19523 rm -f conftest.$ac_objext
19524 if { (ac_try="$ac_compile"
19525 case "(($ac_try" in
19526   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19527   *) ac_try_echo=$ac_try;;
19528 esac
19529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19530   (eval "$ac_compile") 2>conftest.er1
19531   ac_status=$?
19532   grep -v '^ *+' conftest.er1 >conftest.err
19533   rm -f conftest.er1
19534   cat conftest.err >&5
19535   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19536   (exit $ac_status); } && {
19537          test -z "$ac_c_werror_flag" ||
19538          test ! -s conftest.err
19539        } && test -s conftest.$ac_objext; then
19540   eval "$as_ac_Header=yes"
19541 else
19542   echo "$as_me: failed program was:" >&5
19543 sed 's/^/| /' conftest.$ac_ext >&5
19544
19545         eval "$as_ac_Header=no"
19546 fi
19547
19548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19549 fi
19550 ac_res=`eval echo '${'$as_ac_Header'}'`
19551                { echo "$as_me:$LINENO: result: $ac_res" >&5
19552 echo "${ECHO_T}$ac_res" >&6; }
19553 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19554   cat >>confdefs.h <<_ACEOF
19555 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19556 _ACEOF
19557
19558 fi
19559
19560 done
19561
19562 fi
19563
19564
19565 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
19566 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
19567 if test "${ac_cv_c_const+set}" = set; then
19568   echo $ECHO_N "(cached) $ECHO_C" >&6
19569 else
19570   cat >conftest.$ac_ext <<_ACEOF
19571 /* confdefs.h.  */
19572 _ACEOF
19573 cat confdefs.h >>conftest.$ac_ext
19574 cat >>conftest.$ac_ext <<_ACEOF
19575 /* end confdefs.h.  */
19576
19577 int
19578 main ()
19579 {
19580 /* FIXME: Include the comments suggested by Paul. */
19581 #ifndef __cplusplus
19582   /* Ultrix mips cc rejects this.  */
19583   typedef int charset[2];
19584   const charset cs;
19585   /* SunOS 4.1.1 cc rejects this.  */
19586   char const *const *pcpcc;
19587   char **ppc;
19588   /* NEC SVR4.0.2 mips cc rejects this.  */
19589   struct point {int x, y;};
19590   static struct point const zero = {0,0};
19591   /* AIX XL C 1.02.0.0 rejects this.
19592      It does not let you subtract one const X* pointer from another in
19593      an arm of an if-expression whose if-part is not a constant
19594      expression */
19595   const char *g = "string";
19596   pcpcc = &g + (g ? g-g : 0);
19597   /* HPUX 7.0 cc rejects these. */
19598   ++pcpcc;
19599   ppc = (char**) pcpcc;
19600   pcpcc = (char const *const *) ppc;
19601   { /* SCO 3.2v4 cc rejects this.  */
19602     char *t;
19603     char const *s = 0 ? (char *) 0 : (char const *) 0;
19604
19605     *t++ = 0;
19606     if (s) return 0;
19607   }
19608   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
19609     int x[] = {25, 17};
19610     const int *foo = &x[0];
19611     ++foo;
19612   }
19613   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19614     typedef const int *iptr;
19615     iptr p = 0;
19616     ++p;
19617   }
19618   { /* AIX XL C 1.02.0.0 rejects this saying
19619        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19620     struct s { int j; const int *ap[3]; };
19621     struct s *b; b->j = 5;
19622   }
19623   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19624     const int foo = 10;
19625     if (!foo) return 0;
19626   }
19627   return !cs[0] && !zero.x;
19628 #endif
19629
19630   ;
19631   return 0;
19632 }
19633 _ACEOF
19634 rm -f conftest.$ac_objext
19635 if { (ac_try="$ac_compile"
19636 case "(($ac_try" in
19637   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19638   *) ac_try_echo=$ac_try;;
19639 esac
19640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19641   (eval "$ac_compile") 2>conftest.er1
19642   ac_status=$?
19643   grep -v '^ *+' conftest.er1 >conftest.err
19644   rm -f conftest.er1
19645   cat conftest.err >&5
19646   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19647   (exit $ac_status); } && {
19648          test -z "$ac_c_werror_flag" ||
19649          test ! -s conftest.err
19650        } && test -s conftest.$ac_objext; then
19651   ac_cv_c_const=yes
19652 else
19653   echo "$as_me: failed program was:" >&5
19654 sed 's/^/| /' conftest.$ac_ext >&5
19655
19656         ac_cv_c_const=no
19657 fi
19658
19659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19660 fi
19661 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
19662 echo "${ECHO_T}$ac_cv_c_const" >&6; }
19663 if test $ac_cv_c_const = no; then
19664
19665 cat >>confdefs.h <<\_ACEOF
19666 #define const
19667 _ACEOF
19668
19669 fi
19670
19671 { echo "$as_me:$LINENO: checking for inline" >&5
19672 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
19673 if test "${ac_cv_c_inline+set}" = set; then
19674   echo $ECHO_N "(cached) $ECHO_C" >&6
19675 else
19676   ac_cv_c_inline=no
19677 for ac_kw in inline __inline__ __inline; do
19678   cat >conftest.$ac_ext <<_ACEOF
19679 /* confdefs.h.  */
19680 _ACEOF
19681 cat confdefs.h >>conftest.$ac_ext
19682 cat >>conftest.$ac_ext <<_ACEOF
19683 /* end confdefs.h.  */
19684 #ifndef __cplusplus
19685 typedef int foo_t;
19686 static $ac_kw foo_t static_foo () {return 0; }
19687 $ac_kw foo_t foo () {return 0; }
19688 #endif
19689
19690 _ACEOF
19691 rm -f conftest.$ac_objext
19692 if { (ac_try="$ac_compile"
19693 case "(($ac_try" in
19694   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19695   *) ac_try_echo=$ac_try;;
19696 esac
19697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19698   (eval "$ac_compile") 2>conftest.er1
19699   ac_status=$?
19700   grep -v '^ *+' conftest.er1 >conftest.err
19701   rm -f conftest.er1
19702   cat conftest.err >&5
19703   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19704   (exit $ac_status); } && {
19705          test -z "$ac_c_werror_flag" ||
19706          test ! -s conftest.err
19707        } && test -s conftest.$ac_objext; then
19708   ac_cv_c_inline=$ac_kw
19709 else
19710   echo "$as_me: failed program was:" >&5
19711 sed 's/^/| /' conftest.$ac_ext >&5
19712
19713
19714 fi
19715
19716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19717   test "$ac_cv_c_inline" != no && break
19718 done
19719
19720 fi
19721 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
19722 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
19723
19724
19725 case $ac_cv_c_inline in
19726   inline | yes) ;;
19727   *)
19728     case $ac_cv_c_inline in
19729       no) ac_val=;;
19730       *) ac_val=$ac_cv_c_inline;;
19731     esac
19732     cat >>confdefs.h <<_ACEOF
19733 #ifndef __cplusplus
19734 #define inline $ac_val
19735 #endif
19736 _ACEOF
19737     ;;
19738 esac
19739
19740
19741 { echo "$as_me:$LINENO: checking for short" >&5
19742 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
19743 if test "${ac_cv_type_short+set}" = set; then
19744   echo $ECHO_N "(cached) $ECHO_C" >&6
19745 else
19746   cat >conftest.$ac_ext <<_ACEOF
19747 /* confdefs.h.  */
19748 _ACEOF
19749 cat confdefs.h >>conftest.$ac_ext
19750 cat >>conftest.$ac_ext <<_ACEOF
19751 /* end confdefs.h.  */
19752 $ac_includes_default
19753 typedef short ac__type_new_;
19754 int
19755 main ()
19756 {
19757 if ((ac__type_new_ *) 0)
19758   return 0;
19759 if (sizeof (ac__type_new_))
19760   return 0;
19761   ;
19762   return 0;
19763 }
19764 _ACEOF
19765 rm -f conftest.$ac_objext
19766 if { (ac_try="$ac_compile"
19767 case "(($ac_try" in
19768   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19769   *) ac_try_echo=$ac_try;;
19770 esac
19771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19772   (eval "$ac_compile") 2>conftest.er1
19773   ac_status=$?
19774   grep -v '^ *+' conftest.er1 >conftest.err
19775   rm -f conftest.er1
19776   cat conftest.err >&5
19777   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19778   (exit $ac_status); } && {
19779          test -z "$ac_c_werror_flag" ||
19780          test ! -s conftest.err
19781        } && test -s conftest.$ac_objext; then
19782   ac_cv_type_short=yes
19783 else
19784   echo "$as_me: failed program was:" >&5
19785 sed 's/^/| /' conftest.$ac_ext >&5
19786
19787         ac_cv_type_short=no
19788 fi
19789
19790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19791 fi
19792 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
19793 echo "${ECHO_T}$ac_cv_type_short" >&6; }
19794
19795 # The cast to long int works around a bug in the HP C Compiler
19796 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19797 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19798 # This bug is HP SR number 8606223364.
19799 { echo "$as_me:$LINENO: checking size of short" >&5
19800 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
19801 if test "${ac_cv_sizeof_short+set}" = set; then
19802   echo $ECHO_N "(cached) $ECHO_C" >&6
19803 else
19804   if test "$cross_compiling" = yes; then
19805   # Depending upon the size, compute the lo and hi bounds.
19806 cat >conftest.$ac_ext <<_ACEOF
19807 /* confdefs.h.  */
19808 _ACEOF
19809 cat confdefs.h >>conftest.$ac_ext
19810 cat >>conftest.$ac_ext <<_ACEOF
19811 /* end confdefs.h.  */
19812 $ac_includes_default
19813    typedef short ac__type_sizeof_;
19814 int
19815 main ()
19816 {
19817 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19818 test_array [0] = 0
19819
19820   ;
19821   return 0;
19822 }
19823 _ACEOF
19824 rm -f conftest.$ac_objext
19825 if { (ac_try="$ac_compile"
19826 case "(($ac_try" in
19827   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19828   *) ac_try_echo=$ac_try;;
19829 esac
19830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19831   (eval "$ac_compile") 2>conftest.er1
19832   ac_status=$?
19833   grep -v '^ *+' conftest.er1 >conftest.err
19834   rm -f conftest.er1
19835   cat conftest.err >&5
19836   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19837   (exit $ac_status); } && {
19838          test -z "$ac_c_werror_flag" ||
19839          test ! -s conftest.err
19840        } && test -s conftest.$ac_objext; then
19841   ac_lo=0 ac_mid=0
19842   while :; do
19843     cat >conftest.$ac_ext <<_ACEOF
19844 /* confdefs.h.  */
19845 _ACEOF
19846 cat confdefs.h >>conftest.$ac_ext
19847 cat >>conftest.$ac_ext <<_ACEOF
19848 /* end confdefs.h.  */
19849 $ac_includes_default
19850    typedef short ac__type_sizeof_;
19851 int
19852 main ()
19853 {
19854 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19855 test_array [0] = 0
19856
19857   ;
19858   return 0;
19859 }
19860 _ACEOF
19861 rm -f conftest.$ac_objext
19862 if { (ac_try="$ac_compile"
19863 case "(($ac_try" in
19864   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19865   *) ac_try_echo=$ac_try;;
19866 esac
19867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19868   (eval "$ac_compile") 2>conftest.er1
19869   ac_status=$?
19870   grep -v '^ *+' conftest.er1 >conftest.err
19871   rm -f conftest.er1
19872   cat conftest.err >&5
19873   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19874   (exit $ac_status); } && {
19875          test -z "$ac_c_werror_flag" ||
19876          test ! -s conftest.err
19877        } && test -s conftest.$ac_objext; then
19878   ac_hi=$ac_mid; break
19879 else
19880   echo "$as_me: failed program was:" >&5
19881 sed 's/^/| /' conftest.$ac_ext >&5
19882
19883         ac_lo=`expr $ac_mid + 1`
19884                         if test $ac_lo -le $ac_mid; then
19885                           ac_lo= ac_hi=
19886                           break
19887                         fi
19888                         ac_mid=`expr 2 '*' $ac_mid + 1`
19889 fi
19890
19891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19892   done
19893 else
19894   echo "$as_me: failed program was:" >&5
19895 sed 's/^/| /' conftest.$ac_ext >&5
19896
19897         cat >conftest.$ac_ext <<_ACEOF
19898 /* confdefs.h.  */
19899 _ACEOF
19900 cat confdefs.h >>conftest.$ac_ext
19901 cat >>conftest.$ac_ext <<_ACEOF
19902 /* end confdefs.h.  */
19903 $ac_includes_default
19904    typedef short ac__type_sizeof_;
19905 int
19906 main ()
19907 {
19908 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19909 test_array [0] = 0
19910
19911   ;
19912   return 0;
19913 }
19914 _ACEOF
19915 rm -f conftest.$ac_objext
19916 if { (ac_try="$ac_compile"
19917 case "(($ac_try" in
19918   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19919   *) ac_try_echo=$ac_try;;
19920 esac
19921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19922   (eval "$ac_compile") 2>conftest.er1
19923   ac_status=$?
19924   grep -v '^ *+' conftest.er1 >conftest.err
19925   rm -f conftest.er1
19926   cat conftest.err >&5
19927   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19928   (exit $ac_status); } && {
19929          test -z "$ac_c_werror_flag" ||
19930          test ! -s conftest.err
19931        } && test -s conftest.$ac_objext; then
19932   ac_hi=-1 ac_mid=-1
19933   while :; do
19934     cat >conftest.$ac_ext <<_ACEOF
19935 /* confdefs.h.  */
19936 _ACEOF
19937 cat confdefs.h >>conftest.$ac_ext
19938 cat >>conftest.$ac_ext <<_ACEOF
19939 /* end confdefs.h.  */
19940 $ac_includes_default
19941    typedef short ac__type_sizeof_;
19942 int
19943 main ()
19944 {
19945 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19946 test_array [0] = 0
19947
19948   ;
19949   return 0;
19950 }
19951 _ACEOF
19952 rm -f conftest.$ac_objext
19953 if { (ac_try="$ac_compile"
19954 case "(($ac_try" in
19955   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19956   *) ac_try_echo=$ac_try;;
19957 esac
19958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19959   (eval "$ac_compile") 2>conftest.er1
19960   ac_status=$?
19961   grep -v '^ *+' conftest.er1 >conftest.err
19962   rm -f conftest.er1
19963   cat conftest.err >&5
19964   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19965   (exit $ac_status); } && {
19966          test -z "$ac_c_werror_flag" ||
19967          test ! -s conftest.err
19968        } && test -s conftest.$ac_objext; then
19969   ac_lo=$ac_mid; break
19970 else
19971   echo "$as_me: failed program was:" >&5
19972 sed 's/^/| /' conftest.$ac_ext >&5
19973
19974         ac_hi=`expr '(' $ac_mid ')' - 1`
19975                         if test $ac_mid -le $ac_hi; then
19976                           ac_lo= ac_hi=
19977                           break
19978                         fi
19979                         ac_mid=`expr 2 '*' $ac_mid`
19980 fi
19981
19982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19983   done
19984 else
19985   echo "$as_me: failed program was:" >&5
19986 sed 's/^/| /' conftest.$ac_ext >&5
19987
19988         ac_lo= ac_hi=
19989 fi
19990
19991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19992 fi
19993
19994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19995 # Binary search between lo and hi bounds.
19996 while test "x$ac_lo" != "x$ac_hi"; do
19997   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19998   cat >conftest.$ac_ext <<_ACEOF
19999 /* confdefs.h.  */
20000 _ACEOF
20001 cat confdefs.h >>conftest.$ac_ext
20002 cat >>conftest.$ac_ext <<_ACEOF
20003 /* end confdefs.h.  */
20004 $ac_includes_default
20005    typedef short ac__type_sizeof_;
20006 int
20007 main ()
20008 {
20009 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20010 test_array [0] = 0
20011
20012   ;
20013   return 0;
20014 }
20015 _ACEOF
20016 rm -f conftest.$ac_objext
20017 if { (ac_try="$ac_compile"
20018 case "(($ac_try" in
20019   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20020   *) ac_try_echo=$ac_try;;
20021 esac
20022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20023   (eval "$ac_compile") 2>conftest.er1
20024   ac_status=$?
20025   grep -v '^ *+' conftest.er1 >conftest.err
20026   rm -f conftest.er1
20027   cat conftest.err >&5
20028   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20029   (exit $ac_status); } && {
20030          test -z "$ac_c_werror_flag" ||
20031          test ! -s conftest.err
20032        } && test -s conftest.$ac_objext; then
20033   ac_hi=$ac_mid
20034 else
20035   echo "$as_me: failed program was:" >&5
20036 sed 's/^/| /' conftest.$ac_ext >&5
20037
20038         ac_lo=`expr '(' $ac_mid ')' + 1`
20039 fi
20040
20041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20042 done
20043 case $ac_lo in
20044 ?*) ac_cv_sizeof_short=$ac_lo;;
20045 '') if test "$ac_cv_type_short" = yes; then
20046      { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
20047 See \`config.log' for more details." >&5
20048 echo "$as_me: error: cannot compute sizeof (short)
20049 See \`config.log' for more details." >&2;}
20050    { (exit 77); exit 77; }; }
20051    else
20052      ac_cv_sizeof_short=0
20053    fi ;;
20054 esac
20055 else
20056   cat >conftest.$ac_ext <<_ACEOF
20057 /* confdefs.h.  */
20058 _ACEOF
20059 cat confdefs.h >>conftest.$ac_ext
20060 cat >>conftest.$ac_ext <<_ACEOF
20061 /* end confdefs.h.  */
20062 $ac_includes_default
20063    typedef short ac__type_sizeof_;
20064 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20065 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20066 #include <stdio.h>
20067 #include <stdlib.h>
20068 int
20069 main ()
20070 {
20071
20072   FILE *f = fopen ("conftest.val", "w");
20073   if (! f)
20074     return 1;
20075   if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20076     {
20077       long int i = longval ();
20078       if (i != ((long int) (sizeof (ac__type_sizeof_))))
20079         return 1;
20080       fprintf (f, "%ld\n", i);
20081     }
20082   else
20083     {
20084       unsigned long int i = ulongval ();
20085       if (i != ((long int) (sizeof (ac__type_sizeof_))))
20086         return 1;
20087       fprintf (f, "%lu\n", i);
20088     }
20089   return ferror (f) || fclose (f) != 0;
20090
20091   ;
20092   return 0;
20093 }
20094 _ACEOF
20095 rm -f conftest$ac_exeext
20096 if { (ac_try="$ac_link"
20097 case "(($ac_try" in
20098   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20099   *) ac_try_echo=$ac_try;;
20100 esac
20101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20102   (eval "$ac_link") 2>&5
20103   ac_status=$?
20104   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20105   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20106   { (case "(($ac_try" in
20107   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20108   *) ac_try_echo=$ac_try;;
20109 esac
20110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20111   (eval "$ac_try") 2>&5
20112   ac_status=$?
20113   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20114   (exit $ac_status); }; }; then
20115   ac_cv_sizeof_short=`cat conftest.val`
20116 else
20117   echo "$as_me: program exited with status $ac_status" >&5
20118 echo "$as_me: failed program was:" >&5
20119 sed 's/^/| /' conftest.$ac_ext >&5
20120
20121 ( exit $ac_status )
20122 if test "$ac_cv_type_short" = yes; then
20123      { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
20124 See \`config.log' for more details." >&5
20125 echo "$as_me: error: cannot compute sizeof (short)
20126 See \`config.log' for more details." >&2;}
20127    { (exit 77); exit 77; }; }
20128    else
20129      ac_cv_sizeof_short=0
20130    fi
20131 fi
20132 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20133 fi
20134 rm -f conftest.val
20135 fi
20136 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
20137 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
20138
20139
20140
20141 cat >>confdefs.h <<_ACEOF
20142 #define SIZEOF_SHORT $ac_cv_sizeof_short
20143 _ACEOF
20144
20145
20146 { echo "$as_me:$LINENO: checking for void *" >&5
20147 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
20148 if test "${ac_cv_type_void_p+set}" = set; then
20149   echo $ECHO_N "(cached) $ECHO_C" >&6
20150 else
20151   cat >conftest.$ac_ext <<_ACEOF
20152 /* confdefs.h.  */
20153 _ACEOF
20154 cat confdefs.h >>conftest.$ac_ext
20155 cat >>conftest.$ac_ext <<_ACEOF
20156 /* end confdefs.h.  */
20157 $ac_includes_default
20158 typedef void * ac__type_new_;
20159 int
20160 main ()
20161 {
20162 if ((ac__type_new_ *) 0)
20163   return 0;
20164 if (sizeof (ac__type_new_))
20165   return 0;
20166   ;
20167   return 0;
20168 }
20169 _ACEOF
20170 rm -f conftest.$ac_objext
20171 if { (ac_try="$ac_compile"
20172 case "(($ac_try" in
20173   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20174   *) ac_try_echo=$ac_try;;
20175 esac
20176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20177   (eval "$ac_compile") 2>conftest.er1
20178   ac_status=$?
20179   grep -v '^ *+' conftest.er1 >conftest.err
20180   rm -f conftest.er1
20181   cat conftest.err >&5
20182   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20183   (exit $ac_status); } && {
20184          test -z "$ac_c_werror_flag" ||
20185          test ! -s conftest.err
20186        } && test -s conftest.$ac_objext; then
20187   ac_cv_type_void_p=yes
20188 else
20189   echo "$as_me: failed program was:" >&5
20190 sed 's/^/| /' conftest.$ac_ext >&5
20191
20192         ac_cv_type_void_p=no
20193 fi
20194
20195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20196 fi
20197 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
20198 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
20199
20200 # The cast to long int works around a bug in the HP C Compiler
20201 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20202 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20203 # This bug is HP SR number 8606223364.
20204 { echo "$as_me:$LINENO: checking size of void *" >&5
20205 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
20206 if test "${ac_cv_sizeof_void_p+set}" = set; then
20207   echo $ECHO_N "(cached) $ECHO_C" >&6
20208 else
20209   if test "$cross_compiling" = yes; then
20210   # Depending upon the size, compute the lo and hi bounds.
20211 cat >conftest.$ac_ext <<_ACEOF
20212 /* confdefs.h.  */
20213 _ACEOF
20214 cat confdefs.h >>conftest.$ac_ext
20215 cat >>conftest.$ac_ext <<_ACEOF
20216 /* end confdefs.h.  */
20217 $ac_includes_default
20218    typedef void * ac__type_sizeof_;
20219 int
20220 main ()
20221 {
20222 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20223 test_array [0] = 0
20224
20225   ;
20226   return 0;
20227 }
20228 _ACEOF
20229 rm -f conftest.$ac_objext
20230 if { (ac_try="$ac_compile"
20231 case "(($ac_try" in
20232   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20233   *) ac_try_echo=$ac_try;;
20234 esac
20235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20236   (eval "$ac_compile") 2>conftest.er1
20237   ac_status=$?
20238   grep -v '^ *+' conftest.er1 >conftest.err
20239   rm -f conftest.er1
20240   cat conftest.err >&5
20241   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20242   (exit $ac_status); } && {
20243          test -z "$ac_c_werror_flag" ||
20244          test ! -s conftest.err
20245        } && test -s conftest.$ac_objext; then
20246   ac_lo=0 ac_mid=0
20247   while :; do
20248     cat >conftest.$ac_ext <<_ACEOF
20249 /* confdefs.h.  */
20250 _ACEOF
20251 cat confdefs.h >>conftest.$ac_ext
20252 cat >>conftest.$ac_ext <<_ACEOF
20253 /* end confdefs.h.  */
20254 $ac_includes_default
20255    typedef void * ac__type_sizeof_;
20256 int
20257 main ()
20258 {
20259 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20260 test_array [0] = 0
20261
20262   ;
20263   return 0;
20264 }
20265 _ACEOF
20266 rm -f conftest.$ac_objext
20267 if { (ac_try="$ac_compile"
20268 case "(($ac_try" in
20269   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20270   *) ac_try_echo=$ac_try;;
20271 esac
20272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20273   (eval "$ac_compile") 2>conftest.er1
20274   ac_status=$?
20275   grep -v '^ *+' conftest.er1 >conftest.err
20276   rm -f conftest.er1
20277   cat conftest.err >&5
20278   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20279   (exit $ac_status); } && {
20280          test -z "$ac_c_werror_flag" ||
20281          test ! -s conftest.err
20282        } && test -s conftest.$ac_objext; then
20283   ac_hi=$ac_mid; break
20284 else
20285   echo "$as_me: failed program was:" >&5
20286 sed 's/^/| /' conftest.$ac_ext >&5
20287
20288         ac_lo=`expr $ac_mid + 1`
20289                         if test $ac_lo -le $ac_mid; then
20290                           ac_lo= ac_hi=
20291                           break
20292                         fi
20293                         ac_mid=`expr 2 '*' $ac_mid + 1`
20294 fi
20295
20296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20297   done
20298 else
20299   echo "$as_me: failed program was:" >&5
20300 sed 's/^/| /' conftest.$ac_ext >&5
20301
20302         cat >conftest.$ac_ext <<_ACEOF
20303 /* confdefs.h.  */
20304 _ACEOF
20305 cat confdefs.h >>conftest.$ac_ext
20306 cat >>conftest.$ac_ext <<_ACEOF
20307 /* end confdefs.h.  */
20308 $ac_includes_default
20309    typedef void * ac__type_sizeof_;
20310 int
20311 main ()
20312 {
20313 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20314 test_array [0] = 0
20315
20316   ;
20317   return 0;
20318 }
20319 _ACEOF
20320 rm -f conftest.$ac_objext
20321 if { (ac_try="$ac_compile"
20322 case "(($ac_try" in
20323   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20324   *) ac_try_echo=$ac_try;;
20325 esac
20326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20327   (eval "$ac_compile") 2>conftest.er1
20328   ac_status=$?
20329   grep -v '^ *+' conftest.er1 >conftest.err
20330   rm -f conftest.er1
20331   cat conftest.err >&5
20332   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20333   (exit $ac_status); } && {
20334          test -z "$ac_c_werror_flag" ||
20335          test ! -s conftest.err
20336        } && test -s conftest.$ac_objext; then
20337   ac_hi=-1 ac_mid=-1
20338   while :; do
20339     cat >conftest.$ac_ext <<_ACEOF
20340 /* confdefs.h.  */
20341 _ACEOF
20342 cat confdefs.h >>conftest.$ac_ext
20343 cat >>conftest.$ac_ext <<_ACEOF
20344 /* end confdefs.h.  */
20345 $ac_includes_default
20346    typedef void * ac__type_sizeof_;
20347 int
20348 main ()
20349 {
20350 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20351 test_array [0] = 0
20352
20353   ;
20354   return 0;
20355 }
20356 _ACEOF
20357 rm -f conftest.$ac_objext
20358 if { (ac_try="$ac_compile"
20359 case "(($ac_try" in
20360   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20361   *) ac_try_echo=$ac_try;;
20362 esac
20363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20364   (eval "$ac_compile") 2>conftest.er1
20365   ac_status=$?
20366   grep -v '^ *+' conftest.er1 >conftest.err
20367   rm -f conftest.er1
20368   cat conftest.err >&5
20369   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20370   (exit $ac_status); } && {
20371          test -z "$ac_c_werror_flag" ||
20372          test ! -s conftest.err
20373        } && test -s conftest.$ac_objext; then
20374   ac_lo=$ac_mid; break
20375 else
20376   echo "$as_me: failed program was:" >&5
20377 sed 's/^/| /' conftest.$ac_ext >&5
20378
20379         ac_hi=`expr '(' $ac_mid ')' - 1`
20380                         if test $ac_mid -le $ac_hi; then
20381                           ac_lo= ac_hi=
20382                           break
20383                         fi
20384                         ac_mid=`expr 2 '*' $ac_mid`
20385 fi
20386
20387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20388   done
20389 else
20390   echo "$as_me: failed program was:" >&5
20391 sed 's/^/| /' conftest.$ac_ext >&5
20392
20393         ac_lo= ac_hi=
20394 fi
20395
20396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20397 fi
20398
20399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20400 # Binary search between lo and hi bounds.
20401 while test "x$ac_lo" != "x$ac_hi"; do
20402   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20403   cat >conftest.$ac_ext <<_ACEOF
20404 /* confdefs.h.  */
20405 _ACEOF
20406 cat confdefs.h >>conftest.$ac_ext
20407 cat >>conftest.$ac_ext <<_ACEOF
20408 /* end confdefs.h.  */
20409 $ac_includes_default
20410    typedef void * ac__type_sizeof_;
20411 int
20412 main ()
20413 {
20414 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20415 test_array [0] = 0
20416
20417   ;
20418   return 0;
20419 }
20420 _ACEOF
20421 rm -f conftest.$ac_objext
20422 if { (ac_try="$ac_compile"
20423 case "(($ac_try" in
20424   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20425   *) ac_try_echo=$ac_try;;
20426 esac
20427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20428   (eval "$ac_compile") 2>conftest.er1
20429   ac_status=$?
20430   grep -v '^ *+' conftest.er1 >conftest.err
20431   rm -f conftest.er1
20432   cat conftest.err >&5
20433   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20434   (exit $ac_status); } && {
20435          test -z "$ac_c_werror_flag" ||
20436          test ! -s conftest.err
20437        } && test -s conftest.$ac_objext; then
20438   ac_hi=$ac_mid
20439 else
20440   echo "$as_me: failed program was:" >&5
20441 sed 's/^/| /' conftest.$ac_ext >&5
20442
20443         ac_lo=`expr '(' $ac_mid ')' + 1`
20444 fi
20445
20446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20447 done
20448 case $ac_lo in
20449 ?*) ac_cv_sizeof_void_p=$ac_lo;;
20450 '') if test "$ac_cv_type_void_p" = yes; then
20451      { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
20452 See \`config.log' for more details." >&5
20453 echo "$as_me: error: cannot compute sizeof (void *)
20454 See \`config.log' for more details." >&2;}
20455    { (exit 77); exit 77; }; }
20456    else
20457      ac_cv_sizeof_void_p=0
20458    fi ;;
20459 esac
20460 else
20461   cat >conftest.$ac_ext <<_ACEOF
20462 /* confdefs.h.  */
20463 _ACEOF
20464 cat confdefs.h >>conftest.$ac_ext
20465 cat >>conftest.$ac_ext <<_ACEOF
20466 /* end confdefs.h.  */
20467 $ac_includes_default
20468    typedef void * ac__type_sizeof_;
20469 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20470 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20471 #include <stdio.h>
20472 #include <stdlib.h>
20473 int
20474 main ()
20475 {
20476
20477   FILE *f = fopen ("conftest.val", "w");
20478   if (! f)
20479     return 1;
20480   if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20481     {
20482       long int i = longval ();
20483       if (i != ((long int) (sizeof (ac__type_sizeof_))))
20484         return 1;
20485       fprintf (f, "%ld\n", i);
20486     }
20487   else
20488     {
20489       unsigned long int i = ulongval ();
20490       if (i != ((long int) (sizeof (ac__type_sizeof_))))
20491         return 1;
20492       fprintf (f, "%lu\n", i);
20493     }
20494   return ferror (f) || fclose (f) != 0;
20495
20496   ;
20497   return 0;
20498 }
20499 _ACEOF
20500 rm -f conftest$ac_exeext
20501 if { (ac_try="$ac_link"
20502 case "(($ac_try" in
20503   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20504   *) ac_try_echo=$ac_try;;
20505 esac
20506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20507   (eval "$ac_link") 2>&5
20508   ac_status=$?
20509   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20510   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20511   { (case "(($ac_try" in
20512   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20513   *) ac_try_echo=$ac_try;;
20514 esac
20515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20516   (eval "$ac_try") 2>&5
20517   ac_status=$?
20518   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20519   (exit $ac_status); }; }; then
20520   ac_cv_sizeof_void_p=`cat conftest.val`
20521 else
20522   echo "$as_me: program exited with status $ac_status" >&5
20523 echo "$as_me: failed program was:" >&5
20524 sed 's/^/| /' conftest.$ac_ext >&5
20525
20526 ( exit $ac_status )
20527 if test "$ac_cv_type_void_p" = yes; then
20528      { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
20529 See \`config.log' for more details." >&5
20530 echo "$as_me: error: cannot compute sizeof (void *)
20531 See \`config.log' for more details." >&2;}
20532    { (exit 77); exit 77; }; }
20533    else
20534      ac_cv_sizeof_void_p=0
20535    fi
20536 fi
20537 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20538 fi
20539 rm -f conftest.val
20540 fi
20541 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
20542 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
20543
20544
20545
20546 cat >>confdefs.h <<_ACEOF
20547 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
20548 _ACEOF
20549
20550
20551 { echo "$as_me:$LINENO: checking for int" >&5
20552 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
20553 if test "${ac_cv_type_int+set}" = set; then
20554   echo $ECHO_N "(cached) $ECHO_C" >&6
20555 else
20556   cat >conftest.$ac_ext <<_ACEOF
20557 /* confdefs.h.  */
20558 _ACEOF
20559 cat confdefs.h >>conftest.$ac_ext
20560 cat >>conftest.$ac_ext <<_ACEOF
20561 /* end confdefs.h.  */
20562 $ac_includes_default
20563 typedef int ac__type_new_;
20564 int
20565 main ()
20566 {
20567 if ((ac__type_new_ *) 0)
20568   return 0;
20569 if (sizeof (ac__type_new_))
20570   return 0;
20571   ;
20572   return 0;
20573 }
20574 _ACEOF
20575 rm -f conftest.$ac_objext
20576 if { (ac_try="$ac_compile"
20577 case "(($ac_try" in
20578   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20579   *) ac_try_echo=$ac_try;;
20580 esac
20581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20582   (eval "$ac_compile") 2>conftest.er1
20583   ac_status=$?
20584   grep -v '^ *+' conftest.er1 >conftest.err
20585   rm -f conftest.er1
20586   cat conftest.err >&5
20587   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20588   (exit $ac_status); } && {
20589          test -z "$ac_c_werror_flag" ||
20590          test ! -s conftest.err
20591        } && test -s conftest.$ac_objext; then
20592   ac_cv_type_int=yes
20593 else
20594   echo "$as_me: failed program was:" >&5
20595 sed 's/^/| /' conftest.$ac_ext >&5
20596
20597         ac_cv_type_int=no
20598 fi
20599
20600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20601 fi
20602 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
20603 echo "${ECHO_T}$ac_cv_type_int" >&6; }
20604
20605 # The cast to long int works around a bug in the HP C Compiler
20606 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20607 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20608 # This bug is HP SR number 8606223364.
20609 { echo "$as_me:$LINENO: checking size of int" >&5
20610 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
20611 if test "${ac_cv_sizeof_int+set}" = set; then
20612   echo $ECHO_N "(cached) $ECHO_C" >&6
20613 else
20614   if test "$cross_compiling" = yes; then
20615   # Depending upon the size, compute the lo and hi bounds.
20616 cat >conftest.$ac_ext <<_ACEOF
20617 /* confdefs.h.  */
20618 _ACEOF
20619 cat confdefs.h >>conftest.$ac_ext
20620 cat >>conftest.$ac_ext <<_ACEOF
20621 /* end confdefs.h.  */
20622 $ac_includes_default
20623    typedef int ac__type_sizeof_;
20624 int
20625 main ()
20626 {
20627 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20628 test_array [0] = 0
20629
20630   ;
20631   return 0;
20632 }
20633 _ACEOF
20634 rm -f conftest.$ac_objext
20635 if { (ac_try="$ac_compile"
20636 case "(($ac_try" in
20637   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20638   *) ac_try_echo=$ac_try;;
20639 esac
20640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20641   (eval "$ac_compile") 2>conftest.er1
20642   ac_status=$?
20643   grep -v '^ *+' conftest.er1 >conftest.err
20644   rm -f conftest.er1
20645   cat conftest.err >&5
20646   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20647   (exit $ac_status); } && {
20648          test -z "$ac_c_werror_flag" ||
20649          test ! -s conftest.err
20650        } && test -s conftest.$ac_objext; then
20651   ac_lo=0 ac_mid=0
20652   while :; do
20653     cat >conftest.$ac_ext <<_ACEOF
20654 /* confdefs.h.  */
20655 _ACEOF
20656 cat confdefs.h >>conftest.$ac_ext
20657 cat >>conftest.$ac_ext <<_ACEOF
20658 /* end confdefs.h.  */
20659 $ac_includes_default
20660    typedef int ac__type_sizeof_;
20661 int
20662 main ()
20663 {
20664 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20665 test_array [0] = 0
20666
20667   ;
20668   return 0;
20669 }
20670 _ACEOF
20671 rm -f conftest.$ac_objext
20672 if { (ac_try="$ac_compile"
20673 case "(($ac_try" in
20674   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20675   *) ac_try_echo=$ac_try;;
20676 esac
20677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20678   (eval "$ac_compile") 2>conftest.er1
20679   ac_status=$?
20680   grep -v '^ *+' conftest.er1 >conftest.err
20681   rm -f conftest.er1
20682   cat conftest.err >&5
20683   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20684   (exit $ac_status); } && {
20685          test -z "$ac_c_werror_flag" ||
20686          test ! -s conftest.err
20687        } && test -s conftest.$ac_objext; then
20688   ac_hi=$ac_mid; break
20689 else
20690   echo "$as_me: failed program was:" >&5
20691 sed 's/^/| /' conftest.$ac_ext >&5
20692
20693         ac_lo=`expr $ac_mid + 1`
20694                         if test $ac_lo -le $ac_mid; then
20695                           ac_lo= ac_hi=
20696                           break
20697                         fi
20698                         ac_mid=`expr 2 '*' $ac_mid + 1`
20699 fi
20700
20701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20702   done
20703 else
20704   echo "$as_me: failed program was:" >&5
20705 sed 's/^/| /' conftest.$ac_ext >&5
20706
20707         cat >conftest.$ac_ext <<_ACEOF
20708 /* confdefs.h.  */
20709 _ACEOF
20710 cat confdefs.h >>conftest.$ac_ext
20711 cat >>conftest.$ac_ext <<_ACEOF
20712 /* end confdefs.h.  */
20713 $ac_includes_default
20714    typedef int ac__type_sizeof_;
20715 int
20716 main ()
20717 {
20718 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20719 test_array [0] = 0
20720
20721   ;
20722   return 0;
20723 }
20724 _ACEOF
20725 rm -f conftest.$ac_objext
20726 if { (ac_try="$ac_compile"
20727 case "(($ac_try" in
20728   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20729   *) ac_try_echo=$ac_try;;
20730 esac
20731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20732   (eval "$ac_compile") 2>conftest.er1
20733   ac_status=$?
20734   grep -v '^ *+' conftest.er1 >conftest.err
20735   rm -f conftest.er1
20736   cat conftest.err >&5
20737   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20738   (exit $ac_status); } && {
20739          test -z "$ac_c_werror_flag" ||
20740          test ! -s conftest.err
20741        } && test -s conftest.$ac_objext; then
20742   ac_hi=-1 ac_mid=-1
20743   while :; do
20744     cat >conftest.$ac_ext <<_ACEOF
20745 /* confdefs.h.  */
20746 _ACEOF
20747 cat confdefs.h >>conftest.$ac_ext
20748 cat >>conftest.$ac_ext <<_ACEOF
20749 /* end confdefs.h.  */
20750 $ac_includes_default
20751    typedef int ac__type_sizeof_;
20752 int
20753 main ()
20754 {
20755 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20756 test_array [0] = 0
20757
20758   ;
20759   return 0;
20760 }
20761 _ACEOF
20762 rm -f conftest.$ac_objext
20763 if { (ac_try="$ac_compile"
20764 case "(($ac_try" in
20765   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20766   *) ac_try_echo=$ac_try;;
20767 esac
20768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20769   (eval "$ac_compile") 2>conftest.er1
20770   ac_status=$?
20771   grep -v '^ *+' conftest.er1 >conftest.err
20772   rm -f conftest.er1
20773   cat conftest.err >&5
20774   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20775   (exit $ac_status); } && {
20776          test -z "$ac_c_werror_flag" ||
20777          test ! -s conftest.err
20778        } && test -s conftest.$ac_objext; then
20779   ac_lo=$ac_mid; break
20780 else
20781   echo "$as_me: failed program was:" >&5
20782 sed 's/^/| /' conftest.$ac_ext >&5
20783
20784         ac_hi=`expr '(' $ac_mid ')' - 1`
20785                         if test $ac_mid -le $ac_hi; then
20786                           ac_lo= ac_hi=
20787                           break
20788                         fi
20789                         ac_mid=`expr 2 '*' $ac_mid`
20790 fi
20791
20792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20793   done
20794 else
20795   echo "$as_me: failed program was:" >&5
20796 sed 's/^/| /' conftest.$ac_ext >&5
20797
20798         ac_lo= ac_hi=
20799 fi
20800
20801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20802 fi
20803
20804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20805 # Binary search between lo and hi bounds.
20806 while test "x$ac_lo" != "x$ac_hi"; do
20807   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20808   cat >conftest.$ac_ext <<_ACEOF
20809 /* confdefs.h.  */
20810 _ACEOF
20811 cat confdefs.h >>conftest.$ac_ext
20812 cat >>conftest.$ac_ext <<_ACEOF
20813 /* end confdefs.h.  */
20814 $ac_includes_default
20815    typedef int ac__type_sizeof_;
20816 int
20817 main ()
20818 {
20819 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20820 test_array [0] = 0
20821
20822   ;
20823   return 0;
20824 }
20825 _ACEOF
20826 rm -f conftest.$ac_objext
20827 if { (ac_try="$ac_compile"
20828 case "(($ac_try" in
20829   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20830   *) ac_try_echo=$ac_try;;
20831 esac
20832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20833   (eval "$ac_compile") 2>conftest.er1
20834   ac_status=$?
20835   grep -v '^ *+' conftest.er1 >conftest.err
20836   rm -f conftest.er1
20837   cat conftest.err >&5
20838   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20839   (exit $ac_status); } && {
20840          test -z "$ac_c_werror_flag" ||
20841          test ! -s conftest.err
20842        } && test -s conftest.$ac_objext; then
20843   ac_hi=$ac_mid
20844 else
20845   echo "$as_me: failed program was:" >&5
20846 sed 's/^/| /' conftest.$ac_ext >&5
20847
20848         ac_lo=`expr '(' $ac_mid ')' + 1`
20849 fi
20850
20851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20852 done
20853 case $ac_lo in
20854 ?*) ac_cv_sizeof_int=$ac_lo;;
20855 '') if test "$ac_cv_type_int" = yes; then
20856      { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20857 See \`config.log' for more details." >&5
20858 echo "$as_me: error: cannot compute sizeof (int)
20859 See \`config.log' for more details." >&2;}
20860    { (exit 77); exit 77; }; }
20861    else
20862      ac_cv_sizeof_int=0
20863    fi ;;
20864 esac
20865 else
20866   cat >conftest.$ac_ext <<_ACEOF
20867 /* confdefs.h.  */
20868 _ACEOF
20869 cat confdefs.h >>conftest.$ac_ext
20870 cat >>conftest.$ac_ext <<_ACEOF
20871 /* end confdefs.h.  */
20872 $ac_includes_default
20873    typedef int ac__type_sizeof_;
20874 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20875 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20876 #include <stdio.h>
20877 #include <stdlib.h>
20878 int
20879 main ()
20880 {
20881
20882   FILE *f = fopen ("conftest.val", "w");
20883   if (! f)
20884     return 1;
20885   if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20886     {
20887       long int i = longval ();
20888       if (i != ((long int) (sizeof (ac__type_sizeof_))))
20889         return 1;
20890       fprintf (f, "%ld\n", i);
20891     }
20892   else
20893     {
20894       unsigned long int i = ulongval ();
20895       if (i != ((long int) (sizeof (ac__type_sizeof_))))
20896         return 1;
20897       fprintf (f, "%lu\n", i);
20898     }
20899   return ferror (f) || fclose (f) != 0;
20900
20901   ;
20902   return 0;
20903 }
20904 _ACEOF
20905 rm -f conftest$ac_exeext
20906 if { (ac_try="$ac_link"
20907 case "(($ac_try" in
20908   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20909   *) ac_try_echo=$ac_try;;
20910 esac
20911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20912   (eval "$ac_link") 2>&5
20913   ac_status=$?
20914   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20915   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20916   { (case "(($ac_try" in
20917   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20918   *) ac_try_echo=$ac_try;;
20919 esac
20920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20921   (eval "$ac_try") 2>&5
20922   ac_status=$?
20923   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20924   (exit $ac_status); }; }; then
20925   ac_cv_sizeof_int=`cat conftest.val`
20926 else
20927   echo "$as_me: program exited with status $ac_status" >&5
20928 echo "$as_me: failed program was:" >&5
20929 sed 's/^/| /' conftest.$ac_ext >&5
20930
20931 ( exit $ac_status )
20932 if test "$ac_cv_type_int" = yes; then
20933      { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20934 See \`config.log' for more details." >&5
20935 echo "$as_me: error: cannot compute sizeof (int)
20936 See \`config.log' for more details." >&2;}
20937    { (exit 77); exit 77; }; }
20938    else
20939      ac_cv_sizeof_int=0
20940    fi
20941 fi
20942 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20943 fi
20944 rm -f conftest.val
20945 fi
20946 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
20947 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
20948
20949
20950
20951 cat >>confdefs.h <<_ACEOF
20952 #define SIZEOF_INT $ac_cv_sizeof_int
20953 _ACEOF
20954
20955
20956 { echo "$as_me:$LINENO: checking for long" >&5
20957 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
20958 if test "${ac_cv_type_long+set}" = set; then
20959   echo $ECHO_N "(cached) $ECHO_C" >&6
20960 else
20961   cat >conftest.$ac_ext <<_ACEOF
20962 /* confdefs.h.  */
20963 _ACEOF
20964 cat confdefs.h >>conftest.$ac_ext
20965 cat >>conftest.$ac_ext <<_ACEOF
20966 /* end confdefs.h.  */
20967 $ac_includes_default
20968 typedef long ac__type_new_;
20969 int
20970 main ()
20971 {
20972 if ((ac__type_new_ *) 0)
20973   return 0;
20974 if (sizeof (ac__type_new_))
20975   return 0;
20976   ;
20977   return 0;
20978 }
20979 _ACEOF
20980 rm -f conftest.$ac_objext
20981 if { (ac_try="$ac_compile"
20982 case "(($ac_try" in
20983   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20984   *) ac_try_echo=$ac_try;;
20985 esac
20986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20987   (eval "$ac_compile") 2>conftest.er1
20988   ac_status=$?
20989   grep -v '^ *+' conftest.er1 >conftest.err
20990   rm -f conftest.er1
20991   cat conftest.err >&5
20992   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20993   (exit $ac_status); } && {
20994          test -z "$ac_c_werror_flag" ||
20995          test ! -s conftest.err
20996        } && test -s conftest.$ac_objext; then
20997   ac_cv_type_long=yes
20998 else
20999   echo "$as_me: failed program was:" >&5
21000 sed 's/^/| /' conftest.$ac_ext >&5
21001
21002         ac_cv_type_long=no
21003 fi
21004
21005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21006 fi
21007 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
21008 echo "${ECHO_T}$ac_cv_type_long" >&6; }
21009
21010 # The cast to long int works around a bug in the HP C Compiler
21011 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21012 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21013 # This bug is HP SR number 8606223364.
21014 { echo "$as_me:$LINENO: checking size of long" >&5
21015 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
21016 if test "${ac_cv_sizeof_long+set}" = set; then
21017   echo $ECHO_N "(cached) $ECHO_C" >&6
21018 else
21019   if test "$cross_compiling" = yes; then
21020   # Depending upon the size, compute the lo and hi bounds.
21021 cat >conftest.$ac_ext <<_ACEOF
21022 /* confdefs.h.  */
21023 _ACEOF
21024 cat confdefs.h >>conftest.$ac_ext
21025 cat >>conftest.$ac_ext <<_ACEOF
21026 /* end confdefs.h.  */
21027 $ac_includes_default
21028    typedef long ac__type_sizeof_;
21029 int
21030 main ()
21031 {
21032 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21033 test_array [0] = 0
21034
21035   ;
21036   return 0;
21037 }
21038 _ACEOF
21039 rm -f conftest.$ac_objext
21040 if { (ac_try="$ac_compile"
21041 case "(($ac_try" in
21042   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21043   *) ac_try_echo=$ac_try;;
21044 esac
21045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21046   (eval "$ac_compile") 2>conftest.er1
21047   ac_status=$?
21048   grep -v '^ *+' conftest.er1 >conftest.err
21049   rm -f conftest.er1
21050   cat conftest.err >&5
21051   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21052   (exit $ac_status); } && {
21053          test -z "$ac_c_werror_flag" ||
21054          test ! -s conftest.err
21055        } && test -s conftest.$ac_objext; then
21056   ac_lo=0 ac_mid=0
21057   while :; do
21058     cat >conftest.$ac_ext <<_ACEOF
21059 /* confdefs.h.  */
21060 _ACEOF
21061 cat confdefs.h >>conftest.$ac_ext
21062 cat >>conftest.$ac_ext <<_ACEOF
21063 /* end confdefs.h.  */
21064 $ac_includes_default
21065    typedef long ac__type_sizeof_;
21066 int
21067 main ()
21068 {
21069 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21070 test_array [0] = 0
21071
21072   ;
21073   return 0;
21074 }
21075 _ACEOF
21076 rm -f conftest.$ac_objext
21077 if { (ac_try="$ac_compile"
21078 case "(($ac_try" in
21079   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21080   *) ac_try_echo=$ac_try;;
21081 esac
21082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21083   (eval "$ac_compile") 2>conftest.er1
21084   ac_status=$?
21085   grep -v '^ *+' conftest.er1 >conftest.err
21086   rm -f conftest.er1
21087   cat conftest.err >&5
21088   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21089   (exit $ac_status); } && {
21090          test -z "$ac_c_werror_flag" ||
21091          test ! -s conftest.err
21092        } && test -s conftest.$ac_objext; then
21093   ac_hi=$ac_mid; break
21094 else
21095   echo "$as_me: failed program was:" >&5
21096 sed 's/^/| /' conftest.$ac_ext >&5
21097
21098         ac_lo=`expr $ac_mid + 1`
21099                         if test $ac_lo -le $ac_mid; then
21100                           ac_lo= ac_hi=
21101                           break
21102                         fi
21103                         ac_mid=`expr 2 '*' $ac_mid + 1`
21104 fi
21105
21106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21107   done
21108 else
21109   echo "$as_me: failed program was:" >&5
21110 sed 's/^/| /' conftest.$ac_ext >&5
21111
21112         cat >conftest.$ac_ext <<_ACEOF
21113 /* confdefs.h.  */
21114 _ACEOF
21115 cat confdefs.h >>conftest.$ac_ext
21116 cat >>conftest.$ac_ext <<_ACEOF
21117 /* end confdefs.h.  */
21118 $ac_includes_default
21119    typedef long ac__type_sizeof_;
21120 int
21121 main ()
21122 {
21123 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21124 test_array [0] = 0
21125
21126   ;
21127   return 0;
21128 }
21129 _ACEOF
21130 rm -f conftest.$ac_objext
21131 if { (ac_try="$ac_compile"
21132 case "(($ac_try" in
21133   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21134   *) ac_try_echo=$ac_try;;
21135 esac
21136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21137   (eval "$ac_compile") 2>conftest.er1
21138   ac_status=$?
21139   grep -v '^ *+' conftest.er1 >conftest.err
21140   rm -f conftest.er1
21141   cat conftest.err >&5
21142   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21143   (exit $ac_status); } && {
21144          test -z "$ac_c_werror_flag" ||
21145          test ! -s conftest.err
21146        } && test -s conftest.$ac_objext; then
21147   ac_hi=-1 ac_mid=-1
21148   while :; do
21149     cat >conftest.$ac_ext <<_ACEOF
21150 /* confdefs.h.  */
21151 _ACEOF
21152 cat confdefs.h >>conftest.$ac_ext
21153 cat >>conftest.$ac_ext <<_ACEOF
21154 /* end confdefs.h.  */
21155 $ac_includes_default
21156    typedef long ac__type_sizeof_;
21157 int
21158 main ()
21159 {
21160 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21161 test_array [0] = 0
21162
21163   ;
21164   return 0;
21165 }
21166 _ACEOF
21167 rm -f conftest.$ac_objext
21168 if { (ac_try="$ac_compile"
21169 case "(($ac_try" in
21170   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21171   *) ac_try_echo=$ac_try;;
21172 esac
21173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21174   (eval "$ac_compile") 2>conftest.er1
21175   ac_status=$?
21176   grep -v '^ *+' conftest.er1 >conftest.err
21177   rm -f conftest.er1
21178   cat conftest.err >&5
21179   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21180   (exit $ac_status); } && {
21181          test -z "$ac_c_werror_flag" ||
21182          test ! -s conftest.err
21183        } && test -s conftest.$ac_objext; then
21184   ac_lo=$ac_mid; break
21185 else
21186   echo "$as_me: failed program was:" >&5
21187 sed 's/^/| /' conftest.$ac_ext >&5
21188
21189         ac_hi=`expr '(' $ac_mid ')' - 1`
21190                         if test $ac_mid -le $ac_hi; then
21191                           ac_lo= ac_hi=
21192                           break
21193                         fi
21194                         ac_mid=`expr 2 '*' $ac_mid`
21195 fi
21196
21197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21198   done
21199 else
21200   echo "$as_me: failed program was:" >&5
21201 sed 's/^/| /' conftest.$ac_ext >&5
21202
21203         ac_lo= ac_hi=
21204 fi
21205
21206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21207 fi
21208
21209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21210 # Binary search between lo and hi bounds.
21211 while test "x$ac_lo" != "x$ac_hi"; do
21212   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21213   cat >conftest.$ac_ext <<_ACEOF
21214 /* confdefs.h.  */
21215 _ACEOF
21216 cat confdefs.h >>conftest.$ac_ext
21217 cat >>conftest.$ac_ext <<_ACEOF
21218 /* end confdefs.h.  */
21219 $ac_includes_default
21220    typedef long ac__type_sizeof_;
21221 int
21222 main ()
21223 {
21224 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21225 test_array [0] = 0
21226
21227   ;
21228   return 0;
21229 }
21230 _ACEOF
21231 rm -f conftest.$ac_objext
21232 if { (ac_try="$ac_compile"
21233 case "(($ac_try" in
21234   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21235   *) ac_try_echo=$ac_try;;
21236 esac
21237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21238   (eval "$ac_compile") 2>conftest.er1
21239   ac_status=$?
21240   grep -v '^ *+' conftest.er1 >conftest.err
21241   rm -f conftest.er1
21242   cat conftest.err >&5
21243   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21244   (exit $ac_status); } && {
21245          test -z "$ac_c_werror_flag" ||
21246          test ! -s conftest.err
21247        } && test -s conftest.$ac_objext; then
21248   ac_hi=$ac_mid
21249 else
21250   echo "$as_me: failed program was:" >&5
21251 sed 's/^/| /' conftest.$ac_ext >&5
21252
21253         ac_lo=`expr '(' $ac_mid ')' + 1`
21254 fi
21255
21256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21257 done
21258 case $ac_lo in
21259 ?*) ac_cv_sizeof_long=$ac_lo;;
21260 '') if test "$ac_cv_type_long" = yes; then
21261      { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
21262 See \`config.log' for more details." >&5
21263 echo "$as_me: error: cannot compute sizeof (long)
21264 See \`config.log' for more details." >&2;}
21265    { (exit 77); exit 77; }; }
21266    else
21267      ac_cv_sizeof_long=0
21268    fi ;;
21269 esac
21270 else
21271   cat >conftest.$ac_ext <<_ACEOF
21272 /* confdefs.h.  */
21273 _ACEOF
21274 cat confdefs.h >>conftest.$ac_ext
21275 cat >>conftest.$ac_ext <<_ACEOF
21276 /* end confdefs.h.  */
21277 $ac_includes_default
21278    typedef long ac__type_sizeof_;
21279 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21280 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21281 #include <stdio.h>
21282 #include <stdlib.h>
21283 int
21284 main ()
21285 {
21286
21287   FILE *f = fopen ("conftest.val", "w");
21288   if (! f)
21289     return 1;
21290   if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21291     {
21292       long int i = longval ();
21293       if (i != ((long int) (sizeof (ac__type_sizeof_))))
21294         return 1;
21295       fprintf (f, "%ld\n", i);
21296     }
21297   else
21298     {
21299       unsigned long int i = ulongval ();
21300       if (i != ((long int) (sizeof (ac__type_sizeof_))))
21301         return 1;
21302       fprintf (f, "%lu\n", i);
21303     }
21304   return ferror (f) || fclose (f) != 0;
21305
21306   ;
21307   return 0;
21308 }
21309 _ACEOF
21310 rm -f conftest$ac_exeext
21311 if { (ac_try="$ac_link"
21312 case "(($ac_try" in
21313   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21314   *) ac_try_echo=$ac_try;;
21315 esac
21316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21317   (eval "$ac_link") 2>&5
21318   ac_status=$?
21319   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21320   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21321   { (case "(($ac_try" in
21322   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21323   *) ac_try_echo=$ac_try;;
21324 esac
21325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21326   (eval "$ac_try") 2>&5
21327   ac_status=$?
21328   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21329   (exit $ac_status); }; }; then
21330   ac_cv_sizeof_long=`cat conftest.val`
21331 else
21332   echo "$as_me: program exited with status $ac_status" >&5
21333 echo "$as_me: failed program was:" >&5
21334 sed 's/^/| /' conftest.$ac_ext >&5
21335
21336 ( exit $ac_status )
21337 if test "$ac_cv_type_long" = yes; then
21338      { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
21339 See \`config.log' for more details." >&5
21340 echo "$as_me: error: cannot compute sizeof (long)
21341 See \`config.log' for more details." >&2;}
21342    { (exit 77); exit 77; }; }
21343    else
21344      ac_cv_sizeof_long=0
21345    fi
21346 fi
21347 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21348 fi
21349 rm -f conftest.val
21350 fi
21351 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
21352 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
21353
21354
21355
21356 cat >>confdefs.h <<_ACEOF
21357 #define SIZEOF_LONG $ac_cv_sizeof_long
21358 _ACEOF
21359
21360
21361 { echo "$as_me:$LINENO: checking for size_t" >&5
21362 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
21363 if test "${ac_cv_type_size_t+set}" = set; then
21364   echo $ECHO_N "(cached) $ECHO_C" >&6
21365 else
21366   cat >conftest.$ac_ext <<_ACEOF
21367 /* confdefs.h.  */
21368 _ACEOF
21369 cat confdefs.h >>conftest.$ac_ext
21370 cat >>conftest.$ac_ext <<_ACEOF
21371 /* end confdefs.h.  */
21372 $ac_includes_default
21373 typedef size_t ac__type_new_;
21374 int
21375 main ()
21376 {
21377 if ((ac__type_new_ *) 0)
21378   return 0;
21379 if (sizeof (ac__type_new_))
21380   return 0;
21381   ;
21382   return 0;
21383 }
21384 _ACEOF
21385 rm -f conftest.$ac_objext
21386 if { (ac_try="$ac_compile"
21387 case "(($ac_try" in
21388   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21389   *) ac_try_echo=$ac_try;;
21390 esac
21391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21392   (eval "$ac_compile") 2>conftest.er1
21393   ac_status=$?
21394   grep -v '^ *+' conftest.er1 >conftest.err
21395   rm -f conftest.er1
21396   cat conftest.err >&5
21397   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21398   (exit $ac_status); } && {
21399          test -z "$ac_c_werror_flag" ||
21400          test ! -s conftest.err
21401        } && test -s conftest.$ac_objext; then
21402   ac_cv_type_size_t=yes
21403 else
21404   echo "$as_me: failed program was:" >&5
21405 sed 's/^/| /' conftest.$ac_ext >&5
21406
21407         ac_cv_type_size_t=no
21408 fi
21409
21410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21411 fi
21412 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
21413 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
21414
21415 # The cast to long int works around a bug in the HP C Compiler
21416 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21417 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21418 # This bug is HP SR number 8606223364.
21419 { echo "$as_me:$LINENO: checking size of size_t" >&5
21420 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
21421 if test "${ac_cv_sizeof_size_t+set}" = set; then
21422   echo $ECHO_N "(cached) $ECHO_C" >&6
21423 else
21424   if test "$cross_compiling" = yes; then
21425   # Depending upon the size, compute the lo and hi bounds.
21426 cat >conftest.$ac_ext <<_ACEOF
21427 /* confdefs.h.  */
21428 _ACEOF
21429 cat confdefs.h >>conftest.$ac_ext
21430 cat >>conftest.$ac_ext <<_ACEOF
21431 /* end confdefs.h.  */
21432 $ac_includes_default
21433    typedef size_t ac__type_sizeof_;
21434 int
21435 main ()
21436 {
21437 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21438 test_array [0] = 0
21439
21440   ;
21441   return 0;
21442 }
21443 _ACEOF
21444 rm -f conftest.$ac_objext
21445 if { (ac_try="$ac_compile"
21446 case "(($ac_try" in
21447   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21448   *) ac_try_echo=$ac_try;;
21449 esac
21450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21451   (eval "$ac_compile") 2>conftest.er1
21452   ac_status=$?
21453   grep -v '^ *+' conftest.er1 >conftest.err
21454   rm -f conftest.er1
21455   cat conftest.err >&5
21456   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21457   (exit $ac_status); } && {
21458          test -z "$ac_c_werror_flag" ||
21459          test ! -s conftest.err
21460        } && test -s conftest.$ac_objext; then
21461   ac_lo=0 ac_mid=0
21462   while :; do
21463     cat >conftest.$ac_ext <<_ACEOF
21464 /* confdefs.h.  */
21465 _ACEOF
21466 cat confdefs.h >>conftest.$ac_ext
21467 cat >>conftest.$ac_ext <<_ACEOF
21468 /* end confdefs.h.  */
21469 $ac_includes_default
21470    typedef size_t ac__type_sizeof_;
21471 int
21472 main ()
21473 {
21474 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21475 test_array [0] = 0
21476
21477   ;
21478   return 0;
21479 }
21480 _ACEOF
21481 rm -f conftest.$ac_objext
21482 if { (ac_try="$ac_compile"
21483 case "(($ac_try" in
21484   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21485   *) ac_try_echo=$ac_try;;
21486 esac
21487 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21488   (eval "$ac_compile") 2>conftest.er1
21489   ac_status=$?
21490   grep -v '^ *+' conftest.er1 >conftest.err
21491   rm -f conftest.er1
21492   cat conftest.err >&5
21493   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21494   (exit $ac_status); } && {
21495          test -z "$ac_c_werror_flag" ||
21496          test ! -s conftest.err
21497        } && test -s conftest.$ac_objext; then
21498   ac_hi=$ac_mid; break
21499 else
21500   echo "$as_me: failed program was:" >&5
21501 sed 's/^/| /' conftest.$ac_ext >&5
21502
21503         ac_lo=`expr $ac_mid + 1`
21504                         if test $ac_lo -le $ac_mid; then
21505                           ac_lo= ac_hi=
21506                           break
21507                         fi
21508                         ac_mid=`expr 2 '*' $ac_mid + 1`
21509 fi
21510
21511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21512   done
21513 else
21514   echo "$as_me: failed program was:" >&5
21515 sed 's/^/| /' conftest.$ac_ext >&5
21516
21517         cat >conftest.$ac_ext <<_ACEOF
21518 /* confdefs.h.  */
21519 _ACEOF
21520 cat confdefs.h >>conftest.$ac_ext
21521 cat >>conftest.$ac_ext <<_ACEOF
21522 /* end confdefs.h.  */
21523 $ac_includes_default
21524    typedef size_t ac__type_sizeof_;
21525 int
21526 main ()
21527 {
21528 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21529 test_array [0] = 0
21530
21531   ;
21532   return 0;
21533 }
21534 _ACEOF
21535 rm -f conftest.$ac_objext
21536 if { (ac_try="$ac_compile"
21537 case "(($ac_try" in
21538   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21539   *) ac_try_echo=$ac_try;;
21540 esac
21541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21542   (eval "$ac_compile") 2>conftest.er1
21543   ac_status=$?
21544   grep -v '^ *+' conftest.er1 >conftest.err
21545   rm -f conftest.er1
21546   cat conftest.err >&5
21547   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21548   (exit $ac_status); } && {
21549          test -z "$ac_c_werror_flag" ||
21550          test ! -s conftest.err
21551        } && test -s conftest.$ac_objext; then
21552   ac_hi=-1 ac_mid=-1
21553   while :; do
21554     cat >conftest.$ac_ext <<_ACEOF
21555 /* confdefs.h.  */
21556 _ACEOF
21557 cat confdefs.h >>conftest.$ac_ext
21558 cat >>conftest.$ac_ext <<_ACEOF
21559 /* end confdefs.h.  */
21560 $ac_includes_default
21561    typedef size_t ac__type_sizeof_;
21562 int
21563 main ()
21564 {
21565 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21566 test_array [0] = 0
21567
21568   ;
21569   return 0;
21570 }
21571 _ACEOF
21572 rm -f conftest.$ac_objext
21573 if { (ac_try="$ac_compile"
21574 case "(($ac_try" in
21575   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21576   *) ac_try_echo=$ac_try;;
21577 esac
21578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21579   (eval "$ac_compile") 2>conftest.er1
21580   ac_status=$?
21581   grep -v '^ *+' conftest.er1 >conftest.err
21582   rm -f conftest.er1
21583   cat conftest.err >&5
21584   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21585   (exit $ac_status); } && {
21586          test -z "$ac_c_werror_flag" ||
21587          test ! -s conftest.err
21588        } && test -s conftest.$ac_objext; then
21589   ac_lo=$ac_mid; break
21590 else
21591   echo "$as_me: failed program was:" >&5
21592 sed 's/^/| /' conftest.$ac_ext >&5
21593
21594         ac_hi=`expr '(' $ac_mid ')' - 1`
21595                         if test $ac_mid -le $ac_hi; then
21596                           ac_lo= ac_hi=
21597                           break
21598                         fi
21599                         ac_mid=`expr 2 '*' $ac_mid`
21600 fi
21601
21602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21603   done
21604 else
21605   echo "$as_me: failed program was:" >&5
21606 sed 's/^/| /' conftest.$ac_ext >&5
21607
21608         ac_lo= ac_hi=
21609 fi
21610
21611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21612 fi
21613
21614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21615 # Binary search between lo and hi bounds.
21616 while test "x$ac_lo" != "x$ac_hi"; do
21617   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21618   cat >conftest.$ac_ext <<_ACEOF
21619 /* confdefs.h.  */
21620 _ACEOF
21621 cat confdefs.h >>conftest.$ac_ext
21622 cat >>conftest.$ac_ext <<_ACEOF
21623 /* end confdefs.h.  */
21624 $ac_includes_default
21625    typedef size_t ac__type_sizeof_;
21626 int
21627 main ()
21628 {
21629 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21630 test_array [0] = 0
21631
21632   ;
21633   return 0;
21634 }
21635 _ACEOF
21636 rm -f conftest.$ac_objext
21637 if { (ac_try="$ac_compile"
21638 case "(($ac_try" in
21639   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21640   *) ac_try_echo=$ac_try;;
21641 esac
21642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21643   (eval "$ac_compile") 2>conftest.er1
21644   ac_status=$?
21645   grep -v '^ *+' conftest.er1 >conftest.err
21646   rm -f conftest.er1
21647   cat conftest.err >&5
21648   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21649   (exit $ac_status); } && {
21650          test -z "$ac_c_werror_flag" ||
21651          test ! -s conftest.err
21652        } && test -s conftest.$ac_objext; then
21653   ac_hi=$ac_mid
21654 else
21655   echo "$as_me: failed program was:" >&5
21656 sed 's/^/| /' conftest.$ac_ext >&5
21657
21658         ac_lo=`expr '(' $ac_mid ')' + 1`
21659 fi
21660
21661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21662 done
21663 case $ac_lo in
21664 ?*) ac_cv_sizeof_size_t=$ac_lo;;
21665 '') if test "$ac_cv_type_size_t" = yes; then
21666      { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
21667 See \`config.log' for more details." >&5
21668 echo "$as_me: error: cannot compute sizeof (size_t)
21669 See \`config.log' for more details." >&2;}
21670    { (exit 77); exit 77; }; }
21671    else
21672      ac_cv_sizeof_size_t=0
21673    fi ;;
21674 esac
21675 else
21676   cat >conftest.$ac_ext <<_ACEOF
21677 /* confdefs.h.  */
21678 _ACEOF
21679 cat confdefs.h >>conftest.$ac_ext
21680 cat >>conftest.$ac_ext <<_ACEOF
21681 /* end confdefs.h.  */
21682 $ac_includes_default
21683    typedef size_t ac__type_sizeof_;
21684 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21685 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21686 #include <stdio.h>
21687 #include <stdlib.h>
21688 int
21689 main ()
21690 {
21691
21692   FILE *f = fopen ("conftest.val", "w");
21693   if (! f)
21694     return 1;
21695   if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21696     {
21697       long int i = longval ();
21698       if (i != ((long int) (sizeof (ac__type_sizeof_))))
21699         return 1;
21700       fprintf (f, "%ld\n", i);
21701     }
21702   else
21703     {
21704       unsigned long int i = ulongval ();
21705       if (i != ((long int) (sizeof (ac__type_sizeof_))))
21706         return 1;
21707       fprintf (f, "%lu\n", i);
21708     }
21709   return ferror (f) || fclose (f) != 0;
21710
21711   ;
21712   return 0;
21713 }
21714 _ACEOF
21715 rm -f conftest$ac_exeext
21716 if { (ac_try="$ac_link"
21717 case "(($ac_try" in
21718   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21719   *) ac_try_echo=$ac_try;;
21720 esac
21721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21722   (eval "$ac_link") 2>&5
21723   ac_status=$?
21724   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21725   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21726   { (case "(($ac_try" in
21727   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21728   *) ac_try_echo=$ac_try;;
21729 esac
21730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21731   (eval "$ac_try") 2>&5
21732   ac_status=$?
21733   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21734   (exit $ac_status); }; }; then
21735   ac_cv_sizeof_size_t=`cat conftest.val`
21736 else
21737   echo "$as_me: program exited with status $ac_status" >&5
21738 echo "$as_me: failed program was:" >&5
21739 sed 's/^/| /' conftest.$ac_ext >&5
21740
21741 ( exit $ac_status )
21742 if test "$ac_cv_type_size_t" = yes; then
21743      { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
21744 See \`config.log' for more details." >&5
21745 echo "$as_me: error: cannot compute sizeof (size_t)
21746 See \`config.log' for more details." >&2;}
21747    { (exit 77); exit 77; }; }
21748    else
21749      ac_cv_sizeof_size_t=0
21750    fi
21751 fi
21752 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21753 fi
21754 rm -f conftest.val
21755 fi
21756 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
21757 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
21758
21759
21760
21761 cat >>confdefs.h <<_ACEOF
21762 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
21763 _ACEOF
21764
21765
21766
21767 case "${host}" in
21768     arm-*-linux* )
21769         { echo "$as_me:$LINENO: checking for long long" >&5
21770 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21771 if test "${ac_cv_type_long_long+set}" = set; then
21772   echo $ECHO_N "(cached) $ECHO_C" >&6
21773 else
21774   cat >conftest.$ac_ext <<_ACEOF
21775 /* confdefs.h.  */
21776 _ACEOF
21777 cat confdefs.h >>conftest.$ac_ext
21778 cat >>conftest.$ac_ext <<_ACEOF
21779 /* end confdefs.h.  */
21780 $ac_includes_default
21781 typedef long long ac__type_new_;
21782 int
21783 main ()
21784 {
21785 if ((ac__type_new_ *) 0)
21786   return 0;
21787 if (sizeof (ac__type_new_))
21788   return 0;
21789   ;
21790   return 0;
21791 }
21792 _ACEOF
21793 rm -f conftest.$ac_objext
21794 if { (ac_try="$ac_compile"
21795 case "(($ac_try" in
21796   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21797   *) ac_try_echo=$ac_try;;
21798 esac
21799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21800   (eval "$ac_compile") 2>conftest.er1
21801   ac_status=$?
21802   grep -v '^ *+' conftest.er1 >conftest.err
21803   rm -f conftest.er1
21804   cat conftest.err >&5
21805   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21806   (exit $ac_status); } && {
21807          test -z "$ac_c_werror_flag" ||
21808          test ! -s conftest.err
21809        } && test -s conftest.$ac_objext; then
21810   ac_cv_type_long_long=yes
21811 else
21812   echo "$as_me: failed program was:" >&5
21813 sed 's/^/| /' conftest.$ac_ext >&5
21814
21815         ac_cv_type_long_long=no
21816 fi
21817
21818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21819 fi
21820 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21821 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21822
21823 # The cast to long int works around a bug in the HP C Compiler
21824 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21825 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21826 # This bug is HP SR number 8606223364.
21827 { echo "$as_me:$LINENO: checking size of long long" >&5
21828 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21829 if test "${ac_cv_sizeof_long_long+set}" = set; then
21830   echo $ECHO_N "(cached) $ECHO_C" >&6
21831 else
21832   if test "$cross_compiling" = yes; then
21833   # Depending upon the size, compute the lo and hi bounds.
21834 cat >conftest.$ac_ext <<_ACEOF
21835 /* confdefs.h.  */
21836 _ACEOF
21837 cat confdefs.h >>conftest.$ac_ext
21838 cat >>conftest.$ac_ext <<_ACEOF
21839 /* end confdefs.h.  */
21840 $ac_includes_default
21841    typedef long long ac__type_sizeof_;
21842 int
21843 main ()
21844 {
21845 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21846 test_array [0] = 0
21847
21848   ;
21849   return 0;
21850 }
21851 _ACEOF
21852 rm -f conftest.$ac_objext
21853 if { (ac_try="$ac_compile"
21854 case "(($ac_try" in
21855   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21856   *) ac_try_echo=$ac_try;;
21857 esac
21858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21859   (eval "$ac_compile") 2>conftest.er1
21860   ac_status=$?
21861   grep -v '^ *+' conftest.er1 >conftest.err
21862   rm -f conftest.er1
21863   cat conftest.err >&5
21864   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21865   (exit $ac_status); } && {
21866          test -z "$ac_c_werror_flag" ||
21867          test ! -s conftest.err
21868        } && test -s conftest.$ac_objext; then
21869   ac_lo=0 ac_mid=0
21870   while :; do
21871     cat >conftest.$ac_ext <<_ACEOF
21872 /* confdefs.h.  */
21873 _ACEOF
21874 cat confdefs.h >>conftest.$ac_ext
21875 cat >>conftest.$ac_ext <<_ACEOF
21876 /* end confdefs.h.  */
21877 $ac_includes_default
21878    typedef long long ac__type_sizeof_;
21879 int
21880 main ()
21881 {
21882 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21883 test_array [0] = 0
21884
21885   ;
21886   return 0;
21887 }
21888 _ACEOF
21889 rm -f conftest.$ac_objext
21890 if { (ac_try="$ac_compile"
21891 case "(($ac_try" in
21892   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21893   *) ac_try_echo=$ac_try;;
21894 esac
21895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21896   (eval "$ac_compile") 2>conftest.er1
21897   ac_status=$?
21898   grep -v '^ *+' conftest.er1 >conftest.err
21899   rm -f conftest.er1
21900   cat conftest.err >&5
21901   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21902   (exit $ac_status); } && {
21903          test -z "$ac_c_werror_flag" ||
21904          test ! -s conftest.err
21905        } && test -s conftest.$ac_objext; then
21906   ac_hi=$ac_mid; break
21907 else
21908   echo "$as_me: failed program was:" >&5
21909 sed 's/^/| /' conftest.$ac_ext >&5
21910
21911         ac_lo=`expr $ac_mid + 1`
21912                         if test $ac_lo -le $ac_mid; then
21913                           ac_lo= ac_hi=
21914                           break
21915                         fi
21916                         ac_mid=`expr 2 '*' $ac_mid + 1`
21917 fi
21918
21919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21920   done
21921 else
21922   echo "$as_me: failed program was:" >&5
21923 sed 's/^/| /' conftest.$ac_ext >&5
21924
21925         cat >conftest.$ac_ext <<_ACEOF
21926 /* confdefs.h.  */
21927 _ACEOF
21928 cat confdefs.h >>conftest.$ac_ext
21929 cat >>conftest.$ac_ext <<_ACEOF
21930 /* end confdefs.h.  */
21931 $ac_includes_default
21932    typedef long long ac__type_sizeof_;
21933 int
21934 main ()
21935 {
21936 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21937 test_array [0] = 0
21938
21939   ;
21940   return 0;
21941 }
21942 _ACEOF
21943 rm -f conftest.$ac_objext
21944 if { (ac_try="$ac_compile"
21945 case "(($ac_try" in
21946   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21947   *) ac_try_echo=$ac_try;;
21948 esac
21949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21950   (eval "$ac_compile") 2>conftest.er1
21951   ac_status=$?
21952   grep -v '^ *+' conftest.er1 >conftest.err
21953   rm -f conftest.er1
21954   cat conftest.err >&5
21955   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21956   (exit $ac_status); } && {
21957          test -z "$ac_c_werror_flag" ||
21958          test ! -s conftest.err
21959        } && test -s conftest.$ac_objext; then
21960   ac_hi=-1 ac_mid=-1
21961   while :; do
21962     cat >conftest.$ac_ext <<_ACEOF
21963 /* confdefs.h.  */
21964 _ACEOF
21965 cat confdefs.h >>conftest.$ac_ext
21966 cat >>conftest.$ac_ext <<_ACEOF
21967 /* end confdefs.h.  */
21968 $ac_includes_default
21969    typedef long long ac__type_sizeof_;
21970 int
21971 main ()
21972 {
21973 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21974 test_array [0] = 0
21975
21976   ;
21977   return 0;
21978 }
21979 _ACEOF
21980 rm -f conftest.$ac_objext
21981 if { (ac_try="$ac_compile"
21982 case "(($ac_try" in
21983   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21984   *) ac_try_echo=$ac_try;;
21985 esac
21986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21987   (eval "$ac_compile") 2>conftest.er1
21988   ac_status=$?
21989   grep -v '^ *+' conftest.er1 >conftest.err
21990   rm -f conftest.er1
21991   cat conftest.err >&5
21992   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21993   (exit $ac_status); } && {
21994          test -z "$ac_c_werror_flag" ||
21995          test ! -s conftest.err
21996        } && test -s conftest.$ac_objext; then
21997   ac_lo=$ac_mid; break
21998 else
21999   echo "$as_me: failed program was:" >&5
22000 sed 's/^/| /' conftest.$ac_ext >&5
22001
22002         ac_hi=`expr '(' $ac_mid ')' - 1`
22003                         if test $ac_mid -le $ac_hi; then
22004                           ac_lo= ac_hi=
22005                           break
22006                         fi
22007                         ac_mid=`expr 2 '*' $ac_mid`
22008 fi
22009
22010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22011   done
22012 else
22013   echo "$as_me: failed program was:" >&5
22014 sed 's/^/| /' conftest.$ac_ext >&5
22015
22016         ac_lo= ac_hi=
22017 fi
22018
22019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22020 fi
22021
22022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22023 # Binary search between lo and hi bounds.
22024 while test "x$ac_lo" != "x$ac_hi"; do
22025   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22026   cat >conftest.$ac_ext <<_ACEOF
22027 /* confdefs.h.  */
22028 _ACEOF
22029 cat confdefs.h >>conftest.$ac_ext
22030 cat >>conftest.$ac_ext <<_ACEOF
22031 /* end confdefs.h.  */
22032 $ac_includes_default
22033    typedef long long ac__type_sizeof_;
22034 int
22035 main ()
22036 {
22037 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22038 test_array [0] = 0
22039
22040   ;
22041   return 0;
22042 }
22043 _ACEOF
22044 rm -f conftest.$ac_objext
22045 if { (ac_try="$ac_compile"
22046 case "(($ac_try" in
22047   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22048   *) ac_try_echo=$ac_try;;
22049 esac
22050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22051   (eval "$ac_compile") 2>conftest.er1
22052   ac_status=$?
22053   grep -v '^ *+' conftest.er1 >conftest.err
22054   rm -f conftest.er1
22055   cat conftest.err >&5
22056   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22057   (exit $ac_status); } && {
22058          test -z "$ac_c_werror_flag" ||
22059          test ! -s conftest.err
22060        } && test -s conftest.$ac_objext; then
22061   ac_hi=$ac_mid
22062 else
22063   echo "$as_me: failed program was:" >&5
22064 sed 's/^/| /' conftest.$ac_ext >&5
22065
22066         ac_lo=`expr '(' $ac_mid ')' + 1`
22067 fi
22068
22069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22070 done
22071 case $ac_lo in
22072 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22073 '') if test "$ac_cv_type_long_long" = yes; then
22074      { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22075 See \`config.log' for more details." >&5
22076 echo "$as_me: error: cannot compute sizeof (long long)
22077 See \`config.log' for more details." >&2;}
22078    { (exit 77); exit 77; }; }
22079    else
22080      ac_cv_sizeof_long_long=0
22081    fi ;;
22082 esac
22083 else
22084   cat >conftest.$ac_ext <<_ACEOF
22085 /* confdefs.h.  */
22086 _ACEOF
22087 cat confdefs.h >>conftest.$ac_ext
22088 cat >>conftest.$ac_ext <<_ACEOF
22089 /* end confdefs.h.  */
22090 $ac_includes_default
22091    typedef long long ac__type_sizeof_;
22092 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22093 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22094 #include <stdio.h>
22095 #include <stdlib.h>
22096 int
22097 main ()
22098 {
22099
22100   FILE *f = fopen ("conftest.val", "w");
22101   if (! f)
22102     return 1;
22103   if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22104     {
22105       long int i = longval ();
22106       if (i != ((long int) (sizeof (ac__type_sizeof_))))
22107         return 1;
22108       fprintf (f, "%ld\n", i);
22109     }
22110   else
22111     {
22112       unsigned long int i = ulongval ();
22113       if (i != ((long int) (sizeof (ac__type_sizeof_))))
22114         return 1;
22115       fprintf (f, "%lu\n", i);
22116     }
22117   return ferror (f) || fclose (f) != 0;
22118
22119   ;
22120   return 0;
22121 }
22122 _ACEOF
22123 rm -f conftest$ac_exeext
22124 if { (ac_try="$ac_link"
22125 case "(($ac_try" in
22126   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22127   *) ac_try_echo=$ac_try;;
22128 esac
22129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22130   (eval "$ac_link") 2>&5
22131   ac_status=$?
22132   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22133   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22134   { (case "(($ac_try" in
22135   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22136   *) ac_try_echo=$ac_try;;
22137 esac
22138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22139   (eval "$ac_try") 2>&5
22140   ac_status=$?
22141   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22142   (exit $ac_status); }; }; then
22143   ac_cv_sizeof_long_long=`cat conftest.val`
22144 else
22145   echo "$as_me: program exited with status $ac_status" >&5
22146 echo "$as_me: failed program was:" >&5
22147 sed 's/^/| /' conftest.$ac_ext >&5
22148
22149 ( exit $ac_status )
22150 if test "$ac_cv_type_long_long" = yes; then
22151      { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22152 See \`config.log' for more details." >&5
22153 echo "$as_me: error: cannot compute sizeof (long long)
22154 See \`config.log' for more details." >&2;}
22155    { (exit 77); exit 77; }; }
22156    else
22157      ac_cv_sizeof_long_long=0
22158    fi
22159 fi
22160 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22161 fi
22162 rm -f conftest.val
22163 fi
22164 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22165 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22166
22167
22168
22169 cat >>confdefs.h <<_ACEOF
22170 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22171 _ACEOF
22172
22173
22174     ;;
22175     *-hp-hpux* )
22176         { echo "$as_me:$LINENO: checking for long long" >&5
22177 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22178 if test "${ac_cv_type_long_long+set}" = set; then
22179   echo $ECHO_N "(cached) $ECHO_C" >&6
22180 else
22181   cat >conftest.$ac_ext <<_ACEOF
22182 /* confdefs.h.  */
22183 _ACEOF
22184 cat confdefs.h >>conftest.$ac_ext
22185 cat >>conftest.$ac_ext <<_ACEOF
22186 /* end confdefs.h.  */
22187 $ac_includes_default
22188 typedef long long ac__type_new_;
22189 int
22190 main ()
22191 {
22192 if ((ac__type_new_ *) 0)
22193   return 0;
22194 if (sizeof (ac__type_new_))
22195   return 0;
22196   ;
22197   return 0;
22198 }
22199 _ACEOF
22200 rm -f conftest.$ac_objext
22201 if { (ac_try="$ac_compile"
22202 case "(($ac_try" in
22203   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22204   *) ac_try_echo=$ac_try;;
22205 esac
22206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22207   (eval "$ac_compile") 2>conftest.er1
22208   ac_status=$?
22209   grep -v '^ *+' conftest.er1 >conftest.err
22210   rm -f conftest.er1
22211   cat conftest.err >&5
22212   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22213   (exit $ac_status); } && {
22214          test -z "$ac_c_werror_flag" ||
22215          test ! -s conftest.err
22216        } && test -s conftest.$ac_objext; then
22217   ac_cv_type_long_long=yes
22218 else
22219   echo "$as_me: failed program was:" >&5
22220 sed 's/^/| /' conftest.$ac_ext >&5
22221
22222         ac_cv_type_long_long=no
22223 fi
22224
22225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22226 fi
22227 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22228 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22229
22230 # The cast to long int works around a bug in the HP C Compiler
22231 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22232 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22233 # This bug is HP SR number 8606223364.
22234 { echo "$as_me:$LINENO: checking size of long long" >&5
22235 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22236 if test "${ac_cv_sizeof_long_long+set}" = set; then
22237   echo $ECHO_N "(cached) $ECHO_C" >&6
22238 else
22239   if test "$cross_compiling" = yes; then
22240   # Depending upon the size, compute the lo and hi bounds.
22241 cat >conftest.$ac_ext <<_ACEOF
22242 /* confdefs.h.  */
22243 _ACEOF
22244 cat confdefs.h >>conftest.$ac_ext
22245 cat >>conftest.$ac_ext <<_ACEOF
22246 /* end confdefs.h.  */
22247 $ac_includes_default
22248    typedef long long ac__type_sizeof_;
22249 int
22250 main ()
22251 {
22252 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22253 test_array [0] = 0
22254
22255   ;
22256   return 0;
22257 }
22258 _ACEOF
22259 rm -f conftest.$ac_objext
22260 if { (ac_try="$ac_compile"
22261 case "(($ac_try" in
22262   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22263   *) ac_try_echo=$ac_try;;
22264 esac
22265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22266   (eval "$ac_compile") 2>conftest.er1
22267   ac_status=$?
22268   grep -v '^ *+' conftest.er1 >conftest.err
22269   rm -f conftest.er1
22270   cat conftest.err >&5
22271   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22272   (exit $ac_status); } && {
22273          test -z "$ac_c_werror_flag" ||
22274          test ! -s conftest.err
22275        } && test -s conftest.$ac_objext; then
22276   ac_lo=0 ac_mid=0
22277   while :; do
22278     cat >conftest.$ac_ext <<_ACEOF
22279 /* confdefs.h.  */
22280 _ACEOF
22281 cat confdefs.h >>conftest.$ac_ext
22282 cat >>conftest.$ac_ext <<_ACEOF
22283 /* end confdefs.h.  */
22284 $ac_includes_default
22285    typedef long long ac__type_sizeof_;
22286 int
22287 main ()
22288 {
22289 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22290 test_array [0] = 0
22291
22292   ;
22293   return 0;
22294 }
22295 _ACEOF
22296 rm -f conftest.$ac_objext
22297 if { (ac_try="$ac_compile"
22298 case "(($ac_try" in
22299   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22300   *) ac_try_echo=$ac_try;;
22301 esac
22302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22303   (eval "$ac_compile") 2>conftest.er1
22304   ac_status=$?
22305   grep -v '^ *+' conftest.er1 >conftest.err
22306   rm -f conftest.er1
22307   cat conftest.err >&5
22308   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22309   (exit $ac_status); } && {
22310          test -z "$ac_c_werror_flag" ||
22311          test ! -s conftest.err
22312        } && test -s conftest.$ac_objext; then
22313   ac_hi=$ac_mid; break
22314 else
22315   echo "$as_me: failed program was:" >&5
22316 sed 's/^/| /' conftest.$ac_ext >&5
22317
22318         ac_lo=`expr $ac_mid + 1`
22319                         if test $ac_lo -le $ac_mid; then
22320                           ac_lo= ac_hi=
22321                           break
22322                         fi
22323                         ac_mid=`expr 2 '*' $ac_mid + 1`
22324 fi
22325
22326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22327   done
22328 else
22329   echo "$as_me: failed program was:" >&5
22330 sed 's/^/| /' conftest.$ac_ext >&5
22331
22332         cat >conftest.$ac_ext <<_ACEOF
22333 /* confdefs.h.  */
22334 _ACEOF
22335 cat confdefs.h >>conftest.$ac_ext
22336 cat >>conftest.$ac_ext <<_ACEOF
22337 /* end confdefs.h.  */
22338 $ac_includes_default
22339    typedef long long ac__type_sizeof_;
22340 int
22341 main ()
22342 {
22343 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22344 test_array [0] = 0
22345
22346   ;
22347   return 0;
22348 }
22349 _ACEOF
22350 rm -f conftest.$ac_objext
22351 if { (ac_try="$ac_compile"
22352 case "(($ac_try" in
22353   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22354   *) ac_try_echo=$ac_try;;
22355 esac
22356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22357   (eval "$ac_compile") 2>conftest.er1
22358   ac_status=$?
22359   grep -v '^ *+' conftest.er1 >conftest.err
22360   rm -f conftest.er1
22361   cat conftest.err >&5
22362   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22363   (exit $ac_status); } && {
22364          test -z "$ac_c_werror_flag" ||
22365          test ! -s conftest.err
22366        } && test -s conftest.$ac_objext; then
22367   ac_hi=-1 ac_mid=-1
22368   while :; do
22369     cat >conftest.$ac_ext <<_ACEOF
22370 /* confdefs.h.  */
22371 _ACEOF
22372 cat confdefs.h >>conftest.$ac_ext
22373 cat >>conftest.$ac_ext <<_ACEOF
22374 /* end confdefs.h.  */
22375 $ac_includes_default
22376    typedef long long ac__type_sizeof_;
22377 int
22378 main ()
22379 {
22380 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22381 test_array [0] = 0
22382
22383   ;
22384   return 0;
22385 }
22386 _ACEOF
22387 rm -f conftest.$ac_objext
22388 if { (ac_try="$ac_compile"
22389 case "(($ac_try" in
22390   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22391   *) ac_try_echo=$ac_try;;
22392 esac
22393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22394   (eval "$ac_compile") 2>conftest.er1
22395   ac_status=$?
22396   grep -v '^ *+' conftest.er1 >conftest.err
22397   rm -f conftest.er1
22398   cat conftest.err >&5
22399   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22400   (exit $ac_status); } && {
22401          test -z "$ac_c_werror_flag" ||
22402          test ! -s conftest.err
22403        } && test -s conftest.$ac_objext; then
22404   ac_lo=$ac_mid; break
22405 else
22406   echo "$as_me: failed program was:" >&5
22407 sed 's/^/| /' conftest.$ac_ext >&5
22408
22409         ac_hi=`expr '(' $ac_mid ')' - 1`
22410                         if test $ac_mid -le $ac_hi; then
22411                           ac_lo= ac_hi=
22412                           break
22413                         fi
22414                         ac_mid=`expr 2 '*' $ac_mid`
22415 fi
22416
22417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22418   done
22419 else
22420   echo "$as_me: failed program was:" >&5
22421 sed 's/^/| /' conftest.$ac_ext >&5
22422
22423         ac_lo= ac_hi=
22424 fi
22425
22426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22427 fi
22428
22429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22430 # Binary search between lo and hi bounds.
22431 while test "x$ac_lo" != "x$ac_hi"; do
22432   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22433   cat >conftest.$ac_ext <<_ACEOF
22434 /* confdefs.h.  */
22435 _ACEOF
22436 cat confdefs.h >>conftest.$ac_ext
22437 cat >>conftest.$ac_ext <<_ACEOF
22438 /* end confdefs.h.  */
22439 $ac_includes_default
22440    typedef long long ac__type_sizeof_;
22441 int
22442 main ()
22443 {
22444 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22445 test_array [0] = 0
22446
22447   ;
22448   return 0;
22449 }
22450 _ACEOF
22451 rm -f conftest.$ac_objext
22452 if { (ac_try="$ac_compile"
22453 case "(($ac_try" in
22454   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22455   *) ac_try_echo=$ac_try;;
22456 esac
22457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22458   (eval "$ac_compile") 2>conftest.er1
22459   ac_status=$?
22460   grep -v '^ *+' conftest.er1 >conftest.err
22461   rm -f conftest.er1
22462   cat conftest.err >&5
22463   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22464   (exit $ac_status); } && {
22465          test -z "$ac_c_werror_flag" ||
22466          test ! -s conftest.err
22467        } && test -s conftest.$ac_objext; then
22468   ac_hi=$ac_mid
22469 else
22470   echo "$as_me: failed program was:" >&5
22471 sed 's/^/| /' conftest.$ac_ext >&5
22472
22473         ac_lo=`expr '(' $ac_mid ')' + 1`
22474 fi
22475
22476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22477 done
22478 case $ac_lo in
22479 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22480 '') if test "$ac_cv_type_long_long" = yes; then
22481      { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22482 See \`config.log' for more details." >&5
22483 echo "$as_me: error: cannot compute sizeof (long long)
22484 See \`config.log' for more details." >&2;}
22485    { (exit 77); exit 77; }; }
22486    else
22487      ac_cv_sizeof_long_long=0
22488    fi ;;
22489 esac
22490 else
22491   cat >conftest.$ac_ext <<_ACEOF
22492 /* confdefs.h.  */
22493 _ACEOF
22494 cat confdefs.h >>conftest.$ac_ext
22495 cat >>conftest.$ac_ext <<_ACEOF
22496 /* end confdefs.h.  */
22497 $ac_includes_default
22498    typedef long long ac__type_sizeof_;
22499 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22500 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22501 #include <stdio.h>
22502 #include <stdlib.h>
22503 int
22504 main ()
22505 {
22506
22507   FILE *f = fopen ("conftest.val", "w");
22508   if (! f)
22509     return 1;
22510   if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22511     {
22512       long int i = longval ();
22513       if (i != ((long int) (sizeof (ac__type_sizeof_))))
22514         return 1;
22515       fprintf (f, "%ld\n", i);
22516     }
22517   else
22518     {
22519       unsigned long int i = ulongval ();
22520       if (i != ((long int) (sizeof (ac__type_sizeof_))))
22521         return 1;
22522       fprintf (f, "%lu\n", i);
22523     }
22524   return ferror (f) || fclose (f) != 0;
22525
22526   ;
22527   return 0;
22528 }
22529 _ACEOF
22530 rm -f conftest$ac_exeext
22531 if { (ac_try="$ac_link"
22532 case "(($ac_try" in
22533   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22534   *) ac_try_echo=$ac_try;;
22535 esac
22536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22537   (eval "$ac_link") 2>&5
22538   ac_status=$?
22539   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22540   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22541   { (case "(($ac_try" in
22542   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22543   *) ac_try_echo=$ac_try;;
22544 esac
22545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22546   (eval "$ac_try") 2>&5
22547   ac_status=$?
22548   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22549   (exit $ac_status); }; }; then
22550   ac_cv_sizeof_long_long=`cat conftest.val`
22551 else
22552   echo "$as_me: program exited with status $ac_status" >&5
22553 echo "$as_me: failed program was:" >&5
22554 sed 's/^/| /' conftest.$ac_ext >&5
22555
22556 ( exit $ac_status )
22557 if test "$ac_cv_type_long_long" = yes; then
22558      { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22559 See \`config.log' for more details." >&5
22560 echo "$as_me: error: cannot compute sizeof (long long)
22561 See \`config.log' for more details." >&2;}
22562    { (exit 77); exit 77; }; }
22563    else
22564      ac_cv_sizeof_long_long=0
22565    fi
22566 fi
22567 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22568 fi
22569 rm -f conftest.val
22570 fi
22571 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22572 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22573
22574
22575
22576 cat >>confdefs.h <<_ACEOF
22577 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22578 _ACEOF
22579
22580
22581         if test "$ac_cv_sizeof_long_long" != 0; then
22582                         CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
22583         fi
22584     ;;
22585     * )
22586         { echo "$as_me:$LINENO: checking for long long" >&5
22587 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22588 if test "${ac_cv_type_long_long+set}" = set; then
22589   echo $ECHO_N "(cached) $ECHO_C" >&6
22590 else
22591   cat >conftest.$ac_ext <<_ACEOF
22592 /* confdefs.h.  */
22593 _ACEOF
22594 cat confdefs.h >>conftest.$ac_ext
22595 cat >>conftest.$ac_ext <<_ACEOF
22596 /* end confdefs.h.  */
22597 $ac_includes_default
22598 typedef long long ac__type_new_;
22599 int
22600 main ()
22601 {
22602 if ((ac__type_new_ *) 0)
22603   return 0;
22604 if (sizeof (ac__type_new_))
22605   return 0;
22606   ;
22607   return 0;
22608 }
22609 _ACEOF
22610 rm -f conftest.$ac_objext
22611 if { (ac_try="$ac_compile"
22612 case "(($ac_try" in
22613   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22614   *) ac_try_echo=$ac_try;;
22615 esac
22616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22617   (eval "$ac_compile") 2>conftest.er1
22618   ac_status=$?
22619   grep -v '^ *+' conftest.er1 >conftest.err
22620   rm -f conftest.er1
22621   cat conftest.err >&5
22622   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22623   (exit $ac_status); } && {
22624          test -z "$ac_c_werror_flag" ||
22625          test ! -s conftest.err
22626        } && test -s conftest.$ac_objext; then
22627   ac_cv_type_long_long=yes
22628 else
22629   echo "$as_me: failed program was:" >&5
22630 sed 's/^/| /' conftest.$ac_ext >&5
22631
22632         ac_cv_type_long_long=no
22633 fi
22634
22635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22636 fi
22637 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22638 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22639
22640 # The cast to long int works around a bug in the HP C Compiler
22641 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22642 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22643 # This bug is HP SR number 8606223364.
22644 { echo "$as_me:$LINENO: checking size of long long" >&5
22645 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22646 if test "${ac_cv_sizeof_long_long+set}" = set; then
22647   echo $ECHO_N "(cached) $ECHO_C" >&6
22648 else
22649   if test "$cross_compiling" = yes; then
22650   # Depending upon the size, compute the lo and hi bounds.
22651 cat >conftest.$ac_ext <<_ACEOF
22652 /* confdefs.h.  */
22653 _ACEOF
22654 cat confdefs.h >>conftest.$ac_ext
22655 cat >>conftest.$ac_ext <<_ACEOF
22656 /* end confdefs.h.  */
22657 $ac_includes_default
22658    typedef long long ac__type_sizeof_;
22659 int
22660 main ()
22661 {
22662 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22663 test_array [0] = 0
22664
22665   ;
22666   return 0;
22667 }
22668 _ACEOF
22669 rm -f conftest.$ac_objext
22670 if { (ac_try="$ac_compile"
22671 case "(($ac_try" in
22672   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22673   *) ac_try_echo=$ac_try;;
22674 esac
22675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22676   (eval "$ac_compile") 2>conftest.er1
22677   ac_status=$?
22678   grep -v '^ *+' conftest.er1 >conftest.err
22679   rm -f conftest.er1
22680   cat conftest.err >&5
22681   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22682   (exit $ac_status); } && {
22683          test -z "$ac_c_werror_flag" ||
22684          test ! -s conftest.err
22685        } && test -s conftest.$ac_objext; then
22686   ac_lo=0 ac_mid=0
22687   while :; do
22688     cat >conftest.$ac_ext <<_ACEOF
22689 /* confdefs.h.  */
22690 _ACEOF
22691 cat confdefs.h >>conftest.$ac_ext
22692 cat >>conftest.$ac_ext <<_ACEOF
22693 /* end confdefs.h.  */
22694 $ac_includes_default
22695    typedef long long ac__type_sizeof_;
22696 int
22697 main ()
22698 {
22699 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22700 test_array [0] = 0
22701
22702   ;
22703   return 0;
22704 }
22705 _ACEOF
22706 rm -f conftest.$ac_objext
22707 if { (ac_try="$ac_compile"
22708 case "(($ac_try" in
22709   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22710   *) ac_try_echo=$ac_try;;
22711 esac
22712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22713   (eval "$ac_compile") 2>conftest.er1
22714   ac_status=$?
22715   grep -v '^ *+' conftest.er1 >conftest.err
22716   rm -f conftest.er1
22717   cat conftest.err >&5
22718   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22719   (exit $ac_status); } && {
22720          test -z "$ac_c_werror_flag" ||
22721          test ! -s conftest.err
22722        } && test -s conftest.$ac_objext; then
22723   ac_hi=$ac_mid; break
22724 else
22725   echo "$as_me: failed program was:" >&5
22726 sed 's/^/| /' conftest.$ac_ext >&5
22727
22728         ac_lo=`expr $ac_mid + 1`
22729                         if test $ac_lo -le $ac_mid; then
22730                           ac_lo= ac_hi=
22731                           break
22732                         fi
22733                         ac_mid=`expr 2 '*' $ac_mid + 1`
22734 fi
22735
22736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22737   done
22738 else
22739   echo "$as_me: failed program was:" >&5
22740 sed 's/^/| /' conftest.$ac_ext >&5
22741
22742         cat >conftest.$ac_ext <<_ACEOF
22743 /* confdefs.h.  */
22744 _ACEOF
22745 cat confdefs.h >>conftest.$ac_ext
22746 cat >>conftest.$ac_ext <<_ACEOF
22747 /* end confdefs.h.  */
22748 $ac_includes_default
22749    typedef long long ac__type_sizeof_;
22750 int
22751 main ()
22752 {
22753 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22754 test_array [0] = 0
22755
22756   ;
22757   return 0;
22758 }
22759 _ACEOF
22760 rm -f conftest.$ac_objext
22761 if { (ac_try="$ac_compile"
22762 case "(($ac_try" in
22763   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22764   *) ac_try_echo=$ac_try;;
22765 esac
22766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22767   (eval "$ac_compile") 2>conftest.er1
22768   ac_status=$?
22769   grep -v '^ *+' conftest.er1 >conftest.err
22770   rm -f conftest.er1
22771   cat conftest.err >&5
22772   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22773   (exit $ac_status); } && {
22774          test -z "$ac_c_werror_flag" ||
22775          test ! -s conftest.err
22776        } && test -s conftest.$ac_objext; then
22777   ac_hi=-1 ac_mid=-1
22778   while :; do
22779     cat >conftest.$ac_ext <<_ACEOF
22780 /* confdefs.h.  */
22781 _ACEOF
22782 cat confdefs.h >>conftest.$ac_ext
22783 cat >>conftest.$ac_ext <<_ACEOF
22784 /* end confdefs.h.  */
22785 $ac_includes_default
22786    typedef long long ac__type_sizeof_;
22787 int
22788 main ()
22789 {
22790 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22791 test_array [0] = 0
22792
22793   ;
22794   return 0;
22795 }
22796 _ACEOF
22797 rm -f conftest.$ac_objext
22798 if { (ac_try="$ac_compile"
22799 case "(($ac_try" in
22800   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22801   *) ac_try_echo=$ac_try;;
22802 esac
22803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22804   (eval "$ac_compile") 2>conftest.er1
22805   ac_status=$?
22806   grep -v '^ *+' conftest.er1 >conftest.err
22807   rm -f conftest.er1
22808   cat conftest.err >&5
22809   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22810   (exit $ac_status); } && {
22811          test -z "$ac_c_werror_flag" ||
22812          test ! -s conftest.err
22813        } && test -s conftest.$ac_objext; then
22814   ac_lo=$ac_mid; break
22815 else
22816   echo "$as_me: failed program was:" >&5
22817 sed 's/^/| /' conftest.$ac_ext >&5
22818
22819         ac_hi=`expr '(' $ac_mid ')' - 1`
22820                         if test $ac_mid -le $ac_hi; then
22821                           ac_lo= ac_hi=
22822                           break
22823                         fi
22824                         ac_mid=`expr 2 '*' $ac_mid`
22825 fi
22826
22827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22828   done
22829 else
22830   echo "$as_me: failed program was:" >&5
22831 sed 's/^/| /' conftest.$ac_ext >&5
22832
22833         ac_lo= ac_hi=
22834 fi
22835
22836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22837 fi
22838
22839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22840 # Binary search between lo and hi bounds.
22841 while test "x$ac_lo" != "x$ac_hi"; do
22842   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22843   cat >conftest.$ac_ext <<_ACEOF
22844 /* confdefs.h.  */
22845 _ACEOF
22846 cat confdefs.h >>conftest.$ac_ext
22847 cat >>conftest.$ac_ext <<_ACEOF
22848 /* end confdefs.h.  */
22849 $ac_includes_default
22850    typedef long long ac__type_sizeof_;
22851 int
22852 main ()
22853 {
22854 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22855 test_array [0] = 0
22856
22857   ;
22858   return 0;
22859 }
22860 _ACEOF
22861 rm -f conftest.$ac_objext
22862 if { (ac_try="$ac_compile"
22863 case "(($ac_try" in
22864   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22865   *) ac_try_echo=$ac_try;;
22866 esac
22867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22868   (eval "$ac_compile") 2>conftest.er1
22869   ac_status=$?
22870   grep -v '^ *+' conftest.er1 >conftest.err
22871   rm -f conftest.er1
22872   cat conftest.err >&5
22873   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22874   (exit $ac_status); } && {
22875          test -z "$ac_c_werror_flag" ||
22876          test ! -s conftest.err
22877        } && test -s conftest.$ac_objext; then
22878   ac_hi=$ac_mid
22879 else
22880   echo "$as_me: failed program was:" >&5
22881 sed 's/^/| /' conftest.$ac_ext >&5
22882
22883         ac_lo=`expr '(' $ac_mid ')' + 1`
22884 fi
22885
22886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22887 done
22888 case $ac_lo in
22889 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22890 '') if test "$ac_cv_type_long_long" = yes; then
22891      { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22892 See \`config.log' for more details." >&5
22893 echo "$as_me: error: cannot compute sizeof (long long)
22894 See \`config.log' for more details." >&2;}
22895    { (exit 77); exit 77; }; }
22896    else
22897      ac_cv_sizeof_long_long=0
22898    fi ;;
22899 esac
22900 else
22901   cat >conftest.$ac_ext <<_ACEOF
22902 /* confdefs.h.  */
22903 _ACEOF
22904 cat confdefs.h >>conftest.$ac_ext
22905 cat >>conftest.$ac_ext <<_ACEOF
22906 /* end confdefs.h.  */
22907 $ac_includes_default
22908    typedef long long ac__type_sizeof_;
22909 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22910 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22911 #include <stdio.h>
22912 #include <stdlib.h>
22913 int
22914 main ()
22915 {
22916
22917   FILE *f = fopen ("conftest.val", "w");
22918   if (! f)
22919     return 1;
22920   if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22921     {
22922       long int i = longval ();
22923       if (i != ((long int) (sizeof (ac__type_sizeof_))))
22924         return 1;
22925       fprintf (f, "%ld\n", i);
22926     }
22927   else
22928     {
22929       unsigned long int i = ulongval ();
22930       if (i != ((long int) (sizeof (ac__type_sizeof_))))
22931         return 1;
22932       fprintf (f, "%lu\n", i);
22933     }
22934   return ferror (f) || fclose (f) != 0;
22935
22936   ;
22937   return 0;
22938 }
22939 _ACEOF
22940 rm -f conftest$ac_exeext
22941 if { (ac_try="$ac_link"
22942 case "(($ac_try" in
22943   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22944   *) ac_try_echo=$ac_try;;
22945 esac
22946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22947   (eval "$ac_link") 2>&5
22948   ac_status=$?
22949   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22950   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22951   { (case "(($ac_try" in
22952   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22953   *) ac_try_echo=$ac_try;;
22954 esac
22955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22956   (eval "$ac_try") 2>&5
22957   ac_status=$?
22958   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22959   (exit $ac_status); }; }; then
22960   ac_cv_sizeof_long_long=`cat conftest.val`
22961 else
22962   echo "$as_me: program exited with status $ac_status" >&5
22963 echo "$as_me: failed program was:" >&5
22964 sed 's/^/| /' conftest.$ac_ext >&5
22965
22966 ( exit $ac_status )
22967 if test "$ac_cv_type_long_long" = yes; then
22968      { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22969 See \`config.log' for more details." >&5
22970 echo "$as_me: error: cannot compute sizeof (long long)
22971 See \`config.log' for more details." >&2;}
22972    { (exit 77); exit 77; }; }
22973    else
22974      ac_cv_sizeof_long_long=0
22975    fi
22976 fi
22977 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22978 fi
22979 rm -f conftest.val
22980 fi
22981 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22982 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22983
22984
22985
22986 cat >>confdefs.h <<_ACEOF
22987 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22988 _ACEOF
22989
22990
22991 esac
22992
22993 { echo "$as_me:$LINENO: checking for wchar_t" >&5
22994 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
22995 if test "${ac_cv_type_wchar_t+set}" = set; then
22996   echo $ECHO_N "(cached) $ECHO_C" >&6
22997 else
22998   cat >conftest.$ac_ext <<_ACEOF
22999 /* confdefs.h.  */
23000 _ACEOF
23001 cat confdefs.h >>conftest.$ac_ext
23002 cat >>conftest.$ac_ext <<_ACEOF
23003 /* end confdefs.h.  */
23004
23005         /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23006         #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23007         #  error "fake wchar_t"
23008         #endif
23009         #ifdef HAVE_WCHAR_H
23010         #  ifdef __CYGWIN__
23011         #    include <stddef.h>
23012         #  endif
23013         #  include <wchar.h>
23014         #endif
23015         #ifdef HAVE_STDLIB_H
23016         #  include <stdlib.h>
23017         #endif
23018         #include <stdio.h>
23019
23020
23021
23022 typedef wchar_t ac__type_new_;
23023 int
23024 main ()
23025 {
23026 if ((ac__type_new_ *) 0)
23027   return 0;
23028 if (sizeof (ac__type_new_))
23029   return 0;
23030   ;
23031   return 0;
23032 }
23033 _ACEOF
23034 rm -f conftest.$ac_objext
23035 if { (ac_try="$ac_compile"
23036 case "(($ac_try" in
23037   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23038   *) ac_try_echo=$ac_try;;
23039 esac
23040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23041   (eval "$ac_compile") 2>conftest.er1
23042   ac_status=$?
23043   grep -v '^ *+' conftest.er1 >conftest.err
23044   rm -f conftest.er1
23045   cat conftest.err >&5
23046   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23047   (exit $ac_status); } && {
23048          test -z "$ac_c_werror_flag" ||
23049          test ! -s conftest.err
23050        } && test -s conftest.$ac_objext; then
23051   ac_cv_type_wchar_t=yes
23052 else
23053   echo "$as_me: failed program was:" >&5
23054 sed 's/^/| /' conftest.$ac_ext >&5
23055
23056         ac_cv_type_wchar_t=no
23057 fi
23058
23059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23060 fi
23061 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
23062 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
23063
23064 # The cast to long int works around a bug in the HP C Compiler
23065 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23066 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23067 # This bug is HP SR number 8606223364.
23068 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
23069 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
23070 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
23071   echo $ECHO_N "(cached) $ECHO_C" >&6
23072 else
23073   if test "$cross_compiling" = yes; then
23074   # Depending upon the size, compute the lo and hi bounds.
23075 cat >conftest.$ac_ext <<_ACEOF
23076 /* confdefs.h.  */
23077 _ACEOF
23078 cat confdefs.h >>conftest.$ac_ext
23079 cat >>conftest.$ac_ext <<_ACEOF
23080 /* end confdefs.h.  */
23081
23082         /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23083         #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23084         #  error "fake wchar_t"
23085         #endif
23086         #ifdef HAVE_WCHAR_H
23087         #  ifdef __CYGWIN__
23088         #    include <stddef.h>
23089         #  endif
23090         #  include <wchar.h>
23091         #endif
23092         #ifdef HAVE_STDLIB_H
23093         #  include <stdlib.h>
23094         #endif
23095         #include <stdio.h>
23096
23097
23098
23099    typedef wchar_t ac__type_sizeof_;
23100 int
23101 main ()
23102 {
23103 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23104 test_array [0] = 0
23105
23106   ;
23107   return 0;
23108 }
23109 _ACEOF
23110 rm -f conftest.$ac_objext
23111 if { (ac_try="$ac_compile"
23112 case "(($ac_try" in
23113   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23114   *) ac_try_echo=$ac_try;;
23115 esac
23116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23117   (eval "$ac_compile") 2>conftest.er1
23118   ac_status=$?
23119   grep -v '^ *+' conftest.er1 >conftest.err
23120   rm -f conftest.er1
23121   cat conftest.err >&5
23122   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23123   (exit $ac_status); } && {
23124          test -z "$ac_c_werror_flag" ||
23125          test ! -s conftest.err
23126        } && test -s conftest.$ac_objext; then
23127   ac_lo=0 ac_mid=0
23128   while :; do
23129     cat >conftest.$ac_ext <<_ACEOF
23130 /* confdefs.h.  */
23131 _ACEOF
23132 cat confdefs.h >>conftest.$ac_ext
23133 cat >>conftest.$ac_ext <<_ACEOF
23134 /* end confdefs.h.  */
23135
23136         /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23137         #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23138         #  error "fake wchar_t"
23139         #endif
23140         #ifdef HAVE_WCHAR_H
23141         #  ifdef __CYGWIN__
23142         #    include <stddef.h>
23143         #  endif
23144         #  include <wchar.h>
23145         #endif
23146         #ifdef HAVE_STDLIB_H
23147         #  include <stdlib.h>
23148         #endif
23149         #include <stdio.h>
23150
23151
23152
23153    typedef wchar_t ac__type_sizeof_;
23154 int
23155 main ()
23156 {
23157 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23158 test_array [0] = 0
23159
23160   ;
23161   return 0;
23162 }
23163 _ACEOF
23164 rm -f conftest.$ac_objext
23165 if { (ac_try="$ac_compile"
23166 case "(($ac_try" in
23167   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23168   *) ac_try_echo=$ac_try;;
23169 esac
23170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23171   (eval "$ac_compile") 2>conftest.er1
23172   ac_status=$?
23173   grep -v '^ *+' conftest.er1 >conftest.err
23174   rm -f conftest.er1
23175   cat conftest.err >&5
23176   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23177   (exit $ac_status); } && {
23178          test -z "$ac_c_werror_flag" ||
23179          test ! -s conftest.err
23180        } && test -s conftest.$ac_objext; then
23181   ac_hi=$ac_mid; break
23182 else
23183   echo "$as_me: failed program was:" >&5
23184 sed 's/^/| /' conftest.$ac_ext >&5
23185
23186         ac_lo=`expr $ac_mid + 1`
23187                         if test $ac_lo -le $ac_mid; then
23188                           ac_lo= ac_hi=
23189                           break
23190                         fi
23191                         ac_mid=`expr 2 '*' $ac_mid + 1`
23192 fi
23193
23194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23195   done
23196 else
23197   echo "$as_me: failed program was:" >&5
23198 sed 's/^/| /' conftest.$ac_ext >&5
23199
23200         cat >conftest.$ac_ext <<_ACEOF
23201 /* confdefs.h.  */
23202 _ACEOF
23203 cat confdefs.h >>conftest.$ac_ext
23204 cat >>conftest.$ac_ext <<_ACEOF
23205 /* end confdefs.h.  */
23206
23207         /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23208         #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23209         #  error "fake wchar_t"
23210         #endif
23211         #ifdef HAVE_WCHAR_H
23212         #  ifdef __CYGWIN__
23213         #    include <stddef.h>
23214         #  endif
23215         #  include <wchar.h>
23216         #endif
23217         #ifdef HAVE_STDLIB_H
23218         #  include <stdlib.h>
23219         #endif
23220         #include <stdio.h>
23221
23222
23223
23224    typedef wchar_t ac__type_sizeof_;
23225 int
23226 main ()
23227 {
23228 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23229 test_array [0] = 0
23230
23231   ;
23232   return 0;
23233 }
23234 _ACEOF
23235 rm -f conftest.$ac_objext
23236 if { (ac_try="$ac_compile"
23237 case "(($ac_try" in
23238   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23239   *) ac_try_echo=$ac_try;;
23240 esac
23241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23242   (eval "$ac_compile") 2>conftest.er1
23243   ac_status=$?
23244   grep -v '^ *+' conftest.er1 >conftest.err
23245   rm -f conftest.er1
23246   cat conftest.err >&5
23247   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23248   (exit $ac_status); } && {
23249          test -z "$ac_c_werror_flag" ||
23250          test ! -s conftest.err
23251        } && test -s conftest.$ac_objext; then
23252   ac_hi=-1 ac_mid=-1
23253   while :; do
23254     cat >conftest.$ac_ext <<_ACEOF
23255 /* confdefs.h.  */
23256 _ACEOF
23257 cat confdefs.h >>conftest.$ac_ext
23258 cat >>conftest.$ac_ext <<_ACEOF
23259 /* end confdefs.h.  */
23260
23261         /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23262         #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23263         #  error "fake wchar_t"
23264         #endif
23265         #ifdef HAVE_WCHAR_H
23266         #  ifdef __CYGWIN__
23267         #    include <stddef.h>
23268         #  endif
23269         #  include <wchar.h>
23270         #endif
23271         #ifdef HAVE_STDLIB_H
23272         #  include <stdlib.h>
23273         #endif
23274         #include <stdio.h>
23275
23276
23277
23278    typedef wchar_t ac__type_sizeof_;
23279 int
23280 main ()
23281 {
23282 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23283 test_array [0] = 0
23284
23285   ;
23286   return 0;
23287 }
23288 _ACEOF
23289 rm -f conftest.$ac_objext
23290 if { (ac_try="$ac_compile"
23291 case "(($ac_try" in
23292   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23293   *) ac_try_echo=$ac_try;;
23294 esac
23295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23296   (eval "$ac_compile") 2>conftest.er1
23297   ac_status=$?
23298   grep -v '^ *+' conftest.er1 >conftest.err
23299   rm -f conftest.er1
23300   cat conftest.err >&5
23301   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23302   (exit $ac_status); } && {
23303          test -z "$ac_c_werror_flag" ||
23304          test ! -s conftest.err
23305        } && test -s conftest.$ac_objext; then
23306   ac_lo=$ac_mid; break
23307 else
23308   echo "$as_me: failed program was:" >&5
23309 sed 's/^/| /' conftest.$ac_ext >&5
23310
23311         ac_hi=`expr '(' $ac_mid ')' - 1`
23312                         if test $ac_mid -le $ac_hi; then
23313                           ac_lo= ac_hi=
23314                           break
23315                         fi
23316                         ac_mid=`expr 2 '*' $ac_mid`
23317 fi
23318
23319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23320   done
23321 else
23322   echo "$as_me: failed program was:" >&5
23323 sed 's/^/| /' conftest.$ac_ext >&5
23324
23325         ac_lo= ac_hi=
23326 fi
23327
23328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23329 fi
23330
23331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23332 # Binary search between lo and hi bounds.
23333 while test "x$ac_lo" != "x$ac_hi"; do
23334   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23335   cat >conftest.$ac_ext <<_ACEOF
23336 /* confdefs.h.  */
23337 _ACEOF
23338 cat confdefs.h >>conftest.$ac_ext
23339 cat >>conftest.$ac_ext <<_ACEOF
23340 /* end confdefs.h.  */
23341
23342         /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23343         #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23344         #  error "fake wchar_t"
23345         #endif
23346         #ifdef HAVE_WCHAR_H
23347         #  ifdef __CYGWIN__
23348         #    include <stddef.h>
23349         #  endif
23350         #  include <wchar.h>
23351         #endif
23352         #ifdef HAVE_STDLIB_H
23353         #  include <stdlib.h>
23354         #endif
23355         #include <stdio.h>
23356
23357
23358
23359    typedef wchar_t ac__type_sizeof_;
23360 int
23361 main ()
23362 {
23363 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23364 test_array [0] = 0
23365
23366   ;
23367   return 0;
23368 }
23369 _ACEOF
23370 rm -f conftest.$ac_objext
23371 if { (ac_try="$ac_compile"
23372 case "(($ac_try" in
23373   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23374   *) ac_try_echo=$ac_try;;
23375 esac
23376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23377   (eval "$ac_compile") 2>conftest.er1
23378   ac_status=$?
23379   grep -v '^ *+' conftest.er1 >conftest.err
23380   rm -f conftest.er1
23381   cat conftest.err >&5
23382   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23383   (exit $ac_status); } && {
23384          test -z "$ac_c_werror_flag" ||
23385          test ! -s conftest.err
23386        } && test -s conftest.$ac_objext; then
23387   ac_hi=$ac_mid
23388 else
23389   echo "$as_me: failed program was:" >&5
23390 sed 's/^/| /' conftest.$ac_ext >&5
23391
23392         ac_lo=`expr '(' $ac_mid ')' + 1`
23393 fi
23394
23395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23396 done
23397 case $ac_lo in
23398 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
23399 '') if test "$ac_cv_type_wchar_t" = yes; then
23400      { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
23401 See \`config.log' for more details." >&5
23402 echo "$as_me: error: cannot compute sizeof (wchar_t)
23403 See \`config.log' for more details." >&2;}
23404    { (exit 77); exit 77; }; }
23405    else
23406      ac_cv_sizeof_wchar_t=0
23407    fi ;;
23408 esac
23409 else
23410   cat >conftest.$ac_ext <<_ACEOF
23411 /* confdefs.h.  */
23412 _ACEOF
23413 cat confdefs.h >>conftest.$ac_ext
23414 cat >>conftest.$ac_ext <<_ACEOF
23415 /* end confdefs.h.  */
23416
23417         /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23418         #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23419         #  error "fake wchar_t"
23420         #endif
23421         #ifdef HAVE_WCHAR_H
23422         #  ifdef __CYGWIN__
23423         #    include <stddef.h>
23424         #  endif
23425         #  include <wchar.h>
23426         #endif
23427         #ifdef HAVE_STDLIB_H
23428         #  include <stdlib.h>
23429         #endif
23430         #include <stdio.h>
23431
23432
23433
23434    typedef wchar_t ac__type_sizeof_;
23435 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23436 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23437 #include <stdio.h>
23438 #include <stdlib.h>
23439 int
23440 main ()
23441 {
23442
23443   FILE *f = fopen ("conftest.val", "w");
23444   if (! f)
23445     return 1;
23446   if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23447     {
23448       long int i = longval ();
23449       if (i != ((long int) (sizeof (ac__type_sizeof_))))
23450         return 1;
23451       fprintf (f, "%ld\n", i);
23452     }
23453   else
23454     {
23455       unsigned long int i = ulongval ();
23456       if (i != ((long int) (sizeof (ac__type_sizeof_))))
23457         return 1;
23458       fprintf (f, "%lu\n", i);
23459     }
23460   return ferror (f) || fclose (f) != 0;
23461
23462   ;
23463   return 0;
23464 }
23465 _ACEOF
23466 rm -f conftest$ac_exeext
23467 if { (ac_try="$ac_link"
23468 case "(($ac_try" in
23469   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23470   *) ac_try_echo=$ac_try;;
23471 esac
23472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23473   (eval "$ac_link") 2>&5
23474   ac_status=$?
23475   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23476   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23477   { (case "(($ac_try" in
23478   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23479   *) ac_try_echo=$ac_try;;
23480 esac
23481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23482   (eval "$ac_try") 2>&5
23483   ac_status=$?
23484   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23485   (exit $ac_status); }; }; then
23486   ac_cv_sizeof_wchar_t=`cat conftest.val`
23487 else
23488   echo "$as_me: program exited with status $ac_status" >&5
23489 echo "$as_me: failed program was:" >&5
23490 sed 's/^/| /' conftest.$ac_ext >&5
23491
23492 ( exit $ac_status )
23493 if test "$ac_cv_type_wchar_t" = yes; then
23494      { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
23495 See \`config.log' for more details." >&5
23496 echo "$as_me: error: cannot compute sizeof (wchar_t)
23497 See \`config.log' for more details." >&2;}
23498    { (exit 77); exit 77; }; }
23499    else
23500      ac_cv_sizeof_wchar_t=0
23501    fi
23502 fi
23503 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23504 fi
23505 rm -f conftest.val
23506 fi
23507 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
23508 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
23509
23510
23511
23512 cat >>confdefs.h <<_ACEOF
23513 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
23514 _ACEOF
23515
23516
23517 if test "$ac_cv_sizeof_wchar_t" != 0; then
23518     wxUSE_WCHAR_T=yes
23519 else
23520     wxUSE_WCHAR_T=no
23521 fi
23522
23523 { echo "$as_me:$LINENO: checking for va_copy" >&5
23524 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
23525 if test "${wx_cv_func_va_copy+set}" = set; then
23526   echo $ECHO_N "(cached) $ECHO_C" >&6
23527 else
23528
23529         ac_ext=cpp
23530 ac_cpp='$CXXCPP $CPPFLAGS'
23531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23534
23535         cat >conftest.$ac_ext <<_ACEOF
23536
23537             #include <stdarg.h>
23538             void foo(char *f, ...)
23539             {
23540                 va_list ap1, ap2;
23541                 va_start(ap1, f);
23542                 va_copy(ap2, ap1);
23543                 va_end(ap2);
23544                 va_end(ap1);
23545             }
23546             int main()
23547             {
23548                 foo("hi", 17);
23549                 return 0;
23550             }
23551 _ACEOF
23552 rm -f conftest.$ac_objext conftest$ac_exeext
23553 if { (ac_try="$ac_link"
23554 case "(($ac_try" in
23555   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23556   *) ac_try_echo=$ac_try;;
23557 esac
23558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23559   (eval "$ac_link") 2>conftest.er1
23560   ac_status=$?
23561   grep -v '^ *+' conftest.er1 >conftest.err
23562   rm -f conftest.er1
23563   cat conftest.err >&5
23564   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23565   (exit $ac_status); } && {
23566          test -z "$ac_cxx_werror_flag" ||
23567          test ! -s conftest.err
23568        } && test -s conftest$ac_exeext &&
23569        $as_test_x conftest$ac_exeext; then
23570   wx_cv_func_va_copy=yes
23571 else
23572   echo "$as_me: failed program was:" >&5
23573 sed 's/^/| /' conftest.$ac_ext >&5
23574
23575         wx_cv_func_va_copy=no
23576
23577 fi
23578
23579 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23580       conftest$ac_exeext conftest.$ac_ext
23581         ac_ext=c
23582 ac_cpp='$CPP $CPPFLAGS'
23583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23586
23587
23588
23589 fi
23590 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
23591 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
23592
23593 if test $wx_cv_func_va_copy = "yes"; then
23594     cat >>confdefs.h <<\_ACEOF
23595 #define HAVE_VA_COPY 1
23596 _ACEOF
23597
23598 else
23599         { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
23600 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
23601 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
23602   echo $ECHO_N "(cached) $ECHO_C" >&6
23603 else
23604
23605             if test "$cross_compiling" = yes; then
23606                   wx_cv_type_va_list_lvalue=yes
23607
23608 else
23609   cat >conftest.$ac_ext <<_ACEOF
23610
23611                 #include <stdarg.h>
23612                 int foo(char *f, ...)
23613                 {
23614                     va_list ap1, ap2;
23615                     va_start(ap1, f);
23616                     ap2 = ap1;
23617                     if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
23618                         return 1;
23619                     va_end(ap2);
23620                     va_end(ap1);
23621                     return 0;
23622                 }
23623                 int main()
23624                 {
23625                     return foo("hi", 17);
23626                 }
23627 _ACEOF
23628 rm -f conftest$ac_exeext
23629 if { (ac_try="$ac_link"
23630 case "(($ac_try" in
23631   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23632   *) ac_try_echo=$ac_try;;
23633 esac
23634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23635   (eval "$ac_link") 2>&5
23636   ac_status=$?
23637   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23638   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23639   { (case "(($ac_try" in
23640   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23641   *) ac_try_echo=$ac_try;;
23642 esac
23643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23644   (eval "$ac_try") 2>&5
23645   ac_status=$?
23646   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23647   (exit $ac_status); }; }; then
23648   wx_cv_type_va_list_lvalue=yes
23649 else
23650   echo "$as_me: program exited with status $ac_status" >&5
23651 echo "$as_me: failed program was:" >&5
23652 sed 's/^/| /' conftest.$ac_ext >&5
23653
23654 ( exit $ac_status )
23655 wx_cv_type_va_list_lvalue=no
23656 fi
23657 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23658 fi
23659
23660
23661
23662
23663 fi
23664 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
23665 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
23666
23667     if test $wx_cv_type_va_list_lvalue != "yes"; then
23668                         cat >>confdefs.h <<\_ACEOF
23669 #define VA_LIST_IS_ARRAY 1
23670 _ACEOF
23671
23672     fi
23673 fi
23674
23675 if test "$wxUSE_VARARG_MACROS" = "yes"; then
23676
23677 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
23678 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
23679 if test "${wx_cv_have_variadic_macros+set}" = set; then
23680   echo $ECHO_N "(cached) $ECHO_C" >&6
23681 else
23682
23683                         ac_ext=cpp
23684 ac_cpp='$CXXCPP $CPPFLAGS'
23685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23688
23689         cat >conftest.$ac_ext <<_ACEOF
23690 /* confdefs.h.  */
23691 _ACEOF
23692 cat confdefs.h >>conftest.$ac_ext
23693 cat >>conftest.$ac_ext <<_ACEOF
23694 /* end confdefs.h.  */
23695
23696                     #include <stdio.h>
23697                     #define test(fmt, ...) printf(fmt, __VA_ARGS__)
23698
23699 int
23700 main ()
23701 {
23702
23703                     test("%s %d %p", "test", 1, 0);
23704
23705
23706   ;
23707   return 0;
23708 }
23709 _ACEOF
23710 rm -f conftest.$ac_objext
23711 if { (ac_try="$ac_compile"
23712 case "(($ac_try" in
23713   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23714   *) ac_try_echo=$ac_try;;
23715 esac
23716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23717   (eval "$ac_compile") 2>conftest.er1
23718   ac_status=$?
23719   grep -v '^ *+' conftest.er1 >conftest.err
23720   rm -f conftest.er1
23721   cat conftest.err >&5
23722   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23723   (exit $ac_status); } && {
23724          test -z "$ac_cxx_werror_flag" ||
23725          test ! -s conftest.err
23726        } && test -s conftest.$ac_objext; then
23727   wx_cv_have_variadic_macros=yes
23728 else
23729   echo "$as_me: failed program was:" >&5
23730 sed 's/^/| /' conftest.$ac_ext >&5
23731
23732         wx_cv_have_variadic_macros=no
23733
23734 fi
23735
23736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23737         ac_ext=c
23738 ac_cpp='$CPP $CPPFLAGS'
23739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23742
23743
23744
23745 fi
23746 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
23747 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
23748
23749 if test $wx_cv_have_variadic_macros = "yes"; then
23750     cat >>confdefs.h <<\_ACEOF
23751 #define HAVE_VARIADIC_MACROS 1
23752 _ACEOF
23753
23754 fi
23755
23756 fi
23757
23758 LARGEFILE_CPPFLAGS=
23759 # Check whether --enable-largefile was given.
23760 if test "${enable_largefile+set}" = set; then
23761   enableval=$enable_largefile;
23762 fi
23763
23764 if test "$enable_largefile" != no; then
23765             wx_largefile=no
23766
23767     { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
23768 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
23769 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
23770   echo $ECHO_N "(cached) $ECHO_C" >&6
23771 else
23772
23773           cat >conftest.$ac_ext <<_ACEOF
23774 /* confdefs.h.  */
23775 _ACEOF
23776 cat confdefs.h >>conftest.$ac_ext
23777 cat >>conftest.$ac_ext <<_ACEOF
23778 /* end confdefs.h.  */
23779 #define _FILE_OFFSET_BITS 64
23780                           #include <sys/types.h>
23781 int
23782 main ()
23783 {
23784 typedef struct {
23785     unsigned int field: sizeof(off_t) == 8;
23786 } wxlf;
23787
23788   ;
23789   return 0;
23790 }
23791 _ACEOF
23792 rm -f conftest.$ac_objext
23793 if { (ac_try="$ac_compile"
23794 case "(($ac_try" in
23795   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23796   *) ac_try_echo=$ac_try;;
23797 esac
23798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23799   (eval "$ac_compile") 2>conftest.er1
23800   ac_status=$?
23801   grep -v '^ *+' conftest.er1 >conftest.err
23802   rm -f conftest.er1
23803   cat conftest.err >&5
23804   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23805   (exit $ac_status); } && {
23806          test -z "$ac_c_werror_flag" ||
23807          test ! -s conftest.err
23808        } && test -s conftest.$ac_objext; then
23809   ac_cv_sys_file_offset_bits=64
23810 else
23811   echo "$as_me: failed program was:" >&5
23812 sed 's/^/| /' conftest.$ac_ext >&5
23813
23814         ac_cv_sys_file_offset_bits=no
23815 fi
23816
23817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23818
23819
23820 fi
23821 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
23822 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
23823
23824     if test "$ac_cv_sys_file_offset_bits" != no; then
23825         wx_largefile=yes
23826         cat >>confdefs.h <<_ACEOF
23827 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
23828 _ACEOF
23829
23830     fi
23831
23832     if test "x$wx_largefile" != "xyes"; then
23833
23834     { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
23835 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
23836 if test "${ac_cv_sys_large_files+set}" = set; then
23837   echo $ECHO_N "(cached) $ECHO_C" >&6
23838 else
23839
23840           cat >conftest.$ac_ext <<_ACEOF
23841 /* confdefs.h.  */
23842 _ACEOF
23843 cat confdefs.h >>conftest.$ac_ext
23844 cat >>conftest.$ac_ext <<_ACEOF
23845 /* end confdefs.h.  */
23846 #define _LARGE_FILES 1
23847                           #include <sys/types.h>
23848 int
23849 main ()
23850 {
23851 typedef struct {
23852     unsigned int field: sizeof(off_t) == 8;
23853 } wxlf;
23854
23855   ;
23856   return 0;
23857 }
23858 _ACEOF
23859 rm -f conftest.$ac_objext
23860 if { (ac_try="$ac_compile"
23861 case "(($ac_try" in
23862   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23863   *) ac_try_echo=$ac_try;;
23864 esac
23865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23866   (eval "$ac_compile") 2>conftest.er1
23867   ac_status=$?
23868   grep -v '^ *+' conftest.er1 >conftest.err
23869   rm -f conftest.er1
23870   cat conftest.err >&5
23871   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23872   (exit $ac_status); } && {
23873          test -z "$ac_c_werror_flag" ||
23874          test ! -s conftest.err
23875        } && test -s conftest.$ac_objext; then
23876   ac_cv_sys_large_files=1
23877 else
23878   echo "$as_me: failed program was:" >&5
23879 sed 's/^/| /' conftest.$ac_ext >&5
23880
23881         ac_cv_sys_large_files=no
23882 fi
23883
23884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23885
23886
23887 fi
23888 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
23889 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
23890
23891     if test "$ac_cv_sys_large_files" != no; then
23892         wx_largefile=yes
23893         cat >>confdefs.h <<_ACEOF
23894 #define _LARGE_FILES $ac_cv_sys_large_files
23895 _ACEOF
23896
23897     fi
23898
23899     fi
23900
23901     { echo "$as_me:$LINENO: checking if large file support is available" >&5
23902 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
23903     if test "x$wx_largefile" = "xyes"; then
23904         cat >>confdefs.h <<\_ACEOF
23905 #define HAVE_LARGEFILE_SUPPORT 1
23906 _ACEOF
23907
23908     fi
23909     { echo "$as_me:$LINENO: result: $wx_largefile" >&5
23910 echo "${ECHO_T}$wx_largefile" >&6; }
23911 fi
23912
23913 if test "$ac_cv_sys_file_offset_bits" = "64"; then
23914     LARGEFILE_CPPFLAGS="-D_FILE_OFFSET_BITS=64"
23915 elif test "$ac_cv_sys_large_files" = 1; then
23916     LARGEFILE_CPPFLAGS="-D_LARGE_FILES"
23917 fi
23918
23919 if test -n "$LARGEFILE_CPPFLAGS"; then
23920     WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
23921
23922                             if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
23923         { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
23924 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
23925 if test "${wx_cv_STDC_EXT_required+set}" = set; then
23926   echo $ECHO_N "(cached) $ECHO_C" >&6
23927 else
23928
23929                 ac_ext=cpp
23930 ac_cpp='$CXXCPP $CPPFLAGS'
23931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23934
23935                 cat >conftest.$ac_ext <<_ACEOF
23936 /* confdefs.h.  */
23937 _ACEOF
23938 cat confdefs.h >>conftest.$ac_ext
23939 cat >>conftest.$ac_ext <<_ACEOF
23940 /* end confdefs.h.  */
23941
23942 int
23943 main ()
23944 {
23945
23946                         #ifndef __STDC_EXT__
23947                             choke me
23948                         #endif
23949
23950   ;
23951   return 0;
23952 }
23953 _ACEOF
23954 rm -f conftest.$ac_objext
23955 if { (ac_try="$ac_compile"
23956 case "(($ac_try" in
23957   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23958   *) ac_try_echo=$ac_try;;
23959 esac
23960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23961   (eval "$ac_compile") 2>conftest.er1
23962   ac_status=$?
23963   grep -v '^ *+' conftest.er1 >conftest.err
23964   rm -f conftest.er1
23965   cat conftest.err >&5
23966   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23967   (exit $ac_status); } && {
23968          test -z "$ac_cxx_werror_flag" ||
23969          test ! -s conftest.err
23970        } && test -s conftest.$ac_objext; then
23971   wx_cv_STDC_EXT_required=no
23972 else
23973   echo "$as_me: failed program was:" >&5
23974 sed 's/^/| /' conftest.$ac_ext >&5
23975
23976         wx_cv_STDC_EXT_required=yes
23977
23978 fi
23979
23980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23981                 ac_ext=c
23982 ac_cpp='$CPP $CPPFLAGS'
23983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23986
23987
23988
23989 fi
23990 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
23991 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
23992         if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
23993             WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
23994         fi
23995     fi
23996 fi
23997
23998 ac_ext=cpp
23999 ac_cpp='$CXXCPP $CPPFLAGS'
24000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24003
24004 old_CPPFLAGS="$CPPFLAGS"
24005 CPPFLAGS="$CPPFLAGS $LARGEFILE_CPPFLAGS"
24006 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
24007 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
24008 if test "${ac_cv_sys_largefile_source+set}" = set; then
24009   echo $ECHO_N "(cached) $ECHO_C" >&6
24010 else
24011   while :; do
24012   cat >conftest.$ac_ext <<_ACEOF
24013 /* confdefs.h.  */
24014 _ACEOF
24015 cat confdefs.h >>conftest.$ac_ext
24016 cat >>conftest.$ac_ext <<_ACEOF
24017 /* end confdefs.h.  */
24018 #include <sys/types.h> /* for off_t */
24019      #include <stdio.h>
24020 int
24021 main ()
24022 {
24023 int (*fp) (FILE *, off_t, int) = fseeko;
24024      return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
24025   ;
24026   return 0;
24027 }
24028 _ACEOF
24029 rm -f conftest.$ac_objext conftest$ac_exeext
24030 if { (ac_try="$ac_link"
24031 case "(($ac_try" in
24032   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24033   *) ac_try_echo=$ac_try;;
24034 esac
24035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24036   (eval "$ac_link") 2>conftest.er1
24037   ac_status=$?
24038   grep -v '^ *+' conftest.er1 >conftest.err
24039   rm -f conftest.er1
24040   cat conftest.err >&5
24041   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24042   (exit $ac_status); } && {
24043          test -z "$ac_cxx_werror_flag" ||
24044          test ! -s conftest.err
24045        } && test -s conftest$ac_exeext &&
24046        $as_test_x conftest$ac_exeext; then
24047   ac_cv_sys_largefile_source=no; break
24048 else
24049   echo "$as_me: failed program was:" >&5
24050 sed 's/^/| /' conftest.$ac_ext >&5
24051
24052
24053 fi
24054
24055 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24056       conftest$ac_exeext conftest.$ac_ext
24057   cat >conftest.$ac_ext <<_ACEOF
24058 /* confdefs.h.  */
24059 _ACEOF
24060 cat confdefs.h >>conftest.$ac_ext
24061 cat >>conftest.$ac_ext <<_ACEOF
24062 /* end confdefs.h.  */
24063 #define _LARGEFILE_SOURCE 1
24064 #include <sys/types.h> /* for off_t */
24065      #include <stdio.h>
24066 int
24067 main ()
24068 {
24069 int (*fp) (FILE *, off_t, int) = fseeko;
24070      return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
24071   ;
24072   return 0;
24073 }
24074 _ACEOF
24075 rm -f conftest.$ac_objext conftest$ac_exeext
24076 if { (ac_try="$ac_link"
24077 case "(($ac_try" in
24078   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24079   *) ac_try_echo=$ac_try;;
24080 esac
24081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24082   (eval "$ac_link") 2>conftest.er1
24083   ac_status=$?
24084   grep -v '^ *+' conftest.er1 >conftest.err
24085   rm -f conftest.er1
24086   cat conftest.err >&5
24087   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24088   (exit $ac_status); } && {
24089          test -z "$ac_cxx_werror_flag" ||
24090          test ! -s conftest.err
24091        } && test -s conftest$ac_exeext &&
24092        $as_test_x conftest$ac_exeext; then
24093   ac_cv_sys_largefile_source=1; break
24094 else
24095   echo "$as_me: failed program was:" >&5
24096 sed 's/^/| /' conftest.$ac_ext >&5
24097
24098
24099 fi
24100
24101 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24102       conftest$ac_exeext conftest.$ac_ext
24103   ac_cv_sys_largefile_source=unknown
24104   break
24105 done
24106 fi
24107 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
24108 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
24109 case $ac_cv_sys_largefile_source in #(
24110   no | unknown) ;;
24111   *)
24112 cat >>confdefs.h <<_ACEOF
24113 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
24114 _ACEOF
24115 ;;
24116 esac
24117 rm -f conftest*
24118
24119 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
24120 # in glibc 2.1.3, but that breaks too many other things.
24121 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
24122 if test $ac_cv_sys_largefile_source != unknown; then
24123
24124 cat >>confdefs.h <<\_ACEOF
24125 #define HAVE_FSEEKO 1
24126 _ACEOF
24127
24128 fi
24129
24130 CPPFLAGS="$old_CPPFLAGS"
24131 ac_ext=c
24132 ac_cpp='$CPP $CPPFLAGS'
24133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24136
24137 if test "$ac_cv_sys_largefile_source" != no; then
24138     WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
24139 fi
24140
24141 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
24142 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
24143 if test "${ac_cv_c_bigendian+set}" = set; then
24144   echo $ECHO_N "(cached) $ECHO_C" >&6
24145 else
24146   ac_cv_c_bigendian=unknown
24147 # See if sys/param.h defines the BYTE_ORDER macro.
24148 cat >conftest.$ac_ext <<_ACEOF
24149 /* confdefs.h.  */
24150 _ACEOF
24151 cat confdefs.h >>conftest.$ac_ext
24152 cat >>conftest.$ac_ext <<_ACEOF
24153 /* end confdefs.h.  */
24154 #include <sys/types.h>
24155 #include <sys/param.h>
24156 int
24157 main ()
24158 {
24159
24160 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
24161  bogus endian macros
24162 #endif
24163   ;
24164   return 0;
24165 }
24166 _ACEOF
24167 rm -f conftest.$ac_objext
24168 if { (ac_try="$ac_compile"
24169 case "(($ac_try" in
24170   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24171   *) ac_try_echo=$ac_try;;
24172 esac
24173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24174   (eval "$ac_compile") 2>conftest.er1
24175   ac_status=$?
24176   grep -v '^ *+' conftest.er1 >conftest.err
24177   rm -f conftest.er1
24178   cat conftest.err >&5
24179   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24180   (exit $ac_status); } && {
24181          test -z "$ac_c_werror_flag" ||
24182          test ! -s conftest.err
24183        } && test -s conftest.$ac_objext; then
24184   # It does; now see whether it defined to BIG_ENDIAN or not.
24185 cat >conftest.$ac_ext <<_ACEOF
24186 /* confdefs.h.  */
24187 _ACEOF
24188 cat confdefs.h >>conftest.$ac_ext
24189 cat >>conftest.$ac_ext <<_ACEOF
24190 /* end confdefs.h.  */
24191 #include <sys/types.h>
24192 #include <sys/param.h>
24193 int
24194 main ()
24195 {
24196
24197 #if BYTE_ORDER != BIG_ENDIAN
24198  not big endian
24199 #endif
24200   ;
24201   return 0;
24202 }
24203 _ACEOF
24204 rm -f conftest.$ac_objext
24205 if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
24212   ac_status=$?
24213   grep -v '^ *+' conftest.er1 >conftest.err
24214   rm -f conftest.er1
24215   cat conftest.err >&5
24216   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24217   (exit $ac_status); } && {
24218          test -z "$ac_c_werror_flag" ||
24219          test ! -s conftest.err
24220        } && test -s conftest.$ac_objext; then
24221   ac_cv_c_bigendian=yes
24222 else
24223   echo "$as_me: failed program was:" >&5
24224 sed 's/^/| /' conftest.$ac_ext >&5
24225
24226         ac_cv_c_bigendian=no
24227 fi
24228
24229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24230 else
24231   echo "$as_me: failed program was:" >&5
24232 sed 's/^/| /' conftest.$ac_ext >&5
24233
24234
24235 fi
24236
24237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24238 if test $ac_cv_c_bigendian = unknown; then
24239 if test "$cross_compiling" = yes; then
24240   ac_cv_c_bigendian=unknown
24241 else
24242   cat >conftest.$ac_ext <<_ACEOF
24243 /* confdefs.h.  */
24244 _ACEOF
24245 cat confdefs.h >>conftest.$ac_ext
24246 cat >>conftest.$ac_ext <<_ACEOF
24247 /* end confdefs.h.  */
24248 main () {
24249   /* Are we little or big endian?  From Harbison&Steele.  */
24250   union
24251   {
24252     long l;
24253     char c[sizeof (long)];
24254   } u;
24255   u.l = 1;
24256   exit (u.c[sizeof (long) - 1] == 1);
24257 }
24258 _ACEOF
24259 rm -f conftest$ac_exeext
24260 if { (ac_try="$ac_link"
24261 case "(($ac_try" in
24262   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24263   *) ac_try_echo=$ac_try;;
24264 esac
24265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24266   (eval "$ac_link") 2>&5
24267   ac_status=$?
24268   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24269   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24270   { (case "(($ac_try" in
24271   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24272   *) ac_try_echo=$ac_try;;
24273 esac
24274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24275   (eval "$ac_try") 2>&5
24276   ac_status=$?
24277   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24278   (exit $ac_status); }; }; then
24279   ac_cv_c_bigendian=no
24280 else
24281   echo "$as_me: program exited with status $ac_status" >&5
24282 echo "$as_me: failed program was:" >&5
24283 sed 's/^/| /' conftest.$ac_ext >&5
24284
24285 ( exit $ac_status )
24286 ac_cv_c_bigendian=yes
24287 fi
24288 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24289 fi
24290
24291
24292 fi
24293 fi
24294 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
24295 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
24296 if test $ac_cv_c_bigendian = unknown; then
24297   { 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
24298 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;}
24299 fi
24300 if test $ac_cv_c_bigendian = yes; then
24301   cat >>confdefs.h <<\_ACEOF
24302 #define WORDS_BIGENDIAN 1
24303 _ACEOF
24304
24305 fi
24306
24307
24308
24309
24310     ac_ext=cpp
24311 ac_cpp='$CXXCPP $CPPFLAGS'
24312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24315
24316
24317
24318 for ac_header in iostream
24319 do
24320 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24321 { echo "$as_me:$LINENO: checking for $ac_header" >&5
24322 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24323 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24324   echo $ECHO_N "(cached) $ECHO_C" >&6
24325 else
24326   cat >conftest.$ac_ext <<_ACEOF
24327 /* confdefs.h.  */
24328 _ACEOF
24329 cat confdefs.h >>conftest.$ac_ext
24330 cat >>conftest.$ac_ext <<_ACEOF
24331 /* end confdefs.h.  */
24332
24333
24334 #include <$ac_header>
24335 _ACEOF
24336 rm -f conftest.$ac_objext
24337 if { (ac_try="$ac_compile"
24338 case "(($ac_try" in
24339   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24340   *) ac_try_echo=$ac_try;;
24341 esac
24342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24343   (eval "$ac_compile") 2>conftest.er1
24344   ac_status=$?
24345   grep -v '^ *+' conftest.er1 >conftest.err
24346   rm -f conftest.er1
24347   cat conftest.err >&5
24348   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24349   (exit $ac_status); } && {
24350          test -z "$ac_cxx_werror_flag" ||
24351          test ! -s conftest.err
24352        } && test -s conftest.$ac_objext; then
24353   eval "$as_ac_Header=yes"
24354 else
24355   echo "$as_me: failed program was:" >&5
24356 sed 's/^/| /' conftest.$ac_ext >&5
24357
24358         eval "$as_ac_Header=no"
24359 fi
24360
24361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24362 fi
24363 ac_res=`eval echo '${'$as_ac_Header'}'`
24364                { echo "$as_me:$LINENO: result: $ac_res" >&5
24365 echo "${ECHO_T}$ac_res" >&6; }
24366 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24367   cat >>confdefs.h <<_ACEOF
24368 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24369 _ACEOF
24370
24371 fi
24372
24373 done
24374
24375
24376     if test "$ac_cv_header_iostream" = "yes" ; then
24377       :
24378     else
24379       cat >>confdefs.h <<\_ACEOF
24380 #define wxUSE_IOSTREAMH 1
24381 _ACEOF
24382
24383     fi
24384
24385     ac_ext=c
24386 ac_cpp='$CPP $CPPFLAGS'
24387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24390
24391
24392
24393
24394   { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
24395 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
24396 if test "${wx_cv_explicit+set}" = set; then
24397   echo $ECHO_N "(cached) $ECHO_C" >&6
24398 else
24399
24400
24401     ac_ext=cpp
24402 ac_cpp='$CXXCPP $CPPFLAGS'
24403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24406
24407
24408             cat >conftest.$ac_ext <<_ACEOF
24409 /* confdefs.h.  */
24410 _ACEOF
24411 cat confdefs.h >>conftest.$ac_ext
24412 cat >>conftest.$ac_ext <<_ACEOF
24413 /* end confdefs.h.  */
24414
24415         class Foo { public: explicit Foo(int) {} };
24416
24417 int
24418 main ()
24419 {
24420
24421         return 0;
24422
24423   ;
24424   return 0;
24425 }
24426 _ACEOF
24427 rm -f conftest.$ac_objext
24428 if { (ac_try="$ac_compile"
24429 case "(($ac_try" in
24430   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24431   *) ac_try_echo=$ac_try;;
24432 esac
24433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24434   (eval "$ac_compile") 2>conftest.er1
24435   ac_status=$?
24436   grep -v '^ *+' conftest.er1 >conftest.err
24437   rm -f conftest.er1
24438   cat conftest.err >&5
24439   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24440   (exit $ac_status); } && {
24441          test -z "$ac_cxx_werror_flag" ||
24442          test ! -s conftest.err
24443        } && test -s conftest.$ac_objext; then
24444
24445         cat >conftest.$ac_ext <<_ACEOF
24446 /* confdefs.h.  */
24447 _ACEOF
24448 cat confdefs.h >>conftest.$ac_ext
24449 cat >>conftest.$ac_ext <<_ACEOF
24450 /* end confdefs.h.  */
24451
24452                 class Foo { public: explicit Foo(int) {} };
24453                 static void TakeFoo(const Foo& foo) { }
24454
24455 int
24456 main ()
24457 {
24458
24459                 TakeFoo(17);
24460                 return 0;
24461
24462   ;
24463   return 0;
24464 }
24465 _ACEOF
24466 rm -f conftest.$ac_objext
24467 if { (ac_try="$ac_compile"
24468 case "(($ac_try" in
24469   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24470   *) ac_try_echo=$ac_try;;
24471 esac
24472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24473   (eval "$ac_compile") 2>conftest.er1
24474   ac_status=$?
24475   grep -v '^ *+' conftest.er1 >conftest.err
24476   rm -f conftest.er1
24477   cat conftest.err >&5
24478   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24479   (exit $ac_status); } && {
24480          test -z "$ac_cxx_werror_flag" ||
24481          test ! -s conftest.err
24482        } && test -s conftest.$ac_objext; then
24483   wx_cv_explicit=no
24484 else
24485   echo "$as_me: failed program was:" >&5
24486 sed 's/^/| /' conftest.$ac_ext >&5
24487
24488         wx_cv_explicit=yes
24489
24490 fi
24491
24492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24493
24494 else
24495   echo "$as_me: failed program was:" >&5
24496 sed 's/^/| /' conftest.$ac_ext >&5
24497
24498         wx_cv_explicit=no
24499
24500 fi
24501
24502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24503
24504     ac_ext=c
24505 ac_cpp='$CPP $CPPFLAGS'
24506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24509
24510
24511 fi
24512 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
24513 echo "${ECHO_T}$wx_cv_explicit" >&6; }
24514
24515   if test "$wx_cv_explicit" = "yes"; then
24516     cat >>confdefs.h <<\_ACEOF
24517 #define HAVE_EXPLICIT 1
24518 _ACEOF
24519
24520   fi
24521
24522
24523 if test "x$SUNCXX" = xyes; then
24524     CXXFLAGS="-features=tmplife $CXXFLAGS"
24525 fi
24526
24527 if test "x$SUNCC" = xyes; then
24528     CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
24529 fi
24530
24531 if test "x$SGICC" = "xyes"; then
24532     CFLAGS="-woff 3970 $CFLAGS"
24533 fi
24534 if test "x$SGICXX" = "xyes"; then
24535     CXXFLAGS="-woff 3970 $CXXFLAGS"
24536 fi
24537
24538 if test "x$HPCC" = "xyes"; then
24539                     CFLAGS="+W 2011,2450 $CFLAGS"
24540 fi
24541 if test "x$HPCXX" = "xyes"; then
24542                             CXXFLAGS="+W 2340,4232 $CXXFLAGS"
24543 fi
24544
24545 if test "x$COMPAQCXX" = "xyes"; then
24546                                 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
24547 fi
24548
24549 ac_ext=cpp
24550 ac_cpp='$CXXCPP $CPPFLAGS'
24551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24554
24555
24556 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
24557     if test "$wxUSE_UNICODE" = "yes"; then
24558         std_string="std::wstring"
24559         char_type="wchar_t"
24560     else
24561         std_string="std::string"
24562         char_type="char"
24563     fi
24564
24565         { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
24566 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
24567 if test "${wx_cv_class_stdstring+set}" = set; then
24568   echo $ECHO_N "(cached) $ECHO_C" >&6
24569 else
24570
24571             cat >conftest.$ac_ext <<_ACEOF
24572 /* confdefs.h.  */
24573 _ACEOF
24574 cat confdefs.h >>conftest.$ac_ext
24575 cat >>conftest.$ac_ext <<_ACEOF
24576 /* end confdefs.h.  */
24577 #include <string>
24578 int
24579 main ()
24580 {
24581 $std_string foo;
24582   ;
24583   return 0;
24584 }
24585 _ACEOF
24586 rm -f conftest.$ac_objext
24587 if { (ac_try="$ac_compile"
24588 case "(($ac_try" in
24589   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24590   *) ac_try_echo=$ac_try;;
24591 esac
24592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24593   (eval "$ac_compile") 2>conftest.er1
24594   ac_status=$?
24595   grep -v '^ *+' conftest.er1 >conftest.err
24596   rm -f conftest.er1
24597   cat conftest.err >&5
24598   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24599   (exit $ac_status); } && {
24600          test -z "$ac_cxx_werror_flag" ||
24601          test ! -s conftest.err
24602        } && test -s conftest.$ac_objext; then
24603   wx_cv_class_stdstring=yes
24604 else
24605   echo "$as_me: failed program was:" >&5
24606 sed 's/^/| /' conftest.$ac_ext >&5
24607
24608         wx_cv_class_stdstring=no
24609
24610 fi
24611
24612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24613
24614
24615 fi
24616 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
24617 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
24618
24619     if test "$wx_cv_class_stdstring" = yes; then
24620         if test "$wxUSE_UNICODE" = "yes"; then
24621             cat >>confdefs.h <<\_ACEOF
24622 #define HAVE_STD_WSTRING 1
24623 _ACEOF
24624
24625         fi
24626                     else
24627         { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
24628 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
24629 if test "${wx_cv_class_stdbasicstring+set}" = set; then
24630   echo $ECHO_N "(cached) $ECHO_C" >&6
24631 else
24632
24633                 cat >conftest.$ac_ext <<_ACEOF
24634 /* confdefs.h.  */
24635 _ACEOF
24636 cat confdefs.h >>conftest.$ac_ext
24637 cat >>conftest.$ac_ext <<_ACEOF
24638 /* end confdefs.h.  */
24639
24640                     #ifdef HAVE_WCHAR_H
24641                     #  ifdef __CYGWIN__
24642                     #    include <stddef.h>
24643                     #  endif
24644                     #  include <wchar.h>
24645                     #endif
24646                     #ifdef HAVE_STDLIB_H
24647                     #  include <stdlib.h>
24648                     #endif
24649                     #include <stdio.h>
24650                     #include <string>
24651
24652 int
24653 main ()
24654 {
24655 std::basic_string<$char_type> foo;
24656                      const $char_type* dummy = foo.c_str();
24657   ;
24658   return 0;
24659 }
24660 _ACEOF
24661 rm -f conftest.$ac_objext
24662 if { (ac_try="$ac_compile"
24663 case "(($ac_try" in
24664   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24665   *) ac_try_echo=$ac_try;;
24666 esac
24667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24668   (eval "$ac_compile") 2>conftest.er1
24669   ac_status=$?
24670   grep -v '^ *+' conftest.er1 >conftest.err
24671   rm -f conftest.er1
24672   cat conftest.err >&5
24673   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24674   (exit $ac_status); } && {
24675          test -z "$ac_cxx_werror_flag" ||
24676          test ! -s conftest.err
24677        } && test -s conftest.$ac_objext; then
24678   wx_cv_class_stdbasicstring=yes
24679 else
24680   echo "$as_me: failed program was:" >&5
24681 sed 's/^/| /' conftest.$ac_ext >&5
24682
24683         wx_cv_class_stdbasicstring=no
24684
24685 fi
24686
24687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24688
24689
24690 fi
24691 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
24692 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
24693
24694         if test "$wx_cv_class_stdbasicstring" != yes; then
24695             if test "$wxUSE_STL" = "yes"; then
24696                 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
24697 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
24698    { (exit 1); exit 1; }; }
24699             elif test "$wxUSE_STD_STRING" = "yes"; then
24700                 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
24701 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
24702    { (exit 1); exit 1; }; }
24703             else
24704                 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
24705 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
24706                 wxUSE_STD_STRING=no
24707             fi
24708         fi
24709     fi
24710 fi
24711
24712 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24713     { echo "$as_me:$LINENO: checking for std::istream" >&5
24714 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
24715 if test "${ac_cv_type_std__istream+set}" = set; then
24716   echo $ECHO_N "(cached) $ECHO_C" >&6
24717 else
24718   cat >conftest.$ac_ext <<_ACEOF
24719 /* confdefs.h.  */
24720 _ACEOF
24721 cat confdefs.h >>conftest.$ac_ext
24722 cat >>conftest.$ac_ext <<_ACEOF
24723 /* end confdefs.h.  */
24724 #include <iostream>
24725
24726 typedef std::istream ac__type_new_;
24727 int
24728 main ()
24729 {
24730 if ((ac__type_new_ *) 0)
24731   return 0;
24732 if (sizeof (ac__type_new_))
24733   return 0;
24734   ;
24735   return 0;
24736 }
24737 _ACEOF
24738 rm -f conftest.$ac_objext
24739 if { (ac_try="$ac_compile"
24740 case "(($ac_try" in
24741   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24742   *) ac_try_echo=$ac_try;;
24743 esac
24744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24745   (eval "$ac_compile") 2>conftest.er1
24746   ac_status=$?
24747   grep -v '^ *+' conftest.er1 >conftest.err
24748   rm -f conftest.er1
24749   cat conftest.err >&5
24750   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24751   (exit $ac_status); } && {
24752          test -z "$ac_cxx_werror_flag" ||
24753          test ! -s conftest.err
24754        } && test -s conftest.$ac_objext; then
24755   ac_cv_type_std__istream=yes
24756 else
24757   echo "$as_me: failed program was:" >&5
24758 sed 's/^/| /' conftest.$ac_ext >&5
24759
24760         ac_cv_type_std__istream=no
24761 fi
24762
24763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24764 fi
24765 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
24766 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
24767 if test $ac_cv_type_std__istream = yes; then
24768
24769 cat >>confdefs.h <<_ACEOF
24770 #define HAVE_STD__ISTREAM 1
24771 _ACEOF
24772
24773
24774 else
24775   wxUSE_STD_IOSTREAM=no
24776 fi
24777 { echo "$as_me:$LINENO: checking for std::ostream" >&5
24778 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
24779 if test "${ac_cv_type_std__ostream+set}" = set; then
24780   echo $ECHO_N "(cached) $ECHO_C" >&6
24781 else
24782   cat >conftest.$ac_ext <<_ACEOF
24783 /* confdefs.h.  */
24784 _ACEOF
24785 cat confdefs.h >>conftest.$ac_ext
24786 cat >>conftest.$ac_ext <<_ACEOF
24787 /* end confdefs.h.  */
24788 #include <iostream>
24789
24790 typedef std::ostream ac__type_new_;
24791 int
24792 main ()
24793 {
24794 if ((ac__type_new_ *) 0)
24795   return 0;
24796 if (sizeof (ac__type_new_))
24797   return 0;
24798   ;
24799   return 0;
24800 }
24801 _ACEOF
24802 rm -f conftest.$ac_objext
24803 if { (ac_try="$ac_compile"
24804 case "(($ac_try" in
24805   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24806   *) ac_try_echo=$ac_try;;
24807 esac
24808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24809   (eval "$ac_compile") 2>conftest.er1
24810   ac_status=$?
24811   grep -v '^ *+' conftest.er1 >conftest.err
24812   rm -f conftest.er1
24813   cat conftest.err >&5
24814   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24815   (exit $ac_status); } && {
24816          test -z "$ac_cxx_werror_flag" ||
24817          test ! -s conftest.err
24818        } && test -s conftest.$ac_objext; then
24819   ac_cv_type_std__ostream=yes
24820 else
24821   echo "$as_me: failed program was:" >&5
24822 sed 's/^/| /' conftest.$ac_ext >&5
24823
24824         ac_cv_type_std__ostream=no
24825 fi
24826
24827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24828 fi
24829 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
24830 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
24831 if test $ac_cv_type_std__ostream = yes; then
24832
24833 cat >>confdefs.h <<_ACEOF
24834 #define HAVE_STD__OSTREAM 1
24835 _ACEOF
24836
24837
24838 else
24839   wxUSE_STD_IOSTREAM=no
24840 fi
24841
24842
24843     if test "$wxUSE_STD_IOSTREAM" != "yes"; then
24844         if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24845             { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
24846 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
24847    { (exit 1); exit 1; }; }
24848         else
24849             { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
24850 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
24851         fi
24852     fi
24853 fi
24854
24855 if test "$wxUSE_STL" = "yes"; then
24856         { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
24857 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
24858 if test "${wx_cv_lib_stl+set}" = set; then
24859   echo $ECHO_N "(cached) $ECHO_C" >&6
24860 else
24861   cat >conftest.$ac_ext <<_ACEOF
24862 /* confdefs.h.  */
24863 _ACEOF
24864 cat confdefs.h >>conftest.$ac_ext
24865 cat >>conftest.$ac_ext <<_ACEOF
24866 /* end confdefs.h.  */
24867 #include <string>
24868             #include <functional>
24869             #include <algorithm>
24870             #include <vector>
24871             #include <list>
24872 int
24873 main ()
24874 {
24875 std::vector<int> moo;
24876              std::list<int> foo;
24877              std::vector<int>::iterator it =
24878                  std::find_if(moo.begin(), moo.end(),
24879                               std::bind2nd(std::less<int>(), 3));
24880   ;
24881   return 0;
24882 }
24883 _ACEOF
24884 rm -f conftest.$ac_objext
24885 if { (ac_try="$ac_compile"
24886 case "(($ac_try" in
24887   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24888   *) ac_try_echo=$ac_try;;
24889 esac
24890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24891   (eval "$ac_compile") 2>conftest.er1
24892   ac_status=$?
24893   grep -v '^ *+' conftest.er1 >conftest.err
24894   rm -f conftest.er1
24895   cat conftest.err >&5
24896   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24897   (exit $ac_status); } && {
24898          test -z "$ac_cxx_werror_flag" ||
24899          test ! -s conftest.err
24900        } && test -s conftest.$ac_objext; then
24901   wx_cv_lib_stl=yes
24902 else
24903   echo "$as_me: failed program was:" >&5
24904 sed 's/^/| /' conftest.$ac_ext >&5
24905
24906         wx_cv_lib_stl=no
24907
24908 fi
24909
24910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24911
24912 fi
24913 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
24914 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
24915
24916     if test "$wx_cv_lib_stl" != yes; then
24917          { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
24918 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
24919    { (exit 1); exit 1; }; }
24920     fi
24921
24922         { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
24923 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
24924 if test "${wx_cv_func_stdstring_compare+set}" = set; then
24925   echo $ECHO_N "(cached) $ECHO_C" >&6
24926 else
24927   cat >conftest.$ac_ext <<_ACEOF
24928 /* confdefs.h.  */
24929 _ACEOF
24930 cat confdefs.h >>conftest.$ac_ext
24931 cat >>conftest.$ac_ext <<_ACEOF
24932 /* end confdefs.h.  */
24933 #include <string>
24934 int
24935 main ()
24936 {
24937 std::string foo, bar;
24938             foo.compare(bar);
24939             foo.compare(1, 1, bar);
24940             foo.compare(1, 1, bar, 1, 1);
24941             foo.compare("");
24942             foo.compare(1, 1, "");
24943             foo.compare(1, 1, "", 2);
24944   ;
24945   return 0;
24946 }
24947 _ACEOF
24948 rm -f conftest.$ac_objext
24949 if { (ac_try="$ac_compile"
24950 case "(($ac_try" in
24951   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24952   *) ac_try_echo=$ac_try;;
24953 esac
24954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24955   (eval "$ac_compile") 2>conftest.er1
24956   ac_status=$?
24957   grep -v '^ *+' conftest.er1 >conftest.err
24958   rm -f conftest.er1
24959   cat conftest.err >&5
24960   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24961   (exit $ac_status); } && {
24962          test -z "$ac_cxx_werror_flag" ||
24963          test ! -s conftest.err
24964        } && test -s conftest.$ac_objext; then
24965   wx_cv_func_stdstring_compare=yes
24966 else
24967   echo "$as_me: failed program was:" >&5
24968 sed 's/^/| /' conftest.$ac_ext >&5
24969
24970         wx_cv_func_stdstring_compare=no
24971
24972 fi
24973
24974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24975
24976 fi
24977 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
24978 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
24979
24980     if test "$wx_cv_func_stdstring_compare" = yes; then
24981         cat >>confdefs.h <<\_ACEOF
24982 #define HAVE_STD_STRING_COMPARE 1
24983 _ACEOF
24984
24985     fi
24986
24987     if test "$wx_cv_class_gnuhashmapset" = yes; then
24988          cat >>confdefs.h <<\_ACEOF
24989 #define HAVE_EXT_HASH_MAP 1
24990 _ACEOF
24991
24992          cat >>confdefs.h <<\_ACEOF
24993 #define HAVE_GNU_CXX_HASH_MAP 1
24994 _ACEOF
24995
24996     fi
24997
24998     { echo "$as_me:$LINENO: checking for unordered_map" >&5
24999 echo $ECHO_N "checking for unordered_map... $ECHO_C" >&6; }
25000 if test "${ac_cv_header_unordered_map+set}" = set; then
25001   echo $ECHO_N "(cached) $ECHO_C" >&6
25002 else
25003   cat >conftest.$ac_ext <<_ACEOF
25004 /* confdefs.h.  */
25005 _ACEOF
25006 cat confdefs.h >>conftest.$ac_ext
25007 cat >>conftest.$ac_ext <<_ACEOF
25008 /* end confdefs.h.  */
25009
25010
25011
25012 #include <unordered_map>
25013 _ACEOF
25014 rm -f conftest.$ac_objext
25015 if { (ac_try="$ac_compile"
25016 case "(($ac_try" in
25017   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25018   *) ac_try_echo=$ac_try;;
25019 esac
25020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25021   (eval "$ac_compile") 2>conftest.er1
25022   ac_status=$?
25023   grep -v '^ *+' conftest.er1 >conftest.err
25024   rm -f conftest.er1
25025   cat conftest.err >&5
25026   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25027   (exit $ac_status); } && {
25028          test -z "$ac_cxx_werror_flag" ||
25029          test ! -s conftest.err
25030        } && test -s conftest.$ac_objext; then
25031   ac_cv_header_unordered_map=yes
25032 else
25033   echo "$as_me: failed program was:" >&5
25034 sed 's/^/| /' conftest.$ac_ext >&5
25035
25036         ac_cv_header_unordered_map=no
25037 fi
25038
25039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25040 fi
25041 { echo "$as_me:$LINENO: result: $ac_cv_header_unordered_map" >&5
25042 echo "${ECHO_T}$ac_cv_header_unordered_map" >&6; }
25043 if test $ac_cv_header_unordered_map = yes; then
25044   { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std" >&5
25045 echo $ECHO_N "checking for unordered_map and unordered_set in std... $ECHO_C" >&6; }
25046 if test "${wx_cv_class_stdunorderedmapset+set}" = set; then
25047   echo $ECHO_N "(cached) $ECHO_C" >&6
25048 else
25049   cat >conftest.$ac_ext <<_ACEOF
25050 /* confdefs.h.  */
25051 _ACEOF
25052 cat confdefs.h >>conftest.$ac_ext
25053 cat >>conftest.$ac_ext <<_ACEOF
25054 /* end confdefs.h.  */
25055 #include <unordered_map>
25056                 #include <unordered_set>
25057 int
25058 main ()
25059 {
25060 std::unordered_map<double*, char*> test1;
25061                  std::unordered_set<char*> test2;
25062   ;
25063   return 0;
25064 }
25065 _ACEOF
25066 rm -f conftest.$ac_objext
25067 if { (ac_try="$ac_compile"
25068 case "(($ac_try" in
25069   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25070   *) ac_try_echo=$ac_try;;
25071 esac
25072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25073   (eval "$ac_compile") 2>conftest.er1
25074   ac_status=$?
25075   grep -v '^ *+' conftest.er1 >conftest.err
25076   rm -f conftest.er1
25077   cat conftest.err >&5
25078   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25079   (exit $ac_status); } && {
25080          test -z "$ac_cxx_werror_flag" ||
25081          test ! -s conftest.err
25082        } && test -s conftest.$ac_objext; then
25083   wx_cv_class_stdunorderedmapset=yes
25084 else
25085   echo "$as_me: failed program was:" >&5
25086 sed 's/^/| /' conftest.$ac_ext >&5
25087
25088         wx_cv_class_stdunorderedmapset=no
25089 fi
25090
25091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25092
25093
25094 fi
25095 { echo "$as_me:$LINENO: result: $wx_cv_class_stdunorderedmapset" >&5
25096 echo "${ECHO_T}$wx_cv_class_stdunorderedmapset" >&6; }
25097 fi
25098
25099
25100
25101     if test "$wx_cv_class_stdunorderedmapset" = yes; then
25102          cat >>confdefs.h <<\_ACEOF
25103 #define HAVE_STD_UNORDERED_MAP 1
25104 _ACEOF
25105
25106          cat >>confdefs.h <<\_ACEOF
25107 #define HAVE_STD_UNORDERED_SET 1
25108 _ACEOF
25109
25110     else
25111         { echo "$as_me:$LINENO: checking for tr1/unordered_map" >&5
25112 echo $ECHO_N "checking for tr1/unordered_map... $ECHO_C" >&6; }
25113 if test "${ac_cv_header_tr1_unordered_map+set}" = set; then
25114   echo $ECHO_N "(cached) $ECHO_C" >&6
25115 else
25116   cat >conftest.$ac_ext <<_ACEOF
25117 /* confdefs.h.  */
25118 _ACEOF
25119 cat confdefs.h >>conftest.$ac_ext
25120 cat >>conftest.$ac_ext <<_ACEOF
25121 /* end confdefs.h.  */
25122
25123
25124
25125 #include <tr1/unordered_map>
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   ac_cv_header_tr1_unordered_map=yes
25145 else
25146   echo "$as_me: failed program was:" >&5
25147 sed 's/^/| /' conftest.$ac_ext >&5
25148
25149         ac_cv_header_tr1_unordered_map=no
25150 fi
25151
25152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25153 fi
25154 { echo "$as_me:$LINENO: result: $ac_cv_header_tr1_unordered_map" >&5
25155 echo "${ECHO_T}$ac_cv_header_tr1_unordered_map" >&6; }
25156 if test $ac_cv_header_tr1_unordered_map = yes; then
25157   { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std::tr1" >&5
25158 echo $ECHO_N "checking for unordered_map and unordered_set in std::tr1... $ECHO_C" >&6; }
25159 if test "${wx_cv_class_tr1unorderedmapset+set}" = set; then
25160   echo $ECHO_N "(cached) $ECHO_C" >&6
25161 else
25162   cat >conftest.$ac_ext <<_ACEOF
25163 /* confdefs.h.  */
25164 _ACEOF
25165 cat confdefs.h >>conftest.$ac_ext
25166 cat >>conftest.$ac_ext <<_ACEOF
25167 /* end confdefs.h.  */
25168 #include <tr1/unordered_map>
25169                     #include <tr1/unordered_set>
25170 int
25171 main ()
25172 {
25173 std::tr1::unordered_map<double*, char*> test1;
25174                      std::tr1::unordered_set<char*> test2;
25175             #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
25176             #error can't use unordered_{map,set} with gcc-4.[01]: http://gcc.gnu.org/PR24389
25177             #endif
25178   ;
25179   return 0;
25180 }
25181 _ACEOF
25182 rm -f conftest.$ac_objext
25183 if { (ac_try="$ac_compile"
25184 case "(($ac_try" in
25185   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25186   *) ac_try_echo=$ac_try;;
25187 esac
25188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25189   (eval "$ac_compile") 2>conftest.er1
25190   ac_status=$?
25191   grep -v '^ *+' conftest.er1 >conftest.err
25192   rm -f conftest.er1
25193   cat conftest.err >&5
25194   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25195   (exit $ac_status); } && {
25196          test -z "$ac_cxx_werror_flag" ||
25197          test ! -s conftest.err
25198        } && test -s conftest.$ac_objext; then
25199   wx_cv_class_tr1unorderedmapset=yes
25200 else
25201   echo "$as_me: failed program was:" >&5
25202 sed 's/^/| /' conftest.$ac_ext >&5
25203
25204         wx_cv_class_tr1unorderedmapset=no
25205 fi
25206
25207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25208
25209
25210 fi
25211 { echo "$as_me:$LINENO: result: $wx_cv_class_tr1unorderedmapset" >&5
25212 echo "${ECHO_T}$wx_cv_class_tr1unorderedmapset" >&6; }
25213 fi
25214
25215
25216
25217         if test "$wx_cv_class_tr1unorderedmapset" = yes; then
25218             cat >>confdefs.h <<\_ACEOF
25219 #define HAVE_TR1_UNORDERED_MAP 1
25220 _ACEOF
25221
25222             cat >>confdefs.h <<\_ACEOF
25223 #define HAVE_TR1_UNORDERED_SET 1
25224 _ACEOF
25225
25226         else
25227                         { echo "$as_me:$LINENO: checking for hash_map" >&5
25228 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
25229 if test "${ac_cv_header_hash_map+set}" = set; then
25230   echo $ECHO_N "(cached) $ECHO_C" >&6
25231 else
25232   cat >conftest.$ac_ext <<_ACEOF
25233 /* confdefs.h.  */
25234 _ACEOF
25235 cat confdefs.h >>conftest.$ac_ext
25236 cat >>conftest.$ac_ext <<_ACEOF
25237 /* end confdefs.h.  */
25238
25239
25240
25241 #include <hash_map>
25242 _ACEOF
25243 rm -f conftest.$ac_objext
25244 if { (ac_try="$ac_compile"
25245 case "(($ac_try" in
25246   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25247   *) ac_try_echo=$ac_try;;
25248 esac
25249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25250   (eval "$ac_compile") 2>conftest.er1
25251   ac_status=$?
25252   grep -v '^ *+' conftest.er1 >conftest.err
25253   rm -f conftest.er1
25254   cat conftest.err >&5
25255   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25256   (exit $ac_status); } && {
25257          test -z "$ac_cxx_werror_flag" ||
25258          test ! -s conftest.err
25259        } && test -s conftest.$ac_objext; then
25260   ac_cv_header_hash_map=yes
25261 else
25262   echo "$as_me: failed program was:" >&5
25263 sed 's/^/| /' conftest.$ac_ext >&5
25264
25265         ac_cv_header_hash_map=no
25266 fi
25267
25268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25269 fi
25270 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
25271 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
25272 if test $ac_cv_header_hash_map = yes; then
25273   { echo "$as_me:$LINENO: checking for std::hash_map and hash_set" >&5
25274 echo $ECHO_N "checking for std::hash_map and hash_set... $ECHO_C" >&6; }
25275 if test "${wx_cv_class_stdhashmapset+set}" = set; then
25276   echo $ECHO_N "(cached) $ECHO_C" >&6
25277 else
25278   cat >conftest.$ac_ext <<_ACEOF
25279 /* confdefs.h.  */
25280 _ACEOF
25281 cat confdefs.h >>conftest.$ac_ext
25282 cat >>conftest.$ac_ext <<_ACEOF
25283 /* end confdefs.h.  */
25284 #include <hash_map>
25285                         #include <hash_set>
25286 int
25287 main ()
25288 {
25289 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
25290                          std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
25291   ;
25292   return 0;
25293 }
25294 _ACEOF
25295 rm -f conftest.$ac_objext
25296 if { (ac_try="$ac_compile"
25297 case "(($ac_try" in
25298   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25299   *) ac_try_echo=$ac_try;;
25300 esac
25301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25302   (eval "$ac_compile") 2>conftest.er1
25303   ac_status=$?
25304   grep -v '^ *+' conftest.er1 >conftest.err
25305   rm -f conftest.er1
25306   cat conftest.err >&5
25307   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25308   (exit $ac_status); } && {
25309          test -z "$ac_cxx_werror_flag" ||
25310          test ! -s conftest.err
25311        } && test -s conftest.$ac_objext; then
25312   wx_cv_class_stdhashmapset=yes
25313 else
25314   echo "$as_me: failed program was:" >&5
25315 sed 's/^/| /' conftest.$ac_ext >&5
25316
25317         wx_cv_class_stdhashmapset=no
25318 fi
25319
25320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25321
25322
25323 fi
25324 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
25325 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
25326 fi
25327
25328
25329
25330             if test "$wx_cv_class_stdhashmapset" = yes; then
25331                 cat >>confdefs.h <<\_ACEOF
25332 #define HAVE_HASH_MAP 1
25333 _ACEOF
25334
25335                 cat >>confdefs.h <<\_ACEOF
25336 #define HAVE_STD_HASH_MAP 1
25337 _ACEOF
25338
25339             fi
25340
25341             { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
25342 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
25343 if test "${ac_cv_header_ext_hash_map+set}" = set; then
25344   echo $ECHO_N "(cached) $ECHO_C" >&6
25345 else
25346   cat >conftest.$ac_ext <<_ACEOF
25347 /* confdefs.h.  */
25348 _ACEOF
25349 cat confdefs.h >>conftest.$ac_ext
25350 cat >>conftest.$ac_ext <<_ACEOF
25351 /* end confdefs.h.  */
25352
25353
25354
25355 #include <ext/hash_map>
25356 _ACEOF
25357 rm -f conftest.$ac_objext
25358 if { (ac_try="$ac_compile"
25359 case "(($ac_try" in
25360   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25361   *) ac_try_echo=$ac_try;;
25362 esac
25363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25364   (eval "$ac_compile") 2>conftest.er1
25365   ac_status=$?
25366   grep -v '^ *+' conftest.er1 >conftest.err
25367   rm -f conftest.er1
25368   cat conftest.err >&5
25369   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25370   (exit $ac_status); } && {
25371          test -z "$ac_cxx_werror_flag" ||
25372          test ! -s conftest.err
25373        } && test -s conftest.$ac_objext; then
25374   ac_cv_header_ext_hash_map=yes
25375 else
25376   echo "$as_me: failed program was:" >&5
25377 sed 's/^/| /' conftest.$ac_ext >&5
25378
25379         ac_cv_header_ext_hash_map=no
25380 fi
25381
25382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25383 fi
25384 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
25385 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
25386 if test $ac_cv_header_ext_hash_map = yes; then
25387   { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
25388 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
25389 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
25390   echo $ECHO_N "(cached) $ECHO_C" >&6
25391 else
25392   cat >conftest.$ac_ext <<_ACEOF
25393 /* confdefs.h.  */
25394 _ACEOF
25395 cat confdefs.h >>conftest.$ac_ext
25396 cat >>conftest.$ac_ext <<_ACEOF
25397 /* end confdefs.h.  */
25398 #include <ext/hash_map>
25399                         #include <ext/hash_set>
25400 int
25401 main ()
25402 {
25403 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
25404                          __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
25405   ;
25406   return 0;
25407 }
25408 _ACEOF
25409 rm -f conftest.$ac_objext
25410 if { (ac_try="$ac_compile"
25411 case "(($ac_try" in
25412   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25413   *) ac_try_echo=$ac_try;;
25414 esac
25415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25416   (eval "$ac_compile") 2>conftest.er1
25417   ac_status=$?
25418   grep -v '^ *+' conftest.er1 >conftest.err
25419   rm -f conftest.er1
25420   cat conftest.err >&5
25421   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25422   (exit $ac_status); } && {
25423          test -z "$ac_cxx_werror_flag" ||
25424          test ! -s conftest.err
25425        } && test -s conftest.$ac_objext; then
25426   wx_cv_class_gnuhashmapset=yes
25427 else
25428   echo "$as_me: failed program was:" >&5
25429 sed 's/^/| /' conftest.$ac_ext >&5
25430
25431         wx_cv_class_gnuhashmapset=no
25432 fi
25433
25434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25435
25436
25437 fi
25438 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
25439 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
25440 fi
25441
25442
25443
25444         fi
25445     fi
25446 fi
25447
25448
25449
25450   if test -n "$GCC"; then
25451     { echo "$as_me:$LINENO: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
25452 echo $ECHO_N "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... $ECHO_C" >&6; }
25453     if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
25454   echo $ECHO_N "(cached) $ECHO_C" >&6
25455 else
25456
25457       cat >conftest.$ac_ext <<_ACEOF
25458 /* confdefs.h.  */
25459 _ACEOF
25460 cat confdefs.h >>conftest.$ac_ext
25461 cat >>conftest.$ac_ext <<_ACEOF
25462 /* end confdefs.h.  */
25463
25464 int
25465 main ()
25466 {
25467
25468           unsigned int value=0;
25469           /* wxAtomicInc doesn't use return value here */
25470           __sync_fetch_and_add(&value, 2);
25471           __sync_sub_and_fetch(&value, 1);
25472           /* but wxAtomicDec does, so mimic that: */
25473           unsigned int r2 = __sync_sub_and_fetch(&value, 1);
25474
25475   ;
25476   return 0;
25477 }
25478 _ACEOF
25479 rm -f conftest.$ac_objext conftest$ac_exeext
25480 if { (ac_try="$ac_link"
25481 case "(($ac_try" in
25482   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25483   *) ac_try_echo=$ac_try;;
25484 esac
25485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25486   (eval "$ac_link") 2>conftest.er1
25487   ac_status=$?
25488   grep -v '^ *+' conftest.er1 >conftest.err
25489   rm -f conftest.er1
25490   cat conftest.err >&5
25491   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25492   (exit $ac_status); } && {
25493          test -z "$ac_cxx_werror_flag" ||
25494          test ! -s conftest.err
25495        } && test -s conftest$ac_exeext &&
25496        $as_test_x conftest$ac_exeext; then
25497   wx_cv_cc_gcc_atomic_builtins=yes
25498 else
25499   echo "$as_me: failed program was:" >&5
25500 sed 's/^/| /' conftest.$ac_ext >&5
25501
25502         wx_cv_cc_gcc_atomic_builtins=no
25503 fi
25504
25505 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25506       conftest$ac_exeext conftest.$ac_ext
25507
25508 fi
25509
25510     { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
25511 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
25512     if test $wx_cv_cc_gcc_atomic_builtins = yes; then
25513       cat >>confdefs.h <<\_ACEOF
25514 #define HAVE_GCC_ATOMIC_BUILTINS 1
25515 _ACEOF
25516
25517     fi
25518   fi
25519
25520
25521 ac_ext=c
25522 ac_cpp='$CPP $CPPFLAGS'
25523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25526
25527
25528
25529 SEARCH_INCLUDE="\
25530     /usr/local/include        \
25531     /usr/local/X11/include    \
25532     /usr/local/include/X11    \
25533     /usr/local/X11R7/include  \
25534     /usr/local/X11R6/include  \
25535     /usr/local/include/X11R7  \
25536     /usr/local/include/X11R6  \
25537                               \
25538     /usr/Motif-2.1/include    \
25539     /usr/Motif-1.2/include    \
25540     /usr/include/Motif1.2     \
25541                               \
25542     /usr/dt/include           \
25543     /usr/openwin/include      \
25544                               \
25545     /usr/include/Xm           \
25546                               \
25547     /usr/X11R7/include        \
25548     /usr/X11R6/include        \
25549     /usr/X11R6.4/include      \
25550                               \
25551     /usr/include/X11R7        \
25552     /usr/include/X11R6        \
25553                               \
25554     /usr/X11/include          \
25555     /usr/include/X11          \
25556                               \
25557     /usr/XFree86/include/X11  \
25558     /usr/pkg/include          \
25559                               \
25560     /usr/local/X1R5/include  \
25561     /usr/local/include/X11R5  \
25562     /usr/X11R5/include        \
25563     /usr/include/X11R5        \
25564                               \
25565     /usr/local/X11R4/include  \
25566     /usr/local/include/X11R4  \
25567     /usr/X11R4/include        \
25568     /usr/include/X11R4        \
25569                               \
25570     /usr/openwin/share/include"
25571
25572 { echo "$as_me:$LINENO: checking for libraries directory" >&5
25573 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
25574
25575 case "${host}" in
25576     *-*-irix6* )
25577         if test "${wx_cv_std_libpath+set}" = set; then
25578   echo $ECHO_N "(cached) $ECHO_C" >&6
25579 else
25580
25581                 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
25582                     for e in a so sl dylib dll.a; do
25583                         libc="$d/libc.$e"
25584                         if test -f $libc; then
25585                             save_LIBS="$LIBS"
25586                             LIBS="$libc"
25587                             cat >conftest.$ac_ext <<_ACEOF
25588 int main() { return 0; }
25589 _ACEOF
25590 rm -f conftest.$ac_objext conftest$ac_exeext
25591 if { (ac_try="$ac_link"
25592 case "(($ac_try" in
25593   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25594   *) ac_try_echo=$ac_try;;
25595 esac
25596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25597   (eval "$ac_link") 2>conftest.er1
25598   ac_status=$?
25599   grep -v '^ *+' conftest.er1 >conftest.err
25600   rm -f conftest.er1
25601   cat conftest.err >&5
25602   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25603   (exit $ac_status); } && {
25604          test -z "$ac_c_werror_flag" ||
25605          test ! -s conftest.err
25606        } && test -s conftest$ac_exeext &&
25607        $as_test_x conftest$ac_exeext; then
25608   wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
25609 else
25610   echo "$as_me: failed program was:" >&5
25611 sed 's/^/| /' conftest.$ac_ext >&5
25612
25613
25614 fi
25615
25616 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25617       conftest$ac_exeext conftest.$ac_ext
25618                             LIBS="$save_LIBS"
25619                             if test "x$wx_cv_std_libpath" != "x"; then
25620                                 break 2
25621                             fi
25622                         fi
25623                     done
25624                 done
25625                 if test "x$wx_cv_std_libpath" = "x"; then
25626                     wx_cv_std_libpath="lib"
25627                 fi
25628
25629
25630 fi
25631
25632         ;;
25633
25634     *-*-solaris2* )
25635                 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
25636             wx_cv_std_libpath="lib/64"
25637         else
25638             wx_cv_std_libpath="lib"
25639         fi
25640         ;;
25641
25642     *-*-linux* )
25643                 if test "$ac_cv_sizeof_void_p" = 8 -a \
25644                 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
25645             wx_cv_std_libpath="lib64"
25646         else
25647             wx_cv_std_libpath="lib"
25648         fi
25649         ;;
25650
25651     *)
25652         wx_cv_std_libpath="lib";
25653         ;;
25654 esac
25655
25656 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
25657 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
25658
25659 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
25660
25661 if test "$build" != "$host" -a "$GCC" = yes; then
25662                     if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
25663         cross_root=`dirname $cross_root`
25664         cross_root=`dirname $cross_root`
25665
25666                         SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25667         SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25668         SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
25669
25670                 if test -z "$PKG_CONFIG_PATH"; then
25671             PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
25672             export PKG_CONFIG_PATH
25673         fi
25674
25675                                 if test -z "$x_includes" -o "$x_includes" = NONE; then
25676
25677 ac_find_includes=
25678 for ac_dir in $SEARCH_INCLUDE /usr/include;
25679   do
25680     if test -f "$ac_dir/X11/Intrinsic.h"; then
25681       ac_find_includes=$ac_dir
25682       break
25683     fi
25684   done
25685
25686             x_includes=$ac_find_includes
25687         fi
25688         if test -z "$x_libraries" -o "$x_libraries" = NONE; then
25689
25690   ac_find_libraries=
25691   for ac_dir in $SEARCH_LIB;
25692   do
25693     for ac_extension in a so sl dylib dll.a; do
25694       if test -f "$ac_dir/libXt.$ac_extension"; then
25695         ac_find_libraries=$ac_dir
25696         break 2
25697       fi
25698     done
25699   done
25700
25701             x_libraries=$ac_find_libraries
25702         fi
25703     fi
25704 fi
25705
25706
25707 cat >confcache <<\_ACEOF
25708 # This file is a shell script that caches the results of configure
25709 # tests run on this system so they can be shared between configure
25710 # scripts and configure runs, see configure's option --config-cache.
25711 # It is not useful on other systems.  If it contains results you don't
25712 # want to keep, you may remove or edit it.
25713 #
25714 # config.status only pays attention to the cache file if you give it
25715 # the --recheck option to rerun configure.
25716 #
25717 # `ac_cv_env_foo' variables (set or unset) will be overridden when
25718 # loading this file, other *unset* `ac_cv_foo' will be assigned the
25719 # following values.
25720
25721 _ACEOF
25722
25723 # The following way of writing the cache mishandles newlines in values,
25724 # but we know of no workaround that is simple, portable, and efficient.
25725 # So, we kill variables containing newlines.
25726 # Ultrix sh set writes to stderr and can't be redirected directly,
25727 # and sets the high bit in the cache file unless we assign to the vars.
25728 (
25729   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25730     eval ac_val=\$$ac_var
25731     case $ac_val in #(
25732     *${as_nl}*)
25733       case $ac_var in #(
25734       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
25735 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
25736       esac
25737       case $ac_var in #(
25738       _ | IFS | as_nl) ;; #(
25739       *) $as_unset $ac_var ;;
25740       esac ;;
25741     esac
25742   done
25743
25744   (set) 2>&1 |
25745     case $as_nl`(ac_space=' '; set) 2>&1` in #(
25746     *${as_nl}ac_space=\ *)
25747       # `set' does not quote correctly, so add quotes (double-quote
25748       # substitution turns \\\\ into \\, and sed turns \\ into \).
25749       sed -n \
25750         "s/'/'\\\\''/g;
25751           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25752       ;; #(
25753     *)
25754       # `set' quotes correctly as required by POSIX, so do not add quotes.
25755       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25756       ;;
25757     esac |
25758     sort
25759 ) |
25760   sed '
25761      /^ac_cv_env_/b end
25762      t clear
25763      :clear
25764      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25765      t end
25766      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25767      :end' >>confcache
25768 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
25769   if test -w "$cache_file"; then
25770     test "x$cache_file" != "x/dev/null" &&
25771       { echo "$as_me:$LINENO: updating cache $cache_file" >&5
25772 echo "$as_me: updating cache $cache_file" >&6;}
25773     cat confcache >$cache_file
25774   else
25775     { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
25776 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25777   fi
25778 fi
25779 rm -f confcache
25780
25781 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
25782     { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
25783 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
25784 if test "${wx_cv_lib_glibc21+set}" = set; then
25785   echo $ECHO_N "(cached) $ECHO_C" >&6
25786 else
25787
25788         cat >conftest.$ac_ext <<_ACEOF
25789 /* confdefs.h.  */
25790 _ACEOF
25791 cat confdefs.h >>conftest.$ac_ext
25792 cat >>conftest.$ac_ext <<_ACEOF
25793 /* end confdefs.h.  */
25794 #include <features.h>
25795 int
25796 main ()
25797 {
25798
25799                 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
25800                 not glibc 2.1
25801                 #endif
25802
25803   ;
25804   return 0;
25805 }
25806 _ACEOF
25807 rm -f conftest.$ac_objext
25808 if { (ac_try="$ac_compile"
25809 case "(($ac_try" in
25810   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25811   *) ac_try_echo=$ac_try;;
25812 esac
25813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25814   (eval "$ac_compile") 2>conftest.er1
25815   ac_status=$?
25816   grep -v '^ *+' conftest.er1 >conftest.err
25817   rm -f conftest.er1
25818   cat conftest.err >&5
25819   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25820   (exit $ac_status); } && {
25821          test -z "$ac_c_werror_flag" ||
25822          test ! -s conftest.err
25823        } && test -s conftest.$ac_objext; then
25824
25825                 wx_cv_lib_glibc21=yes
25826
25827 else
25828   echo "$as_me: failed program was:" >&5
25829 sed 's/^/| /' conftest.$ac_ext >&5
25830
25831
25832                 wx_cv_lib_glibc21=no
25833
25834
25835 fi
25836
25837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25838
25839 fi
25840 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
25841 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
25842     if test "$wx_cv_lib_glibc21" = "yes"; then
25843         cat >>confdefs.h <<\_ACEOF
25844 #define wxHAVE_GLIBC2 1
25845 _ACEOF
25846
25847     fi
25848 fi
25849
25850 if test "x$wx_cv_lib_glibc21" = "xyes"; then
25851     if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
25852         cat >>confdefs.h <<\_ACEOF
25853 #define _GNU_SOURCE 1
25854 _ACEOF
25855
25856     fi
25857 fi
25858
25859 have_cos=0
25860 have_floor=0
25861
25862 for ac_func in cos
25863 do
25864 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25865 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25866 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25867 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25868   echo $ECHO_N "(cached) $ECHO_C" >&6
25869 else
25870   cat >conftest.$ac_ext <<_ACEOF
25871 /* confdefs.h.  */
25872 _ACEOF
25873 cat confdefs.h >>conftest.$ac_ext
25874 cat >>conftest.$ac_ext <<_ACEOF
25875 /* end confdefs.h.  */
25876 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25877    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
25878 #define $ac_func innocuous_$ac_func
25879
25880 /* System header to define __stub macros and hopefully few prototypes,
25881     which can conflict with char $ac_func (); below.
25882     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25883     <limits.h> exists even on freestanding compilers.  */
25884
25885 #ifdef __STDC__
25886 # include <limits.h>
25887 #else
25888 # include <assert.h>
25889 #endif
25890
25891 #undef $ac_func
25892
25893 /* Override any GCC internal prototype to avoid an error.
25894    Use char because int might match the return type of a GCC
25895    builtin and then its argument prototype would still apply.  */
25896 #ifdef __cplusplus
25897 extern "C"
25898 #endif
25899 char $ac_func ();
25900 /* The GNU C library defines this for functions which it implements
25901     to always fail with ENOSYS.  Some functions are actually named
25902     something starting with __ and the normal name is an alias.  */
25903 #if defined __stub_$ac_func || defined __stub___$ac_func
25904 choke me
25905 #endif
25906
25907 int
25908 main ()
25909 {
25910 return $ac_func ();
25911   ;
25912   return 0;
25913 }
25914 _ACEOF
25915 rm -f conftest.$ac_objext conftest$ac_exeext
25916 if { (ac_try="$ac_link"
25917 case "(($ac_try" in
25918   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25919   *) ac_try_echo=$ac_try;;
25920 esac
25921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25922   (eval "$ac_link") 2>conftest.er1
25923   ac_status=$?
25924   grep -v '^ *+' conftest.er1 >conftest.err
25925   rm -f conftest.er1
25926   cat conftest.err >&5
25927   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25928   (exit $ac_status); } && {
25929          test -z "$ac_c_werror_flag" ||
25930          test ! -s conftest.err
25931        } && test -s conftest$ac_exeext &&
25932        $as_test_x conftest$ac_exeext; then
25933   eval "$as_ac_var=yes"
25934 else
25935   echo "$as_me: failed program was:" >&5
25936 sed 's/^/| /' conftest.$ac_ext >&5
25937
25938         eval "$as_ac_var=no"
25939 fi
25940
25941 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25942       conftest$ac_exeext conftest.$ac_ext
25943 fi
25944 ac_res=`eval echo '${'$as_ac_var'}'`
25945                { echo "$as_me:$LINENO: result: $ac_res" >&5
25946 echo "${ECHO_T}$ac_res" >&6; }
25947 if test `eval echo '${'$as_ac_var'}'` = yes; then
25948   cat >>confdefs.h <<_ACEOF
25949 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25950 _ACEOF
25951  have_cos=1
25952 fi
25953 done
25954
25955
25956 for ac_func in floor
25957 do
25958 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25959 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25960 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25961 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25962   echo $ECHO_N "(cached) $ECHO_C" >&6
25963 else
25964   cat >conftest.$ac_ext <<_ACEOF
25965 /* confdefs.h.  */
25966 _ACEOF
25967 cat confdefs.h >>conftest.$ac_ext
25968 cat >>conftest.$ac_ext <<_ACEOF
25969 /* end confdefs.h.  */
25970 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25971    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
25972 #define $ac_func innocuous_$ac_func
25973
25974 /* System header to define __stub macros and hopefully few prototypes,
25975     which can conflict with char $ac_func (); below.
25976     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25977     <limits.h> exists even on freestanding compilers.  */
25978
25979 #ifdef __STDC__
25980 # include <limits.h>
25981 #else
25982 # include <assert.h>
25983 #endif
25984
25985 #undef $ac_func
25986
25987 /* Override any GCC internal prototype to avoid an error.
25988    Use char because int might match the return type of a GCC
25989    builtin and then its argument prototype would still apply.  */
25990 #ifdef __cplusplus
25991 extern "C"
25992 #endif
25993 char $ac_func ();
25994 /* The GNU C library defines this for functions which it implements
25995     to always fail with ENOSYS.  Some functions are actually named
25996     something starting with __ and the normal name is an alias.  */
25997 #if defined __stub_$ac_func || defined __stub___$ac_func
25998 choke me
25999 #endif
26000
26001 int
26002 main ()
26003 {
26004 return $ac_func ();
26005   ;
26006   return 0;
26007 }
26008 _ACEOF
26009 rm -f conftest.$ac_objext conftest$ac_exeext
26010 if { (ac_try="$ac_link"
26011 case "(($ac_try" in
26012   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26013   *) ac_try_echo=$ac_try;;
26014 esac
26015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26016   (eval "$ac_link") 2>conftest.er1
26017   ac_status=$?
26018   grep -v '^ *+' conftest.er1 >conftest.err
26019   rm -f conftest.er1
26020   cat conftest.err >&5
26021   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26022   (exit $ac_status); } && {
26023          test -z "$ac_c_werror_flag" ||
26024          test ! -s conftest.err
26025        } && test -s conftest$ac_exeext &&
26026        $as_test_x conftest$ac_exeext; then
26027   eval "$as_ac_var=yes"
26028 else
26029   echo "$as_me: failed program was:" >&5
26030 sed 's/^/| /' conftest.$ac_ext >&5
26031
26032         eval "$as_ac_var=no"
26033 fi
26034
26035 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26036       conftest$ac_exeext conftest.$ac_ext
26037 fi
26038 ac_res=`eval echo '${'$as_ac_var'}'`
26039                { echo "$as_me:$LINENO: result: $ac_res" >&5
26040 echo "${ECHO_T}$ac_res" >&6; }
26041 if test `eval echo '${'$as_ac_var'}'` = yes; then
26042   cat >>confdefs.h <<_ACEOF
26043 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26044 _ACEOF
26045  have_floor=1
26046 fi
26047 done
26048
26049 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
26050 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
26051 if test "$have_cos" = 1 -a "$have_floor" = 1; then
26052     { echo "$as_me:$LINENO: result: yes" >&5
26053 echo "${ECHO_T}yes" >&6; }
26054 else
26055     { echo "$as_me:$LINENO: result: no" >&5
26056 echo "${ECHO_T}no" >&6; }
26057     LIBS="$LIBS -lm"
26058     # use different functions to avoid configure caching
26059     have_sin=0
26060     have_ceil=0
26061
26062 for ac_func in sin
26063 do
26064 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26065 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26066 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26067 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26068   echo $ECHO_N "(cached) $ECHO_C" >&6
26069 else
26070   cat >conftest.$ac_ext <<_ACEOF
26071 /* confdefs.h.  */
26072 _ACEOF
26073 cat confdefs.h >>conftest.$ac_ext
26074 cat >>conftest.$ac_ext <<_ACEOF
26075 /* end confdefs.h.  */
26076 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26077    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
26078 #define $ac_func innocuous_$ac_func
26079
26080 /* System header to define __stub macros and hopefully few prototypes,
26081     which can conflict with char $ac_func (); below.
26082     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26083     <limits.h> exists even on freestanding compilers.  */
26084
26085 #ifdef __STDC__
26086 # include <limits.h>
26087 #else
26088 # include <assert.h>
26089 #endif
26090
26091 #undef $ac_func
26092
26093 /* Override any GCC internal prototype to avoid an error.
26094    Use char because int might match the return type of a GCC
26095    builtin and then its argument prototype would still apply.  */
26096 #ifdef __cplusplus
26097 extern "C"
26098 #endif
26099 char $ac_func ();
26100 /* The GNU C library defines this for functions which it implements
26101     to always fail with ENOSYS.  Some functions are actually named
26102     something starting with __ and the normal name is an alias.  */
26103 #if defined __stub_$ac_func || defined __stub___$ac_func
26104 choke me
26105 #endif
26106
26107 int
26108 main ()
26109 {
26110 return $ac_func ();
26111   ;
26112   return 0;
26113 }
26114 _ACEOF
26115 rm -f conftest.$ac_objext conftest$ac_exeext
26116 if { (ac_try="$ac_link"
26117 case "(($ac_try" in
26118   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26119   *) ac_try_echo=$ac_try;;
26120 esac
26121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26122   (eval "$ac_link") 2>conftest.er1
26123   ac_status=$?
26124   grep -v '^ *+' conftest.er1 >conftest.err
26125   rm -f conftest.er1
26126   cat conftest.err >&5
26127   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26128   (exit $ac_status); } && {
26129          test -z "$ac_c_werror_flag" ||
26130          test ! -s conftest.err
26131        } && test -s conftest$ac_exeext &&
26132        $as_test_x conftest$ac_exeext; then
26133   eval "$as_ac_var=yes"
26134 else
26135   echo "$as_me: failed program was:" >&5
26136 sed 's/^/| /' conftest.$ac_ext >&5
26137
26138         eval "$as_ac_var=no"
26139 fi
26140
26141 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26142       conftest$ac_exeext conftest.$ac_ext
26143 fi
26144 ac_res=`eval echo '${'$as_ac_var'}'`
26145                { echo "$as_me:$LINENO: result: $ac_res" >&5
26146 echo "${ECHO_T}$ac_res" >&6; }
26147 if test `eval echo '${'$as_ac_var'}'` = yes; then
26148   cat >>confdefs.h <<_ACEOF
26149 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26150 _ACEOF
26151  have_sin=1
26152 fi
26153 done
26154
26155
26156 for ac_func in ceil
26157 do
26158 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26159 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26160 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26161 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26162   echo $ECHO_N "(cached) $ECHO_C" >&6
26163 else
26164   cat >conftest.$ac_ext <<_ACEOF
26165 /* confdefs.h.  */
26166 _ACEOF
26167 cat confdefs.h >>conftest.$ac_ext
26168 cat >>conftest.$ac_ext <<_ACEOF
26169 /* end confdefs.h.  */
26170 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26171    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
26172 #define $ac_func innocuous_$ac_func
26173
26174 /* System header to define __stub macros and hopefully few prototypes,
26175     which can conflict with char $ac_func (); below.
26176     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26177     <limits.h> exists even on freestanding compilers.  */
26178
26179 #ifdef __STDC__
26180 # include <limits.h>
26181 #else
26182 # include <assert.h>
26183 #endif
26184
26185 #undef $ac_func
26186
26187 /* Override any GCC internal prototype to avoid an error.
26188    Use char because int might match the return type of a GCC
26189    builtin and then its argument prototype would still apply.  */
26190 #ifdef __cplusplus
26191 extern "C"
26192 #endif
26193 char $ac_func ();
26194 /* The GNU C library defines this for functions which it implements
26195     to always fail with ENOSYS.  Some functions are actually named
26196     something starting with __ and the normal name is an alias.  */
26197 #if defined __stub_$ac_func || defined __stub___$ac_func
26198 choke me
26199 #endif
26200
26201 int
26202 main ()
26203 {
26204 return $ac_func ();
26205   ;
26206   return 0;
26207 }
26208 _ACEOF
26209 rm -f conftest.$ac_objext conftest$ac_exeext
26210 if { (ac_try="$ac_link"
26211 case "(($ac_try" in
26212   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26213   *) ac_try_echo=$ac_try;;
26214 esac
26215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26216   (eval "$ac_link") 2>conftest.er1
26217   ac_status=$?
26218   grep -v '^ *+' conftest.er1 >conftest.err
26219   rm -f conftest.er1
26220   cat conftest.err >&5
26221   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26222   (exit $ac_status); } && {
26223          test -z "$ac_c_werror_flag" ||
26224          test ! -s conftest.err
26225        } && test -s conftest$ac_exeext &&
26226        $as_test_x conftest$ac_exeext; then
26227   eval "$as_ac_var=yes"
26228 else
26229   echo "$as_me: failed program was:" >&5
26230 sed 's/^/| /' conftest.$ac_ext >&5
26231
26232         eval "$as_ac_var=no"
26233 fi
26234
26235 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26236       conftest$ac_exeext conftest.$ac_ext
26237 fi
26238 ac_res=`eval echo '${'$as_ac_var'}'`
26239                { echo "$as_me:$LINENO: result: $ac_res" >&5
26240 echo "${ECHO_T}$ac_res" >&6; }
26241 if test `eval echo '${'$as_ac_var'}'` = yes; then
26242   cat >>confdefs.h <<_ACEOF
26243 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26244 _ACEOF
26245  have_ceil=1
26246 fi
26247 done
26248
26249     { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
26250 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
26251     if test "$have_sin" = 1 -a "$have_ceil" = 1; then
26252         { echo "$as_me:$LINENO: result: yes" >&5
26253 echo "${ECHO_T}yes" >&6; }
26254     else
26255         { echo "$as_me:$LINENO: result: no" >&5
26256 echo "${ECHO_T}no" >&6; }
26257         # not sure we should warn the user, crash, etc.
26258     fi
26259 fi
26260
26261 ac_ext=cpp
26262 ac_cpp='$CXXCPP $CPPFLAGS'
26263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26266
26267 if test "wxUSE_UNICODE" = "yes"; then
26268
26269   for wx_func in wcstoull
26270   do
26271     { echo "$as_me:$LINENO: checking for $wx_func" >&5
26272 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
26273 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
26274   echo $ECHO_N "(cached) $ECHO_C" >&6
26275 else
26276
26277         cat >conftest.$ac_ext <<_ACEOF
26278
26279             /* confdefs.h.  */
26280 _ACEOF
26281 cat confdefs.h >>conftest.$ac_ext
26282 cat >>conftest.$ac_ext <<_ACEOF
26283 /* end confdefs.h.  */
26284
26285
26286                 $ac_includes_default
26287
26288 int
26289 main ()
26290 {
26291
26292                 #ifndef $wx_func
26293                   &$wx_func;
26294                 #endif
26295
26296
26297   ;
26298   return 0;
26299 }
26300
26301 _ACEOF
26302 rm -f conftest.$ac_objext conftest$ac_exeext
26303 if { (ac_try="$ac_link"
26304 case "(($ac_try" in
26305   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26306   *) ac_try_echo=$ac_try;;
26307 esac
26308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26309   (eval "$ac_link") 2>conftest.er1
26310   ac_status=$?
26311   grep -v '^ *+' conftest.er1 >conftest.err
26312   rm -f conftest.er1
26313   cat conftest.err >&5
26314   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26315   (exit $ac_status); } && {
26316          test -z "$ac_cxx_werror_flag" ||
26317          test ! -s conftest.err
26318        } && test -s conftest$ac_exeext &&
26319        $as_test_x conftest$ac_exeext; then
26320   eval wx_cv_func_$wx_func=yes
26321 else
26322   echo "$as_me: failed program was:" >&5
26323 sed 's/^/| /' conftest.$ac_ext >&5
26324
26325         eval wx_cv_func_$wx_func=no
26326 fi
26327
26328 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26329       conftest$ac_exeext conftest.$ac_ext
26330
26331 fi
26332 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
26333                { echo "$as_me:$LINENO: result: $ac_res" >&5
26334 echo "${ECHO_T}$ac_res" >&6; }
26335
26336     if eval test \$wx_cv_func_$wx_func = yes
26337     then
26338       cat >>confdefs.h <<_ACEOF
26339 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
26340 _ACEOF
26341
26342
26343     else
26344       :
26345
26346     fi
26347   done
26348
26349 else
26350
26351   for wx_func in strtoull
26352   do
26353     { echo "$as_me:$LINENO: checking for $wx_func" >&5
26354 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
26355 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
26356   echo $ECHO_N "(cached) $ECHO_C" >&6
26357 else
26358
26359         cat >conftest.$ac_ext <<_ACEOF
26360
26361             /* confdefs.h.  */
26362 _ACEOF
26363 cat confdefs.h >>conftest.$ac_ext
26364 cat >>conftest.$ac_ext <<_ACEOF
26365 /* end confdefs.h.  */
26366
26367
26368                 $ac_includes_default
26369
26370 int
26371 main ()
26372 {
26373
26374                 #ifndef $wx_func
26375                   &$wx_func;
26376                 #endif
26377
26378
26379   ;
26380   return 0;
26381 }
26382
26383 _ACEOF
26384 rm -f conftest.$ac_objext conftest$ac_exeext
26385 if { (ac_try="$ac_link"
26386 case "(($ac_try" in
26387   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26388   *) ac_try_echo=$ac_try;;
26389 esac
26390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26391   (eval "$ac_link") 2>conftest.er1
26392   ac_status=$?
26393   grep -v '^ *+' conftest.er1 >conftest.err
26394   rm -f conftest.er1
26395   cat conftest.err >&5
26396   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26397   (exit $ac_status); } && {
26398          test -z "$ac_cxx_werror_flag" ||
26399          test ! -s conftest.err
26400        } && test -s conftest$ac_exeext &&
26401        $as_test_x conftest$ac_exeext; then
26402   eval wx_cv_func_$wx_func=yes
26403 else
26404   echo "$as_me: failed program was:" >&5
26405 sed 's/^/| /' conftest.$ac_ext >&5
26406
26407         eval wx_cv_func_$wx_func=no
26408 fi
26409
26410 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26411       conftest$ac_exeext conftest.$ac_ext
26412
26413 fi
26414 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
26415                { echo "$as_me:$LINENO: result: $ac_res" >&5
26416 echo "${ECHO_T}$ac_res" >&6; }
26417
26418     if eval test \$wx_cv_func_$wx_func = yes
26419     then
26420       cat >>confdefs.h <<_ACEOF
26421 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
26422 _ACEOF
26423
26424
26425     else
26426       :
26427
26428     fi
26429   done
26430
26431 fi
26432 ac_ext=c
26433 ac_cpp='$CPP $CPPFLAGS'
26434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26437
26438
26439
26440
26441 if test "$wxUSE_REGEX" != "no"; then
26442     cat >>confdefs.h <<\_ACEOF
26443 #define wxUSE_REGEX 1
26444 _ACEOF
26445
26446
26447     if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
26448         { echo "$as_me:$LINENO: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
26449 echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
26450         wxUSE_REGEX=builtin
26451     fi
26452
26453     if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
26454                         { echo "$as_me:$LINENO: checking for regex.h" >&5
26455 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
26456 if test "${ac_cv_header_regex_h+set}" = set; then
26457   echo $ECHO_N "(cached) $ECHO_C" >&6
26458 else
26459   cat >conftest.$ac_ext <<_ACEOF
26460 /* confdefs.h.  */
26461 _ACEOF
26462 cat confdefs.h >>conftest.$ac_ext
26463 cat >>conftest.$ac_ext <<_ACEOF
26464 /* end confdefs.h.  */
26465
26466
26467 #include <regex.h>
26468 _ACEOF
26469 rm -f conftest.$ac_objext
26470 if { (ac_try="$ac_compile"
26471 case "(($ac_try" in
26472   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26473   *) ac_try_echo=$ac_try;;
26474 esac
26475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26476   (eval "$ac_compile") 2>conftest.er1
26477   ac_status=$?
26478   grep -v '^ *+' conftest.er1 >conftest.err
26479   rm -f conftest.er1
26480   cat conftest.err >&5
26481   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26482   (exit $ac_status); } && {
26483          test -z "$ac_c_werror_flag" ||
26484          test ! -s conftest.err
26485        } && test -s conftest.$ac_objext; then
26486   ac_cv_header_regex_h=yes
26487 else
26488   echo "$as_me: failed program was:" >&5
26489 sed 's/^/| /' conftest.$ac_ext >&5
26490
26491         ac_cv_header_regex_h=no
26492 fi
26493
26494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26495 fi
26496 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
26497 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
26498 if test $ac_cv_header_regex_h = yes; then
26499
26500
26501 for ac_func in regcomp re_search
26502 do
26503 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26504 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26505 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26506 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26507   echo $ECHO_N "(cached) $ECHO_C" >&6
26508 else
26509   cat >conftest.$ac_ext <<_ACEOF
26510 /* confdefs.h.  */
26511 _ACEOF
26512 cat confdefs.h >>conftest.$ac_ext
26513 cat >>conftest.$ac_ext <<_ACEOF
26514 /* end confdefs.h.  */
26515 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26516    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
26517 #define $ac_func innocuous_$ac_func
26518
26519 /* System header to define __stub macros and hopefully few prototypes,
26520     which can conflict with char $ac_func (); below.
26521     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26522     <limits.h> exists even on freestanding compilers.  */
26523
26524 #ifdef __STDC__
26525 # include <limits.h>
26526 #else
26527 # include <assert.h>
26528 #endif
26529
26530 #undef $ac_func
26531
26532 /* Override any GCC internal prototype to avoid an error.
26533    Use char because int might match the return type of a GCC
26534    builtin and then its argument prototype would still apply.  */
26535 #ifdef __cplusplus
26536 extern "C"
26537 #endif
26538 char $ac_func ();
26539 /* The GNU C library defines this for functions which it implements
26540     to always fail with ENOSYS.  Some functions are actually named
26541     something starting with __ and the normal name is an alias.  */
26542 #if defined __stub_$ac_func || defined __stub___$ac_func
26543 choke me
26544 #endif
26545
26546 int
26547 main ()
26548 {
26549 return $ac_func ();
26550   ;
26551   return 0;
26552 }
26553 _ACEOF
26554 rm -f conftest.$ac_objext conftest$ac_exeext
26555 if { (ac_try="$ac_link"
26556 case "(($ac_try" in
26557   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26558   *) ac_try_echo=$ac_try;;
26559 esac
26560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26561   (eval "$ac_link") 2>conftest.er1
26562   ac_status=$?
26563   grep -v '^ *+' conftest.er1 >conftest.err
26564   rm -f conftest.er1
26565   cat conftest.err >&5
26566   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26567   (exit $ac_status); } && {
26568          test -z "$ac_c_werror_flag" ||
26569          test ! -s conftest.err
26570        } && test -s conftest$ac_exeext &&
26571        $as_test_x conftest$ac_exeext; then
26572   eval "$as_ac_var=yes"
26573 else
26574   echo "$as_me: failed program was:" >&5
26575 sed 's/^/| /' conftest.$ac_ext >&5
26576
26577         eval "$as_ac_var=no"
26578 fi
26579
26580 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26581       conftest$ac_exeext conftest.$ac_ext
26582 fi
26583 ac_res=`eval echo '${'$as_ac_var'}'`
26584                { echo "$as_me:$LINENO: result: $ac_res" >&5
26585 echo "${ECHO_T}$ac_res" >&6; }
26586 if test `eval echo '${'$as_ac_var'}'` = yes; then
26587   cat >>confdefs.h <<_ACEOF
26588 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26589 _ACEOF
26590
26591 fi
26592 done
26593
26594 fi
26595
26596
26597
26598         if test "x$ac_cv_func_regcomp" != "xyes"; then
26599             if test "$wxUSE_REGEX" = "sys" ; then
26600                 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
26601 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
26602    { (exit 1); exit 1; }; }
26603             else
26604                 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
26605 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
26606                 wxUSE_REGEX=builtin
26607             fi
26608         else
26609                         wxUSE_REGEX=sys
26610                         cat >>confdefs.h <<\_ACEOF
26611 #define WX_NO_REGEX_ADVANCED 1
26612 _ACEOF
26613
26614         fi
26615     fi
26616 fi
26617
26618
26619 ZLIB_LINK=
26620 if test "$wxUSE_ZLIB" != "no" ; then
26621     cat >>confdefs.h <<\_ACEOF
26622 #define wxUSE_ZLIB 1
26623 _ACEOF
26624
26625
26626     if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
26627                                                 if test "$USE_DARWIN" = 1; then
26628             system_zlib_h_ok="yes"
26629         else
26630                                                                                     { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
26631 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
26632 if test "${ac_cv_header_zlib_h+set}" = set; then
26633   echo $ECHO_N "(cached) $ECHO_C" >&6
26634 else
26635   if test "$cross_compiling" = yes; then
26636                       unset ac_cv_header_zlib_h
26637
26638 else
26639   cat >conftest.$ac_ext <<_ACEOF
26640 /* confdefs.h.  */
26641 _ACEOF
26642 cat confdefs.h >>conftest.$ac_ext
26643 cat >>conftest.$ac_ext <<_ACEOF
26644 /* end confdefs.h.  */
26645
26646                         #include <zlib.h>
26647                         #include <stdio.h>
26648
26649                         int main()
26650                         {
26651                             FILE *f=fopen("conftestval", "w");
26652                             if (!f) exit(1);
26653                             fprintf(f, "%s",
26654                                     ZLIB_VERSION[0] == '1' &&
26655                                     (ZLIB_VERSION[2] > '1' ||
26656                                     (ZLIB_VERSION[2] == '1' &&
26657                                      ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
26658                             exit(0);
26659                         }
26660
26661 _ACEOF
26662 rm -f conftest$ac_exeext
26663 if { (ac_try="$ac_link"
26664 case "(($ac_try" in
26665   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26666   *) ac_try_echo=$ac_try;;
26667 esac
26668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26669   (eval "$ac_link") 2>&5
26670   ac_status=$?
26671   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26672   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26673   { (case "(($ac_try" in
26674   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26675   *) ac_try_echo=$ac_try;;
26676 esac
26677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26678   (eval "$ac_try") 2>&5
26679   ac_status=$?
26680   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26681   (exit $ac_status); }; }; then
26682   ac_cv_header_zlib_h=`cat conftestval`
26683 else
26684   echo "$as_me: program exited with status $ac_status" >&5
26685 echo "$as_me: failed program was:" >&5
26686 sed 's/^/| /' conftest.$ac_ext >&5
26687
26688 ( exit $ac_status )
26689 ac_cv_header_zlib_h=no
26690 fi
26691 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26692 fi
26693
26694
26695
26696 fi
26697 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26698 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26699                                     { echo "$as_me:$LINENO: checking for zlib.h" >&5
26700 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
26701 if test "${ac_cv_header_zlib_h+set}" = set; then
26702   echo $ECHO_N "(cached) $ECHO_C" >&6
26703 else
26704   cat >conftest.$ac_ext <<_ACEOF
26705 /* confdefs.h.  */
26706 _ACEOF
26707 cat confdefs.h >>conftest.$ac_ext
26708 cat >>conftest.$ac_ext <<_ACEOF
26709 /* end confdefs.h.  */
26710
26711
26712 #include <zlib.h>
26713 _ACEOF
26714 rm -f conftest.$ac_objext
26715 if { (ac_try="$ac_compile"
26716 case "(($ac_try" in
26717   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26718   *) ac_try_echo=$ac_try;;
26719 esac
26720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26721   (eval "$ac_compile") 2>conftest.er1
26722   ac_status=$?
26723   grep -v '^ *+' conftest.er1 >conftest.err
26724   rm -f conftest.er1
26725   cat conftest.err >&5
26726   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26727   (exit $ac_status); } && {
26728          test -z "$ac_c_werror_flag" ||
26729          test ! -s conftest.err
26730        } && test -s conftest.$ac_objext; then
26731   ac_cv_header_zlib_h=yes
26732 else
26733   echo "$as_me: failed program was:" >&5
26734 sed 's/^/| /' conftest.$ac_ext >&5
26735
26736         ac_cv_header_zlib_h=no
26737 fi
26738
26739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26740 fi
26741 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26742 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26743
26744
26745
26746             system_zlib_h_ok=$ac_cv_header_zlib_h
26747         fi
26748
26749         if test "$system_zlib_h_ok" = "yes"; then
26750             { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
26751 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
26752 if test "${ac_cv_lib_z_deflate+set}" = set; then
26753   echo $ECHO_N "(cached) $ECHO_C" >&6
26754 else
26755   ac_check_lib_save_LIBS=$LIBS
26756 LIBS="-lz  $LIBS"
26757 cat >conftest.$ac_ext <<_ACEOF
26758 /* confdefs.h.  */
26759 _ACEOF
26760 cat confdefs.h >>conftest.$ac_ext
26761 cat >>conftest.$ac_ext <<_ACEOF
26762 /* end confdefs.h.  */
26763
26764 /* Override any GCC internal prototype to avoid an error.
26765    Use char because int might match the return type of a GCC
26766    builtin and then its argument prototype would still apply.  */
26767 #ifdef __cplusplus
26768 extern "C"
26769 #endif
26770 char deflate ();
26771 int
26772 main ()
26773 {
26774 return deflate ();
26775   ;
26776   return 0;
26777 }
26778 _ACEOF
26779 rm -f conftest.$ac_objext conftest$ac_exeext
26780 if { (ac_try="$ac_link"
26781 case "(($ac_try" in
26782   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26783   *) ac_try_echo=$ac_try;;
26784 esac
26785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26786   (eval "$ac_link") 2>conftest.er1
26787   ac_status=$?
26788   grep -v '^ *+' conftest.er1 >conftest.err
26789   rm -f conftest.er1
26790   cat conftest.err >&5
26791   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26792   (exit $ac_status); } && {
26793          test -z "$ac_c_werror_flag" ||
26794          test ! -s conftest.err
26795        } && test -s conftest$ac_exeext &&
26796        $as_test_x conftest$ac_exeext; then
26797   ac_cv_lib_z_deflate=yes
26798 else
26799   echo "$as_me: failed program was:" >&5
26800 sed 's/^/| /' conftest.$ac_ext >&5
26801
26802         ac_cv_lib_z_deflate=no
26803 fi
26804
26805 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26806       conftest$ac_exeext conftest.$ac_ext
26807 LIBS=$ac_check_lib_save_LIBS
26808 fi
26809 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
26810 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
26811 if test $ac_cv_lib_z_deflate = yes; then
26812   ZLIB_LINK=" -lz"
26813 fi
26814
26815         fi
26816
26817         if test "x$ZLIB_LINK" = "x" ; then
26818             if test "$wxUSE_ZLIB" = "sys" ; then
26819                 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
26820 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
26821    { (exit 1); exit 1; }; }
26822             else
26823                 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
26824 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
26825                 wxUSE_ZLIB=builtin
26826             fi
26827         else
26828                         wxUSE_ZLIB=sys
26829         fi
26830     fi
26831 fi
26832
26833
26834 PNG_LINK=
26835 if test "$wxUSE_LIBPNG" != "no" ; then
26836     cat >>confdefs.h <<\_ACEOF
26837 #define wxUSE_LIBPNG 1
26838 _ACEOF
26839
26840
26841     if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
26842         { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
26843 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
26844         wxUSE_LIBPNG=sys
26845     fi
26846
26847                 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
26848         { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
26849 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
26850         wxUSE_LIBPNG=builtin
26851     fi
26852
26853     if test "$wxUSE_MGL" != 1 ; then
26854                 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
26855                                     { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
26856 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
26857 if test "${ac_cv_header_png_h+set}" = set; then
26858   echo $ECHO_N "(cached) $ECHO_C" >&6
26859 else
26860   if test "$cross_compiling" = yes; then
26861                       unset ac_cv_header_png_h
26862
26863 else
26864   cat >conftest.$ac_ext <<_ACEOF
26865 /* confdefs.h.  */
26866 _ACEOF
26867 cat confdefs.h >>conftest.$ac_ext
26868 cat >>conftest.$ac_ext <<_ACEOF
26869 /* end confdefs.h.  */
26870
26871                         #include <png.h>
26872                         #include <stdio.h>
26873
26874                         int main()
26875                         {
26876                             FILE *f=fopen("conftestval", "w");
26877                             if (!f) exit(1);
26878                             fprintf(f, "%s",
26879                                      PNG_LIBPNG_VER > 90 ? "yes" : "no");
26880                             exit(0);
26881                         }
26882
26883 _ACEOF
26884 rm -f conftest$ac_exeext
26885 if { (ac_try="$ac_link"
26886 case "(($ac_try" in
26887   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26888   *) ac_try_echo=$ac_try;;
26889 esac
26890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26891   (eval "$ac_link") 2>&5
26892   ac_status=$?
26893   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26894   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26895   { (case "(($ac_try" in
26896   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26897   *) ac_try_echo=$ac_try;;
26898 esac
26899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26900   (eval "$ac_try") 2>&5
26901   ac_status=$?
26902   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26903   (exit $ac_status); }; }; then
26904   ac_cv_header_png_h=`cat conftestval`
26905 else
26906   echo "$as_me: program exited with status $ac_status" >&5
26907 echo "$as_me: failed program was:" >&5
26908 sed 's/^/| /' conftest.$ac_ext >&5
26909
26910 ( exit $ac_status )
26911 ac_cv_header_png_h=no
26912 fi
26913 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26914 fi
26915
26916
26917
26918 fi
26919 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26920 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26921             { echo "$as_me:$LINENO: checking for png.h" >&5
26922 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
26923 if test "${ac_cv_header_png_h+set}" = set; then
26924   echo $ECHO_N "(cached) $ECHO_C" >&6
26925 else
26926   cat >conftest.$ac_ext <<_ACEOF
26927 /* confdefs.h.  */
26928 _ACEOF
26929 cat confdefs.h >>conftest.$ac_ext
26930 cat >>conftest.$ac_ext <<_ACEOF
26931 /* end confdefs.h.  */
26932
26933
26934 #include <png.h>
26935 _ACEOF
26936 rm -f conftest.$ac_objext
26937 if { (ac_try="$ac_compile"
26938 case "(($ac_try" in
26939   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26940   *) ac_try_echo=$ac_try;;
26941 esac
26942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26943   (eval "$ac_compile") 2>conftest.er1
26944   ac_status=$?
26945   grep -v '^ *+' conftest.er1 >conftest.err
26946   rm -f conftest.er1
26947   cat conftest.err >&5
26948   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26949   (exit $ac_status); } && {
26950          test -z "$ac_c_werror_flag" ||
26951          test ! -s conftest.err
26952        } && test -s conftest.$ac_objext; then
26953   ac_cv_header_png_h=yes
26954 else
26955   echo "$as_me: failed program was:" >&5
26956 sed 's/^/| /' conftest.$ac_ext >&5
26957
26958         ac_cv_header_png_h=no
26959 fi
26960
26961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26962 fi
26963 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26964 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26965
26966
26967
26968             if test "$ac_cv_header_png_h" = "yes"; then
26969                 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
26970 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
26971 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
26972   echo $ECHO_N "(cached) $ECHO_C" >&6
26973 else
26974   ac_check_lib_save_LIBS=$LIBS
26975 LIBS="-lpng -lz -lm $LIBS"
26976 cat >conftest.$ac_ext <<_ACEOF
26977 /* confdefs.h.  */
26978 _ACEOF
26979 cat confdefs.h >>conftest.$ac_ext
26980 cat >>conftest.$ac_ext <<_ACEOF
26981 /* end confdefs.h.  */
26982
26983 /* Override any GCC internal prototype to avoid an error.
26984    Use char because int might match the return type of a GCC
26985    builtin and then its argument prototype would still apply.  */
26986 #ifdef __cplusplus
26987 extern "C"
26988 #endif
26989 char png_check_sig ();
26990 int
26991 main ()
26992 {
26993 return png_check_sig ();
26994   ;
26995   return 0;
26996 }
26997 _ACEOF
26998 rm -f conftest.$ac_objext conftest$ac_exeext
26999 if { (ac_try="$ac_link"
27000 case "(($ac_try" in
27001   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27002   *) ac_try_echo=$ac_try;;
27003 esac
27004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27005   (eval "$ac_link") 2>conftest.er1
27006   ac_status=$?
27007   grep -v '^ *+' conftest.er1 >conftest.err
27008   rm -f conftest.er1
27009   cat conftest.err >&5
27010   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27011   (exit $ac_status); } && {
27012          test -z "$ac_c_werror_flag" ||
27013          test ! -s conftest.err
27014        } && test -s conftest$ac_exeext &&
27015        $as_test_x conftest$ac_exeext; then
27016   ac_cv_lib_png_png_check_sig=yes
27017 else
27018   echo "$as_me: failed program was:" >&5
27019 sed 's/^/| /' conftest.$ac_ext >&5
27020
27021         ac_cv_lib_png_png_check_sig=no
27022 fi
27023
27024 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27025       conftest$ac_exeext conftest.$ac_ext
27026 LIBS=$ac_check_lib_save_LIBS
27027 fi
27028 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
27029 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
27030 if test $ac_cv_lib_png_png_check_sig = yes; then
27031   PNG_LINK=" -lpng -lz"
27032 fi
27033
27034             fi
27035
27036             if test "x$PNG_LINK" = "x" ; then
27037                 if test "$wxUSE_LIBPNG" = "sys" ; then
27038                     { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
27039 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
27040    { (exit 1); exit 1; }; }
27041                 else
27042                     { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
27043 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
27044                     wxUSE_LIBPNG=builtin
27045                 fi
27046             else
27047                                 wxUSE_LIBPNG=sys
27048             fi
27049         fi
27050     fi
27051 fi
27052
27053
27054 JPEG_LINK=
27055 if test "$wxUSE_LIBJPEG" != "no" ; then
27056     cat >>confdefs.h <<\_ACEOF
27057 #define wxUSE_LIBJPEG 1
27058 _ACEOF
27059
27060
27061     if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
27062         { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
27063 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
27064         wxUSE_LIBJPEG=sys
27065     fi
27066
27067     if test "$wxUSE_MGL" != 1 ; then
27068                 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
27069                                                 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
27070 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
27071             if test "${ac_cv_header_jpeglib_h+set}" = set; then
27072   echo $ECHO_N "(cached) $ECHO_C" >&6
27073 else
27074   cat >conftest.$ac_ext <<_ACEOF
27075 /* confdefs.h.  */
27076 _ACEOF
27077 cat confdefs.h >>conftest.$ac_ext
27078 cat >>conftest.$ac_ext <<_ACEOF
27079 /* end confdefs.h.  */
27080
27081                         #undef HAVE_STDLIB_H
27082                         #include <stdio.h>
27083                         #include <jpeglib.h>
27084
27085 int
27086 main ()
27087 {
27088
27089
27090   ;
27091   return 0;
27092 }
27093 _ACEOF
27094 rm -f conftest.$ac_objext
27095 if { (ac_try="$ac_compile"
27096 case "(($ac_try" in
27097   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27098   *) ac_try_echo=$ac_try;;
27099 esac
27100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27101   (eval "$ac_compile") 2>conftest.er1
27102   ac_status=$?
27103   grep -v '^ *+' conftest.er1 >conftest.err
27104   rm -f conftest.er1
27105   cat conftest.err >&5
27106   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27107   (exit $ac_status); } && {
27108          test -z "$ac_c_werror_flag" ||
27109          test ! -s conftest.err
27110        } && test -s conftest.$ac_objext; then
27111   ac_cv_header_jpeglib_h=yes
27112 else
27113   echo "$as_me: failed program was:" >&5
27114 sed 's/^/| /' conftest.$ac_ext >&5
27115
27116         ac_cv_header_jpeglib_h=no
27117
27118 fi
27119
27120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27121
27122 fi
27123
27124             { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
27125 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
27126
27127             if test "$ac_cv_header_jpeglib_h" = "yes"; then
27128                 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
27129 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
27130 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
27131   echo $ECHO_N "(cached) $ECHO_C" >&6
27132 else
27133   ac_check_lib_save_LIBS=$LIBS
27134 LIBS="-ljpeg  $LIBS"
27135 cat >conftest.$ac_ext <<_ACEOF
27136 /* confdefs.h.  */
27137 _ACEOF
27138 cat confdefs.h >>conftest.$ac_ext
27139 cat >>conftest.$ac_ext <<_ACEOF
27140 /* end confdefs.h.  */
27141
27142 /* Override any GCC internal prototype to avoid an error.
27143    Use char because int might match the return type of a GCC
27144    builtin and then its argument prototype would still apply.  */
27145 #ifdef __cplusplus
27146 extern "C"
27147 #endif
27148 char jpeg_read_header ();
27149 int
27150 main ()
27151 {
27152 return jpeg_read_header ();
27153   ;
27154   return 0;
27155 }
27156 _ACEOF
27157 rm -f conftest.$ac_objext conftest$ac_exeext
27158 if { (ac_try="$ac_link"
27159 case "(($ac_try" in
27160   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27161   *) ac_try_echo=$ac_try;;
27162 esac
27163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27164   (eval "$ac_link") 2>conftest.er1
27165   ac_status=$?
27166   grep -v '^ *+' conftest.er1 >conftest.err
27167   rm -f conftest.er1
27168   cat conftest.err >&5
27169   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27170   (exit $ac_status); } && {
27171          test -z "$ac_c_werror_flag" ||
27172          test ! -s conftest.err
27173        } && test -s conftest$ac_exeext &&
27174        $as_test_x conftest$ac_exeext; then
27175   ac_cv_lib_jpeg_jpeg_read_header=yes
27176 else
27177   echo "$as_me: failed program was:" >&5
27178 sed 's/^/| /' conftest.$ac_ext >&5
27179
27180         ac_cv_lib_jpeg_jpeg_read_header=no
27181 fi
27182
27183 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27184       conftest$ac_exeext conftest.$ac_ext
27185 LIBS=$ac_check_lib_save_LIBS
27186 fi
27187 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
27188 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
27189 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
27190   JPEG_LINK=" -ljpeg"
27191 fi
27192
27193             fi
27194
27195             if test "x$JPEG_LINK" = "x" ; then
27196                 if test "$wxUSE_LIBJPEG" = "sys" ; then
27197                     { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
27198 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
27199    { (exit 1); exit 1; }; }
27200                 else
27201                     { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
27202 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
27203                     wxUSE_LIBJPEG=builtin
27204                 fi
27205             else
27206                                 wxUSE_LIBJPEG=sys
27207
27208                 if test "$wxUSE_MSW" = 1; then
27209                                                                                                     { echo "$as_me:$LINENO: checking for boolean" >&5
27210 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
27211 if test "${ac_cv_type_boolean+set}" = set; then
27212   echo $ECHO_N "(cached) $ECHO_C" >&6
27213 else
27214   cat >conftest.$ac_ext <<_ACEOF
27215 /* confdefs.h.  */
27216 _ACEOF
27217 cat confdefs.h >>conftest.$ac_ext
27218 cat >>conftest.$ac_ext <<_ACEOF
27219 /* end confdefs.h.  */
27220 #include <windows.h>
27221
27222 typedef boolean ac__type_new_;
27223 int
27224 main ()
27225 {
27226 if ((ac__type_new_ *) 0)
27227   return 0;
27228 if (sizeof (ac__type_new_))
27229   return 0;
27230   ;
27231   return 0;
27232 }
27233 _ACEOF
27234 rm -f conftest.$ac_objext
27235 if { (ac_try="$ac_compile"
27236 case "(($ac_try" in
27237   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27238   *) ac_try_echo=$ac_try;;
27239 esac
27240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27241   (eval "$ac_compile") 2>conftest.er1
27242   ac_status=$?
27243   grep -v '^ *+' conftest.er1 >conftest.err
27244   rm -f conftest.er1
27245   cat conftest.err >&5
27246   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27247   (exit $ac_status); } && {
27248          test -z "$ac_c_werror_flag" ||
27249          test ! -s conftest.err
27250        } && test -s conftest.$ac_objext; then
27251   ac_cv_type_boolean=yes
27252 else
27253   echo "$as_me: failed program was:" >&5
27254 sed 's/^/| /' conftest.$ac_ext >&5
27255
27256         ac_cv_type_boolean=no
27257 fi
27258
27259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27260 fi
27261 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27262 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
27263 if test $ac_cv_type_boolean = yes; then
27264
27265 cat >>confdefs.h <<_ACEOF
27266 #define HAVE_BOOLEAN 1
27267 _ACEOF
27268
27269
27270                             { echo "$as_me:$LINENO: checking for boolean" >&5
27271 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
27272 if test "${ac_cv_type_boolean+set}" = set; then
27273   echo $ECHO_N "(cached) $ECHO_C" >&6
27274 else
27275   cat >conftest.$ac_ext <<_ACEOF
27276 /* confdefs.h.  */
27277 _ACEOF
27278 cat confdefs.h >>conftest.$ac_ext
27279 cat >>conftest.$ac_ext <<_ACEOF
27280 /* end confdefs.h.  */
27281
27282                                     #undef HAVE_BOOLEAN
27283                                     #include <stdio.h>
27284                                     #include <jpeglib.h>
27285
27286
27287 typedef boolean ac__type_new_;
27288 int
27289 main ()
27290 {
27291 if ((ac__type_new_ *) 0)
27292   return 0;
27293 if (sizeof (ac__type_new_))
27294   return 0;
27295   ;
27296   return 0;
27297 }
27298 _ACEOF
27299 rm -f conftest.$ac_objext
27300 if { (ac_try="$ac_compile"
27301 case "(($ac_try" in
27302   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27303   *) ac_try_echo=$ac_try;;
27304 esac
27305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27306   (eval "$ac_compile") 2>conftest.er1
27307   ac_status=$?
27308   grep -v '^ *+' conftest.er1 >conftest.err
27309   rm -f conftest.er1
27310   cat conftest.err >&5
27311   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27312   (exit $ac_status); } && {
27313          test -z "$ac_c_werror_flag" ||
27314          test ! -s conftest.err
27315        } && test -s conftest.$ac_objext; then
27316   ac_cv_type_boolean=yes
27317 else
27318   echo "$as_me: failed program was:" >&5
27319 sed 's/^/| /' conftest.$ac_ext >&5
27320
27321         ac_cv_type_boolean=no
27322 fi
27323
27324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27325 fi
27326 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27327 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
27328
27329 # The cast to long int works around a bug in the HP C Compiler
27330 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
27331 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
27332 # This bug is HP SR number 8606223364.
27333 { echo "$as_me:$LINENO: checking size of boolean" >&5
27334 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
27335 if test "${ac_cv_sizeof_boolean+set}" = set; then
27336   echo $ECHO_N "(cached) $ECHO_C" >&6
27337 else
27338   if test "$cross_compiling" = yes; then
27339   # Depending upon the size, compute the lo and hi bounds.
27340 cat >conftest.$ac_ext <<_ACEOF
27341 /* confdefs.h.  */
27342 _ACEOF
27343 cat confdefs.h >>conftest.$ac_ext
27344 cat >>conftest.$ac_ext <<_ACEOF
27345 /* end confdefs.h.  */
27346
27347                                     #undef HAVE_BOOLEAN
27348                                     #include <stdio.h>
27349                                     #include <jpeglib.h>
27350
27351
27352    typedef boolean ac__type_sizeof_;
27353 int
27354 main ()
27355 {
27356 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
27357 test_array [0] = 0
27358
27359   ;
27360   return 0;
27361 }
27362 _ACEOF
27363 rm -f conftest.$ac_objext
27364 if { (ac_try="$ac_compile"
27365 case "(($ac_try" in
27366   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27367   *) ac_try_echo=$ac_try;;
27368 esac
27369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27370   (eval "$ac_compile") 2>conftest.er1
27371   ac_status=$?
27372   grep -v '^ *+' conftest.er1 >conftest.err
27373   rm -f conftest.er1
27374   cat conftest.err >&5
27375   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27376   (exit $ac_status); } && {
27377          test -z "$ac_c_werror_flag" ||
27378          test ! -s conftest.err
27379        } && test -s conftest.$ac_objext; then
27380   ac_lo=0 ac_mid=0
27381   while :; do
27382     cat >conftest.$ac_ext <<_ACEOF
27383 /* confdefs.h.  */
27384 _ACEOF
27385 cat confdefs.h >>conftest.$ac_ext
27386 cat >>conftest.$ac_ext <<_ACEOF
27387 /* end confdefs.h.  */
27388
27389                                     #undef HAVE_BOOLEAN
27390                                     #include <stdio.h>
27391                                     #include <jpeglib.h>
27392
27393
27394    typedef boolean ac__type_sizeof_;
27395 int
27396 main ()
27397 {
27398 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27399 test_array [0] = 0
27400
27401   ;
27402   return 0;
27403 }
27404 _ACEOF
27405 rm -f conftest.$ac_objext
27406 if { (ac_try="$ac_compile"
27407 case "(($ac_try" in
27408   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27409   *) ac_try_echo=$ac_try;;
27410 esac
27411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27412   (eval "$ac_compile") 2>conftest.er1
27413   ac_status=$?
27414   grep -v '^ *+' conftest.er1 >conftest.err
27415   rm -f conftest.er1
27416   cat conftest.err >&5
27417   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27418   (exit $ac_status); } && {
27419          test -z "$ac_c_werror_flag" ||
27420          test ! -s conftest.err
27421        } && test -s conftest.$ac_objext; then
27422   ac_hi=$ac_mid; break
27423 else
27424   echo "$as_me: failed program was:" >&5
27425 sed 's/^/| /' conftest.$ac_ext >&5
27426
27427         ac_lo=`expr $ac_mid + 1`
27428                         if test $ac_lo -le $ac_mid; then
27429                           ac_lo= ac_hi=
27430                           break
27431                         fi
27432                         ac_mid=`expr 2 '*' $ac_mid + 1`
27433 fi
27434
27435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27436   done
27437 else
27438   echo "$as_me: failed program was:" >&5
27439 sed 's/^/| /' conftest.$ac_ext >&5
27440
27441         cat >conftest.$ac_ext <<_ACEOF
27442 /* confdefs.h.  */
27443 _ACEOF
27444 cat confdefs.h >>conftest.$ac_ext
27445 cat >>conftest.$ac_ext <<_ACEOF
27446 /* end confdefs.h.  */
27447
27448                                     #undef HAVE_BOOLEAN
27449                                     #include <stdio.h>
27450                                     #include <jpeglib.h>
27451
27452
27453    typedef boolean ac__type_sizeof_;
27454 int
27455 main ()
27456 {
27457 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
27458 test_array [0] = 0
27459
27460   ;
27461   return 0;
27462 }
27463 _ACEOF
27464 rm -f conftest.$ac_objext
27465 if { (ac_try="$ac_compile"
27466 case "(($ac_try" in
27467   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27468   *) ac_try_echo=$ac_try;;
27469 esac
27470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27471   (eval "$ac_compile") 2>conftest.er1
27472   ac_status=$?
27473   grep -v '^ *+' conftest.er1 >conftest.err
27474   rm -f conftest.er1
27475   cat conftest.err >&5
27476   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27477   (exit $ac_status); } && {
27478          test -z "$ac_c_werror_flag" ||
27479          test ! -s conftest.err
27480        } && test -s conftest.$ac_objext; then
27481   ac_hi=-1 ac_mid=-1
27482   while :; do
27483     cat >conftest.$ac_ext <<_ACEOF
27484 /* confdefs.h.  */
27485 _ACEOF
27486 cat confdefs.h >>conftest.$ac_ext
27487 cat >>conftest.$ac_ext <<_ACEOF
27488 /* end confdefs.h.  */
27489
27490                                     #undef HAVE_BOOLEAN
27491                                     #include <stdio.h>
27492                                     #include <jpeglib.h>
27493
27494
27495    typedef boolean ac__type_sizeof_;
27496 int
27497 main ()
27498 {
27499 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
27500 test_array [0] = 0
27501
27502   ;
27503   return 0;
27504 }
27505 _ACEOF
27506 rm -f conftest.$ac_objext
27507 if { (ac_try="$ac_compile"
27508 case "(($ac_try" in
27509   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27510   *) ac_try_echo=$ac_try;;
27511 esac
27512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27513   (eval "$ac_compile") 2>conftest.er1
27514   ac_status=$?
27515   grep -v '^ *+' conftest.er1 >conftest.err
27516   rm -f conftest.er1
27517   cat conftest.err >&5
27518   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27519   (exit $ac_status); } && {
27520          test -z "$ac_c_werror_flag" ||
27521          test ! -s conftest.err
27522        } && test -s conftest.$ac_objext; then
27523   ac_lo=$ac_mid; break
27524 else
27525   echo "$as_me: failed program was:" >&5
27526 sed 's/^/| /' conftest.$ac_ext >&5
27527
27528         ac_hi=`expr '(' $ac_mid ')' - 1`
27529                         if test $ac_mid -le $ac_hi; then
27530                           ac_lo= ac_hi=
27531                           break
27532                         fi
27533                         ac_mid=`expr 2 '*' $ac_mid`
27534 fi
27535
27536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27537   done
27538 else
27539   echo "$as_me: failed program was:" >&5
27540 sed 's/^/| /' conftest.$ac_ext >&5
27541
27542         ac_lo= ac_hi=
27543 fi
27544
27545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27546 fi
27547
27548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27549 # Binary search between lo and hi bounds.
27550 while test "x$ac_lo" != "x$ac_hi"; do
27551   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
27552   cat >conftest.$ac_ext <<_ACEOF
27553 /* confdefs.h.  */
27554 _ACEOF
27555 cat confdefs.h >>conftest.$ac_ext
27556 cat >>conftest.$ac_ext <<_ACEOF
27557 /* end confdefs.h.  */
27558
27559                                     #undef HAVE_BOOLEAN
27560                                     #include <stdio.h>
27561                                     #include <jpeglib.h>
27562
27563
27564    typedef boolean ac__type_sizeof_;
27565 int
27566 main ()
27567 {
27568 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27569 test_array [0] = 0
27570
27571   ;
27572   return 0;
27573 }
27574 _ACEOF
27575 rm -f conftest.$ac_objext
27576 if { (ac_try="$ac_compile"
27577 case "(($ac_try" in
27578   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27579   *) ac_try_echo=$ac_try;;
27580 esac
27581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27582   (eval "$ac_compile") 2>conftest.er1
27583   ac_status=$?
27584   grep -v '^ *+' conftest.er1 >conftest.err
27585   rm -f conftest.er1
27586   cat conftest.err >&5
27587   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27588   (exit $ac_status); } && {
27589          test -z "$ac_c_werror_flag" ||
27590          test ! -s conftest.err
27591        } && test -s conftest.$ac_objext; then
27592   ac_hi=$ac_mid
27593 else
27594   echo "$as_me: failed program was:" >&5
27595 sed 's/^/| /' conftest.$ac_ext >&5
27596
27597         ac_lo=`expr '(' $ac_mid ')' + 1`
27598 fi
27599
27600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27601 done
27602 case $ac_lo in
27603 ?*) ac_cv_sizeof_boolean=$ac_lo;;
27604 '') if test "$ac_cv_type_boolean" = yes; then
27605      { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27606 See \`config.log' for more details." >&5
27607 echo "$as_me: error: cannot compute sizeof (boolean)
27608 See \`config.log' for more details." >&2;}
27609    { (exit 77); exit 77; }; }
27610    else
27611      ac_cv_sizeof_boolean=0
27612    fi ;;
27613 esac
27614 else
27615   cat >conftest.$ac_ext <<_ACEOF
27616 /* confdefs.h.  */
27617 _ACEOF
27618 cat confdefs.h >>conftest.$ac_ext
27619 cat >>conftest.$ac_ext <<_ACEOF
27620 /* end confdefs.h.  */
27621
27622                                     #undef HAVE_BOOLEAN
27623                                     #include <stdio.h>
27624                                     #include <jpeglib.h>
27625
27626
27627    typedef boolean ac__type_sizeof_;
27628 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
27629 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
27630 #include <stdio.h>
27631 #include <stdlib.h>
27632 int
27633 main ()
27634 {
27635
27636   FILE *f = fopen ("conftest.val", "w");
27637   if (! f)
27638     return 1;
27639   if (((long int) (sizeof (ac__type_sizeof_))) < 0)
27640     {
27641       long int i = longval ();
27642       if (i != ((long int) (sizeof (ac__type_sizeof_))))
27643         return 1;
27644       fprintf (f, "%ld\n", i);
27645     }
27646   else
27647     {
27648       unsigned long int i = ulongval ();
27649       if (i != ((long int) (sizeof (ac__type_sizeof_))))
27650         return 1;
27651       fprintf (f, "%lu\n", i);
27652     }
27653   return ferror (f) || fclose (f) != 0;
27654
27655   ;
27656   return 0;
27657 }
27658 _ACEOF
27659 rm -f conftest$ac_exeext
27660 if { (ac_try="$ac_link"
27661 case "(($ac_try" in
27662   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27663   *) ac_try_echo=$ac_try;;
27664 esac
27665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27666   (eval "$ac_link") 2>&5
27667   ac_status=$?
27668   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27669   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27670   { (case "(($ac_try" in
27671   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27672   *) ac_try_echo=$ac_try;;
27673 esac
27674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27675   (eval "$ac_try") 2>&5
27676   ac_status=$?
27677   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27678   (exit $ac_status); }; }; then
27679   ac_cv_sizeof_boolean=`cat conftest.val`
27680 else
27681   echo "$as_me: program exited with status $ac_status" >&5
27682 echo "$as_me: failed program was:" >&5
27683 sed 's/^/| /' conftest.$ac_ext >&5
27684
27685 ( exit $ac_status )
27686 if test "$ac_cv_type_boolean" = yes; then
27687      { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27688 See \`config.log' for more details." >&5
27689 echo "$as_me: error: cannot compute sizeof (boolean)
27690 See \`config.log' for more details." >&2;}
27691    { (exit 77); exit 77; }; }
27692    else
27693      ac_cv_sizeof_boolean=0
27694    fi
27695 fi
27696 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27697 fi
27698 rm -f conftest.val
27699 fi
27700 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
27701 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
27702
27703
27704
27705 cat >>confdefs.h <<_ACEOF
27706 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
27707 _ACEOF
27708
27709
27710                             cat >>confdefs.h <<_ACEOF
27711 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
27712 _ACEOF
27713
27714
27715 fi
27716
27717                 fi
27718             fi
27719         fi
27720     fi
27721 fi
27722
27723
27724 TIFF_LINK=
27725 TIFF_PREREQ_LINKS=-lm
27726 if test "$wxUSE_LIBTIFF" != "no" ; then
27727     cat >>confdefs.h <<\_ACEOF
27728 #define wxUSE_LIBTIFF 1
27729 _ACEOF
27730
27731
27732     if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
27733                         if test "$wxUSE_LIBJPEG" = "sys"; then
27734             TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
27735         fi
27736         if test "$wxUSE_ZLIB" = "sys"; then
27737             TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
27738         fi
27739         { echo "$as_me:$LINENO: checking for tiffio.h" >&5
27740 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
27741 if test "${ac_cv_header_tiffio_h+set}" = set; then
27742   echo $ECHO_N "(cached) $ECHO_C" >&6
27743 else
27744   cat >conftest.$ac_ext <<_ACEOF
27745 /* confdefs.h.  */
27746 _ACEOF
27747 cat confdefs.h >>conftest.$ac_ext
27748 cat >>conftest.$ac_ext <<_ACEOF
27749 /* end confdefs.h.  */
27750
27751
27752
27753 #include <tiffio.h>
27754 _ACEOF
27755 rm -f conftest.$ac_objext
27756 if { (ac_try="$ac_compile"
27757 case "(($ac_try" in
27758   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27759   *) ac_try_echo=$ac_try;;
27760 esac
27761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27762   (eval "$ac_compile") 2>conftest.er1
27763   ac_status=$?
27764   grep -v '^ *+' conftest.er1 >conftest.err
27765   rm -f conftest.er1
27766   cat conftest.err >&5
27767   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27768   (exit $ac_status); } && {
27769          test -z "$ac_c_werror_flag" ||
27770          test ! -s conftest.err
27771        } && test -s conftest.$ac_objext; then
27772   ac_cv_header_tiffio_h=yes
27773 else
27774   echo "$as_me: failed program was:" >&5
27775 sed 's/^/| /' conftest.$ac_ext >&5
27776
27777         ac_cv_header_tiffio_h=no
27778 fi
27779
27780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27781 fi
27782 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
27783 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
27784 if test $ac_cv_header_tiffio_h = yes; then
27785
27786                             { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
27787 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
27788 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
27789   echo $ECHO_N "(cached) $ECHO_C" >&6
27790 else
27791   ac_check_lib_save_LIBS=$LIBS
27792 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
27793 cat >conftest.$ac_ext <<_ACEOF
27794 /* confdefs.h.  */
27795 _ACEOF
27796 cat confdefs.h >>conftest.$ac_ext
27797 cat >>conftest.$ac_ext <<_ACEOF
27798 /* end confdefs.h.  */
27799
27800 /* Override any GCC internal prototype to avoid an error.
27801    Use char because int might match the return type of a GCC
27802    builtin and then its argument prototype would still apply.  */
27803 #ifdef __cplusplus
27804 extern "C"
27805 #endif
27806 char TIFFError ();
27807 int
27808 main ()
27809 {
27810 return TIFFError ();
27811   ;
27812   return 0;
27813 }
27814 _ACEOF
27815 rm -f conftest.$ac_objext conftest$ac_exeext
27816 if { (ac_try="$ac_link"
27817 case "(($ac_try" in
27818   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27819   *) ac_try_echo=$ac_try;;
27820 esac
27821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27822   (eval "$ac_link") 2>conftest.er1
27823   ac_status=$?
27824   grep -v '^ *+' conftest.er1 >conftest.err
27825   rm -f conftest.er1
27826   cat conftest.err >&5
27827   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27828   (exit $ac_status); } && {
27829          test -z "$ac_c_werror_flag" ||
27830          test ! -s conftest.err
27831        } && test -s conftest$ac_exeext &&
27832        $as_test_x conftest$ac_exeext; then
27833   ac_cv_lib_tiff_TIFFError=yes
27834 else
27835   echo "$as_me: failed program was:" >&5
27836 sed 's/^/| /' conftest.$ac_ext >&5
27837
27838         ac_cv_lib_tiff_TIFFError=no
27839 fi
27840
27841 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27842       conftest$ac_exeext conftest.$ac_ext
27843 LIBS=$ac_check_lib_save_LIBS
27844 fi
27845 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
27846 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
27847 if test $ac_cv_lib_tiff_TIFFError = yes; then
27848   TIFF_LINK=" -ltiff"
27849 fi
27850
27851
27852 fi
27853
27854
27855
27856         if test "x$TIFF_LINK" = "x" ; then
27857             if test "$wxUSE_LIBTIFF" = "sys" ; then
27858                 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
27859 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
27860    { (exit 1); exit 1; }; }
27861             else
27862                 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
27863 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
27864                 wxUSE_LIBTIFF=builtin
27865             fi
27866         else
27867                         wxUSE_LIBTIFF=sys
27868         fi
27869     fi
27870     if test "$wxUSE_LIBTIFF" = "builtin" ; then
27871         if test "$wxUSE_LIBJPEG" = "no"; then
27872                                                                                     ac_configure_args="$ac_configure_args --disable-jpeg"
27873         fi
27874         subdirs="$subdirs src/tiff"
27875
27876     fi
27877 fi
27878
27879
27880 if test "$wxUSE_WCHAR_T" != "yes"; then
27881     if test "$wxUSE_EXPAT" != "no"; then
27882         { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
27883 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
27884         wxUSE_EXPAT=no
27885     fi
27886     if test "$wxUSE_XML" != "no"; then
27887         { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
27888 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
27889         wxUSE_XML=no
27890     fi
27891 fi
27892
27893 if test "$wxUSE_EXPAT" != "no"; then
27894     wxUSE_XML=yes
27895     cat >>confdefs.h <<\_ACEOF
27896 #define wxUSE_EXPAT 1
27897 _ACEOF
27898
27899     cat >>confdefs.h <<\_ACEOF
27900 #define wxUSE_XML 1
27901 _ACEOF
27902
27903
27904     if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
27905         { echo "$as_me:$LINENO: checking for expat.h" >&5
27906 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
27907 if test "${ac_cv_header_expat_h+set}" = set; then
27908   echo $ECHO_N "(cached) $ECHO_C" >&6
27909 else
27910   cat >conftest.$ac_ext <<_ACEOF
27911 /* confdefs.h.  */
27912 _ACEOF
27913 cat confdefs.h >>conftest.$ac_ext
27914 cat >>conftest.$ac_ext <<_ACEOF
27915 /* end confdefs.h.  */
27916
27917
27918 #include <expat.h>
27919 _ACEOF
27920 rm -f conftest.$ac_objext
27921 if { (ac_try="$ac_compile"
27922 case "(($ac_try" in
27923   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27924   *) ac_try_echo=$ac_try;;
27925 esac
27926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27927   (eval "$ac_compile") 2>conftest.er1
27928   ac_status=$?
27929   grep -v '^ *+' conftest.er1 >conftest.err
27930   rm -f conftest.er1
27931   cat conftest.err >&5
27932   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27933   (exit $ac_status); } && {
27934          test -z "$ac_c_werror_flag" ||
27935          test ! -s conftest.err
27936        } && test -s conftest.$ac_objext; then
27937   ac_cv_header_expat_h=yes
27938 else
27939   echo "$as_me: failed program was:" >&5
27940 sed 's/^/| /' conftest.$ac_ext >&5
27941
27942         ac_cv_header_expat_h=no
27943 fi
27944
27945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27946 fi
27947 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
27948 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
27949 if test $ac_cv_header_expat_h = yes; then
27950   found_expat_h=1
27951 fi
27952
27953
27954         if test "x$found_expat_h" = "x1"; then
27955                         { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
27956 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
27957 if test "${wx_cv_expat_is_not_broken+set}" = set; then
27958   echo $ECHO_N "(cached) $ECHO_C" >&6
27959 else
27960
27961                 ac_ext=cpp
27962 ac_cpp='$CXXCPP $CPPFLAGS'
27963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27966
27967                 cat >conftest.$ac_ext <<_ACEOF
27968 /* confdefs.h.  */
27969 _ACEOF
27970 cat confdefs.h >>conftest.$ac_ext
27971 cat >>conftest.$ac_ext <<_ACEOF
27972 /* end confdefs.h.  */
27973 #include <expat.h>
27974 int
27975 main ()
27976 {
27977
27978   ;
27979   return 0;
27980 }
27981 _ACEOF
27982 rm -f conftest.$ac_objext
27983 if { (ac_try="$ac_compile"
27984 case "(($ac_try" in
27985   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27986   *) ac_try_echo=$ac_try;;
27987 esac
27988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27989   (eval "$ac_compile") 2>conftest.er1
27990   ac_status=$?
27991   grep -v '^ *+' conftest.er1 >conftest.err
27992   rm -f conftest.er1
27993   cat conftest.err >&5
27994   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27995   (exit $ac_status); } && {
27996          test -z "$ac_cxx_werror_flag" ||
27997          test ! -s conftest.err
27998        } && test -s conftest.$ac_objext; then
27999   wx_cv_expat_is_not_broken=yes
28000 else
28001   echo "$as_me: failed program was:" >&5
28002 sed 's/^/| /' conftest.$ac_ext >&5
28003
28004         wx_cv_expat_is_not_broken=no
28005
28006 fi
28007
28008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28009                 ac_ext=c
28010 ac_cpp='$CPP $CPPFLAGS'
28011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28014
28015
28016
28017 fi
28018 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
28019 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
28020             if test "$wx_cv_expat_is_not_broken" = "yes" ; then
28021                 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
28022 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
28023 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
28024   echo $ECHO_N "(cached) $ECHO_C" >&6
28025 else
28026   ac_check_lib_save_LIBS=$LIBS
28027 LIBS="-lexpat  $LIBS"
28028 cat >conftest.$ac_ext <<_ACEOF
28029 /* confdefs.h.  */
28030 _ACEOF
28031 cat confdefs.h >>conftest.$ac_ext
28032 cat >>conftest.$ac_ext <<_ACEOF
28033 /* end confdefs.h.  */
28034
28035 /* Override any GCC internal prototype to avoid an error.
28036    Use char because int might match the return type of a GCC
28037    builtin and then its argument prototype would still apply.  */
28038 #ifdef __cplusplus
28039 extern "C"
28040 #endif
28041 char XML_ParserCreate ();
28042 int
28043 main ()
28044 {
28045 return XML_ParserCreate ();
28046   ;
28047   return 0;
28048 }
28049 _ACEOF
28050 rm -f conftest.$ac_objext conftest$ac_exeext
28051 if { (ac_try="$ac_link"
28052 case "(($ac_try" in
28053   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28054   *) ac_try_echo=$ac_try;;
28055 esac
28056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28057   (eval "$ac_link") 2>conftest.er1
28058   ac_status=$?
28059   grep -v '^ *+' conftest.er1 >conftest.err
28060   rm -f conftest.er1
28061   cat conftest.err >&5
28062   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28063   (exit $ac_status); } && {
28064          test -z "$ac_c_werror_flag" ||
28065          test ! -s conftest.err
28066        } && test -s conftest$ac_exeext &&
28067        $as_test_x conftest$ac_exeext; then
28068   ac_cv_lib_expat_XML_ParserCreate=yes
28069 else
28070   echo "$as_me: failed program was:" >&5
28071 sed 's/^/| /' conftest.$ac_ext >&5
28072
28073         ac_cv_lib_expat_XML_ParserCreate=no
28074 fi
28075
28076 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28077       conftest$ac_exeext conftest.$ac_ext
28078 LIBS=$ac_check_lib_save_LIBS
28079 fi
28080 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
28081 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
28082 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
28083   EXPAT_LINK=" -lexpat"
28084 fi
28085
28086             fi
28087         fi
28088         if test "x$EXPAT_LINK" = "x" ; then
28089             if test "$wxUSE_EXPAT" = "sys" ; then
28090                 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
28091 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
28092    { (exit 1); exit 1; }; }
28093             else
28094                 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
28095 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
28096                 wxUSE_EXPAT=builtin
28097             fi
28098         else
28099                         wxUSE_EXPAT=sys
28100         fi
28101     fi
28102     if test "$wxUSE_EXPAT" = "builtin" ; then
28103                 subdirs="$subdirs src/expat"
28104
28105     fi
28106 fi
28107
28108
28109
28110 if test "$wxUSE_LIBMSPACK" != "no"; then
28111     { echo "$as_me:$LINENO: checking for mspack.h" >&5
28112 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
28113 if test "${ac_cv_header_mspack_h+set}" = set; then
28114   echo $ECHO_N "(cached) $ECHO_C" >&6
28115 else
28116   cat >conftest.$ac_ext <<_ACEOF
28117 /* confdefs.h.  */
28118 _ACEOF
28119 cat confdefs.h >>conftest.$ac_ext
28120 cat >>conftest.$ac_ext <<_ACEOF
28121 /* end confdefs.h.  */
28122
28123
28124 #include <mspack.h>
28125 _ACEOF
28126 rm -f conftest.$ac_objext
28127 if { (ac_try="$ac_compile"
28128 case "(($ac_try" in
28129   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28130   *) ac_try_echo=$ac_try;;
28131 esac
28132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28133   (eval "$ac_compile") 2>conftest.er1
28134   ac_status=$?
28135   grep -v '^ *+' conftest.er1 >conftest.err
28136   rm -f conftest.er1
28137   cat conftest.err >&5
28138   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28139   (exit $ac_status); } && {
28140          test -z "$ac_c_werror_flag" ||
28141          test ! -s conftest.err
28142        } && test -s conftest.$ac_objext; then
28143   ac_cv_header_mspack_h=yes
28144 else
28145   echo "$as_me: failed program was:" >&5
28146 sed 's/^/| /' conftest.$ac_ext >&5
28147
28148         ac_cv_header_mspack_h=no
28149 fi
28150
28151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28152 fi
28153 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
28154 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
28155 if test $ac_cv_header_mspack_h = yes; then
28156   found_mspack_h=1
28157 fi
28158
28159
28160     if test "x$found_mspack_h" = "x1"; then
28161         { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
28162 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
28163 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
28164   echo $ECHO_N "(cached) $ECHO_C" >&6
28165 else
28166   ac_check_lib_save_LIBS=$LIBS
28167 LIBS="-lmspack  $LIBS"
28168 cat >conftest.$ac_ext <<_ACEOF
28169 /* confdefs.h.  */
28170 _ACEOF
28171 cat confdefs.h >>conftest.$ac_ext
28172 cat >>conftest.$ac_ext <<_ACEOF
28173 /* end confdefs.h.  */
28174
28175 /* Override any GCC internal prototype to avoid an error.
28176    Use char because int might match the return type of a GCC
28177    builtin and then its argument prototype would still apply.  */
28178 #ifdef __cplusplus
28179 extern "C"
28180 #endif
28181 char mspack_create_chm_decompressor ();
28182 int
28183 main ()
28184 {
28185 return mspack_create_chm_decompressor ();
28186   ;
28187   return 0;
28188 }
28189 _ACEOF
28190 rm -f conftest.$ac_objext conftest$ac_exeext
28191 if { (ac_try="$ac_link"
28192 case "(($ac_try" in
28193   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28194   *) ac_try_echo=$ac_try;;
28195 esac
28196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28197   (eval "$ac_link") 2>conftest.er1
28198   ac_status=$?
28199   grep -v '^ *+' conftest.er1 >conftest.err
28200   rm -f conftest.er1
28201   cat conftest.err >&5
28202   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28203   (exit $ac_status); } && {
28204          test -z "$ac_c_werror_flag" ||
28205          test ! -s conftest.err
28206        } && test -s conftest$ac_exeext &&
28207        $as_test_x conftest$ac_exeext; then
28208   ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
28209 else
28210   echo "$as_me: failed program was:" >&5
28211 sed 's/^/| /' conftest.$ac_ext >&5
28212
28213         ac_cv_lib_mspack_mspack_create_chm_decompressor=no
28214 fi
28215
28216 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28217       conftest$ac_exeext conftest.$ac_ext
28218 LIBS=$ac_check_lib_save_LIBS
28219 fi
28220 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
28221 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
28222 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
28223   MSPACK_LINK=" -lmspack"
28224 fi
28225
28226     fi
28227     if test "x$MSPACK_LINK" = "x" ; then
28228         wxUSE_LIBMSPACK=no
28229     fi
28230 fi
28231
28232 if test "$wxUSE_LIBMSPACK" != "no"; then
28233     cat >>confdefs.h <<\_ACEOF
28234 #define wxUSE_LIBMSPACK 1
28235 _ACEOF
28236
28237 fi
28238
28239
28240
28241 AFMINSTALL=
28242 WIN32INSTALL=
28243
28244 TOOLKIT=
28245 TOOLKIT_INCLUDE=
28246 WIDGET_SET=
28247
28248 if test "$USE_WIN32" = 1 ; then
28249
28250 for ac_header in w32api.h
28251 do
28252 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28253 { echo "$as_me:$LINENO: checking for $ac_header" >&5
28254 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
28255 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28256   echo $ECHO_N "(cached) $ECHO_C" >&6
28257 else
28258   cat >conftest.$ac_ext <<_ACEOF
28259 /* confdefs.h.  */
28260 _ACEOF
28261 cat confdefs.h >>conftest.$ac_ext
28262 cat >>conftest.$ac_ext <<_ACEOF
28263 /* end confdefs.h.  */
28264
28265
28266 #include <$ac_header>
28267 _ACEOF
28268 rm -f conftest.$ac_objext
28269 if { (ac_try="$ac_compile"
28270 case "(($ac_try" in
28271   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28272   *) ac_try_echo=$ac_try;;
28273 esac
28274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28275   (eval "$ac_compile") 2>conftest.er1
28276   ac_status=$?
28277   grep -v '^ *+' conftest.er1 >conftest.err
28278   rm -f conftest.er1
28279   cat conftest.err >&5
28280   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28281   (exit $ac_status); } && {
28282          test -z "$ac_c_werror_flag" ||
28283          test ! -s conftest.err
28284        } && test -s conftest.$ac_objext; then
28285   eval "$as_ac_Header=yes"
28286 else
28287   echo "$as_me: failed program was:" >&5
28288 sed 's/^/| /' conftest.$ac_ext >&5
28289
28290         eval "$as_ac_Header=no"
28291 fi
28292
28293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28294 fi
28295 ac_res=`eval echo '${'$as_ac_Header'}'`
28296                { echo "$as_me:$LINENO: result: $ac_res" >&5
28297 echo "${ECHO_T}$ac_res" >&6; }
28298 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28299   cat >>confdefs.h <<_ACEOF
28300 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28301 _ACEOF
28302
28303 fi
28304
28305 done
28306
28307     { echo "$as_me:$LINENO: checking for windows.h" >&5
28308 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
28309 if test "${ac_cv_header_windows_h+set}" = set; then
28310   echo $ECHO_N "(cached) $ECHO_C" >&6
28311 else
28312   cat >conftest.$ac_ext <<_ACEOF
28313 /* confdefs.h.  */
28314 _ACEOF
28315 cat confdefs.h >>conftest.$ac_ext
28316 cat >>conftest.$ac_ext <<_ACEOF
28317 /* end confdefs.h.  */
28318
28319
28320 #include <windows.h>
28321 _ACEOF
28322 rm -f conftest.$ac_objext
28323 if { (ac_try="$ac_compile"
28324 case "(($ac_try" in
28325   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28326   *) ac_try_echo=$ac_try;;
28327 esac
28328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28329   (eval "$ac_compile") 2>conftest.er1
28330   ac_status=$?
28331   grep -v '^ *+' conftest.er1 >conftest.err
28332   rm -f conftest.er1
28333   cat conftest.err >&5
28334   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28335   (exit $ac_status); } && {
28336          test -z "$ac_c_werror_flag" ||
28337          test ! -s conftest.err
28338        } && test -s conftest.$ac_objext; then
28339   ac_cv_header_windows_h=yes
28340 else
28341   echo "$as_me: failed program was:" >&5
28342 sed 's/^/| /' conftest.$ac_ext >&5
28343
28344         ac_cv_header_windows_h=no
28345 fi
28346
28347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28348 fi
28349 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
28350 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
28351 if test $ac_cv_header_windows_h = yes; then
28352   :
28353 else
28354
28355         { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
28356 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
28357    { (exit 1); exit 1; }; }
28358
28359 fi
28360
28361
28362
28363             case "${host}" in
28364         x86_64-*-mingw32* )
28365                         LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lwctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28366         ;;
28367         * )
28368             LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28369         ;;
28370     esac
28371     if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
28372         LIBS="$LIBS -loleacc"
28373     fi
28374
28375     case "${host}" in
28376         *-*-cygwin* )
28377                         LIBS="$LIBS -lkernel32 -luser32"
28378     esac
28379
28380         RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
28381     RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
28382
28383                 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
28384
28385         WIN32INSTALL=win32install
28386
28387         { echo "$as_me:$LINENO: checking for pbt.h" >&5
28388 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
28389 if test "${ac_cv_header_pbt_h+set}" = set; then
28390   echo $ECHO_N "(cached) $ECHO_C" >&6
28391 else
28392   cat >conftest.$ac_ext <<_ACEOF
28393 /* confdefs.h.  */
28394 _ACEOF
28395 cat confdefs.h >>conftest.$ac_ext
28396 cat >>conftest.$ac_ext <<_ACEOF
28397 /* end confdefs.h.  */
28398
28399
28400 #include <pbt.h>
28401 _ACEOF
28402 rm -f conftest.$ac_objext
28403 if { (ac_try="$ac_compile"
28404 case "(($ac_try" in
28405   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28406   *) ac_try_echo=$ac_try;;
28407 esac
28408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28409   (eval "$ac_compile") 2>conftest.er1
28410   ac_status=$?
28411   grep -v '^ *+' conftest.er1 >conftest.err
28412   rm -f conftest.er1
28413   cat conftest.err >&5
28414   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28415   (exit $ac_status); } && {
28416          test -z "$ac_c_werror_flag" ||
28417          test ! -s conftest.err
28418        } && test -s conftest.$ac_objext; then
28419   ac_cv_header_pbt_h=yes
28420 else
28421   echo "$as_me: failed program was:" >&5
28422 sed 's/^/| /' conftest.$ac_ext >&5
28423
28424         ac_cv_header_pbt_h=no
28425 fi
28426
28427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28428 fi
28429 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
28430 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
28431 if test $ac_cv_header_pbt_h = yes; then
28432   :
28433 else
28434   cat >>confdefs.h <<\_ACEOF
28435 #define NEED_PBT_H 1
28436 _ACEOF
28437
28438 fi
28439
28440
28441 fi
28442
28443 if test "$wxUSE_GUI" = "yes"; then
28444     USE_GUI=1
28445
28446     GUI_TK_LIBRARY=
28447
28448     WXGTK12=
28449     WXGTK127=
28450     WXGTK2=
28451     WXGPE=
28452
28453     if test "$wxUSE_COCOA" = 1 ; then
28454         if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
28455             { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
28456 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
28457             wxUSE_PRINTING_ARCHITECTURE=no
28458         fi
28459         if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
28460             { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
28461 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
28462             wxUSE_DRAG_AND_DROP=no
28463         fi
28464         if test "$wxUSE_DRAGIMAGE" = "yes"; then
28465             { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
28466 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
28467             wxUSE_DRAGIMAGE=no
28468         fi
28469     fi
28470
28471     if test "$wxUSE_MSW" = 1 ; then
28472         TOOLKIT=MSW
28473         GUIDIST=MSW_DIST
28474
28475                 case "${host}" in
28476             *-*-mingw32* )
28477                 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
28478         esac
28479     fi
28480
28481     if test "$wxUSE_GTK" = 1; then
28482                 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
28483 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
28484
28485         gtk_version_cached=1
28486         if test "${wx_cv_lib_gtk+set}" = set; then
28487   echo $ECHO_N "(cached) $ECHO_C" >&6
28488 else
28489
28490                                                 gtk_version_cached=0
28491                 { echo "$as_me:$LINENO: result: " >&5
28492 echo "${ECHO_T}" >&6; }
28493
28494                                                 GTK_MODULES=
28495                 if test "$wxUSE_THREADS" = "yes"; then
28496                     GTK_MODULES=gthread
28497                 fi
28498
28499                                 wx_cv_lib_gtk=
28500                 if test "x$wxGTK_VERSION" != "x1"
28501                 then
28502                                                                                 case "${host}" in
28503                         *-*-solaris2* )
28504                             if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
28505                                 enable_gtktest=no
28506                             fi
28507                     esac
28508
28509                     # Check whether --enable-gtktest was given.
28510 if test "${enable_gtktest+set}" = set; then
28511   enableval=$enable_gtktest;
28512 else
28513   enable_gtktest=yes
28514 fi
28515
28516
28517   pkg_config_args=gtk+-2.0
28518   for module in . $GTK_MODULES
28519   do
28520       case "$module" in
28521          gthread)
28522              pkg_config_args="$pkg_config_args gthread-2.0"
28523          ;;
28524       esac
28525   done
28526
28527   no_gtk=""
28528
28529   # Extract the first word of "pkg-config", so it can be a program name with args.
28530 set dummy pkg-config; ac_word=$2
28531 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28532 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28533 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28534   echo $ECHO_N "(cached) $ECHO_C" >&6
28535 else
28536   case $PKG_CONFIG in
28537   [\\/]* | ?:[\\/]*)
28538   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28539   ;;
28540   *)
28541   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28542 for as_dir in $PATH
28543 do
28544   IFS=$as_save_IFS
28545   test -z "$as_dir" && as_dir=.
28546   for ac_exec_ext in '' $ac_executable_extensions; do
28547   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28548     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28549     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28550     break 2
28551   fi
28552 done
28553 done
28554 IFS=$as_save_IFS
28555
28556   test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
28557   ;;
28558 esac
28559 fi
28560 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28561 if test -n "$PKG_CONFIG"; then
28562   { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
28563 echo "${ECHO_T}$PKG_CONFIG" >&6; }
28564 else
28565   { echo "$as_me:$LINENO: result: no" >&5
28566 echo "${ECHO_T}no" >&6; }
28567 fi
28568
28569
28570
28571   if test x$PKG_CONFIG != xno ; then
28572     if pkg-config --atleast-pkgconfig-version 0.7 ; then
28573       :
28574     else
28575       echo "*** pkg-config too old; version 0.7 or better required."
28576       no_gtk=yes
28577       PKG_CONFIG=no
28578     fi
28579   else
28580     no_gtk=yes
28581   fi
28582
28583   min_gtk_version=2.4.0
28584   { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
28585 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
28586
28587   if test x$PKG_CONFIG != xno ; then
28588     ## don't try to run the test against uninstalled libtool libs
28589     if $PKG_CONFIG --uninstalled $pkg_config_args; then
28590           echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
28591           enable_gtktest=no
28592     fi
28593
28594     if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
28595           :
28596     else
28597           no_gtk=yes
28598     fi
28599   fi
28600
28601   if test x"$no_gtk" = x ; then
28602     GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
28603     GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
28604     gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28605            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28606     gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28607            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28608     gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28609            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28610     if test "x$enable_gtktest" = "xyes" ; then
28611       ac_save_CFLAGS="$CFLAGS"
28612       ac_save_LIBS="$LIBS"
28613       CFLAGS="$CFLAGS $GTK_CFLAGS"
28614       LIBS="$GTK_LIBS $LIBS"
28615       rm -f conf.gtktest
28616       if test "$cross_compiling" = yes; then
28617   echo $ac_n "cross compiling; assumed OK... $ac_c"
28618 else
28619   cat >conftest.$ac_ext <<_ACEOF
28620 /* confdefs.h.  */
28621 _ACEOF
28622 cat confdefs.h >>conftest.$ac_ext
28623 cat >>conftest.$ac_ext <<_ACEOF
28624 /* end confdefs.h.  */
28625
28626 #include <gtk/gtk.h>
28627 #include <stdio.h>
28628 #include <stdlib.h>
28629
28630 int
28631 main ()
28632 {
28633   int major, minor, micro;
28634   char *tmp_version;
28635
28636   system ("touch conf.gtktest");
28637
28638   /* HP/UX 9 (%@#!) writes to sscanf strings */
28639   tmp_version = g_strdup("$min_gtk_version");
28640   if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28641      printf("%s, bad version string\n", "$min_gtk_version");
28642      exit(1);
28643    }
28644
28645   if ((gtk_major_version != $gtk_config_major_version) ||
28646       (gtk_minor_version != $gtk_config_minor_version) ||
28647       (gtk_micro_version != $gtk_config_micro_version))
28648     {
28649       printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28650              $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28651              gtk_major_version, gtk_minor_version, gtk_micro_version);
28652       printf ("*** was found! If pkg-config was correct, then it is best\n");
28653       printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28654       printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28655       printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28656       printf("*** required on your system.\n");
28657       printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
28658       printf("*** to point to the correct configuration files\n");
28659     }
28660   else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28661            (gtk_minor_version != GTK_MINOR_VERSION) ||
28662            (gtk_micro_version != GTK_MICRO_VERSION))
28663     {
28664       printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28665              GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28666       printf("*** library (version %d.%d.%d)\n",
28667              gtk_major_version, gtk_minor_version, gtk_micro_version);
28668     }
28669   else
28670     {
28671       if ((gtk_major_version > major) ||
28672         ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28673         ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28674       {
28675         return 0;
28676        }
28677      else
28678       {
28679         printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28680                gtk_major_version, gtk_minor_version, gtk_micro_version);
28681         printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28682                major, minor, micro);
28683         printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28684         printf("***\n");
28685         printf("*** If you have already installed a sufficiently new version, this error\n");
28686         printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
28687         printf("*** being found. The easiest way to fix this is to remove the old version\n");
28688         printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
28689         printf("*** correct copy of pkg-config. (In this case, you will have to\n");
28690         printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28691         printf("*** so that the correct libraries are found at run-time))\n");
28692       }
28693     }
28694   return 1;
28695 }
28696
28697 _ACEOF
28698 rm -f conftest$ac_exeext
28699 if { (ac_try="$ac_link"
28700 case "(($ac_try" in
28701   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28702   *) ac_try_echo=$ac_try;;
28703 esac
28704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28705   (eval "$ac_link") 2>&5
28706   ac_status=$?
28707   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28708   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28709   { (case "(($ac_try" in
28710   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28711   *) ac_try_echo=$ac_try;;
28712 esac
28713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28714   (eval "$ac_try") 2>&5
28715   ac_status=$?
28716   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28717   (exit $ac_status); }; }; then
28718   :
28719 else
28720   echo "$as_me: program exited with status $ac_status" >&5
28721 echo "$as_me: failed program was:" >&5
28722 sed 's/^/| /' conftest.$ac_ext >&5
28723
28724 ( exit $ac_status )
28725 no_gtk=yes
28726 fi
28727 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28728 fi
28729
28730
28731        CFLAGS="$ac_save_CFLAGS"
28732        LIBS="$ac_save_LIBS"
28733      fi
28734   fi
28735   if test "x$no_gtk" = x ; then
28736      { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
28737 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
28738      wx_cv_lib_gtk=2.0
28739   else
28740      { echo "$as_me:$LINENO: result: no" >&5
28741 echo "${ECHO_T}no" >&6; }
28742      if test "$PKG_CONFIG" = "no" ; then
28743        echo "*** A new enough version of pkg-config was not found."
28744        echo "*** See http://pkgconfig.sourceforge.net"
28745      else
28746        if test -f conf.gtktest ; then
28747         :
28748        else
28749           echo "*** Could not run GTK+ test program, checking why..."
28750           ac_save_CFLAGS="$CFLAGS"
28751           ac_save_LIBS="$LIBS"
28752           CFLAGS="$CFLAGS $GTK_CFLAGS"
28753           LIBS="$LIBS $GTK_LIBS"
28754           cat >conftest.$ac_ext <<_ACEOF
28755 /* confdefs.h.  */
28756 _ACEOF
28757 cat confdefs.h >>conftest.$ac_ext
28758 cat >>conftest.$ac_ext <<_ACEOF
28759 /* end confdefs.h.  */
28760
28761 #include <gtk/gtk.h>
28762 #include <stdio.h>
28763
28764 int
28765 main ()
28766 {
28767  return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28768   ;
28769   return 0;
28770 }
28771 _ACEOF
28772 rm -f conftest.$ac_objext conftest$ac_exeext
28773 if { (ac_try="$ac_link"
28774 case "(($ac_try" in
28775   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28776   *) ac_try_echo=$ac_try;;
28777 esac
28778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28779   (eval "$ac_link") 2>conftest.er1
28780   ac_status=$?
28781   grep -v '^ *+' conftest.er1 >conftest.err
28782   rm -f conftest.er1
28783   cat conftest.err >&5
28784   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28785   (exit $ac_status); } && {
28786          test -z "$ac_c_werror_flag" ||
28787          test ! -s conftest.err
28788        } && test -s conftest$ac_exeext &&
28789        $as_test_x conftest$ac_exeext; then
28790    echo "*** The test program compiled, but did not run. This usually means"
28791           echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
28792           echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
28793           echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28794           echo "*** to the installed location  Also, make sure you have run ldconfig if that"
28795           echo "*** is required on your system"
28796           echo "***"
28797           echo "*** If you have an old version installed, it is best to remove it, although"
28798           echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28799 else
28800   echo "$as_me: failed program was:" >&5
28801 sed 's/^/| /' conftest.$ac_ext >&5
28802
28803          echo "*** The test program failed to compile or link. See the file config.log for the"
28804           echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
28805 fi
28806
28807 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28808       conftest$ac_exeext conftest.$ac_ext
28809           CFLAGS="$ac_save_CFLAGS"
28810           LIBS="$ac_save_LIBS"
28811        fi
28812      fi
28813      GTK_CFLAGS=""
28814      GTK_LIBS=""
28815      :
28816   fi
28817
28818
28819   rm -f conf.gtktest
28820
28821
28822                                         case "${host}" in
28823                         *-*-solaris2* )
28824                             if test "$wxUSE_SHARED" != "yes"; then
28825                                 GTK_LIBS="$GTK_LIBS -lX11"
28826                             fi
28827                     esac
28828                 fi
28829
28830                                 if test -z "$wx_cv_lib_gtk"; then
28831                     if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
28832
28833 # Check whether --with-gtk-prefix was given.
28834 if test "${with_gtk_prefix+set}" = set; then
28835   withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28836 else
28837   gtk_config_prefix=""
28838 fi
28839
28840
28841 # Check whether --with-gtk-exec-prefix was given.
28842 if test "${with_gtk_exec_prefix+set}" = set; then
28843   withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28844 else
28845   gtk_config_exec_prefix=""
28846 fi
28847
28848 # Check whether --enable-gtktest was given.
28849 if test "${enable_gtktest+set}" = set; then
28850   enableval=$enable_gtktest;
28851 else
28852   enable_gtktest=yes
28853 fi
28854
28855
28856   for module in . $GTK_MODULES
28857   do
28858       case "$module" in
28859          gthread)
28860              gtk_config_args="$gtk_config_args gthread"
28861          ;;
28862       esac
28863   done
28864
28865   if test x$gtk_config_exec_prefix != x ; then
28866      gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28867      if test x${GTK_CONFIG+set} != xset ; then
28868         GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28869      fi
28870   fi
28871   if test x$gtk_config_prefix != x ; then
28872      gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28873      if test x${GTK_CONFIG+set} != xset ; then
28874         GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28875      fi
28876   fi
28877
28878   # Extract the first word of "gtk-config", so it can be a program name with args.
28879 set dummy gtk-config; ac_word=$2
28880 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28881 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28882 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28883   echo $ECHO_N "(cached) $ECHO_C" >&6
28884 else
28885   case $GTK_CONFIG in
28886   [\\/]* | ?:[\\/]*)
28887   ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28888   ;;
28889   *)
28890   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28891 for as_dir in $PATH
28892 do
28893   IFS=$as_save_IFS
28894   test -z "$as_dir" && as_dir=.
28895   for ac_exec_ext in '' $ac_executable_extensions; do
28896   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28897     ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28898     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28899     break 2
28900   fi
28901 done
28902 done
28903 IFS=$as_save_IFS
28904
28905   test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28906   ;;
28907 esac
28908 fi
28909 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28910 if test -n "$GTK_CONFIG"; then
28911   { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28912 echo "${ECHO_T}$GTK_CONFIG" >&6; }
28913 else
28914   { echo "$as_me:$LINENO: result: no" >&5
28915 echo "${ECHO_T}no" >&6; }
28916 fi
28917
28918
28919   min_gtk_version=1.2.7
28920   { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28921 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
28922   no_gtk=""
28923   if test "$GTK_CONFIG" = "no" ; then
28924     no_gtk=yes
28925   else
28926     GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28927     GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28928     gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28929            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28930     gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28931            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28932     gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28933            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28934     if test "x$enable_gtktest" = "xyes" ; then
28935       ac_save_CFLAGS="$CFLAGS"
28936       ac_save_LIBS="$LIBS"
28937       CFLAGS="$CFLAGS $GTK_CFLAGS"
28938       LIBS="$GTK_LIBS $LIBS"
28939       rm -f conf.gtktest
28940       if test "$cross_compiling" = yes; then
28941   echo $ac_n "cross compiling; assumed OK... $ac_c"
28942 else
28943   cat >conftest.$ac_ext <<_ACEOF
28944 /* confdefs.h.  */
28945 _ACEOF
28946 cat confdefs.h >>conftest.$ac_ext
28947 cat >>conftest.$ac_ext <<_ACEOF
28948 /* end confdefs.h.  */
28949
28950 #include <gtk/gtk.h>
28951 #include <stdio.h>
28952 #include <stdlib.h>
28953
28954 int
28955 main ()
28956 {
28957   int major, minor, micro;
28958   char *tmp_version;
28959
28960   system ("touch conf.gtktest");
28961
28962   /* HP/UX 9 (%@#!) writes to sscanf strings */
28963   tmp_version = g_strdup("$min_gtk_version");
28964   if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28965      printf("%s, bad version string\n", "$min_gtk_version");
28966      exit(1);
28967    }
28968
28969   if ((gtk_major_version != $gtk_config_major_version) ||
28970       (gtk_minor_version != $gtk_config_minor_version) ||
28971       (gtk_micro_version != $gtk_config_micro_version))
28972     {
28973       printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28974              $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28975              gtk_major_version, gtk_minor_version, gtk_micro_version);
28976       printf ("*** was found! If gtk-config was correct, then it is best\n");
28977       printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28978       printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28979       printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28980       printf("*** required on your system.\n");
28981       printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28982       printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28983       printf("*** before re-running configure\n");
28984     }
28985 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28986   else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28987            (gtk_minor_version != GTK_MINOR_VERSION) ||
28988            (gtk_micro_version != GTK_MICRO_VERSION))
28989     {
28990       printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28991              GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28992       printf("*** library (version %d.%d.%d)\n",
28993              gtk_major_version, gtk_minor_version, gtk_micro_version);
28994     }
28995 #endif /* defined (GTK_MAJOR_VERSION) ... */
28996   else
28997     {
28998       if ((gtk_major_version > major) ||
28999         ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29000         ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29001       {
29002         return 0;
29003        }
29004      else
29005       {
29006         printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
29007                gtk_major_version, gtk_minor_version, gtk_micro_version);
29008         printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
29009                major, minor, micro);
29010         printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
29011         printf("***\n");
29012         printf("*** If you have already installed a sufficiently new version, this error\n");
29013         printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
29014         printf("*** being found. The easiest way to fix this is to remove the old version\n");
29015         printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
29016         printf("*** correct copy of gtk-config. (In this case, you will have to\n");
29017         printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
29018         printf("*** so that the correct libraries are found at run-time))\n");
29019       }
29020     }
29021   return 1;
29022 }
29023
29024 _ACEOF
29025 rm -f conftest$ac_exeext
29026 if { (ac_try="$ac_link"
29027 case "(($ac_try" in
29028   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29029   *) ac_try_echo=$ac_try;;
29030 esac
29031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29032   (eval "$ac_link") 2>&5
29033   ac_status=$?
29034   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29035   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29036   { (case "(($ac_try" in
29037   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29038   *) ac_try_echo=$ac_try;;
29039 esac
29040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29041   (eval "$ac_try") 2>&5
29042   ac_status=$?
29043   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29044   (exit $ac_status); }; }; then
29045   :
29046 else
29047   echo "$as_me: program exited with status $ac_status" >&5
29048 echo "$as_me: failed program was:" >&5
29049 sed 's/^/| /' conftest.$ac_ext >&5
29050
29051 ( exit $ac_status )
29052 no_gtk=yes
29053 fi
29054 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29055 fi
29056
29057
29058        CFLAGS="$ac_save_CFLAGS"
29059        LIBS="$ac_save_LIBS"
29060      fi
29061   fi
29062   if test "x$no_gtk" = x ; then
29063      { echo "$as_me:$LINENO: result: yes" >&5
29064 echo "${ECHO_T}yes" >&6; }
29065      wx_cv_lib_gtk=1.2.7
29066   else
29067      { echo "$as_me:$LINENO: result: no" >&5
29068 echo "${ECHO_T}no" >&6; }
29069      if test "$GTK_CONFIG" = "no" ; then
29070        echo "*** The gtk-config script installed by GTK could not be found"
29071        echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
29072        echo "*** your path, or set the GTK_CONFIG environment variable to the"
29073        echo "*** full path to gtk-config."
29074      else
29075        if test -f conf.gtktest ; then
29076         :
29077        else
29078           echo "*** Could not run GTK test program, checking why..."
29079           CFLAGS="$CFLAGS $GTK_CFLAGS"
29080           LIBS="$LIBS $GTK_LIBS"
29081           cat >conftest.$ac_ext <<_ACEOF
29082 /* confdefs.h.  */
29083 _ACEOF
29084 cat confdefs.h >>conftest.$ac_ext
29085 cat >>conftest.$ac_ext <<_ACEOF
29086 /* end confdefs.h.  */
29087
29088 #include <gtk/gtk.h>
29089 #include <stdio.h>
29090
29091 int
29092 main ()
29093 {
29094  return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29095   ;
29096   return 0;
29097 }
29098 _ACEOF
29099 rm -f conftest.$ac_objext conftest$ac_exeext
29100 if { (ac_try="$ac_link"
29101 case "(($ac_try" in
29102   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29103   *) ac_try_echo=$ac_try;;
29104 esac
29105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29106   (eval "$ac_link") 2>conftest.er1
29107   ac_status=$?
29108   grep -v '^ *+' conftest.er1 >conftest.err
29109   rm -f conftest.er1
29110   cat conftest.err >&5
29111   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29112   (exit $ac_status); } && {
29113          test -z "$ac_c_werror_flag" ||
29114          test ! -s conftest.err
29115        } && test -s conftest$ac_exeext &&
29116        $as_test_x conftest$ac_exeext; then
29117    echo "*** The test program compiled, but did not run. This usually means"
29118           echo "*** that the run-time linker is not finding GTK or finding the wrong"
29119           echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
29120           echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29121           echo "*** to the installed location  Also, make sure you have run ldconfig if that"
29122           echo "*** is required on your system"
29123           echo "***"
29124           echo "*** If you have an old version installed, it is best to remove it, although"
29125           echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29126           echo "***"
29127           echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
29128           echo "*** came with the system with the command"
29129           echo "***"
29130           echo "***    rpm --erase --nodeps gtk gtk-devel"
29131 else
29132   echo "$as_me: failed program was:" >&5
29133 sed 's/^/| /' conftest.$ac_ext >&5
29134
29135          echo "*** The test program failed to compile or link. See the file config.log for the"
29136           echo "*** exact error that occured. This usually means GTK was incorrectly installed"
29137           echo "*** or that you have moved GTK since it was installed. In the latter case, you"
29138           echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
29139 fi
29140
29141 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29142       conftest$ac_exeext conftest.$ac_ext
29143           CFLAGS="$ac_save_CFLAGS"
29144           LIBS="$ac_save_LIBS"
29145        fi
29146      fi
29147      GTK_CFLAGS=""
29148      GTK_LIBS=""
29149      :
29150   fi
29151
29152
29153   rm -f conf.gtktest
29154
29155
29156                         if test -z "$wx_cv_lib_gtk"; then
29157
29158 # Check whether --with-gtk-prefix was given.
29159 if test "${with_gtk_prefix+set}" = set; then
29160   withval=$with_gtk_prefix; gtk_config_prefix="$withval"
29161 else
29162   gtk_config_prefix=""
29163 fi
29164
29165
29166 # Check whether --with-gtk-exec-prefix was given.
29167 if test "${with_gtk_exec_prefix+set}" = set; then
29168   withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
29169 else
29170   gtk_config_exec_prefix=""
29171 fi
29172
29173 # Check whether --enable-gtktest was given.
29174 if test "${enable_gtktest+set}" = set; then
29175   enableval=$enable_gtktest;
29176 else
29177   enable_gtktest=yes
29178 fi
29179
29180
29181   for module in . $GTK_MODULES
29182   do
29183       case "$module" in
29184          gthread)
29185              gtk_config_args="$gtk_config_args gthread"
29186          ;;
29187       esac
29188   done
29189
29190   if test x$gtk_config_exec_prefix != x ; then
29191      gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
29192      if test x${GTK_CONFIG+set} != xset ; then
29193         GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
29194      fi
29195   fi
29196   if test x$gtk_config_prefix != x ; then
29197      gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
29198      if test x${GTK_CONFIG+set} != xset ; then
29199         GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
29200      fi
29201   fi
29202
29203   # Extract the first word of "gtk-config", so it can be a program name with args.
29204 set dummy gtk-config; ac_word=$2
29205 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29206 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29207 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
29208   echo $ECHO_N "(cached) $ECHO_C" >&6
29209 else
29210   case $GTK_CONFIG in
29211   [\\/]* | ?:[\\/]*)
29212   ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
29213   ;;
29214   *)
29215   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29216 for as_dir in $PATH
29217 do
29218   IFS=$as_save_IFS
29219   test -z "$as_dir" && as_dir=.
29220   for ac_exec_ext in '' $ac_executable_extensions; do
29221   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29222     ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29223     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29224     break 2
29225   fi
29226 done
29227 done
29228 IFS=$as_save_IFS
29229
29230   test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
29231   ;;
29232 esac
29233 fi
29234 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
29235 if test -n "$GTK_CONFIG"; then
29236   { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
29237 echo "${ECHO_T}$GTK_CONFIG" >&6; }
29238 else
29239   { echo "$as_me:$LINENO: result: no" >&5
29240 echo "${ECHO_T}no" >&6; }
29241 fi
29242
29243
29244   min_gtk_version=1.2.3
29245   { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
29246 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
29247   no_gtk=""
29248   if test "$GTK_CONFIG" = "no" ; then
29249     no_gtk=yes
29250   else
29251     GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
29252     GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
29253     gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
29254            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
29255     gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
29256            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
29257     gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
29258            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
29259     if test "x$enable_gtktest" = "xyes" ; then
29260       ac_save_CFLAGS="$CFLAGS"
29261       ac_save_LIBS="$LIBS"
29262       CFLAGS="$CFLAGS $GTK_CFLAGS"
29263       LIBS="$GTK_LIBS $LIBS"
29264       rm -f conf.gtktest
29265       if test "$cross_compiling" = yes; then
29266   echo $ac_n "cross compiling; assumed OK... $ac_c"
29267 else
29268   cat >conftest.$ac_ext <<_ACEOF
29269 /* confdefs.h.  */
29270 _ACEOF
29271 cat confdefs.h >>conftest.$ac_ext
29272 cat >>conftest.$ac_ext <<_ACEOF
29273 /* end confdefs.h.  */
29274
29275 #include <gtk/gtk.h>
29276 #include <stdio.h>
29277 #include <stdlib.h>
29278
29279 int
29280 main ()
29281 {
29282   int major, minor, micro;
29283   char *tmp_version;
29284
29285   system ("touch conf.gtktest");
29286
29287   /* HP/UX 9 (%@#!) writes to sscanf strings */
29288   tmp_version = g_strdup("$min_gtk_version");
29289   if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
29290      printf("%s, bad version string\n", "$min_gtk_version");
29291      exit(1);
29292    }
29293
29294   if ((gtk_major_version != $gtk_config_major_version) ||
29295       (gtk_minor_version != $gtk_config_minor_version) ||
29296       (gtk_micro_version != $gtk_config_micro_version))
29297     {
29298       printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
29299              $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29300              gtk_major_version, gtk_minor_version, gtk_micro_version);
29301       printf ("*** was found! If gtk-config was correct, then it is best\n");
29302       printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
29303       printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
29304       printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
29305       printf("*** required on your system.\n");
29306       printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
29307       printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
29308       printf("*** before re-running configure\n");
29309     }
29310 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
29311   else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29312            (gtk_minor_version != GTK_MINOR_VERSION) ||
29313            (gtk_micro_version != GTK_MICRO_VERSION))
29314     {
29315       printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
29316              GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29317       printf("*** library (version %d.%d.%d)\n",
29318              gtk_major_version, gtk_minor_version, gtk_micro_version);
29319     }
29320 #endif /* defined (GTK_MAJOR_VERSION) ... */
29321   else
29322     {
29323       if ((gtk_major_version > major) ||
29324         ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29325         ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29326       {
29327         return 0;
29328        }
29329      else
29330       {
29331         printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
29332                gtk_major_version, gtk_minor_version, gtk_micro_version);
29333         printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
29334                major, minor, micro);
29335         printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
29336         printf("***\n");
29337         printf("*** If you have already installed a sufficiently new version, this error\n");
29338         printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
29339         printf("*** being found. The easiest way to fix this is to remove the old version\n");
29340         printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
29341         printf("*** correct copy of gtk-config. (In this case, you will have to\n");
29342         printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
29343         printf("*** so that the correct libraries are found at run-time))\n");
29344       }
29345     }
29346   return 1;
29347 }
29348
29349 _ACEOF
29350 rm -f conftest$ac_exeext
29351 if { (ac_try="$ac_link"
29352 case "(($ac_try" in
29353   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29354   *) ac_try_echo=$ac_try;;
29355 esac
29356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29357   (eval "$ac_link") 2>&5
29358   ac_status=$?
29359   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29360   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29361   { (case "(($ac_try" in
29362   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29363   *) ac_try_echo=$ac_try;;
29364 esac
29365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29366   (eval "$ac_try") 2>&5
29367   ac_status=$?
29368   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29369   (exit $ac_status); }; }; then
29370   :
29371 else
29372   echo "$as_me: program exited with status $ac_status" >&5
29373 echo "$as_me: failed program was:" >&5
29374 sed 's/^/| /' conftest.$ac_ext >&5
29375
29376 ( exit $ac_status )
29377 no_gtk=yes
29378 fi
29379 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29380 fi
29381
29382
29383        CFLAGS="$ac_save_CFLAGS"
29384        LIBS="$ac_save_LIBS"
29385      fi
29386   fi
29387   if test "x$no_gtk" = x ; then
29388      { echo "$as_me:$LINENO: result: yes" >&5
29389 echo "${ECHO_T}yes" >&6; }
29390      wx_cv_lib_gtk=1.2.3
29391   else
29392      { echo "$as_me:$LINENO: result: no" >&5
29393 echo "${ECHO_T}no" >&6; }
29394      if test "$GTK_CONFIG" = "no" ; then
29395        echo "*** The gtk-config script installed by GTK could not be found"
29396        echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
29397        echo "*** your path, or set the GTK_CONFIG environment variable to the"
29398        echo "*** full path to gtk-config."
29399      else
29400        if test -f conf.gtktest ; then
29401         :
29402        else
29403           echo "*** Could not run GTK test program, checking why..."
29404           CFLAGS="$CFLAGS $GTK_CFLAGS"
29405           LIBS="$LIBS $GTK_LIBS"
29406           cat >conftest.$ac_ext <<_ACEOF
29407 /* confdefs.h.  */
29408 _ACEOF
29409 cat confdefs.h >>conftest.$ac_ext
29410 cat >>conftest.$ac_ext <<_ACEOF
29411 /* end confdefs.h.  */
29412
29413 #include <gtk/gtk.h>
29414 #include <stdio.h>
29415
29416 int
29417 main ()
29418 {
29419  return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29420   ;
29421   return 0;
29422 }
29423 _ACEOF
29424 rm -f conftest.$ac_objext conftest$ac_exeext
29425 if { (ac_try="$ac_link"
29426 case "(($ac_try" in
29427   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29428   *) ac_try_echo=$ac_try;;
29429 esac
29430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29431   (eval "$ac_link") 2>conftest.er1
29432   ac_status=$?
29433   grep -v '^ *+' conftest.er1 >conftest.err
29434   rm -f conftest.er1
29435   cat conftest.err >&5
29436   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29437   (exit $ac_status); } && {
29438          test -z "$ac_c_werror_flag" ||
29439          test ! -s conftest.err
29440        } && test -s conftest$ac_exeext &&
29441        $as_test_x conftest$ac_exeext; then
29442    echo "*** The test program compiled, but did not run. This usually means"
29443           echo "*** that the run-time linker is not finding GTK or finding the wrong"
29444           echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
29445           echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29446           echo "*** to the installed location  Also, make sure you have run ldconfig if that"
29447           echo "*** is required on your system"
29448           echo "***"
29449           echo "*** If you have an old version installed, it is best to remove it, although"
29450           echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29451           echo "***"
29452           echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
29453           echo "*** came with the system with the command"
29454           echo "***"
29455           echo "***    rpm --erase --nodeps gtk gtk-devel"
29456 else
29457   echo "$as_me: failed program was:" >&5
29458 sed 's/^/| /' conftest.$ac_ext >&5
29459
29460          echo "*** The test program failed to compile or link. See the file config.log for the"
29461           echo "*** exact error that occured. This usually means GTK was incorrectly installed"
29462           echo "*** or that you have moved GTK since it was installed. In the latter case, you"
29463           echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
29464 fi
29465
29466 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29467       conftest$ac_exeext conftest.$ac_ext
29468           CFLAGS="$ac_save_CFLAGS"
29469           LIBS="$ac_save_LIBS"
29470        fi
29471      fi
29472      GTK_CFLAGS=""
29473      GTK_LIBS=""
29474      :
29475   fi
29476
29477
29478   rm -f conf.gtktest
29479
29480                         fi
29481                     fi
29482                 fi
29483
29484                 if test -z "$wx_cv_lib_gtk"; then
29485                                         wx_cv_lib_gtk=none
29486                 else
29487                                                             wx_cv_cflags_gtk=$GTK_CFLAGS
29488                     wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
29489                 fi
29490
29491
29492 fi
29493
29494
29495                         if test "$gtk_version_cached" = 1; then
29496             { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
29497 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
29498         fi
29499
29500         case "$wx_cv_lib_gtk" in
29501             2.0)    WXGTK2=1
29502                     TOOLKIT_VERSION=2
29503                     ;;
29504             1.2.7)  WXGTK127=1
29505                     WXGTK12=1
29506                     ;;
29507             1.2.3)  WXGTK12=1
29508                     ;;
29509             *)      { { echo "$as_me:$LINENO: error:
29510 The development files for GTK+ were not found. For GTK+ 2, please
29511 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29512 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29513 and that the version is 1.2.3 or above. Also check that the
29514 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
29515 --libs' are in the LD_LIBRARY_PATH or equivalent.
29516                             " >&5
29517 echo "$as_me: error:
29518 The development files for GTK+ were not found. For GTK+ 2, please
29519 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29520 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29521 and that the version is 1.2.3 or above. Also check that the
29522 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
29523 --libs' are in the LD_LIBRARY_PATH or equivalent.
29524                             " >&2;}
29525    { (exit 1); exit 1; }; }
29526                     ;;
29527         esac
29528
29529         if test "$WXGTK2" = 1; then
29530             save_CFLAGS="$CFLAGS"
29531             save_LIBS="$LIBS"
29532             CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
29533             LIBS="$LIBS $wx_cv_libs_gtk"
29534
29535                         { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
29536 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
29537             cat >conftest.$ac_ext <<_ACEOF
29538 /* confdefs.h.  */
29539 _ACEOF
29540 cat confdefs.h >>conftest.$ac_ext
29541 cat >>conftest.$ac_ext <<_ACEOF
29542 /* end confdefs.h.  */
29543
29544                             #include <gtk/gtk.h>
29545
29546 int
29547 main ()
29548 {
29549
29550                             #if !GTK_CHECK_VERSION(2,10,0)
29551                             Not GTK+ 2.10
29552                             #endif
29553
29554   ;
29555   return 0;
29556 }
29557 _ACEOF
29558 rm -f conftest.$ac_objext
29559 if { (ac_try="$ac_compile"
29560 case "(($ac_try" in
29561   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29562   *) ac_try_echo=$ac_try;;
29563 esac
29564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29565   (eval "$ac_compile") 2>conftest.er1
29566   ac_status=$?
29567   grep -v '^ *+' conftest.er1 >conftest.err
29568   rm -f conftest.er1
29569   cat conftest.err >&5
29570   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29571   (exit $ac_status); } && {
29572          test -z "$ac_c_werror_flag" ||
29573          test ! -s conftest.err
29574        } && test -s conftest.$ac_objext; then
29575
29576                             cat >>confdefs.h <<\_ACEOF
29577 #define __WXGTK210__ 1
29578 _ACEOF
29579
29580                             cat >>confdefs.h <<\_ACEOF
29581 #define __WXGTK26__ 1
29582 _ACEOF
29583
29584                             { echo "$as_me:$LINENO: result: yes" >&5
29585 echo "${ECHO_T}yes" >&6; }
29586                             ac_wxgtk210=1
29587
29588 else
29589   echo "$as_me: failed program was:" >&5
29590 sed 's/^/| /' conftest.$ac_ext >&5
29591
29592
29593                             { echo "$as_me:$LINENO: result: no" >&5
29594 echo "${ECHO_T}no" >&6; }
29595                             ac_wxgtk210=0
29596
29597 fi
29598
29599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29600
29601             if test "$ac_wxgtk210" = 0; then
29602                                 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
29603 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
29604                 cat >conftest.$ac_ext <<_ACEOF
29605 /* confdefs.h.  */
29606 _ACEOF
29607 cat confdefs.h >>conftest.$ac_ext
29608 cat >>conftest.$ac_ext <<_ACEOF
29609 /* end confdefs.h.  */
29610
29611                                 #include <gtk/gtk.h>
29612
29613 int
29614 main ()
29615 {
29616
29617                                 #if !GTK_CHECK_VERSION(2,6,0)
29618                                 Not GTK+ 2.6
29619                                 #endif
29620
29621   ;
29622   return 0;
29623 }
29624 _ACEOF
29625 rm -f conftest.$ac_objext
29626 if { (ac_try="$ac_compile"
29627 case "(($ac_try" in
29628   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29629   *) ac_try_echo=$ac_try;;
29630 esac
29631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29632   (eval "$ac_compile") 2>conftest.er1
29633   ac_status=$?
29634   grep -v '^ *+' conftest.er1 >conftest.err
29635   rm -f conftest.er1
29636   cat conftest.err >&5
29637   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29638   (exit $ac_status); } && {
29639          test -z "$ac_c_werror_flag" ||
29640          test ! -s conftest.err
29641        } && test -s conftest.$ac_objext; then
29642
29643                                 cat >>confdefs.h <<\_ACEOF
29644 #define __WXGTK26__ 1
29645 _ACEOF
29646
29647                                 { echo "$as_me:$LINENO: result: yes" >&5
29648 echo "${ECHO_T}yes" >&6; }
29649                                 ac_wxgtk26=1
29650
29651 else
29652   echo "$as_me: failed program was:" >&5
29653 sed 's/^/| /' conftest.$ac_ext >&5
29654
29655
29656                                 { echo "$as_me:$LINENO: result: no" >&5
29657 echo "${ECHO_T}no" >&6; }
29658                                 ac_wxgtk26=0
29659
29660 fi
29661
29662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29663             fi
29664
29665             CFLAGS="$save_CFLAGS"
29666             LIBS="$save_LIBS"
29667         else
29668             if test "$wxUSE_UNICODE" = "yes"; then
29669                 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
29670 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
29671                 wxUSE_UNICODE=no
29672             fi
29673
29674                         { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
29675 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
29676 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
29677   echo $ECHO_N "(cached) $ECHO_C" >&6
29678 else
29679   ac_check_lib_save_LIBS=$LIBS
29680 LIBS="-lgdk  $LIBS"
29681 cat >conftest.$ac_ext <<_ACEOF
29682 /* confdefs.h.  */
29683 _ACEOF
29684 cat confdefs.h >>conftest.$ac_ext
29685 cat >>conftest.$ac_ext <<_ACEOF
29686 /* end confdefs.h.  */
29687
29688 /* Override any GCC internal prototype to avoid an error.
29689    Use char because int might match the return type of a GCC
29690    builtin and then its argument prototype would still apply.  */
29691 #ifdef __cplusplus
29692 extern "C"
29693 #endif
29694 char gdk_im_open ();
29695 int
29696 main ()
29697 {
29698 return gdk_im_open ();
29699   ;
29700   return 0;
29701 }
29702 _ACEOF
29703 rm -f conftest.$ac_objext conftest$ac_exeext
29704 if { (ac_try="$ac_link"
29705 case "(($ac_try" in
29706   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29707   *) ac_try_echo=$ac_try;;
29708 esac
29709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29710   (eval "$ac_link") 2>conftest.er1
29711   ac_status=$?
29712   grep -v '^ *+' conftest.er1 >conftest.err
29713   rm -f conftest.er1
29714   cat conftest.err >&5
29715   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29716   (exit $ac_status); } && {
29717          test -z "$ac_c_werror_flag" ||
29718          test ! -s conftest.err
29719        } && test -s conftest$ac_exeext &&
29720        $as_test_x conftest$ac_exeext; then
29721   ac_cv_lib_gdk_gdk_im_open=yes
29722 else
29723   echo "$as_me: failed program was:" >&5
29724 sed 's/^/| /' conftest.$ac_ext >&5
29725
29726         ac_cv_lib_gdk_gdk_im_open=no
29727 fi
29728
29729 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29730       conftest$ac_exeext conftest.$ac_ext
29731 LIBS=$ac_check_lib_save_LIBS
29732 fi
29733 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
29734 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
29735 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
29736   cat >>confdefs.h <<\_ACEOF
29737 #define HAVE_XIM 1
29738 _ACEOF
29739
29740 fi
29741
29742
29743                                     if test "$USE_DARWIN" != 1; then
29744
29745 for ac_func in poll
29746 do
29747 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29748 { echo "$as_me:$LINENO: checking for $ac_func" >&5
29749 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
29750 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
29751   echo $ECHO_N "(cached) $ECHO_C" >&6
29752 else
29753   cat >conftest.$ac_ext <<_ACEOF
29754 /* confdefs.h.  */
29755 _ACEOF
29756 cat confdefs.h >>conftest.$ac_ext
29757 cat >>conftest.$ac_ext <<_ACEOF
29758 /* end confdefs.h.  */
29759 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29760    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
29761 #define $ac_func innocuous_$ac_func
29762
29763 /* System header to define __stub macros and hopefully few prototypes,
29764     which can conflict with char $ac_func (); below.
29765     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29766     <limits.h> exists even on freestanding compilers.  */
29767
29768 #ifdef __STDC__
29769 # include <limits.h>
29770 #else
29771 # include <assert.h>
29772 #endif
29773
29774 #undef $ac_func
29775
29776 /* Override any GCC internal prototype to avoid an error.
29777    Use char because int might match the return type of a GCC
29778    builtin and then its argument prototype would still apply.  */
29779 #ifdef __cplusplus
29780 extern "C"
29781 #endif
29782 char $ac_func ();
29783 /* The GNU C library defines this for functions which it implements
29784     to always fail with ENOSYS.  Some functions are actually named
29785     something starting with __ and the normal name is an alias.  */
29786 #if defined __stub_$ac_func || defined __stub___$ac_func
29787 choke me
29788 #endif
29789
29790 int
29791 main ()
29792 {
29793 return $ac_func ();
29794   ;
29795   return 0;
29796 }
29797 _ACEOF
29798 rm -f conftest.$ac_objext conftest$ac_exeext
29799 if { (ac_try="$ac_link"
29800 case "(($ac_try" in
29801   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29802   *) ac_try_echo=$ac_try;;
29803 esac
29804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29805   (eval "$ac_link") 2>conftest.er1
29806   ac_status=$?
29807   grep -v '^ *+' conftest.er1 >conftest.err
29808   rm -f conftest.er1
29809   cat conftest.err >&5
29810   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29811   (exit $ac_status); } && {
29812          test -z "$ac_c_werror_flag" ||
29813          test ! -s conftest.err
29814        } && test -s conftest$ac_exeext &&
29815        $as_test_x conftest$ac_exeext; then
29816   eval "$as_ac_var=yes"
29817 else
29818   echo "$as_me: failed program was:" >&5
29819 sed 's/^/| /' conftest.$ac_ext >&5
29820
29821         eval "$as_ac_var=no"
29822 fi
29823
29824 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29825       conftest$ac_exeext conftest.$ac_ext
29826 fi
29827 ac_res=`eval echo '${'$as_ac_var'}'`
29828                { echo "$as_me:$LINENO: result: $ac_res" >&5
29829 echo "${ECHO_T}$ac_res" >&6; }
29830 if test `eval echo '${'$as_ac_var'}'` = yes; then
29831   cat >>confdefs.h <<_ACEOF
29832 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29833 _ACEOF
29834
29835 fi
29836 done
29837
29838             fi
29839         fi
29840
29841         TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
29842         GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
29843
29844         AFMINSTALL=afminstall
29845         TOOLKIT=GTK
29846         GUIDIST=GTK_DIST
29847
29848                 if test "$wxUSE_GPE" = "yes"; then
29849             { echo "$as_me:$LINENO: checking for gpewidget library" >&5
29850 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
29851
29852   ac_find_libraries=
29853   for ac_dir in $SEARCH_LIB;
29854   do
29855     for ac_extension in a so sl dylib dll.a; do
29856       if test -f "$ac_dir/libgpewidget.$ac_extension"; then
29857         ac_find_libraries=$ac_dir
29858         break 2
29859       fi
29860     done
29861   done
29862
29863             if test "$ac_find_libraries" != "" ; then
29864
29865     if test "$ac_find_libraries" = "default location"; then
29866     ac_path_to_link=""
29867   else
29868     echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
29869     result=$?
29870     if test $result = 0; then
29871       ac_path_to_link=""
29872     else
29873       ac_path_to_link=" -L$ac_find_libraries"
29874     fi
29875   fi
29876
29877                                                 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
29878                 WXGPE=1
29879                 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29880 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
29881             else
29882                 { echo "$as_me:$LINENO: result: not found" >&5
29883 echo "${ECHO_T}not found" >&6; }
29884             fi
29885
29886                                                                                                                     fi
29887     fi
29888
29889     if test "$wxUSE_MGL" = 1; then
29890        { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
29891 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
29892         if test "x$MGL_ROOT" = x ; then
29893             { echo "$as_me:$LINENO: result: not found" >&5
29894 echo "${ECHO_T}not found" >&6; }
29895             { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
29896 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
29897    { (exit 1); exit 1; }; }
29898         else
29899             { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
29900 echo "${ECHO_T}$MGL_ROOT" >&6; }
29901         fi
29902
29903         { echo "$as_me:$LINENO: checking for libmgl location" >&5
29904 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
29905                                 case "${host}" in
29906             *-*-linux* )
29907                                           if test "x$wxUSE_SHARED" = xyes ; then
29908                   mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
29909               else
29910                   mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
29911               fi
29912               ;;
29913             *-pc-msdosdjgpp )
29914               mgl_os_candidates="dos32/dj2"
29915               ;;
29916             *)
29917               { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
29918 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
29919    { (exit 1); exit 1; }; }
29920         esac
29921
29922         mgl_lib_type=""
29923         mgl_os=""
29924
29925         for mgl_os_i in $mgl_os_candidates ; do
29926             if test "x$mgl_os" = x ; then
29927                 if test "$wxUSE_DEBUG_FLAG" = yes ; then
29928                     if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
29929                             -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
29930                         mgl_lib_type=debug
29931                         mgl_os=$mgl_os_i
29932                     fi
29933                 fi
29934                 if test "x$mgl_lib_type" = x ; then
29935                     if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
29936                             -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
29937                         mgl_lib_type=release
29938                         mgl_os=$mgl_os_i
29939                     fi
29940                 fi
29941             fi
29942         done
29943
29944         if test "x$mgl_os" = x ; then
29945             { echo "$as_me:$LINENO: result: not found" >&5
29946 echo "${ECHO_T}not found" >&6; }
29947             { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
29948 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
29949    { (exit 1); exit 1; }; }
29950         fi
29951         { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
29952 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
29953
29954         wxUSE_UNIVERSAL="yes"
29955
29956         TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
29957         GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
29958
29959         AFMINSTALL=afminstall
29960         TOOLKIT=MGL
29961         GUIDIST=MGL_DIST
29962     fi
29963
29964     if test "$wxUSE_DFB" = 1; then
29965
29966
29967 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
29968         if test -n "$ac_tool_prefix"; then
29969   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29970 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
29971 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29972 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29973 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29974   echo $ECHO_N "(cached) $ECHO_C" >&6
29975 else
29976   case $PKG_CONFIG in
29977   [\\/]* | ?:[\\/]*)
29978   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29979   ;;
29980   *)
29981   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29982 for as_dir in $PATH
29983 do
29984   IFS=$as_save_IFS
29985   test -z "$as_dir" && as_dir=.
29986   for ac_exec_ext in '' $ac_executable_extensions; do
29987   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29988     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29989     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29990     break 2
29991   fi
29992 done
29993 done
29994 IFS=$as_save_IFS
29995
29996   ;;
29997 esac
29998 fi
29999 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30000 if test -n "$PKG_CONFIG"; then
30001   { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30002 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30003 else
30004   { echo "$as_me:$LINENO: result: no" >&5
30005 echo "${ECHO_T}no" >&6; }
30006 fi
30007
30008
30009 fi
30010 if test -z "$ac_cv_path_PKG_CONFIG"; then
30011   ac_pt_PKG_CONFIG=$PKG_CONFIG
30012   # Extract the first word of "pkg-config", so it can be a program name with args.
30013 set dummy pkg-config; ac_word=$2
30014 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30015 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30016 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
30017   echo $ECHO_N "(cached) $ECHO_C" >&6
30018 else
30019   case $ac_pt_PKG_CONFIG in
30020   [\\/]* | ?:[\\/]*)
30021   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
30022   ;;
30023   *)
30024   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30025 for as_dir in $PATH
30026 do
30027   IFS=$as_save_IFS
30028   test -z "$as_dir" && as_dir=.
30029   for ac_exec_ext in '' $ac_executable_extensions; do
30030   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30031     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30032     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30033     break 2
30034   fi
30035 done
30036 done
30037 IFS=$as_save_IFS
30038
30039   ;;
30040 esac
30041 fi
30042 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
30043 if test -n "$ac_pt_PKG_CONFIG"; then
30044   { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
30045 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
30046 else
30047   { echo "$as_me:$LINENO: result: no" >&5
30048 echo "${ECHO_T}no" >&6; }
30049 fi
30050
30051   if test "x$ac_pt_PKG_CONFIG" = x; then
30052     PKG_CONFIG=""
30053   else
30054     case $cross_compiling:$ac_tool_warned in
30055 yes:)
30056 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
30057 whose name does not start with the host triplet.  If you think this
30058 configuration is useful to you, please write to autoconf@gnu.org." >&5
30059 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
30060 whose name does not start with the host triplet.  If you think this
30061 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
30062 ac_tool_warned=yes ;;
30063 esac
30064     PKG_CONFIG=$ac_pt_PKG_CONFIG
30065   fi
30066 else
30067   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
30068 fi
30069
30070 fi
30071 if test -n "$PKG_CONFIG"; then
30072         _pkg_min_version=0.9.0
30073         { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
30074 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
30075         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
30076                 { echo "$as_me:$LINENO: result: yes" >&5
30077 echo "${ECHO_T}yes" >&6; }
30078         else
30079                 { echo "$as_me:$LINENO: result: no" >&5
30080 echo "${ECHO_T}no" >&6; }
30081                 PKG_CONFIG=""
30082         fi
30083
30084 fi
30085
30086
30087 pkg_failed=no
30088 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
30089 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
30090
30091 if test -n "$PKG_CONFIG"; then
30092     if test -n "$DIRECTFB_CFLAGS"; then
30093         pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
30094     else
30095         if test -n "$PKG_CONFIG" && \
30096     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
30097   ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
30098   ac_status=$?
30099   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30100   (exit $ac_status); }; then
30101   pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
30102 else
30103   pkg_failed=yes
30104 fi
30105     fi
30106 else
30107         pkg_failed=untried
30108 fi
30109 if test -n "$PKG_CONFIG"; then
30110     if test -n "$DIRECTFB_LIBS"; then
30111         pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
30112     else
30113         if test -n "$PKG_CONFIG" && \
30114     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
30115   ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
30116   ac_status=$?
30117   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30118   (exit $ac_status); }; then
30119   pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
30120 else
30121   pkg_failed=yes
30122 fi
30123     fi
30124 else
30125         pkg_failed=untried
30126 fi
30127
30128
30129
30130 if test $pkg_failed = yes; then
30131
30132 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30133         _pkg_short_errors_supported=yes
30134 else
30135         _pkg_short_errors_supported=no
30136 fi
30137         if test $_pkg_short_errors_supported = yes; then
30138                 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
30139         else
30140                 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
30141         fi
30142         # Put the nasty error message in config.log where it belongs
30143         echo "$DIRECTFB_PKG_ERRORS" >&5
30144
30145
30146                            { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
30147 echo "$as_me: error: DirectFB not found." >&2;}
30148    { (exit 1); exit 1; }; }
30149
30150
30151 elif test $pkg_failed = untried; then
30152
30153                            { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
30154 echo "$as_me: error: DirectFB not found." >&2;}
30155    { (exit 1); exit 1; }; }
30156
30157
30158 else
30159         DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
30160         DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
30161         { echo "$as_me:$LINENO: result: yes" >&5
30162 echo "${ECHO_T}yes" >&6; }
30163
30164                            wxUSE_UNIVERSAL="yes"
30165                            TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
30166                            GUI_TK_LIBRARY="$DIRECTFB_LIBS"
30167                            TOOLKIT=DFB
30168                            GUIDIST=DFB_DIST
30169
30170 fi
30171     fi
30172
30173     if test "$wxUSE_MICROWIN" = 1; then
30174         { echo "$as_me:$LINENO: checking for MicroWindows" >&5
30175 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
30176         if test "x$MICROWINDOWS" = x ; then
30177             { echo "$as_me:$LINENO: result: not found" >&5
30178 echo "${ECHO_T}not found" >&6; }
30179             { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
30180 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
30181    { (exit 1); exit 1; }; }
30182         else
30183             { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
30184 echo "${ECHO_T}$MICROWINDOWS" >&6; }
30185         fi
30186
30187         if test -f $MICROWINDOWS/lib/libmwin.a; then
30188             { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
30189 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
30190         else
30191             { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
30192 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
30193    { (exit 1); exit 1; }; }
30194         fi
30195
30196         TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
30197         GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
30198
30199         wxUSE_UNIVERSAL="yes"
30200
30201         AFMINSTALL=afminstall
30202         TOOLKIT=MICROWIN
30203         GUIDIST=MICROWIN_DIST
30204
30205         TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
30206     fi
30207
30208         if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
30209                                 { echo "$as_me:$LINENO: checking for X" >&5
30210 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
30211
30212
30213 # Check whether --with-x was given.
30214 if test "${with_x+set}" = set; then
30215   withval=$with_x;
30216 fi
30217
30218 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
30219 if test "x$with_x" = xno; then
30220   # The user explicitly disabled X.
30221   have_x=disabled
30222 else
30223   case $x_includes,$x_libraries in #(
30224     *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
30225 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
30226    { (exit 1); exit 1; }; };; #(
30227     *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
30228   echo $ECHO_N "(cached) $ECHO_C" >&6
30229 else
30230   # One or both of the vars are not set, and there is no cached value.
30231 ac_x_includes=no ac_x_libraries=no
30232 rm -f -r conftest.dir
30233 if mkdir conftest.dir; then
30234   cd conftest.dir
30235   cat >Imakefile <<'_ACEOF'
30236 incroot:
30237         @echo incroot='${INCROOT}'
30238 usrlibdir:
30239         @echo usrlibdir='${USRLIBDIR}'
30240 libdir:
30241         @echo libdir='${LIBDIR}'
30242 _ACEOF
30243   if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
30244     # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
30245     for ac_var in incroot usrlibdir libdir; do
30246       eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
30247     done
30248     # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
30249     for ac_extension in a so sl; do
30250       if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
30251          test -f "$ac_im_libdir/libX11.$ac_extension"; then
30252         ac_im_usrlibdir=$ac_im_libdir; break
30253       fi
30254     done
30255     # Screen out bogus values from the imake configuration.  They are
30256     # bogus both because they are the default anyway, and because
30257     # using them would break gcc on systems where it needs fixed includes.
30258     case $ac_im_incroot in
30259         /usr/include) ac_x_includes= ;;
30260         *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
30261     esac
30262     case $ac_im_usrlibdir in
30263         /usr/lib | /lib) ;;
30264         *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
30265     esac
30266   fi
30267   cd ..
30268   rm -f -r conftest.dir
30269 fi
30270
30271 # Standard set of common directories for X headers.
30272 # Check X11 before X11Rn because it is often a symlink to the current release.
30273 ac_x_header_dirs='
30274 /usr/X11/include
30275 /usr/X11R6/include
30276 /usr/X11R5/include
30277 /usr/X11R4/include
30278
30279 /usr/include/X11
30280 /usr/include/X11R6
30281 /usr/include/X11R5
30282 /usr/include/X11R4
30283
30284 /usr/local/X11/include
30285 /usr/local/X11R6/include
30286 /usr/local/X11R5/include
30287 /usr/local/X11R4/include
30288
30289 /usr/local/include/X11
30290 /usr/local/include/X11R6
30291 /usr/local/include/X11R5
30292 /usr/local/include/X11R4
30293
30294 /usr/X386/include
30295 /usr/x386/include
30296 /usr/XFree86/include/X11
30297
30298 /usr/include
30299 /usr/local/include
30300 /usr/unsupported/include
30301 /usr/athena/include
30302 /usr/local/x11r5/include
30303 /usr/lpp/Xamples/include
30304
30305 /usr/openwin/include
30306 /usr/openwin/share/include'
30307
30308 if test "$ac_x_includes" = no; then
30309   # Guess where to find include files, by looking for Xlib.h.
30310   # First, try using that file with no special directory specified.
30311   cat >conftest.$ac_ext <<_ACEOF
30312 /* confdefs.h.  */
30313 _ACEOF
30314 cat confdefs.h >>conftest.$ac_ext
30315 cat >>conftest.$ac_ext <<_ACEOF
30316 /* end confdefs.h.  */
30317 #include <X11/Xlib.h>
30318 _ACEOF
30319 if { (ac_try="$ac_cpp conftest.$ac_ext"
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_cpp conftest.$ac_ext") 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); } >/dev/null && {
30332          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
30333          test ! -s conftest.err
30334        }; then
30335   # We can compile using X headers with no special include directory.
30336 ac_x_includes=
30337 else
30338   echo "$as_me: failed program was:" >&5
30339 sed 's/^/| /' conftest.$ac_ext >&5
30340
30341   for ac_dir in $ac_x_header_dirs; do
30342   if test -r "$ac_dir/X11/Xlib.h"; then
30343     ac_x_includes=$ac_dir
30344     break
30345   fi
30346 done
30347 fi
30348
30349 rm -f conftest.err conftest.$ac_ext
30350 fi # $ac_x_includes = no
30351
30352 if test "$ac_x_libraries" = no; then
30353   # Check for the libraries.
30354   # See if we find them without any special options.
30355   # Don't add to $LIBS permanently.
30356   ac_save_LIBS=$LIBS
30357   LIBS="-lX11 $LIBS"
30358   cat >conftest.$ac_ext <<_ACEOF
30359 /* confdefs.h.  */
30360 _ACEOF
30361 cat confdefs.h >>conftest.$ac_ext
30362 cat >>conftest.$ac_ext <<_ACEOF
30363 /* end confdefs.h.  */
30364 #include <X11/Xlib.h>
30365 int
30366 main ()
30367 {
30368 XrmInitialize ()
30369   ;
30370   return 0;
30371 }
30372 _ACEOF
30373 rm -f conftest.$ac_objext conftest$ac_exeext
30374 if { (ac_try="$ac_link"
30375 case "(($ac_try" in
30376   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30377   *) ac_try_echo=$ac_try;;
30378 esac
30379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30380   (eval "$ac_link") 2>conftest.er1
30381   ac_status=$?
30382   grep -v '^ *+' conftest.er1 >conftest.err
30383   rm -f conftest.er1
30384   cat conftest.err >&5
30385   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30386   (exit $ac_status); } && {
30387          test -z "$ac_c_werror_flag" ||
30388          test ! -s conftest.err
30389        } && test -s conftest$ac_exeext &&
30390        $as_test_x conftest$ac_exeext; then
30391   LIBS=$ac_save_LIBS
30392 # We can link X programs with no special library path.
30393 ac_x_libraries=
30394 else
30395   echo "$as_me: failed program was:" >&5
30396 sed 's/^/| /' conftest.$ac_ext >&5
30397
30398         LIBS=$ac_save_LIBS
30399 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
30400 do
30401   # Don't even attempt the hair of trying to link an X program!
30402   for ac_extension in a so sl; do
30403     if test -r "$ac_dir/libX11.$ac_extension"; then
30404       ac_x_libraries=$ac_dir
30405       break 2
30406     fi
30407   done
30408 done
30409 fi
30410
30411 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30412       conftest$ac_exeext conftest.$ac_ext
30413 fi # $ac_x_libraries = no
30414
30415 case $ac_x_includes,$ac_x_libraries in #(
30416   no,* | *,no | *\'*)
30417     # Didn't find X, or a directory has "'" in its name.
30418     ac_cv_have_x="have_x=no";; #(
30419   *)
30420     # Record where we found X for the cache.
30421     ac_cv_have_x="have_x=yes\
30422         ac_x_includes='$ac_x_includes'\
30423         ac_x_libraries='$ac_x_libraries'"
30424 esac
30425 fi
30426 ;; #(
30427     *) have_x=yes;;
30428   esac
30429   eval "$ac_cv_have_x"
30430 fi # $with_x != no
30431
30432 if test "$have_x" != yes; then
30433   { echo "$as_me:$LINENO: result: $have_x" >&5
30434 echo "${ECHO_T}$have_x" >&6; }
30435   no_x=yes
30436 else
30437   # If each of the values was on the command line, it overrides each guess.
30438   test "x$x_includes" = xNONE && x_includes=$ac_x_includes
30439   test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
30440   # Update the cache value to reflect the command line values.
30441   ac_cv_have_x="have_x=yes\
30442         ac_x_includes='$x_includes'\
30443         ac_x_libraries='$x_libraries'"
30444   { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
30445 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
30446 fi
30447
30448 if test "$no_x" = yes; then
30449   # Not all programs may use this symbol, but it does not hurt to define it.
30450
30451 cat >>confdefs.h <<\_ACEOF
30452 #define X_DISPLAY_MISSING 1
30453 _ACEOF
30454
30455   X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
30456 else
30457   if test -n "$x_includes"; then
30458     X_CFLAGS="$X_CFLAGS -I$x_includes"
30459   fi
30460
30461   # It would also be nice to do this for all -L options, not just this one.
30462   if test -n "$x_libraries"; then
30463     X_LIBS="$X_LIBS -L$x_libraries"
30464     # For Solaris; some versions of Sun CC require a space after -R and
30465     # others require no space.  Words are not sufficient . . . .
30466     { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
30467 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
30468     ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
30469     ac_xsave_c_werror_flag=$ac_c_werror_flag
30470     ac_c_werror_flag=yes
30471     cat >conftest.$ac_ext <<_ACEOF
30472 /* confdefs.h.  */
30473 _ACEOF
30474 cat confdefs.h >>conftest.$ac_ext
30475 cat >>conftest.$ac_ext <<_ACEOF
30476 /* end confdefs.h.  */
30477
30478 int
30479 main ()
30480 {
30481
30482   ;
30483   return 0;
30484 }
30485 _ACEOF
30486 rm -f conftest.$ac_objext conftest$ac_exeext
30487 if { (ac_try="$ac_link"
30488 case "(($ac_try" in
30489   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30490   *) ac_try_echo=$ac_try;;
30491 esac
30492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30493   (eval "$ac_link") 2>conftest.er1
30494   ac_status=$?
30495   grep -v '^ *+' conftest.er1 >conftest.err
30496   rm -f conftest.er1
30497   cat conftest.err >&5
30498   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30499   (exit $ac_status); } && {
30500          test -z "$ac_c_werror_flag" ||
30501          test ! -s conftest.err
30502        } && test -s conftest$ac_exeext &&
30503        $as_test_x conftest$ac_exeext; then
30504   { echo "$as_me:$LINENO: result: no" >&5
30505 echo "${ECHO_T}no" >&6; }
30506        X_LIBS="$X_LIBS -R$x_libraries"
30507 else
30508   echo "$as_me: failed program was:" >&5
30509 sed 's/^/| /' conftest.$ac_ext >&5
30510
30511         LIBS="$ac_xsave_LIBS -R $x_libraries"
30512        cat >conftest.$ac_ext <<_ACEOF
30513 /* confdefs.h.  */
30514 _ACEOF
30515 cat confdefs.h >>conftest.$ac_ext
30516 cat >>conftest.$ac_ext <<_ACEOF
30517 /* end confdefs.h.  */
30518
30519 int
30520 main ()
30521 {
30522
30523   ;
30524   return 0;
30525 }
30526 _ACEOF
30527 rm -f conftest.$ac_objext conftest$ac_exeext
30528 if { (ac_try="$ac_link"
30529 case "(($ac_try" in
30530   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30531   *) ac_try_echo=$ac_try;;
30532 esac
30533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30534   (eval "$ac_link") 2>conftest.er1
30535   ac_status=$?
30536   grep -v '^ *+' conftest.er1 >conftest.err
30537   rm -f conftest.er1
30538   cat conftest.err >&5
30539   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30540   (exit $ac_status); } && {
30541          test -z "$ac_c_werror_flag" ||
30542          test ! -s conftest.err
30543        } && test -s conftest$ac_exeext &&
30544        $as_test_x conftest$ac_exeext; then
30545   { echo "$as_me:$LINENO: result: yes" >&5
30546 echo "${ECHO_T}yes" >&6; }
30547           X_LIBS="$X_LIBS -R $x_libraries"
30548 else
30549   echo "$as_me: failed program was:" >&5
30550 sed 's/^/| /' conftest.$ac_ext >&5
30551
30552         { echo "$as_me:$LINENO: result: neither works" >&5
30553 echo "${ECHO_T}neither works" >&6; }
30554 fi
30555
30556 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30557       conftest$ac_exeext conftest.$ac_ext
30558 fi
30559
30560 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30561       conftest$ac_exeext conftest.$ac_ext
30562     ac_c_werror_flag=$ac_xsave_c_werror_flag
30563     LIBS=$ac_xsave_LIBS
30564   fi
30565
30566   # Check for system-dependent libraries X programs must link with.
30567   # Do this before checking for the system-independent R6 libraries
30568   # (-lICE), since we may need -lsocket or whatever for X linking.
30569
30570   if test "$ISC" = yes; then
30571     X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
30572   else
30573     # Martyn Johnson says this is needed for Ultrix, if the X
30574     # libraries were built with DECnet support.  And Karl Berry says
30575     # the Alpha needs dnet_stub (dnet does not exist).
30576     ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
30577     cat >conftest.$ac_ext <<_ACEOF
30578 /* confdefs.h.  */
30579 _ACEOF
30580 cat confdefs.h >>conftest.$ac_ext
30581 cat >>conftest.$ac_ext <<_ACEOF
30582 /* end confdefs.h.  */
30583
30584 /* Override any GCC internal prototype to avoid an error.
30585    Use char because int might match the return type of a GCC
30586    builtin and then its argument prototype would still apply.  */
30587 #ifdef __cplusplus
30588 extern "C"
30589 #endif
30590 char XOpenDisplay ();
30591 int
30592 main ()
30593 {
30594 return XOpenDisplay ();
30595   ;
30596   return 0;
30597 }
30598 _ACEOF
30599 rm -f conftest.$ac_objext conftest$ac_exeext
30600 if { (ac_try="$ac_link"
30601 case "(($ac_try" in
30602   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30603   *) ac_try_echo=$ac_try;;
30604 esac
30605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30606   (eval "$ac_link") 2>conftest.er1
30607   ac_status=$?
30608   grep -v '^ *+' conftest.er1 >conftest.err
30609   rm -f conftest.er1
30610   cat conftest.err >&5
30611   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30612   (exit $ac_status); } && {
30613          test -z "$ac_c_werror_flag" ||
30614          test ! -s conftest.err
30615        } && test -s conftest$ac_exeext &&
30616        $as_test_x conftest$ac_exeext; then
30617   :
30618 else
30619   echo "$as_me: failed program was:" >&5
30620 sed 's/^/| /' conftest.$ac_ext >&5
30621
30622         { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
30623 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
30624 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
30625   echo $ECHO_N "(cached) $ECHO_C" >&6
30626 else
30627   ac_check_lib_save_LIBS=$LIBS
30628 LIBS="-ldnet  $LIBS"
30629 cat >conftest.$ac_ext <<_ACEOF
30630 /* confdefs.h.  */
30631 _ACEOF
30632 cat confdefs.h >>conftest.$ac_ext
30633 cat >>conftest.$ac_ext <<_ACEOF
30634 /* end confdefs.h.  */
30635
30636 /* Override any GCC internal prototype to avoid an error.
30637    Use char because int might match the return type of a GCC
30638    builtin and then its argument prototype would still apply.  */
30639 #ifdef __cplusplus
30640 extern "C"
30641 #endif
30642 char dnet_ntoa ();
30643 int
30644 main ()
30645 {
30646 return dnet_ntoa ();
30647   ;
30648   return 0;
30649 }
30650 _ACEOF
30651 rm -f conftest.$ac_objext conftest$ac_exeext
30652 if { (ac_try="$ac_link"
30653 case "(($ac_try" in
30654   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30655   *) ac_try_echo=$ac_try;;
30656 esac
30657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30658   (eval "$ac_link") 2>conftest.er1
30659   ac_status=$?
30660   grep -v '^ *+' conftest.er1 >conftest.err
30661   rm -f conftest.er1
30662   cat conftest.err >&5
30663   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30664   (exit $ac_status); } && {
30665          test -z "$ac_c_werror_flag" ||
30666          test ! -s conftest.err
30667        } && test -s conftest$ac_exeext &&
30668        $as_test_x conftest$ac_exeext; then
30669   ac_cv_lib_dnet_dnet_ntoa=yes
30670 else
30671   echo "$as_me: failed program was:" >&5
30672 sed 's/^/| /' conftest.$ac_ext >&5
30673
30674         ac_cv_lib_dnet_dnet_ntoa=no
30675 fi
30676
30677 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30678       conftest$ac_exeext conftest.$ac_ext
30679 LIBS=$ac_check_lib_save_LIBS
30680 fi
30681 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
30682 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
30683 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
30684   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
30685 fi
30686
30687     if test $ac_cv_lib_dnet_dnet_ntoa = no; then
30688       { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
30689 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
30690 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
30691   echo $ECHO_N "(cached) $ECHO_C" >&6
30692 else
30693   ac_check_lib_save_LIBS=$LIBS
30694 LIBS="-ldnet_stub  $LIBS"
30695 cat >conftest.$ac_ext <<_ACEOF
30696 /* confdefs.h.  */
30697 _ACEOF
30698 cat confdefs.h >>conftest.$ac_ext
30699 cat >>conftest.$ac_ext <<_ACEOF
30700 /* end confdefs.h.  */
30701
30702 /* Override any GCC internal prototype to avoid an error.
30703    Use char because int might match the return type of a GCC
30704    builtin and then its argument prototype would still apply.  */
30705 #ifdef __cplusplus
30706 extern "C"
30707 #endif
30708 char dnet_ntoa ();
30709 int
30710 main ()
30711 {
30712 return dnet_ntoa ();
30713   ;
30714   return 0;
30715 }
30716 _ACEOF
30717 rm -f conftest.$ac_objext conftest$ac_exeext
30718 if { (ac_try="$ac_link"
30719 case "(($ac_try" in
30720   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30721   *) ac_try_echo=$ac_try;;
30722 esac
30723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30724   (eval "$ac_link") 2>conftest.er1
30725   ac_status=$?
30726   grep -v '^ *+' conftest.er1 >conftest.err
30727   rm -f conftest.er1
30728   cat conftest.err >&5
30729   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30730   (exit $ac_status); } && {
30731          test -z "$ac_c_werror_flag" ||
30732          test ! -s conftest.err
30733        } && test -s conftest$ac_exeext &&
30734        $as_test_x conftest$ac_exeext; then
30735   ac_cv_lib_dnet_stub_dnet_ntoa=yes
30736 else
30737   echo "$as_me: failed program was:" >&5
30738 sed 's/^/| /' conftest.$ac_ext >&5
30739
30740         ac_cv_lib_dnet_stub_dnet_ntoa=no
30741 fi
30742
30743 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30744       conftest$ac_exeext conftest.$ac_ext
30745 LIBS=$ac_check_lib_save_LIBS
30746 fi
30747 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
30748 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
30749 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
30750   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
30751 fi
30752
30753     fi
30754 fi
30755
30756 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30757       conftest$ac_exeext conftest.$ac_ext
30758     LIBS="$ac_xsave_LIBS"
30759
30760     # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
30761     # to get the SysV transport functions.
30762     # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
30763     # needs -lnsl.
30764     # The nsl library prevents programs from opening the X display
30765     # on Irix 5.2, according to T.E. Dickey.
30766     # The functions gethostbyname, getservbyname, and inet_addr are
30767     # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
30768     { echo "$as_me:$LINENO: checking for gethostbyname" >&5
30769 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
30770 if test "${ac_cv_func_gethostbyname+set}" = set; then
30771   echo $ECHO_N "(cached) $ECHO_C" >&6
30772 else
30773   cat >conftest.$ac_ext <<_ACEOF
30774 /* confdefs.h.  */
30775 _ACEOF
30776 cat confdefs.h >>conftest.$ac_ext
30777 cat >>conftest.$ac_ext <<_ACEOF
30778 /* end confdefs.h.  */
30779 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
30780    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
30781 #define gethostbyname innocuous_gethostbyname
30782
30783 /* System header to define __stub macros and hopefully few prototypes,
30784     which can conflict with char gethostbyname (); below.
30785     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30786     <limits.h> exists even on freestanding compilers.  */
30787
30788 #ifdef __STDC__
30789 # include <limits.h>
30790 #else
30791 # include <assert.h>
30792 #endif
30793
30794 #undef gethostbyname
30795
30796 /* Override any GCC internal prototype to avoid an error.
30797    Use char because int might match the return type of a GCC
30798    builtin and then its argument prototype would still apply.  */
30799 #ifdef __cplusplus
30800 extern "C"
30801 #endif
30802 char gethostbyname ();
30803 /* The GNU C library defines this for functions which it implements
30804     to always fail with ENOSYS.  Some functions are actually named
30805     something starting with __ and the normal name is an alias.  */
30806 #if defined __stub_gethostbyname || defined __stub___gethostbyname
30807 choke me
30808 #endif
30809
30810 int
30811 main ()
30812 {
30813 return gethostbyname ();
30814   ;
30815   return 0;
30816 }
30817 _ACEOF
30818 rm -f conftest.$ac_objext conftest$ac_exeext
30819 if { (ac_try="$ac_link"
30820 case "(($ac_try" in
30821   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30822   *) ac_try_echo=$ac_try;;
30823 esac
30824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30825   (eval "$ac_link") 2>conftest.er1
30826   ac_status=$?
30827   grep -v '^ *+' conftest.er1 >conftest.err
30828   rm -f conftest.er1
30829   cat conftest.err >&5
30830   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30831   (exit $ac_status); } && {
30832          test -z "$ac_c_werror_flag" ||
30833          test ! -s conftest.err
30834        } && test -s conftest$ac_exeext &&
30835        $as_test_x conftest$ac_exeext; then
30836   ac_cv_func_gethostbyname=yes
30837 else
30838   echo "$as_me: failed program was:" >&5
30839 sed 's/^/| /' conftest.$ac_ext >&5
30840
30841         ac_cv_func_gethostbyname=no
30842 fi
30843
30844 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30845       conftest$ac_exeext conftest.$ac_ext
30846 fi
30847 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
30848 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
30849
30850     if test $ac_cv_func_gethostbyname = no; then
30851       { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
30852 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
30853 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
30854   echo $ECHO_N "(cached) $ECHO_C" >&6
30855 else
30856   ac_check_lib_save_LIBS=$LIBS
30857 LIBS="-lnsl  $LIBS"
30858 cat >conftest.$ac_ext <<_ACEOF
30859 /* confdefs.h.  */
30860 _ACEOF
30861 cat confdefs.h >>conftest.$ac_ext
30862 cat >>conftest.$ac_ext <<_ACEOF
30863 /* end confdefs.h.  */
30864
30865 /* Override any GCC internal prototype to avoid an error.
30866    Use char because int might match the return type of a GCC
30867    builtin and then its argument prototype would still apply.  */
30868 #ifdef __cplusplus
30869 extern "C"
30870 #endif
30871 char gethostbyname ();
30872 int
30873 main ()
30874 {
30875 return gethostbyname ();
30876   ;
30877   return 0;
30878 }
30879 _ACEOF
30880 rm -f conftest.$ac_objext conftest$ac_exeext
30881 if { (ac_try="$ac_link"
30882 case "(($ac_try" in
30883   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30884   *) ac_try_echo=$ac_try;;
30885 esac
30886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30887   (eval "$ac_link") 2>conftest.er1
30888   ac_status=$?
30889   grep -v '^ *+' conftest.er1 >conftest.err
30890   rm -f conftest.er1
30891   cat conftest.err >&5
30892   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30893   (exit $ac_status); } && {
30894          test -z "$ac_c_werror_flag" ||
30895          test ! -s conftest.err
30896        } && test -s conftest$ac_exeext &&
30897        $as_test_x conftest$ac_exeext; then
30898   ac_cv_lib_nsl_gethostbyname=yes
30899 else
30900   echo "$as_me: failed program was:" >&5
30901 sed 's/^/| /' conftest.$ac_ext >&5
30902
30903         ac_cv_lib_nsl_gethostbyname=no
30904 fi
30905
30906 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30907       conftest$ac_exeext conftest.$ac_ext
30908 LIBS=$ac_check_lib_save_LIBS
30909 fi
30910 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
30911 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
30912 if test $ac_cv_lib_nsl_gethostbyname = yes; then
30913   X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
30914 fi
30915
30916       if test $ac_cv_lib_nsl_gethostbyname = no; then
30917         { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
30918 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
30919 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
30920   echo $ECHO_N "(cached) $ECHO_C" >&6
30921 else
30922   ac_check_lib_save_LIBS=$LIBS
30923 LIBS="-lbsd  $LIBS"
30924 cat >conftest.$ac_ext <<_ACEOF
30925 /* confdefs.h.  */
30926 _ACEOF
30927 cat confdefs.h >>conftest.$ac_ext
30928 cat >>conftest.$ac_ext <<_ACEOF
30929 /* end confdefs.h.  */
30930
30931 /* Override any GCC internal prototype to avoid an error.
30932    Use char because int might match the return type of a GCC
30933    builtin and then its argument prototype would still apply.  */
30934 #ifdef __cplusplus
30935 extern "C"
30936 #endif
30937 char gethostbyname ();
30938 int
30939 main ()
30940 {
30941 return gethostbyname ();
30942   ;
30943   return 0;
30944 }
30945 _ACEOF
30946 rm -f conftest.$ac_objext conftest$ac_exeext
30947 if { (ac_try="$ac_link"
30948 case "(($ac_try" in
30949   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30950   *) ac_try_echo=$ac_try;;
30951 esac
30952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30953   (eval "$ac_link") 2>conftest.er1
30954   ac_status=$?
30955   grep -v '^ *+' conftest.er1 >conftest.err
30956   rm -f conftest.er1
30957   cat conftest.err >&5
30958   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30959   (exit $ac_status); } && {
30960          test -z "$ac_c_werror_flag" ||
30961          test ! -s conftest.err
30962        } && test -s conftest$ac_exeext &&
30963        $as_test_x conftest$ac_exeext; then
30964   ac_cv_lib_bsd_gethostbyname=yes
30965 else
30966   echo "$as_me: failed program was:" >&5
30967 sed 's/^/| /' conftest.$ac_ext >&5
30968
30969         ac_cv_lib_bsd_gethostbyname=no
30970 fi
30971
30972 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30973       conftest$ac_exeext conftest.$ac_ext
30974 LIBS=$ac_check_lib_save_LIBS
30975 fi
30976 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
30977 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
30978 if test $ac_cv_lib_bsd_gethostbyname = yes; then
30979   X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
30980 fi
30981
30982       fi
30983     fi
30984
30985     # lieder@skyler.mavd.honeywell.com says without -lsocket,
30986     # socket/setsockopt and other routines are undefined under SCO ODT
30987     # 2.0.  But -lsocket is broken on IRIX 5.2 (and is not necessary
30988     # on later versions), says Simon Leinen: it contains gethostby*
30989     # variants that don't use the name server (or something).  -lsocket
30990     # must be given before -lnsl if both are needed.  We assume that
30991     # if connect needs -lnsl, so does gethostbyname.
30992     { echo "$as_me:$LINENO: checking for connect" >&5
30993 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
30994 if test "${ac_cv_func_connect+set}" = set; then
30995   echo $ECHO_N "(cached) $ECHO_C" >&6
30996 else
30997   cat >conftest.$ac_ext <<_ACEOF
30998 /* confdefs.h.  */
30999 _ACEOF
31000 cat confdefs.h >>conftest.$ac_ext
31001 cat >>conftest.$ac_ext <<_ACEOF
31002 /* end confdefs.h.  */
31003 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
31004    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
31005 #define connect innocuous_connect
31006
31007 /* System header to define __stub macros and hopefully few prototypes,
31008     which can conflict with char connect (); below.
31009     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31010     <limits.h> exists even on freestanding compilers.  */
31011
31012 #ifdef __STDC__
31013 # include <limits.h>
31014 #else
31015 # include <assert.h>
31016 #endif
31017
31018 #undef connect
31019
31020 /* Override any GCC internal prototype to avoid an error.
31021    Use char because int might match the return type of a GCC
31022    builtin and then its argument prototype would still apply.  */
31023 #ifdef __cplusplus
31024 extern "C"
31025 #endif
31026 char connect ();
31027 /* The GNU C library defines this for functions which it implements
31028     to always fail with ENOSYS.  Some functions are actually named
31029     something starting with __ and the normal name is an alias.  */
31030 #if defined __stub_connect || defined __stub___connect
31031 choke me
31032 #endif
31033
31034 int
31035 main ()
31036 {
31037 return connect ();
31038   ;
31039   return 0;
31040 }
31041 _ACEOF
31042 rm -f conftest.$ac_objext conftest$ac_exeext
31043 if { (ac_try="$ac_link"
31044 case "(($ac_try" in
31045   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31046   *) ac_try_echo=$ac_try;;
31047 esac
31048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31049   (eval "$ac_link") 2>conftest.er1
31050   ac_status=$?
31051   grep -v '^ *+' conftest.er1 >conftest.err
31052   rm -f conftest.er1
31053   cat conftest.err >&5
31054   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31055   (exit $ac_status); } && {
31056          test -z "$ac_c_werror_flag" ||
31057          test ! -s conftest.err
31058        } && test -s conftest$ac_exeext &&
31059        $as_test_x conftest$ac_exeext; then
31060   ac_cv_func_connect=yes
31061 else
31062   echo "$as_me: failed program was:" >&5
31063 sed 's/^/| /' conftest.$ac_ext >&5
31064
31065         ac_cv_func_connect=no
31066 fi
31067
31068 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31069       conftest$ac_exeext conftest.$ac_ext
31070 fi
31071 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
31072 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
31073
31074     if test $ac_cv_func_connect = no; then
31075       { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
31076 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
31077 if test "${ac_cv_lib_socket_connect+set}" = set; then
31078   echo $ECHO_N "(cached) $ECHO_C" >&6
31079 else
31080   ac_check_lib_save_LIBS=$LIBS
31081 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
31082 cat >conftest.$ac_ext <<_ACEOF
31083 /* confdefs.h.  */
31084 _ACEOF
31085 cat confdefs.h >>conftest.$ac_ext
31086 cat >>conftest.$ac_ext <<_ACEOF
31087 /* end confdefs.h.  */
31088
31089 /* Override any GCC internal prototype to avoid an error.
31090    Use char because int might match the return type of a GCC
31091    builtin and then its argument prototype would still apply.  */
31092 #ifdef __cplusplus
31093 extern "C"
31094 #endif
31095 char connect ();
31096 int
31097 main ()
31098 {
31099 return connect ();
31100   ;
31101   return 0;
31102 }
31103 _ACEOF
31104 rm -f conftest.$ac_objext conftest$ac_exeext
31105 if { (ac_try="$ac_link"
31106 case "(($ac_try" in
31107   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31108   *) ac_try_echo=$ac_try;;
31109 esac
31110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31111   (eval "$ac_link") 2>conftest.er1
31112   ac_status=$?
31113   grep -v '^ *+' conftest.er1 >conftest.err
31114   rm -f conftest.er1
31115   cat conftest.err >&5
31116   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31117   (exit $ac_status); } && {
31118          test -z "$ac_c_werror_flag" ||
31119          test ! -s conftest.err
31120        } && test -s conftest$ac_exeext &&
31121        $as_test_x conftest$ac_exeext; then
31122   ac_cv_lib_socket_connect=yes
31123 else
31124   echo "$as_me: failed program was:" >&5
31125 sed 's/^/| /' conftest.$ac_ext >&5
31126
31127         ac_cv_lib_socket_connect=no
31128 fi
31129
31130 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31131       conftest$ac_exeext conftest.$ac_ext
31132 LIBS=$ac_check_lib_save_LIBS
31133 fi
31134 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
31135 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
31136 if test $ac_cv_lib_socket_connect = yes; then
31137   X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
31138 fi
31139
31140     fi
31141
31142     # Guillermo Gomez says -lposix is necessary on A/UX.
31143     { echo "$as_me:$LINENO: checking for remove" >&5
31144 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
31145 if test "${ac_cv_func_remove+set}" = set; then
31146   echo $ECHO_N "(cached) $ECHO_C" >&6
31147 else
31148   cat >conftest.$ac_ext <<_ACEOF
31149 /* confdefs.h.  */
31150 _ACEOF
31151 cat confdefs.h >>conftest.$ac_ext
31152 cat >>conftest.$ac_ext <<_ACEOF
31153 /* end confdefs.h.  */
31154 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
31155    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
31156 #define remove innocuous_remove
31157
31158 /* System header to define __stub macros and hopefully few prototypes,
31159     which can conflict with char remove (); below.
31160     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31161     <limits.h> exists even on freestanding compilers.  */
31162
31163 #ifdef __STDC__
31164 # include <limits.h>
31165 #else
31166 # include <assert.h>
31167 #endif
31168
31169 #undef remove
31170
31171 /* Override any GCC internal prototype to avoid an error.
31172    Use char because int might match the return type of a GCC
31173    builtin and then its argument prototype would still apply.  */
31174 #ifdef __cplusplus
31175 extern "C"
31176 #endif
31177 char remove ();
31178 /* The GNU C library defines this for functions which it implements
31179     to always fail with ENOSYS.  Some functions are actually named
31180     something starting with __ and the normal name is an alias.  */
31181 #if defined __stub_remove || defined __stub___remove
31182 choke me
31183 #endif
31184
31185 int
31186 main ()
31187 {
31188 return remove ();
31189   ;
31190   return 0;
31191 }
31192 _ACEOF
31193 rm -f conftest.$ac_objext conftest$ac_exeext
31194 if { (ac_try="$ac_link"
31195 case "(($ac_try" in
31196   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31197   *) ac_try_echo=$ac_try;;
31198 esac
31199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31200   (eval "$ac_link") 2>conftest.er1
31201   ac_status=$?
31202   grep -v '^ *+' conftest.er1 >conftest.err
31203   rm -f conftest.er1
31204   cat conftest.err >&5
31205   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31206   (exit $ac_status); } && {
31207          test -z "$ac_c_werror_flag" ||
31208          test ! -s conftest.err
31209        } && test -s conftest$ac_exeext &&
31210        $as_test_x conftest$ac_exeext; then
31211   ac_cv_func_remove=yes
31212 else
31213   echo "$as_me: failed program was:" >&5
31214 sed 's/^/| /' conftest.$ac_ext >&5
31215
31216         ac_cv_func_remove=no
31217 fi
31218
31219 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31220       conftest$ac_exeext conftest.$ac_ext
31221 fi
31222 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
31223 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
31224
31225     if test $ac_cv_func_remove = no; then
31226       { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
31227 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
31228 if test "${ac_cv_lib_posix_remove+set}" = set; then
31229   echo $ECHO_N "(cached) $ECHO_C" >&6
31230 else
31231   ac_check_lib_save_LIBS=$LIBS
31232 LIBS="-lposix  $LIBS"
31233 cat >conftest.$ac_ext <<_ACEOF
31234 /* confdefs.h.  */
31235 _ACEOF
31236 cat confdefs.h >>conftest.$ac_ext
31237 cat >>conftest.$ac_ext <<_ACEOF
31238 /* end confdefs.h.  */
31239
31240 /* Override any GCC internal prototype to avoid an error.
31241    Use char because int might match the return type of a GCC
31242    builtin and then its argument prototype would still apply.  */
31243 #ifdef __cplusplus
31244 extern "C"
31245 #endif
31246 char remove ();
31247 int
31248 main ()
31249 {
31250 return remove ();
31251   ;
31252   return 0;
31253 }
31254 _ACEOF
31255 rm -f conftest.$ac_objext conftest$ac_exeext
31256 if { (ac_try="$ac_link"
31257 case "(($ac_try" in
31258   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31259   *) ac_try_echo=$ac_try;;
31260 esac
31261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31262   (eval "$ac_link") 2>conftest.er1
31263   ac_status=$?
31264   grep -v '^ *+' conftest.er1 >conftest.err
31265   rm -f conftest.er1
31266   cat conftest.err >&5
31267   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31268   (exit $ac_status); } && {
31269          test -z "$ac_c_werror_flag" ||
31270          test ! -s conftest.err
31271        } && test -s conftest$ac_exeext &&
31272        $as_test_x conftest$ac_exeext; then
31273   ac_cv_lib_posix_remove=yes
31274 else
31275   echo "$as_me: failed program was:" >&5
31276 sed 's/^/| /' conftest.$ac_ext >&5
31277
31278         ac_cv_lib_posix_remove=no
31279 fi
31280
31281 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31282       conftest$ac_exeext conftest.$ac_ext
31283 LIBS=$ac_check_lib_save_LIBS
31284 fi
31285 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
31286 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
31287 if test $ac_cv_lib_posix_remove = yes; then
31288   X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
31289 fi
31290
31291     fi
31292
31293     # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
31294     { echo "$as_me:$LINENO: checking for shmat" >&5
31295 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
31296 if test "${ac_cv_func_shmat+set}" = set; then
31297   echo $ECHO_N "(cached) $ECHO_C" >&6
31298 else
31299   cat >conftest.$ac_ext <<_ACEOF
31300 /* confdefs.h.  */
31301 _ACEOF
31302 cat confdefs.h >>conftest.$ac_ext
31303 cat >>conftest.$ac_ext <<_ACEOF
31304 /* end confdefs.h.  */
31305 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
31306    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
31307 #define shmat innocuous_shmat
31308
31309 /* System header to define __stub macros and hopefully few prototypes,
31310     which can conflict with char shmat (); below.
31311     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31312     <limits.h> exists even on freestanding compilers.  */
31313
31314 #ifdef __STDC__
31315 # include <limits.h>
31316 #else
31317 # include <assert.h>
31318 #endif
31319
31320 #undef shmat
31321
31322 /* Override any GCC internal prototype to avoid an error.
31323    Use char because int might match the return type of a GCC
31324    builtin and then its argument prototype would still apply.  */
31325 #ifdef __cplusplus
31326 extern "C"
31327 #endif
31328 char shmat ();
31329 /* The GNU C library defines this for functions which it implements
31330     to always fail with ENOSYS.  Some functions are actually named
31331     something starting with __ and the normal name is an alias.  */
31332 #if defined __stub_shmat || defined __stub___shmat
31333 choke me
31334 #endif
31335
31336 int
31337 main ()
31338 {
31339 return shmat ();
31340   ;
31341   return 0;
31342 }
31343 _ACEOF
31344 rm -f conftest.$ac_objext conftest$ac_exeext
31345 if { (ac_try="$ac_link"
31346 case "(($ac_try" in
31347   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31348   *) ac_try_echo=$ac_try;;
31349 esac
31350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31351   (eval "$ac_link") 2>conftest.er1
31352   ac_status=$?
31353   grep -v '^ *+' conftest.er1 >conftest.err
31354   rm -f conftest.er1
31355   cat conftest.err >&5
31356   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31357   (exit $ac_status); } && {
31358          test -z "$ac_c_werror_flag" ||
31359          test ! -s conftest.err
31360        } && test -s conftest$ac_exeext &&
31361        $as_test_x conftest$ac_exeext; then
31362   ac_cv_func_shmat=yes
31363 else
31364   echo "$as_me: failed program was:" >&5
31365 sed 's/^/| /' conftest.$ac_ext >&5
31366
31367         ac_cv_func_shmat=no
31368 fi
31369
31370 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31371       conftest$ac_exeext conftest.$ac_ext
31372 fi
31373 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
31374 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
31375
31376     if test $ac_cv_func_shmat = no; then
31377       { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
31378 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
31379 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
31380   echo $ECHO_N "(cached) $ECHO_C" >&6
31381 else
31382   ac_check_lib_save_LIBS=$LIBS
31383 LIBS="-lipc  $LIBS"
31384 cat >conftest.$ac_ext <<_ACEOF
31385 /* confdefs.h.  */
31386 _ACEOF
31387 cat confdefs.h >>conftest.$ac_ext
31388 cat >>conftest.$ac_ext <<_ACEOF
31389 /* end confdefs.h.  */
31390
31391 /* Override any GCC internal prototype to avoid an error.
31392    Use char because int might match the return type of a GCC
31393    builtin and then its argument prototype would still apply.  */
31394 #ifdef __cplusplus
31395 extern "C"
31396 #endif
31397 char shmat ();
31398 int
31399 main ()
31400 {
31401 return shmat ();
31402   ;
31403   return 0;
31404 }
31405 _ACEOF
31406 rm -f conftest.$ac_objext conftest$ac_exeext
31407 if { (ac_try="$ac_link"
31408 case "(($ac_try" in
31409   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31410   *) ac_try_echo=$ac_try;;
31411 esac
31412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31413   (eval "$ac_link") 2>conftest.er1
31414   ac_status=$?
31415   grep -v '^ *+' conftest.er1 >conftest.err
31416   rm -f conftest.er1
31417   cat conftest.err >&5
31418   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31419   (exit $ac_status); } && {
31420          test -z "$ac_c_werror_flag" ||
31421          test ! -s conftest.err
31422        } && test -s conftest$ac_exeext &&
31423        $as_test_x conftest$ac_exeext; then
31424   ac_cv_lib_ipc_shmat=yes
31425 else
31426   echo "$as_me: failed program was:" >&5
31427 sed 's/^/| /' conftest.$ac_ext >&5
31428
31429         ac_cv_lib_ipc_shmat=no
31430 fi
31431
31432 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31433       conftest$ac_exeext conftest.$ac_ext
31434 LIBS=$ac_check_lib_save_LIBS
31435 fi
31436 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
31437 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
31438 if test $ac_cv_lib_ipc_shmat = yes; then
31439   X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
31440 fi
31441
31442     fi
31443   fi
31444
31445   # Check for libraries that X11R6 Xt/Xaw programs need.
31446   ac_save_LDFLAGS=$LDFLAGS
31447   test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
31448   # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
31449   # check for ICE first), but we must link in the order -lSM -lICE or
31450   # we get undefined symbols.  So assume we have SM if we have ICE.
31451   # These have to be linked with before -lX11, unlike the other
31452   # libraries we check for below, so use a different variable.
31453   # John Interrante, Karl Berry
31454   { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
31455 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
31456 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
31457   echo $ECHO_N "(cached) $ECHO_C" >&6
31458 else
31459   ac_check_lib_save_LIBS=$LIBS
31460 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
31461 cat >conftest.$ac_ext <<_ACEOF
31462 /* confdefs.h.  */
31463 _ACEOF
31464 cat confdefs.h >>conftest.$ac_ext
31465 cat >>conftest.$ac_ext <<_ACEOF
31466 /* end confdefs.h.  */
31467
31468 /* Override any GCC internal prototype to avoid an error.
31469    Use char because int might match the return type of a GCC
31470    builtin and then its argument prototype would still apply.  */
31471 #ifdef __cplusplus
31472 extern "C"
31473 #endif
31474 char IceConnectionNumber ();
31475 int
31476 main ()
31477 {
31478 return IceConnectionNumber ();
31479   ;
31480   return 0;
31481 }
31482 _ACEOF
31483 rm -f conftest.$ac_objext conftest$ac_exeext
31484 if { (ac_try="$ac_link"
31485 case "(($ac_try" in
31486   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31487   *) ac_try_echo=$ac_try;;
31488 esac
31489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31490   (eval "$ac_link") 2>conftest.er1
31491   ac_status=$?
31492   grep -v '^ *+' conftest.er1 >conftest.err
31493   rm -f conftest.er1
31494   cat conftest.err >&5
31495   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31496   (exit $ac_status); } && {
31497          test -z "$ac_c_werror_flag" ||
31498          test ! -s conftest.err
31499        } && test -s conftest$ac_exeext &&
31500        $as_test_x conftest$ac_exeext; then
31501   ac_cv_lib_ICE_IceConnectionNumber=yes
31502 else
31503   echo "$as_me: failed program was:" >&5
31504 sed 's/^/| /' conftest.$ac_ext >&5
31505
31506         ac_cv_lib_ICE_IceConnectionNumber=no
31507 fi
31508
31509 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31510       conftest$ac_exeext conftest.$ac_ext
31511 LIBS=$ac_check_lib_save_LIBS
31512 fi
31513 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
31514 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
31515 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
31516   X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
31517 fi
31518
31519   LDFLAGS=$ac_save_LDFLAGS
31520
31521 fi
31522
31523
31524         if test "$no_x" = "yes"; then
31525           { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
31526 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
31527    { (exit 1); exit 1; }; }
31528         fi
31529
31530                                 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
31531         TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
31532         AFMINSTALL=afminstall
31533         COMPILED_X_PROGRAM=0
31534
31535     fi
31536
31537     if test "$wxUSE_X11" = 1; then
31538         if test "$wxUSE_NANOX" = "yes"; then
31539             { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
31540 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
31541             if test "x$MICROWIN" = x ; then
31542                 { echo "$as_me:$LINENO: result: not found" >&5
31543 echo "${ECHO_T}not found" >&6; }
31544                 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
31545 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
31546    { (exit 1); exit 1; }; }
31547             else
31548                 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
31549 echo "${ECHO_T}$MICROWIN" >&6; }
31550                 cat >>confdefs.h <<\_ACEOF
31551 #define wxUSE_NANOX 1
31552 _ACEOF
31553
31554             fi
31555         fi
31556
31557         if test "$wxUSE_UNICODE" = "yes"; then
31558
31559
31560 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31561         if test -n "$ac_tool_prefix"; then
31562   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31563 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
31564 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31565 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31566 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31567   echo $ECHO_N "(cached) $ECHO_C" >&6
31568 else
31569   case $PKG_CONFIG in
31570   [\\/]* | ?:[\\/]*)
31571   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
31572   ;;
31573   *)
31574   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31575 for as_dir in $PATH
31576 do
31577   IFS=$as_save_IFS
31578   test -z "$as_dir" && as_dir=.
31579   for ac_exec_ext in '' $ac_executable_extensions; do
31580   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31581     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31582     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31583     break 2
31584   fi
31585 done
31586 done
31587 IFS=$as_save_IFS
31588
31589   ;;
31590 esac
31591 fi
31592 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
31593 if test -n "$PKG_CONFIG"; then
31594   { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31595 echo "${ECHO_T}$PKG_CONFIG" >&6; }
31596 else
31597   { echo "$as_me:$LINENO: result: no" >&5
31598 echo "${ECHO_T}no" >&6; }
31599 fi
31600
31601
31602 fi
31603 if test -z "$ac_cv_path_PKG_CONFIG"; then
31604   ac_pt_PKG_CONFIG=$PKG_CONFIG
31605   # Extract the first word of "pkg-config", so it can be a program name with args.
31606 set dummy pkg-config; ac_word=$2
31607 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31608 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31609 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31610   echo $ECHO_N "(cached) $ECHO_C" >&6
31611 else
31612   case $ac_pt_PKG_CONFIG in
31613   [\\/]* | ?:[\\/]*)
31614   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31615   ;;
31616   *)
31617   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31618 for as_dir in $PATH
31619 do
31620   IFS=$as_save_IFS
31621   test -z "$as_dir" && as_dir=.
31622   for ac_exec_ext in '' $ac_executable_extensions; do
31623   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31624     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31625     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31626     break 2
31627   fi
31628 done
31629 done
31630 IFS=$as_save_IFS
31631
31632   ;;
31633 esac
31634 fi
31635 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
31636 if test -n "$ac_pt_PKG_CONFIG"; then
31637   { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31638 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
31639 else
31640   { echo "$as_me:$LINENO: result: no" >&5
31641 echo "${ECHO_T}no" >&6; }
31642 fi
31643
31644   if test "x$ac_pt_PKG_CONFIG" = x; then
31645     PKG_CONFIG=""
31646   else
31647     case $cross_compiling:$ac_tool_warned in
31648 yes:)
31649 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31650 whose name does not start with the host triplet.  If you think this
31651 configuration is useful to you, please write to autoconf@gnu.org." >&5
31652 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
31653 whose name does not start with the host triplet.  If you think this
31654 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31655 ac_tool_warned=yes ;;
31656 esac
31657     PKG_CONFIG=$ac_pt_PKG_CONFIG
31658   fi
31659 else
31660   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
31661 fi
31662
31663 fi
31664 if test -n "$PKG_CONFIG"; then
31665         _pkg_min_version=0.9.0
31666         { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31667 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31668         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31669                 { echo "$as_me:$LINENO: result: yes" >&5
31670 echo "${ECHO_T}yes" >&6; }
31671         else
31672                 { echo "$as_me:$LINENO: result: no" >&5
31673 echo "${ECHO_T}no" >&6; }
31674                 PKG_CONFIG=""
31675         fi
31676
31677 fi
31678
31679
31680 pkg_failed=no
31681 { echo "$as_me:$LINENO: checking for PANGOX" >&5
31682 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
31683
31684 if test -n "$PKG_CONFIG"; then
31685     if test -n "$PANGOX_CFLAGS"; then
31686         pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
31687     else
31688         if test -n "$PKG_CONFIG" && \
31689     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31690   ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31691   ac_status=$?
31692   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31693   (exit $ac_status); }; then
31694   pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
31695 else
31696   pkg_failed=yes
31697 fi
31698     fi
31699 else
31700         pkg_failed=untried
31701 fi
31702 if test -n "$PKG_CONFIG"; then
31703     if test -n "$PANGOX_LIBS"; then
31704         pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
31705     else
31706         if test -n "$PKG_CONFIG" && \
31707     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31708   ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31709   ac_status=$?
31710   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31711   (exit $ac_status); }; then
31712   pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
31713 else
31714   pkg_failed=yes
31715 fi
31716     fi
31717 else
31718         pkg_failed=untried
31719 fi
31720
31721
31722
31723 if test $pkg_failed = yes; then
31724
31725 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31726         _pkg_short_errors_supported=yes
31727 else
31728         _pkg_short_errors_supported=no
31729 fi
31730         if test $_pkg_short_errors_supported = yes; then
31731                 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
31732         else
31733                 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
31734         fi
31735         # Put the nasty error message in config.log where it belongs
31736         echo "$PANGOX_PKG_ERRORS" >&5
31737
31738
31739                     { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31740 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31741    { (exit 1); exit 1; }; }
31742
31743
31744 elif test $pkg_failed = untried; then
31745
31746                     { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31747 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31748    { (exit 1); exit 1; }; }
31749
31750
31751 else
31752         PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
31753         PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
31754         { echo "$as_me:$LINENO: result: yes" >&5
31755 echo "${ECHO_T}yes" >&6; }
31756
31757                     CFLAGS="$PANGOX_CFLAGS $CFLAGS"
31758                     CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
31759                     GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
31760
31761 fi
31762
31763 pkg_failed=no
31764 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
31765 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
31766
31767 if test -n "$PKG_CONFIG"; then
31768     if test -n "$PANGOFT2_CFLAGS"; then
31769         pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
31770     else
31771         if test -n "$PKG_CONFIG" && \
31772     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31773   ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31774   ac_status=$?
31775   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31776   (exit $ac_status); }; then
31777   pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
31778 else
31779   pkg_failed=yes
31780 fi
31781     fi
31782 else
31783         pkg_failed=untried
31784 fi
31785 if test -n "$PKG_CONFIG"; then
31786     if test -n "$PANGOFT2_LIBS"; then
31787         pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
31788     else
31789         if test -n "$PKG_CONFIG" && \
31790     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31791   ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31792   ac_status=$?
31793   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31794   (exit $ac_status); }; then
31795   pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
31796 else
31797   pkg_failed=yes
31798 fi
31799     fi
31800 else
31801         pkg_failed=untried
31802 fi
31803
31804
31805
31806 if test $pkg_failed = yes; then
31807
31808 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31809         _pkg_short_errors_supported=yes
31810 else
31811         _pkg_short_errors_supported=no
31812 fi
31813         if test $_pkg_short_errors_supported = yes; then
31814                 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
31815         else
31816                 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
31817         fi
31818         # Put the nasty error message in config.log where it belongs
31819         echo "$PANGOFT2_PKG_ERRORS" >&5
31820
31821
31822                     { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31823 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31824                     wxUSE_PRINTING_ARCHITECTURE="no"
31825
31826
31827 elif test $pkg_failed = untried; then
31828
31829                     { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31830 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31831                     wxUSE_PRINTING_ARCHITECTURE="no"
31832
31833
31834 else
31835         PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
31836         PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
31837         { echo "$as_me:$LINENO: result: yes" >&5
31838 echo "${ECHO_T}yes" >&6; }
31839
31840                     CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
31841                     CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
31842                     GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
31843
31844 fi
31845
31846 pkg_failed=no
31847 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
31848 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
31849
31850 if test -n "$PKG_CONFIG"; then
31851     if test -n "$PANGOXFT_CFLAGS"; then
31852         pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
31853     else
31854         if test -n "$PKG_CONFIG" && \
31855     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31856   ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31857   ac_status=$?
31858   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31859   (exit $ac_status); }; then
31860   pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
31861 else
31862   pkg_failed=yes
31863 fi
31864     fi
31865 else
31866         pkg_failed=untried
31867 fi
31868 if test -n "$PKG_CONFIG"; then
31869     if test -n "$PANGOXFT_LIBS"; then
31870         pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
31871     else
31872         if test -n "$PKG_CONFIG" && \
31873     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31874   ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31875   ac_status=$?
31876   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31877   (exit $ac_status); }; then
31878   pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
31879 else
31880   pkg_failed=yes
31881 fi
31882     fi
31883 else
31884         pkg_failed=untried
31885 fi
31886
31887
31888
31889 if test $pkg_failed = yes; then
31890
31891 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31892         _pkg_short_errors_supported=yes
31893 else
31894         _pkg_short_errors_supported=no
31895 fi
31896         if test $_pkg_short_errors_supported = yes; then
31897                 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
31898         else
31899                 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
31900         fi
31901         # Put the nasty error message in config.log where it belongs
31902         echo "$PANGOXFT_PKG_ERRORS" >&5
31903
31904
31905                     { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31906 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31907
31908
31909 elif test $pkg_failed = untried; then
31910
31911                     { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31912 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31913
31914
31915 else
31916         PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
31917         PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
31918         { echo "$as_me:$LINENO: result: yes" >&5
31919 echo "${ECHO_T}yes" >&6; }
31920
31921                     cat >>confdefs.h <<\_ACEOF
31922 #define HAVE_PANGO_XFT 1
31923 _ACEOF
31924
31925                     CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
31926                     CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
31927                     GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
31928
31929 fi
31930             save_LIBS="$LIBS"
31931             LIBS="$LIBS $PANGOX_LIBS"
31932
31933 for ac_func in pango_font_family_is_monospace
31934 do
31935 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31936 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31937 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31938 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31939   echo $ECHO_N "(cached) $ECHO_C" >&6
31940 else
31941   cat >conftest.$ac_ext <<_ACEOF
31942 /* confdefs.h.  */
31943 _ACEOF
31944 cat confdefs.h >>conftest.$ac_ext
31945 cat >>conftest.$ac_ext <<_ACEOF
31946 /* end confdefs.h.  */
31947 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31948    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
31949 #define $ac_func innocuous_$ac_func
31950
31951 /* System header to define __stub macros and hopefully few prototypes,
31952     which can conflict with char $ac_func (); below.
31953     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31954     <limits.h> exists even on freestanding compilers.  */
31955
31956 #ifdef __STDC__
31957 # include <limits.h>
31958 #else
31959 # include <assert.h>
31960 #endif
31961
31962 #undef $ac_func
31963
31964 /* Override any GCC internal prototype to avoid an error.
31965    Use char because int might match the return type of a GCC
31966    builtin and then its argument prototype would still apply.  */
31967 #ifdef __cplusplus
31968 extern "C"
31969 #endif
31970 char $ac_func ();
31971 /* The GNU C library defines this for functions which it implements
31972     to always fail with ENOSYS.  Some functions are actually named
31973     something starting with __ and the normal name is an alias.  */
31974 #if defined __stub_$ac_func || defined __stub___$ac_func
31975 choke me
31976 #endif
31977
31978 int
31979 main ()
31980 {
31981 return $ac_func ();
31982   ;
31983   return 0;
31984 }
31985 _ACEOF
31986 rm -f conftest.$ac_objext conftest$ac_exeext
31987 if { (ac_try="$ac_link"
31988 case "(($ac_try" in
31989   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31990   *) ac_try_echo=$ac_try;;
31991 esac
31992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31993   (eval "$ac_link") 2>conftest.er1
31994   ac_status=$?
31995   grep -v '^ *+' conftest.er1 >conftest.err
31996   rm -f conftest.er1
31997   cat conftest.err >&5
31998   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31999   (exit $ac_status); } && {
32000          test -z "$ac_c_werror_flag" ||
32001          test ! -s conftest.err
32002        } && test -s conftest$ac_exeext &&
32003        $as_test_x conftest$ac_exeext; then
32004   eval "$as_ac_var=yes"
32005 else
32006   echo "$as_me: failed program was:" >&5
32007 sed 's/^/| /' conftest.$ac_ext >&5
32008
32009         eval "$as_ac_var=no"
32010 fi
32011
32012 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32013       conftest$ac_exeext conftest.$ac_ext
32014 fi
32015 ac_res=`eval echo '${'$as_ac_var'}'`
32016                { echo "$as_me:$LINENO: result: $ac_res" >&5
32017 echo "${ECHO_T}$ac_res" >&6; }
32018 if test `eval echo '${'$as_ac_var'}'` = yes; then
32019   cat >>confdefs.h <<_ACEOF
32020 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32021 _ACEOF
32022
32023 fi
32024 done
32025
32026             LIBS="$save_LIBS"
32027         fi
32028
32029         wxUSE_UNIVERSAL="yes"
32030
32031         if test "$wxUSE_NANOX" = "yes"; then
32032             TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
32033             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"
32034             GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
32035         else
32036             GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
32037         fi
32038
32039         TOOLKIT=X11
32040         GUIDIST=X11_DIST
32041     fi
32042
32043     if test "$wxUSE_MOTIF" = 1; then
32044         { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
32045 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
32046
32047 ac_find_includes=
32048 for ac_dir in $SEARCH_INCLUDE /usr/include;
32049   do
32050     if test -f "$ac_dir/Xm/Xm.h"; then
32051       ac_find_includes=$ac_dir
32052       break
32053     fi
32054   done
32055
32056         if test "$ac_find_includes" != "" ; then
32057             { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
32058 echo "${ECHO_T}found in $ac_find_includes" >&6; }
32059
32060     if test "x$ac_find_includes" = "x/usr/include"; then
32061     ac_path_to_include=""
32062   else
32063     echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
32064     result=$?
32065     if test $result = 0; then
32066       ac_path_to_include=""
32067     else
32068       ac_path_to_include=" -I$ac_find_includes"
32069     fi
32070   fi
32071
32072             TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
32073         else
32074             save_CFLAGS=$CFLAGS
32075             CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32076
32077             cat >conftest.$ac_ext <<_ACEOF
32078 /* confdefs.h.  */
32079 _ACEOF
32080 cat confdefs.h >>conftest.$ac_ext
32081 cat >>conftest.$ac_ext <<_ACEOF
32082 /* end confdefs.h.  */
32083
32084                     #include <Xm/Xm.h>
32085
32086 int
32087 main ()
32088 {
32089
32090                     int version;
32091                     version = xmUseVersion;
32092
32093   ;
32094   return 0;
32095 }
32096 _ACEOF
32097 rm -f conftest.$ac_objext
32098 if { (ac_try="$ac_compile"
32099 case "(($ac_try" in
32100   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32101   *) ac_try_echo=$ac_try;;
32102 esac
32103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32104   (eval "$ac_compile") 2>conftest.er1
32105   ac_status=$?
32106   grep -v '^ *+' conftest.er1 >conftest.err
32107   rm -f conftest.er1
32108   cat conftest.err >&5
32109   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32110   (exit $ac_status); } && {
32111          test -z "$ac_c_werror_flag" ||
32112          test ! -s conftest.err
32113        } && test -s conftest.$ac_objext; then
32114
32115                     { echo "$as_me:$LINENO: result: found in default search path" >&5
32116 echo "${ECHO_T}found in default search path" >&6; }
32117                     COMPILED_X_PROGRAM=1
32118
32119 else
32120   echo "$as_me: failed program was:" >&5
32121 sed 's/^/| /' conftest.$ac_ext >&5
32122
32123
32124                     { echo "$as_me:$LINENO: result: no" >&5
32125 echo "${ECHO_T}no" >&6; }
32126                     { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
32127 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
32128    { (exit 1); exit 1; }; }
32129
32130
32131 fi
32132
32133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32134
32135             CFLAGS=$save_CFLAGS
32136         fi
32137
32138
32139         { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
32140 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
32141
32142   ac_find_libraries=
32143   for ac_dir in $SEARCH_LIB;
32144   do
32145     for ac_extension in a so sl dylib dll.a; do
32146       if test -f "$ac_dir/libXm.$ac_extension"; then
32147         ac_find_libraries=$ac_dir
32148         break 2
32149       fi
32150     done
32151   done
32152
32153
32154         if test "x$ac_find_libraries" != "x" ; then
32155             { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32156 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32157
32158
32159     if test "$ac_find_libraries" = "default location"; then
32160     ac_path_to_link=""
32161   else
32162     echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
32163     result=$?
32164     if test $result = 0; then
32165       ac_path_to_link=""
32166     else
32167       ac_path_to_link=" -L$ac_find_libraries"
32168     fi
32169   fi
32170
32171             GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
32172         else
32173                                                 save_CFLAGS=$CFLAGS
32174             CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32175             save_LIBS="$LIBS"
32176             LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
32177
32178             cat >conftest.$ac_ext <<_ACEOF
32179 /* confdefs.h.  */
32180 _ACEOF
32181 cat confdefs.h >>conftest.$ac_ext
32182 cat >>conftest.$ac_ext <<_ACEOF
32183 /* end confdefs.h.  */
32184
32185                     #include <Xm/Xm.h>
32186
32187 int
32188 main ()
32189 {
32190
32191                     int version;
32192                     version = xmUseVersion;
32193
32194   ;
32195   return 0;
32196 }
32197 _ACEOF
32198 rm -f conftest.$ac_objext conftest$ac_exeext
32199 if { (ac_try="$ac_link"
32200 case "(($ac_try" in
32201   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32202   *) ac_try_echo=$ac_try;;
32203 esac
32204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32205   (eval "$ac_link") 2>conftest.er1
32206   ac_status=$?
32207   grep -v '^ *+' conftest.er1 >conftest.err
32208   rm -f conftest.er1
32209   cat conftest.err >&5
32210   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32211   (exit $ac_status); } && {
32212          test -z "$ac_c_werror_flag" ||
32213          test ! -s conftest.err
32214        } && test -s conftest$ac_exeext &&
32215        $as_test_x conftest$ac_exeext; then
32216
32217                     { echo "$as_me:$LINENO: result: found in default search path" >&5
32218 echo "${ECHO_T}found in default search path" >&6; }
32219                     COMPILED_X_PROGRAM=1
32220
32221 else
32222   echo "$as_me: failed program was:" >&5
32223 sed 's/^/| /' conftest.$ac_ext >&5
32224
32225
32226                     { echo "$as_me:$LINENO: result: no" >&5
32227 echo "${ECHO_T}no" >&6; }
32228                     { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
32229 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
32230    { (exit 1); exit 1; }; }
32231
32232
32233 fi
32234
32235 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32236       conftest$ac_exeext conftest.$ac_ext
32237
32238             CFLAGS=$save_CFLAGS
32239             LIBS="$save_LIBS"
32240         fi
32241
32242         { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
32243 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
32244         libp_link=""
32245         libsm_ice_link=""
32246         libs_found=0
32247         for libp in "" " -lXp"; do
32248             if test "$libs_found" = 0; then
32249                 for libsm_ice in "" " -lSM -lICE"; do
32250                     if test "$libs_found" = 0; then
32251                         save_LIBS="$LIBS"
32252                         LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
32253                         save_CFLAGS=$CFLAGS
32254                         CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32255
32256                         cat >conftest.$ac_ext <<_ACEOF
32257 /* confdefs.h.  */
32258 _ACEOF
32259 cat confdefs.h >>conftest.$ac_ext
32260 cat >>conftest.$ac_ext <<_ACEOF
32261 /* end confdefs.h.  */
32262
32263                                 #include <Xm/Xm.h>
32264                                 #include <Xm/List.h>
32265
32266 int
32267 main ()
32268 {
32269
32270                                 XmString string = NULL;
32271                                 Widget w = NULL;
32272                                 int position = 0;
32273                                 XmListAddItem(w, string, position);
32274
32275   ;
32276   return 0;
32277 }
32278 _ACEOF
32279 rm -f conftest.$ac_objext conftest$ac_exeext
32280 if { (ac_try="$ac_link"
32281 case "(($ac_try" in
32282   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32283   *) ac_try_echo=$ac_try;;
32284 esac
32285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32286   (eval "$ac_link") 2>conftest.er1
32287   ac_status=$?
32288   grep -v '^ *+' conftest.er1 >conftest.err
32289   rm -f conftest.er1
32290   cat conftest.err >&5
32291   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32292   (exit $ac_status); } && {
32293          test -z "$ac_c_werror_flag" ||
32294          test ! -s conftest.err
32295        } && test -s conftest$ac_exeext &&
32296        $as_test_x conftest$ac_exeext; then
32297
32298                                 libp_link="$libp"
32299                                 libsm_ice_link="$libsm_ice"
32300                                 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
32301 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
32302                                 libs_found=1
32303
32304 else
32305   echo "$as_me: failed program was:" >&5
32306 sed 's/^/| /' conftest.$ac_ext >&5
32307
32308
32309
32310 fi
32311
32312 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32313       conftest$ac_exeext conftest.$ac_ext
32314
32315                         LIBS="$save_LIBS"
32316                         CFLAGS=$save_CFLAGS
32317                     fi
32318                 done
32319             fi
32320         done
32321
32322         if test "$libs_found" = 0; then
32323             { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
32324 echo "${ECHO_T}can't find the right libraries" >&6; }
32325             { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
32326 echo "$as_me: error: can't link a simple motif program" >&2;}
32327    { (exit 1); exit 1; }; }
32328         fi
32329
32330                         { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
32331 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
32332 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
32333   echo $ECHO_N "(cached) $ECHO_C" >&6
32334 else
32335   ac_check_lib_save_LIBS=$LIBS
32336 LIBS="-lSgm  $LIBS"
32337 cat >conftest.$ac_ext <<_ACEOF
32338 /* confdefs.h.  */
32339 _ACEOF
32340 cat confdefs.h >>conftest.$ac_ext
32341 cat >>conftest.$ac_ext <<_ACEOF
32342 /* end confdefs.h.  */
32343
32344 /* Override any GCC internal prototype to avoid an error.
32345    Use char because int might match the return type of a GCC
32346    builtin and then its argument prototype would still apply.  */
32347 #ifdef __cplusplus
32348 extern "C"
32349 #endif
32350 char SgCreateList ();
32351 int
32352 main ()
32353 {
32354 return SgCreateList ();
32355   ;
32356   return 0;
32357 }
32358 _ACEOF
32359 rm -f conftest.$ac_objext conftest$ac_exeext
32360 if { (ac_try="$ac_link"
32361 case "(($ac_try" in
32362   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32363   *) ac_try_echo=$ac_try;;
32364 esac
32365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32366   (eval "$ac_link") 2>conftest.er1
32367   ac_status=$?
32368   grep -v '^ *+' conftest.er1 >conftest.err
32369   rm -f conftest.er1
32370   cat conftest.err >&5
32371   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32372   (exit $ac_status); } && {
32373          test -z "$ac_c_werror_flag" ||
32374          test ! -s conftest.err
32375        } && test -s conftest$ac_exeext &&
32376        $as_test_x conftest$ac_exeext; then
32377   ac_cv_lib_Sgm_SgCreateList=yes
32378 else
32379   echo "$as_me: failed program was:" >&5
32380 sed 's/^/| /' conftest.$ac_ext >&5
32381
32382         ac_cv_lib_Sgm_SgCreateList=no
32383 fi
32384
32385 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32386       conftest$ac_exeext conftest.$ac_ext
32387 LIBS=$ac_check_lib_save_LIBS
32388 fi
32389 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
32390 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
32391 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
32392   libsgm_link=" -lSgm"
32393 fi
32394
32395
32396         save_CFLAGS=$CFLAGS
32397         CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32398
32399         { echo "$as_me:$LINENO: checking for Motif 2" >&5
32400 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
32401 if test "${wx_cv_lib_motif2+set}" = set; then
32402   echo $ECHO_N "(cached) $ECHO_C" >&6
32403 else
32404   cat >conftest.$ac_ext <<_ACEOF
32405 /* confdefs.h.  */
32406 _ACEOF
32407 cat confdefs.h >>conftest.$ac_ext
32408 cat >>conftest.$ac_ext <<_ACEOF
32409 /* end confdefs.h.  */
32410
32411                             #include <Xm/Xm.h>
32412
32413 int
32414 main ()
32415 {
32416
32417                             #if XmVersion < 2000
32418                             Not Motif 2
32419                             #endif
32420
32421   ;
32422   return 0;
32423 }
32424 _ACEOF
32425 rm -f conftest.$ac_objext
32426 if { (ac_try="$ac_compile"
32427 case "(($ac_try" in
32428   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32429   *) ac_try_echo=$ac_try;;
32430 esac
32431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32432   (eval "$ac_compile") 2>conftest.er1
32433   ac_status=$?
32434   grep -v '^ *+' conftest.er1 >conftest.err
32435   rm -f conftest.er1
32436   cat conftest.err >&5
32437   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32438   (exit $ac_status); } && {
32439          test -z "$ac_c_werror_flag" ||
32440          test ! -s conftest.err
32441        } && test -s conftest.$ac_objext; then
32442   wx_cv_lib_motif2="yes"
32443 else
32444   echo "$as_me: failed program was:" >&5
32445 sed 's/^/| /' conftest.$ac_ext >&5
32446
32447         wx_cv_lib_motif2="no"
32448 fi
32449
32450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32451 fi
32452 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
32453 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
32454         if test "$wx_cv_lib_motif2" = "yes"; then
32455             cat >>confdefs.h <<\_ACEOF
32456 #define __WXMOTIF20__ 1
32457 _ACEOF
32458
32459         else
32460             cat >>confdefs.h <<\_ACEOF
32461 #define __WXMOTIF20__ 0
32462 _ACEOF
32463
32464         fi
32465
32466         { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
32467 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
32468 if test "${wx_cv_lib_lesstif+set}" = set; then
32469   echo $ECHO_N "(cached) $ECHO_C" >&6
32470 else
32471   cat >conftest.$ac_ext <<_ACEOF
32472 /* confdefs.h.  */
32473 _ACEOF
32474 cat confdefs.h >>conftest.$ac_ext
32475 cat >>conftest.$ac_ext <<_ACEOF
32476 /* end confdefs.h.  */
32477
32478                             #include <Xm/Xm.h>
32479
32480 int
32481 main ()
32482 {
32483
32484                             #if !defined(LesstifVersion) || LesstifVersion <= 0
32485                             Not Lesstif
32486                             #endif
32487
32488   ;
32489   return 0;
32490 }
32491 _ACEOF
32492 rm -f conftest.$ac_objext
32493 if { (ac_try="$ac_compile"
32494 case "(($ac_try" in
32495   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32496   *) ac_try_echo=$ac_try;;
32497 esac
32498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32499   (eval "$ac_compile") 2>conftest.er1
32500   ac_status=$?
32501   grep -v '^ *+' conftest.er1 >conftest.err
32502   rm -f conftest.er1
32503   cat conftest.err >&5
32504   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32505   (exit $ac_status); } && {
32506          test -z "$ac_c_werror_flag" ||
32507          test ! -s conftest.err
32508        } && test -s conftest.$ac_objext; then
32509   wx_cv_lib_lesstif="yes"
32510 else
32511   echo "$as_me: failed program was:" >&5
32512 sed 's/^/| /' conftest.$ac_ext >&5
32513
32514         wx_cv_lib_lesstif="no"
32515 fi
32516
32517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32518
32519 fi
32520 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
32521 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
32522         if test "$wx_cv_lib_lesstif" = "yes"; then
32523             cat >>confdefs.h <<\_ACEOF
32524 #define __WXLESSTIF__ 1
32525 _ACEOF
32526
32527         else
32528             cat >>confdefs.h <<\_ACEOF
32529 #define __WXLESSTIF__ 0
32530 _ACEOF
32531
32532         fi
32533
32534         CFLAGS=$save_CFLAGS
32535
32536         GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
32537         TOOLKIT=MOTIF
32538         GUIDIST=MOTIF_DIST
32539     fi
32540
32541         if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
32542                 if test "$wxUSE_LIBXPM" = "sys"; then
32543             { echo "$as_me:$LINENO: checking for Xpm library" >&5
32544 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
32545
32546   ac_find_libraries=
32547   for ac_dir in $SEARCH_LIB;
32548   do
32549     for ac_extension in a so sl dylib dll.a; do
32550       if test -f "$ac_dir/libXpm.$ac_extension"; then
32551         ac_find_libraries=$ac_dir
32552         break 2
32553       fi
32554     done
32555   done
32556
32557             if test "$ac_find_libraries" != "" ; then
32558
32559     if test "$ac_find_libraries" = "default location"; then
32560     ac_path_to_link=""
32561   else
32562     echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
32563     result=$?
32564     if test $result = 0; then
32565       ac_path_to_link=""
32566     else
32567       ac_path_to_link=" -L$ac_find_libraries"
32568     fi
32569   fi
32570
32571                 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
32572                 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32573 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32574
32575                 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
32576 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
32577 if test "${wx_cv_x11_xpm_h+set}" = set; then
32578   echo $ECHO_N "(cached) $ECHO_C" >&6
32579 else
32580
32581                         save_CFLAGS=$CFLAGS
32582                         CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32583
32584                         cat >conftest.$ac_ext <<_ACEOF
32585 /* confdefs.h.  */
32586 _ACEOF
32587 cat confdefs.h >>conftest.$ac_ext
32588 cat >>conftest.$ac_ext <<_ACEOF
32589 /* end confdefs.h.  */
32590
32591                                 #include <X11/xpm.h>
32592
32593 int
32594 main ()
32595 {
32596
32597                                 int version;
32598                                 version = XpmLibraryVersion();
32599
32600   ;
32601   return 0;
32602 }
32603 _ACEOF
32604 rm -f conftest.$ac_objext
32605 if { (ac_try="$ac_compile"
32606 case "(($ac_try" in
32607   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32608   *) ac_try_echo=$ac_try;;
32609 esac
32610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32611   (eval "$ac_compile") 2>conftest.er1
32612   ac_status=$?
32613   grep -v '^ *+' conftest.er1 >conftest.err
32614   rm -f conftest.er1
32615   cat conftest.err >&5
32616   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32617   (exit $ac_status); } && {
32618          test -z "$ac_c_werror_flag" ||
32619          test ! -s conftest.err
32620        } && test -s conftest.$ac_objext; then
32621   wx_cv_x11_xpm_h=yes
32622 else
32623   echo "$as_me: failed program was:" >&5
32624 sed 's/^/| /' conftest.$ac_ext >&5
32625
32626         wx_cv_x11_xpm_h=no
32627
32628 fi
32629
32630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32631
32632                         CFLAGS=$save_CFLAGS
32633
32634
32635 fi
32636 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
32637 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
32638
32639                 if test $wx_cv_x11_xpm_h = "yes"; then
32640                     GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
32641                     cat >>confdefs.h <<\_ACEOF
32642 #define wxHAVE_LIB_XPM 1
32643 _ACEOF
32644
32645                 else
32646                     { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
32647 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
32648                 fi
32649             fi
32650
32651         fi
32652
32653                 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
32654 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
32655 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
32656   echo $ECHO_N "(cached) $ECHO_C" >&6
32657 else
32658   ac_check_lib_save_LIBS=$LIBS
32659 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
32660 cat >conftest.$ac_ext <<_ACEOF
32661 /* confdefs.h.  */
32662 _ACEOF
32663 cat confdefs.h >>conftest.$ac_ext
32664 cat >>conftest.$ac_ext <<_ACEOF
32665 /* end confdefs.h.  */
32666
32667 /* Override any GCC internal prototype to avoid an error.
32668    Use char because int might match the return type of a GCC
32669    builtin and then its argument prototype would still apply.  */
32670 #ifdef __cplusplus
32671 extern "C"
32672 #endif
32673 char XShapeQueryExtension ();
32674 int
32675 main ()
32676 {
32677 return XShapeQueryExtension ();
32678   ;
32679   return 0;
32680 }
32681 _ACEOF
32682 rm -f conftest.$ac_objext conftest$ac_exeext
32683 if { (ac_try="$ac_link"
32684 case "(($ac_try" in
32685   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32686   *) ac_try_echo=$ac_try;;
32687 esac
32688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32689   (eval "$ac_link") 2>conftest.er1
32690   ac_status=$?
32691   grep -v '^ *+' conftest.er1 >conftest.err
32692   rm -f conftest.er1
32693   cat conftest.err >&5
32694   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32695   (exit $ac_status); } && {
32696          test -z "$ac_c_werror_flag" ||
32697          test ! -s conftest.err
32698        } && test -s conftest$ac_exeext &&
32699        $as_test_x conftest$ac_exeext; then
32700   ac_cv_lib_Xext_XShapeQueryExtension=yes
32701 else
32702   echo "$as_me: failed program was:" >&5
32703 sed 's/^/| /' conftest.$ac_ext >&5
32704
32705         ac_cv_lib_Xext_XShapeQueryExtension=no
32706 fi
32707
32708 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32709       conftest$ac_exeext conftest.$ac_ext
32710 LIBS=$ac_check_lib_save_LIBS
32711 fi
32712 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
32713 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
32714 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
32715
32716                       GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
32717                       wxHAVE_XEXT_LIB=1
32718
32719 fi
32720
32721
32722         if test "$wxHAVE_XEXT_LIB" = 1; then
32723             save_CFLAGS="$CFLAGS"
32724             CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32725
32726             { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
32727 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
32728             cat >conftest.$ac_ext <<_ACEOF
32729 /* confdefs.h.  */
32730 _ACEOF
32731 cat confdefs.h >>conftest.$ac_ext
32732 cat >>conftest.$ac_ext <<_ACEOF
32733 /* end confdefs.h.  */
32734
32735                             #include <X11/Xlib.h>
32736                             #include <X11/extensions/shape.h>
32737
32738 int
32739 main ()
32740 {
32741
32742                             int dummy1, dummy2;
32743                             XShapeQueryExtension((Display*)NULL,
32744                                                  (int*)NULL, (int*)NULL);
32745
32746   ;
32747   return 0;
32748 }
32749 _ACEOF
32750 rm -f conftest.$ac_objext
32751 if { (ac_try="$ac_compile"
32752 case "(($ac_try" in
32753   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32754   *) ac_try_echo=$ac_try;;
32755 esac
32756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32757   (eval "$ac_compile") 2>conftest.er1
32758   ac_status=$?
32759   grep -v '^ *+' conftest.er1 >conftest.err
32760   rm -f conftest.er1
32761   cat conftest.err >&5
32762   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32763   (exit $ac_status); } && {
32764          test -z "$ac_c_werror_flag" ||
32765          test ! -s conftest.err
32766        } && test -s conftest.$ac_objext; then
32767
32768                             cat >>confdefs.h <<\_ACEOF
32769 #define HAVE_XSHAPE 1
32770 _ACEOF
32771
32772                             { echo "$as_me:$LINENO: result: found" >&5
32773 echo "${ECHO_T}found" >&6; }
32774
32775 else
32776   echo "$as_me: failed program was:" >&5
32777 sed 's/^/| /' conftest.$ac_ext >&5
32778
32779
32780                             { echo "$as_me:$LINENO: result: not found" >&5
32781 echo "${ECHO_T}not found" >&6; }
32782
32783 fi
32784
32785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32786             CFLAGS="$save_CFLAGS"
32787
32788         fi
32789     fi
32790
32791     if test "$wxUSE_OSX_CARBON" = 1; then
32792         { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
32793 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
32794         if test "$GCC" = yes; then
32795             { echo "$as_me:$LINENO: result: gcc" >&5
32796 echo "${ECHO_T}gcc" >&6; }
32797             CPPFLAGS_PASCAL="-fpascal-strings"
32798         elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
32799             { echo "$as_me:$LINENO: result: xlc" >&5
32800 echo "${ECHO_T}xlc" >&6; }
32801             CPPFLAGS_PASCAL="-qmacpstr"
32802         else
32803             { echo "$as_me:$LINENO: result: none" >&5
32804 echo "${ECHO_T}none" >&6; }
32805         fi
32806
32807         if test "x$wxUSE_UNIX" = "xyes"; then
32808             CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
32809         else
32810                         CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
32811         fi
32812
32813         TOOLKIT=OSX_CARBON
32814                 GUIDIST=OSX_CARBON_DIST
32815                         WXBASEPORT="_carbon"
32816     fi
32817
32818     if test "$wxUSE_OSX_COCOA" = 1; then
32819         TOOLKIT=OSX_COCOA
32820         GUIDIST=OSX_COCOA_DIST
32821     fi
32822
32823     if test "$wxUSE_COCOA" = 1; then
32824         TOOLKIT=COCOA
32825         GUIDIST=COCOA_DIST
32826     fi
32827
32828     if test "$wxUSE_PM" = 1; then
32829         TOOLKIT=PM
32830         GUIDIST=PM_DIST
32831         { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
32832 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
32833 if test "${wx_cv_spbcdata+set}" = set; then
32834   echo $ECHO_N "(cached) $ECHO_C" >&6
32835 else
32836
32837                 cat >conftest.$ac_ext <<_ACEOF
32838 /* confdefs.h.  */
32839 _ACEOF
32840 cat confdefs.h >>conftest.$ac_ext
32841 cat >>conftest.$ac_ext <<_ACEOF
32842 /* end confdefs.h.  */
32843
32844                         #define INCL_PM
32845                         #include <os2.h>
32846
32847 int
32848 main ()
32849 {
32850
32851                         SPBCDATA test;
32852
32853   ;
32854   return 0;
32855 }
32856 _ACEOF
32857 rm -f conftest.$ac_objext
32858 if { (ac_try="$ac_compile"
32859 case "(($ac_try" in
32860   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32861   *) ac_try_echo=$ac_try;;
32862 esac
32863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32864   (eval "$ac_compile") 2>conftest.er1
32865   ac_status=$?
32866   grep -v '^ *+' conftest.er1 >conftest.err
32867   rm -f conftest.er1
32868   cat conftest.err >&5
32869   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32870   (exit $ac_status); } && {
32871          test -z "$ac_c_werror_flag" ||
32872          test ! -s conftest.err
32873        } && test -s conftest.$ac_objext; then
32874   wx_cv_spbcdata=yes
32875 else
32876   echo "$as_me: failed program was:" >&5
32877 sed 's/^/| /' conftest.$ac_ext >&5
32878
32879         wx_cv_spbcdata=no
32880
32881 fi
32882
32883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32884
32885
32886 fi
32887 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
32888 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
32889
32890         if test $wx_cv_spbcdata = "yes"; then
32891             cat >>confdefs.h <<\_ACEOF
32892 #define HAVE_SPBCDATA 1
32893 _ACEOF
32894
32895         fi
32896     fi
32897
32898         if test "$TOOLKIT" = "PM" ; then
32899         TOOLKIT_DIR="os2"
32900     else
32901         TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
32902     fi
32903
32904     if test "$wxUSE_UNIVERSAL" = "yes"; then
32905         TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
32906         WIDGET_SET=univ
32907     fi
32908
32909         GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
32910     DISTDIR="wx\$(TOOLKIT)"
32911 else
32912     USE_GUI=0
32913
32914             TOOLKIT_DIR="base"
32915
32916         if test "$USE_WIN32" = 1 ; then
32917                         TOOLKIT="MSW"
32918     fi
32919
32920         GUIDIST="BASE_DIST"
32921     DISTDIR="wxBase"
32922 fi
32923
32924
32925
32926 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
32927     if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
32928         wxUSE_UNICODE_UTF8=yes
32929     elif test "$USE_OS2" = 1 ; then
32930                                 wxUSE_UNICODE_UTF8=yes
32931     else
32932         wxUSE_UNICODE_UTF8=no
32933     fi
32934 fi
32935
32936
32937 if test "$wxUSE_GUI" = "yes"; then
32938     if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
32939
32940 for ac_header in X11/Xlib.h
32941 do
32942 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32943 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32944 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32945 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32946   echo $ECHO_N "(cached) $ECHO_C" >&6
32947 else
32948   cat >conftest.$ac_ext <<_ACEOF
32949 /* confdefs.h.  */
32950 _ACEOF
32951 cat confdefs.h >>conftest.$ac_ext
32952 cat >>conftest.$ac_ext <<_ACEOF
32953 /* end confdefs.h.  */
32954
32955
32956 #include <$ac_header>
32957 _ACEOF
32958 rm -f conftest.$ac_objext
32959 if { (ac_try="$ac_compile"
32960 case "(($ac_try" in
32961   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32962   *) ac_try_echo=$ac_try;;
32963 esac
32964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32965   (eval "$ac_compile") 2>conftest.er1
32966   ac_status=$?
32967   grep -v '^ *+' conftest.er1 >conftest.err
32968   rm -f conftest.er1
32969   cat conftest.err >&5
32970   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32971   (exit $ac_status); } && {
32972          test -z "$ac_c_werror_flag" ||
32973          test ! -s conftest.err
32974        } && test -s conftest.$ac_objext; then
32975   eval "$as_ac_Header=yes"
32976 else
32977   echo "$as_me: failed program was:" >&5
32978 sed 's/^/| /' conftest.$ac_ext >&5
32979
32980         eval "$as_ac_Header=no"
32981 fi
32982
32983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32984 fi
32985 ac_res=`eval echo '${'$as_ac_Header'}'`
32986                { echo "$as_me:$LINENO: result: $ac_res" >&5
32987 echo "${ECHO_T}$ac_res" >&6; }
32988 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32989   cat >>confdefs.h <<_ACEOF
32990 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32991 _ACEOF
32992
32993 fi
32994
32995 done
32996
32997
32998 for ac_header in X11/XKBlib.h
32999 do
33000 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33001 { echo "$as_me:$LINENO: checking for $ac_header" >&5
33002 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
33003 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
33004   echo $ECHO_N "(cached) $ECHO_C" >&6
33005 else
33006   cat >conftest.$ac_ext <<_ACEOF
33007 /* confdefs.h.  */
33008 _ACEOF
33009 cat confdefs.h >>conftest.$ac_ext
33010 cat >>conftest.$ac_ext <<_ACEOF
33011 /* end confdefs.h.  */
33012
33013                           #if HAVE_X11_XLIB_H
33014                             #include <X11/Xlib.h>
33015                           #endif
33016
33017
33018 #include <$ac_header>
33019 _ACEOF
33020 rm -f conftest.$ac_objext
33021 if { (ac_try="$ac_compile"
33022 case "(($ac_try" in
33023   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33024   *) ac_try_echo=$ac_try;;
33025 esac
33026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33027   (eval "$ac_compile") 2>conftest.er1
33028   ac_status=$?
33029   grep -v '^ *+' conftest.er1 >conftest.err
33030   rm -f conftest.er1
33031   cat conftest.err >&5
33032   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33033   (exit $ac_status); } && {
33034          test -z "$ac_c_werror_flag" ||
33035          test ! -s conftest.err
33036        } && test -s conftest.$ac_objext; then
33037   eval "$as_ac_Header=yes"
33038 else
33039   echo "$as_me: failed program was:" >&5
33040 sed 's/^/| /' conftest.$ac_ext >&5
33041
33042         eval "$as_ac_Header=no"
33043 fi
33044
33045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33046 fi
33047 ac_res=`eval echo '${'$as_ac_Header'}'`
33048                { echo "$as_me:$LINENO: result: $ac_res" >&5
33049 echo "${ECHO_T}$ac_res" >&6; }
33050 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33051   cat >>confdefs.h <<_ACEOF
33052 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33053 _ACEOF
33054
33055 fi
33056
33057 done
33058
33059     fi
33060 fi
33061
33062
33063
33064 if test "$wxUSE_DISPLAY" = "yes"; then
33065     if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
33066         { echo "$as_me:$LINENO: checking for Xinerama" >&5
33067 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
33068
33069   ac_find_libraries=
33070   for ac_dir in $SEARCH_LIB;
33071   do
33072     for ac_extension in a so sl dylib dll.a; do
33073       if test -f "$ac_dir/libXinerama.$ac_extension"; then
33074         ac_find_libraries=$ac_dir
33075         break 2
33076       fi
33077     done
33078   done
33079
33080         if test "$ac_find_libraries" != "" ; then
33081
33082     if test "$ac_find_libraries" = "default location"; then
33083     ac_path_to_link=""
33084   else
33085     echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33086     result=$?
33087     if test $result = 0; then
33088       ac_path_to_link=""
33089     else
33090       ac_path_to_link=" -L$ac_find_libraries"
33091     fi
33092   fi
33093
33094             if test "$ac_path_to_link" != " -L/usr/lib" ; then
33095                 LDFLAGS="$LDFLAGS $ac_path_to_link"
33096             fi
33097             GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
33098             { echo "$as_me:$LINENO: result: yes" >&5
33099 echo "${ECHO_T}yes" >&6; }
33100
33101             { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
33102 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
33103
33104   ac_find_libraries=
33105   for ac_dir in $SEARCH_LIB;
33106   do
33107     for ac_extension in a so sl dylib dll.a; do
33108       if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
33109         ac_find_libraries=$ac_dir
33110         break 2
33111       fi
33112     done
33113   done
33114
33115             if test "$ac_find_libraries" != "" ; then
33116                 { echo "$as_me:$LINENO: result: yes" >&5
33117 echo "${ECHO_T}yes" >&6; }
33118
33119 for ac_header in X11/extensions/xf86vmode.h
33120 do
33121 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33122 { echo "$as_me:$LINENO: checking for $ac_header" >&5
33123 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
33124 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
33125   echo $ECHO_N "(cached) $ECHO_C" >&6
33126 else
33127   cat >conftest.$ac_ext <<_ACEOF
33128 /* confdefs.h.  */
33129 _ACEOF
33130 cat confdefs.h >>conftest.$ac_ext
33131 cat >>conftest.$ac_ext <<_ACEOF
33132 /* end confdefs.h.  */
33133
33134                                       #if HAVE_X11_XLIB_H
33135                                         #include <X11/Xlib.h>
33136                                       #endif
33137
33138
33139 #include <$ac_header>
33140 _ACEOF
33141 rm -f conftest.$ac_objext
33142 if { (ac_try="$ac_compile"
33143 case "(($ac_try" in
33144   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33145   *) ac_try_echo=$ac_try;;
33146 esac
33147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33148   (eval "$ac_compile") 2>conftest.er1
33149   ac_status=$?
33150   grep -v '^ *+' conftest.er1 >conftest.err
33151   rm -f conftest.er1
33152   cat conftest.err >&5
33153   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33154   (exit $ac_status); } && {
33155          test -z "$ac_c_werror_flag" ||
33156          test ! -s conftest.err
33157        } && test -s conftest.$ac_objext; then
33158   eval "$as_ac_Header=yes"
33159 else
33160   echo "$as_me: failed program was:" >&5
33161 sed 's/^/| /' conftest.$ac_ext >&5
33162
33163         eval "$as_ac_Header=no"
33164 fi
33165
33166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33167 fi
33168 ac_res=`eval echo '${'$as_ac_Header'}'`
33169                { echo "$as_me:$LINENO: result: $ac_res" >&5
33170 echo "${ECHO_T}$ac_res" >&6; }
33171 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33172   cat >>confdefs.h <<_ACEOF
33173 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33174 _ACEOF
33175
33176                                   GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
33177
33178 fi
33179
33180 done
33181
33182             else
33183                 { echo "$as_me:$LINENO: result: no" >&5
33184 echo "${ECHO_T}no" >&6; }
33185             fi
33186
33187         else
33188             { echo "$as_me:$LINENO: result: no" >&5
33189 echo "${ECHO_T}no" >&6; }
33190             { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
33191 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
33192             wxUSE_DISPLAY="no"
33193         fi
33194     elif test "$wxUSE_MSW" = 1; then
33195         { echo "$as_me:$LINENO: checking for ddraw.h" >&5
33196 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
33197 if test "${ac_cv_header_ddraw_h+set}" = set; then
33198   echo $ECHO_N "(cached) $ECHO_C" >&6
33199 else
33200   cat >conftest.$ac_ext <<_ACEOF
33201 /* confdefs.h.  */
33202 _ACEOF
33203 cat confdefs.h >>conftest.$ac_ext
33204 cat >>conftest.$ac_ext <<_ACEOF
33205 /* end confdefs.h.  */
33206 #include <windows.h>
33207
33208 #include <ddraw.h>
33209 _ACEOF
33210 rm -f conftest.$ac_objext
33211 if { (ac_try="$ac_compile"
33212 case "(($ac_try" in
33213   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33214   *) ac_try_echo=$ac_try;;
33215 esac
33216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33217   (eval "$ac_compile") 2>conftest.er1
33218   ac_status=$?
33219   grep -v '^ *+' conftest.er1 >conftest.err
33220   rm -f conftest.er1
33221   cat conftest.err >&5
33222   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33223   (exit $ac_status); } && {
33224          test -z "$ac_c_werror_flag" ||
33225          test ! -s conftest.err
33226        } && test -s conftest.$ac_objext; then
33227   ac_cv_header_ddraw_h=yes
33228 else
33229   echo "$as_me: failed program was:" >&5
33230 sed 's/^/| /' conftest.$ac_ext >&5
33231
33232         ac_cv_header_ddraw_h=no
33233 fi
33234
33235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33236 fi
33237 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
33238 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
33239
33240
33241     fi
33242 fi
33243
33244 if test "$wxUSE_DETECT_SM" = "yes"; then
33245     if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
33246         { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
33247 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
33248
33249   ac_find_libraries=
33250   for ac_dir in $SEARCH_LIB;
33251   do
33252     for ac_extension in a so sl dylib dll.a; do
33253       if test -f "$ac_dir/libSM.$ac_extension"; then
33254         ac_find_libraries=$ac_dir
33255         break 2
33256       fi
33257     done
33258   done
33259
33260         if test "$ac_find_libraries" != "" ; then
33261
33262     if test "$ac_find_libraries" = "default location"; then
33263     ac_path_to_link=""
33264   else
33265     echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33266     result=$?
33267     if test $result = 0; then
33268       ac_path_to_link=""
33269     else
33270       ac_path_to_link=" -L$ac_find_libraries"
33271     fi
33272   fi
33273
33274             if test "$ac_path_to_link" != " -L/usr/lib" ; then
33275                 LDFLAGS="$LDFLAGS $ac_path_to_link"
33276             fi
33277             GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
33278             { echo "$as_me:$LINENO: result: yes" >&5
33279 echo "${ECHO_T}yes" >&6; }
33280         else
33281             { echo "$as_me:$LINENO: result: no" >&5
33282 echo "${ECHO_T}no" >&6; }
33283             { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
33284 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
33285             wxUSE_DETECT_SM="no"
33286         fi
33287     else
33288         wxUSE_DETECT_SM="no"
33289     fi
33290 fi
33291
33292
33293
33294 USE_OPENGL=0
33295 if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then
33296
33297
33298     if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_COCOA" = 1; then
33299         OPENGL_LIBS="-framework OpenGL -framework AGL"
33300     elif test "$wxUSE_MSW" = 1; then
33301         OPENGL_LIBS="-lopengl32 -lglu32"
33302     elif test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK2" = 1 -o "$wxUSE_GTK" = 1; then
33303
33304                         { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
33305 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
33306
33307 ac_find_includes=
33308 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
33309   do
33310     if test -f "$ac_dir/GL/gl.h"; then
33311       ac_find_includes=$ac_dir
33312       break
33313     fi
33314   done
33315
33316         if test "$ac_find_includes" != "" ; then
33317             { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33318 echo "${ECHO_T}found in $ac_find_includes" >&6; }
33319
33320     if test "x$ac_find_includes" = "x/usr/include"; then
33321     ac_path_to_include=""
33322   else
33323     echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
33324     result=$?
33325     if test $result = 0; then
33326       ac_path_to_include=""
33327     else
33328       ac_path_to_include=" -I$ac_find_includes"
33329     fi
33330   fi
33331
33332             CPPFLAGS="$ac_path_to_include $CPPFLAGS"
33333         else
33334             { echo "$as_me:$LINENO: result: not found" >&5
33335 echo "${ECHO_T}not found" >&6; }
33336         fi
33337
33338         { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
33339 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
33340 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33341   echo $ECHO_N "(cached) $ECHO_C" >&6
33342 else
33343   cat >conftest.$ac_ext <<_ACEOF
33344 /* confdefs.h.  */
33345 _ACEOF
33346 cat confdefs.h >>conftest.$ac_ext
33347 cat >>conftest.$ac_ext <<_ACEOF
33348 /* end confdefs.h.  */
33349
33350
33351 #include <GL/gl.h>
33352 _ACEOF
33353 rm -f conftest.$ac_objext
33354 if { (ac_try="$ac_compile"
33355 case "(($ac_try" in
33356   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33357   *) ac_try_echo=$ac_try;;
33358 esac
33359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33360   (eval "$ac_compile") 2>conftest.er1
33361   ac_status=$?
33362   grep -v '^ *+' conftest.er1 >conftest.err
33363   rm -f conftest.er1
33364   cat conftest.err >&5
33365   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33366   (exit $ac_status); } && {
33367          test -z "$ac_c_werror_flag" ||
33368          test ! -s conftest.err
33369        } && test -s conftest.$ac_objext; then
33370   ac_cv_header_GL_gl_h=yes
33371 else
33372   echo "$as_me: failed program was:" >&5
33373 sed 's/^/| /' conftest.$ac_ext >&5
33374
33375         ac_cv_header_GL_gl_h=no
33376 fi
33377
33378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33379 fi
33380 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
33381 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
33382 if test $ac_cv_header_GL_gl_h = yes; then
33383
33384             { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
33385 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
33386 if test "${ac_cv_header_GL_glu_h+set}" = set; then
33387   echo $ECHO_N "(cached) $ECHO_C" >&6
33388 else
33389   cat >conftest.$ac_ext <<_ACEOF
33390 /* confdefs.h.  */
33391 _ACEOF
33392 cat confdefs.h >>conftest.$ac_ext
33393 cat >>conftest.$ac_ext <<_ACEOF
33394 /* end confdefs.h.  */
33395
33396
33397 #include <GL/glu.h>
33398 _ACEOF
33399 rm -f conftest.$ac_objext
33400 if { (ac_try="$ac_compile"
33401 case "(($ac_try" in
33402   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33403   *) ac_try_echo=$ac_try;;
33404 esac
33405 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33406   (eval "$ac_compile") 2>conftest.er1
33407   ac_status=$?
33408   grep -v '^ *+' conftest.er1 >conftest.err
33409   rm -f conftest.er1
33410   cat conftest.err >&5
33411   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33412   (exit $ac_status); } && {
33413          test -z "$ac_c_werror_flag" ||
33414          test ! -s conftest.err
33415        } && test -s conftest.$ac_objext; then
33416   ac_cv_header_GL_glu_h=yes
33417 else
33418   echo "$as_me: failed program was:" >&5
33419 sed 's/^/| /' conftest.$ac_ext >&5
33420
33421         ac_cv_header_GL_glu_h=no
33422 fi
33423
33424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33425 fi
33426 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
33427 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
33428 if test $ac_cv_header_GL_glu_h = yes; then
33429
33430                 found_gl=0
33431
33432                 { echo "$as_me:$LINENO: checking for -lGL" >&5
33433 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
33434
33435   ac_find_libraries=
33436   for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
33437   do
33438     for ac_extension in a so sl dylib dll.a; do
33439       if test -f "$ac_dir/libGL.$ac_extension"; then
33440         ac_find_libraries=$ac_dir
33441         break 2
33442       fi
33443     done
33444   done
33445
33446                 if test "$ac_find_libraries" != "" ; then
33447                     { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33448 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33449
33450
33451     if test "$ac_find_libraries" = "default location"; then
33452     ac_path_to_link=""
33453   else
33454     echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33455     result=$?
33456     if test $result = 0; then
33457       ac_path_to_link=""
33458     else
33459       ac_path_to_link=" -L$ac_find_libraries"
33460     fi
33461   fi
33462
33463                     if test "$ac_path_to_link" != " -L/usr/lib" ; then
33464                         LDFLAGS_GL="$ac_path_to_link"
33465                     fi
33466
33467                                                                                 { echo "$as_me:$LINENO: checking for -lGLU" >&5
33468 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
33469
33470   ac_find_libraries=
33471   for ac_dir in $SEARCH_LIB;
33472   do
33473     for ac_extension in a so sl dylib dll.a; do
33474       if test -f "$ac_dir/libGLU.$ac_extension"; then
33475         ac_find_libraries=$ac_dir
33476         break 2
33477       fi
33478     done
33479   done
33480
33481                     if test "$ac_find_libraries" != "" ; then
33482
33483     if test "$ac_find_libraries" = "default location"; then
33484     ac_path_to_link=""
33485   else
33486     echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33487     result=$?
33488     if test $result = 0; then
33489       ac_path_to_link=""
33490     else
33491       ac_path_to_link=" -L$ac_find_libraries"
33492     fi
33493   fi
33494
33495                         if test "$ac_path_to_link" != " -L/usr/lib" -a \
33496                                     "$ac_path_to_link" != "$LDFLAGS_GL"; then
33497                             LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
33498                         fi
33499
33500                         found_gl=1
33501                         OPENGL_LIBS="-lGL -lGLU"
33502                         { echo "$as_me:$LINENO: result: yes" >&5
33503 echo "${ECHO_T}yes" >&6; }
33504                     else
33505                         { echo "$as_me:$LINENO: result: no" >&5
33506 echo "${ECHO_T}no" >&6; }
33507                     fi
33508                 else
33509                     { echo "$as_me:$LINENO: result: no" >&5
33510 echo "${ECHO_T}no" >&6; }
33511                 fi
33512
33513                 if test "$found_gl" != 1; then
33514                     { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
33515 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
33516
33517   ac_find_libraries=
33518   for ac_dir in $SEARCH_LIB;
33519   do
33520     for ac_extension in a so sl dylib dll.a; do
33521       if test -f "$ac_dir/libMesaGL.$ac_extension"; then
33522         ac_find_libraries=$ac_dir
33523         break 2
33524       fi
33525     done
33526   done
33527
33528                     if test "$ac_find_libraries" != "" ; then
33529
33530     if test "$ac_find_libraries" = "default location"; then
33531     ac_path_to_link=""
33532   else
33533     echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33534     result=$?
33535     if test $result = 0; then
33536       ac_path_to_link=""
33537     else
33538       ac_path_to_link=" -L$ac_find_libraries"
33539     fi
33540   fi
33541
33542                         LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
33543                         OPENGL_LIBS="-lMesaGL -lMesaGLU"
33544                         { echo "$as_me:$LINENO: result: yes" >&5
33545 echo "${ECHO_T}yes" >&6; }
33546                     else
33547                         { echo "$as_me:$LINENO: result: no" >&5
33548 echo "${ECHO_T}no" >&6; }
33549                     fi
33550                 fi
33551
33552 fi
33553
33554
33555
33556 fi
33557
33558
33559
33560         if test "x$OPENGL_LIBS" = "x"; then
33561             if test "$wxUSE_OPENGL" = "yes"; then
33562                 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
33563 echo "$as_me: error: OpenGL libraries not available" >&2;}
33564    { (exit 1); exit 1; }; }
33565             else
33566                                 { echo "$as_me:$LINENO: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5
33567 echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;}
33568                 wxUSE_OPENGL=no
33569                 USE_OPENGL=0
33570             fi
33571         fi
33572     else
33573         { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
33574 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
33575         wxUSE_OPENGL="no"
33576     fi
33577
33578     if test "$wxUSE_OPENGL" = "auto"; then
33579                                 wxUSE_OPENGL=yes
33580     fi
33581
33582     if test "$wxUSE_OPENGL" = "yes"; then
33583         USE_OPENGL=1
33584         cat >>confdefs.h <<\_ACEOF
33585 #define wxUSE_OPENGL 1
33586 _ACEOF
33587
33588         cat >>confdefs.h <<\_ACEOF
33589 #define wxUSE_GLCANVAS 1
33590 _ACEOF
33591
33592         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
33593     fi
33594 fi
33595
33596
33597 if test -n "$TOOLKIT" ; then
33598     TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
33599 fi
33600
33601
33602
33603 if test "$wxUSE_SHARED" = "yes"; then
33604     case "${host}" in
33605       *-pc-msdosdjgpp )
33606                 wxUSE_SHARED=no
33607         { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
33608 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
33609       ;;
33610     esac
33611 fi
33612
33613 if test "$wxUSE_SHARED" = "yes"; then
33614
33615
33616     case "${host}" in
33617         *-*-cygwin* | *-*-mingw* )
33618                                                                                                 wx_cv_version_script=no
33619             ;;
33620
33621         *)
33622             { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
33623 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
33624 if test "${wx_cv_version_script+set}" = set; then
33625   echo $ECHO_N "(cached) $ECHO_C" >&6
33626 else
33627
33628                 echo "VER_1 { *; };" >conftest.sym
33629                 echo "int main() { return 0; }" >conftest.cpp
33630
33631                 if { ac_try='
33632                         $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33633                         -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
33634   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33635   (eval $ac_try) 2>&5
33636   ac_status=$?
33637   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33638   (exit $ac_status); }; } ; then
33639                   if test -s conftest.stderr ; then
33640                       wx_cv_version_script=no
33641                   else
33642                       wx_cv_version_script=yes
33643                   fi
33644                 else
33645                   wx_cv_version_script=no
33646                 fi
33647
33648                                                                                                                                                                                                 if test $wx_cv_version_script = yes
33649                 then
33650                   echo "struct B { virtual ~B() { } }; \
33651                         struct D : public B { }; \
33652                         void F() { D d; }" > conftest.cpp
33653
33654                   if { ac_try='
33655                         $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33656                         -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
33657   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33658   (eval $ac_try) 2>&5
33659   ac_status=$?
33660   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33661   (exit $ac_status); }; } &&
33662                      { ac_try='
33663                         $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33664                         -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
33665   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33666   (eval $ac_try) 2>&5
33667   ac_status=$?
33668   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33669   (exit $ac_status); }; }
33670                   then
33671                     if { ac_try='
33672                           $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33673                           -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
33674   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33675   (eval $ac_try) 2>&5
33676   ac_status=$?
33677   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33678   (exit $ac_status); }; }
33679                     then
33680                       wx_cv_version_script=yes
33681                     else
33682                       wx_cv_version_script=no
33683                     fi
33684                   fi
33685                 fi
33686
33687                 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
33688                 rm -f conftest1.output conftest2.output conftest3.output
33689
33690 fi
33691 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
33692 echo "${ECHO_T}$wx_cv_version_script" >&6; }
33693
33694             if test $wx_cv_version_script = yes ; then
33695                 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
33696             fi
33697             ;;
33698     esac
33699
33700
33701             if test "$wxUSE_VISIBILITY" != "no"; then
33702
33703
33704   if test -n "$GCC"; then
33705     CFLAGS_VISIBILITY="-fvisibility=hidden"
33706     CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
33707     { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
33708 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
33709     if test "${wx_cv_cc_visibility+set}" = set; then
33710   echo $ECHO_N "(cached) $ECHO_C" >&6
33711 else
33712
33713       wx_save_CXXFLAGS="$CXXFLAGS"
33714       CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33715       ac_ext=cpp
33716 ac_cpp='$CXXCPP $CPPFLAGS'
33717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33720
33721       cat >conftest.$ac_ext <<_ACEOF
33722 /* confdefs.h.  */
33723 _ACEOF
33724 cat confdefs.h >>conftest.$ac_ext
33725 cat >>conftest.$ac_ext <<_ACEOF
33726 /* end confdefs.h.  */
33727
33728          /* we need gcc >= 4.0, older versions with visibility support
33729             didn't have class visibility: */
33730          #if defined(__GNUC__) && __GNUC__ < 4
33731          error this gcc is too old;
33732          #endif
33733
33734          /* visibility only makes sense for ELF shared libs: */
33735          #if !defined(__ELF__) && !defined(__APPLE__)
33736          error this platform has no visibility;
33737          #endif
33738
33739          extern __attribute__((__visibility__("hidden"))) int hiddenvar;
33740          extern __attribute__((__visibility__("default"))) int exportedvar;
33741          extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
33742          extern __attribute__((__visibility__("default"))) int exportedfunc (void);
33743          class __attribute__((__visibility__("default"))) Foo {
33744            Foo() {}
33745          };
33746
33747 int
33748 main ()
33749 {
33750
33751   ;
33752   return 0;
33753 }
33754 _ACEOF
33755 rm -f conftest.$ac_objext
33756 if { (ac_try="$ac_compile"
33757 case "(($ac_try" in
33758   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33759   *) ac_try_echo=$ac_try;;
33760 esac
33761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33762   (eval "$ac_compile") 2>conftest.er1
33763   ac_status=$?
33764   grep -v '^ *+' conftest.er1 >conftest.err
33765   rm -f conftest.er1
33766   cat conftest.err >&5
33767   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33768   (exit $ac_status); } && {
33769          test -z "$ac_cxx_werror_flag" ||
33770          test ! -s conftest.err
33771        } && test -s conftest.$ac_objext; then
33772   wx_cv_cc_visibility=yes
33773 else
33774   echo "$as_me: failed program was:" >&5
33775 sed 's/^/| /' conftest.$ac_ext >&5
33776
33777         wx_cv_cc_visibility=no
33778 fi
33779
33780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33781       ac_ext=c
33782 ac_cpp='$CPP $CPPFLAGS'
33783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33786
33787       CXXFLAGS="$wx_save_CXXFLAGS"
33788 fi
33789
33790     { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
33791 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
33792     if test $wx_cv_cc_visibility = yes; then
33793                               { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
33794 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
33795       if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
33796   echo $ECHO_N "(cached) $ECHO_C" >&6
33797 else
33798
33799         wx_save_CXXFLAGS="$CXXFLAGS"
33800         wx_save_LDFLAGS="$LDFLAGS"
33801         CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33802         LDFLAGS="$LDFLAGS -shared -fPIC"
33803         ac_ext=cpp
33804 ac_cpp='$CXXCPP $CPPFLAGS'
33805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33808
33809         cat >conftest.$ac_ext <<_ACEOF
33810 /* confdefs.h.  */
33811 _ACEOF
33812 cat confdefs.h >>conftest.$ac_ext
33813 cat >>conftest.$ac_ext <<_ACEOF
33814 /* end confdefs.h.  */
33815
33816             #include <string>
33817
33818 int
33819 main ()
33820 {
33821
33822             std::string s("hello");
33823             return s.length();
33824
33825   ;
33826   return 0;
33827 }
33828 _ACEOF
33829 rm -f conftest.$ac_objext conftest$ac_exeext
33830 if { (ac_try="$ac_link"
33831 case "(($ac_try" in
33832   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33833   *) ac_try_echo=$ac_try;;
33834 esac
33835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33836   (eval "$ac_link") 2>conftest.er1
33837   ac_status=$?
33838   grep -v '^ *+' conftest.er1 >conftest.err
33839   rm -f conftest.er1
33840   cat conftest.err >&5
33841   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33842   (exit $ac_status); } && {
33843          test -z "$ac_cxx_werror_flag" ||
33844          test ! -s conftest.err
33845        } && test -s conftest$ac_exeext &&
33846        $as_test_x conftest$ac_exeext; then
33847   wx_cv_cc_broken_libstdcxx_visibility=no
33848 else
33849   echo "$as_me: failed program was:" >&5
33850 sed 's/^/| /' conftest.$ac_ext >&5
33851
33852         wx_cv_cc_broken_libstdcxx_visibility=yes
33853 fi
33854
33855 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33856       conftest$ac_exeext conftest.$ac_ext
33857         ac_ext=c
33858 ac_cpp='$CPP $CPPFLAGS'
33859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33862
33863         CXXFLAGS="$wx_save_CXXFLAGS"
33864         LDFLAGS="$wx_save_LDFLAGS"
33865 fi
33866
33867       { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
33868 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
33869
33870       if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33871         { echo "$as_me:$LINENO: checking whether we can work around it" >&5
33872 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
33873         if test "${wx_cv_cc_visibility_workaround+set}" = set; then
33874   echo $ECHO_N "(cached) $ECHO_C" >&6
33875 else
33876
33877           ac_ext=cpp
33878 ac_cpp='$CXXCPP $CPPFLAGS'
33879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33882
33883           cat >conftest.$ac_ext <<_ACEOF
33884 /* confdefs.h.  */
33885 _ACEOF
33886 cat confdefs.h >>conftest.$ac_ext
33887 cat >>conftest.$ac_ext <<_ACEOF
33888 /* end confdefs.h.  */
33889
33890               #pragma GCC visibility push(default)
33891               #include <string>
33892               #pragma GCC visibility pop
33893
33894 int
33895 main ()
33896 {
33897
33898               std::string s("hello");
33899               return s.length();
33900
33901   ;
33902   return 0;
33903 }
33904 _ACEOF
33905 rm -f conftest.$ac_objext conftest$ac_exeext
33906 if { (ac_try="$ac_link"
33907 case "(($ac_try" in
33908   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33909   *) ac_try_echo=$ac_try;;
33910 esac
33911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33912   (eval "$ac_link") 2>conftest.er1
33913   ac_status=$?
33914   grep -v '^ *+' conftest.er1 >conftest.err
33915   rm -f conftest.er1
33916   cat conftest.err >&5
33917   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33918   (exit $ac_status); } && {
33919          test -z "$ac_cxx_werror_flag" ||
33920          test ! -s conftest.err
33921        } && test -s conftest$ac_exeext &&
33922        $as_test_x conftest$ac_exeext; then
33923   wx_cv_cc_visibility_workaround=no
33924 else
33925   echo "$as_me: failed program was:" >&5
33926 sed 's/^/| /' conftest.$ac_ext >&5
33927
33928         wx_cv_cc_visibility_workaround=yes
33929 fi
33930
33931 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33932       conftest$ac_exeext conftest.$ac_ext
33933           ac_ext=c
33934 ac_cpp='$CPP $CPPFLAGS'
33935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33938
33939
33940 fi
33941
33942         { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
33943 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
33944
33945         if test $wx_cv_cc_visibility_workaround = no; then
33946                     wx_cv_cc_visibility=no
33947         fi
33948       fi
33949     fi
33950
33951     if test $wx_cv_cc_visibility = yes; then
33952       cat >>confdefs.h <<\_ACEOF
33953 #define HAVE_VISIBILITY 1
33954 _ACEOF
33955
33956       if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33957         cat >>confdefs.h <<\_ACEOF
33958 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
33959 _ACEOF
33960
33961       fi
33962     else
33963       CFLAGS_VISIBILITY=""
33964       CXXFLAGS_VISIBILITY=""
33965     fi
33966
33967
33968   fi
33969
33970     fi
33971
33972         if test "x$SUNCXX" = xyes; then
33973         SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
33974         WXCONFIG_RPATH="-R\$libdir"
33975     else
33976     case "${host}" in
33977       *-*-linux* | *-*-gnu* )
33978         SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33979         WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33980         ;;
33981
33982       *-*-solaris2* )
33983
33984                         CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
33985
33986                         saveLdflags="$LDFLAGS"
33987         LDFLAGS="$saveLdflags -Wl,-rpath,/"
33988         { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
33989 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
33990         cat >conftest.$ac_ext <<_ACEOF
33991 /* confdefs.h.  */
33992 _ACEOF
33993 cat confdefs.h >>conftest.$ac_ext
33994 cat >>conftest.$ac_ext <<_ACEOF
33995 /* end confdefs.h.  */
33996
33997 int
33998 main ()
33999 {
34000
34001   ;
34002   return 0;
34003 }
34004 _ACEOF
34005 rm -f conftest.$ac_objext conftest$ac_exeext
34006 if { (ac_try="$ac_link"
34007 case "(($ac_try" in
34008   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34009   *) ac_try_echo=$ac_try;;
34010 esac
34011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34012   (eval "$ac_link") 2>conftest.er1
34013   ac_status=$?
34014   grep -v '^ *+' conftest.er1 >conftest.err
34015   rm -f conftest.er1
34016   cat conftest.err >&5
34017   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34018   (exit $ac_status); } && {
34019          test -z "$ac_c_werror_flag" ||
34020          test ! -s conftest.err
34021        } && test -s conftest$ac_exeext &&
34022        $as_test_x conftest$ac_exeext; then
34023
34024                 { echo "$as_me:$LINENO: result: yes" >&5
34025 echo "${ECHO_T}yes" >&6; }
34026                 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
34027                 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
34028
34029 else
34030   echo "$as_me: failed program was:" >&5
34031 sed 's/^/| /' conftest.$ac_ext >&5
34032
34033
34034                 { echo "$as_me:$LINENO: result: no" >&5
34035 echo "${ECHO_T}no" >&6; }
34036                 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
34037 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
34038                 LDFLAGS="$saveLdflags -Wl,-R,/"
34039                 cat >conftest.$ac_ext <<_ACEOF
34040 /* confdefs.h.  */
34041 _ACEOF
34042 cat confdefs.h >>conftest.$ac_ext
34043 cat >>conftest.$ac_ext <<_ACEOF
34044 /* end confdefs.h.  */
34045
34046 int
34047 main ()
34048 {
34049
34050   ;
34051   return 0;
34052 }
34053 _ACEOF
34054 rm -f conftest.$ac_objext conftest$ac_exeext
34055 if { (ac_try="$ac_link"
34056 case "(($ac_try" in
34057   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34058   *) ac_try_echo=$ac_try;;
34059 esac
34060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34061   (eval "$ac_link") 2>conftest.er1
34062   ac_status=$?
34063   grep -v '^ *+' conftest.er1 >conftest.err
34064   rm -f conftest.er1
34065   cat conftest.err >&5
34066   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34067   (exit $ac_status); } && {
34068          test -z "$ac_c_werror_flag" ||
34069          test ! -s conftest.err
34070        } && test -s conftest$ac_exeext &&
34071        $as_test_x conftest$ac_exeext; then
34072
34073                         { echo "$as_me:$LINENO: result: yes" >&5
34074 echo "${ECHO_T}yes" >&6; }
34075                         SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
34076                         WXCONFIG_RPATH="-Wl,-R,\$libdir"
34077
34078 else
34079   echo "$as_me: failed program was:" >&5
34080 sed 's/^/| /' conftest.$ac_ext >&5
34081
34082
34083                         { echo "$as_me:$LINENO: result: no" >&5
34084 echo "${ECHO_T}no" >&6; }
34085
34086 fi
34087
34088 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34089       conftest$ac_exeext conftest.$ac_ext
34090
34091 fi
34092
34093 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34094       conftest$ac_exeext conftest.$ac_ext
34095         LDFLAGS="$saveLdflags"
34096       ;;
34097
34098       *-*-darwin* )
34099         install_name_tool=`which ${HOST_PREFIX}install_name_tool`
34100         if test "$install_name_tool" -a -x "$install_name_tool"; then
34101             DYLIB_RPATH_POSTLINK="${HOST_PREFIX}install_name_tool -id \$@ \$@"
34102             cat <<EOF >change-install-names
34103 #!/bin/sh
34104 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
34105 for i in \${libnames} ; do
34106     ${HOST_PREFIX}install_name_tool -id \${1}/\${i} \${1}/\${i}
34107     for dep in \${libnames} ; do
34108         ${HOST_PREFIX}install_name_tool -change \${2}/\${dep} \${1}/\${dep} \${1}/\${i}
34109     done
34110 done
34111 EOF
34112             chmod +x change-install-names
34113             DYLIB_RPATH_INSTALL="\$(wx_top_builddir)/change-install-names \${libdir} \$(wx_top_builddir)/lib"
34114         fi
34115
34116                                         HEADER_PAD_OPTION="-headerpad_max_install_names"
34117       ;;
34118
34119       *-*-cygwin* | *-*-mingw32* )
34120         ;;
34121
34122       *-*-hpux* )
34123         SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
34124         WXCONFIG_RPATH="-Wl,+b,\$libdir"
34125         ;;
34126
34127     esac
34128     fi
34129
34130             WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
34131
34132     if test $wxUSE_RPATH = "no"; then
34133         SAMPLES_RPATH_FLAG=''
34134         DYLIB_PATH_POSTLINK=''
34135         WXCONFIG_RPATH=''
34136     fi
34137
34138     SHARED=1
34139
34140 else
34141
34142     config_linkage_component="-static"
34143     SHARED=0
34144
34145 fi
34146
34147
34148 UNICODE=0
34149 lib_unicode_suffix=
34150 WX_CHARTYPE="ansi"
34151 if test "$wxUSE_UNICODE" = "yes"; then
34152     lib_unicode_suffix=u
34153     WX_CHARTYPE="unicode"
34154     UNICODE=1
34155 fi
34156
34157 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
34158 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
34159
34160 DEBUG_INFO=0
34161 if test "$wxUSE_DEBUG_INFO" = "yes"; then
34162     DEBUG_INFO=1
34163 fi
34164
34165 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
34166
34167 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
34168
34169 TOOLCHAIN_FULLNAME="${HOST_PREFIX}${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
34170
34171
34172 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_COCOA" = 1; then
34173     WX_LIBRARY_BASENAME_NOGUI="wx_base${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
34174 else
34175     WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
34176 fi
34177 if test "${TOOLKIT_DIR}" = "os2"; then
34178     WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
34179 else
34180     WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
34181 fi
34182
34183
34184
34185 if test "$wxUSE_COCOA" = 1; then
34186
34187     ac_ext=c
34188 ac_cpp='$CPP $CPPFLAGS'
34189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34192
34193 ac_ext=m
34194
34195     { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
34196 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
34197     cat >conftest.$ac_ext <<_ACEOF
34198 /* confdefs.h.  */
34199 _ACEOF
34200 cat confdefs.h >>conftest.$ac_ext
34201 cat >>conftest.$ac_ext <<_ACEOF
34202 /* end confdefs.h.  */
34203 #include <AppKit/NSEvent.h>
34204 #include <CoreFoundation/CoreFoundation.h>
34205
34206 int
34207 main ()
34208 {
34209
34210   ;
34211   return 0;
34212 }
34213 _ACEOF
34214 rm -f conftest.$ac_objext
34215 if { (ac_try="$ac_compile"
34216 case "(($ac_try" in
34217   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34218   *) ac_try_echo=$ac_try;;
34219 esac
34220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34221   (eval "$ac_compile") 2>conftest.er1
34222   ac_status=$?
34223   grep -v '^ *+' conftest.er1 >conftest.err
34224   rm -f conftest.er1
34225   cat conftest.err >&5
34226   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34227   (exit $ac_status); } && {
34228          test -z "$ac_c_werror_flag" ||
34229          test ! -s conftest.err
34230        } && test -s conftest.$ac_objext; then
34231   { echo "$as_me:$LINENO: result: no" >&5
34232 echo "${ECHO_T}no" >&6; }
34233 else
34234   echo "$as_me: failed program was:" >&5
34235 sed 's/^/| /' conftest.$ac_ext >&5
34236
34237         { echo "$as_me:$LINENO: result: yes" >&5
34238 echo "${ECHO_T}yes" >&6; }
34239         { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
34240 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
34241         cat >conftest.$ac_ext <<_ACEOF
34242 /* confdefs.h.  */
34243 _ACEOF
34244 cat confdefs.h >>conftest.$ac_ext
34245 cat >>conftest.$ac_ext <<_ACEOF
34246 /* end confdefs.h.  */
34247 #define __Point__ 1
34248 #include <AppKit/NSEvent.h>
34249 #include <CoreFoundation/CoreFoundation.h>
34250
34251 int
34252 main ()
34253 {
34254
34255   ;
34256   return 0;
34257 }
34258 _ACEOF
34259 rm -f conftest.$ac_objext
34260 if { (ac_try="$ac_compile"
34261 case "(($ac_try" in
34262   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34263   *) ac_try_echo=$ac_try;;
34264 esac
34265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34266   (eval "$ac_compile") 2>conftest.er1
34267   ac_status=$?
34268   grep -v '^ *+' conftest.er1 >conftest.err
34269   rm -f conftest.er1
34270   cat conftest.err >&5
34271   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34272   (exit $ac_status); } && {
34273          test -z "$ac_c_werror_flag" ||
34274          test ! -s conftest.err
34275        } && test -s conftest.$ac_objext; then
34276   { echo "$as_me:$LINENO: result: yes" >&5
34277 echo "${ECHO_T}yes" >&6; }
34278             cat >>confdefs.h <<\_ACEOF
34279 #define __Point__ 1
34280 _ACEOF
34281
34282
34283 else
34284   echo "$as_me: failed program was:" >&5
34285 sed 's/^/| /' conftest.$ac_ext >&5
34286
34287         { { echo "$as_me:$LINENO: error: no
34288 See \`config.log' for more details." >&5
34289 echo "$as_me: error: no
34290 See \`config.log' for more details." >&2;}
34291    { (exit 1); exit 1; }; }
34292
34293 fi
34294
34295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34296
34297 fi
34298
34299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34300     ac_ext=c
34301 ac_cpp='$CPP $CPPFLAGS'
34302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34305
34306 fi
34307
34308
34309 { echo "$as_me:$LINENO: checking for mode_t" >&5
34310 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
34311 if test "${ac_cv_type_mode_t+set}" = set; then
34312   echo $ECHO_N "(cached) $ECHO_C" >&6
34313 else
34314   cat >conftest.$ac_ext <<_ACEOF
34315 /* confdefs.h.  */
34316 _ACEOF
34317 cat confdefs.h >>conftest.$ac_ext
34318 cat >>conftest.$ac_ext <<_ACEOF
34319 /* end confdefs.h.  */
34320 $ac_includes_default
34321 typedef mode_t ac__type_new_;
34322 int
34323 main ()
34324 {
34325 if ((ac__type_new_ *) 0)
34326   return 0;
34327 if (sizeof (ac__type_new_))
34328   return 0;
34329   ;
34330   return 0;
34331 }
34332 _ACEOF
34333 rm -f conftest.$ac_objext
34334 if { (ac_try="$ac_compile"
34335 case "(($ac_try" in
34336   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34337   *) ac_try_echo=$ac_try;;
34338 esac
34339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34340   (eval "$ac_compile") 2>conftest.er1
34341   ac_status=$?
34342   grep -v '^ *+' conftest.er1 >conftest.err
34343   rm -f conftest.er1
34344   cat conftest.err >&5
34345   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34346   (exit $ac_status); } && {
34347          test -z "$ac_c_werror_flag" ||
34348          test ! -s conftest.err
34349        } && test -s conftest.$ac_objext; then
34350   ac_cv_type_mode_t=yes
34351 else
34352   echo "$as_me: failed program was:" >&5
34353 sed 's/^/| /' conftest.$ac_ext >&5
34354
34355         ac_cv_type_mode_t=no
34356 fi
34357
34358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34359 fi
34360 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
34361 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
34362 if test $ac_cv_type_mode_t = yes; then
34363   :
34364 else
34365
34366 cat >>confdefs.h <<_ACEOF
34367 #define mode_t int
34368 _ACEOF
34369
34370 fi
34371
34372 { echo "$as_me:$LINENO: checking for off_t" >&5
34373 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
34374 if test "${ac_cv_type_off_t+set}" = set; then
34375   echo $ECHO_N "(cached) $ECHO_C" >&6
34376 else
34377   cat >conftest.$ac_ext <<_ACEOF
34378 /* confdefs.h.  */
34379 _ACEOF
34380 cat confdefs.h >>conftest.$ac_ext
34381 cat >>conftest.$ac_ext <<_ACEOF
34382 /* end confdefs.h.  */
34383 $ac_includes_default
34384 typedef off_t ac__type_new_;
34385 int
34386 main ()
34387 {
34388 if ((ac__type_new_ *) 0)
34389   return 0;
34390 if (sizeof (ac__type_new_))
34391   return 0;
34392   ;
34393   return 0;
34394 }
34395 _ACEOF
34396 rm -f conftest.$ac_objext
34397 if { (ac_try="$ac_compile"
34398 case "(($ac_try" in
34399   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34400   *) ac_try_echo=$ac_try;;
34401 esac
34402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34403   (eval "$ac_compile") 2>conftest.er1
34404   ac_status=$?
34405   grep -v '^ *+' conftest.er1 >conftest.err
34406   rm -f conftest.er1
34407   cat conftest.err >&5
34408   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34409   (exit $ac_status); } && {
34410          test -z "$ac_c_werror_flag" ||
34411          test ! -s conftest.err
34412        } && test -s conftest.$ac_objext; then
34413   ac_cv_type_off_t=yes
34414 else
34415   echo "$as_me: failed program was:" >&5
34416 sed 's/^/| /' conftest.$ac_ext >&5
34417
34418         ac_cv_type_off_t=no
34419 fi
34420
34421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34422 fi
34423 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
34424 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
34425 if test $ac_cv_type_off_t = yes; then
34426   :
34427 else
34428
34429 cat >>confdefs.h <<_ACEOF
34430 #define off_t long int
34431 _ACEOF
34432
34433 fi
34434
34435 { echo "$as_me:$LINENO: checking for pid_t" >&5
34436 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
34437 if test "${ac_cv_type_pid_t+set}" = set; then
34438   echo $ECHO_N "(cached) $ECHO_C" >&6
34439 else
34440   cat >conftest.$ac_ext <<_ACEOF
34441 /* confdefs.h.  */
34442 _ACEOF
34443 cat confdefs.h >>conftest.$ac_ext
34444 cat >>conftest.$ac_ext <<_ACEOF
34445 /* end confdefs.h.  */
34446 $ac_includes_default
34447 typedef pid_t ac__type_new_;
34448 int
34449 main ()
34450 {
34451 if ((ac__type_new_ *) 0)
34452   return 0;
34453 if (sizeof (ac__type_new_))
34454   return 0;
34455   ;
34456   return 0;
34457 }
34458 _ACEOF
34459 rm -f conftest.$ac_objext
34460 if { (ac_try="$ac_compile"
34461 case "(($ac_try" in
34462   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34463   *) ac_try_echo=$ac_try;;
34464 esac
34465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34466   (eval "$ac_compile") 2>conftest.er1
34467   ac_status=$?
34468   grep -v '^ *+' conftest.er1 >conftest.err
34469   rm -f conftest.er1
34470   cat conftest.err >&5
34471   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34472   (exit $ac_status); } && {
34473          test -z "$ac_c_werror_flag" ||
34474          test ! -s conftest.err
34475        } && test -s conftest.$ac_objext; then
34476   ac_cv_type_pid_t=yes
34477 else
34478   echo "$as_me: failed program was:" >&5
34479 sed 's/^/| /' conftest.$ac_ext >&5
34480
34481         ac_cv_type_pid_t=no
34482 fi
34483
34484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34485 fi
34486 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
34487 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
34488 if test $ac_cv_type_pid_t = yes; then
34489   :
34490 else
34491
34492 cat >>confdefs.h <<_ACEOF
34493 #define pid_t int
34494 _ACEOF
34495
34496 fi
34497
34498 { echo "$as_me:$LINENO: checking for size_t" >&5
34499 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
34500 if test "${ac_cv_type_size_t+set}" = set; then
34501   echo $ECHO_N "(cached) $ECHO_C" >&6
34502 else
34503   cat >conftest.$ac_ext <<_ACEOF
34504 /* confdefs.h.  */
34505 _ACEOF
34506 cat confdefs.h >>conftest.$ac_ext
34507 cat >>conftest.$ac_ext <<_ACEOF
34508 /* end confdefs.h.  */
34509 $ac_includes_default
34510 typedef size_t ac__type_new_;
34511 int
34512 main ()
34513 {
34514 if ((ac__type_new_ *) 0)
34515   return 0;
34516 if (sizeof (ac__type_new_))
34517   return 0;
34518   ;
34519   return 0;
34520 }
34521 _ACEOF
34522 rm -f conftest.$ac_objext
34523 if { (ac_try="$ac_compile"
34524 case "(($ac_try" in
34525   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34526   *) ac_try_echo=$ac_try;;
34527 esac
34528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34529   (eval "$ac_compile") 2>conftest.er1
34530   ac_status=$?
34531   grep -v '^ *+' conftest.er1 >conftest.err
34532   rm -f conftest.er1
34533   cat conftest.err >&5
34534   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34535   (exit $ac_status); } && {
34536          test -z "$ac_c_werror_flag" ||
34537          test ! -s conftest.err
34538        } && test -s conftest.$ac_objext; then
34539   ac_cv_type_size_t=yes
34540 else
34541   echo "$as_me: failed program was:" >&5
34542 sed 's/^/| /' conftest.$ac_ext >&5
34543
34544         ac_cv_type_size_t=no
34545 fi
34546
34547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34548 fi
34549 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
34550 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
34551 if test $ac_cv_type_size_t = yes; then
34552   :
34553 else
34554
34555 cat >>confdefs.h <<_ACEOF
34556 #define size_t unsigned int
34557 _ACEOF
34558
34559 fi
34560
34561
34562 { echo "$as_me:$LINENO: checking for ssize_t" >&5
34563 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
34564 if test "${ac_cv_type_ssize_t+set}" = set; then
34565   echo $ECHO_N "(cached) $ECHO_C" >&6
34566 else
34567   cat >conftest.$ac_ext <<_ACEOF
34568 /* confdefs.h.  */
34569 _ACEOF
34570 cat confdefs.h >>conftest.$ac_ext
34571 cat >>conftest.$ac_ext <<_ACEOF
34572 /* end confdefs.h.  */
34573 $ac_includes_default
34574 typedef ssize_t ac__type_new_;
34575 int
34576 main ()
34577 {
34578 if ((ac__type_new_ *) 0)
34579   return 0;
34580 if (sizeof (ac__type_new_))
34581   return 0;
34582   ;
34583   return 0;
34584 }
34585 _ACEOF
34586 rm -f conftest.$ac_objext
34587 if { (ac_try="$ac_compile"
34588 case "(($ac_try" in
34589   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34590   *) ac_try_echo=$ac_try;;
34591 esac
34592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34593   (eval "$ac_compile") 2>conftest.er1
34594   ac_status=$?
34595   grep -v '^ *+' conftest.er1 >conftest.err
34596   rm -f conftest.er1
34597   cat conftest.err >&5
34598   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34599   (exit $ac_status); } && {
34600          test -z "$ac_c_werror_flag" ||
34601          test ! -s conftest.err
34602        } && test -s conftest.$ac_objext; then
34603   ac_cv_type_ssize_t=yes
34604 else
34605   echo "$as_me: failed program was:" >&5
34606 sed 's/^/| /' conftest.$ac_ext >&5
34607
34608         ac_cv_type_ssize_t=no
34609 fi
34610
34611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34612 fi
34613 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
34614 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
34615 if test $ac_cv_type_ssize_t = yes; then
34616
34617 cat >>confdefs.h <<_ACEOF
34618 #define HAVE_SSIZE_T 1
34619 _ACEOF
34620
34621
34622 fi
34623
34624
34625 ac_ext=cpp
34626 ac_cpp='$CXXCPP $CPPFLAGS'
34627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34630  { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
34631 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
34632 if test "${wx_cv_size_t_is_uint+set}" = set; then
34633   echo $ECHO_N "(cached) $ECHO_C" >&6
34634 else
34635
34636                             cat >conftest.$ac_ext <<_ACEOF
34637 /* confdefs.h.  */
34638 _ACEOF
34639 cat confdefs.h >>conftest.$ac_ext
34640 cat >>conftest.$ac_ext <<_ACEOF
34641 /* end confdefs.h.  */
34642 #include <stddef.h>
34643 int
34644 main ()
34645 {
34646
34647             return 0; }
34648
34649             struct Foo { void foo(size_t); void foo(unsigned int); };
34650
34651             int bar() {
34652
34653   ;
34654   return 0;
34655 }
34656 _ACEOF
34657 rm -f conftest.$ac_objext
34658 if { (ac_try="$ac_compile"
34659 case "(($ac_try" in
34660   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34661   *) ac_try_echo=$ac_try;;
34662 esac
34663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34664   (eval "$ac_compile") 2>conftest.er1
34665   ac_status=$?
34666   grep -v '^ *+' conftest.er1 >conftest.err
34667   rm -f conftest.er1
34668   cat conftest.err >&5
34669   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34670   (exit $ac_status); } && {
34671          test -z "$ac_cxx_werror_flag" ||
34672          test ! -s conftest.err
34673        } && test -s conftest.$ac_objext; then
34674   wx_cv_size_t_is_uint=no
34675 else
34676   echo "$as_me: failed program was:" >&5
34677 sed 's/^/| /' conftest.$ac_ext >&5
34678
34679         wx_cv_size_t_is_uint=yes
34680
34681 fi
34682
34683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34684
34685
34686 fi
34687 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
34688 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
34689
34690 if test "$wx_cv_size_t_is_uint" = "yes"; then
34691     cat >>confdefs.h <<\_ACEOF
34692 #define wxSIZE_T_IS_UINT 1
34693 _ACEOF
34694
34695 else
34696     { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
34697 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
34698 if test "${wx_cv_size_t_is_ulong+set}" = set; then
34699   echo $ECHO_N "(cached) $ECHO_C" >&6
34700 else
34701   cat >conftest.$ac_ext <<_ACEOF
34702 /* confdefs.h.  */
34703 _ACEOF
34704 cat confdefs.h >>conftest.$ac_ext
34705 cat >>conftest.$ac_ext <<_ACEOF
34706 /* end confdefs.h.  */
34707 #include <stddef.h>
34708 int
34709 main ()
34710 {
34711
34712                 return 0; }
34713
34714                 struct Foo { void foo(size_t); void foo(unsigned long); };
34715
34716                 int bar() {
34717
34718   ;
34719   return 0;
34720 }
34721 _ACEOF
34722 rm -f conftest.$ac_objext
34723 if { (ac_try="$ac_compile"
34724 case "(($ac_try" in
34725   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34726   *) ac_try_echo=$ac_try;;
34727 esac
34728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34729   (eval "$ac_compile") 2>conftest.er1
34730   ac_status=$?
34731   grep -v '^ *+' conftest.er1 >conftest.err
34732   rm -f conftest.er1
34733   cat conftest.err >&5
34734   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34735   (exit $ac_status); } && {
34736          test -z "$ac_cxx_werror_flag" ||
34737          test ! -s conftest.err
34738        } && test -s conftest.$ac_objext; then
34739   wx_cv_size_t_is_ulong=no
34740 else
34741   echo "$as_me: failed program was:" >&5
34742 sed 's/^/| /' conftest.$ac_ext >&5
34743
34744         wx_cv_size_t_is_ulong=yes
34745
34746 fi
34747
34748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34749
34750 fi
34751 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
34752 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
34753
34754     if test "$wx_cv_size_t_is_ulong" = "yes"; then
34755         cat >>confdefs.h <<\_ACEOF
34756 #define wxSIZE_T_IS_ULONG 1
34757 _ACEOF
34758
34759     fi
34760 fi
34761
34762 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
34763 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
34764 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
34765   echo $ECHO_N "(cached) $ECHO_C" >&6
34766 else
34767   cat >conftest.$ac_ext <<_ACEOF
34768 /* confdefs.h.  */
34769 _ACEOF
34770 cat confdefs.h >>conftest.$ac_ext
34771 cat >>conftest.$ac_ext <<_ACEOF
34772 /* end confdefs.h.  */
34773 #include <wchar.h>
34774 int
34775 main ()
34776 {
34777
34778             return 0; }
34779
34780             struct Foo { void foo(wchar_t);
34781                          void foo(unsigned short);
34782                          void foo(unsigned int);
34783                          void foo(unsigned long); };
34784
34785             int bar() {
34786
34787   ;
34788   return 0;
34789 }
34790 _ACEOF
34791 rm -f conftest.$ac_objext
34792 if { (ac_try="$ac_compile"
34793 case "(($ac_try" in
34794   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34795   *) ac_try_echo=$ac_try;;
34796 esac
34797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34798   (eval "$ac_compile") 2>conftest.er1
34799   ac_status=$?
34800   grep -v '^ *+' conftest.er1 >conftest.err
34801   rm -f conftest.er1
34802   cat conftest.err >&5
34803   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34804   (exit $ac_status); } && {
34805          test -z "$ac_cxx_werror_flag" ||
34806          test ! -s conftest.err
34807        } && test -s conftest.$ac_objext; then
34808   wx_cv_wchar_t_is_separate_type=yes
34809 else
34810   echo "$as_me: failed program was:" >&5
34811 sed 's/^/| /' conftest.$ac_ext >&5
34812
34813         wx_cv_wchar_t_is_separate_type=no
34814
34815 fi
34816
34817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34818
34819 fi
34820 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
34821 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
34822
34823 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
34824     cat >>confdefs.h <<\_ACEOF
34825 #define wxWCHAR_T_IS_REAL_TYPE 1
34826 _ACEOF
34827
34828 else
34829     cat >>confdefs.h <<\_ACEOF
34830 #define wxWCHAR_T_IS_REAL_TYPE 0
34831 _ACEOF
34832
34833 fi
34834
34835 ac_ext=c
34836 ac_cpp='$CPP $CPPFLAGS'
34837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34840
34841
34842 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
34843 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
34844 if test "${wx_cv_struct_pw_gecos+set}" = set; then
34845   echo $ECHO_N "(cached) $ECHO_C" >&6
34846 else
34847
34848         cat >conftest.$ac_ext <<_ACEOF
34849 /* confdefs.h.  */
34850 _ACEOF
34851 cat confdefs.h >>conftest.$ac_ext
34852 cat >>conftest.$ac_ext <<_ACEOF
34853 /* end confdefs.h.  */
34854 #include <pwd.h>
34855 int
34856 main ()
34857 {
34858
34859                 char *p;
34860                 struct passwd *pw;
34861                 p = pw->pw_gecos;
34862
34863   ;
34864   return 0;
34865 }
34866 _ACEOF
34867 rm -f conftest.$ac_objext
34868 if { (ac_try="$ac_compile"
34869 case "(($ac_try" in
34870   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34871   *) ac_try_echo=$ac_try;;
34872 esac
34873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34874   (eval "$ac_compile") 2>conftest.er1
34875   ac_status=$?
34876   grep -v '^ *+' conftest.er1 >conftest.err
34877   rm -f conftest.er1
34878   cat conftest.err >&5
34879   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34880   (exit $ac_status); } && {
34881          test -z "$ac_c_werror_flag" ||
34882          test ! -s conftest.err
34883        } && test -s conftest.$ac_objext; then
34884
34885                 wx_cv_struct_pw_gecos=yes
34886
34887 else
34888   echo "$as_me: failed program was:" >&5
34889 sed 's/^/| /' conftest.$ac_ext >&5
34890
34891
34892                 wx_cv_struct_pw_gecos=no
34893
34894
34895 fi
34896
34897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34898
34899
34900 fi
34901 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
34902 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
34903
34904 if test "$wx_cv_struct_pw_gecos" = "yes"; then
34905     cat >>confdefs.h <<\_ACEOF
34906 #define HAVE_PW_GECOS 1
34907 _ACEOF
34908
34909 fi
34910
34911
34912 if test "$wxUSE_WCHAR_T" = "yes"; then
34913     cat >>confdefs.h <<\_ACEOF
34914 #define wxUSE_WCHAR_T 1
34915 _ACEOF
34916
34917
34918         WCSLEN_FOUND=0
34919     WCHAR_LINK=
34920
34921 for ac_func in wcslen
34922 do
34923 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34924 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34925 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34926 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34927   echo $ECHO_N "(cached) $ECHO_C" >&6
34928 else
34929   cat >conftest.$ac_ext <<_ACEOF
34930 /* confdefs.h.  */
34931 _ACEOF
34932 cat confdefs.h >>conftest.$ac_ext
34933 cat >>conftest.$ac_ext <<_ACEOF
34934 /* end confdefs.h.  */
34935 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34936    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
34937 #define $ac_func innocuous_$ac_func
34938
34939 /* System header to define __stub macros and hopefully few prototypes,
34940     which can conflict with char $ac_func (); below.
34941     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34942     <limits.h> exists even on freestanding compilers.  */
34943
34944 #ifdef __STDC__
34945 # include <limits.h>
34946 #else
34947 # include <assert.h>
34948 #endif
34949
34950 #undef $ac_func
34951
34952 /* Override any GCC internal prototype to avoid an error.
34953    Use char because int might match the return type of a GCC
34954    builtin and then its argument prototype would still apply.  */
34955 #ifdef __cplusplus
34956 extern "C"
34957 #endif
34958 char $ac_func ();
34959 /* The GNU C library defines this for functions which it implements
34960     to always fail with ENOSYS.  Some functions are actually named
34961     something starting with __ and the normal name is an alias.  */
34962 #if defined __stub_$ac_func || defined __stub___$ac_func
34963 choke me
34964 #endif
34965
34966 int
34967 main ()
34968 {
34969 return $ac_func ();
34970   ;
34971   return 0;
34972 }
34973 _ACEOF
34974 rm -f conftest.$ac_objext conftest$ac_exeext
34975 if { (ac_try="$ac_link"
34976 case "(($ac_try" in
34977   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34978   *) ac_try_echo=$ac_try;;
34979 esac
34980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34981   (eval "$ac_link") 2>conftest.er1
34982   ac_status=$?
34983   grep -v '^ *+' conftest.er1 >conftest.err
34984   rm -f conftest.er1
34985   cat conftest.err >&5
34986   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34987   (exit $ac_status); } && {
34988          test -z "$ac_c_werror_flag" ||
34989          test ! -s conftest.err
34990        } && test -s conftest$ac_exeext &&
34991        $as_test_x conftest$ac_exeext; then
34992   eval "$as_ac_var=yes"
34993 else
34994   echo "$as_me: failed program was:" >&5
34995 sed 's/^/| /' conftest.$ac_ext >&5
34996
34997         eval "$as_ac_var=no"
34998 fi
34999
35000 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35001       conftest$ac_exeext conftest.$ac_ext
35002 fi
35003 ac_res=`eval echo '${'$as_ac_var'}'`
35004                { echo "$as_me:$LINENO: result: $ac_res" >&5
35005 echo "${ECHO_T}$ac_res" >&6; }
35006 if test `eval echo '${'$as_ac_var'}'` = yes; then
35007   cat >>confdefs.h <<_ACEOF
35008 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35009 _ACEOF
35010  WCSLEN_FOUND=1
35011 fi
35012 done
35013
35014
35015     if test "$WCSLEN_FOUND" = 0; then
35016         if test "$TOOLKIT" = "MSW"; then
35017             { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
35018 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
35019 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
35020   echo $ECHO_N "(cached) $ECHO_C" >&6
35021 else
35022   ac_check_lib_save_LIBS=$LIBS
35023 LIBS="-lmsvcrt  $LIBS"
35024 cat >conftest.$ac_ext <<_ACEOF
35025 /* confdefs.h.  */
35026 _ACEOF
35027 cat confdefs.h >>conftest.$ac_ext
35028 cat >>conftest.$ac_ext <<_ACEOF
35029 /* end confdefs.h.  */
35030
35031 /* Override any GCC internal prototype to avoid an error.
35032    Use char because int might match the return type of a GCC
35033    builtin and then its argument prototype would still apply.  */
35034 #ifdef __cplusplus
35035 extern "C"
35036 #endif
35037 char wcslen ();
35038 int
35039 main ()
35040 {
35041 return wcslen ();
35042   ;
35043   return 0;
35044 }
35045 _ACEOF
35046 rm -f conftest.$ac_objext conftest$ac_exeext
35047 if { (ac_try="$ac_link"
35048 case "(($ac_try" in
35049   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35050   *) ac_try_echo=$ac_try;;
35051 esac
35052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35053   (eval "$ac_link") 2>conftest.er1
35054   ac_status=$?
35055   grep -v '^ *+' conftest.er1 >conftest.err
35056   rm -f conftest.er1
35057   cat conftest.err >&5
35058   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35059   (exit $ac_status); } && {
35060          test -z "$ac_c_werror_flag" ||
35061          test ! -s conftest.err
35062        } && test -s conftest$ac_exeext &&
35063        $as_test_x conftest$ac_exeext; then
35064   ac_cv_lib_msvcrt_wcslen=yes
35065 else
35066   echo "$as_me: failed program was:" >&5
35067 sed 's/^/| /' conftest.$ac_ext >&5
35068
35069         ac_cv_lib_msvcrt_wcslen=no
35070 fi
35071
35072 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35073       conftest$ac_exeext conftest.$ac_ext
35074 LIBS=$ac_check_lib_save_LIBS
35075 fi
35076 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
35077 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
35078 if test $ac_cv_lib_msvcrt_wcslen = yes; then
35079   WCHAR_OK=1
35080 fi
35081
35082         else
35083             { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
35084 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
35085 if test "${ac_cv_lib_w_wcslen+set}" = set; then
35086   echo $ECHO_N "(cached) $ECHO_C" >&6
35087 else
35088   ac_check_lib_save_LIBS=$LIBS
35089 LIBS="-lw  $LIBS"
35090 cat >conftest.$ac_ext <<_ACEOF
35091 /* confdefs.h.  */
35092 _ACEOF
35093 cat confdefs.h >>conftest.$ac_ext
35094 cat >>conftest.$ac_ext <<_ACEOF
35095 /* end confdefs.h.  */
35096
35097 /* Override any GCC internal prototype to avoid an error.
35098    Use char because int might match the return type of a GCC
35099    builtin and then its argument prototype would still apply.  */
35100 #ifdef __cplusplus
35101 extern "C"
35102 #endif
35103 char wcslen ();
35104 int
35105 main ()
35106 {
35107 return wcslen ();
35108   ;
35109   return 0;
35110 }
35111 _ACEOF
35112 rm -f conftest.$ac_objext conftest$ac_exeext
35113 if { (ac_try="$ac_link"
35114 case "(($ac_try" in
35115   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35116   *) ac_try_echo=$ac_try;;
35117 esac
35118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35119   (eval "$ac_link") 2>conftest.er1
35120   ac_status=$?
35121   grep -v '^ *+' conftest.er1 >conftest.err
35122   rm -f conftest.er1
35123   cat conftest.err >&5
35124   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35125   (exit $ac_status); } && {
35126          test -z "$ac_c_werror_flag" ||
35127          test ! -s conftest.err
35128        } && test -s conftest$ac_exeext &&
35129        $as_test_x conftest$ac_exeext; then
35130   ac_cv_lib_w_wcslen=yes
35131 else
35132   echo "$as_me: failed program was:" >&5
35133 sed 's/^/| /' conftest.$ac_ext >&5
35134
35135         ac_cv_lib_w_wcslen=no
35136 fi
35137
35138 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35139       conftest$ac_exeext conftest.$ac_ext
35140 LIBS=$ac_check_lib_save_LIBS
35141 fi
35142 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
35143 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
35144 if test $ac_cv_lib_w_wcslen = yes; then
35145
35146                             WCHAR_LINK=" -lw"
35147                             WCSLEN_FOUND=1
35148
35149 fi
35150
35151         fi
35152     fi
35153
35154     if test "$WCSLEN_FOUND" = 1; then
35155         cat >>confdefs.h <<\_ACEOF
35156 #define HAVE_WCSLEN 1
35157 _ACEOF
35158
35159     fi
35160
35161
35162
35163
35164
35165
35166 for ac_func in wcsdup strnlen wcsnlen wcscasecmp wcsncasecmp
35167 do
35168 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35169 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35170 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35171 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35172   echo $ECHO_N "(cached) $ECHO_C" >&6
35173 else
35174   cat >conftest.$ac_ext <<_ACEOF
35175 /* confdefs.h.  */
35176 _ACEOF
35177 cat confdefs.h >>conftest.$ac_ext
35178 cat >>conftest.$ac_ext <<_ACEOF
35179 /* end confdefs.h.  */
35180 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35181    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
35182 #define $ac_func innocuous_$ac_func
35183
35184 /* System header to define __stub macros and hopefully few prototypes,
35185     which can conflict with char $ac_func (); below.
35186     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35187     <limits.h> exists even on freestanding compilers.  */
35188
35189 #ifdef __STDC__
35190 # include <limits.h>
35191 #else
35192 # include <assert.h>
35193 #endif
35194
35195 #undef $ac_func
35196
35197 /* Override any GCC internal prototype to avoid an error.
35198    Use char because int might match the return type of a GCC
35199    builtin and then its argument prototype would still apply.  */
35200 #ifdef __cplusplus
35201 extern "C"
35202 #endif
35203 char $ac_func ();
35204 /* The GNU C library defines this for functions which it implements
35205     to always fail with ENOSYS.  Some functions are actually named
35206     something starting with __ and the normal name is an alias.  */
35207 #if defined __stub_$ac_func || defined __stub___$ac_func
35208 choke me
35209 #endif
35210
35211 int
35212 main ()
35213 {
35214 return $ac_func ();
35215   ;
35216   return 0;
35217 }
35218 _ACEOF
35219 rm -f conftest.$ac_objext conftest$ac_exeext
35220 if { (ac_try="$ac_link"
35221 case "(($ac_try" in
35222   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35223   *) ac_try_echo=$ac_try;;
35224 esac
35225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35226   (eval "$ac_link") 2>conftest.er1
35227   ac_status=$?
35228   grep -v '^ *+' conftest.er1 >conftest.err
35229   rm -f conftest.er1
35230   cat conftest.err >&5
35231   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35232   (exit $ac_status); } && {
35233          test -z "$ac_c_werror_flag" ||
35234          test ! -s conftest.err
35235        } && test -s conftest$ac_exeext &&
35236        $as_test_x conftest$ac_exeext; then
35237   eval "$as_ac_var=yes"
35238 else
35239   echo "$as_me: failed program was:" >&5
35240 sed 's/^/| /' conftest.$ac_ext >&5
35241
35242         eval "$as_ac_var=no"
35243 fi
35244
35245 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35246       conftest$ac_exeext conftest.$ac_ext
35247 fi
35248 ac_res=`eval echo '${'$as_ac_var'}'`
35249                { echo "$as_me:$LINENO: result: $ac_res" >&5
35250 echo "${ECHO_T}$ac_res" >&6; }
35251 if test `eval echo '${'$as_ac_var'}'` = yes; then
35252   cat >>confdefs.h <<_ACEOF
35253 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35254 _ACEOF
35255
35256 fi
35257 done
35258
35259
35260                     if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
35261         CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
35262     fi
35263
35264                 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
35265 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
35266 if test "${ac_cv_type_mbstate_t+set}" = set; then
35267   echo $ECHO_N "(cached) $ECHO_C" >&6
35268 else
35269   cat >conftest.$ac_ext <<_ACEOF
35270 /* confdefs.h.  */
35271 _ACEOF
35272 cat confdefs.h >>conftest.$ac_ext
35273 cat >>conftest.$ac_ext <<_ACEOF
35274 /* end confdefs.h.  */
35275 #include <wchar.h>
35276
35277 typedef mbstate_t ac__type_new_;
35278 int
35279 main ()
35280 {
35281 if ((ac__type_new_ *) 0)
35282   return 0;
35283 if (sizeof (ac__type_new_))
35284   return 0;
35285   ;
35286   return 0;
35287 }
35288 _ACEOF
35289 rm -f conftest.$ac_objext
35290 if { (ac_try="$ac_compile"
35291 case "(($ac_try" in
35292   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35293   *) ac_try_echo=$ac_try;;
35294 esac
35295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35296   (eval "$ac_compile") 2>conftest.er1
35297   ac_status=$?
35298   grep -v '^ *+' conftest.er1 >conftest.err
35299   rm -f conftest.er1
35300   cat conftest.err >&5
35301   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35302   (exit $ac_status); } && {
35303          test -z "$ac_c_werror_flag" ||
35304          test ! -s conftest.err
35305        } && test -s conftest.$ac_objext; then
35306   ac_cv_type_mbstate_t=yes
35307 else
35308   echo "$as_me: failed program was:" >&5
35309 sed 's/^/| /' conftest.$ac_ext >&5
35310
35311         ac_cv_type_mbstate_t=no
35312 fi
35313
35314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35315 fi
35316 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
35317 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
35318 if test $ac_cv_type_mbstate_t = yes; then
35319
35320 cat >>confdefs.h <<_ACEOF
35321 #define HAVE_MBSTATE_T 1
35322 _ACEOF
35323
35324
35325 for ac_func in wcsrtombs
35326 do
35327 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35328 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35329 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35330 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35331   echo $ECHO_N "(cached) $ECHO_C" >&6
35332 else
35333   cat >conftest.$ac_ext <<_ACEOF
35334 /* confdefs.h.  */
35335 _ACEOF
35336 cat confdefs.h >>conftest.$ac_ext
35337 cat >>conftest.$ac_ext <<_ACEOF
35338 /* end confdefs.h.  */
35339 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35340    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
35341 #define $ac_func innocuous_$ac_func
35342
35343 /* System header to define __stub macros and hopefully few prototypes,
35344     which can conflict with char $ac_func (); below.
35345     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35346     <limits.h> exists even on freestanding compilers.  */
35347
35348 #ifdef __STDC__
35349 # include <limits.h>
35350 #else
35351 # include <assert.h>
35352 #endif
35353
35354 #undef $ac_func
35355
35356 /* Override any GCC internal prototype to avoid an error.
35357    Use char because int might match the return type of a GCC
35358    builtin and then its argument prototype would still apply.  */
35359 #ifdef __cplusplus
35360 extern "C"
35361 #endif
35362 char $ac_func ();
35363 /* The GNU C library defines this for functions which it implements
35364     to always fail with ENOSYS.  Some functions are actually named
35365     something starting with __ and the normal name is an alias.  */
35366 #if defined __stub_$ac_func || defined __stub___$ac_func
35367 choke me
35368 #endif
35369
35370 int
35371 main ()
35372 {
35373 return $ac_func ();
35374   ;
35375   return 0;
35376 }
35377 _ACEOF
35378 rm -f conftest.$ac_objext conftest$ac_exeext
35379 if { (ac_try="$ac_link"
35380 case "(($ac_try" in
35381   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35382   *) ac_try_echo=$ac_try;;
35383 esac
35384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35385   (eval "$ac_link") 2>conftest.er1
35386   ac_status=$?
35387   grep -v '^ *+' conftest.er1 >conftest.err
35388   rm -f conftest.er1
35389   cat conftest.err >&5
35390   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35391   (exit $ac_status); } && {
35392          test -z "$ac_c_werror_flag" ||
35393          test ! -s conftest.err
35394        } && test -s conftest$ac_exeext &&
35395        $as_test_x conftest$ac_exeext; then
35396   eval "$as_ac_var=yes"
35397 else
35398   echo "$as_me: failed program was:" >&5
35399 sed 's/^/| /' conftest.$ac_ext >&5
35400
35401         eval "$as_ac_var=no"
35402 fi
35403
35404 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35405       conftest$ac_exeext conftest.$ac_ext
35406 fi
35407 ac_res=`eval echo '${'$as_ac_var'}'`
35408                { echo "$as_me:$LINENO: result: $ac_res" >&5
35409 echo "${ECHO_T}$ac_res" >&6; }
35410 if test `eval echo '${'$as_ac_var'}'` = yes; then
35411   cat >>confdefs.h <<_ACEOF
35412 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35413 _ACEOF
35414
35415 fi
35416 done
35417
35418 fi
35419
35420 else
35421     { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
35422 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
35423 fi
35424
35425
35426
35427
35428 for ac_func in snprintf vsnprintf vsscanf
35429 do
35430 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35431 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35432 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35433 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35434   echo $ECHO_N "(cached) $ECHO_C" >&6
35435 else
35436   cat >conftest.$ac_ext <<_ACEOF
35437 /* confdefs.h.  */
35438 _ACEOF
35439 cat confdefs.h >>conftest.$ac_ext
35440 cat >>conftest.$ac_ext <<_ACEOF
35441 /* end confdefs.h.  */
35442 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35443    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
35444 #define $ac_func innocuous_$ac_func
35445
35446 /* System header to define __stub macros and hopefully few prototypes,
35447     which can conflict with char $ac_func (); below.
35448     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35449     <limits.h> exists even on freestanding compilers.  */
35450
35451 #ifdef __STDC__
35452 # include <limits.h>
35453 #else
35454 # include <assert.h>
35455 #endif
35456
35457 #undef $ac_func
35458
35459 /* Override any GCC internal prototype to avoid an error.
35460    Use char because int might match the return type of a GCC
35461    builtin and then its argument prototype would still apply.  */
35462 #ifdef __cplusplus
35463 extern "C"
35464 #endif
35465 char $ac_func ();
35466 /* The GNU C library defines this for functions which it implements
35467     to always fail with ENOSYS.  Some functions are actually named
35468     something starting with __ and the normal name is an alias.  */
35469 #if defined __stub_$ac_func || defined __stub___$ac_func
35470 choke me
35471 #endif
35472
35473 int
35474 main ()
35475 {
35476 return $ac_func ();
35477   ;
35478   return 0;
35479 }
35480 _ACEOF
35481 rm -f conftest.$ac_objext conftest$ac_exeext
35482 if { (ac_try="$ac_link"
35483 case "(($ac_try" in
35484   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35485   *) ac_try_echo=$ac_try;;
35486 esac
35487 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35488   (eval "$ac_link") 2>conftest.er1
35489   ac_status=$?
35490   grep -v '^ *+' conftest.er1 >conftest.err
35491   rm -f conftest.er1
35492   cat conftest.err >&5
35493   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35494   (exit $ac_status); } && {
35495          test -z "$ac_c_werror_flag" ||
35496          test ! -s conftest.err
35497        } && test -s conftest$ac_exeext &&
35498        $as_test_x conftest$ac_exeext; then
35499   eval "$as_ac_var=yes"
35500 else
35501   echo "$as_me: failed program was:" >&5
35502 sed 's/^/| /' conftest.$ac_ext >&5
35503
35504         eval "$as_ac_var=no"
35505 fi
35506
35507 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35508       conftest$ac_exeext conftest.$ac_ext
35509 fi
35510 ac_res=`eval echo '${'$as_ac_var'}'`
35511                { echo "$as_me:$LINENO: result: $ac_res" >&5
35512 echo "${ECHO_T}$ac_res" >&6; }
35513 if test `eval echo '${'$as_ac_var'}'` = yes; then
35514   cat >>confdefs.h <<_ACEOF
35515 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35516 _ACEOF
35517
35518 fi
35519 done
35520
35521
35522 ac_ext=cpp
35523 ac_cpp='$CXXCPP $CPPFLAGS'
35524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35527
35528 if test "$ac_cv_func_vsnprintf" = "yes"; then
35529         { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
35530 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
35531 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
35532   echo $ECHO_N "(cached) $ECHO_C" >&6
35533 else
35534
35535                                                             cat >conftest.$ac_ext <<_ACEOF
35536 /* confdefs.h.  */
35537 _ACEOF
35538 cat confdefs.h >>conftest.$ac_ext
35539 cat >>conftest.$ac_ext <<_ACEOF
35540 /* end confdefs.h.  */
35541
35542                     #include <stdio.h>
35543                     #include <stdarg.h>
35544                     #ifdef __MSL__
35545                     #if __MSL__ >= 0x6000
35546                     namespace std {}
35547                     using namespace std;
35548                     #endif
35549                     #endif
35550
35551 int
35552 main ()
35553 {
35554
35555                     char *buf;
35556                     va_list ap;
35557                     vsnprintf(buf, 10u, "%s", ap);
35558
35559   ;
35560   return 0;
35561 }
35562 _ACEOF
35563 rm -f conftest.$ac_objext
35564 if { (ac_try="$ac_compile"
35565 case "(($ac_try" in
35566   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35567   *) ac_try_echo=$ac_try;;
35568 esac
35569 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35570   (eval "$ac_compile") 2>conftest.er1
35571   ac_status=$?
35572   grep -v '^ *+' conftest.er1 >conftest.err
35573   rm -f conftest.er1
35574   cat conftest.err >&5
35575   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35576   (exit $ac_status); } && {
35577          test -z "$ac_cxx_werror_flag" ||
35578          test ! -s conftest.err
35579        } && test -s conftest.$ac_objext; then
35580   wx_cv_func_vsnprintf_decl=yes
35581 else
35582   echo "$as_me: failed program was:" >&5
35583 sed 's/^/| /' conftest.$ac_ext >&5
35584
35585         wx_cv_func_vsnprintf_decl=no
35586
35587 fi
35588
35589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35590
35591
35592 fi
35593 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
35594 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
35595
35596     if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
35597         cat >>confdefs.h <<\_ACEOF
35598 #define HAVE_VSNPRINTF_DECL 1
35599 _ACEOF
35600
35601
35602                         { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
35603 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
35604 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
35605   echo $ECHO_N "(cached) $ECHO_C" >&6
35606 else
35607
35608                 cat >conftest.$ac_ext <<_ACEOF
35609 /* confdefs.h.  */
35610 _ACEOF
35611 cat confdefs.h >>conftest.$ac_ext
35612 cat >>conftest.$ac_ext <<_ACEOF
35613 /* end confdefs.h.  */
35614
35615                         #include <stdio.h>
35616                         #include <stdarg.h>
35617                         #ifdef __MSL__
35618                         #if __MSL__ >= 0x6000
35619                         namespace std {}
35620                         using namespace std;
35621                         #endif
35622                         #endif
35623
35624 int
35625 main ()
35626 {
35627
35628                         char *buf;
35629                         va_list ap;
35630                         const char *fmt = "%s";
35631                         vsnprintf(buf, 10u, fmt, ap);
35632
35633   ;
35634   return 0;
35635 }
35636 _ACEOF
35637 rm -f conftest.$ac_objext
35638 if { (ac_try="$ac_compile"
35639 case "(($ac_try" in
35640   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35641   *) ac_try_echo=$ac_try;;
35642 esac
35643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35644   (eval "$ac_compile") 2>conftest.er1
35645   ac_status=$?
35646   grep -v '^ *+' conftest.er1 >conftest.err
35647   rm -f conftest.er1
35648   cat conftest.err >&5
35649   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35650   (exit $ac_status); } && {
35651          test -z "$ac_cxx_werror_flag" ||
35652          test ! -s conftest.err
35653        } && test -s conftest.$ac_objext; then
35654   wx_cv_func_broken_vsnprintf_decl=no
35655 else
35656   echo "$as_me: failed program was:" >&5
35657 sed 's/^/| /' conftest.$ac_ext >&5
35658
35659         wx_cv_func_broken_vsnprintf_decl=yes
35660
35661 fi
35662
35663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35664
35665
35666 fi
35667 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
35668 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
35669
35670         if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
35671             cat >>confdefs.h <<\_ACEOF
35672 #define HAVE_BROKEN_VSNPRINTF_DECL 1
35673 _ACEOF
35674
35675         fi
35676     fi
35677 fi
35678
35679 if test "$ac_cv_func_snprintf" = "yes"; then
35680     { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
35681 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
35682 if test "${wx_cv_func_snprintf_decl+set}" = set; then
35683   echo $ECHO_N "(cached) $ECHO_C" >&6
35684 else
35685
35686             cat >conftest.$ac_ext <<_ACEOF
35687 /* confdefs.h.  */
35688 _ACEOF
35689 cat confdefs.h >>conftest.$ac_ext
35690 cat >>conftest.$ac_ext <<_ACEOF
35691 /* end confdefs.h.  */
35692
35693                     #include <stdio.h>
35694                     #include <stdarg.h>
35695                     #ifdef __MSL__
35696                     #if __MSL__ >= 0x6000
35697                     namespace std {}
35698                     using namespace std;
35699                     #endif
35700                     #endif
35701
35702 int
35703 main ()
35704 {
35705
35706                     char *buf;
35707                     snprintf(buf, 10u, "%s", "wx");
35708
35709   ;
35710   return 0;
35711 }
35712 _ACEOF
35713 rm -f conftest.$ac_objext
35714 if { (ac_try="$ac_compile"
35715 case "(($ac_try" in
35716   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35717   *) ac_try_echo=$ac_try;;
35718 esac
35719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35720   (eval "$ac_compile") 2>conftest.er1
35721   ac_status=$?
35722   grep -v '^ *+' conftest.er1 >conftest.err
35723   rm -f conftest.er1
35724   cat conftest.err >&5
35725   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35726   (exit $ac_status); } && {
35727          test -z "$ac_cxx_werror_flag" ||
35728          test ! -s conftest.err
35729        } && test -s conftest.$ac_objext; then
35730   wx_cv_func_snprintf_decl=yes
35731 else
35732   echo "$as_me: failed program was:" >&5
35733 sed 's/^/| /' conftest.$ac_ext >&5
35734
35735         wx_cv_func_snprintf_decl=no
35736
35737 fi
35738
35739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35740
35741
35742 fi
35743 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
35744 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
35745
35746     if test "$wx_cv_func_snprintf_decl" = "yes"; then
35747         cat >>confdefs.h <<\_ACEOF
35748 #define HAVE_SNPRINTF_DECL 1
35749 _ACEOF
35750
35751     fi
35752
35753     if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35754
35755                                         { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
35756 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
35757 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
35758   echo $ECHO_N "(cached) $ECHO_C" >&6
35759 else
35760
35761                 if test "$cross_compiling" = yes; then
35762
35763                         { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
35764 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
35765 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
35766 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
35767                         wx_cv_func_snprintf_pos_params=no
35768
35769
35770 else
35771   cat >conftest.$ac_ext <<_ACEOF
35772 /* confdefs.h.  */
35773 _ACEOF
35774 cat confdefs.h >>conftest.$ac_ext
35775 cat >>conftest.$ac_ext <<_ACEOF
35776 /* end confdefs.h.  */
35777
35778                         #include <stdio.h>
35779
35780                         int main (void)
35781                         {
35782                             char buffer[128];
35783                             snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
35784                             if (strcmp ("2 3 1", buffer) == 0)
35785                                 exit (0);
35786                             exit (1);
35787                         }
35788
35789 _ACEOF
35790 rm -f conftest$ac_exeext
35791 if { (ac_try="$ac_link"
35792 case "(($ac_try" in
35793   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35794   *) ac_try_echo=$ac_try;;
35795 esac
35796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35797   (eval "$ac_link") 2>&5
35798   ac_status=$?
35799   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35800   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
35801   { (case "(($ac_try" in
35802   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35803   *) ac_try_echo=$ac_try;;
35804 esac
35805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35806   (eval "$ac_try") 2>&5
35807   ac_status=$?
35808   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35809   (exit $ac_status); }; }; then
35810   wx_cv_func_snprintf_pos_params=no
35811 else
35812   echo "$as_me: program exited with status $ac_status" >&5
35813 echo "$as_me: failed program was:" >&5
35814 sed 's/^/| /' conftest.$ac_ext >&5
35815
35816 ( exit $ac_status )
35817 wx_cv_func_snprintf_pos_params=yes
35818 fi
35819 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
35820 fi
35821
35822
35823
35824
35825 fi
35826 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
35827 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
35828
35829         if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
35830             cat >>confdefs.h <<\_ACEOF
35831 #define HAVE_UNIX98_PRINTF 1
35832 _ACEOF
35833
35834         fi
35835     fi
35836 fi
35837
35838 if test "$ac_cv_func_vsscanf" = "yes"; then
35839     { echo "$as_me:$LINENO: checking for vsscanf declaration" >&5
35840 echo $ECHO_N "checking for vsscanf declaration... $ECHO_C" >&6; }
35841 if test "${wx_cv_func_vsscanf_decl+set}" = set; then
35842   echo $ECHO_N "(cached) $ECHO_C" >&6
35843 else
35844
35845             cat >conftest.$ac_ext <<_ACEOF
35846 /* confdefs.h.  */
35847 _ACEOF
35848 cat confdefs.h >>conftest.$ac_ext
35849 cat >>conftest.$ac_ext <<_ACEOF
35850 /* end confdefs.h.  */
35851
35852                     #include <stdio.h>
35853                     #include <stdarg.h>
35854                     #ifdef __MSL__
35855                     #if __MSL__ >= 0x6000
35856                     namespace std {}
35857                     using namespace std;
35858                     #endif
35859                     #endif
35860
35861 int
35862 main ()
35863 {
35864
35865                     char *buf;
35866                     va_list args;
35867                     vsscanf(buf, "%s", args);
35868
35869   ;
35870   return 0;
35871 }
35872 _ACEOF
35873 rm -f conftest.$ac_objext
35874 if { (ac_try="$ac_compile"
35875 case "(($ac_try" in
35876   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35877   *) ac_try_echo=$ac_try;;
35878 esac
35879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35880   (eval "$ac_compile") 2>conftest.er1
35881   ac_status=$?
35882   grep -v '^ *+' conftest.er1 >conftest.err
35883   rm -f conftest.er1
35884   cat conftest.err >&5
35885   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35886   (exit $ac_status); } && {
35887          test -z "$ac_cxx_werror_flag" ||
35888          test ! -s conftest.err
35889        } && test -s conftest.$ac_objext; then
35890   wx_cv_func_vsscanf_decl=yes
35891 else
35892   echo "$as_me: failed program was:" >&5
35893 sed 's/^/| /' conftest.$ac_ext >&5
35894
35895         wx_cv_func_vsscanf_decl=no
35896
35897 fi
35898
35899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35900
35901
35902 fi
35903 { echo "$as_me:$LINENO: result: $wx_cv_func_vsscanf_decl" >&5
35904 echo "${ECHO_T}$wx_cv_func_vsscanf_decl" >&6; }
35905
35906     if test "$wx_cv_func_vsscanf_decl" = "yes"; then
35907         cat >>confdefs.h <<\_ACEOF
35908 #define HAVE_VSSCANF_DECL 1
35909 _ACEOF
35910
35911     fi
35912 fi
35913 ac_ext=c
35914 ac_cpp='$CPP $CPPFLAGS'
35915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35918
35919
35920 if test "$wxUSE_UNICODE" = yes; then
35921
35922             wchar_headers="#include <stdio.h>
35923 #include <wchar.h>"
35924     case "${host}" in
35925         *-*-solaris2* )
35926
35927 for ac_header in widec.h
35928 do
35929 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35930 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35931 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35932 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35933   echo $ECHO_N "(cached) $ECHO_C" >&6
35934 else
35935   cat >conftest.$ac_ext <<_ACEOF
35936 /* confdefs.h.  */
35937 _ACEOF
35938 cat confdefs.h >>conftest.$ac_ext
35939 cat >>conftest.$ac_ext <<_ACEOF
35940 /* end confdefs.h.  */
35941 $ac_includes_default
35942
35943 #include <$ac_header>
35944 _ACEOF
35945 rm -f conftest.$ac_objext
35946 if { (ac_try="$ac_compile"
35947 case "(($ac_try" in
35948   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35949   *) ac_try_echo=$ac_try;;
35950 esac
35951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35952   (eval "$ac_compile") 2>conftest.er1
35953   ac_status=$?
35954   grep -v '^ *+' conftest.er1 >conftest.err
35955   rm -f conftest.er1
35956   cat conftest.err >&5
35957   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35958   (exit $ac_status); } && {
35959          test -z "$ac_c_werror_flag" ||
35960          test ! -s conftest.err
35961        } && test -s conftest.$ac_objext; then
35962   eval "$as_ac_Header=yes"
35963 else
35964   echo "$as_me: failed program was:" >&5
35965 sed 's/^/| /' conftest.$ac_ext >&5
35966
35967         eval "$as_ac_Header=no"
35968 fi
35969
35970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35971 fi
35972 ac_res=`eval echo '${'$as_ac_Header'}'`
35973                { echo "$as_me:$LINENO: result: $ac_res" >&5
35974 echo "${ECHO_T}$ac_res" >&6; }
35975 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35976   cat >>confdefs.h <<_ACEOF
35977 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35978 _ACEOF
35979
35980 fi
35981
35982 done
35983
35984             if test "$ac_cv_header_widec_h" = "yes"; then
35985                 wchar_headers="$wchar_headers
35986 #include <widec.h>"
35987             fi
35988     esac
35989
35990
35991   for wx_func in putws fputws wprintf vswprintf vswscanf
35992   do
35993     { echo "$as_me:$LINENO: checking for $wx_func" >&5
35994 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35995 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35996   echo $ECHO_N "(cached) $ECHO_C" >&6
35997 else
35998
35999         cat >conftest.$ac_ext <<_ACEOF
36000
36001             /* confdefs.h.  */
36002 _ACEOF
36003 cat confdefs.h >>conftest.$ac_ext
36004 cat >>conftest.$ac_ext <<_ACEOF
36005 /* end confdefs.h.  */
36006
36007                 $wchar_headers
36008                 $ac_includes_default
36009
36010 int
36011 main ()
36012 {
36013
36014                 #ifndef $wx_func
36015                   &$wx_func;
36016                 #endif
36017
36018
36019   ;
36020   return 0;
36021 }
36022
36023 _ACEOF
36024 rm -f conftest.$ac_objext conftest$ac_exeext
36025 if { (ac_try="$ac_link"
36026 case "(($ac_try" in
36027   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36028   *) ac_try_echo=$ac_try;;
36029 esac
36030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36031   (eval "$ac_link") 2>conftest.er1
36032   ac_status=$?
36033   grep -v '^ *+' conftest.er1 >conftest.err
36034   rm -f conftest.er1
36035   cat conftest.err >&5
36036   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36037   (exit $ac_status); } && {
36038          test -z "$ac_c_werror_flag" ||
36039          test ! -s conftest.err
36040        } && test -s conftest$ac_exeext &&
36041        $as_test_x conftest$ac_exeext; then
36042   eval wx_cv_func_$wx_func=yes
36043 else
36044   echo "$as_me: failed program was:" >&5
36045 sed 's/^/| /' conftest.$ac_ext >&5
36046
36047         eval wx_cv_func_$wx_func=no
36048 fi
36049
36050 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36051       conftest$ac_exeext conftest.$ac_ext
36052
36053 fi
36054 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36055                { echo "$as_me:$LINENO: result: $ac_res" >&5
36056 echo "${ECHO_T}$ac_res" >&6; }
36057
36058     if eval test \$wx_cv_func_$wx_func = yes
36059     then
36060       cat >>confdefs.h <<_ACEOF
36061 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
36062 _ACEOF
36063
36064
36065     else
36066       :
36067
36068     fi
36069   done
36070
36071
36072                 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
36073 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
36074     cat >conftest.$ac_ext <<_ACEOF
36075 /* confdefs.h.  */
36076 _ACEOF
36077 cat confdefs.h >>conftest.$ac_ext
36078 cat >>conftest.$ac_ext <<_ACEOF
36079 /* end confdefs.h.  */
36080 #include <wchar.h>
36081 int
36082 main ()
36083 {
36084 &_vsnwprintf;
36085   ;
36086   return 0;
36087 }
36088 _ACEOF
36089 rm -f conftest.$ac_objext
36090 if { (ac_try="$ac_compile"
36091 case "(($ac_try" in
36092   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36093   *) ac_try_echo=$ac_try;;
36094 esac
36095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36096   (eval "$ac_compile") 2>conftest.er1
36097   ac_status=$?
36098   grep -v '^ *+' conftest.er1 >conftest.err
36099   rm -f conftest.er1
36100   cat conftest.err >&5
36101   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36102   (exit $ac_status); } && {
36103          test -z "$ac_c_werror_flag" ||
36104          test ! -s conftest.err
36105        } && test -s conftest.$ac_objext; then
36106   { echo "$as_me:$LINENO: result: yes" >&5
36107 echo "${ECHO_T}yes" >&6; }
36108                     cat >>confdefs.h <<\_ACEOF
36109 #define HAVE__VSNWPRINTF 1
36110 _ACEOF
36111
36112 else
36113   echo "$as_me: failed program was:" >&5
36114 sed 's/^/| /' conftest.$ac_ext >&5
36115
36116         { echo "$as_me:$LINENO: result: no" >&5
36117 echo "${ECHO_T}no" >&6; }
36118 fi
36119
36120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
36121 fi
36122
36123 if test "$wxUSE_FILE" = "yes"; then
36124
36125   for wx_func in fsync
36126   do
36127     { echo "$as_me:$LINENO: checking for $wx_func" >&5
36128 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36129 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36130   echo $ECHO_N "(cached) $ECHO_C" >&6
36131 else
36132
36133         cat >conftest.$ac_ext <<_ACEOF
36134
36135             /* confdefs.h.  */
36136 _ACEOF
36137 cat confdefs.h >>conftest.$ac_ext
36138 cat >>conftest.$ac_ext <<_ACEOF
36139 /* end confdefs.h.  */
36140
36141
36142                 $ac_includes_default
36143
36144 int
36145 main ()
36146 {
36147
36148                 #ifndef $wx_func
36149                   &$wx_func;
36150                 #endif
36151
36152
36153   ;
36154   return 0;
36155 }
36156
36157 _ACEOF
36158 rm -f conftest.$ac_objext conftest$ac_exeext
36159 if { (ac_try="$ac_link"
36160 case "(($ac_try" in
36161   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36162   *) ac_try_echo=$ac_try;;
36163 esac
36164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36165   (eval "$ac_link") 2>conftest.er1
36166   ac_status=$?
36167   grep -v '^ *+' conftest.er1 >conftest.err
36168   rm -f conftest.er1
36169   cat conftest.err >&5
36170   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36171   (exit $ac_status); } && {
36172          test -z "$ac_c_werror_flag" ||
36173          test ! -s conftest.err
36174        } && test -s conftest$ac_exeext &&
36175        $as_test_x conftest$ac_exeext; then
36176   eval wx_cv_func_$wx_func=yes
36177 else
36178   echo "$as_me: failed program was:" >&5
36179 sed 's/^/| /' conftest.$ac_ext >&5
36180
36181         eval wx_cv_func_$wx_func=no
36182 fi
36183
36184 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36185       conftest$ac_exeext conftest.$ac_ext
36186
36187 fi
36188 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36189                { echo "$as_me:$LINENO: result: $ac_res" >&5
36190 echo "${ECHO_T}$ac_res" >&6; }
36191
36192     if eval test \$wx_cv_func_$wx_func = yes
36193     then
36194       cat >>confdefs.h <<_ACEOF
36195 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
36196 _ACEOF
36197
36198
36199     else
36200       :
36201
36202     fi
36203   done
36204
36205 fi
36206
36207 ac_ext=cpp
36208 ac_cpp='$CXXCPP $CPPFLAGS'
36209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36212
36213
36214   for wx_func in round
36215   do
36216     { echo "$as_me:$LINENO: checking for $wx_func" >&5
36217 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36218 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36219   echo $ECHO_N "(cached) $ECHO_C" >&6
36220 else
36221
36222         cat >conftest.$ac_ext <<_ACEOF
36223
36224             /* confdefs.h.  */
36225 _ACEOF
36226 cat confdefs.h >>conftest.$ac_ext
36227 cat >>conftest.$ac_ext <<_ACEOF
36228 /* end confdefs.h.  */
36229
36230                 #include <math.h>
36231                 $ac_includes_default
36232
36233 int
36234 main ()
36235 {
36236
36237                 #ifndef $wx_func
36238                   &$wx_func;
36239                 #endif
36240
36241
36242   ;
36243   return 0;
36244 }
36245
36246 _ACEOF
36247 rm -f conftest.$ac_objext conftest$ac_exeext
36248 if { (ac_try="$ac_link"
36249 case "(($ac_try" in
36250   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36251   *) ac_try_echo=$ac_try;;
36252 esac
36253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36254   (eval "$ac_link") 2>conftest.er1
36255   ac_status=$?
36256   grep -v '^ *+' conftest.er1 >conftest.err
36257   rm -f conftest.er1
36258   cat conftest.err >&5
36259   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36260   (exit $ac_status); } && {
36261          test -z "$ac_cxx_werror_flag" ||
36262          test ! -s conftest.err
36263        } && test -s conftest$ac_exeext &&
36264        $as_test_x conftest$ac_exeext; then
36265   eval wx_cv_func_$wx_func=yes
36266 else
36267   echo "$as_me: failed program was:" >&5
36268 sed 's/^/| /' conftest.$ac_ext >&5
36269
36270         eval wx_cv_func_$wx_func=no
36271 fi
36272
36273 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36274       conftest$ac_exeext conftest.$ac_ext
36275
36276 fi
36277 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36278                { echo "$as_me:$LINENO: result: $ac_res" >&5
36279 echo "${ECHO_T}$ac_res" >&6; }
36280
36281     if eval test \$wx_cv_func_$wx_func = yes
36282     then
36283       cat >>confdefs.h <<_ACEOF
36284 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
36285 _ACEOF
36286
36287
36288     else
36289       :
36290
36291     fi
36292   done
36293
36294 ac_ext=c
36295 ac_cpp='$CPP $CPPFLAGS'
36296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36299
36300
36301 if test "$TOOLKIT" != "MSW"; then
36302
36303 if test "$wxUSE_LIBICONV" != "no" ; then
36304
36305
36306
36307 # Check whether --with-libiconv-prefix was given.
36308 if test "${with_libiconv_prefix+set}" = set; then
36309   withval=$with_libiconv_prefix;
36310     for dir in `echo "$withval" | tr : ' '`; do
36311       if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
36312       if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
36313     done
36314
36315 fi
36316
36317
36318   { echo "$as_me:$LINENO: checking for iconv" >&5
36319 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
36320 if test "${am_cv_func_iconv+set}" = set; then
36321   echo $ECHO_N "(cached) $ECHO_C" >&6
36322 else
36323
36324     am_cv_func_iconv="no, consider installing GNU libiconv"
36325     am_cv_lib_iconv=no
36326     cat >conftest.$ac_ext <<_ACEOF
36327 /* confdefs.h.  */
36328 _ACEOF
36329 cat confdefs.h >>conftest.$ac_ext
36330 cat >>conftest.$ac_ext <<_ACEOF
36331 /* end confdefs.h.  */
36332 #include <stdlib.h>
36333 #include <iconv.h>
36334 int
36335 main ()
36336 {
36337 iconv_t cd = iconv_open("","");
36338        iconv(cd,NULL,NULL,NULL,NULL);
36339        iconv_close(cd);
36340   ;
36341   return 0;
36342 }
36343 _ACEOF
36344 rm -f conftest.$ac_objext conftest$ac_exeext
36345 if { (ac_try="$ac_link"
36346 case "(($ac_try" in
36347   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36348   *) ac_try_echo=$ac_try;;
36349 esac
36350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36351   (eval "$ac_link") 2>conftest.er1
36352   ac_status=$?
36353   grep -v '^ *+' conftest.er1 >conftest.err
36354   rm -f conftest.er1
36355   cat conftest.err >&5
36356   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36357   (exit $ac_status); } && {
36358          test -z "$ac_c_werror_flag" ||
36359          test ! -s conftest.err
36360        } && test -s conftest$ac_exeext &&
36361        $as_test_x conftest$ac_exeext; then
36362   am_cv_func_iconv=yes
36363 else
36364   echo "$as_me: failed program was:" >&5
36365 sed 's/^/| /' conftest.$ac_ext >&5
36366
36367
36368 fi
36369
36370 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36371       conftest$ac_exeext conftest.$ac_ext
36372     if test "$am_cv_func_iconv" != yes; then
36373       am_save_LIBS="$LIBS"
36374       LIBS="$LIBS -liconv"
36375       cat >conftest.$ac_ext <<_ACEOF
36376 /* confdefs.h.  */
36377 _ACEOF
36378 cat confdefs.h >>conftest.$ac_ext
36379 cat >>conftest.$ac_ext <<_ACEOF
36380 /* end confdefs.h.  */
36381 #include <stdlib.h>
36382 #include <iconv.h>
36383 int
36384 main ()
36385 {
36386 iconv_t cd = iconv_open("","");
36387          iconv(cd,NULL,NULL,NULL,NULL);
36388          iconv_close(cd);
36389   ;
36390   return 0;
36391 }
36392 _ACEOF
36393 rm -f conftest.$ac_objext conftest$ac_exeext
36394 if { (ac_try="$ac_link"
36395 case "(($ac_try" in
36396   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36397   *) ac_try_echo=$ac_try;;
36398 esac
36399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36400   (eval "$ac_link") 2>conftest.er1
36401   ac_status=$?
36402   grep -v '^ *+' conftest.er1 >conftest.err
36403   rm -f conftest.er1
36404   cat conftest.err >&5
36405   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36406   (exit $ac_status); } && {
36407          test -z "$ac_c_werror_flag" ||
36408          test ! -s conftest.err
36409        } && test -s conftest$ac_exeext &&
36410        $as_test_x conftest$ac_exeext; then
36411   am_cv_lib_iconv=yes
36412         am_cv_func_iconv=yes
36413 else
36414   echo "$as_me: failed program was:" >&5
36415 sed 's/^/| /' conftest.$ac_ext >&5
36416
36417
36418 fi
36419
36420 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36421       conftest$ac_exeext conftest.$ac_ext
36422       LIBS="$am_save_LIBS"
36423     fi
36424
36425 fi
36426 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
36427 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
36428   if test "$am_cv_func_iconv" = yes; then
36429
36430 cat >>confdefs.h <<\_ACEOF
36431 #define HAVE_ICONV 1
36432 _ACEOF
36433
36434     { echo "$as_me:$LINENO: checking if iconv needs const" >&5
36435 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
36436 if test "${wx_cv_func_iconv_const+set}" = set; then
36437   echo $ECHO_N "(cached) $ECHO_C" >&6
36438 else
36439   cat >conftest.$ac_ext <<_ACEOF
36440 /* confdefs.h.  */
36441 _ACEOF
36442 cat confdefs.h >>conftest.$ac_ext
36443 cat >>conftest.$ac_ext <<_ACEOF
36444 /* end confdefs.h.  */
36445
36446 #include <stdlib.h>
36447 #include <iconv.h>
36448 extern
36449 #ifdef __cplusplus
36450 "C"
36451 #endif
36452 #if defined(__STDC__) || defined(__cplusplus)
36453 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
36454 #else
36455 size_t iconv();
36456 #endif
36457
36458 int
36459 main ()
36460 {
36461
36462   ;
36463   return 0;
36464 }
36465 _ACEOF
36466 rm -f conftest.$ac_objext
36467 if { (ac_try="$ac_compile"
36468 case "(($ac_try" in
36469   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36470   *) ac_try_echo=$ac_try;;
36471 esac
36472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36473   (eval "$ac_compile") 2>conftest.er1
36474   ac_status=$?
36475   grep -v '^ *+' conftest.er1 >conftest.err
36476   rm -f conftest.er1
36477   cat conftest.err >&5
36478   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36479   (exit $ac_status); } && {
36480          test -z "$ac_c_werror_flag" ||
36481          test ! -s conftest.err
36482        } && test -s conftest.$ac_objext; then
36483   wx_cv_func_iconv_const="no"
36484 else
36485   echo "$as_me: failed program was:" >&5
36486 sed 's/^/| /' conftest.$ac_ext >&5
36487
36488         wx_cv_func_iconv_const="yes"
36489
36490 fi
36491
36492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36493
36494 fi
36495 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
36496 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
36497
36498     iconv_const=
36499     if test "x$wx_cv_func_iconv_const" = "xyes"; then
36500         iconv_const="const"
36501     fi
36502
36503
36504 cat >>confdefs.h <<_ACEOF
36505 #define ICONV_CONST $iconv_const
36506 _ACEOF
36507
36508   fi
36509   LIBICONV=
36510   if test "$am_cv_lib_iconv" = yes; then
36511     LIBICONV="-liconv"
36512   fi
36513
36514
36515     LIBS="$LIBICONV $LIBS"
36516 fi
36517
36518 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36519
36520 for ac_func in sigaction
36521 do
36522 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36523 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36524 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36525 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36526   echo $ECHO_N "(cached) $ECHO_C" >&6
36527 else
36528   cat >conftest.$ac_ext <<_ACEOF
36529 /* confdefs.h.  */
36530 _ACEOF
36531 cat confdefs.h >>conftest.$ac_ext
36532 cat >>conftest.$ac_ext <<_ACEOF
36533 /* end confdefs.h.  */
36534 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36535    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
36536 #define $ac_func innocuous_$ac_func
36537
36538 /* System header to define __stub macros and hopefully few prototypes,
36539     which can conflict with char $ac_func (); below.
36540     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36541     <limits.h> exists even on freestanding compilers.  */
36542
36543 #ifdef __STDC__
36544 # include <limits.h>
36545 #else
36546 # include <assert.h>
36547 #endif
36548
36549 #undef $ac_func
36550
36551 /* Override any GCC internal prototype to avoid an error.
36552    Use char because int might match the return type of a GCC
36553    builtin and then its argument prototype would still apply.  */
36554 #ifdef __cplusplus
36555 extern "C"
36556 #endif
36557 char $ac_func ();
36558 /* The GNU C library defines this for functions which it implements
36559     to always fail with ENOSYS.  Some functions are actually named
36560     something starting with __ and the normal name is an alias.  */
36561 #if defined __stub_$ac_func || defined __stub___$ac_func
36562 choke me
36563 #endif
36564
36565 int
36566 main ()
36567 {
36568 return $ac_func ();
36569   ;
36570   return 0;
36571 }
36572 _ACEOF
36573 rm -f conftest.$ac_objext conftest$ac_exeext
36574 if { (ac_try="$ac_link"
36575 case "(($ac_try" in
36576   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36577   *) ac_try_echo=$ac_try;;
36578 esac
36579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36580   (eval "$ac_link") 2>conftest.er1
36581   ac_status=$?
36582   grep -v '^ *+' conftest.er1 >conftest.err
36583   rm -f conftest.er1
36584   cat conftest.err >&5
36585   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36586   (exit $ac_status); } && {
36587          test -z "$ac_c_werror_flag" ||
36588          test ! -s conftest.err
36589        } && test -s conftest$ac_exeext &&
36590        $as_test_x conftest$ac_exeext; then
36591   eval "$as_ac_var=yes"
36592 else
36593   echo "$as_me: failed program was:" >&5
36594 sed 's/^/| /' conftest.$ac_ext >&5
36595
36596         eval "$as_ac_var=no"
36597 fi
36598
36599 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36600       conftest$ac_exeext conftest.$ac_ext
36601 fi
36602 ac_res=`eval echo '${'$as_ac_var'}'`
36603                { echo "$as_me:$LINENO: result: $ac_res" >&5
36604 echo "${ECHO_T}$ac_res" >&6; }
36605 if test `eval echo '${'$as_ac_var'}'` = yes; then
36606   cat >>confdefs.h <<_ACEOF
36607 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36608 _ACEOF
36609
36610 fi
36611 done
36612
36613
36614     if test "$ac_cv_func_sigaction" = "no"; then
36615         { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
36616 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
36617         wxUSE_ON_FATAL_EXCEPTION=no
36618     fi
36619
36620     if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
36621       { echo "$as_me:$LINENO: checking for sa_handler type" >&5
36622 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
36623 if test "${wx_cv_type_sa_handler+set}" = set; then
36624   echo $ECHO_N "(cached) $ECHO_C" >&6
36625 else
36626
36627                 ac_ext=cpp
36628 ac_cpp='$CXXCPP $CPPFLAGS'
36629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36632
36633         cat >conftest.$ac_ext <<_ACEOF
36634 /* confdefs.h.  */
36635 _ACEOF
36636 cat confdefs.h >>conftest.$ac_ext
36637 cat >>conftest.$ac_ext <<_ACEOF
36638 /* end confdefs.h.  */
36639 #include <signal.h>
36640 int
36641 main ()
36642 {
36643
36644                         extern void testSigHandler(int);
36645
36646                         struct sigaction sa;
36647                         sa.sa_handler = testSigHandler;
36648
36649   ;
36650   return 0;
36651 }
36652 _ACEOF
36653 rm -f conftest.$ac_objext
36654 if { (ac_try="$ac_compile"
36655 case "(($ac_try" in
36656   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36657   *) ac_try_echo=$ac_try;;
36658 esac
36659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36660   (eval "$ac_compile") 2>conftest.er1
36661   ac_status=$?
36662   grep -v '^ *+' conftest.er1 >conftest.err
36663   rm -f conftest.er1
36664   cat conftest.err >&5
36665   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36666   (exit $ac_status); } && {
36667          test -z "$ac_cxx_werror_flag" ||
36668          test ! -s conftest.err
36669        } && test -s conftest.$ac_objext; then
36670
36671                         wx_cv_type_sa_handler=int
36672
36673 else
36674   echo "$as_me: failed program was:" >&5
36675 sed 's/^/| /' conftest.$ac_ext >&5
36676
36677
36678                         wx_cv_type_sa_handler=void
36679
36680 fi
36681
36682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36683         ac_ext=c
36684 ac_cpp='$CPP $CPPFLAGS'
36685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36688
36689
36690 fi
36691 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
36692 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
36693
36694       cat >>confdefs.h <<_ACEOF
36695 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
36696 _ACEOF
36697
36698     fi
36699 fi
36700
36701 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36702     { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
36703 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
36704 if test "${wx_cv_func_backtrace+set}" = set; then
36705   echo $ECHO_N "(cached) $ECHO_C" >&6
36706 else
36707
36708             ac_ext=cpp
36709 ac_cpp='$CXXCPP $CPPFLAGS'
36710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36713
36714             cat >conftest.$ac_ext <<_ACEOF
36715 /* confdefs.h.  */
36716 _ACEOF
36717 cat confdefs.h >>conftest.$ac_ext
36718 cat >>conftest.$ac_ext <<_ACEOF
36719 /* end confdefs.h.  */
36720 #include <execinfo.h>
36721 int
36722 main ()
36723 {
36724
36725                     void *trace[1];
36726                     char **messages;
36727
36728                     backtrace(trace, 1);
36729                     messages = backtrace_symbols(trace, 1);
36730
36731   ;
36732   return 0;
36733 }
36734 _ACEOF
36735 rm -f conftest.$ac_objext
36736 if { (ac_try="$ac_compile"
36737 case "(($ac_try" in
36738   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36739   *) ac_try_echo=$ac_try;;
36740 esac
36741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36742   (eval "$ac_compile") 2>conftest.er1
36743   ac_status=$?
36744   grep -v '^ *+' conftest.er1 >conftest.err
36745   rm -f conftest.er1
36746   cat conftest.err >&5
36747   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36748   (exit $ac_status); } && {
36749          test -z "$ac_cxx_werror_flag" ||
36750          test ! -s conftest.err
36751        } && test -s conftest.$ac_objext; then
36752   wx_cv_func_backtrace=yes
36753 else
36754   echo "$as_me: failed program was:" >&5
36755 sed 's/^/| /' conftest.$ac_ext >&5
36756
36757         wx_cv_func_backtrace=no
36758
36759 fi
36760
36761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36762             ac_ext=c
36763 ac_cpp='$CPP $CPPFLAGS'
36764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36767
36768
36769
36770 fi
36771 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
36772 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
36773
36774
36775     if test "$wx_cv_func_backtrace" = "no"; then
36776         { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
36777 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
36778         wxUSE_STACKWALKER=no
36779     else
36780         { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
36781 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
36782 if test "${wx_cv_func_cxa_demangle+set}" = set; then
36783   echo $ECHO_N "(cached) $ECHO_C" >&6
36784 else
36785
36786                 ac_ext=cpp
36787 ac_cpp='$CXXCPP $CPPFLAGS'
36788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36791
36792                 cat >conftest.$ac_ext <<_ACEOF
36793 /* confdefs.h.  */
36794 _ACEOF
36795 cat confdefs.h >>conftest.$ac_ext
36796 cat >>conftest.$ac_ext <<_ACEOF
36797 /* end confdefs.h.  */
36798 #include <cxxabi.h>
36799 int
36800 main ()
36801 {
36802
36803                         int rc;
36804                         __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
36805
36806   ;
36807   return 0;
36808 }
36809 _ACEOF
36810 rm -f conftest.$ac_objext conftest$ac_exeext
36811 if { (ac_try="$ac_link"
36812 case "(($ac_try" in
36813   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36814   *) ac_try_echo=$ac_try;;
36815 esac
36816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36817   (eval "$ac_link") 2>conftest.er1
36818   ac_status=$?
36819   grep -v '^ *+' conftest.er1 >conftest.err
36820   rm -f conftest.er1
36821   cat conftest.err >&5
36822   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36823   (exit $ac_status); } && {
36824          test -z "$ac_cxx_werror_flag" ||
36825          test ! -s conftest.err
36826        } && test -s conftest$ac_exeext &&
36827        $as_test_x conftest$ac_exeext; then
36828   wx_cv_func_cxa_demangle=yes
36829 else
36830   echo "$as_me: failed program was:" >&5
36831 sed 's/^/| /' conftest.$ac_ext >&5
36832
36833         wx_cv_func_cxa_demangle=no
36834
36835 fi
36836
36837 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36838       conftest$ac_exeext conftest.$ac_ext
36839                 ac_ext=c
36840 ac_cpp='$CPP $CPPFLAGS'
36841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36844
36845
36846
36847 fi
36848 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
36849 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
36850
36851         if test "$wx_cv_func_cxa_demangle" = "yes"; then
36852             cat >>confdefs.h <<\_ACEOF
36853 #define HAVE_CXA_DEMANGLE 1
36854 _ACEOF
36855
36856         fi
36857     fi
36858 fi
36859
36860 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
36861     { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
36862 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
36863     wxUSE_STACKWALKER=no
36864 fi
36865
36866
36867
36868
36869 for ac_func in mkstemp mktemp
36870 do
36871 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36872 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36873 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36874 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36875   echo $ECHO_N "(cached) $ECHO_C" >&6
36876 else
36877   cat >conftest.$ac_ext <<_ACEOF
36878 /* confdefs.h.  */
36879 _ACEOF
36880 cat confdefs.h >>conftest.$ac_ext
36881 cat >>conftest.$ac_ext <<_ACEOF
36882 /* end confdefs.h.  */
36883 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36884    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
36885 #define $ac_func innocuous_$ac_func
36886
36887 /* System header to define __stub macros and hopefully few prototypes,
36888     which can conflict with char $ac_func (); below.
36889     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36890     <limits.h> exists even on freestanding compilers.  */
36891
36892 #ifdef __STDC__
36893 # include <limits.h>
36894 #else
36895 # include <assert.h>
36896 #endif
36897
36898 #undef $ac_func
36899
36900 /* Override any GCC internal prototype to avoid an error.
36901    Use char because int might match the return type of a GCC
36902    builtin and then its argument prototype would still apply.  */
36903 #ifdef __cplusplus
36904 extern "C"
36905 #endif
36906 char $ac_func ();
36907 /* The GNU C library defines this for functions which it implements
36908     to always fail with ENOSYS.  Some functions are actually named
36909     something starting with __ and the normal name is an alias.  */
36910 #if defined __stub_$ac_func || defined __stub___$ac_func
36911 choke me
36912 #endif
36913
36914 int
36915 main ()
36916 {
36917 return $ac_func ();
36918   ;
36919   return 0;
36920 }
36921 _ACEOF
36922 rm -f conftest.$ac_objext conftest$ac_exeext
36923 if { (ac_try="$ac_link"
36924 case "(($ac_try" in
36925   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36926   *) ac_try_echo=$ac_try;;
36927 esac
36928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36929   (eval "$ac_link") 2>conftest.er1
36930   ac_status=$?
36931   grep -v '^ *+' conftest.er1 >conftest.err
36932   rm -f conftest.er1
36933   cat conftest.err >&5
36934   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36935   (exit $ac_status); } && {
36936          test -z "$ac_c_werror_flag" ||
36937          test ! -s conftest.err
36938        } && test -s conftest$ac_exeext &&
36939        $as_test_x conftest$ac_exeext; then
36940   eval "$as_ac_var=yes"
36941 else
36942   echo "$as_me: failed program was:" >&5
36943 sed 's/^/| /' conftest.$ac_ext >&5
36944
36945         eval "$as_ac_var=no"
36946 fi
36947
36948 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36949       conftest$ac_exeext conftest.$ac_ext
36950 fi
36951 ac_res=`eval echo '${'$as_ac_var'}'`
36952                { echo "$as_me:$LINENO: result: $ac_res" >&5
36953 echo "${ECHO_T}$ac_res" >&6; }
36954 if test `eval echo '${'$as_ac_var'}'` = yes; then
36955   cat >>confdefs.h <<_ACEOF
36956 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36957 _ACEOF
36958  break
36959 fi
36960 done
36961
36962
36963 { echo "$as_me:$LINENO: checking for statfs" >&5
36964 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
36965 if test "${wx_cv_func_statfs+set}" = set; then
36966   echo $ECHO_N "(cached) $ECHO_C" >&6
36967 else
36968   cat >conftest.$ac_ext <<_ACEOF
36969 /* confdefs.h.  */
36970 _ACEOF
36971 cat confdefs.h >>conftest.$ac_ext
36972 cat >>conftest.$ac_ext <<_ACEOF
36973 /* end confdefs.h.  */
36974
36975              #if defined(__BSD__)
36976              #include <sys/param.h>
36977              #include <sys/mount.h>
36978              #else
36979              #include <sys/vfs.h>
36980              #endif
36981
36982 int
36983 main ()
36984 {
36985
36986              long l;
36987              struct statfs fs;
36988              statfs("/", &fs);
36989              l = fs.f_bsize;
36990              l += fs.f_blocks;
36991              l += fs.f_bavail;
36992
36993   ;
36994   return 0;
36995 }
36996 _ACEOF
36997 rm -f conftest.$ac_objext
36998 if { (ac_try="$ac_compile"
36999 case "(($ac_try" in
37000   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37001   *) ac_try_echo=$ac_try;;
37002 esac
37003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37004   (eval "$ac_compile") 2>conftest.er1
37005   ac_status=$?
37006   grep -v '^ *+' conftest.er1 >conftest.err
37007   rm -f conftest.er1
37008   cat conftest.err >&5
37009   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37010   (exit $ac_status); } && {
37011          test -z "$ac_c_werror_flag" ||
37012          test ! -s conftest.err
37013        } && test -s conftest.$ac_objext; then
37014   wx_cv_func_statfs=yes
37015 else
37016   echo "$as_me: failed program was:" >&5
37017 sed 's/^/| /' conftest.$ac_ext >&5
37018
37019         wx_cv_func_statfs=no
37020
37021 fi
37022
37023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37024
37025 fi
37026 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
37027 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
37028
37029 if test "$wx_cv_func_statfs" = "yes"; then
37030         { echo "$as_me:$LINENO: checking for statfs declaration" >&5
37031 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
37032 if test "${wx_cv_func_statfs_decl+set}" = set; then
37033   echo $ECHO_N "(cached) $ECHO_C" >&6
37034 else
37035   ac_ext=cpp
37036 ac_cpp='$CXXCPP $CPPFLAGS'
37037 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37038 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37039 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37040
37041         cat >conftest.$ac_ext <<_ACEOF
37042 /* confdefs.h.  */
37043 _ACEOF
37044 cat confdefs.h >>conftest.$ac_ext
37045 cat >>conftest.$ac_ext <<_ACEOF
37046 /* end confdefs.h.  */
37047
37048                  #if defined(__BSD__)
37049                  #include <sys/param.h>
37050                  #include <sys/mount.h>
37051                  #else
37052                  #include <sys/vfs.h>
37053                  #endif
37054
37055 int
37056 main ()
37057 {
37058
37059                 struct statfs fs;
37060                 statfs("", &fs);
37061
37062   ;
37063   return 0;
37064 }
37065 _ACEOF
37066 rm -f conftest.$ac_objext
37067 if { (ac_try="$ac_compile"
37068 case "(($ac_try" in
37069   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37070   *) ac_try_echo=$ac_try;;
37071 esac
37072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37073   (eval "$ac_compile") 2>conftest.er1
37074   ac_status=$?
37075   grep -v '^ *+' conftest.er1 >conftest.err
37076   rm -f conftest.er1
37077   cat conftest.err >&5
37078   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37079   (exit $ac_status); } && {
37080          test -z "$ac_cxx_werror_flag" ||
37081          test ! -s conftest.err
37082        } && test -s conftest.$ac_objext; then
37083   wx_cv_func_statfs_decl=yes
37084 else
37085   echo "$as_me: failed program was:" >&5
37086 sed 's/^/| /' conftest.$ac_ext >&5
37087
37088         wx_cv_func_statfs_decl=no
37089
37090 fi
37091
37092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37093         ac_ext=c
37094 ac_cpp='$CPP $CPPFLAGS'
37095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37098
37099
37100 fi
37101 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
37102 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
37103
37104     if test "$wx_cv_func_statfs_decl" = "yes"; then
37105         cat >>confdefs.h <<\_ACEOF
37106 #define HAVE_STATFS_DECL 1
37107 _ACEOF
37108
37109     fi
37110
37111     wx_cv_type_statvfs_t="struct statfs"
37112     cat >>confdefs.h <<\_ACEOF
37113 #define HAVE_STATFS 1
37114 _ACEOF
37115
37116 else
37117     { echo "$as_me:$LINENO: checking for statvfs" >&5
37118 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
37119 if test "${wx_cv_func_statvfs+set}" = set; then
37120   echo $ECHO_N "(cached) $ECHO_C" >&6
37121 else
37122   cat >conftest.$ac_ext <<_ACEOF
37123 /* confdefs.h.  */
37124 _ACEOF
37125 cat confdefs.h >>conftest.$ac_ext
37126 cat >>conftest.$ac_ext <<_ACEOF
37127 /* end confdefs.h.  */
37128
37129                 #include <stddef.h>
37130                 #include <sys/statvfs.h>
37131
37132 int
37133 main ()
37134 {
37135
37136                 statvfs("/", NULL);
37137
37138   ;
37139   return 0;
37140 }
37141 _ACEOF
37142 rm -f conftest.$ac_objext
37143 if { (ac_try="$ac_compile"
37144 case "(($ac_try" in
37145   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37146   *) ac_try_echo=$ac_try;;
37147 esac
37148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37149   (eval "$ac_compile") 2>conftest.er1
37150   ac_status=$?
37151   grep -v '^ *+' conftest.er1 >conftest.err
37152   rm -f conftest.er1
37153   cat conftest.err >&5
37154   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37155   (exit $ac_status); } && {
37156          test -z "$ac_c_werror_flag" ||
37157          test ! -s conftest.err
37158        } && test -s conftest.$ac_objext; then
37159   wx_cv_func_statvfs=yes
37160 else
37161   echo "$as_me: failed program was:" >&5
37162 sed 's/^/| /' conftest.$ac_ext >&5
37163
37164         wx_cv_func_statvfs=no
37165
37166 fi
37167
37168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37169
37170 fi
37171 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
37172 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
37173
37174     if test "$wx_cv_func_statvfs" = "yes"; then
37175                                                                 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
37176 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
37177 if test "${wx_cv_type_statvfs_t+set}" = set; then
37178   echo $ECHO_N "(cached) $ECHO_C" >&6
37179 else
37180   ac_ext=cpp
37181 ac_cpp='$CXXCPP $CPPFLAGS'
37182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37185
37186             cat >conftest.$ac_ext <<_ACEOF
37187 /* confdefs.h.  */
37188 _ACEOF
37189 cat confdefs.h >>conftest.$ac_ext
37190 cat >>conftest.$ac_ext <<_ACEOF
37191 /* end confdefs.h.  */
37192
37193                     #include <sys/statvfs.h>
37194
37195 int
37196 main ()
37197 {
37198
37199                     long l;
37200                     statvfs_t fs;
37201                     statvfs("/", &fs);
37202                     l = fs.f_bsize;
37203                     l += fs.f_blocks;
37204                     l += fs.f_bavail;
37205
37206   ;
37207   return 0;
37208 }
37209 _ACEOF
37210 rm -f conftest.$ac_objext
37211 if { (ac_try="$ac_compile"
37212 case "(($ac_try" in
37213   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37214   *) ac_try_echo=$ac_try;;
37215 esac
37216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37217   (eval "$ac_compile") 2>conftest.er1
37218   ac_status=$?
37219   grep -v '^ *+' conftest.er1 >conftest.err
37220   rm -f conftest.er1
37221   cat conftest.err >&5
37222   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37223   (exit $ac_status); } && {
37224          test -z "$ac_cxx_werror_flag" ||
37225          test ! -s conftest.err
37226        } && test -s conftest.$ac_objext; then
37227   wx_cv_type_statvfs_t=statvfs_t
37228 else
37229   echo "$as_me: failed program was:" >&5
37230 sed 's/^/| /' conftest.$ac_ext >&5
37231
37232
37233                     cat >conftest.$ac_ext <<_ACEOF
37234 /* confdefs.h.  */
37235 _ACEOF
37236 cat confdefs.h >>conftest.$ac_ext
37237 cat >>conftest.$ac_ext <<_ACEOF
37238 /* end confdefs.h.  */
37239
37240                             #include <sys/statvfs.h>
37241
37242 int
37243 main ()
37244 {
37245
37246                             long l;
37247                             struct statvfs fs;
37248                             statvfs("/", &fs);
37249                             l = fs.f_bsize;
37250                             l += fs.f_blocks;
37251                             l += fs.f_bavail;
37252
37253   ;
37254   return 0;
37255 }
37256 _ACEOF
37257 rm -f conftest.$ac_objext
37258 if { (ac_try="$ac_compile"
37259 case "(($ac_try" in
37260   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37261   *) ac_try_echo=$ac_try;;
37262 esac
37263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37264   (eval "$ac_compile") 2>conftest.er1
37265   ac_status=$?
37266   grep -v '^ *+' conftest.er1 >conftest.err
37267   rm -f conftest.er1
37268   cat conftest.err >&5
37269   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37270   (exit $ac_status); } && {
37271          test -z "$ac_cxx_werror_flag" ||
37272          test ! -s conftest.err
37273        } && test -s conftest.$ac_objext; then
37274   wx_cv_type_statvfs_t="struct statvfs"
37275 else
37276   echo "$as_me: failed program was:" >&5
37277 sed 's/^/| /' conftest.$ac_ext >&5
37278
37279         wx_cv_type_statvfs_t="unknown"
37280
37281 fi
37282
37283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37284
37285
37286 fi
37287
37288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37289             ac_ext=c
37290 ac_cpp='$CPP $CPPFLAGS'
37291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37294
37295
37296 fi
37297 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
37298 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
37299
37300         if test "$wx_cv_type_statvfs_t" != "unknown"; then
37301             cat >>confdefs.h <<\_ACEOF
37302 #define HAVE_STATVFS 1
37303 _ACEOF
37304
37305         fi
37306     else
37307                 wx_cv_type_statvfs_t="unknown"
37308     fi
37309 fi
37310
37311 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37312     cat >>confdefs.h <<_ACEOF
37313 #define WX_STATFS_T $wx_cv_type_statvfs_t
37314 _ACEOF
37315
37316 else
37317     { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
37318 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
37319 fi
37320
37321 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
37322
37323
37324 for ac_func in fcntl flock
37325 do
37326 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37327 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37328 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37329 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37330   echo $ECHO_N "(cached) $ECHO_C" >&6
37331 else
37332   cat >conftest.$ac_ext <<_ACEOF
37333 /* confdefs.h.  */
37334 _ACEOF
37335 cat confdefs.h >>conftest.$ac_ext
37336 cat >>conftest.$ac_ext <<_ACEOF
37337 /* end confdefs.h.  */
37338 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37339    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
37340 #define $ac_func innocuous_$ac_func
37341
37342 /* System header to define __stub macros and hopefully few prototypes,
37343     which can conflict with char $ac_func (); below.
37344     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37345     <limits.h> exists even on freestanding compilers.  */
37346
37347 #ifdef __STDC__
37348 # include <limits.h>
37349 #else
37350 # include <assert.h>
37351 #endif
37352
37353 #undef $ac_func
37354
37355 /* Override any GCC internal prototype to avoid an error.
37356    Use char because int might match the return type of a GCC
37357    builtin and then its argument prototype would still apply.  */
37358 #ifdef __cplusplus
37359 extern "C"
37360 #endif
37361 char $ac_func ();
37362 /* The GNU C library defines this for functions which it implements
37363     to always fail with ENOSYS.  Some functions are actually named
37364     something starting with __ and the normal name is an alias.  */
37365 #if defined __stub_$ac_func || defined __stub___$ac_func
37366 choke me
37367 #endif
37368
37369 int
37370 main ()
37371 {
37372 return $ac_func ();
37373   ;
37374   return 0;
37375 }
37376 _ACEOF
37377 rm -f conftest.$ac_objext conftest$ac_exeext
37378 if { (ac_try="$ac_link"
37379 case "(($ac_try" in
37380   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37381   *) ac_try_echo=$ac_try;;
37382 esac
37383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37384   (eval "$ac_link") 2>conftest.er1
37385   ac_status=$?
37386   grep -v '^ *+' conftest.er1 >conftest.err
37387   rm -f conftest.er1
37388   cat conftest.err >&5
37389   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37390   (exit $ac_status); } && {
37391          test -z "$ac_c_werror_flag" ||
37392          test ! -s conftest.err
37393        } && test -s conftest$ac_exeext &&
37394        $as_test_x conftest$ac_exeext; then
37395   eval "$as_ac_var=yes"
37396 else
37397   echo "$as_me: failed program was:" >&5
37398 sed 's/^/| /' conftest.$ac_ext >&5
37399
37400         eval "$as_ac_var=no"
37401 fi
37402
37403 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37404       conftest$ac_exeext conftest.$ac_ext
37405 fi
37406 ac_res=`eval echo '${'$as_ac_var'}'`
37407                { echo "$as_me:$LINENO: result: $ac_res" >&5
37408 echo "${ECHO_T}$ac_res" >&6; }
37409 if test `eval echo '${'$as_ac_var'}'` = yes; then
37410   cat >>confdefs.h <<_ACEOF
37411 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37412 _ACEOF
37413  break
37414 fi
37415 done
37416
37417
37418     if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
37419         { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
37420 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
37421         wxUSE_SNGLINST_CHECKER=no
37422     fi
37423 fi
37424
37425
37426
37427 for ac_func in setenv putenv
37428 do
37429 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37430 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37431 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37432 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37433   echo $ECHO_N "(cached) $ECHO_C" >&6
37434 else
37435   cat >conftest.$ac_ext <<_ACEOF
37436 /* confdefs.h.  */
37437 _ACEOF
37438 cat confdefs.h >>conftest.$ac_ext
37439 cat >>conftest.$ac_ext <<_ACEOF
37440 /* end confdefs.h.  */
37441 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37442    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
37443 #define $ac_func innocuous_$ac_func
37444
37445 /* System header to define __stub macros and hopefully few prototypes,
37446     which can conflict with char $ac_func (); below.
37447     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37448     <limits.h> exists even on freestanding compilers.  */
37449
37450 #ifdef __STDC__
37451 # include <limits.h>
37452 #else
37453 # include <assert.h>
37454 #endif
37455
37456 #undef $ac_func
37457
37458 /* Override any GCC internal prototype to avoid an error.
37459    Use char because int might match the return type of a GCC
37460    builtin and then its argument prototype would still apply.  */
37461 #ifdef __cplusplus
37462 extern "C"
37463 #endif
37464 char $ac_func ();
37465 /* The GNU C library defines this for functions which it implements
37466     to always fail with ENOSYS.  Some functions are actually named
37467     something starting with __ and the normal name is an alias.  */
37468 #if defined __stub_$ac_func || defined __stub___$ac_func
37469 choke me
37470 #endif
37471
37472 int
37473 main ()
37474 {
37475 return $ac_func ();
37476   ;
37477   return 0;
37478 }
37479 _ACEOF
37480 rm -f conftest.$ac_objext conftest$ac_exeext
37481 if { (ac_try="$ac_link"
37482 case "(($ac_try" in
37483   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37484   *) ac_try_echo=$ac_try;;
37485 esac
37486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37487   (eval "$ac_link") 2>conftest.er1
37488   ac_status=$?
37489   grep -v '^ *+' conftest.er1 >conftest.err
37490   rm -f conftest.er1
37491   cat conftest.err >&5
37492   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37493   (exit $ac_status); } && {
37494          test -z "$ac_c_werror_flag" ||
37495          test ! -s conftest.err
37496        } && test -s conftest$ac_exeext &&
37497        $as_test_x conftest$ac_exeext; then
37498   eval "$as_ac_var=yes"
37499 else
37500   echo "$as_me: failed program was:" >&5
37501 sed 's/^/| /' conftest.$ac_ext >&5
37502
37503         eval "$as_ac_var=no"
37504 fi
37505
37506 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37507       conftest$ac_exeext conftest.$ac_ext
37508 fi
37509 ac_res=`eval echo '${'$as_ac_var'}'`
37510                { echo "$as_me:$LINENO: result: $ac_res" >&5
37511 echo "${ECHO_T}$ac_res" >&6; }
37512 if test `eval echo '${'$as_ac_var'}'` = yes; then
37513   cat >>confdefs.h <<_ACEOF
37514 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37515 _ACEOF
37516  break
37517 fi
37518 done
37519
37520 if test "$ac_cv_func_setenv" = "yes"; then
37521
37522 for ac_func in unsetenv
37523 do
37524 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37525 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37526 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37527 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37528   echo $ECHO_N "(cached) $ECHO_C" >&6
37529 else
37530   cat >conftest.$ac_ext <<_ACEOF
37531 /* confdefs.h.  */
37532 _ACEOF
37533 cat confdefs.h >>conftest.$ac_ext
37534 cat >>conftest.$ac_ext <<_ACEOF
37535 /* end confdefs.h.  */
37536 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37537    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
37538 #define $ac_func innocuous_$ac_func
37539
37540 /* System header to define __stub macros and hopefully few prototypes,
37541     which can conflict with char $ac_func (); below.
37542     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37543     <limits.h> exists even on freestanding compilers.  */
37544
37545 #ifdef __STDC__
37546 # include <limits.h>
37547 #else
37548 # include <assert.h>
37549 #endif
37550
37551 #undef $ac_func
37552
37553 /* Override any GCC internal prototype to avoid an error.
37554    Use char because int might match the return type of a GCC
37555    builtin and then its argument prototype would still apply.  */
37556 #ifdef __cplusplus
37557 extern "C"
37558 #endif
37559 char $ac_func ();
37560 /* The GNU C library defines this for functions which it implements
37561     to always fail with ENOSYS.  Some functions are actually named
37562     something starting with __ and the normal name is an alias.  */
37563 #if defined __stub_$ac_func || defined __stub___$ac_func
37564 choke me
37565 #endif
37566
37567 int
37568 main ()
37569 {
37570 return $ac_func ();
37571   ;
37572   return 0;
37573 }
37574 _ACEOF
37575 rm -f conftest.$ac_objext conftest$ac_exeext
37576 if { (ac_try="$ac_link"
37577 case "(($ac_try" in
37578   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37579   *) ac_try_echo=$ac_try;;
37580 esac
37581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37582   (eval "$ac_link") 2>conftest.er1
37583   ac_status=$?
37584   grep -v '^ *+' conftest.er1 >conftest.err
37585   rm -f conftest.er1
37586   cat conftest.err >&5
37587   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37588   (exit $ac_status); } && {
37589          test -z "$ac_c_werror_flag" ||
37590          test ! -s conftest.err
37591        } && test -s conftest$ac_exeext &&
37592        $as_test_x conftest$ac_exeext; then
37593   eval "$as_ac_var=yes"
37594 else
37595   echo "$as_me: failed program was:" >&5
37596 sed 's/^/| /' conftest.$ac_ext >&5
37597
37598         eval "$as_ac_var=no"
37599 fi
37600
37601 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37602       conftest$ac_exeext conftest.$ac_ext
37603 fi
37604 ac_res=`eval echo '${'$as_ac_var'}'`
37605                { echo "$as_me:$LINENO: result: $ac_res" >&5
37606 echo "${ECHO_T}$ac_res" >&6; }
37607 if test `eval echo '${'$as_ac_var'}'` = yes; then
37608   cat >>confdefs.h <<_ACEOF
37609 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37610 _ACEOF
37611
37612 fi
37613 done
37614
37615 fi
37616
37617 HAVE_SOME_SLEEP_FUNC=0
37618 if test "$USE_BEOS" = 1; then
37619             cat >>confdefs.h <<\_ACEOF
37620 #define HAVE_SLEEP 1
37621 _ACEOF
37622
37623     HAVE_SOME_SLEEP_FUNC=1
37624 fi
37625
37626 if test "$USE_DARWIN" = 1; then
37627             cat >>confdefs.h <<\_ACEOF
37628 #define HAVE_USLEEP 1
37629 _ACEOF
37630
37631     HAVE_SOME_SLEEP_FUNC=1
37632 fi
37633
37634 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
37635         POSIX4_LINK=
37636
37637 for ac_func in nanosleep
37638 do
37639 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37640 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37641 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37642 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37643   echo $ECHO_N "(cached) $ECHO_C" >&6
37644 else
37645   cat >conftest.$ac_ext <<_ACEOF
37646 /* confdefs.h.  */
37647 _ACEOF
37648 cat confdefs.h >>conftest.$ac_ext
37649 cat >>conftest.$ac_ext <<_ACEOF
37650 /* end confdefs.h.  */
37651 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37652    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
37653 #define $ac_func innocuous_$ac_func
37654
37655 /* System header to define __stub macros and hopefully few prototypes,
37656     which can conflict with char $ac_func (); below.
37657     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37658     <limits.h> exists even on freestanding compilers.  */
37659
37660 #ifdef __STDC__
37661 # include <limits.h>
37662 #else
37663 # include <assert.h>
37664 #endif
37665
37666 #undef $ac_func
37667
37668 /* Override any GCC internal prototype to avoid an error.
37669    Use char because int might match the return type of a GCC
37670    builtin and then its argument prototype would still apply.  */
37671 #ifdef __cplusplus
37672 extern "C"
37673 #endif
37674 char $ac_func ();
37675 /* The GNU C library defines this for functions which it implements
37676     to always fail with ENOSYS.  Some functions are actually named
37677     something starting with __ and the normal name is an alias.  */
37678 #if defined __stub_$ac_func || defined __stub___$ac_func
37679 choke me
37680 #endif
37681
37682 int
37683 main ()
37684 {
37685 return $ac_func ();
37686   ;
37687   return 0;
37688 }
37689 _ACEOF
37690 rm -f conftest.$ac_objext conftest$ac_exeext
37691 if { (ac_try="$ac_link"
37692 case "(($ac_try" in
37693   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37694   *) ac_try_echo=$ac_try;;
37695 esac
37696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37697   (eval "$ac_link") 2>conftest.er1
37698   ac_status=$?
37699   grep -v '^ *+' conftest.er1 >conftest.err
37700   rm -f conftest.er1
37701   cat conftest.err >&5
37702   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37703   (exit $ac_status); } && {
37704          test -z "$ac_c_werror_flag" ||
37705          test ! -s conftest.err
37706        } && test -s conftest$ac_exeext &&
37707        $as_test_x conftest$ac_exeext; then
37708   eval "$as_ac_var=yes"
37709 else
37710   echo "$as_me: failed program was:" >&5
37711 sed 's/^/| /' conftest.$ac_ext >&5
37712
37713         eval "$as_ac_var=no"
37714 fi
37715
37716 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37717       conftest$ac_exeext conftest.$ac_ext
37718 fi
37719 ac_res=`eval echo '${'$as_ac_var'}'`
37720                { echo "$as_me:$LINENO: result: $ac_res" >&5
37721 echo "${ECHO_T}$ac_res" >&6; }
37722 if test `eval echo '${'$as_ac_var'}'` = yes; then
37723   cat >>confdefs.h <<_ACEOF
37724 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37725 _ACEOF
37726  cat >>confdefs.h <<\_ACEOF
37727 #define HAVE_NANOSLEEP 1
37728 _ACEOF
37729
37730 else
37731
37732             { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
37733 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
37734 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
37735   echo $ECHO_N "(cached) $ECHO_C" >&6
37736 else
37737   ac_check_lib_save_LIBS=$LIBS
37738 LIBS="-lposix4  $LIBS"
37739 cat >conftest.$ac_ext <<_ACEOF
37740 /* confdefs.h.  */
37741 _ACEOF
37742 cat confdefs.h >>conftest.$ac_ext
37743 cat >>conftest.$ac_ext <<_ACEOF
37744 /* end confdefs.h.  */
37745
37746 /* Override any GCC internal prototype to avoid an error.
37747    Use char because int might match the return type of a GCC
37748    builtin and then its argument prototype would still apply.  */
37749 #ifdef __cplusplus
37750 extern "C"
37751 #endif
37752 char nanosleep ();
37753 int
37754 main ()
37755 {
37756 return nanosleep ();
37757   ;
37758   return 0;
37759 }
37760 _ACEOF
37761 rm -f conftest.$ac_objext conftest$ac_exeext
37762 if { (ac_try="$ac_link"
37763 case "(($ac_try" in
37764   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37765   *) ac_try_echo=$ac_try;;
37766 esac
37767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37768   (eval "$ac_link") 2>conftest.er1
37769   ac_status=$?
37770   grep -v '^ *+' conftest.er1 >conftest.err
37771   rm -f conftest.er1
37772   cat conftest.err >&5
37773   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37774   (exit $ac_status); } && {
37775          test -z "$ac_c_werror_flag" ||
37776          test ! -s conftest.err
37777        } && test -s conftest$ac_exeext &&
37778        $as_test_x conftest$ac_exeext; then
37779   ac_cv_lib_posix4_nanosleep=yes
37780 else
37781   echo "$as_me: failed program was:" >&5
37782 sed 's/^/| /' conftest.$ac_ext >&5
37783
37784         ac_cv_lib_posix4_nanosleep=no
37785 fi
37786
37787 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37788       conftest$ac_exeext conftest.$ac_ext
37789 LIBS=$ac_check_lib_save_LIBS
37790 fi
37791 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
37792 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
37793 if test $ac_cv_lib_posix4_nanosleep = yes; then
37794
37795                     cat >>confdefs.h <<\_ACEOF
37796 #define HAVE_NANOSLEEP 1
37797 _ACEOF
37798
37799                     POSIX4_LINK=" -lposix4"
37800
37801 else
37802
37803
37804   for wx_func in usleep
37805   do
37806     { echo "$as_me:$LINENO: checking for $wx_func" >&5
37807 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37808 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37809   echo $ECHO_N "(cached) $ECHO_C" >&6
37810 else
37811
37812         cat >conftest.$ac_ext <<_ACEOF
37813
37814             /* confdefs.h.  */
37815 _ACEOF
37816 cat confdefs.h >>conftest.$ac_ext
37817 cat >>conftest.$ac_ext <<_ACEOF
37818 /* end confdefs.h.  */
37819
37820
37821                 $ac_includes_default
37822
37823 int
37824 main ()
37825 {
37826
37827                 #ifndef $wx_func
37828                   &$wx_func;
37829                 #endif
37830
37831
37832   ;
37833   return 0;
37834 }
37835
37836 _ACEOF
37837 rm -f conftest.$ac_objext conftest$ac_exeext
37838 if { (ac_try="$ac_link"
37839 case "(($ac_try" in
37840   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37841   *) ac_try_echo=$ac_try;;
37842 esac
37843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37844   (eval "$ac_link") 2>conftest.er1
37845   ac_status=$?
37846   grep -v '^ *+' conftest.er1 >conftest.err
37847   rm -f conftest.er1
37848   cat conftest.err >&5
37849   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37850   (exit $ac_status); } && {
37851          test -z "$ac_c_werror_flag" ||
37852          test ! -s conftest.err
37853        } && test -s conftest$ac_exeext &&
37854        $as_test_x conftest$ac_exeext; then
37855   eval wx_cv_func_$wx_func=yes
37856 else
37857   echo "$as_me: failed program was:" >&5
37858 sed 's/^/| /' conftest.$ac_ext >&5
37859
37860         eval wx_cv_func_$wx_func=no
37861 fi
37862
37863 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37864       conftest$ac_exeext conftest.$ac_ext
37865
37866 fi
37867 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37868                { echo "$as_me:$LINENO: result: $ac_res" >&5
37869 echo "${ECHO_T}$ac_res" >&6; }
37870
37871     if eval test \$wx_cv_func_$wx_func = yes
37872     then
37873       cat >>confdefs.h <<_ACEOF
37874 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37875 _ACEOF
37876
37877
37878     else
37879       :
37880       { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
37881 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
37882
37883     fi
37884   done
37885
37886
37887
37888 fi
37889
37890
37891
37892 fi
37893 done
37894
37895 fi
37896
37897
37898   for wx_func in uname
37899   do
37900     { echo "$as_me:$LINENO: checking for $wx_func" >&5
37901 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37902 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37903   echo $ECHO_N "(cached) $ECHO_C" >&6
37904 else
37905
37906         cat >conftest.$ac_ext <<_ACEOF
37907
37908             /* confdefs.h.  */
37909 _ACEOF
37910 cat confdefs.h >>conftest.$ac_ext
37911 cat >>conftest.$ac_ext <<_ACEOF
37912 /* end confdefs.h.  */
37913
37914                 #include <sys/utsname.h>
37915                 $ac_includes_default
37916
37917 int
37918 main ()
37919 {
37920
37921                 #ifndef $wx_func
37922                   &$wx_func;
37923                 #endif
37924
37925
37926   ;
37927   return 0;
37928 }
37929
37930 _ACEOF
37931 rm -f conftest.$ac_objext conftest$ac_exeext
37932 if { (ac_try="$ac_link"
37933 case "(($ac_try" in
37934   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37935   *) ac_try_echo=$ac_try;;
37936 esac
37937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37938   (eval "$ac_link") 2>conftest.er1
37939   ac_status=$?
37940   grep -v '^ *+' conftest.er1 >conftest.err
37941   rm -f conftest.er1
37942   cat conftest.err >&5
37943   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37944   (exit $ac_status); } && {
37945          test -z "$ac_c_werror_flag" ||
37946          test ! -s conftest.err
37947        } && test -s conftest$ac_exeext &&
37948        $as_test_x conftest$ac_exeext; then
37949   eval wx_cv_func_$wx_func=yes
37950 else
37951   echo "$as_me: failed program was:" >&5
37952 sed 's/^/| /' conftest.$ac_ext >&5
37953
37954         eval wx_cv_func_$wx_func=no
37955 fi
37956
37957 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37958       conftest$ac_exeext conftest.$ac_ext
37959
37960 fi
37961 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37962                { echo "$as_me:$LINENO: result: $ac_res" >&5
37963 echo "${ECHO_T}$ac_res" >&6; }
37964
37965     if eval test \$wx_cv_func_$wx_func = yes
37966     then
37967       cat >>confdefs.h <<_ACEOF
37968 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37969 _ACEOF
37970
37971
37972     else
37973       :
37974
37975     fi
37976   done
37977
37978 if test "$wx_cv_func_uname" != yes; then
37979
37980   for wx_func in gethostname
37981   do
37982     { echo "$as_me:$LINENO: checking for $wx_func" >&5
37983 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37984 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37985   echo $ECHO_N "(cached) $ECHO_C" >&6
37986 else
37987
37988         cat >conftest.$ac_ext <<_ACEOF
37989
37990             /* confdefs.h.  */
37991 _ACEOF
37992 cat confdefs.h >>conftest.$ac_ext
37993 cat >>conftest.$ac_ext <<_ACEOF
37994 /* end confdefs.h.  */
37995
37996
37997                 $ac_includes_default
37998
37999 int
38000 main ()
38001 {
38002
38003                 #ifndef $wx_func
38004                   &$wx_func;
38005                 #endif
38006
38007
38008   ;
38009   return 0;
38010 }
38011
38012 _ACEOF
38013 rm -f conftest.$ac_objext conftest$ac_exeext
38014 if { (ac_try="$ac_link"
38015 case "(($ac_try" in
38016   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38017   *) ac_try_echo=$ac_try;;
38018 esac
38019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38020   (eval "$ac_link") 2>conftest.er1
38021   ac_status=$?
38022   grep -v '^ *+' conftest.er1 >conftest.err
38023   rm -f conftest.er1
38024   cat conftest.err >&5
38025   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38026   (exit $ac_status); } && {
38027          test -z "$ac_c_werror_flag" ||
38028          test ! -s conftest.err
38029        } && test -s conftest$ac_exeext &&
38030        $as_test_x conftest$ac_exeext; then
38031   eval wx_cv_func_$wx_func=yes
38032 else
38033   echo "$as_me: failed program was:" >&5
38034 sed 's/^/| /' conftest.$ac_ext >&5
38035
38036         eval wx_cv_func_$wx_func=no
38037 fi
38038
38039 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38040       conftest$ac_exeext conftest.$ac_ext
38041
38042 fi
38043 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38044                { echo "$as_me:$LINENO: result: $ac_res" >&5
38045 echo "${ECHO_T}$ac_res" >&6; }
38046
38047     if eval test \$wx_cv_func_$wx_func = yes
38048     then
38049       cat >>confdefs.h <<_ACEOF
38050 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38051 _ACEOF
38052
38053
38054     else
38055       :
38056
38057     fi
38058   done
38059
38060 fi
38061
38062
38063   for wx_func in strtok_r
38064   do
38065     { echo "$as_me:$LINENO: checking for $wx_func" >&5
38066 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38067 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38068   echo $ECHO_N "(cached) $ECHO_C" >&6
38069 else
38070
38071         cat >conftest.$ac_ext <<_ACEOF
38072
38073             /* confdefs.h.  */
38074 _ACEOF
38075 cat confdefs.h >>conftest.$ac_ext
38076 cat >>conftest.$ac_ext <<_ACEOF
38077 /* end confdefs.h.  */
38078
38079                 #define _REENTRANT
38080                 $ac_includes_default
38081
38082 int
38083 main ()
38084 {
38085
38086                 #ifndef $wx_func
38087                   &$wx_func;
38088                 #endif
38089
38090
38091   ;
38092   return 0;
38093 }
38094
38095 _ACEOF
38096 rm -f conftest.$ac_objext conftest$ac_exeext
38097 if { (ac_try="$ac_link"
38098 case "(($ac_try" in
38099   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38100   *) ac_try_echo=$ac_try;;
38101 esac
38102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38103   (eval "$ac_link") 2>conftest.er1
38104   ac_status=$?
38105   grep -v '^ *+' conftest.er1 >conftest.err
38106   rm -f conftest.er1
38107   cat conftest.err >&5
38108   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38109   (exit $ac_status); } && {
38110          test -z "$ac_c_werror_flag" ||
38111          test ! -s conftest.err
38112        } && test -s conftest$ac_exeext &&
38113        $as_test_x conftest$ac_exeext; then
38114   eval wx_cv_func_$wx_func=yes
38115 else
38116   echo "$as_me: failed program was:" >&5
38117 sed 's/^/| /' conftest.$ac_ext >&5
38118
38119         eval wx_cv_func_$wx_func=no
38120 fi
38121
38122 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38123       conftest$ac_exeext conftest.$ac_ext
38124
38125 fi
38126 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38127                { echo "$as_me:$LINENO: result: $ac_res" >&5
38128 echo "${ECHO_T}$ac_res" >&6; }
38129
38130     if eval test \$wx_cv_func_$wx_func = yes
38131     then
38132       cat >>confdefs.h <<_ACEOF
38133 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38134 _ACEOF
38135
38136
38137     else
38138       :
38139
38140     fi
38141   done
38142
38143
38144 INET_LINK=
38145
38146 for ac_func in inet_addr
38147 do
38148 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38149 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38150 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38151 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38152   echo $ECHO_N "(cached) $ECHO_C" >&6
38153 else
38154   cat >conftest.$ac_ext <<_ACEOF
38155 /* confdefs.h.  */
38156 _ACEOF
38157 cat confdefs.h >>conftest.$ac_ext
38158 cat >>conftest.$ac_ext <<_ACEOF
38159 /* end confdefs.h.  */
38160 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38161    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
38162 #define $ac_func innocuous_$ac_func
38163
38164 /* System header to define __stub macros and hopefully few prototypes,
38165     which can conflict with char $ac_func (); below.
38166     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38167     <limits.h> exists even on freestanding compilers.  */
38168
38169 #ifdef __STDC__
38170 # include <limits.h>
38171 #else
38172 # include <assert.h>
38173 #endif
38174
38175 #undef $ac_func
38176
38177 /* Override any GCC internal prototype to avoid an error.
38178    Use char because int might match the return type of a GCC
38179    builtin and then its argument prototype would still apply.  */
38180 #ifdef __cplusplus
38181 extern "C"
38182 #endif
38183 char $ac_func ();
38184 /* The GNU C library defines this for functions which it implements
38185     to always fail with ENOSYS.  Some functions are actually named
38186     something starting with __ and the normal name is an alias.  */
38187 #if defined __stub_$ac_func || defined __stub___$ac_func
38188 choke me
38189 #endif
38190
38191 int
38192 main ()
38193 {
38194 return $ac_func ();
38195   ;
38196   return 0;
38197 }
38198 _ACEOF
38199 rm -f conftest.$ac_objext conftest$ac_exeext
38200 if { (ac_try="$ac_link"
38201 case "(($ac_try" in
38202   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38203   *) ac_try_echo=$ac_try;;
38204 esac
38205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38206   (eval "$ac_link") 2>conftest.er1
38207   ac_status=$?
38208   grep -v '^ *+' conftest.er1 >conftest.err
38209   rm -f conftest.er1
38210   cat conftest.err >&5
38211   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38212   (exit $ac_status); } && {
38213          test -z "$ac_c_werror_flag" ||
38214          test ! -s conftest.err
38215        } && test -s conftest$ac_exeext &&
38216        $as_test_x conftest$ac_exeext; then
38217   eval "$as_ac_var=yes"
38218 else
38219   echo "$as_me: failed program was:" >&5
38220 sed 's/^/| /' conftest.$ac_ext >&5
38221
38222         eval "$as_ac_var=no"
38223 fi
38224
38225 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38226       conftest$ac_exeext conftest.$ac_ext
38227 fi
38228 ac_res=`eval echo '${'$as_ac_var'}'`
38229                { echo "$as_me:$LINENO: result: $ac_res" >&5
38230 echo "${ECHO_T}$ac_res" >&6; }
38231 if test `eval echo '${'$as_ac_var'}'` = yes; then
38232   cat >>confdefs.h <<_ACEOF
38233 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38234 _ACEOF
38235  cat >>confdefs.h <<\_ACEOF
38236 #define HAVE_INET_ADDR 1
38237 _ACEOF
38238
38239 else
38240
38241         { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
38242 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
38243 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
38244   echo $ECHO_N "(cached) $ECHO_C" >&6
38245 else
38246   ac_check_lib_save_LIBS=$LIBS
38247 LIBS="-lnsl  $LIBS"
38248 cat >conftest.$ac_ext <<_ACEOF
38249 /* confdefs.h.  */
38250 _ACEOF
38251 cat confdefs.h >>conftest.$ac_ext
38252 cat >>conftest.$ac_ext <<_ACEOF
38253 /* end confdefs.h.  */
38254
38255 /* Override any GCC internal prototype to avoid an error.
38256    Use char because int might match the return type of a GCC
38257    builtin and then its argument prototype would still apply.  */
38258 #ifdef __cplusplus
38259 extern "C"
38260 #endif
38261 char inet_addr ();
38262 int
38263 main ()
38264 {
38265 return inet_addr ();
38266   ;
38267   return 0;
38268 }
38269 _ACEOF
38270 rm -f conftest.$ac_objext conftest$ac_exeext
38271 if { (ac_try="$ac_link"
38272 case "(($ac_try" in
38273   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38274   *) ac_try_echo=$ac_try;;
38275 esac
38276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38277   (eval "$ac_link") 2>conftest.er1
38278   ac_status=$?
38279   grep -v '^ *+' conftest.er1 >conftest.err
38280   rm -f conftest.er1
38281   cat conftest.err >&5
38282   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38283   (exit $ac_status); } && {
38284          test -z "$ac_c_werror_flag" ||
38285          test ! -s conftest.err
38286        } && test -s conftest$ac_exeext &&
38287        $as_test_x conftest$ac_exeext; then
38288   ac_cv_lib_nsl_inet_addr=yes
38289 else
38290   echo "$as_me: failed program was:" >&5
38291 sed 's/^/| /' conftest.$ac_ext >&5
38292
38293         ac_cv_lib_nsl_inet_addr=no
38294 fi
38295
38296 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38297       conftest$ac_exeext conftest.$ac_ext
38298 LIBS=$ac_check_lib_save_LIBS
38299 fi
38300 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
38301 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
38302 if test $ac_cv_lib_nsl_inet_addr = yes; then
38303   INET_LINK="nsl"
38304 else
38305
38306                 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
38307 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
38308 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
38309   echo $ECHO_N "(cached) $ECHO_C" >&6
38310 else
38311   ac_check_lib_save_LIBS=$LIBS
38312 LIBS="-lresolv  $LIBS"
38313 cat >conftest.$ac_ext <<_ACEOF
38314 /* confdefs.h.  */
38315 _ACEOF
38316 cat confdefs.h >>conftest.$ac_ext
38317 cat >>conftest.$ac_ext <<_ACEOF
38318 /* end confdefs.h.  */
38319
38320 /* Override any GCC internal prototype to avoid an error.
38321    Use char because int might match the return type of a GCC
38322    builtin and then its argument prototype would still apply.  */
38323 #ifdef __cplusplus
38324 extern "C"
38325 #endif
38326 char inet_addr ();
38327 int
38328 main ()
38329 {
38330 return inet_addr ();
38331   ;
38332   return 0;
38333 }
38334 _ACEOF
38335 rm -f conftest.$ac_objext conftest$ac_exeext
38336 if { (ac_try="$ac_link"
38337 case "(($ac_try" in
38338   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38339   *) ac_try_echo=$ac_try;;
38340 esac
38341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38342   (eval "$ac_link") 2>conftest.er1
38343   ac_status=$?
38344   grep -v '^ *+' conftest.er1 >conftest.err
38345   rm -f conftest.er1
38346   cat conftest.err >&5
38347   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38348   (exit $ac_status); } && {
38349          test -z "$ac_c_werror_flag" ||
38350          test ! -s conftest.err
38351        } && test -s conftest$ac_exeext &&
38352        $as_test_x conftest$ac_exeext; then
38353   ac_cv_lib_resolv_inet_addr=yes
38354 else
38355   echo "$as_me: failed program was:" >&5
38356 sed 's/^/| /' conftest.$ac_ext >&5
38357
38358         ac_cv_lib_resolv_inet_addr=no
38359 fi
38360
38361 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38362       conftest$ac_exeext conftest.$ac_ext
38363 LIBS=$ac_check_lib_save_LIBS
38364 fi
38365 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
38366 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
38367 if test $ac_cv_lib_resolv_inet_addr = yes; then
38368   INET_LINK="resolv"
38369 else
38370
38371                         { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
38372 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
38373 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
38374   echo $ECHO_N "(cached) $ECHO_C" >&6
38375 else
38376   ac_check_lib_save_LIBS=$LIBS
38377 LIBS="-lsocket  $LIBS"
38378 cat >conftest.$ac_ext <<_ACEOF
38379 /* confdefs.h.  */
38380 _ACEOF
38381 cat confdefs.h >>conftest.$ac_ext
38382 cat >>conftest.$ac_ext <<_ACEOF
38383 /* end confdefs.h.  */
38384
38385 /* Override any GCC internal prototype to avoid an error.
38386    Use char because int might match the return type of a GCC
38387    builtin and then its argument prototype would still apply.  */
38388 #ifdef __cplusplus
38389 extern "C"
38390 #endif
38391 char inet_addr ();
38392 int
38393 main ()
38394 {
38395 return inet_addr ();
38396   ;
38397   return 0;
38398 }
38399 _ACEOF
38400 rm -f conftest.$ac_objext conftest$ac_exeext
38401 if { (ac_try="$ac_link"
38402 case "(($ac_try" in
38403   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38404   *) ac_try_echo=$ac_try;;
38405 esac
38406 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38407   (eval "$ac_link") 2>conftest.er1
38408   ac_status=$?
38409   grep -v '^ *+' conftest.er1 >conftest.err
38410   rm -f conftest.er1
38411   cat conftest.err >&5
38412   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38413   (exit $ac_status); } && {
38414          test -z "$ac_c_werror_flag" ||
38415          test ! -s conftest.err
38416        } && test -s conftest$ac_exeext &&
38417        $as_test_x conftest$ac_exeext; then
38418   ac_cv_lib_socket_inet_addr=yes
38419 else
38420   echo "$as_me: failed program was:" >&5
38421 sed 's/^/| /' conftest.$ac_ext >&5
38422
38423         ac_cv_lib_socket_inet_addr=no
38424 fi
38425
38426 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38427       conftest$ac_exeext conftest.$ac_ext
38428 LIBS=$ac_check_lib_save_LIBS
38429 fi
38430 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
38431 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
38432 if test $ac_cv_lib_socket_inet_addr = yes; then
38433   INET_LINK="socket"
38434
38435 fi
38436
38437
38438
38439 fi
38440
38441
38442
38443 fi
38444
38445
38446
38447 fi
38448 done
38449
38450
38451
38452 for ac_func in inet_aton
38453 do
38454 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38455 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38456 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38457 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38458   echo $ECHO_N "(cached) $ECHO_C" >&6
38459 else
38460   cat >conftest.$ac_ext <<_ACEOF
38461 /* confdefs.h.  */
38462 _ACEOF
38463 cat confdefs.h >>conftest.$ac_ext
38464 cat >>conftest.$ac_ext <<_ACEOF
38465 /* end confdefs.h.  */
38466 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38467    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
38468 #define $ac_func innocuous_$ac_func
38469
38470 /* System header to define __stub macros and hopefully few prototypes,
38471     which can conflict with char $ac_func (); below.
38472     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38473     <limits.h> exists even on freestanding compilers.  */
38474
38475 #ifdef __STDC__
38476 # include <limits.h>
38477 #else
38478 # include <assert.h>
38479 #endif
38480
38481 #undef $ac_func
38482
38483 /* Override any GCC internal prototype to avoid an error.
38484    Use char because int might match the return type of a GCC
38485    builtin and then its argument prototype would still apply.  */
38486 #ifdef __cplusplus
38487 extern "C"
38488 #endif
38489 char $ac_func ();
38490 /* The GNU C library defines this for functions which it implements
38491     to always fail with ENOSYS.  Some functions are actually named
38492     something starting with __ and the normal name is an alias.  */
38493 #if defined __stub_$ac_func || defined __stub___$ac_func
38494 choke me
38495 #endif
38496
38497 int
38498 main ()
38499 {
38500 return $ac_func ();
38501   ;
38502   return 0;
38503 }
38504 _ACEOF
38505 rm -f conftest.$ac_objext conftest$ac_exeext
38506 if { (ac_try="$ac_link"
38507 case "(($ac_try" in
38508   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38509   *) ac_try_echo=$ac_try;;
38510 esac
38511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38512   (eval "$ac_link") 2>conftest.er1
38513   ac_status=$?
38514   grep -v '^ *+' conftest.er1 >conftest.err
38515   rm -f conftest.er1
38516   cat conftest.err >&5
38517   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38518   (exit $ac_status); } && {
38519          test -z "$ac_c_werror_flag" ||
38520          test ! -s conftest.err
38521        } && test -s conftest$ac_exeext &&
38522        $as_test_x conftest$ac_exeext; then
38523   eval "$as_ac_var=yes"
38524 else
38525   echo "$as_me: failed program was:" >&5
38526 sed 's/^/| /' conftest.$ac_ext >&5
38527
38528         eval "$as_ac_var=no"
38529 fi
38530
38531 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38532       conftest$ac_exeext conftest.$ac_ext
38533 fi
38534 ac_res=`eval echo '${'$as_ac_var'}'`
38535                { echo "$as_me:$LINENO: result: $ac_res" >&5
38536 echo "${ECHO_T}$ac_res" >&6; }
38537 if test `eval echo '${'$as_ac_var'}'` = yes; then
38538   cat >>confdefs.h <<_ACEOF
38539 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38540 _ACEOF
38541  cat >>confdefs.h <<\_ACEOF
38542 #define HAVE_INET_ATON 1
38543 _ACEOF
38544
38545 else
38546
38547                         as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
38548 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
38549 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
38550 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
38551   echo $ECHO_N "(cached) $ECHO_C" >&6
38552 else
38553   ac_check_lib_save_LIBS=$LIBS
38554 LIBS="-l$INET_LINK  $LIBS"
38555 cat >conftest.$ac_ext <<_ACEOF
38556 /* confdefs.h.  */
38557 _ACEOF
38558 cat confdefs.h >>conftest.$ac_ext
38559 cat >>conftest.$ac_ext <<_ACEOF
38560 /* end confdefs.h.  */
38561
38562 /* Override any GCC internal prototype to avoid an error.
38563    Use char because int might match the return type of a GCC
38564    builtin and then its argument prototype would still apply.  */
38565 #ifdef __cplusplus
38566 extern "C"
38567 #endif
38568 char inet_aton ();
38569 int
38570 main ()
38571 {
38572 return inet_aton ();
38573   ;
38574   return 0;
38575 }
38576 _ACEOF
38577 rm -f conftest.$ac_objext conftest$ac_exeext
38578 if { (ac_try="$ac_link"
38579 case "(($ac_try" in
38580   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38581   *) ac_try_echo=$ac_try;;
38582 esac
38583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38584   (eval "$ac_link") 2>conftest.er1
38585   ac_status=$?
38586   grep -v '^ *+' conftest.er1 >conftest.err
38587   rm -f conftest.er1
38588   cat conftest.err >&5
38589   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38590   (exit $ac_status); } && {
38591          test -z "$ac_c_werror_flag" ||
38592          test ! -s conftest.err
38593        } && test -s conftest$ac_exeext &&
38594        $as_test_x conftest$ac_exeext; then
38595   eval "$as_ac_Lib=yes"
38596 else
38597   echo "$as_me: failed program was:" >&5
38598 sed 's/^/| /' conftest.$ac_ext >&5
38599
38600         eval "$as_ac_Lib=no"
38601 fi
38602
38603 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38604       conftest$ac_exeext conftest.$ac_ext
38605 LIBS=$ac_check_lib_save_LIBS
38606 fi
38607 ac_res=`eval echo '${'$as_ac_Lib'}'`
38608                { echo "$as_me:$LINENO: result: $ac_res" >&5
38609 echo "${ECHO_T}$ac_res" >&6; }
38610 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
38611   cat >>confdefs.h <<\_ACEOF
38612 #define HAVE_INET_ATON 1
38613 _ACEOF
38614
38615 fi
38616
38617
38618 fi
38619 done
38620
38621
38622 if test "x$INET_LINK" != "x"; then
38623     cat >>confdefs.h <<\_ACEOF
38624 #define HAVE_INET_ADDR 1
38625 _ACEOF
38626
38627     INET_LINK=" -l$INET_LINK"
38628 fi
38629
38630
38631   for wx_func in fdopen
38632   do
38633     { echo "$as_me:$LINENO: checking for $wx_func" >&5
38634 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38635 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38636   echo $ECHO_N "(cached) $ECHO_C" >&6
38637 else
38638
38639         cat >conftest.$ac_ext <<_ACEOF
38640
38641             /* confdefs.h.  */
38642 _ACEOF
38643 cat confdefs.h >>conftest.$ac_ext
38644 cat >>conftest.$ac_ext <<_ACEOF
38645 /* end confdefs.h.  */
38646
38647
38648                 $ac_includes_default
38649
38650 int
38651 main ()
38652 {
38653
38654                 #ifndef $wx_func
38655                   &$wx_func;
38656                 #endif
38657
38658
38659   ;
38660   return 0;
38661 }
38662
38663 _ACEOF
38664 rm -f conftest.$ac_objext conftest$ac_exeext
38665 if { (ac_try="$ac_link"
38666 case "(($ac_try" in
38667   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38668   *) ac_try_echo=$ac_try;;
38669 esac
38670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38671   (eval "$ac_link") 2>conftest.er1
38672   ac_status=$?
38673   grep -v '^ *+' conftest.er1 >conftest.err
38674   rm -f conftest.er1
38675   cat conftest.err >&5
38676   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38677   (exit $ac_status); } && {
38678          test -z "$ac_c_werror_flag" ||
38679          test ! -s conftest.err
38680        } && test -s conftest$ac_exeext &&
38681        $as_test_x conftest$ac_exeext; then
38682   eval wx_cv_func_$wx_func=yes
38683 else
38684   echo "$as_me: failed program was:" >&5
38685 sed 's/^/| /' conftest.$ac_ext >&5
38686
38687         eval wx_cv_func_$wx_func=no
38688 fi
38689
38690 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38691       conftest$ac_exeext conftest.$ac_ext
38692
38693 fi
38694 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38695                { echo "$as_me:$LINENO: result: $ac_res" >&5
38696 echo "${ECHO_T}$ac_res" >&6; }
38697
38698     if eval test \$wx_cv_func_$wx_func = yes
38699     then
38700       cat >>confdefs.h <<_ACEOF
38701 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38702 _ACEOF
38703
38704
38705     else
38706       :
38707
38708     fi
38709   done
38710
38711
38712 if test "$wxUSE_TARSTREAM" = "yes"; then
38713
38714   for wx_func in sysconf
38715   do
38716     { echo "$as_me:$LINENO: checking for $wx_func" >&5
38717 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38718 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38719   echo $ECHO_N "(cached) $ECHO_C" >&6
38720 else
38721
38722         cat >conftest.$ac_ext <<_ACEOF
38723
38724             /* confdefs.h.  */
38725 _ACEOF
38726 cat confdefs.h >>conftest.$ac_ext
38727 cat >>conftest.$ac_ext <<_ACEOF
38728 /* end confdefs.h.  */
38729
38730
38731                 $ac_includes_default
38732
38733 int
38734 main ()
38735 {
38736
38737                 #ifndef $wx_func
38738                   &$wx_func;
38739                 #endif
38740
38741
38742   ;
38743   return 0;
38744 }
38745
38746 _ACEOF
38747 rm -f conftest.$ac_objext conftest$ac_exeext
38748 if { (ac_try="$ac_link"
38749 case "(($ac_try" in
38750   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38751   *) ac_try_echo=$ac_try;;
38752 esac
38753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38754   (eval "$ac_link") 2>conftest.er1
38755   ac_status=$?
38756   grep -v '^ *+' conftest.er1 >conftest.err
38757   rm -f conftest.er1
38758   cat conftest.err >&5
38759   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38760   (exit $ac_status); } && {
38761          test -z "$ac_c_werror_flag" ||
38762          test ! -s conftest.err
38763        } && test -s conftest$ac_exeext &&
38764        $as_test_x conftest$ac_exeext; then
38765   eval wx_cv_func_$wx_func=yes
38766 else
38767   echo "$as_me: failed program was:" >&5
38768 sed 's/^/| /' conftest.$ac_ext >&5
38769
38770         eval wx_cv_func_$wx_func=no
38771 fi
38772
38773 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38774       conftest$ac_exeext conftest.$ac_ext
38775
38776 fi
38777 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38778                { echo "$as_me:$LINENO: result: $ac_res" >&5
38779 echo "${ECHO_T}$ac_res" >&6; }
38780
38781     if eval test \$wx_cv_func_$wx_func = yes
38782     then
38783       cat >>confdefs.h <<_ACEOF
38784 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38785 _ACEOF
38786
38787
38788     else
38789       :
38790
38791     fi
38792   done
38793
38794
38795
38796   for wx_func in getpwuid_r
38797   do
38798     { echo "$as_me:$LINENO: checking for $wx_func" >&5
38799 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38800 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38801   echo $ECHO_N "(cached) $ECHO_C" >&6
38802 else
38803
38804         cat >conftest.$ac_ext <<_ACEOF
38805
38806             /* confdefs.h.  */
38807 _ACEOF
38808 cat confdefs.h >>conftest.$ac_ext
38809 cat >>conftest.$ac_ext <<_ACEOF
38810 /* end confdefs.h.  */
38811
38812
38813                     #define _REENTRANT
38814                     #include <pwd.h>
38815
38816                 $ac_includes_default
38817
38818 int
38819 main ()
38820 {
38821
38822                 #ifndef $wx_func
38823                   &$wx_func;
38824                 #endif
38825
38826                     struct passwd pw, *ppw;
38827                     char buf[1024];
38828                     getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
38829
38830
38831   ;
38832   return 0;
38833 }
38834
38835 _ACEOF
38836 rm -f conftest.$ac_objext conftest$ac_exeext
38837 if { (ac_try="$ac_link"
38838 case "(($ac_try" in
38839   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38840   *) ac_try_echo=$ac_try;;
38841 esac
38842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38843   (eval "$ac_link") 2>conftest.er1
38844   ac_status=$?
38845   grep -v '^ *+' conftest.er1 >conftest.err
38846   rm -f conftest.er1
38847   cat conftest.err >&5
38848   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38849   (exit $ac_status); } && {
38850          test -z "$ac_c_werror_flag" ||
38851          test ! -s conftest.err
38852        } && test -s conftest$ac_exeext &&
38853        $as_test_x conftest$ac_exeext; then
38854   eval wx_cv_func_$wx_func=yes
38855 else
38856   echo "$as_me: failed program was:" >&5
38857 sed 's/^/| /' conftest.$ac_ext >&5
38858
38859         eval wx_cv_func_$wx_func=no
38860 fi
38861
38862 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38863       conftest$ac_exeext conftest.$ac_ext
38864
38865 fi
38866 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38867                { echo "$as_me:$LINENO: result: $ac_res" >&5
38868 echo "${ECHO_T}$ac_res" >&6; }
38869
38870     if eval test \$wx_cv_func_$wx_func = yes
38871     then
38872       cat >>confdefs.h <<_ACEOF
38873 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38874 _ACEOF
38875
38876
38877     else
38878       :
38879
38880     fi
38881   done
38882
38883
38884
38885   for wx_func in getgrgid_r
38886   do
38887     { echo "$as_me:$LINENO: checking for $wx_func" >&5
38888 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38889 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38890   echo $ECHO_N "(cached) $ECHO_C" >&6
38891 else
38892
38893         cat >conftest.$ac_ext <<_ACEOF
38894
38895             /* confdefs.h.  */
38896 _ACEOF
38897 cat confdefs.h >>conftest.$ac_ext
38898 cat >>conftest.$ac_ext <<_ACEOF
38899 /* end confdefs.h.  */
38900
38901
38902                     #define _REENTRANT
38903                     #include <grp.h>
38904
38905                 $ac_includes_default
38906
38907 int
38908 main ()
38909 {
38910
38911                 #ifndef $wx_func
38912                   &$wx_func;
38913                 #endif
38914
38915                     struct group grp, *pgrp;
38916                     char buf[1024];
38917                     getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
38918
38919
38920   ;
38921   return 0;
38922 }
38923
38924 _ACEOF
38925 rm -f conftest.$ac_objext conftest$ac_exeext
38926 if { (ac_try="$ac_link"
38927 case "(($ac_try" in
38928   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38929   *) ac_try_echo=$ac_try;;
38930 esac
38931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38932   (eval "$ac_link") 2>conftest.er1
38933   ac_status=$?
38934   grep -v '^ *+' conftest.er1 >conftest.err
38935   rm -f conftest.er1
38936   cat conftest.err >&5
38937   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38938   (exit $ac_status); } && {
38939          test -z "$ac_c_werror_flag" ||
38940          test ! -s conftest.err
38941        } && test -s conftest$ac_exeext &&
38942        $as_test_x conftest$ac_exeext; then
38943   eval wx_cv_func_$wx_func=yes
38944 else
38945   echo "$as_me: failed program was:" >&5
38946 sed 's/^/| /' conftest.$ac_ext >&5
38947
38948         eval wx_cv_func_$wx_func=no
38949 fi
38950
38951 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38952       conftest$ac_exeext conftest.$ac_ext
38953
38954 fi
38955 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38956                { echo "$as_me:$LINENO: result: $ac_res" >&5
38957 echo "${ECHO_T}$ac_res" >&6; }
38958
38959     if eval test \$wx_cv_func_$wx_func = yes
38960     then
38961       cat >>confdefs.h <<_ACEOF
38962 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38963 _ACEOF
38964
38965
38966     else
38967       :
38968
38969     fi
38970   done
38971
38972 fi
38973
38974 fi
38975
38976
38977
38978 cat >confcache <<\_ACEOF
38979 # This file is a shell script that caches the results of configure
38980 # tests run on this system so they can be shared between configure
38981 # scripts and configure runs, see configure's option --config-cache.
38982 # It is not useful on other systems.  If it contains results you don't
38983 # want to keep, you may remove or edit it.
38984 #
38985 # config.status only pays attention to the cache file if you give it
38986 # the --recheck option to rerun configure.
38987 #
38988 # `ac_cv_env_foo' variables (set or unset) will be overridden when
38989 # loading this file, other *unset* `ac_cv_foo' will be assigned the
38990 # following values.
38991
38992 _ACEOF
38993
38994 # The following way of writing the cache mishandles newlines in values,
38995 # but we know of no workaround that is simple, portable, and efficient.
38996 # So, we kill variables containing newlines.
38997 # Ultrix sh set writes to stderr and can't be redirected directly,
38998 # and sets the high bit in the cache file unless we assign to the vars.
38999 (
39000   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
39001     eval ac_val=\$$ac_var
39002     case $ac_val in #(
39003     *${as_nl}*)
39004       case $ac_var in #(
39005       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
39006 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
39007       esac
39008       case $ac_var in #(
39009       _ | IFS | as_nl) ;; #(
39010       *) $as_unset $ac_var ;;
39011       esac ;;
39012     esac
39013   done
39014
39015   (set) 2>&1 |
39016     case $as_nl`(ac_space=' '; set) 2>&1` in #(
39017     *${as_nl}ac_space=\ *)
39018       # `set' does not quote correctly, so add quotes (double-quote
39019       # substitution turns \\\\ into \\, and sed turns \\ into \).
39020       sed -n \
39021         "s/'/'\\\\''/g;
39022           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
39023       ;; #(
39024     *)
39025       # `set' quotes correctly as required by POSIX, so do not add quotes.
39026       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
39027       ;;
39028     esac |
39029     sort
39030 ) |
39031   sed '
39032      /^ac_cv_env_/b end
39033      t clear
39034      :clear
39035      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
39036      t end
39037      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
39038      :end' >>confcache
39039 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
39040   if test -w "$cache_file"; then
39041     test "x$cache_file" != "x/dev/null" &&
39042       { echo "$as_me:$LINENO: updating cache $cache_file" >&5
39043 echo "$as_me: updating cache $cache_file" >&6;}
39044     cat confcache >$cache_file
39045   else
39046     { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
39047 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
39048   fi
39049 fi
39050 rm -f confcache
39051
39052
39053 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
39054
39055
39056     THREADS_LINK=
39057     THREADS_CFLAGS=
39058
39059     if test "$wxUSE_THREADS" = "yes" ; then
39060         if test "$USE_BEOS" = 1; then
39061             { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
39062 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
39063             wxUSE_THREADS="no"
39064         fi
39065     fi
39066
39067     if test "$wxUSE_THREADS" = "yes" ; then
39068
39069
39070                                 THREAD_OPTS="-pthread"
39071         if test "x$SUNCXX" = xyes; then
39072             THREAD_OPTS="-mt lthread $THREAD_OPTS"
39073         fi
39074
39075         case "${host}" in
39076           *-*-solaris2* | *-*-sunos4* )
39077                 if test "x$GCC" = "xyes"; then
39078                                         THREAD_OPTS="-pthreads $THREAD_OPTS"
39079                 fi
39080                 ;;
39081           *-*-freebsd*)
39082                                                 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
39083                 ;;
39084           *-*-darwin* | *-*-cygwin* )
39085                                                 THREAD_OPTS=""
39086                 ;;
39087           *-*-aix*)
39088                                 THREAD_OPTS="pthreads"
39089                 ;;
39090           *-hp-hpux* )
39091                 if test "x$GCC" = "xyes"; then
39092                                         $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
39093                         THREAD_OPTS=""
39094                 else
39095                                                             THREAD_OPTS="-mt"
39096                 fi
39097                 ;;
39098
39099           *-*-irix* )
39100                                                                 if test "x$GCC" = "xyes"; then
39101                     THREAD_OPTS=""
39102                 fi
39103                 ;;
39104
39105           *-*-*UnixWare*)
39106                                 if test "x$GCC" != "xyes"; then
39107                     THREAD_OPTS="-Ethread"
39108                 fi
39109                 ;;
39110         esac
39111
39112                                 THREAD_OPTS="$THREAD_OPTS pthread none"
39113
39114                 THREADS_OK=no
39115         for flag in $THREAD_OPTS; do
39116             case $flag in
39117                 none)
39118                     { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
39119 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
39120                     ;;
39121
39122                 -*)
39123                     { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
39124 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
39125                     THREADS_CFLAGS="$flag"
39126                     ;;
39127
39128                 *)
39129                     { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
39130 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
39131                     THREADS_LINK="-l$flag"
39132                     ;;
39133               esac
39134
39135               save_LIBS="$LIBS"
39136               save_CFLAGS="$CFLAGS"
39137               LIBS="$THREADS_LINK $LIBS"
39138               CFLAGS="$THREADS_CFLAGS $CFLAGS"
39139
39140               cat >conftest.$ac_ext <<_ACEOF
39141 /* confdefs.h.  */
39142 _ACEOF
39143 cat confdefs.h >>conftest.$ac_ext
39144 cat >>conftest.$ac_ext <<_ACEOF
39145 /* end confdefs.h.  */
39146 #include <pthread.h>
39147 int
39148 main ()
39149 {
39150 pthread_create(0,0,0,0);
39151   ;
39152   return 0;
39153 }
39154 _ACEOF
39155 rm -f conftest.$ac_objext conftest$ac_exeext
39156 if { (ac_try="$ac_link"
39157 case "(($ac_try" in
39158   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39159   *) ac_try_echo=$ac_try;;
39160 esac
39161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39162   (eval "$ac_link") 2>conftest.er1
39163   ac_status=$?
39164   grep -v '^ *+' conftest.er1 >conftest.err
39165   rm -f conftest.er1
39166   cat conftest.err >&5
39167   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39168   (exit $ac_status); } && {
39169          test -z "$ac_c_werror_flag" ||
39170          test ! -s conftest.err
39171        } && test -s conftest$ac_exeext &&
39172        $as_test_x conftest$ac_exeext; then
39173   THREADS_OK=yes
39174 else
39175   echo "$as_me: failed program was:" >&5
39176 sed 's/^/| /' conftest.$ac_ext >&5
39177
39178
39179 fi
39180
39181 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39182       conftest$ac_exeext conftest.$ac_ext
39183
39184               LIBS="$save_LIBS"
39185               CFLAGS="$save_CFLAGS"
39186
39187               { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
39188 echo "${ECHO_T}$THREADS_OK" >&6; }
39189               if test "x$THREADS_OK" = "xyes"; then
39190                       break;
39191               fi
39192
39193               THREADS_LINK=""
39194               THREADS_CFLAGS=""
39195       done
39196
39197       if test "x$THREADS_OK" != "xyes"; then
39198           wxUSE_THREADS=no
39199           { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
39200 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
39201       else
39202                               LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
39203           LIBS="$THREADS_LINK $LIBS"
39204
39205           { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
39206 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
39207           flag=no
39208           case "${host}" in
39209             *-aix*)
39210                                                                                                                 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
39211                 flag="-D_THREAD_SAFE"
39212                 ;;
39213             *-freebsd*)
39214                 flag="-D_THREAD_SAFE"
39215                 ;;
39216             *-hp-hpux* )
39217                 flag="-D_REENTRANT"
39218                 if test "x$GCC" != "xyes"; then
39219                                         flag="$flag -D_RWSTD_MULTI_THREAD"
39220                 fi
39221                 ;;
39222             *solaris* | alpha*-osf*)
39223                 flag="-D_REENTRANT"
39224                 ;;
39225           esac
39226           { echo "$as_me:$LINENO: result: ${flag}" >&5
39227 echo "${ECHO_T}${flag}" >&6; }
39228           if test "x$flag" != xno; then
39229               THREADS_CFLAGS="$THREADS_CFLAGS $flag"
39230           fi
39231
39232                     WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
39233       fi
39234     fi
39235
39236         if test "$wxUSE_THREADS" = "yes" ; then
39237
39238 for ac_func in thr_setconcurrency
39239 do
39240 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39241 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39242 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39243 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39244   echo $ECHO_N "(cached) $ECHO_C" >&6
39245 else
39246   cat >conftest.$ac_ext <<_ACEOF
39247 /* confdefs.h.  */
39248 _ACEOF
39249 cat confdefs.h >>conftest.$ac_ext
39250 cat >>conftest.$ac_ext <<_ACEOF
39251 /* end confdefs.h.  */
39252 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39253    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
39254 #define $ac_func innocuous_$ac_func
39255
39256 /* System header to define __stub macros and hopefully few prototypes,
39257     which can conflict with char $ac_func (); below.
39258     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39259     <limits.h> exists even on freestanding compilers.  */
39260
39261 #ifdef __STDC__
39262 # include <limits.h>
39263 #else
39264 # include <assert.h>
39265 #endif
39266
39267 #undef $ac_func
39268
39269 /* Override any GCC internal prototype to avoid an error.
39270    Use char because int might match the return type of a GCC
39271    builtin and then its argument prototype would still apply.  */
39272 #ifdef __cplusplus
39273 extern "C"
39274 #endif
39275 char $ac_func ();
39276 /* The GNU C library defines this for functions which it implements
39277     to always fail with ENOSYS.  Some functions are actually named
39278     something starting with __ and the normal name is an alias.  */
39279 #if defined __stub_$ac_func || defined __stub___$ac_func
39280 choke me
39281 #endif
39282
39283 int
39284 main ()
39285 {
39286 return $ac_func ();
39287   ;
39288   return 0;
39289 }
39290 _ACEOF
39291 rm -f conftest.$ac_objext conftest$ac_exeext
39292 if { (ac_try="$ac_link"
39293 case "(($ac_try" in
39294   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39295   *) ac_try_echo=$ac_try;;
39296 esac
39297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39298   (eval "$ac_link") 2>conftest.er1
39299   ac_status=$?
39300   grep -v '^ *+' conftest.er1 >conftest.err
39301   rm -f conftest.er1
39302   cat conftest.err >&5
39303   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39304   (exit $ac_status); } && {
39305          test -z "$ac_c_werror_flag" ||
39306          test ! -s conftest.err
39307        } && test -s conftest$ac_exeext &&
39308        $as_test_x conftest$ac_exeext; then
39309   eval "$as_ac_var=yes"
39310 else
39311   echo "$as_me: failed program was:" >&5
39312 sed 's/^/| /' conftest.$ac_ext >&5
39313
39314         eval "$as_ac_var=no"
39315 fi
39316
39317 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39318       conftest$ac_exeext conftest.$ac_ext
39319 fi
39320 ac_res=`eval echo '${'$as_ac_var'}'`
39321                { echo "$as_me:$LINENO: result: $ac_res" >&5
39322 echo "${ECHO_T}$ac_res" >&6; }
39323 if test `eval echo '${'$as_ac_var'}'` = yes; then
39324   cat >>confdefs.h <<_ACEOF
39325 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39326 _ACEOF
39327
39328 fi
39329 done
39330
39331
39332                   { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
39333 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
39334 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
39335   echo $ECHO_N "(cached) $ECHO_C" >&6
39336 else
39337
39338                                 ac_ext=cpp
39339 ac_cpp='$CXXCPP $CPPFLAGS'
39340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39343
39344         cat >conftest.$ac_ext <<_ACEOF
39345 /* confdefs.h.  */
39346 _ACEOF
39347 cat confdefs.h >>conftest.$ac_ext
39348 cat >>conftest.$ac_ext <<_ACEOF
39349 /* end confdefs.h.  */
39350 #include <pthread.h>
39351                void ThreadCleanupFunc(void *p);
39352
39353 int
39354 main ()
39355 {
39356
39357                 void *p;
39358                 pthread_cleanup_push(ThreadCleanupFunc, p);
39359                 pthread_cleanup_pop(0);
39360
39361   ;
39362   return 0;
39363 }
39364 _ACEOF
39365 rm -f conftest.$ac_objext
39366 if { (ac_try="$ac_compile"
39367 case "(($ac_try" in
39368   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39369   *) ac_try_echo=$ac_try;;
39370 esac
39371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39372   (eval "$ac_compile") 2>conftest.er1
39373   ac_status=$?
39374   grep -v '^ *+' conftest.er1 >conftest.err
39375   rm -f conftest.er1
39376   cat conftest.err >&5
39377   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39378   (exit $ac_status); } && {
39379          test -z "$ac_cxx_werror_flag" ||
39380          test ! -s conftest.err
39381        } && test -s conftest.$ac_objext; then
39382
39383                wx_cv_func_pthread_cleanup=yes
39384
39385 else
39386   echo "$as_me: failed program was:" >&5
39387 sed 's/^/| /' conftest.$ac_ext >&5
39388
39389
39390                wx_cv_func_pthread_cleanup=no
39391
39392
39393 fi
39394
39395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39396         ac_ext=c
39397 ac_cpp='$CPP $CPPFLAGS'
39398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39401
39402
39403 fi
39404 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
39405 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
39406       if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
39407         cat >>confdefs.h <<\_ACEOF
39408 #define wxHAVE_PTHREAD_CLEANUP 1
39409 _ACEOF
39410
39411       fi
39412
39413
39414 for ac_header in sched.h
39415 do
39416 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39417 { echo "$as_me:$LINENO: checking for $ac_header" >&5
39418 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
39419 if { as_var=$as_ac_Header; eval "test \"\${$as_var+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 $ac_includes_default
39429
39430 #include <$ac_header>
39431 _ACEOF
39432 rm -f conftest.$ac_objext
39433 if { (ac_try="$ac_compile"
39434 case "(($ac_try" in
39435   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39436   *) ac_try_echo=$ac_try;;
39437 esac
39438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39439   (eval "$ac_compile") 2>conftest.er1
39440   ac_status=$?
39441   grep -v '^ *+' conftest.er1 >conftest.err
39442   rm -f conftest.er1
39443   cat conftest.err >&5
39444   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39445   (exit $ac_status); } && {
39446          test -z "$ac_c_werror_flag" ||
39447          test ! -s conftest.err
39448        } && test -s conftest.$ac_objext; then
39449   eval "$as_ac_Header=yes"
39450 else
39451   echo "$as_me: failed program was:" >&5
39452 sed 's/^/| /' conftest.$ac_ext >&5
39453
39454         eval "$as_ac_Header=no"
39455 fi
39456
39457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39458 fi
39459 ac_res=`eval echo '${'$as_ac_Header'}'`
39460                { echo "$as_me:$LINENO: result: $ac_res" >&5
39461 echo "${ECHO_T}$ac_res" >&6; }
39462 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39463   cat >>confdefs.h <<_ACEOF
39464 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39465 _ACEOF
39466
39467 fi
39468
39469 done
39470
39471       if test "$ac_cv_header_sched_h" = "yes"; then
39472           { echo "$as_me:$LINENO: checking for sched_yield" >&5
39473 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
39474 if test "${ac_cv_func_sched_yield+set}" = set; then
39475   echo $ECHO_N "(cached) $ECHO_C" >&6
39476 else
39477   cat >conftest.$ac_ext <<_ACEOF
39478 /* confdefs.h.  */
39479 _ACEOF
39480 cat confdefs.h >>conftest.$ac_ext
39481 cat >>conftest.$ac_ext <<_ACEOF
39482 /* end confdefs.h.  */
39483 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
39484    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
39485 #define sched_yield innocuous_sched_yield
39486
39487 /* System header to define __stub macros and hopefully few prototypes,
39488     which can conflict with char sched_yield (); below.
39489     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39490     <limits.h> exists even on freestanding compilers.  */
39491
39492 #ifdef __STDC__
39493 # include <limits.h>
39494 #else
39495 # include <assert.h>
39496 #endif
39497
39498 #undef sched_yield
39499
39500 /* Override any GCC internal prototype to avoid an error.
39501    Use char because int might match the return type of a GCC
39502    builtin and then its argument prototype would still apply.  */
39503 #ifdef __cplusplus
39504 extern "C"
39505 #endif
39506 char sched_yield ();
39507 /* The GNU C library defines this for functions which it implements
39508     to always fail with ENOSYS.  Some functions are actually named
39509     something starting with __ and the normal name is an alias.  */
39510 #if defined __stub_sched_yield || defined __stub___sched_yield
39511 choke me
39512 #endif
39513
39514 int
39515 main ()
39516 {
39517 return sched_yield ();
39518   ;
39519   return 0;
39520 }
39521 _ACEOF
39522 rm -f conftest.$ac_objext conftest$ac_exeext
39523 if { (ac_try="$ac_link"
39524 case "(($ac_try" in
39525   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39526   *) ac_try_echo=$ac_try;;
39527 esac
39528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39529   (eval "$ac_link") 2>conftest.er1
39530   ac_status=$?
39531   grep -v '^ *+' conftest.er1 >conftest.err
39532   rm -f conftest.er1
39533   cat conftest.err >&5
39534   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39535   (exit $ac_status); } && {
39536          test -z "$ac_c_werror_flag" ||
39537          test ! -s conftest.err
39538        } && test -s conftest$ac_exeext &&
39539        $as_test_x conftest$ac_exeext; then
39540   ac_cv_func_sched_yield=yes
39541 else
39542   echo "$as_me: failed program was:" >&5
39543 sed 's/^/| /' conftest.$ac_ext >&5
39544
39545         ac_cv_func_sched_yield=no
39546 fi
39547
39548 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39549       conftest$ac_exeext conftest.$ac_ext
39550 fi
39551 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
39552 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
39553 if test $ac_cv_func_sched_yield = yes; then
39554   cat >>confdefs.h <<\_ACEOF
39555 #define HAVE_SCHED_YIELD 1
39556 _ACEOF
39557
39558 else
39559
39560                 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
39561 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
39562 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
39563   echo $ECHO_N "(cached) $ECHO_C" >&6
39564 else
39565   ac_check_lib_save_LIBS=$LIBS
39566 LIBS="-lposix4  $LIBS"
39567 cat >conftest.$ac_ext <<_ACEOF
39568 /* confdefs.h.  */
39569 _ACEOF
39570 cat confdefs.h >>conftest.$ac_ext
39571 cat >>conftest.$ac_ext <<_ACEOF
39572 /* end confdefs.h.  */
39573
39574 /* Override any GCC internal prototype to avoid an error.
39575    Use char because int might match the return type of a GCC
39576    builtin and then its argument prototype would still apply.  */
39577 #ifdef __cplusplus
39578 extern "C"
39579 #endif
39580 char sched_yield ();
39581 int
39582 main ()
39583 {
39584 return sched_yield ();
39585   ;
39586   return 0;
39587 }
39588 _ACEOF
39589 rm -f conftest.$ac_objext conftest$ac_exeext
39590 if { (ac_try="$ac_link"
39591 case "(($ac_try" in
39592   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39593   *) ac_try_echo=$ac_try;;
39594 esac
39595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39596   (eval "$ac_link") 2>conftest.er1
39597   ac_status=$?
39598   grep -v '^ *+' conftest.er1 >conftest.err
39599   rm -f conftest.er1
39600   cat conftest.err >&5
39601   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39602   (exit $ac_status); } && {
39603          test -z "$ac_c_werror_flag" ||
39604          test ! -s conftest.err
39605        } && test -s conftest$ac_exeext &&
39606        $as_test_x conftest$ac_exeext; then
39607   ac_cv_lib_posix4_sched_yield=yes
39608 else
39609   echo "$as_me: failed program was:" >&5
39610 sed 's/^/| /' conftest.$ac_ext >&5
39611
39612         ac_cv_lib_posix4_sched_yield=no
39613 fi
39614
39615 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39616       conftest$ac_exeext conftest.$ac_ext
39617 LIBS=$ac_check_lib_save_LIBS
39618 fi
39619 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
39620 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
39621 if test $ac_cv_lib_posix4_sched_yield = yes; then
39622   cat >>confdefs.h <<\_ACEOF
39623 #define HAVE_SCHED_YIELD 1
39624 _ACEOF
39625  POSIX4_LINK=" -lposix4"
39626 else
39627   { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
39628 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
39629
39630 fi
39631
39632
39633
39634 fi
39635
39636       fi
39637
39638                                           HAVE_PRIOR_FUNCS=0
39639       { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
39640 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
39641 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
39642   echo $ECHO_N "(cached) $ECHO_C" >&6
39643 else
39644   cat >conftest.$ac_ext <<_ACEOF
39645 /* confdefs.h.  */
39646 _ACEOF
39647 cat confdefs.h >>conftest.$ac_ext
39648 cat >>conftest.$ac_ext <<_ACEOF
39649 /* end confdefs.h.  */
39650 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
39651    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
39652 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
39653
39654 /* System header to define __stub macros and hopefully few prototypes,
39655     which can conflict with char pthread_attr_getschedpolicy (); below.
39656     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39657     <limits.h> exists even on freestanding compilers.  */
39658
39659 #ifdef __STDC__
39660 # include <limits.h>
39661 #else
39662 # include <assert.h>
39663 #endif
39664
39665 #undef pthread_attr_getschedpolicy
39666
39667 /* Override any GCC internal prototype to avoid an error.
39668    Use char because int might match the return type of a GCC
39669    builtin and then its argument prototype would still apply.  */
39670 #ifdef __cplusplus
39671 extern "C"
39672 #endif
39673 char pthread_attr_getschedpolicy ();
39674 /* The GNU C library defines this for functions which it implements
39675     to always fail with ENOSYS.  Some functions are actually named
39676     something starting with __ and the normal name is an alias.  */
39677 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
39678 choke me
39679 #endif
39680
39681 int
39682 main ()
39683 {
39684 return pthread_attr_getschedpolicy ();
39685   ;
39686   return 0;
39687 }
39688 _ACEOF
39689 rm -f conftest.$ac_objext conftest$ac_exeext
39690 if { (ac_try="$ac_link"
39691 case "(($ac_try" in
39692   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39693   *) ac_try_echo=$ac_try;;
39694 esac
39695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39696   (eval "$ac_link") 2>conftest.er1
39697   ac_status=$?
39698   grep -v '^ *+' conftest.er1 >conftest.err
39699   rm -f conftest.er1
39700   cat conftest.err >&5
39701   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39702   (exit $ac_status); } && {
39703          test -z "$ac_c_werror_flag" ||
39704          test ! -s conftest.err
39705        } && test -s conftest$ac_exeext &&
39706        $as_test_x conftest$ac_exeext; then
39707   ac_cv_func_pthread_attr_getschedpolicy=yes
39708 else
39709   echo "$as_me: failed program was:" >&5
39710 sed 's/^/| /' conftest.$ac_ext >&5
39711
39712         ac_cv_func_pthread_attr_getschedpolicy=no
39713 fi
39714
39715 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39716       conftest$ac_exeext conftest.$ac_ext
39717 fi
39718 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
39719 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
39720 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
39721   { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
39722 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
39723 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
39724   echo $ECHO_N "(cached) $ECHO_C" >&6
39725 else
39726   cat >conftest.$ac_ext <<_ACEOF
39727 /* confdefs.h.  */
39728 _ACEOF
39729 cat confdefs.h >>conftest.$ac_ext
39730 cat >>conftest.$ac_ext <<_ACEOF
39731 /* end confdefs.h.  */
39732 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
39733    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
39734 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
39735
39736 /* System header to define __stub macros and hopefully few prototypes,
39737     which can conflict with char pthread_attr_setschedparam (); below.
39738     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39739     <limits.h> exists even on freestanding compilers.  */
39740
39741 #ifdef __STDC__
39742 # include <limits.h>
39743 #else
39744 # include <assert.h>
39745 #endif
39746
39747 #undef pthread_attr_setschedparam
39748
39749 /* Override any GCC internal prototype to avoid an error.
39750    Use char because int might match the return type of a GCC
39751    builtin and then its argument prototype would still apply.  */
39752 #ifdef __cplusplus
39753 extern "C"
39754 #endif
39755 char pthread_attr_setschedparam ();
39756 /* The GNU C library defines this for functions which it implements
39757     to always fail with ENOSYS.  Some functions are actually named
39758     something starting with __ and the normal name is an alias.  */
39759 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
39760 choke me
39761 #endif
39762
39763 int
39764 main ()
39765 {
39766 return pthread_attr_setschedparam ();
39767   ;
39768   return 0;
39769 }
39770 _ACEOF
39771 rm -f conftest.$ac_objext conftest$ac_exeext
39772 if { (ac_try="$ac_link"
39773 case "(($ac_try" in
39774   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39775   *) ac_try_echo=$ac_try;;
39776 esac
39777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39778   (eval "$ac_link") 2>conftest.er1
39779   ac_status=$?
39780   grep -v '^ *+' conftest.er1 >conftest.err
39781   rm -f conftest.er1
39782   cat conftest.err >&5
39783   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39784   (exit $ac_status); } && {
39785          test -z "$ac_c_werror_flag" ||
39786          test ! -s conftest.err
39787        } && test -s conftest$ac_exeext &&
39788        $as_test_x conftest$ac_exeext; then
39789   ac_cv_func_pthread_attr_setschedparam=yes
39790 else
39791   echo "$as_me: failed program was:" >&5
39792 sed 's/^/| /' conftest.$ac_ext >&5
39793
39794         ac_cv_func_pthread_attr_setschedparam=no
39795 fi
39796
39797 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39798       conftest$ac_exeext conftest.$ac_ext
39799 fi
39800 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
39801 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
39802 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
39803   { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
39804 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
39805 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
39806   echo $ECHO_N "(cached) $ECHO_C" >&6
39807 else
39808   cat >conftest.$ac_ext <<_ACEOF
39809 /* confdefs.h.  */
39810 _ACEOF
39811 cat confdefs.h >>conftest.$ac_ext
39812 cat >>conftest.$ac_ext <<_ACEOF
39813 /* end confdefs.h.  */
39814 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
39815    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
39816 #define sched_get_priority_max innocuous_sched_get_priority_max
39817
39818 /* System header to define __stub macros and hopefully few prototypes,
39819     which can conflict with char sched_get_priority_max (); below.
39820     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39821     <limits.h> exists even on freestanding compilers.  */
39822
39823 #ifdef __STDC__
39824 # include <limits.h>
39825 #else
39826 # include <assert.h>
39827 #endif
39828
39829 #undef sched_get_priority_max
39830
39831 /* Override any GCC internal prototype to avoid an error.
39832    Use char because int might match the return type of a GCC
39833    builtin and then its argument prototype would still apply.  */
39834 #ifdef __cplusplus
39835 extern "C"
39836 #endif
39837 char sched_get_priority_max ();
39838 /* The GNU C library defines this for functions which it implements
39839     to always fail with ENOSYS.  Some functions are actually named
39840     something starting with __ and the normal name is an alias.  */
39841 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
39842 choke me
39843 #endif
39844
39845 int
39846 main ()
39847 {
39848 return sched_get_priority_max ();
39849   ;
39850   return 0;
39851 }
39852 _ACEOF
39853 rm -f conftest.$ac_objext conftest$ac_exeext
39854 if { (ac_try="$ac_link"
39855 case "(($ac_try" in
39856   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39857   *) ac_try_echo=$ac_try;;
39858 esac
39859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39860   (eval "$ac_link") 2>conftest.er1
39861   ac_status=$?
39862   grep -v '^ *+' conftest.er1 >conftest.err
39863   rm -f conftest.er1
39864   cat conftest.err >&5
39865   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39866   (exit $ac_status); } && {
39867          test -z "$ac_c_werror_flag" ||
39868          test ! -s conftest.err
39869        } && test -s conftest$ac_exeext &&
39870        $as_test_x conftest$ac_exeext; then
39871   ac_cv_func_sched_get_priority_max=yes
39872 else
39873   echo "$as_me: failed program was:" >&5
39874 sed 's/^/| /' conftest.$ac_ext >&5
39875
39876         ac_cv_func_sched_get_priority_max=no
39877 fi
39878
39879 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39880       conftest$ac_exeext conftest.$ac_ext
39881 fi
39882 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
39883 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
39884 if test $ac_cv_func_sched_get_priority_max = yes; then
39885   HAVE_PRIOR_FUNCS=1
39886 else
39887   { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
39888 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
39889 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
39890   echo $ECHO_N "(cached) $ECHO_C" >&6
39891 else
39892   ac_check_lib_save_LIBS=$LIBS
39893 LIBS="-lposix4  $LIBS"
39894 cat >conftest.$ac_ext <<_ACEOF
39895 /* confdefs.h.  */
39896 _ACEOF
39897 cat confdefs.h >>conftest.$ac_ext
39898 cat >>conftest.$ac_ext <<_ACEOF
39899 /* end confdefs.h.  */
39900
39901 /* Override any GCC internal prototype to avoid an error.
39902    Use char because int might match the return type of a GCC
39903    builtin and then its argument prototype would still apply.  */
39904 #ifdef __cplusplus
39905 extern "C"
39906 #endif
39907 char sched_get_priority_max ();
39908 int
39909 main ()
39910 {
39911 return sched_get_priority_max ();
39912   ;
39913   return 0;
39914 }
39915 _ACEOF
39916 rm -f conftest.$ac_objext conftest$ac_exeext
39917 if { (ac_try="$ac_link"
39918 case "(($ac_try" in
39919   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39920   *) ac_try_echo=$ac_try;;
39921 esac
39922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39923   (eval "$ac_link") 2>conftest.er1
39924   ac_status=$?
39925   grep -v '^ *+' conftest.er1 >conftest.err
39926   rm -f conftest.er1
39927   cat conftest.err >&5
39928   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39929   (exit $ac_status); } && {
39930          test -z "$ac_c_werror_flag" ||
39931          test ! -s conftest.err
39932        } && test -s conftest$ac_exeext &&
39933        $as_test_x conftest$ac_exeext; then
39934   ac_cv_lib_posix4_sched_get_priority_max=yes
39935 else
39936   echo "$as_me: failed program was:" >&5
39937 sed 's/^/| /' conftest.$ac_ext >&5
39938
39939         ac_cv_lib_posix4_sched_get_priority_max=no
39940 fi
39941
39942 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39943       conftest$ac_exeext conftest.$ac_ext
39944 LIBS=$ac_check_lib_save_LIBS
39945 fi
39946 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
39947 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
39948 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
39949
39950                                 HAVE_PRIOR_FUNCS=1
39951                                 POSIX4_LINK=" -lposix4"
39952
39953 fi
39954
39955
39956 fi
39957
39958
39959 fi
39960
39961
39962 fi
39963
39964
39965       if test "$HAVE_PRIOR_FUNCS" = 1; then
39966         cat >>confdefs.h <<\_ACEOF
39967 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
39968 _ACEOF
39969
39970       else
39971         { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
39972 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
39973       fi
39974
39975       { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
39976 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
39977 if test "${ac_cv_func_pthread_cancel+set}" = set; then
39978   echo $ECHO_N "(cached) $ECHO_C" >&6
39979 else
39980   cat >conftest.$ac_ext <<_ACEOF
39981 /* confdefs.h.  */
39982 _ACEOF
39983 cat confdefs.h >>conftest.$ac_ext
39984 cat >>conftest.$ac_ext <<_ACEOF
39985 /* end confdefs.h.  */
39986 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
39987    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
39988 #define pthread_cancel innocuous_pthread_cancel
39989
39990 /* System header to define __stub macros and hopefully few prototypes,
39991     which can conflict with char pthread_cancel (); below.
39992     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39993     <limits.h> exists even on freestanding compilers.  */
39994
39995 #ifdef __STDC__
39996 # include <limits.h>
39997 #else
39998 # include <assert.h>
39999 #endif
40000
40001 #undef pthread_cancel
40002
40003 /* Override any GCC internal prototype to avoid an error.
40004    Use char because int might match the return type of a GCC
40005    builtin and then its argument prototype would still apply.  */
40006 #ifdef __cplusplus
40007 extern "C"
40008 #endif
40009 char pthread_cancel ();
40010 /* The GNU C library defines this for functions which it implements
40011     to always fail with ENOSYS.  Some functions are actually named
40012     something starting with __ and the normal name is an alias.  */
40013 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
40014 choke me
40015 #endif
40016
40017 int
40018 main ()
40019 {
40020 return pthread_cancel ();
40021   ;
40022   return 0;
40023 }
40024 _ACEOF
40025 rm -f conftest.$ac_objext conftest$ac_exeext
40026 if { (ac_try="$ac_link"
40027 case "(($ac_try" in
40028   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40029   *) ac_try_echo=$ac_try;;
40030 esac
40031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40032   (eval "$ac_link") 2>conftest.er1
40033   ac_status=$?
40034   grep -v '^ *+' conftest.er1 >conftest.err
40035   rm -f conftest.er1
40036   cat conftest.err >&5
40037   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40038   (exit $ac_status); } && {
40039          test -z "$ac_c_werror_flag" ||
40040          test ! -s conftest.err
40041        } && test -s conftest$ac_exeext &&
40042        $as_test_x conftest$ac_exeext; then
40043   ac_cv_func_pthread_cancel=yes
40044 else
40045   echo "$as_me: failed program was:" >&5
40046 sed 's/^/| /' conftest.$ac_ext >&5
40047
40048         ac_cv_func_pthread_cancel=no
40049 fi
40050
40051 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40052       conftest$ac_exeext conftest.$ac_ext
40053 fi
40054 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
40055 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
40056 if test $ac_cv_func_pthread_cancel = yes; then
40057   cat >>confdefs.h <<\_ACEOF
40058 #define HAVE_PTHREAD_CANCEL 1
40059 _ACEOF
40060
40061 else
40062   { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
40063 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
40064 fi
40065
40066
40067       { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
40068 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
40069 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
40070   echo $ECHO_N "(cached) $ECHO_C" >&6
40071 else
40072   cat >conftest.$ac_ext <<_ACEOF
40073 /* confdefs.h.  */
40074 _ACEOF
40075 cat confdefs.h >>conftest.$ac_ext
40076 cat >>conftest.$ac_ext <<_ACEOF
40077 /* end confdefs.h.  */
40078 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
40079    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
40080 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
40081
40082 /* System header to define __stub macros and hopefully few prototypes,
40083     which can conflict with char pthread_mutex_timedlock (); below.
40084     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40085     <limits.h> exists even on freestanding compilers.  */
40086
40087 #ifdef __STDC__
40088 # include <limits.h>
40089 #else
40090 # include <assert.h>
40091 #endif
40092
40093 #undef pthread_mutex_timedlock
40094
40095 /* Override any GCC internal prototype to avoid an error.
40096    Use char because int might match the return type of a GCC
40097    builtin and then its argument prototype would still apply.  */
40098 #ifdef __cplusplus
40099 extern "C"
40100 #endif
40101 char pthread_mutex_timedlock ();
40102 /* The GNU C library defines this for functions which it implements
40103     to always fail with ENOSYS.  Some functions are actually named
40104     something starting with __ and the normal name is an alias.  */
40105 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
40106 choke me
40107 #endif
40108
40109 int
40110 main ()
40111 {
40112 return pthread_mutex_timedlock ();
40113   ;
40114   return 0;
40115 }
40116 _ACEOF
40117 rm -f conftest.$ac_objext conftest$ac_exeext
40118 if { (ac_try="$ac_link"
40119 case "(($ac_try" in
40120   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40121   *) ac_try_echo=$ac_try;;
40122 esac
40123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40124   (eval "$ac_link") 2>conftest.er1
40125   ac_status=$?
40126   grep -v '^ *+' conftest.er1 >conftest.err
40127   rm -f conftest.er1
40128   cat conftest.err >&5
40129   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40130   (exit $ac_status); } && {
40131          test -z "$ac_c_werror_flag" ||
40132          test ! -s conftest.err
40133        } && test -s conftest$ac_exeext &&
40134        $as_test_x conftest$ac_exeext; then
40135   ac_cv_func_pthread_mutex_timedlock=yes
40136 else
40137   echo "$as_me: failed program was:" >&5
40138 sed 's/^/| /' conftest.$ac_ext >&5
40139
40140         ac_cv_func_pthread_mutex_timedlock=no
40141 fi
40142
40143 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40144       conftest$ac_exeext conftest.$ac_ext
40145 fi
40146 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
40147 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
40148 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
40149   cat >>confdefs.h <<\_ACEOF
40150 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
40151 _ACEOF
40152
40153 else
40154   { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
40155 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
40156 fi
40157
40158
40159       { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
40160 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
40161 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
40162   echo $ECHO_N "(cached) $ECHO_C" >&6
40163 else
40164   cat >conftest.$ac_ext <<_ACEOF
40165 /* confdefs.h.  */
40166 _ACEOF
40167 cat confdefs.h >>conftest.$ac_ext
40168 cat >>conftest.$ac_ext <<_ACEOF
40169 /* end confdefs.h.  */
40170 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
40171    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
40172 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
40173
40174 /* System header to define __stub macros and hopefully few prototypes,
40175     which can conflict with char pthread_attr_setstacksize (); below.
40176     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40177     <limits.h> exists even on freestanding compilers.  */
40178
40179 #ifdef __STDC__
40180 # include <limits.h>
40181 #else
40182 # include <assert.h>
40183 #endif
40184
40185 #undef pthread_attr_setstacksize
40186
40187 /* Override any GCC internal prototype to avoid an error.
40188    Use char because int might match the return type of a GCC
40189    builtin and then its argument prototype would still apply.  */
40190 #ifdef __cplusplus
40191 extern "C"
40192 #endif
40193 char pthread_attr_setstacksize ();
40194 /* The GNU C library defines this for functions which it implements
40195     to always fail with ENOSYS.  Some functions are actually named
40196     something starting with __ and the normal name is an alias.  */
40197 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
40198 choke me
40199 #endif
40200
40201 int
40202 main ()
40203 {
40204 return pthread_attr_setstacksize ();
40205   ;
40206   return 0;
40207 }
40208 _ACEOF
40209 rm -f conftest.$ac_objext conftest$ac_exeext
40210 if { (ac_try="$ac_link"
40211 case "(($ac_try" in
40212   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40213   *) ac_try_echo=$ac_try;;
40214 esac
40215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40216   (eval "$ac_link") 2>conftest.er1
40217   ac_status=$?
40218   grep -v '^ *+' conftest.er1 >conftest.err
40219   rm -f conftest.er1
40220   cat conftest.err >&5
40221   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40222   (exit $ac_status); } && {
40223          test -z "$ac_c_werror_flag" ||
40224          test ! -s conftest.err
40225        } && test -s conftest$ac_exeext &&
40226        $as_test_x conftest$ac_exeext; then
40227   ac_cv_func_pthread_attr_setstacksize=yes
40228 else
40229   echo "$as_me: failed program was:" >&5
40230 sed 's/^/| /' conftest.$ac_ext >&5
40231
40232         ac_cv_func_pthread_attr_setstacksize=no
40233 fi
40234
40235 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40236       conftest$ac_exeext conftest.$ac_ext
40237 fi
40238 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
40239 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
40240 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
40241   cat >>confdefs.h <<\_ACEOF
40242 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
40243 _ACEOF
40244
40245 fi
40246
40247
40248
40249       { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
40250 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
40251 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
40252   echo $ECHO_N "(cached) $ECHO_C" >&6
40253 else
40254
40255         cat >conftest.$ac_ext <<_ACEOF
40256 /* confdefs.h.  */
40257 _ACEOF
40258 cat confdefs.h >>conftest.$ac_ext
40259 cat >>conftest.$ac_ext <<_ACEOF
40260 /* end confdefs.h.  */
40261 #include <pthread.h>
40262 int
40263 main ()
40264 {
40265
40266                pthread_mutexattr_t attr;
40267                pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40268
40269   ;
40270   return 0;
40271 }
40272 _ACEOF
40273 rm -f conftest.$ac_objext
40274 if { (ac_try="$ac_compile"
40275 case "(($ac_try" in
40276   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40277   *) ac_try_echo=$ac_try;;
40278 esac
40279 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40280   (eval "$ac_compile") 2>conftest.er1
40281   ac_status=$?
40282   grep -v '^ *+' conftest.er1 >conftest.err
40283   rm -f conftest.er1
40284   cat conftest.err >&5
40285   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40286   (exit $ac_status); } && {
40287          test -z "$ac_c_werror_flag" ||
40288          test ! -s conftest.err
40289        } && test -s conftest.$ac_objext; then
40290   wx_cv_type_pthread_mutexattr_t=yes
40291 else
40292   echo "$as_me: failed program was:" >&5
40293 sed 's/^/| /' conftest.$ac_ext >&5
40294
40295         wx_cv_type_pthread_mutexattr_t=no
40296
40297 fi
40298
40299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40300
40301 fi
40302 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
40303 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
40304
40305       if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
40306         cat >>confdefs.h <<\_ACEOF
40307 #define HAVE_PTHREAD_MUTEXATTR_T 1
40308 _ACEOF
40309
40310
40311                         { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
40312 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
40313 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
40314   echo $ECHO_N "(cached) $ECHO_C" >&6
40315 else
40316
40317                        cat >conftest.$ac_ext <<_ACEOF
40318 /* confdefs.h.  */
40319 _ACEOF
40320 cat confdefs.h >>conftest.$ac_ext
40321 cat >>conftest.$ac_ext <<_ACEOF
40322 /* end confdefs.h.  */
40323 #include <pthread.h>
40324 int
40325 main ()
40326 {
40327
40328                                pthread_mutexattr_t attr;
40329                                pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40330
40331   ;
40332   return 0;
40333 }
40334 _ACEOF
40335 rm -f conftest.$ac_objext
40336 if { (ac_try="$ac_compile"
40337 case "(($ac_try" in
40338   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40339   *) ac_try_echo=$ac_try;;
40340 esac
40341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40342   (eval "$ac_compile") 2>conftest.er1
40343   ac_status=$?
40344   grep -v '^ *+' conftest.er1 >conftest.err
40345   rm -f conftest.er1
40346   cat conftest.err >&5
40347   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40348   (exit $ac_status); } && {
40349          test -z "$ac_c_werror_flag" ||
40350          test ! -s conftest.err
40351        } && test -s conftest.$ac_objext; then
40352   wx_cv_func_pthread_mutexattr_settype_decl=yes
40353 else
40354   echo "$as_me: failed program was:" >&5
40355 sed 's/^/| /' conftest.$ac_ext >&5
40356
40357         wx_cv_func_pthread_mutexattr_settype_decl=no
40358
40359 fi
40360
40361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40362
40363 fi
40364 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
40365 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
40366         if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
40367             cat >>confdefs.h <<\_ACEOF
40368 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
40369 _ACEOF
40370
40371         fi
40372       else
40373                 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
40374 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
40375 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
40376   echo $ECHO_N "(cached) $ECHO_C" >&6
40377 else
40378
40379             cat >conftest.$ac_ext <<_ACEOF
40380 /* confdefs.h.  */
40381 _ACEOF
40382 cat confdefs.h >>conftest.$ac_ext
40383 cat >>conftest.$ac_ext <<_ACEOF
40384 /* end confdefs.h.  */
40385 #include <pthread.h>
40386 int
40387 main ()
40388 {
40389
40390                     pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
40391
40392   ;
40393   return 0;
40394 }
40395 _ACEOF
40396 rm -f conftest.$ac_objext
40397 if { (ac_try="$ac_compile"
40398 case "(($ac_try" in
40399   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40400   *) ac_try_echo=$ac_try;;
40401 esac
40402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40403   (eval "$ac_compile") 2>conftest.er1
40404   ac_status=$?
40405   grep -v '^ *+' conftest.er1 >conftest.err
40406   rm -f conftest.er1
40407   cat conftest.err >&5
40408   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40409   (exit $ac_status); } && {
40410          test -z "$ac_c_werror_flag" ||
40411          test ! -s conftest.err
40412        } && test -s conftest.$ac_objext; then
40413
40414                     wx_cv_type_pthread_rec_mutex_init=yes
40415
40416 else
40417   echo "$as_me: failed program was:" >&5
40418 sed 's/^/| /' conftest.$ac_ext >&5
40419
40420
40421                     wx_cv_type_pthread_rec_mutex_init=no
40422
40423
40424 fi
40425
40426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40427
40428 fi
40429 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
40430 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
40431         if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
40432           cat >>confdefs.h <<\_ACEOF
40433 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
40434 _ACEOF
40435
40436         else
40437                     { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
40438 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
40439         fi
40440       fi
40441
40442       if test "$wxUSE_COMPILER_TLS" = "auto"; then
40443           if test "$USE_NETBSD" = 1; then
40444               { echo "$as_me:$LINENO: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&5
40445 echo "$as_me: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&2;}
40446               wxUSE_COMPILER_TLS=no
40447           else
40448               wxUSE_COMPILER_TLS=yes
40449           fi
40450       fi
40451
40452       if test "$wxUSE_COMPILER_TLS" = "yes"; then
40453                     { echo "$as_me:$LINENO: checking for __thread keyword" >&5
40454 echo $ECHO_N "checking for __thread keyword... $ECHO_C" >&6; }
40455 if test "${wx_cv_cc___thread+set}" = set; then
40456   echo $ECHO_N "(cached) $ECHO_C" >&6
40457 else
40458
40459                   cat >conftest.$ac_ext <<_ACEOF
40460 /* confdefs.h.  */
40461 _ACEOF
40462 cat confdefs.h >>conftest.$ac_ext
40463 cat >>conftest.$ac_ext <<_ACEOF
40464 /* end confdefs.h.  */
40465 #include <pthread.h>
40466 int
40467 main ()
40468 {
40469
40470                           static __thread int n = 0;
40471                           static __thread int *p = 0;
40472
40473   ;
40474   return 0;
40475 }
40476 _ACEOF
40477 rm -f conftest.$ac_objext
40478 if { (ac_try="$ac_compile"
40479 case "(($ac_try" in
40480   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40481   *) ac_try_echo=$ac_try;;
40482 esac
40483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40484   (eval "$ac_compile") 2>conftest.er1
40485   ac_status=$?
40486   grep -v '^ *+' conftest.er1 >conftest.err
40487   rm -f conftest.er1
40488   cat conftest.err >&5
40489   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40490   (exit $ac_status); } && {
40491          test -z "$ac_c_werror_flag" ||
40492          test ! -s conftest.err
40493        } && test -s conftest.$ac_objext; then
40494   wx_cv_cc___thread=yes
40495 else
40496   echo "$as_me: failed program was:" >&5
40497 sed 's/^/| /' conftest.$ac_ext >&5
40498
40499         wx_cv_cc___thread=no
40500
40501 fi
40502
40503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40504
40505
40506 fi
40507 { echo "$as_me:$LINENO: result: $wx_cv_cc___thread" >&5
40508 echo "${ECHO_T}$wx_cv_cc___thread" >&6; }
40509
40510           if test "$wx_cv_cc___thread" = "yes"; then
40511
40512   GXX_VERSION=""
40513
40514
40515
40516   { echo "$as_me:$LINENO: checking if gcc accepts -dumpversion option" >&5
40517 echo $ECHO_N "checking if gcc accepts -dumpversion option... $ECHO_C" >&6; }
40518
40519   if  test "x$GCC" = "xyes" ; then
40520
40521     if  test -z "" ; then
40522
40523       ax_gcc_option_test="int main()
40524 {
40525         return 0;
40526 }"
40527
40528 else
40529
40530       ax_gcc_option_test=""
40531
40532 fi
40533
40534
40535     # Dump the test program to file
40536     cat <<EOF > conftest.c
40537 $ax_gcc_option_test
40538 EOF
40539
40540     # Dump back the file to the log, useful for debugging purposes
40541     { ac_try='cat conftest.c 1>&5'
40542   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40543   (eval $ac_try) 2>&5
40544   ac_status=$?
40545   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40546   (exit $ac_status); }; }
40547
40548     if  { ac_try='$CC  -dumpversion -c conftest.c 1>&5'
40549   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40550   (eval $ac_try) 2>&5
40551   ac_status=$?
40552   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40553   (exit $ac_status); }; } ; then
40554
40555                 { echo "$as_me:$LINENO: result: yes" >&5
40556 echo "${ECHO_T}yes" >&6; }
40557
40558     ax_gcc_version_option=yes
40559
40560
40561 else
40562
40563                 { echo "$as_me:$LINENO: result: no" >&5
40564 echo "${ECHO_T}no" >&6; }
40565
40566     ax_gcc_version_option=no
40567
40568
40569 fi
40570
40571
40572 else
40573
40574     { echo "$as_me:$LINENO: result: no gcc available" >&5
40575 echo "${ECHO_T}no gcc available" >&6; }
40576
40577 fi
40578
40579
40580   if test "x$GXX" = "xyes"; then
40581
40582     if test "x$ax_gxx_version_option" != "no"; then
40583
40584       { echo "$as_me:$LINENO: checking gxx version" >&5
40585 echo $ECHO_N "checking gxx version... $ECHO_C" >&6; }
40586 if test "${ax_cv_gxx_version+set}" = set; then
40587   echo $ECHO_N "(cached) $ECHO_C" >&6
40588 else
40589
40590         ax_cv_gxx_version="`$CXX -dumpversion`"
40591         if test "x$ax_cv_gxx_version" = "x"; then
40592
40593           ax_cv_gxx_version=""
40594
40595 fi
40596
40597
40598 fi
40599 { echo "$as_me:$LINENO: result: $ax_cv_gxx_version" >&5
40600 echo "${ECHO_T}$ax_cv_gxx_version" >&6; }
40601       GXX_VERSION=$ax_cv_gxx_version
40602
40603 fi
40604
40605
40606 fi
40607
40608
40609
40610               if test -n "$ax_cv_gxx_version"; then
40611                                                                                                                                                                   { echo "$as_me:$LINENO: checking whether __thread support in g++ is usable" >&5
40612 echo $ECHO_N "checking whether __thread support in g++ is usable... $ECHO_C" >&6; }
40613                   case "$ax_cv_gxx_version" in
40614                     1.* | 2.* | 3.* )
40615                         { echo "$as_me:$LINENO: result: no, it's broken" >&5
40616 echo "${ECHO_T}no, it's broken" >&6; }
40617                         wx_cv_cc___thread=no
40618                         ;;
40619                     *)
40620                         { echo "$as_me:$LINENO: result: yes, it works" >&5
40621 echo "${ECHO_T}yes, it works" >&6; }
40622                         ;;
40623                   esac
40624               fi
40625           fi
40626
40627           if test "$wx_cv_cc___thread" = "yes"; then
40628             cat >>confdefs.h <<\_ACEOF
40629 #define HAVE___THREAD_KEYWORD 1
40630 _ACEOF
40631
40632           fi
40633         fi
40634     fi
40635
40636 else
40637     if test "$wxUSE_THREADS" = "yes" ; then
40638       case "${host}" in
40639         x86_64-*-mingw32* )
40640         ;;
40641         *-*-mingw32* )
40642                         { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
40643 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
40644 if test "${wx_cv_cflags_mthread+set}" = set; then
40645   echo $ECHO_N "(cached) $ECHO_C" >&6
40646 else
40647
40648                     CFLAGS_OLD="$CFLAGS"
40649                     CFLAGS="-mthreads $CFLAGS"
40650                     cat >conftest.$ac_ext <<_ACEOF
40651 /* confdefs.h.  */
40652 _ACEOF
40653 cat confdefs.h >>conftest.$ac_ext
40654 cat >>conftest.$ac_ext <<_ACEOF
40655 /* end confdefs.h.  */
40656
40657 int
40658 main ()
40659 {
40660
40661   ;
40662   return 0;
40663 }
40664 _ACEOF
40665 rm -f conftest.$ac_objext
40666 if { (ac_try="$ac_compile"
40667 case "(($ac_try" in
40668   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40669   *) ac_try_echo=$ac_try;;
40670 esac
40671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40672   (eval "$ac_compile") 2>conftest.er1
40673   ac_status=$?
40674   grep -v '^ *+' conftest.er1 >conftest.err
40675   rm -f conftest.er1
40676   cat conftest.err >&5
40677   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40678   (exit $ac_status); } && {
40679          test -z "$ac_c_werror_flag" ||
40680          test ! -s conftest.err
40681        } && test -s conftest.$ac_objext; then
40682   wx_cv_cflags_mthread=yes
40683 else
40684   echo "$as_me: failed program was:" >&5
40685 sed 's/^/| /' conftest.$ac_ext >&5
40686
40687         wx_cv_cflags_mthread=no
40688
40689 fi
40690
40691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40692
40693
40694 fi
40695 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
40696 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
40697
40698             if test "$wx_cv_cflags_mthread" = "yes"; then
40699                                 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
40700                 LDFLAGS="$LDFLAGS -mthreads"
40701             else
40702                                 CFLAGS="$CFLAGS_OLD"
40703             fi
40704         ;;
40705         *-pc-os2*emx )
40706             WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
40707             LDFLAGS="$LDFLAGS -Zmt"
40708         ;;
40709       esac
40710     fi
40711 fi
40712
40713 { echo "$as_me:$LINENO: checking for localtime_r" >&5
40714 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
40715 if test "${ac_cv_func_localtime_r+set}" = set; then
40716   echo $ECHO_N "(cached) $ECHO_C" >&6
40717 else
40718   cat >conftest.$ac_ext <<_ACEOF
40719 /* confdefs.h.  */
40720 _ACEOF
40721 cat confdefs.h >>conftest.$ac_ext
40722 cat >>conftest.$ac_ext <<_ACEOF
40723 /* end confdefs.h.  */
40724 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
40725    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
40726 #define localtime_r innocuous_localtime_r
40727
40728 /* System header to define __stub macros and hopefully few prototypes,
40729     which can conflict with char localtime_r (); below.
40730     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40731     <limits.h> exists even on freestanding compilers.  */
40732
40733 #ifdef __STDC__
40734 # include <limits.h>
40735 #else
40736 # include <assert.h>
40737 #endif
40738
40739 #undef localtime_r
40740
40741 /* Override any GCC internal prototype to avoid an error.
40742    Use char because int might match the return type of a GCC
40743    builtin and then its argument prototype would still apply.  */
40744 #ifdef __cplusplus
40745 extern "C"
40746 #endif
40747 char localtime_r ();
40748 /* The GNU C library defines this for functions which it implements
40749     to always fail with ENOSYS.  Some functions are actually named
40750     something starting with __ and the normal name is an alias.  */
40751 #if defined __stub_localtime_r || defined __stub___localtime_r
40752 choke me
40753 #endif
40754
40755 int
40756 main ()
40757 {
40758 return localtime_r ();
40759   ;
40760   return 0;
40761 }
40762 _ACEOF
40763 rm -f conftest.$ac_objext conftest$ac_exeext
40764 if { (ac_try="$ac_link"
40765 case "(($ac_try" in
40766   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40767   *) ac_try_echo=$ac_try;;
40768 esac
40769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40770   (eval "$ac_link") 2>conftest.er1
40771   ac_status=$?
40772   grep -v '^ *+' conftest.er1 >conftest.err
40773   rm -f conftest.er1
40774   cat conftest.err >&5
40775   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40776   (exit $ac_status); } && {
40777          test -z "$ac_c_werror_flag" ||
40778          test ! -s conftest.err
40779        } && test -s conftest$ac_exeext &&
40780        $as_test_x conftest$ac_exeext; then
40781   ac_cv_func_localtime_r=yes
40782 else
40783   echo "$as_me: failed program was:" >&5
40784 sed 's/^/| /' conftest.$ac_ext >&5
40785
40786         ac_cv_func_localtime_r=no
40787 fi
40788
40789 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40790       conftest$ac_exeext conftest.$ac_ext
40791 fi
40792 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
40793 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
40794 if test $ac_cv_func_localtime_r = yes; then
40795    cat >>confdefs.h <<\_ACEOF
40796 #define HAVE_LOCALTIME_R 1
40797 _ACEOF
40798
40799 fi
40800
40801 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
40802 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
40803 if test "${ac_cv_func_gmtime_r+set}" = set; then
40804   echo $ECHO_N "(cached) $ECHO_C" >&6
40805 else
40806   cat >conftest.$ac_ext <<_ACEOF
40807 /* confdefs.h.  */
40808 _ACEOF
40809 cat confdefs.h >>conftest.$ac_ext
40810 cat >>conftest.$ac_ext <<_ACEOF
40811 /* end confdefs.h.  */
40812 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
40813    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
40814 #define gmtime_r innocuous_gmtime_r
40815
40816 /* System header to define __stub macros and hopefully few prototypes,
40817     which can conflict with char gmtime_r (); below.
40818     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40819     <limits.h> exists even on freestanding compilers.  */
40820
40821 #ifdef __STDC__
40822 # include <limits.h>
40823 #else
40824 # include <assert.h>
40825 #endif
40826
40827 #undef gmtime_r
40828
40829 /* Override any GCC internal prototype to avoid an error.
40830    Use char because int might match the return type of a GCC
40831    builtin and then its argument prototype would still apply.  */
40832 #ifdef __cplusplus
40833 extern "C"
40834 #endif
40835 char gmtime_r ();
40836 /* The GNU C library defines this for functions which it implements
40837     to always fail with ENOSYS.  Some functions are actually named
40838     something starting with __ and the normal name is an alias.  */
40839 #if defined __stub_gmtime_r || defined __stub___gmtime_r
40840 choke me
40841 #endif
40842
40843 int
40844 main ()
40845 {
40846 return gmtime_r ();
40847   ;
40848   return 0;
40849 }
40850 _ACEOF
40851 rm -f conftest.$ac_objext conftest$ac_exeext
40852 if { (ac_try="$ac_link"
40853 case "(($ac_try" in
40854   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40855   *) ac_try_echo=$ac_try;;
40856 esac
40857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40858   (eval "$ac_link") 2>conftest.er1
40859   ac_status=$?
40860   grep -v '^ *+' conftest.er1 >conftest.err
40861   rm -f conftest.er1
40862   cat conftest.err >&5
40863   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40864   (exit $ac_status); } && {
40865          test -z "$ac_c_werror_flag" ||
40866          test ! -s conftest.err
40867        } && test -s conftest$ac_exeext &&
40868        $as_test_x conftest$ac_exeext; then
40869   ac_cv_func_gmtime_r=yes
40870 else
40871   echo "$as_me: failed program was:" >&5
40872 sed 's/^/| /' conftest.$ac_ext >&5
40873
40874         ac_cv_func_gmtime_r=no
40875 fi
40876
40877 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40878       conftest$ac_exeext conftest.$ac_ext
40879 fi
40880 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
40881 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
40882 if test $ac_cv_func_gmtime_r = yes; then
40883    cat >>confdefs.h <<\_ACEOF
40884 #define HAVE_GMTIME_R 1
40885 _ACEOF
40886
40887 fi
40888
40889
40890
40891
40892     ac_ext=c
40893 ac_cpp='$CPP $CPPFLAGS'
40894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40897
40898     { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
40899 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
40900
40901     if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
40902   echo $ECHO_N "(cached) $ECHO_C" >&6
40903 else
40904
40905
40906 ################################################################
40907
40908 ac_cv_func_which_gethostbyname_r=unknown
40909
40910 #
40911 # ONE ARGUMENT (sanity check)
40912 #
40913
40914 # This should fail, as there is no variant of gethostbyname_r() that takes
40915 # a single argument. If it actually compiles, then we can assume that
40916 # netdb.h is not declaring the function, and the compiler is thereby
40917 # assuming an implicit prototype. In which case, we're out of luck.
40918 #
40919 cat >conftest.$ac_ext <<_ACEOF
40920 /* confdefs.h.  */
40921 _ACEOF
40922 cat confdefs.h >>conftest.$ac_ext
40923 cat >>conftest.$ac_ext <<_ACEOF
40924 /* end confdefs.h.  */
40925 #include <netdb.h>
40926 int
40927 main ()
40928 {
40929
40930             char *name = "www.gnu.org";
40931             (void)gethostbyname_r(name) /* ; */
40932
40933   ;
40934   return 0;
40935 }
40936 _ACEOF
40937 rm -f conftest.$ac_objext
40938 if { (ac_try="$ac_compile"
40939 case "(($ac_try" in
40940   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40941   *) ac_try_echo=$ac_try;;
40942 esac
40943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40944   (eval "$ac_compile") 2>conftest.er1
40945   ac_status=$?
40946   grep -v '^ *+' conftest.er1 >conftest.err
40947   rm -f conftest.er1
40948   cat conftest.err >&5
40949   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40950   (exit $ac_status); } && {
40951          test -z "$ac_c_werror_flag" ||
40952          test ! -s conftest.err
40953        } && test -s conftest.$ac_objext; then
40954   ac_cv_func_which_gethostbyname_r=no
40955 else
40956   echo "$as_me: failed program was:" >&5
40957 sed 's/^/| /' conftest.$ac_ext >&5
40958
40959
40960 fi
40961
40962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40963
40964 #
40965 # SIX ARGUMENTS
40966 # (e.g. Linux)
40967 #
40968
40969 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40970
40971 cat >conftest.$ac_ext <<_ACEOF
40972 /* confdefs.h.  */
40973 _ACEOF
40974 cat confdefs.h >>conftest.$ac_ext
40975 cat >>conftest.$ac_ext <<_ACEOF
40976 /* end confdefs.h.  */
40977 #include <netdb.h>
40978 int
40979 main ()
40980 {
40981
40982             char *name = "www.gnu.org";
40983             struct hostent ret, *retp;
40984             char buf[1024];
40985             int buflen = 1024;
40986             int my_h_errno;
40987             (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
40988
40989   ;
40990   return 0;
40991 }
40992 _ACEOF
40993 rm -f conftest.$ac_objext
40994 if { (ac_try="$ac_compile"
40995 case "(($ac_try" in
40996   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40997   *) ac_try_echo=$ac_try;;
40998 esac
40999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41000   (eval "$ac_compile") 2>conftest.er1
41001   ac_status=$?
41002   grep -v '^ *+' conftest.er1 >conftest.err
41003   rm -f conftest.er1
41004   cat conftest.err >&5
41005   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41006   (exit $ac_status); } && {
41007          test -z "$ac_c_werror_flag" ||
41008          test ! -s conftest.err
41009        } && test -s conftest.$ac_objext; then
41010   ac_cv_func_which_gethostbyname_r=six
41011 else
41012   echo "$as_me: failed program was:" >&5
41013 sed 's/^/| /' conftest.$ac_ext >&5
41014
41015
41016 fi
41017
41018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41019
41020 fi
41021
41022 #
41023 # FIVE ARGUMENTS
41024 # (e.g. Solaris)
41025 #
41026
41027 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41028
41029 cat >conftest.$ac_ext <<_ACEOF
41030 /* confdefs.h.  */
41031 _ACEOF
41032 cat confdefs.h >>conftest.$ac_ext
41033 cat >>conftest.$ac_ext <<_ACEOF
41034 /* end confdefs.h.  */
41035 #include <netdb.h>
41036 int
41037 main ()
41038 {
41039
41040             char *name = "www.gnu.org";
41041             struct hostent ret;
41042             char buf[1024];
41043             int buflen = 1024;
41044             int my_h_errno;
41045             (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
41046
41047   ;
41048   return 0;
41049 }
41050 _ACEOF
41051 rm -f conftest.$ac_objext
41052 if { (ac_try="$ac_compile"
41053 case "(($ac_try" in
41054   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41055   *) ac_try_echo=$ac_try;;
41056 esac
41057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41058   (eval "$ac_compile") 2>conftest.er1
41059   ac_status=$?
41060   grep -v '^ *+' conftest.er1 >conftest.err
41061   rm -f conftest.er1
41062   cat conftest.err >&5
41063   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41064   (exit $ac_status); } && {
41065          test -z "$ac_c_werror_flag" ||
41066          test ! -s conftest.err
41067        } && test -s conftest.$ac_objext; then
41068   ac_cv_func_which_gethostbyname_r=five
41069 else
41070   echo "$as_me: failed program was:" >&5
41071 sed 's/^/| /' conftest.$ac_ext >&5
41072
41073
41074 fi
41075
41076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41077
41078 fi
41079
41080 #
41081 # THREE ARGUMENTS
41082 # (e.g. AIX, HP-UX, Tru64)
41083 #
41084
41085 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41086
41087 cat >conftest.$ac_ext <<_ACEOF
41088 /* confdefs.h.  */
41089 _ACEOF
41090 cat confdefs.h >>conftest.$ac_ext
41091 cat >>conftest.$ac_ext <<_ACEOF
41092 /* end confdefs.h.  */
41093 #include <netdb.h>
41094 int
41095 main ()
41096 {
41097
41098             char *name = "www.gnu.org";
41099             struct hostent ret;
41100             struct hostent_data data;
41101             (void)gethostbyname_r(name, &ret, &data) /* ; */
41102
41103   ;
41104   return 0;
41105 }
41106 _ACEOF
41107 rm -f conftest.$ac_objext
41108 if { (ac_try="$ac_compile"
41109 case "(($ac_try" in
41110   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41111   *) ac_try_echo=$ac_try;;
41112 esac
41113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41114   (eval "$ac_compile") 2>conftest.er1
41115   ac_status=$?
41116   grep -v '^ *+' conftest.er1 >conftest.err
41117   rm -f conftest.er1
41118   cat conftest.err >&5
41119   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41120   (exit $ac_status); } && {
41121          test -z "$ac_c_werror_flag" ||
41122          test ! -s conftest.err
41123        } && test -s conftest.$ac_objext; then
41124   ac_cv_func_which_gethostbyname_r=three
41125 else
41126   echo "$as_me: failed program was:" >&5
41127 sed 's/^/| /' conftest.$ac_ext >&5
41128
41129
41130 fi
41131
41132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41133
41134 fi
41135
41136 ################################################################
41137
41138
41139 fi
41140
41141 case "$ac_cv_func_which_gethostbyname_r" in
41142     three)
41143     { echo "$as_me:$LINENO: result: three" >&5
41144 echo "${ECHO_T}three" >&6; }
41145     cat >>confdefs.h <<\_ACEOF
41146 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
41147 _ACEOF
41148
41149     ;;
41150
41151     five)
41152     { echo "$as_me:$LINENO: result: five" >&5
41153 echo "${ECHO_T}five" >&6; }
41154     cat >>confdefs.h <<\_ACEOF
41155 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
41156 _ACEOF
41157
41158     ;;
41159
41160     six)
41161     { echo "$as_me:$LINENO: result: six" >&5
41162 echo "${ECHO_T}six" >&6; }
41163     cat >>confdefs.h <<\_ACEOF
41164 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
41165 _ACEOF
41166
41167     ;;
41168
41169     no)
41170     { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
41171 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
41172     ;;
41173
41174     unknown)
41175     { echo "$as_me:$LINENO: result: can't tell" >&5
41176 echo "${ECHO_T}can't tell" >&6; }
41177     ;;
41178
41179     *)
41180     { { echo "$as_me:$LINENO: error: internal error" >&5
41181 echo "$as_me: error: internal error" >&2;}
41182    { (exit 1); exit 1; }; }
41183     ;;
41184 esac
41185
41186 ac_ext=c
41187 ac_cpp='$CPP $CPPFLAGS'
41188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41191
41192
41193
41194       if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
41195               "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
41196           { echo "$as_me:$LINENO: checking for gethostbyname" >&5
41197 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
41198 if test "${ac_cv_func_gethostbyname+set}" = set; then
41199   echo $ECHO_N "(cached) $ECHO_C" >&6
41200 else
41201   cat >conftest.$ac_ext <<_ACEOF
41202 /* confdefs.h.  */
41203 _ACEOF
41204 cat confdefs.h >>conftest.$ac_ext
41205 cat >>conftest.$ac_ext <<_ACEOF
41206 /* end confdefs.h.  */
41207 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
41208    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
41209 #define gethostbyname innocuous_gethostbyname
41210
41211 /* System header to define __stub macros and hopefully few prototypes,
41212     which can conflict with char gethostbyname (); below.
41213     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41214     <limits.h> exists even on freestanding compilers.  */
41215
41216 #ifdef __STDC__
41217 # include <limits.h>
41218 #else
41219 # include <assert.h>
41220 #endif
41221
41222 #undef gethostbyname
41223
41224 /* Override any GCC internal prototype to avoid an error.
41225    Use char because int might match the return type of a GCC
41226    builtin and then its argument prototype would still apply.  */
41227 #ifdef __cplusplus
41228 extern "C"
41229 #endif
41230 char gethostbyname ();
41231 /* The GNU C library defines this for functions which it implements
41232     to always fail with ENOSYS.  Some functions are actually named
41233     something starting with __ and the normal name is an alias.  */
41234 #if defined __stub_gethostbyname || defined __stub___gethostbyname
41235 choke me
41236 #endif
41237
41238 int
41239 main ()
41240 {
41241 return gethostbyname ();
41242   ;
41243   return 0;
41244 }
41245 _ACEOF
41246 rm -f conftest.$ac_objext conftest$ac_exeext
41247 if { (ac_try="$ac_link"
41248 case "(($ac_try" in
41249   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41250   *) ac_try_echo=$ac_try;;
41251 esac
41252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41253   (eval "$ac_link") 2>conftest.er1
41254   ac_status=$?
41255   grep -v '^ *+' conftest.er1 >conftest.err
41256   rm -f conftest.er1
41257   cat conftest.err >&5
41258   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41259   (exit $ac_status); } && {
41260          test -z "$ac_c_werror_flag" ||
41261          test ! -s conftest.err
41262        } && test -s conftest$ac_exeext &&
41263        $as_test_x conftest$ac_exeext; then
41264   ac_cv_func_gethostbyname=yes
41265 else
41266   echo "$as_me: failed program was:" >&5
41267 sed 's/^/| /' conftest.$ac_ext >&5
41268
41269         ac_cv_func_gethostbyname=no
41270 fi
41271
41272 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41273       conftest$ac_exeext conftest.$ac_ext
41274 fi
41275 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
41276 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
41277 if test $ac_cv_func_gethostbyname = yes; then
41278    cat >>confdefs.h <<\_ACEOF
41279 #define HAVE_GETHOSTBYNAME 1
41280 _ACEOF
41281
41282 fi
41283
41284       fi
41285
41286 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
41287 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
41288 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
41289   echo $ECHO_N "(cached) $ECHO_C" >&6
41290 else
41291
41292                 ac_ext=cpp
41293 ac_cpp='$CXXCPP $CPPFLAGS'
41294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41297
41298
41299         cat >conftest.$ac_ext <<_ACEOF
41300 /* confdefs.h.  */
41301 _ACEOF
41302 cat confdefs.h >>conftest.$ac_ext
41303 cat >>conftest.$ac_ext <<_ACEOF
41304 /* end confdefs.h.  */
41305 #include <netdb.h>
41306 int
41307 main ()
41308 {
41309
41310                 char *name;
41311                 char *proto;
41312                 struct servent *se, *res;
41313                 char buffer[2048];
41314                 int buflen = 2048;
41315                 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
41316
41317   ;
41318   return 0;
41319 }
41320 _ACEOF
41321 rm -f conftest.$ac_objext
41322 if { (ac_try="$ac_compile"
41323 case "(($ac_try" in
41324   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41325   *) ac_try_echo=$ac_try;;
41326 esac
41327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41328   (eval "$ac_compile") 2>conftest.er1
41329   ac_status=$?
41330   grep -v '^ *+' conftest.er1 >conftest.err
41331   rm -f conftest.er1
41332   cat conftest.err >&5
41333   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41334   (exit $ac_status); } && {
41335          test -z "$ac_cxx_werror_flag" ||
41336          test ! -s conftest.err
41337        } && test -s conftest.$ac_objext; then
41338   ac_cv_func_which_getservbyname_r=six
41339 else
41340   echo "$as_me: failed program was:" >&5
41341 sed 's/^/| /' conftest.$ac_ext >&5
41342
41343
41344                 cat >conftest.$ac_ext <<_ACEOF
41345 /* confdefs.h.  */
41346 _ACEOF
41347 cat confdefs.h >>conftest.$ac_ext
41348 cat >>conftest.$ac_ext <<_ACEOF
41349 /* end confdefs.h.  */
41350 #include <netdb.h>
41351 int
41352 main ()
41353 {
41354
41355                         char *name;
41356                         char *proto;
41357                         struct servent *se;
41358                         char buffer[2048];
41359                         int buflen = 2048;
41360                         (void) getservbyname_r(name, proto, se, buffer, buflen)
41361
41362   ;
41363   return 0;
41364 }
41365 _ACEOF
41366 rm -f conftest.$ac_objext
41367 if { (ac_try="$ac_compile"
41368 case "(($ac_try" in
41369   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41370   *) ac_try_echo=$ac_try;;
41371 esac
41372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41373   (eval "$ac_compile") 2>conftest.er1
41374   ac_status=$?
41375   grep -v '^ *+' conftest.er1 >conftest.err
41376   rm -f conftest.er1
41377   cat conftest.err >&5
41378   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41379   (exit $ac_status); } && {
41380          test -z "$ac_cxx_werror_flag" ||
41381          test ! -s conftest.err
41382        } && test -s conftest.$ac_objext; then
41383   ac_cv_func_which_getservbyname_r=five
41384 else
41385   echo "$as_me: failed program was:" >&5
41386 sed 's/^/| /' conftest.$ac_ext >&5
41387
41388
41389                         cat >conftest.$ac_ext <<_ACEOF
41390 /* confdefs.h.  */
41391 _ACEOF
41392 cat confdefs.h >>conftest.$ac_ext
41393 cat >>conftest.$ac_ext <<_ACEOF
41394 /* end confdefs.h.  */
41395 #include <netdb.h>
41396 int
41397 main ()
41398 {
41399
41400                                 char *name;
41401                                 char *proto;
41402                                 struct servent *se;
41403                                 struct servent_data data;
41404                                 (void) getservbyname_r(name, proto, se, &data);
41405
41406   ;
41407   return 0;
41408 }
41409 _ACEOF
41410 rm -f conftest.$ac_objext
41411 if { (ac_try="$ac_compile"
41412 case "(($ac_try" in
41413   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41414   *) ac_try_echo=$ac_try;;
41415 esac
41416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41417   (eval "$ac_compile") 2>conftest.er1
41418   ac_status=$?
41419   grep -v '^ *+' conftest.er1 >conftest.err
41420   rm -f conftest.er1
41421   cat conftest.err >&5
41422   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41423   (exit $ac_status); } && {
41424          test -z "$ac_cxx_werror_flag" ||
41425          test ! -s conftest.err
41426        } && test -s conftest.$ac_objext; then
41427   ac_cv_func_which_getservbyname_r=four
41428 else
41429   echo "$as_me: failed program was:" >&5
41430 sed 's/^/| /' conftest.$ac_ext >&5
41431
41432         ac_cv_func_which_getservbyname_r=no
41433
41434 fi
41435
41436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41437
41438
41439 fi
41440
41441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41442
41443
41444 fi
41445
41446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41447         ac_ext=c
41448 ac_cpp='$CPP $CPPFLAGS'
41449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41452
41453
41454
41455 fi
41456 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
41457 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
41458
41459 if test $ac_cv_func_which_getservbyname_r = six; then
41460   cat >>confdefs.h <<\_ACEOF
41461 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
41462 _ACEOF
41463
41464 elif test $ac_cv_func_which_getservbyname_r = five; then
41465   cat >>confdefs.h <<\_ACEOF
41466 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
41467 _ACEOF
41468
41469 elif test $ac_cv_func_which_getservbyname_r = four; then
41470   cat >>confdefs.h <<\_ACEOF
41471 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
41472 _ACEOF
41473
41474 fi
41475
41476
41477       if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
41478               "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
41479
41480 for ac_func in getservbyname
41481 do
41482 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41483 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41484 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41485 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41486   echo $ECHO_N "(cached) $ECHO_C" >&6
41487 else
41488   cat >conftest.$ac_ext <<_ACEOF
41489 /* confdefs.h.  */
41490 _ACEOF
41491 cat confdefs.h >>conftest.$ac_ext
41492 cat >>conftest.$ac_ext <<_ACEOF
41493 /* end confdefs.h.  */
41494 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41495    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
41496 #define $ac_func innocuous_$ac_func
41497
41498 /* System header to define __stub macros and hopefully few prototypes,
41499     which can conflict with char $ac_func (); below.
41500     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41501     <limits.h> exists even on freestanding compilers.  */
41502
41503 #ifdef __STDC__
41504 # include <limits.h>
41505 #else
41506 # include <assert.h>
41507 #endif
41508
41509 #undef $ac_func
41510
41511 /* Override any GCC internal prototype to avoid an error.
41512    Use char because int might match the return type of a GCC
41513    builtin and then its argument prototype would still apply.  */
41514 #ifdef __cplusplus
41515 extern "C"
41516 #endif
41517 char $ac_func ();
41518 /* The GNU C library defines this for functions which it implements
41519     to always fail with ENOSYS.  Some functions are actually named
41520     something starting with __ and the normal name is an alias.  */
41521 #if defined __stub_$ac_func || defined __stub___$ac_func
41522 choke me
41523 #endif
41524
41525 int
41526 main ()
41527 {
41528 return $ac_func ();
41529   ;
41530   return 0;
41531 }
41532 _ACEOF
41533 rm -f conftest.$ac_objext conftest$ac_exeext
41534 if { (ac_try="$ac_link"
41535 case "(($ac_try" in
41536   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41537   *) ac_try_echo=$ac_try;;
41538 esac
41539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41540   (eval "$ac_link") 2>conftest.er1
41541   ac_status=$?
41542   grep -v '^ *+' conftest.er1 >conftest.err
41543   rm -f conftest.er1
41544   cat conftest.err >&5
41545   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41546   (exit $ac_status); } && {
41547          test -z "$ac_c_werror_flag" ||
41548          test ! -s conftest.err
41549        } && test -s conftest$ac_exeext &&
41550        $as_test_x conftest$ac_exeext; then
41551   eval "$as_ac_var=yes"
41552 else
41553   echo "$as_me: failed program was:" >&5
41554 sed 's/^/| /' conftest.$ac_ext >&5
41555
41556         eval "$as_ac_var=no"
41557 fi
41558
41559 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41560       conftest$ac_exeext conftest.$ac_ext
41561 fi
41562 ac_res=`eval echo '${'$as_ac_var'}'`
41563                { echo "$as_me:$LINENO: result: $ac_res" >&5
41564 echo "${ECHO_T}$ac_res" >&6; }
41565 if test `eval echo '${'$as_ac_var'}'` = yes; then
41566   cat >>confdefs.h <<_ACEOF
41567 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41568 _ACEOF
41569   cat >>confdefs.h <<\_ACEOF
41570 #define HAVE_GETSERVBYNAME 1
41571 _ACEOF
41572
41573 fi
41574 done
41575
41576       fi
41577
41578 if test "$wxUSE_THREADS" = "yes"; then
41579   cat >>confdefs.h <<\_ACEOF
41580 #define wxUSE_THREADS 1
41581 _ACEOF
41582
41583
41584   SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
41585 else
41586       if test "$wx_cv_func_strtok_r" = "yes"; then
41587     { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
41588 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
41589     if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
41590         WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
41591         { echo "$as_me:$LINENO: result: yes" >&5
41592 echo "${ECHO_T}yes" >&6; }
41593     else
41594         { echo "$as_me:$LINENO: result: no" >&5
41595 echo "${ECHO_T}no" >&6; }
41596     fi
41597   fi
41598 fi
41599
41600 if test "$WXGTK2" = 1 ; then
41601   cat >>confdefs.h <<_ACEOF
41602 #define __WXGTK20__ $WXGTK2
41603 _ACEOF
41604
41605   WXGTK12=1
41606 fi
41607
41608 if test "$WXGTK12" = 1 ; then
41609   cat >>confdefs.h <<_ACEOF
41610 #define __WXGTK12__ $WXGTK12
41611 _ACEOF
41612
41613 fi
41614
41615 if test "$WXGTK127" = 1 ; then
41616   cat >>confdefs.h <<_ACEOF
41617 #define __WXGTK127__ $WXGTK127
41618 _ACEOF
41619
41620 fi
41621
41622 if test "$WXGPE" = 1 ; then
41623   cat >>confdefs.h <<_ACEOF
41624 #define __WXGPE__ $WXGPE
41625 _ACEOF
41626
41627 fi
41628
41629 DEBUG_CFLAGS=
41630 if `echo $CXXFLAGS $CFLAGS | grep " -g" >/dev/null`; then
41631                     { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&5
41632 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&2;}
41633 elif test "$wxUSE_DEBUG_INFO" = "yes" ; then
41634     DEBUG_CFLAGS="-g"
41635 fi
41636
41637 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
41638     wxUSE_DEBUG_INFO=yes
41639     if test "$GCC" = yes; then
41640         DEBUG_CFLAGS="-ggdb"
41641     fi
41642 fi
41643
41644 if test "$wxUSE_DEBUG_FLAG" = "no" ; then
41645     if test "$wxUSE_GTK" = 1 ; then
41646         if test "x$wxGTK_VERSION" = "x1" ; then
41647             CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
41648         fi
41649     fi
41650 fi
41651
41652 if test "$wxUSE_MEM_TRACING" = "yes" ; then
41653     cat >>confdefs.h <<\_ACEOF
41654 #define wxUSE_MEMORY_TRACING 1
41655 _ACEOF
41656
41657     cat >>confdefs.h <<\_ACEOF
41658 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
41659 _ACEOF
41660
41661     cat >>confdefs.h <<\_ACEOF
41662 #define wxUSE_DEBUG_NEW_ALWAYS 1
41663 _ACEOF
41664
41665     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
41666 fi
41667
41668 if test "$wxUSE_DMALLOC" = "yes" ; then
41669     DMALLOC_LIBS="-ldmallocthcxx"
41670 fi
41671
41672 PROFILE_FLAGS=
41673 if test "$wxUSE_PROFILE" = "yes" ; then
41674     PROFILE_FLAGS=" -pg"
41675 fi
41676
41677 if test "$GCC" = "yes" ; then
41678     if test "$wxUSE_NO_RTTI" = "yes" ; then
41679         WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
41680     fi
41681     if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
41682         WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
41683     fi
41684     if test "$wxUSE_PERMISSIVE" = "yes" ; then
41685         WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
41686     fi
41687
41688                                                 case "${host}" in
41689       powerpc*-*-aix* )
41690         WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
41691         ;;
41692       *-hppa* )
41693         WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
41694         ;;
41695     esac
41696 fi
41697
41698 OPTIMISE_CFLAGS=
41699 if `echo $CXXFLAGS $CFLAGS | grep " -O" >/dev/null`; then
41700                     { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&5
41701 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&2;}
41702 else
41703     if test "$wxUSE_OPTIMISE" = "no" ; then
41704         if test "$GCC" = yes ; then
41705                                     OPTIMISE_CFLAGS="-O0"
41706         fi
41707     else
41708         if test "$GCC" = yes ; then
41709             case "${host}" in
41710                 *-pc-os2_emx | *-pc-os2-emx )
41711                                                             OPTIMISE_CFLAGS="-O2"
41712                 ;;
41713                 *)
41714                                                                                 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
41715                 ;;
41716             esac
41717         else
41718             OPTIMISE_CFLAGS="-O"
41719         fi
41720     fi
41721 fi
41722
41723
41724 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
41725     cat >>confdefs.h <<\_ACEOF
41726 #define WXWIN_COMPATIBILITY_2_6 1
41727 _ACEOF
41728
41729
41730     WXWIN_COMPATIBILITY_2_8="yes"
41731 fi
41732
41733 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
41734     cat >>confdefs.h <<\_ACEOF
41735 #define WXWIN_COMPATIBILITY_2_8 1
41736 _ACEOF
41737
41738 fi
41739
41740
41741 if test "$wxUSE_GUI" = "yes"; then
41742     cat >>confdefs.h <<\_ACEOF
41743 #define wxUSE_GUI 1
41744 _ACEOF
41745
41746
41747                                             fi
41748
41749
41750 if test "$wxUSE_UNIX" = "yes"; then
41751   cat >>confdefs.h <<\_ACEOF
41752 #define wxUSE_UNIX 1
41753 _ACEOF
41754
41755 fi
41756
41757
41758 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41759
41760     HAVE_DL_FUNCS=0
41761     HAVE_SHL_FUNCS=0
41762     if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41763         if test "$USE_DOS" = 1; then
41764             HAVE_DL_FUNCS=0
41765         else
41766
41767 for ac_func in dlopen
41768 do
41769 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41770 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41771 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41772 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41773   echo $ECHO_N "(cached) $ECHO_C" >&6
41774 else
41775   cat >conftest.$ac_ext <<_ACEOF
41776 /* confdefs.h.  */
41777 _ACEOF
41778 cat confdefs.h >>conftest.$ac_ext
41779 cat >>conftest.$ac_ext <<_ACEOF
41780 /* end confdefs.h.  */
41781 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41782    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
41783 #define $ac_func innocuous_$ac_func
41784
41785 /* System header to define __stub macros and hopefully few prototypes,
41786     which can conflict with char $ac_func (); below.
41787     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41788     <limits.h> exists even on freestanding compilers.  */
41789
41790 #ifdef __STDC__
41791 # include <limits.h>
41792 #else
41793 # include <assert.h>
41794 #endif
41795
41796 #undef $ac_func
41797
41798 /* Override any GCC internal prototype to avoid an error.
41799    Use char because int might match the return type of a GCC
41800    builtin and then its argument prototype would still apply.  */
41801 #ifdef __cplusplus
41802 extern "C"
41803 #endif
41804 char $ac_func ();
41805 /* The GNU C library defines this for functions which it implements
41806     to always fail with ENOSYS.  Some functions are actually named
41807     something starting with __ and the normal name is an alias.  */
41808 #if defined __stub_$ac_func || defined __stub___$ac_func
41809 choke me
41810 #endif
41811
41812 int
41813 main ()
41814 {
41815 return $ac_func ();
41816   ;
41817   return 0;
41818 }
41819 _ACEOF
41820 rm -f conftest.$ac_objext conftest$ac_exeext
41821 if { (ac_try="$ac_link"
41822 case "(($ac_try" in
41823   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41824   *) ac_try_echo=$ac_try;;
41825 esac
41826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41827   (eval "$ac_link") 2>conftest.er1
41828   ac_status=$?
41829   grep -v '^ *+' conftest.er1 >conftest.err
41830   rm -f conftest.er1
41831   cat conftest.err >&5
41832   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41833   (exit $ac_status); } && {
41834          test -z "$ac_c_werror_flag" ||
41835          test ! -s conftest.err
41836        } && test -s conftest$ac_exeext &&
41837        $as_test_x conftest$ac_exeext; then
41838   eval "$as_ac_var=yes"
41839 else
41840   echo "$as_me: failed program was:" >&5
41841 sed 's/^/| /' conftest.$ac_ext >&5
41842
41843         eval "$as_ac_var=no"
41844 fi
41845
41846 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41847       conftest$ac_exeext conftest.$ac_ext
41848 fi
41849 ac_res=`eval echo '${'$as_ac_var'}'`
41850                { echo "$as_me:$LINENO: result: $ac_res" >&5
41851 echo "${ECHO_T}$ac_res" >&6; }
41852 if test `eval echo '${'$as_ac_var'}'` = yes; then
41853   cat >>confdefs.h <<_ACEOF
41854 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41855 _ACEOF
41856
41857                 cat >>confdefs.h <<\_ACEOF
41858 #define HAVE_DLOPEN 1
41859 _ACEOF
41860
41861                 HAVE_DL_FUNCS=1
41862
41863 else
41864
41865                 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
41866 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
41867 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
41868   echo $ECHO_N "(cached) $ECHO_C" >&6
41869 else
41870   ac_check_lib_save_LIBS=$LIBS
41871 LIBS="-ldl  $LIBS"
41872 cat >conftest.$ac_ext <<_ACEOF
41873 /* confdefs.h.  */
41874 _ACEOF
41875 cat confdefs.h >>conftest.$ac_ext
41876 cat >>conftest.$ac_ext <<_ACEOF
41877 /* end confdefs.h.  */
41878
41879 /* Override any GCC internal prototype to avoid an error.
41880    Use char because int might match the return type of a GCC
41881    builtin and then its argument prototype would still apply.  */
41882 #ifdef __cplusplus
41883 extern "C"
41884 #endif
41885 char dlopen ();
41886 int
41887 main ()
41888 {
41889 return dlopen ();
41890   ;
41891   return 0;
41892 }
41893 _ACEOF
41894 rm -f conftest.$ac_objext conftest$ac_exeext
41895 if { (ac_try="$ac_link"
41896 case "(($ac_try" in
41897   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41898   *) ac_try_echo=$ac_try;;
41899 esac
41900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41901   (eval "$ac_link") 2>conftest.er1
41902   ac_status=$?
41903   grep -v '^ *+' conftest.er1 >conftest.err
41904   rm -f conftest.er1
41905   cat conftest.err >&5
41906   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41907   (exit $ac_status); } && {
41908          test -z "$ac_c_werror_flag" ||
41909          test ! -s conftest.err
41910        } && test -s conftest$ac_exeext &&
41911        $as_test_x conftest$ac_exeext; then
41912   ac_cv_lib_dl_dlopen=yes
41913 else
41914   echo "$as_me: failed program was:" >&5
41915 sed 's/^/| /' conftest.$ac_ext >&5
41916
41917         ac_cv_lib_dl_dlopen=no
41918 fi
41919
41920 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41921       conftest$ac_exeext conftest.$ac_ext
41922 LIBS=$ac_check_lib_save_LIBS
41923 fi
41924 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
41925 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
41926 if test $ac_cv_lib_dl_dlopen = yes; then
41927
41928                                 cat >>confdefs.h <<\_ACEOF
41929 #define HAVE_DLOPEN 1
41930 _ACEOF
41931
41932                                 HAVE_DL_FUNCS=1
41933                                 DL_LINK=" -ldl$DL_LINK"
41934
41935 else
41936
41937
41938 for ac_func in shl_load
41939 do
41940 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41941 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41942 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41943 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41944   echo $ECHO_N "(cached) $ECHO_C" >&6
41945 else
41946   cat >conftest.$ac_ext <<_ACEOF
41947 /* confdefs.h.  */
41948 _ACEOF
41949 cat confdefs.h >>conftest.$ac_ext
41950 cat >>conftest.$ac_ext <<_ACEOF
41951 /* end confdefs.h.  */
41952 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41953    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
41954 #define $ac_func innocuous_$ac_func
41955
41956 /* System header to define __stub macros and hopefully few prototypes,
41957     which can conflict with char $ac_func (); below.
41958     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41959     <limits.h> exists even on freestanding compilers.  */
41960
41961 #ifdef __STDC__
41962 # include <limits.h>
41963 #else
41964 # include <assert.h>
41965 #endif
41966
41967 #undef $ac_func
41968
41969 /* Override any GCC internal prototype to avoid an error.
41970    Use char because int might match the return type of a GCC
41971    builtin and then its argument prototype would still apply.  */
41972 #ifdef __cplusplus
41973 extern "C"
41974 #endif
41975 char $ac_func ();
41976 /* The GNU C library defines this for functions which it implements
41977     to always fail with ENOSYS.  Some functions are actually named
41978     something starting with __ and the normal name is an alias.  */
41979 #if defined __stub_$ac_func || defined __stub___$ac_func
41980 choke me
41981 #endif
41982
41983 int
41984 main ()
41985 {
41986 return $ac_func ();
41987   ;
41988   return 0;
41989 }
41990 _ACEOF
41991 rm -f conftest.$ac_objext conftest$ac_exeext
41992 if { (ac_try="$ac_link"
41993 case "(($ac_try" in
41994   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41995   *) ac_try_echo=$ac_try;;
41996 esac
41997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41998   (eval "$ac_link") 2>conftest.er1
41999   ac_status=$?
42000   grep -v '^ *+' conftest.er1 >conftest.err
42001   rm -f conftest.er1
42002   cat conftest.err >&5
42003   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42004   (exit $ac_status); } && {
42005          test -z "$ac_c_werror_flag" ||
42006          test ! -s conftest.err
42007        } && test -s conftest$ac_exeext &&
42008        $as_test_x conftest$ac_exeext; then
42009   eval "$as_ac_var=yes"
42010 else
42011   echo "$as_me: failed program was:" >&5
42012 sed 's/^/| /' conftest.$ac_ext >&5
42013
42014         eval "$as_ac_var=no"
42015 fi
42016
42017 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42018       conftest$ac_exeext conftest.$ac_ext
42019 fi
42020 ac_res=`eval echo '${'$as_ac_var'}'`
42021                { echo "$as_me:$LINENO: result: $ac_res" >&5
42022 echo "${ECHO_T}$ac_res" >&6; }
42023 if test `eval echo '${'$as_ac_var'}'` = yes; then
42024   cat >>confdefs.h <<_ACEOF
42025 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42026 _ACEOF
42027
42028                                                 cat >>confdefs.h <<\_ACEOF
42029 #define HAVE_SHL_LOAD 1
42030 _ACEOF
42031
42032                                                 HAVE_SHL_FUNCS=1
42033
42034 else
42035
42036                                                 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
42037 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
42038 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
42039   echo $ECHO_N "(cached) $ECHO_C" >&6
42040 else
42041   ac_check_lib_save_LIBS=$LIBS
42042 LIBS="-lshl_load  $LIBS"
42043 cat >conftest.$ac_ext <<_ACEOF
42044 /* confdefs.h.  */
42045 _ACEOF
42046 cat confdefs.h >>conftest.$ac_ext
42047 cat >>conftest.$ac_ext <<_ACEOF
42048 /* end confdefs.h.  */
42049
42050 /* Override any GCC internal prototype to avoid an error.
42051    Use char because int might match the return type of a GCC
42052    builtin and then its argument prototype would still apply.  */
42053 #ifdef __cplusplus
42054 extern "C"
42055 #endif
42056 char dld ();
42057 int
42058 main ()
42059 {
42060 return dld ();
42061   ;
42062   return 0;
42063 }
42064 _ACEOF
42065 rm -f conftest.$ac_objext conftest$ac_exeext
42066 if { (ac_try="$ac_link"
42067 case "(($ac_try" in
42068   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42069   *) ac_try_echo=$ac_try;;
42070 esac
42071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42072   (eval "$ac_link") 2>conftest.er1
42073   ac_status=$?
42074   grep -v '^ *+' conftest.er1 >conftest.err
42075   rm -f conftest.er1
42076   cat conftest.err >&5
42077   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42078   (exit $ac_status); } && {
42079          test -z "$ac_c_werror_flag" ||
42080          test ! -s conftest.err
42081        } && test -s conftest$ac_exeext &&
42082        $as_test_x conftest$ac_exeext; then
42083   ac_cv_lib_shl_load_dld=yes
42084 else
42085   echo "$as_me: failed program was:" >&5
42086 sed 's/^/| /' conftest.$ac_ext >&5
42087
42088         ac_cv_lib_shl_load_dld=no
42089 fi
42090
42091 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42092       conftest$ac_exeext conftest.$ac_ext
42093 LIBS=$ac_check_lib_save_LIBS
42094 fi
42095 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
42096 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
42097 if test $ac_cv_lib_shl_load_dld = yes; then
42098
42099                                                                 HAVE_SHL_FUNCS=1
42100                                                                 DL_LINK=" -ldld$DL_LINK"
42101
42102 fi
42103
42104
42105 fi
42106 done
42107
42108
42109 fi
42110
42111
42112 fi
42113 done
42114
42115
42116                         if test "$HAVE_DL_FUNCS" = 1; then
42117
42118 for ac_func in dlerror
42119 do
42120 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42121 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42122 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42123 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42124   echo $ECHO_N "(cached) $ECHO_C" >&6
42125 else
42126   cat >conftest.$ac_ext <<_ACEOF
42127 /* confdefs.h.  */
42128 _ACEOF
42129 cat confdefs.h >>conftest.$ac_ext
42130 cat >>conftest.$ac_ext <<_ACEOF
42131 /* end confdefs.h.  */
42132 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42133    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
42134 #define $ac_func innocuous_$ac_func
42135
42136 /* System header to define __stub macros and hopefully few prototypes,
42137     which can conflict with char $ac_func (); below.
42138     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42139     <limits.h> exists even on freestanding compilers.  */
42140
42141 #ifdef __STDC__
42142 # include <limits.h>
42143 #else
42144 # include <assert.h>
42145 #endif
42146
42147 #undef $ac_func
42148
42149 /* Override any GCC internal prototype to avoid an error.
42150    Use char because int might match the return type of a GCC
42151    builtin and then its argument prototype would still apply.  */
42152 #ifdef __cplusplus
42153 extern "C"
42154 #endif
42155 char $ac_func ();
42156 /* The GNU C library defines this for functions which it implements
42157     to always fail with ENOSYS.  Some functions are actually named
42158     something starting with __ and the normal name is an alias.  */
42159 #if defined __stub_$ac_func || defined __stub___$ac_func
42160 choke me
42161 #endif
42162
42163 int
42164 main ()
42165 {
42166 return $ac_func ();
42167   ;
42168   return 0;
42169 }
42170 _ACEOF
42171 rm -f conftest.$ac_objext conftest$ac_exeext
42172 if { (ac_try="$ac_link"
42173 case "(($ac_try" in
42174   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42175   *) ac_try_echo=$ac_try;;
42176 esac
42177 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42178   (eval "$ac_link") 2>conftest.er1
42179   ac_status=$?
42180   grep -v '^ *+' conftest.er1 >conftest.err
42181   rm -f conftest.er1
42182   cat conftest.err >&5
42183   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42184   (exit $ac_status); } && {
42185          test -z "$ac_c_werror_flag" ||
42186          test ! -s conftest.err
42187        } && test -s conftest$ac_exeext &&
42188        $as_test_x conftest$ac_exeext; then
42189   eval "$as_ac_var=yes"
42190 else
42191   echo "$as_me: failed program was:" >&5
42192 sed 's/^/| /' conftest.$ac_ext >&5
42193
42194         eval "$as_ac_var=no"
42195 fi
42196
42197 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42198       conftest$ac_exeext conftest.$ac_ext
42199 fi
42200 ac_res=`eval echo '${'$as_ac_var'}'`
42201                { echo "$as_me:$LINENO: result: $ac_res" >&5
42202 echo "${ECHO_T}$ac_res" >&6; }
42203 if test `eval echo '${'$as_ac_var'}'` = yes; then
42204   cat >>confdefs.h <<_ACEOF
42205 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42206 _ACEOF
42207  cat >>confdefs.h <<\_ACEOF
42208 #define HAVE_DLERROR 1
42209 _ACEOF
42210
42211 else
42212
42213                         { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
42214 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
42215 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
42216   echo $ECHO_N "(cached) $ECHO_C" >&6
42217 else
42218   ac_check_lib_save_LIBS=$LIBS
42219 LIBS="-ldl  $LIBS"
42220 cat >conftest.$ac_ext <<_ACEOF
42221 /* confdefs.h.  */
42222 _ACEOF
42223 cat confdefs.h >>conftest.$ac_ext
42224 cat >>conftest.$ac_ext <<_ACEOF
42225 /* end confdefs.h.  */
42226
42227 /* Override any GCC internal prototype to avoid an error.
42228    Use char because int might match the return type of a GCC
42229    builtin and then its argument prototype would still apply.  */
42230 #ifdef __cplusplus
42231 extern "C"
42232 #endif
42233 char dlerror ();
42234 int
42235 main ()
42236 {
42237 return dlerror ();
42238   ;
42239   return 0;
42240 }
42241 _ACEOF
42242 rm -f conftest.$ac_objext conftest$ac_exeext
42243 if { (ac_try="$ac_link"
42244 case "(($ac_try" in
42245   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42246   *) ac_try_echo=$ac_try;;
42247 esac
42248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42249   (eval "$ac_link") 2>conftest.er1
42250   ac_status=$?
42251   grep -v '^ *+' conftest.er1 >conftest.err
42252   rm -f conftest.er1
42253   cat conftest.err >&5
42254   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42255   (exit $ac_status); } && {
42256          test -z "$ac_c_werror_flag" ||
42257          test ! -s conftest.err
42258        } && test -s conftest$ac_exeext &&
42259        $as_test_x conftest$ac_exeext; then
42260   ac_cv_lib_dl_dlerror=yes
42261 else
42262   echo "$as_me: failed program was:" >&5
42263 sed 's/^/| /' conftest.$ac_ext >&5
42264
42265         ac_cv_lib_dl_dlerror=no
42266 fi
42267
42268 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42269       conftest$ac_exeext conftest.$ac_ext
42270 LIBS=$ac_check_lib_save_LIBS
42271 fi
42272 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
42273 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
42274 if test $ac_cv_lib_dl_dlerror = yes; then
42275   cat >>confdefs.h <<\_ACEOF
42276 #define HAVE_DLERROR 1
42277 _ACEOF
42278
42279 fi
42280
42281
42282
42283 fi
42284 done
42285
42286             fi
42287         fi
42288
42289                 if test "$USE_DARWIN" = 1; then
42290                         HAVE_DL_FUNCS=1
42291         fi
42292
42293         if test "$HAVE_DL_FUNCS" = 0; then
42294             if test "$HAVE_SHL_FUNCS" = 0; then
42295               if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
42296                   { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
42297 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
42298                   wxUSE_DYNAMIC_LOADER=no
42299                   wxUSE_DYNLIB_CLASS=no
42300               else
42301                   { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
42302 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
42303               fi
42304             fi
42305         fi
42306     fi
42307 fi
42308
42309 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
42310     cat >>confdefs.h <<\_ACEOF
42311 #define wxUSE_DYNAMIC_LOADER 1
42312 _ACEOF
42313
42314 fi
42315 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42316     cat >>confdefs.h <<\_ACEOF
42317 #define wxUSE_DYNLIB_CLASS 1
42318 _ACEOF
42319
42320 fi
42321
42322
42323
42324 if test "$wxUSE_PLUGINS" = "yes" ; then
42325     if test "$wxUSE_SHARED" = "no" ; then
42326         { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
42327 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
42328         wxUSE_PLUGINS=no
42329     fi
42330     if test "$wxUSE_MONOLITHIC" = "yes" ; then
42331         { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
42332 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
42333         wxUSE_PLUGINS=no
42334     fi
42335     if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
42336         { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
42337 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
42338         wxUSE_PLUGINS=no
42339     fi
42340     if test "$wxUSE_PLUGINS" = "yes" ; then
42341         cat >>confdefs.h <<\_ACEOF
42342 #define wxUSE_PLUGINS 1
42343 _ACEOF
42344
42345     fi
42346 fi
42347
42348
42349 if test "$wxUSE_STL" = "yes"; then
42350   cat >>confdefs.h <<\_ACEOF
42351 #define wxUSE_STL 1
42352 _ACEOF
42353
42354 fi
42355
42356 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
42357   cat >>confdefs.h <<\_ACEOF
42358 #define wxUSE_EXTENDED_RTTI 1
42359 _ACEOF
42360
42361 fi
42362
42363 if test "$wxUSE_ANY" = "yes"; then
42364     cat >>confdefs.h <<\_ACEOF
42365 #define wxUSE_ANY 1
42366 _ACEOF
42367
42368 fi
42369
42370 if test "$wxUSE_APPLE_IEEE" = "yes"; then
42371   cat >>confdefs.h <<\_ACEOF
42372 #define wxUSE_APPLE_IEEE 1
42373 _ACEOF
42374
42375 fi
42376
42377 if test "$wxUSE_TIMER" = "yes"; then
42378   cat >>confdefs.h <<\_ACEOF
42379 #define wxUSE_TIMER 1
42380 _ACEOF
42381
42382 fi
42383
42384 if test "$USE_UNIX" = 1 ; then
42385         if test "$wxUSE_MGL" != 1; then
42386                                 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
42387 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
42388 if test "${ac_cv_header_sys_soundcard+set}" = set; then
42389   echo $ECHO_N "(cached) $ECHO_C" >&6
42390 else
42391
42392             cat >conftest.$ac_ext <<_ACEOF
42393 /* confdefs.h.  */
42394 _ACEOF
42395 cat confdefs.h >>conftest.$ac_ext
42396 cat >>conftest.$ac_ext <<_ACEOF
42397 /* end confdefs.h.  */
42398
42399                     #include <sys/ioctl.h>
42400                     #include <sys/soundcard.h>
42401
42402 int
42403 main ()
42404 {
42405
42406                     ioctl(0, SNDCTL_DSP_SPEED, 0);
42407
42408   ;
42409   return 0;
42410 }
42411 _ACEOF
42412 rm -f conftest.$ac_objext conftest$ac_exeext
42413 if { (ac_try="$ac_link"
42414 case "(($ac_try" in
42415   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42416   *) ac_try_echo=$ac_try;;
42417 esac
42418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42419   (eval "$ac_link") 2>conftest.er1
42420   ac_status=$?
42421   grep -v '^ *+' conftest.er1 >conftest.err
42422   rm -f conftest.er1
42423   cat conftest.err >&5
42424   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42425   (exit $ac_status); } && {
42426          test -z "$ac_c_werror_flag" ||
42427          test ! -s conftest.err
42428        } && test -s conftest$ac_exeext &&
42429        $as_test_x conftest$ac_exeext; then
42430   ac_cv_header_sys_soundcard=yes
42431 else
42432   echo "$as_me: failed program was:" >&5
42433 sed 's/^/| /' conftest.$ac_ext >&5
42434
42435
42436                     saveLibs="$LIBS"
42437                     LIBS="$saveLibs -lossaudio"
42438                     cat >conftest.$ac_ext <<_ACEOF
42439 /* confdefs.h.  */
42440 _ACEOF
42441 cat confdefs.h >>conftest.$ac_ext
42442 cat >>conftest.$ac_ext <<_ACEOF
42443 /* end confdefs.h.  */
42444
42445                             #include <sys/ioctl.h>
42446                             #include <sys/soundcard.h>
42447
42448 int
42449 main ()
42450 {
42451
42452                             ioctl(0, SNDCTL_DSP_SPEED, 0);
42453
42454   ;
42455   return 0;
42456 }
42457 _ACEOF
42458 rm -f conftest.$ac_objext conftest$ac_exeext
42459 if { (ac_try="$ac_link"
42460 case "(($ac_try" in
42461   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42462   *) ac_try_echo=$ac_try;;
42463 esac
42464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42465   (eval "$ac_link") 2>conftest.er1
42466   ac_status=$?
42467   grep -v '^ *+' conftest.er1 >conftest.err
42468   rm -f conftest.er1
42469   cat conftest.err >&5
42470   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42471   (exit $ac_status); } && {
42472          test -z "$ac_c_werror_flag" ||
42473          test ! -s conftest.err
42474        } && test -s conftest$ac_exeext &&
42475        $as_test_x conftest$ac_exeext; then
42476   ac_cv_header_sys_soundcard=yes
42477 else
42478   echo "$as_me: failed program was:" >&5
42479 sed 's/^/| /' conftest.$ac_ext >&5
42480
42481
42482                             LIBS="$saveLibs"
42483                             ac_cv_header_sys_soundcard=no
42484
42485
42486 fi
42487
42488 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42489       conftest$ac_exeext conftest.$ac_ext
42490
42491
42492 fi
42493
42494 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42495       conftest$ac_exeext conftest.$ac_ext
42496
42497 fi
42498 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
42499 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
42500     fi
42501
42502     if test "$ac_cv_header_sys_soundcard" = "yes"; then
42503         cat >>confdefs.h <<\_ACEOF
42504 #define HAVE_SYS_SOUNDCARD_H 1
42505 _ACEOF
42506
42507     fi
42508 fi
42509
42510 WITH_PLUGIN_SDL=0
42511 if test "$wxUSE_SOUND" = "yes"; then
42512   if test "$USE_UNIX" = 1 ; then
42513     if test "$wxUSE_LIBSDL" != "no"; then
42514
42515 # Check whether --with-sdl-prefix was given.
42516 if test "${with_sdl_prefix+set}" = set; then
42517   withval=$with_sdl_prefix; sdl_prefix="$withval"
42518 else
42519   sdl_prefix=""
42520 fi
42521
42522
42523 # Check whether --with-sdl-exec-prefix was given.
42524 if test "${with_sdl_exec_prefix+set}" = set; then
42525   withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
42526 else
42527   sdl_exec_prefix=""
42528 fi
42529
42530 # Check whether --enable-sdltest was given.
42531 if test "${enable_sdltest+set}" = set; then
42532   enableval=$enable_sdltest;
42533 else
42534   enable_sdltest=yes
42535 fi
42536
42537
42538   if test x$sdl_exec_prefix != x ; then
42539     sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
42540     if test x${SDL_CONFIG+set} != xset ; then
42541       SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
42542     fi
42543   fi
42544   if test x$sdl_prefix != x ; then
42545     sdl_args="$sdl_args --prefix=$sdl_prefix"
42546     if test x${SDL_CONFIG+set} != xset ; then
42547       SDL_CONFIG=$sdl_prefix/bin/sdl-config
42548     fi
42549   fi
42550
42551   if test "x$prefix" != xNONE; then
42552     PATH="$prefix/bin:$prefix/usr/bin:$PATH"
42553   fi
42554   # Extract the first word of "sdl-config", so it can be a program name with args.
42555 set dummy sdl-config; ac_word=$2
42556 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42557 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42558 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
42559   echo $ECHO_N "(cached) $ECHO_C" >&6
42560 else
42561   case $SDL_CONFIG in
42562   [\\/]* | ?:[\\/]*)
42563   ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
42564   ;;
42565   *)
42566   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42567 for as_dir in $PATH
42568 do
42569   IFS=$as_save_IFS
42570   test -z "$as_dir" && as_dir=.
42571   for ac_exec_ext in '' $ac_executable_extensions; do
42572   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42573     ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42574     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42575     break 2
42576   fi
42577 done
42578 done
42579 IFS=$as_save_IFS
42580
42581   test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
42582   ;;
42583 esac
42584 fi
42585 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
42586 if test -n "$SDL_CONFIG"; then
42587   { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
42588 echo "${ECHO_T}$SDL_CONFIG" >&6; }
42589 else
42590   { echo "$as_me:$LINENO: result: no" >&5
42591 echo "${ECHO_T}no" >&6; }
42592 fi
42593
42594
42595   min_sdl_version=1.2.0
42596   { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
42597 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
42598   no_sdl=""
42599   if test "$SDL_CONFIG" = "no" ; then
42600     no_sdl=yes
42601   else
42602     SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
42603     SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
42604
42605     sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
42606            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
42607     sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
42608            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
42609     sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
42610            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
42611     if test "x$enable_sdltest" = "xyes" ; then
42612       ac_save_CFLAGS="$CFLAGS"
42613       ac_save_CXXFLAGS="$CXXFLAGS"
42614       ac_save_LIBS="$LIBS"
42615       CFLAGS="$CFLAGS $SDL_CFLAGS"
42616       CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42617       LIBS="$LIBS $SDL_LIBS"
42618       rm -f conf.sdltest
42619       if test "$cross_compiling" = yes; then
42620   echo $ac_n "cross compiling; assumed OK... $ac_c"
42621 else
42622   cat >conftest.$ac_ext <<_ACEOF
42623 /* confdefs.h.  */
42624 _ACEOF
42625 cat confdefs.h >>conftest.$ac_ext
42626 cat >>conftest.$ac_ext <<_ACEOF
42627 /* end confdefs.h.  */
42628
42629 #include <stdio.h>
42630 #include <stdlib.h>
42631 #include <string.h>
42632 #include "SDL.h"
42633
42634 char*
42635 my_strdup (char *str)
42636 {
42637   char *new_str;
42638
42639   if (str)
42640     {
42641       new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
42642       strcpy (new_str, str);
42643     }
42644   else
42645     new_str = NULL;
42646
42647   return new_str;
42648 }
42649
42650 int main (int argc, char *argv[])
42651 {
42652   int major, minor, micro;
42653   char *tmp_version;
42654
42655   /* This hangs on some systems (?)
42656   system ("touch conf.sdltest");
42657   */
42658   { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
42659
42660   /* HP/UX 9 (%@#!) writes to sscanf strings */
42661   tmp_version = my_strdup("$min_sdl_version");
42662   if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
42663      printf("%s, bad version string\n", "$min_sdl_version");
42664      exit(1);
42665    }
42666
42667    if (($sdl_major_version > major) ||
42668       (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
42669       (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
42670     {
42671       return 0;
42672     }
42673   else
42674     {
42675       printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
42676       printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
42677       printf("*** best to upgrade to the required version.\n");
42678       printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
42679       printf("*** to point to the correct copy of sdl-config, and remove the file\n");
42680       printf("*** config.cache before re-running configure\n");
42681       return 1;
42682     }
42683 }
42684
42685
42686 _ACEOF
42687 rm -f conftest$ac_exeext
42688 if { (ac_try="$ac_link"
42689 case "(($ac_try" in
42690   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42691   *) ac_try_echo=$ac_try;;
42692 esac
42693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42694   (eval "$ac_link") 2>&5
42695   ac_status=$?
42696   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42697   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
42698   { (case "(($ac_try" in
42699   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42700   *) ac_try_echo=$ac_try;;
42701 esac
42702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42703   (eval "$ac_try") 2>&5
42704   ac_status=$?
42705   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42706   (exit $ac_status); }; }; then
42707   :
42708 else
42709   echo "$as_me: program exited with status $ac_status" >&5
42710 echo "$as_me: failed program was:" >&5
42711 sed 's/^/| /' conftest.$ac_ext >&5
42712
42713 ( exit $ac_status )
42714 no_sdl=yes
42715 fi
42716 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
42717 fi
42718
42719
42720        CFLAGS="$ac_save_CFLAGS"
42721        CXXFLAGS="$ac_save_CXXFLAGS"
42722        LIBS="$ac_save_LIBS"
42723      fi
42724   fi
42725   if test "x$no_sdl" = x ; then
42726      { echo "$as_me:$LINENO: result: yes" >&5
42727 echo "${ECHO_T}yes" >&6; }
42728
42729                     EXTRALIBS_SDL="$SDL_LIBS"
42730                     CFLAGS="$SDL_CFLAGS $CFLAGS"
42731                     CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
42732                     cat >>confdefs.h <<\_ACEOF
42733 #define wxUSE_LIBSDL 1
42734 _ACEOF
42735
42736
42737   else
42738      { echo "$as_me:$LINENO: result: no" >&5
42739 echo "${ECHO_T}no" >&6; }
42740      if test "$SDL_CONFIG" = "no" ; then
42741        echo "*** The sdl-config script installed by SDL could not be found"
42742        echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
42743        echo "*** your path, or set the SDL_CONFIG environment variable to the"
42744        echo "*** full path to sdl-config."
42745      else
42746        if test -f conf.sdltest ; then
42747         :
42748        else
42749           echo "*** Could not run SDL test program, checking why..."
42750           CFLAGS="$CFLAGS $SDL_CFLAGS"
42751           CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42752           LIBS="$LIBS $SDL_LIBS"
42753           cat >conftest.$ac_ext <<_ACEOF
42754 /* confdefs.h.  */
42755 _ACEOF
42756 cat confdefs.h >>conftest.$ac_ext
42757 cat >>conftest.$ac_ext <<_ACEOF
42758 /* end confdefs.h.  */
42759
42760 #include <stdio.h>
42761 #include "SDL.h"
42762
42763 int main(int argc, char *argv[])
42764 { return 0; }
42765 #undef  main
42766 #define main K_and_R_C_main
42767
42768 int
42769 main ()
42770 {
42771  return 0;
42772   ;
42773   return 0;
42774 }
42775 _ACEOF
42776 rm -f conftest.$ac_objext conftest$ac_exeext
42777 if { (ac_try="$ac_link"
42778 case "(($ac_try" in
42779   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42780   *) ac_try_echo=$ac_try;;
42781 esac
42782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42783   (eval "$ac_link") 2>conftest.er1
42784   ac_status=$?
42785   grep -v '^ *+' conftest.er1 >conftest.err
42786   rm -f conftest.er1
42787   cat conftest.err >&5
42788   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42789   (exit $ac_status); } && {
42790          test -z "$ac_c_werror_flag" ||
42791          test ! -s conftest.err
42792        } && test -s conftest$ac_exeext &&
42793        $as_test_x conftest$ac_exeext; then
42794    echo "*** The test program compiled, but did not run. This usually means"
42795           echo "*** that the run-time linker is not finding SDL or finding the wrong"
42796           echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
42797           echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
42798           echo "*** to the installed location  Also, make sure you have run ldconfig if that"
42799           echo "*** is required on your system"
42800           echo "***"
42801           echo "*** If you have an old version installed, it is best to remove it, although"
42802           echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
42803 else
42804   echo "$as_me: failed program was:" >&5
42805 sed 's/^/| /' conftest.$ac_ext >&5
42806
42807          echo "*** The test program failed to compile or link. See the file config.log for the"
42808           echo "*** exact error that occured. This usually means SDL was incorrectly installed"
42809           echo "*** or that you have moved SDL since it was installed. In the latter case, you"
42810           echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
42811 fi
42812
42813 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42814       conftest$ac_exeext conftest.$ac_ext
42815           CFLAGS="$ac_save_CFLAGS"
42816           CXXFLAGS="$ac_save_CXXFLAGS"
42817           LIBS="$ac_save_LIBS"
42818        fi
42819      fi
42820      SDL_CFLAGS=""
42821      SDL_LIBS=""
42822      wxUSE_LIBSDL="no"
42823   fi
42824
42825
42826   rm -f conf.sdltest
42827
42828       if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
42829         WITH_PLUGIN_SDL=1
42830       fi
42831     fi
42832   else
42833         if test "$wxUSE_MGL" = 1; then
42834         { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
42835 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
42836         wxUSE_SOUND="no"
42837     fi
42838   fi
42839 fi
42840
42841 if test "$wxUSE_SOUND" = "yes"; then
42842   cat >>confdefs.h <<\_ACEOF
42843 #define wxUSE_SOUND 1
42844 _ACEOF
42845
42846   SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
42847 fi
42848
42849 if test "$WXGTK2" = 1; then
42850
42851
42852 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
42853         if test -n "$ac_tool_prefix"; then
42854   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
42855 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
42856 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42857 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42858 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
42859   echo $ECHO_N "(cached) $ECHO_C" >&6
42860 else
42861   case $PKG_CONFIG in
42862   [\\/]* | ?:[\\/]*)
42863   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
42864   ;;
42865   *)
42866   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42867 for as_dir in $PATH
42868 do
42869   IFS=$as_save_IFS
42870   test -z "$as_dir" && as_dir=.
42871   for ac_exec_ext in '' $ac_executable_extensions; do
42872   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42873     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42874     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42875     break 2
42876   fi
42877 done
42878 done
42879 IFS=$as_save_IFS
42880
42881   ;;
42882 esac
42883 fi
42884 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
42885 if test -n "$PKG_CONFIG"; then
42886   { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
42887 echo "${ECHO_T}$PKG_CONFIG" >&6; }
42888 else
42889   { echo "$as_me:$LINENO: result: no" >&5
42890 echo "${ECHO_T}no" >&6; }
42891 fi
42892
42893
42894 fi
42895 if test -z "$ac_cv_path_PKG_CONFIG"; then
42896   ac_pt_PKG_CONFIG=$PKG_CONFIG
42897   # Extract the first word of "pkg-config", so it can be a program name with args.
42898 set dummy pkg-config; ac_word=$2
42899 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42900 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42901 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
42902   echo $ECHO_N "(cached) $ECHO_C" >&6
42903 else
42904   case $ac_pt_PKG_CONFIG in
42905   [\\/]* | ?:[\\/]*)
42906   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
42907   ;;
42908   *)
42909   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42910 for as_dir in $PATH
42911 do
42912   IFS=$as_save_IFS
42913   test -z "$as_dir" && as_dir=.
42914   for ac_exec_ext in '' $ac_executable_extensions; do
42915   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42916     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42917     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42918     break 2
42919   fi
42920 done
42921 done
42922 IFS=$as_save_IFS
42923
42924   ;;
42925 esac
42926 fi
42927 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
42928 if test -n "$ac_pt_PKG_CONFIG"; then
42929   { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
42930 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
42931 else
42932   { echo "$as_me:$LINENO: result: no" >&5
42933 echo "${ECHO_T}no" >&6; }
42934 fi
42935
42936   if test "x$ac_pt_PKG_CONFIG" = x; then
42937     PKG_CONFIG=""
42938   else
42939     case $cross_compiling:$ac_tool_warned in
42940 yes:)
42941 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
42942 whose name does not start with the host triplet.  If you think this
42943 configuration is useful to you, please write to autoconf@gnu.org." >&5
42944 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
42945 whose name does not start with the host triplet.  If you think this
42946 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
42947 ac_tool_warned=yes ;;
42948 esac
42949     PKG_CONFIG=$ac_pt_PKG_CONFIG
42950   fi
42951 else
42952   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
42953 fi
42954
42955 fi
42956 if test -n "$PKG_CONFIG"; then
42957         _pkg_min_version=0.9.0
42958         { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
42959 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
42960         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
42961                 { echo "$as_me:$LINENO: result: yes" >&5
42962 echo "${ECHO_T}yes" >&6; }
42963         else
42964                 { echo "$as_me:$LINENO: result: no" >&5
42965 echo "${ECHO_T}no" >&6; }
42966                 PKG_CONFIG=""
42967         fi
42968
42969 fi
42970
42971     if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
42972
42973         if test "$wxUSE_GTKPRINT" = "yes" ; then
42974
42975
42976 pkg_failed=no
42977 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
42978 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
42979
42980 if test -n "$PKG_CONFIG"; then
42981     if test -n "$GTKPRINT_CFLAGS"; then
42982         pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
42983     else
42984         if test -n "$PKG_CONFIG" && \
42985     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42986   ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42987   ac_status=$?
42988   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42989   (exit $ac_status); }; then
42990   pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
42991 else
42992   pkg_failed=yes
42993 fi
42994     fi
42995 else
42996         pkg_failed=untried
42997 fi
42998 if test -n "$PKG_CONFIG"; then
42999     if test -n "$GTKPRINT_LIBS"; then
43000         pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
43001     else
43002         if test -n "$PKG_CONFIG" && \
43003     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
43004   ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
43005   ac_status=$?
43006   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43007   (exit $ac_status); }; then
43008   pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
43009 else
43010   pkg_failed=yes
43011 fi
43012     fi
43013 else
43014         pkg_failed=untried
43015 fi
43016
43017
43018
43019 if test $pkg_failed = yes; then
43020
43021 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43022         _pkg_short_errors_supported=yes
43023 else
43024         _pkg_short_errors_supported=no
43025 fi
43026         if test $_pkg_short_errors_supported = yes; then
43027                 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
43028         else
43029                 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
43030         fi
43031         # Put the nasty error message in config.log where it belongs
43032         echo "$GTKPRINT_PKG_ERRORS" >&5
43033
43034
43035                         { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
43036 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
43037                         wxUSE_GTKPRINT="no"
43038
43039
43040 elif test $pkg_failed = untried; then
43041
43042                         { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
43043 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
43044                         wxUSE_GTKPRINT="no"
43045
43046
43047 else
43048         GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
43049         GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
43050         { echo "$as_me:$LINENO: result: yes" >&5
43051 echo "${ECHO_T}yes" >&6; }
43052
43053                         CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
43054                         CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
43055                         cat >>confdefs.h <<\_ACEOF
43056 #define wxUSE_GTKPRINT 1
43057 _ACEOF
43058
43059
43060 fi
43061         fi
43062
43063         if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
43064
43065
43066 pkg_failed=no
43067 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
43068 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
43069
43070 if test -n "$PKG_CONFIG"; then
43071     if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
43072         pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
43073     else
43074         if test -n "$PKG_CONFIG" && \
43075     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
43076   ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
43077   ac_status=$?
43078   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43079   (exit $ac_status); }; then
43080   pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
43081 else
43082   pkg_failed=yes
43083 fi
43084     fi
43085 else
43086         pkg_failed=untried
43087 fi
43088 if test -n "$PKG_CONFIG"; then
43089     if test -n "$LIBGNOMEPRINTUI_LIBS"; then
43090         pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
43091     else
43092         if test -n "$PKG_CONFIG" && \
43093     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
43094   ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
43095   ac_status=$?
43096   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43097   (exit $ac_status); }; then
43098   pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
43099 else
43100   pkg_failed=yes
43101 fi
43102     fi
43103 else
43104         pkg_failed=untried
43105 fi
43106
43107
43108
43109 if test $pkg_failed = yes; then
43110
43111 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43112         _pkg_short_errors_supported=yes
43113 else
43114         _pkg_short_errors_supported=no
43115 fi
43116         if test $_pkg_short_errors_supported = yes; then
43117                 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
43118         else
43119                 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
43120         fi
43121         # Put the nasty error message in config.log where it belongs
43122         echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
43123
43124
43125                         { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
43126 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
43127                         wxUSE_LIBGNOMEPRINT="no"
43128
43129
43130 elif test $pkg_failed = untried; then
43131
43132                         { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
43133 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
43134                         wxUSE_LIBGNOMEPRINT="no"
43135
43136
43137 else
43138         LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
43139         LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
43140         { echo "$as_me:$LINENO: result: yes" >&5
43141 echo "${ECHO_T}yes" >&6; }
43142
43143                         CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
43144                         CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
43145                         cat >>confdefs.h <<\_ACEOF
43146 #define wxUSE_LIBGNOMEPRINT 1
43147 _ACEOF
43148
43149
43150 fi
43151         fi
43152     fi
43153
43154     if test "$wxUSE_MIMETYPE" = "yes" ; then
43155         if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
43156
43157
43158 pkg_failed=no
43159 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
43160 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
43161
43162 if test -n "$PKG_CONFIG"; then
43163     if test -n "$GNOMEVFS_CFLAGS"; then
43164         pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
43165     else
43166         if test -n "$PKG_CONFIG" && \
43167     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
43168   ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
43169   ac_status=$?
43170   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43171   (exit $ac_status); }; then
43172   pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
43173 else
43174   pkg_failed=yes
43175 fi
43176     fi
43177 else
43178         pkg_failed=untried
43179 fi
43180 if test -n "$PKG_CONFIG"; then
43181     if test -n "$GNOMEVFS_LIBS"; then
43182         pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
43183     else
43184         if test -n "$PKG_CONFIG" && \
43185     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
43186   ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
43187   ac_status=$?
43188   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43189   (exit $ac_status); }; then
43190   pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
43191 else
43192   pkg_failed=yes
43193 fi
43194     fi
43195 else
43196         pkg_failed=untried
43197 fi
43198
43199
43200
43201 if test $pkg_failed = yes; then
43202
43203 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43204         _pkg_short_errors_supported=yes
43205 else
43206         _pkg_short_errors_supported=no
43207 fi
43208         if test $_pkg_short_errors_supported = yes; then
43209                 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
43210         else
43211                 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
43212         fi
43213         # Put the nasty error message in config.log where it belongs
43214         echo "$GNOMEVFS_PKG_ERRORS" >&5
43215
43216
43217                         { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
43218 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
43219                         wxUSE_LIBGNOMEVFS="no"
43220
43221
43222 elif test $pkg_failed = untried; then
43223
43224                         { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
43225 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
43226                         wxUSE_LIBGNOMEVFS="no"
43227
43228
43229 else
43230         GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
43231         GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
43232         { echo "$as_me:$LINENO: result: yes" >&5
43233 echo "${ECHO_T}yes" >&6; }
43234
43235                         CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
43236                         CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
43237                         cat >>confdefs.h <<\_ACEOF
43238 #define wxUSE_LIBGNOMEVFS 1
43239 _ACEOF
43240
43241
43242 fi
43243         fi
43244     fi
43245
43246     if test "$wxUSE_LIBHILDON" = "yes" ; then
43247
43248 pkg_failed=no
43249 { echo "$as_me:$LINENO: checking for HILDON" >&5
43250 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
43251
43252 if test -n "$PKG_CONFIG"; then
43253     if test -n "$HILDON_CFLAGS"; then
43254         pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
43255     else
43256         if test -n "$PKG_CONFIG" && \
43257     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43258   ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43259   ac_status=$?
43260   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43261   (exit $ac_status); }; then
43262   pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
43263 else
43264   pkg_failed=yes
43265 fi
43266     fi
43267 else
43268         pkg_failed=untried
43269 fi
43270 if test -n "$PKG_CONFIG"; then
43271     if test -n "$HILDON_LIBS"; then
43272         pkg_cv_HILDON_LIBS="$HILDON_LIBS"
43273     else
43274         if test -n "$PKG_CONFIG" && \
43275     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43276   ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43277   ac_status=$?
43278   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43279   (exit $ac_status); }; then
43280   pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
43281 else
43282   pkg_failed=yes
43283 fi
43284     fi
43285 else
43286         pkg_failed=untried
43287 fi
43288
43289
43290
43291 if test $pkg_failed = yes; then
43292
43293 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43294         _pkg_short_errors_supported=yes
43295 else
43296         _pkg_short_errors_supported=no
43297 fi
43298         if test $_pkg_short_errors_supported = yes; then
43299                 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43300         else
43301                 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43302         fi
43303         # Put the nasty error message in config.log where it belongs
43304         echo "$HILDON_PKG_ERRORS" >&5
43305
43306
43307                 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43308 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43309                         wxUSE_LIBHILDON="no"
43310                         ac_hildon_lgpl=0
43311
43312
43313 elif test $pkg_failed = untried; then
43314
43315                 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43316 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43317                         wxUSE_LIBHILDON="no"
43318                         ac_hildon_lgpl=0
43319
43320
43321 else
43322         HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
43323         HILDON_LIBS=$pkg_cv_HILDON_LIBS
43324         { echo "$as_me:$LINENO: result: yes" >&5
43325 echo "${ECHO_T}yes" >&6; }
43326
43327                 EXTRALIBS_HILDON="$HILDON_LIBS"
43328                 CFLAGS="$CFLAGS $HILDON_CFLAGS"
43329                 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
43330                 cat >>confdefs.h <<\_ACEOF
43331 #define wxUSE_LIBHILDON 1
43332 _ACEOF
43333
43334                 ac_hildon_lgpl=1
43335
43336 fi
43337
43338         if test "$ac_hildon_lgpl" = 0 ; then
43339
43340 pkg_failed=no
43341 { echo "$as_me:$LINENO: checking for HILDON2" >&5
43342 echo $ECHO_N "checking for HILDON2... $ECHO_C" >&6; }
43343
43344 if test -n "$PKG_CONFIG"; then
43345     if test -n "$HILDON2_CFLAGS"; then
43346         pkg_cv_HILDON2_CFLAGS="$HILDON2_CFLAGS"
43347     else
43348         if test -n "$PKG_CONFIG" && \
43349     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
43350   ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
43351   ac_status=$?
43352   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43353   (exit $ac_status); }; then
43354   pkg_cv_HILDON2_CFLAGS=`$PKG_CONFIG --cflags "hildon-1 >= 1.99" 2>/dev/null`
43355 else
43356   pkg_failed=yes
43357 fi
43358     fi
43359 else
43360         pkg_failed=untried
43361 fi
43362 if test -n "$PKG_CONFIG"; then
43363     if test -n "$HILDON2_LIBS"; then
43364         pkg_cv_HILDON2_LIBS="$HILDON2_LIBS"
43365     else
43366         if test -n "$PKG_CONFIG" && \
43367     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
43368   ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
43369   ac_status=$?
43370   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43371   (exit $ac_status); }; then
43372   pkg_cv_HILDON2_LIBS=`$PKG_CONFIG --libs "hildon-1 >= 1.99" 2>/dev/null`
43373 else
43374   pkg_failed=yes
43375 fi
43376     fi
43377 else
43378         pkg_failed=untried
43379 fi
43380
43381
43382
43383 if test $pkg_failed = yes; then
43384
43385 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43386         _pkg_short_errors_supported=yes
43387 else
43388         _pkg_short_errors_supported=no
43389 fi
43390         if test $_pkg_short_errors_supported = yes; then
43391                 HILDON2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
43392         else
43393                 HILDON2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
43394         fi
43395         # Put the nasty error message in config.log where it belongs
43396         echo "$HILDON2_PKG_ERRORS" >&5
43397
43398
43399                     { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
43400 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
43401                             wxUSE_LIBHILDON2="no"
43402
43403
43404 elif test $pkg_failed = untried; then
43405
43406                     { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
43407 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
43408                             wxUSE_LIBHILDON2="no"
43409
43410
43411 else
43412         HILDON2_CFLAGS=$pkg_cv_HILDON2_CFLAGS
43413         HILDON2_LIBS=$pkg_cv_HILDON2_LIBS
43414         { echo "$as_me:$LINENO: result: yes" >&5
43415 echo "${ECHO_T}yes" >&6; }
43416
43417                     EXTRALIBS_HILDON="$HILDON2_LIBS"
43418                     CFLAGS="$CFLAGS $HILDON2_CFLAGS"
43419                     CXXFLAGS="$CXXFLAGS $HILDON2_CFLAGS"
43420                     cat >>confdefs.h <<\_ACEOF
43421 #define wxUSE_LIBHILDON2 1
43422 _ACEOF
43423
43424
43425 fi
43426         fi
43427     fi
43428 fi
43429
43430 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
43431   cat >>confdefs.h <<\_ACEOF
43432 #define wxUSE_CMDLINE_PARSER 1
43433 _ACEOF
43434
43435 fi
43436
43437 if test "$wxUSE_STOPWATCH" = "yes"; then
43438   cat >>confdefs.h <<\_ACEOF
43439 #define wxUSE_STOPWATCH 1
43440 _ACEOF
43441
43442 fi
43443
43444 if test "$wxUSE_DATETIME" = "yes"; then
43445   cat >>confdefs.h <<\_ACEOF
43446 #define wxUSE_DATETIME 1
43447 _ACEOF
43448
43449 fi
43450
43451 if test "$wxUSE_FILE" = "yes"; then
43452   cat >>confdefs.h <<\_ACEOF
43453 #define wxUSE_FILE 1
43454 _ACEOF
43455
43456 fi
43457
43458 if test "$wxUSE_FFILE" = "yes"; then
43459   cat >>confdefs.h <<\_ACEOF
43460 #define wxUSE_FFILE 1
43461 _ACEOF
43462
43463 fi
43464
43465 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
43466   if test "$wxUSE_STREAMS" != yes; then
43467     { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
43468 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
43469     wxUSE_ARCHIVE_STREAMS=no
43470   else
43471     cat >>confdefs.h <<\_ACEOF
43472 #define wxUSE_ARCHIVE_STREAMS 1
43473 _ACEOF
43474
43475   fi
43476 fi
43477
43478 if test "$wxUSE_ZIPSTREAM" = "yes"; then
43479   if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43480     { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
43481 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
43482   elif test "$wxUSE_ZLIB" = "no"; then
43483     { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
43484 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
43485   else
43486     cat >>confdefs.h <<\_ACEOF
43487 #define wxUSE_ZIPSTREAM 1
43488 _ACEOF
43489
43490   fi
43491 fi
43492
43493 if test "$wxUSE_TARSTREAM" = "yes"; then
43494   if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43495     { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
43496 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
43497   else
43498     cat >>confdefs.h <<\_ACEOF
43499 #define wxUSE_TARSTREAM 1
43500 _ACEOF
43501
43502   fi
43503 fi
43504
43505 if test "$wxUSE_FILESYSTEM" = "yes"; then
43506   if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
43507     { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
43508 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
43509     wxUSE_FILESYSTEM=no
43510   else
43511     cat >>confdefs.h <<\_ACEOF
43512 #define wxUSE_FILESYSTEM 1
43513 _ACEOF
43514
43515   fi
43516 fi
43517
43518 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
43519   if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
43520     { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
43521 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
43522   else
43523     cat >>confdefs.h <<\_ACEOF
43524 #define wxUSE_FS_ARCHIVE 1
43525 _ACEOF
43526
43527   fi
43528 fi
43529
43530 if test "$wxUSE_FS_ZIP" = "yes"; then
43531   if test "$wxUSE_FS_ARCHIVE" != yes; then
43532     { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
43533 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
43534   else
43535     cat >>confdefs.h <<\_ACEOF
43536 #define wxUSE_FS_ZIP 1
43537 _ACEOF
43538
43539   fi
43540 fi
43541
43542 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43543   if test "$USE_UNIX" != 1; then
43544     { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
43545 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
43546     wxUSE_ON_FATAL_EXCEPTION=no
43547   else
43548     cat >>confdefs.h <<\_ACEOF
43549 #define wxUSE_ON_FATAL_EXCEPTION 1
43550 _ACEOF
43551
43552   fi
43553 fi
43554
43555 if test "$wxUSE_STACKWALKER" = "yes"; then
43556     cat >>confdefs.h <<\_ACEOF
43557 #define wxUSE_STACKWALKER 1
43558 _ACEOF
43559
43560 fi
43561
43562 if test "$wxUSE_DEBUGREPORT" = "yes"; then
43563     if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
43564         { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
43565 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
43566         wxUSE_DEBUGREPORT=no
43567     else
43568         cat >>confdefs.h <<\_ACEOF
43569 #define wxUSE_DEBUGREPORT 1
43570 _ACEOF
43571
43572         if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43573             SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
43574         fi
43575     fi
43576 fi
43577
43578 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
43579   cat >>confdefs.h <<\_ACEOF
43580 #define wxUSE_SNGLINST_CHECKER 1
43581 _ACEOF
43582
43583 fi
43584
43585 if test "$wxUSE_BUSYINFO" = "yes"; then
43586   cat >>confdefs.h <<\_ACEOF
43587 #define wxUSE_BUSYINFO 1
43588 _ACEOF
43589
43590 fi
43591
43592 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
43593   cat >>confdefs.h <<\_ACEOF
43594 #define wxUSE_STD_IOSTREAM 1
43595 _ACEOF
43596
43597 fi
43598
43599 if test "$wxUSE_STD_STRING" = "yes"; then
43600   cat >>confdefs.h <<\_ACEOF
43601 #define wxUSE_STD_STRING 1
43602 _ACEOF
43603
43604 fi
43605
43606 if test "$wxUSE_STDPATHS" = "yes"; then
43607   cat >>confdefs.h <<\_ACEOF
43608 #define wxUSE_STDPATHS 1
43609 _ACEOF
43610
43611 fi
43612
43613 if test "$wxUSE_TEXTBUFFER" = "yes"; then
43614     cat >>confdefs.h <<\_ACEOF
43615 #define wxUSE_TEXTBUFFER 1
43616 _ACEOF
43617
43618 fi
43619
43620 if test "$wxUSE_TEXTFILE" = "yes"; then
43621   if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
43622     { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
43623 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
43624   else
43625     cat >>confdefs.h <<\_ACEOF
43626 #define wxUSE_TEXTFILE 1
43627 _ACEOF
43628
43629   fi
43630 fi
43631
43632 if test "$wxUSE_CONFIG" = "yes" ; then
43633   if test "$wxUSE_TEXTFILE" != "yes"; then
43634     { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
43635 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
43636   else
43637     cat >>confdefs.h <<\_ACEOF
43638 #define wxUSE_CONFIG 1
43639 _ACEOF
43640
43641     cat >>confdefs.h <<\_ACEOF
43642 #define wxUSE_CONFIG_NATIVE 1
43643 _ACEOF
43644
43645     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
43646   fi
43647 fi
43648
43649 if test "$wxUSE_INTL" = "yes" ; then
43650   if test "$wxUSE_FILE" != "yes"; then
43651     { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
43652 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
43653   else
43654     cat >>confdefs.h <<\_ACEOF
43655 #define wxUSE_INTL 1
43656 _ACEOF
43657
43658     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
43659     GUIDIST="$GUIDIST INTL_DIST"
43660   fi
43661 fi
43662
43663 if test "$wxUSE_XLOCALE" = "yes" ; then
43664     cat >>confdefs.h <<\_ACEOF
43665 #define wxUSE_XLOCALE 1
43666 _ACEOF
43667
43668     { echo "$as_me:$LINENO: checking for locale_t" >&5
43669 echo $ECHO_N "checking for locale_t... $ECHO_C" >&6; }
43670 if test "${ac_cv_type_locale_t+set}" = set; then
43671   echo $ECHO_N "(cached) $ECHO_C" >&6
43672 else
43673   cat >conftest.$ac_ext <<_ACEOF
43674 /* confdefs.h.  */
43675 _ACEOF
43676 cat confdefs.h >>conftest.$ac_ext
43677 cat >>conftest.$ac_ext <<_ACEOF
43678 /* end confdefs.h.  */
43679 #include <xlocale.h>
43680                     #include <locale.h>
43681
43682 typedef locale_t ac__type_new_;
43683 int
43684 main ()
43685 {
43686 if ((ac__type_new_ *) 0)
43687   return 0;
43688 if (sizeof (ac__type_new_))
43689   return 0;
43690   ;
43691   return 0;
43692 }
43693 _ACEOF
43694 rm -f conftest.$ac_objext
43695 if { (ac_try="$ac_compile"
43696 case "(($ac_try" in
43697   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43698   *) ac_try_echo=$ac_try;;
43699 esac
43700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43701   (eval "$ac_compile") 2>conftest.er1
43702   ac_status=$?
43703   grep -v '^ *+' conftest.er1 >conftest.err
43704   rm -f conftest.er1
43705   cat conftest.err >&5
43706   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43707   (exit $ac_status); } && {
43708          test -z "$ac_c_werror_flag" ||
43709          test ! -s conftest.err
43710        } && test -s conftest.$ac_objext; then
43711   ac_cv_type_locale_t=yes
43712 else
43713   echo "$as_me: failed program was:" >&5
43714 sed 's/^/| /' conftest.$ac_ext >&5
43715
43716         ac_cv_type_locale_t=no
43717 fi
43718
43719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43720 fi
43721 { echo "$as_me:$LINENO: result: $ac_cv_type_locale_t" >&5
43722 echo "${ECHO_T}$ac_cv_type_locale_t" >&6; }
43723 if test $ac_cv_type_locale_t = yes; then
43724
43725 cat >>confdefs.h <<_ACEOF
43726 #define HAVE_LOCALE_T 1
43727 _ACEOF
43728
43729
43730 fi
43731
43732 fi
43733
43734 if test "$wxUSE_LOG" = "yes"; then
43735   cat >>confdefs.h <<\_ACEOF
43736 #define wxUSE_LOG 1
43737 _ACEOF
43738
43739
43740     if test "$wxUSE_LOGGUI" = "yes"; then
43741       cat >>confdefs.h <<\_ACEOF
43742 #define wxUSE_LOGGUI 1
43743 _ACEOF
43744
43745     fi
43746
43747     if test "$wxUSE_LOGWINDOW" = "yes"; then
43748       cat >>confdefs.h <<\_ACEOF
43749 #define wxUSE_LOGWINDOW 1
43750 _ACEOF
43751
43752     fi
43753
43754     if test "$wxUSE_LOGDIALOG" = "yes"; then
43755       cat >>confdefs.h <<\_ACEOF
43756 #define wxUSE_LOG_DIALOG 1
43757 _ACEOF
43758
43759     fi
43760
43761         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
43762 fi
43763
43764 if test "$wxUSE_LONGLONG" = "yes"; then
43765   cat >>confdefs.h <<\_ACEOF
43766 #define wxUSE_LONGLONG 1
43767 _ACEOF
43768
43769 fi
43770
43771 if test "$wxUSE_GEOMETRY" = "yes"; then
43772   cat >>confdefs.h <<\_ACEOF
43773 #define wxUSE_GEOMETRY 1
43774 _ACEOF
43775
43776 fi
43777
43778 if test "$wxUSE_BASE64" = "yes"; then
43779   cat >>confdefs.h <<\_ACEOF
43780 #define wxUSE_BASE64 1
43781 _ACEOF
43782
43783 fi
43784
43785 if test "$wxUSE_STREAMS" = "yes" ; then
43786   cat >>confdefs.h <<\_ACEOF
43787 #define wxUSE_STREAMS 1
43788 _ACEOF
43789
43790 fi
43791
43792 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
43793   cat >>confdefs.h <<\_ACEOF
43794 #define wxUSE_PRINTF_POS_PARAMS 1
43795 _ACEOF
43796
43797 fi
43798
43799 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
43800   cat >>confdefs.h <<\_ACEOF
43801 #define wxUSE_OBJC_UNIQUIFYING 1
43802 _ACEOF
43803
43804 fi
43805
43806
43807 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
43808     cat >>confdefs.h <<\_ACEOF
43809 #define wxUSE_CONSOLE_EVENTLOOP 1
43810 _ACEOF
43811
43812
43813     if test "$wxUSE_UNIX" = "yes"; then
43814         if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
43815             cat >>confdefs.h <<\_ACEOF
43816 #define wxUSE_SELECT_DISPATCHER 1
43817 _ACEOF
43818
43819         fi
43820
43821         if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
43822
43823 for ac_header in sys/epoll.h
43824 do
43825 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43826 { echo "$as_me:$LINENO: checking for $ac_header" >&5
43827 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
43828 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43829   echo $ECHO_N "(cached) $ECHO_C" >&6
43830 else
43831   cat >conftest.$ac_ext <<_ACEOF
43832 /* confdefs.h.  */
43833 _ACEOF
43834 cat confdefs.h >>conftest.$ac_ext
43835 cat >>conftest.$ac_ext <<_ACEOF
43836 /* end confdefs.h.  */
43837 $ac_includes_default
43838
43839 #include <$ac_header>
43840 _ACEOF
43841 rm -f conftest.$ac_objext
43842 if { (ac_try="$ac_compile"
43843 case "(($ac_try" in
43844   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43845   *) ac_try_echo=$ac_try;;
43846 esac
43847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43848   (eval "$ac_compile") 2>conftest.er1
43849   ac_status=$?
43850   grep -v '^ *+' conftest.er1 >conftest.err
43851   rm -f conftest.er1
43852   cat conftest.err >&5
43853   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43854   (exit $ac_status); } && {
43855          test -z "$ac_c_werror_flag" ||
43856          test ! -s conftest.err
43857        } && test -s conftest.$ac_objext; then
43858   eval "$as_ac_Header=yes"
43859 else
43860   echo "$as_me: failed program was:" >&5
43861 sed 's/^/| /' conftest.$ac_ext >&5
43862
43863         eval "$as_ac_Header=no"
43864 fi
43865
43866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43867 fi
43868 ac_res=`eval echo '${'$as_ac_Header'}'`
43869                { echo "$as_me:$LINENO: result: $ac_res" >&5
43870 echo "${ECHO_T}$ac_res" >&6; }
43871 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43872   cat >>confdefs.h <<_ACEOF
43873 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43874 _ACEOF
43875
43876 fi
43877
43878 done
43879
43880             if test "$ac_cv_header_sys_epoll_h" = "yes"; then
43881                 cat >>confdefs.h <<\_ACEOF
43882 #define wxUSE_EPOLL_DISPATCHER 1
43883 _ACEOF
43884
43885             else
43886                 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
43887 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
43888             fi
43889         fi
43890     fi
43891 fi
43892
43893
43894
43895
43896 for ac_func in gettimeofday ftime
43897 do
43898 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43899 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43900 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43901 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43902   echo $ECHO_N "(cached) $ECHO_C" >&6
43903 else
43904   cat >conftest.$ac_ext <<_ACEOF
43905 /* confdefs.h.  */
43906 _ACEOF
43907 cat confdefs.h >>conftest.$ac_ext
43908 cat >>conftest.$ac_ext <<_ACEOF
43909 /* end confdefs.h.  */
43910 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43911    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
43912 #define $ac_func innocuous_$ac_func
43913
43914 /* System header to define __stub macros and hopefully few prototypes,
43915     which can conflict with char $ac_func (); below.
43916     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43917     <limits.h> exists even on freestanding compilers.  */
43918
43919 #ifdef __STDC__
43920 # include <limits.h>
43921 #else
43922 # include <assert.h>
43923 #endif
43924
43925 #undef $ac_func
43926
43927 /* Override any GCC internal prototype to avoid an error.
43928    Use char because int might match the return type of a GCC
43929    builtin and then its argument prototype would still apply.  */
43930 #ifdef __cplusplus
43931 extern "C"
43932 #endif
43933 char $ac_func ();
43934 /* The GNU C library defines this for functions which it implements
43935     to always fail with ENOSYS.  Some functions are actually named
43936     something starting with __ and the normal name is an alias.  */
43937 #if defined __stub_$ac_func || defined __stub___$ac_func
43938 choke me
43939 #endif
43940
43941 int
43942 main ()
43943 {
43944 return $ac_func ();
43945   ;
43946   return 0;
43947 }
43948 _ACEOF
43949 rm -f conftest.$ac_objext conftest$ac_exeext
43950 if { (ac_try="$ac_link"
43951 case "(($ac_try" in
43952   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43953   *) ac_try_echo=$ac_try;;
43954 esac
43955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43956   (eval "$ac_link") 2>conftest.er1
43957   ac_status=$?
43958   grep -v '^ *+' conftest.er1 >conftest.err
43959   rm -f conftest.er1
43960   cat conftest.err >&5
43961   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43962   (exit $ac_status); } && {
43963          test -z "$ac_c_werror_flag" ||
43964          test ! -s conftest.err
43965        } && test -s conftest$ac_exeext &&
43966        $as_test_x conftest$ac_exeext; then
43967   eval "$as_ac_var=yes"
43968 else
43969   echo "$as_me: failed program was:" >&5
43970 sed 's/^/| /' conftest.$ac_ext >&5
43971
43972         eval "$as_ac_var=no"
43973 fi
43974
43975 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43976       conftest$ac_exeext conftest.$ac_ext
43977 fi
43978 ac_res=`eval echo '${'$as_ac_var'}'`
43979                { echo "$as_me:$LINENO: result: $ac_res" >&5
43980 echo "${ECHO_T}$ac_res" >&6; }
43981 if test `eval echo '${'$as_ac_var'}'` = yes; then
43982   cat >>confdefs.h <<_ACEOF
43983 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43984 _ACEOF
43985  break
43986 fi
43987 done
43988
43989
43990 if test "$ac_cv_func_gettimeofday" = "yes"; then
43991     { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
43992 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
43993 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
43994   echo $ECHO_N "(cached) $ECHO_C" >&6
43995 else
43996
43997                 cat >conftest.$ac_ext <<_ACEOF
43998 /* confdefs.h.  */
43999 _ACEOF
44000 cat confdefs.h >>conftest.$ac_ext
44001 cat >>conftest.$ac_ext <<_ACEOF
44002 /* end confdefs.h.  */
44003
44004                 #include <sys/time.h>
44005                 #include <unistd.h>
44006
44007 int
44008 main ()
44009 {
44010
44011                 struct timeval tv;
44012                 gettimeofday(&tv, NULL);
44013
44014   ;
44015   return 0;
44016 }
44017 _ACEOF
44018 rm -f conftest.$ac_objext
44019 if { (ac_try="$ac_compile"
44020 case "(($ac_try" in
44021   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44022   *) ac_try_echo=$ac_try;;
44023 esac
44024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44025   (eval "$ac_compile") 2>conftest.er1
44026   ac_status=$?
44027   grep -v '^ *+' conftest.er1 >conftest.err
44028   rm -f conftest.er1
44029   cat conftest.err >&5
44030   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44031   (exit $ac_status); } && {
44032          test -z "$ac_c_werror_flag" ||
44033          test ! -s conftest.err
44034        } && test -s conftest.$ac_objext; then
44035   wx_cv_func_gettimeofday_has_2_args=yes
44036 else
44037   echo "$as_me: failed program was:" >&5
44038 sed 's/^/| /' conftest.$ac_ext >&5
44039
44040         cat >conftest.$ac_ext <<_ACEOF
44041 /* confdefs.h.  */
44042 _ACEOF
44043 cat confdefs.h >>conftest.$ac_ext
44044 cat >>conftest.$ac_ext <<_ACEOF
44045 /* end confdefs.h.  */
44046
44047                     #include <sys/time.h>
44048                     #include <unistd.h>
44049
44050 int
44051 main ()
44052 {
44053
44054                     struct timeval tv;
44055                     gettimeofday(&tv);
44056
44057   ;
44058   return 0;
44059 }
44060 _ACEOF
44061 rm -f conftest.$ac_objext
44062 if { (ac_try="$ac_compile"
44063 case "(($ac_try" in
44064   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44065   *) ac_try_echo=$ac_try;;
44066 esac
44067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44068   (eval "$ac_compile") 2>conftest.er1
44069   ac_status=$?
44070   grep -v '^ *+' conftest.er1 >conftest.err
44071   rm -f conftest.er1
44072   cat conftest.err >&5
44073   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44074   (exit $ac_status); } && {
44075          test -z "$ac_c_werror_flag" ||
44076          test ! -s conftest.err
44077        } && test -s conftest.$ac_objext; then
44078   wx_cv_func_gettimeofday_has_2_args=no
44079 else
44080   echo "$as_me: failed program was:" >&5
44081 sed 's/^/| /' conftest.$ac_ext >&5
44082
44083
44084                     { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
44085 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
44086                     wx_cv_func_gettimeofday_has_2_args=unknown
44087
44088
44089 fi
44090
44091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44092
44093 fi
44094
44095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44096
44097 fi
44098 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
44099 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
44100
44101     if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
44102         cat >>confdefs.h <<\_ACEOF
44103 #define WX_GETTIMEOFDAY_NO_TZ 1
44104 _ACEOF
44105
44106     fi
44107 fi
44108
44109 if test "$wxUSE_DATETIME" = "yes"; then
44110             { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
44111 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
44112 if test "${wx_cv_var_timezone+set}" = set; then
44113   echo $ECHO_N "(cached) $ECHO_C" >&6
44114 else
44115
44116                         ac_ext=cpp
44117 ac_cpp='$CXXCPP $CPPFLAGS'
44118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44121
44122                         cat >conftest.$ac_ext <<_ACEOF
44123 /* confdefs.h.  */
44124 _ACEOF
44125 cat confdefs.h >>conftest.$ac_ext
44126 cat >>conftest.$ac_ext <<_ACEOF
44127 /* end confdefs.h.  */
44128
44129                                 #include <time.h>
44130
44131 int
44132 main ()
44133 {
44134
44135                                 int tz;
44136                                 tz = timezone;
44137
44138   ;
44139   return 0;
44140 }
44141 _ACEOF
44142 rm -f conftest.$ac_objext
44143 if { (ac_try="$ac_compile"
44144 case "(($ac_try" in
44145   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44146   *) ac_try_echo=$ac_try;;
44147 esac
44148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44149   (eval "$ac_compile") 2>conftest.er1
44150   ac_status=$?
44151   grep -v '^ *+' conftest.er1 >conftest.err
44152   rm -f conftest.er1
44153   cat conftest.err >&5
44154   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44155   (exit $ac_status); } && {
44156          test -z "$ac_cxx_werror_flag" ||
44157          test ! -s conftest.err
44158        } && test -s conftest.$ac_objext; then
44159
44160                                 wx_cv_var_timezone=timezone
44161
44162 else
44163   echo "$as_me: failed program was:" >&5
44164 sed 's/^/| /' conftest.$ac_ext >&5
44165
44166
44167                                 cat >conftest.$ac_ext <<_ACEOF
44168 /* confdefs.h.  */
44169 _ACEOF
44170 cat confdefs.h >>conftest.$ac_ext
44171 cat >>conftest.$ac_ext <<_ACEOF
44172 /* end confdefs.h.  */
44173
44174                                         #include <time.h>
44175
44176 int
44177 main ()
44178 {
44179
44180                                         int tz;
44181                                         tz = _timezone;
44182
44183   ;
44184   return 0;
44185 }
44186 _ACEOF
44187 rm -f conftest.$ac_objext
44188 if { (ac_try="$ac_compile"
44189 case "(($ac_try" in
44190   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44191   *) ac_try_echo=$ac_try;;
44192 esac
44193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44194   (eval "$ac_compile") 2>conftest.er1
44195   ac_status=$?
44196   grep -v '^ *+' conftest.er1 >conftest.err
44197   rm -f conftest.er1
44198   cat conftest.err >&5
44199   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44200   (exit $ac_status); } && {
44201          test -z "$ac_cxx_werror_flag" ||
44202          test ! -s conftest.err
44203        } && test -s conftest.$ac_objext; then
44204
44205                                         wx_cv_var_timezone=_timezone
44206
44207 else
44208   echo "$as_me: failed program was:" >&5
44209 sed 's/^/| /' conftest.$ac_ext >&5
44210
44211
44212                                         cat >conftest.$ac_ext <<_ACEOF
44213 /* confdefs.h.  */
44214 _ACEOF
44215 cat confdefs.h >>conftest.$ac_ext
44216 cat >>conftest.$ac_ext <<_ACEOF
44217 /* end confdefs.h.  */
44218
44219                                                 #include <time.h>
44220
44221 int
44222 main ()
44223 {
44224
44225                                                 int tz;
44226                                                 tz = __timezone;
44227
44228   ;
44229   return 0;
44230 }
44231 _ACEOF
44232 rm -f conftest.$ac_objext
44233 if { (ac_try="$ac_compile"
44234 case "(($ac_try" in
44235   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44236   *) ac_try_echo=$ac_try;;
44237 esac
44238 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44239   (eval "$ac_compile") 2>conftest.er1
44240   ac_status=$?
44241   grep -v '^ *+' conftest.er1 >conftest.err
44242   rm -f conftest.er1
44243   cat conftest.err >&5
44244   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44245   (exit $ac_status); } && {
44246          test -z "$ac_cxx_werror_flag" ||
44247          test ! -s conftest.err
44248        } && test -s conftest.$ac_objext; then
44249
44250                                                 wx_cv_var_timezone=__timezone
44251
44252 else
44253   echo "$as_me: failed program was:" >&5
44254 sed 's/^/| /' conftest.$ac_ext >&5
44255
44256
44257                                                 if test "$USE_DOS" = 0 ; then
44258                                                     { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
44259 echo "$as_me: WARNING: no timezone variable" >&2;}
44260                                                 fi
44261
44262
44263 fi
44264
44265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44266
44267
44268 fi
44269
44270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44271
44272
44273 fi
44274
44275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44276                         ac_ext=c
44277 ac_cpp='$CPP $CPPFLAGS'
44278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44281
44282
44283
44284 fi
44285 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
44286 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
44287
44288         if test "x$wx_cv_var_timezone" != x ; then
44289         cat >>confdefs.h <<_ACEOF
44290 #define WX_TIMEZONE $wx_cv_var_timezone
44291 _ACEOF
44292
44293     fi
44294
44295
44296 for ac_func in localtime
44297 do
44298 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44299 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44300 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44301 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44302   echo $ECHO_N "(cached) $ECHO_C" >&6
44303 else
44304   cat >conftest.$ac_ext <<_ACEOF
44305 /* confdefs.h.  */
44306 _ACEOF
44307 cat confdefs.h >>conftest.$ac_ext
44308 cat >>conftest.$ac_ext <<_ACEOF
44309 /* end confdefs.h.  */
44310 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44311    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
44312 #define $ac_func innocuous_$ac_func
44313
44314 /* System header to define __stub macros and hopefully few prototypes,
44315     which can conflict with char $ac_func (); below.
44316     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44317     <limits.h> exists even on freestanding compilers.  */
44318
44319 #ifdef __STDC__
44320 # include <limits.h>
44321 #else
44322 # include <assert.h>
44323 #endif
44324
44325 #undef $ac_func
44326
44327 /* Override any GCC internal prototype to avoid an error.
44328    Use char because int might match the return type of a GCC
44329    builtin and then its argument prototype would still apply.  */
44330 #ifdef __cplusplus
44331 extern "C"
44332 #endif
44333 char $ac_func ();
44334 /* The GNU C library defines this for functions which it implements
44335     to always fail with ENOSYS.  Some functions are actually named
44336     something starting with __ and the normal name is an alias.  */
44337 #if defined __stub_$ac_func || defined __stub___$ac_func
44338 choke me
44339 #endif
44340
44341 int
44342 main ()
44343 {
44344 return $ac_func ();
44345   ;
44346   return 0;
44347 }
44348 _ACEOF
44349 rm -f conftest.$ac_objext conftest$ac_exeext
44350 if { (ac_try="$ac_link"
44351 case "(($ac_try" in
44352   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44353   *) ac_try_echo=$ac_try;;
44354 esac
44355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44356   (eval "$ac_link") 2>conftest.er1
44357   ac_status=$?
44358   grep -v '^ *+' conftest.er1 >conftest.err
44359   rm -f conftest.er1
44360   cat conftest.err >&5
44361   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44362   (exit $ac_status); } && {
44363          test -z "$ac_c_werror_flag" ||
44364          test ! -s conftest.err
44365        } && test -s conftest$ac_exeext &&
44366        $as_test_x conftest$ac_exeext; then
44367   eval "$as_ac_var=yes"
44368 else
44369   echo "$as_me: failed program was:" >&5
44370 sed 's/^/| /' conftest.$ac_ext >&5
44371
44372         eval "$as_ac_var=no"
44373 fi
44374
44375 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44376       conftest$ac_exeext conftest.$ac_ext
44377 fi
44378 ac_res=`eval echo '${'$as_ac_var'}'`
44379                { echo "$as_me:$LINENO: result: $ac_res" >&5
44380 echo "${ECHO_T}$ac_res" >&6; }
44381 if test `eval echo '${'$as_ac_var'}'` = yes; then
44382   cat >>confdefs.h <<_ACEOF
44383 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44384 _ACEOF
44385
44386 fi
44387 done
44388
44389
44390     if test "$ac_cv_func_localtime" = "yes"; then
44391         { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
44392 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
44393 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
44394   echo $ECHO_N "(cached) $ECHO_C" >&6
44395 else
44396
44397             cat >conftest.$ac_ext <<_ACEOF
44398 /* confdefs.h.  */
44399 _ACEOF
44400 cat confdefs.h >>conftest.$ac_ext
44401 cat >>conftest.$ac_ext <<_ACEOF
44402 /* end confdefs.h.  */
44403
44404                     #include <time.h>
44405
44406 int
44407 main ()
44408 {
44409
44410                     struct tm tm;
44411                     tm.tm_gmtoff++;
44412
44413   ;
44414   return 0;
44415 }
44416 _ACEOF
44417 rm -f conftest.$ac_objext
44418 if { (ac_try="$ac_compile"
44419 case "(($ac_try" in
44420   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44421   *) ac_try_echo=$ac_try;;
44422 esac
44423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44424   (eval "$ac_compile") 2>conftest.er1
44425   ac_status=$?
44426   grep -v '^ *+' conftest.er1 >conftest.err
44427   rm -f conftest.er1
44428   cat conftest.err >&5
44429   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44430   (exit $ac_status); } && {
44431          test -z "$ac_c_werror_flag" ||
44432          test ! -s conftest.err
44433        } && test -s conftest.$ac_objext; then
44434
44435                     wx_cv_struct_tm_has_gmtoff=yes
44436
44437 else
44438   echo "$as_me: failed program was:" >&5
44439 sed 's/^/| /' conftest.$ac_ext >&5
44440
44441         wx_cv_struct_tm_has_gmtoff=no
44442
44443 fi
44444
44445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44446
44447 fi
44448 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
44449 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
44450     fi
44451
44452     if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
44453         cat >>confdefs.h <<\_ACEOF
44454 #define WX_GMTOFF_IN_TM 1
44455 _ACEOF
44456
44457     fi
44458
44459     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
44460 fi
44461
44462
44463 if test "$wxUSE_SOCKETS" = "yes"; then
44464     if test "$wxUSE_MGL" = 1; then
44465         { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
44466 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
44467         wxUSE_SOCKETS="no"
44468     fi
44469 fi
44470
44471 if test "$wxUSE_SOCKETS" = "yes"; then
44472         if test "$TOOLKIT" != "MSW"; then
44473                 { echo "$as_me:$LINENO: checking for socket" >&5
44474 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
44475 if test "${ac_cv_func_socket+set}" = set; then
44476   echo $ECHO_N "(cached) $ECHO_C" >&6
44477 else
44478   cat >conftest.$ac_ext <<_ACEOF
44479 /* confdefs.h.  */
44480 _ACEOF
44481 cat confdefs.h >>conftest.$ac_ext
44482 cat >>conftest.$ac_ext <<_ACEOF
44483 /* end confdefs.h.  */
44484 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
44485    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
44486 #define socket innocuous_socket
44487
44488 /* System header to define __stub macros and hopefully few prototypes,
44489     which can conflict with char socket (); below.
44490     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44491     <limits.h> exists even on freestanding compilers.  */
44492
44493 #ifdef __STDC__
44494 # include <limits.h>
44495 #else
44496 # include <assert.h>
44497 #endif
44498
44499 #undef socket
44500
44501 /* Override any GCC internal prototype to avoid an error.
44502    Use char because int might match the return type of a GCC
44503    builtin and then its argument prototype would still apply.  */
44504 #ifdef __cplusplus
44505 extern "C"
44506 #endif
44507 char socket ();
44508 /* The GNU C library defines this for functions which it implements
44509     to always fail with ENOSYS.  Some functions are actually named
44510     something starting with __ and the normal name is an alias.  */
44511 #if defined __stub_socket || defined __stub___socket
44512 choke me
44513 #endif
44514
44515 int
44516 main ()
44517 {
44518 return socket ();
44519   ;
44520   return 0;
44521 }
44522 _ACEOF
44523 rm -f conftest.$ac_objext conftest$ac_exeext
44524 if { (ac_try="$ac_link"
44525 case "(($ac_try" in
44526   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44527   *) ac_try_echo=$ac_try;;
44528 esac
44529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44530   (eval "$ac_link") 2>conftest.er1
44531   ac_status=$?
44532   grep -v '^ *+' conftest.er1 >conftest.err
44533   rm -f conftest.er1
44534   cat conftest.err >&5
44535   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44536   (exit $ac_status); } && {
44537          test -z "$ac_c_werror_flag" ||
44538          test ! -s conftest.err
44539        } && test -s conftest$ac_exeext &&
44540        $as_test_x conftest$ac_exeext; then
44541   ac_cv_func_socket=yes
44542 else
44543   echo "$as_me: failed program was:" >&5
44544 sed 's/^/| /' conftest.$ac_ext >&5
44545
44546         ac_cv_func_socket=no
44547 fi
44548
44549 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44550       conftest$ac_exeext conftest.$ac_ext
44551 fi
44552 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
44553 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
44554 if test $ac_cv_func_socket = yes; then
44555   :
44556 else
44557
44558                 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
44559 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
44560 if test "${ac_cv_lib_socket_socket+set}" = set; then
44561   echo $ECHO_N "(cached) $ECHO_C" >&6
44562 else
44563   ac_check_lib_save_LIBS=$LIBS
44564 LIBS="-lsocket  $LIBS"
44565 cat >conftest.$ac_ext <<_ACEOF
44566 /* confdefs.h.  */
44567 _ACEOF
44568 cat confdefs.h >>conftest.$ac_ext
44569 cat >>conftest.$ac_ext <<_ACEOF
44570 /* end confdefs.h.  */
44571
44572 /* Override any GCC internal prototype to avoid an error.
44573    Use char because int might match the return type of a GCC
44574    builtin and then its argument prototype would still apply.  */
44575 #ifdef __cplusplus
44576 extern "C"
44577 #endif
44578 char socket ();
44579 int
44580 main ()
44581 {
44582 return socket ();
44583   ;
44584   return 0;
44585 }
44586 _ACEOF
44587 rm -f conftest.$ac_objext conftest$ac_exeext
44588 if { (ac_try="$ac_link"
44589 case "(($ac_try" in
44590   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44591   *) ac_try_echo=$ac_try;;
44592 esac
44593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44594   (eval "$ac_link") 2>conftest.er1
44595   ac_status=$?
44596   grep -v '^ *+' conftest.er1 >conftest.err
44597   rm -f conftest.er1
44598   cat conftest.err >&5
44599   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44600   (exit $ac_status); } && {
44601          test -z "$ac_c_werror_flag" ||
44602          test ! -s conftest.err
44603        } && test -s conftest$ac_exeext &&
44604        $as_test_x conftest$ac_exeext; then
44605   ac_cv_lib_socket_socket=yes
44606 else
44607   echo "$as_me: failed program was:" >&5
44608 sed 's/^/| /' conftest.$ac_ext >&5
44609
44610         ac_cv_lib_socket_socket=no
44611 fi
44612
44613 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44614       conftest$ac_exeext conftest.$ac_ext
44615 LIBS=$ac_check_lib_save_LIBS
44616 fi
44617 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
44618 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
44619 if test $ac_cv_lib_socket_socket = yes; then
44620   if test "$INET_LINK" != " -lsocket"; then
44621                         INET_LINK="$INET_LINK -lsocket"
44622                     fi
44623 else
44624
44625                         { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
44626 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
44627                         wxUSE_SOCKETS=no
44628
44629
44630 fi
44631
44632
44633
44634 fi
44635
44636     fi
44637 fi
44638
44639 if test "$wxUSE_SOCKETS" = "yes" ; then
44640                 if test "$TOOLKIT" != "MSW"; then
44641                                         { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
44642 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
44643 if test "${wx_cv_type_getsockname3+set}" = set; then
44644   echo $ECHO_N "(cached) $ECHO_C" >&6
44645 else
44646
44647                 ac_ext=cpp
44648 ac_cpp='$CXXCPP $CPPFLAGS'
44649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44652
44653                 cat >conftest.$ac_ext <<_ACEOF
44654 /* confdefs.h.  */
44655 _ACEOF
44656 cat confdefs.h >>conftest.$ac_ext
44657 cat >>conftest.$ac_ext <<_ACEOF
44658 /* end confdefs.h.  */
44659
44660                         #include <sys/types.h>
44661                         #include <sys/socket.h>
44662
44663 int
44664 main ()
44665 {
44666
44667                         socklen_t len;
44668                         getsockname(0, 0, &len);
44669
44670   ;
44671   return 0;
44672 }
44673 _ACEOF
44674 rm -f conftest.$ac_objext
44675 if { (ac_try="$ac_compile"
44676 case "(($ac_try" in
44677   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44678   *) ac_try_echo=$ac_try;;
44679 esac
44680 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44681   (eval "$ac_compile") 2>conftest.er1
44682   ac_status=$?
44683   grep -v '^ *+' conftest.er1 >conftest.err
44684   rm -f conftest.er1
44685   cat conftest.err >&5
44686   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44687   (exit $ac_status); } && {
44688          test -z "$ac_cxx_werror_flag" ||
44689          test ! -s conftest.err
44690        } && test -s conftest.$ac_objext; then
44691   wx_cv_type_getsockname3=socklen_t
44692 else
44693   echo "$as_me: failed program was:" >&5
44694 sed 's/^/| /' conftest.$ac_ext >&5
44695
44696
44697                                                                                                                                                                         CFLAGS_OLD="$CFLAGS"
44698                         if test "$GCC" = yes ; then
44699                             CFLAGS="-Werror $CFLAGS"
44700                         fi
44701
44702                         cat >conftest.$ac_ext <<_ACEOF
44703 /* confdefs.h.  */
44704 _ACEOF
44705 cat confdefs.h >>conftest.$ac_ext
44706 cat >>conftest.$ac_ext <<_ACEOF
44707 /* end confdefs.h.  */
44708
44709                                 #include <sys/types.h>
44710                                 #include <sys/socket.h>
44711
44712 int
44713 main ()
44714 {
44715
44716                                 size_t len;
44717                                 getsockname(0, 0, &len);
44718
44719   ;
44720   return 0;
44721 }
44722 _ACEOF
44723 rm -f conftest.$ac_objext
44724 if { (ac_try="$ac_compile"
44725 case "(($ac_try" in
44726   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44727   *) ac_try_echo=$ac_try;;
44728 esac
44729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44730   (eval "$ac_compile") 2>conftest.er1
44731   ac_status=$?
44732   grep -v '^ *+' conftest.er1 >conftest.err
44733   rm -f conftest.er1
44734   cat conftest.err >&5
44735   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44736   (exit $ac_status); } && {
44737          test -z "$ac_cxx_werror_flag" ||
44738          test ! -s conftest.err
44739        } && test -s conftest.$ac_objext; then
44740   wx_cv_type_getsockname3=size_t
44741 else
44742   echo "$as_me: failed program was:" >&5
44743 sed 's/^/| /' conftest.$ac_ext >&5
44744
44745         cat >conftest.$ac_ext <<_ACEOF
44746 /* confdefs.h.  */
44747 _ACEOF
44748 cat confdefs.h >>conftest.$ac_ext
44749 cat >>conftest.$ac_ext <<_ACEOF
44750 /* end confdefs.h.  */
44751
44752                                     #include <sys/types.h>
44753                                     #include <sys/socket.h>
44754
44755 int
44756 main ()
44757 {
44758
44759                                     int len;
44760                                     getsockname(0, 0, &len);
44761
44762   ;
44763   return 0;
44764 }
44765 _ACEOF
44766 rm -f conftest.$ac_objext
44767 if { (ac_try="$ac_compile"
44768 case "(($ac_try" in
44769   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44770   *) ac_try_echo=$ac_try;;
44771 esac
44772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44773   (eval "$ac_compile") 2>conftest.er1
44774   ac_status=$?
44775   grep -v '^ *+' conftest.er1 >conftest.err
44776   rm -f conftest.er1
44777   cat conftest.err >&5
44778   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44779   (exit $ac_status); } && {
44780          test -z "$ac_cxx_werror_flag" ||
44781          test ! -s conftest.err
44782        } && test -s conftest.$ac_objext; then
44783   wx_cv_type_getsockname3=int
44784 else
44785   echo "$as_me: failed program was:" >&5
44786 sed 's/^/| /' conftest.$ac_ext >&5
44787
44788         wx_cv_type_getsockname3=unknown
44789
44790 fi
44791
44792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44793
44794 fi
44795
44796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44797
44798                         CFLAGS="$CFLAGS_OLD"
44799
44800
44801 fi
44802
44803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44804                 ac_ext=c
44805 ac_cpp='$CPP $CPPFLAGS'
44806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44809
44810
44811 fi
44812 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
44813 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
44814
44815         if test "$wx_cv_type_getsockname3" = "unknown"; then
44816             wxUSE_SOCKETS=no
44817             { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44818 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44819         else
44820             cat >>confdefs.h <<_ACEOF
44821 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
44822 _ACEOF
44823
44824         fi
44825                 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
44826 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
44827 if test "${wx_cv_type_getsockopt5+set}" = set; then
44828   echo $ECHO_N "(cached) $ECHO_C" >&6
44829 else
44830
44831                                                                                                 ac_ext=cpp
44832 ac_cpp='$CXXCPP $CPPFLAGS'
44833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44836
44837                 cat >conftest.$ac_ext <<_ACEOF
44838 /* confdefs.h.  */
44839 _ACEOF
44840 cat confdefs.h >>conftest.$ac_ext
44841 cat >>conftest.$ac_ext <<_ACEOF
44842 /* end confdefs.h.  */
44843
44844                         #include <sys/types.h>
44845                         #include <sys/socket.h>
44846
44847 int
44848 main ()
44849 {
44850
44851                         socklen_t len;
44852                         getsockopt(0, 0, 0, 0, &len);
44853
44854   ;
44855   return 0;
44856 }
44857 _ACEOF
44858 rm -f conftest.$ac_objext
44859 if { (ac_try="$ac_compile"
44860 case "(($ac_try" in
44861   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44862   *) ac_try_echo=$ac_try;;
44863 esac
44864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44865   (eval "$ac_compile") 2>conftest.er1
44866   ac_status=$?
44867   grep -v '^ *+' conftest.er1 >conftest.err
44868   rm -f conftest.er1
44869   cat conftest.err >&5
44870   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44871   (exit $ac_status); } && {
44872          test -z "$ac_cxx_werror_flag" ||
44873          test ! -s conftest.err
44874        } && test -s conftest.$ac_objext; then
44875   wx_cv_type_getsockopt5=socklen_t
44876 else
44877   echo "$as_me: failed program was:" >&5
44878 sed 's/^/| /' conftest.$ac_ext >&5
44879
44880
44881                         cat >conftest.$ac_ext <<_ACEOF
44882 /* confdefs.h.  */
44883 _ACEOF
44884 cat confdefs.h >>conftest.$ac_ext
44885 cat >>conftest.$ac_ext <<_ACEOF
44886 /* end confdefs.h.  */
44887
44888                                 #include <sys/types.h>
44889                                 #include <sys/socket.h>
44890
44891 int
44892 main ()
44893 {
44894
44895                                 size_t len;
44896                                 getsockopt(0, 0, 0, 0, &len);
44897
44898   ;
44899   return 0;
44900 }
44901 _ACEOF
44902 rm -f conftest.$ac_objext
44903 if { (ac_try="$ac_compile"
44904 case "(($ac_try" in
44905   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44906   *) ac_try_echo=$ac_try;;
44907 esac
44908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44909   (eval "$ac_compile") 2>conftest.er1
44910   ac_status=$?
44911   grep -v '^ *+' conftest.er1 >conftest.err
44912   rm -f conftest.er1
44913   cat conftest.err >&5
44914   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44915   (exit $ac_status); } && {
44916          test -z "$ac_cxx_werror_flag" ||
44917          test ! -s conftest.err
44918        } && test -s conftest.$ac_objext; then
44919   wx_cv_type_getsockopt5=size_t
44920 else
44921   echo "$as_me: failed program was:" >&5
44922 sed 's/^/| /' conftest.$ac_ext >&5
44923
44924         cat >conftest.$ac_ext <<_ACEOF
44925 /* confdefs.h.  */
44926 _ACEOF
44927 cat confdefs.h >>conftest.$ac_ext
44928 cat >>conftest.$ac_ext <<_ACEOF
44929 /* end confdefs.h.  */
44930
44931                                     #include <sys/types.h>
44932                                     #include <sys/socket.h>
44933
44934 int
44935 main ()
44936 {
44937
44938                                     int len;
44939                                     getsockopt(0, 0, 0, 0, &len);
44940
44941   ;
44942   return 0;
44943 }
44944 _ACEOF
44945 rm -f conftest.$ac_objext
44946 if { (ac_try="$ac_compile"
44947 case "(($ac_try" in
44948   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44949   *) ac_try_echo=$ac_try;;
44950 esac
44951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44952   (eval "$ac_compile") 2>conftest.er1
44953   ac_status=$?
44954   grep -v '^ *+' conftest.er1 >conftest.err
44955   rm -f conftest.er1
44956   cat conftest.err >&5
44957   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44958   (exit $ac_status); } && {
44959          test -z "$ac_cxx_werror_flag" ||
44960          test ! -s conftest.err
44961        } && test -s conftest.$ac_objext; then
44962   wx_cv_type_getsockopt5=int
44963 else
44964   echo "$as_me: failed program was:" >&5
44965 sed 's/^/| /' conftest.$ac_ext >&5
44966
44967         wx_cv_type_getsockopt5=unknown
44968
44969 fi
44970
44971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44972
44973 fi
44974
44975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44976
44977
44978 fi
44979
44980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44981                 ac_ext=c
44982 ac_cpp='$CPP $CPPFLAGS'
44983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44986
44987
44988 fi
44989 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
44990 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
44991
44992         if test "$wx_cv_type_getsockopt5" = "unknown"; then
44993             wxUSE_SOCKETS=no
44994             { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44995 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44996         else
44997             cat >>confdefs.h <<_ACEOF
44998 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
44999 _ACEOF
45000
45001         fi
45002     fi
45003 fi
45004
45005 if test "$wxUSE_SOCKETS" = "yes" ; then
45006     if test "$wxUSE_IPV6" = "yes"; then
45007         { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
45008 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
45009 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
45010   echo $ECHO_N "(cached) $ECHO_C" >&6
45011 else
45012
45013                 cat >conftest.$ac_ext <<_ACEOF
45014 /* confdefs.h.  */
45015 _ACEOF
45016 cat confdefs.h >>conftest.$ac_ext
45017 cat >>conftest.$ac_ext <<_ACEOF
45018 /* end confdefs.h.  */
45019
45020                         #include <sys/types.h>
45021                         #include <sys/socket.h>
45022                         #include <netinet/in.h>
45023
45024 int
45025 main ()
45026 {
45027
45028                         struct sockaddr_in6 sa6;
45029
45030   ;
45031   return 0;
45032 }
45033 _ACEOF
45034 rm -f conftest.$ac_objext
45035 if { (ac_try="$ac_compile"
45036 case "(($ac_try" in
45037   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45038   *) ac_try_echo=$ac_try;;
45039 esac
45040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45041   (eval "$ac_compile") 2>conftest.er1
45042   ac_status=$?
45043   grep -v '^ *+' conftest.er1 >conftest.err
45044   rm -f conftest.er1
45045   cat conftest.err >&5
45046   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45047   (exit $ac_status); } && {
45048          test -z "$ac_c_werror_flag" ||
45049          test ! -s conftest.err
45050        } && test -s conftest.$ac_objext; then
45051   wx_cv_type_sockaddr_in6=yes
45052 else
45053   echo "$as_me: failed program was:" >&5
45054 sed 's/^/| /' conftest.$ac_ext >&5
45055
45056         wx_cv_type_sockaddr_in6=no
45057
45058 fi
45059
45060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45061
45062
45063 fi
45064 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
45065 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
45066
45067         if test "$wx_cv_type_sockaddr_in6"="yes"; then
45068             cat >>confdefs.h <<\_ACEOF
45069 #define wxUSE_IPV6 1
45070 _ACEOF
45071
45072         else
45073             { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
45074 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
45075         fi
45076     fi
45077
45078     cat >>confdefs.h <<\_ACEOF
45079 #define wxUSE_SOCKETS 1
45080 _ACEOF
45081
45082     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
45083 fi
45084
45085 if test "$wxUSE_PROTOCOL" = "yes"; then
45086     if test "$wxUSE_SOCKETS" != "yes"; then
45087         { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
45088 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
45089         wxUSE_PROTOCOL=no
45090     fi
45091 fi
45092
45093 if test "$wxUSE_PROTOCOL" = "yes"; then
45094     cat >>confdefs.h <<\_ACEOF
45095 #define wxUSE_PROTOCOL 1
45096 _ACEOF
45097
45098
45099     if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
45100         cat >>confdefs.h <<\_ACEOF
45101 #define wxUSE_PROTOCOL_HTTP 1
45102 _ACEOF
45103
45104     fi
45105     if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
45106         cat >>confdefs.h <<\_ACEOF
45107 #define wxUSE_PROTOCOL_FTP 1
45108 _ACEOF
45109
45110     fi
45111     if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
45112         cat >>confdefs.h <<\_ACEOF
45113 #define wxUSE_PROTOCOL_FILE 1
45114 _ACEOF
45115
45116     fi
45117 else
45118     if test "$wxUSE_FS_INET" = "yes"; then
45119         { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
45120 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
45121         wxUSE_FS_INET="no"
45122     fi
45123 fi
45124
45125 if test "$wxUSE_URL" = "yes"; then
45126     if test "$wxUSE_PROTOCOL" != "yes"; then
45127         { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
45128 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
45129         wxUSE_URL=no
45130     fi
45131     if test "$wxUSE_URL" = "yes"; then
45132         cat >>confdefs.h <<\_ACEOF
45133 #define wxUSE_URL 1
45134 _ACEOF
45135
45136     fi
45137 fi
45138
45139 if test "$wxUSE_VARIANT" = "yes"; then
45140     cat >>confdefs.h <<\_ACEOF
45141 #define wxUSE_VARIANT 1
45142 _ACEOF
45143
45144 fi
45145
45146 if test "$wxUSE_FS_INET" = "yes"; then
45147   cat >>confdefs.h <<\_ACEOF
45148 #define wxUSE_FS_INET 1
45149 _ACEOF
45150
45151 fi
45152
45153
45154 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
45155     wxUSE_JOYSTICK=no
45156
45157         if test "$TOOLKIT" = "MSW"; then
45158         wxUSE_JOYSTICK=yes
45159
45160         elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
45161         if test "$USE_DARWIN" = 1; then
45162                         { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
45163 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
45164             ac_ext=cpp
45165 ac_cpp='$CXXCPP $CPPFLAGS'
45166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45169
45170             cat >conftest.$ac_ext <<_ACEOF
45171 /* confdefs.h.  */
45172 _ACEOF
45173 cat confdefs.h >>conftest.$ac_ext
45174 cat >>conftest.$ac_ext <<_ACEOF
45175 /* end confdefs.h.  */
45176  #include <IOKit/hid/IOHIDLib.h>
45177 int
45178 main ()
45179 {
45180  IOHIDQueueInterface *qi = NULL;
45181                               IOHIDCallbackFunction cb = NULL;
45182                               qi->setEventCallout(NULL, cb, NULL, NULL);
45183   ;
45184   return 0;
45185 }
45186 _ACEOF
45187 rm -f conftest.$ac_objext
45188 if { (ac_try="$ac_compile"
45189 case "(($ac_try" in
45190   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45191   *) ac_try_echo=$ac_try;;
45192 esac
45193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45194   (eval "$ac_compile") 2>conftest.er1
45195   ac_status=$?
45196   grep -v '^ *+' conftest.er1 >conftest.err
45197   rm -f conftest.er1
45198   cat conftest.err >&5
45199   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45200   (exit $ac_status); } && {
45201          test -z "$ac_cxx_werror_flag" ||
45202          test ! -s conftest.err
45203        } && test -s conftest.$ac_objext; then
45204    wxUSE_JOYSTICK=yes
45205
45206 else
45207   echo "$as_me: failed program was:" >&5
45208 sed 's/^/| /' conftest.$ac_ext >&5
45209
45210
45211 fi
45212
45213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45214             ac_ext=c
45215 ac_cpp='$CPP $CPPFLAGS'
45216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45219
45220             { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
45221 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
45222         fi
45223
45224         else
45225                 if test "$wxUSE_MGL" != 1; then
45226
45227 for ac_header in linux/joystick.h
45228 do
45229 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45230 { echo "$as_me:$LINENO: checking for $ac_header" >&5
45231 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
45232 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45233   echo $ECHO_N "(cached) $ECHO_C" >&6
45234 else
45235   cat >conftest.$ac_ext <<_ACEOF
45236 /* confdefs.h.  */
45237 _ACEOF
45238 cat confdefs.h >>conftest.$ac_ext
45239 cat >>conftest.$ac_ext <<_ACEOF
45240 /* end confdefs.h.  */
45241 $ac_includes_default
45242
45243 #include <$ac_header>
45244 _ACEOF
45245 rm -f conftest.$ac_objext
45246 if { (ac_try="$ac_compile"
45247 case "(($ac_try" in
45248   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45249   *) ac_try_echo=$ac_try;;
45250 esac
45251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45252   (eval "$ac_compile") 2>conftest.er1
45253   ac_status=$?
45254   grep -v '^ *+' conftest.er1 >conftest.err
45255   rm -f conftest.er1
45256   cat conftest.err >&5
45257   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45258   (exit $ac_status); } && {
45259          test -z "$ac_c_werror_flag" ||
45260          test ! -s conftest.err
45261        } && test -s conftest.$ac_objext; then
45262   eval "$as_ac_Header=yes"
45263 else
45264   echo "$as_me: failed program was:" >&5
45265 sed 's/^/| /' conftest.$ac_ext >&5
45266
45267         eval "$as_ac_Header=no"
45268 fi
45269
45270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45271 fi
45272 ac_res=`eval echo '${'$as_ac_Header'}'`
45273                { echo "$as_me:$LINENO: result: $ac_res" >&5
45274 echo "${ECHO_T}$ac_res" >&6; }
45275 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45276   cat >>confdefs.h <<_ACEOF
45277 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45278 _ACEOF
45279  wxUSE_JOYSTICK=yes
45280 fi
45281
45282 done
45283
45284         fi
45285     fi
45286
45287     if test "$wxUSE_JOYSTICK" = "yes"; then
45288         cat >>confdefs.h <<\_ACEOF
45289 #define wxUSE_JOYSTICK 1
45290 _ACEOF
45291
45292         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
45293     else
45294         { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
45295 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
45296     fi
45297 fi
45298
45299
45300
45301 if test "$wxUSE_FONTENUM" = "yes" ; then
45302   cat >>confdefs.h <<\_ACEOF
45303 #define wxUSE_FONTENUM 1
45304 _ACEOF
45305
45306 fi
45307
45308 if test "$wxUSE_FONTMAP" = "yes" ; then
45309   cat >>confdefs.h <<\_ACEOF
45310 #define wxUSE_FONTMAP 1
45311 _ACEOF
45312
45313 fi
45314
45315 if test "$wxUSE_UNICODE" = "yes" ; then
45316   cat >>confdefs.h <<\_ACEOF
45317 #define wxUSE_UNICODE 1
45318 _ACEOF
45319
45320
45321   if test "$USE_WIN32" != 1; then
45322       wxUSE_UNICODE_MSLU=no
45323   fi
45324
45325   if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
45326         { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
45327 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
45328 if test "${ac_cv_lib_unicows_main+set}" = set; then
45329   echo $ECHO_N "(cached) $ECHO_C" >&6
45330 else
45331   ac_check_lib_save_LIBS=$LIBS
45332 LIBS="-lunicows  $LIBS"
45333 cat >conftest.$ac_ext <<_ACEOF
45334 /* confdefs.h.  */
45335 _ACEOF
45336 cat confdefs.h >>conftest.$ac_ext
45337 cat >>conftest.$ac_ext <<_ACEOF
45338 /* end confdefs.h.  */
45339
45340
45341 int
45342 main ()
45343 {
45344 return main ();
45345   ;
45346   return 0;
45347 }
45348 _ACEOF
45349 rm -f conftest.$ac_objext conftest$ac_exeext
45350 if { (ac_try="$ac_link"
45351 case "(($ac_try" in
45352   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45353   *) ac_try_echo=$ac_try;;
45354 esac
45355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45356   (eval "$ac_link") 2>conftest.er1
45357   ac_status=$?
45358   grep -v '^ *+' conftest.er1 >conftest.err
45359   rm -f conftest.er1
45360   cat conftest.err >&5
45361   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45362   (exit $ac_status); } && {
45363          test -z "$ac_c_werror_flag" ||
45364          test ! -s conftest.err
45365        } && test -s conftest$ac_exeext &&
45366        $as_test_x conftest$ac_exeext; then
45367   ac_cv_lib_unicows_main=yes
45368 else
45369   echo "$as_me: failed program was:" >&5
45370 sed 's/^/| /' conftest.$ac_ext >&5
45371
45372         ac_cv_lib_unicows_main=no
45373 fi
45374
45375 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45376       conftest$ac_exeext conftest.$ac_ext
45377 LIBS=$ac_check_lib_save_LIBS
45378 fi
45379 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
45380 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
45381 if test $ac_cv_lib_unicows_main = yes; then
45382
45383                 cat >>confdefs.h <<\_ACEOF
45384 #define wxUSE_UNICODE_MSLU 1
45385 _ACEOF
45386
45387
45388 else
45389
45390                 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45391                              Applications will only run on Windows NT/2000/XP!" >&5
45392 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45393                              Applications will only run on Windows NT/2000/XP!" >&2;}
45394                 wxUSE_UNICODE_MSLU=no
45395
45396 fi
45397
45398     fi
45399 fi
45400
45401 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
45402     cat >>confdefs.h <<\_ACEOF
45403 #define wxUSE_UNICODE_UTF8 1
45404 _ACEOF
45405
45406
45407     if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
45408         cat >>confdefs.h <<\_ACEOF
45409 #define wxUSE_UTF8_LOCALE_ONLY 1
45410 _ACEOF
45411
45412     fi
45413 fi
45414
45415
45416 if test "$wxUSE_CONSTRAINTS" = "yes"; then
45417     cat >>confdefs.h <<\_ACEOF
45418 #define wxUSE_CONSTRAINTS 1
45419 _ACEOF
45420
45421     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
45422 fi
45423
45424 if test "$wxUSE_MDI" = "yes"; then
45425     cat >>confdefs.h <<\_ACEOF
45426 #define wxUSE_MDI 1
45427 _ACEOF
45428
45429
45430     if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
45431         cat >>confdefs.h <<\_ACEOF
45432 #define wxUSE_MDI_ARCHITECTURE 1
45433 _ACEOF
45434
45435         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
45436     fi
45437 fi
45438
45439 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
45440     cat >>confdefs.h <<\_ACEOF
45441 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
45442 _ACEOF
45443
45444     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
45445 fi
45446
45447 if test "$wxUSE_HELP" = "yes"; then
45448     cat >>confdefs.h <<\_ACEOF
45449 #define wxUSE_HELP 1
45450 _ACEOF
45451
45452     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
45453
45454     if test "$wxUSE_MSW" = 1; then
45455       if test "$wxUSE_MS_HTML_HELP" = "yes"; then
45456         cat >>confdefs.h <<\_ACEOF
45457 #define wxUSE_MS_HTML_HELP 1
45458 _ACEOF
45459
45460       fi
45461     fi
45462
45463     if test "$wxUSE_WXHTML_HELP" = "yes"; then
45464       if test "$wxUSE_HTML" = "yes"; then
45465         cat >>confdefs.h <<\_ACEOF
45466 #define wxUSE_WXHTML_HELP 1
45467 _ACEOF
45468
45469       else
45470         { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
45471 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
45472         wxUSE_WXHTML_HELP=no
45473       fi
45474     fi
45475 fi
45476
45477 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
45478     cat >>confdefs.h <<\_ACEOF
45479 #define wxUSE_PRINTING_ARCHITECTURE 1
45480 _ACEOF
45481
45482     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
45483 fi
45484
45485 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
45486   cat >>confdefs.h <<\_ACEOF
45487 #define wxUSE_POSTSCRIPT 1
45488 _ACEOF
45489
45490 fi
45491
45492 cat >>confdefs.h <<\_ACEOF
45493 #define wxUSE_AFM_FOR_POSTSCRIPT 1
45494 _ACEOF
45495
45496
45497 if test "$wxUSE_SVG" = "yes"; then
45498     cat >>confdefs.h <<\_ACEOF
45499 #define wxUSE_SVG 1
45500 _ACEOF
45501
45502 fi
45503
45504
45505 if test "$wxUSE_METAFILE" = "yes"; then
45506     if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
45507         { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
45508 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
45509         wxUSE_METAFILE=no
45510     fi
45511 fi
45512
45513
45514 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ"       = "yes" \
45515                           -o "$wxUSE_CLIPBOARD"     = "yes" \
45516                           -o "$wxUSE_OLE"     = "yes" \
45517                           -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
45518     { echo "$as_me:$LINENO: checking for ole2.h" >&5
45519 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
45520 if test "${ac_cv_header_ole2_h+set}" = set; then
45521   echo $ECHO_N "(cached) $ECHO_C" >&6
45522 else
45523   cat >conftest.$ac_ext <<_ACEOF
45524 /* confdefs.h.  */
45525 _ACEOF
45526 cat confdefs.h >>conftest.$ac_ext
45527 cat >>conftest.$ac_ext <<_ACEOF
45528 /* end confdefs.h.  */
45529
45530
45531 #include <ole2.h>
45532 _ACEOF
45533 rm -f conftest.$ac_objext
45534 if { (ac_try="$ac_compile"
45535 case "(($ac_try" in
45536   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45537   *) ac_try_echo=$ac_try;;
45538 esac
45539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45540   (eval "$ac_compile") 2>conftest.er1
45541   ac_status=$?
45542   grep -v '^ *+' conftest.er1 >conftest.err
45543   rm -f conftest.er1
45544   cat conftest.err >&5
45545   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45546   (exit $ac_status); } && {
45547          test -z "$ac_c_werror_flag" ||
45548          test ! -s conftest.err
45549        } && test -s conftest.$ac_objext; then
45550   ac_cv_header_ole2_h=yes
45551 else
45552   echo "$as_me: failed program was:" >&5
45553 sed 's/^/| /' conftest.$ac_ext >&5
45554
45555         ac_cv_header_ole2_h=no
45556 fi
45557
45558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45559 fi
45560 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
45561 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
45562
45563
45564
45565     if test "$ac_cv_header_ole2_h" = "yes" ; then
45566         if test "$GCC" = yes ; then
45567             { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
45568 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
45569             cat >conftest.$ac_ext <<_ACEOF
45570 /* confdefs.h.  */
45571 _ACEOF
45572 cat confdefs.h >>conftest.$ac_ext
45573 cat >>conftest.$ac_ext <<_ACEOF
45574 /* end confdefs.h.  */
45575 #include <windows.h>
45576                             #include <ole2.h>
45577 int
45578 main ()
45579 {
45580
45581   ;
45582   return 0;
45583 }
45584 _ACEOF
45585 rm -f conftest.$ac_objext
45586 if { (ac_try="$ac_compile"
45587 case "(($ac_try" in
45588   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45589   *) ac_try_echo=$ac_try;;
45590 esac
45591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45592   (eval "$ac_compile") 2>conftest.er1
45593   ac_status=$?
45594   grep -v '^ *+' conftest.er1 >conftest.err
45595   rm -f conftest.er1
45596   cat conftest.err >&5
45597   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45598   (exit $ac_status); } && {
45599          test -z "$ac_c_werror_flag" ||
45600          test ! -s conftest.err
45601        } && test -s conftest.$ac_objext; then
45602   { echo "$as_me:$LINENO: result: no" >&5
45603 echo "${ECHO_T}no" >&6; }
45604 else
45605   echo "$as_me: failed program was:" >&5
45606 sed 's/^/| /' conftest.$ac_ext >&5
45607
45608         { echo "$as_me:$LINENO: result: yes" >&5
45609 echo "${ECHO_T}yes" >&6; }
45610                             WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
45611 fi
45612
45613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45614             LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
45615             if test "$wxUSE_OLE" = "yes" ; then
45616                 cat >>confdefs.h <<\_ACEOF
45617 #define wxUSE_OLE 1
45618 _ACEOF
45619
45620                 cat >>confdefs.h <<\_ACEOF
45621 #define wxUSE_OLE_AUTOMATION 1
45622 _ACEOF
45623
45624                 cat >>confdefs.h <<\_ACEOF
45625 #define wxUSE_ACTIVEX 1
45626 _ACEOF
45627
45628                 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
45629             fi
45630         fi
45631
45632                 if test "$wxUSE_DATAOBJ" = "yes" ; then
45633             cat >>confdefs.h <<\_ACEOF
45634 #define wxUSE_DATAOBJ 1
45635 _ACEOF
45636
45637         fi
45638     else
45639         { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
45640 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
45641
45642         wxUSE_CLIPBOARD=no
45643         wxUSE_DRAG_AND_DROP=no
45644         wxUSE_DATAOBJ=no
45645         wxUSE_OLE=no
45646     fi
45647
45648     if test "$wxUSE_METAFILE" = "yes"; then
45649         cat >>confdefs.h <<\_ACEOF
45650 #define wxUSE_METAFILE 1
45651 _ACEOF
45652
45653
45654                 cat >>confdefs.h <<\_ACEOF
45655 #define wxUSE_ENH_METAFILE 1
45656 _ACEOF
45657
45658     fi
45659 fi
45660
45661 if test "$wxUSE_IPC" = "yes"; then
45662     if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
45663         { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
45664 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
45665         wxUSE_IPC=no
45666     fi
45667
45668     if test "$wxUSE_IPC" = "yes"; then
45669         cat >>confdefs.h <<\_ACEOF
45670 #define wxUSE_IPC 1
45671 _ACEOF
45672
45673         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
45674     fi
45675 fi
45676
45677 if test "$wxUSE_DATAOBJ" = "yes"; then
45678     if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
45679         { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
45680 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
45681         wxUSE_DATAOBJ=no
45682     else
45683         cat >>confdefs.h <<\_ACEOF
45684 #define wxUSE_DATAOBJ 1
45685 _ACEOF
45686
45687     fi
45688 else
45689     { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
45690 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
45691     wxUSE_CLIPBOARD=no
45692     wxUSE_DRAG_AND_DROP=no
45693 fi
45694
45695 if test "$wxUSE_CLIPBOARD" = "yes"; then
45696     if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
45697         { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
45698 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
45699         wxUSE_CLIPBOARD=no
45700     fi
45701
45702     if test "$wxUSE_CLIPBOARD" = "yes"; then
45703         cat >>confdefs.h <<\_ACEOF
45704 #define wxUSE_CLIPBOARD 1
45705 _ACEOF
45706
45707     fi
45708 fi
45709
45710 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
45711     if test "$wxUSE_GTK" = 1; then
45712         if test "$WXGTK12" != 1; then
45713             { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
45714 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
45715             wxUSE_DRAG_AND_DROP=no
45716         fi
45717     fi
45718
45719     if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
45720             "$wxUSE_DFB" = 1; then
45721         { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
45722 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
45723         wxUSE_DRAG_AND_DROP=no
45724     fi
45725
45726     if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
45727         cat >>confdefs.h <<\_ACEOF
45728 #define wxUSE_DRAG_AND_DROP 1
45729 _ACEOF
45730
45731     fi
45732
45733 fi
45734
45735 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
45736     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
45737 fi
45738
45739 if test "$wxUSE_CLIPBOARD" = "yes"; then
45740     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS clipboard"
45741 fi
45742
45743 if test "$wxUSE_SPLINES" = "yes" ; then
45744   cat >>confdefs.h <<\_ACEOF
45745 #define wxUSE_SPLINES 1
45746 _ACEOF
45747
45748 fi
45749
45750 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
45751   cat >>confdefs.h <<\_ACEOF
45752 #define wxUSE_MOUSEWHEEL 1
45753 _ACEOF
45754
45755 fi
45756
45757
45758 USES_CONTROLS=0
45759 if test "$wxUSE_CONTROLS" = "yes"; then
45760   USES_CONTROLS=1
45761 fi
45762
45763 if test "$wxUSE_ACCEL" = "yes"; then
45764   cat >>confdefs.h <<\_ACEOF
45765 #define wxUSE_ACCEL 1
45766 _ACEOF
45767
45768   USES_CONTROLS=1
45769 fi
45770
45771 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
45772   cat >>confdefs.h <<\_ACEOF
45773 #define wxUSE_ANIMATIONCTRL 1
45774 _ACEOF
45775
45776   USES_CONTROLS=1
45777   SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
45778 fi
45779
45780 if test "$wxUSE_BUTTON" = "yes"; then
45781   cat >>confdefs.h <<\_ACEOF
45782 #define wxUSE_BUTTON 1
45783 _ACEOF
45784
45785   USES_CONTROLS=1
45786 fi
45787
45788 if test "$wxUSE_BMPBUTTON" = "yes"; then
45789   cat >>confdefs.h <<\_ACEOF
45790 #define wxUSE_BMPBUTTON 1
45791 _ACEOF
45792
45793   USES_CONTROLS=1
45794 fi
45795
45796 if test "$wxUSE_CALCTRL" = "yes"; then
45797   cat >>confdefs.h <<\_ACEOF
45798 #define wxUSE_CALENDARCTRL 1
45799 _ACEOF
45800
45801   USES_CONTROLS=1
45802   SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
45803 fi
45804
45805 if test "$wxUSE_CARET" = "yes"; then
45806   cat >>confdefs.h <<\_ACEOF
45807 #define wxUSE_CARET 1
45808 _ACEOF
45809
45810   USES_CONTROLS=1
45811   SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
45812 fi
45813
45814 if test "$wxUSE_COLLPANE" = "yes"; then
45815     cat >>confdefs.h <<\_ACEOF
45816 #define wxUSE_COLLPANE 1
45817 _ACEOF
45818
45819     USES_CONTROLS=1
45820     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
45821 fi
45822
45823 if test "$wxUSE_COMBOBOX" = "yes"; then
45824   cat >>confdefs.h <<\_ACEOF
45825 #define wxUSE_COMBOBOX 1
45826 _ACEOF
45827
45828   USES_CONTROLS=1
45829 fi
45830
45831 if test "$wxUSE_COMBOCTRL" = "yes"; then
45832   cat >>confdefs.h <<\_ACEOF
45833 #define wxUSE_COMBOCTRL 1
45834 _ACEOF
45835
45836   USES_CONTROLS=1
45837 fi
45838
45839 if test "$wxUSE_CHOICE" = "yes"; then
45840   cat >>confdefs.h <<\_ACEOF
45841 #define wxUSE_CHOICE 1
45842 _ACEOF
45843
45844   USES_CONTROLS=1
45845 fi
45846
45847 if test "$wxUSE_CHOICEBOOK" = "yes"; then
45848     cat >>confdefs.h <<\_ACEOF
45849 #define wxUSE_CHOICEBOOK 1
45850 _ACEOF
45851
45852     USES_CONTROLS=1
45853 fi
45854
45855 if test "$wxUSE_CHECKBOX" = "yes"; then
45856   cat >>confdefs.h <<\_ACEOF
45857 #define wxUSE_CHECKBOX 1
45858 _ACEOF
45859
45860   USES_CONTROLS=1
45861 fi
45862
45863 if test "$wxUSE_CHECKLST" = "yes"; then
45864   cat >>confdefs.h <<\_ACEOF
45865 #define wxUSE_CHECKLISTBOX 1
45866 _ACEOF
45867
45868   USES_CONTROLS=1
45869 fi
45870
45871 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
45872   cat >>confdefs.h <<\_ACEOF
45873 #define wxUSE_COLOURPICKERCTRL 1
45874 _ACEOF
45875
45876   USES_CONTROLS=1
45877 fi
45878
45879 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
45880   cat >>confdefs.h <<\_ACEOF
45881 #define wxUSE_DATEPICKCTRL 1
45882 _ACEOF
45883
45884   USES_CONTROLS=1
45885 fi
45886
45887 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
45888   cat >>confdefs.h <<\_ACEOF
45889 #define wxUSE_DIRPICKERCTRL 1
45890 _ACEOF
45891
45892   USES_CONTROLS=1
45893 fi
45894
45895 if test "$wxUSE_FILECTRL" = "yes"; then
45896   cat >>confdefs.h <<\_ACEOF
45897 #define wxUSE_FILECTRL 1
45898 _ACEOF
45899
45900   USES_CONTROLS=1
45901 fi
45902
45903 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
45904   cat >>confdefs.h <<\_ACEOF
45905 #define wxUSE_FILEPICKERCTRL 1
45906 _ACEOF
45907
45908   USES_CONTROLS=1
45909 fi
45910
45911 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
45912   cat >>confdefs.h <<\_ACEOF
45913 #define wxUSE_FONTPICKERCTRL 1
45914 _ACEOF
45915
45916   USES_CONTROLS=1
45917 fi
45918
45919 if test "$wxUSE_DISPLAY" = "yes"; then
45920     if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
45921         { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
45922 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
45923         wxUSE_DISPLAY=no
45924     else
45925         cat >>confdefs.h <<\_ACEOF
45926 #define wxUSE_DISPLAY 1
45927 _ACEOF
45928
45929         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
45930     fi
45931 fi
45932
45933 if test "$wxUSE_DETECT_SM" = "yes"; then
45934     cat >>confdefs.h <<\_ACEOF
45935 #define wxUSE_DETECT_SM 1
45936 _ACEOF
45937
45938 fi
45939
45940 if test "$wxUSE_GAUGE" = "yes"; then
45941   cat >>confdefs.h <<\_ACEOF
45942 #define wxUSE_GAUGE 1
45943 _ACEOF
45944
45945   USES_CONTROLS=1
45946 fi
45947
45948 if test "$wxUSE_GRID" = "yes"; then
45949   cat >>confdefs.h <<\_ACEOF
45950 #define wxUSE_GRID 1
45951 _ACEOF
45952
45953   USES_CONTROLS=1
45954   SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
45955 fi
45956
45957 if test "$wxUSE_HEADERCTRL" = "yes"; then
45958   cat >>confdefs.h <<\_ACEOF
45959 #define wxUSE_HEADERCTRL 1
45960 _ACEOF
45961
45962   USES_CONTROLS=1
45963 fi
45964
45965 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
45966   cat >>confdefs.h <<\_ACEOF
45967 #define wxUSE_HYPERLINKCTRL 1
45968 _ACEOF
45969
45970   USES_CONTROLS=1
45971 fi
45972
45973 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
45974   cat >>confdefs.h <<\_ACEOF
45975 #define wxUSE_BITMAPCOMBOBOX 1
45976 _ACEOF
45977
45978   USES_CONTROLS=1
45979 fi
45980
45981 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
45982   cat >>confdefs.h <<\_ACEOF
45983 #define wxUSE_DATAVIEWCTRL 1
45984 _ACEOF
45985
45986   USES_CONTROLS=1
45987   SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
45988 fi
45989
45990 if test "$wxUSE_IMAGLIST" = "yes"; then
45991     cat >>confdefs.h <<\_ACEOF
45992 #define wxUSE_IMAGLIST 1
45993 _ACEOF
45994
45995 fi
45996
45997 if test "$wxUSE_INFOBAR" = "yes"; then
45998     cat >>confdefs.h <<\_ACEOF
45999 #define wxUSE_INFOBAR 1
46000 _ACEOF
46001
46002 fi
46003
46004 if test "$wxUSE_LISTBOOK" = "yes"; then
46005     cat >>confdefs.h <<\_ACEOF
46006 #define wxUSE_LISTBOOK 1
46007 _ACEOF
46008
46009     USES_CONTROLS=1
46010 fi
46011
46012 if test "$wxUSE_LISTBOX" = "yes"; then
46013     cat >>confdefs.h <<\_ACEOF
46014 #define wxUSE_LISTBOX 1
46015 _ACEOF
46016
46017     USES_CONTROLS=1
46018 fi
46019
46020 if test "$wxUSE_LISTCTRL" = "yes"; then
46021     if test "$wxUSE_IMAGLIST" = "yes"; then
46022         cat >>confdefs.h <<\_ACEOF
46023 #define wxUSE_LISTCTRL 1
46024 _ACEOF
46025
46026         USES_CONTROLS=1
46027         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
46028     else
46029         { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
46030 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
46031     fi
46032 fi
46033
46034 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
46035     cat >>confdefs.h <<\_ACEOF
46036 #define wxUSE_EDITABLELISTBOX 1
46037 _ACEOF
46038
46039     USES_CONTROLS=1
46040 fi
46041
46042 if test "$wxUSE_NOTEBOOK" = "yes"; then
46043     cat >>confdefs.h <<\_ACEOF
46044 #define wxUSE_NOTEBOOK 1
46045 _ACEOF
46046
46047     USES_CONTROLS=1
46048     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
46049 fi
46050
46051 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
46052     cat >>confdefs.h <<\_ACEOF
46053 #define wxUSE_NOTIFICATION_MESSAGE 1
46054 _ACEOF
46055
46056 fi
46057
46058 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
46059   cat >>confdefs.h <<\_ACEOF
46060 #define wxUSE_ODCOMBOBOX 1
46061 _ACEOF
46062
46063   USES_CONTROLS=1
46064   SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
46065 fi
46066
46067 if test "$wxUSE_RADIOBOX" = "yes"; then
46068     cat >>confdefs.h <<\_ACEOF
46069 #define wxUSE_RADIOBOX 1
46070 _ACEOF
46071
46072     USES_CONTROLS=1
46073 fi
46074
46075 if test "$wxUSE_RADIOBTN" = "yes"; then
46076     cat >>confdefs.h <<\_ACEOF
46077 #define wxUSE_RADIOBTN 1
46078 _ACEOF
46079
46080     USES_CONTROLS=1
46081 fi
46082
46083 if test "$wxUSE_REARRANGECTRL" = "yes"; then
46084     cat >>confdefs.h <<\_ACEOF
46085 #define wxUSE_REARRANGECTRL 1
46086 _ACEOF
46087
46088 fi
46089
46090 if test "$wxUSE_SASH" = "yes"; then
46091     cat >>confdefs.h <<\_ACEOF
46092 #define wxUSE_SASH 1
46093 _ACEOF
46094
46095     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
46096 fi
46097
46098 if test "$wxUSE_SCROLLBAR" = "yes"; then
46099     cat >>confdefs.h <<\_ACEOF
46100 #define wxUSE_SCROLLBAR 1
46101 _ACEOF
46102
46103     USES_CONTROLS=1
46104     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll"
46105 fi
46106
46107 if test "$wxUSE_SEARCHCTRL" = "yes"; then
46108     cat >>confdefs.h <<\_ACEOF
46109 #define wxUSE_SEARCHCTRL 1
46110 _ACEOF
46111
46112     USES_CONTROLS=1
46113 fi
46114
46115 if test "$wxUSE_SLIDER" = "yes"; then
46116     cat >>confdefs.h <<\_ACEOF
46117 #define wxUSE_SLIDER 1
46118 _ACEOF
46119
46120     USES_CONTROLS=1
46121 fi
46122
46123 if test "$wxUSE_SPINBTN" = "yes"; then
46124     cat >>confdefs.h <<\_ACEOF
46125 #define wxUSE_SPINBTN 1
46126 _ACEOF
46127
46128     USES_CONTROLS=1
46129 fi
46130
46131 if test "$wxUSE_SPINCTRL" = "yes"; then
46132     cat >>confdefs.h <<\_ACEOF
46133 #define wxUSE_SPINCTRL 1
46134 _ACEOF
46135
46136     USES_CONTROLS=1
46137 fi
46138
46139 if test "$wxUSE_SPLITTER" = "yes"; then
46140     cat >>confdefs.h <<\_ACEOF
46141 #define wxUSE_SPLITTER 1
46142 _ACEOF
46143
46144     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
46145 fi
46146
46147 if test "$wxUSE_STATBMP" = "yes"; then
46148     cat >>confdefs.h <<\_ACEOF
46149 #define wxUSE_STATBMP 1
46150 _ACEOF
46151
46152     USES_CONTROLS=1
46153 fi
46154
46155 if test "$wxUSE_STATBOX" = "yes"; then
46156     cat >>confdefs.h <<\_ACEOF
46157 #define wxUSE_STATBOX 1
46158 _ACEOF
46159
46160     USES_CONTROLS=1
46161 fi
46162
46163 if test "$wxUSE_STATTEXT" = "yes"; then
46164     cat >>confdefs.h <<\_ACEOF
46165 #define wxUSE_STATTEXT 1
46166 _ACEOF
46167
46168     USES_CONTROLS=1
46169 fi
46170
46171 if test "$wxUSE_STATLINE" = "yes"; then
46172     cat >>confdefs.h <<\_ACEOF
46173 #define wxUSE_STATLINE 1
46174 _ACEOF
46175
46176     USES_CONTROLS=1
46177 fi
46178
46179 if test "$wxUSE_STATUSBAR" = "yes"; then
46180         cat >>confdefs.h <<\_ACEOF
46181 #define wxUSE_NATIVE_STATUSBAR 1
46182 _ACEOF
46183
46184     cat >>confdefs.h <<\_ACEOF
46185 #define wxUSE_STATUSBAR 1
46186 _ACEOF
46187
46188     USES_CONTROLS=1
46189
46190     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
46191 fi
46192
46193 if test "$wxUSE_TEXTCTRL" = "yes"; then
46194     cat >>confdefs.h <<\_ACEOF
46195 #define wxUSE_TEXTCTRL 1
46196 _ACEOF
46197
46198     USES_CONTROLS=1
46199     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
46200
46201             cat >>confdefs.h <<\_ACEOF
46202 #define wxUSE_RICHEDIT 1
46203 _ACEOF
46204
46205     cat >>confdefs.h <<\_ACEOF
46206 #define wxUSE_RICHEDIT2 1
46207 _ACEOF
46208
46209 fi
46210
46211 if test "$wxUSE_TOGGLEBTN" = "yes"; then
46212     if test "$wxUSE_COCOA" = 1 ; then
46213         { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
46214 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
46215         wxUSE_TOGGLEBTN=no
46216     fi
46217
46218     if test "$wxUSE_TOGGLEBTN" = "yes"; then
46219         cat >>confdefs.h <<\_ACEOF
46220 #define wxUSE_TOGGLEBTN 1
46221 _ACEOF
46222
46223         USES_CONTROLS=1
46224     fi
46225 fi
46226
46227 if test "$wxUSE_TOOLBAR" = "yes"; then
46228     cat >>confdefs.h <<\_ACEOF
46229 #define wxUSE_TOOLBAR 1
46230 _ACEOF
46231
46232     USES_CONTROLS=1
46233
46234     if test "$wxUSE_UNIVERSAL" = "yes"; then
46235         wxUSE_TOOLBAR_NATIVE="no"
46236     else
46237         wxUSE_TOOLBAR_NATIVE="yes"
46238         cat >>confdefs.h <<\_ACEOF
46239 #define wxUSE_TOOLBAR_NATIVE 1
46240 _ACEOF
46241
46242     fi
46243
46244     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
46245 fi
46246
46247 if test "$wxUSE_TOOLTIPS" = "yes"; then
46248     if test "$wxUSE_MOTIF" = 1; then
46249         { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
46250 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
46251     else
46252         if test "$wxUSE_UNIVERSAL" = "yes"; then
46253             { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
46254 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
46255         else
46256             cat >>confdefs.h <<\_ACEOF
46257 #define wxUSE_TOOLTIPS 1
46258 _ACEOF
46259
46260         fi
46261     fi
46262 fi
46263
46264 if test "$wxUSE_TREEBOOK" = "yes"; then
46265     cat >>confdefs.h <<\_ACEOF
46266 #define wxUSE_TREEBOOK 1
46267 _ACEOF
46268
46269     USES_CONTROLS=1
46270 fi
46271
46272 if test "$wxUSE_TOOLBOOK" = "yes"; then
46273     cat >>confdefs.h <<\_ACEOF
46274 #define wxUSE_TOOLBOOK 1
46275 _ACEOF
46276
46277     USES_CONTROLS=1
46278 fi
46279
46280 if test "$wxUSE_TREECTRL" = "yes"; then
46281     if test "$wxUSE_IMAGLIST" = "yes"; then
46282         cat >>confdefs.h <<\_ACEOF
46283 #define wxUSE_TREECTRL 1
46284 _ACEOF
46285
46286         USES_CONTROLS=1
46287         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
46288     else
46289         { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
46290 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
46291     fi
46292 fi
46293
46294 if test "$wxUSE_POPUPWIN" = "yes"; then
46295     if test "$wxUSE_COCOA" = 1 ; then
46296         { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
46297 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
46298     else
46299         if test "$wxUSE_PM" = 1; then
46300             { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
46301 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
46302         else
46303             cat >>confdefs.h <<\_ACEOF
46304 #define wxUSE_POPUPWIN 1
46305 _ACEOF
46306
46307             SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
46308
46309             USES_CONTROLS=1
46310         fi
46311     fi
46312 fi
46313
46314 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
46315     if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
46316         { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
46317 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
46318     else
46319         cat >>confdefs.h <<\_ACEOF
46320 #define wxUSE_DIALUP_MANAGER 1
46321 _ACEOF
46322
46323         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
46324     fi
46325 fi
46326
46327 if test "$wxUSE_TIPWINDOW" = "yes"; then
46328     if test "$wxUSE_PM" = 1; then
46329         { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
46330 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
46331     else
46332         cat >>confdefs.h <<\_ACEOF
46333 #define wxUSE_TIPWINDOW 1
46334 _ACEOF
46335
46336     fi
46337 fi
46338
46339 if test "$USES_CONTROLS" = 1; then
46340     cat >>confdefs.h <<\_ACEOF
46341 #define wxUSE_CONTROLS 1
46342 _ACEOF
46343
46344 fi
46345
46346
46347 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
46348     cat >>confdefs.h <<\_ACEOF
46349 #define wxUSE_ACCESSIBILITY 1
46350 _ACEOF
46351
46352     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
46353 fi
46354
46355 if test "$wxUSE_DRAGIMAGE" = "yes"; then
46356     cat >>confdefs.h <<\_ACEOF
46357 #define wxUSE_DRAGIMAGE 1
46358 _ACEOF
46359
46360     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
46361 fi
46362
46363 if test "$wxUSE_EXCEPTIONS" = "yes"; then
46364     if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
46365         { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
46366 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
46367     else
46368         cat >>confdefs.h <<\_ACEOF
46369 #define wxUSE_EXCEPTIONS 1
46370 _ACEOF
46371
46372         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
46373     fi
46374 fi
46375
46376 USE_HTML=0
46377 if test "$wxUSE_HTML" = "yes"; then
46378     cat >>confdefs.h <<\_ACEOF
46379 #define wxUSE_HTML 1
46380 _ACEOF
46381
46382     USE_HTML=1
46383     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
46384 fi
46385 if test "$wxUSE_WEBKIT" = "yes"; then
46386     if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
46387         old_CPPFLAGS="$CPPFLAGS"
46388         CPPFLAGS="-x objective-c++ $CPPFLAGS"
46389         { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
46390 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
46391 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
46392   echo $ECHO_N "(cached) $ECHO_C" >&6
46393 else
46394   cat >conftest.$ac_ext <<_ACEOF
46395 /* confdefs.h.  */
46396 _ACEOF
46397 cat confdefs.h >>conftest.$ac_ext
46398 cat >>conftest.$ac_ext <<_ACEOF
46399 /* end confdefs.h.  */
46400
46401                            #include <Carbon/Carbon.h>
46402                            #include <WebKit/WebKit.h>
46403
46404
46405 #include <WebKit/HIWebView.h>
46406 _ACEOF
46407 rm -f conftest.$ac_objext
46408 if { (ac_try="$ac_compile"
46409 case "(($ac_try" in
46410   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46411   *) ac_try_echo=$ac_try;;
46412 esac
46413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46414   (eval "$ac_compile") 2>conftest.er1
46415   ac_status=$?
46416   grep -v '^ *+' conftest.er1 >conftest.err
46417   rm -f conftest.er1
46418   cat conftest.err >&5
46419   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46420   (exit $ac_status); } && {
46421          test -z "$ac_c_werror_flag" ||
46422          test ! -s conftest.err
46423        } && test -s conftest.$ac_objext; then
46424   ac_cv_header_WebKit_HIWebView_h=yes
46425 else
46426   echo "$as_me: failed program was:" >&5
46427 sed 's/^/| /' conftest.$ac_ext >&5
46428
46429         ac_cv_header_WebKit_HIWebView_h=no
46430 fi
46431
46432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46433 fi
46434 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
46435 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
46436 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
46437
46438                            cat >>confdefs.h <<\_ACEOF
46439 #define wxUSE_WEBKIT 1
46440 _ACEOF
46441
46442                            WEBKIT_LINK="-framework WebKit"
46443
46444 else
46445
46446                            { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
46447 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
46448                            wxUSE_WEBKIT=no
46449
46450 fi
46451
46452
46453         CPPFLAGS="$old_CPPFLAGS"
46454     elif test "$wxUSE_COCOA" = 1; then
46455         cat >>confdefs.h <<\_ACEOF
46456 #define wxUSE_WEBKIT 1
46457 _ACEOF
46458
46459     else
46460         wxUSE_WEBKIT=no
46461     fi
46462     if test "$wxUSE_WEBKIT" = "yes"; then
46463         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
46464     fi
46465 fi
46466
46467 USE_XRC=0
46468 if test "$wxUSE_XRC" = "yes"; then
46469     if test "$wxUSE_XML" != "yes"; then
46470         { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
46471 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
46472         wxUSE_XRC=no
46473     else
46474         cat >>confdefs.h <<\_ACEOF
46475 #define wxUSE_XRC 1
46476 _ACEOF
46477
46478         USE_XRC=1
46479         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
46480     fi
46481 fi
46482
46483 USE_AUI=0
46484 if test "$wxUSE_AUI" = "yes"; then
46485    cat >>confdefs.h <<\_ACEOF
46486 #define wxUSE_AUI 1
46487 _ACEOF
46488
46489    USE_AUI=1
46490    SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
46491 fi
46492
46493 USE_PROPGRID=0
46494 if test "$wxUSE_PROPGRID" = "yes"; then
46495    cat >>confdefs.h <<\_ACEOF
46496 #define wxUSE_PROPGRID 1
46497 _ACEOF
46498
46499    USE_PROPGRID=1
46500    SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS propgrid"
46501 fi
46502
46503 USE_RIBBON=0
46504 if test "$wxUSE_RIBBON" = "yes"; then
46505    cat >>confdefs.h <<\_ACEOF
46506 #define wxUSE_RIBBON 1
46507 _ACEOF
46508
46509    USE_RIBBON=1
46510    SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ribbon"
46511 fi
46512
46513 USE_STC=0
46514 if test "$wxUSE_STC" = "yes"; then
46515    cat >>confdefs.h <<\_ACEOF
46516 #define wxUSE_STC 1
46517 _ACEOF
46518
46519    USE_STC=1
46520    SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
46521
46522       # Extract the first word of "python", so it can be a program name with args.
46523 set dummy python; ac_word=$2
46524 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46525 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46526 if test "${ac_cv_path_PYTHON+set}" = set; then
46527   echo $ECHO_N "(cached) $ECHO_C" >&6
46528 else
46529   case $PYTHON in
46530   [\\/]* | ?:[\\/]*)
46531   ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
46532   ;;
46533   *)
46534   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46535 for as_dir in $PATH
46536 do
46537   IFS=$as_save_IFS
46538   test -z "$as_dir" && as_dir=.
46539   for ac_exec_ext in '' $ac_executable_extensions; do
46540   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46541     ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
46542     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46543     break 2
46544   fi
46545 done
46546 done
46547 IFS=$as_save_IFS
46548
46549   ;;
46550 esac
46551 fi
46552 PYTHON=$ac_cv_path_PYTHON
46553 if test -n "$PYTHON"; then
46554   { echo "$as_me:$LINENO: result: $PYTHON" >&5
46555 echo "${ECHO_T}$PYTHON" >&6; }
46556 else
46557   { echo "$as_me:$LINENO: result: no" >&5
46558 echo "${ECHO_T}no" >&6; }
46559 fi
46560
46561
46562    if test "x$PYTHON" = "x"; then
46563      COND_PYTHON="#"
46564    fi
46565
46566 fi
46567
46568 if test "$wxUSE_MENUS" = "yes"; then
46569     cat >>confdefs.h <<\_ACEOF
46570 #define wxUSE_MENUS 1
46571 _ACEOF
46572
46573     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
46574 fi
46575
46576 if test "$wxUSE_METAFILE" = "yes"; then
46577     cat >>confdefs.h <<\_ACEOF
46578 #define wxUSE_METAFILE 1
46579 _ACEOF
46580
46581 fi
46582
46583 if test "$wxUSE_MIMETYPE" = "yes"; then
46584     cat >>confdefs.h <<\_ACEOF
46585 #define wxUSE_MIMETYPE 1
46586 _ACEOF
46587
46588 fi
46589
46590 if test "$wxUSE_MINIFRAME" = "yes"; then
46591     cat >>confdefs.h <<\_ACEOF
46592 #define wxUSE_MINIFRAME 1
46593 _ACEOF
46594
46595 fi
46596
46597 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
46598     cat >>confdefs.h <<\_ACEOF
46599 #define wxUSE_SYSTEM_OPTIONS 1
46600 _ACEOF
46601
46602 fi
46603
46604 if test "$wxUSE_TASKBARICON" = "yes"; then
46605     cat >>confdefs.h <<\_ACEOF
46606 #define wxUSE_TASKBARICON 1
46607 _ACEOF
46608
46609     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
46610 fi
46611
46612
46613 if test "$wxUSE_VALIDATORS" = "yes"; then
46614     cat >>confdefs.h <<\_ACEOF
46615 #define wxUSE_VALIDATORS 1
46616 _ACEOF
46617
46618     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
46619 fi
46620
46621 if test "$wxUSE_PALETTE" = "yes" ; then
46622     if test "$wxUSE_DFB" = 1; then
46623         { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
46624 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
46625         wxUSE_PALETTE=no
46626     else
46627         cat >>confdefs.h <<\_ACEOF
46628 #define wxUSE_PALETTE 1
46629 _ACEOF
46630
46631     fi
46632 fi
46633
46634 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
46635     LIBS=" -lunicows $LIBS"
46636 fi
46637
46638 USE_RICHTEXT=0
46639 if test "$wxUSE_RICHTEXT" = "yes"; then
46640     cat >>confdefs.h <<\_ACEOF
46641 #define wxUSE_RICHTEXT 1
46642 _ACEOF
46643
46644     USE_RICHTEXT=1
46645     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
46646 fi
46647
46648
46649 if test "$wxUSE_IMAGE" = "yes" ; then
46650     cat >>confdefs.h <<\_ACEOF
46651 #define wxUSE_IMAGE 1
46652 _ACEOF
46653
46654
46655     if test "$wxUSE_GIF" = "yes" ; then
46656       cat >>confdefs.h <<\_ACEOF
46657 #define wxUSE_GIF 1
46658 _ACEOF
46659
46660     fi
46661
46662     if test "$wxUSE_PCX" = "yes" ; then
46663       cat >>confdefs.h <<\_ACEOF
46664 #define wxUSE_PCX 1
46665 _ACEOF
46666
46667     fi
46668
46669     if test "$wxUSE_TGA" = "yes" ; then
46670       cat >>confdefs.h <<\_ACEOF
46671 #define wxUSE_TGA 1
46672 _ACEOF
46673
46674     fi
46675
46676     if test "$wxUSE_IFF" = "yes" ; then
46677       cat >>confdefs.h <<\_ACEOF
46678 #define wxUSE_IFF 1
46679 _ACEOF
46680
46681     fi
46682
46683     if test "$wxUSE_PNM" = "yes" ; then
46684       cat >>confdefs.h <<\_ACEOF
46685 #define wxUSE_PNM 1
46686 _ACEOF
46687
46688     fi
46689
46690     if test "$wxUSE_XPM" = "yes" ; then
46691       cat >>confdefs.h <<\_ACEOF
46692 #define wxUSE_XPM 1
46693 _ACEOF
46694
46695     fi
46696
46697     if test "$wxUSE_ICO_CUR" = "yes" ; then
46698       cat >>confdefs.h <<\_ACEOF
46699 #define wxUSE_ICO_CUR 1
46700 _ACEOF
46701
46702     fi
46703 fi
46704
46705
46706 if test "$wxUSE_ABOUTDLG" = "yes"; then
46707     cat >>confdefs.h <<\_ACEOF
46708 #define wxUSE_ABOUTDLG 1
46709 _ACEOF
46710
46711 fi
46712
46713 if test "$wxUSE_CHOICEDLG" = "yes"; then
46714     cat >>confdefs.h <<\_ACEOF
46715 #define wxUSE_CHOICEDLG 1
46716 _ACEOF
46717
46718 fi
46719
46720 if test "$wxUSE_COLOURDLG" = "yes"; then
46721     cat >>confdefs.h <<\_ACEOF
46722 #define wxUSE_COLOURDLG 1
46723 _ACEOF
46724
46725 fi
46726
46727 if test "$wxUSE_FILEDLG" = "yes"; then
46728     cat >>confdefs.h <<\_ACEOF
46729 #define wxUSE_FILEDLG 1
46730 _ACEOF
46731
46732 fi
46733
46734 if test "$wxUSE_FINDREPLDLG" = "yes"; then
46735     cat >>confdefs.h <<\_ACEOF
46736 #define wxUSE_FINDREPLDLG 1
46737 _ACEOF
46738
46739 fi
46740
46741 if test "$wxUSE_FONTDLG" = "yes"; then
46742     cat >>confdefs.h <<\_ACEOF
46743 #define wxUSE_FONTDLG 1
46744 _ACEOF
46745
46746 fi
46747
46748 if test "$wxUSE_DIRDLG" = "yes"; then
46749     if test "$wxUSE_TREECTRL" != "yes"; then
46750         { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
46751 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
46752     else
46753         cat >>confdefs.h <<\_ACEOF
46754 #define wxUSE_DIRDLG 1
46755 _ACEOF
46756
46757     fi
46758 fi
46759
46760 if test "$wxUSE_MSGDLG" = "yes"; then
46761     cat >>confdefs.h <<\_ACEOF
46762 #define wxUSE_MSGDLG 1
46763 _ACEOF
46764
46765 fi
46766
46767 if test "$wxUSE_NUMBERDLG" = "yes"; then
46768     cat >>confdefs.h <<\_ACEOF
46769 #define wxUSE_NUMBERDLG 1
46770 _ACEOF
46771
46772 fi
46773
46774 if test "$wxUSE_PROGRESSDLG" = "yes"; then
46775     cat >>confdefs.h <<\_ACEOF
46776 #define wxUSE_PROGRESSDLG 1
46777 _ACEOF
46778
46779 fi
46780
46781 if test "$wxUSE_SPLASH" = "yes"; then
46782     cat >>confdefs.h <<\_ACEOF
46783 #define wxUSE_SPLASH 1
46784 _ACEOF
46785
46786     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
46787 fi
46788
46789 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
46790     cat >>confdefs.h <<\_ACEOF
46791 #define wxUSE_STARTUP_TIPS 1
46792 _ACEOF
46793
46794 fi
46795
46796 if test "$wxUSE_TEXTDLG" = "yes"; then
46797     cat >>confdefs.h <<\_ACEOF
46798 #define wxUSE_TEXTDLG 1
46799 _ACEOF
46800
46801 fi
46802
46803 if test "$wxUSE_WIZARDDLG" = "yes"; then
46804     cat >>confdefs.h <<\_ACEOF
46805 #define wxUSE_WIZARDDLG 1
46806 _ACEOF
46807
46808     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
46809 fi
46810
46811
46812 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
46813     if test "$wxUSE_OWNER_DRAWN" = "yes"; then
46814         cat >>confdefs.h <<\_ACEOF
46815 #define wxUSE_OWNER_DRAWN 1
46816 _ACEOF
46817
46818     fi
46819 fi
46820
46821
46822 if test "$wxUSE_MSW" = 1 ; then
46823
46824     if test "$wxUSE_DC_CACHEING" = "yes"; then
46825         cat >>confdefs.h <<\_ACEOF
46826 #define wxUSE_DC_CACHEING 1
46827 _ACEOF
46828
46829     fi
46830
46831     if test "$wxUSE_DIB" = "yes"; then
46832         cat >>confdefs.h <<\_ACEOF
46833 #define wxUSE_WXDIB 1
46834 _ACEOF
46835
46836     fi
46837
46838     if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
46839         cat >>confdefs.h <<\_ACEOF
46840 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
46841 _ACEOF
46842
46843     fi
46844
46845     if test "$wxUSE_UXTHEME" = "yes"; then
46846         cat >>confdefs.h <<\_ACEOF
46847 #define wxUSE_UXTHEME 1
46848 _ACEOF
46849
46850     fi
46851
46852 fi
46853
46854 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
46855     cat >>confdefs.h <<\_ACEOF
46856 #define wxUSE_AUTOID_MANAGEMENT 1
46857 _ACEOF
46858
46859 fi
46860
46861 if test "$USE_WIN32" = 1 ; then
46862     if test "$wxUSE_INICONF" = "yes"; then
46863         cat >>confdefs.h <<\_ACEOF
46864 #define wxUSE_INICONF 1
46865 _ACEOF
46866
46867     fi
46868
46869     if test "$wxUSE_REGKEY" = "yes"; then
46870         cat >>confdefs.h <<\_ACEOF
46871 #define wxUSE_REGKEY 1
46872 _ACEOF
46873
46874     fi
46875 fi
46876
46877
46878 if test "$wxUSE_MAC" = 1; then
46879         wxUSE_GRAPHICS_CONTEXT="yes"
46880 fi
46881
46882 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
46883    if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
46884       cat >>confdefs.h <<\_ACEOF
46885 #define wxUSE_GRAPHICS_CONTEXT 1
46886 _ACEOF
46887
46888    elif test "$wxUSE_GTK" != 1; then
46889             cat >>confdefs.h <<\_ACEOF
46890 #define wxUSE_GRAPHICS_CONTEXT 1
46891 _ACEOF
46892
46893    else
46894
46895 pkg_failed=no
46896 { echo "$as_me:$LINENO: checking for CAIRO" >&5
46897 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
46898
46899 if test -n "$PKG_CONFIG"; then
46900     if test -n "$CAIRO_CFLAGS"; then
46901         pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
46902     else
46903         if test -n "$PKG_CONFIG" && \
46904     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46905   ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46906   ac_status=$?
46907   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46908   (exit $ac_status); }; then
46909   pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
46910 else
46911   pkg_failed=yes
46912 fi
46913     fi
46914 else
46915         pkg_failed=untried
46916 fi
46917 if test -n "$PKG_CONFIG"; then
46918     if test -n "$CAIRO_LIBS"; then
46919         pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
46920     else
46921         if test -n "$PKG_CONFIG" && \
46922     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46923   ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46924   ac_status=$?
46925   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46926   (exit $ac_status); }; then
46927   pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
46928 else
46929   pkg_failed=yes
46930 fi
46931     fi
46932 else
46933         pkg_failed=untried
46934 fi
46935
46936
46937
46938 if test $pkg_failed = yes; then
46939
46940 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46941         _pkg_short_errors_supported=yes
46942 else
46943         _pkg_short_errors_supported=no
46944 fi
46945         if test $_pkg_short_errors_supported = yes; then
46946                 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
46947         else
46948                 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
46949         fi
46950         # Put the nasty error message in config.log where it belongs
46951         echo "$CAIRO_PKG_ERRORS" >&5
46952
46953         { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46954 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46955
46956 elif test $pkg_failed = untried; then
46957         { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46958 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46959
46960 else
46961         CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
46962         CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
46963         { echo "$as_me:$LINENO: result: yes" >&5
46964 echo "${ECHO_T}yes" >&6; }
46965         cat >>confdefs.h <<\_ACEOF
46966 #define wxUSE_GRAPHICS_CONTEXT 1
46967 _ACEOF
46968
46969 fi
46970    fi
46971 fi
46972
46973
46974 USE_MEDIA=0
46975
46976 if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
46977     USE_MEDIA=1
46978
46979                 if test "$wxUSE_GTK" = 1; then
46980         wxUSE_GSTREAMER="no"
46981
46982                                                                 GST_VERSION_MAJOR=0
46983         GST_VERSION_MINOR=10
46984         GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46985
46986         if test "$wxUSE_GSTREAMER8" = "no"; then
46987
46988 pkg_failed=no
46989 { echo "$as_me:$LINENO: checking for GST" >&5
46990 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
46991
46992 if test -n "$PKG_CONFIG"; then
46993     if test -n "$GST_CFLAGS"; then
46994         pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46995     else
46996         if test -n "$PKG_CONFIG" && \
46997     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46998   ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46999   ac_status=$?
47000   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47001   (exit $ac_status); }; then
47002   pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
47003 else
47004   pkg_failed=yes
47005 fi
47006     fi
47007 else
47008         pkg_failed=untried
47009 fi
47010 if test -n "$PKG_CONFIG"; then
47011     if test -n "$GST_LIBS"; then
47012         pkg_cv_GST_LIBS="$GST_LIBS"
47013     else
47014         if test -n "$PKG_CONFIG" && \
47015     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
47016   ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
47017   ac_status=$?
47018   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47019   (exit $ac_status); }; then
47020   pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
47021 else
47022   pkg_failed=yes
47023 fi
47024     fi
47025 else
47026         pkg_failed=untried
47027 fi
47028
47029
47030
47031 if test $pkg_failed = yes; then
47032
47033 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47034         _pkg_short_errors_supported=yes
47035 else
47036         _pkg_short_errors_supported=no
47037 fi
47038         if test $_pkg_short_errors_supported = yes; then
47039                 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
47040         else
47041                 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
47042         fi
47043         # Put the nasty error message in config.log where it belongs
47044         echo "$GST_PKG_ERRORS" >&5
47045
47046
47047                     { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
47048 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
47049                     GST_VERSION_MINOR=8
47050
47051
47052 elif test $pkg_failed = untried; then
47053
47054                     { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
47055 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
47056                     GST_VERSION_MINOR=8
47057
47058
47059 else
47060         GST_CFLAGS=$pkg_cv_GST_CFLAGS
47061         GST_LIBS=$pkg_cv_GST_LIBS
47062         { echo "$as_me:$LINENO: result: yes" >&5
47063 echo "${ECHO_T}yes" >&6; }
47064
47065                     wxUSE_GSTREAMER="yes"
47066                     GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
47067
47068 fi
47069         else
47070                         GST_VERSION_MINOR=8
47071         fi
47072
47073         if test $GST_VERSION_MINOR = "8"; then
47074             GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
47075
47076 pkg_failed=no
47077 { echo "$as_me:$LINENO: checking for GST" >&5
47078 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
47079
47080 if test -n "$PKG_CONFIG"; then
47081     if test -n "$GST_CFLAGS"; then
47082         pkg_cv_GST_CFLAGS="$GST_CFLAGS"
47083     else
47084         if test -n "$PKG_CONFIG" && \
47085     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
47086   ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
47087   ac_status=$?
47088   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47089   (exit $ac_status); }; then
47090   pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
47091 else
47092   pkg_failed=yes
47093 fi
47094     fi
47095 else
47096         pkg_failed=untried
47097 fi
47098 if test -n "$PKG_CONFIG"; then
47099     if test -n "$GST_LIBS"; then
47100         pkg_cv_GST_LIBS="$GST_LIBS"
47101     else
47102         if test -n "$PKG_CONFIG" && \
47103     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
47104   ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
47105   ac_status=$?
47106   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47107   (exit $ac_status); }; then
47108   pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
47109 else
47110   pkg_failed=yes
47111 fi
47112     fi
47113 else
47114         pkg_failed=untried
47115 fi
47116
47117
47118
47119 if test $pkg_failed = yes; then
47120
47121 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47122         _pkg_short_errors_supported=yes
47123 else
47124         _pkg_short_errors_supported=no
47125 fi
47126         if test $_pkg_short_errors_supported = yes; then
47127                 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
47128         else
47129                 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
47130         fi
47131         # Put the nasty error message in config.log where it belongs
47132         echo "$GST_PKG_ERRORS" >&5
47133
47134
47135                     { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
47136 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
47137
47138 elif test $pkg_failed = untried; then
47139
47140                     { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
47141 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
47142
47143 else
47144         GST_CFLAGS=$pkg_cv_GST_CFLAGS
47145         GST_LIBS=$pkg_cv_GST_LIBS
47146         { echo "$as_me:$LINENO: result: yes" >&5
47147 echo "${ECHO_T}yes" >&6; }
47148         wxUSE_GSTREAMER="yes"
47149 fi
47150         fi
47151
47152
47153         if test "$wxUSE_GSTREAMER" = "yes"; then
47154             CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
47155             EXTRALIBS_MEDIA="$GST_LIBS"
47156
47157             cat >>confdefs.h <<\_ACEOF
47158 #define wxUSE_GSTREAMER 1
47159 _ACEOF
47160
47161         else
47162             USE_MEDIA=0
47163         fi
47164     fi
47165
47166     if test $USE_MEDIA = 1; then
47167         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
47168         cat >>confdefs.h <<\_ACEOF
47169 #define wxUSE_MEDIACTRL 1
47170 _ACEOF
47171
47172     else
47173         if test "$wxUSE_MEDIACTRL" = "yes"; then
47174             { { echo "$as_me:$LINENO: error: GStreamer not available" >&5
47175 echo "$as_me: error: GStreamer not available" >&2;}
47176    { (exit 1); exit 1; }; }
47177         else
47178                         { echo "$as_me:$LINENO: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5
47179 echo "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;}
47180         fi
47181     fi
47182 fi
47183
47184
47185 if test "$cross_compiling" != "no"; then
47186         OSINFO="\"$host\""
47187 else
47188         OSINFO=`uname -s -r -m`
47189     OSINFO="\"$OSINFO\""
47190 fi
47191
47192 cat >>confdefs.h <<_ACEOF
47193 #define WXWIN_OS_DESCRIPTION $OSINFO
47194 _ACEOF
47195
47196
47197
47198 if test "x$prefix" != "xNONE"; then
47199     wxPREFIX=$prefix
47200 else
47201     wxPREFIX=$ac_default_prefix
47202 fi
47203
47204 cat >>confdefs.h <<_ACEOF
47205 #define wxINSTALL_PREFIX "$wxPREFIX"
47206 _ACEOF
47207
47208
47209
47210
47211 STD_BASE_LIBS="base"
47212 STD_GUI_LIBS=""
47213 BUILT_WX_LIBS="base"
47214 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
47215
47216 if test "$wxUSE_SOCKETS" = "yes" ; then
47217     STD_BASE_LIBS="net $STD_BASE_LIBS"
47218     BUILT_WX_LIBS="net $BUILT_WX_LIBS"
47219 fi
47220 if test "$wxUSE_XML" = "yes" ; then
47221     STD_BASE_LIBS="xml $STD_BASE_LIBS"
47222     BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
47223 fi
47224
47225 if test "$wxUSE_GUI" = "yes"; then
47226     STD_GUI_LIBS="adv core"
47227     BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
47228
47229     if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47230         STD_GUI_LIBS="qa $STD_GUI_LIBS"
47231         BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
47232     fi
47233     if test "$wxUSE_HTML" = "yes" ; then
47234         STD_GUI_LIBS="html $STD_GUI_LIBS"
47235         BUILT_WX_LIBS="html $BUILT_WX_LIBS"
47236     fi
47237     if test "$wxUSE_MEDIACTRL" = "yes" ; then
47238         BUILT_WX_LIBS="media $BUILT_WX_LIBS"
47239     fi
47240     if test "$wxUSE_OPENGL" = "yes" ; then
47241         BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
47242     fi
47243     if test "$wxUSE_AUI" = "yes" ; then
47244         BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
47245     fi
47246     if test "$wxUSE_PROPGRID" = "yes" ; then
47247         BUILT_WX_LIBS="propgrid $BUILT_WX_LIBS"
47248     fi
47249     if test "$wxUSE_RIBBON" = "yes" ; then
47250         BUILT_WX_LIBS="ribbon $BUILT_WX_LIBS"
47251     fi
47252     if test "$wxUSE_RICHTEXT" = "yes" ; then
47253         BUILT_WX_LIBS="richtext $BUILT_WX_LIBS"
47254     fi
47255     if test "$wxUSE_STC" = "yes" ; then
47256         BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
47257     fi
47258     if test "$wxUSE_XRC" = "yes" ; then
47259         STD_GUI_LIBS="xrc $STD_GUI_LIBS"
47260         BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
47261     fi
47262 fi
47263
47264
47265
47266
47267
47268
47269
47270
47271 if test "$wxUSE_MAC" = 1 ; then
47272     if test "$USE_DARWIN" = 1; then
47273         LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL -framework QuickTime"
47274     fi
47275 fi
47276 if test "$wxUSE_COCOA" = 1 ; then
47277     LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
47278     if test "$wxUSE_MEDIACTRL" = "yes"; then
47279         LDFLAGS="$LDFLAGS -framework QuickTime"
47280     fi
47281 fi
47282 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
47283     LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
47284 fi
47285
47286 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
47287
47288 if test "$wxUSE_GUI" = "yes"; then
47289
47290
47291         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
47292                      erase event exec font image minimal render \
47293                      shaped svg taborder vscroll widgets wrapsizer"
47294
47295     if test "$wxUSE_MONOLITHIC" != "yes"; then
47296         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
47297     fi
47298     if test "$TOOLKIT" = "MSW"; then
47299         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
47300         if test "$wxUSE_UNIVERSAL" != "yes"; then
47301             SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
47302         fi
47303     fi
47304     if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
47305         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
47306     fi
47307 else
47308     SAMPLES_SUBDIRS="console"
47309     if test "$wxUSE_SOCKETS" = "yes" ; then
47310         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
47311     fi
47312     if test "$wxUSE_IPC" = "yes" ; then
47313         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
47314     fi
47315 fi
47316
47317
47318 if test "x$INTELCC" = "xyes" ; then
47319                                         CWARNINGS="-Wall -wd810,869,981,1418,1572,1684,2259"
47320 elif test "$GCC" = yes ; then
47321     CWARNINGS="-Wall -Wundef"
47322 fi
47323
47324 if test "x$INTELCXX" = "xyes" ; then
47325                                                                 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
47326 elif test "$GXX" = yes ; then
47327     CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
47328     { echo "$as_me:$LINENO: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
47329 echo $ECHO_N "checking CXXWARNINGS for gcc -Woverloaded-virtual... $ECHO_C" >&6; }
47330 if test "${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+set}" = set; then
47331   echo $ECHO_N "(cached) $ECHO_C" >&6
47332 else
47333   ac_cv_cxxflags_gcc_option__Woverloaded_virtual="no, unknown"
47334
47335  ac_ext=cpp
47336 ac_cpp='$CXXCPP $CPPFLAGS'
47337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47340
47341  ac_save_CXXFLAGS="$CXXFLAGS"
47342 for ac_arg in "-pedantic -Werror % -Woverloaded-virtual"     "-pedantic % -Woverloaded-virtual %% no, obsolete"     #
47343 do CXXFLAGS="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
47344    cat >conftest.$ac_ext <<_ACEOF
47345 /* confdefs.h.  */
47346 _ACEOF
47347 cat confdefs.h >>conftest.$ac_ext
47348 cat >>conftest.$ac_ext <<_ACEOF
47349 /* end confdefs.h.  */
47350
47351 int
47352 main ()
47353 {
47354 return 0;
47355   ;
47356   return 0;
47357 }
47358 _ACEOF
47359 rm -f conftest.$ac_objext
47360 if { (ac_try="$ac_compile"
47361 case "(($ac_try" in
47362   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47363   *) ac_try_echo=$ac_try;;
47364 esac
47365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47366   (eval "$ac_compile") 2>conftest.er1
47367   ac_status=$?
47368   grep -v '^ *+' conftest.er1 >conftest.err
47369   rm -f conftest.er1
47370   cat conftest.err >&5
47371   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47372   (exit $ac_status); } && {
47373          test -z "$ac_cxx_werror_flag" ||
47374          test ! -s conftest.err
47375        } && test -s conftest.$ac_objext; then
47376   ac_cv_cxxflags_gcc_option__Woverloaded_virtual=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
47377 else
47378   echo "$as_me: failed program was:" >&5
47379 sed 's/^/| /' conftest.$ac_ext >&5
47380
47381
47382 fi
47383
47384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47385 done
47386  CXXFLAGS="$ac_save_CXXFLAGS"
47387  ac_ext=c
47388 ac_cpp='$CPP $CPPFLAGS'
47389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47392
47393
47394 fi
47395 { echo "$as_me:$LINENO: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
47396 echo "${ECHO_T}$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
47397 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
47398      .ok|.ok,*)  ;;
47399    .|.no|.no,*)  ;;
47400    *)
47401    if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev/null
47402    then { (echo "$as_me:$LINENO: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual") >&5
47403   (: CXXWARNINGS does contain $ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
47404   ac_status=$?
47405   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47406   (exit $ac_status); }
47407    else { (echo "$as_me:$LINENO: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\"") >&5
47408   (: CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
47409   ac_status=$?
47410   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47411   (exit $ac_status); }
47412                       CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
47413    fi
47414  ;;
47415 esac
47416
47417
47418                     if test "$wxUSE_MAC" = 1 ; then
47419         CXXWARNINGS="$CXXWARNINGS -Wno-deprecated-declarations"
47420     fi
47421 fi
47422
47423
47424 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
47425 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
47426
47427
47428 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
47429  -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
47430  -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
47431  $CPPFLAGS `
47432
47433 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
47434 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
47435 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
47436 OBJCFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
47437 OBJCXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
47438
47439 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
47440
47441
47442 if test "x$MWCC" = "xyes"; then
47443
47444             CC="$CC -cwd source -I-"
47445     CXX="$CXX -cwd source -I-"
47446 fi
47447
47448
47449 LIBS=`echo $LIBS`
47450 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
47451 EXTRALIBS_XML="$EXPAT_LINK"
47452 EXTRALIBS_HTML="$MSPACK_LINK"
47453 EXTRALIBS_MEDIA="$GST_LIBS"
47454 EXTRALIBS_STC="-lwxscintilla${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
47455 if test "$wxUSE_GUI" = "yes"; then
47456     EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
47457 fi
47458 if test "$wxUSE_OPENGL" = "yes"; then
47459     EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
47460 fi
47461
47462 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
47463
47464 WXCONFIG_LIBS="$LIBS"
47465
47466 if test "$wxUSE_REGEX" = "builtin" ; then
47467     wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
47468 fi
47469 if test "$wxUSE_EXPAT" = "builtin" ; then
47470     wxconfig_3rdparty="expat $wxconfig_3rdparty"
47471 fi
47472 if test "$wxUSE_LIBTIFF" = "builtin" ; then
47473     wxconfig_3rdparty="tiff $wxconfig_3rdparty"
47474 fi
47475 if test "$wxUSE_LIBJPEG" = "builtin" ; then
47476     wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
47477 fi
47478 if test "$wxUSE_LIBPNG" = "builtin" ; then
47479     wxconfig_3rdparty="png $wxconfig_3rdparty"
47480 fi
47481 if test "$wxUSE_ZLIB" = "builtin" ; then
47482     wxconfig_3rdparty="zlib $wxconfig_3rdparty"
47483 fi
47484
47485 for i in $wxconfig_3rdparty ; do
47486     WXCONFIG_LIBS="-lwx${i}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
47487 done
47488
47489
47490 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
47491     WXUNIV=1
47492
47493     case "$wxUNIV_THEMES" in
47494         ''|all)
47495             cat >>confdefs.h <<\_ACEOF
47496 #define wxUSE_ALL_THEMES 1
47497 _ACEOF
47498
47499             ;;
47500
47501         *)
47502             for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
47503                 cat >>confdefs.h <<_ACEOF
47504 #define wxUSE_THEME_$t 1
47505 _ACEOF
47506
47507             done
47508     esac
47509 else
47510     WXUNIV=0
47511 fi
47512
47513
47514
47515
47516
47517
47518
47519
47520 if test $wxUSE_MONOLITHIC = "yes" ; then
47521     MONOLITHIC=1
47522 else
47523     MONOLITHIC=0
47524 fi
47525
47526 if test $wxUSE_PLUGINS = "yes" ; then
47527     USE_PLUGINS=1
47528 else
47529     USE_PLUGINS=0
47530 fi
47531
47532 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47533     USE_QA=1
47534 else
47535     USE_QA=0
47536 fi
47537
47538 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
47539     OFFICIAL_BUILD=1
47540 else
47541     OFFICIAL_BUILD=0
47542 fi
47543
47544
47545
47546
47547
47548
47549
47550
47551
47552
47553
47554
47555
47556
47557
47558
47559
47560
47561
47562
47563
47564
47565
47566
47567
47568
47569
47570 TOOLKIT_LOWERCASE=xxx
47571 if test "$TOOLKIT" = "MAC"; then
47572     TOOLKIT_LOWERCASE=osx_carbon
47573 fi
47574 if test "$TOOLKIT" = "OSX_CARBON"; then
47575     TOOLKIT_LOWERCASE=osx_carbon
47576 fi
47577 if test "$TOOLKIT" = "OSX_COCOA"; then
47578     TOOLKIT_LOWERCASE=osx_cocoa
47579 fi
47580 if test "$TOOLKIT_LOWERCASE" = "xxx"; then
47581     TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
47582 fi
47583
47584
47585
47586
47587
47588
47589
47590
47591
47592
47593 case "$TOOLKIT" in
47594     GTK)
47595         TOOLKIT_DESC="GTK+"
47596         if test "$WXGTK2" = 1; then
47597             TOOLKIT_DESC="$TOOLKIT_DESC 2"
47598             if test "$wxUSE_GTKPRINT" = "yes" ; then
47599                 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
47600             fi
47601             if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
47602                 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
47603             fi
47604             if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
47605                 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
47606             fi
47607             if test "$wxUSE_LIBHILDON" = "yes"; then
47608                 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
47609             fi
47610             if test "$wxUSE_LIBHILDON2" = "yes"; then
47611                 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
47612             fi
47613
47614             if test "$TOOLKIT_EXTRA" != ""; then
47615                 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
47616             fi
47617         fi
47618         ;;
47619
47620     ?*)
47621         TOOLKIT_DESC=$TOOLKIT_LOWERCASE
47622         ;;
47623
47624     *)
47625         TOOLKIT_DESC="base only"
47626         ;;
47627 esac
47628
47629 if test "$wxUSE_WINE" = "yes"; then
47630     BAKEFILE_FORCE_PLATFORM=win32
47631 fi
47632
47633 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
47634 then
47635     { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
47636 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
47637 if test "${wx_cv_gcc_pch_bug+set}" = set; then
47638   echo $ECHO_N "(cached) $ECHO_C" >&6
47639 else
47640
47641             echo '#include <stdio.h>
47642                   const wchar_t test_var[] = L"awidetest";' > conftest.h
47643
47644             echo '#include "conftest.h"
47645                   int main()
47646                   {
47647                      printf("%ls", test_var);
47648                      return 0;
47649                   }' > conftest.cpp
47650
47651             wx_cv_gcc_pch_bug="pch not supported"
47652
47653             if $CXX conftest.h >/dev/null 2>&1
47654             then
47655                 wx_cv_gcc_pch_bug=
47656
47657                 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
47658                 then
47659                     if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
47660                         grep awidetest >/dev/null
47661                     then
47662                         wx_cv_gcc_pch_bug=no
47663                     else
47664                         wx_cv_gcc_pch_bug=yes
47665                     fi
47666                 fi
47667             fi
47668
47669             rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
47670
47671 fi
47672 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
47673 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
47674
47675     if test "$wx_cv_gcc_pch_bug" = yes; then
47676                         bk_use_pch=no
47677     fi
47678 fi
47679
47680
47681
47682
47683
47684
47685
47686     if test "x$BAKEFILE_HOST" = "x"; then
47687                if test "x${host}" = "x" ; then
47688                        { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
47689 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
47690    { (exit 1); exit 1; }; }
47691                fi
47692
47693         BAKEFILE_HOST="${host}"
47694     fi
47695
47696     if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
47697
47698     if test -n "$ac_tool_prefix"; then
47699   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
47700 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
47701 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47702 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47703 if test "${ac_cv_prog_RANLIB+set}" = set; then
47704   echo $ECHO_N "(cached) $ECHO_C" >&6
47705 else
47706   if test -n "$RANLIB"; then
47707   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
47708 else
47709 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47710 for as_dir in $PATH
47711 do
47712   IFS=$as_save_IFS
47713   test -z "$as_dir" && as_dir=.
47714   for ac_exec_ext in '' $ac_executable_extensions; do
47715   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47716     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
47717     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47718     break 2
47719   fi
47720 done
47721 done
47722 IFS=$as_save_IFS
47723
47724 fi
47725 fi
47726 RANLIB=$ac_cv_prog_RANLIB
47727 if test -n "$RANLIB"; then
47728   { echo "$as_me:$LINENO: result: $RANLIB" >&5
47729 echo "${ECHO_T}$RANLIB" >&6; }
47730 else
47731   { echo "$as_me:$LINENO: result: no" >&5
47732 echo "${ECHO_T}no" >&6; }
47733 fi
47734
47735
47736 fi
47737 if test -z "$ac_cv_prog_RANLIB"; then
47738   ac_ct_RANLIB=$RANLIB
47739   # Extract the first word of "ranlib", so it can be a program name with args.
47740 set dummy ranlib; ac_word=$2
47741 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47742 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47743 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
47744   echo $ECHO_N "(cached) $ECHO_C" >&6
47745 else
47746   if test -n "$ac_ct_RANLIB"; then
47747   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
47748 else
47749 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47750 for as_dir in $PATH
47751 do
47752   IFS=$as_save_IFS
47753   test -z "$as_dir" && as_dir=.
47754   for ac_exec_ext in '' $ac_executable_extensions; do
47755   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47756     ac_cv_prog_ac_ct_RANLIB="ranlib"
47757     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47758     break 2
47759   fi
47760 done
47761 done
47762 IFS=$as_save_IFS
47763
47764 fi
47765 fi
47766 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
47767 if test -n "$ac_ct_RANLIB"; then
47768   { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
47769 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
47770 else
47771   { echo "$as_me:$LINENO: result: no" >&5
47772 echo "${ECHO_T}no" >&6; }
47773 fi
47774
47775   if test "x$ac_ct_RANLIB" = x; then
47776     RANLIB=":"
47777   else
47778     case $cross_compiling:$ac_tool_warned in
47779 yes:)
47780 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47781 whose name does not start with the host triplet.  If you think this
47782 configuration is useful to you, please write to autoconf@gnu.org." >&5
47783 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47784 whose name does not start with the host triplet.  If you think this
47785 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47786 ac_tool_warned=yes ;;
47787 esac
47788     RANLIB=$ac_ct_RANLIB
47789   fi
47790 else
47791   RANLIB="$ac_cv_prog_RANLIB"
47792 fi
47793
47794     # Find a good install program.  We prefer a C program (faster),
47795 # so one script is as good as another.  But avoid the broken or
47796 # incompatible versions:
47797 # SysV /etc/install, /usr/sbin/install
47798 # SunOS /usr/etc/install
47799 # IRIX /sbin/install
47800 # AIX /bin/install
47801 # AmigaOS /C/install, which installs bootblocks on floppy discs
47802 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
47803 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
47804 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
47805 # OS/2's system install, which has a completely different semantic
47806 # ./install, which can be erroneously created by make from ./install.sh.
47807 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
47808 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
47809 if test -z "$INSTALL"; then
47810 if test "${ac_cv_path_install+set}" = set; then
47811   echo $ECHO_N "(cached) $ECHO_C" >&6
47812 else
47813   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47814 for as_dir in $PATH
47815 do
47816   IFS=$as_save_IFS
47817   test -z "$as_dir" && as_dir=.
47818   # Account for people who put trailing slashes in PATH elements.
47819 case $as_dir/ in
47820   ./ | .// | /cC/* | \
47821   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
47822   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
47823   /usr/ucb/* ) ;;
47824   *)
47825     # OSF1 and SCO ODT 3.0 have their own names for install.
47826     # Don't use installbsd from OSF since it installs stuff as root
47827     # by default.
47828     for ac_prog in ginstall scoinst install; do
47829       for ac_exec_ext in '' $ac_executable_extensions; do
47830         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
47831           if test $ac_prog = install &&
47832             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
47833             # AIX install.  It has an incompatible calling convention.
47834             :
47835           elif test $ac_prog = install &&
47836             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
47837             # program-specific install script used by HP pwplus--don't use.
47838             :
47839           else
47840             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
47841             break 3
47842           fi
47843         fi
47844       done
47845     done
47846     ;;
47847 esac
47848 done
47849 IFS=$as_save_IFS
47850
47851
47852 fi
47853   if test "${ac_cv_path_install+set}" = set; then
47854     INSTALL=$ac_cv_path_install
47855   else
47856     # As a last resort, use the slow shell script.  Don't cache a
47857     # value for INSTALL within a source directory, because that will
47858     # break other packages using the cache if that directory is
47859     # removed, or if the value is a relative name.
47860     INSTALL=$ac_install_sh
47861   fi
47862 fi
47863 { echo "$as_me:$LINENO: result: $INSTALL" >&5
47864 echo "${ECHO_T}$INSTALL" >&6; }
47865
47866 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
47867 # It thinks the first close brace ends the variable substitution.
47868 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
47869
47870 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
47871
47872 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
47873
47874     { echo "$as_me:$LINENO: checking whether ln -s works" >&5
47875 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
47876 LN_S=$as_ln_s
47877 if test "$LN_S" = "ln -s"; then
47878   { echo "$as_me:$LINENO: result: yes" >&5
47879 echo "${ECHO_T}yes" >&6; }
47880 else
47881   { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
47882 echo "${ECHO_T}no, using $LN_S" >&6; }
47883 fi
47884
47885
47886     { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
47887 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
47888 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
47889 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
47890   echo $ECHO_N "(cached) $ECHO_C" >&6
47891 else
47892   cat >conftest.make <<\_ACEOF
47893 SHELL = /bin/sh
47894 all:
47895         @echo '@@@%%%=$(MAKE)=@@@%%%'
47896 _ACEOF
47897 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
47898 case `${MAKE-make} -f conftest.make 2>/dev/null` in
47899   *@@@%%%=?*=@@@%%%*)
47900     eval ac_cv_prog_make_${ac_make}_set=yes;;
47901   *)
47902     eval ac_cv_prog_make_${ac_make}_set=no;;
47903 esac
47904 rm -f conftest.make
47905 fi
47906 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
47907   { echo "$as_me:$LINENO: result: yes" >&5
47908 echo "${ECHO_T}yes" >&6; }
47909   SET_MAKE=
47910 else
47911   { echo "$as_me:$LINENO: result: no" >&5
47912 echo "${ECHO_T}no" >&6; }
47913   SET_MAKE="MAKE=${MAKE-make}"
47914 fi
47915
47916
47917
47918     if test "x$SUNCXX" = "xyes"; then
47919                                 AR=$CXX
47920         AROPTIONS="-xar -o"
47921
47922     elif test "x$SGICC" = "xyes"; then
47923                 AR=$CXX
47924         AROPTIONS="-ar -o"
47925
47926     else
47927         if test -n "$ac_tool_prefix"; then
47928   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
47929 set dummy ${ac_tool_prefix}ar; ac_word=$2
47930 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47931 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47932 if test "${ac_cv_prog_AR+set}" = set; then
47933   echo $ECHO_N "(cached) $ECHO_C" >&6
47934 else
47935   if test -n "$AR"; then
47936   ac_cv_prog_AR="$AR" # Let the user override the test.
47937 else
47938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47939 for as_dir in $PATH
47940 do
47941   IFS=$as_save_IFS
47942   test -z "$as_dir" && as_dir=.
47943   for ac_exec_ext in '' $ac_executable_extensions; do
47944   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47945     ac_cv_prog_AR="${ac_tool_prefix}ar"
47946     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47947     break 2
47948   fi
47949 done
47950 done
47951 IFS=$as_save_IFS
47952
47953 fi
47954 fi
47955 AR=$ac_cv_prog_AR
47956 if test -n "$AR"; then
47957   { echo "$as_me:$LINENO: result: $AR" >&5
47958 echo "${ECHO_T}$AR" >&6; }
47959 else
47960   { echo "$as_me:$LINENO: result: no" >&5
47961 echo "${ECHO_T}no" >&6; }
47962 fi
47963
47964
47965 fi
47966 if test -z "$ac_cv_prog_AR"; then
47967   ac_ct_AR=$AR
47968   # Extract the first word of "ar", so it can be a program name with args.
47969 set dummy ar; ac_word=$2
47970 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47971 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47972 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
47973   echo $ECHO_N "(cached) $ECHO_C" >&6
47974 else
47975   if test -n "$ac_ct_AR"; then
47976   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
47977 else
47978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47979 for as_dir in $PATH
47980 do
47981   IFS=$as_save_IFS
47982   test -z "$as_dir" && as_dir=.
47983   for ac_exec_ext in '' $ac_executable_extensions; do
47984   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47985     ac_cv_prog_ac_ct_AR="ar"
47986     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47987     break 2
47988   fi
47989 done
47990 done
47991 IFS=$as_save_IFS
47992
47993 fi
47994 fi
47995 ac_ct_AR=$ac_cv_prog_ac_ct_AR
47996 if test -n "$ac_ct_AR"; then
47997   { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
47998 echo "${ECHO_T}$ac_ct_AR" >&6; }
47999 else
48000   { echo "$as_me:$LINENO: result: no" >&5
48001 echo "${ECHO_T}no" >&6; }
48002 fi
48003
48004   if test "x$ac_ct_AR" = x; then
48005     AR="ar"
48006   else
48007     case $cross_compiling:$ac_tool_warned in
48008 yes:)
48009 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48010 whose name does not start with the host triplet.  If you think this
48011 configuration is useful to you, please write to autoconf@gnu.org." >&5
48012 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48013 whose name does not start with the host triplet.  If you think this
48014 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48015 ac_tool_warned=yes ;;
48016 esac
48017     AR=$ac_ct_AR
48018   fi
48019 else
48020   AR="$ac_cv_prog_AR"
48021 fi
48022
48023         AROPTIONS=rcu
48024     fi
48025
48026
48027     if test -n "$ac_tool_prefix"; then
48028   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
48029 set dummy ${ac_tool_prefix}strip; ac_word=$2
48030 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48031 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48032 if test "${ac_cv_prog_STRIP+set}" = set; then
48033   echo $ECHO_N "(cached) $ECHO_C" >&6
48034 else
48035   if test -n "$STRIP"; then
48036   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
48037 else
48038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48039 for as_dir in $PATH
48040 do
48041   IFS=$as_save_IFS
48042   test -z "$as_dir" && as_dir=.
48043   for ac_exec_ext in '' $ac_executable_extensions; do
48044   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48045     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
48046     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48047     break 2
48048   fi
48049 done
48050 done
48051 IFS=$as_save_IFS
48052
48053 fi
48054 fi
48055 STRIP=$ac_cv_prog_STRIP
48056 if test -n "$STRIP"; then
48057   { echo "$as_me:$LINENO: result: $STRIP" >&5
48058 echo "${ECHO_T}$STRIP" >&6; }
48059 else
48060   { echo "$as_me:$LINENO: result: no" >&5
48061 echo "${ECHO_T}no" >&6; }
48062 fi
48063
48064
48065 fi
48066 if test -z "$ac_cv_prog_STRIP"; then
48067   ac_ct_STRIP=$STRIP
48068   # Extract the first word of "strip", so it can be a program name with args.
48069 set dummy strip; ac_word=$2
48070 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48071 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48072 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
48073   echo $ECHO_N "(cached) $ECHO_C" >&6
48074 else
48075   if test -n "$ac_ct_STRIP"; then
48076   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
48077 else
48078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48079 for as_dir in $PATH
48080 do
48081   IFS=$as_save_IFS
48082   test -z "$as_dir" && as_dir=.
48083   for ac_exec_ext in '' $ac_executable_extensions; do
48084   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48085     ac_cv_prog_ac_ct_STRIP="strip"
48086     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48087     break 2
48088   fi
48089 done
48090 done
48091 IFS=$as_save_IFS
48092
48093 fi
48094 fi
48095 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
48096 if test -n "$ac_ct_STRIP"; then
48097   { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
48098 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
48099 else
48100   { echo "$as_me:$LINENO: result: no" >&5
48101 echo "${ECHO_T}no" >&6; }
48102 fi
48103
48104   if test "x$ac_ct_STRIP" = x; then
48105     STRIP=":"
48106   else
48107     case $cross_compiling:$ac_tool_warned in
48108 yes:)
48109 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48110 whose name does not start with the host triplet.  If you think this
48111 configuration is useful to you, please write to autoconf@gnu.org." >&5
48112 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48113 whose name does not start with the host triplet.  If you think this
48114 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48115 ac_tool_warned=yes ;;
48116 esac
48117     STRIP=$ac_ct_STRIP
48118   fi
48119 else
48120   STRIP="$ac_cv_prog_STRIP"
48121 fi
48122
48123     if test -n "$ac_tool_prefix"; then
48124   # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
48125 set dummy ${ac_tool_prefix}nm; ac_word=$2
48126 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48127 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48128 if test "${ac_cv_prog_NM+set}" = set; then
48129   echo $ECHO_N "(cached) $ECHO_C" >&6
48130 else
48131   if test -n "$NM"; then
48132   ac_cv_prog_NM="$NM" # Let the user override the test.
48133 else
48134 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48135 for as_dir in $PATH
48136 do
48137   IFS=$as_save_IFS
48138   test -z "$as_dir" && as_dir=.
48139   for ac_exec_ext in '' $ac_executable_extensions; do
48140   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48141     ac_cv_prog_NM="${ac_tool_prefix}nm"
48142     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48143     break 2
48144   fi
48145 done
48146 done
48147 IFS=$as_save_IFS
48148
48149 fi
48150 fi
48151 NM=$ac_cv_prog_NM
48152 if test -n "$NM"; then
48153   { echo "$as_me:$LINENO: result: $NM" >&5
48154 echo "${ECHO_T}$NM" >&6; }
48155 else
48156   { echo "$as_me:$LINENO: result: no" >&5
48157 echo "${ECHO_T}no" >&6; }
48158 fi
48159
48160
48161 fi
48162 if test -z "$ac_cv_prog_NM"; then
48163   ac_ct_NM=$NM
48164   # Extract the first word of "nm", so it can be a program name with args.
48165 set dummy nm; ac_word=$2
48166 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48167 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48168 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
48169   echo $ECHO_N "(cached) $ECHO_C" >&6
48170 else
48171   if test -n "$ac_ct_NM"; then
48172   ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
48173 else
48174 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48175 for as_dir in $PATH
48176 do
48177   IFS=$as_save_IFS
48178   test -z "$as_dir" && as_dir=.
48179   for ac_exec_ext in '' $ac_executable_extensions; do
48180   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48181     ac_cv_prog_ac_ct_NM="nm"
48182     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48183     break 2
48184   fi
48185 done
48186 done
48187 IFS=$as_save_IFS
48188
48189 fi
48190 fi
48191 ac_ct_NM=$ac_cv_prog_ac_ct_NM
48192 if test -n "$ac_ct_NM"; then
48193   { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
48194 echo "${ECHO_T}$ac_ct_NM" >&6; }
48195 else
48196   { echo "$as_me:$LINENO: result: no" >&5
48197 echo "${ECHO_T}no" >&6; }
48198 fi
48199
48200   if test "x$ac_ct_NM" = x; then
48201     NM=":"
48202   else
48203     case $cross_compiling:$ac_tool_warned in
48204 yes:)
48205 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48206 whose name does not start with the host triplet.  If you think this
48207 configuration is useful to you, please write to autoconf@gnu.org." >&5
48208 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48209 whose name does not start with the host triplet.  If you think this
48210 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48211 ac_tool_warned=yes ;;
48212 esac
48213     NM=$ac_ct_NM
48214   fi
48215 else
48216   NM="$ac_cv_prog_NM"
48217 fi
48218
48219
48220             { echo "$as_me:$LINENO: checking for command to install directories" >&5
48221 echo $ECHO_N "checking for command to install directories... $ECHO_C" >&6; }
48222     INSTALL_TEST_DIR=acbftest$$
48223     $INSTALL -d $INSTALL_TEST_DIR > /dev/null 2>&1
48224     if test $? = 0 -a -d $INSTALL_TEST_DIR; then
48225         rmdir $INSTALL_TEST_DIR
48226                         INSTALL_DIR='$(INSTALL) -d'
48227         { echo "$as_me:$LINENO: result: $INSTALL -d" >&5
48228 echo "${ECHO_T}$INSTALL -d" >&6; }
48229     else
48230         INSTALL_DIR="mkdir -p"
48231         { echo "$as_me:$LINENO: result: mkdir -p" >&5
48232 echo "${ECHO_T}mkdir -p" >&6; }
48233     fi
48234
48235
48236     LDFLAGS_GUI=
48237     case ${BAKEFILE_HOST} in
48238         *-*-cygwin* | *-*-mingw32* )
48239         LDFLAGS_GUI="-mwindows"
48240     esac
48241
48242
48243     fi
48244
48245         { echo "$as_me:$LINENO: checking if make is GNU make" >&5
48246 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
48247 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
48248   echo $ECHO_N "(cached) $ECHO_C" >&6
48249 else
48250
48251         if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
48252                 egrep -s GNU > /dev/null); then
48253             bakefile_cv_prog_makeisgnu="yes"
48254         else
48255             bakefile_cv_prog_makeisgnu="no"
48256         fi
48257
48258 fi
48259 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
48260 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
48261
48262     if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
48263         IF_GNU_MAKE=""
48264     else
48265         IF_GNU_MAKE="#"
48266     fi
48267
48268
48269
48270     PLATFORM_UNIX=0
48271     PLATFORM_WIN32=0
48272     PLATFORM_MSDOS=0
48273     PLATFORM_MAC=0
48274     PLATFORM_MACOS=0
48275     PLATFORM_MACOSX=0
48276     PLATFORM_OS2=0
48277     PLATFORM_BEOS=0
48278
48279     if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
48280         case "${BAKEFILE_HOST}" in
48281             *-*-mingw32* )
48282                 PLATFORM_WIN32=1
48283             ;;
48284             *-pc-msdosdjgpp )
48285                 PLATFORM_MSDOS=1
48286             ;;
48287             *-pc-os2_emx | *-pc-os2-emx )
48288                 PLATFORM_OS2=1
48289             ;;
48290             *-*-darwin* )
48291                 PLATFORM_MAC=1
48292                 PLATFORM_MACOSX=1
48293             ;;
48294             *-*-beos* )
48295                 PLATFORM_BEOS=1
48296             ;;
48297             powerpc-apple-macos* )
48298                 PLATFORM_MAC=1
48299                 PLATFORM_MACOS=1
48300             ;;
48301             * )
48302                 PLATFORM_UNIX=1
48303             ;;
48304         esac
48305     else
48306         case "$BAKEFILE_FORCE_PLATFORM" in
48307             win32 )
48308                 PLATFORM_WIN32=1
48309             ;;
48310             msdos )
48311                 PLATFORM_MSDOS=1
48312             ;;
48313             os2 )
48314                 PLATFORM_OS2=1
48315             ;;
48316             darwin )
48317                 PLATFORM_MAC=1
48318                 PLATFORM_MACOSX=1
48319             ;;
48320             unix )
48321                 PLATFORM_UNIX=1
48322             ;;
48323             beos )
48324                 PLATFORM_BEOS=1
48325             ;;
48326             * )
48327                                             ;;
48328         esac
48329     fi
48330
48331
48332
48333
48334
48335
48336
48337
48338
48339
48340
48341     # Check whether --enable-omf was given.
48342 if test "${enable_omf+set}" = set; then
48343   enableval=$enable_omf; bk_os2_use_omf="$enableval"
48344 fi
48345
48346
48347     case "${BAKEFILE_HOST}" in
48348       *-*-darwin* )
48349                         if test "x$GCC" = "xyes"; then
48350             CFLAGS="$CFLAGS -fno-common"
48351             CXXFLAGS="$CXXFLAGS -fno-common"
48352         fi
48353         if test "x$XLCC" = "xyes"; then
48354             CFLAGS="$CFLAGS -qnocommon"
48355             CXXFLAGS="$CXXFLAGS -qnocommon"
48356         fi
48357         ;;
48358
48359       *-pc-os2_emx | *-pc-os2-emx )
48360         if test "x$bk_os2_use_omf" = "xyes" ; then
48361             AR=emxomfar
48362             RANLIB=:
48363             LDFLAGS="-Zomf $LDFLAGS"
48364             CFLAGS="-Zomf $CFLAGS"
48365             CXXFLAGS="-Zomf $CXXFLAGS"
48366             OS2_LIBEXT="lib"
48367         else
48368             OS2_LIBEXT="a"
48369         fi
48370         ;;
48371
48372       i*86-*-beos* )
48373         LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
48374         ;;
48375     esac
48376
48377
48378     SO_SUFFIX="so"
48379     SO_SUFFIX_MODULE="so"
48380     EXEEXT=""
48381     LIBPREFIX="lib"
48382     LIBEXT=".a"
48383     DLLPREFIX="lib"
48384     DLLPREFIX_MODULE=""
48385     DLLIMP_SUFFIX=""
48386     dlldir="$libdir"
48387
48388     case "${BAKEFILE_HOST}" in
48389                         ia64-hp-hpux* )
48390         ;;
48391         *-hp-hpux* )
48392             SO_SUFFIX="sl"
48393             SO_SUFFIX_MODULE="sl"
48394         ;;
48395         *-*-aix* )
48396                                                                         SO_SUFFIX="a"
48397             SO_SUFFIX_MODULE="a"
48398         ;;
48399         *-*-cygwin* )
48400             SO_SUFFIX="dll"
48401             SO_SUFFIX_MODULE="dll"
48402             DLLIMP_SUFFIX="dll.a"
48403             EXEEXT=".exe"
48404             DLLPREFIX="cyg"
48405             dlldir="$bindir"
48406         ;;
48407         *-*-mingw32* )
48408             SO_SUFFIX="dll"
48409             SO_SUFFIX_MODULE="dll"
48410             DLLIMP_SUFFIX="dll.a"
48411             EXEEXT=".exe"
48412             DLLPREFIX=""
48413             dlldir="$bindir"
48414         ;;
48415         *-pc-msdosdjgpp )
48416             EXEEXT=".exe"
48417             DLLPREFIX=""
48418             dlldir="$bindir"
48419         ;;
48420         *-pc-os2_emx | *-pc-os2-emx )
48421             SO_SUFFIX="dll"
48422             SO_SUFFIX_MODULE="dll"
48423             DLLIMP_SUFFIX=$OS2_LIBEXT
48424             EXEEXT=".exe"
48425             DLLPREFIX=""
48426             LIBPREFIX=""
48427             LIBEXT=".$OS2_LIBEXT"
48428             dlldir="$bindir"
48429         ;;
48430         *-*-darwin* )
48431             SO_SUFFIX="dylib"
48432             SO_SUFFIX_MODULE="bundle"
48433         ;;
48434     esac
48435
48436     if test "x$DLLIMP_SUFFIX" = "x" ; then
48437         DLLIMP_SUFFIX="$SO_SUFFIX"
48438     fi
48439
48440
48441
48442
48443
48444
48445
48446
48447
48448
48449
48450
48451         PIC_FLAG=""
48452     if test "x$GCC" = "xyes"; then
48453                 PIC_FLAG="-fPIC"
48454     fi
48455
48456         SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
48457     SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
48458     WINDOWS_IMPLIB=0
48459
48460     case "${BAKEFILE_HOST}" in
48461       *-hp-hpux* )
48462                 if test "x$GCC" != "xyes"; then
48463                         LDFLAGS="$LDFLAGS -L/usr/lib"
48464
48465             SHARED_LD_CC="${CC} -b -o"
48466             SHARED_LD_CXX="${CXX} -b -o"
48467             PIC_FLAG="+Z"
48468         fi
48469       ;;
48470
48471       *-*-linux* )
48472                         if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
48473             PIC_FLAG="-KPIC"
48474         elif test "x$SUNCXX" = "xyes"; then
48475             SHARED_LD_CC="${CC} -G -o"
48476             SHARED_LD_CXX="${CXX} -G -o"
48477             PIC_FLAG="-KPIC"
48478         fi
48479       ;;
48480
48481       *-*-solaris2* )
48482         if test "x$SUNCXX" = xyes ; then
48483             SHARED_LD_CC="${CC} -G -o"
48484             SHARED_LD_CXX="${CXX} -G -o"
48485             PIC_FLAG="-KPIC"
48486         fi
48487       ;;
48488
48489       *-*-darwin* )
48490
48491 D='$'
48492 cat <<EOF >shared-ld-sh
48493 #!/bin/sh
48494 #-----------------------------------------------------------------------------
48495 #-- Name:        distrib/mac/shared-ld-sh
48496 #-- Purpose:     Link a mach-o dynamic shared library for Darwin / Mac OS X
48497 #-- Author:      Gilles Depeyrot
48498 #-- Copyright:   (c) 2002 Gilles Depeyrot
48499 #-- Licence:     any use permitted
48500 #-----------------------------------------------------------------------------
48501
48502 verbose=0
48503 args=""
48504 objects=""
48505 linking_flag="-dynamiclib"
48506 ldargs="-r -keep_private_externs -nostdlib"
48507
48508 if test "x${D}CXX" = "x"; then
48509     CXX="c++"
48510 fi
48511
48512 while test ${D}# -gt 0; do
48513     case ${D}1 in
48514
48515        -v)
48516         verbose=1
48517         ;;
48518
48519        -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
48520         # collect these options and values
48521         args="${D}{args} ${D}1 ${D}2"
48522         shift
48523         ;;
48524
48525        -arch|-isysroot)
48526         # collect these options and values
48527         ldargs="${D}{ldargs} ${D}1 ${D}2"
48528         shift
48529         ;;
48530
48531        -s|-Wl,*)
48532         # collect these load args
48533         ldargs="${D}{ldargs} ${D}1"
48534         ;;
48535
48536        -l*|-L*|-flat_namespace|-headerpad_max_install_names)
48537         # collect these options
48538         args="${D}{args} ${D}1"
48539         ;;
48540
48541        -dynamiclib|-bundle)
48542         linking_flag="${D}1"
48543         ;;
48544
48545        -*)
48546         echo "shared-ld: unhandled option '${D}1'"
48547         exit 1
48548         ;;
48549
48550         *.o | *.a | *.dylib)
48551         # collect object files
48552         objects="${D}{objects} ${D}1"
48553         ;;
48554
48555         *)
48556         echo "shared-ld: unhandled argument '${D}1'"
48557         exit 1
48558         ;;
48559
48560     esac
48561     shift
48562 done
48563
48564 status=0
48565
48566 #
48567 # Link one module containing all the others
48568 #
48569 if test ${D}{verbose} = 1; then
48570     echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
48571 fi
48572 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
48573 status=${D}?
48574
48575 #
48576 # Link the shared library from the single module created, but only if the
48577 # previous command didn't fail:
48578 #
48579 if test ${D}{status} = 0; then
48580     if test ${D}{verbose} = 1; then
48581         echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
48582     fi
48583     ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
48584     status=${D}?
48585 fi
48586
48587 #
48588 # Remove intermediate module
48589 #
48590 rm -f master.${D}${D}.o
48591
48592 exit ${D}status
48593 EOF
48594
48595         chmod +x shared-ld-sh
48596
48597         SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
48598         SHARED_LD_MODULE_CXX="CXX=\$(CXX) $SHARED_LD_MODULE_CC"
48599
48600
48601                                 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
48602 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
48603 if test "${bakefile_cv_gcc31+set}" = set; then
48604   echo $ECHO_N "(cached) $ECHO_C" >&6
48605 else
48606
48607            cat >conftest.$ac_ext <<_ACEOF
48608 /* confdefs.h.  */
48609 _ACEOF
48610 cat confdefs.h >>conftest.$ac_ext
48611 cat >>conftest.$ac_ext <<_ACEOF
48612 /* end confdefs.h.  */
48613
48614 int
48615 main ()
48616 {
48617
48618                    #if (__GNUC__ < 3) || \
48619                        ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
48620                        This is old gcc
48621                    #endif
48622
48623   ;
48624   return 0;
48625 }
48626 _ACEOF
48627 rm -f conftest.$ac_objext
48628 if { (ac_try="$ac_compile"
48629 case "(($ac_try" in
48630   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48631   *) ac_try_echo=$ac_try;;
48632 esac
48633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48634   (eval "$ac_compile") 2>conftest.er1
48635   ac_status=$?
48636   grep -v '^ *+' conftest.er1 >conftest.err
48637   rm -f conftest.er1
48638   cat conftest.err >&5
48639   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48640   (exit $ac_status); } && {
48641          test -z "$ac_c_werror_flag" ||
48642          test ! -s conftest.err
48643        } && test -s conftest.$ac_objext; then
48644
48645                    bakefile_cv_gcc31=yes
48646
48647 else
48648   echo "$as_me: failed program was:" >&5
48649 sed 's/^/| /' conftest.$ac_ext >&5
48650
48651
48652                    bakefile_cv_gcc31=no
48653
48654
48655 fi
48656
48657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48658
48659 fi
48660 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
48661 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
48662         if test "$bakefile_cv_gcc31" = "no"; then
48663                         SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
48664             SHARED_LD_CXX="$SHARED_LD_CC"
48665         else
48666                         SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
48667             SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
48668         fi
48669
48670         if test "x$GCC" == "xyes"; then
48671             PIC_FLAG="-dynamic -fPIC"
48672         fi
48673         if test "x$XLCC" = "xyes"; then
48674             PIC_FLAG="-dynamic -DPIC"
48675         fi
48676       ;;
48677
48678       *-*-aix* )
48679         if test "x$GCC" = "xyes"; then
48680                                                             PIC_FLAG=""
48681
48682                                                                                     case "${BAKEFILE_HOST}" in
48683                 *-*-aix5* )
48684                     LD_EXPFULL="-Wl,-bexpfull"
48685                     ;;
48686             esac
48687
48688             SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
48689             SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
48690         else
48691                                     # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
48692 set dummy makeC++SharedLib; ac_word=$2
48693 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48694 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48695 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
48696   echo $ECHO_N "(cached) $ECHO_C" >&6
48697 else
48698   if test -n "$AIX_CXX_LD"; then
48699   ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
48700 else
48701 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48702 for as_dir in $PATH
48703 do
48704   IFS=$as_save_IFS
48705   test -z "$as_dir" && as_dir=.
48706   for ac_exec_ext in '' $ac_executable_extensions; do
48707   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48708     ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
48709     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48710     break 2
48711   fi
48712 done
48713 done
48714 IFS=$as_save_IFS
48715
48716   test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
48717 fi
48718 fi
48719 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
48720 if test -n "$AIX_CXX_LD"; then
48721   { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
48722 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
48723 else
48724   { echo "$as_me:$LINENO: result: no" >&5
48725 echo "${ECHO_T}no" >&6; }
48726 fi
48727
48728
48729             SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
48730             SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
48731         fi
48732       ;;
48733
48734       *-*-beos* )
48735                         SHARED_LD_CC="${LD} -nostart -o"
48736         SHARED_LD_CXX="${LD} -nostart -o"
48737       ;;
48738
48739       *-*-irix* )
48740                 if test "x$GCC" != "xyes"; then
48741             PIC_FLAG="-KPIC"
48742         fi
48743       ;;
48744
48745       *-*-cygwin* | *-*-mingw32* )
48746         PIC_FLAG=""
48747         SHARED_LD_CC="\$(CC) -shared -o"
48748         SHARED_LD_CXX="\$(CXX) -shared -o"
48749         WINDOWS_IMPLIB=1
48750       ;;
48751
48752       *-pc-os2_emx | *-pc-os2-emx )
48753         SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48754         SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48755         PIC_FLAG=""
48756
48757 D='$'
48758 cat <<EOF >dllar.sh
48759 #!/bin/sh
48760 #
48761 # dllar - a tool to build both a .dll and an .a file
48762 # from a set of object (.o) files for EMX/OS2.
48763 #
48764 #  Written by Andrew Zabolotny, bit@freya.etu.ru
48765 #  Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
48766 #
48767 #  This script will accept a set of files on the command line.
48768 #  All the public symbols from the .o files will be exported into
48769 #  a .DEF file, then linker will be run (through gcc) against them to
48770 #  build a shared library consisting of all given .o files. All libraries
48771 #  (.a) will be first decompressed into component .o files then act as
48772 #  described above. You can optionally give a description (-d "description")
48773 #  which will be put into .DLL. To see the list of accepted options (as well
48774 #  as command-line format) simply run this program without options. The .DLL
48775 #  is built to be imported by name (there is no guarantee that new versions
48776 #  of the library you build will have same ordinals for same symbols).
48777 #
48778 #  dllar is free software; you can redistribute it and/or modify
48779 #  it under the terms of the GNU General Public License as published by
48780 #  the Free Software Foundation; either version 2, or (at your option)
48781 #  any later version.
48782 #
48783 #  dllar is distributed in the hope that it will be useful,
48784 #  but WITHOUT ANY WARRANTY; without even the implied warranty of
48785 #  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
48786 #  GNU General Public License for more details.
48787 #
48788 #  You should have received a copy of the GNU General Public License
48789 #  along with dllar; see the file COPYING.  If not, write to the Free
48790 #  Software Foundation, 59 Temple Place - Suite 330, Boston, MA
48791 #  02111-1307, USA.
48792
48793 # To successfuly run this program you will need:
48794 #  - Current drive should have LFN support (HPFS, ext2, network, etc)
48795 #    (Sometimes dllar generates filenames which won't fit 8.3 scheme)
48796 #  - gcc
48797 #    (used to build the .dll)
48798 #  - emxexp
48799 #    (used to create .def file from .o files)
48800 #  - emximp
48801 #    (used to create .a file from .def file)
48802 #  - GNU text utilites (cat, sort, uniq)
48803 #    used to process emxexp output
48804 #  - GNU file utilities (mv, rm)
48805 #  - GNU sed
48806 #  - lxlite (optional, see flag below)
48807 #    (used for general .dll cleanup)
48808 #
48809
48810 flag_USE_LXLITE=1;
48811
48812 #
48813 # helper functions
48814 # basnam, variant of basename, which does _not_ remove the path, _iff_
48815 #                              second argument (suffix to remove) is given
48816 basnam(){
48817     case ${D}# in
48818     1)
48819         echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
48820         ;;
48821     2)
48822         echo ${D}1 | sed 's/'${D}2'${D}//'
48823         ;;
48824     *)
48825         echo "error in basnam ${D}*"
48826         exit 8
48827         ;;
48828     esac
48829 }
48830
48831 # Cleanup temporary files and output
48832 CleanUp() {
48833     cd ${D}curDir
48834     for i in ${D}inputFiles ; do
48835         case ${D}i in
48836         *!)
48837             rm -rf \`basnam ${D}i !\`
48838             ;;
48839         *)
48840             ;;
48841         esac
48842     done
48843
48844     # Kill result in case of failure as there is just to many stupid make/nmake
48845     # things out there which doesn't do this.
48846     if [ ${D}# -eq 0 ]; then
48847         rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
48848     fi
48849 }
48850
48851 # Print usage and exit script with rc=1.
48852 PrintHelp() {
48853  echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
48854  echo '       [-name-mangler-script script.sh]'
48855  echo '       [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
48856  echo '       [-ord[inals]] -ex[clude] "symbol(s)"'
48857  echo '       [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
48858  echo '       [*.o] [*.a]'
48859  echo '*> "output_file" should have no extension.'
48860  echo '   If it has the .o, .a or .dll extension, it is automatically removed.'
48861  echo '   The import library name is derived from this and is set to "name".a,'
48862  echo '   unless overridden by -import'
48863  echo '*> "importlib_name" should have no extension.'
48864  echo '   If it has the .o, or .a extension, it is automatically removed.'
48865  echo '   This name is used as the import library name and may be longer and'
48866  echo '   more descriptive than the DLL name which has to follow the old '
48867  echo '   8.3 convention of FAT.'
48868  echo '*> "script.sh may be given to override the output_file name by a'
48869  echo '   different name. It is mainly useful if the regular make process'
48870  echo '   of some package does not take into account OS/2 restriction of'
48871  echo '   DLL name lengths. It takes the importlib name as input and is'
48872  echo '   supposed to procude a shorter name as output. The script should'
48873  echo '   expect to get importlib_name without extension and should produce'
48874  echo '   a (max.) 8 letter name without extension.'
48875  echo '*> "cc" is used to use another GCC executable.   (default: gcc.exe)'
48876  echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
48877  echo '   These flags will be put at the start of GCC command line.'
48878  echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
48879  echo '*> -ex[clude] defines symbols which will not be exported. You can define'
48880  echo '   multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
48881  echo '   If the last character of a symbol is "*", all symbols beginning'
48882  echo '   with the prefix before "*" will be exclude, (see _GLOBAL* above).'
48883  echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
48884  echo '   TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
48885  echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
48886  echo '   C runtime DLLs.'
48887  echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
48888  echo '*> All other switches (for example -L./ or -lmylib) will be passed'
48889  echo '   unchanged to GCC at the end of command line.'
48890  echo '*> If you create a DLL from a library and you do not specify -o,'
48891  echo '   the basename for DLL and import library will be set to library name,'
48892  echo '   the initial library will be renamed to 'name'_s.a (_s for static)'
48893  echo '   i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
48894  echo '   library will be renamed into gcc_s.a.'
48895  echo '--------'
48896  echo 'Example:'
48897  echo '   dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
48898  echo '    -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
48899  CleanUp
48900  exit 1
48901 }
48902
48903 # Execute a command.
48904 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
48905 # @Uses    Whatever CleanUp() uses.
48906 doCommand() {
48907     echo "${D}*"
48908     eval ${D}*
48909     rcCmd=${D}?
48910
48911     if [ ${D}rcCmd -ne 0 ]; then
48912         echo "command failed, exit code="${D}rcCmd
48913         CleanUp
48914         exit ${D}rcCmd
48915     fi
48916 }
48917
48918 # main routine
48919 # setup globals
48920 cmdLine=${D}*
48921 outFile=""
48922 outimpFile=""
48923 inputFiles=""
48924 renameScript=""
48925 description=""
48926 CC=gcc.exe
48927 CFLAGS="-s -Zcrtdll"
48928 EXTRA_CFLAGS=""
48929 EXPORT_BY_ORDINALS=0
48930 exclude_symbols=""
48931 library_flags=""
48932 curDir=\`pwd\`
48933 curDirS=curDir
48934 case ${D}curDirS in
48935 */)
48936   ;;
48937 *)
48938   curDirS=${D}{curDirS}"/"
48939   ;;
48940 esac
48941 # Parse commandline
48942 libsToLink=0
48943 omfLinking=0
48944 while [ ${D}1 ]; do
48945     case ${D}1 in
48946     -ord*)
48947         EXPORT_BY_ORDINALS=1;
48948         ;;
48949     -o*)
48950         shift
48951         outFile=${D}1
48952         ;;
48953     -i*)
48954         shift
48955         outimpFile=${D}1
48956         ;;
48957     -name-mangler-script)
48958         shift
48959         renameScript=${D}1
48960         ;;
48961     -d*)
48962         shift
48963         description=${D}1
48964         ;;
48965     -f*)
48966         shift
48967         CFLAGS=${D}1
48968         ;;
48969     -c*)
48970         shift
48971         CC=${D}1
48972         ;;
48973     -h*)
48974         PrintHelp
48975         ;;
48976     -ex*)
48977         shift
48978         exclude_symbols=${D}{exclude_symbols}${D}1" "
48979         ;;
48980     -libf*)
48981         shift
48982         library_flags=${D}{library_flags}${D}1" "
48983         ;;
48984     -nocrt*)
48985         CFLAGS="-s"
48986         ;;
48987     -nolxl*)
48988         flag_USE_LXLITE=0
48989         ;;
48990     -* | /*)
48991         case ${D}1 in
48992         -L* | -l*)
48993             libsToLink=1
48994             ;;
48995         -Zomf)
48996             omfLinking=1
48997             ;;
48998         *)
48999             ;;
49000         esac
49001         EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
49002         ;;
49003     *.dll)
49004         EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
49005         if [ ${D}omfLinking -eq 1 ]; then
49006             EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
49007         else
49008             EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
49009         fi
49010         ;;
49011     *)
49012         found=0;
49013         if [ ${D}libsToLink -ne 0 ]; then
49014             EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
49015         else
49016             for file in ${D}1 ; do
49017                 if [ -f ${D}file ]; then
49018                     inputFiles="${D}{inputFiles} ${D}file"
49019                     found=1
49020                 fi
49021             done
49022             if [ ${D}found -eq 0 ]; then
49023                 echo "ERROR: No file(s) found: "${D}1
49024                 exit 8
49025             fi
49026         fi
49027       ;;
49028     esac
49029     shift
49030 done # iterate cmdline words
49031
49032 #
49033 if [ -z "${D}inputFiles" ]; then
49034     echo "dllar: no input files"
49035     PrintHelp
49036 fi
49037
49038 # Now extract all .o files from .a files
49039 newInputFiles=""
49040 for file in ${D}inputFiles ; do
49041     case ${D}file in
49042     *.a | *.lib)
49043         case ${D}file in
49044         *.a)
49045             suffix=".a"
49046             AR="ar"
49047             ;;
49048         *.lib)
49049             suffix=".lib"
49050             AR="emxomfar"
49051             EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
49052             ;;
49053         *)
49054             ;;
49055         esac
49056         dirname=\`basnam ${D}file ${D}suffix\`"_%"
49057         mkdir ${D}dirname
49058         if [ ${D}? -ne 0 ]; then
49059             echo "Failed to create subdirectory ./${D}dirname"
49060             CleanUp
49061             exit 8;
49062         fi
49063         # Append '!' to indicate archive
49064         newInputFiles="${D}newInputFiles ${D}{dirname}!"
49065         doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
49066         cd ${D}curDir
49067         found=0;
49068         for subfile in ${D}dirname/*.o* ; do
49069             if [ -f ${D}subfile ]; then
49070                 found=1
49071                 if [ -s ${D}subfile ]; then
49072                     # FIXME: This should be: is file size > 32 byte, _not_ > 0!
49073                     newInputFiles="${D}newInputFiles ${D}subfile"
49074                 fi
49075             fi
49076         done
49077         if [ ${D}found -eq 0 ]; then
49078             echo "WARNING: there are no files in archive \\'${D}file\\'"
49079         fi
49080         ;;
49081     *)
49082         newInputFiles="${D}{newInputFiles} ${D}file"
49083         ;;
49084     esac
49085 done
49086 inputFiles="${D}newInputFiles"
49087
49088 # Output filename(s).
49089 do_backup=0;
49090 if [ -z ${D}outFile ]; then
49091     do_backup=1;
49092     set outFile ${D}inputFiles; outFile=${D}2
49093 fi
49094
49095 # If it is an archive, remove the '!' and the '_%' suffixes
49096 case ${D}outFile in
49097 *_%!)
49098     outFile=\`basnam ${D}outFile _%!\`
49099     ;;
49100 *)
49101     ;;
49102 esac
49103 case ${D}outFile in
49104 *.dll)
49105     outFile=\`basnam ${D}outFile .dll\`
49106     ;;
49107 *.DLL)
49108     outFile=\`basnam ${D}outFile .DLL\`
49109     ;;
49110 *.o)
49111     outFile=\`basnam ${D}outFile .o\`
49112     ;;
49113 *.obj)
49114     outFile=\`basnam ${D}outFile .obj\`
49115     ;;
49116 *.a)
49117     outFile=\`basnam ${D}outFile .a\`
49118     ;;
49119 *.lib)
49120     outFile=\`basnam ${D}outFile .lib\`
49121     ;;
49122 *)
49123     ;;
49124 esac
49125 case ${D}outimpFile in
49126 *.a)
49127     outimpFile=\`basnam ${D}outimpFile .a\`
49128     ;;
49129 *.lib)
49130     outimpFile=\`basnam ${D}outimpFile .lib\`
49131     ;;
49132 *)
49133     ;;
49134 esac
49135 if [ -z ${D}outimpFile ]; then
49136     outimpFile=${D}outFile
49137 fi
49138 defFile="${D}{outFile}.def"
49139 arcFile="${D}{outimpFile}.a"
49140 arcFile2="${D}{outimpFile}.lib"
49141
49142 #create ${D}dllFile as something matching 8.3 restrictions,
49143 if [ -z ${D}renameScript ] ; then
49144     dllFile="${D}outFile"
49145 else
49146     dllFile=\`${D}renameScript ${D}outimpFile\`
49147 fi
49148
49149 if [ ${D}do_backup -ne 0 ] ; then
49150     if [ -f ${D}arcFile ] ; then
49151         doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
49152     fi
49153     if [ -f ${D}arcFile2 ] ; then
49154         doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
49155     fi
49156 fi
49157
49158 # Extract public symbols from all the object files.
49159 tmpdefFile=${D}{defFile}_%
49160 rm -f ${D}tmpdefFile
49161 for file in ${D}inputFiles ; do
49162     case ${D}file in
49163     *!)
49164         ;;
49165     *)
49166         doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
49167         ;;
49168     esac
49169 done
49170
49171 # Create the def file.
49172 rm -f ${D}defFile
49173 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
49174 dllFile="${D}{dllFile}.dll"
49175 if [ ! -z ${D}description ]; then
49176     echo "DESCRIPTION  \\"${D}{description}\\"" >> ${D}defFile
49177 fi
49178 echo "EXPORTS" >> ${D}defFile
49179
49180 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
49181 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
49182
49183 # Checks if the export is ok or not.
49184 for word in ${D}exclude_symbols; do
49185     grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
49186     mv ${D}{tmpdefFile}% ${D}tmpdefFile
49187 done
49188
49189
49190 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
49191     sed "=" < ${D}tmpdefFile | \\
49192     sed '
49193       N
49194       : loop
49195       s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
49196       t loop
49197     ' > ${D}{tmpdefFile}%
49198     grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
49199 else
49200     rm -f ${D}{tmpdefFile}%
49201 fi
49202 cat ${D}tmpdefFile >> ${D}defFile
49203 rm -f ${D}tmpdefFile
49204
49205 # Do linking, create implib, and apply lxlite.
49206 gccCmdl="";
49207 for file in ${D}inputFiles ; do
49208     case ${D}file in
49209     *!)
49210         ;;
49211     *)
49212         gccCmdl="${D}gccCmdl ${D}file"
49213         ;;
49214     esac
49215 done
49216 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
49217 touch "${D}{outFile}.dll"
49218
49219 doCommand "emximp -o ${D}arcFile ${D}defFile"
49220 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
49221     add_flags="";
49222     if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
49223         add_flags="-ynd"
49224     fi
49225     doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
49226 fi
49227 doCommand "emxomf -s -l ${D}arcFile"
49228
49229 # Successful exit.
49230 CleanUp 1
49231 exit 0
49232 EOF
49233
49234         chmod +x dllar.sh
49235       ;;
49236
49237       powerpc-apple-macos* | \
49238       *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
49239       *-*-mirbsd* | \
49240       *-*-sunos4* | \
49241       *-*-osf* | \
49242       *-*-dgux5* | \
49243       *-*-sysv5* | \
49244       *-pc-msdosdjgpp )
49245               ;;
49246
49247       *)
49248         { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
49249 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
49250    { (exit 1); exit 1; }; }
49251     esac
49252
49253     if test "x$PIC_FLAG" != "x" ; then
49254         PIC_FLAG="$PIC_FLAG -DPIC"
49255     fi
49256
49257     if test "x$SHARED_LD_MODULE_CC" = "x" ; then
49258         SHARED_LD_MODULE_CC="$SHARED_LD_CC"
49259     fi
49260     if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
49261         SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
49262     fi
49263
49264
49265
49266
49267
49268
49269
49270
49271
49272     USE_SOVERSION=0
49273     USE_SOVERLINUX=0
49274     USE_SOVERSOLARIS=0
49275     USE_SOVERCYGWIN=0
49276     USE_SOTWOSYMLINKS=0
49277     USE_MACVERSION=0
49278     SONAME_FLAG=
49279
49280     case "${BAKEFILE_HOST}" in
49281       *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
49282       *-*-k*bsd*-gnu | *-*-mirbsd* )
49283         if test "x$SUNCXX" = "xyes"; then
49284             SONAME_FLAG="-h "
49285         else
49286             SONAME_FLAG="-Wl,-soname,"
49287         fi
49288         USE_SOVERSION=1
49289         USE_SOVERLINUX=1
49290         USE_SOTWOSYMLINKS=1
49291       ;;
49292
49293       *-*-solaris2* )
49294         SONAME_FLAG="-h "
49295         USE_SOVERSION=1
49296         USE_SOVERSOLARIS=1
49297       ;;
49298
49299       *-*-darwin* )
49300         USE_MACVERSION=1
49301         USE_SOVERSION=1
49302         USE_SOTWOSYMLINKS=1
49303       ;;
49304
49305       *-*-cygwin* )
49306         USE_SOVERSION=1
49307         USE_SOVERCYGWIN=1
49308       ;;
49309     esac
49310
49311
49312
49313
49314
49315
49316
49317
49318
49319
49320     # Check whether --enable-dependency-tracking was given.
49321 if test "${enable_dependency_tracking+set}" = set; then
49322   enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
49323 fi
49324
49325
49326     { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
49327 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
49328
49329     BK_DEPS=""
49330     if test "x$bk_use_trackdeps" = "xno" ; then
49331         DEPS_TRACKING=0
49332         { echo "$as_me:$LINENO: result: disabled" >&5
49333 echo "${ECHO_T}disabled" >&6; }
49334     else
49335         DEPS_TRACKING=1
49336
49337         if test "x$GCC" = "xyes"; then
49338             DEPSMODE=gcc
49339             case "${BAKEFILE_HOST}" in
49340                 *-*-darwin* )
49341                                                             DEPSFLAG="-no-cpp-precomp -MMD"
49342                 ;;
49343                 * )
49344                     DEPSFLAG="-MMD"
49345                 ;;
49346             esac
49347             { echo "$as_me:$LINENO: result: gcc" >&5
49348 echo "${ECHO_T}gcc" >&6; }
49349         elif test "x$MWCC" = "xyes"; then
49350             DEPSMODE=mwcc
49351             DEPSFLAG="-MM"
49352             { echo "$as_me:$LINENO: result: mwcc" >&5
49353 echo "${ECHO_T}mwcc" >&6; }
49354         elif test "x$SUNCC" = "xyes"; then
49355             DEPSMODE=unixcc
49356             DEPSFLAG="-xM1"
49357             { echo "$as_me:$LINENO: result: Sun cc" >&5
49358 echo "${ECHO_T}Sun cc" >&6; }
49359         elif test "x$SGICC" = "xyes"; then
49360             DEPSMODE=unixcc
49361             DEPSFLAG="-M"
49362             { echo "$as_me:$LINENO: result: SGI cc" >&5
49363 echo "${ECHO_T}SGI cc" >&6; }
49364         elif test "x$HPCC" = "xyes"; then
49365             DEPSMODE=unixcc
49366             DEPSFLAG="+make"
49367             { echo "$as_me:$LINENO: result: HP cc" >&5
49368 echo "${ECHO_T}HP cc" >&6; }
49369         elif test "x$COMPAQCC" = "xyes"; then
49370             DEPSMODE=gcc
49371             DEPSFLAG="-MD"
49372             { echo "$as_me:$LINENO: result: Compaq cc" >&5
49373 echo "${ECHO_T}Compaq cc" >&6; }
49374         else
49375             DEPS_TRACKING=0
49376             { echo "$as_me:$LINENO: result: none" >&5
49377 echo "${ECHO_T}none" >&6; }
49378         fi
49379
49380         if test $DEPS_TRACKING = 1 ; then
49381
49382 D='$'
49383 cat <<EOF >bk-deps
49384 #!/bin/sh
49385
49386 # This script is part of Bakefile (http://www.bakefile.org) autoconf
49387 # script. It is used to track C/C++ files dependencies in portable way.
49388 #
49389 # Permission is given to use this file in any way.
49390
49391 DEPSMODE=${DEPSMODE}
49392 DEPSFLAG="${DEPSFLAG}"
49393 DEPSDIRBASE=.deps
49394
49395 if test ${D}DEPSMODE = gcc ; then
49396     ${D}* ${D}{DEPSFLAG}
49397     status=${D}?
49398
49399     # determine location of created files:
49400     while test ${D}# -gt 0; do
49401         case "${D}1" in
49402             -o )
49403                 shift
49404                 objfile=${D}1
49405             ;;
49406             -* )
49407             ;;
49408             * )
49409                 srcfile=${D}1
49410             ;;
49411         esac
49412         shift
49413     done
49414     objfilebase=\`basename ${D}objfile\`
49415     builddir=\`dirname ${D}objfile\`
49416     depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
49417     depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
49418     depsdir=${D}builddir/${D}DEPSDIRBASE
49419     mkdir -p ${D}depsdir
49420
49421     # if the compiler failed, we're done:
49422     if test ${D}{status} != 0 ; then
49423         rm -f ${D}depfile
49424         exit ${D}{status}
49425     fi
49426
49427     # move created file to the location we want it in:
49428     if test -f ${D}depfile ; then
49429         sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
49430         rm -f ${D}depfile
49431     else
49432         # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
49433         depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\`
49434         if test ! -f ${D}depfile ; then
49435             # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
49436             depfile="${D}objfile.d"
49437         fi
49438         if test -f ${D}depfile ; then
49439             sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
49440             rm -f ${D}depfile
49441         fi
49442     fi
49443     exit 0
49444
49445 elif test ${D}DEPSMODE = mwcc ; then
49446     ${D}* || exit ${D}?
49447     # Run mwcc again with -MM and redirect into the dep file we want
49448     # NOTE: We can't use shift here because we need ${D}* to be valid
49449     prevarg=
49450     for arg in ${D}* ; do
49451         if test "${D}prevarg" = "-o"; then
49452             objfile=${D}arg
49453         else
49454             case "${D}arg" in
49455                 -* )
49456                 ;;
49457                 * )
49458                     srcfile=${D}arg
49459                 ;;
49460             esac
49461         fi
49462         prevarg="${D}arg"
49463     done
49464
49465     objfilebase=\`basename ${D}objfile\`
49466     builddir=\`dirname ${D}objfile\`
49467     depsdir=${D}builddir/${D}DEPSDIRBASE
49468     mkdir -p ${D}depsdir
49469
49470     ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
49471     exit 0
49472
49473 elif test ${D}DEPSMODE = unixcc; then
49474     ${D}* || exit ${D}?
49475     # Run compiler again with deps flag and redirect into the dep file.
49476     # It doesn't work if the '-o FILE' option is used, but without it the
49477     # dependency file will contain the wrong name for the object. So it is
49478     # removed from the command line, and the dep file is fixed with sed.
49479     cmd=""
49480     while test ${D}# -gt 0; do
49481         case "${D}1" in
49482             -o )
49483                 shift
49484                 objfile=${D}1
49485             ;;
49486             * )
49487                 eval arg${D}#=\\${D}1
49488                 cmd="${D}cmd \\${D}arg${D}#"
49489             ;;
49490         esac
49491         shift
49492     done
49493
49494     objfilebase=\`basename ${D}objfile\`
49495     builddir=\`dirname ${D}objfile\`
49496     depsdir=${D}builddir/${D}DEPSDIRBASE
49497     mkdir -p ${D}depsdir
49498
49499     eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
49500     exit 0
49501
49502 else
49503     ${D}*
49504     exit ${D}?
49505 fi
49506 EOF
49507
49508             chmod +x bk-deps
49509                                     BK_DEPS="`pwd`/bk-deps"
49510         fi
49511     fi
49512
49513
49514
49515
49516
49517     case ${BAKEFILE_HOST} in
49518         *-*-cygwin* | *-*-mingw32* )
49519                         if test -n "$ac_tool_prefix"; then
49520   # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
49521 set dummy ${ac_tool_prefix}windres; ac_word=$2
49522 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49523 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49524 if test "${ac_cv_prog_WINDRES+set}" = set; then
49525   echo $ECHO_N "(cached) $ECHO_C" >&6
49526 else
49527   if test -n "$WINDRES"; then
49528   ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
49529 else
49530 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49531 for as_dir in $PATH
49532 do
49533   IFS=$as_save_IFS
49534   test -z "$as_dir" && as_dir=.
49535   for ac_exec_ext in '' $ac_executable_extensions; do
49536   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49537     ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
49538     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49539     break 2
49540   fi
49541 done
49542 done
49543 IFS=$as_save_IFS
49544
49545 fi
49546 fi
49547 WINDRES=$ac_cv_prog_WINDRES
49548 if test -n "$WINDRES"; then
49549   { echo "$as_me:$LINENO: result: $WINDRES" >&5
49550 echo "${ECHO_T}$WINDRES" >&6; }
49551 else
49552   { echo "$as_me:$LINENO: result: no" >&5
49553 echo "${ECHO_T}no" >&6; }
49554 fi
49555
49556
49557 fi
49558 if test -z "$ac_cv_prog_WINDRES"; then
49559   ac_ct_WINDRES=$WINDRES
49560   # Extract the first word of "windres", so it can be a program name with args.
49561 set dummy windres; ac_word=$2
49562 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49563 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49564 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
49565   echo $ECHO_N "(cached) $ECHO_C" >&6
49566 else
49567   if test -n "$ac_ct_WINDRES"; then
49568   ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
49569 else
49570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49571 for as_dir in $PATH
49572 do
49573   IFS=$as_save_IFS
49574   test -z "$as_dir" && as_dir=.
49575   for ac_exec_ext in '' $ac_executable_extensions; do
49576   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49577     ac_cv_prog_ac_ct_WINDRES="windres"
49578     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49579     break 2
49580   fi
49581 done
49582 done
49583 IFS=$as_save_IFS
49584
49585 fi
49586 fi
49587 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
49588 if test -n "$ac_ct_WINDRES"; then
49589   { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
49590 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
49591 else
49592   { echo "$as_me:$LINENO: result: no" >&5
49593 echo "${ECHO_T}no" >&6; }
49594 fi
49595
49596   if test "x$ac_ct_WINDRES" = x; then
49597     WINDRES=""
49598   else
49599     case $cross_compiling:$ac_tool_warned in
49600 yes:)
49601 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49602 whose name does not start with the host triplet.  If you think this
49603 configuration is useful to you, please write to autoconf@gnu.org." >&5
49604 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49605 whose name does not start with the host triplet.  If you think this
49606 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49607 ac_tool_warned=yes ;;
49608 esac
49609     WINDRES=$ac_ct_WINDRES
49610   fi
49611 else
49612   WINDRES="$ac_cv_prog_WINDRES"
49613 fi
49614
49615          ;;
49616
49617       *-*-darwin* | powerpc-apple-macos* )
49618             # Extract the first word of "Rez", so it can be a program name with args.
49619 set dummy Rez; ac_word=$2
49620 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49621 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49622 if test "${ac_cv_prog_REZ+set}" = set; then
49623   echo $ECHO_N "(cached) $ECHO_C" >&6
49624 else
49625   if test -n "$REZ"; then
49626   ac_cv_prog_REZ="$REZ" # Let the user override the test.
49627 else
49628 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49629 for as_dir in $PATH
49630 do
49631   IFS=$as_save_IFS
49632   test -z "$as_dir" && as_dir=.
49633   for ac_exec_ext in '' $ac_executable_extensions; do
49634   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49635     ac_cv_prog_REZ="Rez"
49636     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49637     break 2
49638   fi
49639 done
49640 done
49641 IFS=$as_save_IFS
49642
49643   test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
49644 fi
49645 fi
49646 REZ=$ac_cv_prog_REZ
49647 if test -n "$REZ"; then
49648   { echo "$as_me:$LINENO: result: $REZ" >&5
49649 echo "${ECHO_T}$REZ" >&6; }
49650 else
49651   { echo "$as_me:$LINENO: result: no" >&5
49652 echo "${ECHO_T}no" >&6; }
49653 fi
49654
49655
49656             # Extract the first word of "SetFile", so it can be a program name with args.
49657 set dummy SetFile; ac_word=$2
49658 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49659 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49660 if test "${ac_cv_prog_SETFILE+set}" = set; then
49661   echo $ECHO_N "(cached) $ECHO_C" >&6
49662 else
49663   if test -n "$SETFILE"; then
49664   ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
49665 else
49666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49667 for as_dir in $PATH
49668 do
49669   IFS=$as_save_IFS
49670   test -z "$as_dir" && as_dir=.
49671   for ac_exec_ext in '' $ac_executable_extensions; do
49672   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49673     ac_cv_prog_SETFILE="SetFile"
49674     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49675     break 2
49676   fi
49677 done
49678 done
49679 IFS=$as_save_IFS
49680
49681   test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
49682 fi
49683 fi
49684 SETFILE=$ac_cv_prog_SETFILE
49685 if test -n "$SETFILE"; then
49686   { echo "$as_me:$LINENO: result: $SETFILE" >&5
49687 echo "${ECHO_T}$SETFILE" >&6; }
49688 else
49689   { echo "$as_me:$LINENO: result: no" >&5
49690 echo "${ECHO_T}no" >&6; }
49691 fi
49692
49693
49694         ;;
49695     esac
49696
49697
49698
49699
49700
49701
49702
49703
49704
49705     BAKEFILE_BAKEFILE_M4_VERSION="0.2.6"
49706
49707
49708 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.6"
49709
49710
49711
49712     # Check whether --enable-precomp-headers was given.
49713 if test "${enable_precomp_headers+set}" = set; then
49714   enableval=$enable_precomp_headers; bk_use_pch="$enableval"
49715 fi
49716
49717
49718     GCC_PCH=0
49719     ICC_PCH=0
49720     USE_PCH=0
49721     BK_MAKE_PCH=""
49722
49723     case ${BAKEFILE_HOST} in
49724         *-*-cygwin* )
49725                                                 bk_use_pch="no"
49726             ;;
49727     esac
49728
49729     if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
49730         if test "x$GCC" = "xyes"; then
49731                         { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
49732 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
49733             cat >conftest.$ac_ext <<_ACEOF
49734 /* confdefs.h.  */
49735 _ACEOF
49736 cat confdefs.h >>conftest.$ac_ext
49737 cat >>conftest.$ac_ext <<_ACEOF
49738 /* end confdefs.h.  */
49739
49740 int
49741 main ()
49742 {
49743
49744                     #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
49745                         There is no PCH support
49746                     #endif
49747                     #if (__GNUC__ < 3)
49748                         There is no PCH support
49749                     #endif
49750                     #if (__GNUC__ == 3) && \
49751                        ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
49752                        ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
49753                        ( defined(__INTEL_COMPILER) )
49754                         There is no PCH support
49755                     #endif
49756
49757   ;
49758   return 0;
49759 }
49760 _ACEOF
49761 rm -f conftest.$ac_objext
49762 if { (ac_try="$ac_compile"
49763 case "(($ac_try" in
49764   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49765   *) ac_try_echo=$ac_try;;
49766 esac
49767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49768   (eval "$ac_compile") 2>conftest.er1
49769   ac_status=$?
49770   grep -v '^ *+' conftest.er1 >conftest.err
49771   rm -f conftest.er1
49772   cat conftest.err >&5
49773   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49774   (exit $ac_status); } && {
49775          test -z "$ac_c_werror_flag" ||
49776          test ! -s conftest.err
49777        } && test -s conftest.$ac_objext; then
49778
49779                     { echo "$as_me:$LINENO: result: yes" >&5
49780 echo "${ECHO_T}yes" >&6; }
49781                     GCC_PCH=1
49782
49783 else
49784   echo "$as_me: failed program was:" >&5
49785 sed 's/^/| /' conftest.$ac_ext >&5
49786
49787
49788                     if test "$INTELCXX8" = "yes"; then
49789                         { echo "$as_me:$LINENO: result: yes" >&5
49790 echo "${ECHO_T}yes" >&6; }
49791                         ICC_PCH=1
49792                         if test "$INTELCXX10" = "yes"; then
49793                             ICC_PCH_CREATE_SWITCH="-pch-create"
49794                             ICC_PCH_USE_SWITCH="-pch-use"
49795                         else
49796                             ICC_PCH_CREATE_SWITCH="-create-pch"
49797                             ICC_PCH_USE_SWITCH="-use-pch"
49798                         fi
49799                     else
49800                         { echo "$as_me:$LINENO: result: no" >&5
49801 echo "${ECHO_T}no" >&6; }
49802                     fi
49803
49804 fi
49805
49806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49807             if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
49808                 USE_PCH=1
49809
49810 D='$'
49811 cat <<EOF >bk-make-pch
49812 #!/bin/sh
49813
49814 # This script is part of Bakefile (http://www.bakefile.org) autoconf
49815 # script. It is used to generated precompiled headers.
49816 #
49817 # Permission is given to use this file in any way.
49818
49819 outfile="${D}{1}"
49820 header="${D}{2}"
49821 shift
49822 shift
49823
49824 builddir=\`echo ${D}outfile | sed -e 's,/\\.pch/.*${D},,g'\`
49825
49826 compiler=""
49827 headerfile=""
49828
49829 while test ${D}{#} -gt 0; do
49830     add_to_cmdline=1
49831     case "${D}{1}" in
49832         -I* )
49833             incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
49834             if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
49835                 headerfile="${D}{incdir}/${D}{header}"
49836             fi
49837         ;;
49838         -use-pch|-use_pch|-pch-use )
49839             shift
49840             add_to_cmdline=0
49841         ;;
49842     esac
49843     if test ${D}add_to_cmdline = 1 ; then
49844         compiler="${D}{compiler} ${D}{1}"
49845     fi
49846     shift
49847 done
49848
49849 if test "x${D}{headerfile}" = "x" ; then
49850     echo "error: can't find header ${D}{header} in include paths" >&2
49851 else
49852     if test -f ${D}{outfile} ; then
49853         rm -f ${D}{outfile}
49854     else
49855         mkdir -p \`dirname ${D}{outfile}\`
49856     fi
49857     depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
49858     mkdir -p ${D}{builddir}/.deps
49859     if test "x${GCC_PCH}" = "x1" ; then
49860         # can do this because gcc is >= 3.4:
49861         ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
49862     elif test "x${ICC_PCH}" = "x1" ; then
49863         filename=pch_gen-${D}${D}
49864         file=${D}{filename}.c
49865         dfile=${D}{filename}.d
49866         cat > ${D}file <<EOT
49867 #include "${D}header"
49868 EOT
49869         # using -MF icc complains about differing command lines in creation/use
49870         ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
49871           sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
49872           rm -f ${D}file ${D}dfile ${D}{filename}.o
49873     fi
49874     exit ${D}{?}
49875 fi
49876 EOF
49877
49878                 chmod +x bk-make-pch
49879                                                                 BK_MAKE_PCH="`pwd`/bk-make-pch"
49880             fi
49881         fi
49882     fi
49883
49884
49885
49886
49887
49888
49889
49890     COND_BUILD_DEBUG="#"
49891     if test "x$BUILD" = "xdebug" ; then
49892         COND_BUILD_DEBUG=""
49893     fi
49894
49895     COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
49896     if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
49897         COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
49898     fi
49899
49900     COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
49901     if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
49902         COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
49903     fi
49904
49905     COND_BUILD_DEBUG_UNICODE_0="#"
49906     if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
49907         COND_BUILD_DEBUG_UNICODE_0=""
49908     fi
49909
49910     COND_BUILD_DEBUG_UNICODE_1="#"
49911     if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
49912         COND_BUILD_DEBUG_UNICODE_1=""
49913     fi
49914
49915     COND_BUILD_RELEASE="#"
49916     if test "x$BUILD" = "xrelease" ; then
49917         COND_BUILD_RELEASE=""
49918     fi
49919
49920     COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
49921     if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
49922         COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
49923     fi
49924
49925     COND_BUILD_RELEASE_UNICODE_0="#"
49926     if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
49927         COND_BUILD_RELEASE_UNICODE_0=""
49928     fi
49929
49930     COND_BUILD_RELEASE_UNICODE_1="#"
49931     if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
49932         COND_BUILD_RELEASE_UNICODE_1=""
49933     fi
49934
49935     COND_BUILD_debug="#"
49936     if test "x$BUILD" = "xdebug" ; then
49937         COND_BUILD_debug=""
49938     fi
49939
49940     COND_BUILD_debug_DEBUG_FLAG_default="#"
49941     if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
49942         COND_BUILD_debug_DEBUG_FLAG_default=""
49943     fi
49944
49945     COND_BUILD_debug_DEBUG_INFO_default="#"
49946     if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
49947         COND_BUILD_debug_DEBUG_INFO_default=""
49948     fi
49949
49950     COND_BUILD_debug_UNICODE_0="#"
49951     if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
49952         COND_BUILD_debug_UNICODE_0=""
49953     fi
49954
49955     COND_BUILD_debug_UNICODE_1="#"
49956     if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
49957         COND_BUILD_debug_UNICODE_1=""
49958     fi
49959
49960     COND_BUILD_release="#"
49961     if test "x$BUILD" = "xrelease" ; then
49962         COND_BUILD_release=""
49963     fi
49964
49965     COND_BUILD_release_DEBUG_INFO_default="#"
49966     if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
49967         COND_BUILD_release_DEBUG_INFO_default=""
49968     fi
49969
49970     COND_BUILD_release_UNICODE_0="#"
49971     if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
49972         COND_BUILD_release_UNICODE_0=""
49973     fi
49974
49975     COND_BUILD_release_UNICODE_1="#"
49976     if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
49977         COND_BUILD_release_UNICODE_1=""
49978     fi
49979
49980     COND_DEBUG_FLAG_0="#"
49981     if test "x$DEBUG_FLAG" = "x0" ; then
49982         COND_DEBUG_FLAG_0=""
49983     fi
49984
49985     COND_DEBUG_FLAG_1="#"
49986     if test "x$DEBUG_FLAG" = "x1" ; then
49987         COND_DEBUG_FLAG_1=""
49988     fi
49989
49990     COND_DEBUG_INFO_0="#"
49991     if test "x$DEBUG_INFO" = "x0" ; then
49992         COND_DEBUG_INFO_0=""
49993     fi
49994
49995     COND_DEBUG_INFO_1="#"
49996     if test "x$DEBUG_INFO" = "x1" ; then
49997         COND_DEBUG_INFO_1=""
49998     fi
49999
50000     COND_DEPS_TRACKING_0="#"
50001     if test "x$DEPS_TRACKING" = "x0" ; then
50002         COND_DEPS_TRACKING_0=""
50003     fi
50004
50005     COND_DEPS_TRACKING_1="#"
50006     if test "x$DEPS_TRACKING" = "x1" ; then
50007         COND_DEPS_TRACKING_1=""
50008     fi
50009
50010     COND_GCC_PCH_1="#"
50011     if test "x$GCC_PCH" = "x1" ; then
50012         COND_GCC_PCH_1=""
50013     fi
50014
50015     COND_ICC_PCH_1="#"
50016     if test "x$ICC_PCH" = "x1" ; then
50017         COND_ICC_PCH_1=""
50018     fi
50019
50020     COND_MONOLITHIC_0="#"
50021     if test "x$MONOLITHIC" = "x0" ; then
50022         COND_MONOLITHIC_0=""
50023     fi
50024
50025     COND_MONOLITHIC_0_SHARED_0="#"
50026     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
50027         COND_MONOLITHIC_0_SHARED_0=""
50028     fi
50029
50030     COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
50031     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
50032         COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
50033     fi
50034
50035     COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
50036     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
50037         COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
50038     fi
50039
50040     COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
50041     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
50042         COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
50043     fi
50044
50045     COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
50046     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
50047         COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
50048     fi
50049
50050     COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
50051     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
50052         COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
50053     fi
50054
50055     COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1="#"
50056     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
50057         COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1=""
50058     fi
50059
50060     COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1="#"
50061     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RIBBON" = "x1" ; then
50062         COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1=""
50063     fi
50064
50065     COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
50066     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
50067         COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
50068     fi
50069
50070     COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
50071     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
50072         COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
50073     fi
50074
50075     COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
50076     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
50077         COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
50078     fi
50079
50080     COND_MONOLITHIC_0_SHARED_1="#"
50081     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
50082         COND_MONOLITHIC_0_SHARED_1=""
50083     fi
50084
50085     COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
50086     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
50087         COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
50088     fi
50089
50090     COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
50091     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
50092         COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
50093     fi
50094
50095     COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
50096     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
50097         COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
50098     fi
50099
50100     COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
50101     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
50102         COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
50103     fi
50104
50105     COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
50106     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
50107         COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
50108     fi
50109
50110     COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1="#"
50111     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
50112         COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1=""
50113     fi
50114
50115     COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1="#"
50116     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RIBBON" = "x1" ; then
50117         COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1=""
50118     fi
50119
50120     COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
50121     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
50122         COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
50123     fi
50124
50125     COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
50126     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
50127         COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
50128     fi
50129
50130     COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
50131     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
50132         COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
50133     fi
50134
50135     COND_MONOLITHIC_0_USE_AUI_1="#"
50136     if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
50137         COND_MONOLITHIC_0_USE_AUI_1=""
50138     fi
50139
50140     COND_MONOLITHIC_0_USE_GUI_1="#"
50141     if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
50142         COND_MONOLITHIC_0_USE_GUI_1=""
50143     fi
50144
50145     COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
50146     if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
50147         COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
50148     fi
50149
50150     COND_MONOLITHIC_0_USE_HTML_1="#"
50151     if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
50152         COND_MONOLITHIC_0_USE_HTML_1=""
50153     fi
50154
50155     COND_MONOLITHIC_0_USE_MEDIA_1="#"
50156     if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
50157         COND_MONOLITHIC_0_USE_MEDIA_1=""
50158     fi
50159
50160     COND_MONOLITHIC_0_USE_PROPGRID_1="#"
50161     if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
50162         COND_MONOLITHIC_0_USE_PROPGRID_1=""
50163     fi
50164
50165     COND_MONOLITHIC_0_USE_QA_1="#"
50166     if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
50167         COND_MONOLITHIC_0_USE_QA_1=""
50168     fi
50169
50170     COND_MONOLITHIC_0_USE_RIBBON_1="#"
50171     if test "x$MONOLITHIC" = "x0" -a "x$USE_RIBBON" = "x1" ; then
50172         COND_MONOLITHIC_0_USE_RIBBON_1=""
50173     fi
50174
50175     COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
50176     if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
50177         COND_MONOLITHIC_0_USE_RICHTEXT_1=""
50178     fi
50179
50180     COND_MONOLITHIC_0_USE_STC_1="#"
50181     if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
50182         COND_MONOLITHIC_0_USE_STC_1=""
50183     fi
50184
50185     COND_MONOLITHIC_0_USE_XRC_1="#"
50186     if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
50187         COND_MONOLITHIC_0_USE_XRC_1=""
50188     fi
50189
50190     COND_MONOLITHIC_1="#"
50191     if test "x$MONOLITHIC" = "x1" ; then
50192         COND_MONOLITHIC_1=""
50193     fi
50194
50195     COND_MONOLITHIC_1_SHARED_0="#"
50196     if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
50197         COND_MONOLITHIC_1_SHARED_0=""
50198     fi
50199
50200     COND_MONOLITHIC_1_SHARED_1="#"
50201     if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
50202         COND_MONOLITHIC_1_SHARED_1=""
50203     fi
50204
50205     COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
50206     if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
50207         COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
50208     fi
50209
50210     COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
50211     if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
50212         COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
50213     fi
50214
50215     COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
50216     if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
50217         COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
50218     fi
50219
50220     COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
50221     if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
50222         COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
50223     fi
50224
50225     COND_PLATFORM_MACOSX_1="#"
50226     if test "x$PLATFORM_MACOSX" = "x1" ; then
50227         COND_PLATFORM_MACOSX_1=""
50228     fi
50229
50230     COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0="#"
50231     if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
50232         COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0=""
50233     fi
50234
50235     COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
50236     if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
50237         COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1=""
50238     fi
50239
50240     COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0="#"
50241     if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50242         COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0=""
50243     fi
50244
50245     COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
50246     if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
50247         COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1=""
50248     fi
50249
50250     COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0="#"
50251     if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50252         COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0=""
50253     fi
50254
50255     COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
50256     if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
50257         COND_PLATFORM_MACOSX_1_USE_GUI_1=""
50258     fi
50259
50260     COND_PLATFORM_MACOSX_1_USE_OPENGL_1="#"
50261     if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50262         COND_PLATFORM_MACOSX_1_USE_OPENGL_1=""
50263     fi
50264
50265     COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
50266     if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50267         COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
50268     fi
50269
50270     COND_PLATFORM_MACOS_1="#"
50271     if test "x$PLATFORM_MACOS" = "x1" ; then
50272         COND_PLATFORM_MACOS_1=""
50273     fi
50274
50275     COND_PLATFORM_MAC_0="#"
50276     if test "x$PLATFORM_MAC" = "x0" ; then
50277         COND_PLATFORM_MAC_0=""
50278     fi
50279
50280     COND_PLATFORM_MAC_1="#"
50281     if test "x$PLATFORM_MAC" = "x1" ; then
50282         COND_PLATFORM_MAC_1=""
50283     fi
50284
50285     COND_PLATFORM_MSDOS_0="#"
50286     if test "x$PLATFORM_MSDOS" = "x0" ; then
50287         COND_PLATFORM_MSDOS_0=""
50288     fi
50289
50290     COND_PLATFORM_MSDOS_1="#"
50291     if test "x$PLATFORM_MSDOS" = "x1" ; then
50292         COND_PLATFORM_MSDOS_1=""
50293     fi
50294
50295     COND_PLATFORM_OS2_1="#"
50296     if test "x$PLATFORM_OS2" = "x1" ; then
50297         COND_PLATFORM_OS2_1=""
50298     fi
50299
50300     COND_PLATFORM_UNIX_0="#"
50301     if test "x$PLATFORM_UNIX" = "x0" ; then
50302         COND_PLATFORM_UNIX_0=""
50303     fi
50304
50305     COND_PLATFORM_UNIX_1="#"
50306     if test "x$PLATFORM_UNIX" = "x1" ; then
50307         COND_PLATFORM_UNIX_1=""
50308     fi
50309
50310     COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
50311     if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
50312         COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
50313     fi
50314
50315     COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
50316     if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
50317         COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
50318     fi
50319
50320     COND_PLATFORM_UNIX_1_USE_GUI_1="#"
50321     if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
50322         COND_PLATFORM_UNIX_1_USE_GUI_1=""
50323     fi
50324
50325     COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
50326     if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
50327         COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
50328     fi
50329
50330     COND_PLATFORM_WIN32_0="#"
50331     if test "x$PLATFORM_WIN32" = "x0" ; then
50332         COND_PLATFORM_WIN32_0=""
50333     fi
50334
50335     COND_PLATFORM_WIN32_1="#"
50336     if test "x$PLATFORM_WIN32" = "x1" ; then
50337         COND_PLATFORM_WIN32_1=""
50338     fi
50339
50340     COND_SHARED_0="#"
50341     if test "x$SHARED" = "x0" ; then
50342         COND_SHARED_0=""
50343     fi
50344
50345     COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
50346     if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
50347         COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
50348     fi
50349
50350     COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
50351     if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50352         COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
50353     fi
50354
50355     COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
50356     if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
50357         COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
50358     fi
50359
50360     COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
50361     if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50362         COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
50363     fi
50364
50365     COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
50366     if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50367         COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
50368     fi
50369
50370     COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
50371     if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50372         COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin=""
50373     fi
50374
50375     COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
50376     if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50377         COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
50378     fi
50379
50380     COND_SHARED_0_USE_STC_1="#"
50381     if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
50382         COND_SHARED_0_USE_STC_1=""
50383     fi
50384
50385     COND_SHARED_0_wxUSE_EXPAT_builtin="#"
50386     if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
50387         COND_SHARED_0_wxUSE_EXPAT_builtin=""
50388     fi
50389
50390     COND_SHARED_0_wxUSE_REGEX_builtin="#"
50391     if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
50392         COND_SHARED_0_wxUSE_REGEX_builtin=""
50393     fi
50394
50395     COND_SHARED_0_wxUSE_ZLIB_builtin="#"
50396     if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
50397         COND_SHARED_0_wxUSE_ZLIB_builtin=""
50398     fi
50399
50400     COND_SHARED_1="#"
50401     if test "x$SHARED" = "x1" ; then
50402         COND_SHARED_1=""
50403     fi
50404
50405     COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
50406     if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50407         COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
50408     fi
50409
50410     COND_TOOLKIT_="#"
50411     if test "x$TOOLKIT" = "x" ; then
50412         COND_TOOLKIT_=""
50413     fi
50414
50415     COND_TOOLKIT_COCOA="#"
50416     if test "x$TOOLKIT" = "xCOCOA" ; then
50417         COND_TOOLKIT_COCOA=""
50418     fi
50419
50420     COND_TOOLKIT_COCOA_USE_GUI_1="#"
50421     if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
50422         COND_TOOLKIT_COCOA_USE_GUI_1=""
50423     fi
50424
50425     COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
50426     if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50427         COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
50428     fi
50429
50430     COND_TOOLKIT_DFB="#"
50431     if test "x$TOOLKIT" = "xDFB" ; then
50432         COND_TOOLKIT_DFB=""
50433     fi
50434
50435     COND_TOOLKIT_DFB_USE_GUI_1="#"
50436     if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
50437         COND_TOOLKIT_DFB_USE_GUI_1=""
50438     fi
50439
50440     COND_TOOLKIT_GTK="#"
50441     if test "x$TOOLKIT" = "xGTK" ; then
50442         COND_TOOLKIT_GTK=""
50443     fi
50444
50445     COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
50446     if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
50447         COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
50448     fi
50449
50450     COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
50451     if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
50452         COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
50453     fi
50454
50455     COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
50456     if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
50457         COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
50458     fi
50459
50460     COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
50461     if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50462         COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
50463     fi
50464
50465     COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
50466     if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
50467         COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
50468     fi
50469
50470     COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
50471     if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50472         COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
50473     fi
50474
50475     COND_TOOLKIT_GTK_USE_GUI_1="#"
50476     if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
50477         COND_TOOLKIT_GTK_USE_GUI_1=""
50478     fi
50479
50480     COND_TOOLKIT_MAC="#"
50481     if test "x$TOOLKIT" = "xMAC" ; then
50482         COND_TOOLKIT_MAC=""
50483     fi
50484
50485     COND_TOOLKIT_MGL="#"
50486     if test "x$TOOLKIT" = "xMGL" ; then
50487         COND_TOOLKIT_MGL=""
50488     fi
50489
50490     COND_TOOLKIT_MGL_USE_GUI_1="#"
50491     if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
50492         COND_TOOLKIT_MGL_USE_GUI_1=""
50493     fi
50494
50495     COND_TOOLKIT_MOTIF="#"
50496     if test "x$TOOLKIT" = "xMOTIF" ; then
50497         COND_TOOLKIT_MOTIF=""
50498     fi
50499
50500     COND_TOOLKIT_MOTIF_USE_GUI_1="#"
50501     if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
50502         COND_TOOLKIT_MOTIF_USE_GUI_1=""
50503     fi
50504
50505     COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
50506     if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50507         COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
50508     fi
50509
50510     COND_TOOLKIT_MSW="#"
50511     if test "x$TOOLKIT" = "xMSW" ; then
50512         COND_TOOLKIT_MSW=""
50513     fi
50514
50515     COND_TOOLKIT_MSW_USE_GUI_1="#"
50516     if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
50517         COND_TOOLKIT_MSW_USE_GUI_1=""
50518     fi
50519
50520     COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
50521     if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50522         COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
50523     fi
50524
50525     COND_TOOLKIT_MSW_WXUNIV_0="#"
50526     if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50527         COND_TOOLKIT_MSW_WXUNIV_0=""
50528     fi
50529
50530     COND_TOOLKIT_OSX_CARBON="#"
50531     if test "x$TOOLKIT" = "xOSX_CARBON" ; then
50532         COND_TOOLKIT_OSX_CARBON=""
50533     fi
50534
50535     COND_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
50536     if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
50537         COND_TOOLKIT_OSX_CARBON_USE_GUI_1=""
50538     fi
50539
50540     COND_TOOLKIT_OSX_COCOA="#"
50541     if test "x$TOOLKIT" = "xOSX_COCOA" ; then
50542         COND_TOOLKIT_OSX_COCOA=""
50543     fi
50544
50545     COND_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
50546     if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
50547         COND_TOOLKIT_OSX_COCOA_USE_GUI_1=""
50548     fi
50549
50550     COND_TOOLKIT_OSX_IPHONE="#"
50551     if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
50552         COND_TOOLKIT_OSX_IPHONE=""
50553     fi
50554
50555     COND_TOOLKIT_PM="#"
50556     if test "x$TOOLKIT" = "xPM" ; then
50557         COND_TOOLKIT_PM=""
50558     fi
50559
50560     COND_TOOLKIT_PM_USE_GUI_1="#"
50561     if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
50562         COND_TOOLKIT_PM_USE_GUI_1=""
50563     fi
50564
50565     COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
50566     if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50567         COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
50568     fi
50569
50570     COND_TOOLKIT_WINCE="#"
50571     if test "x$TOOLKIT" = "xWINCE" ; then
50572         COND_TOOLKIT_WINCE=""
50573     fi
50574
50575     COND_TOOLKIT_WINCE_USE_GUI_1="#"
50576     if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
50577         COND_TOOLKIT_WINCE_USE_GUI_1=""
50578     fi
50579
50580     COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
50581     if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50582         COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
50583     fi
50584
50585     COND_TOOLKIT_WINCE_WXUNIV_0="#"
50586     if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
50587         COND_TOOLKIT_WINCE_WXUNIV_0=""
50588     fi
50589
50590     COND_TOOLKIT_X11="#"
50591     if test "x$TOOLKIT" = "xX11" ; then
50592         COND_TOOLKIT_X11=""
50593     fi
50594
50595     COND_TOOLKIT_X11_USE_GUI_1="#"
50596     if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
50597         COND_TOOLKIT_X11_USE_GUI_1=""
50598     fi
50599
50600     COND_UNICODE_1="#"
50601     if test "x$UNICODE" = "x1" ; then
50602         COND_UNICODE_1=""
50603     fi
50604
50605     COND_USE_EXCEPTIONS_0="#"
50606     if test "x$USE_EXCEPTIONS" = "x0" ; then
50607         COND_USE_EXCEPTIONS_0=""
50608     fi
50609
50610     COND_USE_EXCEPTIONS_1="#"
50611     if test "x$USE_EXCEPTIONS" = "x1" ; then
50612         COND_USE_EXCEPTIONS_1=""
50613     fi
50614
50615     COND_USE_GUI_0="#"
50616     if test "x$USE_GUI" = "x0" ; then
50617         COND_USE_GUI_0=""
50618     fi
50619
50620     COND_USE_GUI_1="#"
50621     if test "x$USE_GUI" = "x1" ; then
50622         COND_USE_GUI_1=""
50623     fi
50624
50625     COND_USE_GUI_1_USE_OPENGL_1="#"
50626     if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50627         COND_USE_GUI_1_USE_OPENGL_1=""
50628     fi
50629
50630     COND_USE_GUI_1_WXUNIV_0="#"
50631     if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50632         COND_USE_GUI_1_WXUNIV_0=""
50633     fi
50634
50635     COND_USE_GUI_1_WXUNIV_1="#"
50636     if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
50637         COND_USE_GUI_1_WXUNIV_1=""
50638     fi
50639
50640     COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
50641     if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50642         COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
50643     fi
50644
50645     COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
50646     if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50647         COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
50648     fi
50649
50650     COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
50651     if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50652         COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
50653     fi
50654
50655     COND_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
50656     if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50657         COND_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
50658     fi
50659
50660     COND_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
50661     if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50662         COND_USE_GUI_1_wxUSE_LIBPNG_builtin=""
50663     fi
50664
50665     COND_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
50666     if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50667         COND_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
50668     fi
50669
50670     COND_USE_OPENGL_1="#"
50671     if test "x$USE_OPENGL" = "x1" ; then
50672         COND_USE_OPENGL_1=""
50673     fi
50674
50675     COND_USE_PCH_1="#"
50676     if test "x$USE_PCH" = "x1" ; then
50677         COND_USE_PCH_1=""
50678     fi
50679
50680     COND_USE_PLUGINS_0="#"
50681     if test "x$USE_PLUGINS" = "x0" ; then
50682         COND_USE_PLUGINS_0=""
50683     fi
50684
50685     COND_USE_RTTI_0="#"
50686     if test "x$USE_RTTI" = "x0" ; then
50687         COND_USE_RTTI_0=""
50688     fi
50689
50690     COND_USE_RTTI_1="#"
50691     if test "x$USE_RTTI" = "x1" ; then
50692         COND_USE_RTTI_1=""
50693     fi
50694
50695     COND_USE_SOTWOSYMLINKS_1="#"
50696     if test "x$USE_SOTWOSYMLINKS" = "x1" ; then
50697         COND_USE_SOTWOSYMLINKS_1=""
50698     fi
50699
50700     COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
50701     if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50702         COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
50703     fi
50704
50705     COND_USE_SOVERLINUX_1="#"
50706     if test "x$USE_SOVERLINUX" = "x1" ; then
50707         COND_USE_SOVERLINUX_1=""
50708     fi
50709
50710     COND_USE_SOVERSION_0="#"
50711     if test "x$USE_SOVERSION" = "x0" ; then
50712         COND_USE_SOVERSION_0=""
50713     fi
50714
50715     COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1="#"
50716     if test "x$USE_SOVERSION" = "x1" -a "x$USE_SOVERSOLARIS" = "x1" ; then
50717         COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1=""
50718     fi
50719
50720     COND_USE_SOVERSOLARIS_1="#"
50721     if test "x$USE_SOVERSOLARIS" = "x1" ; then
50722         COND_USE_SOVERSOLARIS_1=""
50723     fi
50724
50725     COND_USE_STC_1="#"
50726     if test "x$USE_STC" = "x1" ; then
50727         COND_USE_STC_1=""
50728     fi
50729
50730     COND_USE_THREADS_0="#"
50731     if test "x$USE_THREADS" = "x0" ; then
50732         COND_USE_THREADS_0=""
50733     fi
50734
50735     COND_USE_THREADS_1="#"
50736     if test "x$USE_THREADS" = "x1" ; then
50737         COND_USE_THREADS_1=""
50738     fi
50739
50740     COND_USE_XRC_1="#"
50741     if test "x$USE_XRC" = "x1" ; then
50742         COND_USE_XRC_1=""
50743     fi
50744
50745     COND_WINDOWS_IMPLIB_1="#"
50746     if test "x$WINDOWS_IMPLIB" = "x1" ; then
50747         COND_WINDOWS_IMPLIB_1=""
50748     fi
50749
50750     COND_WITH_PLUGIN_SDL_1="#"
50751     if test "x$WITH_PLUGIN_SDL" = "x1" ; then
50752         COND_WITH_PLUGIN_SDL_1=""
50753     fi
50754
50755     COND_WXUNIV_0="#"
50756     if test "x$WXUNIV" = "x0" ; then
50757         COND_WXUNIV_0=""
50758     fi
50759
50760     COND_WXUNIV_1="#"
50761     if test "x$WXUNIV" = "x1" ; then
50762         COND_WXUNIV_1=""
50763     fi
50764
50765     COND_WXUSE_EXPAT_BUILTIN="#"
50766     if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
50767         COND_WXUSE_EXPAT_BUILTIN=""
50768     fi
50769
50770     COND_WXUSE_LIBJPEG_BUILTIN="#"
50771     if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50772         COND_WXUSE_LIBJPEG_BUILTIN=""
50773     fi
50774
50775     COND_WXUSE_LIBPNG_BUILTIN="#"
50776     if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50777         COND_WXUSE_LIBPNG_BUILTIN=""
50778     fi
50779
50780     COND_WXUSE_LIBTIFF_BUILTIN="#"
50781     if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50782         COND_WXUSE_LIBTIFF_BUILTIN=""
50783     fi
50784
50785     COND_WXUSE_REGEX_BUILTIN="#"
50786     if test "x$wxUSE_REGEX" = "xbuiltin" ; then
50787         COND_WXUSE_REGEX_BUILTIN=""
50788     fi
50789
50790     COND_WXUSE_ZLIB_BUILTIN="#"
50791     if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
50792         COND_WXUSE_ZLIB_BUILTIN=""
50793     fi
50794
50795     COND_wxUSE_EXPAT_builtin="#"
50796     if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
50797         COND_wxUSE_EXPAT_builtin=""
50798     fi
50799
50800     COND_wxUSE_LIBJPEG_builtin="#"
50801     if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50802         COND_wxUSE_LIBJPEG_builtin=""
50803     fi
50804
50805     COND_wxUSE_LIBPNG_builtin="#"
50806     if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50807         COND_wxUSE_LIBPNG_builtin=""
50808     fi
50809
50810     COND_wxUSE_LIBTIFF_builtin="#"
50811     if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50812         COND_wxUSE_LIBTIFF_builtin=""
50813     fi
50814
50815     COND_wxUSE_REGEX_builtin="#"
50816     if test "x$wxUSE_REGEX" = "xbuiltin" ; then
50817         COND_wxUSE_REGEX_builtin=""
50818     fi
50819
50820     COND_wxUSE_ZLIB_builtin="#"
50821     if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
50822         COND_wxUSE_ZLIB_builtin=""
50823     fi
50824
50825
50826
50827     if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
50828         { { 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
50829 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;}
50830    { (exit 1); exit 1; }; }
50831     fi
50832
50833     if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
50834         { { 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
50835 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;}
50836    { (exit 1); exit 1; }; }
50837     fi
50838
50839
50840 case ${INSTALL} in
50841   /* ) # Absolute
50842      ;;
50843   ?:* ) # Drive letter, considered as absolute.
50844      ;;
50845   *)
50846      INSTALL=`pwd`/${INSTALL} ;;
50847 esac
50848
50849 if test "$wxUSE_GUI" = "yes"; then
50850
50851 if test "$wxUSE_MSW" = 1 ; then
50852     if test "x$WINDRES" = "x"; then
50853         { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
50854 echo "$as_me: error: Required windres program not found" >&2;}
50855    { (exit 1); exit 1; }; }
50856     fi
50857
50858     RESCOMP="$WINDRES"
50859 fi
50860
50861 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
50862             WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
50863     WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
50864
50865         LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
50866
50867     # Extract the first word of "DeRez", so it can be a program name with args.
50868 set dummy DeRez; ac_word=$2
50869 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50870 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50871 if test "${ac_cv_prog_DEREZ+set}" = set; then
50872   echo $ECHO_N "(cached) $ECHO_C" >&6
50873 else
50874   if test -n "$DEREZ"; then
50875   ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
50876 else
50877 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50878 for as_dir in $PATH
50879 do
50880   IFS=$as_save_IFS
50881   test -z "$as_dir" && as_dir=.
50882   for ac_exec_ext in '' $ac_executable_extensions; do
50883   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50884     ac_cv_prog_DEREZ="DeRez"
50885     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50886     break 2
50887   fi
50888 done
50889 done
50890 IFS=$as_save_IFS
50891
50892   test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
50893 fi
50894 fi
50895 DEREZ=$ac_cv_prog_DEREZ
50896 if test -n "$DEREZ"; then
50897   { echo "$as_me:$LINENO: result: $DEREZ" >&5
50898 echo "${ECHO_T}$DEREZ" >&6; }
50899 else
50900   { echo "$as_me:$LINENO: result: no" >&5
50901 echo "${ECHO_T}no" >&6; }
50902 fi
50903
50904
50905
50906     MACSETFILE="\$(SETFILE)"
50907
50908             if test "$wxUSE_OSX_CARBON" = 1; then
50909         POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
50910         RESCOMP="$REZ"
50911         WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
50912     else
50913         POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
50914         RESCOMP="cat /dev/null \| $REZ"
50915         WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
50916     fi
50917
50918 else
50919         MACSETFILE="@true"
50920
50921     if test "$wxUSE_PM" = 1; then
50922         RESCOMP="emxbind"
50923         WXCONFIG_RESFLAGS="-ep"
50924
50925                 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
50926     else
50927         POSTLINK_COMMAND="@true"
50928     fi
50929 fi
50930
50931 fi
50932
50933
50934 if test $GCC_PCH = 1
50935 then
50936     if test "$wx_cv_gcc_pch_bug" = yes; then
50937         { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
50938 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
50939         { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
50940 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
50941         { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
50942 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
50943     fi
50944
50945     # Our WX_PRECOMP flag does not make sense for any language except C++ because
50946     # the headers that benefit from precompilation are mostly C++ headers.
50947     CXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
50948     # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
50949     #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
50950 fi
50951
50952
50953 if test "$wxUSE_MAC" = 1 ; then
50954     if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
50955         sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
50956         mv temp bk-deps
50957         chmod +x bk-deps
50958     fi
50959 fi
50960
50961 if test "$wxUSE_SHARED" = "yes"; then
50962                 case "${host}" in
50963       *-pc-os2_emx | *-pc-os2-emx )
50964         SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50965         SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50966         cp -p ${srcdir}/src/os2/dllnames.sh .
50967         cp -p ${srcdir}/src/os2/dllar.sh .
50968       ;;
50969     esac
50970 fi
50971 if test "$wxUSE_OMF" = "yes"; then
50972     case "${host}" in
50973       *-pc-os2_emx | *-pc-os2-emx )
50974         LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
50975         LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
50976         WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
50977       ;;
50978     esac
50979 fi
50980
50981 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
50982
50983
50984 case "${host}" in
50985     *-*-solaris2* )
50986                         if test "$GCC" = yes; then
50987             CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
50988             LIBS=`echo $LIBS | sed 's/-mt//'`
50989             EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
50990         fi
50991         ;;
50992
50993     *-*-linux* )
50994                         if test "x$SUNCXX" = xyes; then
50995             CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
50996             LIBS=`echo $LIBS | sed 's/-pthread//'`
50997             EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
50998         fi
50999         ;;
51000 esac
51001
51002 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
51003 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
51004 OBJCFLAGS="$OBJCFLAGS $CFLAGS_VISIBILITY"
51005 OBJCXXFLAGS="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
51006
51007 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
51008
51009
51010
51011
51012
51013
51014
51015
51016
51017
51018
51019
51020
51021
51022
51023
51024
51025
51026
51027
51028
51029
51030
51031
51032
51033
51034
51035
51036
51037
51038
51039
51040
51041
51042
51043
51044
51045
51046
51047
51048
51049
51050
51051
51052
51053
51054
51055
51056
51057
51058
51059
51060
51061
51062
51063
51064
51065
51066
51067 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
51068 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
51069 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
51070 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
51071   echo $ECHO_N "(cached) $ECHO_C" >&6
51072 else
51073   cat >conftest.make <<\_ACEOF
51074 SHELL = /bin/sh
51075 all:
51076         @echo '@@@%%%=$(MAKE)=@@@%%%'
51077 _ACEOF
51078 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
51079 case `${MAKE-make} -f conftest.make 2>/dev/null` in
51080   *@@@%%%=?*=@@@%%%*)
51081     eval ac_cv_prog_make_${ac_make}_set=yes;;
51082   *)
51083     eval ac_cv_prog_make_${ac_make}_set=no;;
51084 esac
51085 rm -f conftest.make
51086 fi
51087 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
51088   { echo "$as_me:$LINENO: result: yes" >&5
51089 echo "${ECHO_T}yes" >&6; }
51090   SET_MAKE=
51091 else
51092   { echo "$as_me:$LINENO: result: no" >&5
51093 echo "${ECHO_T}no" >&6; }
51094   SET_MAKE="MAKE=${MAKE-make}"
51095 fi
51096
51097
51098
51099 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
51100
51101
51102 if test "$USE_WIN32" = 1; then
51103     ac_config_commands="$ac_config_commands rcdefs.h"
51104
51105 fi
51106
51107 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
51108
51109
51110 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
51111
51112
51113 ac_config_files="$ac_config_files utils/ifacecheck/rungccxml.sh"
51114
51115
51116 if test "$wx_cv_version_script" = "yes"; then
51117     ac_config_files="$ac_config_files version-script"
51118
51119 fi
51120 ac_config_files="$ac_config_files Makefile"
51121
51122
51123 ac_config_commands="$ac_config_commands wx-config"
51124
51125
51126
51127 if test "$wxWITH_SUBDIRS" != "no"; then
51128 if test "$wxUSE_GUI" = "yes"; then
51129     SUBDIRS="samples demos utils"
51130 else
51131             SUBDIRS="samples utils"
51132 fi
51133
51134
51135
51136 # Check whether --with-cppunit-prefix was given.
51137 if test "${with_cppunit_prefix+set}" = set; then
51138   withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
51139 else
51140   cppunit_config_prefix=""
51141 fi
51142
51143
51144 # Check whether --with-cppunit-exec-prefix was given.
51145 if test "${with_cppunit_exec_prefix+set}" = set; then
51146   withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
51147 else
51148   cppunit_config_exec_prefix=""
51149 fi
51150
51151
51152   if test x$cppunit_config_exec_prefix != x ; then
51153      cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
51154      if test x${CPPUNIT_CONFIG+set} != xset ; then
51155         CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
51156      fi
51157   fi
51158   if test x$cppunit_config_prefix != x ; then
51159      cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
51160      if test x${CPPUNIT_CONFIG+set} != xset ; then
51161         CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
51162      fi
51163   fi
51164
51165   # Extract the first word of "cppunit-config", so it can be a program name with args.
51166 set dummy cppunit-config; ac_word=$2
51167 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51168 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51169 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
51170   echo $ECHO_N "(cached) $ECHO_C" >&6
51171 else
51172   case $CPPUNIT_CONFIG in
51173   [\\/]* | ?:[\\/]*)
51174   ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
51175   ;;
51176   *)
51177   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51178 for as_dir in $PATH
51179 do
51180   IFS=$as_save_IFS
51181   test -z "$as_dir" && as_dir=.
51182   for ac_exec_ext in '' $ac_executable_extensions; do
51183   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51184     ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
51185     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51186     break 2
51187   fi
51188 done
51189 done
51190 IFS=$as_save_IFS
51191
51192   test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
51193   ;;
51194 esac
51195 fi
51196 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
51197 if test -n "$CPPUNIT_CONFIG"; then
51198   { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
51199 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
51200 else
51201   { echo "$as_me:$LINENO: result: no" >&5
51202 echo "${ECHO_T}no" >&6; }
51203 fi
51204
51205
51206   cppunit_version_min=1.8.0
51207
51208   { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
51209 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
51210   no_cppunit=""
51211   if test "$CPPUNIT_CONFIG" = "no" ; then
51212     { echo "$as_me:$LINENO: result: no" >&5
51213 echo "${ECHO_T}no" >&6; }
51214     no_cppunit=yes
51215   else
51216     CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
51217     CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
51218     cppunit_version=`$CPPUNIT_CONFIG --version`
51219
51220     cppunit_major_version=`echo $cppunit_version | \
51221            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
51222     cppunit_minor_version=`echo $cppunit_version | \
51223            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
51224     cppunit_micro_version=`echo $cppunit_version | \
51225            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
51226
51227     cppunit_major_min=`echo $cppunit_version_min | \
51228            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
51229     cppunit_minor_min=`echo $cppunit_version_min | \
51230            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
51231     cppunit_micro_min=`echo $cppunit_version_min | \
51232            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
51233
51234     cppunit_version_proper=`expr \
51235         $cppunit_major_version \> $cppunit_major_min \| \
51236         $cppunit_major_version \= $cppunit_major_min \& \
51237         $cppunit_minor_version \> $cppunit_minor_min \| \
51238         $cppunit_major_version \= $cppunit_major_min \& \
51239         $cppunit_minor_version \= $cppunit_minor_min \& \
51240         $cppunit_micro_version \>= $cppunit_micro_min `
51241
51242     if test "$cppunit_version_proper" = "1" ; then
51243       { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
51244 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
51245     else
51246       { echo "$as_me:$LINENO: result: no" >&5
51247 echo "${ECHO_T}no" >&6; }
51248       no_cppunit=yes
51249     fi
51250   fi
51251
51252   if test "x$no_cppunit" = x ; then
51253      SUBDIRS="$SUBDIRS tests"
51254   else
51255      CPPUNIT_CFLAGS=""
51256      CPPUNIT_LIBS=""
51257      :
51258   fi
51259
51260
51261
51262
51263
51264 for subdir in $SUBDIRS; do
51265     if test -d ${srcdir}/${subdir} ; then
51266         if test "$wxUSE_GUI" = "yes"; then
51267             if test ${subdir} = "samples"; then
51268                                                 makefiles="samples/Makefile.in $makefiles"
51269                 for sample in $SAMPLES_SUBDIRS; do
51270                     if test -d $srcdir/samples/$sample; then
51271                         makefiles="samples/$sample/Makefile.in $makefiles"
51272                     fi
51273                 done
51274             else
51275                                                                 disabled_var=DISABLED_`echo $subdir | tr '[a-z]' '[A-Z]'`
51276                 eval "disabled=\$$disabled_var"
51277                 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
51278                 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
51279             fi
51280         else
51281                                     if test ${subdir} = "samples"; then
51282                                                 makefiles="samples/Makefile.in $makefiles"
51283                 for sample in `echo $SAMPLES_SUBDIRS`; do
51284                     if test -d $srcdir/samples/$sample; then
51285                         makefiles="samples/$sample/Makefile.in $makefiles"
51286                     fi
51287                 done
51288             elif test ${subdir} = "utils"; then
51289                 makefiles=""
51290                 for util in ifacecheck ; do
51291                     if test -d $srcdir/utils/$util ; then
51292                         makefiles="utils/$util/src/Makefile.in \
51293                                    $makefiles"
51294                     fi
51295                 done
51296             else
51297                                 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
51298             fi
51299         fi
51300
51301         for mkin in $makefiles ; do
51302             mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
51303             ac_config_files="$ac_config_files $mk"
51304
51305         done
51306     fi
51307 done
51308 fi
51309 cat >confcache <<\_ACEOF
51310 # This file is a shell script that caches the results of configure
51311 # tests run on this system so they can be shared between configure
51312 # scripts and configure runs, see configure's option --config-cache.
51313 # It is not useful on other systems.  If it contains results you don't
51314 # want to keep, you may remove or edit it.
51315 #
51316 # config.status only pays attention to the cache file if you give it
51317 # the --recheck option to rerun configure.
51318 #
51319 # `ac_cv_env_foo' variables (set or unset) will be overridden when
51320 # loading this file, other *unset* `ac_cv_foo' will be assigned the
51321 # following values.
51322
51323 _ACEOF
51324
51325 # The following way of writing the cache mishandles newlines in values,
51326 # but we know of no workaround that is simple, portable, and efficient.
51327 # So, we kill variables containing newlines.
51328 # Ultrix sh set writes to stderr and can't be redirected directly,
51329 # and sets the high bit in the cache file unless we assign to the vars.
51330 (
51331   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
51332     eval ac_val=\$$ac_var
51333     case $ac_val in #(
51334     *${as_nl}*)
51335       case $ac_var in #(
51336       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
51337 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
51338       esac
51339       case $ac_var in #(
51340       _ | IFS | as_nl) ;; #(
51341       *) $as_unset $ac_var ;;
51342       esac ;;
51343     esac
51344   done
51345
51346   (set) 2>&1 |
51347     case $as_nl`(ac_space=' '; set) 2>&1` in #(
51348     *${as_nl}ac_space=\ *)
51349       # `set' does not quote correctly, so add quotes (double-quote
51350       # substitution turns \\\\ into \\, and sed turns \\ into \).
51351       sed -n \
51352         "s/'/'\\\\''/g;
51353           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
51354       ;; #(
51355     *)
51356       # `set' quotes correctly as required by POSIX, so do not add quotes.
51357       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
51358       ;;
51359     esac |
51360     sort
51361 ) |
51362   sed '
51363      /^ac_cv_env_/b end
51364      t clear
51365      :clear
51366      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
51367      t end
51368      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
51369      :end' >>confcache
51370 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
51371   if test -w "$cache_file"; then
51372     test "x$cache_file" != "x/dev/null" &&
51373       { echo "$as_me:$LINENO: updating cache $cache_file" >&5
51374 echo "$as_me: updating cache $cache_file" >&6;}
51375     cat confcache >$cache_file
51376   else
51377     { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
51378 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
51379   fi
51380 fi
51381 rm -f confcache
51382
51383 test "x$prefix" = xNONE && prefix=$ac_default_prefix
51384 # Let make expand exec_prefix.
51385 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
51386
51387 DEFS=-DHAVE_CONFIG_H
51388
51389 ac_libobjs=
51390 ac_ltlibobjs=
51391 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
51392   # 1. Remove the extension, and $U if already installed.
51393   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
51394   ac_i=`echo "$ac_i" | sed "$ac_script"`
51395   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
51396   #    will be set to the directory where LIBOBJS objects are built.
51397   ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
51398   ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
51399 done
51400 LIBOBJS=$ac_libobjs
51401
51402 LTLIBOBJS=$ac_ltlibobjs
51403
51404
51405
51406 : ${CONFIG_STATUS=./config.status}
51407 ac_clean_files_save=$ac_clean_files
51408 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
51409 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
51410 echo "$as_me: creating $CONFIG_STATUS" >&6;}
51411 cat >$CONFIG_STATUS <<_ACEOF
51412 #! $SHELL
51413 # Generated by $as_me.
51414 # Run this file to recreate the current configuration.
51415 # Compiler output produced by configure, useful for debugging
51416 # configure, is in config.log if it exists.
51417
51418 debug=false
51419 ac_cs_recheck=false
51420 ac_cs_silent=false
51421 SHELL=\${CONFIG_SHELL-$SHELL}
51422 _ACEOF
51423
51424 cat >>$CONFIG_STATUS <<\_ACEOF
51425 ## --------------------- ##
51426 ## M4sh Initialization.  ##
51427 ## --------------------- ##
51428
51429 # Be more Bourne compatible
51430 DUALCASE=1; export DUALCASE # for MKS sh
51431 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
51432   emulate sh
51433   NULLCMD=:
51434   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
51435   # is contrary to our usage.  Disable this feature.
51436   alias -g '${1+"$@"}'='"$@"'
51437   setopt NO_GLOB_SUBST
51438 else
51439   case `(set -o) 2>/dev/null` in
51440   *posix*) set -o posix ;;
51441 esac
51442
51443 fi
51444
51445
51446
51447
51448 # PATH needs CR
51449 # Avoid depending upon Character Ranges.
51450 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
51451 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
51452 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
51453 as_cr_digits='0123456789'
51454 as_cr_alnum=$as_cr_Letters$as_cr_digits
51455
51456 # The user is always right.
51457 if test "${PATH_SEPARATOR+set}" != set; then
51458   echo "#! /bin/sh" >conf$$.sh
51459   echo  "exit 0"   >>conf$$.sh
51460   chmod +x conf$$.sh
51461   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
51462     PATH_SEPARATOR=';'
51463   else
51464     PATH_SEPARATOR=:
51465   fi
51466   rm -f conf$$.sh
51467 fi
51468
51469 # Support unset when possible.
51470 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
51471   as_unset=unset
51472 else
51473   as_unset=false
51474 fi
51475
51476
51477 # IFS
51478 # We need space, tab and new line, in precisely that order.  Quoting is
51479 # there to prevent editors from complaining about space-tab.
51480 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
51481 # splitting by setting IFS to empty value.)
51482 as_nl='
51483 '
51484 IFS=" ""        $as_nl"
51485
51486 # Find who we are.  Look in the path if we contain no directory separator.
51487 case $0 in
51488   *[\\/]* ) as_myself=$0 ;;
51489   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51490 for as_dir in $PATH
51491 do
51492   IFS=$as_save_IFS
51493   test -z "$as_dir" && as_dir=.
51494   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
51495 done
51496 IFS=$as_save_IFS
51497
51498      ;;
51499 esac
51500 # We did not find ourselves, most probably we were run as `sh COMMAND'
51501 # in which case we are not to be found in the path.
51502 if test "x$as_myself" = x; then
51503   as_myself=$0
51504 fi
51505 if test ! -f "$as_myself"; then
51506   echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
51507   { (exit 1); exit 1; }
51508 fi
51509
51510 # Work around bugs in pre-3.0 UWIN ksh.
51511 for as_var in ENV MAIL MAILPATH
51512 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
51513 done
51514 PS1='$ '
51515 PS2='> '
51516 PS4='+ '
51517
51518 # NLS nuisances.
51519 for as_var in \
51520   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
51521   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
51522   LC_TELEPHONE LC_TIME
51523 do
51524   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
51525     eval $as_var=C; export $as_var
51526   else
51527     ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
51528   fi
51529 done
51530
51531 # Required to use basename.
51532 if expr a : '\(a\)' >/dev/null 2>&1 &&
51533    test "X`expr 00001 : '.*\(...\)'`" = X001; then
51534   as_expr=expr
51535 else
51536   as_expr=false
51537 fi
51538
51539 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
51540   as_basename=basename
51541 else
51542   as_basename=false
51543 fi
51544
51545
51546 # Name of the executable.
51547 as_me=`$as_basename -- "$0" ||
51548 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
51549          X"$0" : 'X\(//\)$' \| \
51550          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
51551 echo X/"$0" |
51552     sed '/^.*\/\([^/][^/]*\)\/*$/{
51553             s//\1/
51554             q
51555           }
51556           /^X\/\(\/\/\)$/{
51557             s//\1/
51558             q
51559           }
51560           /^X\/\(\/\).*/{
51561             s//\1/
51562             q
51563           }
51564           s/.*/./; q'`
51565
51566 # CDPATH.
51567 $as_unset CDPATH
51568
51569
51570
51571   as_lineno_1=$LINENO
51572   as_lineno_2=$LINENO
51573   test "x$as_lineno_1" != "x$as_lineno_2" &&
51574   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
51575
51576   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
51577   # uniformly replaced by the line number.  The first 'sed' inserts a
51578   # line-number line after each line using $LINENO; the second 'sed'
51579   # does the real work.  The second script uses 'N' to pair each
51580   # line-number line with the line containing $LINENO, and appends
51581   # trailing '-' during substitution so that $LINENO is not a special
51582   # case at line end.
51583   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
51584   # scripts with optimization help from Paolo Bonzini.  Blame Lee
51585   # E. McMahon (1931-1989) for sed's syntax.  :-)
51586   sed -n '
51587     p
51588     /[$]LINENO/=
51589   ' <$as_myself |
51590     sed '
51591       s/[$]LINENO.*/&-/
51592       t lineno
51593       b
51594       :lineno
51595       N
51596       :loop
51597       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
51598       t loop
51599       s/-\n.*//
51600     ' >$as_me.lineno &&
51601   chmod +x "$as_me.lineno" ||
51602     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
51603    { (exit 1); exit 1; }; }
51604
51605   # Don't try to exec as it changes $[0], causing all sort of problems
51606   # (the dirname of $[0] is not the place where we might find the
51607   # original and so on.  Autoconf is especially sensitive to this).
51608   . "./$as_me.lineno"
51609   # Exit status is that of the last command.
51610   exit
51611 }
51612
51613
51614 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
51615   as_dirname=dirname
51616 else
51617   as_dirname=false
51618 fi
51619
51620 ECHO_C= ECHO_N= ECHO_T=
51621 case `echo -n x` in
51622 -n*)
51623   case `echo 'x\c'` in
51624   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
51625   *)   ECHO_C='\c';;
51626   esac;;
51627 *)
51628   ECHO_N='-n';;
51629 esac
51630
51631 if expr a : '\(a\)' >/dev/null 2>&1 &&
51632    test "X`expr 00001 : '.*\(...\)'`" = X001; then
51633   as_expr=expr
51634 else
51635   as_expr=false
51636 fi
51637
51638 rm -f conf$$ conf$$.exe conf$$.file
51639 if test -d conf$$.dir; then
51640   rm -f conf$$.dir/conf$$.file
51641 else
51642   rm -f conf$$.dir
51643   mkdir conf$$.dir
51644 fi
51645 echo >conf$$.file
51646 if ln -s conf$$.file conf$$ 2>/dev/null; then
51647   as_ln_s='ln -s'
51648   # ... but there are two gotchas:
51649   # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
51650   # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
51651   # In both cases, we have to default to `cp -p'.
51652   ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
51653     as_ln_s='cp -p'
51654 elif ln conf$$.file conf$$ 2>/dev/null; then
51655   as_ln_s=ln
51656 else
51657   as_ln_s='cp -p'
51658 fi
51659 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
51660 rmdir conf$$.dir 2>/dev/null
51661
51662 if mkdir -p . 2>/dev/null; then
51663   as_mkdir_p=:
51664 else
51665   test -d ./-p && rmdir ./-p
51666   as_mkdir_p=false
51667 fi
51668
51669 if test -x / >/dev/null 2>&1; then
51670   as_test_x='test -x'
51671 else
51672   if ls -dL / >/dev/null 2>&1; then
51673     as_ls_L_option=L
51674   else
51675     as_ls_L_option=
51676   fi
51677   as_test_x='
51678     eval sh -c '\''
51679       if test -d "$1"; then
51680         test -d "$1/.";
51681       else
51682         case $1 in
51683         -*)set "./$1";;
51684         esac;
51685         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
51686         ???[sx]*):;;*)false;;esac;fi
51687     '\'' sh
51688   '
51689 fi
51690 as_executable_p=$as_test_x
51691
51692 # Sed expression to map a string onto a valid CPP name.
51693 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
51694
51695 # Sed expression to map a string onto a valid variable name.
51696 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
51697
51698
51699 exec 6>&1
51700
51701 # Save the log message, to keep $[0] and so on meaningful, and to
51702 # report actual input values of CONFIG_FILES etc. instead of their
51703 # values after options handling.
51704 ac_log="
51705 This file was extended by wxWidgets $as_me 2.9.1, which was
51706 generated by GNU Autoconf 2.61.  Invocation command line was
51707
51708   CONFIG_FILES    = $CONFIG_FILES
51709   CONFIG_HEADERS  = $CONFIG_HEADERS
51710   CONFIG_LINKS    = $CONFIG_LINKS
51711   CONFIG_COMMANDS = $CONFIG_COMMANDS
51712   $ $0 $@
51713
51714 on `(hostname || uname -n) 2>/dev/null | sed 1q`
51715 "
51716
51717 _ACEOF
51718
51719 cat >>$CONFIG_STATUS <<_ACEOF
51720 # Files that config.status was made for.
51721 config_files="$ac_config_files"
51722 config_headers="$ac_config_headers"
51723 config_commands="$ac_config_commands"
51724
51725 _ACEOF
51726
51727 cat >>$CONFIG_STATUS <<\_ACEOF
51728 ac_cs_usage="\
51729 \`$as_me' instantiates files from templates according to the
51730 current configuration.
51731
51732 Usage: $0 [OPTIONS] [FILE]...
51733
51734   -h, --help       print this help, then exit
51735   -V, --version    print version number and configuration settings, then exit
51736   -q, --quiet      do not print progress messages
51737   -d, --debug      don't remove temporary files
51738       --recheck    update $as_me by reconfiguring in the same conditions
51739   --file=FILE[:TEMPLATE]
51740                    instantiate the configuration file FILE
51741   --header=FILE[:TEMPLATE]
51742                    instantiate the configuration header FILE
51743
51744 Configuration files:
51745 $config_files
51746
51747 Configuration headers:
51748 $config_headers
51749
51750 Configuration commands:
51751 $config_commands
51752
51753 Report bugs to <bug-autoconf@gnu.org>."
51754
51755 _ACEOF
51756 cat >>$CONFIG_STATUS <<_ACEOF
51757 ac_cs_version="\\
51758 wxWidgets config.status 2.9.1
51759 configured by $0, generated by GNU Autoconf 2.61,
51760   with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
51761
51762 Copyright (C) 2006 Free Software Foundation, Inc.
51763 This config.status script is free software; the Free Software Foundation
51764 gives unlimited permission to copy, distribute and modify it."
51765
51766 ac_pwd='$ac_pwd'
51767 srcdir='$srcdir'
51768 INSTALL='$INSTALL'
51769 _ACEOF
51770
51771 cat >>$CONFIG_STATUS <<\_ACEOF
51772 # If no file are specified by the user, then we need to provide default
51773 # value.  By we need to know if files were specified by the user.
51774 ac_need_defaults=:
51775 while test $# != 0
51776 do
51777   case $1 in
51778   --*=*)
51779     ac_option=`expr "X$1" : 'X\([^=]*\)='`
51780     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
51781     ac_shift=:
51782     ;;
51783   *)
51784     ac_option=$1
51785     ac_optarg=$2
51786     ac_shift=shift
51787     ;;
51788   esac
51789
51790   case $ac_option in
51791   # Handling of the options.
51792   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
51793     ac_cs_recheck=: ;;
51794   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
51795     echo "$ac_cs_version"; exit ;;
51796   --debug | --debu | --deb | --de | --d | -d )
51797     debug=: ;;
51798   --file | --fil | --fi | --f )
51799     $ac_shift
51800     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
51801     ac_need_defaults=false;;
51802   --header | --heade | --head | --hea )
51803     $ac_shift
51804     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
51805     ac_need_defaults=false;;
51806   --he | --h)
51807     # Conflict between --help and --header
51808     { echo "$as_me: error: ambiguous option: $1
51809 Try \`$0 --help' for more information." >&2
51810    { (exit 1); exit 1; }; };;
51811   --help | --hel | -h )
51812     echo "$ac_cs_usage"; exit ;;
51813   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
51814   | -silent | --silent | --silen | --sile | --sil | --si | --s)
51815     ac_cs_silent=: ;;
51816
51817   # This is an error.
51818   -*) { echo "$as_me: error: unrecognized option: $1
51819 Try \`$0 --help' for more information." >&2
51820    { (exit 1); exit 1; }; } ;;
51821
51822   *) ac_config_targets="$ac_config_targets $1"
51823      ac_need_defaults=false ;;
51824
51825   esac
51826   shift
51827 done
51828
51829 ac_configure_extra_args=
51830
51831 if $ac_cs_silent; then
51832   exec 6>/dev/null
51833   ac_configure_extra_args="$ac_configure_extra_args --silent"
51834 fi
51835
51836 _ACEOF
51837 cat >>$CONFIG_STATUS <<_ACEOF
51838 if \$ac_cs_recheck; then
51839   echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
51840   CONFIG_SHELL=$SHELL
51841   export CONFIG_SHELL
51842   exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
51843 fi
51844
51845 _ACEOF
51846 cat >>$CONFIG_STATUS <<\_ACEOF
51847 exec 5>>config.log
51848 {
51849   echo
51850   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
51851 ## Running $as_me. ##
51852 _ASBOX
51853   echo "$ac_log"
51854 } >&5
51855
51856 _ACEOF
51857 cat >>$CONFIG_STATUS <<_ACEOF
51858 #
51859 # INIT-COMMANDS
51860 #
51861
51862             CPP="$CPP"
51863             infile="$srcdir/include/wx/msw/genrcdefs.h"
51864             outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
51865
51866
51867  TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51868  TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51869  TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51870                      LN_S="${LN_S}"
51871
51872
51873 _ACEOF
51874
51875 cat >>$CONFIG_STATUS <<\_ACEOF
51876
51877 # Handling of arguments.
51878 for ac_config_target in $ac_config_targets
51879 do
51880   case $ac_config_target in
51881     "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
51882     "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
51883     "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
51884     "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
51885     "utils/ifacecheck/rungccxml.sh") CONFIG_FILES="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
51886     "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
51887     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
51888     "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
51889     "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
51890
51891   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
51892 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
51893    { (exit 1); exit 1; }; };;
51894   esac
51895 done
51896
51897
51898 # If the user did not use the arguments to specify the items to instantiate,
51899 # then the envvar interface is used.  Set only those that are not.
51900 # We use the long form for the default assignment because of an extremely
51901 # bizarre bug on SunOS 4.1.3.
51902 if $ac_need_defaults; then
51903   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
51904   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
51905   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
51906 fi
51907
51908 # Have a temporary directory for convenience.  Make it in the build tree
51909 # simply because there is no reason against having it here, and in addition,
51910 # creating and moving files from /tmp can sometimes cause problems.
51911 # Hook for its removal unless debugging.
51912 # Note that there is a small window in which the directory will not be cleaned:
51913 # after its creation but before its name has been assigned to `$tmp'.
51914 $debug ||
51915 {
51916   tmp=
51917   trap 'exit_status=$?
51918   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
51919 ' 0
51920   trap '{ (exit 1); exit 1; }' 1 2 13 15
51921 }
51922 # Create a (secure) tmp directory for tmp files.
51923
51924 {
51925   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
51926   test -n "$tmp" && test -d "$tmp"
51927 }  ||
51928 {
51929   tmp=./conf$$-$RANDOM
51930   (umask 077 && mkdir "$tmp")
51931 } ||
51932 {
51933    echo "$me: cannot create a temporary directory in ." >&2
51934    { (exit 1); exit 1; }
51935 }
51936
51937 #
51938 # Set up the sed scripts for CONFIG_FILES section.
51939 #
51940
51941 # No need to generate the scripts if there are no CONFIG_FILES.
51942 # This happens for instance when ./config.status config.h
51943 if test -n "$CONFIG_FILES"; then
51944
51945 _ACEOF
51946
51947
51948
51949 ac_delim='%!_!# '
51950 for ac_last_try in false false false false false :; do
51951   cat >conf$$subs.sed <<_ACEOF
51952 SHELL!$SHELL$ac_delim
51953 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
51954 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
51955 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
51956 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
51957 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
51958 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
51959 exec_prefix!$exec_prefix$ac_delim
51960 prefix!$prefix$ac_delim
51961 program_transform_name!$program_transform_name$ac_delim
51962 bindir!$bindir$ac_delim
51963 sbindir!$sbindir$ac_delim
51964 libexecdir!$libexecdir$ac_delim
51965 datarootdir!$datarootdir$ac_delim
51966 datadir!$datadir$ac_delim
51967 sysconfdir!$sysconfdir$ac_delim
51968 sharedstatedir!$sharedstatedir$ac_delim
51969 localstatedir!$localstatedir$ac_delim
51970 includedir!$includedir$ac_delim
51971 oldincludedir!$oldincludedir$ac_delim
51972 docdir!$docdir$ac_delim
51973 infodir!$infodir$ac_delim
51974 htmldir!$htmldir$ac_delim
51975 dvidir!$dvidir$ac_delim
51976 pdfdir!$pdfdir$ac_delim
51977 psdir!$psdir$ac_delim
51978 libdir!$libdir$ac_delim
51979 localedir!$localedir$ac_delim
51980 mandir!$mandir$ac_delim
51981 DEFS!$DEFS$ac_delim
51982 ECHO_C!$ECHO_C$ac_delim
51983 ECHO_N!$ECHO_N$ac_delim
51984 ECHO_T!$ECHO_T$ac_delim
51985 LIBS!$LIBS$ac_delim
51986 build_alias!$build_alias$ac_delim
51987 host_alias!$host_alias$ac_delim
51988 target_alias!$target_alias$ac_delim
51989 build!$build$ac_delim
51990 build_cpu!$build_cpu$ac_delim
51991 build_vendor!$build_vendor$ac_delim
51992 build_os!$build_os$ac_delim
51993 host!$host$ac_delim
51994 host_cpu!$host_cpu$ac_delim
51995 host_vendor!$host_vendor$ac_delim
51996 host_os!$host_os$ac_delim
51997 wx_top_builddir!$wx_top_builddir$ac_delim
51998 CC!$CC$ac_delim
51999 CFLAGS!$CFLAGS$ac_delim
52000 LDFLAGS!$LDFLAGS$ac_delim
52001 CPPFLAGS!$CPPFLAGS$ac_delim
52002 ac_ct_CC!$ac_ct_CC$ac_delim
52003 EXEEXT!$EXEEXT$ac_delim
52004 OBJEXT!$OBJEXT$ac_delim
52005 CPP!$CPP$ac_delim
52006 GREP!$GREP$ac_delim
52007 EGREP!$EGREP$ac_delim
52008 CXX!$CXX$ac_delim
52009 CXXFLAGS!$CXXFLAGS$ac_delim
52010 ac_ct_CXX!$ac_ct_CXX$ac_delim
52011 AR!$AR$ac_delim
52012 subdirs!$subdirs$ac_delim
52013 PKG_CONFIG!$PKG_CONFIG$ac_delim
52014 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
52015 GTK_LIBS!$GTK_LIBS$ac_delim
52016 GTK_CONFIG!$GTK_CONFIG$ac_delim
52017 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
52018 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
52019 XMKMF!$XMKMF$ac_delim
52020 X_CFLAGS!$X_CFLAGS$ac_delim
52021 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
52022 X_LIBS!$X_LIBS$ac_delim
52023 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
52024 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
52025 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
52026 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
52027 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
52028 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
52029 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
52030 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
52031 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
52032 LIBICONV!$LIBICONV$ac_delim
52033 GXX_VERSION!$GXX_VERSION$ac_delim
52034 SDL_CONFIG!$SDL_CONFIG$ac_delim
52035 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
52036 SDL_LIBS!$SDL_LIBS$ac_delim
52037 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
52038 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
52039 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
52040 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
52041 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
52042 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
52043 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
52044 HILDON_LIBS!$HILDON_LIBS$ac_delim
52045 HILDON2_CFLAGS!$HILDON2_CFLAGS$ac_delim
52046 HILDON2_LIBS!$HILDON2_LIBS$ac_delim
52047 PYTHON!$PYTHON$ac_delim
52048 COND_PYTHON!$COND_PYTHON$ac_delim
52049 _ACEOF
52050
52051   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52052     break
52053   elif $ac_last_try; then
52054     { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52055 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52056    { (exit 1); exit 1; }; }
52057   else
52058     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
52059   fi
52060 done
52061
52062 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52063 if test -n "$ac_eof"; then
52064   ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
52065   ac_eof=`expr $ac_eof + 1`
52066 fi
52067
52068 cat >>$CONFIG_STATUS <<_ACEOF
52069 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
52070 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52071 _ACEOF
52072 sed '
52073 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52074 s/^/s,@/; s/!/@,|#_!!_#|/
52075 :n
52076 t n
52077 s/'"$ac_delim"'$/,g/; t
52078 s/$/\\/; p
52079 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52080 ' >>$CONFIG_STATUS <conf$$subs.sed
52081 rm -f conf$$subs.sed
52082 cat >>$CONFIG_STATUS <<_ACEOF
52083 CEOF$ac_eof
52084 _ACEOF
52085
52086
52087 ac_delim='%!_!# '
52088 for ac_last_try in false false false false false :; do
52089   cat >conf$$subs.sed <<_ACEOF
52090 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
52091 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
52092 GST_CFLAGS!$GST_CFLAGS$ac_delim
52093 GST_LIBS!$GST_LIBS$ac_delim
52094 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
52095 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
52096 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
52097 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
52098 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
52099 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
52100 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
52101 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
52102 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
52103 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
52104 VENDOR!$VENDOR$ac_delim
52105 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
52106 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
52107 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
52108 WXUNIV!$WXUNIV$ac_delim
52109 MONOLITHIC!$MONOLITHIC$ac_delim
52110 USE_PLUGINS!$USE_PLUGINS$ac_delim
52111 CXXWARNINGS!$CXXWARNINGS$ac_delim
52112 EXTRALIBS!$EXTRALIBS$ac_delim
52113 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
52114 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
52115 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
52116 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
52117 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
52118 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
52119 EXTRALIBS_STC!$EXTRALIBS_STC$ac_delim
52120 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
52121 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
52122 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
52123 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
52124 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
52125 UNICODE!$UNICODE$ac_delim
52126 DEBUG_INFO!$DEBUG_INFO$ac_delim
52127 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
52128 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
52129 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
52130 DYLIB_RPATH_INSTALL!$DYLIB_RPATH_INSTALL$ac_delim
52131 DYLIB_RPATH_POSTLINK!$DYLIB_RPATH_POSTLINK$ac_delim
52132 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
52133 HEADER_PAD_OPTION!$HEADER_PAD_OPTION$ac_delim
52134 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
52135 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
52136 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
52137 RANLIB!$RANLIB$ac_delim
52138 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
52139 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
52140 INSTALL_DATA!$INSTALL_DATA$ac_delim
52141 LN_S!$LN_S$ac_delim
52142 SET_MAKE!$SET_MAKE$ac_delim
52143 MAKE_SET!$MAKE_SET$ac_delim
52144 AROPTIONS!$AROPTIONS$ac_delim
52145 STRIP!$STRIP$ac_delim
52146 NM!$NM$ac_delim
52147 INSTALL_DIR!$INSTALL_DIR$ac_delim
52148 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
52149 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
52150 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
52151 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
52152 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
52153 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
52154 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
52155 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
52156 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
52157 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
52158 SO_SUFFIX!$SO_SUFFIX$ac_delim
52159 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
52160 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
52161 LIBPREFIX!$LIBPREFIX$ac_delim
52162 LIBEXT!$LIBEXT$ac_delim
52163 DLLPREFIX!$DLLPREFIX$ac_delim
52164 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
52165 dlldir!$dlldir$ac_delim
52166 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
52167 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
52168 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
52169 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
52170 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
52171 PIC_FLAG!$PIC_FLAG$ac_delim
52172 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
52173 USE_SOVERSION!$USE_SOVERSION$ac_delim
52174 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
52175 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
52176 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
52177 USE_MACVERSION!$USE_MACVERSION$ac_delim
52178 USE_SOTWOSYMLINKS!$USE_SOTWOSYMLINKS$ac_delim
52179 SONAME_FLAG!$SONAME_FLAG$ac_delim
52180 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
52181 BK_DEPS!$BK_DEPS$ac_delim
52182 WINDRES!$WINDRES$ac_delim
52183 REZ!$REZ$ac_delim
52184 SETFILE!$SETFILE$ac_delim
52185 OBJCXXFLAGS!$OBJCXXFLAGS$ac_delim
52186 GCC_PCH!$GCC_PCH$ac_delim
52187 _ACEOF
52188
52189   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52190     break
52191   elif $ac_last_try; then
52192     { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52193 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52194    { (exit 1); exit 1; }; }
52195   else
52196     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
52197   fi
52198 done
52199
52200 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52201 if test -n "$ac_eof"; then
52202   ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
52203   ac_eof=`expr $ac_eof + 1`
52204 fi
52205
52206 cat >>$CONFIG_STATUS <<_ACEOF
52207 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
52208 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52209 _ACEOF
52210 sed '
52211 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52212 s/^/s,@/; s/!/@,|#_!!_#|/
52213 :n
52214 t n
52215 s/'"$ac_delim"'$/,g/; t
52216 s/$/\\/; p
52217 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52218 ' >>$CONFIG_STATUS <conf$$subs.sed
52219 rm -f conf$$subs.sed
52220 cat >>$CONFIG_STATUS <<_ACEOF
52221 CEOF$ac_eof
52222 _ACEOF
52223
52224
52225 ac_delim='%!_!# '
52226 for ac_last_try in false false false false false :; do
52227   cat >conf$$subs.sed <<_ACEOF
52228 ICC_PCH!$ICC_PCH$ac_delim
52229 ICC_PCH_CREATE_SWITCH!$ICC_PCH_CREATE_SWITCH$ac_delim
52230 ICC_PCH_USE_SWITCH!$ICC_PCH_USE_SWITCH$ac_delim
52231 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
52232 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
52233 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
52234 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
52235 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
52236 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
52237 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
52238 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
52239 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
52240 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
52241 COND_BUILD_debug!$COND_BUILD_debug$ac_delim
52242 COND_BUILD_debug_DEBUG_FLAG_default!$COND_BUILD_debug_DEBUG_FLAG_default$ac_delim
52243 COND_BUILD_debug_DEBUG_INFO_default!$COND_BUILD_debug_DEBUG_INFO_default$ac_delim
52244 COND_BUILD_debug_UNICODE_0!$COND_BUILD_debug_UNICODE_0$ac_delim
52245 COND_BUILD_debug_UNICODE_1!$COND_BUILD_debug_UNICODE_1$ac_delim
52246 COND_BUILD_release!$COND_BUILD_release$ac_delim
52247 COND_BUILD_release_DEBUG_INFO_default!$COND_BUILD_release_DEBUG_INFO_default$ac_delim
52248 COND_BUILD_release_UNICODE_0!$COND_BUILD_release_UNICODE_0$ac_delim
52249 COND_BUILD_release_UNICODE_1!$COND_BUILD_release_UNICODE_1$ac_delim
52250 COND_DEBUG_FLAG_0!$COND_DEBUG_FLAG_0$ac_delim
52251 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
52252 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
52253 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
52254 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
52255 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
52256 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
52257 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
52258 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
52259 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
52260 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
52261 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
52262 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
52263 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
52264 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
52265 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1$ac_delim
52266 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1$ac_delim
52267 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
52268 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
52269 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
52270 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
52271 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
52272 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
52273 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
52274 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
52275 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
52276 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1$ac_delim
52277 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1$ac_delim
52278 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
52279 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
52280 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
52281 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
52282 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
52283 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
52284 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
52285 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
52286 COND_MONOLITHIC_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_USE_PROPGRID_1$ac_delim
52287 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
52288 COND_MONOLITHIC_0_USE_RIBBON_1!$COND_MONOLITHIC_0_USE_RIBBON_1$ac_delim
52289 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
52290 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
52291 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
52292 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
52293 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
52294 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
52295 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
52296 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
52297 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
52298 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
52299 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
52300 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0!$COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0$ac_delim
52301 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
52302 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
52303 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
52304 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
52305 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
52306 COND_PLATFORM_MACOSX_1_USE_OPENGL_1!$COND_PLATFORM_MACOSX_1_USE_OPENGL_1$ac_delim
52307 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
52308 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
52309 COND_PLATFORM_MAC_0!$COND_PLATFORM_MAC_0$ac_delim
52310 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
52311 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
52312 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
52313 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
52314 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
52315 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
52316 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
52317 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
52318 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
52319 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
52320 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
52321 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
52322 COND_SHARED_0!$COND_SHARED_0$ac_delim
52323 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
52324 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
52325 _ACEOF
52326
52327   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52328     break
52329   elif $ac_last_try; then
52330     { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52331 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52332    { (exit 1); exit 1; }; }
52333   else
52334     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
52335   fi
52336 done
52337
52338 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52339 if test -n "$ac_eof"; then
52340   ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
52341   ac_eof=`expr $ac_eof + 1`
52342 fi
52343
52344 cat >>$CONFIG_STATUS <<_ACEOF
52345 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
52346 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52347 _ACEOF
52348 sed '
52349 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52350 s/^/s,@/; s/!/@,|#_!!_#|/
52351 :n
52352 t n
52353 s/'"$ac_delim"'$/,g/; t
52354 s/$/\\/; p
52355 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52356 ' >>$CONFIG_STATUS <conf$$subs.sed
52357 rm -f conf$$subs.sed
52358 cat >>$CONFIG_STATUS <<_ACEOF
52359 CEOF$ac_eof
52360 _ACEOF
52361
52362
52363 ac_delim='%!_!# '
52364 for ac_last_try in false false false false false :; do
52365   cat >conf$$subs.sed <<_ACEOF
52366 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
52367 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
52368 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
52369 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
52370 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
52371 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
52372 COND_SHARED_0_wxUSE_EXPAT_builtin!$COND_SHARED_0_wxUSE_EXPAT_builtin$ac_delim
52373 COND_SHARED_0_wxUSE_REGEX_builtin!$COND_SHARED_0_wxUSE_REGEX_builtin$ac_delim
52374 COND_SHARED_0_wxUSE_ZLIB_builtin!$COND_SHARED_0_wxUSE_ZLIB_builtin$ac_delim
52375 COND_SHARED_1!$COND_SHARED_1$ac_delim
52376 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
52377 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
52378 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
52379 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
52380 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
52381 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
52382 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
52383 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
52384 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
52385 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
52386 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
52387 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
52388 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
52389 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
52390 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
52391 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
52392 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
52393 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
52394 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
52395 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
52396 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
52397 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
52398 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
52399 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
52400 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
52401 COND_TOOLKIT_OSX_CARBON!$COND_TOOLKIT_OSX_CARBON$ac_delim
52402 COND_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
52403 COND_TOOLKIT_OSX_COCOA!$COND_TOOLKIT_OSX_COCOA$ac_delim
52404 COND_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
52405 COND_TOOLKIT_OSX_IPHONE!$COND_TOOLKIT_OSX_IPHONE$ac_delim
52406 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
52407 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
52408 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
52409 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
52410 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
52411 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
52412 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
52413 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
52414 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
52415 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
52416 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
52417 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
52418 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
52419 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
52420 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
52421 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
52422 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
52423 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
52424 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
52425 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
52426 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
52427 COND_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
52428 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
52429 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
52430 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
52431 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
52432 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
52433 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
52434 COND_USE_SOTWOSYMLINKS_1!$COND_USE_SOTWOSYMLINKS_1$ac_delim
52435 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
52436 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
52437 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
52438 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1!$COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1$ac_delim
52439 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
52440 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
52441 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
52442 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
52443 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
52444 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
52445 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
52446 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
52447 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
52448 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
52449 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
52450 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
52451 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
52452 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
52453 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
52454 COND_wxUSE_EXPAT_builtin!$COND_wxUSE_EXPAT_builtin$ac_delim
52455 COND_wxUSE_LIBJPEG_builtin!$COND_wxUSE_LIBJPEG_builtin$ac_delim
52456 COND_wxUSE_LIBPNG_builtin!$COND_wxUSE_LIBPNG_builtin$ac_delim
52457 COND_wxUSE_LIBTIFF_builtin!$COND_wxUSE_LIBTIFF_builtin$ac_delim
52458 COND_wxUSE_REGEX_builtin!$COND_wxUSE_REGEX_builtin$ac_delim
52459 COND_wxUSE_ZLIB_builtin!$COND_wxUSE_ZLIB_builtin$ac_delim
52460 DEREZ!$DEREZ$ac_delim
52461 SHARED!$SHARED$ac_delim
52462 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
52463 _ACEOF
52464
52465   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52466     break
52467   elif $ac_last_try; then
52468     { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52469 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52470    { (exit 1); exit 1; }; }
52471   else
52472     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
52473   fi
52474 done
52475
52476 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52477 if test -n "$ac_eof"; then
52478   ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
52479   ac_eof=`expr $ac_eof + 1`
52480 fi
52481
52482 cat >>$CONFIG_STATUS <<_ACEOF
52483 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
52484 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52485 _ACEOF
52486 sed '
52487 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52488 s/^/s,@/; s/!/@,|#_!!_#|/
52489 :n
52490 t n
52491 s/'"$ac_delim"'$/,g/; t
52492 s/$/\\/; p
52493 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52494 ' >>$CONFIG_STATUS <conf$$subs.sed
52495 rm -f conf$$subs.sed
52496 cat >>$CONFIG_STATUS <<_ACEOF
52497 CEOF$ac_eof
52498 _ACEOF
52499
52500
52501 ac_delim='%!_!# '
52502 for ac_last_try in false false false false false :; do
52503   cat >conf$$subs.sed <<_ACEOF
52504 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
52505 USE_GUI!$USE_GUI$ac_delim
52506 AFMINSTALL!$AFMINSTALL$ac_delim
52507 WIN32INSTALL!$WIN32INSTALL$ac_delim
52508 TOOLKIT!$TOOLKIT$ac_delim
52509 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
52510 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
52511 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
52512 cross_compiling!$cross_compiling$ac_delim
52513 WIDGET_SET!$WIDGET_SET$ac_delim
52514 WX_RELEASE!$WX_RELEASE$ac_delim
52515 WX_VERSION!$WX_VERSION$ac_delim
52516 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
52517 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
52518 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
52519 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
52520 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
52521 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
52522 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
52523 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
52524 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
52525 GUIDIST!$GUIDIST$ac_delim
52526 DISTDIR!$DISTDIR$ac_delim
52527 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
52528 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
52529 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
52530 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
52531 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
52532 RESCOMP!$RESCOMP$ac_delim
52533 RESFLAGS!$RESFLAGS$ac_delim
52534 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
52535 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
52536 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
52537 LIBWXMACRES!$LIBWXMACRES$ac_delim
52538 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
52539 MACSETFILE!$MACSETFILE$ac_delim
52540 GCC!$GCC$ac_delim
52541 DLLTOOL!$DLLTOOL$ac_delim
52542 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
52543 LIBOBJS!$LIBOBJS$ac_delim
52544 LTLIBOBJS!$LTLIBOBJS$ac_delim
52545 _ACEOF
52546
52547   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 41; then
52548     break
52549   elif $ac_last_try; then
52550     { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52551 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52552    { (exit 1); exit 1; }; }
52553   else
52554     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
52555   fi
52556 done
52557
52558 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52559 if test -n "$ac_eof"; then
52560   ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
52561   ac_eof=`expr $ac_eof + 1`
52562 fi
52563
52564 cat >>$CONFIG_STATUS <<_ACEOF
52565 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
52566 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
52567 _ACEOF
52568 sed '
52569 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52570 s/^/s,@/; s/!/@,|#_!!_#|/
52571 :n
52572 t n
52573 s/'"$ac_delim"'$/,g/; t
52574 s/$/\\/; p
52575 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52576 ' >>$CONFIG_STATUS <conf$$subs.sed
52577 rm -f conf$$subs.sed
52578 cat >>$CONFIG_STATUS <<_ACEOF
52579 :end
52580 s/|#_!!_#|//g
52581 CEOF$ac_eof
52582 _ACEOF
52583
52584
52585 # VPATH may cause trouble with some makes, so we remove $(srcdir),
52586 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
52587 # trailing colons and then remove the whole line if VPATH becomes empty
52588 # (actually we leave an empty line to preserve line numbers).
52589 if test "x$srcdir" = x.; then
52590   ac_vpsub='/^[  ]*VPATH[        ]*=/{
52591 s/:*\$(srcdir):*/:/
52592 s/:*\${srcdir}:*/:/
52593 s/:*@srcdir@:*/:/
52594 s/^\([^=]*=[     ]*\):*/\1/
52595 s/:*$//
52596 s/^[^=]*=[       ]*$//
52597 }'
52598 fi
52599
52600 cat >>$CONFIG_STATUS <<\_ACEOF
52601 fi # test -n "$CONFIG_FILES"
52602
52603
52604 for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS
52605 do
52606   case $ac_tag in
52607   :[FHLC]) ac_mode=$ac_tag; continue;;
52608   esac
52609   case $ac_mode$ac_tag in
52610   :[FHL]*:*);;
52611   :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
52612 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
52613    { (exit 1); exit 1; }; };;
52614   :[FH]-) ac_tag=-:-;;
52615   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
52616   esac
52617   ac_save_IFS=$IFS
52618   IFS=:
52619   set x $ac_tag
52620   IFS=$ac_save_IFS
52621   shift
52622   ac_file=$1
52623   shift
52624
52625   case $ac_mode in
52626   :L) ac_source=$1;;
52627   :[FH])
52628     ac_file_inputs=
52629     for ac_f
52630     do
52631       case $ac_f in
52632       -) ac_f="$tmp/stdin";;
52633       *) # Look for the file first in the build tree, then in the source tree
52634          # (if the path is not absolute).  The absolute path cannot be DOS-style,
52635          # because $ac_f cannot contain `:'.
52636          test -f "$ac_f" ||
52637            case $ac_f in
52638            [\\/$]*) false;;
52639            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
52640            esac ||
52641            { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
52642 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
52643    { (exit 1); exit 1; }; };;
52644       esac
52645       ac_file_inputs="$ac_file_inputs $ac_f"
52646     done
52647
52648     # Let's still pretend it is `configure' which instantiates (i.e., don't
52649     # use $as_me), people would be surprised to read:
52650     #    /* config.h.  Generated by config.status.  */
52651     configure_input="Generated from "`IFS=:
52652           echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
52653     if test x"$ac_file" != x-; then
52654       configure_input="$ac_file.  $configure_input"
52655       { echo "$as_me:$LINENO: creating $ac_file" >&5
52656 echo "$as_me: creating $ac_file" >&6;}
52657     fi
52658
52659     case $ac_tag in
52660     *:-:* | *:-) cat >"$tmp/stdin";;
52661     esac
52662     ;;
52663   esac
52664
52665   ac_dir=`$as_dirname -- "$ac_file" ||
52666 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52667          X"$ac_file" : 'X\(//\)[^/]' \| \
52668          X"$ac_file" : 'X\(//\)$' \| \
52669          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
52670 echo X"$ac_file" |
52671     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52672             s//\1/
52673             q
52674           }
52675           /^X\(\/\/\)[^/].*/{
52676             s//\1/
52677             q
52678           }
52679           /^X\(\/\/\)$/{
52680             s//\1/
52681             q
52682           }
52683           /^X\(\/\).*/{
52684             s//\1/
52685             q
52686           }
52687           s/.*/./; q'`
52688   { as_dir="$ac_dir"
52689   case $as_dir in #(
52690   -*) as_dir=./$as_dir;;
52691   esac
52692   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
52693     as_dirs=
52694     while :; do
52695       case $as_dir in #(
52696       *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
52697       *) as_qdir=$as_dir;;
52698       esac
52699       as_dirs="'$as_qdir' $as_dirs"
52700       as_dir=`$as_dirname -- "$as_dir" ||
52701 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52702          X"$as_dir" : 'X\(//\)[^/]' \| \
52703          X"$as_dir" : 'X\(//\)$' \| \
52704          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
52705 echo X"$as_dir" |
52706     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52707             s//\1/
52708             q
52709           }
52710           /^X\(\/\/\)[^/].*/{
52711             s//\1/
52712             q
52713           }
52714           /^X\(\/\/\)$/{
52715             s//\1/
52716             q
52717           }
52718           /^X\(\/\).*/{
52719             s//\1/
52720             q
52721           }
52722           s/.*/./; q'`
52723       test -d "$as_dir" && break
52724     done
52725     test -z "$as_dirs" || eval "mkdir $as_dirs"
52726   } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
52727 echo "$as_me: error: cannot create directory $as_dir" >&2;}
52728    { (exit 1); exit 1; }; }; }
52729   ac_builddir=.
52730
52731 case "$ac_dir" in
52732 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
52733 *)
52734   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52735   # A ".." for each directory in $ac_dir_suffix.
52736   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
52737   case $ac_top_builddir_sub in
52738   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
52739   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
52740   esac ;;
52741 esac
52742 ac_abs_top_builddir=$ac_pwd
52743 ac_abs_builddir=$ac_pwd$ac_dir_suffix
52744 # for backward compatibility:
52745 ac_top_builddir=$ac_top_build_prefix
52746
52747 case $srcdir in
52748   .)  # We are building in place.
52749     ac_srcdir=.
52750     ac_top_srcdir=$ac_top_builddir_sub
52751     ac_abs_top_srcdir=$ac_pwd ;;
52752   [\\/]* | ?:[\\/]* )  # Absolute name.
52753     ac_srcdir=$srcdir$ac_dir_suffix;
52754     ac_top_srcdir=$srcdir
52755     ac_abs_top_srcdir=$srcdir ;;
52756   *) # Relative name.
52757     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
52758     ac_top_srcdir=$ac_top_build_prefix$srcdir
52759     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
52760 esac
52761 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
52762
52763
52764   case $ac_mode in
52765   :F)
52766   #
52767   # CONFIG_FILE
52768   #
52769
52770   case $INSTALL in
52771   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
52772   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
52773   esac
52774 _ACEOF
52775
52776 cat >>$CONFIG_STATUS <<\_ACEOF
52777 # If the template does not know about datarootdir, expand it.
52778 # FIXME: This hack should be removed a few years after 2.60.
52779 ac_datarootdir_hack=; ac_datarootdir_seen=
52780
52781 case `sed -n '/datarootdir/ {
52782   p
52783   q
52784 }
52785 /@datadir@/p
52786 /@docdir@/p
52787 /@infodir@/p
52788 /@localedir@/p
52789 /@mandir@/p
52790 ' $ac_file_inputs` in
52791 *datarootdir*) ac_datarootdir_seen=yes;;
52792 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
52793   { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
52794 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
52795 _ACEOF
52796 cat >>$CONFIG_STATUS <<_ACEOF
52797   ac_datarootdir_hack='
52798   s&@datadir@&$datadir&g
52799   s&@docdir@&$docdir&g
52800   s&@infodir@&$infodir&g
52801   s&@localedir@&$localedir&g
52802   s&@mandir@&$mandir&g
52803     s&\\\${datarootdir}&$datarootdir&g' ;;
52804 esac
52805 _ACEOF
52806
52807 # Neutralize VPATH when `$srcdir' = `.'.
52808 # Shell code in configure.ac might set extrasub.
52809 # FIXME: do we really want to maintain this feature?
52810 cat >>$CONFIG_STATUS <<_ACEOF
52811   sed "$ac_vpsub
52812 $extrasub
52813 _ACEOF
52814 cat >>$CONFIG_STATUS <<\_ACEOF
52815 :t
52816 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52817 s&@configure_input@&$configure_input&;t t
52818 s&@top_builddir@&$ac_top_builddir_sub&;t t
52819 s&@srcdir@&$ac_srcdir&;t t
52820 s&@abs_srcdir@&$ac_abs_srcdir&;t t
52821 s&@top_srcdir@&$ac_top_srcdir&;t t
52822 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
52823 s&@builddir@&$ac_builddir&;t t
52824 s&@abs_builddir@&$ac_abs_builddir&;t t
52825 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
52826 s&@INSTALL@&$ac_INSTALL&;t t
52827 $ac_datarootdir_hack
52828 " $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
52829
52830 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
52831   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
52832   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
52833   { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
52834 which seems to be undefined.  Please make sure it is defined." >&5
52835 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
52836 which seems to be undefined.  Please make sure it is defined." >&2;}
52837
52838   rm -f "$tmp/stdin"
52839   case $ac_file in
52840   -) cat "$tmp/out"; rm -f "$tmp/out";;
52841   *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
52842   esac
52843  ;;
52844   :H)
52845   #
52846   # CONFIG_HEADER
52847   #
52848 _ACEOF
52849
52850 # Transform confdefs.h into a sed script `conftest.defines', that
52851 # substitutes the proper values into config.h.in to produce config.h.
52852 rm -f conftest.defines conftest.tail
52853 # First, append a space to every undef/define line, to ease matching.
52854 echo 's/$/ /' >conftest.defines
52855 # Then, protect against being on the right side of a sed subst, or in
52856 # an unquoted here document, in config.status.  If some macros were
52857 # called several times there might be several #defines for the same
52858 # symbol, which is useless.  But do not sort them, since the last
52859 # AC_DEFINE must be honored.
52860 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
52861 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
52862 # NAME is the cpp macro being defined, VALUE is the value it is being given.
52863 # PARAMS is the parameter list in the macro definition--in most cases, it's
52864 # just an empty string.
52865 ac_dA='s,^\\([   #]*\\)[^        ]*\\([  ]*'
52866 ac_dB='\\)[      (].*,\\1define\\2'
52867 ac_dC=' '
52868 ac_dD=' ,'
52869
52870 uniq confdefs.h |
52871   sed -n '
52872         t rset
52873         :rset
52874         s/^[     ]*#[    ]*define[       ][      ]*//
52875         t ok
52876         d
52877         :ok
52878         s/[\\&,]/\\&/g
52879         s/^\('"$ac_word_re"'\)\(([^()]*)\)[      ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
52880         s/^\('"$ac_word_re"'\)[  ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
52881   ' >>conftest.defines
52882
52883 # Remove the space that was appended to ease matching.
52884 # Then replace #undef with comments.  This is necessary, for
52885 # example, in the case of _POSIX_SOURCE, which is predefined and required
52886 # on some systems where configure will not decide to define it.
52887 # (The regexp can be short, since the line contains either #define or #undef.)
52888 echo 's/ $//
52889 s,^[     #]*u.*,/* & */,' >>conftest.defines
52890
52891 # Break up conftest.defines:
52892 ac_max_sed_lines=50
52893
52894 # First sed command is:  sed -f defines.sed $ac_file_inputs >"$tmp/out1"
52895 # Second one is:         sed -f defines.sed "$tmp/out1" >"$tmp/out2"
52896 # Third one will be:     sed -f defines.sed "$tmp/out2" >"$tmp/out1"
52897 # et cetera.
52898 ac_in='$ac_file_inputs'
52899 ac_out='"$tmp/out1"'
52900 ac_nxt='"$tmp/out2"'
52901
52902 while :
52903 do
52904   # Write a here document:
52905     cat >>$CONFIG_STATUS <<_ACEOF
52906     # First, check the format of the line:
52907     cat >"\$tmp/defines.sed" <<\\CEOF
52908 /^[      ]*#[    ]*undef[        ][      ]*$ac_word_re[  ]*\$/b def
52909 /^[      ]*#[    ]*define[       ][      ]*$ac_word_re[(         ]/b def
52910 b
52911 :def
52912 _ACEOF
52913   sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
52914   echo 'CEOF
52915     sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
52916   ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
52917   sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
52918   grep . conftest.tail >/dev/null || break
52919   rm -f conftest.defines
52920   mv conftest.tail conftest.defines
52921 done
52922 rm -f conftest.defines conftest.tail
52923
52924 echo "ac_result=$ac_in" >>$CONFIG_STATUS
52925 cat >>$CONFIG_STATUS <<\_ACEOF
52926   if test x"$ac_file" != x-; then
52927     echo "/* $configure_input  */" >"$tmp/config.h"
52928     cat "$ac_result" >>"$tmp/config.h"
52929     if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
52930       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
52931 echo "$as_me: $ac_file is unchanged" >&6;}
52932     else
52933       rm -f $ac_file
52934       mv "$tmp/config.h" $ac_file
52935     fi
52936   else
52937     echo "/* $configure_input  */"
52938     cat "$ac_result"
52939   fi
52940   rm -f "$tmp/out12"
52941  ;;
52942
52943   :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
52944 echo "$as_me: executing $ac_file commands" >&6;}
52945  ;;
52946   esac
52947
52948
52949   case $ac_file$ac_mode in
52950     "rcdefs.h":C)
52951             mkdir -p $outdir &&
52952             $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
52953          ;;
52954     "lib/wx/config/${TOOLCHAIN_FULLNAME}":F)  chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME}  ;;
52955     "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F)  chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}  ;;
52956     "utils/ifacecheck/rungccxml.sh":F)  chmod +x utils/ifacecheck/rungccxml.sh  ;;
52957     "wx-config":C)  rm -f wx-config
52958                      ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
52959                     ;;
52960
52961   esac
52962 done # for ac_tag
52963
52964
52965 { (exit 0); exit 0; }
52966 _ACEOF
52967 chmod +x $CONFIG_STATUS
52968 ac_clean_files=$ac_clean_files_save
52969
52970
52971 # configure is writing to config.log, and then calls config.status.
52972 # config.status does its own redirection, appending to config.log.
52973 # Unfortunately, on DOS this fails, as config.log is still kept open
52974 # by configure, so config.status won't be able to write to it; its
52975 # output is simply discarded.  So we exec the FD to /dev/null,
52976 # effectively closing config.log, so it can be properly (re)opened and
52977 # appended to by config.status.  When coming back to configure, we
52978 # need to make the FD available again.
52979 if test "$no_create" != yes; then
52980   ac_cs_success=:
52981   ac_config_status_args=
52982   test "$silent" = yes &&
52983     ac_config_status_args="$ac_config_status_args --quiet"
52984   exec 5>/dev/null
52985   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
52986   exec 5>>config.log
52987   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
52988   # would make configure fail if this is the last instruction.
52989   $ac_cs_success || { (exit 1); exit 1; }
52990 fi
52991
52992 #
52993 # CONFIG_SUBDIRS section.
52994 #
52995 if test "$no_recursion" != yes; then
52996
52997   # Remove --cache-file and --srcdir arguments so they do not pile up.
52998   ac_sub_configure_args=
52999   ac_prev=
53000   eval "set x $ac_configure_args"
53001   shift
53002   for ac_arg
53003   do
53004     if test -n "$ac_prev"; then
53005       ac_prev=
53006       continue
53007     fi
53008     case $ac_arg in
53009     -cache-file | --cache-file | --cache-fil | --cache-fi \
53010     | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
53011       ac_prev=cache_file ;;
53012     -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
53013     | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
53014     | --c=*)
53015       ;;
53016     --config-cache | -C)
53017       ;;
53018     -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
53019       ac_prev=srcdir ;;
53020     -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
53021       ;;
53022     -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
53023       ac_prev=prefix ;;
53024     -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
53025       ;;
53026     *)
53027       case $ac_arg in
53028       *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
53029       esac
53030       ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
53031     esac
53032   done
53033
53034   # Always prepend --prefix to ensure using the same prefix
53035   # in subdir configurations.
53036   ac_arg="--prefix=$prefix"
53037   case $ac_arg in
53038   *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
53039   esac
53040   ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
53041
53042   # Pass --silent
53043   if test "$silent" = yes; then
53044     ac_sub_configure_args="--silent $ac_sub_configure_args"
53045   fi
53046
53047   ac_popdir=`pwd`
53048   for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
53049
53050     # Do not complain, so a configure script can configure whichever
53051     # parts of a large source tree are present.
53052     test -d "$srcdir/$ac_dir" || continue
53053
53054     ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
53055     echo "$as_me:$LINENO: $ac_msg" >&5
53056     echo "$ac_msg" >&6
53057     { as_dir="$ac_dir"
53058   case $as_dir in #(
53059   -*) as_dir=./$as_dir;;
53060   esac
53061   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
53062     as_dirs=
53063     while :; do
53064       case $as_dir in #(
53065       *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
53066       *) as_qdir=$as_dir;;
53067       esac
53068       as_dirs="'$as_qdir' $as_dirs"
53069       as_dir=`$as_dirname -- "$as_dir" ||
53070 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
53071          X"$as_dir" : 'X\(//\)[^/]' \| \
53072          X"$as_dir" : 'X\(//\)$' \| \
53073          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
53074 echo X"$as_dir" |
53075     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
53076             s//\1/
53077             q
53078           }
53079           /^X\(\/\/\)[^/].*/{
53080             s//\1/
53081             q
53082           }
53083           /^X\(\/\/\)$/{
53084             s//\1/
53085             q
53086           }
53087           /^X\(\/\).*/{
53088             s//\1/
53089             q
53090           }
53091           s/.*/./; q'`
53092       test -d "$as_dir" && break
53093     done
53094     test -z "$as_dirs" || eval "mkdir $as_dirs"
53095   } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
53096 echo "$as_me: error: cannot create directory $as_dir" >&2;}
53097    { (exit 1); exit 1; }; }; }
53098     ac_builddir=.
53099
53100 case "$ac_dir" in
53101 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
53102 *)
53103   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
53104   # A ".." for each directory in $ac_dir_suffix.
53105   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
53106   case $ac_top_builddir_sub in
53107   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
53108   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
53109   esac ;;
53110 esac
53111 ac_abs_top_builddir=$ac_pwd
53112 ac_abs_builddir=$ac_pwd$ac_dir_suffix
53113 # for backward compatibility:
53114 ac_top_builddir=$ac_top_build_prefix
53115
53116 case $srcdir in
53117   .)  # We are building in place.
53118     ac_srcdir=.
53119     ac_top_srcdir=$ac_top_builddir_sub
53120     ac_abs_top_srcdir=$ac_pwd ;;
53121   [\\/]* | ?:[\\/]* )  # Absolute name.
53122     ac_srcdir=$srcdir$ac_dir_suffix;
53123     ac_top_srcdir=$srcdir
53124     ac_abs_top_srcdir=$srcdir ;;
53125   *) # Relative name.
53126     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
53127     ac_top_srcdir=$ac_top_build_prefix$srcdir
53128     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
53129 esac
53130 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
53131
53132
53133     cd "$ac_dir"
53134
53135     # Check for guested configure; otherwise get Cygnus style configure.
53136     if test -f "$ac_srcdir/configure.gnu"; then
53137       ac_sub_configure=$ac_srcdir/configure.gnu
53138     elif test -f "$ac_srcdir/configure"; then
53139       ac_sub_configure=$ac_srcdir/configure
53140     elif test -f "$ac_srcdir/configure.in"; then
53141       # This should be Cygnus configure.
53142       ac_sub_configure=$ac_aux_dir/configure
53143     else
53144       { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
53145 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
53146       ac_sub_configure=
53147     fi
53148
53149     # The recursion is here.
53150     if test -n "$ac_sub_configure"; then
53151       # Make the cache file name correct relative to the subdirectory.
53152       case $cache_file in
53153       [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
53154       *) # Relative name.
53155         ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
53156       esac
53157
53158       { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
53159 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
53160       # The eval makes quoting arguments work.
53161       eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
53162            --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
53163         { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
53164 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
53165    { (exit 1); exit 1; }; }
53166     fi
53167
53168     cd "$ac_popdir"
53169   done
53170 fi
53171
53172
53173 echo
53174 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
53175 echo ""
53176 echo "  Which GUI toolkit should wxWidgets use?                 ${TOOLKIT_DESC}"
53177 echo "  Should wxWidgets be compiled into single library?       ${wxUSE_MONOLITHIC:-yes}"
53178 echo "  Should wxWidgets be linked as a shared library?         ${wxUSE_SHARED:-no}"
53179 echo $ECHO_N "  Should wxWidgets support Unicode?                       ${wxUSE_UNICODE:-no}$ECHO_C"
53180 if test "$wxUSE_UNICODE" = "yes"; then
53181     if test "$wxUSE_UNICODE_UTF8" = "yes"; then
53182         echo " (using UTF-8)"
53183     else
53184         echo " (using wchar_t)"
53185     fi
53186 else
53187     echo
53188 fi
53189
53190 echo "  What level of wxWidgets compatibility should be enabled?"
53191 echo "                                       wxWidgets 2.6      ${WXWIN_COMPATIBILITY_2_6:-no}"
53192 echo "                                       wxWidgets 2.8      ${WXWIN_COMPATIBILITY_2_8:-yes}"
53193
53194 echo "  Which libraries should wxWidgets use?"
53195 echo "                                       STL                ${wxUSE_STL}"
53196 echo "                                       jpeg               ${wxUSE_LIBJPEG-none}"
53197 echo "                                       png                ${wxUSE_LIBPNG-none}"
53198 echo "                                       regex              ${wxUSE_REGEX}"
53199 echo "                                       tiff               ${wxUSE_LIBTIFF-none}"
53200 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
53201 echo "                                       xpm                ${wxUSE_LIBXPM-none}"
53202 fi
53203 echo "                                       zlib               ${wxUSE_ZLIB}"
53204 echo "                                       expat              ${wxUSE_EXPAT}"
53205 echo "                                       libmspack          ${wxUSE_LIBMSPACK}"
53206 echo "                                       sdl                ${wxUSE_LIBSDL}"
53207
53208 echo ""
53209