Add wxUSE_COMPILER_TLS to allow disabling compiler TLS support.
[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.67 for wxWidgets 2.9.4.
5 #
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
7 #
8 #
9 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
10 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
11 # Foundation, Inc.
12 #
13 #
14 # This configure script is free software; the Free Software Foundation
15 # gives unlimited permission to copy, distribute and modify it.
16 ## -------------------- ##
17 ## M4sh Initialization. ##
18 ## -------------------- ##
19
20 # Be more Bourne compatible
21 DUALCASE=1; export DUALCASE # for MKS sh
22 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
23   emulate sh
24   NULLCMD=:
25   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
26   # is contrary to our usage.  Disable this feature.
27   alias -g '${1+"$@"}'='"$@"'
28   setopt NO_GLOB_SUBST
29 else
30   case `(set -o) 2>/dev/null` in #(
31   *posix*) :
32     set -o posix ;; #(
33   *) :
34      ;;
35 esac
36 fi
37
38
39 as_nl='
40 '
41 export as_nl
42 # Printing a long string crashes Solaris 7 /usr/bin/printf.
43 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
45 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
46 # Prefer a ksh shell builtin over an external printf program on Solaris,
47 # but without wasting forks for bash or zsh.
48 if test -z "$BASH_VERSION$ZSH_VERSION" \
49     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50   as_echo='print -r --'
51   as_echo_n='print -rn --'
52 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53   as_echo='printf %s\n'
54   as_echo_n='printf %s'
55 else
56   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
57     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
58     as_echo_n='/usr/ucb/echo -n'
59   else
60     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
61     as_echo_n_body='eval
62       arg=$1;
63       case $arg in #(
64       *"$as_nl"*)
65         expr "X$arg" : "X\\(.*\\)$as_nl";
66         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67       esac;
68       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
69     '
70     export as_echo_n_body
71     as_echo_n='sh -c $as_echo_n_body as_echo'
72   fi
73   export as_echo_body
74   as_echo='sh -c $as_echo_body as_echo'
75 fi
76
77 # The user is always right.
78 if test "${PATH_SEPARATOR+set}" != set; then
79   PATH_SEPARATOR=:
80   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
81     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
82       PATH_SEPARATOR=';'
83   }
84 fi
85
86
87 # IFS
88 # We need space, tab and new line, in precisely that order.  Quoting is
89 # there to prevent editors from complaining about space-tab.
90 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
91 # splitting by setting IFS to empty value.)
92 IFS=" ""        $as_nl"
93
94 # Find who we are.  Look in the path if we contain no directory separator.
95 case $0 in #((
96   *[\\/]* ) as_myself=$0 ;;
97   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98 for as_dir in $PATH
99 do
100   IFS=$as_save_IFS
101   test -z "$as_dir" && as_dir=.
102     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103   done
104 IFS=$as_save_IFS
105
106      ;;
107 esac
108 # We did not find ourselves, most probably we were run as `sh COMMAND'
109 # in which case we are not to be found in the path.
110 if test "x$as_myself" = x; then
111   as_myself=$0
112 fi
113 if test ! -f "$as_myself"; then
114   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115   exit 1
116 fi
117
118 # Unset variables that we do not need and which cause bugs (e.g. in
119 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
120 # suppresses any "Segmentation fault" message there.  '((' could
121 # trigger a bug in pdksh 5.2.14.
122 for as_var in BASH_ENV ENV MAIL MAILPATH
123 do eval test x\${$as_var+set} = xset \
124   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
125 done
126 PS1='$ '
127 PS2='> '
128 PS4='+ '
129
130 # NLS nuisances.
131 LC_ALL=C
132 export LC_ALL
133 LANGUAGE=C
134 export LANGUAGE
135
136 # CDPATH.
137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
138
139 if test "x$CONFIG_SHELL" = x; then
140   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
141   emulate sh
142   NULLCMD=:
143   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144   # is contrary to our usage.  Disable this feature.
145   alias -g '\${1+\"\$@\"}'='\"\$@\"'
146   setopt NO_GLOB_SUBST
147 else
148   case \`(set -o) 2>/dev/null\` in #(
149   *posix*) :
150     set -o posix ;; #(
151   *) :
152      ;;
153 esac
154 fi
155 "
156   as_required="as_fn_return () { (exit \$1); }
157 as_fn_success () { as_fn_return 0; }
158 as_fn_failure () { as_fn_return 1; }
159 as_fn_ret_success () { return 0; }
160 as_fn_ret_failure () { return 1; }
161
162 exitcode=0
163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
168
169 else
170   exitcode=1; echo positional parameters were not saved.
171 fi
172 test x\$exitcode = x0 || exit 1"
173   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
177 test \$(( 1 + 1 )) = 2 || exit 1"
178   if (eval "$as_required") 2>/dev/null; then :
179   as_have_required=yes
180 else
181   as_have_required=no
182 fi
183   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
184
185 else
186   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
187 as_found=false
188 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
189 do
190   IFS=$as_save_IFS
191   test -z "$as_dir" && as_dir=.
192   as_found=:
193   case $as_dir in #(
194          /*)
195            for as_base in sh bash ksh sh5; do
196              # Try only shells that exist, to save several forks.
197              as_shell=$as_dir/$as_base
198              if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
199                     { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
200   CONFIG_SHELL=$as_shell as_have_required=yes
201                    if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
202   break 2
203 fi
204 fi
205            done;;
206        esac
207   as_found=false
208 done
209 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
210               { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
211   CONFIG_SHELL=$SHELL as_have_required=yes
212 fi; }
213 IFS=$as_save_IFS
214
215
216       if test "x$CONFIG_SHELL" != x; then :
217   # We cannot yet assume a decent shell, so we have to provide a
218         # neutralization value for shells without unset; and this also
219         # works around shells that cannot unset nonexistent variables.
220         BASH_ENV=/dev/null
221         ENV=/dev/null
222         (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
223         export CONFIG_SHELL
224         exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
225 fi
226
227     if test x$as_have_required = xno; then :
228   $as_echo "$0: This script requires a shell more modern than all"
229   $as_echo "$0: the shells that I found on your system."
230   if test x${ZSH_VERSION+set} = xset ; then
231     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
232     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
233   else
234     $as_echo "$0: Please tell bug-autoconf@gnu.org and
235 $0: wx-dev@lists.wxwidgets.org about your system, including
236 $0: any error possibly output before this message. Then
237 $0: install a modern shell, or manually run the script
238 $0: under such a shell if you do have one."
239   fi
240   exit 1
241 fi
242 fi
243 fi
244 SHELL=${CONFIG_SHELL-/bin/sh}
245 export SHELL
246 # Unset more variables known to interfere with behavior of common tools.
247 CLICOLOR_FORCE= GREP_OPTIONS=
248 unset CLICOLOR_FORCE GREP_OPTIONS
249
250 ## --------------------- ##
251 ## M4sh Shell Functions. ##
252 ## --------------------- ##
253 # as_fn_unset VAR
254 # ---------------
255 # Portably unset VAR.
256 as_fn_unset ()
257 {
258   { eval $1=; unset $1;}
259 }
260 as_unset=as_fn_unset
261
262 # as_fn_set_status STATUS
263 # -----------------------
264 # Set $? to STATUS, without forking.
265 as_fn_set_status ()
266 {
267   return $1
268 } # as_fn_set_status
269
270 # as_fn_exit STATUS
271 # -----------------
272 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
273 as_fn_exit ()
274 {
275   set +e
276   as_fn_set_status $1
277   exit $1
278 } # as_fn_exit
279
280 # as_fn_mkdir_p
281 # -------------
282 # Create "$as_dir" as a directory, including parents if necessary.
283 as_fn_mkdir_p ()
284 {
285
286   case $as_dir in #(
287   -*) as_dir=./$as_dir;;
288   esac
289   test -d "$as_dir" || eval $as_mkdir_p || {
290     as_dirs=
291     while :; do
292       case $as_dir in #(
293       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
294       *) as_qdir=$as_dir;;
295       esac
296       as_dirs="'$as_qdir' $as_dirs"
297       as_dir=`$as_dirname -- "$as_dir" ||
298 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
299          X"$as_dir" : 'X\(//\)[^/]' \| \
300          X"$as_dir" : 'X\(//\)$' \| \
301          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
302 $as_echo X"$as_dir" |
303     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
304             s//\1/
305             q
306           }
307           /^X\(\/\/\)[^/].*/{
308             s//\1/
309             q
310           }
311           /^X\(\/\/\)$/{
312             s//\1/
313             q
314           }
315           /^X\(\/\).*/{
316             s//\1/
317             q
318           }
319           s/.*/./; q'`
320       test -d "$as_dir" && break
321     done
322     test -z "$as_dirs" || eval "mkdir $as_dirs"
323   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
324
325
326 } # as_fn_mkdir_p
327 # as_fn_append VAR VALUE
328 # ----------------------
329 # Append the text in VALUE to the end of the definition contained in VAR. Take
330 # advantage of any shell optimizations that allow amortized linear growth over
331 # repeated appends, instead of the typical quadratic growth present in naive
332 # implementations.
333 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
334   eval 'as_fn_append ()
335   {
336     eval $1+=\$2
337   }'
338 else
339   as_fn_append ()
340   {
341     eval $1=\$$1\$2
342   }
343 fi # as_fn_append
344
345 # as_fn_arith ARG...
346 # ------------------
347 # Perform arithmetic evaluation on the ARGs, and store the result in the
348 # global $as_val. Take advantage of shells that can avoid forks. The arguments
349 # must be portable across $(()) and expr.
350 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
351   eval 'as_fn_arith ()
352   {
353     as_val=$(( $* ))
354   }'
355 else
356   as_fn_arith ()
357   {
358     as_val=`expr "$@" || test $? -eq 1`
359   }
360 fi # as_fn_arith
361
362
363 # as_fn_error STATUS ERROR [LINENO LOG_FD]
364 # ----------------------------------------
365 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
366 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
367 # script with STATUS, using 1 if that was 0.
368 as_fn_error ()
369 {
370   as_status=$1; test $as_status -eq 0 && as_status=1
371   if test "$4"; then
372     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
373     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
374   fi
375   $as_echo "$as_me: error: $2" >&2
376   as_fn_exit $as_status
377 } # as_fn_error
378
379 if expr a : '\(a\)' >/dev/null 2>&1 &&
380    test "X`expr 00001 : '.*\(...\)'`" = X001; then
381   as_expr=expr
382 else
383   as_expr=false
384 fi
385
386 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
387   as_basename=basename
388 else
389   as_basename=false
390 fi
391
392 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
393   as_dirname=dirname
394 else
395   as_dirname=false
396 fi
397
398 as_me=`$as_basename -- "$0" ||
399 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
400          X"$0" : 'X\(//\)$' \| \
401          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
402 $as_echo X/"$0" |
403     sed '/^.*\/\([^/][^/]*\)\/*$/{
404             s//\1/
405             q
406           }
407           /^X\/\(\/\/\)$/{
408             s//\1/
409             q
410           }
411           /^X\/\(\/\).*/{
412             s//\1/
413             q
414           }
415           s/.*/./; q'`
416
417 # Avoid depending upon Character Ranges.
418 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
419 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
420 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
421 as_cr_digits='0123456789'
422 as_cr_alnum=$as_cr_Letters$as_cr_digits
423
424
425   as_lineno_1=$LINENO as_lineno_1a=$LINENO
426   as_lineno_2=$LINENO as_lineno_2a=$LINENO
427   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
428   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
429   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
430   sed -n '
431     p
432     /[$]LINENO/=
433   ' <$as_myself |
434     sed '
435       s/[$]LINENO.*/&-/
436       t lineno
437       b
438       :lineno
439       N
440       :loop
441       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
442       t loop
443       s/-\n.*//
444     ' >$as_me.lineno &&
445   chmod +x "$as_me.lineno" ||
446     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
447
448   # Don't try to exec as it changes $[0], causing all sort of problems
449   # (the dirname of $[0] is not the place where we might find the
450   # original and so on.  Autoconf is especially sensitive to this).
451   . "./$as_me.lineno"
452   # Exit status is that of the last command.
453   exit
454 }
455
456 ECHO_C= ECHO_N= ECHO_T=
457 case `echo -n x` in #(((((
458 -n*)
459   case `echo 'xy\c'` in
460   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
461   xy)  ECHO_C='\c';;
462   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
463        ECHO_T=' ';;
464   esac;;
465 *)
466   ECHO_N='-n';;
467 esac
468
469 rm -f conf$$ conf$$.exe conf$$.file
470 if test -d conf$$.dir; then
471   rm -f conf$$.dir/conf$$.file
472 else
473   rm -f conf$$.dir
474   mkdir conf$$.dir 2>/dev/null
475 fi
476 if (echo >conf$$.file) 2>/dev/null; then
477   if ln -s conf$$.file conf$$ 2>/dev/null; then
478     as_ln_s='ln -s'
479     # ... but there are two gotchas:
480     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
481     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
482     # In both cases, we have to default to `cp -p'.
483     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
484       as_ln_s='cp -p'
485   elif ln conf$$.file conf$$ 2>/dev/null; then
486     as_ln_s=ln
487   else
488     as_ln_s='cp -p'
489   fi
490 else
491   as_ln_s='cp -p'
492 fi
493 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
494 rmdir conf$$.dir 2>/dev/null
495
496 if mkdir -p . 2>/dev/null; then
497   as_mkdir_p='mkdir -p "$as_dir"'
498 else
499   test -d ./-p && rmdir ./-p
500   as_mkdir_p=false
501 fi
502
503 if test -x / >/dev/null 2>&1; then
504   as_test_x='test -x'
505 else
506   if ls -dL / >/dev/null 2>&1; then
507     as_ls_L_option=L
508   else
509     as_ls_L_option=
510   fi
511   as_test_x='
512     eval sh -c '\''
513       if test -d "$1"; then
514         test -d "$1/.";
515       else
516         case $1 in #(
517         -*)set "./$1";;
518         esac;
519         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
520         ???[sx]*):;;*)false;;esac;fi
521     '\'' sh
522   '
523 fi
524 as_executable_p=$as_test_x
525
526 # Sed expression to map a string onto a valid CPP name.
527 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
528
529 # Sed expression to map a string onto a valid variable name.
530 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
531
532
533 test -n "$DJDIR" || exec 7<&0 </dev/null
534 exec 6>&1
535
536 # Name of the host.
537 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
538 # so uname gets run too.
539 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
540
541 #
542 # Initializations.
543 #
544 ac_default_prefix=/usr/local
545 ac_clean_files=
546 ac_config_libobj_dir=.
547 LIBOBJS=
548 cross_compiling=no
549 subdirs=
550 MFLAGS=
551 MAKEFLAGS=
552
553 # Identity of this package.
554 PACKAGE_NAME='wxWidgets'
555 PACKAGE_TARNAME='wxwidgets'
556 PACKAGE_VERSION='2.9.4'
557 PACKAGE_STRING='wxWidgets 2.9.4'
558 PACKAGE_BUGREPORT='wx-dev@lists.wxwidgets.org'
559 PACKAGE_URL=''
560
561 ac_unique_file="wx-config.in"
562 # Factoring default headers for most tests.
563 ac_includes_default="\
564 #include <stdio.h>
565 #ifdef HAVE_SYS_TYPES_H
566 # include <sys/types.h>
567 #endif
568 #ifdef HAVE_SYS_STAT_H
569 # include <sys/stat.h>
570 #endif
571 #ifdef STDC_HEADERS
572 # include <stdlib.h>
573 # include <stddef.h>
574 #else
575 # ifdef HAVE_STDLIB_H
576 #  include <stdlib.h>
577 # endif
578 #endif
579 #ifdef HAVE_STRING_H
580 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
581 #  include <memory.h>
582 # endif
583 # include <string.h>
584 #endif
585 #ifdef HAVE_STRINGS_H
586 # include <strings.h>
587 #endif
588 #ifdef HAVE_INTTYPES_H
589 # include <inttypes.h>
590 #endif
591 #ifdef HAVE_STDINT_H
592 # include <stdint.h>
593 #endif
594 #ifdef HAVE_UNISTD_H
595 # include <unistd.h>
596 #endif"
597
598 enable_option_checking=no
599 ac_subst_vars='LTLIBOBJS
600 LIBOBJS
601 CPPUNIT_CONFIG
602 DLLTOOL
603 GCC
604 MACSETFILE
605 POSTLINK_COMMAND
606 LIBWXMACRES
607 WX_RESOURCES_MACOSX_DATA
608 WX_RESOURCES_MACOSX_ASCII
609 RESPROGRAMOBJ
610 RESFLAGS
611 RESCOMP
612 WX_VERSION_TAG
613 DMALLOC_LIBS
614 OPENGL_LIBS
615 LDFLAGS_GL
616 SAMPLES_SUBDIRS
617 DISTDIR
618 GUIDIST
619 WXCONFIG_RESFLAGS
620 WXCONFIG_LDFLAGS_GUI
621 WXCONFIG_LDFLAGS
622 WXCONFIG_RPATH
623 WXCONFIG_LIBS
624 WXCONFIG_CXXFLAGS
625 WXCONFIG_CFLAGS
626 WXCONFIG_CPPFLAGS
627 WX_CHARTYPE
628 WX_SUBVERSION
629 WX_VERSION
630 WX_RELEASE
631 WIDGET_SET
632 cross_compiling
633 TOOLCHAIN_FULLNAME
634 TOOLCHAIN_NAME
635 TOOLKIT_DIR
636 TOOLKIT
637 WIN32INSTALL
638 AFMINSTALL
639 USE_GUI
640 WX_LIBRARY_BASENAME_GUI
641 WX_LIBRARY_BASENAME_NOGUI
642 SHARED
643 DEREZ
644 COND_wxUSE_ZLIB_builtin
645 COND_wxUSE_REGEX_builtin
646 COND_wxUSE_LIBTIFF_builtin
647 COND_wxUSE_LIBPNG_builtin
648 COND_wxUSE_LIBJPEG_builtin
649 COND_wxUSE_EXPAT_builtin
650 COND_WXUSE_ZLIB_BUILTIN
651 COND_WXUSE_REGEX_BUILTIN
652 COND_WXUSE_LIBTIFF_BUILTIN
653 COND_WXUSE_LIBPNG_BUILTIN
654 COND_WXUSE_LIBJPEG_BUILTIN
655 COND_WXUSE_EXPAT_BUILTIN
656 COND_WXUNIV_1
657 COND_WXUNIV_0
658 COND_WITH_PLUGIN_SDL_1
659 COND_WINDOWS_IMPLIB_1
660 COND_USE_XRC_1
661 COND_USE_THREADS_1
662 COND_USE_THREADS_0
663 COND_USE_STC_1
664 COND_USE_SOVERSOLARIS_1
665 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1
666 COND_USE_SOVERSION_0
667 COND_USE_SOVERLINUX_1
668 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
669 COND_USE_SOTWOSYMLINKS_1
670 COND_USE_RTTI_1
671 COND_USE_RTTI_0
672 COND_USE_PLUGINS_0
673 COND_USE_PCH_1
674 COND_USE_OPENGL_1
675 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
676 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
677 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
678 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
679 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
680 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
681 COND_USE_GUI_1_WXUNIV_1
682 COND_USE_GUI_1_WXUNIV_0
683 COND_USE_GUI_1_USE_OPENGL_1
684 COND_USE_GUI_1
685 COND_USE_GUI_0
686 COND_USE_EXCEPTIONS_1
687 COND_USE_EXCEPTIONS_0
688 COND_USE_CAIRO_1
689 COND_UNICODE_1
690 COND_TOOLKIT_X11_USE_GUI_1
691 COND_TOOLKIT_X11
692 COND_TOOLKIT_WINCE_WXUNIV_0
693 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
694 COND_TOOLKIT_WINCE_USE_GUI_1
695 COND_TOOLKIT_WINCE
696 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
697 COND_TOOLKIT_PM_USE_GUI_1
698 COND_TOOLKIT_PM
699 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
700 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1
701 COND_TOOLKIT_OSX_IPHONE
702 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
703 COND_TOOLKIT_OSX_COCOA
704 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
705 COND_TOOLKIT_OSX_CARBON
706 COND_TOOLKIT_MSW_WXUNIV_0
707 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
708 COND_TOOLKIT_MSW_USE_GUI_1
709 COND_TOOLKIT_MSW
710 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
711 COND_TOOLKIT_MOTIF_USE_GUI_1
712 COND_TOOLKIT_MOTIF
713 COND_TOOLKIT_MAC
714 COND_TOOLKIT_GTK_USE_GUI_1
715 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
716 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
717 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
718 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
719 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
720 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
721 COND_TOOLKIT_GTK
722 COND_TOOLKIT_DFB_USE_GUI_1
723 COND_TOOLKIT_DFB
724 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
725 COND_TOOLKIT_COCOA_USE_GUI_1
726 COND_TOOLKIT_COCOA
727 COND_TOOLKIT_
728 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
729 COND_SHARED_1
730 COND_SHARED_0_wxUSE_ZLIB_builtin
731 COND_SHARED_0_wxUSE_REGEX_builtin
732 COND_SHARED_0_wxUSE_EXPAT_builtin
733 COND_SHARED_0_USE_STC_1
734 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
735 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
736 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
737 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
738 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
739 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
740 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
741 COND_SHARED_0
742 COND_PLATFORM_WIN32_1_SHARED_0
743 COND_PLATFORM_WIN32_1
744 COND_PLATFORM_WIN32_0
745 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
746 COND_PLATFORM_UNIX_1_USE_GUI_1
747 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
748 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
749 COND_PLATFORM_UNIX_1
750 COND_PLATFORM_UNIX_0
751 COND_PLATFORM_OS2_1
752 COND_PLATFORM_MSDOS_1
753 COND_PLATFORM_MSDOS_0
754 COND_PLATFORM_MAC_1
755 COND_PLATFORM_MAC_0
756 COND_PLATFORM_MACOS_1
757 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
758 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
759 COND_PLATFORM_MACOSX_1_USE_GUI_1
760 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
761 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1
762 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
763 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
764 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
765 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
766 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0
767 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
768 COND_PLATFORM_MACOSX_1
769 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
770 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
771 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
772 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
773 COND_MONOLITHIC_1_SHARED_1
774 COND_MONOLITHIC_1_SHARED_0
775 COND_MONOLITHIC_1
776 COND_MONOLITHIC_0_USE_XRC_1
777 COND_MONOLITHIC_0_USE_WEBVIEW_1
778 COND_MONOLITHIC_0_USE_STC_1
779 COND_MONOLITHIC_0_USE_RICHTEXT_1
780 COND_MONOLITHIC_0_USE_RIBBON_1
781 COND_MONOLITHIC_0_USE_QA_1
782 COND_MONOLITHIC_0_USE_PROPGRID_1
783 COND_MONOLITHIC_0_USE_MEDIA_1
784 COND_MONOLITHIC_0_USE_HTML_1
785 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
786 COND_MONOLITHIC_0_USE_GUI_1
787 COND_MONOLITHIC_0_USE_AUI_1
788 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
789 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
790 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
791 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1
792 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
793 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1
794 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
795 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
796 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
797 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
798 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
799 COND_MONOLITHIC_0_SHARED_1
800 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
801 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
802 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
803 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1
804 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
805 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1
806 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
807 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
808 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
809 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
810 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
811 COND_MONOLITHIC_0_SHARED_0
812 COND_MONOLITHIC_0
813 COND_ICC_PCH_1
814 COND_GCC_PCH_1
815 COND_DEPS_TRACKING_1
816 COND_DEPS_TRACKING_0
817 COND_DEBUG_INFO_1
818 COND_DEBUG_INFO_0
819 COND_DEBUG_FLAG_1
820 COND_DEBUG_FLAG_0
821 COND_BUILD_release_UNICODE_1
822 COND_BUILD_release_UNICODE_0
823 COND_BUILD_release_DEBUG_INFO_default
824 COND_BUILD_release
825 COND_BUILD_debug_UNICODE_1
826 COND_BUILD_debug_UNICODE_0
827 COND_BUILD_debug_DEBUG_INFO_default
828 COND_BUILD_debug_DEBUG_FLAG_default
829 COND_BUILD_debug
830 COND_BUILD_RELEASE_UNICODE_1
831 COND_BUILD_RELEASE_UNICODE_0
832 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
833 COND_BUILD_RELEASE
834 COND_BUILD_DEBUG_UNICODE_1
835 COND_BUILD_DEBUG_UNICODE_0
836 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
837 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
838 COND_BUILD_DEBUG
839 BK_MAKE_PCH
840 ICC_PCH_USE_SWITCH
841 ICC_PCH_CREATE_SWITCH
842 ICC_PCH
843 GCC_PCH
844 OBJCXXFLAGS
845 SETFILE
846 REZ
847 WINDRES
848 BK_DEPS
849 DEPS_TRACKING
850 SONAME_FLAG
851 USE_SOTWOSYMLINKS
852 USE_MACVERSION
853 USE_SOVERCYGWIN
854 USE_SOVERSOLARIS
855 USE_SOVERLINUX
856 USE_SOVERSION
857 WINDOWS_IMPLIB
858 PIC_FLAG
859 SHARED_LD_MODULE_CXX
860 SHARED_LD_MODULE_CC
861 SHARED_LD_CXX
862 SHARED_LD_CC
863 AIX_CXX_LD
864 dlldir
865 DLLPREFIX_MODULE
866 DLLPREFIX
867 LIBEXT
868 LIBPREFIX
869 DLLIMP_SUFFIX
870 SO_SUFFIX_MODULE
871 SO_SUFFIX
872 PLATFORM_BEOS
873 PLATFORM_OS2
874 PLATFORM_MACOSX
875 PLATFORM_MACOS
876 PLATFORM_MAC
877 PLATFORM_MSDOS
878 PLATFORM_WIN32
879 PLATFORM_UNIX
880 IF_GNU_MAKE
881 LDFLAGS_GUI
882 INSTALL_DIR
883 NM
884 STRIP
885 AROPTIONS
886 MAKE_SET
887 SET_MAKE
888 LN_S
889 INSTALL_DATA
890 INSTALL_SCRIPT
891 INSTALL_PROGRAM
892 RANLIB
893 CPPUNIT_LIBS
894 CPPUNIT_CFLAGS
895 HOST_SUFFIX
896 HEADER_PAD_OPTION
897 SAMPLES_RPATH_FLAG
898 DYLIB_RPATH_POSTLINK
899 DYLIB_RPATH_INSTALL
900 TOOLKIT_VERSION
901 TOOLKIT_LOWERCASE
902 DEBUG_FLAG
903 DEBUG_INFO
904 UNICODE
905 EXTRALIBS_HILDON
906 EXTRALIBS_GNOMEVFS
907 EXTRALIBS_GNOMEPRINT
908 EXTRALIBS_GTKPRINT
909 WITH_PLUGIN_SDL
910 EXTRALIBS_STC
911 EXTRALIBS_SDL
912 EXTRALIBS_OPENGL
913 EXTRALIBS_GUI
914 EXTRALIBS_MEDIA
915 EXTRALIBS_HTML
916 EXTRALIBS_XML
917 EXTRALIBS
918 CXXWARNINGS
919 USE_PLUGINS
920 MONOLITHIC
921 WXUNIV
922 WX_LIB_FLAVOUR
923 WX_FLAVOUR
924 OFFICIAL_BUILD
925 VENDOR
926 wxUSE_LIBTIFF
927 wxUSE_LIBPNG
928 wxUSE_LIBJPEG
929 wxUSE_EXPAT
930 wxUSE_REGEX
931 wxUSE_ZLIB
932 STD_GUI_LIBS
933 STD_BASE_LIBS
934 BUILT_WX_LIBS
935 ALL_WX_LIBS
936 GST_LIBS
937 GST_CFLAGS
938 CAIRO_LIBS
939 CAIRO_CFLAGS
940 WEBKIT_LIBS
941 WEBKIT_CFLAGS
942 COND_PYTHON
943 PYTHON
944 HILDON2_LIBS
945 HILDON2_CFLAGS
946 HILDON_LIBS
947 HILDON_CFLAGS
948 GNOMEVFS_LIBS
949 GNOMEVFS_CFLAGS
950 LIBGNOMEPRINTUI_LIBS
951 LIBGNOMEPRINTUI_CFLAGS
952 GTKPRINT_LIBS
953 GTKPRINT_CFLAGS
954 SDL_LIBS
955 SDL_CFLAGS
956 SDL_CONFIG
957 GXX_VERSION
958 LIBICONV
959 CXXFLAGS_VISIBILITY
960 CFLAGS_VISIBILITY
961 MesaGL_LIBS
962 MesaGL_CFLAGS
963 GLU_LIBS
964 GLU_CFLAGS
965 GL_LIBS
966 GL_CFLAGS
967 SM_LIBS
968 SM_CFLAGS
969 Xxf86vm_LIBS
970 Xxf86vm_CFLAGS
971 Xinerama_LIBS
972 Xinerama_CFLAGS
973 PANGOXFT_LIBS
974 PANGOXFT_CFLAGS
975 PANGOFT2_LIBS
976 PANGOFT2_CFLAGS
977 PANGOX_LIBS
978 PANGOX_CFLAGS
979 X_EXTRA_LIBS
980 X_LIBS
981 X_PRE_LIBS
982 X_CFLAGS
983 XMKMF
984 DIRECTFB_LIBS
985 DIRECTFB_CFLAGS
986 GTK_CONFIG
987 GTK_LIBS
988 GTK_CFLAGS
989 PKG_CONFIG
990 subdirs
991 CXXCPP
992 OSX_SW_VERS
993 AR
994 ac_ct_CXX
995 CXXFLAGS
996 CXX
997 EGREP
998 GREP
999 CPP
1000 OBJEXT
1001 EXEEXT
1002 ac_ct_CC
1003 CPPFLAGS
1004 LDFLAGS
1005 CFLAGS
1006 CC
1007 wx_top_builddir
1008 host_os
1009 host_vendor
1010 host_cpu
1011 host
1012 build_os
1013 build_vendor
1014 build_cpu
1015 build
1016 target_alias
1017 host_alias
1018 build_alias
1019 LIBS
1020 ECHO_T
1021 ECHO_N
1022 ECHO_C
1023 DEFS
1024 mandir
1025 localedir
1026 libdir
1027 psdir
1028 pdfdir
1029 dvidir
1030 htmldir
1031 infodir
1032 docdir
1033 oldincludedir
1034 includedir
1035 localstatedir
1036 sharedstatedir
1037 sysconfdir
1038 datadir
1039 datarootdir
1040 libexecdir
1041 sbindir
1042 bindir
1043 program_transform_name
1044 prefix
1045 exec_prefix
1046 PACKAGE_URL
1047 PACKAGE_BUGREPORT
1048 PACKAGE_STRING
1049 PACKAGE_VERSION
1050 PACKAGE_TARNAME
1051 PACKAGE_NAME
1052 PATH_SEPARATOR
1053 SHELL'
1054 ac_subst_files=''
1055 ac_user_opts='
1056 enable_option_checking
1057 enable_gui
1058 enable_monolithic
1059 enable_plugins
1060 with_subdirs
1061 with_flavour
1062 enable_official_build
1063 enable_vendor
1064 enable_all_features
1065 enable_universal
1066 with_themes
1067 with_gtk
1068 with_motif
1069 with_osx_carbon
1070 with_osx_cocoa
1071 with_osx_iphone
1072 with_osx
1073 with_carbon
1074 with_cocoa
1075 with_iphone
1076 with_mac
1077 with_old_cocoa
1078 with_wine
1079 with_msw
1080 with_pm
1081 with_directfb
1082 with_microwin
1083 with_x11
1084 enable_nanox
1085 enable_gtk2
1086 enable_gpe
1087 with_libpng
1088 with_libjpeg
1089 with_libtiff
1090 with_libxpm
1091 with_libiconv
1092 with_libmspack
1093 with_gtkprint
1094 with_gnomeprint
1095 with_gnomevfs
1096 with_hildon
1097 with_opengl
1098 with_dmalloc
1099 with_sdl
1100 with_regex
1101 with_zlib
1102 with_expat
1103 with_macosx_sdk
1104 with_macosx_version_min
1105 enable_debug
1106 enable_debug_flag
1107 enable_debug_info
1108 enable_debug_gdb
1109 enable_debug_cntxt
1110 enable_mem_tracing
1111 enable_shared
1112 enable_stl
1113 enable_std_containers
1114 enable_std_iostreams
1115 enable_std_string
1116 enable_std_string_conv_in_wxstring
1117 enable_unicode
1118 enable_mslu
1119 enable_utf8
1120 enable_utf8only
1121 enable_extended_rtti
1122 enable_omf
1123 enable_optimise
1124 enable_profile
1125 enable_no_rtti
1126 enable_no_exceptions
1127 enable_permissive
1128 enable_no_deps
1129 enable_vararg_macros
1130 enable_universal_binary
1131 enable_macosx_arch
1132 enable_compat26
1133 enable_compat28
1134 enable_rpath
1135 enable_objc_uniquifying
1136 enable_visibility
1137 enable_tls
1138 enable_intl
1139 enable_xlocale
1140 enable_config
1141 enable_protocols
1142 enable_ftp
1143 enable_http
1144 enable_fileproto
1145 enable_sockets
1146 enable_ipv6
1147 enable_ole
1148 enable_dataobj
1149 enable_ipc
1150 enable_baseevtloop
1151 enable_epollloop
1152 enable_selectloop
1153 enable_any
1154 enable_apple_ieee
1155 enable_arcstream
1156 enable_base64
1157 enable_backtrace
1158 enable_catch_segvs
1159 enable_cmdline
1160 enable_datetime
1161 enable_debugreport
1162 enable_dialupman
1163 enable_dynlib
1164 enable_dynamicloader
1165 enable_exceptions
1166 enable_ffile
1167 enable_file
1168 enable_filehistory
1169 enable_filesystem
1170 enable_fontenum
1171 enable_fontmap
1172 enable_fs_archive
1173 enable_fs_inet
1174 enable_fs_zip
1175 enable_fswatcher
1176 enable_geometry
1177 enable_log
1178 enable_longlong
1179 enable_mimetype
1180 enable_printfposparam
1181 enable_snglinst
1182 enable_sound
1183 enable_stdpaths
1184 enable_stopwatch
1185 enable_streams
1186 enable_sysoptions
1187 enable_tarstream
1188 enable_textbuf
1189 enable_textfile
1190 enable_timer
1191 enable_variant
1192 enable_zipstream
1193 enable_url
1194 enable_protocol
1195 enable_protocol_http
1196 enable_protocol_ftp
1197 enable_protocol_file
1198 enable_threads
1199 enable_iniconf
1200 enable_regkey
1201 enable_docview
1202 enable_help
1203 enable_mshtmlhelp
1204 enable_html
1205 enable_htmlhelp
1206 enable_xrc
1207 enable_aui
1208 enable_propgrid
1209 enable_ribbon
1210 enable_stc
1211 enable_constraints
1212 enable_loggui
1213 enable_logwin
1214 enable_logdialog
1215 enable_mdi
1216 enable_mdidoc
1217 enable_mediactrl
1218 enable_gstreamer8
1219 enable_richtext
1220 enable_postscript
1221 enable_printarch
1222 enable_svg
1223 enable_webkit
1224 enable_webview
1225 enable_graphics_ctx
1226 enable_clipboard
1227 enable_dnd
1228 enable_controls
1229 enable_markup
1230 enable_accel
1231 enable_animatectrl
1232 enable_bannerwindow
1233 enable_artstd
1234 enable_arttango
1235 enable_bmpbutton
1236 enable_bmpcombobox
1237 enable_button
1238 enable_calendar
1239 enable_caret
1240 enable_checkbox
1241 enable_checklst
1242 enable_choice
1243 enable_choicebook
1244 enable_collpane
1245 enable_colourpicker
1246 enable_combobox
1247 enable_comboctrl
1248 enable_commandlinkbutton
1249 enable_dataviewctrl
1250 enable_datepick
1251 enable_detect_sm
1252 enable_dirpicker
1253 enable_display
1254 enable_editablebox
1255 enable_filectrl
1256 enable_filepicker
1257 enable_fontpicker
1258 enable_gauge
1259 enable_grid
1260 enable_headerctrl
1261 enable_hyperlink
1262 enable_imaglist
1263 enable_infobar
1264 enable_listbook
1265 enable_listbox
1266 enable_listctrl
1267 enable_notebook
1268 enable_notifmsg
1269 enable_odcombobox
1270 enable_popupwin
1271 enable_radiobox
1272 enable_radiobtn
1273 enable_richmsgdlg
1274 enable_richtooltip
1275 enable_rearrangectrl
1276 enable_sash
1277 enable_scrollbar
1278 enable_searchctrl
1279 enable_slider
1280 enable_spinbtn
1281 enable_spinctrl
1282 enable_splitter
1283 enable_statbmp
1284 enable_statbox
1285 enable_statline
1286 enable_stattext
1287 enable_statusbar
1288 enable_taskbaricon
1289 enable_tbarnative
1290 enable_textctrl
1291 enable_tipwindow
1292 enable_togglebtn
1293 enable_toolbar
1294 enable_toolbook
1295 enable_treebook
1296 enable_treectrl
1297 enable_treelist
1298 enable_commondlg
1299 enable_aboutdlg
1300 enable_choicedlg
1301 enable_coldlg
1302 enable_filedlg
1303 enable_finddlg
1304 enable_fontdlg
1305 enable_dirdlg
1306 enable_msgdlg
1307 enable_numberdlg
1308 enable_splash
1309 enable_textdlg
1310 enable_tipdlg
1311 enable_progressdlg
1312 enable_wizarddlg
1313 enable_menus
1314 enable_miniframe
1315 enable_tooltips
1316 enable_splines
1317 enable_mousewheel
1318 enable_validators
1319 enable_busyinfo
1320 enable_hotkey
1321 enable_joystick
1322 enable_metafile
1323 enable_dragimage
1324 enable_accessibility
1325 enable_uiactionsim
1326 enable_dctransform
1327 enable_webviewwebkit
1328 enable_palette
1329 enable_image
1330 enable_gif
1331 enable_pcx
1332 enable_tga
1333 enable_iff
1334 enable_pnm
1335 enable_xpm
1336 enable_ico_cur
1337 enable_dccache
1338 enable_ps_in_msw
1339 enable_ownerdrawn
1340 enable_uxtheme
1341 enable_wxdib
1342 enable_webviewie
1343 enable_autoidman
1344 enable_largefile
1345 enable_gtktest
1346 with_gtk_prefix
1347 with_gtk_exec_prefix
1348 with_x
1349 with_libiconv_prefix
1350 with_sdl_prefix
1351 with_sdl_exec_prefix
1352 enable_sdltest
1353 enable_dependency_tracking
1354 enable_precomp_headers
1355 with_cppunit_prefix
1356 with_cppunit_exec_prefix
1357 '
1358       ac_precious_vars='build_alias
1359 host_alias
1360 target_alias
1361 CC
1362 CFLAGS
1363 LDFLAGS
1364 LIBS
1365 CPPFLAGS
1366 CPP
1367 CXX
1368 CXXFLAGS
1369 CCC
1370 CXXCPP
1371 PKG_CONFIG
1372 DIRECTFB_CFLAGS
1373 DIRECTFB_LIBS
1374 XMKMF
1375 PANGOX_CFLAGS
1376 PANGOX_LIBS
1377 PANGOFT2_CFLAGS
1378 PANGOFT2_LIBS
1379 PANGOXFT_CFLAGS
1380 PANGOXFT_LIBS
1381 Xinerama_CFLAGS
1382 Xinerama_LIBS
1383 Xxf86vm_CFLAGS
1384 Xxf86vm_LIBS
1385 SM_CFLAGS
1386 SM_LIBS
1387 GL_CFLAGS
1388 GL_LIBS
1389 GLU_CFLAGS
1390 GLU_LIBS
1391 MesaGL_CFLAGS
1392 MesaGL_LIBS
1393 GTKPRINT_CFLAGS
1394 GTKPRINT_LIBS
1395 LIBGNOMEPRINTUI_CFLAGS
1396 LIBGNOMEPRINTUI_LIBS
1397 GNOMEVFS_CFLAGS
1398 GNOMEVFS_LIBS
1399 HILDON_CFLAGS
1400 HILDON_LIBS
1401 HILDON2_CFLAGS
1402 HILDON2_LIBS
1403 WEBKIT_CFLAGS
1404 WEBKIT_LIBS
1405 CAIRO_CFLAGS
1406 CAIRO_LIBS
1407 GST_CFLAGS
1408 GST_LIBS'
1409 ac_subdirs_all='src/tiff
1410 src/expat'
1411
1412 # Initialize some variables set by options.
1413 ac_init_help=
1414 ac_init_version=false
1415 ac_unrecognized_opts=
1416 ac_unrecognized_sep=
1417 # The variables have the same names as the options, with
1418 # dashes changed to underlines.
1419 cache_file=/dev/null
1420 exec_prefix=NONE
1421 no_create=
1422 no_recursion=
1423 prefix=NONE
1424 program_prefix=NONE
1425 program_suffix=NONE
1426 program_transform_name=s,x,x,
1427 silent=
1428 site=
1429 srcdir=
1430 verbose=
1431 x_includes=NONE
1432 x_libraries=NONE
1433
1434 # Installation directory options.
1435 # These are left unexpanded so users can "make install exec_prefix=/foo"
1436 # and all the variables that are supposed to be based on exec_prefix
1437 # by default will actually change.
1438 # Use braces instead of parens because sh, perl, etc. also accept them.
1439 # (The list follows the same order as the GNU Coding Standards.)
1440 bindir='${exec_prefix}/bin'
1441 sbindir='${exec_prefix}/sbin'
1442 libexecdir='${exec_prefix}/libexec'
1443 datarootdir='${prefix}/share'
1444 datadir='${datarootdir}'
1445 sysconfdir='${prefix}/etc'
1446 sharedstatedir='${prefix}/com'
1447 localstatedir='${prefix}/var'
1448 includedir='${prefix}/include'
1449 oldincludedir='/usr/include'
1450 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1451 infodir='${datarootdir}/info'
1452 htmldir='${docdir}'
1453 dvidir='${docdir}'
1454 pdfdir='${docdir}'
1455 psdir='${docdir}'
1456 libdir='${exec_prefix}/lib'
1457 localedir='${datarootdir}/locale'
1458 mandir='${datarootdir}/man'
1459
1460 ac_prev=
1461 ac_dashdash=
1462 for ac_option
1463 do
1464   # If the previous option needs an argument, assign it.
1465   if test -n "$ac_prev"; then
1466     eval $ac_prev=\$ac_option
1467     ac_prev=
1468     continue
1469   fi
1470
1471   case $ac_option in
1472   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1473   *=)   ac_optarg= ;;
1474   *)    ac_optarg=yes ;;
1475   esac
1476
1477   # Accept the important Cygnus configure options, so we can diagnose typos.
1478
1479   case $ac_dashdash$ac_option in
1480   --)
1481     ac_dashdash=yes ;;
1482
1483   -bindir | --bindir | --bindi | --bind | --bin | --bi)
1484     ac_prev=bindir ;;
1485   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1486     bindir=$ac_optarg ;;
1487
1488   -build | --build | --buil | --bui | --bu)
1489     ac_prev=build_alias ;;
1490   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1491     build_alias=$ac_optarg ;;
1492
1493   -cache-file | --cache-file | --cache-fil | --cache-fi \
1494   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1495     ac_prev=cache_file ;;
1496   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1497   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1498     cache_file=$ac_optarg ;;
1499
1500   --config-cache | -C)
1501     cache_file=config.cache ;;
1502
1503   -datadir | --datadir | --datadi | --datad)
1504     ac_prev=datadir ;;
1505   -datadir=* | --datadir=* | --datadi=* | --datad=*)
1506     datadir=$ac_optarg ;;
1507
1508   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1509   | --dataroo | --dataro | --datar)
1510     ac_prev=datarootdir ;;
1511   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1512   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1513     datarootdir=$ac_optarg ;;
1514
1515   -disable-* | --disable-*)
1516     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1517     # Reject names that are not valid shell variable names.
1518     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1519       as_fn_error $? "invalid feature name: $ac_useropt"
1520     ac_useropt_orig=$ac_useropt
1521     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1522     case $ac_user_opts in
1523       *"
1524 "enable_$ac_useropt"
1525 "*) ;;
1526       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1527          ac_unrecognized_sep=', ';;
1528     esac
1529     eval enable_$ac_useropt=no ;;
1530
1531   -docdir | --docdir | --docdi | --doc | --do)
1532     ac_prev=docdir ;;
1533   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1534     docdir=$ac_optarg ;;
1535
1536   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1537     ac_prev=dvidir ;;
1538   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1539     dvidir=$ac_optarg ;;
1540
1541   -enable-* | --enable-*)
1542     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1543     # Reject names that are not valid shell variable names.
1544     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1545       as_fn_error $? "invalid feature name: $ac_useropt"
1546     ac_useropt_orig=$ac_useropt
1547     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1548     case $ac_user_opts in
1549       *"
1550 "enable_$ac_useropt"
1551 "*) ;;
1552       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1553          ac_unrecognized_sep=', ';;
1554     esac
1555     eval enable_$ac_useropt=\$ac_optarg ;;
1556
1557   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1558   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1559   | --exec | --exe | --ex)
1560     ac_prev=exec_prefix ;;
1561   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1562   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1563   | --exec=* | --exe=* | --ex=*)
1564     exec_prefix=$ac_optarg ;;
1565
1566   -gas | --gas | --ga | --g)
1567     # Obsolete; use --with-gas.
1568     with_gas=yes ;;
1569
1570   -help | --help | --hel | --he | -h)
1571     ac_init_help=long ;;
1572   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1573     ac_init_help=recursive ;;
1574   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1575     ac_init_help=short ;;
1576
1577   -host | --host | --hos | --ho)
1578     ac_prev=host_alias ;;
1579   -host=* | --host=* | --hos=* | --ho=*)
1580     host_alias=$ac_optarg ;;
1581
1582   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1583     ac_prev=htmldir ;;
1584   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1585   | --ht=*)
1586     htmldir=$ac_optarg ;;
1587
1588   -includedir | --includedir | --includedi | --included | --include \
1589   | --includ | --inclu | --incl | --inc)
1590     ac_prev=includedir ;;
1591   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1592   | --includ=* | --inclu=* | --incl=* | --inc=*)
1593     includedir=$ac_optarg ;;
1594
1595   -infodir | --infodir | --infodi | --infod | --info | --inf)
1596     ac_prev=infodir ;;
1597   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1598     infodir=$ac_optarg ;;
1599
1600   -libdir | --libdir | --libdi | --libd)
1601     ac_prev=libdir ;;
1602   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1603     libdir=$ac_optarg ;;
1604
1605   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1606   | --libexe | --libex | --libe)
1607     ac_prev=libexecdir ;;
1608   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1609   | --libexe=* | --libex=* | --libe=*)
1610     libexecdir=$ac_optarg ;;
1611
1612   -localedir | --localedir | --localedi | --localed | --locale)
1613     ac_prev=localedir ;;
1614   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1615     localedir=$ac_optarg ;;
1616
1617   -localstatedir | --localstatedir | --localstatedi | --localstated \
1618   | --localstate | --localstat | --localsta | --localst | --locals)
1619     ac_prev=localstatedir ;;
1620   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1621   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1622     localstatedir=$ac_optarg ;;
1623
1624   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1625     ac_prev=mandir ;;
1626   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1627     mandir=$ac_optarg ;;
1628
1629   -nfp | --nfp | --nf)
1630     # Obsolete; use --without-fp.
1631     with_fp=no ;;
1632
1633   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1634   | --no-cr | --no-c | -n)
1635     no_create=yes ;;
1636
1637   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1638   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1639     no_recursion=yes ;;
1640
1641   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1642   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1643   | --oldin | --oldi | --old | --ol | --o)
1644     ac_prev=oldincludedir ;;
1645   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1646   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1647   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1648     oldincludedir=$ac_optarg ;;
1649
1650   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1651     ac_prev=prefix ;;
1652   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1653     prefix=$ac_optarg ;;
1654
1655   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1656   | --program-pre | --program-pr | --program-p)
1657     ac_prev=program_prefix ;;
1658   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1659   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1660     program_prefix=$ac_optarg ;;
1661
1662   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1663   | --program-suf | --program-su | --program-s)
1664     ac_prev=program_suffix ;;
1665   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1666   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1667     program_suffix=$ac_optarg ;;
1668
1669   -program-transform-name | --program-transform-name \
1670   | --program-transform-nam | --program-transform-na \
1671   | --program-transform-n | --program-transform- \
1672   | --program-transform | --program-transfor \
1673   | --program-transfo | --program-transf \
1674   | --program-trans | --program-tran \
1675   | --progr-tra | --program-tr | --program-t)
1676     ac_prev=program_transform_name ;;
1677   -program-transform-name=* | --program-transform-name=* \
1678   | --program-transform-nam=* | --program-transform-na=* \
1679   | --program-transform-n=* | --program-transform-=* \
1680   | --program-transform=* | --program-transfor=* \
1681   | --program-transfo=* | --program-transf=* \
1682   | --program-trans=* | --program-tran=* \
1683   | --progr-tra=* | --program-tr=* | --program-t=*)
1684     program_transform_name=$ac_optarg ;;
1685
1686   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1687     ac_prev=pdfdir ;;
1688   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1689     pdfdir=$ac_optarg ;;
1690
1691   -psdir | --psdir | --psdi | --psd | --ps)
1692     ac_prev=psdir ;;
1693   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1694     psdir=$ac_optarg ;;
1695
1696   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1697   | -silent | --silent | --silen | --sile | --sil)
1698     silent=yes ;;
1699
1700   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1701     ac_prev=sbindir ;;
1702   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1703   | --sbi=* | --sb=*)
1704     sbindir=$ac_optarg ;;
1705
1706   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1707   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1708   | --sharedst | --shareds | --shared | --share | --shar \
1709   | --sha | --sh)
1710     ac_prev=sharedstatedir ;;
1711   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1712   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1713   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1714   | --sha=* | --sh=*)
1715     sharedstatedir=$ac_optarg ;;
1716
1717   -site | --site | --sit)
1718     ac_prev=site ;;
1719   -site=* | --site=* | --sit=*)
1720     site=$ac_optarg ;;
1721
1722   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1723     ac_prev=srcdir ;;
1724   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1725     srcdir=$ac_optarg ;;
1726
1727   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1728   | --syscon | --sysco | --sysc | --sys | --sy)
1729     ac_prev=sysconfdir ;;
1730   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1731   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1732     sysconfdir=$ac_optarg ;;
1733
1734   -target | --target | --targe | --targ | --tar | --ta | --t)
1735     ac_prev=target_alias ;;
1736   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1737     target_alias=$ac_optarg ;;
1738
1739   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1740     verbose=yes ;;
1741
1742   -version | --version | --versio | --versi | --vers | -V)
1743     ac_init_version=: ;;
1744
1745   -with-* | --with-*)
1746     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1747     # Reject names that are not valid shell variable names.
1748     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1749       as_fn_error $? "invalid package name: $ac_useropt"
1750     ac_useropt_orig=$ac_useropt
1751     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1752     case $ac_user_opts in
1753       *"
1754 "with_$ac_useropt"
1755 "*) ;;
1756       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1757          ac_unrecognized_sep=', ';;
1758     esac
1759     eval with_$ac_useropt=\$ac_optarg ;;
1760
1761   -without-* | --without-*)
1762     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1763     # Reject names that are not valid shell variable names.
1764     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1765       as_fn_error $? "invalid package name: $ac_useropt"
1766     ac_useropt_orig=$ac_useropt
1767     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1768     case $ac_user_opts in
1769       *"
1770 "with_$ac_useropt"
1771 "*) ;;
1772       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1773          ac_unrecognized_sep=', ';;
1774     esac
1775     eval with_$ac_useropt=no ;;
1776
1777   --x)
1778     # Obsolete; use --with-x.
1779     with_x=yes ;;
1780
1781   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1782   | --x-incl | --x-inc | --x-in | --x-i)
1783     ac_prev=x_includes ;;
1784   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1785   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1786     x_includes=$ac_optarg ;;
1787
1788   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1789   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1790     ac_prev=x_libraries ;;
1791   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1792   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1793     x_libraries=$ac_optarg ;;
1794
1795   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1796 Try \`$0 --help' for more information"
1797     ;;
1798
1799   *=*)
1800     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1801     # Reject names that are not valid shell variable names.
1802     case $ac_envvar in #(
1803       '' | [0-9]* | *[!_$as_cr_alnum]* )
1804       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1805     esac
1806     eval $ac_envvar=\$ac_optarg
1807     export $ac_envvar ;;
1808
1809   *)
1810     # FIXME: should be removed in autoconf 3.0.
1811     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1812     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1813       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1814     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1815     ;;
1816
1817   esac
1818 done
1819
1820 if test -n "$ac_prev"; then
1821   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1822   as_fn_error $? "missing argument to $ac_option"
1823 fi
1824
1825 if test -n "$ac_unrecognized_opts"; then
1826   case $enable_option_checking in
1827     no) ;;
1828     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1829     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1830   esac
1831 fi
1832
1833 # Check all directory arguments for consistency.
1834 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1835                 datadir sysconfdir sharedstatedir localstatedir includedir \
1836                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1837                 libdir localedir mandir
1838 do
1839   eval ac_val=\$$ac_var
1840   # Remove trailing slashes.
1841   case $ac_val in
1842     */ )
1843       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1844       eval $ac_var=\$ac_val;;
1845   esac
1846   # Be sure to have absolute directory names.
1847   case $ac_val in
1848     [\\/$]* | ?:[\\/]* )  continue;;
1849     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1850   esac
1851   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1852 done
1853
1854 # There might be people who depend on the old broken behavior: `$host'
1855 # used to hold the argument of --host etc.
1856 # FIXME: To remove some day.
1857 build=$build_alias
1858 host=$host_alias
1859 target=$target_alias
1860
1861 # FIXME: To remove some day.
1862 if test "x$host_alias" != x; then
1863   if test "x$build_alias" = x; then
1864     cross_compiling=maybe
1865     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1866     If a cross compiler is detected then cross compile mode will be used" >&2
1867   elif test "x$build_alias" != "x$host_alias"; then
1868     cross_compiling=yes
1869   fi
1870 fi
1871
1872 ac_tool_prefix=
1873 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1874
1875 test "$silent" = yes && exec 6>/dev/null
1876
1877
1878 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1879 ac_ls_di=`ls -di .` &&
1880 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1881   as_fn_error $? "working directory cannot be determined"
1882 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1883   as_fn_error $? "pwd does not report name of working directory"
1884
1885
1886 # Find the source files, if location was not specified.
1887 if test -z "$srcdir"; then
1888   ac_srcdir_defaulted=yes
1889   # Try the directory containing this script, then the parent directory.
1890   ac_confdir=`$as_dirname -- "$as_myself" ||
1891 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1892          X"$as_myself" : 'X\(//\)[^/]' \| \
1893          X"$as_myself" : 'X\(//\)$' \| \
1894          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1895 $as_echo X"$as_myself" |
1896     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1897             s//\1/
1898             q
1899           }
1900           /^X\(\/\/\)[^/].*/{
1901             s//\1/
1902             q
1903           }
1904           /^X\(\/\/\)$/{
1905             s//\1/
1906             q
1907           }
1908           /^X\(\/\).*/{
1909             s//\1/
1910             q
1911           }
1912           s/.*/./; q'`
1913   srcdir=$ac_confdir
1914   if test ! -r "$srcdir/$ac_unique_file"; then
1915     srcdir=..
1916   fi
1917 else
1918   ac_srcdir_defaulted=no
1919 fi
1920 if test ! -r "$srcdir/$ac_unique_file"; then
1921   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1922   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1923 fi
1924 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1925 ac_abs_confdir=`(
1926         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1927         pwd)`
1928 # When building in place, set srcdir=.
1929 if test "$ac_abs_confdir" = "$ac_pwd"; then
1930   srcdir=.
1931 fi
1932 # Remove unnecessary trailing slashes from srcdir.
1933 # Double slashes in file names in object file debugging info
1934 # mess up M-x gdb in Emacs.
1935 case $srcdir in
1936 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1937 esac
1938 for ac_var in $ac_precious_vars; do
1939   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1940   eval ac_env_${ac_var}_value=\$${ac_var}
1941   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1942   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1943 done
1944
1945 #
1946 # Report the --help message.
1947 #
1948 if test "$ac_init_help" = "long"; then
1949   # Omit some internal or obsolete options to make the list less imposing.
1950   # This message is too long to be a string in the A/UX 3.1 sh.
1951   cat <<_ACEOF
1952 \`configure' configures wxWidgets 2.9.4 to adapt to many kinds of systems.
1953
1954 Usage: $0 [OPTION]... [VAR=VALUE]...
1955
1956 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1957 VAR=VALUE.  See below for descriptions of some of the useful variables.
1958
1959 Defaults for the options are specified in brackets.
1960
1961 Configuration:
1962   -h, --help              display this help and exit
1963       --help=short        display options specific to this package
1964       --help=recursive    display the short help of all the included packages
1965   -V, --version           display version information and exit
1966   -q, --quiet, --silent   do not print \`checking ...' messages
1967       --cache-file=FILE   cache test results in FILE [disabled]
1968   -C, --config-cache      alias for \`--cache-file=config.cache'
1969   -n, --no-create         do not create output files
1970       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1971
1972 Installation directories:
1973   --prefix=PREFIX         install architecture-independent files in PREFIX
1974                           [$ac_default_prefix]
1975   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1976                           [PREFIX]
1977
1978 By default, \`make install' will install all the files in
1979 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1980 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1981 for instance \`--prefix=\$HOME'.
1982
1983 For better control, use the options below.
1984
1985 Fine tuning of the installation directories:
1986   --bindir=DIR            user executables [EPREFIX/bin]
1987   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1988   --libexecdir=DIR        program executables [EPREFIX/libexec]
1989   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1990   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1991   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1992   --libdir=DIR            object code libraries [EPREFIX/lib]
1993   --includedir=DIR        C header files [PREFIX/include]
1994   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1995   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1996   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1997   --infodir=DIR           info documentation [DATAROOTDIR/info]
1998   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1999   --mandir=DIR            man documentation [DATAROOTDIR/man]
2000   --docdir=DIR            documentation root [DATAROOTDIR/doc/wxwidgets]
2001   --htmldir=DIR           html documentation [DOCDIR]
2002   --dvidir=DIR            dvi documentation [DOCDIR]
2003   --pdfdir=DIR            pdf documentation [DOCDIR]
2004   --psdir=DIR             ps documentation [DOCDIR]
2005 _ACEOF
2006
2007   cat <<\_ACEOF
2008
2009 X features:
2010   --x-includes=DIR    X include files are in DIR
2011   --x-libraries=DIR   X library files are in DIR
2012
2013 System types:
2014   --build=BUILD     configure for building on BUILD [guessed]
2015   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
2016 _ACEOF
2017 fi
2018
2019 if test -n "$ac_init_help"; then
2020   case $ac_init_help in
2021      short | recursive ) echo "Configuration of wxWidgets 2.9.4:";;
2022    esac
2023   cat <<\_ACEOF
2024
2025 Optional Features:
2026   --disable-option-checking  ignore unrecognized --enable/--with options
2027   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
2028   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
2029   --disable-gui           don't build GUI parts of the library
2030   --enable-monolithic     build wxWidgets as single library
2031   --enable-plugins        build parts of wxWidgets as loadable components
2032   --enable-official_build official build of wxWidgets (win32 DLL only)
2033   --enable-vendor=VENDOR  vendor name (win32 DLL only)
2034   --disable-all-features  disable all optional features to build minimal library
2035   --enable-universal      use wxWidgets GUI controls instead of native ones
2036   --enable-nanox          use NanoX
2037   --disable-gtk2          use GTK+ 1.2 instead of 2.0
2038   --enable-gpe            use GNOME PDA Environment features if possible
2039   --enable-debug          build library for debugging
2040   --disable-debug_flag    disable all debugging support
2041   --enable-debug_info     generate debug information
2042   --enable-debug_gdb      create code with extra GDB debugging information
2043   --enable-debug_cntxt    obsolete, don't use: use wxDebugContext
2044   --enable-mem_tracing    obsolete, don't use: create code with memory tracing
2045   --disable-shared        create static library instead of shared
2046   --enable-stl            use standard C++ classes for everything
2047   --enable-std_containers use standard C++ container classes
2048   --enable-std_iostreams  use standard C++ stream classes
2049   --enable-std_string     use standard C++ string classes
2050  --enable-std_string_conv_in_wxstring     provide implicit conversion to std::string in wxString
2051   --disable-unicode       compile without Unicode support
2052   --enable-mslu           use MS Layer for Unicode on Windows 9x (Win32 only)
2053   --enable-utf8           use UTF-8 representation for strings (Unix only)
2054   --enable-utf8only       only support UTF-8 locales in UTF-8 build (Unix only)
2055   --enable-extended_rtti  use extended RTTI (XTI)
2056   --enable-omf            use OMF object format
2057   --disable-optimise      compile without optimisations
2058   --enable-profile        create code with profiling information
2059   --enable-no_rtti        create code without RTTI information
2060   --enable-no_exceptions  create code without C++ exceptions handling
2061   --enable-permissive     compile code disregarding strict ANSI
2062   --enable-no_deps        create code without dependency information
2063   --disable-vararg_macros don't use vararg macros, even if they are supported
2064   --enable-universal_binary=archs create universal binary for the specified (or all supported) architectures
2065   --enable-macosx_arch=ARCH  build for just the specified architecture
2066   --enable-compat26       enable wxWidgets 2.6 compatibility
2067   --disable-compat28      disable wxWidgets 2.8 compatibility
2068   --disable-rpath         disable use of rpath for uninstalled builds
2069   --enable-objc_uniquifying enable Objective-C class name uniquifying
2070   --disable-visibility    disable use of ELF symbols visibility even if supported
2071   --disable-tls           disable use of compiler TLS support
2072   --enable-intl           use internationalization system
2073   --enable-xlocale        use x-locale support (requires wxLocale)
2074   --enable-config         use wxConfig (and derived) classes
2075   --enable-protocols      use wxProtocol and derived classes
2076   --enable-ftp            use wxFTP (requires wxProtocol
2077   --enable-http           use wxHTTP (requires wxProtocol
2078   --enable-fileproto      use wxFileProto class (requires wxProtocol
2079   --enable-sockets        use socket/network classes
2080   --enable-ipv6           enable IPv6 support in wxSocket
2081   --enable-ole            use OLE classes (Win32 only)
2082   --enable-dataobj        use data object classes
2083   --enable-ipc            use interprocess communication (wxSocket etc.)
2084   --enable-baseevtloop    use event loop in console programs too
2085   --enable-epollloop      use wxEpollDispatcher class (Linux only)
2086   --enable-selectloop     use wxSelectDispatcher class
2087   --enable-any            use wxAny class
2088   --enable-apple_ieee     use the Apple IEEE codec
2089   --enable-arcstream      use wxArchive streams
2090   --enable-base64         use base64 encoding/decoding functions
2091   --enable-backtrace      use wxStackWalker class for getting backtraces
2092   --enable-catch_segvs    catch signals in wxApp::OnFatalException (Unix only)
2093   --enable-cmdline        use wxCmdLineParser class
2094   --enable-datetime       use wxDateTime class
2095   --enable-debugreport    use wxDebugReport class
2096   --enable-dialupman      use dialup network classes
2097   --enable-dynlib         use wxLibrary class for DLL loading
2098   --enable-dynamicloader  use (new) wxDynamicLibrary class
2099   --enable-exceptions     build exception-safe library
2100   --enable-ffile          use wxFFile class
2101   --enable-file           use wxFile class
2102   --enable-filehistory    use wxFileHistory class
2103   --enable-filesystem     use virtual file systems classes
2104   --enable-fontenum       use wxFontEnumerator class
2105   --enable-fontmap        use font encodings conversion classes
2106   --enable-fs_archive     use virtual archive filesystems
2107   --enable-fs_inet        use virtual HTTP/FTP filesystems
2108   --enable-fs_zip         now replaced by fs_archive
2109   --enable-fswatcher      use wxFileSystemWatcher class
2110   --enable-geometry       use geometry class
2111   --enable-log            use logging system
2112   --enable-longlong       use wxLongLong class
2113   --enable-mimetype       use wxMimeTypesManager
2114   --enable-printfposparam use wxVsnprintf() which supports positional parameters
2115   --enable-snglinst       use wxSingleInstanceChecker class
2116   --enable-sound          use wxSound class
2117   --enable-stdpaths       use wxStandardPaths class
2118   --enable-stopwatch      use wxStopWatch class
2119   --enable-streams        use wxStream etc classes
2120   --enable-sysoptions     use wxSystemOptions
2121   --enable-tarstream      use wxTar streams
2122   --enable-textbuf        use wxTextBuffer class
2123   --enable-textfile       use wxTextFile class
2124   --enable-timer          use wxTimer class
2125   --enable-variant        use wxVariant class
2126   --enable-zipstream      use wxZip streams
2127   --enable-url            use wxURL class
2128   --enable-protocol       use wxProtocol class
2129   --enable-protocol-http  HTTP support in wxProtocol
2130   --enable-protocol-ftp   FTP support in wxProtocol
2131   --enable-protocol-file  FILE support in wxProtocol
2132   --enable-threads        use threads
2133   --enable-iniconf        use wxIniConfig (Win32 only)
2134   --enable-regkey         use wxRegKey class (Win32 only)
2135   --enable-docview        use document view architecture
2136   --enable-help           use help subsystem
2137   --enable-mshtmlhelp     use MS HTML Help (win32)
2138   --enable-html           use wxHTML sub-library
2139   --enable-htmlhelp       use wxHTML-based help
2140   --enable-xrc            use XRC resources sub-library
2141   --enable-aui            use AUI docking library
2142   --enable-propgrid       use wxPropertyGrid library
2143   --enable-ribbon         use wxRibbon library
2144   --enable-stc            use wxStyledTextCtrl library
2145   --enable-constraints    use layout-constraints system
2146   --enable-loggui         use standard GUI logger
2147   --enable-logwin         use wxLogWindow
2148   --enable-logdialog      use wxLogDialog
2149   --enable-mdi            use multiple document interface architecture
2150   --enable-mdidoc         use docview architecture with MDI
2151   --enable-mediactrl      use wxMediaCtrl class
2152   --enable-gstreamer8     force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
2153   --enable-richtext       use wxRichTextCtrl
2154   --enable-postscript     use wxPostscriptDC device context (default for gtk+)
2155   --enable-printarch      use printing architecture
2156   --enable-svg            use wxSVGFileDC device context
2157   --enable-webkit         use wxWebKitCtrl (Mac-only, use wxWebView instead)
2158   --enable-webview        use wxWebView library
2159   --enable-graphics_ctx   use graphics context 2D drawing API
2160   --enable-clipboard      use wxClipboard class
2161   --enable-dnd            use Drag'n'Drop classes
2162   --disable-controls      disable compilation of all standard controls
2163   --enable-markup         support wxControl::SetLabelMarkup
2164   --enable-accel          use accelerators
2165   --enable-animatectrl    use wxAnimationCtrl class
2166   --enable-bannerwindow   use wxBannerWindow class
2167   --enable-artstd         use standard XPM icons in wxArtProvider
2168   --enable-arttango       use Tango icons in wxArtProvider
2169   --enable-bmpbutton      use wxBitmapButton class
2170   --enable-bmpcombobox    use wxBitmapComboBox class
2171   --enable-button         use wxButton class
2172   --enable-calendar       use wxCalendarCtrl class
2173   --enable-caret          use wxCaret class
2174   --enable-checkbox       use wxCheckBox class
2175   --enable-checklst       use wxCheckListBox (listbox with checkboxes) class
2176   --enable-choice         use wxChoice class
2177   --enable-choicebook     use wxChoicebook class
2178   --enable-collpane       use wxCollapsiblePane class
2179   --enable-colourpicker   use wxColourPickerCtrl class
2180   --enable-combobox       use wxComboBox class
2181   --enable-comboctrl      use wxComboCtrl class
2182   --enable-commandlinkbutton      use wxCommmandLinkButton class
2183   --enable-dataviewctrl   use wxDataViewCtrl class
2184   --enable-datepick       use wxDatePickerCtrl class
2185   --enable-detect_sm      use code to detect X11 session manager
2186   --enable-dirpicker      use wxDirPickerCtrl class
2187   --enable-display        use wxDisplay class
2188   --enable-editablebox    use wxEditableListBox class
2189   --enable-filectrl       use wxFileCtrl class
2190   --enable-filepicker     use wxFilePickerCtrl class
2191   --enable-fontpicker     use wxFontPickerCtrl class
2192   --enable-gauge          use wxGauge class
2193   --enable-grid           use wxGrid class
2194   --enable-headerctrl     use wxHeaderCtrl class
2195   --enable-hyperlink      use wxHyperlinkCtrl class
2196   --enable-imaglist       use wxImageList class
2197   --enable-infobar        use wxInfoBar class
2198   --enable-listbook       use wxListbook class
2199   --enable-listbox        use wxListBox class
2200   --enable-listctrl       use wxListCtrl class
2201   --enable-notebook       use wxNotebook class
2202   --enable-notifmsg       use wxNotificationMessage class
2203   --enable-odcombobox     use wxOwnerDrawnComboBox class
2204   --enable-popupwin       use wxPopUpWindow class
2205   --enable-radiobox       use wxRadioBox class
2206   --enable-radiobtn       use wxRadioButton class
2207   --enable-richmsgdlg     use wxRichMessageDialog class
2208   --enable-richtooltip    use wxRichToolTip class
2209   --enable-rearrangectrl  use wxRearrangeList/Ctrl/Dialog
2210   --enable-sash           use wxSashWindow class
2211   --enable-scrollbar      use wxScrollBar class and scrollable windows
2212   --enable-searchctrl     use wxSearchCtrl class
2213   --enable-slider         use wxSlider class
2214   --enable-spinbtn        use wxSpinButton class
2215   --enable-spinctrl       use wxSpinCtrl class
2216   --enable-splitter       use wxSplitterWindow class
2217   --enable-statbmp        use wxStaticBitmap class
2218   --enable-statbox        use wxStaticBox class
2219   --enable-statline       use wxStaticLine class
2220   --enable-stattext       use wxStaticText class
2221   --enable-statusbar      use wxStatusBar class
2222   --enable-taskbaricon    use wxTaskBarIcon class
2223   --enable-tbarnative     use native wxToolBar class
2224   --enable-textctrl       use wxTextCtrl class
2225   --enable-timepick       use wxTimePickerCtrl class
2226   --enable-tipwindow      use wxTipWindow class
2227   --enable-togglebtn      use wxToggleButton class
2228   --enable-toolbar        use wxToolBar class
2229   --enable-toolbook       use wxToolbook class
2230   --enable-treebook       use wxTreebook class
2231   --enable-treectrl       use wxTreeCtrl class
2232   --enable-treelist       use wxTreeListCtrl class
2233   --enable-commondlg      use all common dialogs
2234   --enable-aboutdlg       use wxAboutBox
2235   --enable-choicedlg      use wxChoiceDialog
2236   --enable-coldlg         use wxColourDialog
2237   --enable-filedlg        use wxFileDialog
2238   --enable-finddlg        use wxFindReplaceDialog
2239   --enable-fontdlg        use wxFontDialog
2240   --enable-dirdlg         use wxDirDialog
2241   --enable-msgdlg         use wxMessageDialog
2242   --enable-numberdlg      use wxNumberEntryDialog
2243   --enable-splash         use wxSplashScreen
2244   --enable-textdlg        use wxTextDialog
2245   --enable-tipdlg         use startup tips
2246   --enable-progressdlg    use wxProgressDialog
2247   --enable-wizarddlg      use wxWizard
2248   --enable-menus          use wxMenu/wxMenuBar/wxMenuItem classes
2249   --enable-miniframe      use wxMiniFrame class
2250   --enable-tooltips       use wxToolTip class
2251   --enable-splines        use spline drawing code
2252   --enable-mousewheel     use mousewheel
2253   --enable-validators     use wxValidator and derived classes
2254   --enable-busyinfo       use wxBusyInfo
2255   --enable-hotkey         use wxWindow::RegisterHotKey()
2256   --enable-joystick       use wxJoystick
2257   --enable-metafiles      use wxMetaFile
2258   --enable-dragimage      use wxDragImage
2259   --enable-accessibility  enable accessibility support
2260   --enable-uiactionsim    use wxUIActionSimulator (experimental)
2261   --enable-dctransform    use wxDC::SetTransformMatrix and related
2262   --enable-webview-webkit use wxWebView WebKit backend
2263   --enable-palette        use wxPalette class
2264   --enable-image          use wxImage class
2265   --enable-gif            use gif images (GIF file format)
2266   --enable-pcx            use pcx images (PCX file format)
2267   --enable-tga            use tga images (TGA file format)
2268   --enable-iff            use iff images (IFF file format)
2269   --enable-pnm            use pnm images (PNM file format)
2270   --enable-xpm            use xpm images (XPM file format)
2271   --enable-ico_cur        use Windows ICO and CUR formats
2272   --enable-dccache        cache temporary wxDC objects (Win32 only)
2273   --enable-ps-in-msw      use PS printing in wxMSW (Win32 only)
2274   --enable-ownerdrawn     use owner drawn controls (Win32 and OS/2 only)
2275   --enable-uxtheme        enable support for Windows XP themed look (Win32 only)
2276   --enable-wxdib          use wxDIB class (Win32 only)
2277   --enable-webview-ie     use wxWebView IE backend (Win32 only)
2278   --enable-autoidman      use automatic ids management
2279   --disable-largefile     omit support for large files
2280   --disable-gtktest       do not try to compile and run a test GTK+ program
2281   --disable-gtktest       Do not try to compile and run a test GTK program
2282   --disable-sdltest       Do not try to compile and run a test SDL program
2283   --enable-omf            use OMF object format (OS/2)
2284   --disable-dependency-tracking
2285                           don't use dependency tracking even if the compiler
2286                           can
2287   --disable-precomp-headers
2288                           don't use precompiled headers even if compiler can
2289
2290 Optional Packages:
2291   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
2292   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
2293   --without-subdirs       don't generate makefiles for samples/demos/...
2294   --with-flavour=NAME     specify a name to identify this build
2295   --with-themes=all|list  use only the specified comma-separated list of wxUniversal themes
2296   --with-gtk[=VERSION]    use GTK+, VERSION can be 2 (default), 1 or "any"
2297   --with-motif            use Motif/Lesstif
2298   --with-osx_carbon       use Mac OS X (Carbon)
2299   --with-osx_cocoa        use Mac OS X (Cocoa)
2300   --with-osx_iphone       use iPhone OS X port
2301   --with-osx              use Mac OS X (default port, currently Carbon)
2302   --with-carbon           same as --with-osx_carbon
2303   --with-cocoa            same as --with-osx_cocoa
2304   --with-iphone           same as --with-osx_iphone
2305   --with-mac              same as --with-osx
2306   --with-old_cocoa        use old, deprecated, Cocoa port
2307   --with-wine             use Wine
2308   --with-msw              use MS-Windows
2309   --with-pm               use OS/2 Presentation Manager
2310   --with-directfb         use DirectFB
2311   --with-microwin         use MicroWindows
2312   --with-x11              use X11
2313   --with-libpng           use libpng (PNG image format)
2314   --with-libjpeg          use libjpeg (JPEG file format)
2315   --with-libtiff          use libtiff (TIFF file format)
2316   --with-libxpm           use libxpm (XPM file format)
2317   --with-libiconv         use libiconv (character conversion)
2318   --with-libmspack        use libmspack (CHM help files loading)
2319   --without-gtkprint      don't use GTK printing support
2320   --without-gnomeprint    don't use GNOME printing libraries
2321   --with-gnomevfs         use GNOME VFS for associating MIME types
2322   --with-hildon           use Hildon framework for Nokia 770/800/810
2323   --with-opengl           use OpenGL (or Mesa)
2324   --with-dmalloc          use dmalloc library (http://dmalloc.com/)
2325   --with-sdl              use SDL for audio on Unix
2326   --with-regex            enable support for wxRegEx class
2327   --with-zlib             use zlib for LZW compression
2328   --with-expat            enable XML support using expat parser
2329   --with-macosx-sdk=PATH  use an OS X SDK at PATH
2330   --with-macosx-version-min=VER   build binaries which require at least this OS X version
2331   --with-gtk-prefix=PFX   Prefix where GTK is installed (optional)
2332   --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
2333   --with-x                use the X Window System
2334   --with-libiconv-prefix=DIR  search for libiconv in DIR/include and DIR/lib
2335   --with-sdl-prefix=PFX   Prefix where SDL is installed (optional)
2336   --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
2337   --with-cppunit-prefix=PFX   Prefix where CppUnit is installed (optional)
2338   --with-cppunit-exec-prefix=PFX  Exec prefix where CppUnit is installed (optional)
2339
2340 Some influential environment variables:
2341   CC          C compiler command
2342   CFLAGS      C compiler flags
2343   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
2344               nonstandard directory <lib dir>
2345   LIBS        libraries to pass to the linker, e.g. -l<library>
2346   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2347               you have headers in a nonstandard directory <include dir>
2348   CPP         C preprocessor
2349   CXX         C++ compiler command
2350   CXXFLAGS    C++ compiler flags
2351   CXXCPP      C++ preprocessor
2352   PKG_CONFIG  path to pkg-config utility
2353   DIRECTFB_CFLAGS
2354               C compiler flags for DIRECTFB, overriding pkg-config
2355   DIRECTFB_LIBS
2356               linker flags for DIRECTFB, overriding pkg-config
2357   XMKMF       Path to xmkmf, Makefile generator for X Window System
2358   PANGOX_CFLAGS
2359               C compiler flags for PANGOX, overriding pkg-config
2360   PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
2361   PANGOFT2_CFLAGS
2362               C compiler flags for PANGOFT2, overriding pkg-config
2363   PANGOFT2_LIBS
2364               linker flags for PANGOFT2, overriding pkg-config
2365   PANGOXFT_CFLAGS
2366               C compiler flags for PANGOXFT, overriding pkg-config
2367   PANGOXFT_LIBS
2368               linker flags for PANGOXFT, overriding pkg-config
2369   Xinerama_CFLAGS
2370               C compiler flags for Xinerama, overriding pkg-config
2371   Xinerama_LIBS
2372               linker flags for Xinerama, overriding pkg-config
2373   Xxf86vm_CFLAGS
2374               C compiler flags for Xxf86vm, overriding pkg-config
2375   Xxf86vm_LIBS
2376               linker flags for Xxf86vm, overriding pkg-config
2377   SM_CFLAGS   C compiler flags for SM, overriding pkg-config
2378   SM_LIBS     linker flags for SM, overriding pkg-config
2379   GL_CFLAGS   C compiler flags for GL, overriding pkg-config
2380   GL_LIBS     linker flags for GL, overriding pkg-config
2381   GLU_CFLAGS  C compiler flags for GLU, overriding pkg-config
2382   GLU_LIBS    linker flags for GLU, overriding pkg-config
2383   MesaGL_CFLAGS
2384               C compiler flags for MesaGL, overriding pkg-config
2385   MesaGL_LIBS linker flags for MesaGL, overriding pkg-config
2386   GTKPRINT_CFLAGS
2387               C compiler flags for GTKPRINT, overriding pkg-config
2388   GTKPRINT_LIBS
2389               linker flags for GTKPRINT, overriding pkg-config
2390   LIBGNOMEPRINTUI_CFLAGS
2391               C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
2392   LIBGNOMEPRINTUI_LIBS
2393               linker flags for LIBGNOMEPRINTUI, overriding pkg-config
2394   GNOMEVFS_CFLAGS
2395               C compiler flags for GNOMEVFS, overriding pkg-config
2396   GNOMEVFS_LIBS
2397               linker flags for GNOMEVFS, overriding pkg-config
2398   HILDON_CFLAGS
2399               C compiler flags for HILDON, overriding pkg-config
2400   HILDON_LIBS linker flags for HILDON, overriding pkg-config
2401   HILDON2_CFLAGS
2402               C compiler flags for HILDON2, overriding pkg-config
2403   HILDON2_LIBS
2404               linker flags for HILDON2, overriding pkg-config
2405   WEBKIT_CFLAGS
2406               C compiler flags for WEBKIT, overriding pkg-config
2407   WEBKIT_LIBS linker flags for WEBKIT, overriding pkg-config
2408   CAIRO_CFLAGS
2409               C compiler flags for CAIRO, overriding pkg-config
2410   CAIRO_LIBS  linker flags for CAIRO, overriding pkg-config
2411   GST_CFLAGS  C compiler flags for GST, overriding pkg-config
2412   GST_LIBS    linker flags for GST, overriding pkg-config
2413
2414 Use these variables to override the choices made by `configure' or to help
2415 it to find libraries and programs with nonstandard names/locations.
2416
2417 Report bugs to <wx-dev@lists.wxwidgets.org>.
2418 _ACEOF
2419 ac_status=$?
2420 fi
2421
2422 if test "$ac_init_help" = "recursive"; then
2423   # If there are subdirs, report their specific --help.
2424   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2425     test -d "$ac_dir" ||
2426       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2427       continue
2428     ac_builddir=.
2429
2430 case "$ac_dir" in
2431 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2432 *)
2433   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2434   # A ".." for each directory in $ac_dir_suffix.
2435   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2436   case $ac_top_builddir_sub in
2437   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2438   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2439   esac ;;
2440 esac
2441 ac_abs_top_builddir=$ac_pwd
2442 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2443 # for backward compatibility:
2444 ac_top_builddir=$ac_top_build_prefix
2445
2446 case $srcdir in
2447   .)  # We are building in place.
2448     ac_srcdir=.
2449     ac_top_srcdir=$ac_top_builddir_sub
2450     ac_abs_top_srcdir=$ac_pwd ;;
2451   [\\/]* | ?:[\\/]* )  # Absolute name.
2452     ac_srcdir=$srcdir$ac_dir_suffix;
2453     ac_top_srcdir=$srcdir
2454     ac_abs_top_srcdir=$srcdir ;;
2455   *) # Relative name.
2456     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2457     ac_top_srcdir=$ac_top_build_prefix$srcdir
2458     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2459 esac
2460 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2461
2462     cd "$ac_dir" || { ac_status=$?; continue; }
2463     # Check for guested configure.
2464     if test -f "$ac_srcdir/configure.gnu"; then
2465       echo &&
2466       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2467     elif test -f "$ac_srcdir/configure"; then
2468       echo &&
2469       $SHELL "$ac_srcdir/configure" --help=recursive
2470     else
2471       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2472     fi || ac_status=$?
2473     cd "$ac_pwd" || { ac_status=$?; break; }
2474   done
2475 fi
2476
2477 test -n "$ac_init_help" && exit $ac_status
2478 if $ac_init_version; then
2479   cat <<\_ACEOF
2480 wxWidgets configure 2.9.4
2481 generated by GNU Autoconf 2.67
2482
2483 Copyright (C) 2010 Free Software Foundation, Inc.
2484 This configure script is free software; the Free Software Foundation
2485 gives unlimited permission to copy, distribute and modify it.
2486 _ACEOF
2487   exit
2488 fi
2489
2490 ## ------------------------ ##
2491 ## Autoconf initialization. ##
2492 ## ------------------------ ##
2493
2494 # ac_fn_c_try_compile LINENO
2495 # --------------------------
2496 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2497 ac_fn_c_try_compile ()
2498 {
2499   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2500   rm -f conftest.$ac_objext
2501   if { { ac_try="$ac_compile"
2502 case "(($ac_try" in
2503   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2504   *) ac_try_echo=$ac_try;;
2505 esac
2506 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2507 $as_echo "$ac_try_echo"; } >&5
2508   (eval "$ac_compile") 2>conftest.err
2509   ac_status=$?
2510   if test -s conftest.err; then
2511     grep -v '^ *+' conftest.err >conftest.er1
2512     cat conftest.er1 >&5
2513     mv -f conftest.er1 conftest.err
2514   fi
2515   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2516   test $ac_status = 0; } && {
2517          test -z "$ac_c_werror_flag" ||
2518          test ! -s conftest.err
2519        } && test -s conftest.$ac_objext; then :
2520   ac_retval=0
2521 else
2522   $as_echo "$as_me: failed program was:" >&5
2523 sed 's/^/| /' conftest.$ac_ext >&5
2524
2525         ac_retval=1
2526 fi
2527   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2528   as_fn_set_status $ac_retval
2529
2530 } # ac_fn_c_try_compile
2531
2532 # ac_fn_c_try_cpp LINENO
2533 # ----------------------
2534 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2535 ac_fn_c_try_cpp ()
2536 {
2537   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2538   if { { ac_try="$ac_cpp conftest.$ac_ext"
2539 case "(($ac_try" in
2540   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2541   *) ac_try_echo=$ac_try;;
2542 esac
2543 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2544 $as_echo "$ac_try_echo"; } >&5
2545   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2546   ac_status=$?
2547   if test -s conftest.err; then
2548     grep -v '^ *+' conftest.err >conftest.er1
2549     cat conftest.er1 >&5
2550     mv -f conftest.er1 conftest.err
2551   fi
2552   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2553   test $ac_status = 0; } > conftest.i && {
2554          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2555          test ! -s conftest.err
2556        }; then :
2557   ac_retval=0
2558 else
2559   $as_echo "$as_me: failed program was:" >&5
2560 sed 's/^/| /' conftest.$ac_ext >&5
2561
2562     ac_retval=1
2563 fi
2564   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2565   as_fn_set_status $ac_retval
2566
2567 } # ac_fn_c_try_cpp
2568
2569 # ac_fn_cxx_try_compile LINENO
2570 # ----------------------------
2571 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2572 ac_fn_cxx_try_compile ()
2573 {
2574   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2575   rm -f conftest.$ac_objext
2576   if { { ac_try="$ac_compile"
2577 case "(($ac_try" in
2578   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2579   *) ac_try_echo=$ac_try;;
2580 esac
2581 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2582 $as_echo "$ac_try_echo"; } >&5
2583   (eval "$ac_compile") 2>conftest.err
2584   ac_status=$?
2585   if test -s conftest.err; then
2586     grep -v '^ *+' conftest.err >conftest.er1
2587     cat conftest.er1 >&5
2588     mv -f conftest.er1 conftest.err
2589   fi
2590   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2591   test $ac_status = 0; } && {
2592          test -z "$ac_cxx_werror_flag" ||
2593          test ! -s conftest.err
2594        } && test -s conftest.$ac_objext; then :
2595   ac_retval=0
2596 else
2597   $as_echo "$as_me: failed program was:" >&5
2598 sed 's/^/| /' conftest.$ac_ext >&5
2599
2600         ac_retval=1
2601 fi
2602   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2603   as_fn_set_status $ac_retval
2604
2605 } # ac_fn_cxx_try_compile
2606
2607 # ac_fn_c_try_link LINENO
2608 # -----------------------
2609 # Try to link conftest.$ac_ext, and return whether this succeeded.
2610 ac_fn_c_try_link ()
2611 {
2612   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2613   rm -f conftest.$ac_objext conftest$ac_exeext
2614   if { { ac_try="$ac_link"
2615 case "(($ac_try" in
2616   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2617   *) ac_try_echo=$ac_try;;
2618 esac
2619 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2620 $as_echo "$ac_try_echo"; } >&5
2621   (eval "$ac_link") 2>conftest.err
2622   ac_status=$?
2623   if test -s conftest.err; then
2624     grep -v '^ *+' conftest.err >conftest.er1
2625     cat conftest.er1 >&5
2626     mv -f conftest.er1 conftest.err
2627   fi
2628   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2629   test $ac_status = 0; } && {
2630          test -z "$ac_c_werror_flag" ||
2631          test ! -s conftest.err
2632        } && test -s conftest$ac_exeext && {
2633          test "$cross_compiling" = yes ||
2634          $as_test_x conftest$ac_exeext
2635        }; then :
2636   ac_retval=0
2637 else
2638   $as_echo "$as_me: failed program was:" >&5
2639 sed 's/^/| /' conftest.$ac_ext >&5
2640
2641         ac_retval=1
2642 fi
2643   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2644   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2645   # interfere with the next link command; also delete a directory that is
2646   # left behind by Apple's compiler.  We do this before executing the actions.
2647   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2648   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2649   as_fn_set_status $ac_retval
2650
2651 } # ac_fn_c_try_link
2652
2653 # ac_fn_cxx_try_link LINENO
2654 # -------------------------
2655 # Try to link conftest.$ac_ext, and return whether this succeeded.
2656 ac_fn_cxx_try_link ()
2657 {
2658   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2659   rm -f conftest.$ac_objext conftest$ac_exeext
2660   if { { ac_try="$ac_link"
2661 case "(($ac_try" in
2662   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2663   *) ac_try_echo=$ac_try;;
2664 esac
2665 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2666 $as_echo "$ac_try_echo"; } >&5
2667   (eval "$ac_link") 2>conftest.err
2668   ac_status=$?
2669   if test -s conftest.err; then
2670     grep -v '^ *+' conftest.err >conftest.er1
2671     cat conftest.er1 >&5
2672     mv -f conftest.er1 conftest.err
2673   fi
2674   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2675   test $ac_status = 0; } && {
2676          test -z "$ac_cxx_werror_flag" ||
2677          test ! -s conftest.err
2678        } && test -s conftest$ac_exeext && {
2679          test "$cross_compiling" = yes ||
2680          $as_test_x conftest$ac_exeext
2681        }; then :
2682   ac_retval=0
2683 else
2684   $as_echo "$as_me: failed program was:" >&5
2685 sed 's/^/| /' conftest.$ac_ext >&5
2686
2687         ac_retval=1
2688 fi
2689   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2690   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2691   # interfere with the next link command; also delete a directory that is
2692   # left behind by Apple's compiler.  We do this before executing the actions.
2693   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2694   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2695   as_fn_set_status $ac_retval
2696
2697 } # ac_fn_cxx_try_link
2698
2699 # ac_fn_c_try_run LINENO
2700 # ----------------------
2701 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2702 # that executables *can* be run.
2703 ac_fn_c_try_run ()
2704 {
2705   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2706   if { { ac_try="$ac_link"
2707 case "(($ac_try" in
2708   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2709   *) ac_try_echo=$ac_try;;
2710 esac
2711 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2712 $as_echo "$ac_try_echo"; } >&5
2713   (eval "$ac_link") 2>&5
2714   ac_status=$?
2715   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2716   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2717   { { case "(($ac_try" in
2718   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2719   *) ac_try_echo=$ac_try;;
2720 esac
2721 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2722 $as_echo "$ac_try_echo"; } >&5
2723   (eval "$ac_try") 2>&5
2724   ac_status=$?
2725   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2726   test $ac_status = 0; }; }; then :
2727   ac_retval=0
2728 else
2729   $as_echo "$as_me: program exited with status $ac_status" >&5
2730        $as_echo "$as_me: failed program was:" >&5
2731 sed 's/^/| /' conftest.$ac_ext >&5
2732
2733        ac_retval=$ac_status
2734 fi
2735   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2736   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2737   as_fn_set_status $ac_retval
2738
2739 } # ac_fn_c_try_run
2740
2741 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2742 # -------------------------------------------------------
2743 # Tests whether HEADER exists and can be compiled using the include files in
2744 # INCLUDES, setting the cache variable VAR accordingly.
2745 ac_fn_c_check_header_compile ()
2746 {
2747   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2748   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2749 $as_echo_n "checking for $2... " >&6; }
2750 if eval "test \"\${$3+set}\"" = set; then :
2751   $as_echo_n "(cached) " >&6
2752 else
2753   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2754 /* end confdefs.h.  */
2755 $4
2756 #include <$2>
2757 _ACEOF
2758 if ac_fn_c_try_compile "$LINENO"; then :
2759   eval "$3=yes"
2760 else
2761   eval "$3=no"
2762 fi
2763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2764 fi
2765 eval ac_res=\$$3
2766                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2767 $as_echo "$ac_res" >&6; }
2768   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2769
2770 } # ac_fn_c_check_header_compile
2771
2772 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2773 # --------------------------------------------
2774 # Tries to find the compile-time value of EXPR in a program that includes
2775 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2776 # computed
2777 ac_fn_c_compute_int ()
2778 {
2779   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2780   if test "$cross_compiling" = yes; then
2781     # Depending upon the size, compute the lo and hi bounds.
2782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2783 /* end confdefs.h.  */
2784 $4
2785 int
2786 main ()
2787 {
2788 static int test_array [1 - 2 * !(($2) >= 0)];
2789 test_array [0] = 0
2790
2791   ;
2792   return 0;
2793 }
2794 _ACEOF
2795 if ac_fn_c_try_compile "$LINENO"; then :
2796   ac_lo=0 ac_mid=0
2797   while :; do
2798     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2799 /* end confdefs.h.  */
2800 $4
2801 int
2802 main ()
2803 {
2804 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2805 test_array [0] = 0
2806
2807   ;
2808   return 0;
2809 }
2810 _ACEOF
2811 if ac_fn_c_try_compile "$LINENO"; then :
2812   ac_hi=$ac_mid; break
2813 else
2814   as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2815                         if test $ac_lo -le $ac_mid; then
2816                           ac_lo= ac_hi=
2817                           break
2818                         fi
2819                         as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2820 fi
2821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2822   done
2823 else
2824   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2825 /* end confdefs.h.  */
2826 $4
2827 int
2828 main ()
2829 {
2830 static int test_array [1 - 2 * !(($2) < 0)];
2831 test_array [0] = 0
2832
2833   ;
2834   return 0;
2835 }
2836 _ACEOF
2837 if ac_fn_c_try_compile "$LINENO"; then :
2838   ac_hi=-1 ac_mid=-1
2839   while :; do
2840     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2841 /* end confdefs.h.  */
2842 $4
2843 int
2844 main ()
2845 {
2846 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2847 test_array [0] = 0
2848
2849   ;
2850   return 0;
2851 }
2852 _ACEOF
2853 if ac_fn_c_try_compile "$LINENO"; then :
2854   ac_lo=$ac_mid; break
2855 else
2856   as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2857                         if test $ac_mid -le $ac_hi; then
2858                           ac_lo= ac_hi=
2859                           break
2860                         fi
2861                         as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2862 fi
2863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2864   done
2865 else
2866   ac_lo= ac_hi=
2867 fi
2868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2869 fi
2870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2871 # Binary search between lo and hi bounds.
2872 while test "x$ac_lo" != "x$ac_hi"; do
2873   as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2874   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2875 /* end confdefs.h.  */
2876 $4
2877 int
2878 main ()
2879 {
2880 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2881 test_array [0] = 0
2882
2883   ;
2884   return 0;
2885 }
2886 _ACEOF
2887 if ac_fn_c_try_compile "$LINENO"; then :
2888   ac_hi=$ac_mid
2889 else
2890   as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2891 fi
2892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2893 done
2894 case $ac_lo in #((
2895 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2896 '') ac_retval=1 ;;
2897 esac
2898   else
2899     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2900 /* end confdefs.h.  */
2901 $4
2902 static long int longval () { return $2; }
2903 static unsigned long int ulongval () { return $2; }
2904 #include <stdio.h>
2905 #include <stdlib.h>
2906 int
2907 main ()
2908 {
2909
2910   FILE *f = fopen ("conftest.val", "w");
2911   if (! f)
2912     return 1;
2913   if (($2) < 0)
2914     {
2915       long int i = longval ();
2916       if (i != ($2))
2917         return 1;
2918       fprintf (f, "%ld", i);
2919     }
2920   else
2921     {
2922       unsigned long int i = ulongval ();
2923       if (i != ($2))
2924         return 1;
2925       fprintf (f, "%lu", i);
2926     }
2927   /* Do not output a trailing newline, as this causes \r\n confusion
2928      on some platforms.  */
2929   return ferror (f) || fclose (f) != 0;
2930
2931   ;
2932   return 0;
2933 }
2934 _ACEOF
2935 if ac_fn_c_try_run "$LINENO"; then :
2936   echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2937 else
2938   ac_retval=1
2939 fi
2940 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2941   conftest.$ac_objext conftest.beam conftest.$ac_ext
2942 rm -f conftest.val
2943
2944   fi
2945   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2946   as_fn_set_status $ac_retval
2947
2948 } # ac_fn_c_compute_int
2949
2950 # ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES
2951 # ---------------------------------------------------------
2952 # Tests whether HEADER exists and can be compiled using the include files in
2953 # INCLUDES, setting the cache variable VAR accordingly.
2954 ac_fn_cxx_check_header_compile ()
2955 {
2956   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2957   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2958 $as_echo_n "checking for $2... " >&6; }
2959 if eval "test \"\${$3+set}\"" = set; then :
2960   $as_echo_n "(cached) " >&6
2961 else
2962   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2963 /* end confdefs.h.  */
2964 $4
2965 #include <$2>
2966 _ACEOF
2967 if ac_fn_cxx_try_compile "$LINENO"; then :
2968   eval "$3=yes"
2969 else
2970   eval "$3=no"
2971 fi
2972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2973 fi
2974 eval ac_res=\$$3
2975                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2976 $as_echo "$ac_res" >&6; }
2977   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2978
2979 } # ac_fn_cxx_check_header_compile
2980
2981 # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
2982 # ---------------------------------------------
2983 # Tests whether TYPE exists after having included INCLUDES, setting cache
2984 # variable VAR accordingly.
2985 ac_fn_cxx_check_type ()
2986 {
2987   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2988   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2989 $as_echo_n "checking for $2... " >&6; }
2990 if eval "test \"\${$3+set}\"" = set; then :
2991   $as_echo_n "(cached) " >&6
2992 else
2993   eval "$3=no"
2994   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2995 /* end confdefs.h.  */
2996 $4
2997 int
2998 main ()
2999 {
3000 if (sizeof ($2))
3001          return 0;
3002   ;
3003   return 0;
3004 }
3005 _ACEOF
3006 if ac_fn_cxx_try_compile "$LINENO"; then :
3007   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3008 /* end confdefs.h.  */
3009 $4
3010 int
3011 main ()
3012 {
3013 if (sizeof (($2)))
3014             return 0;
3015   ;
3016   return 0;
3017 }
3018 _ACEOF
3019 if ac_fn_cxx_try_compile "$LINENO"; then :
3020
3021 else
3022   eval "$3=yes"
3023 fi
3024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3025 fi
3026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3027 fi
3028 eval ac_res=\$$3
3029                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3030 $as_echo "$ac_res" >&6; }
3031   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
3032
3033 } # ac_fn_cxx_check_type
3034
3035 # ac_fn_cxx_try_cpp LINENO
3036 # ------------------------
3037 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3038 ac_fn_cxx_try_cpp ()
3039 {
3040   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3041   if { { ac_try="$ac_cpp conftest.$ac_ext"
3042 case "(($ac_try" in
3043   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3044   *) ac_try_echo=$ac_try;;
3045 esac
3046 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3047 $as_echo "$ac_try_echo"; } >&5
3048   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3049   ac_status=$?
3050   if test -s conftest.err; then
3051     grep -v '^ *+' conftest.err >conftest.er1
3052     cat conftest.er1 >&5
3053     mv -f conftest.er1 conftest.err
3054   fi
3055   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3056   test $ac_status = 0; } > conftest.i && {
3057          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
3058          test ! -s conftest.err
3059        }; then :
3060   ac_retval=0
3061 else
3062   $as_echo "$as_me: failed program was:" >&5
3063 sed 's/^/| /' conftest.$ac_ext >&5
3064
3065     ac_retval=1
3066 fi
3067   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
3068   as_fn_set_status $ac_retval
3069
3070 } # ac_fn_cxx_try_cpp
3071
3072 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
3073 # ---------------------------------------------------------
3074 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3075 # the include files in INCLUDES and setting the cache variable VAR
3076 # accordingly.
3077 ac_fn_cxx_check_header_mongrel ()
3078 {
3079   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3080   if eval "test \"\${$3+set}\"" = set; then :
3081   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3082 $as_echo_n "checking for $2... " >&6; }
3083 if eval "test \"\${$3+set}\"" = set; then :
3084   $as_echo_n "(cached) " >&6
3085 fi
3086 eval ac_res=\$$3
3087                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3088 $as_echo "$ac_res" >&6; }
3089 else
3090   # Is the header compilable?
3091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3092 $as_echo_n "checking $2 usability... " >&6; }
3093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3094 /* end confdefs.h.  */
3095 $4
3096 #include <$2>
3097 _ACEOF
3098 if ac_fn_cxx_try_compile "$LINENO"; then :
3099   ac_header_compiler=yes
3100 else
3101   ac_header_compiler=no
3102 fi
3103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3105 $as_echo "$ac_header_compiler" >&6; }
3106
3107 # Is the header present?
3108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3109 $as_echo_n "checking $2 presence... " >&6; }
3110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3111 /* end confdefs.h.  */
3112 #include <$2>
3113 _ACEOF
3114 if ac_fn_cxx_try_cpp "$LINENO"; then :
3115   ac_header_preproc=yes
3116 else
3117   ac_header_preproc=no
3118 fi
3119 rm -f conftest.err conftest.i conftest.$ac_ext
3120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3121 $as_echo "$ac_header_preproc" >&6; }
3122
3123 # So?  What about this header?
3124 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
3125   yes:no: )
3126     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3127 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3128     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3129 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3130     ;;
3131   no:yes:* )
3132     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3133 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3134     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
3135 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
3136     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3137 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3138     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
3139 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
3140     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3141 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3142 ( $as_echo "## ----------------------------------------- ##
3143 ## Report this to wx-dev@lists.wxwidgets.org ##
3144 ## ----------------------------------------- ##"
3145      ) | sed "s/^/$as_me: WARNING:     /" >&2
3146     ;;
3147 esac
3148   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3149 $as_echo_n "checking for $2... " >&6; }
3150 if eval "test \"\${$3+set}\"" = set; then :
3151   $as_echo_n "(cached) " >&6
3152 else
3153   eval "$3=\$ac_header_compiler"
3154 fi
3155 eval ac_res=\$$3
3156                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3157 $as_echo "$ac_res" >&6; }
3158 fi
3159   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
3160
3161 } # ac_fn_cxx_check_header_mongrel
3162
3163 # ac_fn_c_check_func LINENO FUNC VAR
3164 # ----------------------------------
3165 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3166 ac_fn_c_check_func ()
3167 {
3168   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3169   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3170 $as_echo_n "checking for $2... " >&6; }
3171 if eval "test \"\${$3+set}\"" = set; then :
3172   $as_echo_n "(cached) " >&6
3173 else
3174   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3175 /* end confdefs.h.  */
3176 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3177    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
3178 #define $2 innocuous_$2
3179
3180 /* System header to define __stub macros and hopefully few prototypes,
3181     which can conflict with char $2 (); below.
3182     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3183     <limits.h> exists even on freestanding compilers.  */
3184
3185 #ifdef __STDC__
3186 # include <limits.h>
3187 #else
3188 # include <assert.h>
3189 #endif
3190
3191 #undef $2
3192
3193 /* Override any GCC internal prototype to avoid an error.
3194    Use char because int might match the return type of a GCC
3195    builtin and then its argument prototype would still apply.  */
3196 #ifdef __cplusplus
3197 extern "C"
3198 #endif
3199 char $2 ();
3200 /* The GNU C library defines this for functions which it implements
3201     to always fail with ENOSYS.  Some functions are actually named
3202     something starting with __ and the normal name is an alias.  */
3203 #if defined __stub_$2 || defined __stub___$2
3204 choke me
3205 #endif
3206
3207 int
3208 main ()
3209 {
3210 return $2 ();
3211   ;
3212   return 0;
3213 }
3214 _ACEOF
3215 if ac_fn_c_try_link "$LINENO"; then :
3216   eval "$3=yes"
3217 else
3218   eval "$3=no"
3219 fi
3220 rm -f core conftest.err conftest.$ac_objext \
3221     conftest$ac_exeext conftest.$ac_ext
3222 fi
3223 eval ac_res=\$$3
3224                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3225 $as_echo "$ac_res" >&6; }
3226   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
3227
3228 } # ac_fn_c_check_func
3229
3230 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3231 # -------------------------------------------
3232 # Tests whether TYPE exists after having included INCLUDES, setting cache
3233 # variable VAR accordingly.
3234 ac_fn_c_check_type ()
3235 {
3236   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3237   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3238 $as_echo_n "checking for $2... " >&6; }
3239 if eval "test \"\${$3+set}\"" = set; then :
3240   $as_echo_n "(cached) " >&6
3241 else
3242   eval "$3=no"
3243   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3244 /* end confdefs.h.  */
3245 $4
3246 int
3247 main ()
3248 {
3249 if (sizeof ($2))
3250          return 0;
3251   ;
3252   return 0;
3253 }
3254 _ACEOF
3255 if ac_fn_c_try_compile "$LINENO"; then :
3256   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3257 /* end confdefs.h.  */
3258 $4
3259 int
3260 main ()
3261 {
3262 if (sizeof (($2)))
3263             return 0;
3264   ;
3265   return 0;
3266 }
3267 _ACEOF
3268 if ac_fn_c_try_compile "$LINENO"; then :
3269
3270 else
3271   eval "$3=yes"
3272 fi
3273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3274 fi
3275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3276 fi
3277 eval ac_res=\$$3
3278                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3279 $as_echo "$ac_res" >&6; }
3280   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
3281
3282 } # ac_fn_c_check_type
3283
3284 # ac_fn_cxx_try_run LINENO
3285 # ------------------------
3286 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
3287 # that executables *can* be run.
3288 ac_fn_cxx_try_run ()
3289 {
3290   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3291   if { { ac_try="$ac_link"
3292 case "(($ac_try" in
3293   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3294   *) ac_try_echo=$ac_try;;
3295 esac
3296 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3297 $as_echo "$ac_try_echo"; } >&5
3298   (eval "$ac_link") 2>&5
3299   ac_status=$?
3300   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3301   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3302   { { case "(($ac_try" in
3303   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3304   *) ac_try_echo=$ac_try;;
3305 esac
3306 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3307 $as_echo "$ac_try_echo"; } >&5
3308   (eval "$ac_try") 2>&5
3309   ac_status=$?
3310   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3311   test $ac_status = 0; }; }; then :
3312   ac_retval=0
3313 else
3314   $as_echo "$as_me: program exited with status $ac_status" >&5
3315        $as_echo "$as_me: failed program was:" >&5
3316 sed 's/^/| /' conftest.$ac_ext >&5
3317
3318        ac_retval=$ac_status
3319 fi
3320   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3321   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
3322   as_fn_set_status $ac_retval
3323
3324 } # ac_fn_cxx_try_run
3325 cat >config.log <<_ACEOF
3326 This file contains any messages produced by compilers while
3327 running configure, to aid debugging if configure makes a mistake.
3328
3329 It was created by wxWidgets $as_me 2.9.4, which was
3330 generated by GNU Autoconf 2.67.  Invocation command line was
3331
3332   $ $0 $@
3333
3334 _ACEOF
3335 exec 5>>config.log
3336 {
3337 cat <<_ASUNAME
3338 ## --------- ##
3339 ## Platform. ##
3340 ## --------- ##
3341
3342 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3343 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3344 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3345 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3346 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3347
3348 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3349 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
3350
3351 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
3352 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
3353 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3354 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
3355 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
3356 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
3357 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
3358
3359 _ASUNAME
3360
3361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3362 for as_dir in $PATH
3363 do
3364   IFS=$as_save_IFS
3365   test -z "$as_dir" && as_dir=.
3366     $as_echo "PATH: $as_dir"
3367   done
3368 IFS=$as_save_IFS
3369
3370 } >&5
3371
3372 cat >&5 <<_ACEOF
3373
3374
3375 ## ----------- ##
3376 ## Core tests. ##
3377 ## ----------- ##
3378
3379 _ACEOF
3380
3381
3382 # Keep a trace of the command line.
3383 # Strip out --no-create and --no-recursion so they do not pile up.
3384 # Strip out --silent because we don't want to record it for future runs.
3385 # Also quote any args containing shell meta-characters.
3386 # Make two passes to allow for proper duplicate-argument suppression.
3387 ac_configure_args=
3388 ac_configure_args0=
3389 ac_configure_args1=
3390 ac_must_keep_next=false
3391 for ac_pass in 1 2
3392 do
3393   for ac_arg
3394   do
3395     case $ac_arg in
3396     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3397     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3398     | -silent | --silent | --silen | --sile | --sil)
3399       continue ;;
3400     *\'*)
3401       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3402     esac
3403     case $ac_pass in
3404     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3405     2)
3406       as_fn_append ac_configure_args1 " '$ac_arg'"
3407       if test $ac_must_keep_next = true; then
3408         ac_must_keep_next=false # Got value, back to normal.
3409       else
3410         case $ac_arg in
3411           *=* | --config-cache | -C | -disable-* | --disable-* \
3412           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3413           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3414           | -with-* | --with-* | -without-* | --without-* | --x)
3415             case "$ac_configure_args0 " in
3416               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3417             esac
3418             ;;
3419           -* ) ac_must_keep_next=true ;;
3420         esac
3421       fi
3422       as_fn_append ac_configure_args " '$ac_arg'"
3423       ;;
3424     esac
3425   done
3426 done
3427 { ac_configure_args0=; unset ac_configure_args0;}
3428 { ac_configure_args1=; unset ac_configure_args1;}
3429
3430 # When interrupted or exit'd, cleanup temporary files, and complete
3431 # config.log.  We remove comments because anyway the quotes in there
3432 # would cause problems or look ugly.
3433 # WARNING: Use '\'' to represent an apostrophe within the trap.
3434 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3435 trap 'exit_status=$?
3436   # Save into config.log some information that might help in debugging.
3437   {
3438     echo
3439
3440     $as_echo "## ---------------- ##
3441 ## Cache variables. ##
3442 ## ---------------- ##"
3443     echo
3444     # The following way of writing the cache mishandles newlines in values,
3445 (
3446   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3447     eval ac_val=\$$ac_var
3448     case $ac_val in #(
3449     *${as_nl}*)
3450       case $ac_var in #(
3451       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3452 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3453       esac
3454       case $ac_var in #(
3455       _ | IFS | as_nl) ;; #(
3456       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3457       *) { eval $ac_var=; unset $ac_var;} ;;
3458       esac ;;
3459     esac
3460   done
3461   (set) 2>&1 |
3462     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3463     *${as_nl}ac_space=\ *)
3464       sed -n \
3465         "s/'\''/'\''\\\\'\'''\''/g;
3466           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3467       ;; #(
3468     *)
3469       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3470       ;;
3471     esac |
3472     sort
3473 )
3474     echo
3475
3476     $as_echo "## ----------------- ##
3477 ## Output variables. ##
3478 ## ----------------- ##"
3479     echo
3480     for ac_var in $ac_subst_vars
3481     do
3482       eval ac_val=\$$ac_var
3483       case $ac_val in
3484       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3485       esac
3486       $as_echo "$ac_var='\''$ac_val'\''"
3487     done | sort
3488     echo
3489
3490     if test -n "$ac_subst_files"; then
3491       $as_echo "## ------------------- ##
3492 ## File substitutions. ##
3493 ## ------------------- ##"
3494       echo
3495       for ac_var in $ac_subst_files
3496       do
3497         eval ac_val=\$$ac_var
3498         case $ac_val in
3499         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3500         esac
3501         $as_echo "$ac_var='\''$ac_val'\''"
3502       done | sort
3503       echo
3504     fi
3505
3506     if test -s confdefs.h; then
3507       $as_echo "## ----------- ##
3508 ## confdefs.h. ##
3509 ## ----------- ##"
3510       echo
3511       cat confdefs.h
3512       echo
3513     fi
3514     test "$ac_signal" != 0 &&
3515       $as_echo "$as_me: caught signal $ac_signal"
3516     $as_echo "$as_me: exit $exit_status"
3517   } >&5
3518   rm -f core *.core core.conftest.* &&
3519     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3520     exit $exit_status
3521 ' 0
3522 for ac_signal in 1 2 13 15; do
3523   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3524 done
3525 ac_signal=0
3526
3527 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3528 rm -f -r conftest* confdefs.h
3529
3530 $as_echo "/* confdefs.h */" > confdefs.h
3531
3532 # Predefined preprocessor variables.
3533
3534 cat >>confdefs.h <<_ACEOF
3535 #define PACKAGE_NAME "$PACKAGE_NAME"
3536 _ACEOF
3537
3538 cat >>confdefs.h <<_ACEOF
3539 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3540 _ACEOF
3541
3542 cat >>confdefs.h <<_ACEOF
3543 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3544 _ACEOF
3545
3546 cat >>confdefs.h <<_ACEOF
3547 #define PACKAGE_STRING "$PACKAGE_STRING"
3548 _ACEOF
3549
3550 cat >>confdefs.h <<_ACEOF
3551 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3552 _ACEOF
3553
3554 cat >>confdefs.h <<_ACEOF
3555 #define PACKAGE_URL "$PACKAGE_URL"
3556 _ACEOF
3557
3558
3559 # Let the site file select an alternate cache file if it wants to.
3560 # Prefer an explicitly selected file to automatically selected ones.
3561 ac_site_file1=NONE
3562 ac_site_file2=NONE
3563 if test -n "$CONFIG_SITE"; then
3564   # We do not want a PATH search for config.site.
3565   case $CONFIG_SITE in #((
3566     -*)  ac_site_file1=./$CONFIG_SITE;;
3567     */*) ac_site_file1=$CONFIG_SITE;;
3568     *)   ac_site_file1=./$CONFIG_SITE;;
3569   esac
3570 elif test "x$prefix" != xNONE; then
3571   ac_site_file1=$prefix/share/config.site
3572   ac_site_file2=$prefix/etc/config.site
3573 else
3574   ac_site_file1=$ac_default_prefix/share/config.site
3575   ac_site_file2=$ac_default_prefix/etc/config.site
3576 fi
3577 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3578 do
3579   test "x$ac_site_file" = xNONE && continue
3580   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3581     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3582 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3583     sed 's/^/| /' "$ac_site_file" >&5
3584     . "$ac_site_file" \
3585       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3586 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3587 as_fn_error $? "failed to load site script $ac_site_file
3588 See \`config.log' for more details" "$LINENO" 5 ; }
3589   fi
3590 done
3591
3592 if test -r "$cache_file"; then
3593   # Some versions of bash will fail to source /dev/null (special files
3594   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
3595   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3596     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3597 $as_echo "$as_me: loading cache $cache_file" >&6;}
3598     case $cache_file in
3599       [\\/]* | ?:[\\/]* ) . "$cache_file";;
3600       *)                      . "./$cache_file";;
3601     esac
3602   fi
3603 else
3604   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3605 $as_echo "$as_me: creating cache $cache_file" >&6;}
3606   >$cache_file
3607 fi
3608
3609 # Check that the precious variables saved in the cache have kept the same
3610 # value.
3611 ac_cache_corrupted=false
3612 for ac_var in $ac_precious_vars; do
3613   eval ac_old_set=\$ac_cv_env_${ac_var}_set
3614   eval ac_new_set=\$ac_env_${ac_var}_set
3615   eval ac_old_val=\$ac_cv_env_${ac_var}_value
3616   eval ac_new_val=\$ac_env_${ac_var}_value
3617   case $ac_old_set,$ac_new_set in
3618     set,)
3619       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3620 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3621       ac_cache_corrupted=: ;;
3622     ,set)
3623       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3624 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3625       ac_cache_corrupted=: ;;
3626     ,);;
3627     *)
3628       if test "x$ac_old_val" != "x$ac_new_val"; then
3629         # differences in whitespace do not lead to failure.
3630         ac_old_val_w=`echo x $ac_old_val`
3631         ac_new_val_w=`echo x $ac_new_val`
3632         if test "$ac_old_val_w" != "$ac_new_val_w"; then
3633           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3634 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3635           ac_cache_corrupted=:
3636         else
3637           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3638 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3639           eval $ac_var=\$ac_old_val
3640         fi
3641         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
3642 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
3643         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
3644 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
3645       fi;;
3646   esac
3647   # Pass precious variables to config.status.
3648   if test "$ac_new_set" = set; then
3649     case $ac_new_val in
3650     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3651     *) ac_arg=$ac_var=$ac_new_val ;;
3652     esac
3653     case " $ac_configure_args " in
3654       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
3655       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3656     esac
3657   fi
3658 done
3659 if $ac_cache_corrupted; then
3660   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3661 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3662   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3663 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3664   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3665 fi
3666 ## -------------------- ##
3667 ## Main body of script. ##
3668 ## -------------------- ##
3669
3670 ac_ext=c
3671 ac_cpp='$CPP $CPPFLAGS'
3672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3675
3676
3677
3678
3679
3680 ac_aux_dir=
3681 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3682   if test -f "$ac_dir/install-sh"; then
3683     ac_aux_dir=$ac_dir
3684     ac_install_sh="$ac_aux_dir/install-sh -c"
3685     break
3686   elif test -f "$ac_dir/install.sh"; then
3687     ac_aux_dir=$ac_dir
3688     ac_install_sh="$ac_aux_dir/install.sh -c"
3689     break
3690   elif test -f "$ac_dir/shtool"; then
3691     ac_aux_dir=$ac_dir
3692     ac_install_sh="$ac_aux_dir/shtool install -c"
3693     break
3694   fi
3695 done
3696 if test -z "$ac_aux_dir"; then
3697   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3698 fi
3699
3700 # These three variables are undocumented and unsupported,
3701 # and are intended to be withdrawn in a future Autoconf release.
3702 # They can cause serious problems if a builder's source tree is in a directory
3703 # whose full name contains unusual characters.
3704 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
3705 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
3706 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
3707
3708
3709 # Make sure we can run config.sub.
3710 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3711   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3712
3713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3714 $as_echo_n "checking build system type... " >&6; }
3715 if test "${ac_cv_build+set}" = set; then :
3716   $as_echo_n "(cached) " >&6
3717 else
3718   ac_build_alias=$build_alias
3719 test "x$ac_build_alias" = x &&
3720   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3721 test "x$ac_build_alias" = x &&
3722   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3723 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3724   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3725
3726 fi
3727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3728 $as_echo "$ac_cv_build" >&6; }
3729 case $ac_cv_build in
3730 *-*-*) ;;
3731 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
3732 esac
3733 build=$ac_cv_build
3734 ac_save_IFS=$IFS; IFS='-'
3735 set x $ac_cv_build
3736 shift
3737 build_cpu=$1
3738 build_vendor=$2
3739 shift; shift
3740 # Remember, the first character of IFS is used to create $*,
3741 # except with old shells:
3742 build_os=$*
3743 IFS=$ac_save_IFS
3744 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3745
3746
3747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3748 $as_echo_n "checking host system type... " >&6; }
3749 if test "${ac_cv_host+set}" = set; then :
3750   $as_echo_n "(cached) " >&6
3751 else
3752   if test "x$host_alias" = x; then
3753   ac_cv_host=$ac_cv_build
3754 else
3755   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3756     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3757 fi
3758
3759 fi
3760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3761 $as_echo "$ac_cv_host" >&6; }
3762 case $ac_cv_host in
3763 *-*-*) ;;
3764 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
3765 esac
3766 host=$ac_cv_host
3767 ac_save_IFS=$IFS; IFS='-'
3768 set x $ac_cv_host
3769 shift
3770 host_cpu=$1
3771 host_vendor=$2
3772 shift; shift
3773 # Remember, the first character of IFS is used to create $*,
3774 # except with old shells:
3775 host_os=$*
3776 IFS=$ac_save_IFS
3777 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3778
3779
3780
3781 if test "$cross_compiling" != "no"; then
3782     HOST_PREFIX="${host_alias}-"
3783     HOST_SUFFIX="-$host_alias"
3784 else
3785     HOST_PREFIX=
3786     HOST_SUFFIX=
3787 fi
3788
3789
3790 wx_major_version_number=2
3791 wx_minor_version_number=9
3792 wx_release_number=4
3793 wx_subrelease_number=0
3794
3795 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
3796 WX_VERSION=$WX_RELEASE.$wx_release_number
3797 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
3798
3799 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
3800
3801
3802 wx_top_builddir="`pwd`"
3803
3804
3805
3806
3807 USE_UNIX=1
3808 USE_OS2=0
3809 USE_WIN32=0
3810 USE_DOS=0
3811 USE_BEOS=0
3812 USE_MAC=0
3813
3814 USE_AIX=
3815 USE_BSD=                            USE_DARWIN=                         USE_FREEBSD=
3816 USE_GNU=                            USE_HPUX=
3817 USE_LINUX=
3818 USE_NETBSD=
3819 USE_OPENBSD=
3820 USE_OSF=                            USE_SGI=
3821 USE_SOLARIS=                        USE_SUN=                            USE_SUNOS=                          USE_SVR4=                           USE_SYSV=                           USE_VMS=
3822 USE_ULTRIX=
3823 USE_UNIXWARE=
3824
3825 USE_ALPHA=
3826
3827 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
3828
3829 ALL_TOOLKITS="COCOA GTK OSX_CARBON OSX_COCOA OSX_IPHONE MICROWIN MOTIF MSW PM X11 DFB"
3830
3831 DEFAULT_wxUSE_OLD_COCOA=0
3832 DEFAULT_wxUSE_GTK=0
3833 DEFAULT_wxUSE_OSX_CARBON=0
3834 DEFAULT_wxUSE_OSX_COCOA=0
3835 DEFAULT_wxUSE_OSX_IPHONE=0
3836 DEFAULT_wxUSE_MICROWIN=0
3837 DEFAULT_wxUSE_MOTIF=0
3838 DEFAULT_wxUSE_MSW=0
3839 DEFAULT_wxUSE_PM=0
3840 DEFAULT_wxUSE_X11=0
3841 DEFAULT_wxUSE_DFB=0
3842
3843 DEFAULT_DEFAULT_wxUSE_OLD_COCOA=0
3844 DEFAULT_DEFAULT_wxUSE_GTK=0
3845 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=0
3846 DEFAULT_DEFAULT_wxUSE_OSX_COCOA=0
3847 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE=0
3848 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
3849 DEFAULT_DEFAULT_wxUSE_MOTIF=0
3850 DEFAULT_DEFAULT_wxUSE_MSW=0
3851 DEFAULT_DEFAULT_wxUSE_PM=0
3852 DEFAULT_DEFAULT_wxUSE_X11=0
3853 DEFAULT_DEFAULT_wxUSE_DFB=0
3854
3855 PROGRAM_EXT=
3856 SAMPLES_RPATH_FLAG=
3857 DYLIB_RPATH_INSTALL=
3858 DYLIB_RPATH_POSTLINK=
3859
3860 DEFAULT_STD_FLAG=yes
3861
3862 case "${host}" in
3863   *-hp-hpux* )
3864     USE_HPUX=1
3865     DEFAULT_DEFAULT_wxUSE_MOTIF=1
3866     NEEDS_D_REENTRANT_FOR_R_FUNCS=1
3867     $as_echo "#define __HPUX__ 1" >>confdefs.h
3868
3869
3870             CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
3871   ;;
3872   *-*-linux* )
3873     USE_LINUX=1
3874     $as_echo "#define __LINUX__ 1" >>confdefs.h
3875
3876     TMP=`uname -m`
3877     if test "x$TMP" = "xalpha"; then
3878       USE_ALPHA=1
3879       $as_echo "#define __ALPHA__ 1" >>confdefs.h
3880
3881     fi
3882     DEFAULT_DEFAULT_wxUSE_GTK=1
3883   ;;
3884   *-*-gnu* | *-*-k*bsd*-gnu )
3885     USE_GNU=1
3886     TMP=`uname -m`
3887     if test "x$TMP" = "xalpha"; then
3888       USE_ALPHA=1
3889       $as_echo "#define __ALPHA__ 1" >>confdefs.h
3890
3891     fi
3892     DEFAULT_DEFAULT_wxUSE_GTK=1
3893   ;;
3894   *-*-irix5* | *-*-irix6* )
3895     USE_SGI=1
3896     USE_SVR4=1
3897     $as_echo "#define __SGI__ 1" >>confdefs.h
3898
3899     $as_echo "#define __SVR4__ 1" >>confdefs.h
3900
3901     DEFAULT_DEFAULT_wxUSE_MOTIF=1
3902   ;;
3903   *-*-qnx*)
3904     USE_QNX=1
3905     $as_echo "#define __QNX__ 1" >>confdefs.h
3906
3907     DEFAULT_DEFAULT_wxUSE_X11=1
3908   ;;
3909   *-*-solaris2* )
3910     USE_SUN=1
3911     USE_SOLARIS=1
3912     USE_SVR4=1
3913     $as_echo "#define __SUN__ 1" >>confdefs.h
3914
3915     $as_echo "#define __SOLARIS__ 1" >>confdefs.h
3916
3917     $as_echo "#define __SVR4__ 1" >>confdefs.h
3918
3919     DEFAULT_DEFAULT_wxUSE_MOTIF=1
3920     NEEDS_D_REENTRANT_FOR_R_FUNCS=1
3921   ;;
3922   *-*-sunos4* )
3923     USE_SUN=1
3924     USE_SUNOS=1
3925     USE_BSD=1
3926     $as_echo "#define __SUN__ 1" >>confdefs.h
3927
3928     $as_echo "#define __SUNOS__ 1" >>confdefs.h
3929
3930     $as_echo "#define __BSD__ 1" >>confdefs.h
3931
3932     DEFAULT_DEFAULT_wxUSE_MOTIF=1
3933   ;;
3934   *-*-freebsd*)
3935     USE_BSD=1
3936     USE_FREEBSD=1
3937     $as_echo "#define __FREEBSD__ 1" >>confdefs.h
3938
3939     $as_echo "#define __BSD__ 1" >>confdefs.h
3940
3941     DEFAULT_DEFAULT_wxUSE_GTK=1
3942   ;;
3943   *-*-openbsd*|*-*-mirbsd*)
3944     USE_BSD=1
3945     USE_OPENBSD=1
3946     $as_echo "#define __OPENBSD__ 1" >>confdefs.h
3947
3948     $as_echo "#define __BSD__ 1" >>confdefs.h
3949
3950     DEFAULT_DEFAULT_wxUSE_GTK=1
3951   ;;
3952   *-*-netbsd*)
3953     USE_BSD=1
3954     USE_NETBSD=1
3955     $as_echo "#define __NETBSD__ 1" >>confdefs.h
3956
3957     $as_echo "#define __BSD__ 1" >>confdefs.h
3958
3959     DEFAULT_DEFAULT_wxUSE_GTK=1
3960     NEEDS_D_REENTRANT_FOR_R_FUNCS=1
3961
3962             CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
3963   ;;
3964   *-*-osf* )
3965     USE_ALPHA=1
3966     USE_OSF=1
3967     $as_echo "#define __ALPHA__ 1" >>confdefs.h
3968
3969     $as_echo "#define __OSF__ 1" >>confdefs.h
3970
3971     DEFAULT_DEFAULT_wxUSE_MOTIF=1
3972     NEEDS_D_REENTRANT_FOR_R_FUNCS=1
3973   ;;
3974   *-*-dgux5* )
3975     USE_ALPHA=1
3976     USE_SVR4=1
3977     $as_echo "#define __ALPHA__ 1" >>confdefs.h
3978
3979     $as_echo "#define __SVR4__ 1" >>confdefs.h
3980
3981     DEFAULT_DEFAULT_wxUSE_MOTIF=1
3982   ;;
3983   *-*-sysv5* )
3984     USE_SYSV=1
3985     USE_SVR4=1
3986     $as_echo "#define __SYSV__ 1" >>confdefs.h
3987
3988     $as_echo "#define __SVR4__ 1" >>confdefs.h
3989
3990     DEFAULT_DEFAULT_wxUSE_MOTIF=1
3991   ;;
3992   *-*-aix* )
3993     USE_AIX=1
3994     USE_SYSV=1
3995     USE_SVR4=1
3996     $as_echo "#define __AIX__ 1" >>confdefs.h
3997
3998     $as_echo "#define __SYSV__ 1" >>confdefs.h
3999
4000     $as_echo "#define __SVR4__ 1" >>confdefs.h
4001
4002     DEFAULT_DEFAULT_wxUSE_MOTIF=1
4003   ;;
4004
4005   *-*-*UnixWare*)
4006     USE_SYSV=1
4007     USE_SVR4=1
4008     USE_UNIXWARE=1
4009     $as_echo "#define __UNIXWARE__ 1" >>confdefs.h
4010
4011   ;;
4012
4013   *-*-cygwin* | *-*-mingw32* )
4014                 PROGRAM_EXT=".exe"
4015     DEFAULT_DEFAULT_wxUSE_MSW=1
4016   ;;
4017
4018   *-pc-msdosdjgpp )
4019     USE_UNIX=0
4020     USE_DOS=1
4021     $as_echo "#define __DOS__ 1" >>confdefs.h
4022
4023     PROGRAM_EXT=".exe"
4024   ;;
4025
4026   *-pc-os2_emx | *-pc-os2-emx )
4027     $as_echo "#define __EMX__ 1" >>confdefs.h
4028
4029     USE_OS2=1
4030     $as_echo "#define __OS2__ 1" >>confdefs.h
4031
4032     PROGRAM_EXT=".exe"
4033     DEFAULT_DEFAULT_wxUSE_PM=1
4034         CXX=gcc
4035     LDFLAGS="$LDFLAGS -Zcrtdll"
4036                         ac_executable_extensions=".exe"
4037     export ac_executable_extensions
4038             ac_save_IFS="$IFS"
4039     IFS='\\'
4040     ac_TEMP_PATH=
4041     for ac_dir in $PATH; do
4042       IFS=$ac_save_IFS
4043       if test -z "$ac_TEMP_PATH"; then
4044         ac_TEMP_PATH="$ac_dir"
4045       else
4046         ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
4047       fi
4048     done
4049     export PATH="$ac_TEMP_PATH"
4050     unset ac_TEMP_PATH
4051     DEFAULT_STD_FLAG=no
4052   ;;
4053
4054   arm-apple-darwin*)
4055         USE_BSD=1
4056     USE_DARWIN=1
4057     $as_echo "#define __BSD__ 1" >>confdefs.h
4058
4059     $as_echo "#define __DARWIN__ 1" >>confdefs.h
4060
4061     DEFAULT_DEFAULT_wxUSE_OSX_IPHONE=1
4062   ;;
4063
4064   *-*-darwin* )
4065         USE_BSD=1
4066     USE_DARWIN=1
4067     $as_echo "#define __BSD__ 1" >>confdefs.h
4068
4069     $as_echo "#define __DARWIN__ 1" >>confdefs.h
4070
4071     $as_echo "#define TARGET_CARBON 1" >>confdefs.h
4072
4073     DEFAULT_DEFAULT_wxUSE_OSX_CARBON=1
4074   ;;
4075
4076   *-*-beos* )
4077         USE_BEOS=1
4078     $as_echo "#define __BEOS__ 1" >>confdefs.h
4079
4080   ;;
4081
4082   *)
4083     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
4084 $as_echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
4085     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
4086 $as_echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
4087
4088     DEFAULT_DEFAULT_wxUSE_X11=1
4089     DEFAULT_wxUSE_SHARED=no
4090 esac
4091
4092
4093
4094 DEFAULT_wxUSE_ALL_FEATURES=yes
4095
4096 DEFAULT_wxUSE_STD_CONTAINERS=no
4097 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
4098 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
4099
4100 DEFAULT_wxUSE_DMALLOC=no
4101 DEFAULT_wxUSE_LIBGNOMEVFS=no
4102 DEFAULT_wxUSE_LIBHILDON=no
4103 DEFAULT_wxUSE_LIBHILDON2=no
4104 DEFAULT_wxUSE_LIBMSPACK=no
4105 DEFAULT_wxUSE_LIBSDL=no
4106
4107 DEFAULT_wxUSE_ACCESSIBILITY=no
4108 DEFAULT_wxUSE_IPV6=no
4109 DEFAULT_wxUSE_GSTREAMER8=no
4110 DEFAULT_wxUSE_UNICODE_UTF8=no
4111 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
4112
4113 DEFAULT_wxUSE_ARTPROVIDER_TANGO=auto
4114 DEFAULT_wxUSE_OPENGL=auto
4115 DEFAULT_wxUSE_MEDIACTRL=auto
4116 DEFAULT_wxUSE_COMPILER_TLS=auto
4117 DEFAULT_wxUSE_HOTKEY=auto
4118 DEFAULT_wxUSE_METAFILE=auto
4119
4120 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
4121 DEFAULT_wxUSE_MAC_ARCH=no
4122
4123 DEFAULT_wxUSE_OFFICIAL_BUILD=no
4124
4125 DEFAULT_wxUSE_GTK2=yes
4126
4127 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
4128
4129
4130
4131
4132
4133           enablestring=disable
4134           defaultval=
4135           if test -z "$defaultval"; then
4136               if test x"$enablestring" = xdisable; then
4137                   defaultval=yes
4138               else
4139                   defaultval=no
4140               fi
4141           fi
4142
4143           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gui" >&5
4144 $as_echo_n "checking for --${enablestring:-enable}-gui... " >&6; }
4145           # Check whether --enable-gui was given.
4146 if test "${enable_gui+set}" = set; then :
4147   enableval=$enable_gui;
4148                           if test "$enableval" = yes; then
4149                             wx_cv_use_gui='wxUSE_GUI=yes'
4150                           else
4151                             wx_cv_use_gui='wxUSE_GUI=no'
4152                           fi
4153
4154 else
4155
4156                           wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
4157
4158 fi
4159
4160
4161           eval "$wx_cv_use_gui"
4162
4163           if test x"$enablestring" = xdisable; then
4164             if test $wxUSE_GUI = no; then
4165               result=yes
4166             else
4167               result=no
4168             fi
4169           else
4170             result=$wxUSE_GUI
4171           fi
4172
4173           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4174 $as_echo "$result" >&6; }
4175
4176
4177           enablestring=
4178           defaultval=
4179           if test -z "$defaultval"; then
4180               if test x"$enablestring" = xdisable; then
4181                   defaultval=yes
4182               else
4183                   defaultval=no
4184               fi
4185           fi
4186
4187           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-monolithic" >&5
4188 $as_echo_n "checking for --${enablestring:-enable}-monolithic... " >&6; }
4189           # Check whether --enable-monolithic was given.
4190 if test "${enable_monolithic+set}" = set; then :
4191   enableval=$enable_monolithic;
4192                           if test "$enableval" = yes; then
4193                             wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
4194                           else
4195                             wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
4196                           fi
4197
4198 else
4199
4200                           wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
4201
4202 fi
4203
4204
4205           eval "$wx_cv_use_monolithic"
4206
4207           if test x"$enablestring" = xdisable; then
4208             if test $wxUSE_MONOLITHIC = no; then
4209               result=yes
4210             else
4211               result=no
4212             fi
4213           else
4214             result=$wxUSE_MONOLITHIC
4215           fi
4216
4217           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4218 $as_echo "$result" >&6; }
4219
4220
4221           enablestring=
4222           defaultval=
4223           if test -z "$defaultval"; then
4224               if test x"$enablestring" = xdisable; then
4225                   defaultval=yes
4226               else
4227                   defaultval=no
4228               fi
4229           fi
4230
4231           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-plugins" >&5
4232 $as_echo_n "checking for --${enablestring:-enable}-plugins... " >&6; }
4233           # Check whether --enable-plugins was given.
4234 if test "${enable_plugins+set}" = set; then :
4235   enableval=$enable_plugins;
4236                           if test "$enableval" = yes; then
4237                             wx_cv_use_plugins='wxUSE_PLUGINS=yes'
4238                           else
4239                             wx_cv_use_plugins='wxUSE_PLUGINS=no'
4240                           fi
4241
4242 else
4243
4244                           wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
4245
4246 fi
4247
4248
4249           eval "$wx_cv_use_plugins"
4250
4251           if test x"$enablestring" = xdisable; then
4252             if test $wxUSE_PLUGINS = no; then
4253               result=yes
4254             else
4255               result=no
4256             fi
4257           else
4258             result=$wxUSE_PLUGINS
4259           fi
4260
4261           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4262 $as_echo "$result" >&6; }
4263
4264
4265           withstring=without
4266           defaultval=$wxUSE_ALL_FEATURES
4267           if test -z "$defaultval"; then
4268               if test x"$withstring" = xwithout; then
4269                   defaultval=yes
4270               else
4271                   defaultval=no
4272               fi
4273           fi
4274           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-subdirs" >&5
4275 $as_echo_n "checking for --${withstring:-with}-subdirs... " >&6; }
4276
4277 # Check whether --with-subdirs was given.
4278 if test "${with_subdirs+set}" = set; then :
4279   withval=$with_subdirs;
4280                         if test "$withval" = yes; then
4281                           wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
4282                         else
4283                           wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
4284                         fi
4285
4286 else
4287
4288                         wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
4289
4290 fi
4291
4292
4293           eval "$wx_cv_use_subdirs"
4294
4295           if test x"$withstring" = xwithout; then
4296             if test $wxWITH_SUBDIRS = yes; then
4297               result=no
4298             else
4299               result=yes
4300             fi
4301           else
4302             result=$wxWITH_SUBDIRS
4303           fi
4304
4305           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4306 $as_echo "$result" >&6; }
4307
4308
4309 # Check whether --with-flavour was given.
4310 if test "${with_flavour+set}" = set; then :
4311   withval=$with_flavour; WX_FLAVOUR="$withval"
4312 fi
4313
4314
4315           enablestring=
4316           defaultval=
4317           if test -z "$defaultval"; then
4318               if test x"$enablestring" = xdisable; then
4319                   defaultval=yes
4320               else
4321                   defaultval=no
4322               fi
4323           fi
4324
4325           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-official_build" >&5
4326 $as_echo_n "checking for --${enablestring:-enable}-official_build... " >&6; }
4327           # Check whether --enable-official_build was given.
4328 if test "${enable_official_build+set}" = set; then :
4329   enableval=$enable_official_build;
4330                           if test "$enableval" = yes; then
4331                             wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
4332                           else
4333                             wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
4334                           fi
4335
4336 else
4337
4338                           wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
4339
4340 fi
4341
4342
4343           eval "$wx_cv_use_official_build"
4344
4345           if test x"$enablestring" = xdisable; then
4346             if test $wxUSE_OFFICIAL_BUILD = no; then
4347               result=yes
4348             else
4349               result=no
4350             fi
4351           else
4352             result=$wxUSE_OFFICIAL_BUILD
4353           fi
4354
4355           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4356 $as_echo "$result" >&6; }
4357
4358 # Check whether --enable-vendor was given.
4359 if test "${enable_vendor+set}" = set; then :
4360   enableval=$enable_vendor; VENDOR="$enableval"
4361 fi
4362
4363 if test "x$VENDOR" = "x"; then
4364     VENDOR="custom"
4365 fi
4366
4367
4368           enablestring=disable
4369           defaultval=
4370           if test -z "$defaultval"; then
4371               if test x"$enablestring" = xdisable; then
4372                   defaultval=yes
4373               else
4374                   defaultval=no
4375               fi
4376           fi
4377
4378           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-all-features" >&5
4379 $as_echo_n "checking for --${enablestring:-enable}-all-features... " >&6; }
4380           # Check whether --enable-all-features was given.
4381 if test "${enable_all_features+set}" = set; then :
4382   enableval=$enable_all_features;
4383                           if test "$enableval" = yes; then
4384                             wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
4385                           else
4386                             wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
4387                           fi
4388
4389 else
4390
4391                           wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
4392
4393 fi
4394
4395
4396           eval "$wx_cv_use_all_features"
4397
4398           if test x"$enablestring" = xdisable; then
4399             if test $wxUSE_ALL_FEATURES = no; then
4400               result=yes
4401             else
4402               result=no
4403             fi
4404           else
4405             result=$wxUSE_ALL_FEATURES
4406           fi
4407
4408           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4409 $as_echo "$result" >&6; }
4410
4411
4412 if test "$wxUSE_ALL_FEATURES" = "no"; then
4413                     DEFAULT_wxUSE_ARTPROVIDER_TANGO=no
4414     DEFAULT_wxUSE_MEDIACTRL=no
4415 fi
4416
4417
4418 if test "$wxUSE_GUI" = "yes"; then
4419
4420
4421           enablestring=
4422           defaultval=
4423           if test -z "$defaultval"; then
4424               if test x"$enablestring" = xdisable; then
4425                   defaultval=yes
4426               else
4427                   defaultval=no
4428               fi
4429           fi
4430
4431           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-universal" >&5
4432 $as_echo_n "checking for --${enablestring:-enable}-universal... " >&6; }
4433           # Check whether --enable-universal was given.
4434 if test "${enable_universal+set}" = set; then :
4435   enableval=$enable_universal;
4436                           if test "$enableval" = yes; then
4437                             wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
4438                           else
4439                             wx_cv_use_universal='wxUSE_UNIVERSAL=no'
4440                           fi
4441
4442 else
4443
4444                           wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
4445
4446 fi
4447
4448
4449           eval "$wx_cv_use_universal"
4450
4451           if test x"$enablestring" = xdisable; then
4452             if test $wxUSE_UNIVERSAL = no; then
4453               result=yes
4454             else
4455               result=no
4456             fi
4457           else
4458             result=$wxUSE_UNIVERSAL
4459           fi
4460
4461           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4462 $as_echo "$result" >&6; }
4463
4464 if test "$wxUSE_UNIVERSAL" = "yes"; then
4465
4466 # Check whether --with-themes was given.
4467 if test "${with_themes+set}" = set; then :
4468   withval=$with_themes; wxUNIV_THEMES="$withval"
4469 fi
4470
4471 fi
4472
4473
4474 # Check whether --with-gtk was given.
4475 if test "${with_gtk+set}" = set; then :
4476   withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
4477 fi
4478
4479
4480 # Check whether --with-motif was given.
4481 if test "${with_motif+set}" = set; then :
4482   withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
4483 fi
4484
4485
4486 # Check whether --with-osx_carbon was given.
4487 if test "${with_osx_carbon+set}" = set; then :
4488   withval=$with_osx_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
4489 fi
4490
4491
4492 # Check whether --with-osx_cocoa was given.
4493 if test "${with_osx_cocoa+set}" = set; then :
4494   withval=$with_osx_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
4495 fi
4496
4497
4498 # Check whether --with-osx_iphone was given.
4499 if test "${with_osx_iphone+set}" = set; then :
4500   withval=$with_osx_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
4501 fi
4502
4503
4504 # Check whether --with-osx was given.
4505 if test "${with_osx+set}" = set; then :
4506   withval=$with_osx; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
4507 fi
4508
4509
4510 # Check whether --with-carbon was given.
4511 if test "${with_carbon+set}" = set; then :
4512   withval=$with_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
4513 fi
4514
4515
4516 # Check whether --with-cocoa was given.
4517 if test "${with_cocoa+set}" = set; then :
4518   withval=$with_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
4519 fi
4520
4521
4522 # Check whether --with-iphone was given.
4523 if test "${with_iphone+set}" = set; then :
4524   withval=$with_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
4525 fi
4526
4527
4528 # Check whether --with-mac was given.
4529 if test "${with_mac+set}" = set; then :
4530   withval=$with_mac; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
4531 fi
4532
4533
4534 # Check whether --with-old_cocoa was given.
4535 if test "${with_old_cocoa+set}" = set; then :
4536   withval=$with_old_cocoa; wxUSE_OLD_COCOA="$withval" CACHE_OLD_COCOA=1 TOOLKIT_GIVEN=1
4537 fi
4538
4539
4540 # Check whether --with-wine was given.
4541 if test "${with_wine+set}" = set; then :
4542   withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
4543 fi
4544
4545
4546 # Check whether --with-msw was given.
4547 if test "${with_msw+set}" = set; then :
4548   withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
4549 fi
4550
4551
4552 # Check whether --with-pm was given.
4553 if test "${with_pm+set}" = set; then :
4554   withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
4555 fi
4556
4557
4558 # Check whether --with-directfb was given.
4559 if test "${with_directfb+set}" = set; then :
4560   withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
4561 fi
4562
4563
4564 # Check whether --with-microwin was given.
4565 if test "${with_microwin+set}" = set; then :
4566   withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
4567 fi
4568
4569
4570 # Check whether --with-x11 was given.
4571 if test "${with_x11+set}" = set; then :
4572   withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
4573 fi
4574
4575
4576           enablestring=
4577           defaultval=
4578           if test -z "$defaultval"; then
4579               if test x"$enablestring" = xdisable; then
4580                   defaultval=yes
4581               else
4582                   defaultval=no
4583               fi
4584           fi
4585
4586           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-nanox" >&5
4587 $as_echo_n "checking for --${enablestring:-enable}-nanox... " >&6; }
4588           # Check whether --enable-nanox was given.
4589 if test "${enable_nanox+set}" = set; then :
4590   enableval=$enable_nanox;
4591                           if test "$enableval" = yes; then
4592                             wx_cv_use_nanox='wxUSE_NANOX=yes'
4593                           else
4594                             wx_cv_use_nanox='wxUSE_NANOX=no'
4595                           fi
4596
4597 else
4598
4599                           wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
4600
4601 fi
4602
4603
4604           eval "$wx_cv_use_nanox"
4605
4606           if test x"$enablestring" = xdisable; then
4607             if test $wxUSE_NANOX = no; then
4608               result=yes
4609             else
4610               result=no
4611             fi
4612           else
4613             result=$wxUSE_NANOX
4614           fi
4615
4616           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4617 $as_echo "$result" >&6; }
4618
4619
4620 # Check whether --enable-gtk2 was given.
4621 if test "${enable_gtk2+set}" = set; then :
4622   enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
4623 fi
4624
4625
4626           enablestring=
4627           defaultval=
4628           if test -z "$defaultval"; then
4629               if test x"$enablestring" = xdisable; then
4630                   defaultval=yes
4631               else
4632                   defaultval=no
4633               fi
4634           fi
4635
4636           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gpe" >&5
4637 $as_echo_n "checking for --${enablestring:-enable}-gpe... " >&6; }
4638           # Check whether --enable-gpe was given.
4639 if test "${enable_gpe+set}" = set; then :
4640   enableval=$enable_gpe;
4641                           if test "$enableval" = yes; then
4642                             wx_cv_use_gpe='wxUSE_GPE=yes'
4643                           else
4644                             wx_cv_use_gpe='wxUSE_GPE=no'
4645                           fi
4646
4647 else
4648
4649                           wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
4650
4651 fi
4652
4653
4654           eval "$wx_cv_use_gpe"
4655
4656           if test x"$enablestring" = xdisable; then
4657             if test $wxUSE_GPE = no; then
4658               result=yes
4659             else
4660               result=no
4661             fi
4662           else
4663             result=$wxUSE_GPE
4664           fi
4665
4666           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4667 $as_echo "$result" >&6; }
4668
4669
4670
4671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for toolkit" >&5
4672 $as_echo_n "checking for toolkit... " >&6; }
4673
4674
4675
4676 # In Wine, we need to default to MSW, not GTK or MOTIF
4677 if test "$wxUSE_WINE" = "yes"; then
4678     DEFAULT_DEFAULT_wxUSE_GTK=0
4679     DEFAULT_DEFAULT_wxUSE_MOTIF=0
4680     DEFAULT_DEFAULT_wxUSE_MSW=1
4681     wxUSE_SHARED=no
4682     CC=${CC:-winegcc}
4683     CXX=${CXX:-wineg++}
4684 fi
4685
4686
4687 if test "$wxUSE_GUI" = "yes"; then
4688
4689     if test "$USE_BEOS" = 1; then
4690         as_fn_error $? "BeOS GUI is not supported yet, use --disable-gui" "$LINENO" 5
4691     fi
4692
4693     if test "$TOOLKIT_GIVEN" = 1; then
4694             for toolkit in $ALL_TOOLKITS; do
4695         var=wxUSE_$toolkit
4696         eval "value=\$${var}"
4697         if test "x$value" = "xno"; then
4698           eval "$var=0"
4699         elif test "x$value" != "x"; then
4700           eval "$var=1"
4701         fi
4702
4703         if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
4704           eval "wx${toolkit}_VERSION=$value"
4705         fi
4706       done
4707     else
4708             for toolkit in $ALL_TOOLKITS; do
4709         var=DEFAULT_DEFAULT_wxUSE_$toolkit
4710         eval "wxUSE_$toolkit=\$${var}"
4711       done
4712     fi
4713
4714             NUM_TOOLKITS=`expr ${wxUSE_OLD_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_OSX_CARBON:-0} \
4715                   + ${wxUSE_OSX_COCOA:-0} + ${wxUSE_OSX_IPHONE:-0} + ${wxUSE_DFB:-0} \
4716                   + ${wxUSE_MICROWIN:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
4717
4718         case "${host}" in
4719       *-pc-os2_emx | *-pc-os2-emx )
4720         NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
4721     esac
4722
4723     case "$NUM_TOOLKITS" in
4724       1)
4725       ;;
4726       0)
4727         as_fn_error $? "Please specify a toolkit -- cannot determine the default for ${host}" "$LINENO" 5
4728       ;;
4729       *)
4730         as_fn_error $? "Please specify at most one toolkit" "$LINENO" 5
4731     esac
4732
4733     # to be removed when --disable-gtk2 isn't needed
4734     if test "x$wxUSE_GTK2" = "xyes"; then
4735         wxGTK_VERSION=2
4736         wxUSE_GTK1=0
4737     elif test "x$wxUSE_GTK2" = "xno"; then
4738         wxGTK_VERSION=1
4739         wxUSE_GTK1=1
4740     fi
4741
4742     for toolkit in $ALL_TOOLKITS; do
4743         var=wxUSE_$toolkit
4744         eval "value=\$${var}"
4745         if test "$value" = 1; then
4746           toolkit_echo=`echo $toolkit | tr '[A-Z]' '[a-z]'`
4747           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $toolkit_echo" >&5
4748 $as_echo "$toolkit_echo" >&6; }
4749         fi
4750     done
4751 else
4752     if test "x$host_alias" != "x"; then
4753         { $as_echo "$as_me:${as_lineno-$LINENO}: result: base ($host_alias hosted) only" >&5
4754 $as_echo "base ($host_alias hosted) only" >&6; }
4755     else
4756         { $as_echo "$as_me:${as_lineno-$LINENO}: result: base only" >&5
4757 $as_echo "base only" >&6; }
4758     fi
4759 fi
4760
4761 wxUSE_MAC=0
4762 if test "$wxUSE_OSX_CARBON" = 1 \
4763        -o "$wxUSE_OSX_COCOA" = 1 \
4764        -o "$wxUSE_OSX_IPHONE" = 1; then
4765     wxUSE_MAC=1
4766 fi
4767
4768
4769
4770           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libpng" >&5
4771 $as_echo_n "checking for --with-libpng... " >&6; }
4772
4773 # Check whether --with-libpng was given.
4774 if test "${with_libpng+set}" = set; then :
4775   withval=$with_libpng;
4776                         if test "$withval" = yes; then
4777                           wx_cv_use_libpng='wxUSE_LIBPNG=yes'
4778                         elif test "$withval" = no; then
4779                           wx_cv_use_libpng='wxUSE_LIBPNG=no'
4780                         elif test "$withval" = sys; then
4781                           wx_cv_use_libpng='wxUSE_LIBPNG=sys'
4782                         elif test "$withval" = builtin; then
4783                           wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
4784                         else
4785                           as_fn_error $? "Invalid value for --with-libpng: should be yes, no, sys, or builtin" "$LINENO" 5
4786                         fi
4787
4788 else
4789
4790                         wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
4791
4792 fi
4793
4794
4795           eval "$wx_cv_use_libpng"
4796
4797           if test "$wxUSE_LIBPNG" = yes; then
4798             { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4799 $as_echo "yes" >&6; }
4800           elif test "$wxUSE_LIBPNG" = no; then
4801             { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4802 $as_echo "no" >&6; }
4803           elif test "$wxUSE_LIBPNG" = sys; then
4804             { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
4805 $as_echo "system version" >&6; }
4806           elif test "$wxUSE_LIBPNG" = builtin; then
4807             { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
4808 $as_echo "builtin version" >&6; }
4809           else
4810             as_fn_error $? "Invalid value for --with-libpng: should be yes, no, sys, or builtin" "$LINENO" 5
4811           fi
4812
4813
4814           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libjpeg" >&5
4815 $as_echo_n "checking for --with-libjpeg... " >&6; }
4816
4817 # Check whether --with-libjpeg was given.
4818 if test "${with_libjpeg+set}" = set; then :
4819   withval=$with_libjpeg;
4820                         if test "$withval" = yes; then
4821                           wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
4822                         elif test "$withval" = no; then
4823                           wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
4824                         elif test "$withval" = sys; then
4825                           wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
4826                         elif test "$withval" = builtin; then
4827                           wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
4828                         else
4829                           as_fn_error $? "Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" "$LINENO" 5
4830                         fi
4831
4832 else
4833
4834                         wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
4835
4836 fi
4837
4838
4839           eval "$wx_cv_use_libjpeg"
4840
4841           if test "$wxUSE_LIBJPEG" = yes; then
4842             { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4843 $as_echo "yes" >&6; }
4844           elif test "$wxUSE_LIBJPEG" = no; then
4845             { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4846 $as_echo "no" >&6; }
4847           elif test "$wxUSE_LIBJPEG" = sys; then
4848             { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
4849 $as_echo "system version" >&6; }
4850           elif test "$wxUSE_LIBJPEG" = builtin; then
4851             { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
4852 $as_echo "builtin version" >&6; }
4853           else
4854             as_fn_error $? "Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" "$LINENO" 5
4855           fi
4856
4857
4858           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libtiff" >&5
4859 $as_echo_n "checking for --with-libtiff... " >&6; }
4860
4861 # Check whether --with-libtiff was given.
4862 if test "${with_libtiff+set}" = set; then :
4863   withval=$with_libtiff;
4864                         if test "$withval" = yes; then
4865                           wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
4866                         elif test "$withval" = no; then
4867                           wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
4868                         elif test "$withval" = sys; then
4869                           wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
4870                         elif test "$withval" = builtin; then
4871                           wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
4872                         else
4873                           as_fn_error $? "Invalid value for --with-libtiff: should be yes, no, sys, or builtin" "$LINENO" 5
4874                         fi
4875
4876 else
4877
4878                         wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
4879
4880 fi
4881
4882
4883           eval "$wx_cv_use_libtiff"
4884
4885           if test "$wxUSE_LIBTIFF" = yes; then
4886             { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4887 $as_echo "yes" >&6; }
4888           elif test "$wxUSE_LIBTIFF" = no; then
4889             { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4890 $as_echo "no" >&6; }
4891           elif test "$wxUSE_LIBTIFF" = sys; then
4892             { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
4893 $as_echo "system version" >&6; }
4894           elif test "$wxUSE_LIBTIFF" = builtin; then
4895             { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
4896 $as_echo "builtin version" >&6; }
4897           else
4898             as_fn_error $? "Invalid value for --with-libtiff: should be yes, no, sys, or builtin" "$LINENO" 5
4899           fi
4900
4901
4902           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libxpm" >&5
4903 $as_echo_n "checking for --with-libxpm... " >&6; }
4904
4905 # Check whether --with-libxpm was given.
4906 if test "${with_libxpm+set}" = set; then :
4907   withval=$with_libxpm;
4908                         if test "$withval" = yes; then
4909                           wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
4910                         elif test "$withval" = no; then
4911                           wx_cv_use_libxpm='wxUSE_LIBXPM=no'
4912                         elif test "$withval" = sys; then
4913                           wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
4914                         elif test "$withval" = builtin; then
4915                           wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
4916                         else
4917                           as_fn_error $? "Invalid value for --with-libxpm: should be yes, no, sys, or builtin" "$LINENO" 5
4918                         fi
4919
4920 else
4921
4922                         wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
4923
4924 fi
4925
4926
4927           eval "$wx_cv_use_libxpm"
4928
4929           if test "$wxUSE_LIBXPM" = yes; then
4930             { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4931 $as_echo "yes" >&6; }
4932           elif test "$wxUSE_LIBXPM" = no; then
4933             { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4934 $as_echo "no" >&6; }
4935           elif test "$wxUSE_LIBXPM" = sys; then
4936             { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
4937 $as_echo "system version" >&6; }
4938           elif test "$wxUSE_LIBXPM" = builtin; then
4939             { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
4940 $as_echo "builtin version" >&6; }
4941           else
4942             as_fn_error $? "Invalid value for --with-libxpm: should be yes, no, sys, or builtin" "$LINENO" 5
4943           fi
4944
4945
4946           withstring=
4947           defaultval=$wxUSE_ALL_FEATURES
4948           if test -z "$defaultval"; then
4949               if test x"$withstring" = xwithout; then
4950                   defaultval=yes
4951               else
4952                   defaultval=no
4953               fi
4954           fi
4955           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-libiconv" >&5
4956 $as_echo_n "checking for --${withstring:-with}-libiconv... " >&6; }
4957
4958 # Check whether --with-libiconv was given.
4959 if test "${with_libiconv+set}" = set; then :
4960   withval=$with_libiconv;
4961                         if test "$withval" = yes; then
4962                           wx_cv_use_libiconv='wxUSE_LIBICONV=yes'
4963                         else
4964                           wx_cv_use_libiconv='wxUSE_LIBICONV=no'
4965                         fi
4966
4967 else
4968
4969                         wx_cv_use_libiconv='wxUSE_LIBICONV=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
4970
4971 fi
4972
4973
4974           eval "$wx_cv_use_libiconv"
4975
4976           if test x"$withstring" = xwithout; then
4977             if test $wxUSE_LIBICONV = yes; then
4978               result=no
4979             else
4980               result=yes
4981             fi
4982           else
4983             result=$wxUSE_LIBICONV
4984           fi
4985
4986           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4987 $as_echo "$result" >&6; }
4988
4989
4990           withstring=
4991           defaultval=$wxUSE_ALL_FEATURES
4992           if test -z "$defaultval"; then
4993               if test x"$withstring" = xwithout; then
4994                   defaultval=yes
4995               else
4996                   defaultval=no
4997               fi
4998           fi
4999           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-libmspack" >&5
5000 $as_echo_n "checking for --${withstring:-with}-libmspack... " >&6; }
5001
5002 # Check whether --with-libmspack was given.
5003 if test "${with_libmspack+set}" = set; then :
5004   withval=$with_libmspack;
5005                         if test "$withval" = yes; then
5006                           wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
5007                         else
5008                           wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
5009                         fi
5010
5011 else
5012
5013                         wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
5014
5015 fi
5016
5017
5018           eval "$wx_cv_use_libmspack"
5019
5020           if test x"$withstring" = xwithout; then
5021             if test $wxUSE_LIBMSPACK = yes; then
5022               result=no
5023             else
5024               result=yes
5025             fi
5026           else
5027             result=$wxUSE_LIBMSPACK
5028           fi
5029
5030           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5031 $as_echo "$result" >&6; }
5032
5033
5034           withstring=without
5035           defaultval=$wxUSE_ALL_FEATURES
5036           if test -z "$defaultval"; then
5037               if test x"$withstring" = xwithout; then
5038                   defaultval=yes
5039               else
5040                   defaultval=no
5041               fi
5042           fi
5043           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-gtkprint" >&5
5044 $as_echo_n "checking for --${withstring:-with}-gtkprint... " >&6; }
5045
5046 # Check whether --with-gtkprint was given.
5047 if test "${with_gtkprint+set}" = set; then :
5048   withval=$with_gtkprint;
5049                         if test "$withval" = yes; then
5050                           wx_cv_use_gtkprint='wxUSE_GTKPRINT=yes'
5051                         else
5052                           wx_cv_use_gtkprint='wxUSE_GTKPRINT=no'
5053                         fi
5054
5055 else
5056
5057                         wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
5058
5059 fi
5060
5061
5062           eval "$wx_cv_use_gtkprint"
5063
5064           if test x"$withstring" = xwithout; then
5065             if test $wxUSE_GTKPRINT = yes; then
5066               result=no
5067             else
5068               result=yes
5069             fi
5070           else
5071             result=$wxUSE_GTKPRINT
5072           fi
5073
5074           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5075 $as_echo "$result" >&6; }
5076
5077
5078           withstring=without
5079           defaultval=$wxUSE_ALL_FEATURES
5080           if test -z "$defaultval"; then
5081               if test x"$withstring" = xwithout; then
5082                   defaultval=yes
5083               else
5084                   defaultval=no
5085               fi
5086           fi
5087           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-gnomeprint" >&5
5088 $as_echo_n "checking for --${withstring:-with}-gnomeprint... " >&6; }
5089
5090 # Check whether --with-gnomeprint was given.
5091 if test "${with_gnomeprint+set}" = set; then :
5092   withval=$with_gnomeprint;
5093                         if test "$withval" = yes; then
5094                           wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
5095                         else
5096                           wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
5097                         fi
5098
5099 else
5100
5101                         wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
5102
5103 fi
5104
5105
5106           eval "$wx_cv_use_gnomeprint"
5107
5108           if test x"$withstring" = xwithout; then
5109             if test $wxUSE_LIBGNOMEPRINT = yes; then
5110               result=no
5111             else
5112               result=yes
5113             fi
5114           else
5115             result=$wxUSE_LIBGNOMEPRINT
5116           fi
5117
5118           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5119 $as_echo "$result" >&6; }
5120
5121
5122           withstring=
5123           defaultval=$wxUSE_ALL_FEATURES
5124           if test -z "$defaultval"; then
5125               if test x"$withstring" = xwithout; then
5126                   defaultval=yes
5127               else
5128                   defaultval=no
5129               fi
5130           fi
5131           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-gnomevfs" >&5
5132 $as_echo_n "checking for --${withstring:-with}-gnomevfs... " >&6; }
5133
5134 # Check whether --with-gnomevfs was given.
5135 if test "${with_gnomevfs+set}" = set; then :
5136   withval=$with_gnomevfs;
5137                         if test "$withval" = yes; then
5138                           wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
5139                         else
5140                           wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
5141                         fi
5142
5143 else
5144
5145                         wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
5146
5147 fi
5148
5149
5150           eval "$wx_cv_use_gnomevfs"
5151
5152           if test x"$withstring" = xwithout; then
5153             if test $wxUSE_LIBGNOMEVFS = yes; then
5154               result=no
5155             else
5156               result=yes
5157             fi
5158           else
5159             result=$wxUSE_LIBGNOMEVFS
5160           fi
5161
5162           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5163 $as_echo "$result" >&6; }
5164
5165
5166           withstring=
5167           defaultval=$wxUSE_ALL_FEATURES
5168           if test -z "$defaultval"; then
5169               if test x"$withstring" = xwithout; then
5170                   defaultval=yes
5171               else
5172                   defaultval=no
5173               fi
5174           fi
5175           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-hildon" >&5
5176 $as_echo_n "checking for --${withstring:-with}-hildon... " >&6; }
5177
5178 # Check whether --with-hildon was given.
5179 if test "${with_hildon+set}" = set; then :
5180   withval=$with_hildon;
5181                         if test "$withval" = yes; then
5182                           wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
5183                         else
5184                           wx_cv_use_hildon='wxUSE_LIBHILDON=no'
5185                         fi
5186
5187 else
5188
5189                         wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
5190
5191 fi
5192
5193
5194           eval "$wx_cv_use_hildon"
5195
5196           if test x"$withstring" = xwithout; then
5197             if test $wxUSE_LIBHILDON = yes; then
5198               result=no
5199             else
5200               result=yes
5201             fi
5202           else
5203             result=$wxUSE_LIBHILDON
5204           fi
5205
5206           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5207 $as_echo "$result" >&6; }
5208
5209
5210           withstring=
5211           defaultval=$wxUSE_ALL_FEATURES
5212           if test -z "$defaultval"; then
5213               if test x"$withstring" = xwithout; then
5214                   defaultval=yes
5215               else
5216                   defaultval=no
5217               fi
5218           fi
5219           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-opengl" >&5
5220 $as_echo_n "checking for --${withstring:-with}-opengl... " >&6; }
5221
5222 # Check whether --with-opengl was given.
5223 if test "${with_opengl+set}" = set; then :
5224   withval=$with_opengl;
5225                         if test "$withval" = yes; then
5226                           wx_cv_use_opengl='wxUSE_OPENGL=yes'
5227                         else
5228                           wx_cv_use_opengl='wxUSE_OPENGL=no'
5229                         fi
5230
5231 else
5232
5233                         wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
5234
5235 fi
5236
5237
5238           eval "$wx_cv_use_opengl"
5239
5240           if test x"$withstring" = xwithout; then
5241             if test $wxUSE_OPENGL = yes; then
5242               result=no
5243             else
5244               result=yes
5245             fi
5246           else
5247             result=$wxUSE_OPENGL
5248           fi
5249
5250           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5251 $as_echo "$result" >&6; }
5252
5253
5254 fi
5255
5256
5257           withstring=
5258           defaultval=$wxUSE_ALL_FEATURES
5259           if test -z "$defaultval"; then
5260               if test x"$withstring" = xwithout; then
5261                   defaultval=yes
5262               else
5263                   defaultval=no
5264               fi
5265           fi
5266           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-dmalloc" >&5
5267 $as_echo_n "checking for --${withstring:-with}-dmalloc... " >&6; }
5268
5269 # Check whether --with-dmalloc was given.
5270 if test "${with_dmalloc+set}" = set; then :
5271   withval=$with_dmalloc;
5272                         if test "$withval" = yes; then
5273                           wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
5274                         else
5275                           wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
5276                         fi
5277
5278 else
5279
5280                         wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
5281
5282 fi
5283
5284
5285           eval "$wx_cv_use_dmalloc"
5286
5287           if test x"$withstring" = xwithout; then
5288             if test $wxUSE_DMALLOC = yes; then
5289               result=no
5290             else
5291               result=yes
5292             fi
5293           else
5294             result=$wxUSE_DMALLOC
5295           fi
5296
5297           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5298 $as_echo "$result" >&6; }
5299
5300
5301           withstring=
5302           defaultval=$wxUSE_ALL_FEATURES
5303           if test -z "$defaultval"; then
5304               if test x"$withstring" = xwithout; then
5305                   defaultval=yes
5306               else
5307                   defaultval=no
5308               fi
5309           fi
5310           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-sdl" >&5
5311 $as_echo_n "checking for --${withstring:-with}-sdl... " >&6; }
5312
5313 # Check whether --with-sdl was given.
5314 if test "${with_sdl+set}" = set; then :
5315   withval=$with_sdl;
5316                         if test "$withval" = yes; then
5317                           wx_cv_use_sdl='wxUSE_LIBSDL=yes'
5318                         else
5319                           wx_cv_use_sdl='wxUSE_LIBSDL=no'
5320                         fi
5321
5322 else
5323
5324                         wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
5325
5326 fi
5327
5328
5329           eval "$wx_cv_use_sdl"
5330
5331           if test x"$withstring" = xwithout; then
5332             if test $wxUSE_LIBSDL = yes; then
5333               result=no
5334             else
5335               result=yes
5336             fi
5337           else
5338             result=$wxUSE_LIBSDL
5339           fi
5340
5341           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5342 $as_echo "$result" >&6; }
5343
5344
5345           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-regex" >&5
5346 $as_echo_n "checking for --with-regex... " >&6; }
5347
5348 # Check whether --with-regex was given.
5349 if test "${with_regex+set}" = set; then :
5350   withval=$with_regex;
5351                         if test "$withval" = yes; then
5352                           wx_cv_use_regex='wxUSE_REGEX=yes'
5353                         elif test "$withval" = no; then
5354                           wx_cv_use_regex='wxUSE_REGEX=no'
5355                         elif test "$withval" = sys; then
5356                           wx_cv_use_regex='wxUSE_REGEX=sys'
5357                         elif test "$withval" = builtin; then
5358                           wx_cv_use_regex='wxUSE_REGEX=builtin'
5359                         else
5360                           as_fn_error $? "Invalid value for --with-regex: should be yes, no, sys, or builtin" "$LINENO" 5
5361                         fi
5362
5363 else
5364
5365                         wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
5366
5367 fi
5368
5369
5370           eval "$wx_cv_use_regex"
5371
5372           if test "$wxUSE_REGEX" = yes; then
5373             { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5374 $as_echo "yes" >&6; }
5375           elif test "$wxUSE_REGEX" = no; then
5376             { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5377 $as_echo "no" >&6; }
5378           elif test "$wxUSE_REGEX" = sys; then
5379             { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
5380 $as_echo "system version" >&6; }
5381           elif test "$wxUSE_REGEX" = builtin; then
5382             { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
5383 $as_echo "builtin version" >&6; }
5384           else
5385             as_fn_error $? "Invalid value for --with-regex: should be yes, no, sys, or builtin" "$LINENO" 5
5386           fi
5387
5388
5389           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-zlib" >&5
5390 $as_echo_n "checking for --with-zlib... " >&6; }
5391
5392 # Check whether --with-zlib was given.
5393 if test "${with_zlib+set}" = set; then :
5394   withval=$with_zlib;
5395                         if test "$withval" = yes; then
5396                           wx_cv_use_zlib='wxUSE_ZLIB=yes'
5397                         elif test "$withval" = no; then
5398                           wx_cv_use_zlib='wxUSE_ZLIB=no'
5399                         elif test "$withval" = sys; then
5400                           wx_cv_use_zlib='wxUSE_ZLIB=sys'
5401                         elif test "$withval" = builtin; then
5402                           wx_cv_use_zlib='wxUSE_ZLIB=builtin'
5403                         else
5404                           as_fn_error $? "Invalid value for --with-zlib: should be yes, no, sys, or builtin" "$LINENO" 5
5405                         fi
5406
5407 else
5408
5409                         wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
5410
5411 fi
5412
5413
5414           eval "$wx_cv_use_zlib"
5415
5416           if test "$wxUSE_ZLIB" = yes; then
5417             { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5418 $as_echo "yes" >&6; }
5419           elif test "$wxUSE_ZLIB" = no; then
5420             { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5421 $as_echo "no" >&6; }
5422           elif test "$wxUSE_ZLIB" = sys; then
5423             { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
5424 $as_echo "system version" >&6; }
5425           elif test "$wxUSE_ZLIB" = builtin; then
5426             { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
5427 $as_echo "builtin version" >&6; }
5428           else
5429             as_fn_error $? "Invalid value for --with-zlib: should be yes, no, sys, or builtin" "$LINENO" 5
5430           fi
5431
5432
5433           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-expat" >&5
5434 $as_echo_n "checking for --with-expat... " >&6; }
5435
5436 # Check whether --with-expat was given.
5437 if test "${with_expat+set}" = set; then :
5438   withval=$with_expat;
5439                         if test "$withval" = yes; then
5440                           wx_cv_use_expat='wxUSE_EXPAT=yes'
5441                         elif test "$withval" = no; then
5442                           wx_cv_use_expat='wxUSE_EXPAT=no'
5443                         elif test "$withval" = sys; then
5444                           wx_cv_use_expat='wxUSE_EXPAT=sys'
5445                         elif test "$withval" = builtin; then
5446                           wx_cv_use_expat='wxUSE_EXPAT=builtin'
5447                         else
5448                           as_fn_error $? "Invalid value for --with-expat: should be yes, no, sys, or builtin" "$LINENO" 5
5449                         fi
5450
5451 else
5452
5453                         wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
5454
5455 fi
5456
5457
5458           eval "$wx_cv_use_expat"
5459
5460           if test "$wxUSE_EXPAT" = yes; then
5461             { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5462 $as_echo "yes" >&6; }
5463           elif test "$wxUSE_EXPAT" = no; then
5464             { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5465 $as_echo "no" >&6; }
5466           elif test "$wxUSE_EXPAT" = sys; then
5467             { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
5468 $as_echo "system version" >&6; }
5469           elif test "$wxUSE_EXPAT" = builtin; then
5470             { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
5471 $as_echo "builtin version" >&6; }
5472           else
5473             as_fn_error $? "Invalid value for --with-expat: should be yes, no, sys, or builtin" "$LINENO" 5
5474           fi
5475
5476
5477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-macosx-sdk" >&5
5478 $as_echo_n "checking for --with-macosx-sdk... " >&6; }
5479
5480 # Check whether --with-macosx-sdk was given.
5481 if test "${with_macosx_sdk+set}" = set; then :
5482   withval=$with_macosx_sdk;
5483         wxUSE_MACOSX_SDK=$withval
5484         wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
5485
5486 fi
5487
5488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MACOSX_SDK" >&5
5489 $as_echo "$wxUSE_MACOSX_SDK" >&6; }
5490
5491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-macosx-version-min" >&5
5492 $as_echo_n "checking for --with-macosx-version-min... " >&6; }
5493
5494 # Check whether --with-macosx-version-min was given.
5495 if test "${with_macosx_version_min+set}" = set; then :
5496   withval=$with_macosx_version_min;
5497         wxUSE_MACOSX_VERSION_MIN=$withval
5498         wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
5499
5500 fi
5501
5502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MACOSX_VERSION_MIN" >&5
5503 $as_echo "$wxUSE_MACOSX_VERSION_MIN" >&6; }
5504
5505
5506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-debug" >&5
5507 $as_echo_n "checking for --enable-debug... " >&6; }
5508 # Check whether --enable-debug was given.
5509 if test "${enable_debug+set}" = set; then :
5510   enableval=$enable_debug;
5511         if test "$enableval" = yes; then
5512             wxUSE_DEBUG=yes
5513         elif test "$enableval" = no; then
5514             wxUSE_DEBUG=no
5515         elif test "$enableval" = max; then
5516             wxUSE_DEBUG=yes
5517             WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=2"
5518         else
5519             as_fn_error $? "Invalid --enable-debug value, must be yes, no or max" "$LINENO" 5
5520         fi
5521
5522 else
5523   wxUSE_DEBUG=default
5524
5525 fi
5526
5527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${enable_debug-default}" >&5
5528 $as_echo "${enable_debug-default}" >&6; }
5529
5530 case "$wxUSE_DEBUG" in
5531     yes)
5532                         DEFAULT_wxUSE_DEBUG_FLAG=yes
5533         DEFAULT_wxUSE_DEBUG_INFO=yes
5534
5535                         DEFAULT_wxUSE_OPTIMISE=no
5536         ;;
5537
5538     no)
5539                         DEFAULT_wxUSE_DEBUG_FLAG=no
5540         DEFAULT_wxUSE_DEBUG_INFO=no
5541         ;;
5542
5543     default)
5544                         DEFAULT_wxUSE_DEBUG_FLAG=yes
5545         DEFAULT_wxUSE_DEBUG_INFO=no
5546         ;;
5547 esac
5548
5549
5550           enablestring=disable
5551           defaultval=
5552           if test -z "$defaultval"; then
5553               if test x"$enablestring" = xdisable; then
5554                   defaultval=yes
5555               else
5556                   defaultval=no
5557               fi
5558           fi
5559
5560           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debug_flag" >&5
5561 $as_echo_n "checking for --${enablestring:-enable}-debug_flag... " >&6; }
5562           # Check whether --enable-debug_flag was given.
5563 if test "${enable_debug_flag+set}" = set; then :
5564   enableval=$enable_debug_flag;
5565                           if test "$enableval" = yes; then
5566                             wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
5567                           else
5568                             wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
5569                           fi
5570
5571 else
5572
5573                           wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
5574
5575 fi
5576
5577
5578           eval "$wx_cv_use_debug_flag"
5579
5580           if test x"$enablestring" = xdisable; then
5581             if test $wxUSE_DEBUG_FLAG = no; then
5582               result=yes
5583             else
5584               result=no
5585             fi
5586           else
5587             result=$wxUSE_DEBUG_FLAG
5588           fi
5589
5590           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5591 $as_echo "$result" >&6; }
5592
5593
5594           enablestring=
5595           defaultval=
5596           if test -z "$defaultval"; then
5597               if test x"$enablestring" = xdisable; then
5598                   defaultval=yes
5599               else
5600                   defaultval=no
5601               fi
5602           fi
5603
5604           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debug_info" >&5
5605 $as_echo_n "checking for --${enablestring:-enable}-debug_info... " >&6; }
5606           # Check whether --enable-debug_info was given.
5607 if test "${enable_debug_info+set}" = set; then :
5608   enableval=$enable_debug_info;
5609                           if test "$enableval" = yes; then
5610                             wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
5611                           else
5612                             wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
5613                           fi
5614
5615 else
5616
5617                           wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
5618
5619 fi
5620
5621
5622           eval "$wx_cv_use_debug_info"
5623
5624           if test x"$enablestring" = xdisable; then
5625             if test $wxUSE_DEBUG_INFO = no; then
5626               result=yes
5627             else
5628               result=no
5629             fi
5630           else
5631             result=$wxUSE_DEBUG_INFO
5632           fi
5633
5634           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5635 $as_echo "$result" >&6; }
5636
5637
5638
5639
5640           enablestring=
5641           defaultval=
5642           if test -z "$defaultval"; then
5643               if test x"$enablestring" = xdisable; then
5644                   defaultval=yes
5645               else
5646                   defaultval=no
5647               fi
5648           fi
5649
5650           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debug_gdb" >&5
5651 $as_echo_n "checking for --${enablestring:-enable}-debug_gdb... " >&6; }
5652           # Check whether --enable-debug_gdb was given.
5653 if test "${enable_debug_gdb+set}" = set; then :
5654   enableval=$enable_debug_gdb;
5655                           if test "$enableval" = yes; then
5656                             wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
5657                           else
5658                             wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
5659                           fi
5660
5661 else
5662
5663                           wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
5664
5665 fi
5666
5667
5668           eval "$wx_cv_use_debug_gdb"
5669
5670           if test x"$enablestring" = xdisable; then
5671             if test $wxUSE_DEBUG_GDB = no; then
5672               result=yes
5673             else
5674               result=no
5675             fi
5676           else
5677             result=$wxUSE_DEBUG_GDB
5678           fi
5679
5680           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5681 $as_echo "$result" >&6; }
5682
5683
5684           enablestring=
5685           defaultval=
5686           if test -z "$defaultval"; then
5687               if test x"$enablestring" = xdisable; then
5688                   defaultval=yes
5689               else
5690                   defaultval=no
5691               fi
5692           fi
5693
5694           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debug_cntxt" >&5
5695 $as_echo_n "checking for --${enablestring:-enable}-debug_cntxt... " >&6; }
5696           # Check whether --enable-debug_cntxt was given.
5697 if test "${enable_debug_cntxt+set}" = set; then :
5698   enableval=$enable_debug_cntxt;
5699                           if test "$enableval" = yes; then
5700                             wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
5701                           else
5702                             wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
5703                           fi
5704
5705 else
5706
5707                           wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
5708
5709 fi
5710
5711
5712           eval "$wx_cv_use_debug_cntxt"
5713
5714           if test x"$enablestring" = xdisable; then
5715             if test $wxUSE_DEBUG_CONTEXT = no; then
5716               result=yes
5717             else
5718               result=no
5719             fi
5720           else
5721             result=$wxUSE_DEBUG_CONTEXT
5722           fi
5723
5724           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5725 $as_echo "$result" >&6; }
5726
5727
5728           enablestring=
5729           defaultval=
5730           if test -z "$defaultval"; then
5731               if test x"$enablestring" = xdisable; then
5732                   defaultval=yes
5733               else
5734                   defaultval=no
5735               fi
5736           fi
5737
5738           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mem_tracing" >&5
5739 $as_echo_n "checking for --${enablestring:-enable}-mem_tracing... " >&6; }
5740           # Check whether --enable-mem_tracing was given.
5741 if test "${enable_mem_tracing+set}" = set; then :
5742   enableval=$enable_mem_tracing;
5743                           if test "$enableval" = yes; then
5744                             wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
5745                           else
5746                             wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
5747                           fi
5748
5749 else
5750
5751                           wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
5752
5753 fi
5754
5755
5756           eval "$wx_cv_use_mem_tracing"
5757
5758           if test x"$enablestring" = xdisable; then
5759             if test $wxUSE_MEM_TRACING = no; then
5760               result=yes
5761             else
5762               result=no
5763             fi
5764           else
5765             result=$wxUSE_MEM_TRACING
5766           fi
5767
5768           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5769 $as_echo "$result" >&6; }
5770
5771
5772
5773
5774           enablestring=disable
5775           defaultval=
5776           if test -z "$defaultval"; then
5777               if test x"$enablestring" = xdisable; then
5778                   defaultval=yes
5779               else
5780                   defaultval=no
5781               fi
5782           fi
5783
5784           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-shared" >&5
5785 $as_echo_n "checking for --${enablestring:-enable}-shared... " >&6; }
5786           # Check whether --enable-shared was given.
5787 if test "${enable_shared+set}" = set; then :
5788   enableval=$enable_shared;
5789                           if test "$enableval" = yes; then
5790                             wx_cv_use_shared='wxUSE_SHARED=yes'
5791                           else
5792                             wx_cv_use_shared='wxUSE_SHARED=no'
5793                           fi
5794
5795 else
5796
5797                           wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
5798
5799 fi
5800
5801
5802           eval "$wx_cv_use_shared"
5803
5804           if test x"$enablestring" = xdisable; then
5805             if test $wxUSE_SHARED = no; then
5806               result=yes
5807             else
5808               result=no
5809             fi
5810           else
5811             result=$wxUSE_SHARED
5812           fi
5813
5814           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5815 $as_echo "$result" >&6; }
5816
5817
5818           enablestring=
5819           defaultval=
5820           if test -z "$defaultval"; then
5821               if test x"$enablestring" = xdisable; then
5822                   defaultval=yes
5823               else
5824                   defaultval=no
5825               fi
5826           fi
5827
5828           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stl" >&5
5829 $as_echo_n "checking for --${enablestring:-enable}-stl... " >&6; }
5830           # Check whether --enable-stl was given.
5831 if test "${enable_stl+set}" = set; then :
5832   enableval=$enable_stl;
5833                           if test "$enableval" = yes; then
5834                             wx_cv_use_stl='wxUSE_STL=yes'
5835                           else
5836                             wx_cv_use_stl='wxUSE_STL=no'
5837                           fi
5838
5839 else
5840
5841                           wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
5842
5843 fi
5844
5845
5846           eval "$wx_cv_use_stl"
5847
5848           if test x"$enablestring" = xdisable; then
5849             if test $wxUSE_STL = no; then
5850               result=yes
5851             else
5852               result=no
5853             fi
5854           else
5855             result=$wxUSE_STL
5856           fi
5857
5858           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5859 $as_echo "$result" >&6; }
5860
5861 if test "$wxUSE_STL" = "yes"; then
5862     DEFAULT_wxUSE_STD_CONTAINERS=yes
5863     DEFAULT_wxUSE_STD_IOSTREAM=yes
5864     DEFAULT_wxUSE_STD_STRING=yes
5865 fi
5866
5867           enablestring=
5868           defaultval=
5869           if test -z "$defaultval"; then
5870               if test x"$enablestring" = xdisable; then
5871                   defaultval=yes
5872               else
5873                   defaultval=no
5874               fi
5875           fi
5876
5877           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-std_containers" >&5
5878 $as_echo_n "checking for --${enablestring:-enable}-std_containers... " >&6; }
5879           # Check whether --enable-std_containers was given.
5880 if test "${enable_std_containers+set}" = set; then :
5881   enableval=$enable_std_containers;
5882                           if test "$enableval" = yes; then
5883                             wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=yes'
5884                           else
5885                             wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=no'
5886                           fi
5887
5888 else
5889
5890                           wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=${'DEFAULT_wxUSE_STD_CONTAINERS":-$defaultval}"
5891
5892 fi
5893
5894
5895           eval "$wx_cv_use_std_containers"
5896
5897           if test x"$enablestring" = xdisable; then
5898             if test $wxUSE_STD_CONTAINERS = no; then
5899               result=yes
5900             else
5901               result=no
5902             fi
5903           else
5904             result=$wxUSE_STD_CONTAINERS
5905           fi
5906
5907           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5908 $as_echo "$result" >&6; }
5909
5910
5911           enablestring=
5912           defaultval=
5913           if test -z "$defaultval"; then
5914               if test x"$enablestring" = xdisable; then
5915                   defaultval=yes
5916               else
5917                   defaultval=no
5918               fi
5919           fi
5920
5921           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-std_iostreams" >&5
5922 $as_echo_n "checking for --${enablestring:-enable}-std_iostreams... " >&6; }
5923           # Check whether --enable-std_iostreams was given.
5924 if test "${enable_std_iostreams+set}" = set; then :
5925   enableval=$enable_std_iostreams;
5926                           if test "$enableval" = yes; then
5927                             wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
5928                           else
5929                             wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
5930                           fi
5931
5932 else
5933
5934                           wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
5935
5936 fi
5937
5938
5939           eval "$wx_cv_use_std_iostreams"
5940
5941           if test x"$enablestring" = xdisable; then
5942             if test $wxUSE_STD_IOSTREAM = no; then
5943               result=yes
5944             else
5945               result=no
5946             fi
5947           else
5948             result=$wxUSE_STD_IOSTREAM
5949           fi
5950
5951           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5952 $as_echo "$result" >&6; }
5953
5954
5955           enablestring=
5956           defaultval=
5957           if test -z "$defaultval"; then
5958               if test x"$enablestring" = xdisable; then
5959                   defaultval=yes
5960               else
5961                   defaultval=no
5962               fi
5963           fi
5964
5965           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-std_string" >&5
5966 $as_echo_n "checking for --${enablestring:-enable}-std_string... " >&6; }
5967           # Check whether --enable-std_string was given.
5968 if test "${enable_std_string+set}" = set; then :
5969   enableval=$enable_std_string;
5970                           if test "$enableval" = yes; then
5971                             wx_cv_use_std_string='wxUSE_STD_STRING=yes'
5972                           else
5973                             wx_cv_use_std_string='wxUSE_STD_STRING=no'
5974                           fi
5975
5976 else
5977
5978                           wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
5979
5980 fi
5981
5982
5983           eval "$wx_cv_use_std_string"
5984
5985           if test x"$enablestring" = xdisable; then
5986             if test $wxUSE_STD_STRING = no; then
5987               result=yes
5988             else
5989               result=no
5990             fi
5991           else
5992             result=$wxUSE_STD_STRING
5993           fi
5994
5995           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5996 $as_echo "$result" >&6; }
5997
5998
5999           enablestring=
6000           defaultval=
6001           if test -z "$defaultval"; then
6002               if test x"$enablestring" = xdisable; then
6003                   defaultval=yes
6004               else
6005                   defaultval=no
6006               fi
6007           fi
6008
6009           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-std_string_conv_in_wxstring" >&5
6010 $as_echo_n "checking for --${enablestring:-enable}-std_string_conv_in_wxstring... " >&6; }
6011           # Check whether --enable-std_string_conv_in_wxstring was given.
6012 if test "${enable_std_string_conv_in_wxstring+set}" = set; then :
6013   enableval=$enable_std_string_conv_in_wxstring;
6014                           if test "$enableval" = yes; then
6015                             wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=yes'
6016                           else
6017                             wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=no'
6018                           fi
6019
6020 else
6021
6022                           wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=${'DEFAULT_wxUSE_STD_STRING_CONV_IN_WXSTRING":-$defaultval}"
6023
6024 fi
6025
6026
6027           eval "$wx_cv_use_std_string_conv_in_wxstring"
6028
6029           if test x"$enablestring" = xdisable; then
6030             if test $wxUSE_STD_STRING_CONV_IN_WXSTRING = no; then
6031               result=yes
6032             else
6033               result=no
6034             fi
6035           else
6036             result=$wxUSE_STD_STRING_CONV_IN_WXSTRING
6037           fi
6038
6039           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6040 $as_echo "$result" >&6; }
6041
6042
6043           enablestring=disable
6044           defaultval=
6045           if test -z "$defaultval"; then
6046               if test x"$enablestring" = xdisable; then
6047                   defaultval=yes
6048               else
6049                   defaultval=no
6050               fi
6051           fi
6052
6053           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-unicode" >&5
6054 $as_echo_n "checking for --${enablestring:-enable}-unicode... " >&6; }
6055           # Check whether --enable-unicode was given.
6056 if test "${enable_unicode+set}" = set; then :
6057   enableval=$enable_unicode;
6058                           if test "$enableval" = yes; then
6059                             wx_cv_use_unicode='wxUSE_UNICODE=yes'
6060                           else
6061                             wx_cv_use_unicode='wxUSE_UNICODE=no'
6062                           fi
6063
6064 else
6065
6066                           wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
6067
6068 fi
6069
6070
6071           eval "$wx_cv_use_unicode"
6072
6073           if test x"$enablestring" = xdisable; then
6074             if test $wxUSE_UNICODE = no; then
6075               result=yes
6076             else
6077               result=no
6078             fi
6079           else
6080             result=$wxUSE_UNICODE
6081           fi
6082
6083           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6084 $as_echo "$result" >&6; }
6085
6086
6087           enablestring=
6088           defaultval=
6089           if test -z "$defaultval"; then
6090               if test x"$enablestring" = xdisable; then
6091                   defaultval=yes
6092               else
6093                   defaultval=no
6094               fi
6095           fi
6096
6097           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mslu" >&5
6098 $as_echo_n "checking for --${enablestring:-enable}-mslu... " >&6; }
6099           # Check whether --enable-mslu was given.
6100 if test "${enable_mslu+set}" = set; then :
6101   enableval=$enable_mslu;
6102                           if test "$enableval" = yes; then
6103                             wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
6104                           else
6105                             wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
6106                           fi
6107
6108 else
6109
6110                           wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
6111
6112 fi
6113
6114
6115           eval "$wx_cv_use_mslu"
6116
6117           if test x"$enablestring" = xdisable; then
6118             if test $wxUSE_UNICODE_MSLU = no; then
6119               result=yes
6120             else
6121               result=no
6122             fi
6123           else
6124             result=$wxUSE_UNICODE_MSLU
6125           fi
6126
6127           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6128 $as_echo "$result" >&6; }
6129
6130
6131           enablestring=
6132           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-utf8" >&5
6133 $as_echo_n "checking for --${enablestring:-enable}-utf8... " >&6; }
6134           # Check whether --enable-utf8 was given.
6135 if test "${enable_utf8+set}" = set; then :
6136   enableval=$enable_utf8;
6137                           wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
6138
6139 else
6140
6141                           wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
6142
6143 fi
6144
6145
6146           eval "$wx_cv_use_utf8"
6147
6148           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_UNICODE_UTF8" >&5
6149 $as_echo "$wxUSE_UNICODE_UTF8" >&6; }
6150
6151
6152           enablestring=
6153           defaultval=
6154           if test -z "$defaultval"; then
6155               if test x"$enablestring" = xdisable; then
6156                   defaultval=yes
6157               else
6158                   defaultval=no
6159               fi
6160           fi
6161
6162           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-utf8only" >&5
6163 $as_echo_n "checking for --${enablestring:-enable}-utf8only... " >&6; }
6164           # Check whether --enable-utf8only was given.
6165 if test "${enable_utf8only+set}" = set; then :
6166   enableval=$enable_utf8only;
6167                           if test "$enableval" = yes; then
6168                             wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
6169                           else
6170                             wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
6171                           fi
6172
6173 else
6174
6175                           wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
6176
6177 fi
6178
6179
6180           eval "$wx_cv_use_utf8only"
6181
6182           if test x"$enablestring" = xdisable; then
6183             if test $wxUSE_UNICODE_UTF8_LOCALE = no; then
6184               result=yes
6185             else
6186               result=no
6187             fi
6188           else
6189             result=$wxUSE_UNICODE_UTF8_LOCALE
6190           fi
6191
6192           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6193 $as_echo "$result" >&6; }
6194
6195
6196           enablestring=
6197           defaultval=
6198           if test -z "$defaultval"; then
6199               if test x"$enablestring" = xdisable; then
6200                   defaultval=yes
6201               else
6202                   defaultval=no
6203               fi
6204           fi
6205
6206           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-extended_rtti" >&5
6207 $as_echo_n "checking for --${enablestring:-enable}-extended_rtti... " >&6; }
6208           # Check whether --enable-extended_rtti was given.
6209 if test "${enable_extended_rtti+set}" = set; then :
6210   enableval=$enable_extended_rtti;
6211                           if test "$enableval" = yes; then
6212                             wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
6213                           else
6214                             wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
6215                           fi
6216
6217 else
6218
6219                           wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
6220
6221 fi
6222
6223
6224           eval "$wx_cv_use_extended_rtti"
6225
6226           if test x"$enablestring" = xdisable; then
6227             if test $wxUSE_EXTENDED_RTTI = no; then
6228               result=yes
6229             else
6230               result=no
6231             fi
6232           else
6233             result=$wxUSE_EXTENDED_RTTI
6234           fi
6235
6236           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6237 $as_echo "$result" >&6; }
6238
6239 if test "$USE_OS2" = 1; then
6240     DEFAULT_wxUSE_OMF=no
6241
6242           enablestring=
6243           defaultval=
6244           if test -z "$defaultval"; then
6245               if test x"$enablestring" = xdisable; then
6246                   defaultval=yes
6247               else
6248                   defaultval=no
6249               fi
6250           fi
6251
6252           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-omf" >&5
6253 $as_echo_n "checking for --${enablestring:-enable}-omf... " >&6; }
6254           # Check whether --enable-omf was given.
6255 if test "${enable_omf+set}" = set; then :
6256   enableval=$enable_omf;
6257                           if test "$enableval" = yes; then
6258                             wx_cv_use_omf='wxUSE_OMF=yes'
6259                           else
6260                             wx_cv_use_omf='wxUSE_OMF=no'
6261                           fi
6262
6263 else
6264
6265                           wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
6266
6267 fi
6268
6269
6270           eval "$wx_cv_use_omf"
6271
6272           if test x"$enablestring" = xdisable; then
6273             if test $wxUSE_OMF = no; then
6274               result=yes
6275             else
6276               result=no
6277             fi
6278           else
6279             result=$wxUSE_OMF
6280           fi
6281
6282           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6283 $as_echo "$result" >&6; }
6284
6285 fi
6286
6287
6288           enablestring=disable
6289           defaultval=
6290           if test -z "$defaultval"; then
6291               if test x"$enablestring" = xdisable; then
6292                   defaultval=yes
6293               else
6294                   defaultval=no
6295               fi
6296           fi
6297
6298           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-optimise" >&5
6299 $as_echo_n "checking for --${enablestring:-enable}-optimise... " >&6; }
6300           # Check whether --enable-optimise was given.
6301 if test "${enable_optimise+set}" = set; then :
6302   enableval=$enable_optimise;
6303                           if test "$enableval" = yes; then
6304                             wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
6305                           else
6306                             wx_cv_use_optimise='wxUSE_OPTIMISE=no'
6307                           fi
6308
6309 else
6310
6311                           wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
6312
6313 fi
6314
6315
6316           eval "$wx_cv_use_optimise"
6317
6318           if test x"$enablestring" = xdisable; then
6319             if test $wxUSE_OPTIMISE = no; then
6320               result=yes
6321             else
6322               result=no
6323             fi
6324           else
6325             result=$wxUSE_OPTIMISE
6326           fi
6327
6328           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6329 $as_echo "$result" >&6; }
6330
6331
6332
6333           enablestring=
6334           defaultval=
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           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-profile" >&5
6344 $as_echo_n "checking for --${enablestring:-enable}-profile... " >&6; }
6345           # Check whether --enable-profile was given.
6346 if test "${enable_profile+set}" = set; then :
6347   enableval=$enable_profile;
6348                           if test "$enableval" = yes; then
6349                             wx_cv_use_profile='wxUSE_PROFILE=yes'
6350                           else
6351                             wx_cv_use_profile='wxUSE_PROFILE=no'
6352                           fi
6353
6354 else
6355
6356                           wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
6357
6358 fi
6359
6360
6361           eval "$wx_cv_use_profile"
6362
6363           if test x"$enablestring" = xdisable; then
6364             if test $wxUSE_PROFILE = no; then
6365               result=yes
6366             else
6367               result=no
6368             fi
6369           else
6370             result=$wxUSE_PROFILE
6371           fi
6372
6373           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6374 $as_echo "$result" >&6; }
6375
6376
6377           enablestring=
6378           defaultval=
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           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-no_rtti" >&5
6388 $as_echo_n "checking for --${enablestring:-enable}-no_rtti... " >&6; }
6389           # Check whether --enable-no_rtti was given.
6390 if test "${enable_no_rtti+set}" = set; then :
6391   enableval=$enable_no_rtti;
6392                           if test "$enableval" = yes; then
6393                             wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
6394                           else
6395                             wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
6396                           fi
6397
6398 else
6399
6400                           wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
6401
6402 fi
6403
6404
6405           eval "$wx_cv_use_no_rtti"
6406
6407           if test x"$enablestring" = xdisable; then
6408             if test $wxUSE_NO_RTTI = no; then
6409               result=yes
6410             else
6411               result=no
6412             fi
6413           else
6414             result=$wxUSE_NO_RTTI
6415           fi
6416
6417           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6418 $as_echo "$result" >&6; }
6419
6420
6421           enablestring=
6422           defaultval=
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           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-no_exceptions" >&5
6432 $as_echo_n "checking for --${enablestring:-enable}-no_exceptions... " >&6; }
6433           # Check whether --enable-no_exceptions was given.
6434 if test "${enable_no_exceptions+set}" = set; then :
6435   enableval=$enable_no_exceptions;
6436                           if test "$enableval" = yes; then
6437                             wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
6438                           else
6439                             wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
6440                           fi
6441
6442 else
6443
6444                           wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
6445
6446 fi
6447
6448
6449           eval "$wx_cv_use_no_exceptions"
6450
6451           if test x"$enablestring" = xdisable; then
6452             if test $wxUSE_NO_EXCEPTIONS = no; then
6453               result=yes
6454             else
6455               result=no
6456             fi
6457           else
6458             result=$wxUSE_NO_EXCEPTIONS
6459           fi
6460
6461           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6462 $as_echo "$result" >&6; }
6463
6464
6465           enablestring=
6466           defaultval=
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           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-permissive" >&5
6476 $as_echo_n "checking for --${enablestring:-enable}-permissive... " >&6; }
6477           # Check whether --enable-permissive was given.
6478 if test "${enable_permissive+set}" = set; then :
6479   enableval=$enable_permissive;
6480                           if test "$enableval" = yes; then
6481                             wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
6482                           else
6483                             wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
6484                           fi
6485
6486 else
6487
6488                           wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
6489
6490 fi
6491
6492
6493           eval "$wx_cv_use_permissive"
6494
6495           if test x"$enablestring" = xdisable; then
6496             if test $wxUSE_PERMISSIVE = no; then
6497               result=yes
6498             else
6499               result=no
6500             fi
6501           else
6502             result=$wxUSE_PERMISSIVE
6503           fi
6504
6505           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6506 $as_echo "$result" >&6; }
6507
6508
6509           enablestring=
6510           defaultval=
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           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-no_deps" >&5
6520 $as_echo_n "checking for --${enablestring:-enable}-no_deps... " >&6; }
6521           # Check whether --enable-no_deps was given.
6522 if test "${enable_no_deps+set}" = set; then :
6523   enableval=$enable_no_deps;
6524                           if test "$enableval" = yes; then
6525                             wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
6526                           else
6527                             wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
6528                           fi
6529
6530 else
6531
6532                           wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
6533
6534 fi
6535
6536
6537           eval "$wx_cv_use_no_deps"
6538
6539           if test x"$enablestring" = xdisable; then
6540             if test $wxUSE_NO_DEPS = no; then
6541               result=yes
6542             else
6543               result=no
6544             fi
6545           else
6546             result=$wxUSE_NO_DEPS
6547           fi
6548
6549           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6550 $as_echo "$result" >&6; }
6551
6552
6553           enablestring=disable
6554           defaultval=
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           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-vararg_macros" >&5
6564 $as_echo_n "checking for --${enablestring:-enable}-vararg_macros... " >&6; }
6565           # Check whether --enable-vararg_macros was given.
6566 if test "${enable_vararg_macros+set}" = set; then :
6567   enableval=$enable_vararg_macros;
6568                           if test "$enableval" = yes; then
6569                             wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
6570                           else
6571                             wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
6572                           fi
6573
6574 else
6575
6576                           wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
6577
6578 fi
6579
6580
6581           eval "$wx_cv_use_vararg_macros"
6582
6583           if test x"$enablestring" = xdisable; then
6584             if test $wxUSE_VARARG_MACROS = no; then
6585               result=yes
6586             else
6587               result=no
6588             fi
6589           else
6590             result=$wxUSE_VARARG_MACROS
6591           fi
6592
6593           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6594 $as_echo "$result" >&6; }
6595
6596
6597
6598           enablestring=
6599           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-universal_binary" >&5
6600 $as_echo_n "checking for --${enablestring:-enable}-universal_binary... " >&6; }
6601           # Check whether --enable-universal_binary was given.
6602 if test "${enable_universal_binary+set}" = set; then :
6603   enableval=$enable_universal_binary;
6604                           wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
6605
6606 else
6607
6608                           wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
6609
6610 fi
6611
6612
6613           eval "$wx_cv_use_universal_binary"
6614
6615           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_UNIVERSAL_BINARY" >&5
6616 $as_echo "$wxUSE_UNIVERSAL_BINARY" >&6; }
6617
6618
6619           enablestring=
6620           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-macosx_arch" >&5
6621 $as_echo_n "checking for --${enablestring:-enable}-macosx_arch... " >&6; }
6622           # Check whether --enable-macosx_arch was given.
6623 if test "${enable_macosx_arch+set}" = set; then :
6624   enableval=$enable_macosx_arch;
6625                           wx_cv_use_macosx_arch="wxUSE_MAC_ARCH='$enableval'"
6626
6627 else
6628
6629                           wx_cv_use_macosx_arch='wxUSE_MAC_ARCH='$DEFAULT_wxUSE_MAC_ARCH
6630
6631 fi
6632
6633
6634           eval "$wx_cv_use_macosx_arch"
6635
6636           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MAC_ARCH" >&5
6637 $as_echo "$wxUSE_MAC_ARCH" >&6; }
6638
6639
6640
6641           enablestring=
6642           defaultval=
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           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-compat26" >&5
6652 $as_echo_n "checking for --${enablestring:-enable}-compat26... " >&6; }
6653           # Check whether --enable-compat26 was given.
6654 if test "${enable_compat26+set}" = set; then :
6655   enableval=$enable_compat26;
6656                           if test "$enableval" = yes; then
6657                             wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
6658                           else
6659                             wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
6660                           fi
6661
6662 else
6663
6664                           wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
6665
6666 fi
6667
6668
6669           eval "$wx_cv_use_compat26"
6670
6671           if test x"$enablestring" = xdisable; then
6672             if test $WXWIN_COMPATIBILITY_2_6 = no; then
6673               result=yes
6674             else
6675               result=no
6676             fi
6677           else
6678             result=$WXWIN_COMPATIBILITY_2_6
6679           fi
6680
6681           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6682 $as_echo "$result" >&6; }
6683
6684
6685           enablestring=disable
6686           defaultval=
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           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-compat28" >&5
6696 $as_echo_n "checking for --${enablestring:-enable}-compat28... " >&6; }
6697           # Check whether --enable-compat28 was given.
6698 if test "${enable_compat28+set}" = set; then :
6699   enableval=$enable_compat28;
6700                           if test "$enableval" = yes; then
6701                             wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
6702                           else
6703                             wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
6704                           fi
6705
6706 else
6707
6708                           wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
6709
6710 fi
6711
6712
6713           eval "$wx_cv_use_compat28"
6714
6715           if test x"$enablestring" = xdisable; then
6716             if test $WXWIN_COMPATIBILITY_2_8 = no; then
6717               result=yes
6718             else
6719               result=no
6720             fi
6721           else
6722             result=$WXWIN_COMPATIBILITY_2_8
6723           fi
6724
6725           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6726 $as_echo "$result" >&6; }
6727
6728
6729
6730           enablestring=disable
6731           defaultval=
6732           if test -z "$defaultval"; then
6733               if test x"$enablestring" = xdisable; then
6734                   defaultval=yes
6735               else
6736                   defaultval=no
6737               fi
6738           fi
6739
6740           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-rpath" >&5
6741 $as_echo_n "checking for --${enablestring:-enable}-rpath... " >&6; }
6742           # Check whether --enable-rpath was given.
6743 if test "${enable_rpath+set}" = set; then :
6744   enableval=$enable_rpath;
6745                           if test "$enableval" = yes; then
6746                             wx_cv_use_rpath='wxUSE_RPATH=yes'
6747                           else
6748                             wx_cv_use_rpath='wxUSE_RPATH=no'
6749                           fi
6750
6751 else
6752
6753                           wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
6754
6755 fi
6756
6757
6758           eval "$wx_cv_use_rpath"
6759
6760           if test x"$enablestring" = xdisable; then
6761             if test $wxUSE_RPATH = no; then
6762               result=yes
6763             else
6764               result=no
6765             fi
6766           else
6767             result=$wxUSE_RPATH
6768           fi
6769
6770           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6771 $as_echo "$result" >&6; }
6772
6773
6774
6775           enablestring=
6776           defaultval=
6777           if test -z "$defaultval"; then
6778               if test x"$enablestring" = xdisable; then
6779                   defaultval=yes
6780               else
6781                   defaultval=no
6782               fi
6783           fi
6784
6785           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-objc_uniquifying" >&5
6786 $as_echo_n "checking for --${enablestring:-enable}-objc_uniquifying... " >&6; }
6787           # Check whether --enable-objc_uniquifying was given.
6788 if test "${enable_objc_uniquifying+set}" = set; then :
6789   enableval=$enable_objc_uniquifying;
6790                           if test "$enableval" = yes; then
6791                             wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
6792                           else
6793                             wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
6794                           fi
6795
6796 else
6797
6798                           wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
6799
6800 fi
6801
6802
6803           eval "$wx_cv_use_objc_uniquifying"
6804
6805           if test x"$enablestring" = xdisable; then
6806             if test $wxUSE_OBJC_UNIQUIFYING = no; then
6807               result=yes
6808             else
6809               result=no
6810             fi
6811           else
6812             result=$wxUSE_OBJC_UNIQUIFYING
6813           fi
6814
6815           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6816 $as_echo "$result" >&6; }
6817
6818
6819
6820           enablestring=disable
6821           defaultval=
6822           if test -z "$defaultval"; then
6823               if test x"$enablestring" = xdisable; then
6824                   defaultval=yes
6825               else
6826                   defaultval=no
6827               fi
6828           fi
6829
6830           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-visibility" >&5
6831 $as_echo_n "checking for --${enablestring:-enable}-visibility... " >&6; }
6832           # Check whether --enable-visibility was given.
6833 if test "${enable_visibility+set}" = set; then :
6834   enableval=$enable_visibility;
6835                           if test "$enableval" = yes; then
6836                             wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
6837                           else
6838                             wx_cv_use_visibility='wxUSE_VISIBILITY=no'
6839                           fi
6840
6841 else
6842
6843                           wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
6844
6845 fi
6846
6847
6848           eval "$wx_cv_use_visibility"
6849
6850           if test x"$enablestring" = xdisable; then
6851             if test $wxUSE_VISIBILITY = no; then
6852               result=yes
6853             else
6854               result=no
6855             fi
6856           else
6857             result=$wxUSE_VISIBILITY
6858           fi
6859
6860           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6861 $as_echo "$result" >&6; }
6862
6863
6864           enablestring=disable
6865           defaultval=
6866           if test -z "$defaultval"; then
6867               if test x"$enablestring" = xdisable; then
6868                   defaultval=yes
6869               else
6870                   defaultval=no
6871               fi
6872           fi
6873
6874           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tls" >&5
6875 $as_echo_n "checking for --${enablestring:-enable}-tls... " >&6; }
6876           # Check whether --enable-tls was given.
6877 if test "${enable_tls+set}" = set; then :
6878   enableval=$enable_tls;
6879                           if test "$enableval" = yes; then
6880                             wx_cv_use_tls='wxUSE_COMPILER_TLS=yes'
6881                           else
6882                             wx_cv_use_tls='wxUSE_COMPILER_TLS=no'
6883                           fi
6884
6885 else
6886
6887                           wx_cv_use_tls='wxUSE_COMPILER_TLS=${'DEFAULT_wxUSE_COMPILER_TLS":-$defaultval}"
6888
6889 fi
6890
6891
6892           eval "$wx_cv_use_tls"
6893
6894           if test x"$enablestring" = xdisable; then
6895             if test $wxUSE_COMPILER_TLS = no; then
6896               result=yes
6897             else
6898               result=no
6899             fi
6900           else
6901             result=$wxUSE_COMPILER_TLS
6902           fi
6903
6904           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6905 $as_echo "$result" >&6; }
6906
6907
6908
6909
6910           enablestring=
6911           defaultval=$wxUSE_ALL_FEATURES
6912           if test -z "$defaultval"; then
6913               if test x"$enablestring" = xdisable; then
6914                   defaultval=yes
6915               else
6916                   defaultval=no
6917               fi
6918           fi
6919
6920           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-intl" >&5
6921 $as_echo_n "checking for --${enablestring:-enable}-intl... " >&6; }
6922           # Check whether --enable-intl was given.
6923 if test "${enable_intl+set}" = set; then :
6924   enableval=$enable_intl;
6925                           if test "$enableval" = yes; then
6926                             wx_cv_use_intl='wxUSE_INTL=yes'
6927                           else
6928                             wx_cv_use_intl='wxUSE_INTL=no'
6929                           fi
6930
6931 else
6932
6933                           wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
6934
6935 fi
6936
6937
6938           eval "$wx_cv_use_intl"
6939
6940           if test x"$enablestring" = xdisable; then
6941             if test $wxUSE_INTL = no; then
6942               result=yes
6943             else
6944               result=no
6945             fi
6946           else
6947             result=$wxUSE_INTL
6948           fi
6949
6950           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6951 $as_echo "$result" >&6; }
6952
6953
6954           enablestring=
6955           defaultval=$wxUSE_ALL_FEATURES
6956           if test -z "$defaultval"; then
6957               if test x"$enablestring" = xdisable; then
6958                   defaultval=yes
6959               else
6960                   defaultval=no
6961               fi
6962           fi
6963
6964           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-xlocale" >&5
6965 $as_echo_n "checking for --${enablestring:-enable}-xlocale... " >&6; }
6966           # Check whether --enable-xlocale was given.
6967 if test "${enable_xlocale+set}" = set; then :
6968   enableval=$enable_xlocale;
6969                           if test "$enableval" = yes; then
6970                             wx_cv_use_xlocale='wxUSE_XLOCALE=yes'
6971                           else
6972                             wx_cv_use_xlocale='wxUSE_XLOCALE=no'
6973                           fi
6974
6975 else
6976
6977                           wx_cv_use_xlocale='wxUSE_XLOCALE=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
6978
6979 fi
6980
6981
6982           eval "$wx_cv_use_xlocale"
6983
6984           if test x"$enablestring" = xdisable; then
6985             if test $wxUSE_XLOCALE = no; then
6986               result=yes
6987             else
6988               result=no
6989             fi
6990           else
6991             result=$wxUSE_XLOCALE
6992           fi
6993
6994           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6995 $as_echo "$result" >&6; }
6996
6997
6998           enablestring=
6999           defaultval=$wxUSE_ALL_FEATURES
7000           if test -z "$defaultval"; then
7001               if test x"$enablestring" = xdisable; then
7002                   defaultval=yes
7003               else
7004                   defaultval=no
7005               fi
7006           fi
7007
7008           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-config" >&5
7009 $as_echo_n "checking for --${enablestring:-enable}-config... " >&6; }
7010           # Check whether --enable-config was given.
7011 if test "${enable_config+set}" = set; then :
7012   enableval=$enable_config;
7013                           if test "$enableval" = yes; then
7014                             wx_cv_use_config='wxUSE_CONFIG=yes'
7015                           else
7016                             wx_cv_use_config='wxUSE_CONFIG=no'
7017                           fi
7018
7019 else
7020
7021                           wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
7022
7023 fi
7024
7025
7026           eval "$wx_cv_use_config"
7027
7028           if test x"$enablestring" = xdisable; then
7029             if test $wxUSE_CONFIG = no; then
7030               result=yes
7031             else
7032               result=no
7033             fi
7034           else
7035             result=$wxUSE_CONFIG
7036           fi
7037
7038           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7039 $as_echo "$result" >&6; }
7040
7041
7042
7043           enablestring=
7044           defaultval=$wxUSE_ALL_FEATURES
7045           if test -z "$defaultval"; then
7046               if test x"$enablestring" = xdisable; then
7047                   defaultval=yes
7048               else
7049                   defaultval=no
7050               fi
7051           fi
7052
7053           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocols" >&5
7054 $as_echo_n "checking for --${enablestring:-enable}-protocols... " >&6; }
7055           # Check whether --enable-protocols was given.
7056 if test "${enable_protocols+set}" = set; then :
7057   enableval=$enable_protocols;
7058                           if test "$enableval" = yes; then
7059                             wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
7060                           else
7061                             wx_cv_use_protocols='wxUSE_PROTOCOL=no'
7062                           fi
7063
7064 else
7065
7066                           wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
7067
7068 fi
7069
7070
7071           eval "$wx_cv_use_protocols"
7072
7073           if test x"$enablestring" = xdisable; then
7074             if test $wxUSE_PROTOCOL = no; then
7075               result=yes
7076             else
7077               result=no
7078             fi
7079           else
7080             result=$wxUSE_PROTOCOL
7081           fi
7082
7083           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7084 $as_echo "$result" >&6; }
7085
7086
7087           enablestring=
7088           defaultval=$wxUSE_ALL_FEATURES
7089           if test -z "$defaultval"; then
7090               if test x"$enablestring" = xdisable; then
7091                   defaultval=yes
7092               else
7093                   defaultval=no
7094               fi
7095           fi
7096
7097           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ftp" >&5
7098 $as_echo_n "checking for --${enablestring:-enable}-ftp... " >&6; }
7099           # Check whether --enable-ftp was given.
7100 if test "${enable_ftp+set}" = set; then :
7101   enableval=$enable_ftp;
7102                           if test "$enableval" = yes; then
7103                             wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
7104                           else
7105                             wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
7106                           fi
7107
7108 else
7109
7110                           wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
7111
7112 fi
7113
7114
7115           eval "$wx_cv_use_ftp"
7116
7117           if test x"$enablestring" = xdisable; then
7118             if test $wxUSE_PROTOCOL_FTP = no; then
7119               result=yes
7120             else
7121               result=no
7122             fi
7123           else
7124             result=$wxUSE_PROTOCOL_FTP
7125           fi
7126
7127           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7128 $as_echo "$result" >&6; }
7129
7130
7131           enablestring=
7132           defaultval=$wxUSE_ALL_FEATURES
7133           if test -z "$defaultval"; then
7134               if test x"$enablestring" = xdisable; then
7135                   defaultval=yes
7136               else
7137                   defaultval=no
7138               fi
7139           fi
7140
7141           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-http" >&5
7142 $as_echo_n "checking for --${enablestring:-enable}-http... " >&6; }
7143           # Check whether --enable-http was given.
7144 if test "${enable_http+set}" = set; then :
7145   enableval=$enable_http;
7146                           if test "$enableval" = yes; then
7147                             wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
7148                           else
7149                             wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
7150                           fi
7151
7152 else
7153
7154                           wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
7155
7156 fi
7157
7158
7159           eval "$wx_cv_use_http"
7160
7161           if test x"$enablestring" = xdisable; then
7162             if test $wxUSE_PROTOCOL_HTTP = no; then
7163               result=yes
7164             else
7165               result=no
7166             fi
7167           else
7168             result=$wxUSE_PROTOCOL_HTTP
7169           fi
7170
7171           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7172 $as_echo "$result" >&6; }
7173
7174
7175           enablestring=
7176           defaultval=$wxUSE_ALL_FEATURES
7177           if test -z "$defaultval"; then
7178               if test x"$enablestring" = xdisable; then
7179                   defaultval=yes
7180               else
7181                   defaultval=no
7182               fi
7183           fi
7184
7185           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fileproto" >&5
7186 $as_echo_n "checking for --${enablestring:-enable}-fileproto... " >&6; }
7187           # Check whether --enable-fileproto was given.
7188 if test "${enable_fileproto+set}" = set; then :
7189   enableval=$enable_fileproto;
7190                           if test "$enableval" = yes; then
7191                             wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
7192                           else
7193                             wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
7194                           fi
7195
7196 else
7197
7198                           wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
7199
7200 fi
7201
7202
7203           eval "$wx_cv_use_fileproto"
7204
7205           if test x"$enablestring" = xdisable; then
7206             if test $wxUSE_PROTOCOL_FILE = no; then
7207               result=yes
7208             else
7209               result=no
7210             fi
7211           else
7212             result=$wxUSE_PROTOCOL_FILE
7213           fi
7214
7215           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7216 $as_echo "$result" >&6; }
7217
7218
7219           enablestring=
7220           defaultval=$wxUSE_ALL_FEATURES
7221           if test -z "$defaultval"; then
7222               if test x"$enablestring" = xdisable; then
7223                   defaultval=yes
7224               else
7225                   defaultval=no
7226               fi
7227           fi
7228
7229           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-sockets" >&5
7230 $as_echo_n "checking for --${enablestring:-enable}-sockets... " >&6; }
7231           # Check whether --enable-sockets was given.
7232 if test "${enable_sockets+set}" = set; then :
7233   enableval=$enable_sockets;
7234                           if test "$enableval" = yes; then
7235                             wx_cv_use_sockets='wxUSE_SOCKETS=yes'
7236                           else
7237                             wx_cv_use_sockets='wxUSE_SOCKETS=no'
7238                           fi
7239
7240 else
7241
7242                           wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
7243
7244 fi
7245
7246
7247           eval "$wx_cv_use_sockets"
7248
7249           if test x"$enablestring" = xdisable; then
7250             if test $wxUSE_SOCKETS = no; then
7251               result=yes
7252             else
7253               result=no
7254             fi
7255           else
7256             result=$wxUSE_SOCKETS
7257           fi
7258
7259           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7260 $as_echo "$result" >&6; }
7261
7262
7263           enablestring=
7264           defaultval=$wxUSE_ALL_FEATURES
7265           if test -z "$defaultval"; then
7266               if test x"$enablestring" = xdisable; then
7267                   defaultval=yes
7268               else
7269                   defaultval=no
7270               fi
7271           fi
7272
7273           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ipv6" >&5
7274 $as_echo_n "checking for --${enablestring:-enable}-ipv6... " >&6; }
7275           # Check whether --enable-ipv6 was given.
7276 if test "${enable_ipv6+set}" = set; then :
7277   enableval=$enable_ipv6;
7278                           if test "$enableval" = yes; then
7279                             wx_cv_use_ipv6='wxUSE_IPV6=yes'
7280                           else
7281                             wx_cv_use_ipv6='wxUSE_IPV6=no'
7282                           fi
7283
7284 else
7285
7286                           wx_cv_use_ipv6='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
7287
7288 fi
7289
7290
7291           eval "$wx_cv_use_ipv6"
7292
7293           if test x"$enablestring" = xdisable; then
7294             if test $wxUSE_IPV6 = no; then
7295               result=yes
7296             else
7297               result=no
7298             fi
7299           else
7300             result=$wxUSE_IPV6
7301           fi
7302
7303           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7304 $as_echo "$result" >&6; }
7305
7306
7307           enablestring=
7308           defaultval=$wxUSE_ALL_FEATURES
7309           if test -z "$defaultval"; then
7310               if test x"$enablestring" = xdisable; then
7311                   defaultval=yes
7312               else
7313                   defaultval=no
7314               fi
7315           fi
7316
7317           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ole" >&5
7318 $as_echo_n "checking for --${enablestring:-enable}-ole... " >&6; }
7319           # Check whether --enable-ole was given.
7320 if test "${enable_ole+set}" = set; then :
7321   enableval=$enable_ole;
7322                           if test "$enableval" = yes; then
7323                             wx_cv_use_ole='wxUSE_OLE=yes'
7324                           else
7325                             wx_cv_use_ole='wxUSE_OLE=no'
7326                           fi
7327
7328 else
7329
7330                           wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
7331
7332 fi
7333
7334
7335           eval "$wx_cv_use_ole"
7336
7337           if test x"$enablestring" = xdisable; then
7338             if test $wxUSE_OLE = no; then
7339               result=yes
7340             else
7341               result=no
7342             fi
7343           else
7344             result=$wxUSE_OLE
7345           fi
7346
7347           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7348 $as_echo "$result" >&6; }
7349
7350
7351           enablestring=
7352           defaultval=$wxUSE_ALL_FEATURES
7353           if test -z "$defaultval"; then
7354               if test x"$enablestring" = xdisable; then
7355                   defaultval=yes
7356               else
7357                   defaultval=no
7358               fi
7359           fi
7360
7361           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dataobj" >&5
7362 $as_echo_n "checking for --${enablestring:-enable}-dataobj... " >&6; }
7363           # Check whether --enable-dataobj was given.
7364 if test "${enable_dataobj+set}" = set; then :
7365   enableval=$enable_dataobj;
7366                           if test "$enableval" = yes; then
7367                             wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
7368                           else
7369                             wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
7370                           fi
7371
7372 else
7373
7374                           wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
7375
7376 fi
7377
7378
7379           eval "$wx_cv_use_dataobj"
7380
7381           if test x"$enablestring" = xdisable; then
7382             if test $wxUSE_DATAOBJ = no; then
7383               result=yes
7384             else
7385               result=no
7386             fi
7387           else
7388             result=$wxUSE_DATAOBJ
7389           fi
7390
7391           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7392 $as_echo "$result" >&6; }
7393
7394
7395
7396           enablestring=
7397           defaultval=$wxUSE_ALL_FEATURES
7398           if test -z "$defaultval"; then
7399               if test x"$enablestring" = xdisable; then
7400                   defaultval=yes
7401               else
7402                   defaultval=no
7403               fi
7404           fi
7405
7406           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ipc" >&5
7407 $as_echo_n "checking for --${enablestring:-enable}-ipc... " >&6; }
7408           # Check whether --enable-ipc was given.
7409 if test "${enable_ipc+set}" = set; then :
7410   enableval=$enable_ipc;
7411                           if test "$enableval" = yes; then
7412                             wx_cv_use_ipc='wxUSE_IPC=yes'
7413                           else
7414                             wx_cv_use_ipc='wxUSE_IPC=no'
7415                           fi
7416
7417 else
7418
7419                           wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
7420
7421 fi
7422
7423
7424           eval "$wx_cv_use_ipc"
7425
7426           if test x"$enablestring" = xdisable; then
7427             if test $wxUSE_IPC = no; then
7428               result=yes
7429             else
7430               result=no
7431             fi
7432           else
7433             result=$wxUSE_IPC
7434           fi
7435
7436           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7437 $as_echo "$result" >&6; }
7438
7439
7440
7441           enablestring=
7442           defaultval=$wxUSE_ALL_FEATURES
7443           if test -z "$defaultval"; then
7444               if test x"$enablestring" = xdisable; then
7445                   defaultval=yes
7446               else
7447                   defaultval=no
7448               fi
7449           fi
7450
7451           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-baseevtloop" >&5
7452 $as_echo_n "checking for --${enablestring:-enable}-baseevtloop... " >&6; }
7453           # Check whether --enable-baseevtloop was given.
7454 if test "${enable_baseevtloop+set}" = set; then :
7455   enableval=$enable_baseevtloop;
7456                           if test "$enableval" = yes; then
7457                             wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
7458                           else
7459                             wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
7460                           fi
7461
7462 else
7463
7464                           wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
7465
7466 fi
7467
7468
7469           eval "$wx_cv_use_baseevtloop"
7470
7471           if test x"$enablestring" = xdisable; then
7472             if test $wxUSE_CONSOLE_EVENTLOOP = no; then
7473               result=yes
7474             else
7475               result=no
7476             fi
7477           else
7478             result=$wxUSE_CONSOLE_EVENTLOOP
7479           fi
7480
7481           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7482 $as_echo "$result" >&6; }
7483
7484
7485           enablestring=
7486           defaultval=$wxUSE_ALL_FEATURES
7487           if test -z "$defaultval"; then
7488               if test x"$enablestring" = xdisable; then
7489                   defaultval=yes
7490               else
7491                   defaultval=no
7492               fi
7493           fi
7494
7495           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-epollloop" >&5
7496 $as_echo_n "checking for --${enablestring:-enable}-epollloop... " >&6; }
7497           # Check whether --enable-epollloop was given.
7498 if test "${enable_epollloop+set}" = set; then :
7499   enableval=$enable_epollloop;
7500                           if test "$enableval" = yes; then
7501                             wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
7502                           else
7503                             wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
7504                           fi
7505
7506 else
7507
7508                           wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
7509
7510 fi
7511
7512
7513           eval "$wx_cv_use_epollloop"
7514
7515           if test x"$enablestring" = xdisable; then
7516             if test $wxUSE_EPOLL_DISPATCHER = no; then
7517               result=yes
7518             else
7519               result=no
7520             fi
7521           else
7522             result=$wxUSE_EPOLL_DISPATCHER
7523           fi
7524
7525           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7526 $as_echo "$result" >&6; }
7527
7528
7529           enablestring=
7530           defaultval=$wxUSE_ALL_FEATURES
7531           if test -z "$defaultval"; then
7532               if test x"$enablestring" = xdisable; then
7533                   defaultval=yes
7534               else
7535                   defaultval=no
7536               fi
7537           fi
7538
7539           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-selectloop" >&5
7540 $as_echo_n "checking for --${enablestring:-enable}-selectloop... " >&6; }
7541           # Check whether --enable-selectloop was given.
7542 if test "${enable_selectloop+set}" = set; then :
7543   enableval=$enable_selectloop;
7544                           if test "$enableval" = yes; then
7545                             wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
7546                           else
7547                             wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
7548                           fi
7549
7550 else
7551
7552                           wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
7553
7554 fi
7555
7556
7557           eval "$wx_cv_use_selectloop"
7558
7559           if test x"$enablestring" = xdisable; then
7560             if test $wxUSE_SELECT_DISPATCHER = no; then
7561               result=yes
7562             else
7563               result=no
7564             fi
7565           else
7566             result=$wxUSE_SELECT_DISPATCHER
7567           fi
7568
7569           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7570 $as_echo "$result" >&6; }
7571
7572
7573
7574           enablestring=
7575           defaultval=$wxUSE_ALL_FEATURES
7576           if test -z "$defaultval"; then
7577               if test x"$enablestring" = xdisable; then
7578                   defaultval=yes
7579               else
7580                   defaultval=no
7581               fi
7582           fi
7583
7584           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-any" >&5
7585 $as_echo_n "checking for --${enablestring:-enable}-any... " >&6; }
7586           # Check whether --enable-any was given.
7587 if test "${enable_any+set}" = set; then :
7588   enableval=$enable_any;
7589                           if test "$enableval" = yes; then
7590                             wx_cv_use_any='wxUSE_ANY=yes'
7591                           else
7592                             wx_cv_use_any='wxUSE_ANY=no'
7593                           fi
7594
7595 else
7596
7597                           wx_cv_use_any='wxUSE_ANY=${'DEFAULT_wxUSE_ANY":-$defaultval}"
7598
7599 fi
7600
7601
7602           eval "$wx_cv_use_any"
7603
7604           if test x"$enablestring" = xdisable; then
7605             if test $wxUSE_ANY = no; then
7606               result=yes
7607             else
7608               result=no
7609             fi
7610           else
7611             result=$wxUSE_ANY
7612           fi
7613
7614           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7615 $as_echo "$result" >&6; }
7616
7617
7618           enablestring=
7619           defaultval=$wxUSE_ALL_FEATURES
7620           if test -z "$defaultval"; then
7621               if test x"$enablestring" = xdisable; then
7622                   defaultval=yes
7623               else
7624                   defaultval=no
7625               fi
7626           fi
7627
7628           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-apple_ieee" >&5
7629 $as_echo_n "checking for --${enablestring:-enable}-apple_ieee... " >&6; }
7630           # Check whether --enable-apple_ieee was given.
7631 if test "${enable_apple_ieee+set}" = set; then :
7632   enableval=$enable_apple_ieee;
7633                           if test "$enableval" = yes; then
7634                             wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
7635                           else
7636                             wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
7637                           fi
7638
7639 else
7640
7641                           wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
7642
7643 fi
7644
7645
7646           eval "$wx_cv_use_apple_ieee"
7647
7648           if test x"$enablestring" = xdisable; then
7649             if test $wxUSE_APPLE_IEEE = no; then
7650               result=yes
7651             else
7652               result=no
7653             fi
7654           else
7655             result=$wxUSE_APPLE_IEEE
7656           fi
7657
7658           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7659 $as_echo "$result" >&6; }
7660
7661
7662           enablestring=
7663           defaultval=$wxUSE_ALL_FEATURES
7664           if test -z "$defaultval"; then
7665               if test x"$enablestring" = xdisable; then
7666                   defaultval=yes
7667               else
7668                   defaultval=no
7669               fi
7670           fi
7671
7672           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-arcstream" >&5
7673 $as_echo_n "checking for --${enablestring:-enable}-arcstream... " >&6; }
7674           # Check whether --enable-arcstream was given.
7675 if test "${enable_arcstream+set}" = set; then :
7676   enableval=$enable_arcstream;
7677                           if test "$enableval" = yes; then
7678                             wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
7679                           else
7680                             wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
7681                           fi
7682
7683 else
7684
7685                           wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
7686
7687 fi
7688
7689
7690           eval "$wx_cv_use_arcstream"
7691
7692           if test x"$enablestring" = xdisable; then
7693             if test $wxUSE_ARCHIVE_STREAMS = no; then
7694               result=yes
7695             else
7696               result=no
7697             fi
7698           else
7699             result=$wxUSE_ARCHIVE_STREAMS
7700           fi
7701
7702           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7703 $as_echo "$result" >&6; }
7704
7705
7706           enablestring=
7707           defaultval=$wxUSE_ALL_FEATURES
7708           if test -z "$defaultval"; then
7709               if test x"$enablestring" = xdisable; then
7710                   defaultval=yes
7711               else
7712                   defaultval=no
7713               fi
7714           fi
7715
7716           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-base64" >&5
7717 $as_echo_n "checking for --${enablestring:-enable}-base64... " >&6; }
7718           # Check whether --enable-base64 was given.
7719 if test "${enable_base64+set}" = set; then :
7720   enableval=$enable_base64;
7721                           if test "$enableval" = yes; then
7722                             wx_cv_use_base64='wxUSE_BASE64=yes'
7723                           else
7724                             wx_cv_use_base64='wxUSE_BASE64=no'
7725                           fi
7726
7727 else
7728
7729                           wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
7730
7731 fi
7732
7733
7734           eval "$wx_cv_use_base64"
7735
7736           if test x"$enablestring" = xdisable; then
7737             if test $wxUSE_BASE64 = no; then
7738               result=yes
7739             else
7740               result=no
7741             fi
7742           else
7743             result=$wxUSE_BASE64
7744           fi
7745
7746           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7747 $as_echo "$result" >&6; }
7748
7749
7750           enablestring=
7751           defaultval=$wxUSE_ALL_FEATURES
7752           if test -z "$defaultval"; then
7753               if test x"$enablestring" = xdisable; then
7754                   defaultval=yes
7755               else
7756                   defaultval=no
7757               fi
7758           fi
7759
7760           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-backtrace" >&5
7761 $as_echo_n "checking for --${enablestring:-enable}-backtrace... " >&6; }
7762           # Check whether --enable-backtrace was given.
7763 if test "${enable_backtrace+set}" = set; then :
7764   enableval=$enable_backtrace;
7765                           if test "$enableval" = yes; then
7766                             wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
7767                           else
7768                             wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
7769                           fi
7770
7771 else
7772
7773                           wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
7774
7775 fi
7776
7777
7778           eval "$wx_cv_use_backtrace"
7779
7780           if test x"$enablestring" = xdisable; then
7781             if test $wxUSE_STACKWALKER = no; then
7782               result=yes
7783             else
7784               result=no
7785             fi
7786           else
7787             result=$wxUSE_STACKWALKER
7788           fi
7789
7790           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7791 $as_echo "$result" >&6; }
7792
7793
7794           enablestring=
7795           defaultval=$wxUSE_ALL_FEATURES
7796           if test -z "$defaultval"; then
7797               if test x"$enablestring" = xdisable; then
7798                   defaultval=yes
7799               else
7800                   defaultval=no
7801               fi
7802           fi
7803
7804           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-catch_segvs" >&5
7805 $as_echo_n "checking for --${enablestring:-enable}-catch_segvs... " >&6; }
7806           # Check whether --enable-catch_segvs was given.
7807 if test "${enable_catch_segvs+set}" = set; then :
7808   enableval=$enable_catch_segvs;
7809                           if test "$enableval" = yes; then
7810                             wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
7811                           else
7812                             wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
7813                           fi
7814
7815 else
7816
7817                           wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
7818
7819 fi
7820
7821
7822           eval "$wx_cv_use_catch_segvs"
7823
7824           if test x"$enablestring" = xdisable; then
7825             if test $wxUSE_ON_FATAL_EXCEPTION = no; then
7826               result=yes
7827             else
7828               result=no
7829             fi
7830           else
7831             result=$wxUSE_ON_FATAL_EXCEPTION
7832           fi
7833
7834           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7835 $as_echo "$result" >&6; }
7836
7837
7838           enablestring=
7839           defaultval=$wxUSE_ALL_FEATURES
7840           if test -z "$defaultval"; then
7841               if test x"$enablestring" = xdisable; then
7842                   defaultval=yes
7843               else
7844                   defaultval=no
7845               fi
7846           fi
7847
7848           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-cmdline" >&5
7849 $as_echo_n "checking for --${enablestring:-enable}-cmdline... " >&6; }
7850           # Check whether --enable-cmdline was given.
7851 if test "${enable_cmdline+set}" = set; then :
7852   enableval=$enable_cmdline;
7853                           if test "$enableval" = yes; then
7854                             wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
7855                           else
7856                             wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
7857                           fi
7858
7859 else
7860
7861                           wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
7862
7863 fi
7864
7865
7866           eval "$wx_cv_use_cmdline"
7867
7868           if test x"$enablestring" = xdisable; then
7869             if test $wxUSE_CMDLINE_PARSER = no; then
7870               result=yes
7871             else
7872               result=no
7873             fi
7874           else
7875             result=$wxUSE_CMDLINE_PARSER
7876           fi
7877
7878           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7879 $as_echo "$result" >&6; }
7880
7881
7882           enablestring=
7883           defaultval=$wxUSE_ALL_FEATURES
7884           if test -z "$defaultval"; then
7885               if test x"$enablestring" = xdisable; then
7886                   defaultval=yes
7887               else
7888                   defaultval=no
7889               fi
7890           fi
7891
7892           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-datetime" >&5
7893 $as_echo_n "checking for --${enablestring:-enable}-datetime... " >&6; }
7894           # Check whether --enable-datetime was given.
7895 if test "${enable_datetime+set}" = set; then :
7896   enableval=$enable_datetime;
7897                           if test "$enableval" = yes; then
7898                             wx_cv_use_datetime='wxUSE_DATETIME=yes'
7899                           else
7900                             wx_cv_use_datetime='wxUSE_DATETIME=no'
7901                           fi
7902
7903 else
7904
7905                           wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
7906
7907 fi
7908
7909
7910           eval "$wx_cv_use_datetime"
7911
7912           if test x"$enablestring" = xdisable; then
7913             if test $wxUSE_DATETIME = no; then
7914               result=yes
7915             else
7916               result=no
7917             fi
7918           else
7919             result=$wxUSE_DATETIME
7920           fi
7921
7922           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7923 $as_echo "$result" >&6; }
7924
7925
7926           enablestring=
7927           defaultval=$wxUSE_ALL_FEATURES
7928           if test -z "$defaultval"; then
7929               if test x"$enablestring" = xdisable; then
7930                   defaultval=yes
7931               else
7932                   defaultval=no
7933               fi
7934           fi
7935
7936           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debugreport" >&5
7937 $as_echo_n "checking for --${enablestring:-enable}-debugreport... " >&6; }
7938           # Check whether --enable-debugreport was given.
7939 if test "${enable_debugreport+set}" = set; then :
7940   enableval=$enable_debugreport;
7941                           if test "$enableval" = yes; then
7942                             wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
7943                           else
7944                             wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
7945                           fi
7946
7947 else
7948
7949                           wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
7950
7951 fi
7952
7953
7954           eval "$wx_cv_use_debugreport"
7955
7956           if test x"$enablestring" = xdisable; then
7957             if test $wxUSE_DEBUGREPORT = no; then
7958               result=yes
7959             else
7960               result=no
7961             fi
7962           else
7963             result=$wxUSE_DEBUGREPORT
7964           fi
7965
7966           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7967 $as_echo "$result" >&6; }
7968
7969
7970           enablestring=
7971           defaultval=$wxUSE_ALL_FEATURES
7972           if test -z "$defaultval"; then
7973               if test x"$enablestring" = xdisable; then
7974                   defaultval=yes
7975               else
7976                   defaultval=no
7977               fi
7978           fi
7979
7980           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dialupman" >&5
7981 $as_echo_n "checking for --${enablestring:-enable}-dialupman... " >&6; }
7982           # Check whether --enable-dialupman was given.
7983 if test "${enable_dialupman+set}" = set; then :
7984   enableval=$enable_dialupman;
7985                           if test "$enableval" = yes; then
7986                             wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
7987                           else
7988                             wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
7989                           fi
7990
7991 else
7992
7993                           wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
7994
7995 fi
7996
7997
7998           eval "$wx_cv_use_dialupman"
7999
8000           if test x"$enablestring" = xdisable; then
8001             if test $wxUSE_DIALUP_MANAGER = no; then
8002               result=yes
8003             else
8004               result=no
8005             fi
8006           else
8007             result=$wxUSE_DIALUP_MANAGER
8008           fi
8009
8010           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8011 $as_echo "$result" >&6; }
8012
8013
8014           enablestring=
8015           defaultval=$wxUSE_ALL_FEATURES
8016           if test -z "$defaultval"; then
8017               if test x"$enablestring" = xdisable; then
8018                   defaultval=yes
8019               else
8020                   defaultval=no
8021               fi
8022           fi
8023
8024           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dynlib" >&5
8025 $as_echo_n "checking for --${enablestring:-enable}-dynlib... " >&6; }
8026           # Check whether --enable-dynlib was given.
8027 if test "${enable_dynlib+set}" = set; then :
8028   enableval=$enable_dynlib;
8029                           if test "$enableval" = yes; then
8030                             wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
8031                           else
8032                             wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
8033                           fi
8034
8035 else
8036
8037                           wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
8038
8039 fi
8040
8041
8042           eval "$wx_cv_use_dynlib"
8043
8044           if test x"$enablestring" = xdisable; then
8045             if test $wxUSE_DYNLIB_CLASS = no; then
8046               result=yes
8047             else
8048               result=no
8049             fi
8050           else
8051             result=$wxUSE_DYNLIB_CLASS
8052           fi
8053
8054           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8055 $as_echo "$result" >&6; }
8056
8057
8058           enablestring=
8059           defaultval=$wxUSE_ALL_FEATURES
8060           if test -z "$defaultval"; then
8061               if test x"$enablestring" = xdisable; then
8062                   defaultval=yes
8063               else
8064                   defaultval=no
8065               fi
8066           fi
8067
8068           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dynamicloader" >&5
8069 $as_echo_n "checking for --${enablestring:-enable}-dynamicloader... " >&6; }
8070           # Check whether --enable-dynamicloader was given.
8071 if test "${enable_dynamicloader+set}" = set; then :
8072   enableval=$enable_dynamicloader;
8073                           if test "$enableval" = yes; then
8074                             wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
8075                           else
8076                             wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
8077                           fi
8078
8079 else
8080
8081                           wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
8082
8083 fi
8084
8085
8086           eval "$wx_cv_use_dynamicloader"
8087
8088           if test x"$enablestring" = xdisable; then
8089             if test $wxUSE_DYNAMIC_LOADER = no; then
8090               result=yes
8091             else
8092               result=no
8093             fi
8094           else
8095             result=$wxUSE_DYNAMIC_LOADER
8096           fi
8097
8098           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8099 $as_echo "$result" >&6; }
8100
8101
8102           enablestring=
8103           defaultval=$wxUSE_ALL_FEATURES
8104           if test -z "$defaultval"; then
8105               if test x"$enablestring" = xdisable; then
8106                   defaultval=yes
8107               else
8108                   defaultval=no
8109               fi
8110           fi
8111
8112           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-exceptions" >&5
8113 $as_echo_n "checking for --${enablestring:-enable}-exceptions... " >&6; }
8114           # Check whether --enable-exceptions was given.
8115 if test "${enable_exceptions+set}" = set; then :
8116   enableval=$enable_exceptions;
8117                           if test "$enableval" = yes; then
8118                             wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
8119                           else
8120                             wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
8121                           fi
8122
8123 else
8124
8125                           wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
8126
8127 fi
8128
8129
8130           eval "$wx_cv_use_exceptions"
8131
8132           if test x"$enablestring" = xdisable; then
8133             if test $wxUSE_EXCEPTIONS = no; then
8134               result=yes
8135             else
8136               result=no
8137             fi
8138           else
8139             result=$wxUSE_EXCEPTIONS
8140           fi
8141
8142           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8143 $as_echo "$result" >&6; }
8144
8145
8146           enablestring=
8147           defaultval=$wxUSE_ALL_FEATURES
8148           if test -z "$defaultval"; then
8149               if test x"$enablestring" = xdisable; then
8150                   defaultval=yes
8151               else
8152                   defaultval=no
8153               fi
8154           fi
8155
8156           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ffile" >&5
8157 $as_echo_n "checking for --${enablestring:-enable}-ffile... " >&6; }
8158           # Check whether --enable-ffile was given.
8159 if test "${enable_ffile+set}" = set; then :
8160   enableval=$enable_ffile;
8161                           if test "$enableval" = yes; then
8162                             wx_cv_use_ffile='wxUSE_FFILE=yes'
8163                           else
8164                             wx_cv_use_ffile='wxUSE_FFILE=no'
8165                           fi
8166
8167 else
8168
8169                           wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
8170
8171 fi
8172
8173
8174           eval "$wx_cv_use_ffile"
8175
8176           if test x"$enablestring" = xdisable; then
8177             if test $wxUSE_FFILE = no; then
8178               result=yes
8179             else
8180               result=no
8181             fi
8182           else
8183             result=$wxUSE_FFILE
8184           fi
8185
8186           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8187 $as_echo "$result" >&6; }
8188
8189
8190           enablestring=
8191           defaultval=$wxUSE_ALL_FEATURES
8192           if test -z "$defaultval"; then
8193               if test x"$enablestring" = xdisable; then
8194                   defaultval=yes
8195               else
8196                   defaultval=no
8197               fi
8198           fi
8199
8200           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-file" >&5
8201 $as_echo_n "checking for --${enablestring:-enable}-file... " >&6; }
8202           # Check whether --enable-file was given.
8203 if test "${enable_file+set}" = set; then :
8204   enableval=$enable_file;
8205                           if test "$enableval" = yes; then
8206                             wx_cv_use_file='wxUSE_FILE=yes'
8207                           else
8208                             wx_cv_use_file='wxUSE_FILE=no'
8209                           fi
8210
8211 else
8212
8213                           wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
8214
8215 fi
8216
8217
8218           eval "$wx_cv_use_file"
8219
8220           if test x"$enablestring" = xdisable; then
8221             if test $wxUSE_FILE = no; then
8222               result=yes
8223             else
8224               result=no
8225             fi
8226           else
8227             result=$wxUSE_FILE
8228           fi
8229
8230           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8231 $as_echo "$result" >&6; }
8232
8233
8234           enablestring=
8235           defaultval=$wxUSE_ALL_FEATURES
8236           if test -z "$defaultval"; then
8237               if test x"$enablestring" = xdisable; then
8238                   defaultval=yes
8239               else
8240                   defaultval=no
8241               fi
8242           fi
8243
8244           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filehistory" >&5
8245 $as_echo_n "checking for --${enablestring:-enable}-filehistory... " >&6; }
8246           # Check whether --enable-filehistory was given.
8247 if test "${enable_filehistory+set}" = set; then :
8248   enableval=$enable_filehistory;
8249                           if test "$enableval" = yes; then
8250                             wx_cv_use_filehistory='wxUSE_FILE_HISTORY=yes'
8251                           else
8252                             wx_cv_use_filehistory='wxUSE_FILE_HISTORY=no'
8253                           fi
8254
8255 else
8256
8257                           wx_cv_use_filehistory='wxUSE_FILE_HISTORY=${'DEFAULT_wxUSE_FILE_HISTORY":-$defaultval}"
8258
8259 fi
8260
8261
8262           eval "$wx_cv_use_filehistory"
8263
8264           if test x"$enablestring" = xdisable; then
8265             if test $wxUSE_FILE_HISTORY = no; then
8266               result=yes
8267             else
8268               result=no
8269             fi
8270           else
8271             result=$wxUSE_FILE_HISTORY
8272           fi
8273
8274           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8275 $as_echo "$result" >&6; }
8276
8277
8278           enablestring=
8279           defaultval=$wxUSE_ALL_FEATURES
8280           if test -z "$defaultval"; then
8281               if test x"$enablestring" = xdisable; then
8282                   defaultval=yes
8283               else
8284                   defaultval=no
8285               fi
8286           fi
8287
8288           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filesystem" >&5
8289 $as_echo_n "checking for --${enablestring:-enable}-filesystem... " >&6; }
8290           # Check whether --enable-filesystem was given.
8291 if test "${enable_filesystem+set}" = set; then :
8292   enableval=$enable_filesystem;
8293                           if test "$enableval" = yes; then
8294                             wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
8295                           else
8296                             wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
8297                           fi
8298
8299 else
8300
8301                           wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
8302
8303 fi
8304
8305
8306           eval "$wx_cv_use_filesystem"
8307
8308           if test x"$enablestring" = xdisable; then
8309             if test $wxUSE_FILESYSTEM = no; then
8310               result=yes
8311             else
8312               result=no
8313             fi
8314           else
8315             result=$wxUSE_FILESYSTEM
8316           fi
8317
8318           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8319 $as_echo "$result" >&6; }
8320
8321
8322           enablestring=
8323           defaultval=$wxUSE_ALL_FEATURES
8324           if test -z "$defaultval"; then
8325               if test x"$enablestring" = xdisable; then
8326                   defaultval=yes
8327               else
8328                   defaultval=no
8329               fi
8330           fi
8331
8332           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fontenum" >&5
8333 $as_echo_n "checking for --${enablestring:-enable}-fontenum... " >&6; }
8334           # Check whether --enable-fontenum was given.
8335 if test "${enable_fontenum+set}" = set; then :
8336   enableval=$enable_fontenum;
8337                           if test "$enableval" = yes; then
8338                             wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
8339                           else
8340                             wx_cv_use_fontenum='wxUSE_FONTENUM=no'
8341                           fi
8342
8343 else
8344
8345                           wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
8346
8347 fi
8348
8349
8350           eval "$wx_cv_use_fontenum"
8351
8352           if test x"$enablestring" = xdisable; then
8353             if test $wxUSE_FONTENUM = no; then
8354               result=yes
8355             else
8356               result=no
8357             fi
8358           else
8359             result=$wxUSE_FONTENUM
8360           fi
8361
8362           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8363 $as_echo "$result" >&6; }
8364
8365
8366           enablestring=
8367           defaultval=$wxUSE_ALL_FEATURES
8368           if test -z "$defaultval"; then
8369               if test x"$enablestring" = xdisable; then
8370                   defaultval=yes
8371               else
8372                   defaultval=no
8373               fi
8374           fi
8375
8376           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fontmap" >&5
8377 $as_echo_n "checking for --${enablestring:-enable}-fontmap... " >&6; }
8378           # Check whether --enable-fontmap was given.
8379 if test "${enable_fontmap+set}" = set; then :
8380   enableval=$enable_fontmap;
8381                           if test "$enableval" = yes; then
8382                             wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
8383                           else
8384                             wx_cv_use_fontmap='wxUSE_FONTMAP=no'
8385                           fi
8386
8387 else
8388
8389                           wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
8390
8391 fi
8392
8393
8394           eval "$wx_cv_use_fontmap"
8395
8396           if test x"$enablestring" = xdisable; then
8397             if test $wxUSE_FONTMAP = no; then
8398               result=yes
8399             else
8400               result=no
8401             fi
8402           else
8403             result=$wxUSE_FONTMAP
8404           fi
8405
8406           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8407 $as_echo "$result" >&6; }
8408
8409
8410           enablestring=
8411           defaultval=$wxUSE_ALL_FEATURES
8412           if test -z "$defaultval"; then
8413               if test x"$enablestring" = xdisable; then
8414                   defaultval=yes
8415               else
8416                   defaultval=no
8417               fi
8418           fi
8419
8420           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fs_archive" >&5
8421 $as_echo_n "checking for --${enablestring:-enable}-fs_archive... " >&6; }
8422           # Check whether --enable-fs_archive was given.
8423 if test "${enable_fs_archive+set}" = set; then :
8424   enableval=$enable_fs_archive;
8425                           if test "$enableval" = yes; then
8426                             wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
8427                           else
8428                             wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
8429                           fi
8430
8431 else
8432
8433                           wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
8434
8435 fi
8436
8437
8438           eval "$wx_cv_use_fs_archive"
8439
8440           if test x"$enablestring" = xdisable; then
8441             if test $wxUSE_FS_ARCHIVE = no; then
8442               result=yes
8443             else
8444               result=no
8445             fi
8446           else
8447             result=$wxUSE_FS_ARCHIVE
8448           fi
8449
8450           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8451 $as_echo "$result" >&6; }
8452
8453
8454           enablestring=
8455           defaultval=$wxUSE_ALL_FEATURES
8456           if test -z "$defaultval"; then
8457               if test x"$enablestring" = xdisable; then
8458                   defaultval=yes
8459               else
8460                   defaultval=no
8461               fi
8462           fi
8463
8464           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fs_inet" >&5
8465 $as_echo_n "checking for --${enablestring:-enable}-fs_inet... " >&6; }
8466           # Check whether --enable-fs_inet was given.
8467 if test "${enable_fs_inet+set}" = set; then :
8468   enableval=$enable_fs_inet;
8469                           if test "$enableval" = yes; then
8470                             wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
8471                           else
8472                             wx_cv_use_fs_inet='wxUSE_FS_INET=no'
8473                           fi
8474
8475 else
8476
8477                           wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
8478
8479 fi
8480
8481
8482           eval "$wx_cv_use_fs_inet"
8483
8484           if test x"$enablestring" = xdisable; then
8485             if test $wxUSE_FS_INET = no; then
8486               result=yes
8487             else
8488               result=no
8489             fi
8490           else
8491             result=$wxUSE_FS_INET
8492           fi
8493
8494           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8495 $as_echo "$result" >&6; }
8496
8497
8498           enablestring=
8499           defaultval=$wxUSE_ALL_FEATURES
8500           if test -z "$defaultval"; then
8501               if test x"$enablestring" = xdisable; then
8502                   defaultval=yes
8503               else
8504                   defaultval=no
8505               fi
8506           fi
8507
8508           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fs_zip" >&5
8509 $as_echo_n "checking for --${enablestring:-enable}-fs_zip... " >&6; }
8510           # Check whether --enable-fs_zip was given.
8511 if test "${enable_fs_zip+set}" = set; then :
8512   enableval=$enable_fs_zip;
8513                           if test "$enableval" = yes; then
8514                             wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
8515                           else
8516                             wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
8517                           fi
8518
8519 else
8520
8521                           wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
8522
8523 fi
8524
8525
8526           eval "$wx_cv_use_fs_zip"
8527
8528           if test x"$enablestring" = xdisable; then
8529             if test $wxUSE_FS_ZIP = no; then
8530               result=yes
8531             else
8532               result=no
8533             fi
8534           else
8535             result=$wxUSE_FS_ZIP
8536           fi
8537
8538           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8539 $as_echo "$result" >&6; }
8540
8541
8542           enablestring=
8543           defaultval=$wxUSE_ALL_FEATURES
8544           if test -z "$defaultval"; then
8545               if test x"$enablestring" = xdisable; then
8546                   defaultval=yes
8547               else
8548                   defaultval=no
8549               fi
8550           fi
8551
8552           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fswatcher" >&5
8553 $as_echo_n "checking for --${enablestring:-enable}-fswatcher... " >&6; }
8554           # Check whether --enable-fswatcher was given.
8555 if test "${enable_fswatcher+set}" = set; then :
8556   enableval=$enable_fswatcher;
8557                           if test "$enableval" = yes; then
8558                             wx_cv_use_fswatcher='wxUSE_FSWATCHER=yes'
8559                           else
8560                             wx_cv_use_fswatcher='wxUSE_FSWATCHER=no'
8561                           fi
8562
8563 else
8564
8565                           wx_cv_use_fswatcher='wxUSE_FSWATCHER=${'DEFAULT_wxUSE_FSWATCHER":-$defaultval}"
8566
8567 fi
8568
8569
8570           eval "$wx_cv_use_fswatcher"
8571
8572           if test x"$enablestring" = xdisable; then
8573             if test $wxUSE_FSWATCHER = no; then
8574               result=yes
8575             else
8576               result=no
8577             fi
8578           else
8579             result=$wxUSE_FSWATCHER
8580           fi
8581
8582           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8583 $as_echo "$result" >&6; }
8584
8585
8586           enablestring=
8587           defaultval=$wxUSE_ALL_FEATURES
8588           if test -z "$defaultval"; then
8589               if test x"$enablestring" = xdisable; then
8590                   defaultval=yes
8591               else
8592                   defaultval=no
8593               fi
8594           fi
8595
8596           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-geometry" >&5
8597 $as_echo_n "checking for --${enablestring:-enable}-geometry... " >&6; }
8598           # Check whether --enable-geometry was given.
8599 if test "${enable_geometry+set}" = set; then :
8600   enableval=$enable_geometry;
8601                           if test "$enableval" = yes; then
8602                             wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
8603                           else
8604                             wx_cv_use_geometry='wxUSE_GEOMETRY=no'
8605                           fi
8606
8607 else
8608
8609                           wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
8610
8611 fi
8612
8613
8614           eval "$wx_cv_use_geometry"
8615
8616           if test x"$enablestring" = xdisable; then
8617             if test $wxUSE_GEOMETRY = no; then
8618               result=yes
8619             else
8620               result=no
8621             fi
8622           else
8623             result=$wxUSE_GEOMETRY
8624           fi
8625
8626           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8627 $as_echo "$result" >&6; }
8628
8629
8630           enablestring=
8631           defaultval=$wxUSE_ALL_FEATURES
8632           if test -z "$defaultval"; then
8633               if test x"$enablestring" = xdisable; then
8634                   defaultval=yes
8635               else
8636                   defaultval=no
8637               fi
8638           fi
8639
8640           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-log" >&5
8641 $as_echo_n "checking for --${enablestring:-enable}-log... " >&6; }
8642           # Check whether --enable-log was given.
8643 if test "${enable_log+set}" = set; then :
8644   enableval=$enable_log;
8645                           if test "$enableval" = yes; then
8646                             wx_cv_use_log='wxUSE_LOG=yes'
8647                           else
8648                             wx_cv_use_log='wxUSE_LOG=no'
8649                           fi
8650
8651 else
8652
8653                           wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
8654
8655 fi
8656
8657
8658           eval "$wx_cv_use_log"
8659
8660           if test x"$enablestring" = xdisable; then
8661             if test $wxUSE_LOG = no; then
8662               result=yes
8663             else
8664               result=no
8665             fi
8666           else
8667             result=$wxUSE_LOG
8668           fi
8669
8670           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8671 $as_echo "$result" >&6; }
8672
8673
8674           enablestring=
8675           defaultval=$wxUSE_ALL_FEATURES
8676           if test -z "$defaultval"; then
8677               if test x"$enablestring" = xdisable; then
8678                   defaultval=yes
8679               else
8680                   defaultval=no
8681               fi
8682           fi
8683
8684           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-longlong" >&5
8685 $as_echo_n "checking for --${enablestring:-enable}-longlong... " >&6; }
8686           # Check whether --enable-longlong was given.
8687 if test "${enable_longlong+set}" = set; then :
8688   enableval=$enable_longlong;
8689                           if test "$enableval" = yes; then
8690                             wx_cv_use_longlong='wxUSE_LONGLONG=yes'
8691                           else
8692                             wx_cv_use_longlong='wxUSE_LONGLONG=no'
8693                           fi
8694
8695 else
8696
8697                           wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
8698
8699 fi
8700
8701
8702           eval "$wx_cv_use_longlong"
8703
8704           if test x"$enablestring" = xdisable; then
8705             if test $wxUSE_LONGLONG = no; then
8706               result=yes
8707             else
8708               result=no
8709             fi
8710           else
8711             result=$wxUSE_LONGLONG
8712           fi
8713
8714           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8715 $as_echo "$result" >&6; }
8716
8717
8718           enablestring=
8719           defaultval=$wxUSE_ALL_FEATURES
8720           if test -z "$defaultval"; then
8721               if test x"$enablestring" = xdisable; then
8722                   defaultval=yes
8723               else
8724                   defaultval=no
8725               fi
8726           fi
8727
8728           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mimetype" >&5
8729 $as_echo_n "checking for --${enablestring:-enable}-mimetype... " >&6; }
8730           # Check whether --enable-mimetype was given.
8731 if test "${enable_mimetype+set}" = set; then :
8732   enableval=$enable_mimetype;
8733                           if test "$enableval" = yes; then
8734                             wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
8735                           else
8736                             wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
8737                           fi
8738
8739 else
8740
8741                           wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
8742
8743 fi
8744
8745
8746           eval "$wx_cv_use_mimetype"
8747
8748           if test x"$enablestring" = xdisable; then
8749             if test $wxUSE_MIMETYPE = no; then
8750               result=yes
8751             else
8752               result=no
8753             fi
8754           else
8755             result=$wxUSE_MIMETYPE
8756           fi
8757
8758           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8759 $as_echo "$result" >&6; }
8760
8761
8762           enablestring=
8763           defaultval=$wxUSE_ALL_FEATURES
8764           if test -z "$defaultval"; then
8765               if test x"$enablestring" = xdisable; then
8766                   defaultval=yes
8767               else
8768                   defaultval=no
8769               fi
8770           fi
8771
8772           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-printfposparam" >&5
8773 $as_echo_n "checking for --${enablestring:-enable}-printfposparam... " >&6; }
8774           # Check whether --enable-printfposparam was given.
8775 if test "${enable_printfposparam+set}" = set; then :
8776   enableval=$enable_printfposparam;
8777                           if test "$enableval" = yes; then
8778                             wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
8779                           else
8780                             wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
8781                           fi
8782
8783 else
8784
8785                           wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
8786
8787 fi
8788
8789
8790           eval "$wx_cv_use_printfposparam"
8791
8792           if test x"$enablestring" = xdisable; then
8793             if test $wxUSE_PRINTF_POS_PARAMS = no; then
8794               result=yes
8795             else
8796               result=no
8797             fi
8798           else
8799             result=$wxUSE_PRINTF_POS_PARAMS
8800           fi
8801
8802           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8803 $as_echo "$result" >&6; }
8804
8805
8806           enablestring=
8807           defaultval=$wxUSE_ALL_FEATURES
8808           if test -z "$defaultval"; then
8809               if test x"$enablestring" = xdisable; then
8810                   defaultval=yes
8811               else
8812                   defaultval=no
8813               fi
8814           fi
8815
8816           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-snglinst" >&5
8817 $as_echo_n "checking for --${enablestring:-enable}-snglinst... " >&6; }
8818           # Check whether --enable-snglinst was given.
8819 if test "${enable_snglinst+set}" = set; then :
8820   enableval=$enable_snglinst;
8821                           if test "$enableval" = yes; then
8822                             wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
8823                           else
8824                             wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
8825                           fi
8826
8827 else
8828
8829                           wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
8830
8831 fi
8832
8833
8834           eval "$wx_cv_use_snglinst"
8835
8836           if test x"$enablestring" = xdisable; then
8837             if test $wxUSE_SNGLINST_CHECKER = no; then
8838               result=yes
8839             else
8840               result=no
8841             fi
8842           else
8843             result=$wxUSE_SNGLINST_CHECKER
8844           fi
8845
8846           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8847 $as_echo "$result" >&6; }
8848
8849
8850           enablestring=
8851           defaultval=$wxUSE_ALL_FEATURES
8852           if test -z "$defaultval"; then
8853               if test x"$enablestring" = xdisable; then
8854                   defaultval=yes
8855               else
8856                   defaultval=no
8857               fi
8858           fi
8859
8860           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-sound" >&5
8861 $as_echo_n "checking for --${enablestring:-enable}-sound... " >&6; }
8862           # Check whether --enable-sound was given.
8863 if test "${enable_sound+set}" = set; then :
8864   enableval=$enable_sound;
8865                           if test "$enableval" = yes; then
8866                             wx_cv_use_sound='wxUSE_SOUND=yes'
8867                           else
8868                             wx_cv_use_sound='wxUSE_SOUND=no'
8869                           fi
8870
8871 else
8872
8873                           wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
8874
8875 fi
8876
8877
8878           eval "$wx_cv_use_sound"
8879
8880           if test x"$enablestring" = xdisable; then
8881             if test $wxUSE_SOUND = no; then
8882               result=yes
8883             else
8884               result=no
8885             fi
8886           else
8887             result=$wxUSE_SOUND
8888           fi
8889
8890           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8891 $as_echo "$result" >&6; }
8892
8893
8894           enablestring=
8895           defaultval=$wxUSE_ALL_FEATURES
8896           if test -z "$defaultval"; then
8897               if test x"$enablestring" = xdisable; then
8898                   defaultval=yes
8899               else
8900                   defaultval=no
8901               fi
8902           fi
8903
8904           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stdpaths" >&5
8905 $as_echo_n "checking for --${enablestring:-enable}-stdpaths... " >&6; }
8906           # Check whether --enable-stdpaths was given.
8907 if test "${enable_stdpaths+set}" = set; then :
8908   enableval=$enable_stdpaths;
8909                           if test "$enableval" = yes; then
8910                             wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
8911                           else
8912                             wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
8913                           fi
8914
8915 else
8916
8917                           wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
8918
8919 fi
8920
8921
8922           eval "$wx_cv_use_stdpaths"
8923
8924           if test x"$enablestring" = xdisable; then
8925             if test $wxUSE_STDPATHS = no; then
8926               result=yes
8927             else
8928               result=no
8929             fi
8930           else
8931             result=$wxUSE_STDPATHS
8932           fi
8933
8934           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8935 $as_echo "$result" >&6; }
8936
8937
8938           enablestring=
8939           defaultval=$wxUSE_ALL_FEATURES
8940           if test -z "$defaultval"; then
8941               if test x"$enablestring" = xdisable; then
8942                   defaultval=yes
8943               else
8944                   defaultval=no
8945               fi
8946           fi
8947
8948           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stopwatch" >&5
8949 $as_echo_n "checking for --${enablestring:-enable}-stopwatch... " >&6; }
8950           # Check whether --enable-stopwatch was given.
8951 if test "${enable_stopwatch+set}" = set; then :
8952   enableval=$enable_stopwatch;
8953                           if test "$enableval" = yes; then
8954                             wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
8955                           else
8956                             wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
8957                           fi
8958
8959 else
8960
8961                           wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
8962
8963 fi
8964
8965
8966           eval "$wx_cv_use_stopwatch"
8967
8968           if test x"$enablestring" = xdisable; then
8969             if test $wxUSE_STOPWATCH = no; then
8970               result=yes
8971             else
8972               result=no
8973             fi
8974           else
8975             result=$wxUSE_STOPWATCH
8976           fi
8977
8978           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8979 $as_echo "$result" >&6; }
8980
8981
8982           enablestring=
8983           defaultval=$wxUSE_ALL_FEATURES
8984           if test -z "$defaultval"; then
8985               if test x"$enablestring" = xdisable; then
8986                   defaultval=yes
8987               else
8988                   defaultval=no
8989               fi
8990           fi
8991
8992           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-streams" >&5
8993 $as_echo_n "checking for --${enablestring:-enable}-streams... " >&6; }
8994           # Check whether --enable-streams was given.
8995 if test "${enable_streams+set}" = set; then :
8996   enableval=$enable_streams;
8997                           if test "$enableval" = yes; then
8998                             wx_cv_use_streams='wxUSE_STREAMS=yes'
8999                           else
9000                             wx_cv_use_streams='wxUSE_STREAMS=no'
9001                           fi
9002
9003 else
9004
9005                           wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
9006
9007 fi
9008
9009
9010           eval "$wx_cv_use_streams"
9011
9012           if test x"$enablestring" = xdisable; then
9013             if test $wxUSE_STREAMS = no; then
9014               result=yes
9015             else
9016               result=no
9017             fi
9018           else
9019             result=$wxUSE_STREAMS
9020           fi
9021
9022           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9023 $as_echo "$result" >&6; }
9024
9025
9026           enablestring=
9027           defaultval=$wxUSE_ALL_FEATURES
9028           if test -z "$defaultval"; then
9029               if test x"$enablestring" = xdisable; then
9030                   defaultval=yes
9031               else
9032                   defaultval=no
9033               fi
9034           fi
9035
9036           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-sysoptions" >&5
9037 $as_echo_n "checking for --${enablestring:-enable}-sysoptions... " >&6; }
9038           # Check whether --enable-sysoptions was given.
9039 if test "${enable_sysoptions+set}" = set; then :
9040   enableval=$enable_sysoptions;
9041                           if test "$enableval" = yes; then
9042                             wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=yes'
9043                           else
9044                             wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=no'
9045                           fi
9046
9047 else
9048
9049                           wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
9050
9051 fi
9052
9053
9054           eval "$wx_cv_use_sysoptions"
9055
9056           if test x"$enablestring" = xdisable; then
9057             if test $wxUSE_SYSTEM_OPTIONS = no; then
9058               result=yes
9059             else
9060               result=no
9061             fi
9062           else
9063             result=$wxUSE_SYSTEM_OPTIONS
9064           fi
9065
9066           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9067 $as_echo "$result" >&6; }
9068
9069
9070           enablestring=
9071           defaultval=$wxUSE_ALL_FEATURES
9072           if test -z "$defaultval"; then
9073               if test x"$enablestring" = xdisable; then
9074                   defaultval=yes
9075               else
9076                   defaultval=no
9077               fi
9078           fi
9079
9080           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tarstream" >&5
9081 $as_echo_n "checking for --${enablestring:-enable}-tarstream... " >&6; }
9082           # Check whether --enable-tarstream was given.
9083 if test "${enable_tarstream+set}" = set; then :
9084   enableval=$enable_tarstream;
9085                           if test "$enableval" = yes; then
9086                             wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
9087                           else
9088                             wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
9089                           fi
9090
9091 else
9092
9093                           wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
9094
9095 fi
9096
9097
9098           eval "$wx_cv_use_tarstream"
9099
9100           if test x"$enablestring" = xdisable; then
9101             if test $wxUSE_TARSTREAM = no; then
9102               result=yes
9103             else
9104               result=no
9105             fi
9106           else
9107             result=$wxUSE_TARSTREAM
9108           fi
9109
9110           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9111 $as_echo "$result" >&6; }
9112
9113
9114           enablestring=
9115           defaultval=$wxUSE_ALL_FEATURES
9116           if test -z "$defaultval"; then
9117               if test x"$enablestring" = xdisable; then
9118                   defaultval=yes
9119               else
9120                   defaultval=no
9121               fi
9122           fi
9123
9124           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-textbuf" >&5
9125 $as_echo_n "checking for --${enablestring:-enable}-textbuf... " >&6; }
9126           # Check whether --enable-textbuf was given.
9127 if test "${enable_textbuf+set}" = set; then :
9128   enableval=$enable_textbuf;
9129                           if test "$enableval" = yes; then
9130                             wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
9131                           else
9132                             wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
9133                           fi
9134
9135 else
9136
9137                           wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
9138
9139 fi
9140
9141
9142           eval "$wx_cv_use_textbuf"
9143
9144           if test x"$enablestring" = xdisable; then
9145             if test $wxUSE_TEXTBUFFER = no; then
9146               result=yes
9147             else
9148               result=no
9149             fi
9150           else
9151             result=$wxUSE_TEXTBUFFER
9152           fi
9153
9154           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9155 $as_echo "$result" >&6; }
9156
9157
9158           enablestring=
9159           defaultval=$wxUSE_ALL_FEATURES
9160           if test -z "$defaultval"; then
9161               if test x"$enablestring" = xdisable; then
9162                   defaultval=yes
9163               else
9164                   defaultval=no
9165               fi
9166           fi
9167
9168           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-textfile" >&5
9169 $as_echo_n "checking for --${enablestring:-enable}-textfile... " >&6; }
9170           # Check whether --enable-textfile was given.
9171 if test "${enable_textfile+set}" = set; then :
9172   enableval=$enable_textfile;
9173                           if test "$enableval" = yes; then
9174                             wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
9175                           else
9176                             wx_cv_use_textfile='wxUSE_TEXTFILE=no'
9177                           fi
9178
9179 else
9180
9181                           wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
9182
9183 fi
9184
9185
9186           eval "$wx_cv_use_textfile"
9187
9188           if test x"$enablestring" = xdisable; then
9189             if test $wxUSE_TEXTFILE = no; then
9190               result=yes
9191             else
9192               result=no
9193             fi
9194           else
9195             result=$wxUSE_TEXTFILE
9196           fi
9197
9198           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9199 $as_echo "$result" >&6; }
9200
9201
9202           enablestring=
9203           defaultval=$wxUSE_ALL_FEATURES
9204           if test -z "$defaultval"; then
9205               if test x"$enablestring" = xdisable; then
9206                   defaultval=yes
9207               else
9208                   defaultval=no
9209               fi
9210           fi
9211
9212           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-timer" >&5
9213 $as_echo_n "checking for --${enablestring:-enable}-timer... " >&6; }
9214           # Check whether --enable-timer was given.
9215 if test "${enable_timer+set}" = set; then :
9216   enableval=$enable_timer;
9217                           if test "$enableval" = yes; then
9218                             wx_cv_use_timer='wxUSE_TIMER=yes'
9219                           else
9220                             wx_cv_use_timer='wxUSE_TIMER=no'
9221                           fi
9222
9223 else
9224
9225                           wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
9226
9227 fi
9228
9229
9230           eval "$wx_cv_use_timer"
9231
9232           if test x"$enablestring" = xdisable; then
9233             if test $wxUSE_TIMER = no; then
9234               result=yes
9235             else
9236               result=no
9237             fi
9238           else
9239             result=$wxUSE_TIMER
9240           fi
9241
9242           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9243 $as_echo "$result" >&6; }
9244
9245
9246           enablestring=
9247           defaultval=$wxUSE_ALL_FEATURES
9248           if test -z "$defaultval"; then
9249               if test x"$enablestring" = xdisable; then
9250                   defaultval=yes
9251               else
9252                   defaultval=no
9253               fi
9254           fi
9255
9256           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-variant" >&5
9257 $as_echo_n "checking for --${enablestring:-enable}-variant... " >&6; }
9258           # Check whether --enable-variant was given.
9259 if test "${enable_variant+set}" = set; then :
9260   enableval=$enable_variant;
9261                           if test "$enableval" = yes; then
9262                             wx_cv_use_variant='wxUSE_VARIANT=yes'
9263                           else
9264                             wx_cv_use_variant='wxUSE_VARIANT=no'
9265                           fi
9266
9267 else
9268
9269                           wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
9270
9271 fi
9272
9273
9274           eval "$wx_cv_use_variant"
9275
9276           if test x"$enablestring" = xdisable; then
9277             if test $wxUSE_VARIANT = no; then
9278               result=yes
9279             else
9280               result=no
9281             fi
9282           else
9283             result=$wxUSE_VARIANT
9284           fi
9285
9286           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9287 $as_echo "$result" >&6; }
9288
9289
9290           enablestring=
9291           defaultval=$wxUSE_ALL_FEATURES
9292           if test -z "$defaultval"; then
9293               if test x"$enablestring" = xdisable; then
9294                   defaultval=yes
9295               else
9296                   defaultval=no
9297               fi
9298           fi
9299
9300           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-zipstream" >&5
9301 $as_echo_n "checking for --${enablestring:-enable}-zipstream... " >&6; }
9302           # Check whether --enable-zipstream was given.
9303 if test "${enable_zipstream+set}" = set; then :
9304   enableval=$enable_zipstream;
9305                           if test "$enableval" = yes; then
9306                             wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
9307                           else
9308                             wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
9309                           fi
9310
9311 else
9312
9313                           wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
9314
9315 fi
9316
9317
9318           eval "$wx_cv_use_zipstream"
9319
9320           if test x"$enablestring" = xdisable; then
9321             if test $wxUSE_ZIPSTREAM = no; then
9322               result=yes
9323             else
9324               result=no
9325             fi
9326           else
9327             result=$wxUSE_ZIPSTREAM
9328           fi
9329
9330           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9331 $as_echo "$result" >&6; }
9332
9333
9334
9335           enablestring=
9336           defaultval=$wxUSE_ALL_FEATURES
9337           if test -z "$defaultval"; then
9338               if test x"$enablestring" = xdisable; then
9339                   defaultval=yes
9340               else
9341                   defaultval=no
9342               fi
9343           fi
9344
9345           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-url" >&5
9346 $as_echo_n "checking for --${enablestring:-enable}-url... " >&6; }
9347           # Check whether --enable-url was given.
9348 if test "${enable_url+set}" = set; then :
9349   enableval=$enable_url;
9350                           if test "$enableval" = yes; then
9351                             wx_cv_use_url='wxUSE_URL=yes'
9352                           else
9353                             wx_cv_use_url='wxUSE_URL=no'
9354                           fi
9355
9356 else
9357
9358                           wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
9359
9360 fi
9361
9362
9363           eval "$wx_cv_use_url"
9364
9365           if test x"$enablestring" = xdisable; then
9366             if test $wxUSE_URL = no; then
9367               result=yes
9368             else
9369               result=no
9370             fi
9371           else
9372             result=$wxUSE_URL
9373           fi
9374
9375           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9376 $as_echo "$result" >&6; }
9377
9378
9379           enablestring=
9380           defaultval=$wxUSE_ALL_FEATURES
9381           if test -z "$defaultval"; then
9382               if test x"$enablestring" = xdisable; then
9383                   defaultval=yes
9384               else
9385                   defaultval=no
9386               fi
9387           fi
9388
9389           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocol" >&5
9390 $as_echo_n "checking for --${enablestring:-enable}-protocol... " >&6; }
9391           # Check whether --enable-protocol was given.
9392 if test "${enable_protocol+set}" = set; then :
9393   enableval=$enable_protocol;
9394                           if test "$enableval" = yes; then
9395                             wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
9396                           else
9397                             wx_cv_use_protocol='wxUSE_PROTOCOL=no'
9398                           fi
9399
9400 else
9401
9402                           wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
9403
9404 fi
9405
9406
9407           eval "$wx_cv_use_protocol"
9408
9409           if test x"$enablestring" = xdisable; then
9410             if test $wxUSE_PROTOCOL = no; then
9411               result=yes
9412             else
9413               result=no
9414             fi
9415           else
9416             result=$wxUSE_PROTOCOL
9417           fi
9418
9419           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9420 $as_echo "$result" >&6; }
9421
9422
9423           enablestring=
9424           defaultval=$wxUSE_ALL_FEATURES
9425           if test -z "$defaultval"; then
9426               if test x"$enablestring" = xdisable; then
9427                   defaultval=yes
9428               else
9429                   defaultval=no
9430               fi
9431           fi
9432
9433           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocol_http" >&5
9434 $as_echo_n "checking for --${enablestring:-enable}-protocol_http... " >&6; }
9435           # Check whether --enable-protocol_http was given.
9436 if test "${enable_protocol_http+set}" = set; then :
9437   enableval=$enable_protocol_http;
9438                           if test "$enableval" = yes; then
9439                             wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
9440                           else
9441                             wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
9442                           fi
9443
9444 else
9445
9446                           wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
9447
9448 fi
9449
9450
9451           eval "$wx_cv_use_protocol_http"
9452
9453           if test x"$enablestring" = xdisable; then
9454             if test $wxUSE_PROTOCOL_HTTP = no; then
9455               result=yes
9456             else
9457               result=no
9458             fi
9459           else
9460             result=$wxUSE_PROTOCOL_HTTP
9461           fi
9462
9463           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9464 $as_echo "$result" >&6; }
9465
9466
9467           enablestring=
9468           defaultval=$wxUSE_ALL_FEATURES
9469           if test -z "$defaultval"; then
9470               if test x"$enablestring" = xdisable; then
9471                   defaultval=yes
9472               else
9473                   defaultval=no
9474               fi
9475           fi
9476
9477           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocol_ftp" >&5
9478 $as_echo_n "checking for --${enablestring:-enable}-protocol_ftp... " >&6; }
9479           # Check whether --enable-protocol_ftp was given.
9480 if test "${enable_protocol_ftp+set}" = set; then :
9481   enableval=$enable_protocol_ftp;
9482                           if test "$enableval" = yes; then
9483                             wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
9484                           else
9485                             wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
9486                           fi
9487
9488 else
9489
9490                           wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
9491
9492 fi
9493
9494
9495           eval "$wx_cv_use_protocol_ftp"
9496
9497           if test x"$enablestring" = xdisable; then
9498             if test $wxUSE_PROTOCOL_FTP = no; then
9499               result=yes
9500             else
9501               result=no
9502             fi
9503           else
9504             result=$wxUSE_PROTOCOL_FTP
9505           fi
9506
9507           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9508 $as_echo "$result" >&6; }
9509
9510
9511           enablestring=
9512           defaultval=$wxUSE_ALL_FEATURES
9513           if test -z "$defaultval"; then
9514               if test x"$enablestring" = xdisable; then
9515                   defaultval=yes
9516               else
9517                   defaultval=no
9518               fi
9519           fi
9520
9521           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocol_file" >&5
9522 $as_echo_n "checking for --${enablestring:-enable}-protocol_file... " >&6; }
9523           # Check whether --enable-protocol_file was given.
9524 if test "${enable_protocol_file+set}" = set; then :
9525   enableval=$enable_protocol_file;
9526                           if test "$enableval" = yes; then
9527                             wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
9528                           else
9529                             wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
9530                           fi
9531
9532 else
9533
9534                           wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
9535
9536 fi
9537
9538
9539           eval "$wx_cv_use_protocol_file"
9540
9541           if test x"$enablestring" = xdisable; then
9542             if test $wxUSE_PROTOCOL_FILE = no; then
9543               result=yes
9544             else
9545               result=no
9546             fi
9547           else
9548             result=$wxUSE_PROTOCOL_FILE
9549           fi
9550
9551           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9552 $as_echo "$result" >&6; }
9553
9554
9555
9556           enablestring=
9557           defaultval=$wxUSE_ALL_FEATURES
9558           if test -z "$defaultval"; then
9559               if test x"$enablestring" = xdisable; then
9560                   defaultval=yes
9561               else
9562                   defaultval=no
9563               fi
9564           fi
9565
9566           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-threads" >&5
9567 $as_echo_n "checking for --${enablestring:-enable}-threads... " >&6; }
9568           # Check whether --enable-threads was given.
9569 if test "${enable_threads+set}" = set; then :
9570   enableval=$enable_threads;
9571                           if test "$enableval" = yes; then
9572                             wx_cv_use_threads='wxUSE_THREADS=yes'
9573                           else
9574                             wx_cv_use_threads='wxUSE_THREADS=no'
9575                           fi
9576
9577 else
9578
9579                           wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
9580
9581 fi
9582
9583
9584           eval "$wx_cv_use_threads"
9585
9586           if test x"$enablestring" = xdisable; then
9587             if test $wxUSE_THREADS = no; then
9588               result=yes
9589             else
9590               result=no
9591             fi
9592           else
9593             result=$wxUSE_THREADS
9594           fi
9595
9596           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9597 $as_echo "$result" >&6; }
9598
9599
9600
9601           enablestring=
9602           defaultval=
9603           if test -z "$defaultval"; then
9604               if test x"$enablestring" = xdisable; then
9605                   defaultval=yes
9606               else
9607                   defaultval=no
9608               fi
9609           fi
9610
9611           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-iniconf" >&5
9612 $as_echo_n "checking for --${enablestring:-enable}-iniconf... " >&6; }
9613           # Check whether --enable-iniconf was given.
9614 if test "${enable_iniconf+set}" = set; then :
9615   enableval=$enable_iniconf;
9616                           if test "$enableval" = yes; then
9617                             wx_cv_use_iniconf='wxUSE_INICONF=yes'
9618                           else
9619                             wx_cv_use_iniconf='wxUSE_INICONF=no'
9620                           fi
9621
9622 else
9623
9624                           wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
9625
9626 fi
9627
9628
9629           eval "$wx_cv_use_iniconf"
9630
9631           if test x"$enablestring" = xdisable; then
9632             if test $wxUSE_INICONF = no; then
9633               result=yes
9634             else
9635               result=no
9636             fi
9637           else
9638             result=$wxUSE_INICONF
9639           fi
9640
9641           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9642 $as_echo "$result" >&6; }
9643
9644
9645           enablestring=
9646           defaultval=$wxUSE_ALL_FEATURES
9647           if test -z "$defaultval"; then
9648               if test x"$enablestring" = xdisable; then
9649                   defaultval=yes
9650               else
9651                   defaultval=no
9652               fi
9653           fi
9654
9655           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-regkey" >&5
9656 $as_echo_n "checking for --${enablestring:-enable}-regkey... " >&6; }
9657           # Check whether --enable-regkey was given.
9658 if test "${enable_regkey+set}" = set; then :
9659   enableval=$enable_regkey;
9660                           if test "$enableval" = yes; then
9661                             wx_cv_use_regkey='wxUSE_REGKEY=yes'
9662                           else
9663                             wx_cv_use_regkey='wxUSE_REGKEY=no'
9664                           fi
9665
9666 else
9667
9668                           wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
9669
9670 fi
9671
9672
9673           eval "$wx_cv_use_regkey"
9674
9675           if test x"$enablestring" = xdisable; then
9676             if test $wxUSE_REGKEY = no; then
9677               result=yes
9678             else
9679               result=no
9680             fi
9681           else
9682             result=$wxUSE_REGKEY
9683           fi
9684
9685           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9686 $as_echo "$result" >&6; }
9687
9688
9689 if test "$wxUSE_GUI" = "yes"; then
9690
9691
9692
9693           enablestring=
9694           defaultval=$wxUSE_ALL_FEATURES
9695           if test -z "$defaultval"; then
9696               if test x"$enablestring" = xdisable; then
9697                   defaultval=yes
9698               else
9699                   defaultval=no
9700               fi
9701           fi
9702
9703           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-docview" >&5
9704 $as_echo_n "checking for --${enablestring:-enable}-docview... " >&6; }
9705           # Check whether --enable-docview was given.
9706 if test "${enable_docview+set}" = set; then :
9707   enableval=$enable_docview;
9708                           if test "$enableval" = yes; then
9709                             wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
9710                           else
9711                             wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
9712                           fi
9713
9714 else
9715
9716                           wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
9717
9718 fi
9719
9720
9721           eval "$wx_cv_use_docview"
9722
9723           if test x"$enablestring" = xdisable; then
9724             if test $wxUSE_DOC_VIEW_ARCHITECTURE = no; then
9725               result=yes
9726             else
9727               result=no
9728             fi
9729           else
9730             result=$wxUSE_DOC_VIEW_ARCHITECTURE
9731           fi
9732
9733           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9734 $as_echo "$result" >&6; }
9735
9736
9737           enablestring=
9738           defaultval=$wxUSE_ALL_FEATURES
9739           if test -z "$defaultval"; then
9740               if test x"$enablestring" = xdisable; then
9741                   defaultval=yes
9742               else
9743                   defaultval=no
9744               fi
9745           fi
9746
9747           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-help" >&5
9748 $as_echo_n "checking for --${enablestring:-enable}-help... " >&6; }
9749           # Check whether --enable-help was given.
9750 if test "${enable_help+set}" = set; then :
9751   enableval=$enable_help;
9752                           if test "$enableval" = yes; then
9753                             wx_cv_use_help='wxUSE_HELP=yes'
9754                           else
9755                             wx_cv_use_help='wxUSE_HELP=no'
9756                           fi
9757
9758 else
9759
9760                           wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
9761
9762 fi
9763
9764
9765           eval "$wx_cv_use_help"
9766
9767           if test x"$enablestring" = xdisable; then
9768             if test $wxUSE_HELP = no; then
9769               result=yes
9770             else
9771               result=no
9772             fi
9773           else
9774             result=$wxUSE_HELP
9775           fi
9776
9777           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9778 $as_echo "$result" >&6; }
9779
9780
9781           enablestring=
9782           defaultval=$wxUSE_ALL_FEATURES
9783           if test -z "$defaultval"; then
9784               if test x"$enablestring" = xdisable; then
9785                   defaultval=yes
9786               else
9787                   defaultval=no
9788               fi
9789           fi
9790
9791           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mshtmlhelp" >&5
9792 $as_echo_n "checking for --${enablestring:-enable}-mshtmlhelp... " >&6; }
9793           # Check whether --enable-mshtmlhelp was given.
9794 if test "${enable_mshtmlhelp+set}" = set; then :
9795   enableval=$enable_mshtmlhelp;
9796                           if test "$enableval" = yes; then
9797                             wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
9798                           else
9799                             wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
9800                           fi
9801
9802 else
9803
9804                           wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
9805
9806 fi
9807
9808
9809           eval "$wx_cv_use_mshtmlhelp"
9810
9811           if test x"$enablestring" = xdisable; then
9812             if test $wxUSE_MS_HTML_HELP = no; then
9813               result=yes
9814             else
9815               result=no
9816             fi
9817           else
9818             result=$wxUSE_MS_HTML_HELP
9819           fi
9820
9821           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9822 $as_echo "$result" >&6; }
9823
9824
9825           enablestring=
9826           defaultval=$wxUSE_ALL_FEATURES
9827           if test -z "$defaultval"; then
9828               if test x"$enablestring" = xdisable; then
9829                   defaultval=yes
9830               else
9831                   defaultval=no
9832               fi
9833           fi
9834
9835           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-html" >&5
9836 $as_echo_n "checking for --${enablestring:-enable}-html... " >&6; }
9837           # Check whether --enable-html was given.
9838 if test "${enable_html+set}" = set; then :
9839   enableval=$enable_html;
9840                           if test "$enableval" = yes; then
9841                             wx_cv_use_html='wxUSE_HTML=yes'
9842                           else
9843                             wx_cv_use_html='wxUSE_HTML=no'
9844                           fi
9845
9846 else
9847
9848                           wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
9849
9850 fi
9851
9852
9853           eval "$wx_cv_use_html"
9854
9855           if test x"$enablestring" = xdisable; then
9856             if test $wxUSE_HTML = no; then
9857               result=yes
9858             else
9859               result=no
9860             fi
9861           else
9862             result=$wxUSE_HTML
9863           fi
9864
9865           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9866 $as_echo "$result" >&6; }
9867
9868
9869           enablestring=
9870           defaultval=$wxUSE_ALL_FEATURES
9871           if test -z "$defaultval"; then
9872               if test x"$enablestring" = xdisable; then
9873                   defaultval=yes
9874               else
9875                   defaultval=no
9876               fi
9877           fi
9878
9879           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-htmlhelp" >&5
9880 $as_echo_n "checking for --${enablestring:-enable}-htmlhelp... " >&6; }
9881           # Check whether --enable-htmlhelp was given.
9882 if test "${enable_htmlhelp+set}" = set; then :
9883   enableval=$enable_htmlhelp;
9884                           if test "$enableval" = yes; then
9885                             wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
9886                           else
9887                             wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
9888                           fi
9889
9890 else
9891
9892                           wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
9893
9894 fi
9895
9896
9897           eval "$wx_cv_use_htmlhelp"
9898
9899           if test x"$enablestring" = xdisable; then
9900             if test $wxUSE_WXHTML_HELP = no; then
9901               result=yes
9902             else
9903               result=no
9904             fi
9905           else
9906             result=$wxUSE_WXHTML_HELP
9907           fi
9908
9909           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9910 $as_echo "$result" >&6; }
9911
9912
9913           enablestring=
9914           defaultval=$wxUSE_ALL_FEATURES
9915           if test -z "$defaultval"; then
9916               if test x"$enablestring" = xdisable; then
9917                   defaultval=yes
9918               else
9919                   defaultval=no
9920               fi
9921           fi
9922
9923           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-xrc" >&5
9924 $as_echo_n "checking for --${enablestring:-enable}-xrc... " >&6; }
9925           # Check whether --enable-xrc was given.
9926 if test "${enable_xrc+set}" = set; then :
9927   enableval=$enable_xrc;
9928                           if test "$enableval" = yes; then
9929                             wx_cv_use_xrc='wxUSE_XRC=yes'
9930                           else
9931                             wx_cv_use_xrc='wxUSE_XRC=no'
9932                           fi
9933
9934 else
9935
9936                           wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
9937
9938 fi
9939
9940
9941           eval "$wx_cv_use_xrc"
9942
9943           if test x"$enablestring" = xdisable; then
9944             if test $wxUSE_XRC = no; then
9945               result=yes
9946             else
9947               result=no
9948             fi
9949           else
9950             result=$wxUSE_XRC
9951           fi
9952
9953           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9954 $as_echo "$result" >&6; }
9955
9956
9957           enablestring=
9958           defaultval=$wxUSE_ALL_FEATURES
9959           if test -z "$defaultval"; then
9960               if test x"$enablestring" = xdisable; then
9961                   defaultval=yes
9962               else
9963                   defaultval=no
9964               fi
9965           fi
9966
9967           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-aui" >&5
9968 $as_echo_n "checking for --${enablestring:-enable}-aui... " >&6; }
9969           # Check whether --enable-aui was given.
9970 if test "${enable_aui+set}" = set; then :
9971   enableval=$enable_aui;
9972                           if test "$enableval" = yes; then
9973                             wx_cv_use_aui='wxUSE_AUI=yes'
9974                           else
9975                             wx_cv_use_aui='wxUSE_AUI=no'
9976                           fi
9977
9978 else
9979
9980                           wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
9981
9982 fi
9983
9984
9985           eval "$wx_cv_use_aui"
9986
9987           if test x"$enablestring" = xdisable; then
9988             if test $wxUSE_AUI = no; then
9989               result=yes
9990             else
9991               result=no
9992             fi
9993           else
9994             result=$wxUSE_AUI
9995           fi
9996
9997           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9998 $as_echo "$result" >&6; }
9999
10000
10001           enablestring=
10002           defaultval=$wxUSE_ALL_FEATURES
10003           if test -z "$defaultval"; then
10004               if test x"$enablestring" = xdisable; then
10005                   defaultval=yes
10006               else
10007                   defaultval=no
10008               fi
10009           fi
10010
10011           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-propgrid" >&5
10012 $as_echo_n "checking for --${enablestring:-enable}-propgrid... " >&6; }
10013           # Check whether --enable-propgrid was given.
10014 if test "${enable_propgrid+set}" = set; then :
10015   enableval=$enable_propgrid;
10016                           if test "$enableval" = yes; then
10017                             wx_cv_use_propgrid='wxUSE_PROPGRID=yes'
10018                           else
10019                             wx_cv_use_propgrid='wxUSE_PROPGRID=no'
10020                           fi
10021
10022 else
10023
10024                           wx_cv_use_propgrid='wxUSE_PROPGRID=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}"
10025
10026 fi
10027
10028
10029           eval "$wx_cv_use_propgrid"
10030
10031           if test x"$enablestring" = xdisable; then
10032             if test $wxUSE_PROPGRID = no; then
10033               result=yes
10034             else
10035               result=no
10036             fi
10037           else
10038             result=$wxUSE_PROPGRID
10039           fi
10040
10041           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10042 $as_echo "$result" >&6; }
10043
10044
10045           enablestring=
10046           defaultval=$wxUSE_ALL_FEATURES
10047           if test -z "$defaultval"; then
10048               if test x"$enablestring" = xdisable; then
10049                   defaultval=yes
10050               else
10051                   defaultval=no
10052               fi
10053           fi
10054
10055           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ribbon" >&5
10056 $as_echo_n "checking for --${enablestring:-enable}-ribbon... " >&6; }
10057           # Check whether --enable-ribbon was given.
10058 if test "${enable_ribbon+set}" = set; then :
10059   enableval=$enable_ribbon;
10060                           if test "$enableval" = yes; then
10061                             wx_cv_use_ribbon='wxUSE_RIBBON=yes'
10062                           else
10063                             wx_cv_use_ribbon='wxUSE_RIBBON=no'
10064                           fi
10065
10066 else
10067
10068                           wx_cv_use_ribbon='wxUSE_RIBBON=${'DEFAULT_wxUSE_RIBBON":-$defaultval}"
10069
10070 fi
10071
10072
10073           eval "$wx_cv_use_ribbon"
10074
10075           if test x"$enablestring" = xdisable; then
10076             if test $wxUSE_RIBBON = no; then
10077               result=yes
10078             else
10079               result=no
10080             fi
10081           else
10082             result=$wxUSE_RIBBON
10083           fi
10084
10085           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10086 $as_echo "$result" >&6; }
10087
10088
10089           enablestring=
10090           defaultval=$wxUSE_ALL_FEATURES
10091           if test -z "$defaultval"; then
10092               if test x"$enablestring" = xdisable; then
10093                   defaultval=yes
10094               else
10095                   defaultval=no
10096               fi
10097           fi
10098
10099           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stc" >&5
10100 $as_echo_n "checking for --${enablestring:-enable}-stc... " >&6; }
10101           # Check whether --enable-stc was given.
10102 if test "${enable_stc+set}" = set; then :
10103   enableval=$enable_stc;
10104                           if test "$enableval" = yes; then
10105                             wx_cv_use_stc='wxUSE_STC=yes'
10106                           else
10107                             wx_cv_use_stc='wxUSE_STC=no'
10108                           fi
10109
10110 else
10111
10112                           wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
10113
10114 fi
10115
10116
10117           eval "$wx_cv_use_stc"
10118
10119           if test x"$enablestring" = xdisable; then
10120             if test $wxUSE_STC = no; then
10121               result=yes
10122             else
10123               result=no
10124             fi
10125           else
10126             result=$wxUSE_STC
10127           fi
10128
10129           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10130 $as_echo "$result" >&6; }
10131
10132
10133           enablestring=
10134           defaultval=$wxUSE_ALL_FEATURES
10135           if test -z "$defaultval"; then
10136               if test x"$enablestring" = xdisable; then
10137                   defaultval=yes
10138               else
10139                   defaultval=no
10140               fi
10141           fi
10142
10143           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-constraints" >&5
10144 $as_echo_n "checking for --${enablestring:-enable}-constraints... " >&6; }
10145           # Check whether --enable-constraints was given.
10146 if test "${enable_constraints+set}" = set; then :
10147   enableval=$enable_constraints;
10148                           if test "$enableval" = yes; then
10149                             wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
10150                           else
10151                             wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
10152                           fi
10153
10154 else
10155
10156                           wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
10157
10158 fi
10159
10160
10161           eval "$wx_cv_use_constraints"
10162
10163           if test x"$enablestring" = xdisable; then
10164             if test $wxUSE_CONSTRAINTS = no; then
10165               result=yes
10166             else
10167               result=no
10168             fi
10169           else
10170             result=$wxUSE_CONSTRAINTS
10171           fi
10172
10173           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10174 $as_echo "$result" >&6; }
10175
10176
10177           enablestring=
10178           defaultval=$wxUSE_ALL_FEATURES
10179           if test -z "$defaultval"; then
10180               if test x"$enablestring" = xdisable; then
10181                   defaultval=yes
10182               else
10183                   defaultval=no
10184               fi
10185           fi
10186
10187           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-loggui" >&5
10188 $as_echo_n "checking for --${enablestring:-enable}-loggui... " >&6; }
10189           # Check whether --enable-loggui was given.
10190 if test "${enable_loggui+set}" = set; then :
10191   enableval=$enable_loggui;
10192                           if test "$enableval" = yes; then
10193                             wx_cv_use_loggui='wxUSE_LOGGUI=yes'
10194                           else
10195                             wx_cv_use_loggui='wxUSE_LOGGUI=no'
10196                           fi
10197
10198 else
10199
10200                           wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
10201
10202 fi
10203
10204
10205           eval "$wx_cv_use_loggui"
10206
10207           if test x"$enablestring" = xdisable; then
10208             if test $wxUSE_LOGGUI = no; then
10209               result=yes
10210             else
10211               result=no
10212             fi
10213           else
10214             result=$wxUSE_LOGGUI
10215           fi
10216
10217           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10218 $as_echo "$result" >&6; }
10219
10220
10221           enablestring=
10222           defaultval=$wxUSE_ALL_FEATURES
10223           if test -z "$defaultval"; then
10224               if test x"$enablestring" = xdisable; then
10225                   defaultval=yes
10226               else
10227                   defaultval=no
10228               fi
10229           fi
10230
10231           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-logwin" >&5
10232 $as_echo_n "checking for --${enablestring:-enable}-logwin... " >&6; }
10233           # Check whether --enable-logwin was given.
10234 if test "${enable_logwin+set}" = set; then :
10235   enableval=$enable_logwin;
10236                           if test "$enableval" = yes; then
10237                             wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
10238                           else
10239                             wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
10240                           fi
10241
10242 else
10243
10244                           wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
10245
10246 fi
10247
10248
10249           eval "$wx_cv_use_logwin"
10250
10251           if test x"$enablestring" = xdisable; then
10252             if test $wxUSE_LOGWINDOW = no; then
10253               result=yes
10254             else
10255               result=no
10256             fi
10257           else
10258             result=$wxUSE_LOGWINDOW
10259           fi
10260
10261           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10262 $as_echo "$result" >&6; }
10263
10264
10265           enablestring=
10266           defaultval=$wxUSE_ALL_FEATURES
10267           if test -z "$defaultval"; then
10268               if test x"$enablestring" = xdisable; then
10269                   defaultval=yes
10270               else
10271                   defaultval=no
10272               fi
10273           fi
10274
10275           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-logdialog" >&5
10276 $as_echo_n "checking for --${enablestring:-enable}-logdialog... " >&6; }
10277           # Check whether --enable-logdialog was given.
10278 if test "${enable_logdialog+set}" = set; then :
10279   enableval=$enable_logdialog;
10280                           if test "$enableval" = yes; then
10281                             wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
10282                           else
10283                             wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
10284                           fi
10285
10286 else
10287
10288                           wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
10289
10290 fi
10291
10292
10293           eval "$wx_cv_use_logdialog"
10294
10295           if test x"$enablestring" = xdisable; then
10296             if test $wxUSE_LOGDIALOG = no; then
10297               result=yes
10298             else
10299               result=no
10300             fi
10301           else
10302             result=$wxUSE_LOGDIALOG
10303           fi
10304
10305           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10306 $as_echo "$result" >&6; }
10307
10308
10309           enablestring=
10310           defaultval=$wxUSE_ALL_FEATURES
10311           if test -z "$defaultval"; then
10312               if test x"$enablestring" = xdisable; then
10313                   defaultval=yes
10314               else
10315                   defaultval=no
10316               fi
10317           fi
10318
10319           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mdi" >&5
10320 $as_echo_n "checking for --${enablestring:-enable}-mdi... " >&6; }
10321           # Check whether --enable-mdi was given.
10322 if test "${enable_mdi+set}" = set; then :
10323   enableval=$enable_mdi;
10324                           if test "$enableval" = yes; then
10325                             wx_cv_use_mdi='wxUSE_MDI=yes'
10326                           else
10327                             wx_cv_use_mdi='wxUSE_MDI=no'
10328                           fi
10329
10330 else
10331
10332                           wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
10333
10334 fi
10335
10336
10337           eval "$wx_cv_use_mdi"
10338
10339           if test x"$enablestring" = xdisable; then
10340             if test $wxUSE_MDI = no; then
10341               result=yes
10342             else
10343               result=no
10344             fi
10345           else
10346             result=$wxUSE_MDI
10347           fi
10348
10349           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10350 $as_echo "$result" >&6; }
10351
10352
10353           enablestring=
10354           defaultval=$wxUSE_ALL_FEATURES
10355           if test -z "$defaultval"; then
10356               if test x"$enablestring" = xdisable; then
10357                   defaultval=yes
10358               else
10359                   defaultval=no
10360               fi
10361           fi
10362
10363           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mdidoc" >&5
10364 $as_echo_n "checking for --${enablestring:-enable}-mdidoc... " >&6; }
10365           # Check whether --enable-mdidoc was given.
10366 if test "${enable_mdidoc+set}" = set; then :
10367   enableval=$enable_mdidoc;
10368                           if test "$enableval" = yes; then
10369                             wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
10370                           else
10371                             wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
10372                           fi
10373
10374 else
10375
10376                           wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
10377
10378 fi
10379
10380
10381           eval "$wx_cv_use_mdidoc"
10382
10383           if test x"$enablestring" = xdisable; then
10384             if test $wxUSE_MDI_ARCHITECTURE = no; then
10385               result=yes
10386             else
10387               result=no
10388             fi
10389           else
10390             result=$wxUSE_MDI_ARCHITECTURE
10391           fi
10392
10393           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10394 $as_echo "$result" >&6; }
10395
10396
10397           enablestring=
10398           defaultval=$wxUSE_ALL_FEATURES
10399           if test -z "$defaultval"; then
10400               if test x"$enablestring" = xdisable; then
10401                   defaultval=yes
10402               else
10403                   defaultval=no
10404               fi
10405           fi
10406
10407           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mediactrl" >&5
10408 $as_echo_n "checking for --${enablestring:-enable}-mediactrl... " >&6; }
10409           # Check whether --enable-mediactrl was given.
10410 if test "${enable_mediactrl+set}" = set; then :
10411   enableval=$enable_mediactrl;
10412                           if test "$enableval" = yes; then
10413                             wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
10414                           else
10415                             wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
10416                           fi
10417
10418 else
10419
10420                           wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
10421
10422 fi
10423
10424
10425           eval "$wx_cv_use_mediactrl"
10426
10427           if test x"$enablestring" = xdisable; then
10428             if test $wxUSE_MEDIACTRL = no; then
10429               result=yes
10430             else
10431               result=no
10432             fi
10433           else
10434             result=$wxUSE_MEDIACTRL
10435           fi
10436
10437           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10438 $as_echo "$result" >&6; }
10439
10440
10441           enablestring=
10442           defaultval=$wxUSE_ALL_FEATURES
10443           if test -z "$defaultval"; then
10444               if test x"$enablestring" = xdisable; then
10445                   defaultval=yes
10446               else
10447                   defaultval=no
10448               fi
10449           fi
10450
10451           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gstreamer8" >&5
10452 $as_echo_n "checking for --${enablestring:-enable}-gstreamer8... " >&6; }
10453           # Check whether --enable-gstreamer8 was given.
10454 if test "${enable_gstreamer8+set}" = set; then :
10455   enableval=$enable_gstreamer8;
10456                           if test "$enableval" = yes; then
10457                             wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
10458                           else
10459                             wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
10460                           fi
10461
10462 else
10463
10464                           wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
10465
10466 fi
10467
10468
10469           eval "$wx_cv_use_gstreamer8"
10470
10471           if test x"$enablestring" = xdisable; then
10472             if test $wxUSE_GSTREAMER8 = no; then
10473               result=yes
10474             else
10475               result=no
10476             fi
10477           else
10478             result=$wxUSE_GSTREAMER8
10479           fi
10480
10481           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10482 $as_echo "$result" >&6; }
10483
10484
10485           enablestring=
10486           defaultval=$wxUSE_ALL_FEATURES
10487           if test -z "$defaultval"; then
10488               if test x"$enablestring" = xdisable; then
10489                   defaultval=yes
10490               else
10491                   defaultval=no
10492               fi
10493           fi
10494
10495           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-richtext" >&5
10496 $as_echo_n "checking for --${enablestring:-enable}-richtext... " >&6; }
10497           # Check whether --enable-richtext was given.
10498 if test "${enable_richtext+set}" = set; then :
10499   enableval=$enable_richtext;
10500                           if test "$enableval" = yes; then
10501                             wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
10502                           else
10503                             wx_cv_use_richtext='wxUSE_RICHTEXT=no'
10504                           fi
10505
10506 else
10507
10508                           wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
10509
10510 fi
10511
10512
10513           eval "$wx_cv_use_richtext"
10514
10515           if test x"$enablestring" = xdisable; then
10516             if test $wxUSE_RICHTEXT = no; then
10517               result=yes
10518             else
10519               result=no
10520             fi
10521           else
10522             result=$wxUSE_RICHTEXT
10523           fi
10524
10525           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10526 $as_echo "$result" >&6; }
10527
10528
10529           enablestring=
10530           defaultval=$wxUSE_ALL_FEATURES
10531           if test -z "$defaultval"; then
10532               if test x"$enablestring" = xdisable; then
10533                   defaultval=yes
10534               else
10535                   defaultval=no
10536               fi
10537           fi
10538
10539           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-postscript" >&5
10540 $as_echo_n "checking for --${enablestring:-enable}-postscript... " >&6; }
10541           # Check whether --enable-postscript was given.
10542 if test "${enable_postscript+set}" = set; then :
10543   enableval=$enable_postscript;
10544                           if test "$enableval" = yes; then
10545                             wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
10546                           else
10547                             wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
10548                           fi
10549
10550 else
10551
10552                           wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
10553
10554 fi
10555
10556
10557           eval "$wx_cv_use_postscript"
10558
10559           if test x"$enablestring" = xdisable; then
10560             if test $wxUSE_POSTSCRIPT = no; then
10561               result=yes
10562             else
10563               result=no
10564             fi
10565           else
10566             result=$wxUSE_POSTSCRIPT
10567           fi
10568
10569           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10570 $as_echo "$result" >&6; }
10571
10572
10573           enablestring=
10574           defaultval=$wxUSE_ALL_FEATURES
10575           if test -z "$defaultval"; then
10576               if test x"$enablestring" = xdisable; then
10577                   defaultval=yes
10578               else
10579                   defaultval=no
10580               fi
10581           fi
10582
10583           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-printarch" >&5
10584 $as_echo_n "checking for --${enablestring:-enable}-printarch... " >&6; }
10585           # Check whether --enable-printarch was given.
10586 if test "${enable_printarch+set}" = set; then :
10587   enableval=$enable_printarch;
10588                           if test "$enableval" = yes; then
10589                             wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
10590                           else
10591                             wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
10592                           fi
10593
10594 else
10595
10596                           wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
10597
10598 fi
10599
10600
10601           eval "$wx_cv_use_printarch"
10602
10603           if test x"$enablestring" = xdisable; then
10604             if test $wxUSE_PRINTING_ARCHITECTURE = no; then
10605               result=yes
10606             else
10607               result=no
10608             fi
10609           else
10610             result=$wxUSE_PRINTING_ARCHITECTURE
10611           fi
10612
10613           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10614 $as_echo "$result" >&6; }
10615
10616
10617           enablestring=
10618           defaultval=$wxUSE_ALL_FEATURES
10619           if test -z "$defaultval"; then
10620               if test x"$enablestring" = xdisable; then
10621                   defaultval=yes
10622               else
10623                   defaultval=no
10624               fi
10625           fi
10626
10627           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-svg" >&5
10628 $as_echo_n "checking for --${enablestring:-enable}-svg... " >&6; }
10629           # Check whether --enable-svg was given.
10630 if test "${enable_svg+set}" = set; then :
10631   enableval=$enable_svg;
10632                           if test "$enableval" = yes; then
10633                             wx_cv_use_svg='wxUSE_SVG=yes'
10634                           else
10635                             wx_cv_use_svg='wxUSE_SVG=no'
10636                           fi
10637
10638 else
10639
10640                           wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
10641
10642 fi
10643
10644
10645           eval "$wx_cv_use_svg"
10646
10647           if test x"$enablestring" = xdisable; then
10648             if test $wxUSE_SVG = no; then
10649               result=yes
10650             else
10651               result=no
10652             fi
10653           else
10654             result=$wxUSE_SVG
10655           fi
10656
10657           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10658 $as_echo "$result" >&6; }
10659
10660
10661           enablestring=
10662           defaultval=$wxUSE_ALL_FEATURES
10663           if test -z "$defaultval"; then
10664               if test x"$enablestring" = xdisable; then
10665                   defaultval=yes
10666               else
10667                   defaultval=no
10668               fi
10669           fi
10670
10671           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-webkit" >&5
10672 $as_echo_n "checking for --${enablestring:-enable}-webkit... " >&6; }
10673           # Check whether --enable-webkit was given.
10674 if test "${enable_webkit+set}" = set; then :
10675   enableval=$enable_webkit;
10676                           if test "$enableval" = yes; then
10677                             wx_cv_use_webkit='wxUSE_WEBKIT=yes'
10678                           else
10679                             wx_cv_use_webkit='wxUSE_WEBKIT=no'
10680                           fi
10681
10682 else
10683
10684                           wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
10685
10686 fi
10687
10688
10689           eval "$wx_cv_use_webkit"
10690
10691           if test x"$enablestring" = xdisable; then
10692             if test $wxUSE_WEBKIT = no; then
10693               result=yes
10694             else
10695               result=no
10696             fi
10697           else
10698             result=$wxUSE_WEBKIT
10699           fi
10700
10701           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10702 $as_echo "$result" >&6; }
10703
10704
10705           enablestring=
10706           defaultval=$wxUSE_ALL_FEATURES
10707           if test -z "$defaultval"; then
10708               if test x"$enablestring" = xdisable; then
10709                   defaultval=yes
10710               else
10711                   defaultval=no
10712               fi
10713           fi
10714
10715           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-webview" >&5
10716 $as_echo_n "checking for --${enablestring:-enable}-webview... " >&6; }
10717           # Check whether --enable-webview was given.
10718 if test "${enable_webview+set}" = set; then :
10719   enableval=$enable_webview;
10720                           if test "$enableval" = yes; then
10721                             wx_cv_use_webview='wxUSE_WEBVIEW=yes'
10722                           else
10723                             wx_cv_use_webview='wxUSE_WEBVIEW=no'
10724                           fi
10725
10726 else
10727
10728                           wx_cv_use_webview='wxUSE_WEBVIEW=${'DEFAULT_wxUSE_WEBVIEW":-$defaultval}"
10729
10730 fi
10731
10732
10733           eval "$wx_cv_use_webview"
10734
10735           if test x"$enablestring" = xdisable; then
10736             if test $wxUSE_WEBVIEW = no; then
10737               result=yes
10738             else
10739               result=no
10740             fi
10741           else
10742             result=$wxUSE_WEBVIEW
10743           fi
10744
10745           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10746 $as_echo "$result" >&6; }
10747
10748
10749 if test "$wxUSE_MAC" != 1; then
10750
10751           enablestring=
10752           defaultval=$wxUSE_ALL_FEATURES
10753           if test -z "$defaultval"; then
10754               if test x"$enablestring" = xdisable; then
10755                   defaultval=yes
10756               else
10757                   defaultval=no
10758               fi
10759           fi
10760
10761           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-graphics_ctx" >&5
10762 $as_echo_n "checking for --${enablestring:-enable}-graphics_ctx... " >&6; }
10763           # Check whether --enable-graphics_ctx was given.
10764 if test "${enable_graphics_ctx+set}" = set; then :
10765   enableval=$enable_graphics_ctx;
10766                           if test "$enableval" = yes; then
10767                             wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
10768                           else
10769                             wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
10770                           fi
10771
10772 else
10773
10774                           wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
10775
10776 fi
10777
10778
10779           eval "$wx_cv_use_graphics_ctx"
10780
10781           if test x"$enablestring" = xdisable; then
10782             if test $wxUSE_GRAPHICS_CONTEXT = no; then
10783               result=yes
10784             else
10785               result=no
10786             fi
10787           else
10788             result=$wxUSE_GRAPHICS_CONTEXT
10789           fi
10790
10791           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10792 $as_echo "$result" >&6; }
10793
10794 fi
10795
10796
10797
10798           enablestring=
10799           defaultval=$wxUSE_ALL_FEATURES
10800           if test -z "$defaultval"; then
10801               if test x"$enablestring" = xdisable; then
10802                   defaultval=yes
10803               else
10804                   defaultval=no
10805               fi
10806           fi
10807
10808           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-clipboard" >&5
10809 $as_echo_n "checking for --${enablestring:-enable}-clipboard... " >&6; }
10810           # Check whether --enable-clipboard was given.
10811 if test "${enable_clipboard+set}" = set; then :
10812   enableval=$enable_clipboard;
10813                           if test "$enableval" = yes; then
10814                             wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
10815                           else
10816                             wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
10817                           fi
10818
10819 else
10820
10821                           wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
10822
10823 fi
10824
10825
10826           eval "$wx_cv_use_clipboard"
10827
10828           if test x"$enablestring" = xdisable; then
10829             if test $wxUSE_CLIPBOARD = no; then
10830               result=yes
10831             else
10832               result=no
10833             fi
10834           else
10835             result=$wxUSE_CLIPBOARD
10836           fi
10837
10838           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10839 $as_echo "$result" >&6; }
10840
10841
10842           enablestring=
10843           defaultval=$wxUSE_ALL_FEATURES
10844           if test -z "$defaultval"; then
10845               if test x"$enablestring" = xdisable; then
10846                   defaultval=yes
10847               else
10848                   defaultval=no
10849               fi
10850           fi
10851
10852           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dnd" >&5
10853 $as_echo_n "checking for --${enablestring:-enable}-dnd... " >&6; }
10854           # Check whether --enable-dnd was given.
10855 if test "${enable_dnd+set}" = set; then :
10856   enableval=$enable_dnd;
10857                           if test "$enableval" = yes; then
10858                             wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
10859                           else
10860                             wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
10861                           fi
10862
10863 else
10864
10865                           wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
10866
10867 fi
10868
10869
10870           eval "$wx_cv_use_dnd"
10871
10872           if test x"$enablestring" = xdisable; then
10873             if test $wxUSE_DRAG_AND_DROP = no; then
10874               result=yes
10875             else
10876               result=no
10877             fi
10878           else
10879             result=$wxUSE_DRAG_AND_DROP
10880           fi
10881
10882           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10883 $as_echo "$result" >&6; }
10884
10885
10886
10887 DEFAULT_wxUSE_CONTROLS=none
10888
10889           enablestring=disable
10890           defaultval=
10891           if test -z "$defaultval"; then
10892               if test x"$enablestring" = xdisable; then
10893                   defaultval=yes
10894               else
10895                   defaultval=no
10896               fi
10897           fi
10898
10899           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-controls" >&5
10900 $as_echo_n "checking for --${enablestring:-enable}-controls... " >&6; }
10901           # Check whether --enable-controls was given.
10902 if test "${enable_controls+set}" = set; then :
10903   enableval=$enable_controls;
10904                           if test "$enableval" = yes; then
10905                             wx_cv_use_controls='wxUSE_CONTROLS=yes'
10906                           else
10907                             wx_cv_use_controls='wxUSE_CONTROLS=no'
10908                           fi
10909
10910 else
10911
10912                           wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
10913
10914 fi
10915
10916
10917           eval "$wx_cv_use_controls"
10918
10919           if test x"$enablestring" = xdisable; then
10920             if test $wxUSE_CONTROLS = no; then
10921               result=yes
10922             else
10923               result=no
10924             fi
10925           else
10926             result=$wxUSE_CONTROLS
10927           fi
10928
10929           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10930 $as_echo "$result" >&6; }
10931
10932
10933 if test "$wxUSE_CONTROLS" = "no"; then
10934     DEFAULT_wxUSE_ACCEL=no
10935     DEFAULT_wxUSE_ANIMATIONCTRL=no
10936     DEFAULT_wxUSE_BANNERWINDOW=no
10937     DEFAULT_wxUSE_BMPBUTTON=no
10938     DEFAULT_wxUSE_BUTTON=no
10939     DEFAULT_wxUSE_CALCTRL=no
10940     DEFAULT_wxUSE_CARET=no
10941     DEFAULT_wxUSE_CHECKBOX=no
10942     DEFAULT_wxUSE_CHECKLISTBOX=no
10943     DEFAULT_wxUSE_CHOICE=no
10944     DEFAULT_wxUSE_CHOICEBOOK=no
10945     DEFAULT_wxUSE_COLLPANE=no
10946     DEFAULT_wxUSE_COLOURPICKERCTRL=no
10947     DEFAULT_wxUSE_COMBOBOX=no
10948     DEFAULT_wxUSE_COMBOBOX=no
10949     DEFAULT_wxUSE_COMMANDLINKBUTTON=no
10950     DEFAULT_wxUSE_DATAVIEWCTRL=no
10951     DEFAULT_wxUSE_DATEPICKCTRL=no
10952     DEFAULT_wxUSE_DETECT_SM=no
10953     DEFAULT_wxUSE_DIRPICKERCTRL=no
10954     DEFAULT_wxUSE_DISPLAY=no
10955     DEFAULT_wxUSE_FILECTRL=no
10956     DEFAULT_wxUSE_FILEPICKERCTRL=no
10957     DEFAULT_wxUSE_FONTPICKERCTRL=no
10958     DEFAULT_wxUSE_GAUGE=no
10959     DEFAULT_wxUSE_GRID=no
10960     DEFAULT_wxUSE_HEADERCTRL=no
10961     DEFAULT_wxUSE_HYPERLINKCTRL=no
10962     DEFAULT_wxUSE_IMAGLIST=no
10963     DEFAULT_wxUSE_LISTBOOK=no
10964     DEFAULT_wxUSE_LISTBOX=no
10965     DEFAULT_wxUSE_LISTCTRL=no
10966     DEFAULT_wxUSE_MARKUP=no
10967     DEFAULT_wxUSE_NOTEBOOK=no
10968     DEFAULT_wxUSE_POPUPWIN=no
10969     DEFAULT_wxUSE_RADIOBOX=no
10970     DEFAULT_wxUSE_RADIOBTN=no
10971     DEFAULT_wxUSE_RICHMSGDLG=no
10972     DEFAULT_wxUSE_RICHTOOLTIP=no
10973     DEFAULT_wxUSE_REARRANGECTRL=no
10974     DEFAULT_wxUSE_SASH=no
10975     DEFAULT_wxUSE_SCROLLBAR=no
10976     DEFAULT_wxUSE_SEARCHCTRL=no
10977     DEFAULT_wxUSE_SLIDER=no
10978     DEFAULT_wxUSE_SPINBTN=no
10979     DEFAULT_wxUSE_SPINCTRL=no
10980     DEFAULT_wxUSE_SPLITTER=no
10981     DEFAULT_wxUSE_STATBMP=no
10982     DEFAULT_wxUSE_STATBOX=no
10983     DEFAULT_wxUSE_STATLINE=no
10984     DEFAULT_wxUSE_STATUSBAR=no
10985     DEFAULT_wxUSE_TIMEPICKCTRL=no
10986     DEFAULT_wxUSE_TIPWINDOW=no
10987     DEFAULT_wxUSE_TOGGLEBTN=no
10988     DEFAULT_wxUSE_TOOLBAR=no
10989     DEFAULT_wxUSE_TOOLBAR_NATIVE=no
10990     DEFAULT_wxUSE_TOOLBOOK=no
10991     DEFAULT_wxUSE_TOOLTIPS=no
10992     DEFAULT_wxUSE_TREEBOOK=no
10993     DEFAULT_wxUSE_TREECTRL=no
10994     DEFAULT_wxUSE_TREELISTCTRL=no
10995 fi
10996
10997
10998           enablestring=
10999           defaultval=$wxUSE_ALL_FEATURES
11000           if test -z "$defaultval"; then
11001               if test x"$enablestring" = xdisable; then
11002                   defaultval=yes
11003               else
11004                   defaultval=no
11005               fi
11006           fi
11007
11008           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-markup" >&5
11009 $as_echo_n "checking for --${enablestring:-enable}-markup... " >&6; }
11010           # Check whether --enable-markup was given.
11011 if test "${enable_markup+set}" = set; then :
11012   enableval=$enable_markup;
11013                           if test "$enableval" = yes; then
11014                             wx_cv_use_markup='wxUSE_MARKUP=yes'
11015                           else
11016                             wx_cv_use_markup='wxUSE_MARKUP=no'
11017                           fi
11018
11019 else
11020
11021                           wx_cv_use_markup='wxUSE_MARKUP=${'DEFAULT_wxUSE_MARKUP":-$defaultval}"
11022
11023 fi
11024
11025
11026           eval "$wx_cv_use_markup"
11027
11028           if test x"$enablestring" = xdisable; then
11029             if test $wxUSE_MARKUP = no; then
11030               result=yes
11031             else
11032               result=no
11033             fi
11034           else
11035             result=$wxUSE_MARKUP
11036           fi
11037
11038           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11039 $as_echo "$result" >&6; }
11040
11041
11042
11043           enablestring=
11044           defaultval=$wxUSE_ALL_FEATURES
11045           if test -z "$defaultval"; then
11046               if test x"$enablestring" = xdisable; then
11047                   defaultval=yes
11048               else
11049                   defaultval=no
11050               fi
11051           fi
11052
11053           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-accel" >&5
11054 $as_echo_n "checking for --${enablestring:-enable}-accel... " >&6; }
11055           # Check whether --enable-accel was given.
11056 if test "${enable_accel+set}" = set; then :
11057   enableval=$enable_accel;
11058                           if test "$enableval" = yes; then
11059                             wx_cv_use_accel='wxUSE_ACCEL=yes'
11060                           else
11061                             wx_cv_use_accel='wxUSE_ACCEL=no'
11062                           fi
11063
11064 else
11065
11066                           wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
11067
11068 fi
11069
11070
11071           eval "$wx_cv_use_accel"
11072
11073           if test x"$enablestring" = xdisable; then
11074             if test $wxUSE_ACCEL = no; then
11075               result=yes
11076             else
11077               result=no
11078             fi
11079           else
11080             result=$wxUSE_ACCEL
11081           fi
11082
11083           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11084 $as_echo "$result" >&6; }
11085
11086
11087           enablestring=
11088           defaultval=$wxUSE_ALL_FEATURES
11089           if test -z "$defaultval"; then
11090               if test x"$enablestring" = xdisable; then
11091                   defaultval=yes
11092               else
11093                   defaultval=no
11094               fi
11095           fi
11096
11097           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-animatectrl" >&5
11098 $as_echo_n "checking for --${enablestring:-enable}-animatectrl... " >&6; }
11099           # Check whether --enable-animatectrl was given.
11100 if test "${enable_animatectrl+set}" = set; then :
11101   enableval=$enable_animatectrl;
11102                           if test "$enableval" = yes; then
11103                             wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
11104                           else
11105                             wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
11106                           fi
11107
11108 else
11109
11110                           wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
11111
11112 fi
11113
11114
11115           eval "$wx_cv_use_animatectrl"
11116
11117           if test x"$enablestring" = xdisable; then
11118             if test $wxUSE_ANIMATIONCTRL = no; then
11119               result=yes
11120             else
11121               result=no
11122             fi
11123           else
11124             result=$wxUSE_ANIMATIONCTRL
11125           fi
11126
11127           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11128 $as_echo "$result" >&6; }
11129
11130
11131           enablestring=
11132           defaultval=$wxUSE_ALL_FEATURES
11133           if test -z "$defaultval"; then
11134               if test x"$enablestring" = xdisable; then
11135                   defaultval=yes
11136               else
11137                   defaultval=no
11138               fi
11139           fi
11140
11141           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-bannerwindow" >&5
11142 $as_echo_n "checking for --${enablestring:-enable}-bannerwindow... " >&6; }
11143           # Check whether --enable-bannerwindow was given.
11144 if test "${enable_bannerwindow+set}" = set; then :
11145   enableval=$enable_bannerwindow;
11146                           if test "$enableval" = yes; then
11147                             wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW=yes'
11148                           else
11149                             wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW=no'
11150                           fi
11151
11152 else
11153
11154                           wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW=${'DEFAULT_wxUSE_BANNERWINDOW":-$defaultval}"
11155
11156 fi
11157
11158
11159           eval "$wx_cv_use_bannerwindow"
11160
11161           if test x"$enablestring" = xdisable; then
11162             if test $wxUSE_BANNERWINDOW = no; then
11163               result=yes
11164             else
11165               result=no
11166             fi
11167           else
11168             result=$wxUSE_BANNERWINDOW
11169           fi
11170
11171           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11172 $as_echo "$result" >&6; }
11173
11174
11175           enablestring=
11176           defaultval=$wxUSE_ALL_FEATURES
11177           if test -z "$defaultval"; then
11178               if test x"$enablestring" = xdisable; then
11179                   defaultval=yes
11180               else
11181                   defaultval=no
11182               fi
11183           fi
11184
11185           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-artstd" >&5
11186 $as_echo_n "checking for --${enablestring:-enable}-artstd... " >&6; }
11187           # Check whether --enable-artstd was given.
11188 if test "${enable_artstd+set}" = set; then :
11189   enableval=$enable_artstd;
11190                           if test "$enableval" = yes; then
11191                             wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=yes'
11192                           else
11193                             wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=no'
11194                           fi
11195
11196 else
11197
11198                           wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=${'DEFAULT_wxUSE_ARTPROVIDER_STD":-$defaultval}"
11199
11200 fi
11201
11202
11203           eval "$wx_cv_use_artstd"
11204
11205           if test x"$enablestring" = xdisable; then
11206             if test $wxUSE_ARTPROVIDER_STD = no; then
11207               result=yes
11208             else
11209               result=no
11210             fi
11211           else
11212             result=$wxUSE_ARTPROVIDER_STD
11213           fi
11214
11215           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11216 $as_echo "$result" >&6; }
11217
11218
11219           enablestring=
11220           defaultval=$wxUSE_ALL_FEATURES
11221           if test -z "$defaultval"; then
11222               if test x"$enablestring" = xdisable; then
11223                   defaultval=yes
11224               else
11225                   defaultval=no
11226               fi
11227           fi
11228
11229           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-arttango" >&5
11230 $as_echo_n "checking for --${enablestring:-enable}-arttango... " >&6; }
11231           # Check whether --enable-arttango was given.
11232 if test "${enable_arttango+set}" = set; then :
11233   enableval=$enable_arttango;
11234                           if test "$enableval" = yes; then
11235                             wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=yes'
11236                           else
11237                             wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=no'
11238                           fi
11239
11240 else
11241
11242                           wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=${'DEFAULT_wxUSE_ARTPROVIDER_TANGO":-$defaultval}"
11243
11244 fi
11245
11246
11247           eval "$wx_cv_use_arttango"
11248
11249           if test x"$enablestring" = xdisable; then
11250             if test $wxUSE_ARTPROVIDER_TANGO = no; then
11251               result=yes
11252             else
11253               result=no
11254             fi
11255           else
11256             result=$wxUSE_ARTPROVIDER_TANGO
11257           fi
11258
11259           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11260 $as_echo "$result" >&6; }
11261
11262
11263           enablestring=
11264           defaultval=$wxUSE_ALL_FEATURES
11265           if test -z "$defaultval"; then
11266               if test x"$enablestring" = xdisable; then
11267                   defaultval=yes
11268               else
11269                   defaultval=no
11270               fi
11271           fi
11272
11273           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-bmpbutton" >&5
11274 $as_echo_n "checking for --${enablestring:-enable}-bmpbutton... " >&6; }
11275           # Check whether --enable-bmpbutton was given.
11276 if test "${enable_bmpbutton+set}" = set; then :
11277   enableval=$enable_bmpbutton;
11278                           if test "$enableval" = yes; then
11279                             wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
11280                           else
11281                             wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
11282                           fi
11283
11284 else
11285
11286                           wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
11287
11288 fi
11289
11290
11291           eval "$wx_cv_use_bmpbutton"
11292
11293           if test x"$enablestring" = xdisable; then
11294             if test $wxUSE_BMPBUTTON = no; then
11295               result=yes
11296             else
11297               result=no
11298             fi
11299           else
11300             result=$wxUSE_BMPBUTTON
11301           fi
11302
11303           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11304 $as_echo "$result" >&6; }
11305
11306
11307           enablestring=
11308           defaultval=$wxUSE_ALL_FEATURES
11309           if test -z "$defaultval"; then
11310               if test x"$enablestring" = xdisable; then
11311                   defaultval=yes
11312               else
11313                   defaultval=no
11314               fi
11315           fi
11316
11317           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-bmpcombobox" >&5
11318 $as_echo_n "checking for --${enablestring:-enable}-bmpcombobox... " >&6; }
11319           # Check whether --enable-bmpcombobox was given.
11320 if test "${enable_bmpcombobox+set}" = set; then :
11321   enableval=$enable_bmpcombobox;
11322                           if test "$enableval" = yes; then
11323                             wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
11324                           else
11325                             wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
11326                           fi
11327
11328 else
11329
11330                           wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
11331
11332 fi
11333
11334
11335           eval "$wx_cv_use_bmpcombobox"
11336
11337           if test x"$enablestring" = xdisable; then
11338             if test $wxUSE_BITMAPCOMBOBOX = no; then
11339               result=yes
11340             else
11341               result=no
11342             fi
11343           else
11344             result=$wxUSE_BITMAPCOMBOBOX
11345           fi
11346
11347           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11348 $as_echo "$result" >&6; }
11349
11350
11351           enablestring=
11352           defaultval=$wxUSE_ALL_FEATURES
11353           if test -z "$defaultval"; then
11354               if test x"$enablestring" = xdisable; then
11355                   defaultval=yes
11356               else
11357                   defaultval=no
11358               fi
11359           fi
11360
11361           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-button" >&5
11362 $as_echo_n "checking for --${enablestring:-enable}-button... " >&6; }
11363           # Check whether --enable-button was given.
11364 if test "${enable_button+set}" = set; then :
11365   enableval=$enable_button;
11366                           if test "$enableval" = yes; then
11367                             wx_cv_use_button='wxUSE_BUTTON=yes'
11368                           else
11369                             wx_cv_use_button='wxUSE_BUTTON=no'
11370                           fi
11371
11372 else
11373
11374                           wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
11375
11376 fi
11377
11378
11379           eval "$wx_cv_use_button"
11380
11381           if test x"$enablestring" = xdisable; then
11382             if test $wxUSE_BUTTON = no; then
11383               result=yes
11384             else
11385               result=no
11386             fi
11387           else
11388             result=$wxUSE_BUTTON
11389           fi
11390
11391           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11392 $as_echo "$result" >&6; }
11393
11394
11395           enablestring=
11396           defaultval=$wxUSE_ALL_FEATURES
11397           if test -z "$defaultval"; then
11398               if test x"$enablestring" = xdisable; then
11399                   defaultval=yes
11400               else
11401                   defaultval=no
11402               fi
11403           fi
11404
11405           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-calendar" >&5
11406 $as_echo_n "checking for --${enablestring:-enable}-calendar... " >&6; }
11407           # Check whether --enable-calendar was given.
11408 if test "${enable_calendar+set}" = set; then :
11409   enableval=$enable_calendar;
11410                           if test "$enableval" = yes; then
11411                             wx_cv_use_calendar='wxUSE_CALCTRL=yes'
11412                           else
11413                             wx_cv_use_calendar='wxUSE_CALCTRL=no'
11414                           fi
11415
11416 else
11417
11418                           wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
11419
11420 fi
11421
11422
11423           eval "$wx_cv_use_calendar"
11424
11425           if test x"$enablestring" = xdisable; then
11426             if test $wxUSE_CALCTRL = no; then
11427               result=yes
11428             else
11429               result=no
11430             fi
11431           else
11432             result=$wxUSE_CALCTRL
11433           fi
11434
11435           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11436 $as_echo "$result" >&6; }
11437
11438
11439           enablestring=
11440           defaultval=$wxUSE_ALL_FEATURES
11441           if test -z "$defaultval"; then
11442               if test x"$enablestring" = xdisable; then
11443                   defaultval=yes
11444               else
11445                   defaultval=no
11446               fi
11447           fi
11448
11449           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-caret" >&5
11450 $as_echo_n "checking for --${enablestring:-enable}-caret... " >&6; }
11451           # Check whether --enable-caret was given.
11452 if test "${enable_caret+set}" = set; then :
11453   enableval=$enable_caret;
11454                           if test "$enableval" = yes; then
11455                             wx_cv_use_caret='wxUSE_CARET=yes'
11456                           else
11457                             wx_cv_use_caret='wxUSE_CARET=no'
11458                           fi
11459
11460 else
11461
11462                           wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
11463
11464 fi
11465
11466
11467           eval "$wx_cv_use_caret"
11468
11469           if test x"$enablestring" = xdisable; then
11470             if test $wxUSE_CARET = no; then
11471               result=yes
11472             else
11473               result=no
11474             fi
11475           else
11476             result=$wxUSE_CARET
11477           fi
11478
11479           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11480 $as_echo "$result" >&6; }
11481
11482
11483           enablestring=
11484           defaultval=$wxUSE_ALL_FEATURES
11485           if test -z "$defaultval"; then
11486               if test x"$enablestring" = xdisable; then
11487                   defaultval=yes
11488               else
11489                   defaultval=no
11490               fi
11491           fi
11492
11493           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-checkbox" >&5
11494 $as_echo_n "checking for --${enablestring:-enable}-checkbox... " >&6; }
11495           # Check whether --enable-checkbox was given.
11496 if test "${enable_checkbox+set}" = set; then :
11497   enableval=$enable_checkbox;
11498                           if test "$enableval" = yes; then
11499                             wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
11500                           else
11501                             wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
11502                           fi
11503
11504 else
11505
11506                           wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
11507
11508 fi
11509
11510
11511           eval "$wx_cv_use_checkbox"
11512
11513           if test x"$enablestring" = xdisable; then
11514             if test $wxUSE_CHECKBOX = no; then
11515               result=yes
11516             else
11517               result=no
11518             fi
11519           else
11520             result=$wxUSE_CHECKBOX
11521           fi
11522
11523           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11524 $as_echo "$result" >&6; }
11525
11526
11527           enablestring=
11528           defaultval=$wxUSE_ALL_FEATURES
11529           if test -z "$defaultval"; then
11530               if test x"$enablestring" = xdisable; then
11531                   defaultval=yes
11532               else
11533                   defaultval=no
11534               fi
11535           fi
11536
11537           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-checklst" >&5
11538 $as_echo_n "checking for --${enablestring:-enable}-checklst... " >&6; }
11539           # Check whether --enable-checklst was given.
11540 if test "${enable_checklst+set}" = set; then :
11541   enableval=$enable_checklst;
11542                           if test "$enableval" = yes; then
11543                             wx_cv_use_checklst='wxUSE_CHECKLST=yes'
11544                           else
11545                             wx_cv_use_checklst='wxUSE_CHECKLST=no'
11546                           fi
11547
11548 else
11549
11550                           wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
11551
11552 fi
11553
11554
11555           eval "$wx_cv_use_checklst"
11556
11557           if test x"$enablestring" = xdisable; then
11558             if test $wxUSE_CHECKLST = no; then
11559               result=yes
11560             else
11561               result=no
11562             fi
11563           else
11564             result=$wxUSE_CHECKLST
11565           fi
11566
11567           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11568 $as_echo "$result" >&6; }
11569
11570
11571           enablestring=
11572           defaultval=$wxUSE_ALL_FEATURES
11573           if test -z "$defaultval"; then
11574               if test x"$enablestring" = xdisable; then
11575                   defaultval=yes
11576               else
11577                   defaultval=no
11578               fi
11579           fi
11580
11581           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-choice" >&5
11582 $as_echo_n "checking for --${enablestring:-enable}-choice... " >&6; }
11583           # Check whether --enable-choice was given.
11584 if test "${enable_choice+set}" = set; then :
11585   enableval=$enable_choice;
11586                           if test "$enableval" = yes; then
11587                             wx_cv_use_choice='wxUSE_CHOICE=yes'
11588                           else
11589                             wx_cv_use_choice='wxUSE_CHOICE=no'
11590                           fi
11591
11592 else
11593
11594                           wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
11595
11596 fi
11597
11598
11599           eval "$wx_cv_use_choice"
11600
11601           if test x"$enablestring" = xdisable; then
11602             if test $wxUSE_CHOICE = no; then
11603               result=yes
11604             else
11605               result=no
11606             fi
11607           else
11608             result=$wxUSE_CHOICE
11609           fi
11610
11611           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11612 $as_echo "$result" >&6; }
11613
11614
11615           enablestring=
11616           defaultval=$wxUSE_ALL_FEATURES
11617           if test -z "$defaultval"; then
11618               if test x"$enablestring" = xdisable; then
11619                   defaultval=yes
11620               else
11621                   defaultval=no
11622               fi
11623           fi
11624
11625           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-choicebook" >&5
11626 $as_echo_n "checking for --${enablestring:-enable}-choicebook... " >&6; }
11627           # Check whether --enable-choicebook was given.
11628 if test "${enable_choicebook+set}" = set; then :
11629   enableval=$enable_choicebook;
11630                           if test "$enableval" = yes; then
11631                             wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
11632                           else
11633                             wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
11634                           fi
11635
11636 else
11637
11638                           wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
11639
11640 fi
11641
11642
11643           eval "$wx_cv_use_choicebook"
11644
11645           if test x"$enablestring" = xdisable; then
11646             if test $wxUSE_CHOICEBOOK = no; then
11647               result=yes
11648             else
11649               result=no
11650             fi
11651           else
11652             result=$wxUSE_CHOICEBOOK
11653           fi
11654
11655           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11656 $as_echo "$result" >&6; }
11657
11658
11659           enablestring=
11660           defaultval=$wxUSE_ALL_FEATURES
11661           if test -z "$defaultval"; then
11662               if test x"$enablestring" = xdisable; then
11663                   defaultval=yes
11664               else
11665                   defaultval=no
11666               fi
11667           fi
11668
11669           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-collpane" >&5
11670 $as_echo_n "checking for --${enablestring:-enable}-collpane... " >&6; }
11671           # Check whether --enable-collpane was given.
11672 if test "${enable_collpane+set}" = set; then :
11673   enableval=$enable_collpane;
11674                           if test "$enableval" = yes; then
11675                             wx_cv_use_collpane='wxUSE_COLLPANE=yes'
11676                           else
11677                             wx_cv_use_collpane='wxUSE_COLLPANE=no'
11678                           fi
11679
11680 else
11681
11682                           wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
11683
11684 fi
11685
11686
11687           eval "$wx_cv_use_collpane"
11688
11689           if test x"$enablestring" = xdisable; then
11690             if test $wxUSE_COLLPANE = no; then
11691               result=yes
11692             else
11693               result=no
11694             fi
11695           else
11696             result=$wxUSE_COLLPANE
11697           fi
11698
11699           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11700 $as_echo "$result" >&6; }
11701
11702
11703           enablestring=
11704           defaultval=$wxUSE_ALL_FEATURES
11705           if test -z "$defaultval"; then
11706               if test x"$enablestring" = xdisable; then
11707                   defaultval=yes
11708               else
11709                   defaultval=no
11710               fi
11711           fi
11712
11713           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-colourpicker" >&5
11714 $as_echo_n "checking for --${enablestring:-enable}-colourpicker... " >&6; }
11715           # Check whether --enable-colourpicker was given.
11716 if test "${enable_colourpicker+set}" = set; then :
11717   enableval=$enable_colourpicker;
11718                           if test "$enableval" = yes; then
11719                             wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
11720                           else
11721                             wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
11722                           fi
11723
11724 else
11725
11726                           wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
11727
11728 fi
11729
11730
11731           eval "$wx_cv_use_colourpicker"
11732
11733           if test x"$enablestring" = xdisable; then
11734             if test $wxUSE_COLOURPICKERCTRL = no; then
11735               result=yes
11736             else
11737               result=no
11738             fi
11739           else
11740             result=$wxUSE_COLOURPICKERCTRL
11741           fi
11742
11743           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11744 $as_echo "$result" >&6; }
11745
11746
11747           enablestring=
11748           defaultval=$wxUSE_ALL_FEATURES
11749           if test -z "$defaultval"; then
11750               if test x"$enablestring" = xdisable; then
11751                   defaultval=yes
11752               else
11753                   defaultval=no
11754               fi
11755           fi
11756
11757           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-combobox" >&5
11758 $as_echo_n "checking for --${enablestring:-enable}-combobox... " >&6; }
11759           # Check whether --enable-combobox was given.
11760 if test "${enable_combobox+set}" = set; then :
11761   enableval=$enable_combobox;
11762                           if test "$enableval" = yes; then
11763                             wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
11764                           else
11765                             wx_cv_use_combobox='wxUSE_COMBOBOX=no'
11766                           fi
11767
11768 else
11769
11770                           wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
11771
11772 fi
11773
11774
11775           eval "$wx_cv_use_combobox"
11776
11777           if test x"$enablestring" = xdisable; then
11778             if test $wxUSE_COMBOBOX = no; then
11779               result=yes
11780             else
11781               result=no
11782             fi
11783           else
11784             result=$wxUSE_COMBOBOX
11785           fi
11786
11787           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11788 $as_echo "$result" >&6; }
11789
11790
11791           enablestring=
11792           defaultval=$wxUSE_ALL_FEATURES
11793           if test -z "$defaultval"; then
11794               if test x"$enablestring" = xdisable; then
11795                   defaultval=yes
11796               else
11797                   defaultval=no
11798               fi
11799           fi
11800
11801           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-comboctrl" >&5
11802 $as_echo_n "checking for --${enablestring:-enable}-comboctrl... " >&6; }
11803           # Check whether --enable-comboctrl was given.
11804 if test "${enable_comboctrl+set}" = set; then :
11805   enableval=$enable_comboctrl;
11806                           if test "$enableval" = yes; then
11807                             wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
11808                           else
11809                             wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
11810                           fi
11811
11812 else
11813
11814                           wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
11815
11816 fi
11817
11818
11819           eval "$wx_cv_use_comboctrl"
11820
11821           if test x"$enablestring" = xdisable; then
11822             if test $wxUSE_COMBOCTRL = no; then
11823               result=yes
11824             else
11825               result=no
11826             fi
11827           else
11828             result=$wxUSE_COMBOCTRL
11829           fi
11830
11831           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11832 $as_echo "$result" >&6; }
11833
11834
11835           enablestring=
11836           defaultval=$wxUSE_ALL_FEATURES
11837           if test -z "$defaultval"; then
11838               if test x"$enablestring" = xdisable; then
11839                   defaultval=yes
11840               else
11841                   defaultval=no
11842               fi
11843           fi
11844
11845           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-commandlinkbutton" >&5
11846 $as_echo_n "checking for --${enablestring:-enable}-commandlinkbutton... " >&6; }
11847           # Check whether --enable-commandlinkbutton was given.
11848 if test "${enable_commandlinkbutton+set}" = set; then :
11849   enableval=$enable_commandlinkbutton;
11850                           if test "$enableval" = yes; then
11851                             wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=yes'
11852                           else
11853                             wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=no'
11854                           fi
11855
11856 else
11857
11858                           wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=${'DEFAULT_wxUSE_COMMANDLINKBUTTON":-$defaultval}"
11859
11860 fi
11861
11862
11863           eval "$wx_cv_use_commandlinkbutton"
11864
11865           if test x"$enablestring" = xdisable; then
11866             if test $wxUSE_COMMANDLINKBUTTON = no; then
11867               result=yes
11868             else
11869               result=no
11870             fi
11871           else
11872             result=$wxUSE_COMMANDLINKBUTTON
11873           fi
11874
11875           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11876 $as_echo "$result" >&6; }
11877
11878
11879           enablestring=
11880           defaultval=$wxUSE_ALL_FEATURES
11881           if test -z "$defaultval"; then
11882               if test x"$enablestring" = xdisable; then
11883                   defaultval=yes
11884               else
11885                   defaultval=no
11886               fi
11887           fi
11888
11889           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dataviewctrl" >&5
11890 $as_echo_n "checking for --${enablestring:-enable}-dataviewctrl... " >&6; }
11891           # Check whether --enable-dataviewctrl was given.
11892 if test "${enable_dataviewctrl+set}" = set; then :
11893   enableval=$enable_dataviewctrl;
11894                           if test "$enableval" = yes; then
11895                             wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
11896                           else
11897                             wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
11898                           fi
11899
11900 else
11901
11902                           wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
11903
11904 fi
11905
11906
11907           eval "$wx_cv_use_dataviewctrl"
11908
11909           if test x"$enablestring" = xdisable; then
11910             if test $wxUSE_DATAVIEWCTRL = no; then
11911               result=yes
11912             else
11913               result=no
11914             fi
11915           else
11916             result=$wxUSE_DATAVIEWCTRL
11917           fi
11918
11919           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11920 $as_echo "$result" >&6; }
11921
11922
11923           enablestring=
11924           defaultval=$wxUSE_ALL_FEATURES
11925           if test -z "$defaultval"; then
11926               if test x"$enablestring" = xdisable; then
11927                   defaultval=yes
11928               else
11929                   defaultval=no
11930               fi
11931           fi
11932
11933           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-datepick" >&5
11934 $as_echo_n "checking for --${enablestring:-enable}-datepick... " >&6; }
11935           # Check whether --enable-datepick was given.
11936 if test "${enable_datepick+set}" = set; then :
11937   enableval=$enable_datepick;
11938                           if test "$enableval" = yes; then
11939                             wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
11940                           else
11941                             wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
11942                           fi
11943
11944 else
11945
11946                           wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
11947
11948 fi
11949
11950
11951           eval "$wx_cv_use_datepick"
11952
11953           if test x"$enablestring" = xdisable; then
11954             if test $wxUSE_DATEPICKCTRL = no; then
11955               result=yes
11956             else
11957               result=no
11958             fi
11959           else
11960             result=$wxUSE_DATEPICKCTRL
11961           fi
11962
11963           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11964 $as_echo "$result" >&6; }
11965
11966
11967           enablestring=
11968           defaultval=$wxUSE_ALL_FEATURES
11969           if test -z "$defaultval"; then
11970               if test x"$enablestring" = xdisable; then
11971                   defaultval=yes
11972               else
11973                   defaultval=no
11974               fi
11975           fi
11976
11977           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-detect_sm" >&5
11978 $as_echo_n "checking for --${enablestring:-enable}-detect_sm... " >&6; }
11979           # Check whether --enable-detect_sm was given.
11980 if test "${enable_detect_sm+set}" = set; then :
11981   enableval=$enable_detect_sm;
11982                           if test "$enableval" = yes; then
11983                             wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
11984                           else
11985                             wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
11986                           fi
11987
11988 else
11989
11990                           wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
11991
11992 fi
11993
11994
11995           eval "$wx_cv_use_detect_sm"
11996
11997           if test x"$enablestring" = xdisable; then
11998             if test $wxUSE_DETECT_SM = no; then
11999               result=yes
12000             else
12001               result=no
12002             fi
12003           else
12004             result=$wxUSE_DETECT_SM
12005           fi
12006
12007           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12008 $as_echo "$result" >&6; }
12009
12010
12011           enablestring=
12012           defaultval=$wxUSE_ALL_FEATURES
12013           if test -z "$defaultval"; then
12014               if test x"$enablestring" = xdisable; then
12015                   defaultval=yes
12016               else
12017                   defaultval=no
12018               fi
12019           fi
12020
12021           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dirpicker" >&5
12022 $as_echo_n "checking for --${enablestring:-enable}-dirpicker... " >&6; }
12023           # Check whether --enable-dirpicker was given.
12024 if test "${enable_dirpicker+set}" = set; then :
12025   enableval=$enable_dirpicker;
12026                           if test "$enableval" = yes; then
12027                             wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
12028                           else
12029                             wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
12030                           fi
12031
12032 else
12033
12034                           wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
12035
12036 fi
12037
12038
12039           eval "$wx_cv_use_dirpicker"
12040
12041           if test x"$enablestring" = xdisable; then
12042             if test $wxUSE_DIRPICKERCTRL = no; then
12043               result=yes
12044             else
12045               result=no
12046             fi
12047           else
12048             result=$wxUSE_DIRPICKERCTRL
12049           fi
12050
12051           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12052 $as_echo "$result" >&6; }
12053
12054
12055           enablestring=
12056           defaultval=$wxUSE_ALL_FEATURES
12057           if test -z "$defaultval"; then
12058               if test x"$enablestring" = xdisable; then
12059                   defaultval=yes
12060               else
12061                   defaultval=no
12062               fi
12063           fi
12064
12065           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-display" >&5
12066 $as_echo_n "checking for --${enablestring:-enable}-display... " >&6; }
12067           # Check whether --enable-display was given.
12068 if test "${enable_display+set}" = set; then :
12069   enableval=$enable_display;
12070                           if test "$enableval" = yes; then
12071                             wx_cv_use_display='wxUSE_DISPLAY=yes'
12072                           else
12073                             wx_cv_use_display='wxUSE_DISPLAY=no'
12074                           fi
12075
12076 else
12077
12078                           wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
12079
12080 fi
12081
12082
12083           eval "$wx_cv_use_display"
12084
12085           if test x"$enablestring" = xdisable; then
12086             if test $wxUSE_DISPLAY = no; then
12087               result=yes
12088             else
12089               result=no
12090             fi
12091           else
12092             result=$wxUSE_DISPLAY
12093           fi
12094
12095           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12096 $as_echo "$result" >&6; }
12097
12098
12099           enablestring=
12100           defaultval=$wxUSE_ALL_FEATURES
12101           if test -z "$defaultval"; then
12102               if test x"$enablestring" = xdisable; then
12103                   defaultval=yes
12104               else
12105                   defaultval=no
12106               fi
12107           fi
12108
12109           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-editablebox" >&5
12110 $as_echo_n "checking for --${enablestring:-enable}-editablebox... " >&6; }
12111           # Check whether --enable-editablebox was given.
12112 if test "${enable_editablebox+set}" = set; then :
12113   enableval=$enable_editablebox;
12114                           if test "$enableval" = yes; then
12115                             wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
12116                           else
12117                             wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
12118                           fi
12119
12120 else
12121
12122                           wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
12123
12124 fi
12125
12126
12127           eval "$wx_cv_use_editablebox"
12128
12129           if test x"$enablestring" = xdisable; then
12130             if test $wxUSE_EDITABLELISTBOX = no; then
12131               result=yes
12132             else
12133               result=no
12134             fi
12135           else
12136             result=$wxUSE_EDITABLELISTBOX
12137           fi
12138
12139           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12140 $as_echo "$result" >&6; }
12141
12142
12143           enablestring=
12144           defaultval=$wxUSE_ALL_FEATURES
12145           if test -z "$defaultval"; then
12146               if test x"$enablestring" = xdisable; then
12147                   defaultval=yes
12148               else
12149                   defaultval=no
12150               fi
12151           fi
12152
12153           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filectrl" >&5
12154 $as_echo_n "checking for --${enablestring:-enable}-filectrl... " >&6; }
12155           # Check whether --enable-filectrl was given.
12156 if test "${enable_filectrl+set}" = set; then :
12157   enableval=$enable_filectrl;
12158                           if test "$enableval" = yes; then
12159                             wx_cv_use_filectrl='wxUSE_FILECTRL=yes'
12160                           else
12161                             wx_cv_use_filectrl='wxUSE_FILECTRL=no'
12162                           fi
12163
12164 else
12165
12166                           wx_cv_use_filectrl='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
12167
12168 fi
12169
12170
12171           eval "$wx_cv_use_filectrl"
12172
12173           if test x"$enablestring" = xdisable; then
12174             if test $wxUSE_FILECTRL = no; then
12175               result=yes
12176             else
12177               result=no
12178             fi
12179           else
12180             result=$wxUSE_FILECTRL
12181           fi
12182
12183           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12184 $as_echo "$result" >&6; }
12185
12186
12187           enablestring=
12188           defaultval=$wxUSE_ALL_FEATURES
12189           if test -z "$defaultval"; then
12190               if test x"$enablestring" = xdisable; then
12191                   defaultval=yes
12192               else
12193                   defaultval=no
12194               fi
12195           fi
12196
12197           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filepicker" >&5
12198 $as_echo_n "checking for --${enablestring:-enable}-filepicker... " >&6; }
12199           # Check whether --enable-filepicker was given.
12200 if test "${enable_filepicker+set}" = set; then :
12201   enableval=$enable_filepicker;
12202                           if test "$enableval" = yes; then
12203                             wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
12204                           else
12205                             wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
12206                           fi
12207
12208 else
12209
12210                           wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
12211
12212 fi
12213
12214
12215           eval "$wx_cv_use_filepicker"
12216
12217           if test x"$enablestring" = xdisable; then
12218             if test $wxUSE_FILEPICKERCTRL = no; then
12219               result=yes
12220             else
12221               result=no
12222             fi
12223           else
12224             result=$wxUSE_FILEPICKERCTRL
12225           fi
12226
12227           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12228 $as_echo "$result" >&6; }
12229
12230
12231           enablestring=
12232           defaultval=$wxUSE_ALL_FEATURES
12233           if test -z "$defaultval"; then
12234               if test x"$enablestring" = xdisable; then
12235                   defaultval=yes
12236               else
12237                   defaultval=no
12238               fi
12239           fi
12240
12241           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fontpicker" >&5
12242 $as_echo_n "checking for --${enablestring:-enable}-fontpicker... " >&6; }
12243           # Check whether --enable-fontpicker was given.
12244 if test "${enable_fontpicker+set}" = set; then :
12245   enableval=$enable_fontpicker;
12246                           if test "$enableval" = yes; then
12247                             wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
12248                           else
12249                             wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
12250                           fi
12251
12252 else
12253
12254                           wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
12255
12256 fi
12257
12258
12259           eval "$wx_cv_use_fontpicker"
12260
12261           if test x"$enablestring" = xdisable; then
12262             if test $wxUSE_FONTPICKERCTRL = no; then
12263               result=yes
12264             else
12265               result=no
12266             fi
12267           else
12268             result=$wxUSE_FONTPICKERCTRL
12269           fi
12270
12271           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12272 $as_echo "$result" >&6; }
12273
12274
12275           enablestring=
12276           defaultval=$wxUSE_ALL_FEATURES
12277           if test -z "$defaultval"; then
12278               if test x"$enablestring" = xdisable; then
12279                   defaultval=yes
12280               else
12281                   defaultval=no
12282               fi
12283           fi
12284
12285           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gauge" >&5
12286 $as_echo_n "checking for --${enablestring:-enable}-gauge... " >&6; }
12287           # Check whether --enable-gauge was given.
12288 if test "${enable_gauge+set}" = set; then :
12289   enableval=$enable_gauge;
12290                           if test "$enableval" = yes; then
12291                             wx_cv_use_gauge='wxUSE_GAUGE=yes'
12292                           else
12293                             wx_cv_use_gauge='wxUSE_GAUGE=no'
12294                           fi
12295
12296 else
12297
12298                           wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
12299
12300 fi
12301
12302
12303           eval "$wx_cv_use_gauge"
12304
12305           if test x"$enablestring" = xdisable; then
12306             if test $wxUSE_GAUGE = no; then
12307               result=yes
12308             else
12309               result=no
12310             fi
12311           else
12312             result=$wxUSE_GAUGE
12313           fi
12314
12315           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12316 $as_echo "$result" >&6; }
12317
12318
12319           enablestring=
12320           defaultval=$wxUSE_ALL_FEATURES
12321           if test -z "$defaultval"; then
12322               if test x"$enablestring" = xdisable; then
12323                   defaultval=yes
12324               else
12325                   defaultval=no
12326               fi
12327           fi
12328
12329           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-grid" >&5
12330 $as_echo_n "checking for --${enablestring:-enable}-grid... " >&6; }
12331           # Check whether --enable-grid was given.
12332 if test "${enable_grid+set}" = set; then :
12333   enableval=$enable_grid;
12334                           if test "$enableval" = yes; then
12335                             wx_cv_use_grid='wxUSE_GRID=yes'
12336                           else
12337                             wx_cv_use_grid='wxUSE_GRID=no'
12338                           fi
12339
12340 else
12341
12342                           wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
12343
12344 fi
12345
12346
12347           eval "$wx_cv_use_grid"
12348
12349           if test x"$enablestring" = xdisable; then
12350             if test $wxUSE_GRID = no; then
12351               result=yes
12352             else
12353               result=no
12354             fi
12355           else
12356             result=$wxUSE_GRID
12357           fi
12358
12359           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12360 $as_echo "$result" >&6; }
12361
12362
12363           enablestring=
12364           defaultval=$wxUSE_ALL_FEATURES
12365           if test -z "$defaultval"; then
12366               if test x"$enablestring" = xdisable; then
12367                   defaultval=yes
12368               else
12369                   defaultval=no
12370               fi
12371           fi
12372
12373           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-headerctrl" >&5
12374 $as_echo_n "checking for --${enablestring:-enable}-headerctrl... " >&6; }
12375           # Check whether --enable-headerctrl was given.
12376 if test "${enable_headerctrl+set}" = set; then :
12377   enableval=$enable_headerctrl;
12378                           if test "$enableval" = yes; then
12379                             wx_cv_use_headerctrl='wxUSE_HEADERCTRL=yes'
12380                           else
12381                             wx_cv_use_headerctrl='wxUSE_HEADERCTRL=no'
12382                           fi
12383
12384 else
12385
12386                           wx_cv_use_headerctrl='wxUSE_HEADERCTRL=${'DEFAULT_wxUSE_HEADERCTRL":-$defaultval}"
12387
12388 fi
12389
12390
12391           eval "$wx_cv_use_headerctrl"
12392
12393           if test x"$enablestring" = xdisable; then
12394             if test $wxUSE_HEADERCTRL = no; then
12395               result=yes
12396             else
12397               result=no
12398             fi
12399           else
12400             result=$wxUSE_HEADERCTRL
12401           fi
12402
12403           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12404 $as_echo "$result" >&6; }
12405
12406
12407           enablestring=
12408           defaultval=$wxUSE_ALL_FEATURES
12409           if test -z "$defaultval"; then
12410               if test x"$enablestring" = xdisable; then
12411                   defaultval=yes
12412               else
12413                   defaultval=no
12414               fi
12415           fi
12416
12417           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-hyperlink" >&5
12418 $as_echo_n "checking for --${enablestring:-enable}-hyperlink... " >&6; }
12419           # Check whether --enable-hyperlink was given.
12420 if test "${enable_hyperlink+set}" = set; then :
12421   enableval=$enable_hyperlink;
12422                           if test "$enableval" = yes; then
12423                             wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
12424                           else
12425                             wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
12426                           fi
12427
12428 else
12429
12430                           wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
12431
12432 fi
12433
12434
12435           eval "$wx_cv_use_hyperlink"
12436
12437           if test x"$enablestring" = xdisable; then
12438             if test $wxUSE_HYPERLINKCTRL = no; then
12439               result=yes
12440             else
12441               result=no
12442             fi
12443           else
12444             result=$wxUSE_HYPERLINKCTRL
12445           fi
12446
12447           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12448 $as_echo "$result" >&6; }
12449
12450
12451           enablestring=
12452           defaultval=$wxUSE_ALL_FEATURES
12453           if test -z "$defaultval"; then
12454               if test x"$enablestring" = xdisable; then
12455                   defaultval=yes
12456               else
12457                   defaultval=no
12458               fi
12459           fi
12460
12461           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-imaglist" >&5
12462 $as_echo_n "checking for --${enablestring:-enable}-imaglist... " >&6; }
12463           # Check whether --enable-imaglist was given.
12464 if test "${enable_imaglist+set}" = set; then :
12465   enableval=$enable_imaglist;
12466                           if test "$enableval" = yes; then
12467                             wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
12468                           else
12469                             wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
12470                           fi
12471
12472 else
12473
12474                           wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
12475
12476 fi
12477
12478
12479           eval "$wx_cv_use_imaglist"
12480
12481           if test x"$enablestring" = xdisable; then
12482             if test $wxUSE_IMAGLIST = no; then
12483               result=yes
12484             else
12485               result=no
12486             fi
12487           else
12488             result=$wxUSE_IMAGLIST
12489           fi
12490
12491           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12492 $as_echo "$result" >&6; }
12493
12494
12495           enablestring=
12496           defaultval=$wxUSE_ALL_FEATURES
12497           if test -z "$defaultval"; then
12498               if test x"$enablestring" = xdisable; then
12499                   defaultval=yes
12500               else
12501                   defaultval=no
12502               fi
12503           fi
12504
12505           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-infobar" >&5
12506 $as_echo_n "checking for --${enablestring:-enable}-infobar... " >&6; }
12507           # Check whether --enable-infobar was given.
12508 if test "${enable_infobar+set}" = set; then :
12509   enableval=$enable_infobar;
12510                           if test "$enableval" = yes; then
12511                             wx_cv_use_infobar='wxUSE_INFOBAR=yes'
12512                           else
12513                             wx_cv_use_infobar='wxUSE_INFOBAR=no'
12514                           fi
12515
12516 else
12517
12518                           wx_cv_use_infobar='wxUSE_INFOBAR=${'DEFAULT_wxUSE_INFOBAR":-$defaultval}"
12519
12520 fi
12521
12522
12523           eval "$wx_cv_use_infobar"
12524
12525           if test x"$enablestring" = xdisable; then
12526             if test $wxUSE_INFOBAR = no; then
12527               result=yes
12528             else
12529               result=no
12530             fi
12531           else
12532             result=$wxUSE_INFOBAR
12533           fi
12534
12535           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12536 $as_echo "$result" >&6; }
12537
12538
12539           enablestring=
12540           defaultval=$wxUSE_ALL_FEATURES
12541           if test -z "$defaultval"; then
12542               if test x"$enablestring" = xdisable; then
12543                   defaultval=yes
12544               else
12545                   defaultval=no
12546               fi
12547           fi
12548
12549           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-listbook" >&5
12550 $as_echo_n "checking for --${enablestring:-enable}-listbook... " >&6; }
12551           # Check whether --enable-listbook was given.
12552 if test "${enable_listbook+set}" = set; then :
12553   enableval=$enable_listbook;
12554                           if test "$enableval" = yes; then
12555                             wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
12556                           else
12557                             wx_cv_use_listbook='wxUSE_LISTBOOK=no'
12558                           fi
12559
12560 else
12561
12562                           wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
12563
12564 fi
12565
12566
12567           eval "$wx_cv_use_listbook"
12568
12569           if test x"$enablestring" = xdisable; then
12570             if test $wxUSE_LISTBOOK = no; then
12571               result=yes
12572             else
12573               result=no
12574             fi
12575           else
12576             result=$wxUSE_LISTBOOK
12577           fi
12578
12579           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12580 $as_echo "$result" >&6; }
12581
12582
12583           enablestring=
12584           defaultval=$wxUSE_ALL_FEATURES
12585           if test -z "$defaultval"; then
12586               if test x"$enablestring" = xdisable; then
12587                   defaultval=yes
12588               else
12589                   defaultval=no
12590               fi
12591           fi
12592
12593           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-listbox" >&5
12594 $as_echo_n "checking for --${enablestring:-enable}-listbox... " >&6; }
12595           # Check whether --enable-listbox was given.
12596 if test "${enable_listbox+set}" = set; then :
12597   enableval=$enable_listbox;
12598                           if test "$enableval" = yes; then
12599                             wx_cv_use_listbox='wxUSE_LISTBOX=yes'
12600                           else
12601                             wx_cv_use_listbox='wxUSE_LISTBOX=no'
12602                           fi
12603
12604 else
12605
12606                           wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
12607
12608 fi
12609
12610
12611           eval "$wx_cv_use_listbox"
12612
12613           if test x"$enablestring" = xdisable; then
12614             if test $wxUSE_LISTBOX = no; then
12615               result=yes
12616             else
12617               result=no
12618             fi
12619           else
12620             result=$wxUSE_LISTBOX
12621           fi
12622
12623           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12624 $as_echo "$result" >&6; }
12625
12626
12627           enablestring=
12628           defaultval=$wxUSE_ALL_FEATURES
12629           if test -z "$defaultval"; then
12630               if test x"$enablestring" = xdisable; then
12631                   defaultval=yes
12632               else
12633                   defaultval=no
12634               fi
12635           fi
12636
12637           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-listctrl" >&5
12638 $as_echo_n "checking for --${enablestring:-enable}-listctrl... " >&6; }
12639           # Check whether --enable-listctrl was given.
12640 if test "${enable_listctrl+set}" = set; then :
12641   enableval=$enable_listctrl;
12642                           if test "$enableval" = yes; then
12643                             wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
12644                           else
12645                             wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
12646                           fi
12647
12648 else
12649
12650                           wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
12651
12652 fi
12653
12654
12655           eval "$wx_cv_use_listctrl"
12656
12657           if test x"$enablestring" = xdisable; then
12658             if test $wxUSE_LISTCTRL = no; then
12659               result=yes
12660             else
12661               result=no
12662             fi
12663           else
12664             result=$wxUSE_LISTCTRL
12665           fi
12666
12667           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12668 $as_echo "$result" >&6; }
12669
12670
12671           enablestring=
12672           defaultval=$wxUSE_ALL_FEATURES
12673           if test -z "$defaultval"; then
12674               if test x"$enablestring" = xdisable; then
12675                   defaultval=yes
12676               else
12677                   defaultval=no
12678               fi
12679           fi
12680
12681           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-notebook" >&5
12682 $as_echo_n "checking for --${enablestring:-enable}-notebook... " >&6; }
12683           # Check whether --enable-notebook was given.
12684 if test "${enable_notebook+set}" = set; then :
12685   enableval=$enable_notebook;
12686                           if test "$enableval" = yes; then
12687                             wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
12688                           else
12689                             wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
12690                           fi
12691
12692 else
12693
12694                           wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
12695
12696 fi
12697
12698
12699           eval "$wx_cv_use_notebook"
12700
12701           if test x"$enablestring" = xdisable; then
12702             if test $wxUSE_NOTEBOOK = no; then
12703               result=yes
12704             else
12705               result=no
12706             fi
12707           else
12708             result=$wxUSE_NOTEBOOK
12709           fi
12710
12711           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12712 $as_echo "$result" >&6; }
12713
12714
12715           enablestring=
12716           defaultval=$wxUSE_ALL_FEATURES
12717           if test -z "$defaultval"; then
12718               if test x"$enablestring" = xdisable; then
12719                   defaultval=yes
12720               else
12721                   defaultval=no
12722               fi
12723           fi
12724
12725           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-notifmsg" >&5
12726 $as_echo_n "checking for --${enablestring:-enable}-notifmsg... " >&6; }
12727           # Check whether --enable-notifmsg was given.
12728 if test "${enable_notifmsg+set}" = set; then :
12729   enableval=$enable_notifmsg;
12730                           if test "$enableval" = yes; then
12731                             wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=yes'
12732                           else
12733                             wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=no'
12734                           fi
12735
12736 else
12737
12738                           wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
12739
12740 fi
12741
12742
12743           eval "$wx_cv_use_notifmsg"
12744
12745           if test x"$enablestring" = xdisable; then
12746             if test $wxUSE_NOTIFICATION_MESSAGE = no; then
12747               result=yes
12748             else
12749               result=no
12750             fi
12751           else
12752             result=$wxUSE_NOTIFICATION_MESSAGE
12753           fi
12754
12755           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12756 $as_echo "$result" >&6; }
12757
12758
12759           enablestring=
12760           defaultval=$wxUSE_ALL_FEATURES
12761           if test -z "$defaultval"; then
12762               if test x"$enablestring" = xdisable; then
12763                   defaultval=yes
12764               else
12765                   defaultval=no
12766               fi
12767           fi
12768
12769           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-odcombobox" >&5
12770 $as_echo_n "checking for --${enablestring:-enable}-odcombobox... " >&6; }
12771           # Check whether --enable-odcombobox was given.
12772 if test "${enable_odcombobox+set}" = set; then :
12773   enableval=$enable_odcombobox;
12774                           if test "$enableval" = yes; then
12775                             wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
12776                           else
12777                             wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
12778                           fi
12779
12780 else
12781
12782                           wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
12783
12784 fi
12785
12786
12787           eval "$wx_cv_use_odcombobox"
12788
12789           if test x"$enablestring" = xdisable; then
12790             if test $wxUSE_ODCOMBOBOX = no; then
12791               result=yes
12792             else
12793               result=no
12794             fi
12795           else
12796             result=$wxUSE_ODCOMBOBOX
12797           fi
12798
12799           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12800 $as_echo "$result" >&6; }
12801
12802
12803           enablestring=
12804           defaultval=$wxUSE_ALL_FEATURES
12805           if test -z "$defaultval"; then
12806               if test x"$enablestring" = xdisable; then
12807                   defaultval=yes
12808               else
12809                   defaultval=no
12810               fi
12811           fi
12812
12813           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-popupwin" >&5
12814 $as_echo_n "checking for --${enablestring:-enable}-popupwin... " >&6; }
12815           # Check whether --enable-popupwin was given.
12816 if test "${enable_popupwin+set}" = set; then :
12817   enableval=$enable_popupwin;
12818                           if test "$enableval" = yes; then
12819                             wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
12820                           else
12821                             wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
12822                           fi
12823
12824 else
12825
12826                           wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
12827
12828 fi
12829
12830
12831           eval "$wx_cv_use_popupwin"
12832
12833           if test x"$enablestring" = xdisable; then
12834             if test $wxUSE_POPUPWIN = no; then
12835               result=yes
12836             else
12837               result=no
12838             fi
12839           else
12840             result=$wxUSE_POPUPWIN
12841           fi
12842
12843           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12844 $as_echo "$result" >&6; }
12845
12846
12847           enablestring=
12848           defaultval=$wxUSE_ALL_FEATURES
12849           if test -z "$defaultval"; then
12850               if test x"$enablestring" = xdisable; then
12851                   defaultval=yes
12852               else
12853                   defaultval=no
12854               fi
12855           fi
12856
12857           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-radiobox" >&5
12858 $as_echo_n "checking for --${enablestring:-enable}-radiobox... " >&6; }
12859           # Check whether --enable-radiobox was given.
12860 if test "${enable_radiobox+set}" = set; then :
12861   enableval=$enable_radiobox;
12862                           if test "$enableval" = yes; then
12863                             wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
12864                           else
12865                             wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
12866                           fi
12867
12868 else
12869
12870                           wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
12871
12872 fi
12873
12874
12875           eval "$wx_cv_use_radiobox"
12876
12877           if test x"$enablestring" = xdisable; then
12878             if test $wxUSE_RADIOBOX = no; then
12879               result=yes
12880             else
12881               result=no
12882             fi
12883           else
12884             result=$wxUSE_RADIOBOX
12885           fi
12886
12887           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12888 $as_echo "$result" >&6; }
12889
12890
12891           enablestring=
12892           defaultval=$wxUSE_ALL_FEATURES
12893           if test -z "$defaultval"; then
12894               if test x"$enablestring" = xdisable; then
12895                   defaultval=yes
12896               else
12897                   defaultval=no
12898               fi
12899           fi
12900
12901           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-radiobtn" >&5
12902 $as_echo_n "checking for --${enablestring:-enable}-radiobtn... " >&6; }
12903           # Check whether --enable-radiobtn was given.
12904 if test "${enable_radiobtn+set}" = set; then :
12905   enableval=$enable_radiobtn;
12906                           if test "$enableval" = yes; then
12907                             wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
12908                           else
12909                             wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
12910                           fi
12911
12912 else
12913
12914                           wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
12915
12916 fi
12917
12918
12919           eval "$wx_cv_use_radiobtn"
12920
12921           if test x"$enablestring" = xdisable; then
12922             if test $wxUSE_RADIOBTN = no; then
12923               result=yes
12924             else
12925               result=no
12926             fi
12927           else
12928             result=$wxUSE_RADIOBTN
12929           fi
12930
12931           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12932 $as_echo "$result" >&6; }
12933
12934
12935           enablestring=
12936           defaultval=$wxUSE_ALL_FEATURES
12937           if test -z "$defaultval"; then
12938               if test x"$enablestring" = xdisable; then
12939                   defaultval=yes
12940               else
12941                   defaultval=no
12942               fi
12943           fi
12944
12945           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-richmsgdlg" >&5
12946 $as_echo_n "checking for --${enablestring:-enable}-richmsgdlg... " >&6; }
12947           # Check whether --enable-richmsgdlg was given.
12948 if test "${enable_richmsgdlg+set}" = set; then :
12949   enableval=$enable_richmsgdlg;
12950                           if test "$enableval" = yes; then
12951                             wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=yes'
12952                           else
12953                             wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=no'
12954                           fi
12955
12956 else
12957
12958                           wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=${'DEFAULT_wxUSE_RICHMSGDLG":-$defaultval}"
12959
12960 fi
12961
12962
12963           eval "$wx_cv_use_richmsgdlg"
12964
12965           if test x"$enablestring" = xdisable; then
12966             if test $wxUSE_RICHMSGDLG = no; then
12967               result=yes
12968             else
12969               result=no
12970             fi
12971           else
12972             result=$wxUSE_RICHMSGDLG
12973           fi
12974
12975           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12976 $as_echo "$result" >&6; }
12977
12978
12979           enablestring=
12980           defaultval=$wxUSE_ALL_FEATURES
12981           if test -z "$defaultval"; then
12982               if test x"$enablestring" = xdisable; then
12983                   defaultval=yes
12984               else
12985                   defaultval=no
12986               fi
12987           fi
12988
12989           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-richtooltip" >&5
12990 $as_echo_n "checking for --${enablestring:-enable}-richtooltip... " >&6; }
12991           # Check whether --enable-richtooltip was given.
12992 if test "${enable_richtooltip+set}" = set; then :
12993   enableval=$enable_richtooltip;
12994                           if test "$enableval" = yes; then
12995                             wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP=yes'
12996                           else
12997                             wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP=no'
12998                           fi
12999
13000 else
13001
13002                           wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP=${'DEFAULT_wxUSE_RICHTOOLTIP":-$defaultval}"
13003
13004 fi
13005
13006
13007           eval "$wx_cv_use_richtooltip"
13008
13009           if test x"$enablestring" = xdisable; then
13010             if test $wxUSE_RICHTOOLTIP = no; then
13011               result=yes
13012             else
13013               result=no
13014             fi
13015           else
13016             result=$wxUSE_RICHTOOLTIP
13017           fi
13018
13019           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13020 $as_echo "$result" >&6; }
13021
13022
13023           enablestring=
13024           defaultval=$wxUSE_ALL_FEATURES
13025           if test -z "$defaultval"; then
13026               if test x"$enablestring" = xdisable; then
13027                   defaultval=yes
13028               else
13029                   defaultval=no
13030               fi
13031           fi
13032
13033           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-rearrangectrl" >&5
13034 $as_echo_n "checking for --${enablestring:-enable}-rearrangectrl... " >&6; }
13035           # Check whether --enable-rearrangectrl was given.
13036 if test "${enable_rearrangectrl+set}" = set; then :
13037   enableval=$enable_rearrangectrl;
13038                           if test "$enableval" = yes; then
13039                             wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=yes'
13040                           else
13041                             wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=no'
13042                           fi
13043
13044 else
13045
13046                           wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=${'DEFAULT_wxUSE_REARRANGECTRL":-$defaultval}"
13047
13048 fi
13049
13050
13051           eval "$wx_cv_use_rearrangectrl"
13052
13053           if test x"$enablestring" = xdisable; then
13054             if test $wxUSE_REARRANGECTRL = no; then
13055               result=yes
13056             else
13057               result=no
13058             fi
13059           else
13060             result=$wxUSE_REARRANGECTRL
13061           fi
13062
13063           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13064 $as_echo "$result" >&6; }
13065
13066
13067           enablestring=
13068           defaultval=$wxUSE_ALL_FEATURES
13069           if test -z "$defaultval"; then
13070               if test x"$enablestring" = xdisable; then
13071                   defaultval=yes
13072               else
13073                   defaultval=no
13074               fi
13075           fi
13076
13077           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-sash" >&5
13078 $as_echo_n "checking for --${enablestring:-enable}-sash... " >&6; }
13079           # Check whether --enable-sash was given.
13080 if test "${enable_sash+set}" = set; then :
13081   enableval=$enable_sash;
13082                           if test "$enableval" = yes; then
13083                             wx_cv_use_sash='wxUSE_SASH=yes'
13084                           else
13085                             wx_cv_use_sash='wxUSE_SASH=no'
13086                           fi
13087
13088 else
13089
13090                           wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
13091
13092 fi
13093
13094
13095           eval "$wx_cv_use_sash"
13096
13097           if test x"$enablestring" = xdisable; then
13098             if test $wxUSE_SASH = no; then
13099               result=yes
13100             else
13101               result=no
13102             fi
13103           else
13104             result=$wxUSE_SASH
13105           fi
13106
13107           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13108 $as_echo "$result" >&6; }
13109
13110
13111           enablestring=
13112           defaultval=$wxUSE_ALL_FEATURES
13113           if test -z "$defaultval"; then
13114               if test x"$enablestring" = xdisable; then
13115                   defaultval=yes
13116               else
13117                   defaultval=no
13118               fi
13119           fi
13120
13121           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-scrollbar" >&5
13122 $as_echo_n "checking for --${enablestring:-enable}-scrollbar... " >&6; }
13123           # Check whether --enable-scrollbar was given.
13124 if test "${enable_scrollbar+set}" = set; then :
13125   enableval=$enable_scrollbar;
13126                           if test "$enableval" = yes; then
13127                             wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
13128                           else
13129                             wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
13130                           fi
13131
13132 else
13133
13134                           wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
13135
13136 fi
13137
13138
13139           eval "$wx_cv_use_scrollbar"
13140
13141           if test x"$enablestring" = xdisable; then
13142             if test $wxUSE_SCROLLBAR = no; then
13143               result=yes
13144             else
13145               result=no
13146             fi
13147           else
13148             result=$wxUSE_SCROLLBAR
13149           fi
13150
13151           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13152 $as_echo "$result" >&6; }
13153
13154
13155           enablestring=
13156           defaultval=$wxUSE_ALL_FEATURES
13157           if test -z "$defaultval"; then
13158               if test x"$enablestring" = xdisable; then
13159                   defaultval=yes
13160               else
13161                   defaultval=no
13162               fi
13163           fi
13164
13165           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-searchctrl" >&5
13166 $as_echo_n "checking for --${enablestring:-enable}-searchctrl... " >&6; }
13167           # Check whether --enable-searchctrl was given.
13168 if test "${enable_searchctrl+set}" = set; then :
13169   enableval=$enable_searchctrl;
13170                           if test "$enableval" = yes; then
13171                             wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
13172                           else
13173                             wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
13174                           fi
13175
13176 else
13177
13178                           wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
13179
13180 fi
13181
13182
13183           eval "$wx_cv_use_searchctrl"
13184
13185           if test x"$enablestring" = xdisable; then
13186             if test $wxUSE_SEARCHCTRL = no; then
13187               result=yes
13188             else
13189               result=no
13190             fi
13191           else
13192             result=$wxUSE_SEARCHCTRL
13193           fi
13194
13195           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13196 $as_echo "$result" >&6; }
13197
13198
13199           enablestring=
13200           defaultval=$wxUSE_ALL_FEATURES
13201           if test -z "$defaultval"; then
13202               if test x"$enablestring" = xdisable; then
13203                   defaultval=yes
13204               else
13205                   defaultval=no
13206               fi
13207           fi
13208
13209           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-slider" >&5
13210 $as_echo_n "checking for --${enablestring:-enable}-slider... " >&6; }
13211           # Check whether --enable-slider was given.
13212 if test "${enable_slider+set}" = set; then :
13213   enableval=$enable_slider;
13214                           if test "$enableval" = yes; then
13215                             wx_cv_use_slider='wxUSE_SLIDER=yes'
13216                           else
13217                             wx_cv_use_slider='wxUSE_SLIDER=no'
13218                           fi
13219
13220 else
13221
13222                           wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
13223
13224 fi
13225
13226
13227           eval "$wx_cv_use_slider"
13228
13229           if test x"$enablestring" = xdisable; then
13230             if test $wxUSE_SLIDER = no; then
13231               result=yes
13232             else
13233               result=no
13234             fi
13235           else
13236             result=$wxUSE_SLIDER
13237           fi
13238
13239           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13240 $as_echo "$result" >&6; }
13241
13242
13243           enablestring=
13244           defaultval=$wxUSE_ALL_FEATURES
13245           if test -z "$defaultval"; then
13246               if test x"$enablestring" = xdisable; then
13247                   defaultval=yes
13248               else
13249                   defaultval=no
13250               fi
13251           fi
13252
13253           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-spinbtn" >&5
13254 $as_echo_n "checking for --${enablestring:-enable}-spinbtn... " >&6; }
13255           # Check whether --enable-spinbtn was given.
13256 if test "${enable_spinbtn+set}" = set; then :
13257   enableval=$enable_spinbtn;
13258                           if test "$enableval" = yes; then
13259                             wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
13260                           else
13261                             wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
13262                           fi
13263
13264 else
13265
13266                           wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
13267
13268 fi
13269
13270
13271           eval "$wx_cv_use_spinbtn"
13272
13273           if test x"$enablestring" = xdisable; then
13274             if test $wxUSE_SPINBTN = no; then
13275               result=yes
13276             else
13277               result=no
13278             fi
13279           else
13280             result=$wxUSE_SPINBTN
13281           fi
13282
13283           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13284 $as_echo "$result" >&6; }
13285
13286
13287           enablestring=
13288           defaultval=$wxUSE_ALL_FEATURES
13289           if test -z "$defaultval"; then
13290               if test x"$enablestring" = xdisable; then
13291                   defaultval=yes
13292               else
13293                   defaultval=no
13294               fi
13295           fi
13296
13297           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-spinctrl" >&5
13298 $as_echo_n "checking for --${enablestring:-enable}-spinctrl... " >&6; }
13299           # Check whether --enable-spinctrl was given.
13300 if test "${enable_spinctrl+set}" = set; then :
13301   enableval=$enable_spinctrl;
13302                           if test "$enableval" = yes; then
13303                             wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
13304                           else
13305                             wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
13306                           fi
13307
13308 else
13309
13310                           wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
13311
13312 fi
13313
13314
13315           eval "$wx_cv_use_spinctrl"
13316
13317           if test x"$enablestring" = xdisable; then
13318             if test $wxUSE_SPINCTRL = no; then
13319               result=yes
13320             else
13321               result=no
13322             fi
13323           else
13324             result=$wxUSE_SPINCTRL
13325           fi
13326
13327           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13328 $as_echo "$result" >&6; }
13329
13330
13331           enablestring=
13332           defaultval=$wxUSE_ALL_FEATURES
13333           if test -z "$defaultval"; then
13334               if test x"$enablestring" = xdisable; then
13335                   defaultval=yes
13336               else
13337                   defaultval=no
13338               fi
13339           fi
13340
13341           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-splitter" >&5
13342 $as_echo_n "checking for --${enablestring:-enable}-splitter... " >&6; }
13343           # Check whether --enable-splitter was given.
13344 if test "${enable_splitter+set}" = set; then :
13345   enableval=$enable_splitter;
13346                           if test "$enableval" = yes; then
13347                             wx_cv_use_splitter='wxUSE_SPLITTER=yes'
13348                           else
13349                             wx_cv_use_splitter='wxUSE_SPLITTER=no'
13350                           fi
13351
13352 else
13353
13354                           wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
13355
13356 fi
13357
13358
13359           eval "$wx_cv_use_splitter"
13360
13361           if test x"$enablestring" = xdisable; then
13362             if test $wxUSE_SPLITTER = no; then
13363               result=yes
13364             else
13365               result=no
13366             fi
13367           else
13368             result=$wxUSE_SPLITTER
13369           fi
13370
13371           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13372 $as_echo "$result" >&6; }
13373
13374
13375           enablestring=
13376           defaultval=$wxUSE_ALL_FEATURES
13377           if test -z "$defaultval"; then
13378               if test x"$enablestring" = xdisable; then
13379                   defaultval=yes
13380               else
13381                   defaultval=no
13382               fi
13383           fi
13384
13385           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-statbmp" >&5
13386 $as_echo_n "checking for --${enablestring:-enable}-statbmp... " >&6; }
13387           # Check whether --enable-statbmp was given.
13388 if test "${enable_statbmp+set}" = set; then :
13389   enableval=$enable_statbmp;
13390                           if test "$enableval" = yes; then
13391                             wx_cv_use_statbmp='wxUSE_STATBMP=yes'
13392                           else
13393                             wx_cv_use_statbmp='wxUSE_STATBMP=no'
13394                           fi
13395
13396 else
13397
13398                           wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
13399
13400 fi
13401
13402
13403           eval "$wx_cv_use_statbmp"
13404
13405           if test x"$enablestring" = xdisable; then
13406             if test $wxUSE_STATBMP = no; then
13407               result=yes
13408             else
13409               result=no
13410             fi
13411           else
13412             result=$wxUSE_STATBMP
13413           fi
13414
13415           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13416 $as_echo "$result" >&6; }
13417
13418
13419           enablestring=
13420           defaultval=$wxUSE_ALL_FEATURES
13421           if test -z "$defaultval"; then
13422               if test x"$enablestring" = xdisable; then
13423                   defaultval=yes
13424               else
13425                   defaultval=no
13426               fi
13427           fi
13428
13429           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-statbox" >&5
13430 $as_echo_n "checking for --${enablestring:-enable}-statbox... " >&6; }
13431           # Check whether --enable-statbox was given.
13432 if test "${enable_statbox+set}" = set; then :
13433   enableval=$enable_statbox;
13434                           if test "$enableval" = yes; then
13435                             wx_cv_use_statbox='wxUSE_STATBOX=yes'
13436                           else
13437                             wx_cv_use_statbox='wxUSE_STATBOX=no'
13438                           fi
13439
13440 else
13441
13442                           wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
13443
13444 fi
13445
13446
13447           eval "$wx_cv_use_statbox"
13448
13449           if test x"$enablestring" = xdisable; then
13450             if test $wxUSE_STATBOX = no; then
13451               result=yes
13452             else
13453               result=no
13454             fi
13455           else
13456             result=$wxUSE_STATBOX
13457           fi
13458
13459           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13460 $as_echo "$result" >&6; }
13461
13462
13463           enablestring=
13464           defaultval=$wxUSE_ALL_FEATURES
13465           if test -z "$defaultval"; then
13466               if test x"$enablestring" = xdisable; then
13467                   defaultval=yes
13468               else
13469                   defaultval=no
13470               fi
13471           fi
13472
13473           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-statline" >&5
13474 $as_echo_n "checking for --${enablestring:-enable}-statline... " >&6; }
13475           # Check whether --enable-statline was given.
13476 if test "${enable_statline+set}" = set; then :
13477   enableval=$enable_statline;
13478                           if test "$enableval" = yes; then
13479                             wx_cv_use_statline='wxUSE_STATLINE=yes'
13480                           else
13481                             wx_cv_use_statline='wxUSE_STATLINE=no'
13482                           fi
13483
13484 else
13485
13486                           wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
13487
13488 fi
13489
13490
13491           eval "$wx_cv_use_statline"
13492
13493           if test x"$enablestring" = xdisable; then
13494             if test $wxUSE_STATLINE = no; then
13495               result=yes
13496             else
13497               result=no
13498             fi
13499           else
13500             result=$wxUSE_STATLINE
13501           fi
13502
13503           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13504 $as_echo "$result" >&6; }
13505
13506
13507           enablestring=
13508           defaultval=$wxUSE_ALL_FEATURES
13509           if test -z "$defaultval"; then
13510               if test x"$enablestring" = xdisable; then
13511                   defaultval=yes
13512               else
13513                   defaultval=no
13514               fi
13515           fi
13516
13517           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stattext" >&5
13518 $as_echo_n "checking for --${enablestring:-enable}-stattext... " >&6; }
13519           # Check whether --enable-stattext was given.
13520 if test "${enable_stattext+set}" = set; then :
13521   enableval=$enable_stattext;
13522                           if test "$enableval" = yes; then
13523                             wx_cv_use_stattext='wxUSE_STATTEXT=yes'
13524                           else
13525                             wx_cv_use_stattext='wxUSE_STATTEXT=no'
13526                           fi
13527
13528 else
13529
13530                           wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
13531
13532 fi
13533
13534
13535           eval "$wx_cv_use_stattext"
13536
13537           if test x"$enablestring" = xdisable; then
13538             if test $wxUSE_STATTEXT = no; then
13539               result=yes
13540             else
13541               result=no
13542             fi
13543           else
13544             result=$wxUSE_STATTEXT
13545           fi
13546
13547           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13548 $as_echo "$result" >&6; }
13549
13550
13551           enablestring=
13552           defaultval=$wxUSE_ALL_FEATURES
13553           if test -z "$defaultval"; then
13554               if test x"$enablestring" = xdisable; then
13555                   defaultval=yes
13556               else
13557                   defaultval=no
13558               fi
13559           fi
13560
13561           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-statusbar" >&5
13562 $as_echo_n "checking for --${enablestring:-enable}-statusbar... " >&6; }
13563           # Check whether --enable-statusbar was given.
13564 if test "${enable_statusbar+set}" = set; then :
13565   enableval=$enable_statusbar;
13566                           if test "$enableval" = yes; then
13567                             wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
13568                           else
13569                             wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
13570                           fi
13571
13572 else
13573
13574                           wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
13575
13576 fi
13577
13578
13579           eval "$wx_cv_use_statusbar"
13580
13581           if test x"$enablestring" = xdisable; then
13582             if test $wxUSE_STATUSBAR = no; then
13583               result=yes
13584             else
13585               result=no
13586             fi
13587           else
13588             result=$wxUSE_STATUSBAR
13589           fi
13590
13591           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13592 $as_echo "$result" >&6; }
13593
13594
13595           enablestring=
13596           defaultval=$wxUSE_ALL_FEATURES
13597           if test -z "$defaultval"; then
13598               if test x"$enablestring" = xdisable; then
13599                   defaultval=yes
13600               else
13601                   defaultval=no
13602               fi
13603           fi
13604
13605           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-taskbaricon" >&5
13606 $as_echo_n "checking for --${enablestring:-enable}-taskbaricon... " >&6; }
13607           # Check whether --enable-taskbaricon was given.
13608 if test "${enable_taskbaricon+set}" = set; then :
13609   enableval=$enable_taskbaricon;
13610                           if test "$enableval" = yes; then
13611                             wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
13612                           else
13613                             wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
13614                           fi
13615
13616 else
13617
13618                           wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
13619
13620 fi
13621
13622
13623           eval "$wx_cv_use_taskbaricon"
13624
13625           if test x"$enablestring" = xdisable; then
13626             if test $wxUSE_TASKBARICON = no; then
13627               result=yes
13628             else
13629               result=no
13630             fi
13631           else
13632             result=$wxUSE_TASKBARICON
13633           fi
13634
13635           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13636 $as_echo "$result" >&6; }
13637
13638
13639           enablestring=
13640           defaultval=$wxUSE_ALL_FEATURES
13641           if test -z "$defaultval"; then
13642               if test x"$enablestring" = xdisable; then
13643                   defaultval=yes
13644               else
13645                   defaultval=no
13646               fi
13647           fi
13648
13649           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tbarnative" >&5
13650 $as_echo_n "checking for --${enablestring:-enable}-tbarnative... " >&6; }
13651           # Check whether --enable-tbarnative was given.
13652 if test "${enable_tbarnative+set}" = set; then :
13653   enableval=$enable_tbarnative;
13654                           if test "$enableval" = yes; then
13655                             wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
13656                           else
13657                             wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
13658                           fi
13659
13660 else
13661
13662                           wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
13663
13664 fi
13665
13666
13667           eval "$wx_cv_use_tbarnative"
13668
13669           if test x"$enablestring" = xdisable; then
13670             if test $wxUSE_TOOLBAR_NATIVE = no; then
13671               result=yes
13672             else
13673               result=no
13674             fi
13675           else
13676             result=$wxUSE_TOOLBAR_NATIVE
13677           fi
13678
13679           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13680 $as_echo "$result" >&6; }
13681
13682
13683           enablestring=
13684           defaultval=$wxUSE_ALL_FEATURES
13685           if test -z "$defaultval"; then
13686               if test x"$enablestring" = xdisable; then
13687                   defaultval=yes
13688               else
13689                   defaultval=no
13690               fi
13691           fi
13692
13693           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-textctrl" >&5
13694 $as_echo_n "checking for --${enablestring:-enable}-textctrl... " >&6; }
13695           # Check whether --enable-textctrl was given.
13696 if test "${enable_textctrl+set}" = set; then :
13697   enableval=$enable_textctrl;
13698                           if test "$enableval" = yes; then
13699                             wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
13700                           else
13701                             wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
13702                           fi
13703
13704 else
13705
13706                           wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
13707
13708 fi
13709
13710
13711           eval "$wx_cv_use_textctrl"
13712
13713           if test x"$enablestring" = xdisable; then
13714             if test $wxUSE_TEXTCTRL = no; then
13715               result=yes
13716             else
13717               result=no
13718             fi
13719           else
13720             result=$wxUSE_TEXTCTRL
13721           fi
13722
13723           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13724 $as_echo "$result" >&6; }
13725
13726
13727           enablestring=
13728           defaultval=$wxUSE_ALL_FEATURES
13729           if test -z "$defaultval"; then
13730               if test x"$enablestring" = xdisable; then
13731                   defaultval=yes
13732               else
13733                   defaultval=no
13734               fi
13735           fi
13736
13737           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-datepick" >&5
13738 $as_echo_n "checking for --${enablestring:-enable}-datepick... " >&6; }
13739           # Check whether --enable-datepick was given.
13740 if test "${enable_datepick+set}" = set; then :
13741   enableval=$enable_datepick;
13742                           if test "$enableval" = yes; then
13743                             wx_cv_use_datepick='wxUSE_TIMEPICKCTRL=yes'
13744                           else
13745                             wx_cv_use_datepick='wxUSE_TIMEPICKCTRL=no'
13746                           fi
13747
13748 else
13749
13750                           wx_cv_use_datepick='wxUSE_TIMEPICKCTRL=${'DEFAULT_wxUSE_TIMEPICKCTRL":-$defaultval}"
13751
13752 fi
13753
13754
13755           eval "$wx_cv_use_datepick"
13756
13757           if test x"$enablestring" = xdisable; then
13758             if test $wxUSE_TIMEPICKCTRL = no; then
13759               result=yes
13760             else
13761               result=no
13762             fi
13763           else
13764             result=$wxUSE_TIMEPICKCTRL
13765           fi
13766
13767           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13768 $as_echo "$result" >&6; }
13769
13770
13771           enablestring=
13772           defaultval=$wxUSE_ALL_FEATURES
13773           if test -z "$defaultval"; then
13774               if test x"$enablestring" = xdisable; then
13775                   defaultval=yes
13776               else
13777                   defaultval=no
13778               fi
13779           fi
13780
13781           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tipwindow" >&5
13782 $as_echo_n "checking for --${enablestring:-enable}-tipwindow... " >&6; }
13783           # Check whether --enable-tipwindow was given.
13784 if test "${enable_tipwindow+set}" = set; then :
13785   enableval=$enable_tipwindow;
13786                           if test "$enableval" = yes; then
13787                             wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
13788                           else
13789                             wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
13790                           fi
13791
13792 else
13793
13794                           wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
13795
13796 fi
13797
13798
13799           eval "$wx_cv_use_tipwindow"
13800
13801           if test x"$enablestring" = xdisable; then
13802             if test $wxUSE_TIPWINDOW = no; then
13803               result=yes
13804             else
13805               result=no
13806             fi
13807           else
13808             result=$wxUSE_TIPWINDOW
13809           fi
13810
13811           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13812 $as_echo "$result" >&6; }
13813
13814
13815           enablestring=
13816           defaultval=$wxUSE_ALL_FEATURES
13817           if test -z "$defaultval"; then
13818               if test x"$enablestring" = xdisable; then
13819                   defaultval=yes
13820               else
13821                   defaultval=no
13822               fi
13823           fi
13824
13825           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-togglebtn" >&5
13826 $as_echo_n "checking for --${enablestring:-enable}-togglebtn... " >&6; }
13827           # Check whether --enable-togglebtn was given.
13828 if test "${enable_togglebtn+set}" = set; then :
13829   enableval=$enable_togglebtn;
13830                           if test "$enableval" = yes; then
13831                             wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
13832                           else
13833                             wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
13834                           fi
13835
13836 else
13837
13838                           wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
13839
13840 fi
13841
13842
13843           eval "$wx_cv_use_togglebtn"
13844
13845           if test x"$enablestring" = xdisable; then
13846             if test $wxUSE_TOGGLEBTN = no; then
13847               result=yes
13848             else
13849               result=no
13850             fi
13851           else
13852             result=$wxUSE_TOGGLEBTN
13853           fi
13854
13855           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13856 $as_echo "$result" >&6; }
13857
13858
13859           enablestring=
13860           defaultval=$wxUSE_ALL_FEATURES
13861           if test -z "$defaultval"; then
13862               if test x"$enablestring" = xdisable; then
13863                   defaultval=yes
13864               else
13865                   defaultval=no
13866               fi
13867           fi
13868
13869           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-toolbar" >&5
13870 $as_echo_n "checking for --${enablestring:-enable}-toolbar... " >&6; }
13871           # Check whether --enable-toolbar was given.
13872 if test "${enable_toolbar+set}" = set; then :
13873   enableval=$enable_toolbar;
13874                           if test "$enableval" = yes; then
13875                             wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
13876                           else
13877                             wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
13878                           fi
13879
13880 else
13881
13882                           wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
13883
13884 fi
13885
13886
13887           eval "$wx_cv_use_toolbar"
13888
13889           if test x"$enablestring" = xdisable; then
13890             if test $wxUSE_TOOLBAR = no; then
13891               result=yes
13892             else
13893               result=no
13894             fi
13895           else
13896             result=$wxUSE_TOOLBAR
13897           fi
13898
13899           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13900 $as_echo "$result" >&6; }
13901
13902
13903           enablestring=
13904           defaultval=$wxUSE_ALL_FEATURES
13905           if test -z "$defaultval"; then
13906               if test x"$enablestring" = xdisable; then
13907                   defaultval=yes
13908               else
13909                   defaultval=no
13910               fi
13911           fi
13912
13913           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-toolbook" >&5
13914 $as_echo_n "checking for --${enablestring:-enable}-toolbook... " >&6; }
13915           # Check whether --enable-toolbook was given.
13916 if test "${enable_toolbook+set}" = set; then :
13917   enableval=$enable_toolbook;
13918                           if test "$enableval" = yes; then
13919                             wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
13920                           else
13921                             wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
13922                           fi
13923
13924 else
13925
13926                           wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
13927
13928 fi
13929
13930
13931           eval "$wx_cv_use_toolbook"
13932
13933           if test x"$enablestring" = xdisable; then
13934             if test $wxUSE_TOOLBOOK = no; then
13935               result=yes
13936             else
13937               result=no
13938             fi
13939           else
13940             result=$wxUSE_TOOLBOOK
13941           fi
13942
13943           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13944 $as_echo "$result" >&6; }
13945
13946
13947           enablestring=
13948           defaultval=$wxUSE_ALL_FEATURES
13949           if test -z "$defaultval"; then
13950               if test x"$enablestring" = xdisable; then
13951                   defaultval=yes
13952               else
13953                   defaultval=no
13954               fi
13955           fi
13956
13957           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-treebook" >&5
13958 $as_echo_n "checking for --${enablestring:-enable}-treebook... " >&6; }
13959           # Check whether --enable-treebook was given.
13960 if test "${enable_treebook+set}" = set; then :
13961   enableval=$enable_treebook;
13962                           if test "$enableval" = yes; then
13963                             wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
13964                           else
13965                             wx_cv_use_treebook='wxUSE_TREEBOOK=no'
13966                           fi
13967
13968 else
13969
13970                           wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
13971
13972 fi
13973
13974
13975           eval "$wx_cv_use_treebook"
13976
13977           if test x"$enablestring" = xdisable; then
13978             if test $wxUSE_TREEBOOK = no; then
13979               result=yes
13980             else
13981               result=no
13982             fi
13983           else
13984             result=$wxUSE_TREEBOOK
13985           fi
13986
13987           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13988 $as_echo "$result" >&6; }
13989
13990
13991           enablestring=
13992           defaultval=$wxUSE_ALL_FEATURES
13993           if test -z "$defaultval"; then
13994               if test x"$enablestring" = xdisable; then
13995                   defaultval=yes
13996               else
13997                   defaultval=no
13998               fi
13999           fi
14000
14001           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-treectrl" >&5
14002 $as_echo_n "checking for --${enablestring:-enable}-treectrl... " >&6; }
14003           # Check whether --enable-treectrl was given.
14004 if test "${enable_treectrl+set}" = set; then :
14005   enableval=$enable_treectrl;
14006                           if test "$enableval" = yes; then
14007                             wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
14008                           else
14009                             wx_cv_use_treectrl='wxUSE_TREECTRL=no'
14010                           fi
14011
14012 else
14013
14014                           wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
14015
14016 fi
14017
14018
14019           eval "$wx_cv_use_treectrl"
14020
14021           if test x"$enablestring" = xdisable; then
14022             if test $wxUSE_TREECTRL = no; then
14023               result=yes
14024             else
14025               result=no
14026             fi
14027           else
14028             result=$wxUSE_TREECTRL
14029           fi
14030
14031           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14032 $as_echo "$result" >&6; }
14033
14034
14035           enablestring=
14036           defaultval=$wxUSE_ALL_FEATURES
14037           if test -z "$defaultval"; then
14038               if test x"$enablestring" = xdisable; then
14039                   defaultval=yes
14040               else
14041                   defaultval=no
14042               fi
14043           fi
14044
14045           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-treelist" >&5
14046 $as_echo_n "checking for --${enablestring:-enable}-treelist... " >&6; }
14047           # Check whether --enable-treelist was given.
14048 if test "${enable_treelist+set}" = set; then :
14049   enableval=$enable_treelist;
14050                           if test "$enableval" = yes; then
14051                             wx_cv_use_treelist='wxUSE_TREELISTCTRL=yes'
14052                           else
14053                             wx_cv_use_treelist='wxUSE_TREELISTCTRL=no'
14054                           fi
14055
14056 else
14057
14058                           wx_cv_use_treelist='wxUSE_TREELISTCTRL=${'DEFAULT_wxUSE_TREELISTCTRL":-$defaultval}"
14059
14060 fi
14061
14062
14063           eval "$wx_cv_use_treelist"
14064
14065           if test x"$enablestring" = xdisable; then
14066             if test $wxUSE_TREELISTCTRL = no; then
14067               result=yes
14068             else
14069               result=no
14070             fi
14071           else
14072             result=$wxUSE_TREELISTCTRL
14073           fi
14074
14075           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14076 $as_echo "$result" >&6; }
14077
14078
14079
14080
14081           enablestring=
14082           defaultval=$wxUSE_ALL_FEATURES
14083           if test -z "$defaultval"; then
14084               if test x"$enablestring" = xdisable; then
14085                   defaultval=yes
14086               else
14087                   defaultval=no
14088               fi
14089           fi
14090
14091           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-commondlg" >&5
14092 $as_echo_n "checking for --${enablestring:-enable}-commondlg... " >&6; }
14093           # Check whether --enable-commondlg was given.
14094 if test "${enable_commondlg+set}" = set; then :
14095   enableval=$enable_commondlg;
14096                           if test "$enableval" = yes; then
14097                             wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
14098                           else
14099                             wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
14100                           fi
14101
14102 else
14103
14104                           wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
14105
14106 fi
14107
14108
14109           eval "$wx_cv_use_commondlg"
14110
14111           if test x"$enablestring" = xdisable; then
14112             if test $wxUSE_COMMONDLGS = no; then
14113               result=yes
14114             else
14115               result=no
14116             fi
14117           else
14118             result=$wxUSE_COMMONDLGS
14119           fi
14120
14121           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14122 $as_echo "$result" >&6; }
14123
14124
14125           enablestring=
14126           defaultval=$wxUSE_ALL_FEATURES
14127           if test -z "$defaultval"; then
14128               if test x"$enablestring" = xdisable; then
14129                   defaultval=yes
14130               else
14131                   defaultval=no
14132               fi
14133           fi
14134
14135           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-aboutdlg" >&5
14136 $as_echo_n "checking for --${enablestring:-enable}-aboutdlg... " >&6; }
14137           # Check whether --enable-aboutdlg was given.
14138 if test "${enable_aboutdlg+set}" = set; then :
14139   enableval=$enable_aboutdlg;
14140                           if test "$enableval" = yes; then
14141                             wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
14142                           else
14143                             wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
14144                           fi
14145
14146 else
14147
14148                           wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
14149
14150 fi
14151
14152
14153           eval "$wx_cv_use_aboutdlg"
14154
14155           if test x"$enablestring" = xdisable; then
14156             if test $wxUSE_ABOUTDLG = no; then
14157               result=yes
14158             else
14159               result=no
14160             fi
14161           else
14162             result=$wxUSE_ABOUTDLG
14163           fi
14164
14165           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14166 $as_echo "$result" >&6; }
14167
14168
14169           enablestring=
14170           defaultval=$wxUSE_ALL_FEATURES
14171           if test -z "$defaultval"; then
14172               if test x"$enablestring" = xdisable; then
14173                   defaultval=yes
14174               else
14175                   defaultval=no
14176               fi
14177           fi
14178
14179           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-choicedlg" >&5
14180 $as_echo_n "checking for --${enablestring:-enable}-choicedlg... " >&6; }
14181           # Check whether --enable-choicedlg was given.
14182 if test "${enable_choicedlg+set}" = set; then :
14183   enableval=$enable_choicedlg;
14184                           if test "$enableval" = yes; then
14185                             wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
14186                           else
14187                             wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
14188                           fi
14189
14190 else
14191
14192                           wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
14193
14194 fi
14195
14196
14197           eval "$wx_cv_use_choicedlg"
14198
14199           if test x"$enablestring" = xdisable; then
14200             if test $wxUSE_CHOICEDLG = no; then
14201               result=yes
14202             else
14203               result=no
14204             fi
14205           else
14206             result=$wxUSE_CHOICEDLG
14207           fi
14208
14209           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14210 $as_echo "$result" >&6; }
14211
14212
14213           enablestring=
14214           defaultval=$wxUSE_ALL_FEATURES
14215           if test -z "$defaultval"; then
14216               if test x"$enablestring" = xdisable; then
14217                   defaultval=yes
14218               else
14219                   defaultval=no
14220               fi
14221           fi
14222
14223           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-coldlg" >&5
14224 $as_echo_n "checking for --${enablestring:-enable}-coldlg... " >&6; }
14225           # Check whether --enable-coldlg was given.
14226 if test "${enable_coldlg+set}" = set; then :
14227   enableval=$enable_coldlg;
14228                           if test "$enableval" = yes; then
14229                             wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
14230                           else
14231                             wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
14232                           fi
14233
14234 else
14235
14236                           wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
14237
14238 fi
14239
14240
14241           eval "$wx_cv_use_coldlg"
14242
14243           if test x"$enablestring" = xdisable; then
14244             if test $wxUSE_COLOURDLG = no; then
14245               result=yes
14246             else
14247               result=no
14248             fi
14249           else
14250             result=$wxUSE_COLOURDLG
14251           fi
14252
14253           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14254 $as_echo "$result" >&6; }
14255
14256
14257           enablestring=
14258           defaultval=$wxUSE_ALL_FEATURES
14259           if test -z "$defaultval"; then
14260               if test x"$enablestring" = xdisable; then
14261                   defaultval=yes
14262               else
14263                   defaultval=no
14264               fi
14265           fi
14266
14267           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filedlg" >&5
14268 $as_echo_n "checking for --${enablestring:-enable}-filedlg... " >&6; }
14269           # Check whether --enable-filedlg was given.
14270 if test "${enable_filedlg+set}" = set; then :
14271   enableval=$enable_filedlg;
14272                           if test "$enableval" = yes; then
14273                             wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
14274                           else
14275                             wx_cv_use_filedlg='wxUSE_FILEDLG=no'
14276                           fi
14277
14278 else
14279
14280                           wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
14281
14282 fi
14283
14284
14285           eval "$wx_cv_use_filedlg"
14286
14287           if test x"$enablestring" = xdisable; then
14288             if test $wxUSE_FILEDLG = no; then
14289               result=yes
14290             else
14291               result=no
14292             fi
14293           else
14294             result=$wxUSE_FILEDLG
14295           fi
14296
14297           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14298 $as_echo "$result" >&6; }
14299
14300
14301           enablestring=
14302           defaultval=$wxUSE_ALL_FEATURES
14303           if test -z "$defaultval"; then
14304               if test x"$enablestring" = xdisable; then
14305                   defaultval=yes
14306               else
14307                   defaultval=no
14308               fi
14309           fi
14310
14311           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-finddlg" >&5
14312 $as_echo_n "checking for --${enablestring:-enable}-finddlg... " >&6; }
14313           # Check whether --enable-finddlg was given.
14314 if test "${enable_finddlg+set}" = set; then :
14315   enableval=$enable_finddlg;
14316                           if test "$enableval" = yes; then
14317                             wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
14318                           else
14319                             wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
14320                           fi
14321
14322 else
14323
14324                           wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
14325
14326 fi
14327
14328
14329           eval "$wx_cv_use_finddlg"
14330
14331           if test x"$enablestring" = xdisable; then
14332             if test $wxUSE_FINDREPLDLG = no; then
14333               result=yes
14334             else
14335               result=no
14336             fi
14337           else
14338             result=$wxUSE_FINDREPLDLG
14339           fi
14340
14341           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14342 $as_echo "$result" >&6; }
14343
14344
14345           enablestring=
14346           defaultval=$wxUSE_ALL_FEATURES
14347           if test -z "$defaultval"; then
14348               if test x"$enablestring" = xdisable; then
14349                   defaultval=yes
14350               else
14351                   defaultval=no
14352               fi
14353           fi
14354
14355           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fontdlg" >&5
14356 $as_echo_n "checking for --${enablestring:-enable}-fontdlg... " >&6; }
14357           # Check whether --enable-fontdlg was given.
14358 if test "${enable_fontdlg+set}" = set; then :
14359   enableval=$enable_fontdlg;
14360                           if test "$enableval" = yes; then
14361                             wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
14362                           else
14363                             wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
14364                           fi
14365
14366 else
14367
14368                           wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
14369
14370 fi
14371
14372
14373           eval "$wx_cv_use_fontdlg"
14374
14375           if test x"$enablestring" = xdisable; then
14376             if test $wxUSE_FONTDLG = no; then
14377               result=yes
14378             else
14379               result=no
14380             fi
14381           else
14382             result=$wxUSE_FONTDLG
14383           fi
14384
14385           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14386 $as_echo "$result" >&6; }
14387
14388
14389           enablestring=
14390           defaultval=$wxUSE_ALL_FEATURES
14391           if test -z "$defaultval"; then
14392               if test x"$enablestring" = xdisable; then
14393                   defaultval=yes
14394               else
14395                   defaultval=no
14396               fi
14397           fi
14398
14399           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dirdlg" >&5
14400 $as_echo_n "checking for --${enablestring:-enable}-dirdlg... " >&6; }
14401           # Check whether --enable-dirdlg was given.
14402 if test "${enable_dirdlg+set}" = set; then :
14403   enableval=$enable_dirdlg;
14404                           if test "$enableval" = yes; then
14405                             wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
14406                           else
14407                             wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
14408                           fi
14409
14410 else
14411
14412                           wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
14413
14414 fi
14415
14416
14417           eval "$wx_cv_use_dirdlg"
14418
14419           if test x"$enablestring" = xdisable; then
14420             if test $wxUSE_DIRDLG = no; then
14421               result=yes
14422             else
14423               result=no
14424             fi
14425           else
14426             result=$wxUSE_DIRDLG
14427           fi
14428
14429           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14430 $as_echo "$result" >&6; }
14431
14432
14433           enablestring=
14434           defaultval=$wxUSE_ALL_FEATURES
14435           if test -z "$defaultval"; then
14436               if test x"$enablestring" = xdisable; then
14437                   defaultval=yes
14438               else
14439                   defaultval=no
14440               fi
14441           fi
14442
14443           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-msgdlg" >&5
14444 $as_echo_n "checking for --${enablestring:-enable}-msgdlg... " >&6; }
14445           # Check whether --enable-msgdlg was given.
14446 if test "${enable_msgdlg+set}" = set; then :
14447   enableval=$enable_msgdlg;
14448                           if test "$enableval" = yes; then
14449                             wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
14450                           else
14451                             wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
14452                           fi
14453
14454 else
14455
14456                           wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
14457
14458 fi
14459
14460
14461           eval "$wx_cv_use_msgdlg"
14462
14463           if test x"$enablestring" = xdisable; then
14464             if test $wxUSE_MSGDLG = no; then
14465               result=yes
14466             else
14467               result=no
14468             fi
14469           else
14470             result=$wxUSE_MSGDLG
14471           fi
14472
14473           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14474 $as_echo "$result" >&6; }
14475
14476
14477           enablestring=
14478           defaultval=$wxUSE_ALL_FEATURES
14479           if test -z "$defaultval"; then
14480               if test x"$enablestring" = xdisable; then
14481                   defaultval=yes
14482               else
14483                   defaultval=no
14484               fi
14485           fi
14486
14487           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-numberdlg" >&5
14488 $as_echo_n "checking for --${enablestring:-enable}-numberdlg... " >&6; }
14489           # Check whether --enable-numberdlg was given.
14490 if test "${enable_numberdlg+set}" = set; then :
14491   enableval=$enable_numberdlg;
14492                           if test "$enableval" = yes; then
14493                             wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
14494                           else
14495                             wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
14496                           fi
14497
14498 else
14499
14500                           wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
14501
14502 fi
14503
14504
14505           eval "$wx_cv_use_numberdlg"
14506
14507           if test x"$enablestring" = xdisable; then
14508             if test $wxUSE_NUMBERDLG = no; then
14509               result=yes
14510             else
14511               result=no
14512             fi
14513           else
14514             result=$wxUSE_NUMBERDLG
14515           fi
14516
14517           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14518 $as_echo "$result" >&6; }
14519
14520
14521           enablestring=
14522           defaultval=$wxUSE_ALL_FEATURES
14523           if test -z "$defaultval"; then
14524               if test x"$enablestring" = xdisable; then
14525                   defaultval=yes
14526               else
14527                   defaultval=no
14528               fi
14529           fi
14530
14531           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-splash" >&5
14532 $as_echo_n "checking for --${enablestring:-enable}-splash... " >&6; }
14533           # Check whether --enable-splash was given.
14534 if test "${enable_splash+set}" = set; then :
14535   enableval=$enable_splash;
14536                           if test "$enableval" = yes; then
14537                             wx_cv_use_splash='wxUSE_SPLASH=yes'
14538                           else
14539                             wx_cv_use_splash='wxUSE_SPLASH=no'
14540                           fi
14541
14542 else
14543
14544                           wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
14545
14546 fi
14547
14548
14549           eval "$wx_cv_use_splash"
14550
14551           if test x"$enablestring" = xdisable; then
14552             if test $wxUSE_SPLASH = no; then
14553               result=yes
14554             else
14555               result=no
14556             fi
14557           else
14558             result=$wxUSE_SPLASH
14559           fi
14560
14561           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14562 $as_echo "$result" >&6; }
14563
14564
14565           enablestring=
14566           defaultval=$wxUSE_ALL_FEATURES
14567           if test -z "$defaultval"; then
14568               if test x"$enablestring" = xdisable; then
14569                   defaultval=yes
14570               else
14571                   defaultval=no
14572               fi
14573           fi
14574
14575           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-textdlg" >&5
14576 $as_echo_n "checking for --${enablestring:-enable}-textdlg... " >&6; }
14577           # Check whether --enable-textdlg was given.
14578 if test "${enable_textdlg+set}" = set; then :
14579   enableval=$enable_textdlg;
14580                           if test "$enableval" = yes; then
14581                             wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
14582                           else
14583                             wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
14584                           fi
14585
14586 else
14587
14588                           wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
14589
14590 fi
14591
14592
14593           eval "$wx_cv_use_textdlg"
14594
14595           if test x"$enablestring" = xdisable; then
14596             if test $wxUSE_TEXTDLG = no; then
14597               result=yes
14598             else
14599               result=no
14600             fi
14601           else
14602             result=$wxUSE_TEXTDLG
14603           fi
14604
14605           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14606 $as_echo "$result" >&6; }
14607
14608
14609           enablestring=
14610           defaultval=$wxUSE_ALL_FEATURES
14611           if test -z "$defaultval"; then
14612               if test x"$enablestring" = xdisable; then
14613                   defaultval=yes
14614               else
14615                   defaultval=no
14616               fi
14617           fi
14618
14619           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tipdlg" >&5
14620 $as_echo_n "checking for --${enablestring:-enable}-tipdlg... " >&6; }
14621           # Check whether --enable-tipdlg was given.
14622 if test "${enable_tipdlg+set}" = set; then :
14623   enableval=$enable_tipdlg;
14624                           if test "$enableval" = yes; then
14625                             wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
14626                           else
14627                             wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
14628                           fi
14629
14630 else
14631
14632                           wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
14633
14634 fi
14635
14636
14637           eval "$wx_cv_use_tipdlg"
14638
14639           if test x"$enablestring" = xdisable; then
14640             if test $wxUSE_STARTUP_TIPS = no; then
14641               result=yes
14642             else
14643               result=no
14644             fi
14645           else
14646             result=$wxUSE_STARTUP_TIPS
14647           fi
14648
14649           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14650 $as_echo "$result" >&6; }
14651
14652
14653           enablestring=
14654           defaultval=$wxUSE_ALL_FEATURES
14655           if test -z "$defaultval"; then
14656               if test x"$enablestring" = xdisable; then
14657                   defaultval=yes
14658               else
14659                   defaultval=no
14660               fi
14661           fi
14662
14663           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-progressdlg" >&5
14664 $as_echo_n "checking for --${enablestring:-enable}-progressdlg... " >&6; }
14665           # Check whether --enable-progressdlg was given.
14666 if test "${enable_progressdlg+set}" = set; then :
14667   enableval=$enable_progressdlg;
14668                           if test "$enableval" = yes; then
14669                             wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
14670                           else
14671                             wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
14672                           fi
14673
14674 else
14675
14676                           wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
14677
14678 fi
14679
14680
14681           eval "$wx_cv_use_progressdlg"
14682
14683           if test x"$enablestring" = xdisable; then
14684             if test $wxUSE_PROGRESSDLG = no; then
14685               result=yes
14686             else
14687               result=no
14688             fi
14689           else
14690             result=$wxUSE_PROGRESSDLG
14691           fi
14692
14693           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14694 $as_echo "$result" >&6; }
14695
14696
14697           enablestring=
14698           defaultval=$wxUSE_ALL_FEATURES
14699           if test -z "$defaultval"; then
14700               if test x"$enablestring" = xdisable; then
14701                   defaultval=yes
14702               else
14703                   defaultval=no
14704               fi
14705           fi
14706
14707           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-wizarddlg" >&5
14708 $as_echo_n "checking for --${enablestring:-enable}-wizarddlg... " >&6; }
14709           # Check whether --enable-wizarddlg was given.
14710 if test "${enable_wizarddlg+set}" = set; then :
14711   enableval=$enable_wizarddlg;
14712                           if test "$enableval" = yes; then
14713                             wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
14714                           else
14715                             wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
14716                           fi
14717
14718 else
14719
14720                           wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
14721
14722 fi
14723
14724
14725           eval "$wx_cv_use_wizarddlg"
14726
14727           if test x"$enablestring" = xdisable; then
14728             if test $wxUSE_WIZARDDLG = no; then
14729               result=yes
14730             else
14731               result=no
14732             fi
14733           else
14734             result=$wxUSE_WIZARDDLG
14735           fi
14736
14737           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14738 $as_echo "$result" >&6; }
14739
14740
14741
14742
14743           enablestring=
14744           defaultval=$wxUSE_ALL_FEATURES
14745           if test -z "$defaultval"; then
14746               if test x"$enablestring" = xdisable; then
14747                   defaultval=yes
14748               else
14749                   defaultval=no
14750               fi
14751           fi
14752
14753           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-menus" >&5
14754 $as_echo_n "checking for --${enablestring:-enable}-menus... " >&6; }
14755           # Check whether --enable-menus was given.
14756 if test "${enable_menus+set}" = set; then :
14757   enableval=$enable_menus;
14758                           if test "$enableval" = yes; then
14759                             wx_cv_use_menus='wxUSE_MENUS=yes'
14760                           else
14761                             wx_cv_use_menus='wxUSE_MENUS=no'
14762                           fi
14763
14764 else
14765
14766                           wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
14767
14768 fi
14769
14770
14771           eval "$wx_cv_use_menus"
14772
14773           if test x"$enablestring" = xdisable; then
14774             if test $wxUSE_MENUS = no; then
14775               result=yes
14776             else
14777               result=no
14778             fi
14779           else
14780             result=$wxUSE_MENUS
14781           fi
14782
14783           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14784 $as_echo "$result" >&6; }
14785
14786
14787           enablestring=
14788           defaultval=$wxUSE_ALL_FEATURES
14789           if test -z "$defaultval"; then
14790               if test x"$enablestring" = xdisable; then
14791                   defaultval=yes
14792               else
14793                   defaultval=no
14794               fi
14795           fi
14796
14797           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-miniframe" >&5
14798 $as_echo_n "checking for --${enablestring:-enable}-miniframe... " >&6; }
14799           # Check whether --enable-miniframe was given.
14800 if test "${enable_miniframe+set}" = set; then :
14801   enableval=$enable_miniframe;
14802                           if test "$enableval" = yes; then
14803                             wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
14804                           else
14805                             wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
14806                           fi
14807
14808 else
14809
14810                           wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
14811
14812 fi
14813
14814
14815           eval "$wx_cv_use_miniframe"
14816
14817           if test x"$enablestring" = xdisable; then
14818             if test $wxUSE_MINIFRAME = no; then
14819               result=yes
14820             else
14821               result=no
14822             fi
14823           else
14824             result=$wxUSE_MINIFRAME
14825           fi
14826
14827           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14828 $as_echo "$result" >&6; }
14829
14830
14831           enablestring=
14832           defaultval=$wxUSE_ALL_FEATURES
14833           if test -z "$defaultval"; then
14834               if test x"$enablestring" = xdisable; then
14835                   defaultval=yes
14836               else
14837                   defaultval=no
14838               fi
14839           fi
14840
14841           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tooltips" >&5
14842 $as_echo_n "checking for --${enablestring:-enable}-tooltips... " >&6; }
14843           # Check whether --enable-tooltips was given.
14844 if test "${enable_tooltips+set}" = set; then :
14845   enableval=$enable_tooltips;
14846                           if test "$enableval" = yes; then
14847                             wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
14848                           else
14849                             wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
14850                           fi
14851
14852 else
14853
14854                           wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
14855
14856 fi
14857
14858
14859           eval "$wx_cv_use_tooltips"
14860
14861           if test x"$enablestring" = xdisable; then
14862             if test $wxUSE_TOOLTIPS = no; then
14863               result=yes
14864             else
14865               result=no
14866             fi
14867           else
14868             result=$wxUSE_TOOLTIPS
14869           fi
14870
14871           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14872 $as_echo "$result" >&6; }
14873
14874
14875           enablestring=
14876           defaultval=$wxUSE_ALL_FEATURES
14877           if test -z "$defaultval"; then
14878               if test x"$enablestring" = xdisable; then
14879                   defaultval=yes
14880               else
14881                   defaultval=no
14882               fi
14883           fi
14884
14885           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-splines" >&5
14886 $as_echo_n "checking for --${enablestring:-enable}-splines... " >&6; }
14887           # Check whether --enable-splines was given.
14888 if test "${enable_splines+set}" = set; then :
14889   enableval=$enable_splines;
14890                           if test "$enableval" = yes; then
14891                             wx_cv_use_splines='wxUSE_SPLINES=yes'
14892                           else
14893                             wx_cv_use_splines='wxUSE_SPLINES=no'
14894                           fi
14895
14896 else
14897
14898                           wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
14899
14900 fi
14901
14902
14903           eval "$wx_cv_use_splines"
14904
14905           if test x"$enablestring" = xdisable; then
14906             if test $wxUSE_SPLINES = no; then
14907               result=yes
14908             else
14909               result=no
14910             fi
14911           else
14912             result=$wxUSE_SPLINES
14913           fi
14914
14915           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14916 $as_echo "$result" >&6; }
14917
14918
14919           enablestring=
14920           defaultval=$wxUSE_ALL_FEATURES
14921           if test -z "$defaultval"; then
14922               if test x"$enablestring" = xdisable; then
14923                   defaultval=yes
14924               else
14925                   defaultval=no
14926               fi
14927           fi
14928
14929           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mousewheel" >&5
14930 $as_echo_n "checking for --${enablestring:-enable}-mousewheel... " >&6; }
14931           # Check whether --enable-mousewheel was given.
14932 if test "${enable_mousewheel+set}" = set; then :
14933   enableval=$enable_mousewheel;
14934                           if test "$enableval" = yes; then
14935                             wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
14936                           else
14937                             wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
14938                           fi
14939
14940 else
14941
14942                           wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
14943
14944 fi
14945
14946
14947           eval "$wx_cv_use_mousewheel"
14948
14949           if test x"$enablestring" = xdisable; then
14950             if test $wxUSE_MOUSEWHEEL = no; then
14951               result=yes
14952             else
14953               result=no
14954             fi
14955           else
14956             result=$wxUSE_MOUSEWHEEL
14957           fi
14958
14959           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14960 $as_echo "$result" >&6; }
14961
14962
14963           enablestring=
14964           defaultval=$wxUSE_ALL_FEATURES
14965           if test -z "$defaultval"; then
14966               if test x"$enablestring" = xdisable; then
14967                   defaultval=yes
14968               else
14969                   defaultval=no
14970               fi
14971           fi
14972
14973           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-validators" >&5
14974 $as_echo_n "checking for --${enablestring:-enable}-validators... " >&6; }
14975           # Check whether --enable-validators was given.
14976 if test "${enable_validators+set}" = set; then :
14977   enableval=$enable_validators;
14978                           if test "$enableval" = yes; then
14979                             wx_cv_use_validators='wxUSE_VALIDATORS=yes'
14980                           else
14981                             wx_cv_use_validators='wxUSE_VALIDATORS=no'
14982                           fi
14983
14984 else
14985
14986                           wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
14987
14988 fi
14989
14990
14991           eval "$wx_cv_use_validators"
14992
14993           if test x"$enablestring" = xdisable; then
14994             if test $wxUSE_VALIDATORS = no; then
14995               result=yes
14996             else
14997               result=no
14998             fi
14999           else
15000             result=$wxUSE_VALIDATORS
15001           fi
15002
15003           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15004 $as_echo "$result" >&6; }
15005
15006
15007           enablestring=
15008           defaultval=$wxUSE_ALL_FEATURES
15009           if test -z "$defaultval"; then
15010               if test x"$enablestring" = xdisable; then
15011                   defaultval=yes
15012               else
15013                   defaultval=no
15014               fi
15015           fi
15016
15017           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-busyinfo" >&5
15018 $as_echo_n "checking for --${enablestring:-enable}-busyinfo... " >&6; }
15019           # Check whether --enable-busyinfo was given.
15020 if test "${enable_busyinfo+set}" = set; then :
15021   enableval=$enable_busyinfo;
15022                           if test "$enableval" = yes; then
15023                             wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
15024                           else
15025                             wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
15026                           fi
15027
15028 else
15029
15030                           wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
15031
15032 fi
15033
15034
15035           eval "$wx_cv_use_busyinfo"
15036
15037           if test x"$enablestring" = xdisable; then
15038             if test $wxUSE_BUSYINFO = no; then
15039               result=yes
15040             else
15041               result=no
15042             fi
15043           else
15044             result=$wxUSE_BUSYINFO
15045           fi
15046
15047           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15048 $as_echo "$result" >&6; }
15049
15050
15051           enablestring=
15052           defaultval=$wxUSE_ALL_FEATURES
15053           if test -z "$defaultval"; then
15054               if test x"$enablestring" = xdisable; then
15055                   defaultval=yes
15056               else
15057                   defaultval=no
15058               fi
15059           fi
15060
15061           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-hotkey" >&5
15062 $as_echo_n "checking for --${enablestring:-enable}-hotkey... " >&6; }
15063           # Check whether --enable-hotkey was given.
15064 if test "${enable_hotkey+set}" = set; then :
15065   enableval=$enable_hotkey;
15066                           if test "$enableval" = yes; then
15067                             wx_cv_use_hotkey='wxUSE_HOTKEY=yes'
15068                           else
15069                             wx_cv_use_hotkey='wxUSE_HOTKEY=no'
15070                           fi
15071
15072 else
15073
15074                           wx_cv_use_hotkey='wxUSE_HOTKEY=${'DEFAULT_wxUSE_HOTKEY":-$defaultval}"
15075
15076 fi
15077
15078
15079           eval "$wx_cv_use_hotkey"
15080
15081           if test x"$enablestring" = xdisable; then
15082             if test $wxUSE_HOTKEY = no; then
15083               result=yes
15084             else
15085               result=no
15086             fi
15087           else
15088             result=$wxUSE_HOTKEY
15089           fi
15090
15091           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15092 $as_echo "$result" >&6; }
15093
15094
15095           enablestring=
15096           defaultval=$wxUSE_ALL_FEATURES
15097           if test -z "$defaultval"; then
15098               if test x"$enablestring" = xdisable; then
15099                   defaultval=yes
15100               else
15101                   defaultval=no
15102               fi
15103           fi
15104
15105           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-joystick" >&5
15106 $as_echo_n "checking for --${enablestring:-enable}-joystick... " >&6; }
15107           # Check whether --enable-joystick was given.
15108 if test "${enable_joystick+set}" = set; then :
15109   enableval=$enable_joystick;
15110                           if test "$enableval" = yes; then
15111                             wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
15112                           else
15113                             wx_cv_use_joystick='wxUSE_JOYSTICK=no'
15114                           fi
15115
15116 else
15117
15118                           wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
15119
15120 fi
15121
15122
15123           eval "$wx_cv_use_joystick"
15124
15125           if test x"$enablestring" = xdisable; then
15126             if test $wxUSE_JOYSTICK = no; then
15127               result=yes
15128             else
15129               result=no
15130             fi
15131           else
15132             result=$wxUSE_JOYSTICK
15133           fi
15134
15135           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15136 $as_echo "$result" >&6; }
15137
15138
15139           enablestring=
15140           defaultval=$wxUSE_ALL_FEATURES
15141           if test -z "$defaultval"; then
15142               if test x"$enablestring" = xdisable; then
15143                   defaultval=yes
15144               else
15145                   defaultval=no
15146               fi
15147           fi
15148
15149           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-metafile" >&5
15150 $as_echo_n "checking for --${enablestring:-enable}-metafile... " >&6; }
15151           # Check whether --enable-metafile was given.
15152 if test "${enable_metafile+set}" = set; then :
15153   enableval=$enable_metafile;
15154                           if test "$enableval" = yes; then
15155                             wx_cv_use_metafile='wxUSE_METAFILE=yes'
15156                           else
15157                             wx_cv_use_metafile='wxUSE_METAFILE=no'
15158                           fi
15159
15160 else
15161
15162                           wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
15163
15164 fi
15165
15166
15167           eval "$wx_cv_use_metafile"
15168
15169           if test x"$enablestring" = xdisable; then
15170             if test $wxUSE_METAFILE = no; then
15171               result=yes
15172             else
15173               result=no
15174             fi
15175           else
15176             result=$wxUSE_METAFILE
15177           fi
15178
15179           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15180 $as_echo "$result" >&6; }
15181
15182
15183           enablestring=
15184           defaultval=$wxUSE_ALL_FEATURES
15185           if test -z "$defaultval"; then
15186               if test x"$enablestring" = xdisable; then
15187                   defaultval=yes
15188               else
15189                   defaultval=no
15190               fi
15191           fi
15192
15193           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dragimage" >&5
15194 $as_echo_n "checking for --${enablestring:-enable}-dragimage... " >&6; }
15195           # Check whether --enable-dragimage was given.
15196 if test "${enable_dragimage+set}" = set; then :
15197   enableval=$enable_dragimage;
15198                           if test "$enableval" = yes; then
15199                             wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
15200                           else
15201                             wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
15202                           fi
15203
15204 else
15205
15206                           wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
15207
15208 fi
15209
15210
15211           eval "$wx_cv_use_dragimage"
15212
15213           if test x"$enablestring" = xdisable; then
15214             if test $wxUSE_DRAGIMAGE = no; then
15215               result=yes
15216             else
15217               result=no
15218             fi
15219           else
15220             result=$wxUSE_DRAGIMAGE
15221           fi
15222
15223           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15224 $as_echo "$result" >&6; }
15225
15226
15227           enablestring=
15228           defaultval=$wxUSE_ALL_FEATURES
15229           if test -z "$defaultval"; then
15230               if test x"$enablestring" = xdisable; then
15231                   defaultval=yes
15232               else
15233                   defaultval=no
15234               fi
15235           fi
15236
15237           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-accessibility" >&5
15238 $as_echo_n "checking for --${enablestring:-enable}-accessibility... " >&6; }
15239           # Check whether --enable-accessibility was given.
15240 if test "${enable_accessibility+set}" = set; then :
15241   enableval=$enable_accessibility;
15242                           if test "$enableval" = yes; then
15243                             wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
15244                           else
15245                             wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
15246                           fi
15247
15248 else
15249
15250                           wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
15251
15252 fi
15253
15254
15255           eval "$wx_cv_use_accessibility"
15256
15257           if test x"$enablestring" = xdisable; then
15258             if test $wxUSE_ACCESSIBILITY = no; then
15259               result=yes
15260             else
15261               result=no
15262             fi
15263           else
15264             result=$wxUSE_ACCESSIBILITY
15265           fi
15266
15267           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15268 $as_echo "$result" >&6; }
15269
15270
15271           enablestring=
15272           defaultval=$wxUSE_ALL_FEATURES
15273           if test -z "$defaultval"; then
15274               if test x"$enablestring" = xdisable; then
15275                   defaultval=yes
15276               else
15277                   defaultval=no
15278               fi
15279           fi
15280
15281           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-uiactionsim" >&5
15282 $as_echo_n "checking for --${enablestring:-enable}-uiactionsim... " >&6; }
15283           # Check whether --enable-uiactionsim was given.
15284 if test "${enable_uiactionsim+set}" = set; then :
15285   enableval=$enable_uiactionsim;
15286                           if test "$enableval" = yes; then
15287                             wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=yes'
15288                           else
15289                             wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=no'
15290                           fi
15291
15292 else
15293
15294                           wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=${'DEFAULT_wxUSE_UIACTIONSIMULATOR":-$defaultval}"
15295
15296 fi
15297
15298
15299           eval "$wx_cv_use_uiactionsim"
15300
15301           if test x"$enablestring" = xdisable; then
15302             if test $wxUSE_UIACTIONSIMULATOR = no; then
15303               result=yes
15304             else
15305               result=no
15306             fi
15307           else
15308             result=$wxUSE_UIACTIONSIMULATOR
15309           fi
15310
15311           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15312 $as_echo "$result" >&6; }
15313
15314
15315           enablestring=
15316           defaultval=$wxUSE_ALL_FEATURES
15317           if test -z "$defaultval"; then
15318               if test x"$enablestring" = xdisable; then
15319                   defaultval=yes
15320               else
15321                   defaultval=no
15322               fi
15323           fi
15324
15325           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dctransform" >&5
15326 $as_echo_n "checking for --${enablestring:-enable}-dctransform... " >&6; }
15327           # Check whether --enable-dctransform was given.
15328 if test "${enable_dctransform+set}" = set; then :
15329   enableval=$enable_dctransform;
15330                           if test "$enableval" = yes; then
15331                             wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=yes'
15332                           else
15333                             wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=no'
15334                           fi
15335
15336 else
15337
15338                           wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=${'DEFAULT_wxUSE_DC_TRANSFORM_MATRIX":-$defaultval}"
15339
15340 fi
15341
15342
15343           eval "$wx_cv_use_dctransform"
15344
15345           if test x"$enablestring" = xdisable; then
15346             if test $wxUSE_DC_TRANSFORM_MATRIX = no; then
15347               result=yes
15348             else
15349               result=no
15350             fi
15351           else
15352             result=$wxUSE_DC_TRANSFORM_MATRIX
15353           fi
15354
15355           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15356 $as_echo "$result" >&6; }
15357
15358
15359           enablestring=
15360           defaultval=$wxUSE_ALL_FEATURES
15361           if test -z "$defaultval"; then
15362               if test x"$enablestring" = xdisable; then
15363                   defaultval=yes
15364               else
15365                   defaultval=no
15366               fi
15367           fi
15368
15369           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-webviewwebkit" >&5
15370 $as_echo_n "checking for --${enablestring:-enable}-webviewwebkit... " >&6; }
15371           # Check whether --enable-webviewwebkit was given.
15372 if test "${enable_webviewwebkit+set}" = set; then :
15373   enableval=$enable_webviewwebkit;
15374                           if test "$enableval" = yes; then
15375                             wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT=yes'
15376                           else
15377                             wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT=no'
15378                           fi
15379
15380 else
15381
15382                           wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT=${'DEFAULT_wxUSE_WEBVIEW_WEBKIT":-$defaultval}"
15383
15384 fi
15385
15386
15387           eval "$wx_cv_use_webviewwebkit"
15388
15389           if test x"$enablestring" = xdisable; then
15390             if test $wxUSE_WEBVIEW_WEBKIT = no; then
15391               result=yes
15392             else
15393               result=no
15394             fi
15395           else
15396             result=$wxUSE_WEBVIEW_WEBKIT
15397           fi
15398
15399           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15400 $as_echo "$result" >&6; }
15401
15402
15403
15404
15405           enablestring=
15406           defaultval=$wxUSE_ALL_FEATURES
15407           if test -z "$defaultval"; then
15408               if test x"$enablestring" = xdisable; then
15409                   defaultval=yes
15410               else
15411                   defaultval=no
15412               fi
15413           fi
15414
15415           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-palette" >&5
15416 $as_echo_n "checking for --${enablestring:-enable}-palette... " >&6; }
15417           # Check whether --enable-palette was given.
15418 if test "${enable_palette+set}" = set; then :
15419   enableval=$enable_palette;
15420                           if test "$enableval" = yes; then
15421                             wx_cv_use_palette='wxUSE_PALETTE=yes'
15422                           else
15423                             wx_cv_use_palette='wxUSE_PALETTE=no'
15424                           fi
15425
15426 else
15427
15428                           wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
15429
15430 fi
15431
15432
15433           eval "$wx_cv_use_palette"
15434
15435           if test x"$enablestring" = xdisable; then
15436             if test $wxUSE_PALETTE = no; then
15437               result=yes
15438             else
15439               result=no
15440             fi
15441           else
15442             result=$wxUSE_PALETTE
15443           fi
15444
15445           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15446 $as_echo "$result" >&6; }
15447
15448
15449           enablestring=
15450           defaultval=$wxUSE_ALL_FEATURES
15451           if test -z "$defaultval"; then
15452               if test x"$enablestring" = xdisable; then
15453                   defaultval=yes
15454               else
15455                   defaultval=no
15456               fi
15457           fi
15458
15459           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-image" >&5
15460 $as_echo_n "checking for --${enablestring:-enable}-image... " >&6; }
15461           # Check whether --enable-image was given.
15462 if test "${enable_image+set}" = set; then :
15463   enableval=$enable_image;
15464                           if test "$enableval" = yes; then
15465                             wx_cv_use_image='wxUSE_IMAGE=yes'
15466                           else
15467                             wx_cv_use_image='wxUSE_IMAGE=no'
15468                           fi
15469
15470 else
15471
15472                           wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
15473
15474 fi
15475
15476
15477           eval "$wx_cv_use_image"
15478
15479           if test x"$enablestring" = xdisable; then
15480             if test $wxUSE_IMAGE = no; then
15481               result=yes
15482             else
15483               result=no
15484             fi
15485           else
15486             result=$wxUSE_IMAGE
15487           fi
15488
15489           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15490 $as_echo "$result" >&6; }
15491
15492
15493           enablestring=
15494           defaultval=$wxUSE_ALL_FEATURES
15495           if test -z "$defaultval"; then
15496               if test x"$enablestring" = xdisable; then
15497                   defaultval=yes
15498               else
15499                   defaultval=no
15500               fi
15501           fi
15502
15503           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gif" >&5
15504 $as_echo_n "checking for --${enablestring:-enable}-gif... " >&6; }
15505           # Check whether --enable-gif was given.
15506 if test "${enable_gif+set}" = set; then :
15507   enableval=$enable_gif;
15508                           if test "$enableval" = yes; then
15509                             wx_cv_use_gif='wxUSE_GIF=yes'
15510                           else
15511                             wx_cv_use_gif='wxUSE_GIF=no'
15512                           fi
15513
15514 else
15515
15516                           wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
15517
15518 fi
15519
15520
15521           eval "$wx_cv_use_gif"
15522
15523           if test x"$enablestring" = xdisable; then
15524             if test $wxUSE_GIF = no; then
15525               result=yes
15526             else
15527               result=no
15528             fi
15529           else
15530             result=$wxUSE_GIF
15531           fi
15532
15533           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15534 $as_echo "$result" >&6; }
15535
15536
15537           enablestring=
15538           defaultval=$wxUSE_ALL_FEATURES
15539           if test -z "$defaultval"; then
15540               if test x"$enablestring" = xdisable; then
15541                   defaultval=yes
15542               else
15543                   defaultval=no
15544               fi
15545           fi
15546
15547           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-pcx" >&5
15548 $as_echo_n "checking for --${enablestring:-enable}-pcx... " >&6; }
15549           # Check whether --enable-pcx was given.
15550 if test "${enable_pcx+set}" = set; then :
15551   enableval=$enable_pcx;
15552                           if test "$enableval" = yes; then
15553                             wx_cv_use_pcx='wxUSE_PCX=yes'
15554                           else
15555                             wx_cv_use_pcx='wxUSE_PCX=no'
15556                           fi
15557
15558 else
15559
15560                           wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
15561
15562 fi
15563
15564
15565           eval "$wx_cv_use_pcx"
15566
15567           if test x"$enablestring" = xdisable; then
15568             if test $wxUSE_PCX = no; then
15569               result=yes
15570             else
15571               result=no
15572             fi
15573           else
15574             result=$wxUSE_PCX
15575           fi
15576
15577           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15578 $as_echo "$result" >&6; }
15579
15580
15581           enablestring=
15582           defaultval=$wxUSE_ALL_FEATURES
15583           if test -z "$defaultval"; then
15584               if test x"$enablestring" = xdisable; then
15585                   defaultval=yes
15586               else
15587                   defaultval=no
15588               fi
15589           fi
15590
15591           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tga" >&5
15592 $as_echo_n "checking for --${enablestring:-enable}-tga... " >&6; }
15593           # Check whether --enable-tga was given.
15594 if test "${enable_tga+set}" = set; then :
15595   enableval=$enable_tga;
15596                           if test "$enableval" = yes; then
15597                             wx_cv_use_tga='wxUSE_TGA=yes'
15598                           else
15599                             wx_cv_use_tga='wxUSE_TGA=no'
15600                           fi
15601
15602 else
15603
15604                           wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
15605
15606 fi
15607
15608
15609           eval "$wx_cv_use_tga"
15610
15611           if test x"$enablestring" = xdisable; then
15612             if test $wxUSE_TGA = no; then
15613               result=yes
15614             else
15615               result=no
15616             fi
15617           else
15618             result=$wxUSE_TGA
15619           fi
15620
15621           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15622 $as_echo "$result" >&6; }
15623
15624
15625           enablestring=
15626           defaultval=$wxUSE_ALL_FEATURES
15627           if test -z "$defaultval"; then
15628               if test x"$enablestring" = xdisable; then
15629                   defaultval=yes
15630               else
15631                   defaultval=no
15632               fi
15633           fi
15634
15635           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-iff" >&5
15636 $as_echo_n "checking for --${enablestring:-enable}-iff... " >&6; }
15637           # Check whether --enable-iff was given.
15638 if test "${enable_iff+set}" = set; then :
15639   enableval=$enable_iff;
15640                           if test "$enableval" = yes; then
15641                             wx_cv_use_iff='wxUSE_IFF=yes'
15642                           else
15643                             wx_cv_use_iff='wxUSE_IFF=no'
15644                           fi
15645
15646 else
15647
15648                           wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
15649
15650 fi
15651
15652
15653           eval "$wx_cv_use_iff"
15654
15655           if test x"$enablestring" = xdisable; then
15656             if test $wxUSE_IFF = no; then
15657               result=yes
15658             else
15659               result=no
15660             fi
15661           else
15662             result=$wxUSE_IFF
15663           fi
15664
15665           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15666 $as_echo "$result" >&6; }
15667
15668
15669           enablestring=
15670           defaultval=$wxUSE_ALL_FEATURES
15671           if test -z "$defaultval"; then
15672               if test x"$enablestring" = xdisable; then
15673                   defaultval=yes
15674               else
15675                   defaultval=no
15676               fi
15677           fi
15678
15679           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-pnm" >&5
15680 $as_echo_n "checking for --${enablestring:-enable}-pnm... " >&6; }
15681           # Check whether --enable-pnm was given.
15682 if test "${enable_pnm+set}" = set; then :
15683   enableval=$enable_pnm;
15684                           if test "$enableval" = yes; then
15685                             wx_cv_use_pnm='wxUSE_PNM=yes'
15686                           else
15687                             wx_cv_use_pnm='wxUSE_PNM=no'
15688                           fi
15689
15690 else
15691
15692                           wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
15693
15694 fi
15695
15696
15697           eval "$wx_cv_use_pnm"
15698
15699           if test x"$enablestring" = xdisable; then
15700             if test $wxUSE_PNM = no; then
15701               result=yes
15702             else
15703               result=no
15704             fi
15705           else
15706             result=$wxUSE_PNM
15707           fi
15708
15709           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15710 $as_echo "$result" >&6; }
15711
15712
15713           enablestring=
15714           defaultval=$wxUSE_ALL_FEATURES
15715           if test -z "$defaultval"; then
15716               if test x"$enablestring" = xdisable; then
15717                   defaultval=yes
15718               else
15719                   defaultval=no
15720               fi
15721           fi
15722
15723           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-xpm" >&5
15724 $as_echo_n "checking for --${enablestring:-enable}-xpm... " >&6; }
15725           # Check whether --enable-xpm was given.
15726 if test "${enable_xpm+set}" = set; then :
15727   enableval=$enable_xpm;
15728                           if test "$enableval" = yes; then
15729                             wx_cv_use_xpm='wxUSE_XPM=yes'
15730                           else
15731                             wx_cv_use_xpm='wxUSE_XPM=no'
15732                           fi
15733
15734 else
15735
15736                           wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
15737
15738 fi
15739
15740
15741           eval "$wx_cv_use_xpm"
15742
15743           if test x"$enablestring" = xdisable; then
15744             if test $wxUSE_XPM = no; then
15745               result=yes
15746             else
15747               result=no
15748             fi
15749           else
15750             result=$wxUSE_XPM
15751           fi
15752
15753           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15754 $as_echo "$result" >&6; }
15755
15756
15757           enablestring=
15758           defaultval=$wxUSE_ALL_FEATURES
15759           if test -z "$defaultval"; then
15760               if test x"$enablestring" = xdisable; then
15761                   defaultval=yes
15762               else
15763                   defaultval=no
15764               fi
15765           fi
15766
15767           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ico_cur" >&5
15768 $as_echo_n "checking for --${enablestring:-enable}-ico_cur... " >&6; }
15769           # Check whether --enable-ico_cur was given.
15770 if test "${enable_ico_cur+set}" = set; then :
15771   enableval=$enable_ico_cur;
15772                           if test "$enableval" = yes; then
15773                             wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
15774                           else
15775                             wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
15776                           fi
15777
15778 else
15779
15780                           wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
15781
15782 fi
15783
15784
15785           eval "$wx_cv_use_ico_cur"
15786
15787           if test x"$enablestring" = xdisable; then
15788             if test $wxUSE_ICO_CUR = no; then
15789               result=yes
15790             else
15791               result=no
15792             fi
15793           else
15794             result=$wxUSE_ICO_CUR
15795           fi
15796
15797           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15798 $as_echo "$result" >&6; }
15799
15800
15801
15802
15803           enablestring=
15804           defaultval=$wxUSE_ALL_FEATURES
15805           if test -z "$defaultval"; then
15806               if test x"$enablestring" = xdisable; then
15807                   defaultval=yes
15808               else
15809                   defaultval=no
15810               fi
15811           fi
15812
15813           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dccache" >&5
15814 $as_echo_n "checking for --${enablestring:-enable}-dccache... " >&6; }
15815           # Check whether --enable-dccache was given.
15816 if test "${enable_dccache+set}" = set; then :
15817   enableval=$enable_dccache;
15818                           if test "$enableval" = yes; then
15819                             wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
15820                           else
15821                             wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
15822                           fi
15823
15824 else
15825
15826                           wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
15827
15828 fi
15829
15830
15831           eval "$wx_cv_use_dccache"
15832
15833           if test x"$enablestring" = xdisable; then
15834             if test $wxUSE_DC_CACHEING = no; then
15835               result=yes
15836             else
15837               result=no
15838             fi
15839           else
15840             result=$wxUSE_DC_CACHEING
15841           fi
15842
15843           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15844 $as_echo "$result" >&6; }
15845
15846
15847           enablestring=
15848           defaultval=$wxUSE_ALL_FEATURES
15849           if test -z "$defaultval"; then
15850               if test x"$enablestring" = xdisable; then
15851                   defaultval=yes
15852               else
15853                   defaultval=no
15854               fi
15855           fi
15856
15857           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ps-in-msw" >&5
15858 $as_echo_n "checking for --${enablestring:-enable}-ps-in-msw... " >&6; }
15859           # Check whether --enable-ps-in-msw was given.
15860 if test "${enable_ps_in_msw+set}" = set; then :
15861   enableval=$enable_ps_in_msw;
15862                           if test "$enableval" = yes; then
15863                             wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
15864                           else
15865                             wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
15866                           fi
15867
15868 else
15869
15870                           wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
15871
15872 fi
15873
15874
15875           eval "$wx_cv_use_ps_in_msw"
15876
15877           if test x"$enablestring" = xdisable; then
15878             if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = no; then
15879               result=yes
15880             else
15881               result=no
15882             fi
15883           else
15884             result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
15885           fi
15886
15887           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15888 $as_echo "$result" >&6; }
15889
15890
15891           enablestring=
15892           defaultval=$wxUSE_ALL_FEATURES
15893           if test -z "$defaultval"; then
15894               if test x"$enablestring" = xdisable; then
15895                   defaultval=yes
15896               else
15897                   defaultval=no
15898               fi
15899           fi
15900
15901           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ownerdrawn" >&5
15902 $as_echo_n "checking for --${enablestring:-enable}-ownerdrawn... " >&6; }
15903           # Check whether --enable-ownerdrawn was given.
15904 if test "${enable_ownerdrawn+set}" = set; then :
15905   enableval=$enable_ownerdrawn;
15906                           if test "$enableval" = yes; then
15907                             wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
15908                           else
15909                             wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
15910                           fi
15911
15912 else
15913
15914                           wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
15915
15916 fi
15917
15918
15919           eval "$wx_cv_use_ownerdrawn"
15920
15921           if test x"$enablestring" = xdisable; then
15922             if test $wxUSE_OWNER_DRAWN = no; then
15923               result=yes
15924             else
15925               result=no
15926             fi
15927           else
15928             result=$wxUSE_OWNER_DRAWN
15929           fi
15930
15931           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15932 $as_echo "$result" >&6; }
15933
15934
15935           enablestring=
15936           defaultval=$wxUSE_ALL_FEATURES
15937           if test -z "$defaultval"; then
15938               if test x"$enablestring" = xdisable; then
15939                   defaultval=yes
15940               else
15941                   defaultval=no
15942               fi
15943           fi
15944
15945           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-uxtheme" >&5
15946 $as_echo_n "checking for --${enablestring:-enable}-uxtheme... " >&6; }
15947           # Check whether --enable-uxtheme was given.
15948 if test "${enable_uxtheme+set}" = set; then :
15949   enableval=$enable_uxtheme;
15950                           if test "$enableval" = yes; then
15951                             wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
15952                           else
15953                             wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
15954                           fi
15955
15956 else
15957
15958                           wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
15959
15960 fi
15961
15962
15963           eval "$wx_cv_use_uxtheme"
15964
15965           if test x"$enablestring" = xdisable; then
15966             if test $wxUSE_UXTHEME = no; then
15967               result=yes
15968             else
15969               result=no
15970             fi
15971           else
15972             result=$wxUSE_UXTHEME
15973           fi
15974
15975           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15976 $as_echo "$result" >&6; }
15977
15978
15979           enablestring=
15980           defaultval=$wxUSE_ALL_FEATURES
15981           if test -z "$defaultval"; then
15982               if test x"$enablestring" = xdisable; then
15983                   defaultval=yes
15984               else
15985                   defaultval=no
15986               fi
15987           fi
15988
15989           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-wxdib" >&5
15990 $as_echo_n "checking for --${enablestring:-enable}-wxdib... " >&6; }
15991           # Check whether --enable-wxdib was given.
15992 if test "${enable_wxdib+set}" = set; then :
15993   enableval=$enable_wxdib;
15994                           if test "$enableval" = yes; then
15995                             wx_cv_use_wxdib='wxUSE_DIB=yes'
15996                           else
15997                             wx_cv_use_wxdib='wxUSE_DIB=no'
15998                           fi
15999
16000 else
16001
16002                           wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
16003
16004 fi
16005
16006
16007           eval "$wx_cv_use_wxdib"
16008
16009           if test x"$enablestring" = xdisable; then
16010             if test $wxUSE_DIB = no; then
16011               result=yes
16012             else
16013               result=no
16014             fi
16015           else
16016             result=$wxUSE_DIB
16017           fi
16018
16019           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16020 $as_echo "$result" >&6; }
16021
16022
16023           enablestring=
16024           defaultval=$wxUSE_ALL_FEATURES
16025           if test -z "$defaultval"; then
16026               if test x"$enablestring" = xdisable; then
16027                   defaultval=yes
16028               else
16029                   defaultval=no
16030               fi
16031           fi
16032
16033           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-webviewie" >&5
16034 $as_echo_n "checking for --${enablestring:-enable}-webviewie... " >&6; }
16035           # Check whether --enable-webviewie was given.
16036 if test "${enable_webviewie+set}" = set; then :
16037   enableval=$enable_webviewie;
16038                           if test "$enableval" = yes; then
16039                             wx_cv_use_webviewie='wxUSE_WEBVIEW_IE=yes'
16040                           else
16041                             wx_cv_use_webviewie='wxUSE_WEBVIEW_IE=no'
16042                           fi
16043
16044 else
16045
16046                           wx_cv_use_webviewie='wxUSE_WEBVIEW_IE=${'DEFAULT_wxUSE_WEBVIEW_IE":-$defaultval}"
16047
16048 fi
16049
16050
16051           eval "$wx_cv_use_webviewie"
16052
16053           if test x"$enablestring" = xdisable; then
16054             if test $wxUSE_WEBVIEW_IE = no; then
16055               result=yes
16056             else
16057               result=no
16058             fi
16059           else
16060             result=$wxUSE_WEBVIEW_IE
16061           fi
16062
16063           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16064 $as_echo "$result" >&6; }
16065
16066
16067 if test "$wxUSE_MSW" != 1; then
16068     DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
16069 fi
16070
16071
16072           enablestring=
16073           defaultval=$wxUSE_ALL_FEATURES
16074           if test -z "$defaultval"; then
16075               if test x"$enablestring" = xdisable; then
16076                   defaultval=yes
16077               else
16078                   defaultval=no
16079               fi
16080           fi
16081
16082           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-autoidman" >&5
16083 $as_echo_n "checking for --${enablestring:-enable}-autoidman... " >&6; }
16084           # Check whether --enable-autoidman was given.
16085 if test "${enable_autoidman+set}" = set; then :
16086   enableval=$enable_autoidman;
16087                           if test "$enableval" = yes; then
16088                             wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=yes'
16089                           else
16090                             wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=no'
16091                           fi
16092
16093 else
16094
16095                           wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
16096
16097 fi
16098
16099
16100           eval "$wx_cv_use_autoidman"
16101
16102           if test x"$enablestring" = xdisable; then
16103             if test $wxUSE_AUTOID_MANAGEMENT = no; then
16104               result=yes
16105             else
16106               result=no
16107             fi
16108           else
16109             result=$wxUSE_AUTOID_MANAGEMENT
16110           fi
16111
16112           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16113 $as_echo "$result" >&6; }
16114
16115
16116 fi
16117
16118
16119 cat >confcache <<\_ACEOF
16120 # This file is a shell script that caches the results of configure
16121 # tests run on this system so they can be shared between configure
16122 # scripts and configure runs, see configure's option --config-cache.
16123 # It is not useful on other systems.  If it contains results you don't
16124 # want to keep, you may remove or edit it.
16125 #
16126 # config.status only pays attention to the cache file if you give it
16127 # the --recheck option to rerun configure.
16128 #
16129 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16130 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16131 # following values.
16132
16133 _ACEOF
16134
16135 # The following way of writing the cache mishandles newlines in values,
16136 # but we know of no workaround that is simple, portable, and efficient.
16137 # So, we kill variables containing newlines.
16138 # Ultrix sh set writes to stderr and can't be redirected directly,
16139 # and sets the high bit in the cache file unless we assign to the vars.
16140 (
16141   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16142     eval ac_val=\$$ac_var
16143     case $ac_val in #(
16144     *${as_nl}*)
16145       case $ac_var in #(
16146       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16147 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16148       esac
16149       case $ac_var in #(
16150       _ | IFS | as_nl) ;; #(
16151       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
16152       *) { eval $ac_var=; unset $ac_var;} ;;
16153       esac ;;
16154     esac
16155   done
16156
16157   (set) 2>&1 |
16158     case $as_nl`(ac_space=' '; set) 2>&1` in #(
16159     *${as_nl}ac_space=\ *)
16160       # `set' does not quote correctly, so add quotes: double-quote
16161       # substitution turns \\\\ into \\, and sed turns \\ into \.
16162       sed -n \
16163         "s/'/'\\\\''/g;
16164           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16165       ;; #(
16166     *)
16167       # `set' quotes correctly as required by POSIX, so do not add quotes.
16168       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16169       ;;
16170     esac |
16171     sort
16172 ) |
16173   sed '
16174      /^ac_cv_env_/b end
16175      t clear
16176      :clear
16177      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16178      t end
16179      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16180      :end' >>confcache
16181 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16182   if test -w "$cache_file"; then
16183     test "x$cache_file" != "x/dev/null" &&
16184       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16185 $as_echo "$as_me: updating cache $cache_file" >&6;}
16186     cat confcache >$cache_file
16187   else
16188     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16189 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16190   fi
16191 fi
16192 rm -f confcache
16193
16194 CFLAGS=${CFLAGS:=}
16195 ac_ext=c
16196 ac_cpp='$CPP $CPPFLAGS'
16197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16200 if test -n "$ac_tool_prefix"; then
16201   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
16202 set dummy ${ac_tool_prefix}gcc; ac_word=$2
16203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16204 $as_echo_n "checking for $ac_word... " >&6; }
16205 if test "${ac_cv_prog_CC+set}" = set; then :
16206   $as_echo_n "(cached) " >&6
16207 else
16208   if test -n "$CC"; then
16209   ac_cv_prog_CC="$CC" # Let the user override the test.
16210 else
16211 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16212 for as_dir in $PATH
16213 do
16214   IFS=$as_save_IFS
16215   test -z "$as_dir" && as_dir=.
16216     for ac_exec_ext in '' $ac_executable_extensions; do
16217   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16218     ac_cv_prog_CC="${ac_tool_prefix}gcc"
16219     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16220     break 2
16221   fi
16222 done
16223   done
16224 IFS=$as_save_IFS
16225
16226 fi
16227 fi
16228 CC=$ac_cv_prog_CC
16229 if test -n "$CC"; then
16230   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16231 $as_echo "$CC" >&6; }
16232 else
16233   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16234 $as_echo "no" >&6; }
16235 fi
16236
16237
16238 fi
16239 if test -z "$ac_cv_prog_CC"; then
16240   ac_ct_CC=$CC
16241   # Extract the first word of "gcc", so it can be a program name with args.
16242 set dummy gcc; ac_word=$2
16243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16244 $as_echo_n "checking for $ac_word... " >&6; }
16245 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
16246   $as_echo_n "(cached) " >&6
16247 else
16248   if test -n "$ac_ct_CC"; then
16249   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
16250 else
16251 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16252 for as_dir in $PATH
16253 do
16254   IFS=$as_save_IFS
16255   test -z "$as_dir" && as_dir=.
16256     for ac_exec_ext in '' $ac_executable_extensions; do
16257   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16258     ac_cv_prog_ac_ct_CC="gcc"
16259     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16260     break 2
16261   fi
16262 done
16263   done
16264 IFS=$as_save_IFS
16265
16266 fi
16267 fi
16268 ac_ct_CC=$ac_cv_prog_ac_ct_CC
16269 if test -n "$ac_ct_CC"; then
16270   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
16271 $as_echo "$ac_ct_CC" >&6; }
16272 else
16273   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16274 $as_echo "no" >&6; }
16275 fi
16276
16277   if test "x$ac_ct_CC" = x; then
16278     CC=""
16279   else
16280     case $cross_compiling:$ac_tool_warned in
16281 yes:)
16282 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16283 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16284 ac_tool_warned=yes ;;
16285 esac
16286     CC=$ac_ct_CC
16287   fi
16288 else
16289   CC="$ac_cv_prog_CC"
16290 fi
16291
16292 if test -z "$CC"; then
16293           if test -n "$ac_tool_prefix"; then
16294     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
16295 set dummy ${ac_tool_prefix}cc; ac_word=$2
16296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16297 $as_echo_n "checking for $ac_word... " >&6; }
16298 if test "${ac_cv_prog_CC+set}" = set; then :
16299   $as_echo_n "(cached) " >&6
16300 else
16301   if test -n "$CC"; then
16302   ac_cv_prog_CC="$CC" # Let the user override the test.
16303 else
16304 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16305 for as_dir in $PATH
16306 do
16307   IFS=$as_save_IFS
16308   test -z "$as_dir" && as_dir=.
16309     for ac_exec_ext in '' $ac_executable_extensions; do
16310   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16311     ac_cv_prog_CC="${ac_tool_prefix}cc"
16312     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16313     break 2
16314   fi
16315 done
16316   done
16317 IFS=$as_save_IFS
16318
16319 fi
16320 fi
16321 CC=$ac_cv_prog_CC
16322 if test -n "$CC"; then
16323   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16324 $as_echo "$CC" >&6; }
16325 else
16326   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16327 $as_echo "no" >&6; }
16328 fi
16329
16330
16331   fi
16332 fi
16333 if test -z "$CC"; then
16334   # Extract the first word of "cc", so it can be a program name with args.
16335 set dummy cc; ac_word=$2
16336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16337 $as_echo_n "checking for $ac_word... " >&6; }
16338 if test "${ac_cv_prog_CC+set}" = set; then :
16339   $as_echo_n "(cached) " >&6
16340 else
16341   if test -n "$CC"; then
16342   ac_cv_prog_CC="$CC" # Let the user override the test.
16343 else
16344   ac_prog_rejected=no
16345 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16346 for as_dir in $PATH
16347 do
16348   IFS=$as_save_IFS
16349   test -z "$as_dir" && as_dir=.
16350     for ac_exec_ext in '' $ac_executable_extensions; do
16351   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16352     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
16353        ac_prog_rejected=yes
16354        continue
16355      fi
16356     ac_cv_prog_CC="cc"
16357     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16358     break 2
16359   fi
16360 done
16361   done
16362 IFS=$as_save_IFS
16363
16364 if test $ac_prog_rejected = yes; then
16365   # We found a bogon in the path, so make sure we never use it.
16366   set dummy $ac_cv_prog_CC
16367   shift
16368   if test $# != 0; then
16369     # We chose a different compiler from the bogus one.
16370     # However, it has the same basename, so the bogon will be chosen
16371     # first if we set CC to just the basename; use the full file name.
16372     shift
16373     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
16374   fi
16375 fi
16376 fi
16377 fi
16378 CC=$ac_cv_prog_CC
16379 if test -n "$CC"; then
16380   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16381 $as_echo "$CC" >&6; }
16382 else
16383   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16384 $as_echo "no" >&6; }
16385 fi
16386
16387
16388 fi
16389 if test -z "$CC"; then
16390   if test -n "$ac_tool_prefix"; then
16391   for ac_prog in cl.exe
16392   do
16393     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16394 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16396 $as_echo_n "checking for $ac_word... " >&6; }
16397 if test "${ac_cv_prog_CC+set}" = set; then :
16398   $as_echo_n "(cached) " >&6
16399 else
16400   if test -n "$CC"; then
16401   ac_cv_prog_CC="$CC" # Let the user override the test.
16402 else
16403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16404 for as_dir in $PATH
16405 do
16406   IFS=$as_save_IFS
16407   test -z "$as_dir" && as_dir=.
16408     for ac_exec_ext in '' $ac_executable_extensions; do
16409   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16410     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
16411     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16412     break 2
16413   fi
16414 done
16415   done
16416 IFS=$as_save_IFS
16417
16418 fi
16419 fi
16420 CC=$ac_cv_prog_CC
16421 if test -n "$CC"; then
16422   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16423 $as_echo "$CC" >&6; }
16424 else
16425   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16426 $as_echo "no" >&6; }
16427 fi
16428
16429
16430     test -n "$CC" && break
16431   done
16432 fi
16433 if test -z "$CC"; then
16434   ac_ct_CC=$CC
16435   for ac_prog in cl.exe
16436 do
16437   # Extract the first word of "$ac_prog", so it can be a program name with args.
16438 set dummy $ac_prog; ac_word=$2
16439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16440 $as_echo_n "checking for $ac_word... " >&6; }
16441 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
16442   $as_echo_n "(cached) " >&6
16443 else
16444   if test -n "$ac_ct_CC"; then
16445   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
16446 else
16447 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16448 for as_dir in $PATH
16449 do
16450   IFS=$as_save_IFS
16451   test -z "$as_dir" && as_dir=.
16452     for ac_exec_ext in '' $ac_executable_extensions; do
16453   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16454     ac_cv_prog_ac_ct_CC="$ac_prog"
16455     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16456     break 2
16457   fi
16458 done
16459   done
16460 IFS=$as_save_IFS
16461
16462 fi
16463 fi
16464 ac_ct_CC=$ac_cv_prog_ac_ct_CC
16465 if test -n "$ac_ct_CC"; then
16466   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
16467 $as_echo "$ac_ct_CC" >&6; }
16468 else
16469   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16470 $as_echo "no" >&6; }
16471 fi
16472
16473
16474   test -n "$ac_ct_CC" && break
16475 done
16476
16477   if test "x$ac_ct_CC" = x; then
16478     CC=""
16479   else
16480     case $cross_compiling:$ac_tool_warned in
16481 yes:)
16482 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16483 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16484 ac_tool_warned=yes ;;
16485 esac
16486     CC=$ac_ct_CC
16487   fi
16488 fi
16489
16490 fi
16491
16492
16493 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16494 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16495 as_fn_error $? "no acceptable C compiler found in \$PATH
16496 See \`config.log' for more details" "$LINENO" 5 ; }
16497
16498 # Provide some information about the compiler.
16499 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
16500 set X $ac_compile
16501 ac_compiler=$2
16502 for ac_option in --version -v -V -qversion; do
16503   { { ac_try="$ac_compiler $ac_option >&5"
16504 case "(($ac_try" in
16505   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16506   *) ac_try_echo=$ac_try;;
16507 esac
16508 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16509 $as_echo "$ac_try_echo"; } >&5
16510   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
16511   ac_status=$?
16512   if test -s conftest.err; then
16513     sed '10a\
16514 ... rest of stderr output deleted ...
16515          10q' conftest.err >conftest.er1
16516     cat conftest.er1 >&5
16517   fi
16518   rm -f conftest.er1 conftest.err
16519   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16520   test $ac_status = 0; }
16521 done
16522
16523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16524 /* end confdefs.h.  */
16525
16526 int
16527 main ()
16528 {
16529
16530   ;
16531   return 0;
16532 }
16533 _ACEOF
16534 ac_clean_files_save=$ac_clean_files
16535 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
16536 # Try to create an executable without -o first, disregard a.out.
16537 # It will help us diagnose broken compilers, and finding out an intuition
16538 # of exeext.
16539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
16540 $as_echo_n "checking whether the C compiler works... " >&6; }
16541 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
16542
16543 # The possible output files:
16544 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
16545
16546 ac_rmfiles=
16547 for ac_file in $ac_files
16548 do
16549   case $ac_file in
16550     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
16551     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
16552   esac
16553 done
16554 rm -f $ac_rmfiles
16555
16556 if { { ac_try="$ac_link_default"
16557 case "(($ac_try" in
16558   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16559   *) ac_try_echo=$ac_try;;
16560 esac
16561 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16562 $as_echo "$ac_try_echo"; } >&5
16563   (eval "$ac_link_default") 2>&5
16564   ac_status=$?
16565   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16566   test $ac_status = 0; }; then :
16567   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
16568 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
16569 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
16570 # so that the user can short-circuit this test for compilers unknown to
16571 # Autoconf.
16572 for ac_file in $ac_files ''
16573 do
16574   test -f "$ac_file" || continue
16575   case $ac_file in
16576     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
16577         ;;
16578     [ab].out )
16579         # We found the default executable, but exeext='' is most
16580         # certainly right.
16581         break;;
16582     *.* )
16583         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
16584         then :; else
16585            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
16586         fi
16587         # We set ac_cv_exeext here because the later test for it is not
16588         # safe: cross compilers may not add the suffix if given an `-o'
16589         # argument, so we may need to know it at that point already.
16590         # Even if this section looks crufty: it has the advantage of
16591         # actually working.
16592         break;;
16593     * )
16594         break;;
16595   esac
16596 done
16597 test "$ac_cv_exeext" = no && ac_cv_exeext=
16598
16599 else
16600   ac_file=''
16601 fi
16602 if test -z "$ac_file"; then :
16603   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16604 $as_echo "no" >&6; }
16605 $as_echo "$as_me: failed program was:" >&5
16606 sed 's/^/| /' conftest.$ac_ext >&5
16607
16608 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16609 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16610 as_fn_error 77 "C compiler cannot create executables
16611 See \`config.log' for more details" "$LINENO" 5 ; }
16612 else
16613   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16614 $as_echo "yes" >&6; }
16615 fi
16616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
16617 $as_echo_n "checking for C compiler default output file name... " >&6; }
16618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
16619 $as_echo "$ac_file" >&6; }
16620 ac_exeext=$ac_cv_exeext
16621
16622 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
16623 ac_clean_files=$ac_clean_files_save
16624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
16625 $as_echo_n "checking for suffix of executables... " >&6; }
16626 if { { ac_try="$ac_link"
16627 case "(($ac_try" in
16628   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16629   *) ac_try_echo=$ac_try;;
16630 esac
16631 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16632 $as_echo "$ac_try_echo"; } >&5
16633   (eval "$ac_link") 2>&5
16634   ac_status=$?
16635   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16636   test $ac_status = 0; }; then :
16637   # If both `conftest.exe' and `conftest' are `present' (well, observable)
16638 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
16639 # work properly (i.e., refer to `conftest.exe'), while it won't with
16640 # `rm'.
16641 for ac_file in conftest.exe conftest conftest.*; do
16642   test -f "$ac_file" || continue
16643   case $ac_file in
16644     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
16645     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
16646           break;;
16647     * ) break;;
16648   esac
16649 done
16650 else
16651   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16652 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16653 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
16654 See \`config.log' for more details" "$LINENO" 5 ; }
16655 fi
16656 rm -f conftest conftest$ac_cv_exeext
16657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
16658 $as_echo "$ac_cv_exeext" >&6; }
16659
16660 rm -f conftest.$ac_ext
16661 EXEEXT=$ac_cv_exeext
16662 ac_exeext=$EXEEXT
16663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16664 /* end confdefs.h.  */
16665 #include <stdio.h>
16666 int
16667 main ()
16668 {
16669 FILE *f = fopen ("conftest.out", "w");
16670  return ferror (f) || fclose (f) != 0;
16671
16672   ;
16673   return 0;
16674 }
16675 _ACEOF
16676 ac_clean_files="$ac_clean_files conftest.out"
16677 # Check that the compiler produces executables we can run.  If not, either
16678 # the compiler is broken, or we cross compile.
16679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
16680 $as_echo_n "checking whether we are cross compiling... " >&6; }
16681 if test "$cross_compiling" != yes; then
16682   { { ac_try="$ac_link"
16683 case "(($ac_try" in
16684   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16685   *) ac_try_echo=$ac_try;;
16686 esac
16687 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16688 $as_echo "$ac_try_echo"; } >&5
16689   (eval "$ac_link") 2>&5
16690   ac_status=$?
16691   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16692   test $ac_status = 0; }
16693   if { ac_try='./conftest$ac_cv_exeext'
16694   { { case "(($ac_try" in
16695   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16696   *) ac_try_echo=$ac_try;;
16697 esac
16698 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16699 $as_echo "$ac_try_echo"; } >&5
16700   (eval "$ac_try") 2>&5
16701   ac_status=$?
16702   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16703   test $ac_status = 0; }; }; then
16704     cross_compiling=no
16705   else
16706     if test "$cross_compiling" = maybe; then
16707         cross_compiling=yes
16708     else
16709         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16710 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16711 as_fn_error $? "cannot run C compiled programs.
16712 If you meant to cross compile, use \`--host'.
16713 See \`config.log' for more details" "$LINENO" 5 ; }
16714     fi
16715   fi
16716 fi
16717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
16718 $as_echo "$cross_compiling" >&6; }
16719
16720 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
16721 ac_clean_files=$ac_clean_files_save
16722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
16723 $as_echo_n "checking for suffix of object files... " >&6; }
16724 if test "${ac_cv_objext+set}" = set; then :
16725   $as_echo_n "(cached) " >&6
16726 else
16727   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16728 /* end confdefs.h.  */
16729
16730 int
16731 main ()
16732 {
16733
16734   ;
16735   return 0;
16736 }
16737 _ACEOF
16738 rm -f conftest.o conftest.obj
16739 if { { ac_try="$ac_compile"
16740 case "(($ac_try" in
16741   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16742   *) ac_try_echo=$ac_try;;
16743 esac
16744 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16745 $as_echo "$ac_try_echo"; } >&5
16746   (eval "$ac_compile") 2>&5
16747   ac_status=$?
16748   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16749   test $ac_status = 0; }; then :
16750   for ac_file in conftest.o conftest.obj conftest.*; do
16751   test -f "$ac_file" || continue;
16752   case $ac_file in
16753     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
16754     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
16755        break;;
16756   esac
16757 done
16758 else
16759   $as_echo "$as_me: failed program was:" >&5
16760 sed 's/^/| /' conftest.$ac_ext >&5
16761
16762 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16763 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16764 as_fn_error $? "cannot compute suffix of object files: cannot compile
16765 See \`config.log' for more details" "$LINENO" 5 ; }
16766 fi
16767 rm -f conftest.$ac_cv_objext conftest.$ac_ext
16768 fi
16769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
16770 $as_echo "$ac_cv_objext" >&6; }
16771 OBJEXT=$ac_cv_objext
16772 ac_objext=$OBJEXT
16773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
16774 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
16775 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
16776   $as_echo_n "(cached) " >&6
16777 else
16778   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16779 /* end confdefs.h.  */
16780
16781 int
16782 main ()
16783 {
16784 #ifndef __GNUC__
16785        choke me
16786 #endif
16787
16788   ;
16789   return 0;
16790 }
16791 _ACEOF
16792 if ac_fn_c_try_compile "$LINENO"; then :
16793   ac_compiler_gnu=yes
16794 else
16795   ac_compiler_gnu=no
16796 fi
16797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16798 ac_cv_c_compiler_gnu=$ac_compiler_gnu
16799
16800 fi
16801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
16802 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
16803 if test $ac_compiler_gnu = yes; then
16804   GCC=yes
16805 else
16806   GCC=
16807 fi
16808 ac_test_CFLAGS=${CFLAGS+set}
16809 ac_save_CFLAGS=$CFLAGS
16810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
16811 $as_echo_n "checking whether $CC accepts -g... " >&6; }
16812 if test "${ac_cv_prog_cc_g+set}" = set; then :
16813   $as_echo_n "(cached) " >&6
16814 else
16815   ac_save_c_werror_flag=$ac_c_werror_flag
16816    ac_c_werror_flag=yes
16817    ac_cv_prog_cc_g=no
16818    CFLAGS="-g"
16819    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16820 /* end confdefs.h.  */
16821
16822 int
16823 main ()
16824 {
16825
16826   ;
16827   return 0;
16828 }
16829 _ACEOF
16830 if ac_fn_c_try_compile "$LINENO"; then :
16831   ac_cv_prog_cc_g=yes
16832 else
16833   CFLAGS=""
16834       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16835 /* end confdefs.h.  */
16836
16837 int
16838 main ()
16839 {
16840
16841   ;
16842   return 0;
16843 }
16844 _ACEOF
16845 if ac_fn_c_try_compile "$LINENO"; then :
16846
16847 else
16848   ac_c_werror_flag=$ac_save_c_werror_flag
16849          CFLAGS="-g"
16850          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16851 /* end confdefs.h.  */
16852
16853 int
16854 main ()
16855 {
16856
16857   ;
16858   return 0;
16859 }
16860 _ACEOF
16861 if ac_fn_c_try_compile "$LINENO"; then :
16862   ac_cv_prog_cc_g=yes
16863 fi
16864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16865 fi
16866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16867 fi
16868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16869    ac_c_werror_flag=$ac_save_c_werror_flag
16870 fi
16871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
16872 $as_echo "$ac_cv_prog_cc_g" >&6; }
16873 if test "$ac_test_CFLAGS" = set; then
16874   CFLAGS=$ac_save_CFLAGS
16875 elif test $ac_cv_prog_cc_g = yes; then
16876   if test "$GCC" = yes; then
16877     CFLAGS="-g -O2"
16878   else
16879     CFLAGS="-g"
16880   fi
16881 else
16882   if test "$GCC" = yes; then
16883     CFLAGS="-O2"
16884   else
16885     CFLAGS=
16886   fi
16887 fi
16888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
16889 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
16890 if test "${ac_cv_prog_cc_c89+set}" = set; then :
16891   $as_echo_n "(cached) " >&6
16892 else
16893   ac_cv_prog_cc_c89=no
16894 ac_save_CC=$CC
16895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16896 /* end confdefs.h.  */
16897 #include <stdarg.h>
16898 #include <stdio.h>
16899 #include <sys/types.h>
16900 #include <sys/stat.h>
16901 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
16902 struct buf { int x; };
16903 FILE * (*rcsopen) (struct buf *, struct stat *, int);
16904 static char *e (p, i)
16905      char **p;
16906      int i;
16907 {
16908   return p[i];
16909 }
16910 static char *f (char * (*g) (char **, int), char **p, ...)
16911 {
16912   char *s;
16913   va_list v;
16914   va_start (v,p);
16915   s = g (p, va_arg (v,int));
16916   va_end (v);
16917   return s;
16918 }
16919
16920 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
16921    function prototypes and stuff, but not '\xHH' hex character constants.
16922    These don't provoke an error unfortunately, instead are silently treated
16923    as 'x'.  The following induces an error, until -std is added to get
16924    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
16925    array size at least.  It's necessary to write '\x00'==0 to get something
16926    that's true only with -std.  */
16927 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
16928
16929 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
16930    inside strings and character constants.  */
16931 #define FOO(x) 'x'
16932 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
16933
16934 int test (int i, double x);
16935 struct s1 {int (*f) (int a);};
16936 struct s2 {int (*f) (double a);};
16937 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
16938 int argc;
16939 char **argv;
16940 int
16941 main ()
16942 {
16943 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
16944   ;
16945   return 0;
16946 }
16947 _ACEOF
16948 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
16949         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
16950 do
16951   CC="$ac_save_CC $ac_arg"
16952   if ac_fn_c_try_compile "$LINENO"; then :
16953   ac_cv_prog_cc_c89=$ac_arg
16954 fi
16955 rm -f core conftest.err conftest.$ac_objext
16956   test "x$ac_cv_prog_cc_c89" != "xno" && break
16957 done
16958 rm -f conftest.$ac_ext
16959 CC=$ac_save_CC
16960
16961 fi
16962 # AC_CACHE_VAL
16963 case "x$ac_cv_prog_cc_c89" in
16964   x)
16965     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
16966 $as_echo "none needed" >&6; } ;;
16967   xno)
16968     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
16969 $as_echo "unsupported" >&6; } ;;
16970   *)
16971     CC="$CC $ac_cv_prog_cc_c89"
16972     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
16973 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
16974 esac
16975 if test "x$ac_cv_prog_cc_c89" != xno; then :
16976
16977 fi
16978
16979 ac_ext=c
16980 ac_cpp='$CPP $CPPFLAGS'
16981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16984
16985
16986
16987
16988
16989
16990
16991
16992     ac_ext=c
16993 ac_cpp='$CPP $CPPFLAGS'
16994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16997
16998     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Intel C compiler" >&5
16999 $as_echo_n "checking whether we are using the Intel C compiler... " >&6; }
17000 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then :
17001   $as_echo_n "(cached) " >&6
17002 else
17003   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17004 /* end confdefs.h.  */
17005
17006 int
17007 main ()
17008 {
17009
17010              #ifndef __INTEL_COMPILER
17011                 choke me
17012              #endif
17013
17014   ;
17015   return 0;
17016 }
17017 _ACEOF
17018 if ac_fn_c_try_compile "$LINENO"; then :
17019   bakefile_cv_c_compiler___INTEL_COMPILER=yes
17020 else
17021   bakefile_cv_c_compiler___INTEL_COMPILER=no
17022
17023 fi
17024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17025
17026
17027 fi
17028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
17029 $as_echo "$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
17030     if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
17031         :; INTELCC=yes
17032     else
17033         :;
17034     fi
17035     ac_ext=c
17036 ac_cpp='$CPP $CPPFLAGS'
17037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17040
17041
17042
17043
17044         if test "$INTELCC" = "yes"; then
17045
17046
17047     ac_ext=c
17048 ac_cpp='$CPP $CPPFLAGS'
17049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17052
17053     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C compiler v8 or later" >&5
17054 $as_echo_n "checking whether we are using Intel C compiler v8 or later... " >&6; }
17055 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+set}" = set; then :
17056   $as_echo_n "(cached) " >&6
17057 else
17058   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17059 /* end confdefs.h.  */
17060
17061 int
17062 main ()
17063 {
17064
17065              #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
17066                 choke me
17067              #endif
17068
17069   ;
17070   return 0;
17071 }
17072 _ACEOF
17073 if ac_fn_c_try_compile "$LINENO"; then :
17074   bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=yes
17075 else
17076   bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=no
17077
17078 fi
17079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17080
17081
17082 fi
17083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&5
17084 $as_echo "$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6; }
17085     if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
17086         :; INTELCC8=yes
17087     else
17088         :;
17089     fi
17090     ac_ext=c
17091 ac_cpp='$CPP $CPPFLAGS'
17092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17095
17096
17097
17098
17099
17100     ac_ext=c
17101 ac_cpp='$CPP $CPPFLAGS'
17102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17105
17106     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C compiler v10 or later" >&5
17107 $as_echo_n "checking whether we are using Intel C compiler v10 or later... " >&6; }
17108 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+set}" = set; then :
17109   $as_echo_n "(cached) " >&6
17110 else
17111   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17112 /* end confdefs.h.  */
17113
17114 int
17115 main ()
17116 {
17117
17118              #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
17119                 choke me
17120              #endif
17121
17122   ;
17123   return 0;
17124 }
17125 _ACEOF
17126 if ac_fn_c_try_compile "$LINENO"; then :
17127   bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=yes
17128 else
17129   bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=no
17130
17131 fi
17132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17133
17134
17135 fi
17136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&5
17137 $as_echo "$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6; }
17138     if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
17139         :; INTELCC10=yes
17140     else
17141         :;
17142     fi
17143     ac_ext=c
17144 ac_cpp='$CPP $CPPFLAGS'
17145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17148
17149
17150
17151     fi
17152
17153         if test "x$GCC" != "xyes"; then
17154         if test "xCC" = "xC"; then
17155             { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the C compiler requires -ext o" >&5
17156 $as_echo_n "checking if the C compiler requires -ext o... " >&6; }
17157 if test "${bakefile_cv_c_exto+set}" = set; then :
17158   $as_echo_n "(cached) " >&6
17159 else
17160   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17161 /* end confdefs.h.  */
17162
17163 int
17164 main ()
17165 {
17166
17167   ;
17168   return 0;
17169 }
17170 _ACEOF
17171 rm -f conftest.$ac_objext conftest.$ac_ext.o
17172 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
17173   (eval $ac_compile) 2>&5
17174   ac_status=$?
17175   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17176   test $ac_status = 0; }; then :
17177   for ac_file in `(ls conftest.* 2>/dev/null)`; do
17178     case $ac_file in
17179         conftest.$ac_ext.o)
17180             bakefile_cv_c_exto="-ext o"
17181             ;;
17182         *)
17183             ;;
17184     esac
17185 done
17186 else
17187   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17188 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17189 as_fn_error $? "cannot figure out if compiler needs -ext o: cannot compile
17190 See \`config.log' for more details" "$LINENO" 5 ; }
17191
17192 fi
17193 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
17194
17195 fi
17196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_exto" >&5
17197 $as_echo "$bakefile_cv_c_exto" >&6; }
17198 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17199     if test "c" = "c"; then
17200         CFLAGS="$bakefile_cv_c_exto $CFLAGS"
17201     fi
17202     if test "c" = "cxx"; then
17203         CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
17204     fi
17205 fi
17206
17207             if test "x$bakefile_cv_c_exto" '!=' "x"; then
17208                 unset ac_cv_prog_cc_g
17209                 ac_test_CFLAGS=${CFLAGS+set}
17210 ac_save_CFLAGS=$CFLAGS
17211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
17212 $as_echo_n "checking whether $CC accepts -g... " >&6; }
17213 if test "${ac_cv_prog_cc_g+set}" = set; then :
17214   $as_echo_n "(cached) " >&6
17215 else
17216   ac_save_c_werror_flag=$ac_c_werror_flag
17217    ac_c_werror_flag=yes
17218    ac_cv_prog_cc_g=no
17219    CFLAGS="-g"
17220    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17221 /* end confdefs.h.  */
17222
17223 int
17224 main ()
17225 {
17226
17227   ;
17228   return 0;
17229 }
17230 _ACEOF
17231 if ac_fn_c_try_compile "$LINENO"; then :
17232   ac_cv_prog_cc_g=yes
17233 else
17234   CFLAGS=""
17235       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17236 /* end confdefs.h.  */
17237
17238 int
17239 main ()
17240 {
17241
17242   ;
17243   return 0;
17244 }
17245 _ACEOF
17246 if ac_fn_c_try_compile "$LINENO"; then :
17247
17248 else
17249   ac_c_werror_flag=$ac_save_c_werror_flag
17250          CFLAGS="-g"
17251          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17252 /* end confdefs.h.  */
17253
17254 int
17255 main ()
17256 {
17257
17258   ;
17259   return 0;
17260 }
17261 _ACEOF
17262 if ac_fn_c_try_compile "$LINENO"; then :
17263   ac_cv_prog_cc_g=yes
17264 fi
17265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17266 fi
17267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17268 fi
17269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17270    ac_c_werror_flag=$ac_save_c_werror_flag
17271 fi
17272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
17273 $as_echo "$ac_cv_prog_cc_g" >&6; }
17274 if test "$ac_test_CFLAGS" = set; then
17275   CFLAGS=$ac_save_CFLAGS
17276 elif test $ac_cv_prog_cc_g = yes; then
17277   if test "$GCC" = yes; then
17278     CFLAGS="-g -O2"
17279   else
17280     CFLAGS="-g"
17281   fi
17282 else
17283   if test "$GCC" = yes; then
17284     CFLAGS="-O2"
17285   else
17286     CFLAGS=
17287   fi
17288 fi
17289             fi
17290         fi
17291
17292                         case `uname -s` in
17293             AIX*)
17294
17295
17296     ac_ext=c
17297 ac_cpp='$CPP $CPPFLAGS'
17298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17301
17302     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C compiler" >&5
17303 $as_echo_n "checking whether we are using the IBM xlC C compiler... " >&6; }
17304 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then :
17305   $as_echo_n "(cached) " >&6
17306 else
17307   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17308 /* end confdefs.h.  */
17309
17310 int
17311 main ()
17312 {
17313
17314              #ifndef __xlC__
17315                 choke me
17316              #endif
17317
17318   ;
17319   return 0;
17320 }
17321 _ACEOF
17322 if ac_fn_c_try_compile "$LINENO"; then :
17323   bakefile_cv_c_compiler___xlC__=yes
17324 else
17325   bakefile_cv_c_compiler___xlC__=no
17326
17327 fi
17328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17329
17330
17331 fi
17332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___xlC__" >&5
17333 $as_echo "$bakefile_cv_c_compiler___xlC__" >&6; }
17334     if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
17335         :; XLCC=yes
17336     else
17337         :;
17338     fi
17339     ac_ext=c
17340 ac_cpp='$CPP $CPPFLAGS'
17341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17344
17345
17346
17347                 ;;
17348
17349             Darwin)
17350
17351
17352     ac_ext=c
17353 ac_cpp='$CPP $CPPFLAGS'
17354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17357
17358     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Metrowerks C compiler" >&5
17359 $as_echo_n "checking whether we are using the Metrowerks C compiler... " >&6; }
17360 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then :
17361   $as_echo_n "(cached) " >&6
17362 else
17363   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17364 /* end confdefs.h.  */
17365
17366 int
17367 main ()
17368 {
17369
17370              #ifndef __MWERKS__
17371                 choke me
17372              #endif
17373
17374   ;
17375   return 0;
17376 }
17377 _ACEOF
17378 if ac_fn_c_try_compile "$LINENO"; then :
17379   bakefile_cv_c_compiler___MWERKS__=yes
17380 else
17381   bakefile_cv_c_compiler___MWERKS__=no
17382
17383 fi
17384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17385
17386
17387 fi
17388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___MWERKS__" >&5
17389 $as_echo "$bakefile_cv_c_compiler___MWERKS__" >&6; }
17390     if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
17391         :; MWCC=yes
17392     else
17393         :;
17394     fi
17395     ac_ext=c
17396 ac_cpp='$CPP $CPPFLAGS'
17397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17400
17401
17402
17403                 if test "$MWCC" != "yes"; then
17404
17405
17406     ac_ext=c
17407 ac_cpp='$CPP $CPPFLAGS'
17408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17411
17412     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C compiler" >&5
17413 $as_echo_n "checking whether we are using the IBM xlC C compiler... " >&6; }
17414 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then :
17415   $as_echo_n "(cached) " >&6
17416 else
17417   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17418 /* end confdefs.h.  */
17419
17420 int
17421 main ()
17422 {
17423
17424              #ifndef __xlC__
17425                 choke me
17426              #endif
17427
17428   ;
17429   return 0;
17430 }
17431 _ACEOF
17432 if ac_fn_c_try_compile "$LINENO"; then :
17433   bakefile_cv_c_compiler___xlC__=yes
17434 else
17435   bakefile_cv_c_compiler___xlC__=no
17436
17437 fi
17438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17439
17440
17441 fi
17442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___xlC__" >&5
17443 $as_echo "$bakefile_cv_c_compiler___xlC__" >&6; }
17444     if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
17445         :; XLCC=yes
17446     else
17447         :;
17448     fi
17449     ac_ext=c
17450 ac_cpp='$CPP $CPPFLAGS'
17451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17454
17455
17456
17457                 fi
17458                 ;;
17459
17460             IRIX*)
17461
17462
17463     ac_ext=c
17464 ac_cpp='$CPP $CPPFLAGS'
17465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17468
17469     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the SGI C compiler" >&5
17470 $as_echo_n "checking whether we are using the SGI C compiler... " >&6; }
17471 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then :
17472   $as_echo_n "(cached) " >&6
17473 else
17474   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17475 /* end confdefs.h.  */
17476
17477 int
17478 main ()
17479 {
17480
17481              #ifndef _SGI_COMPILER_VERSION
17482                 choke me
17483              #endif
17484
17485   ;
17486   return 0;
17487 }
17488 _ACEOF
17489 if ac_fn_c_try_compile "$LINENO"; then :
17490   bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
17491 else
17492   bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
17493
17494 fi
17495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17496
17497
17498 fi
17499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
17500 $as_echo "$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
17501     if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17502         :; SGICC=yes
17503     else
17504         :;
17505     fi
17506     ac_ext=c
17507 ac_cpp='$CPP $CPPFLAGS'
17508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17511
17512
17513
17514                 ;;
17515
17516             Linux*)
17517                                                 if test "$INTELCC" != "yes"; then
17518
17519
17520     ac_ext=c
17521 ac_cpp='$CPP $CPPFLAGS'
17522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17525
17526     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C compiler" >&5
17527 $as_echo_n "checking whether we are using the Sun C compiler... " >&6; }
17528 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then :
17529   $as_echo_n "(cached) " >&6
17530 else
17531   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17532 /* end confdefs.h.  */
17533
17534 int
17535 main ()
17536 {
17537
17538              #ifndef __SUNPRO_C
17539                 choke me
17540              #endif
17541
17542   ;
17543   return 0;
17544 }
17545 _ACEOF
17546 if ac_fn_c_try_compile "$LINENO"; then :
17547   bakefile_cv_c_compiler___SUNPRO_C=yes
17548 else
17549   bakefile_cv_c_compiler___SUNPRO_C=no
17550
17551 fi
17552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17553
17554
17555 fi
17556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
17557 $as_echo "$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
17558     if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
17559         :; SUNCC=yes
17560     else
17561         :;
17562     fi
17563     ac_ext=c
17564 ac_cpp='$CPP $CPPFLAGS'
17565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17568
17569
17570
17571                 fi
17572                 ;;
17573
17574             HP-UX*)
17575
17576
17577     ac_ext=c
17578 ac_cpp='$CPP $CPPFLAGS'
17579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17582
17583     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the HP C compiler" >&5
17584 $as_echo_n "checking whether we are using the HP C compiler... " >&6; }
17585 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then :
17586   $as_echo_n "(cached) " >&6
17587 else
17588   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17589 /* end confdefs.h.  */
17590
17591 int
17592 main ()
17593 {
17594
17595              #ifndef __HP_cc
17596                 choke me
17597              #endif
17598
17599   ;
17600   return 0;
17601 }
17602 _ACEOF
17603 if ac_fn_c_try_compile "$LINENO"; then :
17604   bakefile_cv_c_compiler___HP_cc=yes
17605 else
17606   bakefile_cv_c_compiler___HP_cc=no
17607
17608 fi
17609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17610
17611
17612 fi
17613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___HP_cc" >&5
17614 $as_echo "$bakefile_cv_c_compiler___HP_cc" >&6; }
17615     if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
17616         :; HPCC=yes
17617     else
17618         :;
17619     fi
17620     ac_ext=c
17621 ac_cpp='$CPP $CPPFLAGS'
17622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17625
17626
17627
17628                 ;;
17629
17630             OSF1)
17631
17632
17633     ac_ext=c
17634 ac_cpp='$CPP $CPPFLAGS'
17635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17638
17639     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Compaq C compiler" >&5
17640 $as_echo_n "checking whether we are using the Compaq C compiler... " >&6; }
17641 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then :
17642   $as_echo_n "(cached) " >&6
17643 else
17644   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17645 /* end confdefs.h.  */
17646
17647 int
17648 main ()
17649 {
17650
17651              #ifndef __DECC
17652                 choke me
17653              #endif
17654
17655   ;
17656   return 0;
17657 }
17658 _ACEOF
17659 if ac_fn_c_try_compile "$LINENO"; then :
17660   bakefile_cv_c_compiler___DECC=yes
17661 else
17662   bakefile_cv_c_compiler___DECC=no
17663
17664 fi
17665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17666
17667
17668 fi
17669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___DECC" >&5
17670 $as_echo "$bakefile_cv_c_compiler___DECC" >&6; }
17671     if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
17672         :; COMPAQCC=yes
17673     else
17674         :;
17675     fi
17676     ac_ext=c
17677 ac_cpp='$CPP $CPPFLAGS'
17678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17681
17682
17683
17684                 ;;
17685
17686             SunOS)
17687
17688
17689     ac_ext=c
17690 ac_cpp='$CPP $CPPFLAGS'
17691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17694
17695     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C compiler" >&5
17696 $as_echo_n "checking whether we are using the Sun C compiler... " >&6; }
17697 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then :
17698   $as_echo_n "(cached) " >&6
17699 else
17700   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17701 /* end confdefs.h.  */
17702
17703 int
17704 main ()
17705 {
17706
17707              #ifndef __SUNPRO_C
17708                 choke me
17709              #endif
17710
17711   ;
17712   return 0;
17713 }
17714 _ACEOF
17715 if ac_fn_c_try_compile "$LINENO"; then :
17716   bakefile_cv_c_compiler___SUNPRO_C=yes
17717 else
17718   bakefile_cv_c_compiler___SUNPRO_C=no
17719
17720 fi
17721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17722
17723
17724 fi
17725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
17726 $as_echo "$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
17727     if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
17728         :; SUNCC=yes
17729     else
17730         :;
17731     fi
17732     ac_ext=c
17733 ac_cpp='$CPP $CPPFLAGS'
17734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17737
17738
17739
17740                 ;;
17741         esac
17742     fi
17743
17744
17745
17746 ac_ext=c
17747 ac_cpp='$CPP $CPPFLAGS'
17748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
17752 $as_echo_n "checking how to run the C preprocessor... " >&6; }
17753 # On Suns, sometimes $CPP names a directory.
17754 if test -n "$CPP" && test -d "$CPP"; then
17755   CPP=
17756 fi
17757 if test -z "$CPP"; then
17758   if test "${ac_cv_prog_CPP+set}" = set; then :
17759   $as_echo_n "(cached) " >&6
17760 else
17761       # Double quotes because CPP needs to be expanded
17762     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
17763     do
17764       ac_preproc_ok=false
17765 for ac_c_preproc_warn_flag in '' yes
17766 do
17767   # Use a header file that comes with gcc, so configuring glibc
17768   # with a fresh cross-compiler works.
17769   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17770   # <limits.h> exists even on freestanding compilers.
17771   # On the NeXT, cc -E runs the code through the compiler's parser,
17772   # not just through cpp. "Syntax error" is here to catch this case.
17773   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17774 /* end confdefs.h.  */
17775 #ifdef __STDC__
17776 # include <limits.h>
17777 #else
17778 # include <assert.h>
17779 #endif
17780                      Syntax error
17781 _ACEOF
17782 if ac_fn_c_try_cpp "$LINENO"; then :
17783
17784 else
17785   # Broken: fails on valid input.
17786 continue
17787 fi
17788 rm -f conftest.err conftest.i conftest.$ac_ext
17789
17790   # OK, works on sane cases.  Now check whether nonexistent headers
17791   # can be detected and how.
17792   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17793 /* end confdefs.h.  */
17794 #include <ac_nonexistent.h>
17795 _ACEOF
17796 if ac_fn_c_try_cpp "$LINENO"; then :
17797   # Broken: success on invalid input.
17798 continue
17799 else
17800   # Passes both tests.
17801 ac_preproc_ok=:
17802 break
17803 fi
17804 rm -f conftest.err conftest.i conftest.$ac_ext
17805
17806 done
17807 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17808 rm -f conftest.i conftest.err conftest.$ac_ext
17809 if $ac_preproc_ok; then :
17810   break
17811 fi
17812
17813     done
17814     ac_cv_prog_CPP=$CPP
17815
17816 fi
17817   CPP=$ac_cv_prog_CPP
17818 else
17819   ac_cv_prog_CPP=$CPP
17820 fi
17821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
17822 $as_echo "$CPP" >&6; }
17823 ac_preproc_ok=false
17824 for ac_c_preproc_warn_flag in '' yes
17825 do
17826   # Use a header file that comes with gcc, so configuring glibc
17827   # with a fresh cross-compiler works.
17828   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17829   # <limits.h> exists even on freestanding compilers.
17830   # On the NeXT, cc -E runs the code through the compiler's parser,
17831   # not just through cpp. "Syntax error" is here to catch this case.
17832   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17833 /* end confdefs.h.  */
17834 #ifdef __STDC__
17835 # include <limits.h>
17836 #else
17837 # include <assert.h>
17838 #endif
17839                      Syntax error
17840 _ACEOF
17841 if ac_fn_c_try_cpp "$LINENO"; then :
17842
17843 else
17844   # Broken: fails on valid input.
17845 continue
17846 fi
17847 rm -f conftest.err conftest.i conftest.$ac_ext
17848
17849   # OK, works on sane cases.  Now check whether nonexistent headers
17850   # can be detected and how.
17851   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17852 /* end confdefs.h.  */
17853 #include <ac_nonexistent.h>
17854 _ACEOF
17855 if ac_fn_c_try_cpp "$LINENO"; then :
17856   # Broken: success on invalid input.
17857 continue
17858 else
17859   # Passes both tests.
17860 ac_preproc_ok=:
17861 break
17862 fi
17863 rm -f conftest.err conftest.i conftest.$ac_ext
17864
17865 done
17866 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17867 rm -f conftest.i conftest.err conftest.$ac_ext
17868 if $ac_preproc_ok; then :
17869
17870 else
17871   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17872 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17873 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
17874 See \`config.log' for more details" "$LINENO" 5 ; }
17875 fi
17876
17877 ac_ext=c
17878 ac_cpp='$CPP $CPPFLAGS'
17879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17882
17883
17884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
17885 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
17886 if test "${ac_cv_path_GREP+set}" = set; then :
17887   $as_echo_n "(cached) " >&6
17888 else
17889   if test -z "$GREP"; then
17890   ac_path_GREP_found=false
17891   # Loop through the user's path and test for each of PROGNAME-LIST
17892   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17893 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
17894 do
17895   IFS=$as_save_IFS
17896   test -z "$as_dir" && as_dir=.
17897     for ac_prog in grep ggrep; do
17898     for ac_exec_ext in '' $ac_executable_extensions; do
17899       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
17900       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
17901 # Check for GNU ac_path_GREP and select it if it is found.
17902   # Check for GNU $ac_path_GREP
17903 case `"$ac_path_GREP" --version 2>&1` in
17904 *GNU*)
17905   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
17906 *)
17907   ac_count=0
17908   $as_echo_n 0123456789 >"conftest.in"
17909   while :
17910   do
17911     cat "conftest.in" "conftest.in" >"conftest.tmp"
17912     mv "conftest.tmp" "conftest.in"
17913     cp "conftest.in" "conftest.nl"
17914     $as_echo 'GREP' >> "conftest.nl"
17915     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
17916     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
17917     as_fn_arith $ac_count + 1 && ac_count=$as_val
17918     if test $ac_count -gt ${ac_path_GREP_max-0}; then
17919       # Best one so far, save it but keep looking for a better one
17920       ac_cv_path_GREP="$ac_path_GREP"
17921       ac_path_GREP_max=$ac_count
17922     fi
17923     # 10*(2^10) chars as input seems more than enough
17924     test $ac_count -gt 10 && break
17925   done
17926   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
17927 esac
17928
17929       $ac_path_GREP_found && break 3
17930     done
17931   done
17932   done
17933 IFS=$as_save_IFS
17934   if test -z "$ac_cv_path_GREP"; then
17935     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
17936   fi
17937 else
17938   ac_cv_path_GREP=$GREP
17939 fi
17940
17941 fi
17942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
17943 $as_echo "$ac_cv_path_GREP" >&6; }
17944  GREP="$ac_cv_path_GREP"
17945
17946
17947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
17948 $as_echo_n "checking for egrep... " >&6; }
17949 if test "${ac_cv_path_EGREP+set}" = set; then :
17950   $as_echo_n "(cached) " >&6
17951 else
17952   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
17953    then ac_cv_path_EGREP="$GREP -E"
17954    else
17955      if test -z "$EGREP"; then
17956   ac_path_EGREP_found=false
17957   # Loop through the user's path and test for each of PROGNAME-LIST
17958   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17959 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
17960 do
17961   IFS=$as_save_IFS
17962   test -z "$as_dir" && as_dir=.
17963     for ac_prog in egrep; do
17964     for ac_exec_ext in '' $ac_executable_extensions; do
17965       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
17966       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
17967 # Check for GNU ac_path_EGREP and select it if it is found.
17968   # Check for GNU $ac_path_EGREP
17969 case `"$ac_path_EGREP" --version 2>&1` in
17970 *GNU*)
17971   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
17972 *)
17973   ac_count=0
17974   $as_echo_n 0123456789 >"conftest.in"
17975   while :
17976   do
17977     cat "conftest.in" "conftest.in" >"conftest.tmp"
17978     mv "conftest.tmp" "conftest.in"
17979     cp "conftest.in" "conftest.nl"
17980     $as_echo 'EGREP' >> "conftest.nl"
17981     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
17982     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
17983     as_fn_arith $ac_count + 1 && ac_count=$as_val
17984     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
17985       # Best one so far, save it but keep looking for a better one
17986       ac_cv_path_EGREP="$ac_path_EGREP"
17987       ac_path_EGREP_max=$ac_count
17988     fi
17989     # 10*(2^10) chars as input seems more than enough
17990     test $ac_count -gt 10 && break
17991   done
17992   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
17993 esac
17994
17995       $ac_path_EGREP_found && break 3
17996     done
17997   done
17998   done
17999 IFS=$as_save_IFS
18000   if test -z "$ac_cv_path_EGREP"; then
18001     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
18002   fi
18003 else
18004   ac_cv_path_EGREP=$EGREP
18005 fi
18006
18007    fi
18008 fi
18009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
18010 $as_echo "$ac_cv_path_EGREP" >&6; }
18011  EGREP="$ac_cv_path_EGREP"
18012
18013
18014 if test $ac_cv_c_compiler_gnu = yes; then
18015     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5
18016 $as_echo_n "checking whether $CC needs -traditional... " >&6; }
18017 if test "${ac_cv_prog_gcc_traditional+set}" = set; then :
18018   $as_echo_n "(cached) " >&6
18019 else
18020     ac_pattern="Autoconf.*'x'"
18021   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18022 /* end confdefs.h.  */
18023 #include <sgtty.h>
18024 Autoconf TIOCGETP
18025 _ACEOF
18026 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18027   $EGREP "$ac_pattern" >/dev/null 2>&1; then :
18028   ac_cv_prog_gcc_traditional=yes
18029 else
18030   ac_cv_prog_gcc_traditional=no
18031 fi
18032 rm -f conftest*
18033
18034
18035   if test $ac_cv_prog_gcc_traditional = no; then
18036     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18037 /* end confdefs.h.  */
18038 #include <termio.h>
18039 Autoconf TCGETA
18040 _ACEOF
18041 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18042   $EGREP "$ac_pattern" >/dev/null 2>&1; then :
18043   ac_cv_prog_gcc_traditional=yes
18044 fi
18045 rm -f conftest*
18046
18047   fi
18048 fi
18049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5
18050 $as_echo "$ac_cv_prog_gcc_traditional" >&6; }
18051   if test $ac_cv_prog_gcc_traditional = yes; then
18052     CC="$CC -traditional"
18053   fi
18054 fi
18055
18056
18057 CXXFLAGS=${CXXFLAGS:=}
18058 ac_ext=cpp
18059 ac_cpp='$CXXCPP $CPPFLAGS'
18060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18063 if test -z "$CXX"; then
18064   if test -n "$CCC"; then
18065     CXX=$CCC
18066   else
18067     if test -n "$ac_tool_prefix"; then
18068   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
18069   do
18070     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
18071 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
18072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18073 $as_echo_n "checking for $ac_word... " >&6; }
18074 if test "${ac_cv_prog_CXX+set}" = set; then :
18075   $as_echo_n "(cached) " >&6
18076 else
18077   if test -n "$CXX"; then
18078   ac_cv_prog_CXX="$CXX" # Let the user override the test.
18079 else
18080 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18081 for as_dir in $PATH
18082 do
18083   IFS=$as_save_IFS
18084   test -z "$as_dir" && as_dir=.
18085     for ac_exec_ext in '' $ac_executable_extensions; do
18086   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18087     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
18088     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18089     break 2
18090   fi
18091 done
18092   done
18093 IFS=$as_save_IFS
18094
18095 fi
18096 fi
18097 CXX=$ac_cv_prog_CXX
18098 if test -n "$CXX"; then
18099   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
18100 $as_echo "$CXX" >&6; }
18101 else
18102   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18103 $as_echo "no" >&6; }
18104 fi
18105
18106
18107     test -n "$CXX" && break
18108   done
18109 fi
18110 if test -z "$CXX"; then
18111   ac_ct_CXX=$CXX
18112   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
18113 do
18114   # Extract the first word of "$ac_prog", so it can be a program name with args.
18115 set dummy $ac_prog; ac_word=$2
18116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18117 $as_echo_n "checking for $ac_word... " >&6; }
18118 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
18119   $as_echo_n "(cached) " >&6
18120 else
18121   if test -n "$ac_ct_CXX"; then
18122   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
18123 else
18124 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18125 for as_dir in $PATH
18126 do
18127   IFS=$as_save_IFS
18128   test -z "$as_dir" && as_dir=.
18129     for ac_exec_ext in '' $ac_executable_extensions; do
18130   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18131     ac_cv_prog_ac_ct_CXX="$ac_prog"
18132     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18133     break 2
18134   fi
18135 done
18136   done
18137 IFS=$as_save_IFS
18138
18139 fi
18140 fi
18141 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
18142 if test -n "$ac_ct_CXX"; then
18143   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
18144 $as_echo "$ac_ct_CXX" >&6; }
18145 else
18146   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18147 $as_echo "no" >&6; }
18148 fi
18149
18150
18151   test -n "$ac_ct_CXX" && break
18152 done
18153
18154   if test "x$ac_ct_CXX" = x; then
18155     CXX="g++"
18156   else
18157     case $cross_compiling:$ac_tool_warned in
18158 yes:)
18159 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
18160 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
18161 ac_tool_warned=yes ;;
18162 esac
18163     CXX=$ac_ct_CXX
18164   fi
18165 fi
18166
18167   fi
18168 fi
18169 # Provide some information about the compiler.
18170 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
18171 set X $ac_compile
18172 ac_compiler=$2
18173 for ac_option in --version -v -V -qversion; do
18174   { { ac_try="$ac_compiler $ac_option >&5"
18175 case "(($ac_try" in
18176   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18177   *) ac_try_echo=$ac_try;;
18178 esac
18179 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
18180 $as_echo "$ac_try_echo"; } >&5
18181   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
18182   ac_status=$?
18183   if test -s conftest.err; then
18184     sed '10a\
18185 ... rest of stderr output deleted ...
18186          10q' conftest.err >conftest.er1
18187     cat conftest.er1 >&5
18188   fi
18189   rm -f conftest.er1 conftest.err
18190   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18191   test $ac_status = 0; }
18192 done
18193
18194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
18195 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
18196 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
18197   $as_echo_n "(cached) " >&6
18198 else
18199   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18200 /* end confdefs.h.  */
18201
18202 int
18203 main ()
18204 {
18205 #ifndef __GNUC__
18206        choke me
18207 #endif
18208
18209   ;
18210   return 0;
18211 }
18212 _ACEOF
18213 if ac_fn_cxx_try_compile "$LINENO"; then :
18214   ac_compiler_gnu=yes
18215 else
18216   ac_compiler_gnu=no
18217 fi
18218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18219 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
18220
18221 fi
18222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
18223 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
18224 if test $ac_compiler_gnu = yes; then
18225   GXX=yes
18226 else
18227   GXX=
18228 fi
18229 ac_test_CXXFLAGS=${CXXFLAGS+set}
18230 ac_save_CXXFLAGS=$CXXFLAGS
18231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
18232 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
18233 if test "${ac_cv_prog_cxx_g+set}" = set; then :
18234   $as_echo_n "(cached) " >&6
18235 else
18236   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
18237    ac_cxx_werror_flag=yes
18238    ac_cv_prog_cxx_g=no
18239    CXXFLAGS="-g"
18240    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18241 /* end confdefs.h.  */
18242
18243 int
18244 main ()
18245 {
18246
18247   ;
18248   return 0;
18249 }
18250 _ACEOF
18251 if ac_fn_cxx_try_compile "$LINENO"; then :
18252   ac_cv_prog_cxx_g=yes
18253 else
18254   CXXFLAGS=""
18255       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18256 /* end confdefs.h.  */
18257
18258 int
18259 main ()
18260 {
18261
18262   ;
18263   return 0;
18264 }
18265 _ACEOF
18266 if ac_fn_cxx_try_compile "$LINENO"; then :
18267
18268 else
18269   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
18270          CXXFLAGS="-g"
18271          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18272 /* end confdefs.h.  */
18273
18274 int
18275 main ()
18276 {
18277
18278   ;
18279   return 0;
18280 }
18281 _ACEOF
18282 if ac_fn_cxx_try_compile "$LINENO"; then :
18283   ac_cv_prog_cxx_g=yes
18284 fi
18285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18286 fi
18287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18288 fi
18289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18290    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
18291 fi
18292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
18293 $as_echo "$ac_cv_prog_cxx_g" >&6; }
18294 if test "$ac_test_CXXFLAGS" = set; then
18295   CXXFLAGS=$ac_save_CXXFLAGS
18296 elif test $ac_cv_prog_cxx_g = yes; then
18297   if test "$GXX" = yes; then
18298     CXXFLAGS="-g -O2"
18299   else
18300     CXXFLAGS="-g"
18301   fi
18302 else
18303   if test "$GXX" = yes; then
18304     CXXFLAGS="-O2"
18305   else
18306     CXXFLAGS=
18307   fi
18308 fi
18309 ac_ext=c
18310 ac_cpp='$CPP $CPPFLAGS'
18311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18314
18315
18316
18317
18318
18319
18320
18321
18322     ac_ext=cpp
18323 ac_cpp='$CXXCPP $CPPFLAGS'
18324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18327
18328     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Intel C++ compiler" >&5
18329 $as_echo_n "checking whether we are using the Intel C++ compiler... " >&6; }
18330 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then :
18331   $as_echo_n "(cached) " >&6
18332 else
18333   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18334 /* end confdefs.h.  */
18335
18336 int
18337 main ()
18338 {
18339
18340              #ifndef __INTEL_COMPILER
18341                 choke me
18342              #endif
18343
18344   ;
18345   return 0;
18346 }
18347 _ACEOF
18348 if ac_fn_cxx_try_compile "$LINENO"; then :
18349   bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
18350 else
18351   bakefile_cv_cxx_compiler___INTEL_COMPILER=no
18352
18353 fi
18354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18355
18356
18357 fi
18358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
18359 $as_echo "$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
18360     if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
18361         :; INTELCXX=yes
18362     else
18363         :;
18364     fi
18365     ac_ext=c
18366 ac_cpp='$CPP $CPPFLAGS'
18367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18370
18371
18372
18373
18374         if test "$INTELCXX" = "yes"; then
18375
18376
18377     ac_ext=cpp
18378 ac_cpp='$CXXCPP $CPPFLAGS'
18379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18382
18383     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C++ compiler v8 or later" >&5
18384 $as_echo_n "checking whether we are using Intel C++ compiler v8 or later... " >&6; }
18385 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+set}" = set; then :
18386   $as_echo_n "(cached) " >&6
18387 else
18388   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18389 /* end confdefs.h.  */
18390
18391 int
18392 main ()
18393 {
18394
18395              #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
18396                 choke me
18397              #endif
18398
18399   ;
18400   return 0;
18401 }
18402 _ACEOF
18403 if ac_fn_cxx_try_compile "$LINENO"; then :
18404   bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=yes
18405 else
18406   bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=no
18407
18408 fi
18409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18410
18411
18412 fi
18413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&5
18414 $as_echo "$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&6; }
18415     if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
18416         :; INTELCXX8=yes
18417     else
18418         :;
18419     fi
18420     ac_ext=c
18421 ac_cpp='$CPP $CPPFLAGS'
18422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18425
18426
18427
18428
18429
18430     ac_ext=cpp
18431 ac_cpp='$CXXCPP $CPPFLAGS'
18432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18435
18436     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C++ compiler v10 or later" >&5
18437 $as_echo_n "checking whether we are using Intel C++ compiler v10 or later... " >&6; }
18438 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+set}" = set; then :
18439   $as_echo_n "(cached) " >&6
18440 else
18441   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18442 /* end confdefs.h.  */
18443
18444 int
18445 main ()
18446 {
18447
18448              #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
18449                 choke me
18450              #endif
18451
18452   ;
18453   return 0;
18454 }
18455 _ACEOF
18456 if ac_fn_cxx_try_compile "$LINENO"; then :
18457   bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=yes
18458 else
18459   bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=no
18460
18461 fi
18462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18463
18464
18465 fi
18466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&5
18467 $as_echo "$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&6; }
18468     if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
18469         :; INTELCXX10=yes
18470     else
18471         :;
18472     fi
18473     ac_ext=c
18474 ac_cpp='$CPP $CPPFLAGS'
18475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18478
18479
18480
18481     fi
18482
18483         if test "x$GCXX" != "xyes"; then
18484         if test "xCXX" = "xC"; then
18485             { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the C compiler requires -ext o" >&5
18486 $as_echo_n "checking if the C compiler requires -ext o... " >&6; }
18487 if test "${bakefile_cv_c_exto+set}" = set; then :
18488   $as_echo_n "(cached) " >&6
18489 else
18490   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18491 /* end confdefs.h.  */
18492
18493 int
18494 main ()
18495 {
18496
18497   ;
18498   return 0;
18499 }
18500 _ACEOF
18501 rm -f conftest.$ac_objext conftest.$ac_ext.o
18502 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
18503   (eval $ac_compile) 2>&5
18504   ac_status=$?
18505   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18506   test $ac_status = 0; }; then :
18507   for ac_file in `(ls conftest.* 2>/dev/null)`; do
18508     case $ac_file in
18509         conftest.$ac_ext.o)
18510             bakefile_cv_c_exto="-ext o"
18511             ;;
18512         *)
18513             ;;
18514     esac
18515 done
18516 else
18517   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18518 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18519 as_fn_error $? "cannot figure out if compiler needs -ext o: cannot compile
18520 See \`config.log' for more details" "$LINENO" 5 ; }
18521
18522 fi
18523 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
18524
18525 fi
18526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_exto" >&5
18527 $as_echo "$bakefile_cv_c_exto" >&6; }
18528 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18529     if test "c" = "c"; then
18530         CFLAGS="$bakefile_cv_c_exto $CFLAGS"
18531     fi
18532     if test "c" = "cxx"; then
18533         CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
18534     fi
18535 fi
18536
18537             if test "x$bakefile_cv_c_exto" '!=' "x"; then
18538                 unset ac_cv_prog_cc_g
18539                 ac_test_CFLAGS=${CFLAGS+set}
18540 ac_save_CFLAGS=$CFLAGS
18541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
18542 $as_echo_n "checking whether $CC accepts -g... " >&6; }
18543 if test "${ac_cv_prog_cc_g+set}" = set; then :
18544   $as_echo_n "(cached) " >&6
18545 else
18546   ac_save_c_werror_flag=$ac_c_werror_flag
18547    ac_c_werror_flag=yes
18548    ac_cv_prog_cc_g=no
18549    CFLAGS="-g"
18550    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18551 /* end confdefs.h.  */
18552
18553 int
18554 main ()
18555 {
18556
18557   ;
18558   return 0;
18559 }
18560 _ACEOF
18561 if ac_fn_c_try_compile "$LINENO"; then :
18562   ac_cv_prog_cc_g=yes
18563 else
18564   CFLAGS=""
18565       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18566 /* end confdefs.h.  */
18567
18568 int
18569 main ()
18570 {
18571
18572   ;
18573   return 0;
18574 }
18575 _ACEOF
18576 if ac_fn_c_try_compile "$LINENO"; then :
18577
18578 else
18579   ac_c_werror_flag=$ac_save_c_werror_flag
18580          CFLAGS="-g"
18581          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18582 /* end confdefs.h.  */
18583
18584 int
18585 main ()
18586 {
18587
18588   ;
18589   return 0;
18590 }
18591 _ACEOF
18592 if ac_fn_c_try_compile "$LINENO"; then :
18593   ac_cv_prog_cc_g=yes
18594 fi
18595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18596 fi
18597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18598 fi
18599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18600    ac_c_werror_flag=$ac_save_c_werror_flag
18601 fi
18602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
18603 $as_echo "$ac_cv_prog_cc_g" >&6; }
18604 if test "$ac_test_CFLAGS" = set; then
18605   CFLAGS=$ac_save_CFLAGS
18606 elif test $ac_cv_prog_cc_g = yes; then
18607   if test "$GCC" = yes; then
18608     CFLAGS="-g -O2"
18609   else
18610     CFLAGS="-g"
18611   fi
18612 else
18613   if test "$GCC" = yes; then
18614     CFLAGS="-O2"
18615   else
18616     CFLAGS=
18617   fi
18618 fi
18619             fi
18620         fi
18621
18622                         case `uname -s` in
18623             AIX*)
18624
18625
18626     ac_ext=cpp
18627 ac_cpp='$CXXCPP $CPPFLAGS'
18628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18631
18632     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C++ compiler" >&5
18633 $as_echo_n "checking whether we are using the IBM xlC C++ compiler... " >&6; }
18634 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then :
18635   $as_echo_n "(cached) " >&6
18636 else
18637   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18638 /* end confdefs.h.  */
18639
18640 int
18641 main ()
18642 {
18643
18644              #ifndef __xlC__
18645                 choke me
18646              #endif
18647
18648   ;
18649   return 0;
18650 }
18651 _ACEOF
18652 if ac_fn_cxx_try_compile "$LINENO"; then :
18653   bakefile_cv_cxx_compiler___xlC__=yes
18654 else
18655   bakefile_cv_cxx_compiler___xlC__=no
18656
18657 fi
18658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18659
18660
18661 fi
18662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18663 $as_echo "$bakefile_cv_cxx_compiler___xlC__" >&6; }
18664     if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18665         :; XLCXX=yes
18666     else
18667         :;
18668     fi
18669     ac_ext=c
18670 ac_cpp='$CPP $CPPFLAGS'
18671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18674
18675
18676
18677                 ;;
18678
18679             Darwin)
18680
18681
18682     ac_ext=cpp
18683 ac_cpp='$CXXCPP $CPPFLAGS'
18684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18687
18688     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Metrowerks C++ compiler" >&5
18689 $as_echo_n "checking whether we are using the Metrowerks C++ compiler... " >&6; }
18690 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then :
18691   $as_echo_n "(cached) " >&6
18692 else
18693   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18694 /* end confdefs.h.  */
18695
18696 int
18697 main ()
18698 {
18699
18700              #ifndef __MWERKS__
18701                 choke me
18702              #endif
18703
18704   ;
18705   return 0;
18706 }
18707 _ACEOF
18708 if ac_fn_cxx_try_compile "$LINENO"; then :
18709   bakefile_cv_cxx_compiler___MWERKS__=yes
18710 else
18711   bakefile_cv_cxx_compiler___MWERKS__=no
18712
18713 fi
18714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18715
18716
18717 fi
18718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
18719 $as_echo "$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
18720     if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
18721         :; MWCXX=yes
18722     else
18723         :;
18724     fi
18725     ac_ext=c
18726 ac_cpp='$CPP $CPPFLAGS'
18727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18730
18731
18732
18733                 if test "$MWCXX" != "yes"; then
18734
18735
18736     ac_ext=cpp
18737 ac_cpp='$CXXCPP $CPPFLAGS'
18738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18741
18742     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C++ compiler" >&5
18743 $as_echo_n "checking whether we are using the IBM xlC C++ compiler... " >&6; }
18744 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then :
18745   $as_echo_n "(cached) " >&6
18746 else
18747   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18748 /* end confdefs.h.  */
18749
18750 int
18751 main ()
18752 {
18753
18754              #ifndef __xlC__
18755                 choke me
18756              #endif
18757
18758   ;
18759   return 0;
18760 }
18761 _ACEOF
18762 if ac_fn_cxx_try_compile "$LINENO"; then :
18763   bakefile_cv_cxx_compiler___xlC__=yes
18764 else
18765   bakefile_cv_cxx_compiler___xlC__=no
18766
18767 fi
18768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18769
18770
18771 fi
18772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18773 $as_echo "$bakefile_cv_cxx_compiler___xlC__" >&6; }
18774     if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18775         :; XLCXX=yes
18776     else
18777         :;
18778     fi
18779     ac_ext=c
18780 ac_cpp='$CPP $CPPFLAGS'
18781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18784
18785
18786
18787                 fi
18788                 ;;
18789
18790             IRIX*)
18791
18792
18793     ac_ext=cpp
18794 ac_cpp='$CXXCPP $CPPFLAGS'
18795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18798
18799     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the SGI C++ compiler" >&5
18800 $as_echo_n "checking whether we are using the SGI C++ compiler... " >&6; }
18801 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then :
18802   $as_echo_n "(cached) " >&6
18803 else
18804   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18805 /* end confdefs.h.  */
18806
18807 int
18808 main ()
18809 {
18810
18811              #ifndef _SGI_COMPILER_VERSION
18812                 choke me
18813              #endif
18814
18815   ;
18816   return 0;
18817 }
18818 _ACEOF
18819 if ac_fn_cxx_try_compile "$LINENO"; then :
18820   bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
18821 else
18822   bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
18823
18824 fi
18825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18826
18827
18828 fi
18829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
18830 $as_echo "$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
18831     if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
18832         :; SGICXX=yes
18833     else
18834         :;
18835     fi
18836     ac_ext=c
18837 ac_cpp='$CPP $CPPFLAGS'
18838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18841
18842
18843
18844                 ;;
18845
18846             Linux*)
18847                                                 if test "$INTELCXX" != "yes"; then
18848
18849
18850     ac_ext=cpp
18851 ac_cpp='$CXXCPP $CPPFLAGS'
18852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18855
18856     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C++ compiler" >&5
18857 $as_echo_n "checking whether we are using the Sun C++ compiler... " >&6; }
18858 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then :
18859   $as_echo_n "(cached) " >&6
18860 else
18861   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18862 /* end confdefs.h.  */
18863
18864 int
18865 main ()
18866 {
18867
18868              #ifndef __SUNPRO_CC
18869                 choke me
18870              #endif
18871
18872   ;
18873   return 0;
18874 }
18875 _ACEOF
18876 if ac_fn_cxx_try_compile "$LINENO"; then :
18877   bakefile_cv_cxx_compiler___SUNPRO_CC=yes
18878 else
18879   bakefile_cv_cxx_compiler___SUNPRO_CC=no
18880
18881 fi
18882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18883
18884
18885 fi
18886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18887 $as_echo "$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
18888     if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
18889         :; SUNCXX=yes
18890     else
18891         :;
18892     fi
18893     ac_ext=c
18894 ac_cpp='$CPP $CPPFLAGS'
18895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18898
18899
18900
18901                 fi
18902                 ;;
18903
18904             HP-UX*)
18905
18906
18907     ac_ext=cpp
18908 ac_cpp='$CXXCPP $CPPFLAGS'
18909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18912
18913     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the HP C++ compiler" >&5
18914 $as_echo_n "checking whether we are using the HP C++ compiler... " >&6; }
18915 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then :
18916   $as_echo_n "(cached) " >&6
18917 else
18918   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18919 /* end confdefs.h.  */
18920
18921 int
18922 main ()
18923 {
18924
18925              #ifndef __HP_aCC
18926                 choke me
18927              #endif
18928
18929   ;
18930   return 0;
18931 }
18932 _ACEOF
18933 if ac_fn_cxx_try_compile "$LINENO"; then :
18934   bakefile_cv_cxx_compiler___HP_aCC=yes
18935 else
18936   bakefile_cv_cxx_compiler___HP_aCC=no
18937
18938 fi
18939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18940
18941
18942 fi
18943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
18944 $as_echo "$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
18945     if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
18946         :; HPCXX=yes
18947     else
18948         :;
18949     fi
18950     ac_ext=c
18951 ac_cpp='$CPP $CPPFLAGS'
18952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18955
18956
18957
18958                 ;;
18959
18960             OSF1)
18961
18962
18963     ac_ext=cpp
18964 ac_cpp='$CXXCPP $CPPFLAGS'
18965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18968
18969     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Compaq C++ compiler" >&5
18970 $as_echo_n "checking whether we are using the Compaq C++ compiler... " >&6; }
18971 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then :
18972   $as_echo_n "(cached) " >&6
18973 else
18974   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18975 /* end confdefs.h.  */
18976
18977 int
18978 main ()
18979 {
18980
18981              #ifndef __DECCXX
18982                 choke me
18983              #endif
18984
18985   ;
18986   return 0;
18987 }
18988 _ACEOF
18989 if ac_fn_cxx_try_compile "$LINENO"; then :
18990   bakefile_cv_cxx_compiler___DECCXX=yes
18991 else
18992   bakefile_cv_cxx_compiler___DECCXX=no
18993
18994 fi
18995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18996
18997
18998 fi
18999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
19000 $as_echo "$bakefile_cv_cxx_compiler___DECCXX" >&6; }
19001     if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
19002         :; COMPAQCXX=yes
19003     else
19004         :;
19005     fi
19006     ac_ext=c
19007 ac_cpp='$CPP $CPPFLAGS'
19008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19011
19012
19013
19014                 ;;
19015
19016             SunOS)
19017
19018
19019     ac_ext=cpp
19020 ac_cpp='$CXXCPP $CPPFLAGS'
19021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19024
19025     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C++ compiler" >&5
19026 $as_echo_n "checking whether we are using the Sun C++ compiler... " >&6; }
19027 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then :
19028   $as_echo_n "(cached) " >&6
19029 else
19030   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19031 /* end confdefs.h.  */
19032
19033 int
19034 main ()
19035 {
19036
19037              #ifndef __SUNPRO_CC
19038                 choke me
19039              #endif
19040
19041   ;
19042   return 0;
19043 }
19044 _ACEOF
19045 if ac_fn_cxx_try_compile "$LINENO"; then :
19046   bakefile_cv_cxx_compiler___SUNPRO_CC=yes
19047 else
19048   bakefile_cv_cxx_compiler___SUNPRO_CC=no
19049
19050 fi
19051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19052
19053
19054 fi
19055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
19056 $as_echo "$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
19057     if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
19058         :; SUNCXX=yes
19059     else
19060         :;
19061     fi
19062     ac_ext=c
19063 ac_cpp='$CPP $CPPFLAGS'
19064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19067
19068
19069
19070                 ;;
19071         esac
19072     fi
19073
19074
19075
19076 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
19077     as_fn_error $? "C++ compiler is needed to build wxWidgets" "$LINENO" 5
19078 fi
19079
19080 if test "x$SUNCXX" != xyes; then
19081     if test -n "$ac_tool_prefix"; then
19082   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
19083 set dummy ${ac_tool_prefix}ar; ac_word=$2
19084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19085 $as_echo_n "checking for $ac_word... " >&6; }
19086 if test "${ac_cv_prog_AR+set}" = set; then :
19087   $as_echo_n "(cached) " >&6
19088 else
19089   if test -n "$AR"; then
19090   ac_cv_prog_AR="$AR" # Let the user override the test.
19091 else
19092 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19093 for as_dir in $PATH
19094 do
19095   IFS=$as_save_IFS
19096   test -z "$as_dir" && as_dir=.
19097     for ac_exec_ext in '' $ac_executable_extensions; do
19098   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19099     ac_cv_prog_AR="${ac_tool_prefix}ar"
19100     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19101     break 2
19102   fi
19103 done
19104   done
19105 IFS=$as_save_IFS
19106
19107 fi
19108 fi
19109 AR=$ac_cv_prog_AR
19110 if test -n "$AR"; then
19111   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
19112 $as_echo "$AR" >&6; }
19113 else
19114   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19115 $as_echo "no" >&6; }
19116 fi
19117
19118
19119 fi
19120 if test -z "$ac_cv_prog_AR"; then
19121   ac_ct_AR=$AR
19122   # Extract the first word of "ar", so it can be a program name with args.
19123 set dummy ar; ac_word=$2
19124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19125 $as_echo_n "checking for $ac_word... " >&6; }
19126 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
19127   $as_echo_n "(cached) " >&6
19128 else
19129   if test -n "$ac_ct_AR"; then
19130   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
19131 else
19132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19133 for as_dir in $PATH
19134 do
19135   IFS=$as_save_IFS
19136   test -z "$as_dir" && as_dir=.
19137     for ac_exec_ext in '' $ac_executable_extensions; do
19138   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19139     ac_cv_prog_ac_ct_AR="ar"
19140     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19141     break 2
19142   fi
19143 done
19144   done
19145 IFS=$as_save_IFS
19146
19147 fi
19148 fi
19149 ac_ct_AR=$ac_cv_prog_ac_ct_AR
19150 if test -n "$ac_ct_AR"; then
19151   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
19152 $as_echo "$ac_ct_AR" >&6; }
19153 else
19154   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19155 $as_echo "no" >&6; }
19156 fi
19157
19158   if test "x$ac_ct_AR" = x; then
19159     AR=""
19160   else
19161     case $cross_compiling:$ac_tool_warned in
19162 yes:)
19163 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
19164 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
19165 ac_tool_warned=yes ;;
19166 esac
19167     AR=$ac_ct_AR
19168   fi
19169 else
19170   AR="$ac_cv_prog_AR"
19171 fi
19172
19173     if test "x$AR" = "x" ; then
19174         as_fn_error $? "ar is needed to build wxWidgets" "$LINENO" 5
19175     fi
19176 fi
19177
19178
19179 if test "$wxUSE_MAC" = 1; then
19180
19181 retest_macosx_linking=no
19182
19183 OSX_ARCH_OPTS=""
19184
19185 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
19186     if test "x$wxUSE_MAC_ARCH" != xno; then
19187         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-macosx_arch is ignored when --enable-universal_binary is used." >&5
19188 $as_echo "$as_me: WARNING: --enable-macosx_arch is ignored when --enable-universal_binary is used." >&2;}
19189     fi
19190
19191     if test "x$wxUSE_UNIVERSAL_BINARY" != xyes; then
19192         OSX_ARCH_OPTS=$wxUSE_UNIVERSAL_BINARY
19193     else         OSX_ARCH_OPTS="ppc,i386"
19194         if test "$wxUSE_OSX_COCOA" = 1; then
19195             OSX_ARCH_OPTS="$OSX_ARCH_OPTS,x86_64"
19196         fi
19197     fi
19198
19199     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for architectures to use in universal binary" >&5
19200 $as_echo_n "checking for architectures to use in universal binary... " >&6; }
19201     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OSX_ARCH_OPTS" >&5
19202 $as_echo "$OSX_ARCH_OPTS" >&6; }
19203
19204                                                         retest_macosx_linking=yes
19205
19206                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling precompiled headers due to universal binary build." >&5
19207 $as_echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
19208     bk_use_pch=no
19209 else
19210     if test "x$wxUSE_MAC_ARCH" != xno; then
19211         OSX_ARCH_OPTS=$wxUSE_MAC_ARCH
19212     fi
19213 fi
19214
19215 if test "x$OSX_ARCH_OPTS" != "x"; then
19216     OSX_ARCH_OPTS=`echo $OSX_ARCH_OPTS | sed -e 's/^/-arch /' -e 's/,/ -arch /g'`
19217
19218     CXXFLAGS="$OSX_ARCH_OPTS $CXXFLAGS"
19219     CFLAGS="$OSX_ARCH_OPTS $CFLAGS"
19220     OBJCXXFLAGS="$OSX_ARCH_OPTS $OBJCXXFLAGS"
19221     OBJCFLAGS="$OSX_ARCH_OPTS $OBJCFLAGS"
19222     LDFLAGS="$OSX_ARCH_OPTS $LDFLAGS"
19223 fi
19224
19225 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
19226     wxUSE_MACOSX_SDK=
19227 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
19228     # TODO: Search for most recent SDK and use it.
19229     wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
19230 fi
19231
19232
19233 if test "x$wxUSE_MACOSX_SDK" != "x"; then
19234     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
19235 $as_echo_n "checking for SDK directory $wxUSE_MACOSX_SDK... " >&6; }
19236     if ! test -d "$wxUSE_MACOSX_SDK"; then
19237         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19238 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19239 as_fn_error $? "not found
19240 See \`config.log' for more details" "$LINENO" 5 ; }
19241     else
19242         { $as_echo "$as_me:${as_lineno-$LINENO}: result: exists" >&5
19243 $as_echo "exists" >&6; }
19244     fi
19245         MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
19246     retest_macosx_linking=yes
19247             fi
19248
19249 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
19250     wxUSE_MACOSX_VERSION_MIN=
19251 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
19252     if test "x$wxUSE_MACOSX_SDK" != "x"; then
19253         { $as_echo "$as_me:${as_lineno-$LINENO}: checking SDK deployment version" >&5
19254 $as_echo_n "checking SDK deployment version... " >&6; }
19255
19256         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/'`
19257
19258         # If that failed, try again with the new key
19259         if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
19260
19261             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/'`
19262
19263         fi
19264
19265         if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
19266             wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
19267             { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MACOSX_VERSION_MIN" >&5
19268 $as_echo "$wxUSE_MACOSX_VERSION_MIN" >&6; }
19269         else
19270             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
19271 $as_echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
19272             wxUSE_MACOSX_VERSION_MIN=
19273         fi
19274     else
19275         wxUSE_MACOSX_VERSION_MIN=
19276     fi
19277 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
19278     for ac_prog in sw_vers
19279 do
19280   # Extract the first word of "$ac_prog", so it can be a program name with args.
19281 set dummy $ac_prog; ac_word=$2
19282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19283 $as_echo_n "checking for $ac_word... " >&6; }
19284 if test "${ac_cv_prog_OSX_SW_VERS+set}" = set; then :
19285   $as_echo_n "(cached) " >&6
19286 else
19287   if test -n "$OSX_SW_VERS"; then
19288   ac_cv_prog_OSX_SW_VERS="$OSX_SW_VERS" # Let the user override the test.
19289 else
19290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19291 for as_dir in $PATH
19292 do
19293   IFS=$as_save_IFS
19294   test -z "$as_dir" && as_dir=.
19295     for ac_exec_ext in '' $ac_executable_extensions; do
19296   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19297     ac_cv_prog_OSX_SW_VERS="$ac_prog"
19298     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19299     break 2
19300   fi
19301 done
19302   done
19303 IFS=$as_save_IFS
19304
19305 fi
19306 fi
19307 OSX_SW_VERS=$ac_cv_prog_OSX_SW_VERS
19308 if test -n "$OSX_SW_VERS"; then
19309   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OSX_SW_VERS" >&5
19310 $as_echo "$OSX_SW_VERS" >&6; }
19311 else
19312   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19313 $as_echo "no" >&6; }
19314 fi
19315
19316
19317   test -n "$OSX_SW_VERS" && break
19318 done
19319
19320     if test "$OSX_SW_VERS" != ""; then
19321         OSX_VERSION=`sw_vers -productVersion | grep 10.[0-9]`
19322     else
19323                         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Assuming OS X 10.4, use --with-macosx-version-min to override." >&5
19324 $as_echo "$as_me: WARNING: Assuming OS X 10.4, use --with-macosx-version-min to override." >&2;}
19325         OSX_VERSION="10.4"
19326     fi
19327
19328     case "$OSX_VERSION" in
19329         10.4* )
19330             wxUSE_MACOSX_VERSION_MIN=10.4
19331             ;;
19332
19333         * )
19334             if test "$wxUSE_OSX_CARBON" = 1; then
19335                 # otherwise configure stops on leopard for universal_binary
19336                 wxUSE_MACOSX_VERSION_MIN=10.4
19337             else
19338                 # for Cocoa, use 10.5 to be able to compile it in 64 bits too
19339                 wxUSE_MACOSX_VERSION_MIN=10.5
19340             fi
19341             ;;
19342     esac
19343 fi
19344
19345 NEEDS_GCC40="no"
19346 if test "x$wxUSE_MACOSX_VERSION_MIN" == "x10.4"; then
19347     NEEDS_GCC40="yes"
19348 fi
19349
19350 if test "$wxUSE_OSX_CARBON" = 1; then
19351     NEEDS_GCC40="yes"
19352 fi
19353
19354 if test "x$NEEDS_GCC40" == "xyes"; then
19355     # gcc 4.2 cannot compile 10.4 compatible code, so if the user is using it
19356     # and wants 10.4 compatible code, then 'downgrade' to 4.0
19357     # This is also the simplest way to get 32-bit binaries on Snow Leopard.
19358     if test "x$CC" = "xgcc"; then
19359         CCVERSION=`$CC --version | grep 4.[2-9].`
19360         if test "x$CCVERSION" != "x"; then
19361             echo "$as_me:$LINENO: WARNING: gcc >= 4.2 cannot compile 10.4 compatible code. Using gcc 4.0 instead."
19362             CC="gcc-4.0"
19363         fi
19364     fi
19365
19366     if test "x$CXX" = "xg++"; then
19367         CCVERSION=`$CXX --version | grep 4.[2-9].`
19368         if test "x$CCVERSION" != "x"; then
19369             CXX="g++-4.0"
19370         fi
19371     fi
19372 fi
19373
19374 if test "x$MACOSX_SDK_OPTS" != "x"; then
19375     eval "CC=\"$CC $MACOSX_SDK_OPTS\""
19376     eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
19377     eval "LD=\"$LD $MACOSX_SDK_OPTS\""
19378 fi
19379
19380 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
19381     if test "$wxUSE_OSX_IPHONE" = 1; then
19382         MACOSX_VERSION_MIN_OPTS="-miphoneos-version-min=$wxUSE_MACOSX_VERSION_MIN"
19383     else
19384         MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
19385     fi
19386     eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
19387     eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
19388     eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
19389     retest_macosx_linking=yes
19390 fi
19391
19392 if test "x$retest_macosx_linking" = "xyes"; then
19393     ac_ext=c
19394 ac_cpp='$CPP $CPPFLAGS'
19395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19398
19399     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if C compiler works with SDK/version options" >&5
19400 $as_echo_n "checking if C compiler works with SDK/version options... " >&6; }
19401     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19402 /* end confdefs.h.  */
19403
19404 int
19405 main ()
19406 {
19407
19408   ;
19409   return 0;
19410 }
19411 _ACEOF
19412 if ac_fn_c_try_link "$LINENO"; then :
19413   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19414 $as_echo "yes" >&6; }
19415 else
19416   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19417 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19418 as_fn_error $? "no.  Try a different SDK
19419 See \`config.log' for more details" "$LINENO" 5 ; }; exit 1
19420 fi
19421 rm -f core conftest.err conftest.$ac_objext \
19422     conftest$ac_exeext conftest.$ac_ext
19423     ac_ext=c
19424 ac_cpp='$CPP $CPPFLAGS'
19425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19428
19429
19430     ac_ext=cpp
19431 ac_cpp='$CXXCPP $CPPFLAGS'
19432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19435
19436     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if C++ compiler works with SDK/version options" >&5
19437 $as_echo_n "checking if C++ compiler works with SDK/version options... " >&6; }
19438     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19439 /* end confdefs.h.  */
19440
19441 int
19442 main ()
19443 {
19444
19445   ;
19446   return 0;
19447 }
19448 _ACEOF
19449 if ac_fn_cxx_try_link "$LINENO"; then :
19450   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19451 $as_echo "yes" >&6; }
19452 else
19453   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19454 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19455 as_fn_error $? "no.  Try a different SDK
19456 See \`config.log' for more details" "$LINENO" 5 ; }; exit 1
19457 fi
19458 rm -f core conftest.err conftest.$ac_objext \
19459     conftest$ac_exeext conftest.$ac_ext
19460     ac_ext=c
19461 ac_cpp='$CPP $CPPFLAGS'
19462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19465
19466 fi
19467
19468 fi
19469 case "${host}" in
19470
19471                 *-*-darwin* )
19472         INSTALL_PROGRAM="cp -fp"
19473         INSTALL_DATA="cp -fp"
19474         ;;
19475     *)
19476         ;;
19477 esac
19478
19479
19480 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
19481                     $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
19482
19483
19484             GNU_SOURCE_FLAG="-D_GNU_SOURCE"
19485     CFLAGS="$GNU_SOURCE_FLAG $CFLAGS"
19486 fi
19487
19488 if test "x$USE_AIX" = "x1"; then
19489             if test "x$XLCXX" = "xyes"; then
19490         CXXFLAGS="-qunique $CXXFLAGS"
19491     fi
19492
19493                                 CPPFLAGS="-D_LINUX_SOURCE_COMPAT $CPPFLAGS"
19494 fi
19495
19496 case "${host}" in
19497   powerpc-*-darwin* )
19498     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if __POWERPC__ is already defined" >&5
19499 $as_echo_n "checking if __POWERPC__ is already defined... " >&6; }
19500     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19501 /* end confdefs.h.  */
19502
19503 int
19504 main ()
19505 {
19506 #ifndef __POWERPC__
19507         choke me for lack of PowerPC
19508 #endif
19509
19510   ;
19511   return 0;
19512 }
19513 _ACEOF
19514 if ac_fn_c_try_compile "$LINENO"; then :
19515   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19516 $as_echo "yes" >&6; }
19517 else
19518   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19519 $as_echo "no" >&6; }
19520         $as_echo "#define __POWERPC__ 1" >>confdefs.h
19521
19522
19523 fi
19524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19525   ;;
19526 esac
19527
19528 case "${host}" in
19529   *-*-darwin* )
19530     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if CoreFoundation/CFBase.h is usable" >&5
19531 $as_echo_n "checking if CoreFoundation/CFBase.h is usable... " >&6; }
19532     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19533 /* end confdefs.h.  */
19534 #include <CoreFoundation/CFBase.h>
19535
19536 int
19537 main ()
19538 {
19539
19540   ;
19541   return 0;
19542 }
19543 _ACEOF
19544 if ac_fn_c_try_compile "$LINENO"; then :
19545   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19546 $as_echo "yes" >&6; }
19547 else
19548   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19549 $as_echo "no" >&6; }
19550         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
19551 $as_echo_n "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... " >&6; }
19552         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19553 /* end confdefs.h.  */
19554 #define __CF_USE_FRAMEWORK_INCLUDES__
19555 #include <CoreFoundation/CFBase.h>
19556
19557 int
19558 main ()
19559 {
19560
19561   ;
19562   return 0;
19563 }
19564 _ACEOF
19565 if ac_fn_c_try_compile "$LINENO"; then :
19566   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19567 $as_echo "yes" >&6; }
19568                         CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
19569 else
19570   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19571 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19572 as_fn_error $? "no.  CoreFoundation not available.
19573 See \`config.log' for more details" "$LINENO" 5 ; }
19574
19575 fi
19576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19577
19578
19579 fi
19580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19581   ;;
19582 esac
19583
19584 wants_win32=0
19585 doesnt_want_win32=0
19586 case "${host}" in
19587   *-*-cygwin*)
19588       if test "$wxUSE_MSW" = 1 ; then
19589         wants_win32=1
19590       else
19591                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -mno-cygwin is in effect" >&5
19592 $as_echo_n "checking if -mno-cygwin is in effect... " >&6; }
19593 if test "${wx_cv_nocygwin+set}" = set; then :
19594   $as_echo_n "(cached) " >&6
19595 else
19596
19597                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19598 /* end confdefs.h.  */
19599
19600 int
19601 main ()
19602 {
19603
19604                         #ifdef __MINGW32__
19605                             choke me
19606                         #endif
19607
19608   ;
19609   return 0;
19610 }
19611 _ACEOF
19612 if ac_fn_c_try_compile "$LINENO"; then :
19613   wx_cv_nocygwin=no
19614 else
19615   wx_cv_nocygwin=yes
19616
19617 fi
19618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19619
19620
19621 fi
19622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_nocygwin" >&5
19623 $as_echo "$wx_cv_nocygwin" >&6; }
19624
19625         if test "$wx_cv_nocygwin" = "yes"; then
19626             wants_win32=1
19627         else
19628             doesnt_want_win32=1
19629         fi
19630       fi
19631       if test "$wants_win32" = 1 ; then
19632         BAKEFILE_FORCE_PLATFORM=win32
19633       fi
19634   ;;
19635   *-*-mingw*)
19636       wants_win32=1
19637   ;;
19638 esac
19639
19640 if test "$wxUSE_WINE" = "yes"; then
19641     wants_win32=1
19642     LDFLAGS_GUI="-mwindows"
19643 fi
19644
19645 if test "$wants_win32" = 1 ; then
19646     USE_UNIX=0
19647     USE_WIN32=1
19648     $as_echo "#define __WIN32__ 1" >>confdefs.h
19649
19650     $as_echo "#define __WIN95__ 1" >>confdefs.h
19651
19652     $as_echo "#define __WINDOWS__ 1" >>confdefs.h
19653
19654     $as_echo "#define __GNUWIN32__ 1" >>confdefs.h
19655
19656     $as_echo "#define STRICT 1" >>confdefs.h
19657
19658 fi
19659 if test "$doesnt_want_win32" = 1 ; then
19660     USE_UNIX=1
19661     USE_WIN32=0
19662 fi
19663
19664 if test "$USE_UNIX" = 1 ; then
19665     wxUSE_UNIX=yes
19666     $as_echo "#define __UNIX__ 1" >>confdefs.h
19667
19668 fi
19669
19670 case "${host}" in
19671   *-pc-os2_emx | *-pc-os2-emx )
19672                                                       if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
19673                               { $as_echo "$as_me:${as_lineno-$LINENO}: checking for drand48 in -lcExt" >&5
19674 $as_echo_n "checking for drand48 in -lcExt... " >&6; }
19675 if test "${ac_cv_lib_cExt_drand48+set}" = set; then :
19676   $as_echo_n "(cached) " >&6
19677 else
19678   ac_check_lib_save_LIBS=$LIBS
19679 LIBS="-lcExt  $LIBS"
19680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19681 /* end confdefs.h.  */
19682
19683 /* Override any GCC internal prototype to avoid an error.
19684    Use char because int might match the return type of a GCC
19685    builtin and then its argument prototype would still apply.  */
19686 #ifdef __cplusplus
19687 extern "C"
19688 #endif
19689 char drand48 ();
19690 int
19691 main ()
19692 {
19693 return drand48 ();
19694   ;
19695   return 0;
19696 }
19697 _ACEOF
19698 if ac_fn_c_try_link "$LINENO"; then :
19699   ac_cv_lib_cExt_drand48=yes
19700 else
19701   ac_cv_lib_cExt_drand48=no
19702 fi
19703 rm -f core conftest.err conftest.$ac_objext \
19704     conftest$ac_exeext conftest.$ac_ext
19705 LIBS=$ac_check_lib_save_LIBS
19706 fi
19707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cExt_drand48" >&5
19708 $as_echo "$ac_cv_lib_cExt_drand48" >&6; }
19709 if test "x$ac_cv_lib_cExt_drand48" = x""yes; then :
19710   LIBS="$LIBS -lcExt"
19711 fi
19712
19713       else
19714                     RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
19715       fi
19716                                     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc/libc version" >&5
19717 $as_echo_n "checking for gcc/libc version... " >&6; }
19718 if test "${wx_cv_gccversion+set}" = set; then :
19719   $as_echo_n "(cached) " >&6
19720 else
19721
19722           if test "$cross_compiling" = yes; then :
19723                 wx_cv_gccversion="EMX2"
19724
19725 else
19726   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19727 /* end confdefs.h.  */
19728
19729                   #include <stdio.h>
19730
19731                   int main()
19732                   {
19733                       FILE *f=fopen("conftestval", "w");
19734                       if (!f) exit(1);
19735                       fprintf(f,
19736                   #if (__GNUC__ < 3)
19737                               "EMX2"
19738                   #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
19739                               "EMX3"
19740                   #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
19741                               "Innotek5"
19742                   #else
19743                               "Innotek6"
19744                   #endif
19745                       );
19746                       exit(0);
19747                   }
19748
19749 _ACEOF
19750 if ac_fn_c_try_run "$LINENO"; then :
19751   wx_cv_gccversion=`cat conftestval`
19752 else
19753   wx_cv_gccversion="EMX2"
19754 fi
19755 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19756   conftest.$ac_objext conftest.beam conftest.$ac_ext
19757 fi
19758
19759
19760 fi
19761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_gccversion" >&5
19762 $as_echo "$wx_cv_gccversion" >&6; }
19763       if test "$wx_cv_gccversion" = "EMX2"; then
19764           LIBS="$LIBS -lstdcpp"
19765           LDFLAGS="$LDFLAGS -Zsysv-signals"
19766       else
19767           if test "$wx_cv_gccversion" = "EMX3"; then
19768               LIBS="$LIBS -lstdcxx -lgcc"
19769               LDFLAGS="$LDFLAGS -Zsysv-signals"
19770           else
19771               LIBS="$LIBS -lstdc++"
19772           fi
19773       fi
19774       if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
19775         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Building DLLs requires OMF mode, enabled" >&5
19776 $as_echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
19777         wxUSE_OMF=yes
19778         enable_omf=yes
19779       fi
19780         ;;
19781   *)
19782
19783       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strcasecmp() in string.h" >&5
19784 $as_echo_n "checking for strcasecmp() in string.h... " >&6; }
19785 if test "${ac_cv_string_strcasecmp+set}" = set; then :
19786   $as_echo_n "(cached) " >&6
19787 else
19788
19789           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19790 /* end confdefs.h.  */
19791
19792               #include <string.h>
19793
19794 int
19795 main ()
19796 {
19797
19798                   strcasecmp("foo", "bar");
19799
19800   ;
19801   return 0;
19802 }
19803 _ACEOF
19804 if ac_fn_c_try_link "$LINENO"; then :
19805   ac_cv_string_strcasecmp=yes
19806 else
19807   ac_cv_string_strcasecmp=no
19808
19809 fi
19810 rm -f core conftest.err conftest.$ac_objext \
19811     conftest$ac_exeext conftest.$ac_ext
19812
19813 fi
19814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_string_strcasecmp" >&5
19815 $as_echo "$ac_cv_string_strcasecmp" >&6; }
19816
19817       if test x"$ac_cv_string_strcasecmp" = "xyes"; then
19818           $as_echo "#define HAVE_STRCASECMP_IN_STRING_H 1" >>confdefs.h
19819
19820       else
19821           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strcasecmp() in strings.h" >&5
19822 $as_echo_n "checking for strcasecmp() in strings.h... " >&6; }
19823 if test "${ac_cv_strings_strcasecmp+set}" = set; then :
19824   $as_echo_n "(cached) " >&6
19825 else
19826
19827               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19828 /* end confdefs.h.  */
19829
19830                   #include <strings.h>
19831
19832 int
19833 main ()
19834 {
19835
19836                       strcasecmp("foo", "bar");
19837
19838   ;
19839   return 0;
19840 }
19841 _ACEOF
19842 if ac_fn_c_try_link "$LINENO"; then :
19843   ac_cv_strings_strcasecmp=yes
19844 else
19845   ac_cv_strings_strcasecmp=no
19846
19847 fi
19848 rm -f core conftest.err conftest.$ac_objext \
19849     conftest$ac_exeext conftest.$ac_ext
19850
19851 fi
19852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_strings_strcasecmp" >&5
19853 $as_echo "$ac_cv_strings_strcasecmp" >&6; }
19854
19855           if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
19856               $as_echo "#define HAVE_STRCASECMP_IN_STRINGS_H 1" >>confdefs.h
19857
19858           else
19859               as_fn_error $? "No case-insensitive string comparison function found." "$LINENO" 5
19860           fi
19861       fi
19862
19863         ;;
19864 esac
19865
19866
19867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
19868 $as_echo_n "checking for ANSI C header files... " >&6; }
19869 if test "${ac_cv_header_stdc+set}" = set; then :
19870   $as_echo_n "(cached) " >&6
19871 else
19872   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19873 /* end confdefs.h.  */
19874 #include <stdlib.h>
19875 #include <stdarg.h>
19876 #include <string.h>
19877 #include <float.h>
19878
19879 int
19880 main ()
19881 {
19882
19883   ;
19884   return 0;
19885 }
19886 _ACEOF
19887 if ac_fn_c_try_compile "$LINENO"; then :
19888   ac_cv_header_stdc=yes
19889 else
19890   ac_cv_header_stdc=no
19891 fi
19892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19893
19894 if test $ac_cv_header_stdc = yes; then
19895   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19896   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19897 /* end confdefs.h.  */
19898 #include <string.h>
19899
19900 _ACEOF
19901 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19902   $EGREP "memchr" >/dev/null 2>&1; then :
19903
19904 else
19905   ac_cv_header_stdc=no
19906 fi
19907 rm -f conftest*
19908
19909 fi
19910
19911 if test $ac_cv_header_stdc = yes; then
19912   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19913   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19914 /* end confdefs.h.  */
19915 #include <stdlib.h>
19916
19917 _ACEOF
19918 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19919   $EGREP "free" >/dev/null 2>&1; then :
19920
19921 else
19922   ac_cv_header_stdc=no
19923 fi
19924 rm -f conftest*
19925
19926 fi
19927
19928 if test $ac_cv_header_stdc = yes; then
19929   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19930   if test "$cross_compiling" = yes; then :
19931   :
19932 else
19933   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19934 /* end confdefs.h.  */
19935 #include <ctype.h>
19936 #include <stdlib.h>
19937 #if ((' ' & 0x0FF) == 0x020)
19938 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19939 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19940 #else
19941 # define ISLOWER(c) \
19942                    (('a' <= (c) && (c) <= 'i') \
19943                      || ('j' <= (c) && (c) <= 'r') \
19944                      || ('s' <= (c) && (c) <= 'z'))
19945 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19946 #endif
19947
19948 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19949 int
19950 main ()
19951 {
19952   int i;
19953   for (i = 0; i < 256; i++)
19954     if (XOR (islower (i), ISLOWER (i))
19955         || toupper (i) != TOUPPER (i))
19956       return 2;
19957   return 0;
19958 }
19959 _ACEOF
19960 if ac_fn_c_try_run "$LINENO"; then :
19961
19962 else
19963   ac_cv_header_stdc=no
19964 fi
19965 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19966   conftest.$ac_objext conftest.beam conftest.$ac_ext
19967 fi
19968
19969 fi
19970 fi
19971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
19972 $as_echo "$ac_cv_header_stdc" >&6; }
19973 if test $ac_cv_header_stdc = yes; then
19974
19975 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
19976
19977 fi
19978
19979 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
19980 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
19981                   inttypes.h stdint.h unistd.h
19982 do :
19983   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19984 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
19985 "
19986 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
19987   cat >>confdefs.h <<_ACEOF
19988 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19989 _ACEOF
19990
19991 fi
19992
19993 done
19994
19995
19996 for ac_header in langinfo.h wchar.h
19997 do :
19998   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19999 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
20000 "
20001 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
20002   cat >>confdefs.h <<_ACEOF
20003 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20004 _ACEOF
20005
20006 fi
20007
20008 done
20009
20010
20011 if test "$ac_cv_header_wchar_h" != "yes"; then
20012     for ac_header in wcstr.h
20013 do :
20014   ac_fn_c_check_header_compile "$LINENO" "wcstr.h" "ac_cv_header_wcstr_h" "$ac_includes_default
20015 "
20016 if test "x$ac_cv_header_wcstr_h" = x""yes; then :
20017   cat >>confdefs.h <<_ACEOF
20018 #define HAVE_WCSTR_H 1
20019 _ACEOF
20020
20021 fi
20022
20023 done
20024
20025 fi
20026
20027 case "${host}" in
20028   *-pc-os2_emx | *-pc-os2-emx )
20029                   if test $ac_cv_header_langinfo_h = "yes" \
20030                 -a \(   "$wx_cv_gccversion" = "EMX2" \
20031                      -o "$wx_cv_gccversion" = "EMX3" \
20032                      -o "$wx_cv_gccversion" = "Innotek5" \); then
20033           LIBS="$LIBS -lintl"
20034       fi
20035   ;;
20036 esac
20037
20038 if test "$USE_UNIX" = 1 ; then
20039     for ac_header in sys/select.h
20040 do :
20041   ac_fn_c_check_header_compile "$LINENO" "sys/select.h" "ac_cv_header_sys_select_h" "$ac_includes_default
20042 "
20043 if test "x$ac_cv_header_sys_select_h" = x""yes; then :
20044   cat >>confdefs.h <<_ACEOF
20045 #define HAVE_SYS_SELECT_H 1
20046 _ACEOF
20047
20048 fi
20049
20050 done
20051
20052 fi
20053
20054
20055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
20056 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
20057 if test "${ac_cv_c_const+set}" = set; then :
20058   $as_echo_n "(cached) " >&6
20059 else
20060   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20061 /* end confdefs.h.  */
20062
20063 int
20064 main ()
20065 {
20066 /* FIXME: Include the comments suggested by Paul. */
20067 #ifndef __cplusplus
20068   /* Ultrix mips cc rejects this.  */
20069   typedef int charset[2];
20070   const charset cs;
20071   /* SunOS 4.1.1 cc rejects this.  */
20072   char const *const *pcpcc;
20073   char **ppc;
20074   /* NEC SVR4.0.2 mips cc rejects this.  */
20075   struct point {int x, y;};
20076   static struct point const zero = {0,0};
20077   /* AIX XL C 1.02.0.0 rejects this.
20078      It does not let you subtract one const X* pointer from another in
20079      an arm of an if-expression whose if-part is not a constant
20080      expression */
20081   const char *g = "string";
20082   pcpcc = &g + (g ? g-g : 0);
20083   /* HPUX 7.0 cc rejects these. */
20084   ++pcpcc;
20085   ppc = (char**) pcpcc;
20086   pcpcc = (char const *const *) ppc;
20087   { /* SCO 3.2v4 cc rejects this.  */
20088     char *t;
20089     char const *s = 0 ? (char *) 0 : (char const *) 0;
20090
20091     *t++ = 0;
20092     if (s) return 0;
20093   }
20094   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
20095     int x[] = {25, 17};
20096     const int *foo = &x[0];
20097     ++foo;
20098   }
20099   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
20100     typedef const int *iptr;
20101     iptr p = 0;
20102     ++p;
20103   }
20104   { /* AIX XL C 1.02.0.0 rejects this saying
20105        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
20106     struct s { int j; const int *ap[3]; };
20107     struct s *b; b->j = 5;
20108   }
20109   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
20110     const int foo = 10;
20111     if (!foo) return 0;
20112   }
20113   return !cs[0] && !zero.x;
20114 #endif
20115
20116   ;
20117   return 0;
20118 }
20119 _ACEOF
20120 if ac_fn_c_try_compile "$LINENO"; then :
20121   ac_cv_c_const=yes
20122 else
20123   ac_cv_c_const=no
20124 fi
20125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20126 fi
20127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
20128 $as_echo "$ac_cv_c_const" >&6; }
20129 if test $ac_cv_c_const = no; then
20130
20131 $as_echo "#define const /**/" >>confdefs.h
20132
20133 fi
20134
20135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20136 $as_echo_n "checking for inline... " >&6; }
20137 if test "${ac_cv_c_inline+set}" = set; then :
20138   $as_echo_n "(cached) " >&6
20139 else
20140   ac_cv_c_inline=no
20141 for ac_kw in inline __inline__ __inline; do
20142   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20143 /* end confdefs.h.  */
20144 #ifndef __cplusplus
20145 typedef int foo_t;
20146 static $ac_kw foo_t static_foo () {return 0; }
20147 $ac_kw foo_t foo () {return 0; }
20148 #endif
20149
20150 _ACEOF
20151 if ac_fn_c_try_compile "$LINENO"; then :
20152   ac_cv_c_inline=$ac_kw
20153 fi
20154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20155   test "$ac_cv_c_inline" != no && break
20156 done
20157
20158 fi
20159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20160 $as_echo "$ac_cv_c_inline" >&6; }
20161
20162 case $ac_cv_c_inline in
20163   inline | yes) ;;
20164   *)
20165     case $ac_cv_c_inline in
20166       no) ac_val=;;
20167       *) ac_val=$ac_cv_c_inline;;
20168     esac
20169     cat >>confdefs.h <<_ACEOF
20170 #ifndef __cplusplus
20171 #define inline $ac_val
20172 #endif
20173 _ACEOF
20174     ;;
20175 esac
20176
20177
20178 # The cast to long int works around a bug in the HP C Compiler
20179 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20180 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20181 # This bug is HP SR number 8606223364.
20182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
20183 $as_echo_n "checking size of short... " >&6; }
20184 if test "${ac_cv_sizeof_short+set}" = set; then :
20185   $as_echo_n "(cached) " >&6
20186 else
20187   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short"        "$ac_includes_default"; then :
20188
20189 else
20190   if test "$ac_cv_type_short" = yes; then
20191      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20192 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20193 as_fn_error 77 "cannot compute sizeof (short)
20194 See \`config.log' for more details" "$LINENO" 5 ; }
20195    else
20196      ac_cv_sizeof_short=0
20197    fi
20198 fi
20199
20200 fi
20201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
20202 $as_echo "$ac_cv_sizeof_short" >&6; }
20203
20204
20205
20206 cat >>confdefs.h <<_ACEOF
20207 #define SIZEOF_SHORT $ac_cv_sizeof_short
20208 _ACEOF
20209
20210
20211 # The cast to long int works around a bug in the HP C Compiler
20212 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20213 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20214 # This bug is HP SR number 8606223364.
20215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
20216 $as_echo_n "checking size of void *... " >&6; }
20217 if test "${ac_cv_sizeof_void_p+set}" = set; then :
20218   $as_echo_n "(cached) " >&6
20219 else
20220   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p"        "$ac_includes_default"; then :
20221
20222 else
20223   if test "$ac_cv_type_void_p" = yes; then
20224      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20225 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20226 as_fn_error 77 "cannot compute sizeof (void *)
20227 See \`config.log' for more details" "$LINENO" 5 ; }
20228    else
20229      ac_cv_sizeof_void_p=0
20230    fi
20231 fi
20232
20233 fi
20234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
20235 $as_echo "$ac_cv_sizeof_void_p" >&6; }
20236
20237
20238
20239 cat >>confdefs.h <<_ACEOF
20240 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
20241 _ACEOF
20242
20243
20244 # The cast to long int works around a bug in the HP C Compiler
20245 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20246 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20247 # This bug is HP SR number 8606223364.
20248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
20249 $as_echo_n "checking size of int... " >&6; }
20250 if test "${ac_cv_sizeof_int+set}" = set; then :
20251   $as_echo_n "(cached) " >&6
20252 else
20253   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
20254
20255 else
20256   if test "$ac_cv_type_int" = yes; then
20257      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20258 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20259 as_fn_error 77 "cannot compute sizeof (int)
20260 See \`config.log' for more details" "$LINENO" 5 ; }
20261    else
20262      ac_cv_sizeof_int=0
20263    fi
20264 fi
20265
20266 fi
20267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
20268 $as_echo "$ac_cv_sizeof_int" >&6; }
20269
20270
20271
20272 cat >>confdefs.h <<_ACEOF
20273 #define SIZEOF_INT $ac_cv_sizeof_int
20274 _ACEOF
20275
20276
20277 # The cast to long int works around a bug in the HP C Compiler
20278 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20279 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20280 # This bug is HP SR number 8606223364.
20281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
20282 $as_echo_n "checking size of long... " >&6; }
20283 if test "${ac_cv_sizeof_long+set}" = set; then :
20284   $as_echo_n "(cached) " >&6
20285 else
20286   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
20287
20288 else
20289   if test "$ac_cv_type_long" = yes; then
20290      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20291 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20292 as_fn_error 77 "cannot compute sizeof (long)
20293 See \`config.log' for more details" "$LINENO" 5 ; }
20294    else
20295      ac_cv_sizeof_long=0
20296    fi
20297 fi
20298
20299 fi
20300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
20301 $as_echo "$ac_cv_sizeof_long" >&6; }
20302
20303
20304
20305 cat >>confdefs.h <<_ACEOF
20306 #define SIZEOF_LONG $ac_cv_sizeof_long
20307 _ACEOF
20308
20309
20310 # The cast to long int works around a bug in the HP C Compiler
20311 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20312 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20313 # This bug is HP SR number 8606223364.
20314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of size_t" >&5
20315 $as_echo_n "checking size of size_t... " >&6; }
20316 if test "${ac_cv_sizeof_size_t+set}" = set; then :
20317   $as_echo_n "(cached) " >&6
20318 else
20319   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (size_t))" "ac_cv_sizeof_size_t"        "$ac_includes_default"; then :
20320
20321 else
20322   if test "$ac_cv_type_size_t" = yes; then
20323      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20324 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20325 as_fn_error 77 "cannot compute sizeof (size_t)
20326 See \`config.log' for more details" "$LINENO" 5 ; }
20327    else
20328      ac_cv_sizeof_size_t=0
20329    fi
20330 fi
20331
20332 fi
20333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_size_t" >&5
20334 $as_echo "$ac_cv_sizeof_size_t" >&6; }
20335
20336
20337
20338 cat >>confdefs.h <<_ACEOF
20339 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
20340 _ACEOF
20341
20342
20343
20344 case "${host}" in
20345     arm-*-linux* )
20346         # The cast to long int works around a bug in the HP C Compiler
20347 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20348 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20349 # This bug is HP SR number 8606223364.
20350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
20351 $as_echo_n "checking size of long long... " >&6; }
20352 if test "${ac_cv_sizeof_long_long+set}" = set; then :
20353   $as_echo_n "(cached) " >&6
20354 else
20355   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long"        "$ac_includes_default"; then :
20356
20357 else
20358   if test "$ac_cv_type_long_long" = yes; then
20359      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20360 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20361 as_fn_error 77 "cannot compute sizeof (long long)
20362 See \`config.log' for more details" "$LINENO" 5 ; }
20363    else
20364      ac_cv_sizeof_long_long=0
20365    fi
20366 fi
20367
20368 fi
20369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
20370 $as_echo "$ac_cv_sizeof_long_long" >&6; }
20371
20372
20373
20374 cat >>confdefs.h <<_ACEOF
20375 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20376 _ACEOF
20377
20378
20379     ;;
20380     *-hp-hpux* )
20381         # The cast to long int works around a bug in the HP C Compiler
20382 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20383 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20384 # This bug is HP SR number 8606223364.
20385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
20386 $as_echo_n "checking size of long long... " >&6; }
20387 if test "${ac_cv_sizeof_long_long+set}" = set; then :
20388   $as_echo_n "(cached) " >&6
20389 else
20390   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long"        "$ac_includes_default"; then :
20391
20392 else
20393   if test "$ac_cv_type_long_long" = yes; then
20394      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20395 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20396 as_fn_error 77 "cannot compute sizeof (long long)
20397 See \`config.log' for more details" "$LINENO" 5 ; }
20398    else
20399      ac_cv_sizeof_long_long=0
20400    fi
20401 fi
20402
20403 fi
20404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
20405 $as_echo "$ac_cv_sizeof_long_long" >&6; }
20406
20407
20408
20409 cat >>confdefs.h <<_ACEOF
20410 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20411 _ACEOF
20412
20413
20414         if test "$ac_cv_sizeof_long_long" != 0; then
20415                         CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
20416         fi
20417     ;;
20418     * )
20419         # The cast to long int works around a bug in the HP C Compiler
20420 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20421 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20422 # This bug is HP SR number 8606223364.
20423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
20424 $as_echo_n "checking size of long long... " >&6; }
20425 if test "${ac_cv_sizeof_long_long+set}" = set; then :
20426   $as_echo_n "(cached) " >&6
20427 else
20428   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long"        "$ac_includes_default"; then :
20429
20430 else
20431   if test "$ac_cv_type_long_long" = yes; then
20432      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20433 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20434 as_fn_error 77 "cannot compute sizeof (long long)
20435 See \`config.log' for more details" "$LINENO" 5 ; }
20436    else
20437      ac_cv_sizeof_long_long=0
20438    fi
20439 fi
20440
20441 fi
20442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
20443 $as_echo "$ac_cv_sizeof_long_long" >&6; }
20444
20445
20446
20447 cat >>confdefs.h <<_ACEOF
20448 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20449 _ACEOF
20450
20451
20452 esac
20453
20454 # The cast to long int works around a bug in the HP C Compiler
20455 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20456 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20457 # This bug is HP SR number 8606223364.
20458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of wchar_t" >&5
20459 $as_echo_n "checking size of wchar_t... " >&6; }
20460 if test "${ac_cv_sizeof_wchar_t+set}" = set; then :
20461   $as_echo_n "(cached) " >&6
20462 else
20463   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (wchar_t))" "ac_cv_sizeof_wchar_t"        "
20464         /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20465         #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20466         #  error \"fake wchar_t\"
20467         #endif
20468         #ifdef HAVE_WCHAR_H
20469         #  ifdef __CYGWIN__
20470         #    include <stddef.h>
20471         #  endif
20472         #  include <wchar.h>
20473         #endif
20474         #ifdef HAVE_STDLIB_H
20475         #  include <stdlib.h>
20476         #endif
20477         #include <stdio.h>
20478
20479
20480 "; then :
20481
20482 else
20483   if test "$ac_cv_type_wchar_t" = yes; then
20484      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20485 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20486 as_fn_error 77 "cannot compute sizeof (wchar_t)
20487 See \`config.log' for more details" "$LINENO" 5 ; }
20488    else
20489      ac_cv_sizeof_wchar_t=0
20490    fi
20491 fi
20492
20493 fi
20494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_wchar_t" >&5
20495 $as_echo "$ac_cv_sizeof_wchar_t" >&6; }
20496
20497
20498
20499 cat >>confdefs.h <<_ACEOF
20500 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
20501 _ACEOF
20502
20503
20504 if test "$ac_cv_sizeof_wchar_t" = 0; then
20505     as_fn_error $? "wxWidgets requires wchar_t support." "$LINENO" 5
20506 fi
20507 $as_echo "#define wxUSE_WCHAR_T 1" >>confdefs.h
20508
20509
20510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for va_copy" >&5
20511 $as_echo_n "checking for va_copy... " >&6; }
20512 if test "${wx_cv_func_va_copy+set}" = set; then :
20513   $as_echo_n "(cached) " >&6
20514 else
20515
20516         ac_ext=cpp
20517 ac_cpp='$CXXCPP $CPPFLAGS'
20518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20521
20522         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20523 /* end confdefs.h.  */
20524
20525
20526                 #include <stdarg.h>
20527                 void foo(char *f, ...)
20528                 {
20529                     va_list ap1, ap2;
20530                     va_start(ap1, f);
20531                     va_copy(ap2, ap1);
20532                     va_end(ap2);
20533                     va_end(ap1);
20534                 }
20535                 int main()
20536                 {
20537                     foo("hi", 17);
20538                     return 0;
20539                 }
20540
20541 _ACEOF
20542 if ac_fn_cxx_try_link "$LINENO"; then :
20543   wx_cv_func_va_copy=yes
20544 else
20545   wx_cv_func_va_copy=no
20546
20547 fi
20548 rm -f core conftest.err conftest.$ac_objext \
20549     conftest$ac_exeext conftest.$ac_ext
20550         ac_ext=c
20551 ac_cpp='$CPP $CPPFLAGS'
20552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20555
20556
20557
20558 fi
20559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_va_copy" >&5
20560 $as_echo "$wx_cv_func_va_copy" >&6; }
20561
20562 if test $wx_cv_func_va_copy = "yes"; then
20563     $as_echo "#define HAVE_VA_COPY 1" >>confdefs.h
20564
20565 else
20566         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if va_list can be copied by value" >&5
20567 $as_echo_n "checking if va_list can be copied by value... " >&6; }
20568 if test "${wx_cv_type_va_list_lvalue+set}" = set; then :
20569   $as_echo_n "(cached) " >&6
20570 else
20571
20572             if test "$cross_compiling" = yes; then :
20573                   wx_cv_type_va_list_lvalue=yes
20574
20575 else
20576   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20577 /* end confdefs.h.  */
20578
20579
20580                     #include <stdarg.h>
20581                     int foo(char *f, ...)
20582                     {
20583                         va_list ap1, ap2;
20584                         va_start(ap1, f);
20585                         ap2 = ap1;
20586                         if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
20587                             return 1;
20588                         va_end(ap2);
20589                         va_end(ap1);
20590                         return 0;
20591                     }
20592                     int main()
20593                     {
20594                         return foo("hi", 17);
20595                     }
20596
20597 _ACEOF
20598 if ac_fn_c_try_run "$LINENO"; then :
20599   wx_cv_type_va_list_lvalue=yes
20600 else
20601   wx_cv_type_va_list_lvalue=no
20602 fi
20603 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
20604   conftest.$ac_objext conftest.beam conftest.$ac_ext
20605 fi
20606
20607
20608
20609 fi
20610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_va_list_lvalue" >&5
20611 $as_echo "$wx_cv_type_va_list_lvalue" >&6; }
20612
20613     if test $wx_cv_type_va_list_lvalue != "yes"; then
20614                         $as_echo "#define VA_LIST_IS_ARRAY 1" >>confdefs.h
20615
20616     fi
20617 fi
20618
20619 if test "$wxUSE_VARARG_MACROS" = "yes"; then
20620
20621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports variadic macros" >&5
20622 $as_echo_n "checking whether the compiler supports variadic macros... " >&6; }
20623 if test "${wx_cv_have_variadic_macros+set}" = set; then :
20624   $as_echo_n "(cached) " >&6
20625 else
20626
20627                         ac_ext=cpp
20628 ac_cpp='$CXXCPP $CPPFLAGS'
20629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20632
20633         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20634 /* end confdefs.h.  */
20635
20636
20637                     #include <stdio.h>
20638                     #define test(fmt, ...) printf(fmt, __VA_ARGS__)
20639
20640 int
20641 main ()
20642 {
20643
20644                     test("%s %d %p", "test", 1, 0);
20645
20646
20647   ;
20648   return 0;
20649 }
20650 _ACEOF
20651 if ac_fn_cxx_try_compile "$LINENO"; then :
20652   wx_cv_have_variadic_macros=yes
20653 else
20654   wx_cv_have_variadic_macros=no
20655
20656 fi
20657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20658         ac_ext=c
20659 ac_cpp='$CPP $CPPFLAGS'
20660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20663
20664
20665
20666 fi
20667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_have_variadic_macros" >&5
20668 $as_echo "$wx_cv_have_variadic_macros" >&6; }
20669
20670 if test $wx_cv_have_variadic_macros = "yes"; then
20671     $as_echo "#define HAVE_VARIADIC_MACROS 1" >>confdefs.h
20672
20673 fi
20674
20675 fi
20676
20677 LARGEFILE_CPPFLAGS=
20678 # Check whether --enable-largefile was given.
20679 if test "${enable_largefile+set}" = set; then :
20680   enableval=$enable_largefile;
20681 fi
20682
20683 if test "$enable_largefile" != no; then
20684             wx_largefile=no
20685
20686     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
20687 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
20688 if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
20689   $as_echo_n "(cached) " >&6
20690 else
20691
20692           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20693 /* end confdefs.h.  */
20694 #define _FILE_OFFSET_BITS 64
20695                           #include <sys/types.h>
20696 int
20697 main ()
20698 {
20699 typedef struct {
20700     unsigned int field: sizeof(off_t) == 8;
20701 } wxlf;
20702
20703   ;
20704   return 0;
20705 }
20706 _ACEOF
20707 if ac_fn_c_try_compile "$LINENO"; then :
20708   ac_cv_sys_file_offset_bits=64
20709 else
20710   ac_cv_sys_file_offset_bits=no
20711 fi
20712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20713
20714
20715 fi
20716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
20717 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
20718
20719     if test "$ac_cv_sys_file_offset_bits" != no; then
20720         wx_largefile=yes
20721         cat >>confdefs.h <<_ACEOF
20722 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
20723 _ACEOF
20724
20725     fi
20726
20727     if test "x$wx_largefile" != "xyes"; then
20728
20729     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
20730 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
20731 if test "${ac_cv_sys_large_files+set}" = set; then :
20732   $as_echo_n "(cached) " >&6
20733 else
20734
20735           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20736 /* end confdefs.h.  */
20737 #define _LARGE_FILES 1
20738                           #include <sys/types.h>
20739 int
20740 main ()
20741 {
20742 typedef struct {
20743     unsigned int field: sizeof(off_t) == 8;
20744 } wxlf;
20745
20746   ;
20747   return 0;
20748 }
20749 _ACEOF
20750 if ac_fn_c_try_compile "$LINENO"; then :
20751   ac_cv_sys_large_files=1
20752 else
20753   ac_cv_sys_large_files=no
20754 fi
20755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20756
20757
20758 fi
20759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
20760 $as_echo "$ac_cv_sys_large_files" >&6; }
20761
20762     if test "$ac_cv_sys_large_files" != no; then
20763         wx_largefile=yes
20764         cat >>confdefs.h <<_ACEOF
20765 #define _LARGE_FILES $ac_cv_sys_large_files
20766 _ACEOF
20767
20768     fi
20769
20770     fi
20771
20772     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if large file support is available" >&5
20773 $as_echo_n "checking if large file support is available... " >&6; }
20774     if test "x$wx_largefile" = "xyes"; then
20775         $as_echo "#define HAVE_LARGEFILE_SUPPORT 1" >>confdefs.h
20776
20777     fi
20778     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_largefile" >&5
20779 $as_echo "$wx_largefile" >&6; }
20780 fi
20781
20782 if test "$ac_cv_sys_file_offset_bits" = "64"; then
20783     LARGEFILE_CPPFLAGS="-D_FILE_OFFSET_BITS=64"
20784 elif test "$ac_cv_sys_large_files" = 1; then
20785     LARGEFILE_CPPFLAGS="-D_LARGE_FILES"
20786 fi
20787
20788 if test -n "$LARGEFILE_CPPFLAGS"; then
20789     WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
20790
20791                             if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
20792         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -D__STDC_EXT__ is required" >&5
20793 $as_echo_n "checking if -D__STDC_EXT__ is required... " >&6; }
20794 if test "${wx_cv_STDC_EXT_required+set}" = set; then :
20795   $as_echo_n "(cached) " >&6
20796 else
20797
20798                 ac_ext=cpp
20799 ac_cpp='$CXXCPP $CPPFLAGS'
20800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20803
20804                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20805 /* end confdefs.h.  */
20806
20807 int
20808 main ()
20809 {
20810
20811                         #ifndef __STDC_EXT__
20812                             choke me
20813                         #endif
20814
20815   ;
20816   return 0;
20817 }
20818 _ACEOF
20819 if ac_fn_cxx_try_compile "$LINENO"; then :
20820   wx_cv_STDC_EXT_required=no
20821 else
20822   wx_cv_STDC_EXT_required=yes
20823
20824 fi
20825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20826                 ac_ext=c
20827 ac_cpp='$CPP $CPPFLAGS'
20828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20831
20832
20833
20834 fi
20835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_STDC_EXT_required" >&5
20836 $as_echo "$wx_cv_STDC_EXT_required" >&6; }
20837         if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
20838             WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
20839         fi
20840     fi
20841 fi
20842
20843 ac_ext=cpp
20844 ac_cpp='$CXXCPP $CPPFLAGS'
20845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20848
20849 old_CPPFLAGS="$CPPFLAGS"
20850 CPPFLAGS="$CPPFLAGS $LARGEFILE_CPPFLAGS"
20851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE value needed for large files" >&5
20852 $as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; }
20853 if test "${ac_cv_sys_largefile_source+set}" = set; then :
20854   $as_echo_n "(cached) " >&6
20855 else
20856   while :; do
20857   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20858 /* end confdefs.h.  */
20859 #include <sys/types.h> /* for off_t */
20860      #include <stdio.h>
20861 int
20862 main ()
20863 {
20864 int (*fp) (FILE *, off_t, int) = fseeko;
20865      return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
20866   ;
20867   return 0;
20868 }
20869 _ACEOF
20870 if ac_fn_cxx_try_link "$LINENO"; then :
20871   ac_cv_sys_largefile_source=no; break
20872 fi
20873 rm -f core conftest.err conftest.$ac_objext \
20874     conftest$ac_exeext conftest.$ac_ext
20875   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20876 /* end confdefs.h.  */
20877 #define _LARGEFILE_SOURCE 1
20878 #include <sys/types.h> /* for off_t */
20879      #include <stdio.h>
20880 int
20881 main ()
20882 {
20883 int (*fp) (FILE *, off_t, int) = fseeko;
20884      return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
20885   ;
20886   return 0;
20887 }
20888 _ACEOF
20889 if ac_fn_cxx_try_link "$LINENO"; then :
20890   ac_cv_sys_largefile_source=1; break
20891 fi
20892 rm -f core conftest.err conftest.$ac_objext \
20893     conftest$ac_exeext conftest.$ac_ext
20894   ac_cv_sys_largefile_source=unknown
20895   break
20896 done
20897 fi
20898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_source" >&5
20899 $as_echo "$ac_cv_sys_largefile_source" >&6; }
20900 case $ac_cv_sys_largefile_source in #(
20901   no | unknown) ;;
20902   *)
20903 cat >>confdefs.h <<_ACEOF
20904 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
20905 _ACEOF
20906 ;;
20907 esac
20908 rm -rf conftest*
20909
20910 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
20911 # in glibc 2.1.3, but that breaks too many other things.
20912 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
20913 if test $ac_cv_sys_largefile_source != unknown; then
20914
20915 $as_echo "#define HAVE_FSEEKO 1" >>confdefs.h
20916
20917 fi
20918
20919 CPPFLAGS="$old_CPPFLAGS"
20920 ac_ext=c
20921 ac_cpp='$CPP $CPPFLAGS'
20922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20925
20926 if test "$ac_cv_sys_largefile_source" != no; then
20927     WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
20928 fi
20929
20930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
20931 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
20932 if test "${ac_cv_c_bigendian+set}" = set; then :
20933   $as_echo_n "(cached) " >&6
20934 else
20935   ac_cv_c_bigendian=unknown
20936 # See if sys/param.h defines the BYTE_ORDER macro.
20937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20938 /* end confdefs.h.  */
20939 #include <sys/types.h>
20940 #include <sys/param.h>
20941 int
20942 main ()
20943 {
20944
20945 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
20946  bogus endian macros
20947 #endif
20948   ;
20949   return 0;
20950 }
20951 _ACEOF
20952 if ac_fn_c_try_compile "$LINENO"; then :
20953   # It does; now see whether it defined to BIG_ENDIAN or not.
20954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20955 /* end confdefs.h.  */
20956 #include <sys/types.h>
20957 #include <sys/param.h>
20958 int
20959 main ()
20960 {
20961
20962 #if BYTE_ORDER != BIG_ENDIAN
20963  not big endian
20964 #endif
20965   ;
20966   return 0;
20967 }
20968 _ACEOF
20969 if ac_fn_c_try_compile "$LINENO"; then :
20970   ac_cv_c_bigendian=yes
20971 else
20972   ac_cv_c_bigendian=no
20973 fi
20974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20975 fi
20976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20977 if test $ac_cv_c_bigendian = unknown; then
20978 if test "$cross_compiling" = yes; then :
20979   ac_cv_c_bigendian=unknown
20980 else
20981   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20982 /* end confdefs.h.  */
20983 main () {
20984   /* Are we little or big endian?  From Harbison&Steele.  */
20985   union
20986   {
20987     long l;
20988     char c[sizeof (long)];
20989   } u;
20990   u.l = 1;
20991   exit (u.c[sizeof (long) - 1] == 1);
20992 }
20993 _ACEOF
20994 if ac_fn_c_try_run "$LINENO"; then :
20995   ac_cv_c_bigendian=no
20996 else
20997   ac_cv_c_bigendian=yes
20998 fi
20999 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
21000   conftest.$ac_objext conftest.beam conftest.$ac_ext
21001 fi
21002
21003 fi
21004 fi
21005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
21006 $as_echo "$ac_cv_c_bigendian" >&6; }
21007 if test $ac_cv_c_bigendian = unknown; then
21008   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Assuming little-endian target machine - this may be overridden by adding the line \"ac_cv_c_bigendian=${ac_cv_c_bigendian='yes'}\" to config.cache file" >&5
21009 $as_echo "$as_me: WARNING: Assuming little-endian target machine - this may be overridden by adding the line \"ac_cv_c_bigendian=${ac_cv_c_bigendian='yes'}\" to config.cache file" >&2;}
21010 fi
21011 if test $ac_cv_c_bigendian = yes; then
21012   $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
21013
21014 fi
21015
21016
21017
21018
21019     ac_ext=cpp
21020 ac_cpp='$CXXCPP $CPPFLAGS'
21021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21024
21025
21026     for ac_header in iostream
21027 do :
21028   ac_fn_cxx_check_header_compile "$LINENO" "iostream" "ac_cv_header_iostream" "
21029 "
21030 if test "x$ac_cv_header_iostream" = x""yes; then :
21031   cat >>confdefs.h <<_ACEOF
21032 #define HAVE_IOSTREAM 1
21033 _ACEOF
21034
21035 fi
21036
21037 done
21038
21039
21040     if test "$ac_cv_header_iostream" = "yes" ; then
21041       :
21042     else
21043       $as_echo "#define wxUSE_IOSTREAMH 1" >>confdefs.h
21044
21045     fi
21046
21047     ac_ext=c
21048 ac_cpp='$CPP $CPPFLAGS'
21049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21052
21053
21054
21055
21056   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if C++ compiler supports the explicit keyword" >&5
21057 $as_echo_n "checking if C++ compiler supports the explicit keyword... " >&6; }
21058 if test "${wx_cv_explicit+set}" = set; then :
21059   $as_echo_n "(cached) " >&6
21060 else
21061
21062
21063     ac_ext=cpp
21064 ac_cpp='$CXXCPP $CPPFLAGS'
21065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21068
21069
21070             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21071 /* end confdefs.h.  */
21072
21073         class Foo { public: explicit Foo(int) {} };
21074
21075 int
21076 main ()
21077 {
21078
21079         return 0;
21080
21081   ;
21082   return 0;
21083 }
21084 _ACEOF
21085 if ac_fn_cxx_try_compile "$LINENO"; then :
21086
21087         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21088 /* end confdefs.h.  */
21089
21090                 class Foo { public: explicit Foo(int) {} };
21091                 static void TakeFoo(const Foo& foo) { }
21092
21093 int
21094 main ()
21095 {
21096
21097                 TakeFoo(17);
21098                 return 0;
21099
21100   ;
21101   return 0;
21102 }
21103 _ACEOF
21104 if ac_fn_cxx_try_compile "$LINENO"; then :
21105   wx_cv_explicit=no
21106 else
21107   wx_cv_explicit=yes
21108
21109 fi
21110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21111
21112 else
21113   wx_cv_explicit=no
21114
21115 fi
21116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21117
21118     ac_ext=c
21119 ac_cpp='$CPP $CPPFLAGS'
21120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21123
21124
21125 fi
21126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_explicit" >&5
21127 $as_echo "$wx_cv_explicit" >&6; }
21128
21129   if test "$wx_cv_explicit" = "yes"; then
21130     $as_echo "#define HAVE_EXPLICIT 1" >>confdefs.h
21131
21132   fi
21133
21134
21135 if test "x$SUNCXX" = xyes; then
21136     CXXFLAGS="-features=tmplife $GNU_SOURCE_FLAG $CXXFLAGS"
21137 fi
21138
21139 if test "x$SUNCC" = xyes; then
21140     CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
21141 fi
21142
21143 if test "x$SGICC" = "xyes"; then
21144     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if cc version is 7.4.4 or greater" >&5
21145 $as_echo_n "checking if cc version is 7.4.4 or greater... " >&6; }
21146 if test "${wx_cv_prog_sgicc744+set}" = set; then :
21147   $as_echo_n "(cached) " >&6
21148 else
21149
21150             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21151 /* end confdefs.h.  */
21152
21153 int
21154 main ()
21155 {
21156
21157                     #if _SGI_COMPILER_VERSION >= 744
21158                     chock me: mipsPro is 7.4.4 or later
21159                     #endif
21160
21161   ;
21162   return 0;
21163 }
21164 _ACEOF
21165 if ac_fn_c_try_compile "$LINENO"; then :
21166   wx_cv_prog_sgicc744=no
21167 else
21168   wx_cv_prog_sgicc744=yes
21169
21170 fi
21171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21172
21173
21174 fi
21175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_prog_sgicc744" >&5
21176 $as_echo "$wx_cv_prog_sgicc744" >&6; }
21177
21178     if test "x$wx_cv_prog_sgicc744" = "xyes"; then
21179         CFLAGS="-woff 3970 $CFLAGS"
21180     fi
21181 fi
21182 if test "x$SGICXX" = "xyes"; then
21183     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if CC version is 7.4.4 or greater" >&5
21184 $as_echo_n "checking if CC version is 7.4.4 or greater... " >&6; }
21185 if test "${wx_cv_prog_sgicxx744+set}" = set; then :
21186   $as_echo_n "(cached) " >&6
21187 else
21188
21189             ac_ext=cpp
21190 ac_cpp='$CXXCPP $CPPFLAGS'
21191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21194
21195             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21196 /* end confdefs.h.  */
21197
21198 int
21199 main ()
21200 {
21201
21202                     #if _SGI_COMPILER_VERSION >= 744
21203                     chock me: mipsPro is 7.4.4 or later
21204                     #endif
21205
21206   ;
21207   return 0;
21208 }
21209 _ACEOF
21210 if ac_fn_cxx_try_compile "$LINENO"; then :
21211   wx_cv_prog_sgicxx744=no
21212 else
21213   wx_cv_prog_sgicxx744=yes
21214
21215 fi
21216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21217             ac_ext=c
21218 ac_cpp='$CPP $CPPFLAGS'
21219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21222
21223
21224
21225 fi
21226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_prog_sgicxx744" >&5
21227 $as_echo "$wx_cv_prog_sgicxx744" >&6; }
21228
21229     if test "x$wx_cv_prog_sgicxx744" = "xyes"; then
21230         CXXFLAGS="-woff 3970 $CXXFLAGS"
21231     fi
21232 fi
21233
21234 if test "x$HPCC" = "xyes"; then
21235                     CFLAGS="+W 2011,2450 $CFLAGS"
21236 fi
21237 if test "x$HPCXX" = "xyes"; then
21238                             CXXFLAGS="+W 2340,4232 $CXXFLAGS"
21239 fi
21240
21241 if test "x$COMPAQCXX" = "xyes"; then
21242                                 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
21243 fi
21244
21245 ac_ext=cpp
21246 ac_cpp='$CXXCPP $CPPFLAGS'
21247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21250
21251
21252 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
21253     if test "$wxUSE_UNICODE" = "yes"; then
21254         std_string="std::wstring"
21255         char_type="wchar_t"
21256     else
21257         std_string="std::string"
21258         char_type="char"
21259     fi
21260
21261         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $std_string in <string>" >&5
21262 $as_echo_n "checking for $std_string in <string>... " >&6; }
21263 if test "${wx_cv_class_stdstring+set}" = set; then :
21264   $as_echo_n "(cached) " >&6
21265 else
21266
21267             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21268 /* end confdefs.h.  */
21269 #include <string>
21270 int
21271 main ()
21272 {
21273 $std_string foo;
21274   ;
21275   return 0;
21276 }
21277 _ACEOF
21278 if ac_fn_cxx_try_compile "$LINENO"; then :
21279   wx_cv_class_stdstring=yes
21280 else
21281   wx_cv_class_stdstring=no
21282
21283 fi
21284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21285
21286
21287 fi
21288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdstring" >&5
21289 $as_echo "$wx_cv_class_stdstring" >&6; }
21290
21291     if test "$wx_cv_class_stdstring" = yes; then
21292         if test "$wxUSE_UNICODE" = "yes"; then
21293             $as_echo "#define HAVE_STD_WSTRING 1" >>confdefs.h
21294
21295         fi
21296                     else
21297         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if std::basic_string<$char_type> works" >&5
21298 $as_echo_n "checking if std::basic_string<$char_type> works... " >&6; }
21299 if test "${wx_cv_class_stdbasicstring+set}" = set; then :
21300   $as_echo_n "(cached) " >&6
21301 else
21302
21303                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21304 /* end confdefs.h.  */
21305
21306                     #ifdef HAVE_WCHAR_H
21307                     #  ifdef __CYGWIN__
21308                     #    include <stddef.h>
21309                     #  endif
21310                     #  include <wchar.h>
21311                     #endif
21312                     #ifdef HAVE_STDLIB_H
21313                     #  include <stdlib.h>
21314                     #endif
21315                     #include <stdio.h>
21316                     #include <string>
21317
21318 int
21319 main ()
21320 {
21321 std::basic_string<$char_type> foo;
21322                      const $char_type* dummy = foo.c_str();
21323   ;
21324   return 0;
21325 }
21326 _ACEOF
21327 if ac_fn_cxx_try_compile "$LINENO"; then :
21328   wx_cv_class_stdbasicstring=yes
21329 else
21330   wx_cv_class_stdbasicstring=no
21331
21332 fi
21333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21334
21335
21336 fi
21337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdbasicstring" >&5
21338 $as_echo "$wx_cv_class_stdbasicstring" >&6; }
21339
21340         if test "$wx_cv_class_stdbasicstring" != yes; then
21341             if test "$wxUSE_STL" = "yes"; then
21342                 as_fn_error $? "Can't use --enable-stl without $std_string or std::basic_string<$char_type>" "$LINENO" 5
21343             elif test "$wxUSE_STD_STRING" = "yes"; then
21344                 as_fn_error $? "Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" "$LINENO" 5
21345             else
21346                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
21347 $as_echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
21348                 wxUSE_STD_STRING=no
21349             fi
21350         fi
21351     fi
21352 fi
21353
21354 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
21355     ac_fn_cxx_check_type "$LINENO" "std::istream" "ac_cv_type_std__istream" "#include <iostream>
21356 "
21357 if test "x$ac_cv_type_std__istream" = x""yes; then :
21358
21359 cat >>confdefs.h <<_ACEOF
21360 #define HAVE_STD__ISTREAM 1
21361 _ACEOF
21362
21363
21364 else
21365   wxUSE_STD_IOSTREAM=no
21366 fi
21367 ac_fn_cxx_check_type "$LINENO" "std::ostream" "ac_cv_type_std__ostream" "#include <iostream>
21368 "
21369 if test "x$ac_cv_type_std__ostream" = x""yes; then :
21370
21371 cat >>confdefs.h <<_ACEOF
21372 #define HAVE_STD__OSTREAM 1
21373 _ACEOF
21374
21375
21376 else
21377   wxUSE_STD_IOSTREAM=no
21378 fi
21379
21380
21381     if test "$wxUSE_STD_IOSTREAM" != "yes"; then
21382         if test "$wxUSE_STD_IOSTREAM" = "yes"; then
21383             as_fn_error $? "Can't use --enable-std_iostreams without std::istream and std::ostream" "$LINENO" 5
21384         else
21385             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
21386 $as_echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
21387         fi
21388     fi
21389 fi
21390
21391 if test "$wxUSE_STL" = "yes"; then
21392         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for basic STL functionality" >&5
21393 $as_echo_n "checking for basic STL functionality... " >&6; }
21394 if test "${wx_cv_lib_stl+set}" = set; then :
21395   $as_echo_n "(cached) " >&6
21396 else
21397   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21398 /* end confdefs.h.  */
21399 #include <string>
21400             #include <functional>
21401             #include <algorithm>
21402             #include <vector>
21403             #include <list>
21404 int
21405 main ()
21406 {
21407 std::vector<int> moo;
21408              std::list<int> foo;
21409              std::vector<int>::iterator it =
21410                  std::find_if(moo.begin(), moo.end(),
21411                               std::bind2nd(std::less<int>(), 3));
21412   ;
21413   return 0;
21414 }
21415 _ACEOF
21416 if ac_fn_cxx_try_compile "$LINENO"; then :
21417   wx_cv_lib_stl=yes
21418 else
21419   wx_cv_lib_stl=no
21420
21421 fi
21422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21423
21424 fi
21425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_stl" >&5
21426 $as_echo "$wx_cv_lib_stl" >&6; }
21427
21428     if test "$wx_cv_lib_stl" != yes; then
21429          as_fn_error $? "Can't use --enable-stl as basic STL functionality is missing" "$LINENO" 5
21430     fi
21431
21432         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compliant std::string::compare" >&5
21433 $as_echo_n "checking for compliant std::string::compare... " >&6; }
21434 if test "${wx_cv_func_stdstring_compare+set}" = set; then :
21435   $as_echo_n "(cached) " >&6
21436 else
21437   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21438 /* end confdefs.h.  */
21439 #include <string>
21440 int
21441 main ()
21442 {
21443 std::string foo, bar;
21444             foo.compare(bar);
21445             foo.compare(1, 1, bar);
21446             foo.compare(1, 1, bar, 1, 1);
21447             foo.compare("");
21448             foo.compare(1, 1, "");
21449             foo.compare(1, 1, "", 2);
21450   ;
21451   return 0;
21452 }
21453 _ACEOF
21454 if ac_fn_cxx_try_compile "$LINENO"; then :
21455   wx_cv_func_stdstring_compare=yes
21456 else
21457   wx_cv_func_stdstring_compare=no
21458
21459 fi
21460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21461
21462 fi
21463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_stdstring_compare" >&5
21464 $as_echo "$wx_cv_func_stdstring_compare" >&6; }
21465
21466     if test "$wx_cv_func_stdstring_compare" = yes; then
21467         $as_echo "#define HAVE_STD_STRING_COMPARE 1" >>confdefs.h
21468
21469     fi
21470
21471     if test "$wx_cv_class_gnuhashmapset" = yes; then
21472          $as_echo "#define HAVE_EXT_HASH_MAP 1" >>confdefs.h
21473
21474          $as_echo "#define HAVE_GNU_CXX_HASH_MAP 1" >>confdefs.h
21475
21476     fi
21477
21478     ac_fn_cxx_check_header_compile "$LINENO" "unordered_map" "ac_cv_header_unordered_map" "
21479
21480 "
21481 if test "x$ac_cv_header_unordered_map" = x""yes; then :
21482   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unordered_map and unordered_set in std" >&5
21483 $as_echo_n "checking for unordered_map and unordered_set in std... " >&6; }
21484 if test "${wx_cv_class_stdunorderedmapset+set}" = set; then :
21485   $as_echo_n "(cached) " >&6
21486 else
21487   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21488 /* end confdefs.h.  */
21489 #include <unordered_map>
21490                 #include <unordered_set>
21491 int
21492 main ()
21493 {
21494 std::unordered_map<double*, char*> test1;
21495                  std::unordered_set<char*> test2;
21496   ;
21497   return 0;
21498 }
21499 _ACEOF
21500 if ac_fn_cxx_try_compile "$LINENO"; then :
21501   wx_cv_class_stdunorderedmapset=yes
21502 else
21503   wx_cv_class_stdunorderedmapset=no
21504 fi
21505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21506
21507
21508 fi
21509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdunorderedmapset" >&5
21510 $as_echo "$wx_cv_class_stdunorderedmapset" >&6; }
21511 fi
21512
21513
21514
21515     if test "$wx_cv_class_stdunorderedmapset" = yes; then
21516          $as_echo "#define HAVE_STD_UNORDERED_MAP 1" >>confdefs.h
21517
21518          $as_echo "#define HAVE_STD_UNORDERED_SET 1" >>confdefs.h
21519
21520     else
21521         ac_fn_cxx_check_header_compile "$LINENO" "tr1/unordered_map" "ac_cv_header_tr1_unordered_map" "
21522
21523 "
21524 if test "x$ac_cv_header_tr1_unordered_map" = x""yes; then :
21525   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unordered_map and unordered_set in std::tr1" >&5
21526 $as_echo_n "checking for unordered_map and unordered_set in std::tr1... " >&6; }
21527 if test "${wx_cv_class_tr1unorderedmapset+set}" = set; then :
21528   $as_echo_n "(cached) " >&6
21529 else
21530   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21531 /* end confdefs.h.  */
21532 #include <tr1/unordered_map>
21533                     #include <tr1/unordered_set>
21534 int
21535 main ()
21536 {
21537 std::tr1::unordered_map<double*, char*> test1;
21538                      std::tr1::unordered_set<char*> test2;
21539             #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
21540             #error can't use unordered_{map,set} with gcc-4.[01]: http://gcc.gnu.org/PR24389
21541             #endif
21542   ;
21543   return 0;
21544 }
21545 _ACEOF
21546 if ac_fn_cxx_try_compile "$LINENO"; then :
21547   wx_cv_class_tr1unorderedmapset=yes
21548 else
21549   wx_cv_class_tr1unorderedmapset=no
21550 fi
21551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21552
21553
21554 fi
21555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_tr1unorderedmapset" >&5
21556 $as_echo "$wx_cv_class_tr1unorderedmapset" >&6; }
21557 fi
21558
21559
21560
21561         if test "$wx_cv_class_tr1unorderedmapset" = yes; then
21562             $as_echo "#define HAVE_TR1_UNORDERED_MAP 1" >>confdefs.h
21563
21564             $as_echo "#define HAVE_TR1_UNORDERED_SET 1" >>confdefs.h
21565
21566         else
21567                         ac_fn_cxx_check_header_compile "$LINENO" "hash_map" "ac_cv_header_hash_map" "
21568
21569 "
21570 if test "x$ac_cv_header_hash_map" = x""yes; then :
21571   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::hash_map and hash_set" >&5
21572 $as_echo_n "checking for std::hash_map and hash_set... " >&6; }
21573 if test "${wx_cv_class_stdhashmapset+set}" = set; then :
21574   $as_echo_n "(cached) " >&6
21575 else
21576   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21577 /* end confdefs.h.  */
21578 #include <hash_map>
21579                         #include <hash_set>
21580 int
21581 main ()
21582 {
21583 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
21584                          std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
21585   ;
21586   return 0;
21587 }
21588 _ACEOF
21589 if ac_fn_cxx_try_compile "$LINENO"; then :
21590   wx_cv_class_stdhashmapset=yes
21591 else
21592   wx_cv_class_stdhashmapset=no
21593 fi
21594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21595
21596
21597 fi
21598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdhashmapset" >&5
21599 $as_echo "$wx_cv_class_stdhashmapset" >&6; }
21600 fi
21601
21602
21603
21604             if test "$wx_cv_class_stdhashmapset" = yes; then
21605                 $as_echo "#define HAVE_HASH_MAP 1" >>confdefs.h
21606
21607                 $as_echo "#define HAVE_STD_HASH_MAP 1" >>confdefs.h
21608
21609             fi
21610
21611             ac_fn_cxx_check_header_compile "$LINENO" "ext/hash_map" "ac_cv_header_ext_hash_map" "
21612
21613 "
21614 if test "x$ac_cv_header_ext_hash_map" = x""yes; then :
21615   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU hash_map and hash_set" >&5
21616 $as_echo_n "checking for GNU hash_map and hash_set... " >&6; }
21617 if test "${wx_cv_class_gnuhashmapset+set}" = set; then :
21618   $as_echo_n "(cached) " >&6
21619 else
21620   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21621 /* end confdefs.h.  */
21622 #include <ext/hash_map>
21623                         #include <ext/hash_set>
21624 int
21625 main ()
21626 {
21627 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
21628                          __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
21629   ;
21630   return 0;
21631 }
21632 _ACEOF
21633 if ac_fn_cxx_try_compile "$LINENO"; then :
21634   wx_cv_class_gnuhashmapset=yes
21635 else
21636   wx_cv_class_gnuhashmapset=no
21637 fi
21638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21639
21640
21641 fi
21642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_gnuhashmapset" >&5
21643 $as_echo "$wx_cv_class_gnuhashmapset" >&6; }
21644 fi
21645
21646
21647
21648         fi
21649     fi
21650 fi
21651
21652 ac_ext=cpp
21653 ac_cpp='$CXXCPP $CPPFLAGS'
21654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
21658 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
21659 if test -z "$CXXCPP"; then
21660   if test "${ac_cv_prog_CXXCPP+set}" = set; then :
21661   $as_echo_n "(cached) " >&6
21662 else
21663       # Double quotes because CXXCPP needs to be expanded
21664     for CXXCPP in "$CXX -E" "/lib/cpp"
21665     do
21666       ac_preproc_ok=false
21667 for ac_cxx_preproc_warn_flag in '' yes
21668 do
21669   # Use a header file that comes with gcc, so configuring glibc
21670   # with a fresh cross-compiler works.
21671   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21672   # <limits.h> exists even on freestanding compilers.
21673   # On the NeXT, cc -E runs the code through the compiler's parser,
21674   # not just through cpp. "Syntax error" is here to catch this case.
21675   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21676 /* end confdefs.h.  */
21677 #ifdef __STDC__
21678 # include <limits.h>
21679 #else
21680 # include <assert.h>
21681 #endif
21682                      Syntax error
21683 _ACEOF
21684 if ac_fn_cxx_try_cpp "$LINENO"; then :
21685
21686 else
21687   # Broken: fails on valid input.
21688 continue
21689 fi
21690 rm -f conftest.err conftest.i conftest.$ac_ext
21691
21692   # OK, works on sane cases.  Now check whether nonexistent headers
21693   # can be detected and how.
21694   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21695 /* end confdefs.h.  */
21696 #include <ac_nonexistent.h>
21697 _ACEOF
21698 if ac_fn_cxx_try_cpp "$LINENO"; then :
21699   # Broken: success on invalid input.
21700 continue
21701 else
21702   # Passes both tests.
21703 ac_preproc_ok=:
21704 break
21705 fi
21706 rm -f conftest.err conftest.i conftest.$ac_ext
21707
21708 done
21709 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
21710 rm -f conftest.i conftest.err conftest.$ac_ext
21711 if $ac_preproc_ok; then :
21712   break
21713 fi
21714
21715     done
21716     ac_cv_prog_CXXCPP=$CXXCPP
21717
21718 fi
21719   CXXCPP=$ac_cv_prog_CXXCPP
21720 else
21721   ac_cv_prog_CXXCPP=$CXXCPP
21722 fi
21723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
21724 $as_echo "$CXXCPP" >&6; }
21725 ac_preproc_ok=false
21726 for ac_cxx_preproc_warn_flag in '' yes
21727 do
21728   # Use a header file that comes with gcc, so configuring glibc
21729   # with a fresh cross-compiler works.
21730   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21731   # <limits.h> exists even on freestanding compilers.
21732   # On the NeXT, cc -E runs the code through the compiler's parser,
21733   # not just through cpp. "Syntax error" is here to catch this case.
21734   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21735 /* end confdefs.h.  */
21736 #ifdef __STDC__
21737 # include <limits.h>
21738 #else
21739 # include <assert.h>
21740 #endif
21741                      Syntax error
21742 _ACEOF
21743 if ac_fn_cxx_try_cpp "$LINENO"; then :
21744
21745 else
21746   # Broken: fails on valid input.
21747 continue
21748 fi
21749 rm -f conftest.err conftest.i conftest.$ac_ext
21750
21751   # OK, works on sane cases.  Now check whether nonexistent headers
21752   # can be detected and how.
21753   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21754 /* end confdefs.h.  */
21755 #include <ac_nonexistent.h>
21756 _ACEOF
21757 if ac_fn_cxx_try_cpp "$LINENO"; then :
21758   # Broken: success on invalid input.
21759 continue
21760 else
21761   # Passes both tests.
21762 ac_preproc_ok=:
21763 break
21764 fi
21765 rm -f conftest.err conftest.i conftest.$ac_ext
21766
21767 done
21768 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
21769 rm -f conftest.i conftest.err conftest.$ac_ext
21770 if $ac_preproc_ok; then :
21771
21772 else
21773   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21774 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21775 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
21776 See \`config.log' for more details" "$LINENO" 5 ; }
21777 fi
21778
21779 ac_ext=cpp
21780 ac_cpp='$CXXCPP $CPPFLAGS'
21781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21784
21785
21786 for ac_header in type_traits tr1/type_traits
21787 do :
21788   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
21789 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
21790 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
21791   cat >>confdefs.h <<_ACEOF
21792 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
21793 _ACEOF
21794
21795 fi
21796
21797 done
21798
21799
21800
21801
21802   if test -n "$GCC"; then
21803     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
21804 $as_echo_n "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... " >&6; }
21805     if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then :
21806   $as_echo_n "(cached) " >&6
21807 else
21808
21809       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21810 /* end confdefs.h.  */
21811
21812 int
21813 main ()
21814 {
21815
21816           unsigned int value=0;
21817           /* wxAtomicInc doesn't use return value here */
21818           __sync_fetch_and_add(&value, 2);
21819           __sync_sub_and_fetch(&value, 1);
21820           /* but wxAtomicDec does, so mimic that: */
21821           unsigned int r2 = __sync_sub_and_fetch(&value, 1);
21822
21823   ;
21824   return 0;
21825 }
21826 _ACEOF
21827 if ac_fn_cxx_try_link "$LINENO"; then :
21828   wx_cv_cc_gcc_atomic_builtins=yes
21829 else
21830   wx_cv_cc_gcc_atomic_builtins=no
21831 fi
21832 rm -f core conftest.err conftest.$ac_objext \
21833     conftest$ac_exeext conftest.$ac_ext
21834
21835 fi
21836
21837     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_gcc_atomic_builtins" >&5
21838 $as_echo "$wx_cv_cc_gcc_atomic_builtins" >&6; }
21839     if test $wx_cv_cc_gcc_atomic_builtins = yes; then
21840       $as_echo "#define HAVE_GCC_ATOMIC_BUILTINS 1" >>confdefs.h
21841
21842     fi
21843   fi
21844
21845
21846 ac_ext=c
21847 ac_cpp='$CPP $CPPFLAGS'
21848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21851
21852
21853
21854 SEARCH_INCLUDE="\
21855     /usr/local/include        \
21856     /usr/local/X11/include    \
21857     /usr/local/include/X11    \
21858     /usr/local/X11R7/include  \
21859     /usr/local/X11R6/include  \
21860     /usr/local/include/X11R7  \
21861     /usr/local/include/X11R6  \
21862                               \
21863     /usr/Motif-2.1/include    \
21864     /usr/Motif-1.2/include    \
21865     /usr/include/Motif1.2     \
21866                               \
21867     /usr/dt/include           \
21868     /usr/openwin/include      \
21869                               \
21870     /usr/include/Xm           \
21871                               \
21872     /usr/X11R7/include        \
21873     /usr/X11R6/include        \
21874     /usr/X11R6.4/include      \
21875                               \
21876     /usr/include/X11R7        \
21877     /usr/include/X11R6        \
21878                               \
21879     /usr/X11/include          \
21880     /usr/include/X11          \
21881                               \
21882     /usr/XFree86/include/X11  \
21883     /usr/pkg/include          \
21884                               \
21885     /usr/local/X1R5/include  \
21886     /usr/local/include/X11R5  \
21887     /usr/X11R5/include        \
21888     /usr/include/X11R5        \
21889                               \
21890     /usr/local/X11R4/include  \
21891     /usr/local/include/X11R4  \
21892     /usr/X11R4/include        \
21893     /usr/include/X11R4        \
21894                               \
21895     /usr/openwin/share/include"
21896
21897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libraries directories" >&5
21898 $as_echo_n "checking for libraries directories... " >&6; }
21899
21900 case "${host}" in
21901     *-*-irix6* )
21902         if test "${wx_cv_std_libpath+set}" = set; then :
21903   $as_echo_n "(cached) " >&6
21904 else
21905
21906                 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
21907                     for e in a so sl dylib dll.a; do
21908                         libc="$d/libc.$e"
21909                         if test -f $libc; then
21910                             save_LIBS="$LIBS"
21911                             LIBS="$libc"
21912                             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21913 /* end confdefs.h.  */
21914
21915                                     int main() { return 0; }
21916
21917 _ACEOF
21918 if ac_fn_c_try_link "$LINENO"; then :
21919   wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
21920 fi
21921 rm -f core conftest.err conftest.$ac_objext \
21922     conftest$ac_exeext conftest.$ac_ext
21923                             LIBS="$save_LIBS"
21924                             if test "x$wx_cv_std_libpath" != "x"; then
21925                                 break 2
21926                             fi
21927                         fi
21928                     done
21929                 done
21930
21931
21932 fi
21933
21934         ;;
21935
21936     *-*-solaris2* )
21937                 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
21938             wx_cv_std_libpath="lib/64"
21939         fi
21940         ;;
21941
21942     *-*-linux* )
21943                                         if test "$ac_cv_sizeof_void_p" = 8; then
21944             if test -d "/usr/lib/`uname -m`-linux-gnu"; then
21945                 wx_cv_std_libfullpath="/usr/lib/`uname -m`-linux-gnu"
21946             elif test -d "/usr/lib64" -a ! -h "/usr/lib64"; then
21947                 wx_cv_std_libpath="lib64"
21948             fi
21949         else
21950             case "${host}" in
21951                 i*86-*-linux* )
21952                     if test -d '/usr/lib/i386-linux-gnu'; then
21953                         wx_cv_std_libfullpath='/usr/lib/i386-linux-gnu'
21954                     fi
21955             esac
21956         fi
21957
21958                                 if test -n "$wx_cv_std_libfullpath" -a -d "/usr/lib"; then
21959             wx_cv_std_libfullpath="$wx_cv_std_libfullpath /usr/lib"
21960         fi
21961         ;;
21962 esac
21963
21964 if test -z "$wx_cv_std_libpath"; then
21965     wx_cv_std_libpath="lib"
21966 fi
21967
21968 if test -z "$wx_cv_std_libfullpath"; then
21969     wx_cv_std_libfullpath="/usr/$wx_cv_std_libpath"
21970 fi
21971
21972
21973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_std_libfullpath" >&5
21974 $as_echo "$wx_cv_std_libfullpath" >&6; }
21975
21976 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` $wx_cv_std_libfullpath"
21977
21978 if test "$build" != "$host" -a "$GCC" = yes; then
21979                     if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
21980         cross_root=`dirname $cross_root`
21981         cross_root=`dirname $cross_root`
21982
21983                         SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
21984         SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
21985         SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
21986
21987                 if test -z "$PKG_CONFIG_PATH"; then
21988             PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
21989             export PKG_CONFIG_PATH
21990         fi
21991
21992                                 if test -z "$x_includes" -o "$x_includes" = NONE; then
21993
21994 ac_find_includes=
21995 for ac_dir in $SEARCH_INCLUDE /usr/include
21996   do
21997     if test -f "$ac_dir/X11/Intrinsic.h"; then
21998       ac_find_includes=$ac_dir
21999       break
22000     fi
22001   done
22002
22003             x_includes=$ac_find_includes
22004         fi
22005         if test -z "$x_libraries" -o "$x_libraries" = NONE; then
22006
22007   ac_find_libraries=
22008   for ac_dir in  $SEARCH_LIB
22009   do
22010     for ac_extension in a so sl dylib dll.a; do
22011       if test -f "$ac_dir/libXt.$ac_extension"; then
22012         ac_find_libraries=$ac_dir
22013         break 2
22014       fi
22015     done
22016   done
22017
22018             x_libraries=$ac_find_libraries
22019         fi
22020     fi
22021 fi
22022
22023
22024 cat >confcache <<\_ACEOF
22025 # This file is a shell script that caches the results of configure
22026 # tests run on this system so they can be shared between configure
22027 # scripts and configure runs, see configure's option --config-cache.
22028 # It is not useful on other systems.  If it contains results you don't
22029 # want to keep, you may remove or edit it.
22030 #
22031 # config.status only pays attention to the cache file if you give it
22032 # the --recheck option to rerun configure.
22033 #
22034 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22035 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22036 # following values.
22037
22038 _ACEOF
22039
22040 # The following way of writing the cache mishandles newlines in values,
22041 # but we know of no workaround that is simple, portable, and efficient.
22042 # So, we kill variables containing newlines.
22043 # Ultrix sh set writes to stderr and can't be redirected directly,
22044 # and sets the high bit in the cache file unless we assign to the vars.
22045 (
22046   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22047     eval ac_val=\$$ac_var
22048     case $ac_val in #(
22049     *${as_nl}*)
22050       case $ac_var in #(
22051       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22052 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22053       esac
22054       case $ac_var in #(
22055       _ | IFS | as_nl) ;; #(
22056       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
22057       *) { eval $ac_var=; unset $ac_var;} ;;
22058       esac ;;
22059     esac
22060   done
22061
22062   (set) 2>&1 |
22063     case $as_nl`(ac_space=' '; set) 2>&1` in #(
22064     *${as_nl}ac_space=\ *)
22065       # `set' does not quote correctly, so add quotes: double-quote
22066       # substitution turns \\\\ into \\, and sed turns \\ into \.
22067       sed -n \
22068         "s/'/'\\\\''/g;
22069           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22070       ;; #(
22071     *)
22072       # `set' quotes correctly as required by POSIX, so do not add quotes.
22073       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22074       ;;
22075     esac |
22076     sort
22077 ) |
22078   sed '
22079      /^ac_cv_env_/b end
22080      t clear
22081      :clear
22082      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22083      t end
22084      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22085      :end' >>confcache
22086 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22087   if test -w "$cache_file"; then
22088     test "x$cache_file" != "x/dev/null" &&
22089       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22090 $as_echo "$as_me: updating cache $cache_file" >&6;}
22091     cat confcache >$cache_file
22092   else
22093     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22094 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
22095   fi
22096 fi
22097 rm -f confcache
22098
22099 have_cos=0
22100 have_floor=0
22101 for ac_func in cos
22102 do :
22103   ac_fn_c_check_func "$LINENO" "cos" "ac_cv_func_cos"
22104 if test "x$ac_cv_func_cos" = x""yes; then :
22105   cat >>confdefs.h <<_ACEOF
22106 #define HAVE_COS 1
22107 _ACEOF
22108  have_cos=1
22109 fi
22110 done
22111
22112 for ac_func in floor
22113 do :
22114   ac_fn_c_check_func "$LINENO" "floor" "ac_cv_func_floor"
22115 if test "x$ac_cv_func_floor" = x""yes; then :
22116   cat >>confdefs.h <<_ACEOF
22117 #define HAVE_FLOOR 1
22118 _ACEOF
22119  have_floor=1
22120 fi
22121 done
22122
22123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if floating point functions link without -lm" >&5
22124 $as_echo_n "checking if floating point functions link without -lm... " >&6; }
22125 if test "$have_cos" = 1 -a "$have_floor" = 1; then
22126     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22127 $as_echo "yes" >&6; }
22128 else
22129     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22130 $as_echo "no" >&6; }
22131     LIBS="$LIBS -lm"
22132     # use different functions to avoid configure caching
22133     have_sin=0
22134     have_ceil=0
22135     for ac_func in sin
22136 do :
22137   ac_fn_c_check_func "$LINENO" "sin" "ac_cv_func_sin"
22138 if test "x$ac_cv_func_sin" = x""yes; then :
22139   cat >>confdefs.h <<_ACEOF
22140 #define HAVE_SIN 1
22141 _ACEOF
22142  have_sin=1
22143 fi
22144 done
22145
22146     for ac_func in ceil
22147 do :
22148   ac_fn_c_check_func "$LINENO" "ceil" "ac_cv_func_ceil"
22149 if test "x$ac_cv_func_ceil" = x""yes; then :
22150   cat >>confdefs.h <<_ACEOF
22151 #define HAVE_CEIL 1
22152 _ACEOF
22153  have_ceil=1
22154 fi
22155 done
22156
22157     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if floating point functions link with -lm" >&5
22158 $as_echo_n "checking if floating point functions link with -lm... " >&6; }
22159     if test "$have_sin" = 1 -a "$have_ceil" = 1; then
22160         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22161 $as_echo "yes" >&6; }
22162     else
22163         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22164 $as_echo "no" >&6; }
22165         # not sure we should warn the user, crash, etc.
22166     fi
22167 fi
22168
22169 ac_ext=cpp
22170 ac_cpp='$CXXCPP $CPPFLAGS'
22171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22174
22175 if test "wxUSE_UNICODE" = "yes"; then
22176
22177   for wx_func in wcstoull
22178   do
22179     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
22180 $as_echo_n "checking for $wx_func... " >&6; }
22181 if eval "test \"\${wx_cv_func_$wx_func+set}\"" = set; then :
22182   $as_echo_n "(cached) " >&6
22183 else
22184
22185         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22186 /* end confdefs.h.  */
22187
22188
22189
22190                 $ac_includes_default
22191
22192 int
22193 main ()
22194 {
22195
22196                 #ifndef $wx_func
22197                   &$wx_func;
22198                 #endif
22199
22200
22201   ;
22202   return 0;
22203 }
22204
22205 _ACEOF
22206 if ac_fn_cxx_try_link "$LINENO"; then :
22207   eval wx_cv_func_$wx_func=yes
22208 else
22209   eval wx_cv_func_$wx_func=no
22210 fi
22211 rm -f core conftest.err conftest.$ac_objext \
22212     conftest$ac_exeext conftest.$ac_ext
22213
22214 fi
22215 eval ac_res=\$wx_cv_func_$wx_func
22216                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
22217 $as_echo "$ac_res" >&6; }
22218
22219     if eval test \$wx_cv_func_$wx_func = yes
22220     then
22221       cat >>confdefs.h <<_ACEOF
22222 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
22223 _ACEOF
22224
22225
22226     else
22227       :
22228
22229     fi
22230   done
22231
22232 else
22233
22234   for wx_func in strtoull
22235   do
22236     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
22237 $as_echo_n "checking for $wx_func... " >&6; }
22238 if eval "test \"\${wx_cv_func_$wx_func+set}\"" = set; then :
22239   $as_echo_n "(cached) " >&6
22240 else
22241
22242         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22243 /* end confdefs.h.  */
22244
22245
22246
22247                 $ac_includes_default
22248
22249 int
22250 main ()
22251 {
22252
22253                 #ifndef $wx_func
22254                   &$wx_func;
22255                 #endif
22256
22257
22258   ;
22259   return 0;
22260 }
22261
22262 _ACEOF
22263 if ac_fn_cxx_try_link "$LINENO"; then :
22264   eval wx_cv_func_$wx_func=yes
22265 else
22266   eval wx_cv_func_$wx_func=no
22267 fi
22268 rm -f core conftest.err conftest.$ac_objext \
22269     conftest$ac_exeext conftest.$ac_ext
22270
22271 fi
22272 eval ac_res=\$wx_cv_func_$wx_func
22273                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
22274 $as_echo "$ac_res" >&6; }
22275
22276     if eval test \$wx_cv_func_$wx_func = yes
22277     then
22278       cat >>confdefs.h <<_ACEOF
22279 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
22280 _ACEOF
22281
22282
22283     else
22284       :
22285
22286     fi
22287   done
22288
22289 fi
22290 ac_ext=c
22291 ac_cpp='$CPP $CPPFLAGS'
22292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22295
22296
22297
22298
22299 if test "$wxUSE_REGEX" != "no"; then
22300     $as_echo "#define wxUSE_REGEX 1" >>confdefs.h
22301
22302
22303     if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
22304         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
22305 $as_echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
22306         wxUSE_REGEX=builtin
22307     fi
22308
22309     if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
22310                         ac_fn_c_check_header_compile "$LINENO" "regex.h" "ac_cv_header_regex_h" "
22311 "
22312 if test "x$ac_cv_header_regex_h" = x""yes; then :
22313   for ac_func in regcomp re_search
22314 do :
22315   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22316 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22317 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
22318   cat >>confdefs.h <<_ACEOF
22319 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22320 _ACEOF
22321
22322 fi
22323 done
22324
22325 fi
22326
22327
22328
22329         if test "x$ac_cv_func_regcomp" != "xyes"; then
22330             if test "$wxUSE_REGEX" = "sys" ; then
22331                 as_fn_error $? "system regex library not found! Use --with-regex to use built-in version" "$LINENO" 5
22332             else
22333                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system regex library not found, will use built-in instead" >&5
22334 $as_echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
22335                 wxUSE_REGEX=builtin
22336             fi
22337         else
22338                         wxUSE_REGEX=sys
22339                         $as_echo "#define WX_NO_REGEX_ADVANCED 1" >>confdefs.h
22340
22341         fi
22342     fi
22343 fi
22344
22345
22346 ZLIB_LINK=
22347 if test "$wxUSE_ZLIB" != "no" ; then
22348     $as_echo "#define wxUSE_ZLIB 1" >>confdefs.h
22349
22350
22351     if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
22352                                                 if test "$USE_DARWIN" = 1; then
22353             system_zlib_h_ok="yes"
22354         else
22355                                                                                     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlib.h >= 1.1.4" >&5
22356 $as_echo_n "checking for zlib.h >= 1.1.4... " >&6; }
22357 if test "${ac_cv_header_zlib_h+set}" = set; then :
22358   $as_echo_n "(cached) " >&6
22359 else
22360   if test "$cross_compiling" = yes; then :
22361                       unset ac_cv_header_zlib_h
22362
22363 else
22364   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22365 /* end confdefs.h.  */
22366
22367                         #include <zlib.h>
22368                         #include <stdio.h>
22369
22370                         int main()
22371                         {
22372                             FILE *f=fopen("conftestval", "w");
22373                             if (!f) exit(1);
22374                             fprintf(f, "%s",
22375                                     ZLIB_VERSION[0] == '1' &&
22376                                     (ZLIB_VERSION[2] > '1' ||
22377                                     (ZLIB_VERSION[2] == '1' &&
22378                                      ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
22379                             exit(0);
22380                         }
22381
22382 _ACEOF
22383 if ac_fn_c_try_run "$LINENO"; then :
22384   ac_cv_header_zlib_h=`cat conftestval`
22385 else
22386   ac_cv_header_zlib_h=no
22387 fi
22388 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
22389   conftest.$ac_objext conftest.beam conftest.$ac_ext
22390 fi
22391
22392
22393 fi
22394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_zlib_h" >&5
22395 $as_echo "$ac_cv_header_zlib_h" >&6; }
22396                                     ac_fn_c_check_header_compile "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "
22397 "
22398 if test "x$ac_cv_header_zlib_h" = x""yes; then :
22399
22400 fi
22401
22402
22403
22404             system_zlib_h_ok=$ac_cv_header_zlib_h
22405         fi
22406
22407         if test "$system_zlib_h_ok" = "yes"; then
22408             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for deflate in -lz" >&5
22409 $as_echo_n "checking for deflate in -lz... " >&6; }
22410 if test "${ac_cv_lib_z_deflate+set}" = set; then :
22411   $as_echo_n "(cached) " >&6
22412 else
22413   ac_check_lib_save_LIBS=$LIBS
22414 LIBS="-lz  $LIBS"
22415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22416 /* end confdefs.h.  */
22417
22418 /* Override any GCC internal prototype to avoid an error.
22419    Use char because int might match the return type of a GCC
22420    builtin and then its argument prototype would still apply.  */
22421 #ifdef __cplusplus
22422 extern "C"
22423 #endif
22424 char deflate ();
22425 int
22426 main ()
22427 {
22428 return deflate ();
22429   ;
22430   return 0;
22431 }
22432 _ACEOF
22433 if ac_fn_c_try_link "$LINENO"; then :
22434   ac_cv_lib_z_deflate=yes
22435 else
22436   ac_cv_lib_z_deflate=no
22437 fi
22438 rm -f core conftest.err conftest.$ac_objext \
22439     conftest$ac_exeext conftest.$ac_ext
22440 LIBS=$ac_check_lib_save_LIBS
22441 fi
22442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_deflate" >&5
22443 $as_echo "$ac_cv_lib_z_deflate" >&6; }
22444 if test "x$ac_cv_lib_z_deflate" = x""yes; then :
22445   ZLIB_LINK=" -lz"
22446 fi
22447
22448         fi
22449
22450         if test "x$ZLIB_LINK" = "x" ; then
22451             if test "$wxUSE_ZLIB" = "sys" ; then
22452                 as_fn_error $? "zlib library not found or too old! Use --with-zlib=builtin to use built-in version" "$LINENO" 5
22453             else
22454                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: zlib library not found or too old, will use built-in instead" >&5
22455 $as_echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
22456                 wxUSE_ZLIB=builtin
22457             fi
22458         else
22459                         wxUSE_ZLIB=sys
22460         fi
22461     fi
22462 fi
22463
22464
22465 PNG_LINK=
22466 if test "$wxUSE_LIBPNG" != "no" ; then
22467     $as_echo "#define wxUSE_LIBPNG 1" >>confdefs.h
22468
22469
22470             if test "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
22471         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
22472 $as_echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
22473         wxUSE_LIBPNG=builtin
22474     fi
22475
22476     if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
22477                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png.h > 0.90" >&5
22478 $as_echo_n "checking for png.h > 0.90... " >&6; }
22479 if test "${ac_cv_header_png_h+set}" = set; then :
22480   $as_echo_n "(cached) " >&6
22481 else
22482   if test "$cross_compiling" = yes; then :
22483                   unset ac_cv_header_png_h
22484
22485 else
22486   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22487 /* end confdefs.h.  */
22488
22489                     #include <png.h>
22490                     #include <stdio.h>
22491
22492                     int main()
22493                     {
22494                         FILE *f=fopen("conftestval", "w");
22495                         if (!f) exit(1);
22496                         fprintf(f, "%s",
22497                                  PNG_LIBPNG_VER > 90 ? "yes" : "no");
22498                         exit(0);
22499                     }
22500
22501 _ACEOF
22502 if ac_fn_c_try_run "$LINENO"; then :
22503   ac_cv_header_png_h=`cat conftestval`
22504 else
22505   ac_cv_header_png_h=no
22506 fi
22507 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
22508   conftest.$ac_objext conftest.beam conftest.$ac_ext
22509 fi
22510
22511
22512 fi
22513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_png_h" >&5
22514 $as_echo "$ac_cv_header_png_h" >&6; }
22515         ac_fn_c_check_header_compile "$LINENO" "png.h" "ac_cv_header_png_h" "
22516 "
22517 if test "x$ac_cv_header_png_h" = x""yes; then :
22518
22519 fi
22520
22521
22522
22523         if test "$ac_cv_header_png_h" = "yes"; then
22524             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_sig_cmp in -lpng" >&5
22525 $as_echo_n "checking for png_sig_cmp in -lpng... " >&6; }
22526 if test "${ac_cv_lib_png_png_sig_cmp+set}" = set; then :
22527   $as_echo_n "(cached) " >&6
22528 else
22529   ac_check_lib_save_LIBS=$LIBS
22530 LIBS="-lpng -lz -lm $LIBS"
22531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22532 /* end confdefs.h.  */
22533
22534 /* Override any GCC internal prototype to avoid an error.
22535    Use char because int might match the return type of a GCC
22536    builtin and then its argument prototype would still apply.  */
22537 #ifdef __cplusplus
22538 extern "C"
22539 #endif
22540 char png_sig_cmp ();
22541 int
22542 main ()
22543 {
22544 return png_sig_cmp ();
22545   ;
22546   return 0;
22547 }
22548 _ACEOF
22549 if ac_fn_c_try_link "$LINENO"; then :
22550   ac_cv_lib_png_png_sig_cmp=yes
22551 else
22552   ac_cv_lib_png_png_sig_cmp=no
22553 fi
22554 rm -f core conftest.err conftest.$ac_objext \
22555     conftest$ac_exeext conftest.$ac_ext
22556 LIBS=$ac_check_lib_save_LIBS
22557 fi
22558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_sig_cmp" >&5
22559 $as_echo "$ac_cv_lib_png_png_sig_cmp" >&6; }
22560 if test "x$ac_cv_lib_png_png_sig_cmp" = x""yes; then :
22561   PNG_LINK=" -lpng -lz"
22562 fi
22563
22564         fi
22565
22566         if test "x$PNG_LINK" = "x" ; then
22567             if test "$wxUSE_LIBPNG" = "sys" ; then
22568                 as_fn_error $? "system png library not found or too old! Use --with-libpng=builtin to use built-in version" "$LINENO" 5
22569             else
22570                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system png library not found or too old, will use built-in instead" >&5
22571 $as_echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
22572                 wxUSE_LIBPNG=builtin
22573             fi
22574         else
22575                         wxUSE_LIBPNG=sys
22576         fi
22577     fi
22578 fi
22579
22580
22581 JPEG_LINK=
22582 if test "$wxUSE_LIBJPEG" != "no" ; then
22583     $as_echo "#define wxUSE_LIBJPEG 1" >>confdefs.h
22584
22585
22586     if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
22587                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeglib.h" >&5
22588 $as_echo_n "checking for jpeglib.h... " >&6; }
22589         if test "${ac_cv_header_jpeglib_h+set}" = set; then :
22590   $as_echo_n "(cached) " >&6
22591 else
22592   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22593 /* end confdefs.h.  */
22594
22595                     #undef HAVE_STDLIB_H
22596                     #include <stdio.h>
22597                     #include <jpeglib.h>
22598
22599 int
22600 main ()
22601 {
22602
22603
22604   ;
22605   return 0;
22606 }
22607 _ACEOF
22608 if ac_fn_c_try_compile "$LINENO"; then :
22609   ac_cv_header_jpeglib_h=yes
22610 else
22611   ac_cv_header_jpeglib_h=no
22612
22613 fi
22614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22615
22616 fi
22617
22618         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_jpeglib_h" >&5
22619 $as_echo "$ac_cv_header_jpeglib_h" >&6; }
22620
22621         if test "$ac_cv_header_jpeglib_h" = "yes"; then
22622             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeg_read_header in -ljpeg" >&5
22623 $as_echo_n "checking for jpeg_read_header in -ljpeg... " >&6; }
22624 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then :
22625   $as_echo_n "(cached) " >&6
22626 else
22627   ac_check_lib_save_LIBS=$LIBS
22628 LIBS="-ljpeg  $LIBS"
22629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22630 /* end confdefs.h.  */
22631
22632 /* Override any GCC internal prototype to avoid an error.
22633    Use char because int might match the return type of a GCC
22634    builtin and then its argument prototype would still apply.  */
22635 #ifdef __cplusplus
22636 extern "C"
22637 #endif
22638 char jpeg_read_header ();
22639 int
22640 main ()
22641 {
22642 return jpeg_read_header ();
22643   ;
22644   return 0;
22645 }
22646 _ACEOF
22647 if ac_fn_c_try_link "$LINENO"; then :
22648   ac_cv_lib_jpeg_jpeg_read_header=yes
22649 else
22650   ac_cv_lib_jpeg_jpeg_read_header=no
22651 fi
22652 rm -f core conftest.err conftest.$ac_objext \
22653     conftest$ac_exeext conftest.$ac_ext
22654 LIBS=$ac_check_lib_save_LIBS
22655 fi
22656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
22657 $as_echo "$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
22658 if test "x$ac_cv_lib_jpeg_jpeg_read_header" = x""yes; then :
22659   JPEG_LINK=" -ljpeg"
22660 fi
22661
22662         fi
22663
22664         if test "x$JPEG_LINK" = "x" ; then
22665             if test "$wxUSE_LIBJPEG" = "sys" ; then
22666                 as_fn_error $? "system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" "$LINENO" 5
22667             else
22668                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system jpeg library not found, will use built-in instead" >&5
22669 $as_echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
22670                 wxUSE_LIBJPEG=builtin
22671             fi
22672         else
22673                         wxUSE_LIBJPEG=sys
22674
22675             if test "$wxUSE_MSW" = 1; then
22676                                                                                 ac_fn_c_check_type "$LINENO" "boolean" "ac_cv_type_boolean" "#include <windows.h>
22677 "
22678 if test "x$ac_cv_type_boolean" = x""yes; then :
22679
22680 cat >>confdefs.h <<_ACEOF
22681 #define HAVE_BOOLEAN 1
22682 _ACEOF
22683
22684
22685                         # The cast to long int works around a bug in the HP C Compiler
22686 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22687 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22688 # This bug is HP SR number 8606223364.
22689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of boolean" >&5
22690 $as_echo_n "checking size of boolean... " >&6; }
22691 if test "${ac_cv_sizeof_boolean+set}" = set; then :
22692   $as_echo_n "(cached) " >&6
22693 else
22694   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (boolean))" "ac_cv_sizeof_boolean"        "
22695                                 #undef HAVE_BOOLEAN
22696                                 #include <stdio.h>
22697                                 #include <jpeglib.h>
22698
22699 "; then :
22700
22701 else
22702   if test "$ac_cv_type_boolean" = yes; then
22703      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
22704 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
22705 as_fn_error 77 "cannot compute sizeof (boolean)
22706 See \`config.log' for more details" "$LINENO" 5 ; }
22707    else
22708      ac_cv_sizeof_boolean=0
22709    fi
22710 fi
22711
22712 fi
22713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_boolean" >&5
22714 $as_echo "$ac_cv_sizeof_boolean" >&6; }
22715
22716
22717
22718 cat >>confdefs.h <<_ACEOF
22719 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
22720 _ACEOF
22721
22722
22723                         cat >>confdefs.h <<_ACEOF
22724 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
22725 _ACEOF
22726
22727
22728 fi
22729
22730             fi
22731         fi
22732     fi
22733 fi
22734
22735
22736 TIFF_LINK=
22737 TIFF_PREREQ_LINKS=-lm
22738 if test "$wxUSE_LIBTIFF" != "no" ; then
22739     $as_echo "#define wxUSE_LIBTIFF 1" >>confdefs.h
22740
22741
22742     if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
22743                         if test "$wxUSE_LIBJPEG" = "sys"; then
22744             TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
22745         fi
22746         if test "$wxUSE_ZLIB" = "sys"; then
22747             TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
22748         fi
22749         ac_fn_c_check_header_compile "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "
22750
22751 "
22752 if test "x$ac_cv_header_tiffio_h" = x""yes; then :
22753
22754                             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIFFError in -ltiff" >&5
22755 $as_echo_n "checking for TIFFError in -ltiff... " >&6; }
22756 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then :
22757   $as_echo_n "(cached) " >&6
22758 else
22759   ac_check_lib_save_LIBS=$LIBS
22760 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
22761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22762 /* end confdefs.h.  */
22763
22764 /* Override any GCC internal prototype to avoid an error.
22765    Use char because int might match the return type of a GCC
22766    builtin and then its argument prototype would still apply.  */
22767 #ifdef __cplusplus
22768 extern "C"
22769 #endif
22770 char TIFFError ();
22771 int
22772 main ()
22773 {
22774 return TIFFError ();
22775   ;
22776   return 0;
22777 }
22778 _ACEOF
22779 if ac_fn_c_try_link "$LINENO"; then :
22780   ac_cv_lib_tiff_TIFFError=yes
22781 else
22782   ac_cv_lib_tiff_TIFFError=no
22783 fi
22784 rm -f core conftest.err conftest.$ac_objext \
22785     conftest$ac_exeext conftest.$ac_ext
22786 LIBS=$ac_check_lib_save_LIBS
22787 fi
22788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tiff_TIFFError" >&5
22789 $as_echo "$ac_cv_lib_tiff_TIFFError" >&6; }
22790 if test "x$ac_cv_lib_tiff_TIFFError" = x""yes; then :
22791   TIFF_LINK=" -ltiff"
22792 fi
22793
22794
22795 fi
22796
22797
22798
22799         if test "x$TIFF_LINK" = "x" ; then
22800             if test "$wxUSE_LIBTIFF" = "sys" ; then
22801                 as_fn_error $? "system tiff library not found! Use --with-libtiff=builtin to use built-in version" "$LINENO" 5
22802             else
22803                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system tiff library not found, will use built-in instead" >&5
22804 $as_echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
22805                 wxUSE_LIBTIFF=builtin
22806             fi
22807         else
22808                         wxUSE_LIBTIFF=sys
22809         fi
22810     fi
22811     if test "$wxUSE_LIBTIFF" = "builtin" ; then
22812         if test "$wxUSE_LIBJPEG" = "no"; then
22813                                                                                     ac_configure_args="$ac_configure_args --disable-jpeg"
22814         fi
22815
22816
22817 subdirs="$subdirs src/tiff"
22818
22819     fi
22820 fi
22821
22822
22823 if test "$wxUSE_EXPAT" != "no"; then
22824     wxUSE_XML=yes
22825     $as_echo "#define wxUSE_EXPAT 1" >>confdefs.h
22826
22827     $as_echo "#define wxUSE_XML 1" >>confdefs.h
22828
22829
22830     if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
22831         ac_fn_c_check_header_compile "$LINENO" "expat.h" "ac_cv_header_expat_h" "
22832 "
22833 if test "x$ac_cv_header_expat_h" = x""yes; then :
22834   found_expat_h=1
22835 fi
22836
22837
22838         if test "x$found_expat_h" = "x1"; then
22839                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if expat.h is valid C++ header" >&5
22840 $as_echo_n "checking if expat.h is valid C++ header... " >&6; }
22841 if test "${wx_cv_expat_is_not_broken+set}" = set; then :
22842   $as_echo_n "(cached) " >&6
22843 else
22844
22845                 ac_ext=cpp
22846 ac_cpp='$CXXCPP $CPPFLAGS'
22847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22850
22851                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22852 /* end confdefs.h.  */
22853 #include <expat.h>
22854 int
22855 main ()
22856 {
22857
22858   ;
22859   return 0;
22860 }
22861 _ACEOF
22862 if ac_fn_cxx_try_compile "$LINENO"; then :
22863   wx_cv_expat_is_not_broken=yes
22864 else
22865   wx_cv_expat_is_not_broken=no
22866
22867 fi
22868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22869                 ac_ext=c
22870 ac_cpp='$CPP $CPPFLAGS'
22871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22874
22875
22876
22877 fi
22878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_expat_is_not_broken" >&5
22879 $as_echo "$wx_cv_expat_is_not_broken" >&6; }
22880             if test "$wx_cv_expat_is_not_broken" = "yes" ; then
22881                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML_ParserCreate in -lexpat" >&5
22882 $as_echo_n "checking for XML_ParserCreate in -lexpat... " >&6; }
22883 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then :
22884   $as_echo_n "(cached) " >&6
22885 else
22886   ac_check_lib_save_LIBS=$LIBS
22887 LIBS="-lexpat  $LIBS"
22888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22889 /* end confdefs.h.  */
22890
22891 /* Override any GCC internal prototype to avoid an error.
22892    Use char because int might match the return type of a GCC
22893    builtin and then its argument prototype would still apply.  */
22894 #ifdef __cplusplus
22895 extern "C"
22896 #endif
22897 char XML_ParserCreate ();
22898 int
22899 main ()
22900 {
22901 return XML_ParserCreate ();
22902   ;
22903   return 0;
22904 }
22905 _ACEOF
22906 if ac_fn_c_try_link "$LINENO"; then :
22907   ac_cv_lib_expat_XML_ParserCreate=yes
22908 else
22909   ac_cv_lib_expat_XML_ParserCreate=no
22910 fi
22911 rm -f core conftest.err conftest.$ac_objext \
22912     conftest$ac_exeext conftest.$ac_ext
22913 LIBS=$ac_check_lib_save_LIBS
22914 fi
22915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
22916 $as_echo "$ac_cv_lib_expat_XML_ParserCreate" >&6; }
22917 if test "x$ac_cv_lib_expat_XML_ParserCreate" = x""yes; then :
22918   EXPAT_LINK=" -lexpat"
22919 fi
22920
22921             fi
22922         fi
22923         if test "x$EXPAT_LINK" = "x" ; then
22924             if test "$wxUSE_EXPAT" = "sys" ; then
22925                 as_fn_error $? "system expat library not found! Use --with-expat=builtin to use built-in version" "$LINENO" 5
22926             else
22927                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system expat library not found, will use built-in instead" >&5
22928 $as_echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
22929                 wxUSE_EXPAT=builtin
22930             fi
22931         else
22932                         wxUSE_EXPAT=sys
22933         fi
22934     fi
22935     if test "$wxUSE_EXPAT" = "builtin" ; then
22936                 subdirs="$subdirs src/expat"
22937
22938     fi
22939 fi
22940
22941
22942
22943 if test "$wxUSE_LIBMSPACK" != "no"; then
22944     ac_fn_c_check_header_compile "$LINENO" "mspack.h" "ac_cv_header_mspack_h" "
22945 "
22946 if test "x$ac_cv_header_mspack_h" = x""yes; then :
22947   found_mspack_h=1
22948 fi
22949
22950
22951     if test "x$found_mspack_h" = "x1"; then
22952         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mspack_create_chm_decompressor in -lmspack" >&5
22953 $as_echo_n "checking for mspack_create_chm_decompressor in -lmspack... " >&6; }
22954 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then :
22955   $as_echo_n "(cached) " >&6
22956 else
22957   ac_check_lib_save_LIBS=$LIBS
22958 LIBS="-lmspack  $LIBS"
22959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22960 /* end confdefs.h.  */
22961
22962 /* Override any GCC internal prototype to avoid an error.
22963    Use char because int might match the return type of a GCC
22964    builtin and then its argument prototype would still apply.  */
22965 #ifdef __cplusplus
22966 extern "C"
22967 #endif
22968 char mspack_create_chm_decompressor ();
22969 int
22970 main ()
22971 {
22972 return mspack_create_chm_decompressor ();
22973   ;
22974   return 0;
22975 }
22976 _ACEOF
22977 if ac_fn_c_try_link "$LINENO"; then :
22978   ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
22979 else
22980   ac_cv_lib_mspack_mspack_create_chm_decompressor=no
22981 fi
22982 rm -f core conftest.err conftest.$ac_objext \
22983     conftest$ac_exeext conftest.$ac_ext
22984 LIBS=$ac_check_lib_save_LIBS
22985 fi
22986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
22987 $as_echo "$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
22988 if test "x$ac_cv_lib_mspack_mspack_create_chm_decompressor" = x""yes; then :
22989   MSPACK_LINK=" -lmspack"
22990 fi
22991
22992     fi
22993     if test "x$MSPACK_LINK" = "x" ; then
22994         wxUSE_LIBMSPACK=no
22995     fi
22996 fi
22997
22998 if test "$wxUSE_LIBMSPACK" != "no"; then
22999     $as_echo "#define wxUSE_LIBMSPACK 1" >>confdefs.h
23000
23001 fi
23002
23003
23004
23005 AFMINSTALL=
23006 WIN32INSTALL=
23007
23008 TOOLKIT=
23009 TOOLKIT_INCLUDE=
23010 WIDGET_SET=
23011
23012 if test "$USE_WIN32" = 1 ; then
23013     for ac_header in w32api.h
23014 do :
23015   ac_fn_c_check_header_compile "$LINENO" "w32api.h" "ac_cv_header_w32api_h" "
23016 "
23017 if test "x$ac_cv_header_w32api_h" = x""yes; then :
23018   cat >>confdefs.h <<_ACEOF
23019 #define HAVE_W32API_H 1
23020 _ACEOF
23021
23022 fi
23023
23024 done
23025
23026     ac_fn_c_check_header_compile "$LINENO" "windows.h" "ac_cv_header_windows_h" "
23027 "
23028 if test "x$ac_cv_header_windows_h" = x""yes; then :
23029
23030 else
23031
23032         as_fn_error $? "please set CFLAGS to contain the location of windows.h" "$LINENO" 5
23033
23034 fi
23035
23036
23037
23038     LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -ladvapi32 -lwsock32 -lgdi32"
23039     case "${host}" in
23040         x86_64-*-mingw32* )
23041                                                 WINDRES_CPU_DEFINE="--define WX_CPU_AMD64"
23042         ;;
23043     esac
23044     if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
23045         LIBS="$LIBS -loleacc"
23046     fi
23047
23048     case "${host}" in
23049         *-*-cygwin* )
23050                         LIBS="$LIBS -lkernel32 -luser32"
23051     esac
23052
23053         RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__ $WINDRES_CPU_DEFINE"
23054     RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
23055
23056                 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__ $WINDRES_CPU_DEFINE"
23057
23058         WIN32INSTALL=win32install
23059 fi
23060
23061 if test "$wxUSE_GUI" = "yes"; then
23062     USE_GUI=1
23063
23064     GUI_TK_LIBRARY=
23065
23066     WXGTK127=
23067     WXGTK2=
23068     WXGPE=
23069
23070     if test "$wxUSE_OLD_COCOA" = 1 ; then
23071         if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
23072             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
23073 $as_echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
23074             wxUSE_PRINTING_ARCHITECTURE=no
23075         fi
23076         if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
23077             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
23078 $as_echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
23079             wxUSE_DRAG_AND_DROP=no
23080         fi
23081         if test "$wxUSE_DRAGIMAGE" = "yes"; then
23082             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
23083 $as_echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
23084             wxUSE_DRAGIMAGE=no
23085         fi
23086     fi
23087
23088     if test "$wxUSE_MSW" = 1 ; then
23089         TOOLKIT=MSW
23090         GUIDIST=MSW_DIST
23091
23092                 case "${host}" in
23093             *-*-mingw32* )
23094                 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
23095         esac
23096     fi
23097
23098     if test "$wxUSE_GTK" = 1; then
23099                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ version" >&5
23100 $as_echo_n "checking for GTK+ version... " >&6; }
23101
23102         gtk_version_cached=1
23103         if test "${wx_cv_lib_gtk+set}" = set; then :
23104   $as_echo_n "(cached) " >&6
23105 else
23106
23107                                                 gtk_version_cached=0
23108                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
23109 $as_echo "" >&6; }
23110
23111                                                 GTK_MODULES=
23112                 if test "$wxUSE_THREADS" = "yes"; then
23113                     GTK_MODULES=gthread
23114                 fi
23115
23116                                 wx_cv_lib_gtk=
23117                 if test "x$wxGTK_VERSION" != "x1"
23118                 then
23119                                                                                 case "${host}" in
23120                         *-*-solaris2* )
23121                             if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
23122                                 enable_gtktest=no
23123                             fi
23124                     esac
23125
23126                     # Check whether --enable-gtktest was given.
23127 if test "${enable_gtktest+set}" = set; then :
23128   enableval=$enable_gtktest;
23129 else
23130   enable_gtktest=yes
23131 fi
23132
23133
23134   pkg_config_args=gtk+-2.0
23135   for module in . $GTK_MODULES
23136   do
23137       case "$module" in
23138          gthread)
23139              pkg_config_args="$pkg_config_args gthread-2.0"
23140          ;;
23141       esac
23142   done
23143
23144   no_gtk=""
23145
23146   # Extract the first word of "pkg-config", so it can be a program name with args.
23147 set dummy pkg-config; ac_word=$2
23148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23149 $as_echo_n "checking for $ac_word... " >&6; }
23150 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
23151   $as_echo_n "(cached) " >&6
23152 else
23153   case $PKG_CONFIG in
23154   [\\/]* | ?:[\\/]*)
23155   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
23156   ;;
23157   *)
23158   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23159 for as_dir in $PATH
23160 do
23161   IFS=$as_save_IFS
23162   test -z "$as_dir" && as_dir=.
23163     for ac_exec_ext in '' $ac_executable_extensions; do
23164   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23165     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23166     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23167     break 2
23168   fi
23169 done
23170   done
23171 IFS=$as_save_IFS
23172
23173   test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
23174   ;;
23175 esac
23176 fi
23177 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
23178 if test -n "$PKG_CONFIG"; then
23179   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
23180 $as_echo "$PKG_CONFIG" >&6; }
23181 else
23182   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23183 $as_echo "no" >&6; }
23184 fi
23185
23186
23187
23188   if test x$PKG_CONFIG != xno ; then
23189     if pkg-config --atleast-pkgconfig-version 0.7 ; then
23190       :
23191     else
23192       echo "*** pkg-config too old; version 0.7 or better required."
23193       no_gtk=yes
23194       PKG_CONFIG=no
23195     fi
23196   else
23197     no_gtk=yes
23198   fi
23199
23200   min_gtk_version=2.4.0
23201   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ - version >= $min_gtk_version" >&5
23202 $as_echo_n "checking for GTK+ - version >= $min_gtk_version... " >&6; }
23203
23204   if test x$PKG_CONFIG != xno ; then
23205     ## don't try to run the test against uninstalled libtool libs
23206     if $PKG_CONFIG --uninstalled $pkg_config_args; then
23207           echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
23208           enable_gtktest=no
23209     fi
23210
23211     if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
23212           :
23213     else
23214           no_gtk=yes
23215     fi
23216   fi
23217
23218   if test x"$no_gtk" = x ; then
23219     GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
23220     GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
23221     gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
23222            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23223     gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
23224            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23225     gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
23226            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23227     if test "x$enable_gtktest" = "xyes" ; then
23228       ac_save_CFLAGS="$CFLAGS"
23229       ac_save_LIBS="$LIBS"
23230       CFLAGS="$CFLAGS $GTK_CFLAGS"
23231       LIBS="$GTK_LIBS $LIBS"
23232       rm -f conf.gtktest
23233       if test "$cross_compiling" = yes; then :
23234   echo $ac_n "cross compiling; assumed OK... $ac_c"
23235 else
23236   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23237 /* end confdefs.h.  */
23238
23239 #include <gtk/gtk.h>
23240 #include <stdio.h>
23241 #include <stdlib.h>
23242
23243 int
23244 main ()
23245 {
23246   int major, minor, micro;
23247   char *tmp_version;
23248
23249   system ("touch conf.gtktest");
23250
23251   /* HP/UX 9 (%@#!) writes to sscanf strings */
23252   tmp_version = g_strdup("$min_gtk_version");
23253   if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
23254      printf("%s, bad version string\n", "$min_gtk_version");
23255      exit(1);
23256    }
23257
23258   if ((gtk_major_version != $gtk_config_major_version) ||
23259       (gtk_minor_version != $gtk_config_minor_version) ||
23260       (gtk_micro_version != $gtk_config_micro_version))
23261     {
23262       printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23263              $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23264              gtk_major_version, gtk_minor_version, gtk_micro_version);
23265       printf ("*** was found! If pkg-config was correct, then it is best\n");
23266       printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23267       printf("*** by modifying your LD_LIBRARY_PATH environment variable, or by editing\n");
23268       printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23269       printf("*** required on your system.\n");
23270       printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
23271       printf("*** to point to the correct configuration files\n");
23272     }
23273   else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23274            (gtk_minor_version != GTK_MINOR_VERSION) ||
23275            (gtk_micro_version != GTK_MICRO_VERSION))
23276     {
23277       printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23278              GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23279       printf("*** library (version %d.%d.%d)\n",
23280              gtk_major_version, gtk_minor_version, gtk_micro_version);
23281     }
23282   else
23283     {
23284       if ((gtk_major_version > major) ||
23285         ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23286         ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23287       {
23288         return 0;
23289        }
23290      else
23291       {
23292         printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23293                gtk_major_version, gtk_minor_version, gtk_micro_version);
23294         printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23295                major, minor, micro);
23296         printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23297         printf("***\n");
23298         printf("*** If you have already installed a sufficiently new version, this error\n");
23299         printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
23300         printf("*** being found. The easiest way to fix this is to remove the old version\n");
23301         printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
23302         printf("*** correct copy of pkg-config. (In this case, you will have to\n");
23303         printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n");
23304         printf("*** so that the correct libraries are found at run-time))\n");
23305       }
23306     }
23307   return 1;
23308 }
23309
23310 _ACEOF
23311 if ac_fn_c_try_run "$LINENO"; then :
23312
23313 else
23314   no_gtk=yes
23315 fi
23316 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
23317   conftest.$ac_objext conftest.beam conftest.$ac_ext
23318 fi
23319
23320        CFLAGS="$ac_save_CFLAGS"
23321        LIBS="$ac_save_LIBS"
23322      fi
23323   fi
23324   if test "x$no_gtk" = x ; then
23325      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
23326 $as_echo "yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
23327      wx_cv_lib_gtk=2.0
23328   else
23329      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23330 $as_echo "no" >&6; }
23331      if test "$PKG_CONFIG" = "no" ; then
23332        echo "*** A new enough version of pkg-config was not found."
23333        echo "*** See http://pkgconfig.sourceforge.net"
23334      else
23335        if test -f conf.gtktest ; then
23336         :
23337        else
23338           echo "*** Could not run GTK+ test program, checking why..."
23339           ac_save_CFLAGS="$CFLAGS"
23340           ac_save_LIBS="$LIBS"
23341           CFLAGS="$CFLAGS $GTK_CFLAGS"
23342           LIBS="$LIBS $GTK_LIBS"
23343           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23344 /* end confdefs.h.  */
23345
23346 #include <gtk/gtk.h>
23347 #include <stdio.h>
23348
23349 int
23350 main ()
23351 {
23352  return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23353   ;
23354   return 0;
23355 }
23356 _ACEOF
23357 if ac_fn_c_try_link "$LINENO"; then :
23358    echo "*** The test program compiled, but did not run. This usually means"
23359           echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
23360           echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
23361           echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23362           echo "*** to the installed location  Also, make sure you have run ldconfig if that"
23363           echo "*** is required on your system"
23364           echo "***"
23365           echo "*** If you have an old version installed, it is best to remove it, although"
23366           echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23367 else
23368    echo "*** The test program failed to compile or link. See the file config.log for the"
23369           echo "*** exact error that occurred. This usually means GTK+ is incorrectly installed."
23370 fi
23371 rm -f core conftest.err conftest.$ac_objext \
23372     conftest$ac_exeext conftest.$ac_ext
23373           CFLAGS="$ac_save_CFLAGS"
23374           LIBS="$ac_save_LIBS"
23375        fi
23376      fi
23377      GTK_CFLAGS=""
23378      GTK_LIBS=""
23379      :
23380   fi
23381
23382
23383   rm -f conf.gtktest
23384
23385                 fi
23386
23387                                 if test -z "$wx_cv_lib_gtk"; then
23388                     if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
23389
23390 # Check whether --with-gtk-prefix was given.
23391 if test "${with_gtk_prefix+set}" = set; then :
23392   withval=$with_gtk_prefix; gtk_config_prefix="$withval"
23393 else
23394   gtk_config_prefix=""
23395 fi
23396
23397
23398 # Check whether --with-gtk-exec-prefix was given.
23399 if test "${with_gtk_exec_prefix+set}" = set; then :
23400   withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
23401 else
23402   gtk_config_exec_prefix=""
23403 fi
23404
23405 # Check whether --enable-gtktest was given.
23406 if test "${enable_gtktest+set}" = set; then :
23407   enableval=$enable_gtktest;
23408 else
23409   enable_gtktest=yes
23410 fi
23411
23412
23413   for module in . $GTK_MODULES
23414   do
23415       case "$module" in
23416          gthread)
23417              gtk_config_args="$gtk_config_args gthread"
23418          ;;
23419       esac
23420   done
23421
23422   if test x$gtk_config_exec_prefix != x ; then
23423      gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
23424      if test x${GTK_CONFIG+set} != xset ; then
23425         GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
23426      fi
23427   fi
23428   if test x$gtk_config_prefix != x ; then
23429      gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
23430      if test x${GTK_CONFIG+set} != xset ; then
23431         GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
23432      fi
23433   fi
23434
23435   # Extract the first word of "gtk-config", so it can be a program name with args.
23436 set dummy gtk-config; ac_word=$2
23437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23438 $as_echo_n "checking for $ac_word... " >&6; }
23439 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then :
23440   $as_echo_n "(cached) " >&6
23441 else
23442   case $GTK_CONFIG in
23443   [\\/]* | ?:[\\/]*)
23444   ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
23445   ;;
23446   *)
23447   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23448 for as_dir in $PATH
23449 do
23450   IFS=$as_save_IFS
23451   test -z "$as_dir" && as_dir=.
23452     for ac_exec_ext in '' $ac_executable_extensions; do
23453   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23454     ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23455     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23456     break 2
23457   fi
23458 done
23459   done
23460 IFS=$as_save_IFS
23461
23462   test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
23463   ;;
23464 esac
23465 fi
23466 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
23467 if test -n "$GTK_CONFIG"; then
23468   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_CONFIG" >&5
23469 $as_echo "$GTK_CONFIG" >&6; }
23470 else
23471   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23472 $as_echo "no" >&6; }
23473 fi
23474
23475
23476   min_gtk_version=1.2.7
23477   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK - version >= $min_gtk_version" >&5
23478 $as_echo_n "checking for GTK - version >= $min_gtk_version... " >&6; }
23479   no_gtk=""
23480   if test "$GTK_CONFIG" = "no" ; then
23481     no_gtk=yes
23482   else
23483     GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
23484     GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
23485     gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
23486            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23487     gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
23488            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23489     gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
23490            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23491     if test "x$enable_gtktest" = "xyes" ; then
23492       ac_save_CFLAGS="$CFLAGS"
23493       ac_save_LIBS="$LIBS"
23494       CFLAGS="$CFLAGS $GTK_CFLAGS"
23495       LIBS="$GTK_LIBS $LIBS"
23496       rm -f conf.gtktest
23497       if test "$cross_compiling" = yes; then :
23498   echo $ac_n "cross compiling; assumed OK... $ac_c"
23499 else
23500   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23501 /* end confdefs.h.  */
23502
23503 #include <gtk/gtk.h>
23504 #include <stdio.h>
23505 #include <stdlib.h>
23506
23507 int
23508 main ()
23509 {
23510   int major, minor, micro;
23511   char *tmp_version;
23512
23513   system ("touch conf.gtktest");
23514
23515   /* HP/UX 9 (%@#!) writes to sscanf strings */
23516   tmp_version = g_strdup("$min_gtk_version");
23517   if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
23518      printf("%s, bad version string\n", "$min_gtk_version");
23519      exit(1);
23520    }
23521
23522   if ((gtk_major_version != $gtk_config_major_version) ||
23523       (gtk_minor_version != $gtk_config_minor_version) ||
23524       (gtk_micro_version != $gtk_config_micro_version))
23525     {
23526       printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23527              $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23528              gtk_major_version, gtk_minor_version, gtk_micro_version);
23529       printf ("*** was found! If gtk-config was correct, then it is best\n");
23530       printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23531       printf("*** by modifying your LD_LIBRARY_PATH environment variable, or by editing\n");
23532       printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23533       printf("*** required on your system.\n");
23534       printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
23535       printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
23536       printf("*** before re-running configure\n");
23537     }
23538 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
23539   else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23540            (gtk_minor_version != GTK_MINOR_VERSION) ||
23541            (gtk_micro_version != GTK_MICRO_VERSION))
23542     {
23543       printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23544              GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23545       printf("*** library (version %d.%d.%d)\n",
23546              gtk_major_version, gtk_minor_version, gtk_micro_version);
23547     }
23548 #endif /* defined (GTK_MAJOR_VERSION) ... */
23549   else
23550     {
23551       if ((gtk_major_version > major) ||
23552         ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23553         ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23554       {
23555         return 0;
23556        }
23557      else
23558       {
23559         printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23560                gtk_major_version, gtk_minor_version, gtk_micro_version);
23561         printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23562                major, minor, micro);
23563         printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23564         printf("***\n");
23565         printf("*** If you have already installed a sufficiently new version, this error\n");
23566         printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
23567         printf("*** being found. The easiest way to fix this is to remove the old version\n");
23568         printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
23569         printf("*** correct copy of gtk-config. (In this case, you will have to\n");
23570         printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n");
23571         printf("*** so that the correct libraries are found at run-time))\n");
23572       }
23573     }
23574   return 1;
23575 }
23576
23577 _ACEOF
23578 if ac_fn_c_try_run "$LINENO"; then :
23579
23580 else
23581   no_gtk=yes
23582 fi
23583 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
23584   conftest.$ac_objext conftest.beam conftest.$ac_ext
23585 fi
23586
23587        CFLAGS="$ac_save_CFLAGS"
23588        LIBS="$ac_save_LIBS"
23589      fi
23590   fi
23591   if test "x$no_gtk" = x ; then
23592      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23593 $as_echo "yes" >&6; }
23594      wx_cv_lib_gtk=1.2.7
23595   else
23596      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23597 $as_echo "no" >&6; }
23598      if test "$GTK_CONFIG" = "no" ; then
23599        echo "*** The gtk-config script installed by GTK could not be found"
23600        echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
23601        echo "*** your path, or set the GTK_CONFIG environment variable to the"
23602        echo "*** full path to gtk-config."
23603      else
23604        if test -f conf.gtktest ; then
23605         :
23606        else
23607           echo "*** Could not run GTK test program, checking why..."
23608           CFLAGS="$CFLAGS $GTK_CFLAGS"
23609           LIBS="$LIBS $GTK_LIBS"
23610           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23611 /* end confdefs.h.  */
23612
23613 #include <gtk/gtk.h>
23614 #include <stdio.h>
23615
23616 int
23617 main ()
23618 {
23619  return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23620   ;
23621   return 0;
23622 }
23623 _ACEOF
23624 if ac_fn_c_try_link "$LINENO"; then :
23625    echo "*** The test program compiled, but did not run. This usually means"
23626           echo "*** that the run-time linker is not finding GTK or finding the wrong"
23627           echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
23628           echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23629           echo "*** to the installed location  Also, make sure you have run ldconfig if that"
23630           echo "*** is required on your system"
23631           echo "***"
23632           echo "*** If you have an old version installed, it is best to remove it, although"
23633           echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23634           echo "***"
23635           echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
23636           echo "*** came with the system with the command"
23637           echo "***"
23638           echo "***    rpm --erase --nodeps gtk gtk-devel"
23639 else
23640    echo "*** The test program failed to compile or link. See the file config.log for the"
23641           echo "*** exact error that occurred. This usually means GTK was incorrectly installed"
23642           echo "*** or that you have moved GTK since it was installed. In the latter case, you"
23643           echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
23644 fi
23645 rm -f core conftest.err conftest.$ac_objext \
23646     conftest$ac_exeext conftest.$ac_ext
23647           CFLAGS="$ac_save_CFLAGS"
23648           LIBS="$ac_save_LIBS"
23649        fi
23650      fi
23651      GTK_CFLAGS=""
23652      GTK_LIBS=""
23653      :
23654   fi
23655
23656
23657   rm -f conf.gtktest
23658
23659
23660                         if test -z "$wx_cv_lib_gtk"; then
23661
23662 # Check whether --with-gtk-prefix was given.
23663 if test "${with_gtk_prefix+set}" = set; then :
23664   withval=$with_gtk_prefix; gtk_config_prefix="$withval"
23665 else
23666   gtk_config_prefix=""
23667 fi
23668
23669
23670 # Check whether --with-gtk-exec-prefix was given.
23671 if test "${with_gtk_exec_prefix+set}" = set; then :
23672   withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
23673 else
23674   gtk_config_exec_prefix=""
23675 fi
23676
23677 # Check whether --enable-gtktest was given.
23678 if test "${enable_gtktest+set}" = set; then :
23679   enableval=$enable_gtktest;
23680 else
23681   enable_gtktest=yes
23682 fi
23683
23684
23685   for module in . $GTK_MODULES
23686   do
23687       case "$module" in
23688          gthread)
23689              gtk_config_args="$gtk_config_args gthread"
23690          ;;
23691       esac
23692   done
23693
23694   if test x$gtk_config_exec_prefix != x ; then
23695      gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
23696      if test x${GTK_CONFIG+set} != xset ; then
23697         GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
23698      fi
23699   fi
23700   if test x$gtk_config_prefix != x ; then
23701      gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
23702      if test x${GTK_CONFIG+set} != xset ; then
23703         GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
23704      fi
23705   fi
23706
23707   # Extract the first word of "gtk-config", so it can be a program name with args.
23708 set dummy gtk-config; ac_word=$2
23709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23710 $as_echo_n "checking for $ac_word... " >&6; }
23711 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then :
23712   $as_echo_n "(cached) " >&6
23713 else
23714   case $GTK_CONFIG in
23715   [\\/]* | ?:[\\/]*)
23716   ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
23717   ;;
23718   *)
23719   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23720 for as_dir in $PATH
23721 do
23722   IFS=$as_save_IFS
23723   test -z "$as_dir" && as_dir=.
23724     for ac_exec_ext in '' $ac_executable_extensions; do
23725   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23726     ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23727     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23728     break 2
23729   fi
23730 done
23731   done
23732 IFS=$as_save_IFS
23733
23734   test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
23735   ;;
23736 esac
23737 fi
23738 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
23739 if test -n "$GTK_CONFIG"; then
23740   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_CONFIG" >&5
23741 $as_echo "$GTK_CONFIG" >&6; }
23742 else
23743   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23744 $as_echo "no" >&6; }
23745 fi
23746
23747
23748   min_gtk_version=1.2.3
23749   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK - version >= $min_gtk_version" >&5
23750 $as_echo_n "checking for GTK - version >= $min_gtk_version... " >&6; }
23751   no_gtk=""
23752   if test "$GTK_CONFIG" = "no" ; then
23753     no_gtk=yes
23754   else
23755     GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
23756     GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
23757     gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
23758            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23759     gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
23760            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23761     gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
23762            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23763     if test "x$enable_gtktest" = "xyes" ; then
23764       ac_save_CFLAGS="$CFLAGS"
23765       ac_save_LIBS="$LIBS"
23766       CFLAGS="$CFLAGS $GTK_CFLAGS"
23767       LIBS="$GTK_LIBS $LIBS"
23768       rm -f conf.gtktest
23769       if test "$cross_compiling" = yes; then :
23770   echo $ac_n "cross compiling; assumed OK... $ac_c"
23771 else
23772   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23773 /* end confdefs.h.  */
23774
23775 #include <gtk/gtk.h>
23776 #include <stdio.h>
23777 #include <stdlib.h>
23778
23779 int
23780 main ()
23781 {
23782   int major, minor, micro;
23783   char *tmp_version;
23784
23785   system ("touch conf.gtktest");
23786
23787   /* HP/UX 9 (%@#!) writes to sscanf strings */
23788   tmp_version = g_strdup("$min_gtk_version");
23789   if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
23790      printf("%s, bad version string\n", "$min_gtk_version");
23791      exit(1);
23792    }
23793
23794   if ((gtk_major_version != $gtk_config_major_version) ||
23795       (gtk_minor_version != $gtk_config_minor_version) ||
23796       (gtk_micro_version != $gtk_config_micro_version))
23797     {
23798       printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23799              $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23800              gtk_major_version, gtk_minor_version, gtk_micro_version);
23801       printf ("*** was found! If gtk-config was correct, then it is best\n");
23802       printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23803       printf("*** by modifying your LD_LIBRARY_PATH environment variable, or by editing\n");
23804       printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23805       printf("*** required on your system.\n");
23806       printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
23807       printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
23808       printf("*** before re-running configure\n");
23809     }
23810 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
23811   else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23812            (gtk_minor_version != GTK_MINOR_VERSION) ||
23813            (gtk_micro_version != GTK_MICRO_VERSION))
23814     {
23815       printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23816              GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23817       printf("*** library (version %d.%d.%d)\n",
23818              gtk_major_version, gtk_minor_version, gtk_micro_version);
23819     }
23820 #endif /* defined (GTK_MAJOR_VERSION) ... */
23821   else
23822     {
23823       if ((gtk_major_version > major) ||
23824         ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23825         ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23826       {
23827         return 0;
23828        }
23829      else
23830       {
23831         printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23832                gtk_major_version, gtk_minor_version, gtk_micro_version);
23833         printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23834                major, minor, micro);
23835         printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23836         printf("***\n");
23837         printf("*** If you have already installed a sufficiently new version, this error\n");
23838         printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
23839         printf("*** being found. The easiest way to fix this is to remove the old version\n");
23840         printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
23841         printf("*** correct copy of gtk-config. (In this case, you will have to\n");
23842         printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n");
23843         printf("*** so that the correct libraries are found at run-time))\n");
23844       }
23845     }
23846   return 1;
23847 }
23848
23849 _ACEOF
23850 if ac_fn_c_try_run "$LINENO"; then :
23851
23852 else
23853   no_gtk=yes
23854 fi
23855 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
23856   conftest.$ac_objext conftest.beam conftest.$ac_ext
23857 fi
23858
23859        CFLAGS="$ac_save_CFLAGS"
23860        LIBS="$ac_save_LIBS"
23861      fi
23862   fi
23863   if test "x$no_gtk" = x ; then
23864      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23865 $as_echo "yes" >&6; }
23866      wx_cv_lib_gtk=1.2.3
23867   else
23868      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23869 $as_echo "no" >&6; }
23870      if test "$GTK_CONFIG" = "no" ; then
23871        echo "*** The gtk-config script installed by GTK could not be found"
23872        echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
23873        echo "*** your path, or set the GTK_CONFIG environment variable to the"
23874        echo "*** full path to gtk-config."
23875      else
23876        if test -f conf.gtktest ; then
23877         :
23878        else
23879           echo "*** Could not run GTK test program, checking why..."
23880           CFLAGS="$CFLAGS $GTK_CFLAGS"
23881           LIBS="$LIBS $GTK_LIBS"
23882           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23883 /* end confdefs.h.  */
23884
23885 #include <gtk/gtk.h>
23886 #include <stdio.h>
23887
23888 int
23889 main ()
23890 {
23891  return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23892   ;
23893   return 0;
23894 }
23895 _ACEOF
23896 if ac_fn_c_try_link "$LINENO"; then :
23897    echo "*** The test program compiled, but did not run. This usually means"
23898           echo "*** that the run-time linker is not finding GTK or finding the wrong"
23899           echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
23900           echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23901           echo "*** to the installed location  Also, make sure you have run ldconfig if that"
23902           echo "*** is required on your system"
23903           echo "***"
23904           echo "*** If you have an old version installed, it is best to remove it, although"
23905           echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23906           echo "***"
23907           echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
23908           echo "*** came with the system with the command"
23909           echo "***"
23910           echo "***    rpm --erase --nodeps gtk gtk-devel"
23911 else
23912    echo "*** The test program failed to compile or link. See the file config.log for the"
23913           echo "*** exact error that occurred. This usually means GTK was incorrectly installed"
23914           echo "*** or that you have moved GTK since it was installed. In the latter case, you"
23915           echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
23916 fi
23917 rm -f core conftest.err conftest.$ac_objext \
23918     conftest$ac_exeext conftest.$ac_ext
23919           CFLAGS="$ac_save_CFLAGS"
23920           LIBS="$ac_save_LIBS"
23921        fi
23922      fi
23923      GTK_CFLAGS=""
23924      GTK_LIBS=""
23925      :
23926   fi
23927
23928
23929   rm -f conf.gtktest
23930
23931                         fi
23932                     fi
23933                 fi
23934
23935                 if test -z "$wx_cv_lib_gtk"; then
23936                                         wx_cv_lib_gtk=none
23937                 else
23938                                         GTK_LIBS="$GTK_LIBS -lX11"
23939
23940                                                             wx_cv_cflags_gtk=$GTK_CFLAGS
23941                     wx_cv_libs_gtk=$GTK_LIBS
23942                 fi
23943
23944
23945 fi
23946
23947
23948                         if test "$gtk_version_cached" = 1; then
23949             { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_gtk" >&5
23950 $as_echo "$wx_cv_lib_gtk" >&6; }
23951         fi
23952
23953         case "$wx_cv_lib_gtk" in
23954             2.0)    WXGTK2=1
23955                     TOOLKIT_VERSION=2
23956                     ;;
23957             1.2.7)  WXGTK127=1
23958                     ;;
23959             1.2*) ;;
23960             *)      as_fn_error $? "
23961 The development files for GTK+ were not found. For GTK+ 2, please
23962 ensure that pkg-config is in the path and that gtk+-2.0.pc is
23963 installed. For GTK+ 1.2 please check that gtk-config is in the path,
23964 and that the version is 1.2.3 or above. Also check that the
23965 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
23966 --libs' are in the LD_LIBRARY_PATH or equivalent.
23967                             " "$LINENO" 5
23968                     ;;
23969         esac
23970
23971         if test "$WXGTK2" = 1; then
23972             save_CFLAGS="$CFLAGS"
23973             save_LIBS="$LIBS"
23974             CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
23975             LIBS="$LIBS $wx_cv_libs_gtk"
23976
23977                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GTK+ is version >= 2.18" >&5
23978 $as_echo_n "checking if GTK+ is version >= 2.18... " >&6; }
23979             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23980 /* end confdefs.h.  */
23981
23982                             #include <gtk/gtk.h>
23983
23984 int
23985 main ()
23986 {
23987
23988                             #if !GTK_CHECK_VERSION(2,18,0)
23989                             Not GTK+ 2.18
23990                             #endif
23991
23992   ;
23993   return 0;
23994 }
23995 _ACEOF
23996 if ac_fn_c_try_compile "$LINENO"; then :
23997
23998                             $as_echo "#define __WXGTK218__ 1" >>confdefs.h
23999
24000                             $as_echo "#define __WXGTK210__ 1" >>confdefs.h
24001
24002                             $as_echo "#define __WXGTK26__ 1" >>confdefs.h
24003
24004                             { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24005 $as_echo "yes" >&6; }
24006                             ac_wxgtk218=1
24007
24008 else
24009
24010                             { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24011 $as_echo "no" >&6; }
24012                             ac_wxgtk218=0
24013
24014 fi
24015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24016
24017             if test "$ac_wxgtk218" = 0; then
24018                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GTK+ is version >= 2.10" >&5
24019 $as_echo_n "checking if GTK+ is version >= 2.10... " >&6; }
24020                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24021 /* end confdefs.h.  */
24022
24023                                 #include <gtk/gtk.h>
24024
24025 int
24026 main ()
24027 {
24028
24029                                 #if !GTK_CHECK_VERSION(2,10,0)
24030                                 Not GTK+ 2.10
24031                                 #endif
24032
24033   ;
24034   return 0;
24035 }
24036 _ACEOF
24037 if ac_fn_c_try_compile "$LINENO"; then :
24038
24039                                 $as_echo "#define __WXGTK210__ 1" >>confdefs.h
24040
24041                                 $as_echo "#define __WXGTK26__ 1" >>confdefs.h
24042
24043                                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24044 $as_echo "yes" >&6; }
24045                                 ac_wxgtk210=1
24046
24047 else
24048
24049                                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24050 $as_echo "no" >&6; }
24051                                 ac_wxgtk210=0
24052
24053 fi
24054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24055
24056                 if test "$ac_wxgtk210" = 0; then
24057                                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GTK+ is version >= 2.6" >&5
24058 $as_echo_n "checking if GTK+ is version >= 2.6... " >&6; }
24059                     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24060 /* end confdefs.h.  */
24061
24062                                     #include <gtk/gtk.h>
24063
24064 int
24065 main ()
24066 {
24067
24068                                     #if !GTK_CHECK_VERSION(2,6,0)
24069                                     Not GTK+ 2.6
24070                                     #endif
24071
24072   ;
24073   return 0;
24074 }
24075 _ACEOF
24076 if ac_fn_c_try_compile "$LINENO"; then :
24077
24078                                     $as_echo "#define __WXGTK26__ 1" >>confdefs.h
24079
24080                                     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24081 $as_echo "yes" >&6; }
24082                                     ac_wxgtk26=1
24083
24084 else
24085
24086                                     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24087 $as_echo "no" >&6; }
24088                                     ac_wxgtk26=0
24089
24090 fi
24091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24092                 fi
24093             fi
24094
24095             CFLAGS="$save_CFLAGS"
24096             LIBS="$save_LIBS"
24097         else
24098             if test "$wxUSE_UNICODE" = "yes"; then
24099                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
24100 $as_echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
24101                 wxUSE_UNICODE=no
24102             fi
24103
24104                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdk_im_open in -lgdk" >&5
24105 $as_echo_n "checking for gdk_im_open in -lgdk... " >&6; }
24106 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then :
24107   $as_echo_n "(cached) " >&6
24108 else
24109   ac_check_lib_save_LIBS=$LIBS
24110 LIBS="-lgdk  $LIBS"
24111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24112 /* end confdefs.h.  */
24113
24114 /* Override any GCC internal prototype to avoid an error.
24115    Use char because int might match the return type of a GCC
24116    builtin and then its argument prototype would still apply.  */
24117 #ifdef __cplusplus
24118 extern "C"
24119 #endif
24120 char gdk_im_open ();
24121 int
24122 main ()
24123 {
24124 return gdk_im_open ();
24125   ;
24126   return 0;
24127 }
24128 _ACEOF
24129 if ac_fn_c_try_link "$LINENO"; then :
24130   ac_cv_lib_gdk_gdk_im_open=yes
24131 else
24132   ac_cv_lib_gdk_gdk_im_open=no
24133 fi
24134 rm -f core conftest.err conftest.$ac_objext \
24135     conftest$ac_exeext conftest.$ac_ext
24136 LIBS=$ac_check_lib_save_LIBS
24137 fi
24138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gdk_gdk_im_open" >&5
24139 $as_echo "$ac_cv_lib_gdk_gdk_im_open" >&6; }
24140 if test "x$ac_cv_lib_gdk_gdk_im_open" = x""yes; then :
24141   $as_echo "#define HAVE_XIM 1" >>confdefs.h
24142
24143 fi
24144
24145
24146                                     if test "$USE_DARWIN" != 1; then
24147                 for ac_func in poll
24148 do :
24149   ac_fn_c_check_func "$LINENO" "poll" "ac_cv_func_poll"
24150 if test "x$ac_cv_func_poll" = x""yes; then :
24151   cat >>confdefs.h <<_ACEOF
24152 #define HAVE_POLL 1
24153 _ACEOF
24154
24155 fi
24156 done
24157
24158             fi
24159         fi
24160
24161         TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
24162         GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
24163         AFMINSTALL=afminstall
24164         TOOLKIT=GTK
24165         GUIDIST=GTK_DIST
24166
24167                 if test "$wxUSE_GPE" = "yes"; then
24168             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gpewidget library" >&5
24169 $as_echo_n "checking for gpewidget library... " >&6; }
24170
24171   ac_find_libraries=
24172   for ac_dir in  $SEARCH_LIB
24173   do
24174     for ac_extension in a so sl dylib dll.a; do
24175       if test -f "$ac_dir/libgpewidget.$ac_extension"; then
24176         ac_find_libraries=$ac_dir
24177         break 2
24178       fi
24179     done
24180   done
24181
24182             if test "$ac_find_libraries" != "" ; then
24183
24184     if test "$ac_find_libraries" = "default location"; then
24185     ac_path_to_link=""
24186   else
24187     echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
24188     result=$?
24189     if test $result = 0; then
24190       ac_path_to_link=""
24191     else
24192       ac_path_to_link=" -L$ac_find_libraries"
24193     fi
24194   fi
24195
24196                                                 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
24197                 WXGPE=1
24198                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_libraries" >&5
24199 $as_echo "found in $ac_find_libraries" >&6; }
24200             else
24201                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
24202 $as_echo "not found" >&6; }
24203             fi
24204
24205                                                                                                                     fi
24206     fi
24207
24208     if test "$wxUSE_DFB" = 1; then
24209
24210
24211 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
24212         if test -n "$ac_tool_prefix"; then
24213   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
24214 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
24215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24216 $as_echo_n "checking for $ac_word... " >&6; }
24217 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
24218   $as_echo_n "(cached) " >&6
24219 else
24220   case $PKG_CONFIG in
24221   [\\/]* | ?:[\\/]*)
24222   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
24223   ;;
24224   *)
24225   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24226 for as_dir in $PATH
24227 do
24228   IFS=$as_save_IFS
24229   test -z "$as_dir" && as_dir=.
24230     for ac_exec_ext in '' $ac_executable_extensions; do
24231   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24232     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
24233     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24234     break 2
24235   fi
24236 done
24237   done
24238 IFS=$as_save_IFS
24239
24240   ;;
24241 esac
24242 fi
24243 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
24244 if test -n "$PKG_CONFIG"; then
24245   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
24246 $as_echo "$PKG_CONFIG" >&6; }
24247 else
24248   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24249 $as_echo "no" >&6; }
24250 fi
24251
24252
24253 fi
24254 if test -z "$ac_cv_path_PKG_CONFIG"; then
24255   ac_pt_PKG_CONFIG=$PKG_CONFIG
24256   # Extract the first word of "pkg-config", so it can be a program name with args.
24257 set dummy pkg-config; ac_word=$2
24258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24259 $as_echo_n "checking for $ac_word... " >&6; }
24260 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
24261   $as_echo_n "(cached) " >&6
24262 else
24263   case $ac_pt_PKG_CONFIG in
24264   [\\/]* | ?:[\\/]*)
24265   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
24266   ;;
24267   *)
24268   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24269 for as_dir in $PATH
24270 do
24271   IFS=$as_save_IFS
24272   test -z "$as_dir" && as_dir=.
24273     for ac_exec_ext in '' $ac_executable_extensions; do
24274   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24275     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
24276     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24277     break 2
24278   fi
24279 done
24280   done
24281 IFS=$as_save_IFS
24282
24283   ;;
24284 esac
24285 fi
24286 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
24287 if test -n "$ac_pt_PKG_CONFIG"; then
24288   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
24289 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
24290 else
24291   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24292 $as_echo "no" >&6; }
24293 fi
24294
24295   if test "x$ac_pt_PKG_CONFIG" = x; then
24296     PKG_CONFIG=""
24297   else
24298     case $cross_compiling:$ac_tool_warned in
24299 yes:)
24300 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
24301 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
24302 ac_tool_warned=yes ;;
24303 esac
24304     PKG_CONFIG=$ac_pt_PKG_CONFIG
24305   fi
24306 else
24307   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
24308 fi
24309
24310 fi
24311 if test -n "$PKG_CONFIG"; then
24312         _pkg_min_version=0.9.0
24313         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
24314 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
24315         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
24316                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24317 $as_echo "yes" >&6; }
24318         else
24319                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24320 $as_echo "no" >&6; }
24321                 PKG_CONFIG=""
24322         fi
24323
24324 fi
24325
24326
24327 pkg_failed=no
24328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DIRECTFB" >&5
24329 $as_echo_n "checking for DIRECTFB... " >&6; }
24330
24331 if test -n "$PKG_CONFIG"; then
24332     if test -n "$DIRECTFB_CFLAGS"; then
24333         pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
24334     else
24335         if test -n "$PKG_CONFIG" && \
24336     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\""; } >&5
24337   ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
24338   ac_status=$?
24339   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24340   test $ac_status = 0; }; then
24341   pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
24342 else
24343   pkg_failed=yes
24344 fi
24345     fi
24346 else
24347         pkg_failed=untried
24348 fi
24349 if test -n "$PKG_CONFIG"; then
24350     if test -n "$DIRECTFB_LIBS"; then
24351         pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
24352     else
24353         if test -n "$PKG_CONFIG" && \
24354     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\""; } >&5
24355   ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
24356   ac_status=$?
24357   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24358   test $ac_status = 0; }; then
24359   pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
24360 else
24361   pkg_failed=yes
24362 fi
24363     fi
24364 else
24365         pkg_failed=untried
24366 fi
24367
24368
24369
24370 if test $pkg_failed = yes; then
24371
24372 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24373         _pkg_short_errors_supported=yes
24374 else
24375         _pkg_short_errors_supported=no
24376 fi
24377         if test $_pkg_short_errors_supported = yes; then
24378                 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
24379         else
24380                 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
24381         fi
24382         # Put the nasty error message in config.log where it belongs
24383         echo "$DIRECTFB_PKG_ERRORS" >&5
24384
24385
24386                            as_fn_error $? "DirectFB not found." "$LINENO" 5
24387
24388
24389 elif test $pkg_failed = untried; then
24390
24391                            as_fn_error $? "DirectFB not found." "$LINENO" 5
24392
24393
24394 else
24395         DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
24396         DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
24397         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24398 $as_echo "yes" >&6; }
24399
24400                            wxUSE_UNIVERSAL="yes"
24401                            TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
24402                            GUI_TK_LIBRARY="$DIRECTFB_LIBS"
24403                            TOOLKIT=DFB
24404                            GUIDIST=DFB_DIST
24405
24406 fi
24407     fi
24408
24409     if test "$wxUSE_MICROWIN" = 1; then
24410         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MicroWindows" >&5
24411 $as_echo_n "checking for MicroWindows... " >&6; }
24412         if test "x$MICROWINDOWS" = x ; then
24413             { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
24414 $as_echo "not found" >&6; }
24415             as_fn_error $? "Cannot find MicroWindows library. Make sure MICROWINDOWS is set." "$LINENO" 5
24416         else
24417             { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MICROWINDOWS" >&5
24418 $as_echo "$MICROWINDOWS" >&6; }
24419         fi
24420
24421         if test -f $MICROWINDOWS/lib/libmwin.a; then
24422             { $as_echo "$as_me:${as_lineno-$LINENO}: result: MicroWindows' libraries found." >&5
24423 $as_echo "MicroWindows' libraries found." >&6; }
24424         else
24425             as_fn_error $? "Cannot find MicroWindows libraries, make sure they are compiled." "$LINENO" 5
24426         fi
24427
24428         TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
24429         GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
24430
24431         wxUSE_UNIVERSAL="yes"
24432
24433         AFMINSTALL=afminstall
24434         TOOLKIT=MICROWIN
24435         GUIDIST=MICROWIN_DIST
24436
24437         TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
24438     fi
24439
24440         if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
24441                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
24442 $as_echo_n "checking for X... " >&6; }
24443
24444
24445 # Check whether --with-x was given.
24446 if test "${with_x+set}" = set; then :
24447   withval=$with_x;
24448 fi
24449
24450 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
24451 if test "x$with_x" = xno; then
24452   # The user explicitly disabled X.
24453   have_x=disabled
24454 else
24455   case $x_includes,$x_libraries in #(
24456     *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5 ;; #(
24457     *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then :
24458   $as_echo_n "(cached) " >&6
24459 else
24460   # One or both of the vars are not set, and there is no cached value.
24461 ac_x_includes=no ac_x_libraries=no
24462 rm -f -r conftest.dir
24463 if mkdir conftest.dir; then
24464   cd conftest.dir
24465   cat >Imakefile <<'_ACEOF'
24466 incroot:
24467         @echo incroot='${INCROOT}'
24468 usrlibdir:
24469         @echo usrlibdir='${USRLIBDIR}'
24470 libdir:
24471         @echo libdir='${LIBDIR}'
24472 _ACEOF
24473   if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
24474     # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
24475     for ac_var in incroot usrlibdir libdir; do
24476       eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
24477     done
24478     # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
24479     for ac_extension in a so sl dylib la dll; do
24480       if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
24481          test -f "$ac_im_libdir/libX11.$ac_extension"; then
24482         ac_im_usrlibdir=$ac_im_libdir; break
24483       fi
24484     done
24485     # Screen out bogus values from the imake configuration.  They are
24486     # bogus both because they are the default anyway, and because
24487     # using them would break gcc on systems where it needs fixed includes.
24488     case $ac_im_incroot in
24489         /usr/include) ac_x_includes= ;;
24490         *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
24491     esac
24492     case $ac_im_usrlibdir in
24493         /usr/lib | /usr/lib64 | /lib | /lib64) ;;
24494         *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
24495     esac
24496   fi
24497   cd ..
24498   rm -f -r conftest.dir
24499 fi
24500
24501 # Standard set of common directories for X headers.
24502 # Check X11 before X11Rn because it is often a symlink to the current release.
24503 ac_x_header_dirs='
24504 /usr/X11/include
24505 /usr/X11R7/include
24506 /usr/X11R6/include
24507 /usr/X11R5/include
24508 /usr/X11R4/include
24509
24510 /usr/include/X11
24511 /usr/include/X11R7
24512 /usr/include/X11R6
24513 /usr/include/X11R5
24514 /usr/include/X11R4
24515
24516 /usr/local/X11/include
24517 /usr/local/X11R7/include
24518 /usr/local/X11R6/include
24519 /usr/local/X11R5/include
24520 /usr/local/X11R4/include
24521
24522 /usr/local/include/X11
24523 /usr/local/include/X11R7
24524 /usr/local/include/X11R6
24525 /usr/local/include/X11R5
24526 /usr/local/include/X11R4
24527
24528 /usr/X386/include
24529 /usr/x386/include
24530 /usr/XFree86/include/X11
24531
24532 /usr/include
24533 /usr/local/include
24534 /usr/unsupported/include
24535 /usr/athena/include
24536 /usr/local/x11r5/include
24537 /usr/lpp/Xamples/include
24538
24539 /usr/openwin/include
24540 /usr/openwin/share/include'
24541
24542 if test "$ac_x_includes" = no; then
24543   # Guess where to find include files, by looking for Xlib.h.
24544   # First, try using that file with no special directory specified.
24545   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24546 /* end confdefs.h.  */
24547 #include <X11/Xlib.h>
24548 _ACEOF
24549 if ac_fn_c_try_cpp "$LINENO"; then :
24550   # We can compile using X headers with no special include directory.
24551 ac_x_includes=
24552 else
24553   for ac_dir in $ac_x_header_dirs; do
24554   if test -r "$ac_dir/X11/Xlib.h"; then
24555     ac_x_includes=$ac_dir
24556     break
24557   fi
24558 done
24559 fi
24560 rm -f conftest.err conftest.i conftest.$ac_ext
24561 fi # $ac_x_includes = no
24562
24563 if test "$ac_x_libraries" = no; then
24564   # Check for the libraries.
24565   # See if we find them without any special options.
24566   # Don't add to $LIBS permanently.
24567   ac_save_LIBS=$LIBS
24568   LIBS="-lX11 $LIBS"
24569   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24570 /* end confdefs.h.  */
24571 #include <X11/Xlib.h>
24572 int
24573 main ()
24574 {
24575 XrmInitialize ()
24576   ;
24577   return 0;
24578 }
24579 _ACEOF
24580 if ac_fn_c_try_link "$LINENO"; then :
24581   LIBS=$ac_save_LIBS
24582 # We can link X programs with no special library path.
24583 ac_x_libraries=
24584 else
24585   LIBS=$ac_save_LIBS
24586 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
24587 do
24588   # Don't even attempt the hair of trying to link an X program!
24589   for ac_extension in a so sl dylib la dll; do
24590     if test -r "$ac_dir/libX11.$ac_extension"; then
24591       ac_x_libraries=$ac_dir
24592       break 2
24593     fi
24594   done
24595 done
24596 fi
24597 rm -f core conftest.err conftest.$ac_objext \
24598     conftest$ac_exeext conftest.$ac_ext
24599 fi # $ac_x_libraries = no
24600
24601 case $ac_x_includes,$ac_x_libraries in #(
24602   no,* | *,no | *\'*)
24603     # Didn't find X, or a directory has "'" in its name.
24604     ac_cv_have_x="have_x=no";; #(
24605   *)
24606     # Record where we found X for the cache.
24607     ac_cv_have_x="have_x=yes\
24608         ac_x_includes='$ac_x_includes'\
24609         ac_x_libraries='$ac_x_libraries'"
24610 esac
24611 fi
24612 ;; #(
24613     *) have_x=yes;;
24614   esac
24615   eval "$ac_cv_have_x"
24616 fi # $with_x != no
24617
24618 if test "$have_x" != yes; then
24619   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
24620 $as_echo "$have_x" >&6; }
24621   no_x=yes
24622 else
24623   # If each of the values was on the command line, it overrides each guess.
24624   test "x$x_includes" = xNONE && x_includes=$ac_x_includes
24625   test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
24626   # Update the cache value to reflect the command line values.
24627   ac_cv_have_x="have_x=yes\
24628         ac_x_includes='$x_includes'\
24629         ac_x_libraries='$x_libraries'"
24630   { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
24631 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
24632 fi
24633
24634 if test "$no_x" = yes; then
24635   # Not all programs may use this symbol, but it does not hurt to define it.
24636
24637 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
24638
24639   X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
24640 else
24641   if test -n "$x_includes"; then
24642     X_CFLAGS="$X_CFLAGS -I$x_includes"
24643   fi
24644
24645   # It would also be nice to do this for all -L options, not just this one.
24646   if test -n "$x_libraries"; then
24647     X_LIBS="$X_LIBS -L$x_libraries"
24648     # For Solaris; some versions of Sun CC require a space after -R and
24649     # others require no space.  Words are not sufficient . . . .
24650     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
24651 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
24652     ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
24653     ac_xsave_c_werror_flag=$ac_c_werror_flag
24654     ac_c_werror_flag=yes
24655     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24656 /* end confdefs.h.  */
24657
24658 int
24659 main ()
24660 {
24661
24662   ;
24663   return 0;
24664 }
24665 _ACEOF
24666 if ac_fn_c_try_link "$LINENO"; then :
24667   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24668 $as_echo "no" >&6; }
24669        X_LIBS="$X_LIBS -R$x_libraries"
24670 else
24671   LIBS="$ac_xsave_LIBS -R $x_libraries"
24672        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24673 /* end confdefs.h.  */
24674
24675 int
24676 main ()
24677 {
24678
24679   ;
24680   return 0;
24681 }
24682 _ACEOF
24683 if ac_fn_c_try_link "$LINENO"; then :
24684   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24685 $as_echo "yes" >&6; }
24686           X_LIBS="$X_LIBS -R $x_libraries"
24687 else
24688   { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
24689 $as_echo "neither works" >&6; }
24690 fi
24691 rm -f core conftest.err conftest.$ac_objext \
24692     conftest$ac_exeext conftest.$ac_ext
24693 fi
24694 rm -f core conftest.err conftest.$ac_objext \
24695     conftest$ac_exeext conftest.$ac_ext
24696     ac_c_werror_flag=$ac_xsave_c_werror_flag
24697     LIBS=$ac_xsave_LIBS
24698   fi
24699
24700   # Check for system-dependent libraries X programs must link with.
24701   # Do this before checking for the system-independent R6 libraries
24702   # (-lICE), since we may need -lsocket or whatever for X linking.
24703
24704   if test "$ISC" = yes; then
24705     X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
24706   else
24707     # Martyn Johnson says this is needed for Ultrix, if the X
24708     # libraries were built with DECnet support.  And Karl Berry says
24709     # the Alpha needs dnet_stub (dnet does not exist).
24710     ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
24711     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24712 /* end confdefs.h.  */
24713
24714 /* Override any GCC internal prototype to avoid an error.
24715    Use char because int might match the return type of a GCC
24716    builtin and then its argument prototype would still apply.  */
24717 #ifdef __cplusplus
24718 extern "C"
24719 #endif
24720 char XOpenDisplay ();
24721 int
24722 main ()
24723 {
24724 return XOpenDisplay ();
24725   ;
24726   return 0;
24727 }
24728 _ACEOF
24729 if ac_fn_c_try_link "$LINENO"; then :
24730
24731 else
24732   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
24733 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
24734 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then :
24735   $as_echo_n "(cached) " >&6
24736 else
24737   ac_check_lib_save_LIBS=$LIBS
24738 LIBS="-ldnet  $LIBS"
24739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24740 /* end confdefs.h.  */
24741
24742 /* Override any GCC internal prototype to avoid an error.
24743    Use char because int might match the return type of a GCC
24744    builtin and then its argument prototype would still apply.  */
24745 #ifdef __cplusplus
24746 extern "C"
24747 #endif
24748 char dnet_ntoa ();
24749 int
24750 main ()
24751 {
24752 return dnet_ntoa ();
24753   ;
24754   return 0;
24755 }
24756 _ACEOF
24757 if ac_fn_c_try_link "$LINENO"; then :
24758   ac_cv_lib_dnet_dnet_ntoa=yes
24759 else
24760   ac_cv_lib_dnet_dnet_ntoa=no
24761 fi
24762 rm -f core conftest.err conftest.$ac_objext \
24763     conftest$ac_exeext conftest.$ac_ext
24764 LIBS=$ac_check_lib_save_LIBS
24765 fi
24766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
24767 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
24768 if test "x$ac_cv_lib_dnet_dnet_ntoa" = x""yes; then :
24769   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
24770 fi
24771
24772     if test $ac_cv_lib_dnet_dnet_ntoa = no; then
24773       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
24774 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
24775 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then :
24776   $as_echo_n "(cached) " >&6
24777 else
24778   ac_check_lib_save_LIBS=$LIBS
24779 LIBS="-ldnet_stub  $LIBS"
24780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24781 /* end confdefs.h.  */
24782
24783 /* Override any GCC internal prototype to avoid an error.
24784    Use char because int might match the return type of a GCC
24785    builtin and then its argument prototype would still apply.  */
24786 #ifdef __cplusplus
24787 extern "C"
24788 #endif
24789 char dnet_ntoa ();
24790 int
24791 main ()
24792 {
24793 return dnet_ntoa ();
24794   ;
24795   return 0;
24796 }
24797 _ACEOF
24798 if ac_fn_c_try_link "$LINENO"; then :
24799   ac_cv_lib_dnet_stub_dnet_ntoa=yes
24800 else
24801   ac_cv_lib_dnet_stub_dnet_ntoa=no
24802 fi
24803 rm -f core conftest.err conftest.$ac_objext \
24804     conftest$ac_exeext conftest.$ac_ext
24805 LIBS=$ac_check_lib_save_LIBS
24806 fi
24807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
24808 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
24809 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = x""yes; then :
24810   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
24811 fi
24812
24813     fi
24814 fi
24815 rm -f core conftest.err conftest.$ac_objext \
24816     conftest$ac_exeext conftest.$ac_ext
24817     LIBS="$ac_xsave_LIBS"
24818
24819     # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
24820     # to get the SysV transport functions.
24821     # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
24822     # needs -lnsl.
24823     # The nsl library prevents programs from opening the X display
24824     # on Irix 5.2, according to T.E. Dickey.
24825     # The functions gethostbyname, getservbyname, and inet_addr are
24826     # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
24827     ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
24828 if test "x$ac_cv_func_gethostbyname" = x""yes; then :
24829
24830 fi
24831
24832     if test $ac_cv_func_gethostbyname = no; then
24833       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
24834 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
24835 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then :
24836   $as_echo_n "(cached) " >&6
24837 else
24838   ac_check_lib_save_LIBS=$LIBS
24839 LIBS="-lnsl  $LIBS"
24840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24841 /* end confdefs.h.  */
24842
24843 /* Override any GCC internal prototype to avoid an error.
24844    Use char because int might match the return type of a GCC
24845    builtin and then its argument prototype would still apply.  */
24846 #ifdef __cplusplus
24847 extern "C"
24848 #endif
24849 char gethostbyname ();
24850 int
24851 main ()
24852 {
24853 return gethostbyname ();
24854   ;
24855   return 0;
24856 }
24857 _ACEOF
24858 if ac_fn_c_try_link "$LINENO"; then :
24859   ac_cv_lib_nsl_gethostbyname=yes
24860 else
24861   ac_cv_lib_nsl_gethostbyname=no
24862 fi
24863 rm -f core conftest.err conftest.$ac_objext \
24864     conftest$ac_exeext conftest.$ac_ext
24865 LIBS=$ac_check_lib_save_LIBS
24866 fi
24867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
24868 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
24869 if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then :
24870   X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
24871 fi
24872
24873       if test $ac_cv_lib_nsl_gethostbyname = no; then
24874         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
24875 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
24876 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then :
24877   $as_echo_n "(cached) " >&6
24878 else
24879   ac_check_lib_save_LIBS=$LIBS
24880 LIBS="-lbsd  $LIBS"
24881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24882 /* end confdefs.h.  */
24883
24884 /* Override any GCC internal prototype to avoid an error.
24885    Use char because int might match the return type of a GCC
24886    builtin and then its argument prototype would still apply.  */
24887 #ifdef __cplusplus
24888 extern "C"
24889 #endif
24890 char gethostbyname ();
24891 int
24892 main ()
24893 {
24894 return gethostbyname ();
24895   ;
24896   return 0;
24897 }
24898 _ACEOF
24899 if ac_fn_c_try_link "$LINENO"; then :
24900   ac_cv_lib_bsd_gethostbyname=yes
24901 else
24902   ac_cv_lib_bsd_gethostbyname=no
24903 fi
24904 rm -f core conftest.err conftest.$ac_objext \
24905     conftest$ac_exeext conftest.$ac_ext
24906 LIBS=$ac_check_lib_save_LIBS
24907 fi
24908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
24909 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
24910 if test "x$ac_cv_lib_bsd_gethostbyname" = x""yes; then :
24911   X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
24912 fi
24913
24914       fi
24915     fi
24916
24917     # lieder@skyler.mavd.honeywell.com says without -lsocket,
24918     # socket/setsockopt and other routines are undefined under SCO ODT
24919     # 2.0.  But -lsocket is broken on IRIX 5.2 (and is not necessary
24920     # on later versions), says Simon Leinen: it contains gethostby*
24921     # variants that don't use the name server (or something).  -lsocket
24922     # must be given before -lnsl if both are needed.  We assume that
24923     # if connect needs -lnsl, so does gethostbyname.
24924     ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
24925 if test "x$ac_cv_func_connect" = x""yes; then :
24926
24927 fi
24928
24929     if test $ac_cv_func_connect = no; then
24930       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
24931 $as_echo_n "checking for connect in -lsocket... " >&6; }
24932 if test "${ac_cv_lib_socket_connect+set}" = set; then :
24933   $as_echo_n "(cached) " >&6
24934 else
24935   ac_check_lib_save_LIBS=$LIBS
24936 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
24937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24938 /* end confdefs.h.  */
24939
24940 /* Override any GCC internal prototype to avoid an error.
24941    Use char because int might match the return type of a GCC
24942    builtin and then its argument prototype would still apply.  */
24943 #ifdef __cplusplus
24944 extern "C"
24945 #endif
24946 char connect ();
24947 int
24948 main ()
24949 {
24950 return connect ();
24951   ;
24952   return 0;
24953 }
24954 _ACEOF
24955 if ac_fn_c_try_link "$LINENO"; then :
24956   ac_cv_lib_socket_connect=yes
24957 else
24958   ac_cv_lib_socket_connect=no
24959 fi
24960 rm -f core conftest.err conftest.$ac_objext \
24961     conftest$ac_exeext conftest.$ac_ext
24962 LIBS=$ac_check_lib_save_LIBS
24963 fi
24964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
24965 $as_echo "$ac_cv_lib_socket_connect" >&6; }
24966 if test "x$ac_cv_lib_socket_connect" = x""yes; then :
24967   X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
24968 fi
24969
24970     fi
24971
24972     # Guillermo Gomez says -lposix is necessary on A/UX.
24973     ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
24974 if test "x$ac_cv_func_remove" = x""yes; then :
24975
24976 fi
24977
24978     if test $ac_cv_func_remove = no; then
24979       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
24980 $as_echo_n "checking for remove in -lposix... " >&6; }
24981 if test "${ac_cv_lib_posix_remove+set}" = set; then :
24982   $as_echo_n "(cached) " >&6
24983 else
24984   ac_check_lib_save_LIBS=$LIBS
24985 LIBS="-lposix  $LIBS"
24986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24987 /* end confdefs.h.  */
24988
24989 /* Override any GCC internal prototype to avoid an error.
24990    Use char because int might match the return type of a GCC
24991    builtin and then its argument prototype would still apply.  */
24992 #ifdef __cplusplus
24993 extern "C"
24994 #endif
24995 char remove ();
24996 int
24997 main ()
24998 {
24999 return remove ();
25000   ;
25001   return 0;
25002 }
25003 _ACEOF
25004 if ac_fn_c_try_link "$LINENO"; then :
25005   ac_cv_lib_posix_remove=yes
25006 else
25007   ac_cv_lib_posix_remove=no
25008 fi
25009 rm -f core conftest.err conftest.$ac_objext \
25010     conftest$ac_exeext conftest.$ac_ext
25011 LIBS=$ac_check_lib_save_LIBS
25012 fi
25013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
25014 $as_echo "$ac_cv_lib_posix_remove" >&6; }
25015 if test "x$ac_cv_lib_posix_remove" = x""yes; then :
25016   X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
25017 fi
25018
25019     fi
25020
25021     # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
25022     ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
25023 if test "x$ac_cv_func_shmat" = x""yes; then :
25024
25025 fi
25026
25027     if test $ac_cv_func_shmat = no; then
25028       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
25029 $as_echo_n "checking for shmat in -lipc... " >&6; }
25030 if test "${ac_cv_lib_ipc_shmat+set}" = set; then :
25031   $as_echo_n "(cached) " >&6
25032 else
25033   ac_check_lib_save_LIBS=$LIBS
25034 LIBS="-lipc  $LIBS"
25035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25036 /* end confdefs.h.  */
25037
25038 /* Override any GCC internal prototype to avoid an error.
25039    Use char because int might match the return type of a GCC
25040    builtin and then its argument prototype would still apply.  */
25041 #ifdef __cplusplus
25042 extern "C"
25043 #endif
25044 char shmat ();
25045 int
25046 main ()
25047 {
25048 return shmat ();
25049   ;
25050   return 0;
25051 }
25052 _ACEOF
25053 if ac_fn_c_try_link "$LINENO"; then :
25054   ac_cv_lib_ipc_shmat=yes
25055 else
25056   ac_cv_lib_ipc_shmat=no
25057 fi
25058 rm -f core conftest.err conftest.$ac_objext \
25059     conftest$ac_exeext conftest.$ac_ext
25060 LIBS=$ac_check_lib_save_LIBS
25061 fi
25062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
25063 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
25064 if test "x$ac_cv_lib_ipc_shmat" = x""yes; then :
25065   X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
25066 fi
25067
25068     fi
25069   fi
25070
25071   # Check for libraries that X11R6 Xt/Xaw programs need.
25072   ac_save_LDFLAGS=$LDFLAGS
25073   test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
25074   # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
25075   # check for ICE first), but we must link in the order -lSM -lICE or
25076   # we get undefined symbols.  So assume we have SM if we have ICE.
25077   # These have to be linked with before -lX11, unlike the other
25078   # libraries we check for below, so use a different variable.
25079   # John Interrante, Karl Berry
25080   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
25081 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
25082 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then :
25083   $as_echo_n "(cached) " >&6
25084 else
25085   ac_check_lib_save_LIBS=$LIBS
25086 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
25087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25088 /* end confdefs.h.  */
25089
25090 /* Override any GCC internal prototype to avoid an error.
25091    Use char because int might match the return type of a GCC
25092    builtin and then its argument prototype would still apply.  */
25093 #ifdef __cplusplus
25094 extern "C"
25095 #endif
25096 char IceConnectionNumber ();
25097 int
25098 main ()
25099 {
25100 return IceConnectionNumber ();
25101   ;
25102   return 0;
25103 }
25104 _ACEOF
25105 if ac_fn_c_try_link "$LINENO"; then :
25106   ac_cv_lib_ICE_IceConnectionNumber=yes
25107 else
25108   ac_cv_lib_ICE_IceConnectionNumber=no
25109 fi
25110 rm -f core conftest.err conftest.$ac_objext \
25111     conftest$ac_exeext conftest.$ac_ext
25112 LIBS=$ac_check_lib_save_LIBS
25113 fi
25114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
25115 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
25116 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = x""yes; then :
25117   X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
25118 fi
25119
25120   LDFLAGS=$ac_save_LDFLAGS
25121
25122 fi
25123
25124
25125         if test "$no_x" = "yes"; then
25126           as_fn_error $? "X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" "$LINENO" 5
25127         fi
25128
25129                                 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
25130         TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
25131         AFMINSTALL=afminstall
25132         COMPILED_X_PROGRAM=0
25133
25134     fi
25135
25136     if test "$wxUSE_X11" = 1; then
25137         if test "$wxUSE_NANOX" = "yes"; then
25138             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MicroWindows/NanoX distribution" >&5
25139 $as_echo_n "checking for MicroWindows/NanoX distribution... " >&6; }
25140             if test "x$MICROWIN" = x ; then
25141                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
25142 $as_echo "not found" >&6; }
25143                 as_fn_error $? "Cannot find MicroWindows library. Make sure MICROWIN is set." "$LINENO" 5
25144             else
25145                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MICROWIN" >&5
25146 $as_echo "$MICROWIN" >&6; }
25147                 $as_echo "#define wxUSE_NANOX 1" >>confdefs.h
25148
25149             fi
25150         fi
25151
25152         if test "$wxUSE_UNICODE" = "yes"; then
25153
25154
25155 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
25156         if test -n "$ac_tool_prefix"; then
25157   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
25158 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
25159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25160 $as_echo_n "checking for $ac_word... " >&6; }
25161 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
25162   $as_echo_n "(cached) " >&6
25163 else
25164   case $PKG_CONFIG in
25165   [\\/]* | ?:[\\/]*)
25166   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
25167   ;;
25168   *)
25169   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25170 for as_dir in $PATH
25171 do
25172   IFS=$as_save_IFS
25173   test -z "$as_dir" && as_dir=.
25174     for ac_exec_ext in '' $ac_executable_extensions; do
25175   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25176     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
25177     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25178     break 2
25179   fi
25180 done
25181   done
25182 IFS=$as_save_IFS
25183
25184   ;;
25185 esac
25186 fi
25187 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
25188 if test -n "$PKG_CONFIG"; then
25189   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
25190 $as_echo "$PKG_CONFIG" >&6; }
25191 else
25192   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25193 $as_echo "no" >&6; }
25194 fi
25195
25196
25197 fi
25198 if test -z "$ac_cv_path_PKG_CONFIG"; then
25199   ac_pt_PKG_CONFIG=$PKG_CONFIG
25200   # Extract the first word of "pkg-config", so it can be a program name with args.
25201 set dummy pkg-config; ac_word=$2
25202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25203 $as_echo_n "checking for $ac_word... " >&6; }
25204 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
25205   $as_echo_n "(cached) " >&6
25206 else
25207   case $ac_pt_PKG_CONFIG in
25208   [\\/]* | ?:[\\/]*)
25209   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
25210   ;;
25211   *)
25212   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25213 for as_dir in $PATH
25214 do
25215   IFS=$as_save_IFS
25216   test -z "$as_dir" && as_dir=.
25217     for ac_exec_ext in '' $ac_executable_extensions; do
25218   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25219     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
25220     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25221     break 2
25222   fi
25223 done
25224   done
25225 IFS=$as_save_IFS
25226
25227   ;;
25228 esac
25229 fi
25230 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
25231 if test -n "$ac_pt_PKG_CONFIG"; then
25232   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
25233 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
25234 else
25235   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25236 $as_echo "no" >&6; }
25237 fi
25238
25239   if test "x$ac_pt_PKG_CONFIG" = x; then
25240     PKG_CONFIG=""
25241   else
25242     case $cross_compiling:$ac_tool_warned in
25243 yes:)
25244 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
25245 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
25246 ac_tool_warned=yes ;;
25247 esac
25248     PKG_CONFIG=$ac_pt_PKG_CONFIG
25249   fi
25250 else
25251   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
25252 fi
25253
25254 fi
25255 if test -n "$PKG_CONFIG"; then
25256         _pkg_min_version=0.9.0
25257         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
25258 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
25259         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
25260                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25261 $as_echo "yes" >&6; }
25262         else
25263                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25264 $as_echo "no" >&6; }
25265                 PKG_CONFIG=""
25266         fi
25267
25268 fi
25269
25270
25271 pkg_failed=no
25272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANGOX" >&5
25273 $as_echo_n "checking for PANGOX... " >&6; }
25274
25275 if test -n "$PKG_CONFIG"; then
25276     if test -n "$PANGOX_CFLAGS"; then
25277         pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
25278     else
25279         if test -n "$PKG_CONFIG" && \
25280     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangox\""; } >&5
25281   ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
25282   ac_status=$?
25283   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25284   test $ac_status = 0; }; then
25285   pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
25286 else
25287   pkg_failed=yes
25288 fi
25289     fi
25290 else
25291         pkg_failed=untried
25292 fi
25293 if test -n "$PKG_CONFIG"; then
25294     if test -n "$PANGOX_LIBS"; then
25295         pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
25296     else
25297         if test -n "$PKG_CONFIG" && \
25298     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangox\""; } >&5
25299   ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
25300   ac_status=$?
25301   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25302   test $ac_status = 0; }; then
25303   pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
25304 else
25305   pkg_failed=yes
25306 fi
25307     fi
25308 else
25309         pkg_failed=untried
25310 fi
25311
25312
25313
25314 if test $pkg_failed = yes; then
25315
25316 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25317         _pkg_short_errors_supported=yes
25318 else
25319         _pkg_short_errors_supported=no
25320 fi
25321         if test $_pkg_short_errors_supported = yes; then
25322                 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
25323         else
25324                 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
25325         fi
25326         # Put the nasty error message in config.log where it belongs
25327         echo "$PANGOX_PKG_ERRORS" >&5
25328
25329
25330                     as_fn_error $? "pangox library not found, library cannot be compiled in Unicode mode" "$LINENO" 5
25331
25332
25333 elif test $pkg_failed = untried; then
25334
25335                     as_fn_error $? "pangox library not found, library cannot be compiled in Unicode mode" "$LINENO" 5
25336
25337
25338 else
25339         PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
25340         PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
25341         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25342 $as_echo "yes" >&6; }
25343
25344                     CFLAGS="$PANGOX_CFLAGS $CFLAGS"
25345                     CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
25346                     GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
25347
25348 fi
25349
25350 pkg_failed=no
25351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANGOFT2" >&5
25352 $as_echo_n "checking for PANGOFT2... " >&6; }
25353
25354 if test -n "$PKG_CONFIG"; then
25355     if test -n "$PANGOFT2_CFLAGS"; then
25356         pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
25357     else
25358         if test -n "$PKG_CONFIG" && \
25359     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoft2\""; } >&5
25360   ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
25361   ac_status=$?
25362   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25363   test $ac_status = 0; }; then
25364   pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
25365 else
25366   pkg_failed=yes
25367 fi
25368     fi
25369 else
25370         pkg_failed=untried
25371 fi
25372 if test -n "$PKG_CONFIG"; then
25373     if test -n "$PANGOFT2_LIBS"; then
25374         pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
25375     else
25376         if test -n "$PKG_CONFIG" && \
25377     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoft2\""; } >&5
25378   ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
25379   ac_status=$?
25380   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25381   test $ac_status = 0; }; then
25382   pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
25383 else
25384   pkg_failed=yes
25385 fi
25386     fi
25387 else
25388         pkg_failed=untried
25389 fi
25390
25391
25392
25393 if test $pkg_failed = yes; then
25394
25395 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25396         _pkg_short_errors_supported=yes
25397 else
25398         _pkg_short_errors_supported=no
25399 fi
25400         if test $_pkg_short_errors_supported = yes; then
25401                 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
25402         else
25403                 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
25404         fi
25405         # Put the nasty error message in config.log where it belongs
25406         echo "$PANGOFT2_PKG_ERRORS" >&5
25407
25408
25409                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
25410 $as_echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
25411                     wxUSE_PRINTING_ARCHITECTURE="no"
25412
25413
25414 elif test $pkg_failed = untried; then
25415
25416                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
25417 $as_echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
25418                     wxUSE_PRINTING_ARCHITECTURE="no"
25419
25420
25421 else
25422         PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
25423         PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
25424         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25425 $as_echo "yes" >&6; }
25426
25427                     CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
25428                     CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
25429                     GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
25430
25431 fi
25432
25433 pkg_failed=no
25434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANGOXFT" >&5
25435 $as_echo_n "checking for PANGOXFT... " >&6; }
25436
25437 if test -n "$PKG_CONFIG"; then
25438     if test -n "$PANGOXFT_CFLAGS"; then
25439         pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
25440     else
25441         if test -n "$PKG_CONFIG" && \
25442     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoxft\""; } >&5
25443   ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
25444   ac_status=$?
25445   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25446   test $ac_status = 0; }; then
25447   pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
25448 else
25449   pkg_failed=yes
25450 fi
25451     fi
25452 else
25453         pkg_failed=untried
25454 fi
25455 if test -n "$PKG_CONFIG"; then
25456     if test -n "$PANGOXFT_LIBS"; then
25457         pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
25458     else
25459         if test -n "$PKG_CONFIG" && \
25460     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoxft\""; } >&5
25461   ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
25462   ac_status=$?
25463   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25464   test $ac_status = 0; }; then
25465   pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
25466 else
25467   pkg_failed=yes
25468 fi
25469     fi
25470 else
25471         pkg_failed=untried
25472 fi
25473
25474
25475
25476 if test $pkg_failed = yes; then
25477
25478 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25479         _pkg_short_errors_supported=yes
25480 else
25481         _pkg_short_errors_supported=no
25482 fi
25483         if test $_pkg_short_errors_supported = yes; then
25484                 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
25485         else
25486                 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
25487         fi
25488         # Put the nasty error message in config.log where it belongs
25489         echo "$PANGOXFT_PKG_ERRORS" >&5
25490
25491
25492                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
25493 $as_echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
25494
25495
25496 elif test $pkg_failed = untried; then
25497
25498                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
25499 $as_echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
25500
25501
25502 else
25503         PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
25504         PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
25505         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25506 $as_echo "yes" >&6; }
25507
25508                     $as_echo "#define HAVE_PANGO_XFT 1" >>confdefs.h
25509
25510                     CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
25511                     CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
25512                     GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
25513
25514 fi
25515             save_LIBS="$LIBS"
25516             LIBS="$LIBS $PANGOX_LIBS"
25517             for ac_func in pango_font_family_is_monospace
25518 do :
25519   ac_fn_c_check_func "$LINENO" "pango_font_family_is_monospace" "ac_cv_func_pango_font_family_is_monospace"
25520 if test "x$ac_cv_func_pango_font_family_is_monospace" = x""yes; then :
25521   cat >>confdefs.h <<_ACEOF
25522 #define HAVE_PANGO_FONT_FAMILY_IS_MONOSPACE 1
25523 _ACEOF
25524
25525 fi
25526 done
25527
25528             LIBS="$save_LIBS"
25529         fi
25530
25531         wxUSE_UNIVERSAL="yes"
25532
25533         if test "$wxUSE_NANOX" = "yes"; then
25534             TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
25535             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"
25536             GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
25537         else
25538             GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
25539         fi
25540
25541         TOOLKIT=X11
25542         GUIDIST=X11_DIST
25543     fi
25544
25545     if test "$wxUSE_MOTIF" = 1; then
25546         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Motif/Lesstif headers" >&5
25547 $as_echo_n "checking for Motif/Lesstif headers... " >&6; }
25548
25549 ac_find_includes=
25550 for ac_dir in $SEARCH_INCLUDE /usr/include
25551   do
25552     if test -f "$ac_dir/Xm/Xm.h"; then
25553       ac_find_includes=$ac_dir
25554       break
25555     fi
25556   done
25557
25558         if test "$ac_find_includes" != "" ; then
25559             { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_includes" >&5
25560 $as_echo "found in $ac_find_includes" >&6; }
25561
25562     if test "x$ac_find_includes" = "x/usr/include"; then
25563     ac_path_to_include=""
25564   else
25565     echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
25566     result=$?
25567     if test $result = 0; then
25568       ac_path_to_include=""
25569     else
25570       ac_path_to_include=" -I$ac_find_includes"
25571     fi
25572   fi
25573
25574             TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
25575         else
25576             save_CFLAGS=$CFLAGS
25577             CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
25578
25579             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25580 /* end confdefs.h.  */
25581
25582                     #include <Xm/Xm.h>
25583
25584 int
25585 main ()
25586 {
25587
25588                     int version;
25589                     version = xmUseVersion;
25590
25591   ;
25592   return 0;
25593 }
25594 _ACEOF
25595 if ac_fn_c_try_compile "$LINENO"; then :
25596
25597                     { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in default search path" >&5
25598 $as_echo "found in default search path" >&6; }
25599                     COMPILED_X_PROGRAM=1
25600
25601 else
25602
25603                     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25604 $as_echo "no" >&6; }
25605                     as_fn_error $? "please set CPPFLAGS to contain the location of Xm/Xm.h" "$LINENO" 5
25606
25607
25608 fi
25609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25610
25611             CFLAGS=$save_CFLAGS
25612         fi
25613
25614
25615         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Motif/Lesstif library" >&5
25616 $as_echo_n "checking for Motif/Lesstif library... " >&6; }
25617
25618   ac_find_libraries=
25619   for ac_dir in  $SEARCH_LIB
25620   do
25621     for ac_extension in a so sl dylib dll.a; do
25622       if test -f "$ac_dir/libXm.$ac_extension"; then
25623         ac_find_libraries=$ac_dir
25624         break 2
25625       fi
25626     done
25627   done
25628
25629
25630         if test "x$ac_find_libraries" != "x" ; then
25631             { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_libraries" >&5
25632 $as_echo "found in $ac_find_libraries" >&6; }
25633
25634
25635     if test "$ac_find_libraries" = "default location"; then
25636     ac_path_to_link=""
25637   else
25638     echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
25639     result=$?
25640     if test $result = 0; then
25641       ac_path_to_link=""
25642     else
25643       ac_path_to_link=" -L$ac_find_libraries"
25644     fi
25645   fi
25646
25647             GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
25648         else
25649                                                 save_CFLAGS=$CFLAGS
25650             CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
25651             save_LIBS="$LIBS"
25652             LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
25653
25654             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25655 /* end confdefs.h.  */
25656
25657                     #include <Xm/Xm.h>
25658
25659 int
25660 main ()
25661 {
25662
25663                     int version;
25664                     version = xmUseVersion;
25665
25666   ;
25667   return 0;
25668 }
25669 _ACEOF
25670 if ac_fn_c_try_link "$LINENO"; then :
25671
25672                     { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in default search path" >&5
25673 $as_echo "found in default search path" >&6; }
25674                     COMPILED_X_PROGRAM=1
25675
25676 else
25677
25678                     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25679 $as_echo "no" >&6; }
25680                     as_fn_error $? "please set LDFLAGS to contain the location of libXm" "$LINENO" 5
25681
25682
25683 fi
25684 rm -f core conftest.err conftest.$ac_objext \
25685     conftest$ac_exeext conftest.$ac_ext
25686
25687             CFLAGS=$save_CFLAGS
25688             LIBS="$save_LIBS"
25689         fi
25690
25691         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we need -lXp and/or -lSM -lICE" >&5
25692 $as_echo_n "checking if we need -lXp and/or -lSM -lICE... " >&6; }
25693         libp_link=""
25694         libsm_ice_link=""
25695         libs_found=0
25696         for libp in "" " -lXp"; do
25697             if test "$libs_found" = 0; then
25698                 for libsm_ice in "" " -lSM -lICE"; do
25699                     if test "$libs_found" = 0; then
25700                         save_LIBS="$LIBS"
25701                         LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
25702                         save_CFLAGS=$CFLAGS
25703                         CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
25704
25705                         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25706 /* end confdefs.h.  */
25707
25708                                 #include <Xm/Xm.h>
25709                                 #include <Xm/List.h>
25710
25711 int
25712 main ()
25713 {
25714
25715                                 XmString string = NULL;
25716                                 Widget w = NULL;
25717                                 int position = 0;
25718                                 XmListAddItem(w, string, position);
25719
25720   ;
25721   return 0;
25722 }
25723 _ACEOF
25724 if ac_fn_c_try_link "$LINENO"; then :
25725
25726                                 libp_link="$libp"
25727                                 libsm_ice_link="$libsm_ice"
25728                                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: need${libp_link}${libsm_ice_link}" >&5
25729 $as_echo "need${libp_link}${libsm_ice_link}" >&6; }
25730                                 libs_found=1
25731
25732 fi
25733 rm -f core conftest.err conftest.$ac_objext \
25734     conftest$ac_exeext conftest.$ac_ext
25735
25736                         LIBS="$save_LIBS"
25737                         CFLAGS=$save_CFLAGS
25738                     fi
25739                 done
25740             fi
25741         done
25742
25743         if test "$libs_found" = 0; then
25744             { $as_echo "$as_me:${as_lineno-$LINENO}: result: can't find the right libraries" >&5
25745 $as_echo "can't find the right libraries" >&6; }
25746             as_fn_error $? "can't link a simple motif program" "$LINENO" 5
25747         fi
25748
25749                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SgCreateList in -lSgm" >&5
25750 $as_echo_n "checking for SgCreateList in -lSgm... " >&6; }
25751 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then :
25752   $as_echo_n "(cached) " >&6
25753 else
25754   ac_check_lib_save_LIBS=$LIBS
25755 LIBS="-lSgm  $LIBS"
25756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25757 /* end confdefs.h.  */
25758
25759 /* Override any GCC internal prototype to avoid an error.
25760    Use char because int might match the return type of a GCC
25761    builtin and then its argument prototype would still apply.  */
25762 #ifdef __cplusplus
25763 extern "C"
25764 #endif
25765 char SgCreateList ();
25766 int
25767 main ()
25768 {
25769 return SgCreateList ();
25770   ;
25771   return 0;
25772 }
25773 _ACEOF
25774 if ac_fn_c_try_link "$LINENO"; then :
25775   ac_cv_lib_Sgm_SgCreateList=yes
25776 else
25777   ac_cv_lib_Sgm_SgCreateList=no
25778 fi
25779 rm -f core conftest.err conftest.$ac_objext \
25780     conftest$ac_exeext conftest.$ac_ext
25781 LIBS=$ac_check_lib_save_LIBS
25782 fi
25783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Sgm_SgCreateList" >&5
25784 $as_echo "$ac_cv_lib_Sgm_SgCreateList" >&6; }
25785 if test "x$ac_cv_lib_Sgm_SgCreateList" = x""yes; then :
25786   libsgm_link=" -lSgm"
25787 fi
25788
25789
25790         save_CFLAGS=$CFLAGS
25791         CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
25792
25793         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Motif 2" >&5
25794 $as_echo_n "checking for Motif 2... " >&6; }
25795 if test "${wx_cv_lib_motif2+set}" = set; then :
25796   $as_echo_n "(cached) " >&6
25797 else
25798   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25799 /* end confdefs.h.  */
25800
25801                             #include <Xm/Xm.h>
25802
25803 int
25804 main ()
25805 {
25806
25807                             #if XmVersion < 2000
25808                             Not Motif 2
25809                             #endif
25810
25811   ;
25812   return 0;
25813 }
25814 _ACEOF
25815 if ac_fn_c_try_compile "$LINENO"; then :
25816   wx_cv_lib_motif2="yes"
25817 else
25818   wx_cv_lib_motif2="no"
25819 fi
25820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25821 fi
25822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_motif2" >&5
25823 $as_echo "$wx_cv_lib_motif2" >&6; }
25824         if test "$wx_cv_lib_motif2" = "yes"; then
25825             $as_echo "#define __WXMOTIF20__ 1" >>confdefs.h
25826
25827         else
25828             $as_echo "#define __WXMOTIF20__ 0" >>confdefs.h
25829
25830         fi
25831
25832         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Motif is Lesstif" >&5
25833 $as_echo_n "checking whether Motif is Lesstif... " >&6; }
25834 if test "${wx_cv_lib_lesstif+set}" = set; then :
25835   $as_echo_n "(cached) " >&6
25836 else
25837   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25838 /* end confdefs.h.  */
25839
25840                             #include <Xm/Xm.h>
25841
25842 int
25843 main ()
25844 {
25845
25846                             #if !defined(LesstifVersion) || LesstifVersion <= 0
25847                             Not Lesstif
25848                             #endif
25849
25850   ;
25851   return 0;
25852 }
25853 _ACEOF
25854 if ac_fn_c_try_compile "$LINENO"; then :
25855   wx_cv_lib_lesstif="yes"
25856 else
25857   wx_cv_lib_lesstif="no"
25858 fi
25859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25860
25861 fi
25862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_lesstif" >&5
25863 $as_echo "$wx_cv_lib_lesstif" >&6; }
25864         if test "$wx_cv_lib_lesstif" = "yes"; then
25865             $as_echo "#define __WXLESSTIF__ 1" >>confdefs.h
25866
25867         else
25868             $as_echo "#define __WXLESSTIF__ 0" >>confdefs.h
25869
25870         fi
25871
25872         CFLAGS=$save_CFLAGS
25873
25874         GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
25875         TOOLKIT=MOTIF
25876         GUIDIST=MOTIF_DIST
25877     fi
25878
25879         if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
25880                 if test "$wxUSE_LIBXPM" = "sys"; then
25881             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xpm library" >&5
25882 $as_echo_n "checking for Xpm library... " >&6; }
25883
25884   ac_find_libraries=
25885   for ac_dir in  $SEARCH_LIB
25886   do
25887     for ac_extension in a so sl dylib dll.a; do
25888       if test -f "$ac_dir/libXpm.$ac_extension"; then
25889         ac_find_libraries=$ac_dir
25890         break 2
25891       fi
25892     done
25893   done
25894
25895             if test "$ac_find_libraries" != "" ; then
25896
25897     if test "$ac_find_libraries" = "default location"; then
25898     ac_path_to_link=""
25899   else
25900     echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
25901     result=$?
25902     if test $result = 0; then
25903       ac_path_to_link=""
25904     else
25905       ac_path_to_link=" -L$ac_find_libraries"
25906     fi
25907   fi
25908
25909                 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
25910                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_libraries" >&5
25911 $as_echo "found in $ac_find_libraries" >&6; }
25912
25913                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X11/xpm.h" >&5
25914 $as_echo_n "checking for X11/xpm.h... " >&6; }
25915 if test "${wx_cv_x11_xpm_h+set}" = set; then :
25916   $as_echo_n "(cached) " >&6
25917 else
25918
25919                         save_CFLAGS=$CFLAGS
25920                         CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
25921
25922                         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25923 /* end confdefs.h.  */
25924
25925                                 #include <X11/xpm.h>
25926
25927 int
25928 main ()
25929 {
25930
25931                                 int version;
25932                                 version = XpmLibraryVersion();
25933
25934   ;
25935   return 0;
25936 }
25937 _ACEOF
25938 if ac_fn_c_try_compile "$LINENO"; then :
25939   wx_cv_x11_xpm_h=yes
25940 else
25941   wx_cv_x11_xpm_h=no
25942
25943 fi
25944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25945
25946                         CFLAGS=$save_CFLAGS
25947
25948
25949 fi
25950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_x11_xpm_h" >&5
25951 $as_echo "$wx_cv_x11_xpm_h" >&6; }
25952
25953                 if test $wx_cv_x11_xpm_h = "yes"; then
25954                     GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
25955                     $as_echo "#define wxHAVE_LIB_XPM 1" >>confdefs.h
25956
25957                 else
25958                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: built-in less efficient XPM decoder will be used" >&5
25959 $as_echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
25960                 fi
25961             fi
25962
25963         fi
25964
25965                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
25966 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
25967 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then :
25968   $as_echo_n "(cached) " >&6
25969 else
25970   ac_check_lib_save_LIBS=$LIBS
25971 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
25972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25973 /* end confdefs.h.  */
25974
25975 /* Override any GCC internal prototype to avoid an error.
25976    Use char because int might match the return type of a GCC
25977    builtin and then its argument prototype would still apply.  */
25978 #ifdef __cplusplus
25979 extern "C"
25980 #endif
25981 char XShapeQueryExtension ();
25982 int
25983 main ()
25984 {
25985 return XShapeQueryExtension ();
25986   ;
25987   return 0;
25988 }
25989 _ACEOF
25990 if ac_fn_c_try_link "$LINENO"; then :
25991   ac_cv_lib_Xext_XShapeQueryExtension=yes
25992 else
25993   ac_cv_lib_Xext_XShapeQueryExtension=no
25994 fi
25995 rm -f core conftest.err conftest.$ac_objext \
25996     conftest$ac_exeext conftest.$ac_ext
25997 LIBS=$ac_check_lib_save_LIBS
25998 fi
25999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
26000 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
26001 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = x""yes; then :
26002
26003                       GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
26004                       wxHAVE_XEXT_LIB=1
26005
26006 fi
26007
26008
26009         if test "$wxHAVE_XEXT_LIB" = 1; then
26010             save_CFLAGS="$CFLAGS"
26011             CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
26012
26013             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X11/extensions/shape.h" >&5
26014 $as_echo_n "checking for X11/extensions/shape.h... " >&6; }
26015             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26016 /* end confdefs.h.  */
26017
26018                             #include <X11/Xlib.h>
26019                             #include <X11/extensions/shape.h>
26020
26021 int
26022 main ()
26023 {
26024
26025                             int dummy1, dummy2;
26026                             XShapeQueryExtension((Display*)NULL,
26027                                                  (int*)NULL, (int*)NULL);
26028
26029   ;
26030   return 0;
26031 }
26032 _ACEOF
26033 if ac_fn_c_try_compile "$LINENO"; then :
26034
26035                             $as_echo "#define HAVE_XSHAPE 1" >>confdefs.h
26036
26037                             { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
26038 $as_echo "found" >&6; }
26039
26040 else
26041
26042                             { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
26043 $as_echo "not found" >&6; }
26044
26045 fi
26046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26047             CFLAGS="$save_CFLAGS"
26048
26049         fi
26050     fi
26051
26052     if test "$wxUSE_OSX_CARBON" = 1; then
26053         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler syntax to enable Pascal strings" >&5
26054 $as_echo_n "checking for compiler syntax to enable Pascal strings... " >&6; }
26055         if test "$GCC" = yes; then
26056             { $as_echo "$as_me:${as_lineno-$LINENO}: result: gcc" >&5
26057 $as_echo "gcc" >&6; }
26058             CPPFLAGS_PASCAL="-fpascal-strings"
26059         elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
26060             { $as_echo "$as_me:${as_lineno-$LINENO}: result: xlc" >&5
26061 $as_echo "xlc" >&6; }
26062             CPPFLAGS_PASCAL="-qmacpstr"
26063         else
26064             { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
26065 $as_echo "none" >&6; }
26066         fi
26067
26068         if test "x$wxUSE_UNIX" = "xyes"; then
26069             CPPFLAGS="$CPPFLAGS_PASCAL -I/Developer/Headers/FlatCarbon $CPPFLAGS"
26070         else
26071                         CPPFLAGS="$CPPFLAGS_PASCAL -DTARGET_CARBON $CPPFLAGS"
26072         fi
26073
26074         TOOLKIT=OSX_CARBON
26075                 GUIDIST=OSX_CARBON_DIST
26076                         WXBASEPORT="_carbon"
26077
26078                                         TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
26079     fi
26080
26081     if test "$wxUSE_OSX_COCOA" = 1; then
26082         TOOLKIT=OSX_COCOA
26083         GUIDIST=OSX_COCOA_DIST
26084
26085                 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
26086     fi
26087
26088     if test "$wxUSE_OSX_IPHONE" = 1; then
26089         TOOLKIT=OSX_IPHONE
26090     fi
26091
26092     if test "$wxUSE_OLD_COCOA" = 1; then
26093         TOOLKIT=COCOA
26094         GUIDIST=COCOA_DIST
26095     fi
26096
26097     if test "$wxUSE_PM" = 1; then
26098         TOOLKIT=PM
26099         GUIDIST=PM_DIST
26100         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type SPBCDATA" >&5
26101 $as_echo_n "checking for type SPBCDATA... " >&6; }
26102 if test "${wx_cv_spbcdata+set}" = set; then :
26103   $as_echo_n "(cached) " >&6
26104 else
26105
26106                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26107 /* end confdefs.h.  */
26108
26109                         #define INCL_PM
26110                         #include <os2.h>
26111
26112 int
26113 main ()
26114 {
26115
26116                         SPBCDATA test;
26117
26118   ;
26119   return 0;
26120 }
26121 _ACEOF
26122 if ac_fn_c_try_compile "$LINENO"; then :
26123   wx_cv_spbcdata=yes
26124 else
26125   wx_cv_spbcdata=no
26126
26127 fi
26128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26129
26130
26131 fi
26132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_spbcdata" >&5
26133 $as_echo "$wx_cv_spbcdata" >&6; }
26134
26135         if test $wx_cv_spbcdata = "yes"; then
26136             $as_echo "#define HAVE_SPBCDATA 1" >>confdefs.h
26137
26138         fi
26139     fi
26140
26141         if test "$TOOLKIT" = "PM" ; then
26142         TOOLKIT_DIR="os2"
26143     else
26144         TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
26145     fi
26146
26147     if test "$wxUSE_UNIVERSAL" = "yes"; then
26148         TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
26149         WIDGET_SET=univ
26150     fi
26151
26152         GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
26153     DISTDIR="wx\$(TOOLKIT)"
26154 else
26155     USE_GUI=0
26156
26157             TOOLKIT_DIR="base"
26158
26159         if test "$USE_WIN32" = 1 ; then
26160                         TOOLKIT="MSW"
26161     fi
26162
26163         GUIDIST="BASE_DIST"
26164     DISTDIR="wxBase"
26165 fi
26166
26167
26168
26169 if test "$wxUSE_GUI" = "yes"; then
26170     if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
26171                 for ac_header in X11/Xlib.h
26172 do :
26173   ac_fn_c_check_header_compile "$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "
26174 "
26175 if test "x$ac_cv_header_X11_Xlib_h" = x""yes; then :
26176   cat >>confdefs.h <<_ACEOF
26177 #define HAVE_X11_XLIB_H 1
26178 _ACEOF
26179
26180 fi
26181
26182 done
26183
26184         for ac_header in X11/XKBlib.h
26185 do :
26186   ac_fn_c_check_header_compile "$LINENO" "X11/XKBlib.h" "ac_cv_header_X11_XKBlib_h" "
26187                           #if HAVE_X11_XLIB_H
26188                             #include <X11/Xlib.h>
26189                           #endif
26190
26191 "
26192 if test "x$ac_cv_header_X11_XKBlib_h" = x""yes; then :
26193   cat >>confdefs.h <<_ACEOF
26194 #define HAVE_X11_XKBLIB_H 1
26195 _ACEOF
26196
26197 fi
26198
26199 done
26200
26201     fi
26202 fi
26203
26204
26205
26206 USE_XINERAMA=0
26207 if test "$wxUSE_DISPLAY" = "yes"; then
26208         if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK1" = 1; then
26209
26210   ac_find_libraries=
26211
26212     fl_pkgname=`echo "Xinerama" | tr [:upper:] [:lower:]`
26213
26214
26215 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
26216         if test -n "$ac_tool_prefix"; then
26217   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
26218 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
26219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26220 $as_echo_n "checking for $ac_word... " >&6; }
26221 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
26222   $as_echo_n "(cached) " >&6
26223 else
26224   case $PKG_CONFIG in
26225   [\\/]* | ?:[\\/]*)
26226   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
26227   ;;
26228   *)
26229   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26230 for as_dir in $PATH
26231 do
26232   IFS=$as_save_IFS
26233   test -z "$as_dir" && as_dir=.
26234     for ac_exec_ext in '' $ac_executable_extensions; do
26235   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
26236     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26237     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26238     break 2
26239   fi
26240 done
26241   done
26242 IFS=$as_save_IFS
26243
26244   ;;
26245 esac
26246 fi
26247 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
26248 if test -n "$PKG_CONFIG"; then
26249   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
26250 $as_echo "$PKG_CONFIG" >&6; }
26251 else
26252   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26253 $as_echo "no" >&6; }
26254 fi
26255
26256
26257 fi
26258 if test -z "$ac_cv_path_PKG_CONFIG"; then
26259   ac_pt_PKG_CONFIG=$PKG_CONFIG
26260   # Extract the first word of "pkg-config", so it can be a program name with args.
26261 set dummy pkg-config; ac_word=$2
26262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26263 $as_echo_n "checking for $ac_word... " >&6; }
26264 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
26265   $as_echo_n "(cached) " >&6
26266 else
26267   case $ac_pt_PKG_CONFIG in
26268   [\\/]* | ?:[\\/]*)
26269   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
26270   ;;
26271   *)
26272   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26273 for as_dir in $PATH
26274 do
26275   IFS=$as_save_IFS
26276   test -z "$as_dir" && as_dir=.
26277     for ac_exec_ext in '' $ac_executable_extensions; do
26278   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
26279     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26280     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26281     break 2
26282   fi
26283 done
26284   done
26285 IFS=$as_save_IFS
26286
26287   ;;
26288 esac
26289 fi
26290 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
26291 if test -n "$ac_pt_PKG_CONFIG"; then
26292   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
26293 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
26294 else
26295   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26296 $as_echo "no" >&6; }
26297 fi
26298
26299   if test "x$ac_pt_PKG_CONFIG" = x; then
26300     PKG_CONFIG=""
26301   else
26302     case $cross_compiling:$ac_tool_warned in
26303 yes:)
26304 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
26305 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
26306 ac_tool_warned=yes ;;
26307 esac
26308     PKG_CONFIG=$ac_pt_PKG_CONFIG
26309   fi
26310 else
26311   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
26312 fi
26313
26314 fi
26315 if test -n "$PKG_CONFIG"; then
26316         _pkg_min_version=0.9.0
26317         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
26318 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
26319         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
26320                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26321 $as_echo "yes" >&6; }
26322         else
26323                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26324 $as_echo "no" >&6; }
26325                 PKG_CONFIG=""
26326         fi
26327
26328 fi 6> /dev/null
26329
26330 pkg_failed=no
26331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xinerama" >&5
26332 $as_echo_n "checking for Xinerama... " >&6; }
26333
26334 if test -n "$PKG_CONFIG"; then
26335     if test -n "$Xinerama_CFLAGS"; then
26336         pkg_cv_Xinerama_CFLAGS="$Xinerama_CFLAGS"
26337     else
26338         if test -n "$PKG_CONFIG" && \
26339     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
26340   ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
26341   ac_status=$?
26342   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26343   test $ac_status = 0; }; then
26344   pkg_cv_Xinerama_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
26345 else
26346   pkg_failed=yes
26347 fi
26348     fi
26349 else
26350         pkg_failed=untried
26351 fi
26352 if test -n "$PKG_CONFIG"; then
26353     if test -n "$Xinerama_LIBS"; then
26354         pkg_cv_Xinerama_LIBS="$Xinerama_LIBS"
26355     else
26356         if test -n "$PKG_CONFIG" && \
26357     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
26358   ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
26359   ac_status=$?
26360   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26361   test $ac_status = 0; }; then
26362   pkg_cv_Xinerama_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
26363 else
26364   pkg_failed=yes
26365 fi
26366     fi
26367 else
26368         pkg_failed=untried
26369 fi
26370
26371
26372
26373 if test $pkg_failed = yes; then
26374
26375 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
26376         _pkg_short_errors_supported=yes
26377 else
26378         _pkg_short_errors_supported=no
26379 fi
26380         if test $_pkg_short_errors_supported = yes; then
26381                 Xinerama_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
26382         else
26383                 Xinerama_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
26384         fi
26385         # Put the nasty error message in config.log where it belongs
26386         echo "$Xinerama_PKG_ERRORS" >&5
26387
26388
26389       if test "x$ac_find_libraries" = "x"; then
26390                 if test "xXineramaQueryScreens" != "x"; then
26391           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XineramaQueryScreens in -lXinerama" >&5
26392 $as_echo_n "checking for XineramaQueryScreens in -lXinerama... " >&6; }
26393 if test "${ac_cv_lib_Xinerama_XineramaQueryScreens+set}" = set; then :
26394   $as_echo_n "(cached) " >&6
26395 else
26396   ac_check_lib_save_LIBS=$LIBS
26397 LIBS="-lXinerama  $LIBS"
26398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26399 /* end confdefs.h.  */
26400
26401 /* Override any GCC internal prototype to avoid an error.
26402    Use char because int might match the return type of a GCC
26403    builtin and then its argument prototype would still apply.  */
26404 #ifdef __cplusplus
26405 extern "C"
26406 #endif
26407 char XineramaQueryScreens ();
26408 int
26409 main ()
26410 {
26411 return XineramaQueryScreens ();
26412   ;
26413   return 0;
26414 }
26415 _ACEOF
26416 if ac_fn_c_try_link "$LINENO"; then :
26417   ac_cv_lib_Xinerama_XineramaQueryScreens=yes
26418 else
26419   ac_cv_lib_Xinerama_XineramaQueryScreens=no
26420 fi
26421 rm -f core conftest.err conftest.$ac_objext \
26422     conftest$ac_exeext conftest.$ac_ext
26423 LIBS=$ac_check_lib_save_LIBS
26424 fi
26425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xinerama_XineramaQueryScreens" >&5
26426 $as_echo "$ac_cv_lib_Xinerama_XineramaQueryScreens" >&6; }
26427 if test "x$ac_cv_lib_Xinerama_XineramaQueryScreens" = x""yes; then :
26428   ac_find_libraries="std"
26429 fi
26430
26431         fi
26432       fi
26433
26434       if test "x$ac_find_libraries" = "x"; then
26435                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
26436 $as_echo_n "checking elsewhere... " >&6; }
26437
26438   ac_find_libraries=
26439   for ac_dir in  $SEARCH_LIB
26440   do
26441     for ac_extension in a so sl dylib dll.a; do
26442       if test -f "$ac_dir/libXinerama.$ac_extension"; then
26443         ac_find_libraries=$ac_dir
26444         break 2
26445       fi
26446     done
26447   done
26448
26449         if test "x$ac_find_libraries" != "x"; then
26450           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26451 $as_echo "yes" >&6; }
26452         else
26453           { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26454 $as_echo "no" >&6; }
26455         fi
26456       fi
26457
26458 elif test $pkg_failed = untried; then
26459
26460       if test "x$ac_find_libraries" = "x"; then
26461                 if test "xXineramaQueryScreens" != "x"; then
26462           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XineramaQueryScreens in -lXinerama" >&5
26463 $as_echo_n "checking for XineramaQueryScreens in -lXinerama... " >&6; }
26464 if test "${ac_cv_lib_Xinerama_XineramaQueryScreens+set}" = set; then :
26465   $as_echo_n "(cached) " >&6
26466 else
26467   ac_check_lib_save_LIBS=$LIBS
26468 LIBS="-lXinerama  $LIBS"
26469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26470 /* end confdefs.h.  */
26471
26472 /* Override any GCC internal prototype to avoid an error.
26473    Use char because int might match the return type of a GCC
26474    builtin and then its argument prototype would still apply.  */
26475 #ifdef __cplusplus
26476 extern "C"
26477 #endif
26478 char XineramaQueryScreens ();
26479 int
26480 main ()
26481 {
26482 return XineramaQueryScreens ();
26483   ;
26484   return 0;
26485 }
26486 _ACEOF
26487 if ac_fn_c_try_link "$LINENO"; then :
26488   ac_cv_lib_Xinerama_XineramaQueryScreens=yes
26489 else
26490   ac_cv_lib_Xinerama_XineramaQueryScreens=no
26491 fi
26492 rm -f core conftest.err conftest.$ac_objext \
26493     conftest$ac_exeext conftest.$ac_ext
26494 LIBS=$ac_check_lib_save_LIBS
26495 fi
26496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xinerama_XineramaQueryScreens" >&5
26497 $as_echo "$ac_cv_lib_Xinerama_XineramaQueryScreens" >&6; }
26498 if test "x$ac_cv_lib_Xinerama_XineramaQueryScreens" = x""yes; then :
26499   ac_find_libraries="std"
26500 fi
26501
26502         fi
26503       fi
26504
26505       if test "x$ac_find_libraries" = "x"; then
26506                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
26507 $as_echo_n "checking elsewhere... " >&6; }
26508
26509   ac_find_libraries=
26510   for ac_dir in  $SEARCH_LIB
26511   do
26512     for ac_extension in a so sl dylib dll.a; do
26513       if test -f "$ac_dir/libXinerama.$ac_extension"; then
26514         ac_find_libraries=$ac_dir
26515         break 2
26516       fi
26517     done
26518   done
26519
26520         if test "x$ac_find_libraries" != "x"; then
26521           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26522 $as_echo "yes" >&6; }
26523         else
26524           { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26525 $as_echo "no" >&6; }
26526         fi
26527       fi
26528
26529 else
26530         Xinerama_CFLAGS=$pkg_cv_Xinerama_CFLAGS
26531         Xinerama_LIBS=$pkg_cv_Xinerama_LIBS
26532         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26533 $as_echo "yes" >&6; }
26534
26535             ac_find_libraries="std"
26536
26537                                                 eval ac_find_cflags=\$Xinerama_CFLAGS
26538       eval fl_libs=\$Xinerama_LIBS
26539
26540                   for fl_path in $fl_libs
26541       do
26542         if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
26543                               ac_find_libraries=`echo "$fl_path" | cut -c 3-`
26544         fi
26545       done
26546
26547 fi
26548
26549         if test "$ac_find_libraries" != "" ; then
26550             if test "$ac_find_libraries" != "std" ; then
26551
26552     if test "$ac_find_libraries" = "default location"; then
26553     ac_path_to_link=""
26554   else
26555     echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
26556     result=$?
26557     if test $result = 0; then
26558       ac_path_to_link=""
26559     else
26560       ac_path_to_link=" -L$ac_find_libraries"
26561     fi
26562   fi
26563
26564               if test "$ac_path_to_link" != " -L/usr/lib" ; then
26565                   LDFLAGS="$LDFLAGS $ac_path_to_link"
26566               fi
26567             fi
26568             USE_XINERAMA=1
26569             GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
26570         else
26571             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Xinerama not found; disabling wxDisplay" >&5
26572 $as_echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
26573             wxUSE_DISPLAY="no"
26574         fi
26575     elif test "$wxUSE_MSW" = 1; then
26576                 ac_fn_c_check_header_compile "$LINENO" "ddraw.h" "ac_cv_header_ddraw_h" "#include <windows.h>
26577 "
26578 if test "x$ac_cv_header_ddraw_h" = x""yes; then :
26579
26580 fi
26581
26582
26583     fi
26584 fi
26585
26586 if test "$wxUSE_DISPLAY" = "yes"; then
26587         if test "$USE_XINERAMA" = 1 -o "$wxUSE_GTK" = 1; then
26588
26589   ac_find_libraries=
26590
26591     fl_pkgname=`echo "Xxf86vm" | tr [:upper:] [:lower:]`
26592
26593
26594 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
26595         if test -n "$ac_tool_prefix"; then
26596   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
26597 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
26598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26599 $as_echo_n "checking for $ac_word... " >&6; }
26600 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
26601   $as_echo_n "(cached) " >&6
26602 else
26603   case $PKG_CONFIG in
26604   [\\/]* | ?:[\\/]*)
26605   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
26606   ;;
26607   *)
26608   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26609 for as_dir in $PATH
26610 do
26611   IFS=$as_save_IFS
26612   test -z "$as_dir" && as_dir=.
26613     for ac_exec_ext in '' $ac_executable_extensions; do
26614   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
26615     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26616     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26617     break 2
26618   fi
26619 done
26620   done
26621 IFS=$as_save_IFS
26622
26623   ;;
26624 esac
26625 fi
26626 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
26627 if test -n "$PKG_CONFIG"; then
26628   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
26629 $as_echo "$PKG_CONFIG" >&6; }
26630 else
26631   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26632 $as_echo "no" >&6; }
26633 fi
26634
26635
26636 fi
26637 if test -z "$ac_cv_path_PKG_CONFIG"; then
26638   ac_pt_PKG_CONFIG=$PKG_CONFIG
26639   # Extract the first word of "pkg-config", so it can be a program name with args.
26640 set dummy pkg-config; ac_word=$2
26641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26642 $as_echo_n "checking for $ac_word... " >&6; }
26643 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
26644   $as_echo_n "(cached) " >&6
26645 else
26646   case $ac_pt_PKG_CONFIG in
26647   [\\/]* | ?:[\\/]*)
26648   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
26649   ;;
26650   *)
26651   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26652 for as_dir in $PATH
26653 do
26654   IFS=$as_save_IFS
26655   test -z "$as_dir" && as_dir=.
26656     for ac_exec_ext in '' $ac_executable_extensions; do
26657   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
26658     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26659     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26660     break 2
26661   fi
26662 done
26663   done
26664 IFS=$as_save_IFS
26665
26666   ;;
26667 esac
26668 fi
26669 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
26670 if test -n "$ac_pt_PKG_CONFIG"; then
26671   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
26672 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
26673 else
26674   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26675 $as_echo "no" >&6; }
26676 fi
26677
26678   if test "x$ac_pt_PKG_CONFIG" = x; then
26679     PKG_CONFIG=""
26680   else
26681     case $cross_compiling:$ac_tool_warned in
26682 yes:)
26683 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
26684 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
26685 ac_tool_warned=yes ;;
26686 esac
26687     PKG_CONFIG=$ac_pt_PKG_CONFIG
26688   fi
26689 else
26690   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
26691 fi
26692
26693 fi
26694 if test -n "$PKG_CONFIG"; then
26695         _pkg_min_version=0.9.0
26696         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
26697 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
26698         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
26699                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26700 $as_echo "yes" >&6; }
26701         else
26702                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26703 $as_echo "no" >&6; }
26704                 PKG_CONFIG=""
26705         fi
26706
26707 fi 6> /dev/null
26708
26709 pkg_failed=no
26710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xxf86vm" >&5
26711 $as_echo_n "checking for Xxf86vm... " >&6; }
26712
26713 if test -n "$PKG_CONFIG"; then
26714     if test -n "$Xxf86vm_CFLAGS"; then
26715         pkg_cv_Xxf86vm_CFLAGS="$Xxf86vm_CFLAGS"
26716     else
26717         if test -n "$PKG_CONFIG" && \
26718     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
26719   ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
26720   ac_status=$?
26721   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26722   test $ac_status = 0; }; then
26723   pkg_cv_Xxf86vm_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
26724 else
26725   pkg_failed=yes
26726 fi
26727     fi
26728 else
26729         pkg_failed=untried
26730 fi
26731 if test -n "$PKG_CONFIG"; then
26732     if test -n "$Xxf86vm_LIBS"; then
26733         pkg_cv_Xxf86vm_LIBS="$Xxf86vm_LIBS"
26734     else
26735         if test -n "$PKG_CONFIG" && \
26736     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
26737   ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
26738   ac_status=$?
26739   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26740   test $ac_status = 0; }; then
26741   pkg_cv_Xxf86vm_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
26742 else
26743   pkg_failed=yes
26744 fi
26745     fi
26746 else
26747         pkg_failed=untried
26748 fi
26749
26750
26751
26752 if test $pkg_failed = yes; then
26753
26754 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
26755         _pkg_short_errors_supported=yes
26756 else
26757         _pkg_short_errors_supported=no
26758 fi
26759         if test $_pkg_short_errors_supported = yes; then
26760                 Xxf86vm_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
26761         else
26762                 Xxf86vm_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
26763         fi
26764         # Put the nasty error message in config.log where it belongs
26765         echo "$Xxf86vm_PKG_ERRORS" >&5
26766
26767
26768       if test "x$ac_find_libraries" = "x"; then
26769                 if test "xXF86VidModeQueryExtension" != "x"; then
26770           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
26771 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
26772 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then :
26773   $as_echo_n "(cached) " >&6
26774 else
26775   ac_check_lib_save_LIBS=$LIBS
26776 LIBS="-lXxf86vm  $LIBS"
26777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26778 /* end confdefs.h.  */
26779
26780 /* Override any GCC internal prototype to avoid an error.
26781    Use char because int might match the return type of a GCC
26782    builtin and then its argument prototype would still apply.  */
26783 #ifdef __cplusplus
26784 extern "C"
26785 #endif
26786 char XF86VidModeQueryExtension ();
26787 int
26788 main ()
26789 {
26790 return XF86VidModeQueryExtension ();
26791   ;
26792   return 0;
26793 }
26794 _ACEOF
26795 if ac_fn_c_try_link "$LINENO"; then :
26796   ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
26797 else
26798   ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
26799 fi
26800 rm -f core conftest.err conftest.$ac_objext \
26801     conftest$ac_exeext conftest.$ac_ext
26802 LIBS=$ac_check_lib_save_LIBS
26803 fi
26804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
26805 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
26806 if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = x""yes; then :
26807   ac_find_libraries="std"
26808 fi
26809
26810         fi
26811       fi
26812
26813       if test "x$ac_find_libraries" = "x"; then
26814                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
26815 $as_echo_n "checking elsewhere... " >&6; }
26816
26817   ac_find_libraries=
26818   for ac_dir in  $SEARCH_LIB
26819   do
26820     for ac_extension in a so sl dylib dll.a; do
26821       if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
26822         ac_find_libraries=$ac_dir
26823         break 2
26824       fi
26825     done
26826   done
26827
26828         if test "x$ac_find_libraries" != "x"; then
26829           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26830 $as_echo "yes" >&6; }
26831         else
26832           { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26833 $as_echo "no" >&6; }
26834         fi
26835       fi
26836
26837 elif test $pkg_failed = untried; then
26838
26839       if test "x$ac_find_libraries" = "x"; then
26840                 if test "xXF86VidModeQueryExtension" != "x"; then
26841           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
26842 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
26843 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then :
26844   $as_echo_n "(cached) " >&6
26845 else
26846   ac_check_lib_save_LIBS=$LIBS
26847 LIBS="-lXxf86vm  $LIBS"
26848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26849 /* end confdefs.h.  */
26850
26851 /* Override any GCC internal prototype to avoid an error.
26852    Use char because int might match the return type of a GCC
26853    builtin and then its argument prototype would still apply.  */
26854 #ifdef __cplusplus
26855 extern "C"
26856 #endif
26857 char XF86VidModeQueryExtension ();
26858 int
26859 main ()
26860 {
26861 return XF86VidModeQueryExtension ();
26862   ;
26863   return 0;
26864 }
26865 _ACEOF
26866 if ac_fn_c_try_link "$LINENO"; then :
26867   ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
26868 else
26869   ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
26870 fi
26871 rm -f core conftest.err conftest.$ac_objext \
26872     conftest$ac_exeext conftest.$ac_ext
26873 LIBS=$ac_check_lib_save_LIBS
26874 fi
26875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
26876 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
26877 if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = x""yes; then :
26878   ac_find_libraries="std"
26879 fi
26880
26881         fi
26882       fi
26883
26884       if test "x$ac_find_libraries" = "x"; then
26885                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
26886 $as_echo_n "checking elsewhere... " >&6; }
26887
26888   ac_find_libraries=
26889   for ac_dir in  $SEARCH_LIB
26890   do
26891     for ac_extension in a so sl dylib dll.a; do
26892       if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
26893         ac_find_libraries=$ac_dir
26894         break 2
26895       fi
26896     done
26897   done
26898
26899         if test "x$ac_find_libraries" != "x"; then
26900           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26901 $as_echo "yes" >&6; }
26902         else
26903           { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26904 $as_echo "no" >&6; }
26905         fi
26906       fi
26907
26908 else
26909         Xxf86vm_CFLAGS=$pkg_cv_Xxf86vm_CFLAGS
26910         Xxf86vm_LIBS=$pkg_cv_Xxf86vm_LIBS
26911         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26912 $as_echo "yes" >&6; }
26913
26914             ac_find_libraries="std"
26915
26916                                                 eval ac_find_cflags=\$Xxf86vm_CFLAGS
26917       eval fl_libs=\$Xxf86vm_LIBS
26918
26919                   for fl_path in $fl_libs
26920       do
26921         if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
26922                               ac_find_libraries=`echo "$fl_path" | cut -c 3-`
26923         fi
26924       done
26925
26926 fi
26927
26928         if test "$ac_find_libraries" != "" ; then
26929             for ac_header in X11/extensions/xf86vmode.h
26930 do :
26931   ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "
26932                                   #if HAVE_X11_XLIB_H
26933                                     #include <X11/Xlib.h>
26934                                   #endif
26935
26936 "
26937 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = x""yes; then :
26938   cat >>confdefs.h <<_ACEOF
26939 #define HAVE_X11_EXTENSIONS_XF86VMODE_H 1
26940 _ACEOF
26941
26942                               GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
26943
26944 fi
26945
26946 done
26947
26948         fi
26949     fi
26950 fi
26951
26952 if test "$wxUSE_DETECT_SM" = "yes"; then
26953     if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1; then
26954
26955   ac_find_libraries=
26956
26957     fl_pkgname=`echo "SM" | tr [:upper:] [:lower:]`
26958
26959
26960 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
26961         if test -n "$ac_tool_prefix"; then
26962   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
26963 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
26964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26965 $as_echo_n "checking for $ac_word... " >&6; }
26966 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
26967   $as_echo_n "(cached) " >&6
26968 else
26969   case $PKG_CONFIG in
26970   [\\/]* | ?:[\\/]*)
26971   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
26972   ;;
26973   *)
26974   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26975 for as_dir in $PATH
26976 do
26977   IFS=$as_save_IFS
26978   test -z "$as_dir" && as_dir=.
26979     for ac_exec_ext in '' $ac_executable_extensions; do
26980   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
26981     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26982     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26983     break 2
26984   fi
26985 done
26986   done
26987 IFS=$as_save_IFS
26988
26989   ;;
26990 esac
26991 fi
26992 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
26993 if test -n "$PKG_CONFIG"; then
26994   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
26995 $as_echo "$PKG_CONFIG" >&6; }
26996 else
26997   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26998 $as_echo "no" >&6; }
26999 fi
27000
27001
27002 fi
27003 if test -z "$ac_cv_path_PKG_CONFIG"; then
27004   ac_pt_PKG_CONFIG=$PKG_CONFIG
27005   # Extract the first word of "pkg-config", so it can be a program name with args.
27006 set dummy pkg-config; ac_word=$2
27007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27008 $as_echo_n "checking for $ac_word... " >&6; }
27009 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
27010   $as_echo_n "(cached) " >&6
27011 else
27012   case $ac_pt_PKG_CONFIG in
27013   [\\/]* | ?:[\\/]*)
27014   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
27015   ;;
27016   *)
27017   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27018 for as_dir in $PATH
27019 do
27020   IFS=$as_save_IFS
27021   test -z "$as_dir" && as_dir=.
27022     for ac_exec_ext in '' $ac_executable_extensions; do
27023   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27024     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27025     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27026     break 2
27027   fi
27028 done
27029   done
27030 IFS=$as_save_IFS
27031
27032   ;;
27033 esac
27034 fi
27035 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
27036 if test -n "$ac_pt_PKG_CONFIG"; then
27037   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
27038 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
27039 else
27040   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27041 $as_echo "no" >&6; }
27042 fi
27043
27044   if test "x$ac_pt_PKG_CONFIG" = x; then
27045     PKG_CONFIG=""
27046   else
27047     case $cross_compiling:$ac_tool_warned in
27048 yes:)
27049 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
27050 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
27051 ac_tool_warned=yes ;;
27052 esac
27053     PKG_CONFIG=$ac_pt_PKG_CONFIG
27054   fi
27055 else
27056   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
27057 fi
27058
27059 fi
27060 if test -n "$PKG_CONFIG"; then
27061         _pkg_min_version=0.9.0
27062         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
27063 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
27064         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
27065                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27066 $as_echo "yes" >&6; }
27067         else
27068                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27069 $as_echo "no" >&6; }
27070                 PKG_CONFIG=""
27071         fi
27072
27073 fi 6> /dev/null
27074
27075 pkg_failed=no
27076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SM" >&5
27077 $as_echo_n "checking for SM... " >&6; }
27078
27079 if test -n "$PKG_CONFIG"; then
27080     if test -n "$SM_CFLAGS"; then
27081         pkg_cv_SM_CFLAGS="$SM_CFLAGS"
27082     else
27083         if test -n "$PKG_CONFIG" && \
27084     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27085   ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27086   ac_status=$?
27087   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27088   test $ac_status = 0; }; then
27089   pkg_cv_SM_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
27090 else
27091   pkg_failed=yes
27092 fi
27093     fi
27094 else
27095         pkg_failed=untried
27096 fi
27097 if test -n "$PKG_CONFIG"; then
27098     if test -n "$SM_LIBS"; then
27099         pkg_cv_SM_LIBS="$SM_LIBS"
27100     else
27101         if test -n "$PKG_CONFIG" && \
27102     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27103   ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27104   ac_status=$?
27105   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27106   test $ac_status = 0; }; then
27107   pkg_cv_SM_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
27108 else
27109   pkg_failed=yes
27110 fi
27111     fi
27112 else
27113         pkg_failed=untried
27114 fi
27115
27116
27117
27118 if test $pkg_failed = yes; then
27119
27120 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27121         _pkg_short_errors_supported=yes
27122 else
27123         _pkg_short_errors_supported=no
27124 fi
27125         if test $_pkg_short_errors_supported = yes; then
27126                 SM_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
27127         else
27128                 SM_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
27129         fi
27130         # Put the nasty error message in config.log where it belongs
27131         echo "$SM_PKG_ERRORS" >&5
27132
27133
27134       if test "x$ac_find_libraries" = "x"; then
27135                 if test "xSmcOpenConnection" != "x"; then
27136           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SmcOpenConnection in -lSM" >&5
27137 $as_echo_n "checking for SmcOpenConnection in -lSM... " >&6; }
27138 if test "${ac_cv_lib_SM_SmcOpenConnection+set}" = set; then :
27139   $as_echo_n "(cached) " >&6
27140 else
27141   ac_check_lib_save_LIBS=$LIBS
27142 LIBS="-lSM  $LIBS"
27143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27144 /* end confdefs.h.  */
27145
27146 /* Override any GCC internal prototype to avoid an error.
27147    Use char because int might match the return type of a GCC
27148    builtin and then its argument prototype would still apply.  */
27149 #ifdef __cplusplus
27150 extern "C"
27151 #endif
27152 char SmcOpenConnection ();
27153 int
27154 main ()
27155 {
27156 return SmcOpenConnection ();
27157   ;
27158   return 0;
27159 }
27160 _ACEOF
27161 if ac_fn_c_try_link "$LINENO"; then :
27162   ac_cv_lib_SM_SmcOpenConnection=yes
27163 else
27164   ac_cv_lib_SM_SmcOpenConnection=no
27165 fi
27166 rm -f core conftest.err conftest.$ac_objext \
27167     conftest$ac_exeext conftest.$ac_ext
27168 LIBS=$ac_check_lib_save_LIBS
27169 fi
27170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
27171 $as_echo "$ac_cv_lib_SM_SmcOpenConnection" >&6; }
27172 if test "x$ac_cv_lib_SM_SmcOpenConnection" = x""yes; then :
27173   ac_find_libraries="std"
27174 fi
27175
27176         fi
27177       fi
27178
27179       if test "x$ac_find_libraries" = "x"; then
27180                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27181 $as_echo_n "checking elsewhere... " >&6; }
27182
27183   ac_find_libraries=
27184   for ac_dir in  $SEARCH_LIB
27185   do
27186     for ac_extension in a so sl dylib dll.a; do
27187       if test -f "$ac_dir/libSM.$ac_extension"; then
27188         ac_find_libraries=$ac_dir
27189         break 2
27190       fi
27191     done
27192   done
27193
27194         if test "x$ac_find_libraries" != "x"; then
27195           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27196 $as_echo "yes" >&6; }
27197         else
27198           { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27199 $as_echo "no" >&6; }
27200         fi
27201       fi
27202
27203 elif test $pkg_failed = untried; then
27204
27205       if test "x$ac_find_libraries" = "x"; then
27206                 if test "xSmcOpenConnection" != "x"; then
27207           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SmcOpenConnection in -lSM" >&5
27208 $as_echo_n "checking for SmcOpenConnection in -lSM... " >&6; }
27209 if test "${ac_cv_lib_SM_SmcOpenConnection+set}" = set; then :
27210   $as_echo_n "(cached) " >&6
27211 else
27212   ac_check_lib_save_LIBS=$LIBS
27213 LIBS="-lSM  $LIBS"
27214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27215 /* end confdefs.h.  */
27216
27217 /* Override any GCC internal prototype to avoid an error.
27218    Use char because int might match the return type of a GCC
27219    builtin and then its argument prototype would still apply.  */
27220 #ifdef __cplusplus
27221 extern "C"
27222 #endif
27223 char SmcOpenConnection ();
27224 int
27225 main ()
27226 {
27227 return SmcOpenConnection ();
27228   ;
27229   return 0;
27230 }
27231 _ACEOF
27232 if ac_fn_c_try_link "$LINENO"; then :
27233   ac_cv_lib_SM_SmcOpenConnection=yes
27234 else
27235   ac_cv_lib_SM_SmcOpenConnection=no
27236 fi
27237 rm -f core conftest.err conftest.$ac_objext \
27238     conftest$ac_exeext conftest.$ac_ext
27239 LIBS=$ac_check_lib_save_LIBS
27240 fi
27241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
27242 $as_echo "$ac_cv_lib_SM_SmcOpenConnection" >&6; }
27243 if test "x$ac_cv_lib_SM_SmcOpenConnection" = x""yes; then :
27244   ac_find_libraries="std"
27245 fi
27246
27247         fi
27248       fi
27249
27250       if test "x$ac_find_libraries" = "x"; then
27251                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27252 $as_echo_n "checking elsewhere... " >&6; }
27253
27254   ac_find_libraries=
27255   for ac_dir in  $SEARCH_LIB
27256   do
27257     for ac_extension in a so sl dylib dll.a; do
27258       if test -f "$ac_dir/libSM.$ac_extension"; then
27259         ac_find_libraries=$ac_dir
27260         break 2
27261       fi
27262     done
27263   done
27264
27265         if test "x$ac_find_libraries" != "x"; then
27266           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27267 $as_echo "yes" >&6; }
27268         else
27269           { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27270 $as_echo "no" >&6; }
27271         fi
27272       fi
27273
27274 else
27275         SM_CFLAGS=$pkg_cv_SM_CFLAGS
27276         SM_LIBS=$pkg_cv_SM_LIBS
27277         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27278 $as_echo "yes" >&6; }
27279
27280             ac_find_libraries="std"
27281
27282                                                 eval ac_find_cflags=\$SM_CFLAGS
27283       eval fl_libs=\$SM_LIBS
27284
27285                   for fl_path in $fl_libs
27286       do
27287         if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
27288                               ac_find_libraries=`echo "$fl_path" | cut -c 3-`
27289         fi
27290       done
27291
27292 fi
27293
27294         if test "$ac_find_libraries" != "" ; then
27295             if test "$ac_find_libraries" != "std" ; then
27296
27297     if test "$ac_find_libraries" = "default location"; then
27298     ac_path_to_link=""
27299   else
27300     echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
27301     result=$?
27302     if test $result = 0; then
27303       ac_path_to_link=""
27304     else
27305       ac_path_to_link=" -L$ac_find_libraries"
27306     fi
27307   fi
27308
27309               if test "$ac_path_to_link" != " -L/usr/lib" ; then
27310                 LDFLAGS="$LDFLAGS $ac_path_to_link"
27311               fi
27312             fi
27313             GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
27314         else
27315             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libSM not found; disabling session management detection" >&5
27316 $as_echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
27317             wxUSE_DETECT_SM="no"
27318         fi
27319     else
27320         wxUSE_DETECT_SM="no"
27321     fi
27322 fi
27323
27324
27325
27326 USE_OPENGL=0
27327 if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then
27328
27329
27330     if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
27331         OPENGL_LIBS="-framework OpenGL -framework AGL"
27332     elif test "$wxUSE_MSW" = 1; then
27333         OPENGL_LIBS="-lopengl32 -lglu32"
27334     elif test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK2" = 1 -o "$wxUSE_GTK" = 1; then
27335
27336                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenGL headers" >&5
27337 $as_echo_n "checking for OpenGL headers... " >&6; }
27338
27339 ac_find_includes=
27340 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include
27341   do
27342     if test -f "$ac_dir/GL/gl.h"; then
27343       ac_find_includes=$ac_dir
27344       break
27345     fi
27346   done
27347
27348         if test "$ac_find_includes" != "" ; then
27349             { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_includes" >&5
27350 $as_echo "found in $ac_find_includes" >&6; }
27351
27352     if test "x$ac_find_includes" = "x/usr/include"; then
27353     ac_path_to_include=""
27354   else
27355     echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
27356     result=$?
27357     if test $result = 0; then
27358       ac_path_to_include=""
27359     else
27360       ac_path_to_include=" -I$ac_find_includes"
27361     fi
27362   fi
27363
27364             CPPFLAGS="$ac_path_to_include $CPPFLAGS"
27365         else
27366             { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
27367 $as_echo "not found" >&6; }
27368         fi
27369
27370         ac_fn_c_check_header_compile "$LINENO" "GL/gl.h" "ac_cv_header_GL_gl_h" "
27371 "
27372 if test "x$ac_cv_header_GL_gl_h" = x""yes; then :
27373
27374             ac_fn_c_check_header_compile "$LINENO" "GL/glu.h" "ac_cv_header_GL_glu_h" "
27375 "
27376 if test "x$ac_cv_header_GL_glu_h" = x""yes; then :
27377
27378                 found_gl=0
27379
27380
27381   ac_find_libraries=
27382
27383     fl_pkgname=`echo "GL" | tr [:upper:] [:lower:]`
27384
27385
27386 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
27387         if test -n "$ac_tool_prefix"; then
27388   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
27389 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
27390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27391 $as_echo_n "checking for $ac_word... " >&6; }
27392 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
27393   $as_echo_n "(cached) " >&6
27394 else
27395   case $PKG_CONFIG in
27396   [\\/]* | ?:[\\/]*)
27397   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27398   ;;
27399   *)
27400   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27401 for as_dir in $PATH
27402 do
27403   IFS=$as_save_IFS
27404   test -z "$as_dir" && as_dir=.
27405     for ac_exec_ext in '' $ac_executable_extensions; do
27406   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27407     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27408     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27409     break 2
27410   fi
27411 done
27412   done
27413 IFS=$as_save_IFS
27414
27415   ;;
27416 esac
27417 fi
27418 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27419 if test -n "$PKG_CONFIG"; then
27420   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
27421 $as_echo "$PKG_CONFIG" >&6; }
27422 else
27423   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27424 $as_echo "no" >&6; }
27425 fi
27426
27427
27428 fi
27429 if test -z "$ac_cv_path_PKG_CONFIG"; then
27430   ac_pt_PKG_CONFIG=$PKG_CONFIG
27431   # Extract the first word of "pkg-config", so it can be a program name with args.
27432 set dummy pkg-config; ac_word=$2
27433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27434 $as_echo_n "checking for $ac_word... " >&6; }
27435 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
27436   $as_echo_n "(cached) " >&6
27437 else
27438   case $ac_pt_PKG_CONFIG in
27439   [\\/]* | ?:[\\/]*)
27440   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
27441   ;;
27442   *)
27443   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27444 for as_dir in $PATH
27445 do
27446   IFS=$as_save_IFS
27447   test -z "$as_dir" && as_dir=.
27448     for ac_exec_ext in '' $ac_executable_extensions; do
27449   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27450     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27451     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27452     break 2
27453   fi
27454 done
27455   done
27456 IFS=$as_save_IFS
27457
27458   ;;
27459 esac
27460 fi
27461 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
27462 if test -n "$ac_pt_PKG_CONFIG"; then
27463   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
27464 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
27465 else
27466   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27467 $as_echo "no" >&6; }
27468 fi
27469
27470   if test "x$ac_pt_PKG_CONFIG" = x; then
27471     PKG_CONFIG=""
27472   else
27473     case $cross_compiling:$ac_tool_warned in
27474 yes:)
27475 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
27476 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
27477 ac_tool_warned=yes ;;
27478 esac
27479     PKG_CONFIG=$ac_pt_PKG_CONFIG
27480   fi
27481 else
27482   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
27483 fi
27484
27485 fi
27486 if test -n "$PKG_CONFIG"; then
27487         _pkg_min_version=0.9.0
27488         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
27489 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
27490         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
27491                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27492 $as_echo "yes" >&6; }
27493         else
27494                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27495 $as_echo "no" >&6; }
27496                 PKG_CONFIG=""
27497         fi
27498
27499 fi 6> /dev/null
27500
27501 pkg_failed=no
27502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GL" >&5
27503 $as_echo_n "checking for GL... " >&6; }
27504
27505 if test -n "$PKG_CONFIG"; then
27506     if test -n "$GL_CFLAGS"; then
27507         pkg_cv_GL_CFLAGS="$GL_CFLAGS"
27508     else
27509         if test -n "$PKG_CONFIG" && \
27510     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27511   ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27512   ac_status=$?
27513   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27514   test $ac_status = 0; }; then
27515   pkg_cv_GL_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
27516 else
27517   pkg_failed=yes
27518 fi
27519     fi
27520 else
27521         pkg_failed=untried
27522 fi
27523 if test -n "$PKG_CONFIG"; then
27524     if test -n "$GL_LIBS"; then
27525         pkg_cv_GL_LIBS="$GL_LIBS"
27526     else
27527         if test -n "$PKG_CONFIG" && \
27528     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27529   ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27530   ac_status=$?
27531   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27532   test $ac_status = 0; }; then
27533   pkg_cv_GL_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
27534 else
27535   pkg_failed=yes
27536 fi
27537     fi
27538 else
27539         pkg_failed=untried
27540 fi
27541
27542
27543
27544 if test $pkg_failed = yes; then
27545
27546 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27547         _pkg_short_errors_supported=yes
27548 else
27549         _pkg_short_errors_supported=no
27550 fi
27551         if test $_pkg_short_errors_supported = yes; then
27552                 GL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
27553         else
27554                 GL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
27555         fi
27556         # Put the nasty error message in config.log where it belongs
27557         echo "$GL_PKG_ERRORS" >&5
27558
27559
27560       if test "x$ac_find_libraries" = "x"; then
27561                 if test "xglBegin" != "x"; then
27562           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glBegin in -lGL" >&5
27563 $as_echo_n "checking for glBegin in -lGL... " >&6; }
27564 if test "${ac_cv_lib_GL_glBegin+set}" = set; then :
27565   $as_echo_n "(cached) " >&6
27566 else
27567   ac_check_lib_save_LIBS=$LIBS
27568 LIBS="-lGL  $LIBS"
27569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27570 /* end confdefs.h.  */
27571
27572 /* Override any GCC internal prototype to avoid an error.
27573    Use char because int might match the return type of a GCC
27574    builtin and then its argument prototype would still apply.  */
27575 #ifdef __cplusplus
27576 extern "C"
27577 #endif
27578 char glBegin ();
27579 int
27580 main ()
27581 {
27582 return glBegin ();
27583   ;
27584   return 0;
27585 }
27586 _ACEOF
27587 if ac_fn_c_try_link "$LINENO"; then :
27588   ac_cv_lib_GL_glBegin=yes
27589 else
27590   ac_cv_lib_GL_glBegin=no
27591 fi
27592 rm -f core conftest.err conftest.$ac_objext \
27593     conftest$ac_exeext conftest.$ac_ext
27594 LIBS=$ac_check_lib_save_LIBS
27595 fi
27596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GL_glBegin" >&5
27597 $as_echo "$ac_cv_lib_GL_glBegin" >&6; }
27598 if test "x$ac_cv_lib_GL_glBegin" = x""yes; then :
27599   ac_find_libraries="std"
27600 fi
27601
27602         fi
27603       fi
27604
27605       if test "x$ac_find_libraries" = "x"; then
27606                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27607 $as_echo_n "checking elsewhere... " >&6; }
27608
27609   ac_find_libraries=
27610   for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
27611   do
27612     for ac_extension in a so sl dylib dll.a; do
27613       if test -f "$ac_dir/libGL.$ac_extension"; then
27614         ac_find_libraries=$ac_dir
27615         break 2
27616       fi
27617     done
27618   done
27619
27620         if test "x$ac_find_libraries" != "x"; then
27621           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27622 $as_echo "yes" >&6; }
27623         else
27624           { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27625 $as_echo "no" >&6; }
27626         fi
27627       fi
27628
27629 elif test $pkg_failed = untried; then
27630
27631       if test "x$ac_find_libraries" = "x"; then
27632                 if test "xglBegin" != "x"; then
27633           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glBegin in -lGL" >&5
27634 $as_echo_n "checking for glBegin in -lGL... " >&6; }
27635 if test "${ac_cv_lib_GL_glBegin+set}" = set; then :
27636   $as_echo_n "(cached) " >&6
27637 else
27638   ac_check_lib_save_LIBS=$LIBS
27639 LIBS="-lGL  $LIBS"
27640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27641 /* end confdefs.h.  */
27642
27643 /* Override any GCC internal prototype to avoid an error.
27644    Use char because int might match the return type of a GCC
27645    builtin and then its argument prototype would still apply.  */
27646 #ifdef __cplusplus
27647 extern "C"
27648 #endif
27649 char glBegin ();
27650 int
27651 main ()
27652 {
27653 return glBegin ();
27654   ;
27655   return 0;
27656 }
27657 _ACEOF
27658 if ac_fn_c_try_link "$LINENO"; then :
27659   ac_cv_lib_GL_glBegin=yes
27660 else
27661   ac_cv_lib_GL_glBegin=no
27662 fi
27663 rm -f core conftest.err conftest.$ac_objext \
27664     conftest$ac_exeext conftest.$ac_ext
27665 LIBS=$ac_check_lib_save_LIBS
27666 fi
27667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GL_glBegin" >&5
27668 $as_echo "$ac_cv_lib_GL_glBegin" >&6; }
27669 if test "x$ac_cv_lib_GL_glBegin" = x""yes; then :
27670   ac_find_libraries="std"
27671 fi
27672
27673         fi
27674       fi
27675
27676       if test "x$ac_find_libraries" = "x"; then
27677                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27678 $as_echo_n "checking elsewhere... " >&6; }
27679
27680   ac_find_libraries=
27681   for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
27682   do
27683     for ac_extension in a so sl dylib dll.a; do
27684       if test -f "$ac_dir/libGL.$ac_extension"; then
27685         ac_find_libraries=$ac_dir
27686         break 2
27687       fi
27688     done
27689   done
27690
27691         if test "x$ac_find_libraries" != "x"; then
27692           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27693 $as_echo "yes" >&6; }
27694         else
27695           { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27696 $as_echo "no" >&6; }
27697         fi
27698       fi
27699
27700 else
27701         GL_CFLAGS=$pkg_cv_GL_CFLAGS
27702         GL_LIBS=$pkg_cv_GL_LIBS
27703         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27704 $as_echo "yes" >&6; }
27705
27706             ac_find_libraries="std"
27707
27708                                                 eval ac_find_cflags=\$GL_CFLAGS
27709       eval fl_libs=\$GL_LIBS
27710
27711                   for fl_path in $fl_libs
27712       do
27713         if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
27714                               ac_find_libraries=`echo "$fl_path" | cut -c 3-`
27715         fi
27716       done
27717
27718 fi
27719
27720                 if test "$ac_find_libraries" != "" ; then
27721                     if test "$ac_find_libraries" != "std" ; then
27722
27723     if test "$ac_find_libraries" = "default location"; then
27724     ac_path_to_link=""
27725   else
27726     echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
27727     result=$?
27728     if test $result = 0; then
27729       ac_path_to_link=""
27730     else
27731       ac_path_to_link=" -L$ac_find_libraries"
27732     fi
27733   fi
27734
27735                       if test "$ac_path_to_link" != " -L/usr/lib" ; then
27736                         LDFLAGS_GL="$ac_path_to_link"
27737                       fi
27738                     fi
27739
27740
27741   ac_find_libraries=
27742
27743     fl_pkgname=`echo "GLU" | tr [:upper:] [:lower:]`
27744
27745
27746 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
27747         if test -n "$ac_tool_prefix"; then
27748   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
27749 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
27750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27751 $as_echo_n "checking for $ac_word... " >&6; }
27752 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
27753   $as_echo_n "(cached) " >&6
27754 else
27755   case $PKG_CONFIG in
27756   [\\/]* | ?:[\\/]*)
27757   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27758   ;;
27759   *)
27760   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27761 for as_dir in $PATH
27762 do
27763   IFS=$as_save_IFS
27764   test -z "$as_dir" && as_dir=.
27765     for ac_exec_ext in '' $ac_executable_extensions; do
27766   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27767     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27768     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27769     break 2
27770   fi
27771 done
27772   done
27773 IFS=$as_save_IFS
27774
27775   ;;
27776 esac
27777 fi
27778 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27779 if test -n "$PKG_CONFIG"; then
27780   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
27781 $as_echo "$PKG_CONFIG" >&6; }
27782 else
27783   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27784 $as_echo "no" >&6; }
27785 fi
27786
27787
27788 fi
27789 if test -z "$ac_cv_path_PKG_CONFIG"; then
27790   ac_pt_PKG_CONFIG=$PKG_CONFIG
27791   # Extract the first word of "pkg-config", so it can be a program name with args.
27792 set dummy pkg-config; ac_word=$2
27793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27794 $as_echo_n "checking for $ac_word... " >&6; }
27795 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
27796   $as_echo_n "(cached) " >&6
27797 else
27798   case $ac_pt_PKG_CONFIG in
27799   [\\/]* | ?:[\\/]*)
27800   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
27801   ;;
27802   *)
27803   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27804 for as_dir in $PATH
27805 do
27806   IFS=$as_save_IFS
27807   test -z "$as_dir" && as_dir=.
27808     for ac_exec_ext in '' $ac_executable_extensions; do
27809   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27810     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27811     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27812     break 2
27813   fi
27814 done
27815   done
27816 IFS=$as_save_IFS
27817
27818   ;;
27819 esac
27820 fi
27821 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
27822 if test -n "$ac_pt_PKG_CONFIG"; then
27823   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
27824 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
27825 else
27826   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27827 $as_echo "no" >&6; }
27828 fi
27829
27830   if test "x$ac_pt_PKG_CONFIG" = x; then
27831     PKG_CONFIG=""
27832   else
27833     case $cross_compiling:$ac_tool_warned in
27834 yes:)
27835 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
27836 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
27837 ac_tool_warned=yes ;;
27838 esac
27839     PKG_CONFIG=$ac_pt_PKG_CONFIG
27840   fi
27841 else
27842   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
27843 fi
27844
27845 fi
27846 if test -n "$PKG_CONFIG"; then
27847         _pkg_min_version=0.9.0
27848         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
27849 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
27850         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
27851                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27852 $as_echo "yes" >&6; }
27853         else
27854                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27855 $as_echo "no" >&6; }
27856                 PKG_CONFIG=""
27857         fi
27858
27859 fi 6> /dev/null
27860
27861 pkg_failed=no
27862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLU" >&5
27863 $as_echo_n "checking for GLU... " >&6; }
27864
27865 if test -n "$PKG_CONFIG"; then
27866     if test -n "$GLU_CFLAGS"; then
27867         pkg_cv_GLU_CFLAGS="$GLU_CFLAGS"
27868     else
27869         if test -n "$PKG_CONFIG" && \
27870     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27871   ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27872   ac_status=$?
27873   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27874   test $ac_status = 0; }; then
27875   pkg_cv_GLU_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
27876 else
27877   pkg_failed=yes
27878 fi
27879     fi
27880 else
27881         pkg_failed=untried
27882 fi
27883 if test -n "$PKG_CONFIG"; then
27884     if test -n "$GLU_LIBS"; then
27885         pkg_cv_GLU_LIBS="$GLU_LIBS"
27886     else
27887         if test -n "$PKG_CONFIG" && \
27888     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27889   ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27890   ac_status=$?
27891   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27892   test $ac_status = 0; }; then
27893   pkg_cv_GLU_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
27894 else
27895   pkg_failed=yes
27896 fi
27897     fi
27898 else
27899         pkg_failed=untried
27900 fi
27901
27902
27903
27904 if test $pkg_failed = yes; then
27905
27906 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27907         _pkg_short_errors_supported=yes
27908 else
27909         _pkg_short_errors_supported=no
27910 fi
27911         if test $_pkg_short_errors_supported = yes; then
27912                 GLU_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
27913         else
27914                 GLU_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
27915         fi
27916         # Put the nasty error message in config.log where it belongs
27917         echo "$GLU_PKG_ERRORS" >&5
27918
27919
27920       if test "x$ac_find_libraries" = "x"; then
27921                 if test "xgluBeginCurve" != "x"; then
27922           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluBeginCurve in -lGLU" >&5
27923 $as_echo_n "checking for gluBeginCurve in -lGLU... " >&6; }
27924 if test "${ac_cv_lib_GLU_gluBeginCurve+set}" = set; then :
27925   $as_echo_n "(cached) " >&6
27926 else
27927   ac_check_lib_save_LIBS=$LIBS
27928 LIBS="-lGLU  $LIBS"
27929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27930 /* end confdefs.h.  */
27931
27932 /* Override any GCC internal prototype to avoid an error.
27933    Use char because int might match the return type of a GCC
27934    builtin and then its argument prototype would still apply.  */
27935 #ifdef __cplusplus
27936 extern "C"
27937 #endif
27938 char gluBeginCurve ();
27939 int
27940 main ()
27941 {
27942 return gluBeginCurve ();
27943   ;
27944   return 0;
27945 }
27946 _ACEOF
27947 if ac_fn_c_try_link "$LINENO"; then :
27948   ac_cv_lib_GLU_gluBeginCurve=yes
27949 else
27950   ac_cv_lib_GLU_gluBeginCurve=no
27951 fi
27952 rm -f core conftest.err conftest.$ac_objext \
27953     conftest$ac_exeext conftest.$ac_ext
27954 LIBS=$ac_check_lib_save_LIBS
27955 fi
27956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluBeginCurve" >&5
27957 $as_echo "$ac_cv_lib_GLU_gluBeginCurve" >&6; }
27958 if test "x$ac_cv_lib_GLU_gluBeginCurve" = x""yes; then :
27959   ac_find_libraries="std"
27960 fi
27961
27962         fi
27963       fi
27964
27965       if test "x$ac_find_libraries" = "x"; then
27966                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27967 $as_echo_n "checking elsewhere... " >&6; }
27968
27969   ac_find_libraries=
27970   for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
27971   do
27972     for ac_extension in a so sl dylib dll.a; do
27973       if test -f "$ac_dir/libGLU.$ac_extension"; then
27974         ac_find_libraries=$ac_dir
27975         break 2
27976       fi
27977     done
27978   done
27979
27980         if test "x$ac_find_libraries" != "x"; then
27981           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27982 $as_echo "yes" >&6; }
27983         else
27984           { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27985 $as_echo "no" >&6; }
27986         fi
27987       fi
27988
27989 elif test $pkg_failed = untried; then
27990
27991       if test "x$ac_find_libraries" = "x"; then
27992                 if test "xgluBeginCurve" != "x"; then
27993           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluBeginCurve in -lGLU" >&5
27994 $as_echo_n "checking for gluBeginCurve in -lGLU... " >&6; }
27995 if test "${ac_cv_lib_GLU_gluBeginCurve+set}" = set; then :
27996   $as_echo_n "(cached) " >&6
27997 else
27998   ac_check_lib_save_LIBS=$LIBS
27999 LIBS="-lGLU  $LIBS"
28000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28001 /* end confdefs.h.  */
28002
28003 /* Override any GCC internal prototype to avoid an error.
28004    Use char because int might match the return type of a GCC
28005    builtin and then its argument prototype would still apply.  */
28006 #ifdef __cplusplus
28007 extern "C"
28008 #endif
28009 char gluBeginCurve ();
28010 int
28011 main ()
28012 {
28013 return gluBeginCurve ();
28014   ;
28015   return 0;
28016 }
28017 _ACEOF
28018 if ac_fn_c_try_link "$LINENO"; then :
28019   ac_cv_lib_GLU_gluBeginCurve=yes
28020 else
28021   ac_cv_lib_GLU_gluBeginCurve=no
28022 fi
28023 rm -f core conftest.err conftest.$ac_objext \
28024     conftest$ac_exeext conftest.$ac_ext
28025 LIBS=$ac_check_lib_save_LIBS
28026 fi
28027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluBeginCurve" >&5
28028 $as_echo "$ac_cv_lib_GLU_gluBeginCurve" >&6; }
28029 if test "x$ac_cv_lib_GLU_gluBeginCurve" = x""yes; then :
28030   ac_find_libraries="std"
28031 fi
28032
28033         fi
28034       fi
28035
28036       if test "x$ac_find_libraries" = "x"; then
28037                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28038 $as_echo_n "checking elsewhere... " >&6; }
28039
28040   ac_find_libraries=
28041   for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
28042   do
28043     for ac_extension in a so sl dylib dll.a; do
28044       if test -f "$ac_dir/libGLU.$ac_extension"; then
28045         ac_find_libraries=$ac_dir
28046         break 2
28047       fi
28048     done
28049   done
28050
28051         if test "x$ac_find_libraries" != "x"; then
28052           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28053 $as_echo "yes" >&6; }
28054         else
28055           { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28056 $as_echo "no" >&6; }
28057         fi
28058       fi
28059
28060 else
28061         GLU_CFLAGS=$pkg_cv_GLU_CFLAGS
28062         GLU_LIBS=$pkg_cv_GLU_LIBS
28063         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28064 $as_echo "yes" >&6; }
28065
28066             ac_find_libraries="std"
28067
28068                                                 eval ac_find_cflags=\$GLU_CFLAGS
28069       eval fl_libs=\$GLU_LIBS
28070
28071                   for fl_path in $fl_libs
28072       do
28073         if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
28074                               ac_find_libraries=`echo "$fl_path" | cut -c 3-`
28075         fi
28076       done
28077
28078 fi
28079
28080                     if test "$ac_find_libraries" != "" ; then
28081                       if test "$ac_find_libraries" != "std" ; then
28082
28083     if test "$ac_find_libraries" = "default location"; then
28084     ac_path_to_link=""
28085   else
28086     echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
28087     result=$?
28088     if test $result = 0; then
28089       ac_path_to_link=""
28090     else
28091       ac_path_to_link=" -L$ac_find_libraries"
28092     fi
28093   fi
28094
28095                         if test "$ac_path_to_link" != " -L/usr/lib" -a \
28096                                 "$ac_path_to_link" != "$LDFLAGS_GL" ; then
28097                           LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
28098                         fi
28099                       fi
28100
28101                         found_gl=1
28102                         OPENGL_LIBS="-lGL -lGLU"
28103                     fi
28104                 fi
28105
28106                 if test "$found_gl" != 1; then
28107
28108   ac_find_libraries=
28109
28110     fl_pkgname=`echo "MesaGL" | tr [:upper:] [:lower:]`
28111
28112
28113 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
28114         if test -n "$ac_tool_prefix"; then
28115   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
28116 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
28117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28118 $as_echo_n "checking for $ac_word... " >&6; }
28119 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
28120   $as_echo_n "(cached) " >&6
28121 else
28122   case $PKG_CONFIG in
28123   [\\/]* | ?:[\\/]*)
28124   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28125   ;;
28126   *)
28127   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28128 for as_dir in $PATH
28129 do
28130   IFS=$as_save_IFS
28131   test -z "$as_dir" && as_dir=.
28132     for ac_exec_ext in '' $ac_executable_extensions; do
28133   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28134     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28135     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28136     break 2
28137   fi
28138 done
28139   done
28140 IFS=$as_save_IFS
28141
28142   ;;
28143 esac
28144 fi
28145 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28146 if test -n "$PKG_CONFIG"; then
28147   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
28148 $as_echo "$PKG_CONFIG" >&6; }
28149 else
28150   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28151 $as_echo "no" >&6; }
28152 fi
28153
28154
28155 fi
28156 if test -z "$ac_cv_path_PKG_CONFIG"; then
28157   ac_pt_PKG_CONFIG=$PKG_CONFIG
28158   # Extract the first word of "pkg-config", so it can be a program name with args.
28159 set dummy pkg-config; ac_word=$2
28160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28161 $as_echo_n "checking for $ac_word... " >&6; }
28162 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
28163   $as_echo_n "(cached) " >&6
28164 else
28165   case $ac_pt_PKG_CONFIG in
28166   [\\/]* | ?:[\\/]*)
28167   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
28168   ;;
28169   *)
28170   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28171 for as_dir in $PATH
28172 do
28173   IFS=$as_save_IFS
28174   test -z "$as_dir" && as_dir=.
28175     for ac_exec_ext in '' $ac_executable_extensions; do
28176   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28177     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28178     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28179     break 2
28180   fi
28181 done
28182   done
28183 IFS=$as_save_IFS
28184
28185   ;;
28186 esac
28187 fi
28188 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
28189 if test -n "$ac_pt_PKG_CONFIG"; then
28190   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
28191 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
28192 else
28193   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28194 $as_echo "no" >&6; }
28195 fi
28196
28197   if test "x$ac_pt_PKG_CONFIG" = x; then
28198     PKG_CONFIG=""
28199   else
28200     case $cross_compiling:$ac_tool_warned in
28201 yes:)
28202 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
28203 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
28204 ac_tool_warned=yes ;;
28205 esac
28206     PKG_CONFIG=$ac_pt_PKG_CONFIG
28207   fi
28208 else
28209   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
28210 fi
28211
28212 fi
28213 if test -n "$PKG_CONFIG"; then
28214         _pkg_min_version=0.9.0
28215         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
28216 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
28217         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
28218                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28219 $as_echo "yes" >&6; }
28220         else
28221                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28222 $as_echo "no" >&6; }
28223                 PKG_CONFIG=""
28224         fi
28225
28226 fi 6> /dev/null
28227
28228 pkg_failed=no
28229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MesaGL" >&5
28230 $as_echo_n "checking for MesaGL... " >&6; }
28231
28232 if test -n "$PKG_CONFIG"; then
28233     if test -n "$MesaGL_CFLAGS"; then
28234         pkg_cv_MesaGL_CFLAGS="$MesaGL_CFLAGS"
28235     else
28236         if test -n "$PKG_CONFIG" && \
28237     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28238   ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28239   ac_status=$?
28240   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28241   test $ac_status = 0; }; then
28242   pkg_cv_MesaGL_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
28243 else
28244   pkg_failed=yes
28245 fi
28246     fi
28247 else
28248         pkg_failed=untried
28249 fi
28250 if test -n "$PKG_CONFIG"; then
28251     if test -n "$MesaGL_LIBS"; then
28252         pkg_cv_MesaGL_LIBS="$MesaGL_LIBS"
28253     else
28254         if test -n "$PKG_CONFIG" && \
28255     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28256   ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28257   ac_status=$?
28258   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28259   test $ac_status = 0; }; then
28260   pkg_cv_MesaGL_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
28261 else
28262   pkg_failed=yes
28263 fi
28264     fi
28265 else
28266         pkg_failed=untried
28267 fi
28268
28269
28270
28271 if test $pkg_failed = yes; then
28272
28273 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28274         _pkg_short_errors_supported=yes
28275 else
28276         _pkg_short_errors_supported=no
28277 fi
28278         if test $_pkg_short_errors_supported = yes; then
28279                 MesaGL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
28280         else
28281                 MesaGL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
28282         fi
28283         # Put the nasty error message in config.log where it belongs
28284         echo "$MesaGL_PKG_ERRORS" >&5
28285
28286
28287       if test "x$ac_find_libraries" = "x"; then
28288                 if test "xglEnable" != "x"; then
28289           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glEnable in -lMesaGL" >&5
28290 $as_echo_n "checking for glEnable in -lMesaGL... " >&6; }
28291 if test "${ac_cv_lib_MesaGL_glEnable+set}" = set; then :
28292   $as_echo_n "(cached) " >&6
28293 else
28294   ac_check_lib_save_LIBS=$LIBS
28295 LIBS="-lMesaGL  $LIBS"
28296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28297 /* end confdefs.h.  */
28298
28299 /* Override any GCC internal prototype to avoid an error.
28300    Use char because int might match the return type of a GCC
28301    builtin and then its argument prototype would still apply.  */
28302 #ifdef __cplusplus
28303 extern "C"
28304 #endif
28305 char glEnable ();
28306 int
28307 main ()
28308 {
28309 return glEnable ();
28310   ;
28311   return 0;
28312 }
28313 _ACEOF
28314 if ac_fn_c_try_link "$LINENO"; then :
28315   ac_cv_lib_MesaGL_glEnable=yes
28316 else
28317   ac_cv_lib_MesaGL_glEnable=no
28318 fi
28319 rm -f core conftest.err conftest.$ac_objext \
28320     conftest$ac_exeext conftest.$ac_ext
28321 LIBS=$ac_check_lib_save_LIBS
28322 fi
28323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_MesaGL_glEnable" >&5
28324 $as_echo "$ac_cv_lib_MesaGL_glEnable" >&6; }
28325 if test "x$ac_cv_lib_MesaGL_glEnable" = x""yes; then :
28326   ac_find_libraries="std"
28327 fi
28328
28329         fi
28330       fi
28331
28332       if test "x$ac_find_libraries" = "x"; then
28333                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28334 $as_echo_n "checking elsewhere... " >&6; }
28335
28336   ac_find_libraries=
28337   for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
28338   do
28339     for ac_extension in a so sl dylib dll.a; do
28340       if test -f "$ac_dir/libMesaGL.$ac_extension"; then
28341         ac_find_libraries=$ac_dir
28342         break 2
28343       fi
28344     done
28345   done
28346
28347         if test "x$ac_find_libraries" != "x"; then
28348           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28349 $as_echo "yes" >&6; }
28350         else
28351           { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28352 $as_echo "no" >&6; }
28353         fi
28354       fi
28355
28356 elif test $pkg_failed = untried; then
28357
28358       if test "x$ac_find_libraries" = "x"; then
28359                 if test "xglEnable" != "x"; then
28360           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glEnable in -lMesaGL" >&5
28361 $as_echo_n "checking for glEnable in -lMesaGL... " >&6; }
28362 if test "${ac_cv_lib_MesaGL_glEnable+set}" = set; then :
28363   $as_echo_n "(cached) " >&6
28364 else
28365   ac_check_lib_save_LIBS=$LIBS
28366 LIBS="-lMesaGL  $LIBS"
28367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28368 /* end confdefs.h.  */
28369
28370 /* Override any GCC internal prototype to avoid an error.
28371    Use char because int might match the return type of a GCC
28372    builtin and then its argument prototype would still apply.  */
28373 #ifdef __cplusplus
28374 extern "C"
28375 #endif
28376 char glEnable ();
28377 int
28378 main ()
28379 {
28380 return glEnable ();
28381   ;
28382   return 0;
28383 }
28384 _ACEOF
28385 if ac_fn_c_try_link "$LINENO"; then :
28386   ac_cv_lib_MesaGL_glEnable=yes
28387 else
28388   ac_cv_lib_MesaGL_glEnable=no
28389 fi
28390 rm -f core conftest.err conftest.$ac_objext \
28391     conftest$ac_exeext conftest.$ac_ext
28392 LIBS=$ac_check_lib_save_LIBS
28393 fi
28394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_MesaGL_glEnable" >&5
28395 $as_echo "$ac_cv_lib_MesaGL_glEnable" >&6; }
28396 if test "x$ac_cv_lib_MesaGL_glEnable" = x""yes; then :
28397   ac_find_libraries="std"
28398 fi
28399
28400         fi
28401       fi
28402
28403       if test "x$ac_find_libraries" = "x"; then
28404                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28405 $as_echo_n "checking elsewhere... " >&6; }
28406
28407   ac_find_libraries=
28408   for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
28409   do
28410     for ac_extension in a so sl dylib dll.a; do
28411       if test -f "$ac_dir/libMesaGL.$ac_extension"; then
28412         ac_find_libraries=$ac_dir
28413         break 2
28414       fi
28415     done
28416   done
28417
28418         if test "x$ac_find_libraries" != "x"; then
28419           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28420 $as_echo "yes" >&6; }
28421         else
28422           { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28423 $as_echo "no" >&6; }
28424         fi
28425       fi
28426
28427 else
28428         MesaGL_CFLAGS=$pkg_cv_MesaGL_CFLAGS
28429         MesaGL_LIBS=$pkg_cv_MesaGL_LIBS
28430         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28431 $as_echo "yes" >&6; }
28432
28433             ac_find_libraries="std"
28434
28435                                                 eval ac_find_cflags=\$MesaGL_CFLAGS
28436       eval fl_libs=\$MesaGL_LIBS
28437
28438                   for fl_path in $fl_libs
28439       do
28440         if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
28441                               ac_find_libraries=`echo "$fl_path" | cut -c 3-`
28442         fi
28443       done
28444
28445 fi
28446
28447                     if test "$ac_find_libraries" != "" ; then
28448                       if test "$ac_find_libraries" != "std" ; then
28449
28450     if test "$ac_find_libraries" = "default location"; then
28451     ac_path_to_link=""
28452   else
28453     echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
28454     result=$?
28455     if test $result = 0; then
28456       ac_path_to_link=""
28457     else
28458       ac_path_to_link=" -L$ac_find_libraries"
28459     fi
28460   fi
28461
28462                         if test "$ac_path_to_link" != " -L/usr/lib" ; then
28463                           LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
28464                         fi
28465                       fi
28466                       OPENGL_LIBS="-lMesaGL -lMesaGLU"
28467                     fi
28468                 fi
28469
28470 fi
28471
28472
28473
28474 fi
28475
28476
28477
28478         if test "x$OPENGL_LIBS" = "x"; then
28479             if test "$wxUSE_OPENGL" = "yes"; then
28480                 as_fn_error $? "OpenGL libraries not available" "$LINENO" 5
28481             else
28482                                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5
28483 $as_echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;}
28484                 wxUSE_OPENGL=no
28485                 USE_OPENGL=0
28486             fi
28487         fi
28488     else
28489         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
28490 $as_echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
28491         wxUSE_OPENGL="no"
28492     fi
28493
28494     if test "$wxUSE_OPENGL" = "auto"; then
28495                                 wxUSE_OPENGL=yes
28496     fi
28497
28498     if test "$wxUSE_OPENGL" = "yes"; then
28499         USE_OPENGL=1
28500         $as_echo "#define wxUSE_OPENGL 1" >>confdefs.h
28501
28502         $as_echo "#define wxUSE_GLCANVAS 1" >>confdefs.h
28503
28504         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
28505     fi
28506 fi
28507
28508
28509 if test -n "$TOOLKIT" ; then
28510     TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
28511 fi
28512
28513
28514
28515 if test "$wxUSE_SHARED" = "yes"; then
28516     case "${host}" in
28517       *-pc-msdosdjgpp )
28518                 wxUSE_SHARED=no
28519         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Host system doesn't support shared libraries, disabling" >&5
28520 $as_echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
28521       ;;
28522     esac
28523 fi
28524
28525 if test "$wxUSE_SHARED" = "yes"; then
28526
28527
28528     case "${host}" in
28529         *-*-cygwin* | *-*-mingw* )
28530                                                                                                 wx_cv_version_script=no
28531             ;;
28532
28533         *)
28534             { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker accepts --version-script" >&5
28535 $as_echo_n "checking if the linker accepts --version-script... " >&6; }
28536 if test "${wx_cv_version_script+set}" = set; then :
28537   $as_echo_n "(cached) " >&6
28538 else
28539
28540                 echo "VER_1 { *; };" >conftest.sym
28541                 echo "int main() { return 0; }" >conftest.cpp
28542
28543                 if { ac_try='
28544                         $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
28545                         -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
28546   { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
28547   (eval $ac_try) 2>&5
28548   ac_status=$?
28549   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28550   test $ac_status = 0; }; } ; then
28551                   if test -s conftest.stderr ; then
28552                       wx_cv_version_script=no
28553                   else
28554                       wx_cv_version_script=yes
28555                   fi
28556                 else
28557                   wx_cv_version_script=no
28558                 fi
28559
28560                                                                                                                                                                                                 if test $wx_cv_version_script = yes
28561                 then
28562                   echo "struct B { virtual ~B() { } }; \
28563                         struct D : public B { }; \
28564                         void F() { D d; }" > conftest.cpp
28565
28566                   if { ac_try='
28567                         $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
28568                         -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
28569   { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
28570   (eval $ac_try) 2>&5
28571   ac_status=$?
28572   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28573   test $ac_status = 0; }; } &&
28574                      { ac_try='
28575                         $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
28576                         -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
28577   { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
28578   (eval $ac_try) 2>&5
28579   ac_status=$?
28580   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28581   test $ac_status = 0; }; }
28582                   then
28583                     if { ac_try='
28584                           $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
28585                           -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
28586   { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
28587   (eval $ac_try) 2>&5
28588   ac_status=$?
28589   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28590   test $ac_status = 0; }; }
28591                     then
28592                       wx_cv_version_script=yes
28593                     else
28594                       wx_cv_version_script=no
28595                     fi
28596                   fi
28597                 fi
28598
28599                 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
28600                 rm -f conftest1.output conftest2.output conftest3.output
28601
28602 fi
28603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_version_script" >&5
28604 $as_echo "$wx_cv_version_script" >&6; }
28605
28606             if test $wx_cv_version_script = yes ; then
28607                 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
28608             fi
28609             ;;
28610     esac
28611
28612
28613             if test "$wxUSE_VISIBILITY" != "no"; then
28614
28615
28616   if test -n "$GCC"; then
28617     CFLAGS_VISIBILITY="-fvisibility=hidden"
28618     CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
28619     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for symbols visibility support" >&5
28620 $as_echo_n "checking for symbols visibility support... " >&6; }
28621     if test "${wx_cv_cc_visibility+set}" = set; then :
28622   $as_echo_n "(cached) " >&6
28623 else
28624
28625       wx_save_CXXFLAGS="$CXXFLAGS"
28626       CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
28627       ac_ext=cpp
28628 ac_cpp='$CXXCPP $CPPFLAGS'
28629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28632
28633       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28634 /* end confdefs.h.  */
28635
28636          /* we need gcc >= 4.0, older versions with visibility support
28637             didn't have class visibility: */
28638          #if defined(__GNUC__) && __GNUC__ < 4
28639          error this gcc is too old;
28640          #endif
28641
28642          /* visibility only makes sense for ELF shared libs: */
28643          #if !defined(__ELF__) && !defined(__APPLE__)
28644          error this platform has no visibility;
28645          #endif
28646
28647          /* at the time of Xcode 4.1 / Clang 3, Clang++ still didn't have the bugs sorted out: */
28648          #if defined(__clang__)
28649          clang compiler is still broken w.r.t. visibility;
28650          #endif
28651
28652          extern __attribute__((__visibility__("hidden"))) int hiddenvar;
28653          extern __attribute__((__visibility__("default"))) int exportedvar;
28654          extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
28655          extern __attribute__((__visibility__("default"))) int exportedfunc (void);
28656          class __attribute__((__visibility__("default"))) Foo {
28657            Foo() {}
28658          };
28659
28660 int
28661 main ()
28662 {
28663
28664   ;
28665   return 0;
28666 }
28667 _ACEOF
28668 if ac_fn_cxx_try_compile "$LINENO"; then :
28669   wx_cv_cc_visibility=yes
28670 else
28671   wx_cv_cc_visibility=no
28672 fi
28673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28674       ac_ext=c
28675 ac_cpp='$CPP $CPPFLAGS'
28676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28679
28680       CXXFLAGS="$wx_save_CXXFLAGS"
28681 fi
28682
28683     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_visibility" >&5
28684 $as_echo "$wx_cv_cc_visibility" >&6; }
28685     if test $wx_cv_cc_visibility = yes; then
28686                               { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken libstdc++ visibility" >&5
28687 $as_echo_n "checking for broken libstdc++ visibility... " >&6; }
28688       if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then :
28689   $as_echo_n "(cached) " >&6
28690 else
28691
28692         wx_save_CXXFLAGS="$CXXFLAGS"
28693         wx_save_LDFLAGS="$LDFLAGS"
28694         CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
28695         LDFLAGS="$LDFLAGS -shared -fPIC"
28696         ac_ext=cpp
28697 ac_cpp='$CXXCPP $CPPFLAGS'
28698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28701
28702         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28703 /* end confdefs.h.  */
28704
28705             #include <string>
28706
28707 int
28708 main ()
28709 {
28710
28711             std::string s("hello");
28712             return s.length();
28713
28714   ;
28715   return 0;
28716 }
28717 _ACEOF
28718 if ac_fn_cxx_try_link "$LINENO"; then :
28719   wx_cv_cc_broken_libstdcxx_visibility=no
28720 else
28721   wx_cv_cc_broken_libstdcxx_visibility=yes
28722 fi
28723 rm -f core conftest.err conftest.$ac_objext \
28724     conftest$ac_exeext conftest.$ac_ext
28725         ac_ext=c
28726 ac_cpp='$CPP $CPPFLAGS'
28727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28730
28731         CXXFLAGS="$wx_save_CXXFLAGS"
28732         LDFLAGS="$wx_save_LDFLAGS"
28733 fi
28734
28735       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
28736 $as_echo "$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
28737
28738       if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
28739         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can work around it" >&5
28740 $as_echo_n "checking whether we can work around it... " >&6; }
28741         if test "${wx_cv_cc_visibility_workaround+set}" = set; then :
28742   $as_echo_n "(cached) " >&6
28743 else
28744
28745           ac_ext=cpp
28746 ac_cpp='$CXXCPP $CPPFLAGS'
28747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28750
28751           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28752 /* end confdefs.h.  */
28753
28754               #pragma GCC visibility push(default)
28755               #include <string>
28756               #pragma GCC visibility pop
28757
28758 int
28759 main ()
28760 {
28761
28762               std::string s("hello");
28763               return s.length();
28764
28765   ;
28766   return 0;
28767 }
28768 _ACEOF
28769 if ac_fn_cxx_try_link "$LINENO"; then :
28770   wx_cv_cc_visibility_workaround=no
28771 else
28772   wx_cv_cc_visibility_workaround=yes
28773 fi
28774 rm -f core conftest.err conftest.$ac_objext \
28775     conftest$ac_exeext conftest.$ac_ext
28776           ac_ext=c
28777 ac_cpp='$CPP $CPPFLAGS'
28778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28781
28782
28783 fi
28784
28785         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_visibility_workaround" >&5
28786 $as_echo "$wx_cv_cc_visibility_workaround" >&6; }
28787
28788         if test $wx_cv_cc_visibility_workaround = no; then
28789                     wx_cv_cc_visibility=no
28790         fi
28791       fi
28792     fi
28793
28794     if test $wx_cv_cc_visibility = yes; then
28795       $as_echo "#define HAVE_VISIBILITY 1" >>confdefs.h
28796
28797       if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
28798         $as_echo "#define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1" >>confdefs.h
28799
28800       fi
28801     else
28802       CFLAGS_VISIBILITY=""
28803       CXXFLAGS_VISIBILITY=""
28804     fi
28805
28806
28807   fi
28808
28809     fi
28810
28811         if test "x$SUNCXX" = xyes; then
28812         SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
28813         WXCONFIG_RPATH="-R\$libdir"
28814     else
28815     case "${host}" in
28816       *-*-linux* | *-*-gnu* )
28817         SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
28818         WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
28819         ;;
28820
28821       *-*-solaris2* )
28822
28823                         CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
28824
28825                         saveLdflags="$LDFLAGS"
28826         LDFLAGS="$saveLdflags -Wl,-rpath,/"
28827         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker accepts -rpath" >&5
28828 $as_echo_n "checking if the linker accepts -rpath... " >&6; }
28829         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28830 /* end confdefs.h.  */
28831
28832 int
28833 main ()
28834 {
28835
28836   ;
28837   return 0;
28838 }
28839 _ACEOF
28840 if ac_fn_c_try_link "$LINENO"; then :
28841
28842                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28843 $as_echo "yes" >&6; }
28844                 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
28845                 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
28846
28847 else
28848
28849                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28850 $as_echo "no" >&6; }
28851                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker accepts -R" >&5
28852 $as_echo_n "checking if the linker accepts -R... " >&6; }
28853                 LDFLAGS="$saveLdflags -Wl,-R,/"
28854                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28855 /* end confdefs.h.  */
28856
28857 int
28858 main ()
28859 {
28860
28861   ;
28862   return 0;
28863 }
28864 _ACEOF
28865 if ac_fn_c_try_link "$LINENO"; then :
28866
28867                         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28868 $as_echo "yes" >&6; }
28869                         SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
28870                         WXCONFIG_RPATH="-Wl,-R,\$libdir"
28871
28872 else
28873
28874                         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28875 $as_echo "no" >&6; }
28876
28877 fi
28878 rm -f core conftest.err conftest.$ac_objext \
28879     conftest$ac_exeext conftest.$ac_ext
28880
28881 fi
28882 rm -f core conftest.err conftest.$ac_objext \
28883     conftest$ac_exeext conftest.$ac_ext
28884         LDFLAGS="$saveLdflags"
28885       ;;
28886
28887       *-*-darwin* )
28888         install_name_tool=`which ${HOST_PREFIX}install_name_tool`
28889         if test "$install_name_tool" -a -x "$install_name_tool"; then
28890             DYLIB_RPATH_POSTLINK="${HOST_PREFIX}install_name_tool -id \$@ \$@"
28891             cat <<EOF >change-install-names
28892 #!/bin/sh
28893 libnames=\`cd \${2} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
28894 for i in \${libnames} ; do
28895     ${HOST_PREFIX}install_name_tool -id \${3}/\${i} \${1}/\${i}
28896     for dep in \${libnames} ; do
28897         ${HOST_PREFIX}install_name_tool -change \${2}/\${dep} \${3}/\${dep} \${1}/\${i}
28898     done
28899 done
28900 EOF
28901             chmod +x change-install-names
28902             DYLIB_RPATH_INSTALL="\$(wx_top_builddir)/change-install-names \${DESTDIR}\${libdir} \$(wx_top_builddir)/lib \${libdir}"
28903         fi
28904
28905                                         HEADER_PAD_OPTION="-headerpad_max_install_names"
28906       ;;
28907
28908       *-*-cygwin* | *-*-mingw32* )
28909         ;;
28910
28911       *-*-hpux* )
28912         SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
28913         WXCONFIG_RPATH="-Wl,+b,\$libdir"
28914         ;;
28915
28916     esac
28917     fi
28918
28919             WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
28920
28921     if test $wxUSE_RPATH = "no"; then
28922         SAMPLES_RPATH_FLAG=''
28923         DYLIB_PATH_POSTLINK=''
28924         WXCONFIG_RPATH=''
28925     fi
28926
28927     SHARED=1
28928
28929 else
28930
28931     config_linkage_component="-static"
28932     SHARED=0
28933
28934 fi
28935
28936
28937 UNICODE=0
28938 lib_unicode_suffix=
28939 WX_CHARTYPE="ansi"
28940 if test "$wxUSE_UNICODE" = "yes"; then
28941     lib_unicode_suffix=u
28942     WX_CHARTYPE="unicode"
28943     UNICODE=1
28944 fi
28945
28946 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
28947 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
28948
28949 DEBUG_INFO=0
28950 if test "$wxUSE_DEBUG_INFO" = "yes"; then
28951     DEBUG_INFO=1
28952 fi
28953
28954 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
28955
28956 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
28957
28958 TOOLCHAIN_FULLNAME="${HOST_PREFIX}${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
28959
28960
28961 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
28962     WX_LIBRARY_BASENAME_NOGUI="wx_base${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
28963 else
28964     WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
28965 fi
28966 if test "${TOOLKIT_DIR}" = "os2"; then
28967     WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
28968 else
28969     WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
28970 fi
28971
28972
28973
28974 if test "$wxUSE_OLD_COCOA" = 1; then
28975
28976     ac_ext=c
28977 ac_cpp='$CPP $CPPFLAGS'
28978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28981
28982 ac_ext=m
28983
28984     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
28985 $as_echo_n "checking if AppKit/NSEvent.h conflicts with CoreFoundation... " >&6; }
28986     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28987 /* end confdefs.h.  */
28988 #include <AppKit/NSEvent.h>
28989 #include <CoreFoundation/CoreFoundation.h>
28990
28991 int
28992 main ()
28993 {
28994
28995   ;
28996   return 0;
28997 }
28998 _ACEOF
28999 if ac_fn_c_try_compile "$LINENO"; then :
29000   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29001 $as_echo "no" >&6; }
29002 else
29003   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29004 $as_echo "yes" >&6; }
29005         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if defining __Point__ will fix it" >&5
29006 $as_echo_n "checking if defining __Point__ will fix it... " >&6; }
29007         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29008 /* end confdefs.h.  */
29009 #define __Point__ 1
29010 #include <AppKit/NSEvent.h>
29011 #include <CoreFoundation/CoreFoundation.h>
29012
29013 int
29014 main ()
29015 {
29016
29017   ;
29018   return 0;
29019 }
29020 _ACEOF
29021 if ac_fn_c_try_compile "$LINENO"; then :
29022   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29023 $as_echo "yes" >&6; }
29024             $as_echo "#define __Point__ 1" >>confdefs.h
29025
29026
29027 else
29028   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
29029 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
29030 as_fn_error $? "no
29031 See \`config.log' for more details" "$LINENO" 5 ; }
29032
29033 fi
29034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29035
29036 fi
29037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29038     ac_ext=c
29039 ac_cpp='$CPP $CPPFLAGS'
29040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29043
29044 fi
29045
29046
29047 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
29048 if test "x$ac_cv_type_mode_t" = x""yes; then :
29049
29050 else
29051
29052 cat >>confdefs.h <<_ACEOF
29053 #define mode_t int
29054 _ACEOF
29055
29056 fi
29057
29058 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
29059 if test "x$ac_cv_type_off_t" = x""yes; then :
29060
29061 else
29062
29063 cat >>confdefs.h <<_ACEOF
29064 #define off_t long int
29065 _ACEOF
29066
29067 fi
29068
29069 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
29070 if test "x$ac_cv_type_pid_t" = x""yes; then :
29071
29072 else
29073
29074 cat >>confdefs.h <<_ACEOF
29075 #define pid_t int
29076 _ACEOF
29077
29078 fi
29079
29080 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
29081 if test "x$ac_cv_type_size_t" = x""yes; then :
29082
29083 else
29084
29085 cat >>confdefs.h <<_ACEOF
29086 #define size_t unsigned int
29087 _ACEOF
29088
29089 fi
29090
29091
29092 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
29093 if test "x$ac_cv_type_ssize_t" = x""yes; then :
29094
29095 cat >>confdefs.h <<_ACEOF
29096 #define HAVE_SSIZE_T 1
29097 _ACEOF
29098
29099
29100 fi
29101
29102
29103 ac_ext=cpp
29104 ac_cpp='$CXXCPP $CPPFLAGS'
29105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29108  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if size_t is unsigned int" >&5
29109 $as_echo_n "checking if size_t is unsigned int... " >&6; }
29110 if test "${wx_cv_size_t_is_uint+set}" = set; then :
29111   $as_echo_n "(cached) " >&6
29112 else
29113
29114                             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29115 /* end confdefs.h.  */
29116 #include <stddef.h>
29117 int
29118 main ()
29119 {
29120
29121             return 0; }
29122
29123             struct Foo { void foo(size_t); void foo(unsigned int); };
29124
29125             int bar() {
29126
29127   ;
29128   return 0;
29129 }
29130 _ACEOF
29131 if ac_fn_cxx_try_compile "$LINENO"; then :
29132   wx_cv_size_t_is_uint=no
29133 else
29134   wx_cv_size_t_is_uint=yes
29135
29136 fi
29137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29138
29139
29140 fi
29141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_size_t_is_uint" >&5
29142 $as_echo "$wx_cv_size_t_is_uint" >&6; }
29143
29144 if test "$wx_cv_size_t_is_uint" = "yes"; then
29145     $as_echo "#define wxSIZE_T_IS_UINT 1" >>confdefs.h
29146
29147 else
29148     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if size_t is unsigned long" >&5
29149 $as_echo_n "checking if size_t is unsigned long... " >&6; }
29150 if test "${wx_cv_size_t_is_ulong+set}" = set; then :
29151   $as_echo_n "(cached) " >&6
29152 else
29153   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29154 /* end confdefs.h.  */
29155 #include <stddef.h>
29156 int
29157 main ()
29158 {
29159
29160                 return 0; }
29161
29162                 struct Foo { void foo(size_t); void foo(unsigned long); };
29163
29164                 int bar() {
29165
29166   ;
29167   return 0;
29168 }
29169 _ACEOF
29170 if ac_fn_cxx_try_compile "$LINENO"; then :
29171   wx_cv_size_t_is_ulong=no
29172 else
29173   wx_cv_size_t_is_ulong=yes
29174
29175 fi
29176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29177
29178 fi
29179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_size_t_is_ulong" >&5
29180 $as_echo "$wx_cv_size_t_is_ulong" >&6; }
29181
29182     if test "$wx_cv_size_t_is_ulong" = "yes"; then
29183         $as_echo "#define wxSIZE_T_IS_ULONG 1" >>confdefs.h
29184
29185     fi
29186 fi
29187
29188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if wchar_t is separate type" >&5
29189 $as_echo_n "checking if wchar_t is separate type... " >&6; }
29190 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then :
29191   $as_echo_n "(cached) " >&6
29192 else
29193   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29194 /* end confdefs.h.  */
29195 #include <wchar.h>
29196 int
29197 main ()
29198 {
29199
29200             return 0; }
29201
29202             struct Foo { void foo(wchar_t);
29203                          void foo(unsigned short);
29204                          void foo(unsigned int);
29205                          void foo(unsigned long); };
29206
29207             int bar() {
29208
29209   ;
29210   return 0;
29211 }
29212 _ACEOF
29213 if ac_fn_cxx_try_compile "$LINENO"; then :
29214   wx_cv_wchar_t_is_separate_type=yes
29215 else
29216   wx_cv_wchar_t_is_separate_type=no
29217
29218 fi
29219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29220
29221 fi
29222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_wchar_t_is_separate_type" >&5
29223 $as_echo "$wx_cv_wchar_t_is_separate_type" >&6; }
29224
29225 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
29226     $as_echo "#define wxWCHAR_T_IS_REAL_TYPE 1" >>confdefs.h
29227
29228 else
29229     $as_echo "#define wxWCHAR_T_IS_REAL_TYPE 0" >>confdefs.h
29230
29231 fi
29232
29233 ac_ext=c
29234 ac_cpp='$CPP $CPPFLAGS'
29235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29238
29239
29240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pw_gecos in struct passwd" >&5
29241 $as_echo_n "checking for pw_gecos in struct passwd... " >&6; }
29242 if test "${wx_cv_struct_pw_gecos+set}" = set; then :
29243   $as_echo_n "(cached) " >&6
29244 else
29245
29246         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29247 /* end confdefs.h.  */
29248 #include <pwd.h>
29249 int
29250 main ()
29251 {
29252
29253                 char *p;
29254                 struct passwd *pw;
29255                 p = pw->pw_gecos;
29256
29257   ;
29258   return 0;
29259 }
29260 _ACEOF
29261 if ac_fn_c_try_compile "$LINENO"; then :
29262
29263                 wx_cv_struct_pw_gecos=yes
29264
29265 else
29266
29267                 wx_cv_struct_pw_gecos=no
29268
29269
29270 fi
29271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29272
29273
29274 fi
29275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_struct_pw_gecos" >&5
29276 $as_echo "$wx_cv_struct_pw_gecos" >&6; }
29277
29278 if test "$wx_cv_struct_pw_gecos" = "yes"; then
29279     $as_echo "#define HAVE_PW_GECOS 1" >>confdefs.h
29280
29281 fi
29282
29283
29284 WCSLEN_FOUND=0
29285 WCHAR_LINK=
29286 for ac_func in wcslen
29287 do :
29288   ac_fn_c_check_func "$LINENO" "wcslen" "ac_cv_func_wcslen"
29289 if test "x$ac_cv_func_wcslen" = x""yes; then :
29290   cat >>confdefs.h <<_ACEOF
29291 #define HAVE_WCSLEN 1
29292 _ACEOF
29293  WCSLEN_FOUND=1
29294 fi
29295 done
29296
29297
29298 if test "$WCSLEN_FOUND" = 0; then
29299     if test "$TOOLKIT" = "MSW"; then
29300         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wcslen in -lmsvcrt" >&5
29301 $as_echo_n "checking for wcslen in -lmsvcrt... " >&6; }
29302 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then :
29303   $as_echo_n "(cached) " >&6
29304 else
29305   ac_check_lib_save_LIBS=$LIBS
29306 LIBS="-lmsvcrt  $LIBS"
29307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29308 /* end confdefs.h.  */
29309
29310 /* Override any GCC internal prototype to avoid an error.
29311    Use char because int might match the return type of a GCC
29312    builtin and then its argument prototype would still apply.  */
29313 #ifdef __cplusplus
29314 extern "C"
29315 #endif
29316 char wcslen ();
29317 int
29318 main ()
29319 {
29320 return wcslen ();
29321   ;
29322   return 0;
29323 }
29324 _ACEOF
29325 if ac_fn_c_try_link "$LINENO"; then :
29326   ac_cv_lib_msvcrt_wcslen=yes
29327 else
29328   ac_cv_lib_msvcrt_wcslen=no
29329 fi
29330 rm -f core conftest.err conftest.$ac_objext \
29331     conftest$ac_exeext conftest.$ac_ext
29332 LIBS=$ac_check_lib_save_LIBS
29333 fi
29334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_msvcrt_wcslen" >&5
29335 $as_echo "$ac_cv_lib_msvcrt_wcslen" >&6; }
29336 if test "x$ac_cv_lib_msvcrt_wcslen" = x""yes; then :
29337   WCHAR_OK=1
29338 fi
29339
29340     else
29341         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wcslen in -lw" >&5
29342 $as_echo_n "checking for wcslen in -lw... " >&6; }
29343 if test "${ac_cv_lib_w_wcslen+set}" = set; then :
29344   $as_echo_n "(cached) " >&6
29345 else
29346   ac_check_lib_save_LIBS=$LIBS
29347 LIBS="-lw  $LIBS"
29348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29349 /* end confdefs.h.  */
29350
29351 /* Override any GCC internal prototype to avoid an error.
29352    Use char because int might match the return type of a GCC
29353    builtin and then its argument prototype would still apply.  */
29354 #ifdef __cplusplus
29355 extern "C"
29356 #endif
29357 char wcslen ();
29358 int
29359 main ()
29360 {
29361 return wcslen ();
29362   ;
29363   return 0;
29364 }
29365 _ACEOF
29366 if ac_fn_c_try_link "$LINENO"; then :
29367   ac_cv_lib_w_wcslen=yes
29368 else
29369   ac_cv_lib_w_wcslen=no
29370 fi
29371 rm -f core conftest.err conftest.$ac_objext \
29372     conftest$ac_exeext conftest.$ac_ext
29373 LIBS=$ac_check_lib_save_LIBS
29374 fi
29375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_w_wcslen" >&5
29376 $as_echo "$ac_cv_lib_w_wcslen" >&6; }
29377 if test "x$ac_cv_lib_w_wcslen" = x""yes; then :
29378
29379                         WCHAR_LINK=" -lw"
29380                         WCSLEN_FOUND=1
29381
29382 fi
29383
29384     fi
29385 fi
29386
29387 if test "$WCSLEN_FOUND" = 1; then
29388     $as_echo "#define HAVE_WCSLEN 1" >>confdefs.h
29389
29390 fi
29391
29392 for ac_func in wcsdup wcsftime strnlen wcsnlen wcscasecmp wcsncasecmp
29393 do :
29394   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29395 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29396 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
29397   cat >>confdefs.h <<_ACEOF
29398 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29399 _ACEOF
29400
29401 fi
29402 done
29403
29404
29405 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
29406     CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
29407 fi
29408
29409 ac_fn_c_check_type "$LINENO" "mbstate_t" "ac_cv_type_mbstate_t" "#include <wchar.h>
29410 "
29411 if test "x$ac_cv_type_mbstate_t" = x""yes; then :
29412
29413 cat >>confdefs.h <<_ACEOF
29414 #define HAVE_MBSTATE_T 1
29415 _ACEOF
29416
29417 for ac_func in wcsrtombs
29418 do :
29419   ac_fn_c_check_func "$LINENO" "wcsrtombs" "ac_cv_func_wcsrtombs"
29420 if test "x$ac_cv_func_wcsrtombs" = x""yes; then :
29421   cat >>confdefs.h <<_ACEOF
29422 #define HAVE_WCSRTOMBS 1
29423 _ACEOF
29424
29425 fi
29426 done
29427
29428 fi
29429
29430
29431 for ac_func in snprintf vsnprintf vsscanf
29432 do :
29433   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29434 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29435 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
29436   cat >>confdefs.h <<_ACEOF
29437 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29438 _ACEOF
29439
29440 fi
29441 done
29442
29443
29444 ac_ext=cpp
29445 ac_cpp='$CXXCPP $CPPFLAGS'
29446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29449
29450 if test "$ac_cv_func_vsnprintf" = "yes"; then
29451         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vsnprintf declaration" >&5
29452 $as_echo_n "checking for vsnprintf declaration... " >&6; }
29453 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then :
29454   $as_echo_n "(cached) " >&6
29455 else
29456
29457                                     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29458 /* end confdefs.h.  */
29459
29460                     #include <stdio.h>
29461                     #include <stdarg.h>
29462
29463 int
29464 main ()
29465 {
29466
29467                     char *buf;
29468                     va_list ap;
29469                     vsnprintf(buf, 10u, "%s", ap);
29470
29471   ;
29472   return 0;
29473 }
29474 _ACEOF
29475 if ac_fn_cxx_try_compile "$LINENO"; then :
29476   wx_cv_func_vsnprintf_decl=yes
29477 else
29478   wx_cv_func_vsnprintf_decl=no
29479
29480 fi
29481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29482
29483
29484 fi
29485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_vsnprintf_decl" >&5
29486 $as_echo "$wx_cv_func_vsnprintf_decl" >&6; }
29487
29488     if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
29489         $as_echo "#define HAVE_VSNPRINTF_DECL 1" >>confdefs.h
29490
29491
29492                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if vsnprintf declaration is broken" >&5
29493 $as_echo_n "checking if vsnprintf declaration is broken... " >&6; }
29494 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then :
29495   $as_echo_n "(cached) " >&6
29496 else
29497
29498                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29499 /* end confdefs.h.  */
29500
29501                         #include <stdio.h>
29502                         #include <stdarg.h>
29503                         #ifdef __MSL__
29504                         #if __MSL__ >= 0x6000
29505                         namespace std {}
29506                         using namespace std;
29507                         #endif
29508                         #endif
29509
29510 int
29511 main ()
29512 {
29513
29514                         char *buf;
29515                         va_list ap;
29516                         const char *fmt = "%s";
29517                         vsnprintf(buf, 10u, fmt, ap);
29518
29519   ;
29520   return 0;
29521 }
29522 _ACEOF
29523 if ac_fn_cxx_try_compile "$LINENO"; then :
29524   wx_cv_func_broken_vsnprintf_decl=no
29525 else
29526   wx_cv_func_broken_vsnprintf_decl=yes
29527
29528 fi
29529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29530
29531
29532 fi
29533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_broken_vsnprintf_decl" >&5
29534 $as_echo "$wx_cv_func_broken_vsnprintf_decl" >&6; }
29535
29536         if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
29537             $as_echo "#define HAVE_BROKEN_VSNPRINTF_DECL 1" >>confdefs.h
29538
29539         fi
29540     fi
29541 fi
29542
29543 if test "$ac_cv_func_snprintf" = "yes"; then
29544     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snprintf declaration" >&5
29545 $as_echo_n "checking for snprintf declaration... " >&6; }
29546 if test "${wx_cv_func_snprintf_decl+set}" = set; then :
29547   $as_echo_n "(cached) " >&6
29548 else
29549
29550             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29551 /* end confdefs.h.  */
29552
29553                     #include <stdio.h>
29554                     #include <stdarg.h>
29555                     #ifdef __MSL__
29556                     #if __MSL__ >= 0x6000
29557                     namespace std {}
29558                     using namespace std;
29559                     #endif
29560                     #endif
29561
29562 int
29563 main ()
29564 {
29565
29566                     char *buf;
29567                     snprintf(buf, 10u, "%s", "wx");
29568
29569   ;
29570   return 0;
29571 }
29572 _ACEOF
29573 if ac_fn_cxx_try_compile "$LINENO"; then :
29574   wx_cv_func_snprintf_decl=yes
29575 else
29576   wx_cv_func_snprintf_decl=no
29577
29578 fi
29579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29580
29581
29582 fi
29583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_snprintf_decl" >&5
29584 $as_echo "$wx_cv_func_snprintf_decl" >&6; }
29585
29586     if test "$wx_cv_func_snprintf_decl" = "yes"; then
29587         $as_echo "#define HAVE_SNPRINTF_DECL 1" >>confdefs.h
29588
29589     fi
29590
29591     if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
29592
29593                                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if snprintf supports positional arguments" >&5
29594 $as_echo_n "checking if snprintf supports positional arguments... " >&6; }
29595 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then :
29596   $as_echo_n "(cached) " >&6
29597 else
29598
29599                 if test "$cross_compiling" = yes; then :
29600
29601                         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Assuming Unix98 printf() is not available,
29602 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
29603 $as_echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
29604 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
29605                         wx_cv_func_snprintf_pos_params=no
29606
29607
29608 else
29609   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29610 /* end confdefs.h.  */
29611
29612                         #include <stdio.h>
29613
29614                         int main (void)
29615                         {
29616                             char buffer[128];
29617                             snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
29618                             if (strcmp ("2 3 1", buffer) == 0)
29619                                 exit (0);
29620                             exit (1);
29621                         }
29622
29623 _ACEOF
29624 if ac_fn_cxx_try_run "$LINENO"; then :
29625   wx_cv_func_snprintf_pos_params=no
29626 else
29627   wx_cv_func_snprintf_pos_params=yes
29628 fi
29629 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
29630   conftest.$ac_objext conftest.beam conftest.$ac_ext
29631 fi
29632
29633
29634
29635 fi
29636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_snprintf_pos_params" >&5
29637 $as_echo "$wx_cv_func_snprintf_pos_params" >&6; }
29638
29639         if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
29640             $as_echo "#define HAVE_UNIX98_PRINTF 1" >>confdefs.h
29641
29642         fi
29643     fi
29644 fi
29645
29646 if test "$ac_cv_func_vsscanf" = "yes"; then
29647     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vsscanf declaration" >&5
29648 $as_echo_n "checking for vsscanf declaration... " >&6; }
29649 if test "${wx_cv_func_vsscanf_decl+set}" = set; then :
29650   $as_echo_n "(cached) " >&6
29651 else
29652
29653             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29654 /* end confdefs.h.  */
29655
29656                     #include <stdio.h>
29657                     #include <stdarg.h>
29658                     #ifdef __MSL__
29659                     #if __MSL__ >= 0x6000
29660                     namespace std {}
29661                     using namespace std;
29662                     #endif
29663                     #endif
29664
29665 int
29666 main ()
29667 {
29668
29669                     char *buf;
29670                     va_list args;
29671                     vsscanf(buf, "%s", args);
29672
29673   ;
29674   return 0;
29675 }
29676 _ACEOF
29677 if ac_fn_cxx_try_compile "$LINENO"; then :
29678   wx_cv_func_vsscanf_decl=yes
29679 else
29680   wx_cv_func_vsscanf_decl=no
29681
29682 fi
29683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29684
29685
29686 fi
29687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_vsscanf_decl" >&5
29688 $as_echo "$wx_cv_func_vsscanf_decl" >&6; }
29689
29690     if test "$wx_cv_func_vsscanf_decl" = "yes"; then
29691         $as_echo "#define HAVE_VSSCANF_DECL 1" >>confdefs.h
29692
29693     fi
29694 fi
29695 ac_ext=c
29696 ac_cpp='$CPP $CPPFLAGS'
29697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29700
29701
29702 if test "$wxUSE_UNICODE" = yes; then
29703
29704             wchar_headers="#include <stdio.h>
29705 #include <wchar.h>"
29706     case "${host}" in
29707         *-*-solaris2* )
29708             for ac_header in widec.h
29709 do :
29710   ac_fn_c_check_header_compile "$LINENO" "widec.h" "ac_cv_header_widec_h" "$ac_includes_default
29711 "
29712 if test "x$ac_cv_header_widec_h" = x""yes; then :
29713   cat >>confdefs.h <<_ACEOF
29714 #define HAVE_WIDEC_H 1
29715 _ACEOF
29716
29717 fi
29718
29719 done
29720
29721             if test "$ac_cv_header_widec_h" = "yes"; then
29722                 wchar_headers="$wchar_headers
29723 #include <widec.h>"
29724             fi
29725     esac
29726
29727
29728   for wx_func in putws fputws wprintf vswprintf vswscanf
29729   do
29730     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
29731 $as_echo_n "checking for $wx_func... " >&6; }
29732 if eval "test \"\${wx_cv_func_$wx_func+set}\"" = set; then :
29733   $as_echo_n "(cached) " >&6
29734 else
29735
29736         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29737 /* end confdefs.h.  */
29738
29739
29740                 $wchar_headers
29741                 $ac_includes_default
29742
29743 int
29744 main ()
29745 {
29746
29747                 #ifndef $wx_func
29748                   &$wx_func;
29749                 #endif
29750
29751
29752   ;
29753   return 0;
29754 }
29755
29756 _ACEOF
29757 if ac_fn_c_try_link "$LINENO"; then :
29758   eval wx_cv_func_$wx_func=yes
29759 else
29760   eval wx_cv_func_$wx_func=no
29761 fi
29762 rm -f core conftest.err conftest.$ac_objext \
29763     conftest$ac_exeext conftest.$ac_ext
29764
29765 fi
29766 eval ac_res=\$wx_cv_func_$wx_func
29767                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
29768 $as_echo "$ac_res" >&6; }
29769
29770     if eval test \$wx_cv_func_$wx_func = yes
29771     then
29772       cat >>confdefs.h <<_ACEOF
29773 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
29774 _ACEOF
29775
29776
29777     else
29778       :
29779
29780     fi
29781   done
29782
29783
29784                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _vsnwprintf" >&5
29785 $as_echo_n "checking for _vsnwprintf... " >&6; }
29786     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29787 /* end confdefs.h.  */
29788 #include <wchar.h>
29789 int
29790 main ()
29791 {
29792 &_vsnwprintf;
29793   ;
29794   return 0;
29795 }
29796 _ACEOF
29797 if ac_fn_c_try_compile "$LINENO"; then :
29798   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29799 $as_echo "yes" >&6; }
29800                     $as_echo "#define HAVE__VSNWPRINTF 1" >>confdefs.h
29801
29802 else
29803   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29804 $as_echo "no" >&6; }
29805 fi
29806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
29807 fi
29808
29809 if test "$wxUSE_FILE" = "yes"; then
29810
29811   for wx_func in fsync
29812   do
29813     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
29814 $as_echo_n "checking for $wx_func... " >&6; }
29815 if eval "test \"\${wx_cv_func_$wx_func+set}\"" = set; then :
29816   $as_echo_n "(cached) " >&6
29817 else
29818
29819         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29820 /* end confdefs.h.  */
29821
29822
29823
29824                 $ac_includes_default
29825
29826 int
29827 main ()
29828 {
29829
29830                 #ifndef $wx_func
29831                   &$wx_func;
29832                 #endif
29833
29834
29835   ;
29836   return 0;
29837 }
29838
29839 _ACEOF
29840 if ac_fn_c_try_link "$LINENO"; then :
29841   eval wx_cv_func_$wx_func=yes
29842 else
29843   eval wx_cv_func_$wx_func=no
29844 fi
29845 rm -f core conftest.err conftest.$ac_objext \
29846     conftest$ac_exeext conftest.$ac_ext
29847
29848 fi
29849 eval ac_res=\$wx_cv_func_$wx_func
29850                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
29851 $as_echo "$ac_res" >&6; }
29852
29853     if eval test \$wx_cv_func_$wx_func = yes
29854     then
29855       cat >>confdefs.h <<_ACEOF
29856 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
29857 _ACEOF
29858
29859
29860     else
29861       :
29862
29863     fi
29864   done
29865
29866 fi
29867
29868 ac_ext=cpp
29869 ac_cpp='$CXXCPP $CPPFLAGS'
29870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29873
29874
29875   for wx_func in round
29876   do
29877     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
29878 $as_echo_n "checking for $wx_func... " >&6; }
29879 if eval "test \"\${wx_cv_func_$wx_func+set}\"" = set; then :
29880   $as_echo_n "(cached) " >&6
29881 else
29882
29883         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29884 /* end confdefs.h.  */
29885
29886
29887                 #include <math.h>
29888                 $ac_includes_default
29889
29890 int
29891 main ()
29892 {
29893
29894                 #ifndef $wx_func
29895                   &$wx_func;
29896                 #endif
29897
29898
29899   ;
29900   return 0;
29901 }
29902
29903 _ACEOF
29904 if ac_fn_cxx_try_link "$LINENO"; then :
29905   eval wx_cv_func_$wx_func=yes
29906 else
29907   eval wx_cv_func_$wx_func=no
29908 fi
29909 rm -f core conftest.err conftest.$ac_objext \
29910     conftest$ac_exeext conftest.$ac_ext
29911
29912 fi
29913 eval ac_res=\$wx_cv_func_$wx_func
29914                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
29915 $as_echo "$ac_res" >&6; }
29916
29917     if eval test \$wx_cv_func_$wx_func = yes
29918     then
29919       cat >>confdefs.h <<_ACEOF
29920 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
29921 _ACEOF
29922
29923
29924     else
29925       :
29926
29927     fi
29928   done
29929
29930 ac_ext=c
29931 ac_cpp='$CPP $CPPFLAGS'
29932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29935
29936
29937 if test "$TOOLKIT" != "MSW"; then
29938
29939 if test "$wxUSE_LIBICONV" != "no" ; then
29940
29941
29942
29943 # Check whether --with-libiconv-prefix was given.
29944 if test "${with_libiconv_prefix+set}" = set; then :
29945   withval=$with_libiconv_prefix;
29946     for dir in `echo "$withval" | tr : ' '`; do
29947       if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
29948       if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
29949     done
29950
29951 fi
29952
29953
29954   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
29955 $as_echo_n "checking for iconv... " >&6; }
29956 if test "${am_cv_func_iconv+set}" = set; then :
29957   $as_echo_n "(cached) " >&6
29958 else
29959
29960     am_cv_func_iconv="no, consider installing GNU libiconv"
29961     am_cv_lib_iconv=no
29962     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29963 /* end confdefs.h.  */
29964 #include <stdlib.h>
29965 #include <iconv.h>
29966 int
29967 main ()
29968 {
29969 iconv_t cd = iconv_open("","");
29970        iconv(cd,NULL,NULL,NULL,NULL);
29971        iconv_close(cd);
29972   ;
29973   return 0;
29974 }
29975 _ACEOF
29976 if ac_fn_c_try_link "$LINENO"; then :
29977   am_cv_func_iconv=yes
29978 fi
29979 rm -f core conftest.err conftest.$ac_objext \
29980     conftest$ac_exeext conftest.$ac_ext
29981     if test "$am_cv_func_iconv" != yes; then
29982       am_save_LIBS="$LIBS"
29983       LIBS="$LIBS -liconv"
29984       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29985 /* end confdefs.h.  */
29986 #include <stdlib.h>
29987 #include <iconv.h>
29988 int
29989 main ()
29990 {
29991 iconv_t cd = iconv_open("","");
29992          iconv(cd,NULL,NULL,NULL,NULL);
29993          iconv_close(cd);
29994   ;
29995   return 0;
29996 }
29997 _ACEOF
29998 if ac_fn_c_try_link "$LINENO"; then :
29999   am_cv_lib_iconv=yes
30000         am_cv_func_iconv=yes
30001 fi
30002 rm -f core conftest.err conftest.$ac_objext \
30003     conftest$ac_exeext conftest.$ac_ext
30004       LIBS="$am_save_LIBS"
30005     fi
30006
30007 fi
30008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
30009 $as_echo "$am_cv_func_iconv" >&6; }
30010   if test "$am_cv_func_iconv" = yes; then
30011
30012 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
30013
30014     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if iconv needs const" >&5
30015 $as_echo_n "checking if iconv needs const... " >&6; }
30016 if test "${wx_cv_func_iconv_const+set}" = set; then :
30017   $as_echo_n "(cached) " >&6
30018 else
30019   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30020 /* end confdefs.h.  */
30021
30022 #include <stdlib.h>
30023 #include <iconv.h>
30024 extern
30025 #ifdef __cplusplus
30026 "C"
30027 #endif
30028 #if defined(__STDC__) || defined(__cplusplus)
30029 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
30030 #else
30031 size_t iconv();
30032 #endif
30033
30034 int
30035 main ()
30036 {
30037
30038   ;
30039   return 0;
30040 }
30041 _ACEOF
30042 if ac_fn_c_try_compile "$LINENO"; then :
30043   wx_cv_func_iconv_const="no"
30044 else
30045   wx_cv_func_iconv_const="yes"
30046
30047 fi
30048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30049
30050 fi
30051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_iconv_const" >&5
30052 $as_echo "$wx_cv_func_iconv_const" >&6; }
30053
30054     iconv_const=
30055     if test "x$wx_cv_func_iconv_const" = "xyes"; then
30056         iconv_const="const"
30057     fi
30058
30059
30060 cat >>confdefs.h <<_ACEOF
30061 #define ICONV_CONST $iconv_const
30062 _ACEOF
30063
30064   fi
30065   LIBICONV=
30066   if test "$am_cv_lib_iconv" = yes; then
30067     LIBICONV="-liconv"
30068   fi
30069
30070
30071     LIBS="$LIBICONV $LIBS"
30072 fi
30073
30074 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
30075     for ac_func in sigaction
30076 do :
30077   ac_fn_c_check_func "$LINENO" "sigaction" "ac_cv_func_sigaction"
30078 if test "x$ac_cv_func_sigaction" = x""yes; then :
30079   cat >>confdefs.h <<_ACEOF
30080 #define HAVE_SIGACTION 1
30081 _ACEOF
30082
30083 fi
30084 done
30085
30086
30087     if test "$ac_cv_func_sigaction" = "no"; then
30088         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
30089 $as_echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
30090         wxUSE_ON_FATAL_EXCEPTION=no
30091     fi
30092
30093     if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
30094       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sa_handler type" >&5
30095 $as_echo_n "checking for sa_handler type... " >&6; }
30096 if test "${wx_cv_type_sa_handler+set}" = set; then :
30097   $as_echo_n "(cached) " >&6
30098 else
30099
30100                 ac_ext=cpp
30101 ac_cpp='$CXXCPP $CPPFLAGS'
30102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30105
30106         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30107 /* end confdefs.h.  */
30108 #include <signal.h>
30109 int
30110 main ()
30111 {
30112
30113                         extern void testSigHandler(int);
30114
30115                         struct sigaction sa;
30116                         sa.sa_handler = testSigHandler;
30117
30118   ;
30119   return 0;
30120 }
30121 _ACEOF
30122 if ac_fn_cxx_try_compile "$LINENO"; then :
30123
30124                         wx_cv_type_sa_handler=int
30125
30126 else
30127
30128                         wx_cv_type_sa_handler=void
30129
30130 fi
30131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30132         ac_ext=c
30133 ac_cpp='$CPP $CPPFLAGS'
30134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30137
30138
30139 fi
30140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_sa_handler" >&5
30141 $as_echo "$wx_cv_type_sa_handler" >&6; }
30142
30143       cat >>confdefs.h <<_ACEOF
30144 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
30145 _ACEOF
30146
30147     fi
30148 fi
30149
30150 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
30151     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for backtrace() in <execinfo.h>" >&5
30152 $as_echo_n "checking for backtrace() in <execinfo.h>... " >&6; }
30153 if test "${wx_cv_func_backtrace+set}" = set; then :
30154   $as_echo_n "(cached) " >&6
30155 else
30156
30157             ac_ext=cpp
30158 ac_cpp='$CXXCPP $CPPFLAGS'
30159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30162
30163             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30164 /* end confdefs.h.  */
30165 #include <execinfo.h>
30166 int
30167 main ()
30168 {
30169
30170                     void *trace[1];
30171                     char **messages;
30172
30173                     backtrace(trace, 1);
30174                     messages = backtrace_symbols(trace, 1);
30175
30176   ;
30177   return 0;
30178 }
30179 _ACEOF
30180 if ac_fn_cxx_try_compile "$LINENO"; then :
30181   wx_cv_func_backtrace=yes
30182 else
30183   wx_cv_func_backtrace=no
30184
30185 fi
30186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30187             ac_ext=c
30188 ac_cpp='$CPP $CPPFLAGS'
30189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30192
30193
30194
30195 fi
30196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_backtrace" >&5
30197 $as_echo "$wx_cv_func_backtrace" >&6; }
30198
30199
30200     if test "$wx_cv_func_backtrace" = "no"; then
30201         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
30202 $as_echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
30203         wxUSE_STACKWALKER=no
30204     else
30205         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __cxa_demangle() in <cxxabi.h>" >&5
30206 $as_echo_n "checking for __cxa_demangle() in <cxxabi.h>... " >&6; }
30207 if test "${wx_cv_func_cxa_demangle+set}" = set; then :
30208   $as_echo_n "(cached) " >&6
30209 else
30210
30211                 ac_ext=cpp
30212 ac_cpp='$CXXCPP $CPPFLAGS'
30213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30216
30217                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30218 /* end confdefs.h.  */
30219 #include <cxxabi.h>
30220 int
30221 main ()
30222 {
30223
30224                         int rc;
30225                         __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
30226
30227   ;
30228   return 0;
30229 }
30230 _ACEOF
30231 if ac_fn_cxx_try_link "$LINENO"; then :
30232   wx_cv_func_cxa_demangle=yes
30233 else
30234   wx_cv_func_cxa_demangle=no
30235
30236 fi
30237 rm -f core conftest.err conftest.$ac_objext \
30238     conftest$ac_exeext conftest.$ac_ext
30239                 ac_ext=c
30240 ac_cpp='$CPP $CPPFLAGS'
30241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30244
30245
30246
30247 fi
30248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_cxa_demangle" >&5
30249 $as_echo "$wx_cv_func_cxa_demangle" >&6; }
30250
30251         if test "$wx_cv_func_cxa_demangle" = "yes"; then
30252             $as_echo "#define HAVE_CXA_DEMANGLE 1" >>confdefs.h
30253
30254         fi
30255     fi
30256 fi
30257
30258 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
30259     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
30260 $as_echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
30261     wxUSE_STACKWALKER=no
30262 fi
30263
30264
30265 for ac_func in mkstemp mktemp
30266 do :
30267   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30268 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30269 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30270   cat >>confdefs.h <<_ACEOF
30271 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30272 _ACEOF
30273  break
30274 fi
30275 done
30276
30277
30278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statfs" >&5
30279 $as_echo_n "checking for statfs... " >&6; }
30280 if test "${wx_cv_func_statfs+set}" = set; then :
30281   $as_echo_n "(cached) " >&6
30282 else
30283   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30284 /* end confdefs.h.  */
30285
30286              #if defined(__BSD__)
30287              #include <sys/param.h>
30288              #include <sys/mount.h>
30289              #else
30290              #include <sys/vfs.h>
30291              #endif
30292
30293 int
30294 main ()
30295 {
30296
30297              long l;
30298              struct statfs fs;
30299              statfs("/", &fs);
30300              l = fs.f_bsize;
30301              l += fs.f_blocks;
30302              l += fs.f_bavail;
30303
30304   ;
30305   return 0;
30306 }
30307 _ACEOF
30308 if ac_fn_c_try_compile "$LINENO"; then :
30309   wx_cv_func_statfs=yes
30310 else
30311   wx_cv_func_statfs=no
30312
30313 fi
30314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30315
30316 fi
30317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_statfs" >&5
30318 $as_echo "$wx_cv_func_statfs" >&6; }
30319
30320 if test "$wx_cv_func_statfs" = "yes"; then
30321         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statfs declaration" >&5
30322 $as_echo_n "checking for statfs declaration... " >&6; }
30323 if test "${wx_cv_func_statfs_decl+set}" = set; then :
30324   $as_echo_n "(cached) " >&6
30325 else
30326   ac_ext=cpp
30327 ac_cpp='$CXXCPP $CPPFLAGS'
30328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30331
30332         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30333 /* end confdefs.h.  */
30334
30335                  #if defined(__BSD__)
30336                  #include <sys/param.h>
30337                  #include <sys/mount.h>
30338                  #else
30339                  #include <sys/vfs.h>
30340                  #endif
30341
30342 int
30343 main ()
30344 {
30345
30346                 struct statfs fs;
30347                 statfs("", &fs);
30348
30349   ;
30350   return 0;
30351 }
30352 _ACEOF
30353 if ac_fn_cxx_try_compile "$LINENO"; then :
30354   wx_cv_func_statfs_decl=yes
30355 else
30356   wx_cv_func_statfs_decl=no
30357
30358 fi
30359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30360         ac_ext=c
30361 ac_cpp='$CPP $CPPFLAGS'
30362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30365
30366
30367 fi
30368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_statfs_decl" >&5
30369 $as_echo "$wx_cv_func_statfs_decl" >&6; }
30370
30371     if test "$wx_cv_func_statfs_decl" = "yes"; then
30372         $as_echo "#define HAVE_STATFS_DECL 1" >>confdefs.h
30373
30374     fi
30375
30376     wx_cv_type_statvfs_t="struct statfs"
30377     $as_echo "#define HAVE_STATFS 1" >>confdefs.h
30378
30379 else
30380     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statvfs" >&5
30381 $as_echo_n "checking for statvfs... " >&6; }
30382 if test "${wx_cv_func_statvfs+set}" = set; then :
30383   $as_echo_n "(cached) " >&6
30384 else
30385   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30386 /* end confdefs.h.  */
30387
30388                 #include <stddef.h>
30389                 #include <sys/statvfs.h>
30390
30391 int
30392 main ()
30393 {
30394
30395                 statvfs("/", NULL);
30396
30397   ;
30398   return 0;
30399 }
30400 _ACEOF
30401 if ac_fn_c_try_compile "$LINENO"; then :
30402   wx_cv_func_statvfs=yes
30403 else
30404   wx_cv_func_statvfs=no
30405
30406 fi
30407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30408
30409 fi
30410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_statvfs" >&5
30411 $as_echo "$wx_cv_func_statvfs" >&6; }
30412
30413     if test "$wx_cv_func_statvfs" = "yes"; then
30414                                                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statvfs argument type" >&5
30415 $as_echo_n "checking for statvfs argument type... " >&6; }
30416 if test "${wx_cv_type_statvfs_t+set}" = set; then :
30417   $as_echo_n "(cached) " >&6
30418 else
30419   ac_ext=cpp
30420 ac_cpp='$CXXCPP $CPPFLAGS'
30421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30424
30425             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30426 /* end confdefs.h.  */
30427
30428                     #include <sys/statvfs.h>
30429
30430 int
30431 main ()
30432 {
30433
30434                     long l;
30435                     statvfs_t fs;
30436                     statvfs("/", &fs);
30437                     l = fs.f_bsize;
30438                     l += fs.f_blocks;
30439                     l += fs.f_bavail;
30440
30441   ;
30442   return 0;
30443 }
30444 _ACEOF
30445 if ac_fn_cxx_try_compile "$LINENO"; then :
30446   wx_cv_type_statvfs_t=statvfs_t
30447 else
30448
30449                     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30450 /* end confdefs.h.  */
30451
30452                             #include <sys/statvfs.h>
30453
30454 int
30455 main ()
30456 {
30457
30458                             long l;
30459                             struct statvfs fs;
30460                             statvfs("/", &fs);
30461                             l = fs.f_bsize;
30462                             l += fs.f_blocks;
30463                             l += fs.f_bavail;
30464
30465   ;
30466   return 0;
30467 }
30468 _ACEOF
30469 if ac_fn_cxx_try_compile "$LINENO"; then :
30470   wx_cv_type_statvfs_t="struct statvfs"
30471 else
30472   wx_cv_type_statvfs_t="unknown"
30473
30474 fi
30475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30476
30477
30478 fi
30479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30480             ac_ext=c
30481 ac_cpp='$CPP $CPPFLAGS'
30482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30485
30486
30487 fi
30488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_statvfs_t" >&5
30489 $as_echo "$wx_cv_type_statvfs_t" >&6; }
30490
30491         if test "$wx_cv_type_statvfs_t" != "unknown"; then
30492             $as_echo "#define HAVE_STATVFS 1" >>confdefs.h
30493
30494         fi
30495     else
30496                 wx_cv_type_statvfs_t="unknown"
30497     fi
30498 fi
30499
30500 if test "$wx_cv_type_statvfs_t" != "unknown"; then
30501     cat >>confdefs.h <<_ACEOF
30502 #define WX_STATFS_T $wx_cv_type_statvfs_t
30503 _ACEOF
30504
30505 else
30506     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
30507 $as_echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
30508 fi
30509
30510 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
30511     for ac_func in fcntl flock
30512 do :
30513   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30514 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30515 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30516   cat >>confdefs.h <<_ACEOF
30517 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30518 _ACEOF
30519  break
30520 fi
30521 done
30522
30523
30524     if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
30525         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxSingleInstanceChecker not available" >&5
30526 $as_echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
30527         wxUSE_SNGLINST_CHECKER=no
30528     fi
30529 fi
30530
30531 for ac_func in setenv putenv
30532 do :
30533   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30534 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30535 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30536   cat >>confdefs.h <<_ACEOF
30537 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30538 _ACEOF
30539  break
30540 fi
30541 done
30542
30543 if test "$ac_cv_func_setenv" = "yes"; then
30544     for ac_func in unsetenv
30545 do :
30546   ac_fn_c_check_func "$LINENO" "unsetenv" "ac_cv_func_unsetenv"
30547 if test "x$ac_cv_func_unsetenv" = x""yes; then :
30548   cat >>confdefs.h <<_ACEOF
30549 #define HAVE_UNSETENV 1
30550 _ACEOF
30551
30552 fi
30553 done
30554
30555 fi
30556
30557 HAVE_SOME_SLEEP_FUNC=0
30558 if test "$USE_BEOS" = 1; then
30559             $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
30560
30561     HAVE_SOME_SLEEP_FUNC=1
30562 fi
30563
30564 if test "$USE_DARWIN" = 1; then
30565             $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
30566
30567     HAVE_SOME_SLEEP_FUNC=1
30568 fi
30569
30570 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
30571         POSIX4_LINK=
30572     for ac_func in nanosleep
30573 do :
30574   ac_fn_c_check_func "$LINENO" "nanosleep" "ac_cv_func_nanosleep"
30575 if test "x$ac_cv_func_nanosleep" = x""yes; then :
30576   cat >>confdefs.h <<_ACEOF
30577 #define HAVE_NANOSLEEP 1
30578 _ACEOF
30579  $as_echo "#define HAVE_NANOSLEEP 1" >>confdefs.h
30580
30581 else
30582
30583             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep in -lposix4" >&5
30584 $as_echo_n "checking for nanosleep in -lposix4... " >&6; }
30585 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then :
30586   $as_echo_n "(cached) " >&6
30587 else
30588   ac_check_lib_save_LIBS=$LIBS
30589 LIBS="-lposix4  $LIBS"
30590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30591 /* end confdefs.h.  */
30592
30593 /* Override any GCC internal prototype to avoid an error.
30594    Use char because int might match the return type of a GCC
30595    builtin and then its argument prototype would still apply.  */
30596 #ifdef __cplusplus
30597 extern "C"
30598 #endif
30599 char nanosleep ();
30600 int
30601 main ()
30602 {
30603 return nanosleep ();
30604   ;
30605   return 0;
30606 }
30607 _ACEOF
30608 if ac_fn_c_try_link "$LINENO"; then :
30609   ac_cv_lib_posix4_nanosleep=yes
30610 else
30611   ac_cv_lib_posix4_nanosleep=no
30612 fi
30613 rm -f core conftest.err conftest.$ac_objext \
30614     conftest$ac_exeext conftest.$ac_ext
30615 LIBS=$ac_check_lib_save_LIBS
30616 fi
30617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_nanosleep" >&5
30618 $as_echo "$ac_cv_lib_posix4_nanosleep" >&6; }
30619 if test "x$ac_cv_lib_posix4_nanosleep" = x""yes; then :
30620
30621                     $as_echo "#define HAVE_NANOSLEEP 1" >>confdefs.h
30622
30623                     POSIX4_LINK=" -lposix4"
30624
30625 else
30626
30627
30628   for wx_func in usleep
30629   do
30630     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30631 $as_echo_n "checking for $wx_func... " >&6; }
30632 if eval "test \"\${wx_cv_func_$wx_func+set}\"" = set; then :
30633   $as_echo_n "(cached) " >&6
30634 else
30635
30636         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30637 /* end confdefs.h.  */
30638
30639
30640
30641                 $ac_includes_default
30642
30643 int
30644 main ()
30645 {
30646
30647                 #ifndef $wx_func
30648                   &$wx_func;
30649                 #endif
30650
30651
30652   ;
30653   return 0;
30654 }
30655
30656 _ACEOF
30657 if ac_fn_c_try_link "$LINENO"; then :
30658   eval wx_cv_func_$wx_func=yes
30659 else
30660   eval wx_cv_func_$wx_func=no
30661 fi
30662 rm -f core conftest.err conftest.$ac_objext \
30663     conftest$ac_exeext conftest.$ac_ext
30664
30665 fi
30666 eval ac_res=\$wx_cv_func_$wx_func
30667                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30668 $as_echo "$ac_res" >&6; }
30669
30670     if eval test \$wx_cv_func_$wx_func = yes
30671     then
30672       cat >>confdefs.h <<_ACEOF
30673 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
30674 _ACEOF
30675
30676
30677     else
30678       :
30679       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxSleep() function will not work" >&5
30680 $as_echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
30681
30682     fi
30683   done
30684
30685
30686
30687 fi
30688
30689
30690
30691 fi
30692 done
30693
30694 fi
30695
30696
30697   for wx_func in uname
30698   do
30699     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30700 $as_echo_n "checking for $wx_func... " >&6; }
30701 if eval "test \"\${wx_cv_func_$wx_func+set}\"" = set; then :
30702   $as_echo_n "(cached) " >&6
30703 else
30704
30705         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30706 /* end confdefs.h.  */
30707
30708
30709                 #include <sys/utsname.h>
30710                 $ac_includes_default
30711
30712 int
30713 main ()
30714 {
30715
30716                 #ifndef $wx_func
30717                   &$wx_func;
30718                 #endif
30719
30720
30721   ;
30722   return 0;
30723 }
30724
30725 _ACEOF
30726 if ac_fn_c_try_link "$LINENO"; then :
30727   eval wx_cv_func_$wx_func=yes
30728 else
30729   eval wx_cv_func_$wx_func=no
30730 fi
30731 rm -f core conftest.err conftest.$ac_objext \
30732     conftest$ac_exeext conftest.$ac_ext
30733
30734 fi
30735 eval ac_res=\$wx_cv_func_$wx_func
30736                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30737 $as_echo "$ac_res" >&6; }
30738
30739     if eval test \$wx_cv_func_$wx_func = yes
30740     then
30741       cat >>confdefs.h <<_ACEOF
30742 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
30743 _ACEOF
30744
30745
30746     else
30747       :
30748
30749     fi
30750   done
30751
30752 if test "$wx_cv_func_uname" != yes; then
30753
30754   for wx_func in gethostname
30755   do
30756     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30757 $as_echo_n "checking for $wx_func... " >&6; }
30758 if eval "test \"\${wx_cv_func_$wx_func+set}\"" = set; then :
30759   $as_echo_n "(cached) " >&6
30760 else
30761
30762         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30763 /* end confdefs.h.  */
30764
30765
30766
30767                 $ac_includes_default
30768
30769 int
30770 main ()
30771 {
30772
30773                 #ifndef $wx_func
30774                   &$wx_func;
30775                 #endif
30776
30777
30778   ;
30779   return 0;
30780 }
30781
30782 _ACEOF
30783 if ac_fn_c_try_link "$LINENO"; then :
30784   eval wx_cv_func_$wx_func=yes
30785 else
30786   eval wx_cv_func_$wx_func=no
30787 fi
30788 rm -f core conftest.err conftest.$ac_objext \
30789     conftest$ac_exeext conftest.$ac_ext
30790
30791 fi
30792 eval ac_res=\$wx_cv_func_$wx_func
30793                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30794 $as_echo "$ac_res" >&6; }
30795
30796     if eval test \$wx_cv_func_$wx_func = yes
30797     then
30798       cat >>confdefs.h <<_ACEOF
30799 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
30800 _ACEOF
30801
30802
30803     else
30804       :
30805
30806     fi
30807   done
30808
30809 fi
30810
30811
30812   for wx_func in strtok_r
30813   do
30814     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30815 $as_echo_n "checking for $wx_func... " >&6; }
30816 if eval "test \"\${wx_cv_func_$wx_func+set}\"" = set; then :
30817   $as_echo_n "(cached) " >&6
30818 else
30819
30820         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30821 /* end confdefs.h.  */
30822
30823
30824                 #define _REENTRANT
30825                 $ac_includes_default
30826
30827 int
30828 main ()
30829 {
30830
30831                 #ifndef $wx_func
30832                   &$wx_func;
30833                 #endif
30834
30835
30836   ;
30837   return 0;
30838 }
30839
30840 _ACEOF
30841 if ac_fn_c_try_link "$LINENO"; then :
30842   eval wx_cv_func_$wx_func=yes
30843 else
30844   eval wx_cv_func_$wx_func=no
30845 fi
30846 rm -f core conftest.err conftest.$ac_objext \
30847     conftest$ac_exeext conftest.$ac_ext
30848
30849 fi
30850 eval ac_res=\$wx_cv_func_$wx_func
30851                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30852 $as_echo "$ac_res" >&6; }
30853
30854     if eval test \$wx_cv_func_$wx_func = yes
30855     then
30856       cat >>confdefs.h <<_ACEOF
30857 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
30858 _ACEOF
30859
30860
30861     else
30862       :
30863
30864     fi
30865   done
30866
30867
30868 INET_LINK=
30869 for ac_func in inet_addr
30870 do :
30871   ac_fn_c_check_func "$LINENO" "inet_addr" "ac_cv_func_inet_addr"
30872 if test "x$ac_cv_func_inet_addr" = x""yes; then :
30873   cat >>confdefs.h <<_ACEOF
30874 #define HAVE_INET_ADDR 1
30875 _ACEOF
30876  $as_echo "#define HAVE_INET_ADDR 1" >>confdefs.h
30877
30878 else
30879
30880         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -lnsl" >&5
30881 $as_echo_n "checking for inet_addr in -lnsl... " >&6; }
30882 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then :
30883   $as_echo_n "(cached) " >&6
30884 else
30885   ac_check_lib_save_LIBS=$LIBS
30886 LIBS="-lnsl  $LIBS"
30887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30888 /* end confdefs.h.  */
30889
30890 /* Override any GCC internal prototype to avoid an error.
30891    Use char because int might match the return type of a GCC
30892    builtin and then its argument prototype would still apply.  */
30893 #ifdef __cplusplus
30894 extern "C"
30895 #endif
30896 char inet_addr ();
30897 int
30898 main ()
30899 {
30900 return inet_addr ();
30901   ;
30902   return 0;
30903 }
30904 _ACEOF
30905 if ac_fn_c_try_link "$LINENO"; then :
30906   ac_cv_lib_nsl_inet_addr=yes
30907 else
30908   ac_cv_lib_nsl_inet_addr=no
30909 fi
30910 rm -f core conftest.err conftest.$ac_objext \
30911     conftest$ac_exeext conftest.$ac_ext
30912 LIBS=$ac_check_lib_save_LIBS
30913 fi
30914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_inet_addr" >&5
30915 $as_echo "$ac_cv_lib_nsl_inet_addr" >&6; }
30916 if test "x$ac_cv_lib_nsl_inet_addr" = x""yes; then :
30917   INET_LINK="nsl"
30918 else
30919
30920                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -lresolv" >&5
30921 $as_echo_n "checking for inet_addr in -lresolv... " >&6; }
30922 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then :
30923   $as_echo_n "(cached) " >&6
30924 else
30925   ac_check_lib_save_LIBS=$LIBS
30926 LIBS="-lresolv  $LIBS"
30927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30928 /* end confdefs.h.  */
30929
30930 /* Override any GCC internal prototype to avoid an error.
30931    Use char because int might match the return type of a GCC
30932    builtin and then its argument prototype would still apply.  */
30933 #ifdef __cplusplus
30934 extern "C"
30935 #endif
30936 char inet_addr ();
30937 int
30938 main ()
30939 {
30940 return inet_addr ();
30941   ;
30942   return 0;
30943 }
30944 _ACEOF
30945 if ac_fn_c_try_link "$LINENO"; then :
30946   ac_cv_lib_resolv_inet_addr=yes
30947 else
30948   ac_cv_lib_resolv_inet_addr=no
30949 fi
30950 rm -f core conftest.err conftest.$ac_objext \
30951     conftest$ac_exeext conftest.$ac_ext
30952 LIBS=$ac_check_lib_save_LIBS
30953 fi
30954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_inet_addr" >&5
30955 $as_echo "$ac_cv_lib_resolv_inet_addr" >&6; }
30956 if test "x$ac_cv_lib_resolv_inet_addr" = x""yes; then :
30957   INET_LINK="resolv"
30958 else
30959
30960                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -lsocket" >&5
30961 $as_echo_n "checking for inet_addr in -lsocket... " >&6; }
30962 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then :
30963   $as_echo_n "(cached) " >&6
30964 else
30965   ac_check_lib_save_LIBS=$LIBS
30966 LIBS="-lsocket  $LIBS"
30967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30968 /* end confdefs.h.  */
30969
30970 /* Override any GCC internal prototype to avoid an error.
30971    Use char because int might match the return type of a GCC
30972    builtin and then its argument prototype would still apply.  */
30973 #ifdef __cplusplus
30974 extern "C"
30975 #endif
30976 char inet_addr ();
30977 int
30978 main ()
30979 {
30980 return inet_addr ();
30981   ;
30982   return 0;
30983 }
30984 _ACEOF
30985 if ac_fn_c_try_link "$LINENO"; then :
30986   ac_cv_lib_socket_inet_addr=yes
30987 else
30988   ac_cv_lib_socket_inet_addr=no
30989 fi
30990 rm -f core conftest.err conftest.$ac_objext \
30991     conftest$ac_exeext conftest.$ac_ext
30992 LIBS=$ac_check_lib_save_LIBS
30993 fi
30994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_inet_addr" >&5
30995 $as_echo "$ac_cv_lib_socket_inet_addr" >&6; }
30996 if test "x$ac_cv_lib_socket_inet_addr" = x""yes; then :
30997   INET_LINK="socket"
30998
30999 fi
31000
31001
31002
31003 fi
31004
31005
31006
31007 fi
31008
31009
31010
31011 fi
31012 done
31013
31014
31015 for ac_func in inet_aton
31016 do :
31017   ac_fn_c_check_func "$LINENO" "inet_aton" "ac_cv_func_inet_aton"
31018 if test "x$ac_cv_func_inet_aton" = x""yes; then :
31019   cat >>confdefs.h <<_ACEOF
31020 #define HAVE_INET_ATON 1
31021 _ACEOF
31022  $as_echo "#define HAVE_INET_ATON 1" >>confdefs.h
31023
31024 else
31025
31026                         as_ac_Lib=`$as_echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
31027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_aton in -l$INET_LINK" >&5
31028 $as_echo_n "checking for inet_aton in -l$INET_LINK... " >&6; }
31029 if eval "test \"\${$as_ac_Lib+set}\"" = set; then :
31030   $as_echo_n "(cached) " >&6
31031 else
31032   ac_check_lib_save_LIBS=$LIBS
31033 LIBS="-l$INET_LINK  $LIBS"
31034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31035 /* end confdefs.h.  */
31036
31037 /* Override any GCC internal prototype to avoid an error.
31038    Use char because int might match the return type of a GCC
31039    builtin and then its argument prototype would still apply.  */
31040 #ifdef __cplusplus
31041 extern "C"
31042 #endif
31043 char inet_aton ();
31044 int
31045 main ()
31046 {
31047 return inet_aton ();
31048   ;
31049   return 0;
31050 }
31051 _ACEOF
31052 if ac_fn_c_try_link "$LINENO"; then :
31053   eval "$as_ac_Lib=yes"
31054 else
31055   eval "$as_ac_Lib=no"
31056 fi
31057 rm -f core conftest.err conftest.$ac_objext \
31058     conftest$ac_exeext conftest.$ac_ext
31059 LIBS=$ac_check_lib_save_LIBS
31060 fi
31061 eval ac_res=\$$as_ac_Lib
31062                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31063 $as_echo "$ac_res" >&6; }
31064 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
31065   $as_echo "#define HAVE_INET_ATON 1" >>confdefs.h
31066
31067 fi
31068
31069
31070 fi
31071 done
31072
31073
31074 if test "x$INET_LINK" != "x"; then
31075     $as_echo "#define HAVE_INET_ADDR 1" >>confdefs.h
31076
31077     INET_LINK=" -l$INET_LINK"
31078 fi
31079
31080
31081   for wx_func in fdopen
31082   do
31083     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31084 $as_echo_n "checking for $wx_func... " >&6; }
31085 if eval "test \"\${wx_cv_func_$wx_func+set}\"" = set; then :
31086   $as_echo_n "(cached) " >&6
31087 else
31088
31089         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31090 /* end confdefs.h.  */
31091
31092
31093
31094                 $ac_includes_default
31095
31096 int
31097 main ()
31098 {
31099
31100                 #ifndef $wx_func
31101                   &$wx_func;
31102                 #endif
31103
31104
31105   ;
31106   return 0;
31107 }
31108
31109 _ACEOF
31110 if ac_fn_c_try_link "$LINENO"; then :
31111   eval wx_cv_func_$wx_func=yes
31112 else
31113   eval wx_cv_func_$wx_func=no
31114 fi
31115 rm -f core conftest.err conftest.$ac_objext \
31116     conftest$ac_exeext conftest.$ac_ext
31117
31118 fi
31119 eval ac_res=\$wx_cv_func_$wx_func
31120                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31121 $as_echo "$ac_res" >&6; }
31122
31123     if eval test \$wx_cv_func_$wx_func = yes
31124     then
31125       cat >>confdefs.h <<_ACEOF
31126 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31127 _ACEOF
31128
31129
31130     else
31131       :
31132
31133     fi
31134   done
31135
31136
31137 if test "$wxUSE_TARSTREAM" = "yes"; then
31138
31139   for wx_func in sysconf
31140   do
31141     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31142 $as_echo_n "checking for $wx_func... " >&6; }
31143 if eval "test \"\${wx_cv_func_$wx_func+set}\"" = set; then :
31144   $as_echo_n "(cached) " >&6
31145 else
31146
31147         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31148 /* end confdefs.h.  */
31149
31150
31151
31152                 $ac_includes_default
31153
31154 int
31155 main ()
31156 {
31157
31158                 #ifndef $wx_func
31159                   &$wx_func;
31160                 #endif
31161
31162
31163   ;
31164   return 0;
31165 }
31166
31167 _ACEOF
31168 if ac_fn_c_try_link "$LINENO"; then :
31169   eval wx_cv_func_$wx_func=yes
31170 else
31171   eval wx_cv_func_$wx_func=no
31172 fi
31173 rm -f core conftest.err conftest.$ac_objext \
31174     conftest$ac_exeext conftest.$ac_ext
31175
31176 fi
31177 eval ac_res=\$wx_cv_func_$wx_func
31178                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31179 $as_echo "$ac_res" >&6; }
31180
31181     if eval test \$wx_cv_func_$wx_func = yes
31182     then
31183       cat >>confdefs.h <<_ACEOF
31184 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31185 _ACEOF
31186
31187
31188     else
31189       :
31190
31191     fi
31192   done
31193
31194
31195
31196   for wx_func in getpwuid_r
31197   do
31198     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31199 $as_echo_n "checking for $wx_func... " >&6; }
31200 if eval "test \"\${wx_cv_func_$wx_func+set}\"" = set; then :
31201   $as_echo_n "(cached) " >&6
31202 else
31203
31204         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31205 /* end confdefs.h.  */
31206
31207
31208
31209                     #define _REENTRANT
31210                     #include <pwd.h>
31211
31212                 $ac_includes_default
31213
31214 int
31215 main ()
31216 {
31217
31218                 #ifndef $wx_func
31219                   &$wx_func;
31220                 #endif
31221
31222                     struct passwd pw, *ppw;
31223                     char buf[1024];
31224                     getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
31225
31226
31227   ;
31228   return 0;
31229 }
31230
31231 _ACEOF
31232 if ac_fn_c_try_link "$LINENO"; then :
31233   eval wx_cv_func_$wx_func=yes
31234 else
31235   eval wx_cv_func_$wx_func=no
31236 fi
31237 rm -f core conftest.err conftest.$ac_objext \
31238     conftest$ac_exeext conftest.$ac_ext
31239
31240 fi
31241 eval ac_res=\$wx_cv_func_$wx_func
31242                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31243 $as_echo "$ac_res" >&6; }
31244
31245     if eval test \$wx_cv_func_$wx_func = yes
31246     then
31247       cat >>confdefs.h <<_ACEOF
31248 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31249 _ACEOF
31250
31251
31252     else
31253       :
31254
31255     fi
31256   done
31257
31258
31259
31260   for wx_func in getgrgid_r
31261   do
31262     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31263 $as_echo_n "checking for $wx_func... " >&6; }
31264 if eval "test \"\${wx_cv_func_$wx_func+set}\"" = set; then :
31265   $as_echo_n "(cached) " >&6
31266 else
31267
31268         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31269 /* end confdefs.h.  */
31270
31271
31272
31273                     #define _REENTRANT
31274                     #include <grp.h>
31275
31276                 $ac_includes_default
31277
31278 int
31279 main ()
31280 {
31281
31282                 #ifndef $wx_func
31283                   &$wx_func;
31284                 #endif
31285
31286                     struct group grp, *pgrp;
31287                     char buf[1024];
31288                     getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
31289
31290
31291   ;
31292   return 0;
31293 }
31294
31295 _ACEOF
31296 if ac_fn_c_try_link "$LINENO"; then :
31297   eval wx_cv_func_$wx_func=yes
31298 else
31299   eval wx_cv_func_$wx_func=no
31300 fi
31301 rm -f core conftest.err conftest.$ac_objext \
31302     conftest$ac_exeext conftest.$ac_ext
31303
31304 fi
31305 eval ac_res=\$wx_cv_func_$wx_func
31306                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31307 $as_echo "$ac_res" >&6; }
31308
31309     if eval test \$wx_cv_func_$wx_func = yes
31310     then
31311       cat >>confdefs.h <<_ACEOF
31312 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31313 _ACEOF
31314
31315
31316     else
31317       :
31318
31319     fi
31320   done
31321
31322 fi
31323
31324 fi
31325
31326
31327
31328 cat >confcache <<\_ACEOF
31329 # This file is a shell script that caches the results of configure
31330 # tests run on this system so they can be shared between configure
31331 # scripts and configure runs, see configure's option --config-cache.
31332 # It is not useful on other systems.  If it contains results you don't
31333 # want to keep, you may remove or edit it.
31334 #
31335 # config.status only pays attention to the cache file if you give it
31336 # the --recheck option to rerun configure.
31337 #
31338 # `ac_cv_env_foo' variables (set or unset) will be overridden when
31339 # loading this file, other *unset* `ac_cv_foo' will be assigned the
31340 # following values.
31341
31342 _ACEOF
31343
31344 # The following way of writing the cache mishandles newlines in values,
31345 # but we know of no workaround that is simple, portable, and efficient.
31346 # So, we kill variables containing newlines.
31347 # Ultrix sh set writes to stderr and can't be redirected directly,
31348 # and sets the high bit in the cache file unless we assign to the vars.
31349 (
31350   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
31351     eval ac_val=\$$ac_var
31352     case $ac_val in #(
31353     *${as_nl}*)
31354       case $ac_var in #(
31355       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
31356 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
31357       esac
31358       case $ac_var in #(
31359       _ | IFS | as_nl) ;; #(
31360       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
31361       *) { eval $ac_var=; unset $ac_var;} ;;
31362       esac ;;
31363     esac
31364   done
31365
31366   (set) 2>&1 |
31367     case $as_nl`(ac_space=' '; set) 2>&1` in #(
31368     *${as_nl}ac_space=\ *)
31369       # `set' does not quote correctly, so add quotes: double-quote
31370       # substitution turns \\\\ into \\, and sed turns \\ into \.
31371       sed -n \
31372         "s/'/'\\\\''/g;
31373           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
31374       ;; #(
31375     *)
31376       # `set' quotes correctly as required by POSIX, so do not add quotes.
31377       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
31378       ;;
31379     esac |
31380     sort
31381 ) |
31382   sed '
31383      /^ac_cv_env_/b end
31384      t clear
31385      :clear
31386      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
31387      t end
31388      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
31389      :end' >>confcache
31390 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
31391   if test -w "$cache_file"; then
31392     test "x$cache_file" != "x/dev/null" &&
31393       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
31394 $as_echo "$as_me: updating cache $cache_file" >&6;}
31395     cat confcache >$cache_file
31396   else
31397     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
31398 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
31399   fi
31400 fi
31401 rm -f confcache
31402
31403
31404 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
31405
31406
31407     THREADS_LINK=
31408     THREADS_CFLAGS=
31409
31410     if test "$wxUSE_THREADS" = "yes" ; then
31411         if test "$USE_BEOS" = 1; then
31412             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: BeOS threads are not yet supported... disabled" >&5
31413 $as_echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
31414             wxUSE_THREADS="no"
31415         fi
31416     fi
31417
31418     if test "$wxUSE_THREADS" = "yes" ; then
31419
31420
31421                                 THREAD_OPTS="-pthread"
31422         if test "x$SUNCXX" = xyes; then
31423             THREAD_OPTS="-mt lthread $THREAD_OPTS"
31424         fi
31425
31426         case "${host}" in
31427           *-*-solaris2* | *-*-sunos4* )
31428                 if test "x$GCC" = "xyes"; then
31429                                         THREAD_OPTS="-pthreads $THREAD_OPTS"
31430                 fi
31431                 ;;
31432           *-*-freebsd*)
31433                                                 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
31434                 ;;
31435           *-*-darwin* | *-*-cygwin* )
31436                                                 THREAD_OPTS=""
31437                 ;;
31438           *-*-aix*)
31439                                 THREAD_OPTS="pthreads"
31440                 ;;
31441           *-hp-hpux* )
31442                 if test "x$GCC" = "xyes"; then
31443                                         $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
31444                         THREAD_OPTS=""
31445                 else
31446                                                             THREAD_OPTS="-mt"
31447                 fi
31448                 ;;
31449
31450           *-*-irix* )
31451                                                                 if test "x$GCC" = "xyes"; then
31452                     THREAD_OPTS=""
31453                 fi
31454                 ;;
31455
31456           *-*-qnx*)
31457                                                 THREAD_OPTS=""
31458                 ;;
31459
31460           *-*-*UnixWare*)
31461                                 if test "x$GCC" != "xyes"; then
31462                     THREAD_OPTS="-Ethread"
31463                 fi
31464                 ;;
31465         esac
31466
31467         case "${host}" in
31468             *-*-qnx*)
31469                                                                 THREAD_OPTS="none pthread"
31470                 ;;
31471
31472             *)
31473                                                                                 THREAD_OPTS="$THREAD_OPTS pthread none"
31474                 ;;
31475         esac
31476
31477                 THREADS_OK=no
31478         for flag in $THREAD_OPTS; do
31479             case $flag in
31480                 none)
31481                     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5
31482 $as_echo_n "checking whether pthreads work without any flags... " >&6; }
31483                     ;;
31484
31485                 -*)
31486                     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $flag" >&5
31487 $as_echo_n "checking whether pthreads work with $flag... " >&6; }
31488                     THREADS_CFLAGS="$flag"
31489                     ;;
31490
31491                 *)
31492                     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$flag" >&5
31493 $as_echo_n "checking for the pthreads library -l$flag... " >&6; }
31494                     THREADS_LINK="-l$flag"
31495                     ;;
31496               esac
31497
31498               save_LIBS="$LIBS"
31499               save_CFLAGS="$CFLAGS"
31500               LIBS="$THREADS_LINK $LIBS"
31501               CFLAGS="$THREADS_CFLAGS $CFLAGS"
31502
31503               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31504 /* end confdefs.h.  */
31505 #include <pthread.h>
31506 int
31507 main ()
31508 {
31509 pthread_create(0,0,0,0);
31510   ;
31511   return 0;
31512 }
31513 _ACEOF
31514 if ac_fn_c_try_link "$LINENO"; then :
31515   THREADS_OK=yes
31516 fi
31517 rm -f core conftest.err conftest.$ac_objext \
31518     conftest$ac_exeext conftest.$ac_ext
31519
31520               LIBS="$save_LIBS"
31521               CFLAGS="$save_CFLAGS"
31522
31523               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $THREADS_OK" >&5
31524 $as_echo "$THREADS_OK" >&6; }
31525               if test "x$THREADS_OK" = "xyes"; then
31526                       break;
31527               fi
31528
31529               THREADS_LINK=""
31530               THREADS_CFLAGS=""
31531       done
31532
31533       if test "x$THREADS_OK" != "xyes"; then
31534           wxUSE_THREADS=no
31535           { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No thread support on this system... disabled" >&5
31536 $as_echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
31537       else
31538                                                                                           LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
31539           WXCONFIG_LDFLAGS="$THREADS_CFLAGS $WXCONFIG_LDFLAGS"
31540           LIBS="$THREADS_LINK $LIBS"
31541
31542           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if more special flags are required for pthreads" >&5
31543 $as_echo_n "checking if more special flags are required for pthreads... " >&6; }
31544           flag=no
31545           case "${host}" in
31546             *-aix*)
31547                                                                                                                 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
31548                 WXCONFIG_LDFLAGS="-L/usr/lib/threads $WXCONFIG_LDFLAGS"
31549                 flag="-D_THREAD_SAFE"
31550                 ;;
31551             *-freebsd*)
31552                 flag="-D_THREAD_SAFE"
31553                 ;;
31554             *-hp-hpux* )
31555                 flag="-D_REENTRANT"
31556                 if test "x$GCC" != "xyes"; then
31557                                         flag="$flag -D_RWSTD_MULTI_THREAD"
31558                 fi
31559                 ;;
31560             *solaris* | alpha*-osf*)
31561                 flag="-D_REENTRANT"
31562                 ;;
31563           esac
31564           { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${flag}" >&5
31565 $as_echo "${flag}" >&6; }
31566           if test "x$flag" != xno; then
31567               THREADS_CFLAGS="$THREADS_CFLAGS $flag"
31568           fi
31569
31570                     WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
31571       fi
31572     fi
31573
31574         if test "$wxUSE_THREADS" = "yes" ; then
31575         for ac_func in pthread_setconcurrency
31576 do :
31577   ac_fn_c_check_func "$LINENO" "pthread_setconcurrency" "ac_cv_func_pthread_setconcurrency"
31578 if test "x$ac_cv_func_pthread_setconcurrency" = x""yes; then :
31579   cat >>confdefs.h <<_ACEOF
31580 #define HAVE_PTHREAD_SETCONCURRENCY 1
31581 _ACEOF
31582  $as_echo "#define HAVE_PTHREAD_SET_CONCURRENCY 1" >>confdefs.h
31583
31584 else
31585
31586                 for ac_func in thr_setconcurrency
31587 do :
31588   ac_fn_c_check_func "$LINENO" "thr_setconcurrency" "ac_cv_func_thr_setconcurrency"
31589 if test "x$ac_cv_func_thr_setconcurrency" = x""yes; then :
31590   cat >>confdefs.h <<_ACEOF
31591 #define HAVE_THR_SETCONCURRENCY 1
31592 _ACEOF
31593  $as_echo "#define HAVE_THR_SETCONCURRENCY 1" >>confdefs.h
31594
31595 else
31596   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Setting thread concurrency will not work properly" >&5
31597 $as_echo "$as_me: WARNING: Setting thread concurrency will not work properly" >&2;}
31598 fi
31599 done
31600
31601
31602 fi
31603 done
31604
31605
31606                   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_cleanup_push/pop" >&5
31607 $as_echo_n "checking for pthread_cleanup_push/pop... " >&6; }
31608 if test "${wx_cv_func_pthread_cleanup+set}" = set; then :
31609   $as_echo_n "(cached) " >&6
31610 else
31611
31612                                 ac_ext=cpp
31613 ac_cpp='$CXXCPP $CPPFLAGS'
31614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31617
31618         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31619 /* end confdefs.h.  */
31620 #include <pthread.h>
31621                void ThreadCleanupFunc(void *p);
31622
31623 int
31624 main ()
31625 {
31626
31627                 void *p;
31628                 pthread_cleanup_push(ThreadCleanupFunc, p);
31629                 pthread_cleanup_pop(0);
31630
31631   ;
31632   return 0;
31633 }
31634 _ACEOF
31635 if ac_fn_cxx_try_compile "$LINENO"; then :
31636
31637                wx_cv_func_pthread_cleanup=yes
31638
31639 else
31640
31641                wx_cv_func_pthread_cleanup=no
31642
31643
31644 fi
31645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31646         ac_ext=c
31647 ac_cpp='$CPP $CPPFLAGS'
31648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31651
31652
31653 fi
31654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_pthread_cleanup" >&5
31655 $as_echo "$wx_cv_func_pthread_cleanup" >&6; }
31656       if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
31657         $as_echo "#define wxHAVE_PTHREAD_CLEANUP 1" >>confdefs.h
31658
31659       fi
31660
31661       for ac_header in sched.h
31662 do :
31663   ac_fn_c_check_header_compile "$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default
31664 "
31665 if test "x$ac_cv_header_sched_h" = x""yes; then :
31666   cat >>confdefs.h <<_ACEOF
31667 #define HAVE_SCHED_H 1
31668 _ACEOF
31669
31670 fi
31671
31672 done
31673
31674       if test "$ac_cv_header_sched_h" = "yes"; then
31675           ac_fn_c_check_func "$LINENO" "sched_yield" "ac_cv_func_sched_yield"
31676 if test "x$ac_cv_func_sched_yield" = x""yes; then :
31677   $as_echo "#define HAVE_SCHED_YIELD 1" >>confdefs.h
31678
31679 else
31680
31681                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_yield in -lposix4" >&5
31682 $as_echo_n "checking for sched_yield in -lposix4... " >&6; }
31683 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then :
31684   $as_echo_n "(cached) " >&6
31685 else
31686   ac_check_lib_save_LIBS=$LIBS
31687 LIBS="-lposix4  $LIBS"
31688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31689 /* end confdefs.h.  */
31690
31691 /* Override any GCC internal prototype to avoid an error.
31692    Use char because int might match the return type of a GCC
31693    builtin and then its argument prototype would still apply.  */
31694 #ifdef __cplusplus
31695 extern "C"
31696 #endif
31697 char sched_yield ();
31698 int
31699 main ()
31700 {
31701 return sched_yield ();
31702   ;
31703   return 0;
31704 }
31705 _ACEOF
31706 if ac_fn_c_try_link "$LINENO"; then :
31707   ac_cv_lib_posix4_sched_yield=yes
31708 else
31709   ac_cv_lib_posix4_sched_yield=no
31710 fi
31711 rm -f core conftest.err conftest.$ac_objext \
31712     conftest$ac_exeext conftest.$ac_ext
31713 LIBS=$ac_check_lib_save_LIBS
31714 fi
31715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_sched_yield" >&5
31716 $as_echo "$ac_cv_lib_posix4_sched_yield" >&6; }
31717 if test "x$ac_cv_lib_posix4_sched_yield" = x""yes; then :
31718   $as_echo "#define HAVE_SCHED_YIELD 1" >>confdefs.h
31719  POSIX4_LINK=" -lposix4"
31720 else
31721   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxThread::Yield will not work properly" >&5
31722 $as_echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
31723
31724 fi
31725
31726
31727
31728 fi
31729
31730       fi
31731
31732                                           HAVE_PRIOR_FUNCS=0
31733       ac_fn_c_check_func "$LINENO" "pthread_attr_getschedpolicy" "ac_cv_func_pthread_attr_getschedpolicy"
31734 if test "x$ac_cv_func_pthread_attr_getschedpolicy" = x""yes; then :
31735   ac_fn_c_check_func "$LINENO" "pthread_attr_setschedparam" "ac_cv_func_pthread_attr_setschedparam"
31736 if test "x$ac_cv_func_pthread_attr_setschedparam" = x""yes; then :
31737   ac_fn_c_check_func "$LINENO" "sched_get_priority_max" "ac_cv_func_sched_get_priority_max"
31738 if test "x$ac_cv_func_sched_get_priority_max" = x""yes; then :
31739   HAVE_PRIOR_FUNCS=1
31740 else
31741   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_get_priority_max in -lposix4" >&5
31742 $as_echo_n "checking for sched_get_priority_max in -lposix4... " >&6; }
31743 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then :
31744   $as_echo_n "(cached) " >&6
31745 else
31746   ac_check_lib_save_LIBS=$LIBS
31747 LIBS="-lposix4  $LIBS"
31748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31749 /* end confdefs.h.  */
31750
31751 /* Override any GCC internal prototype to avoid an error.
31752    Use char because int might match the return type of a GCC
31753    builtin and then its argument prototype would still apply.  */
31754 #ifdef __cplusplus
31755 extern "C"
31756 #endif
31757 char sched_get_priority_max ();
31758 int
31759 main ()
31760 {
31761 return sched_get_priority_max ();
31762   ;
31763   return 0;
31764 }
31765 _ACEOF
31766 if ac_fn_c_try_link "$LINENO"; then :
31767   ac_cv_lib_posix4_sched_get_priority_max=yes
31768 else
31769   ac_cv_lib_posix4_sched_get_priority_max=no
31770 fi
31771 rm -f core conftest.err conftest.$ac_objext \
31772     conftest$ac_exeext conftest.$ac_ext
31773 LIBS=$ac_check_lib_save_LIBS
31774 fi
31775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
31776 $as_echo "$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
31777 if test "x$ac_cv_lib_posix4_sched_get_priority_max" = x""yes; then :
31778
31779                                 HAVE_PRIOR_FUNCS=1
31780                                 POSIX4_LINK=" -lposix4"
31781
31782 fi
31783
31784
31785 fi
31786
31787
31788 fi
31789
31790
31791 fi
31792
31793
31794       if test "$HAVE_PRIOR_FUNCS" = 1; then
31795         $as_echo "#define HAVE_THREAD_PRIORITY_FUNCTIONS 1" >>confdefs.h
31796
31797       else
31798         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Setting thread priority will not work" >&5
31799 $as_echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
31800       fi
31801
31802       ac_fn_c_check_func "$LINENO" "pthread_cancel" "ac_cv_func_pthread_cancel"
31803 if test "x$ac_cv_func_pthread_cancel" = x""yes; then :
31804   $as_echo "#define HAVE_PTHREAD_CANCEL 1" >>confdefs.h
31805
31806 else
31807   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxThread::Kill() will not work properly" >&5
31808 $as_echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
31809 fi
31810
31811
31812       ac_fn_c_check_func "$LINENO" "pthread_mutex_timedlock" "ac_cv_func_pthread_mutex_timedlock"
31813 if test "x$ac_cv_func_pthread_mutex_timedlock" = x""yes; then :
31814   $as_echo "#define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1" >>confdefs.h
31815
31816 else
31817   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxMutex::LockTimeout() will not work" >&5
31818 $as_echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
31819 fi
31820
31821
31822       ac_fn_c_check_func "$LINENO" "pthread_attr_setstacksize" "ac_cv_func_pthread_attr_setstacksize"
31823 if test "x$ac_cv_func_pthread_attr_setstacksize" = x""yes; then :
31824   $as_echo "#define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1" >>confdefs.h
31825
31826 fi
31827
31828
31829
31830       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutexattr_t" >&5
31831 $as_echo_n "checking for pthread_mutexattr_t... " >&6; }
31832 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then :
31833   $as_echo_n "(cached) " >&6
31834 else
31835
31836         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31837 /* end confdefs.h.  */
31838 #include <pthread.h>
31839 int
31840 main ()
31841 {
31842
31843                pthread_mutexattr_t attr;
31844                pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
31845
31846   ;
31847   return 0;
31848 }
31849 _ACEOF
31850 if ac_fn_c_try_compile "$LINENO"; then :
31851   wx_cv_type_pthread_mutexattr_t=yes
31852 else
31853   wx_cv_type_pthread_mutexattr_t=no
31854
31855 fi
31856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31857
31858 fi
31859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_pthread_mutexattr_t" >&5
31860 $as_echo "$wx_cv_type_pthread_mutexattr_t" >&6; }
31861
31862       if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
31863         $as_echo "#define HAVE_PTHREAD_MUTEXATTR_T 1" >>confdefs.h
31864
31865
31866                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutexattr_settype declaration" >&5
31867 $as_echo_n "checking for pthread_mutexattr_settype declaration... " >&6; }
31868 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then :
31869   $as_echo_n "(cached) " >&6
31870 else
31871
31872                        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31873 /* end confdefs.h.  */
31874 #include <pthread.h>
31875 int
31876 main ()
31877 {
31878
31879                                pthread_mutexattr_t attr;
31880                                pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
31881
31882   ;
31883   return 0;
31884 }
31885 _ACEOF
31886 if ac_fn_c_try_compile "$LINENO"; then :
31887   wx_cv_func_pthread_mutexattr_settype_decl=yes
31888 else
31889   wx_cv_func_pthread_mutexattr_settype_decl=no
31890
31891 fi
31892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31893
31894 fi
31895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
31896 $as_echo "$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
31897         if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
31898             $as_echo "#define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1" >>confdefs.h
31899
31900         fi
31901       else
31902                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
31903 $as_echo_n "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... " >&6; }
31904 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then :
31905   $as_echo_n "(cached) " >&6
31906 else
31907
31908             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31909 /* end confdefs.h.  */
31910 #include <pthread.h>
31911 int
31912 main ()
31913 {
31914
31915                     pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
31916
31917   ;
31918   return 0;
31919 }
31920 _ACEOF
31921 if ac_fn_c_try_compile "$LINENO"; then :
31922
31923                     wx_cv_type_pthread_rec_mutex_init=yes
31924
31925 else
31926
31927                     wx_cv_type_pthread_rec_mutex_init=no
31928
31929
31930 fi
31931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31932
31933 fi
31934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_pthread_rec_mutex_init" >&5
31935 $as_echo "$wx_cv_type_pthread_rec_mutex_init" >&6; }
31936         if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
31937           $as_echo "#define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1" >>confdefs.h
31938
31939         else
31940                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxMutex won't be recursive on this platform" >&5
31941 $as_echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
31942         fi
31943       fi
31944
31945       if test "$wxUSE_COMPILER_TLS" = "auto"; then
31946           if test "$USE_NETBSD" = 1; then
31947               { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&5
31948 $as_echo "$as_me: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&2;}
31949               wxUSE_COMPILER_TLS=no
31950           else
31951               wxUSE_COMPILER_TLS=yes
31952           fi
31953       fi
31954
31955       if test "$wxUSE_COMPILER_TLS" = "yes"; then
31956                     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __thread keyword" >&5
31957 $as_echo_n "checking for __thread keyword... " >&6; }
31958 if test "${wx_cv_cc___thread+set}" = set; then :
31959   $as_echo_n "(cached) " >&6
31960 else
31961
31962                   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31963 /* end confdefs.h.  */
31964 #include <pthread.h>
31965 int
31966 main ()
31967 {
31968
31969                           static __thread int n = 0;
31970                           static __thread int *p = 0;
31971
31972   ;
31973   return 0;
31974 }
31975 _ACEOF
31976 if ac_fn_c_try_compile "$LINENO"; then :
31977   wx_cv_cc___thread=yes
31978 else
31979   wx_cv_cc___thread=no
31980
31981 fi
31982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31983
31984
31985 fi
31986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc___thread" >&5
31987 $as_echo "$wx_cv_cc___thread" >&6; }
31988
31989           if test "$wx_cv_cc___thread" = "yes"; then
31990
31991   GXX_VERSION=""
31992
31993
31994
31995   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gcc accepts -dumpversion option" >&5
31996 $as_echo_n "checking if gcc accepts -dumpversion option... " >&6; }
31997
31998   if  test "x$GCC" = "xyes" ; then :
31999
32000     if  test -z "" ; then :
32001
32002       ax_gcc_option_test="int main()
32003 {
32004         return 0;
32005 }"
32006
32007 else
32008
32009       ax_gcc_option_test=""
32010
32011 fi
32012
32013     # Dump the test program to file
32014     cat <<EOF > conftest.c
32015 $ax_gcc_option_test
32016 EOF
32017
32018     # Dump back the file to the log, useful for debugging purposes
32019     { ac_try='cat conftest.c 1>&5'
32020   { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
32021   (eval $ac_try) 2>&5
32022   ac_status=$?
32023   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32024   test $ac_status = 0; }; }
32025
32026     if  { ac_try='$CC  -dumpversion -c conftest.c 1>&5'
32027   { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
32028   (eval $ac_try) 2>&5
32029   ac_status=$?
32030   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32031   test $ac_status = 0; }; } ; then :
32032
32033                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32034 $as_echo "yes" >&6; }
32035
32036     ax_gcc_version_option=yes
32037
32038
32039 else
32040
32041                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32042 $as_echo "no" >&6; }
32043
32044     ax_gcc_version_option=no
32045
32046
32047 fi
32048
32049 else
32050
32051     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no gcc available" >&5
32052 $as_echo "no gcc available" >&6; }
32053
32054 fi
32055
32056   if test "x$GXX" = "xyes"; then :
32057
32058     if test "x$ax_gxx_version_option" != "no"; then :
32059
32060       { $as_echo "$as_me:${as_lineno-$LINENO}: checking gxx version" >&5
32061 $as_echo_n "checking gxx version... " >&6; }
32062 if test "${ax_cv_gxx_version+set}" = set; then :
32063   $as_echo_n "(cached) " >&6
32064 else
32065
32066         ax_cv_gxx_version="`$CXX -dumpversion`"
32067         if test "x$ax_cv_gxx_version" = "x"; then :
32068
32069           ax_cv_gxx_version=""
32070
32071 fi
32072
32073 fi
32074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_gxx_version" >&5
32075 $as_echo "$ax_cv_gxx_version" >&6; }
32076       GXX_VERSION=$ax_cv_gxx_version
32077
32078 fi
32079
32080 fi
32081
32082
32083               if test -n "$ax_cv_gxx_version"; then
32084                                                                                                                                                                   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __thread support in g++ is usable" >&5
32085 $as_echo_n "checking whether __thread support in g++ is usable... " >&6; }
32086                   case "$ax_cv_gxx_version" in
32087                     1.* | 2.* | 3.* )
32088                         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, it's broken" >&5
32089 $as_echo "no, it's broken" >&6; }
32090                         wx_cv_cc___thread=no
32091                         ;;
32092                     *)
32093                         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes, it works" >&5
32094 $as_echo "yes, it works" >&6; }
32095                         ;;
32096                   esac
32097               fi
32098           fi
32099
32100           if test "$wx_cv_cc___thread" = "yes"; then
32101             $as_echo "#define HAVE___THREAD_KEYWORD 1" >>confdefs.h
32102
32103           fi
32104         fi
32105     fi
32106
32107 else
32108     if test "$wxUSE_THREADS" = "yes" ; then
32109       case "${host}" in
32110         x86_64-*-mingw32* )
32111         ;;
32112         *-*-mingw32* )
32113                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -mthreads" >&5
32114 $as_echo_n "checking if compiler supports -mthreads... " >&6; }
32115 if test "${wx_cv_cflags_mthread+set}" = set; then :
32116   $as_echo_n "(cached) " >&6
32117 else
32118
32119                     CFLAGS_OLD="$CFLAGS"
32120                     CFLAGS="-mthreads $CFLAGS"
32121                     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32122 /* end confdefs.h.  */
32123
32124 int
32125 main ()
32126 {
32127
32128   ;
32129   return 0;
32130 }
32131 _ACEOF
32132 if ac_fn_c_try_compile "$LINENO"; then :
32133   wx_cv_cflags_mthread=yes
32134 else
32135   wx_cv_cflags_mthread=no
32136
32137 fi
32138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32139
32140
32141 fi
32142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cflags_mthread" >&5
32143 $as_echo "$wx_cv_cflags_mthread" >&6; }
32144
32145             if test "$wx_cv_cflags_mthread" = "yes"; then
32146                                 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
32147                 LDFLAGS="$LDFLAGS -mthreads"
32148             else
32149                                 CFLAGS="$CFLAGS_OLD"
32150             fi
32151         ;;
32152         *-pc-os2*emx )
32153             WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
32154             LDFLAGS="$LDFLAGS -Zmt"
32155         ;;
32156       esac
32157     fi
32158 fi
32159
32160 ac_fn_c_check_func "$LINENO" "localtime_r" "ac_cv_func_localtime_r"
32161 if test "x$ac_cv_func_localtime_r" = x""yes; then :
32162    $as_echo "#define HAVE_LOCALTIME_R 1" >>confdefs.h
32163
32164 fi
32165
32166 ac_fn_c_check_func "$LINENO" "gmtime_r" "ac_cv_func_gmtime_r"
32167 if test "x$ac_cv_func_gmtime_r" = x""yes; then :
32168    $as_echo "#define HAVE_GMTIME_R 1" >>confdefs.h
32169
32170 fi
32171
32172
32173
32174
32175     ac_ext=c
32176 ac_cpp='$CPP $CPPFLAGS'
32177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32180
32181     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how many arguments gethostbyname_r() takes" >&5
32182 $as_echo_n "checking how many arguments gethostbyname_r() takes... " >&6; }
32183
32184     if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then :
32185   $as_echo_n "(cached) " >&6
32186 else
32187
32188
32189 ################################################################
32190
32191 ac_cv_func_which_gethostbyname_r=unknown
32192
32193 #
32194 # ONE ARGUMENT (sanity check)
32195 #
32196
32197 # This should fail, as there is no variant of gethostbyname_r() that takes
32198 # a single argument. If it actually compiles, then we can assume that
32199 # netdb.h is not declaring the function, and the compiler is thereby
32200 # assuming an implicit prototype. In which case, we're out of luck.
32201 #
32202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32203 /* end confdefs.h.  */
32204 #include <netdb.h>
32205 int
32206 main ()
32207 {
32208
32209             char *name = "www.gnu.org";
32210             (void)gethostbyname_r(name) /* ; */
32211
32212
32213   ;
32214   return 0;
32215 }
32216 _ACEOF
32217 if ac_fn_c_try_compile "$LINENO"; then :
32218   ac_cv_func_which_gethostbyname_r=no
32219
32220 fi
32221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32222
32223 #
32224 # SIX ARGUMENTS
32225 # (e.g. Linux)
32226 #
32227
32228 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
32229
32230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32231 /* end confdefs.h.  */
32232 #include <netdb.h>
32233 int
32234 main ()
32235 {
32236
32237             char *name = "www.gnu.org";
32238             struct hostent ret, *retp;
32239             char buf[1024];
32240             int buflen = 1024;
32241             int my_h_errno;
32242             (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
32243
32244
32245   ;
32246   return 0;
32247 }
32248 _ACEOF
32249 if ac_fn_c_try_compile "$LINENO"; then :
32250   ac_cv_func_which_gethostbyname_r=six
32251
32252 fi
32253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32254
32255 fi
32256
32257 #
32258 # FIVE ARGUMENTS
32259 # (e.g. Solaris)
32260 #
32261
32262 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
32263
32264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32265 /* end confdefs.h.  */
32266 #include <netdb.h>
32267 int
32268 main ()
32269 {
32270
32271             char *name = "www.gnu.org";
32272             struct hostent ret;
32273             char buf[1024];
32274             int buflen = 1024;
32275             int my_h_errno;
32276             (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
32277
32278
32279   ;
32280   return 0;
32281 }
32282 _ACEOF
32283 if ac_fn_c_try_compile "$LINENO"; then :
32284   ac_cv_func_which_gethostbyname_r=five
32285
32286 fi
32287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32288
32289 fi
32290
32291 #
32292 # THREE ARGUMENTS
32293 # (e.g. AIX, HP-UX, Tru64)
32294 #
32295
32296 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
32297
32298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32299 /* end confdefs.h.  */
32300 #include <netdb.h>
32301 int
32302 main ()
32303 {
32304
32305             char *name = "www.gnu.org";
32306             struct hostent ret;
32307             struct hostent_data data;
32308             (void)gethostbyname_r(name, &ret, &data) /* ; */
32309
32310
32311   ;
32312   return 0;
32313 }
32314 _ACEOF
32315 if ac_fn_c_try_compile "$LINENO"; then :
32316   ac_cv_func_which_gethostbyname_r=three
32317
32318 fi
32319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32320
32321 fi
32322
32323 ################################################################
32324
32325
32326 fi
32327
32328 case "$ac_cv_func_which_gethostbyname_r" in
32329     three)
32330     { $as_echo "$as_me:${as_lineno-$LINENO}: result: three" >&5
32331 $as_echo "three" >&6; }
32332     $as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_3 1" >>confdefs.h
32333
32334     ;;
32335
32336     five)
32337     { $as_echo "$as_me:${as_lineno-$LINENO}: result: five" >&5
32338 $as_echo "five" >&6; }
32339     $as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_5 1" >>confdefs.h
32340
32341     ;;
32342
32343     six)
32344     { $as_echo "$as_me:${as_lineno-$LINENO}: result: six" >&5
32345 $as_echo "six" >&6; }
32346     $as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_6 1" >>confdefs.h
32347
32348     ;;
32349
32350     no)
32351     { $as_echo "$as_me:${as_lineno-$LINENO}: result: cannot find function declaration in netdb.h" >&5
32352 $as_echo "cannot find function declaration in netdb.h" >&6; }
32353     ;;
32354
32355     unknown)
32356     { $as_echo "$as_me:${as_lineno-$LINENO}: result: can't tell" >&5
32357 $as_echo "can't tell" >&6; }
32358     ;;
32359
32360     *)
32361     as_fn_error $? "internal error" "$LINENO" 5
32362     ;;
32363 esac
32364
32365 ac_ext=c
32366 ac_cpp='$CPP $CPPFLAGS'
32367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32370
32371
32372
32373       if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
32374               "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
32375           ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
32376 if test "x$ac_cv_func_gethostbyname" = x""yes; then :
32377    $as_echo "#define HAVE_GETHOSTBYNAME 1" >>confdefs.h
32378
32379 fi
32380
32381       fi
32382
32383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how many arguments getservbyname_r() takes" >&5
32384 $as_echo_n "checking how many arguments getservbyname_r() takes... " >&6; }
32385 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then :
32386   $as_echo_n "(cached) " >&6
32387 else
32388
32389                 ac_ext=cpp
32390 ac_cpp='$CXXCPP $CPPFLAGS'
32391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32394
32395
32396         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32397 /* end confdefs.h.  */
32398 #include <netdb.h>
32399 int
32400 main ()
32401 {
32402
32403                 char *name;
32404                 char *proto;
32405                 struct servent *se, *res;
32406                 char buffer[2048];
32407                 int buflen = 2048;
32408                 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
32409
32410   ;
32411   return 0;
32412 }
32413 _ACEOF
32414 if ac_fn_cxx_try_compile "$LINENO"; then :
32415   ac_cv_func_which_getservbyname_r=six
32416 else
32417
32418                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32419 /* end confdefs.h.  */
32420 #include <netdb.h>
32421 int
32422 main ()
32423 {
32424
32425                         char *name;
32426                         char *proto;
32427                         struct servent *se;
32428                         char buffer[2048];
32429                         int buflen = 2048;
32430                         (void) getservbyname_r(name, proto, se, buffer, buflen)
32431
32432   ;
32433   return 0;
32434 }
32435 _ACEOF
32436 if ac_fn_cxx_try_compile "$LINENO"; then :
32437   ac_cv_func_which_getservbyname_r=five
32438 else
32439
32440                         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32441 /* end confdefs.h.  */
32442 #include <netdb.h>
32443 int
32444 main ()
32445 {
32446
32447                                 char *name;
32448                                 char *proto;
32449                                 struct servent *se;
32450                                 struct servent_data data;
32451                                 (void) getservbyname_r(name, proto, se, &data);
32452
32453   ;
32454   return 0;
32455 }
32456 _ACEOF
32457 if ac_fn_cxx_try_compile "$LINENO"; then :
32458   ac_cv_func_which_getservbyname_r=four
32459 else
32460   ac_cv_func_which_getservbyname_r=no
32461
32462 fi
32463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32464
32465
32466 fi
32467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32468
32469
32470 fi
32471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32472         ac_ext=c
32473 ac_cpp='$CPP $CPPFLAGS'
32474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32477
32478
32479
32480 fi
32481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_which_getservbyname_r" >&5
32482 $as_echo "$ac_cv_func_which_getservbyname_r" >&6; }
32483
32484 if test $ac_cv_func_which_getservbyname_r = six; then
32485   $as_echo "#define HAVE_FUNC_GETSERVBYNAME_R_6 1" >>confdefs.h
32486
32487 elif test $ac_cv_func_which_getservbyname_r = five; then
32488   $as_echo "#define HAVE_FUNC_GETSERVBYNAME_R_5 1" >>confdefs.h
32489
32490 elif test $ac_cv_func_which_getservbyname_r = four; then
32491   $as_echo "#define HAVE_FUNC_GETSERVBYNAME_R_4 1" >>confdefs.h
32492
32493 fi
32494
32495
32496       if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
32497               "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
32498           for ac_func in getservbyname
32499 do :
32500   ac_fn_c_check_func "$LINENO" "getservbyname" "ac_cv_func_getservbyname"
32501 if test "x$ac_cv_func_getservbyname" = x""yes; then :
32502   cat >>confdefs.h <<_ACEOF
32503 #define HAVE_GETSERVBYNAME 1
32504 _ACEOF
32505   $as_echo "#define HAVE_GETSERVBYNAME 1" >>confdefs.h
32506
32507 fi
32508 done
32509
32510       fi
32511
32512 $as_echo "#define wxUSE_COMPILER_TLS 1" >>confdefs.h
32513
32514
32515 if test "$wxUSE_THREADS" = "yes"; then
32516   $as_echo "#define wxUSE_THREADS 1" >>confdefs.h
32517
32518
32519   SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
32520 else
32521       if test "$wx_cv_func_strtok_r" = "yes"; then
32522     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -D_REENTRANT is needed" >&5
32523 $as_echo_n "checking if -D_REENTRANT is needed... " >&6; }
32524     if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
32525         WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
32526         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32527 $as_echo "yes" >&6; }
32528     else
32529         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32530 $as_echo "no" >&6; }
32531     fi
32532   fi
32533 fi
32534
32535 if test "$WXGTK2" = 1 ; then
32536   cat >>confdefs.h <<_ACEOF
32537 #define __WXGTK20__ $WXGTK2
32538 _ACEOF
32539
32540 fi
32541
32542 if test "$WXGTK127" = 1 ; then
32543   cat >>confdefs.h <<_ACEOF
32544 #define __WXGTK127__ $WXGTK127
32545 _ACEOF
32546
32547 fi
32548
32549 if test "$WXGPE" = 1 ; then
32550   cat >>confdefs.h <<_ACEOF
32551 #define __WXGPE__ $WXGPE
32552 _ACEOF
32553
32554 fi
32555
32556 DEBUG_CFLAGS=
32557 if `echo $CXXFLAGS $CFLAGS | grep " -g" >/dev/null`; then
32558                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&5
32559 $as_echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&2;}
32560 elif test "$wxUSE_DEBUG_INFO" = "yes" ; then
32561     DEBUG_CFLAGS="-g"
32562 fi
32563
32564 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
32565     wxUSE_DEBUG_INFO=yes
32566     if test "$GCC" = yes; then
32567         DEBUG_CFLAGS="-ggdb"
32568     fi
32569 fi
32570
32571 if test "$wxUSE_DEBUG_FLAG" = "no" ; then
32572     WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=0"
32573
32574     if test "$wxUSE_GTK" = 1 ; then
32575         if test "x$wxGTK_VERSION" = "x1" ; then
32576             CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
32577         else
32578             CPPFLAGS="$CPPFLAGS -DG_DISABLE_CAST_CHECKS"
32579         fi
32580     fi
32581 fi
32582
32583 if test "$wxUSE_MEM_TRACING" = "yes" ; then
32584     $as_echo "#define wxUSE_MEMORY_TRACING 1" >>confdefs.h
32585
32586     $as_echo "#define wxUSE_GLOBAL_MEMORY_OPERATORS 1" >>confdefs.h
32587
32588     $as_echo "#define wxUSE_DEBUG_NEW_ALWAYS 1" >>confdefs.h
32589
32590     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
32591 fi
32592
32593 if test "$wxUSE_DMALLOC" = "yes" ; then
32594     DMALLOC_LIBS="-ldmallocthcxx"
32595 fi
32596
32597 PROFILE_FLAGS=
32598 if test "$wxUSE_PROFILE" = "yes" ; then
32599     PROFILE_FLAGS=" -pg"
32600 fi
32601
32602 if test "$GCC" = "yes" ; then
32603     if test "$wxUSE_NO_RTTI" = "yes" ; then
32604                                 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -DwxNO_RTTI -fno-rtti"
32605     fi
32606     if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
32607         WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
32608     fi
32609     if test "$wxUSE_PERMISSIVE" = "yes" ; then
32610         WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
32611     fi
32612
32613                                                 case "${host}" in
32614       powerpc*-*-aix* )
32615         WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
32616         ;;
32617       *-hppa* )
32618         WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
32619         ;;
32620     esac
32621 fi
32622
32623 OPTIMISE_CFLAGS=
32624 if `echo $CXXFLAGS $CFLAGS | grep " -O" >/dev/null`; then
32625                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&5
32626 $as_echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&2;}
32627 else
32628     if test "$wxUSE_OPTIMISE" = "no" ; then
32629         if test "$GCC" = yes ; then
32630                                     OPTIMISE_CFLAGS="-O0"
32631         fi
32632     else
32633         if test "$GCC" = yes ; then
32634             case "${host}" in
32635                 *-pc-os2_emx | *-pc-os2-emx )
32636                                                             OPTIMISE_CFLAGS="-O2"
32637                 ;;
32638                 *)
32639                                                                                 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
32640                 ;;
32641             esac
32642         else
32643             OPTIMISE_CFLAGS="-O"
32644         fi
32645     fi
32646 fi
32647
32648
32649 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
32650     $as_echo "#define WXWIN_COMPATIBILITY_2_6 1" >>confdefs.h
32651
32652
32653     WXWIN_COMPATIBILITY_2_8="yes"
32654 fi
32655
32656 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
32657     $as_echo "#define WXWIN_COMPATIBILITY_2_8 1" >>confdefs.h
32658
32659 fi
32660
32661
32662 if test "$wxUSE_GUI" = "yes"; then
32663     $as_echo "#define wxUSE_GUI 1" >>confdefs.h
32664
32665
32666                                             fi
32667
32668
32669 if test "$wxUSE_UNIX" = "yes"; then
32670   $as_echo "#define wxUSE_UNIX 1" >>confdefs.h
32671
32672 fi
32673
32674
32675 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
32676
32677     HAVE_DL_FUNCS=0
32678     HAVE_SHL_FUNCS=0
32679     if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
32680         if test "$USE_DOS" = 1; then
32681             HAVE_DL_FUNCS=0
32682         else
32683                                                 for ac_func in dlopen
32684 do :
32685   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
32686 if test "x$ac_cv_func_dlopen" = x""yes; then :
32687   cat >>confdefs.h <<_ACEOF
32688 #define HAVE_DLOPEN 1
32689 _ACEOF
32690
32691                 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
32692
32693                 HAVE_DL_FUNCS=1
32694
32695 else
32696
32697                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
32698 $as_echo_n "checking for dlopen in -ldl... " >&6; }
32699 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
32700   $as_echo_n "(cached) " >&6
32701 else
32702   ac_check_lib_save_LIBS=$LIBS
32703 LIBS="-ldl  $LIBS"
32704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32705 /* end confdefs.h.  */
32706
32707 /* Override any GCC internal prototype to avoid an error.
32708    Use char because int might match the return type of a GCC
32709    builtin and then its argument prototype would still apply.  */
32710 #ifdef __cplusplus
32711 extern "C"
32712 #endif
32713 char dlopen ();
32714 int
32715 main ()
32716 {
32717 return dlopen ();
32718   ;
32719   return 0;
32720 }
32721 _ACEOF
32722 if ac_fn_c_try_link "$LINENO"; then :
32723   ac_cv_lib_dl_dlopen=yes
32724 else
32725   ac_cv_lib_dl_dlopen=no
32726 fi
32727 rm -f core conftest.err conftest.$ac_objext \
32728     conftest$ac_exeext conftest.$ac_ext
32729 LIBS=$ac_check_lib_save_LIBS
32730 fi
32731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
32732 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
32733 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
32734
32735                                 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
32736
32737                                 HAVE_DL_FUNCS=1
32738                                 DL_LINK=" -ldl$DL_LINK"
32739
32740 else
32741
32742                                 for ac_func in shl_load
32743 do :
32744   ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
32745 if test "x$ac_cv_func_shl_load" = x""yes; then :
32746   cat >>confdefs.h <<_ACEOF
32747 #define HAVE_SHL_LOAD 1
32748 _ACEOF
32749
32750                                                 $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
32751
32752                                                 HAVE_SHL_FUNCS=1
32753
32754 else
32755
32756                                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld in -lshl_load" >&5
32757 $as_echo_n "checking for dld in -lshl_load... " >&6; }
32758 if test "${ac_cv_lib_shl_load_dld+set}" = set; then :
32759   $as_echo_n "(cached) " >&6
32760 else
32761   ac_check_lib_save_LIBS=$LIBS
32762 LIBS="-lshl_load  $LIBS"
32763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32764 /* end confdefs.h.  */
32765
32766 /* Override any GCC internal prototype to avoid an error.
32767    Use char because int might match the return type of a GCC
32768    builtin and then its argument prototype would still apply.  */
32769 #ifdef __cplusplus
32770 extern "C"
32771 #endif
32772 char dld ();
32773 int
32774 main ()
32775 {
32776 return dld ();
32777   ;
32778   return 0;
32779 }
32780 _ACEOF
32781 if ac_fn_c_try_link "$LINENO"; then :
32782   ac_cv_lib_shl_load_dld=yes
32783 else
32784   ac_cv_lib_shl_load_dld=no
32785 fi
32786 rm -f core conftest.err conftest.$ac_objext \
32787     conftest$ac_exeext conftest.$ac_ext
32788 LIBS=$ac_check_lib_save_LIBS
32789 fi
32790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_shl_load_dld" >&5
32791 $as_echo "$ac_cv_lib_shl_load_dld" >&6; }
32792 if test "x$ac_cv_lib_shl_load_dld" = x""yes; then :
32793
32794                                                                 HAVE_SHL_FUNCS=1
32795                                                                 DL_LINK=" -ldld$DL_LINK"
32796
32797 fi
32798
32799
32800 fi
32801 done
32802
32803
32804 fi
32805
32806
32807 fi
32808 done
32809
32810
32811                         if test "$HAVE_DL_FUNCS" = 1; then
32812                 for ac_func in dlerror
32813 do :
32814   ac_fn_c_check_func "$LINENO" "dlerror" "ac_cv_func_dlerror"
32815 if test "x$ac_cv_func_dlerror" = x""yes; then :
32816   cat >>confdefs.h <<_ACEOF
32817 #define HAVE_DLERROR 1
32818 _ACEOF
32819  $as_echo "#define HAVE_DLERROR 1" >>confdefs.h
32820
32821 else
32822
32823                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlerror in -ldl" >&5
32824 $as_echo_n "checking for dlerror in -ldl... " >&6; }
32825 if test "${ac_cv_lib_dl_dlerror+set}" = set; then :
32826   $as_echo_n "(cached) " >&6
32827 else
32828   ac_check_lib_save_LIBS=$LIBS
32829 LIBS="-ldl  $LIBS"
32830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32831 /* end confdefs.h.  */
32832
32833 /* Override any GCC internal prototype to avoid an error.
32834    Use char because int might match the return type of a GCC
32835    builtin and then its argument prototype would still apply.  */
32836 #ifdef __cplusplus
32837 extern "C"
32838 #endif
32839 char dlerror ();
32840 int
32841 main ()
32842 {
32843 return dlerror ();
32844   ;
32845   return 0;
32846 }
32847 _ACEOF
32848 if ac_fn_c_try_link "$LINENO"; then :
32849   ac_cv_lib_dl_dlerror=yes
32850 else
32851   ac_cv_lib_dl_dlerror=no
32852 fi
32853 rm -f core conftest.err conftest.$ac_objext \
32854     conftest$ac_exeext conftest.$ac_ext
32855 LIBS=$ac_check_lib_save_LIBS
32856 fi
32857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlerror" >&5
32858 $as_echo "$ac_cv_lib_dl_dlerror" >&6; }
32859 if test "x$ac_cv_lib_dl_dlerror" = x""yes; then :
32860   $as_echo "#define HAVE_DLERROR 1" >>confdefs.h
32861
32862 fi
32863
32864
32865
32866 fi
32867 done
32868
32869             fi
32870         fi
32871
32872                 if test "$USE_DARWIN" = 1; then
32873                         HAVE_DL_FUNCS=1
32874         fi
32875
32876         if test "$HAVE_DL_FUNCS" = 0; then
32877             if test "$HAVE_SHL_FUNCS" = 0; then
32878               if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
32879                   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Missing dynamic loading support, several features will be disabled" >&5
32880 $as_echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
32881                   wxUSE_DYNAMIC_LOADER=no
32882                   wxUSE_DYNLIB_CLASS=no
32883               else
32884                   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Assuming wxLibrary class works on this platform" >&5
32885 $as_echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
32886               fi
32887             fi
32888         fi
32889     fi
32890 fi
32891
32892 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
32893     $as_echo "#define wxUSE_DYNAMIC_LOADER 1" >>confdefs.h
32894
32895 fi
32896 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
32897     $as_echo "#define wxUSE_DYNLIB_CLASS 1" >>confdefs.h
32898
32899 fi
32900
32901
32902
32903 if test "$wxUSE_PLUGINS" = "yes" ; then
32904     if test "$wxUSE_SHARED" = "no" ; then
32905         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: plugins supported only in shared build, disabling" >&5
32906 $as_echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
32907         wxUSE_PLUGINS=no
32908     fi
32909     if test "$wxUSE_MONOLITHIC" = "yes" ; then
32910         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: plugins not supported monolithic build, disabling" >&5
32911 $as_echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
32912         wxUSE_PLUGINS=no
32913     fi
32914     if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
32915         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: plugins require wxDynamicLibrary, disabling" >&5
32916 $as_echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
32917         wxUSE_PLUGINS=no
32918     fi
32919     if test "$wxUSE_PLUGINS" = "yes" ; then
32920         $as_echo "#define wxUSE_PLUGINS 1" >>confdefs.h
32921
32922     fi
32923 fi
32924
32925
32926 if test "$wxUSE_FSWATCHER" = "yes"; then
32927                 if test "$wxUSE_MSW" != "1"; then
32928         if test "$wxUSE_UNIX" = "yes"; then
32929             for ac_header in sys/inotify.h
32930 do :
32931   ac_fn_c_check_header_compile "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default
32932 "
32933 if test "x$ac_cv_header_sys_inotify_h" = x""yes; then :
32934   cat >>confdefs.h <<_ACEOF
32935 #define HAVE_SYS_INOTIFY_H 1
32936 _ACEOF
32937
32938 fi
32939
32940 done
32941
32942             if test "$ac_cv_header_sys_inotify_h" = "yes"; then
32943                 $as_echo "#define wxHAS_INOTIFY 1" >>confdefs.h
32944
32945             else
32946                 for ac_header in sys/event.h
32947 do :
32948   ac_fn_c_check_header_compile "$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default
32949 "
32950 if test "x$ac_cv_header_sys_event_h" = x""yes; then :
32951   cat >>confdefs.h <<_ACEOF
32952 #define HAVE_SYS_EVENT_H 1
32953 _ACEOF
32954
32955 fi
32956
32957 done
32958
32959                 if test "$ac_cv_header_sys_event_h" = "yes"; then
32960                     $as_echo "#define wxHAS_KQUEUE 1" >>confdefs.h
32961
32962                 else
32963                     wxUSE_FSWATCHER=no
32964                 fi
32965             fi
32966         else
32967             wxUSE_FSWATCHER=no
32968         fi
32969     else
32970         if test "$wxUSE_THREADS" != "yes"; then
32971             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxFileSystemWatcher disabled due to --disable-threads" >&5
32972 $as_echo "$as_me: WARNING: wxFileSystemWatcher disabled due to --disable-threads" >&2;}
32973             wxUSE_FSWATCHER=no
32974         fi
32975     fi
32976
32977     if test "$wxUSE_FSWATCHER" = "yes"; then
32978         $as_echo "#define wxUSE_FSWATCHER 1" >>confdefs.h
32979
32980         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS fswatcher"
32981     else
32982         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxFileSystemWatcher won't be available on this platform" >&5
32983 $as_echo "$as_me: WARNING: wxFileSystemWatcher won't be available on this platform" >&2;}
32984     fi
32985 fi
32986
32987
32988 if test "$wxUSE_STL" = "yes"; then
32989   $as_echo "#define wxUSE_STL 1" >>confdefs.h
32990
32991 fi
32992
32993 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
32994   $as_echo "#define wxUSE_EXTENDED_RTTI 1" >>confdefs.h
32995
32996 fi
32997
32998 if test "$wxUSE_ANY" = "yes"; then
32999     $as_echo "#define wxUSE_ANY 1" >>confdefs.h
33000
33001 fi
33002
33003 if test "$wxUSE_APPLE_IEEE" = "yes"; then
33004   $as_echo "#define wxUSE_APPLE_IEEE 1" >>confdefs.h
33005
33006 fi
33007
33008 if test "$wxUSE_TIMER" = "yes"; then
33009   $as_echo "#define wxUSE_TIMER 1" >>confdefs.h
33010
33011 fi
33012
33013 if test "$USE_UNIX" = 1 ; then
33014                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
33015 $as_echo_n "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... " >&6; }
33016 if test "${ac_cv_header_sys_soundcard+set}" = set; then :
33017   $as_echo_n "(cached) " >&6
33018 else
33019
33020         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33021 /* end confdefs.h.  */
33022
33023                 #include <sys/ioctl.h>
33024                 #include <sys/soundcard.h>
33025
33026 int
33027 main ()
33028 {
33029
33030                 ioctl(0, SNDCTL_DSP_SPEED, 0);
33031
33032   ;
33033   return 0;
33034 }
33035 _ACEOF
33036 if ac_fn_c_try_link "$LINENO"; then :
33037   ac_cv_header_sys_soundcard=yes
33038 else
33039
33040                 saveLibs="$LIBS"
33041                 LIBS="$saveLibs -lossaudio"
33042                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33043 /* end confdefs.h.  */
33044
33045                         #include <sys/ioctl.h>
33046                         #include <sys/soundcard.h>
33047
33048 int
33049 main ()
33050 {
33051
33052                         ioctl(0, SNDCTL_DSP_SPEED, 0);
33053
33054   ;
33055   return 0;
33056 }
33057 _ACEOF
33058 if ac_fn_c_try_link "$LINENO"; then :
33059   ac_cv_header_sys_soundcard=yes
33060 else
33061
33062                         LIBS="$saveLibs"
33063                         ac_cv_header_sys_soundcard=no
33064
33065
33066 fi
33067 rm -f core conftest.err conftest.$ac_objext \
33068     conftest$ac_exeext conftest.$ac_ext
33069
33070
33071 fi
33072 rm -f core conftest.err conftest.$ac_objext \
33073     conftest$ac_exeext conftest.$ac_ext
33074
33075 fi
33076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_soundcard" >&5
33077 $as_echo "$ac_cv_header_sys_soundcard" >&6; }
33078
33079     if test "$ac_cv_header_sys_soundcard" = "yes"; then
33080         $as_echo "#define HAVE_SYS_SOUNDCARD_H 1" >>confdefs.h
33081
33082     fi
33083 fi
33084
33085 WITH_PLUGIN_SDL=0
33086 if test "$wxUSE_SOUND" = "yes"; then
33087   if test "$USE_UNIX" = 1 ; then
33088     if test "$wxUSE_LIBSDL" != "no"; then
33089
33090 # Check whether --with-sdl-prefix was given.
33091 if test "${with_sdl_prefix+set}" = set; then :
33092   withval=$with_sdl_prefix; sdl_prefix="$withval"
33093 else
33094   sdl_prefix=""
33095 fi
33096
33097
33098 # Check whether --with-sdl-exec-prefix was given.
33099 if test "${with_sdl_exec_prefix+set}" = set; then :
33100   withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
33101 else
33102   sdl_exec_prefix=""
33103 fi
33104
33105 # Check whether --enable-sdltest was given.
33106 if test "${enable_sdltest+set}" = set; then :
33107   enableval=$enable_sdltest;
33108 else
33109   enable_sdltest=yes
33110 fi
33111
33112
33113   if test x$sdl_exec_prefix != x ; then
33114     sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
33115     if test x${SDL_CONFIG+set} != xset ; then
33116       SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
33117     fi
33118   fi
33119   if test x$sdl_prefix != x ; then
33120     sdl_args="$sdl_args --prefix=$sdl_prefix"
33121     if test x${SDL_CONFIG+set} != xset ; then
33122       SDL_CONFIG=$sdl_prefix/bin/sdl-config
33123     fi
33124   fi
33125
33126   if test "x$prefix" != xNONE; then
33127     PATH="$prefix/bin:$prefix/usr/bin:$PATH"
33128   fi
33129   # Extract the first word of "sdl-config", so it can be a program name with args.
33130 set dummy sdl-config; ac_word=$2
33131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
33132 $as_echo_n "checking for $ac_word... " >&6; }
33133 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then :
33134   $as_echo_n "(cached) " >&6
33135 else
33136   case $SDL_CONFIG in
33137   [\\/]* | ?:[\\/]*)
33138   ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
33139   ;;
33140   *)
33141   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33142 for as_dir in $PATH
33143 do
33144   IFS=$as_save_IFS
33145   test -z "$as_dir" && as_dir=.
33146     for ac_exec_ext in '' $ac_executable_extensions; do
33147   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33148     ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33149     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
33150     break 2
33151   fi
33152 done
33153   done
33154 IFS=$as_save_IFS
33155
33156   test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
33157   ;;
33158 esac
33159 fi
33160 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
33161 if test -n "$SDL_CONFIG"; then
33162   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SDL_CONFIG" >&5
33163 $as_echo "$SDL_CONFIG" >&6; }
33164 else
33165   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33166 $as_echo "no" >&6; }
33167 fi
33168
33169
33170   min_sdl_version=1.2.0
33171   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL - version >= $min_sdl_version" >&5
33172 $as_echo_n "checking for SDL - version >= $min_sdl_version... " >&6; }
33173   no_sdl=""
33174   if test "$SDL_CONFIG" = "no" ; then
33175     no_sdl=yes
33176   else
33177     SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
33178     SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
33179
33180     sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
33181            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
33182     sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
33183            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
33184     sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
33185            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
33186     if test "x$enable_sdltest" = "xyes" ; then
33187       ac_save_CFLAGS="$CFLAGS"
33188       ac_save_CXXFLAGS="$CXXFLAGS"
33189       ac_save_LIBS="$LIBS"
33190       CFLAGS="$CFLAGS $SDL_CFLAGS"
33191       CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
33192       LIBS="$LIBS $SDL_LIBS"
33193       rm -f conf.sdltest
33194       if test "$cross_compiling" = yes; then :
33195   echo $ac_n "cross compiling; assumed OK... $ac_c"
33196 else
33197   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33198 /* end confdefs.h.  */
33199
33200 #include <stdio.h>
33201 #include <stdlib.h>
33202 #include <string.h>
33203 #include "SDL.h"
33204
33205 char*
33206 my_strdup (char *str)
33207 {
33208   char *new_str;
33209
33210   if (str)
33211     {
33212       new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
33213       strcpy (new_str, str);
33214     }
33215   else
33216     new_str = NULL;
33217
33218   return new_str;
33219 }
33220
33221 int main (int argc, char *argv[])
33222 {
33223   int major, minor, micro;
33224   char *tmp_version;
33225
33226   /* This hangs on some systems (?)
33227   system ("touch conf.sdltest");
33228   */
33229   { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
33230
33231   /* HP/UX 9 (%@#!) writes to sscanf strings */
33232   tmp_version = my_strdup("$min_sdl_version");
33233   if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
33234      printf("%s, bad version string\n", "$min_sdl_version");
33235      exit(1);
33236    }
33237
33238    if (($sdl_major_version > major) ||
33239       (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
33240       (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
33241     {
33242       return 0;
33243     }
33244   else
33245     {
33246       printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
33247       printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
33248       printf("*** best to upgrade to the required version.\n");
33249       printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
33250       printf("*** to point to the correct copy of sdl-config, and remove the file\n");
33251       printf("*** config.cache before re-running configure\n");
33252       return 1;
33253     }
33254 }
33255
33256
33257 _ACEOF
33258 if ac_fn_c_try_run "$LINENO"; then :
33259
33260 else
33261   no_sdl=yes
33262 fi
33263 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
33264   conftest.$ac_objext conftest.beam conftest.$ac_ext
33265 fi
33266
33267        CFLAGS="$ac_save_CFLAGS"
33268        CXXFLAGS="$ac_save_CXXFLAGS"
33269        LIBS="$ac_save_LIBS"
33270      fi
33271   fi
33272   if test "x$no_sdl" = x ; then
33273      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33274 $as_echo "yes" >&6; }
33275
33276                     EXTRALIBS_SDL="$SDL_LIBS"
33277                     CFLAGS="$SDL_CFLAGS $CFLAGS"
33278                     CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
33279                     $as_echo "#define wxUSE_LIBSDL 1" >>confdefs.h
33280
33281
33282   else
33283      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33284 $as_echo "no" >&6; }
33285      if test "$SDL_CONFIG" = "no" ; then
33286        echo "*** The sdl-config script installed by SDL could not be found"
33287        echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
33288        echo "*** your path, or set the SDL_CONFIG environment variable to the"
33289        echo "*** full path to sdl-config."
33290      else
33291        if test -f conf.sdltest ; then
33292         :
33293        else
33294           echo "*** Could not run SDL test program, checking why..."
33295           CFLAGS="$CFLAGS $SDL_CFLAGS"
33296           CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
33297           LIBS="$LIBS $SDL_LIBS"
33298           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33299 /* end confdefs.h.  */
33300
33301 #include <stdio.h>
33302 #include "SDL.h"
33303
33304 int main(int argc, char *argv[])
33305 { return 0; }
33306 #undef  main
33307 #define main K_and_R_C_main
33308
33309 int
33310 main ()
33311 {
33312  return 0;
33313   ;
33314   return 0;
33315 }
33316 _ACEOF
33317 if ac_fn_c_try_link "$LINENO"; then :
33318    echo "*** The test program compiled, but did not run. This usually means"
33319           echo "*** that the run-time linker is not finding SDL or finding the wrong"
33320           echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
33321           echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
33322           echo "*** to the installed location  Also, make sure you have run ldconfig if that"
33323           echo "*** is required on your system"
33324           echo "***"
33325           echo "*** If you have an old version installed, it is best to remove it, although"
33326           echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
33327 else
33328    echo "*** The test program failed to compile or link. See the file config.log for the"
33329           echo "*** exact error that occurred. This usually means SDL was incorrectly installed"
33330           echo "*** or that you have moved SDL since it was installed. In the latter case, you"
33331           echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
33332 fi
33333 rm -f core conftest.err conftest.$ac_objext \
33334     conftest$ac_exeext conftest.$ac_ext
33335           CFLAGS="$ac_save_CFLAGS"
33336           CXXFLAGS="$ac_save_CXXFLAGS"
33337           LIBS="$ac_save_LIBS"
33338        fi
33339      fi
33340      SDL_CFLAGS=""
33341      SDL_LIBS=""
33342      wxUSE_LIBSDL="no"
33343   fi
33344
33345
33346   rm -f conf.sdltest
33347
33348       if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
33349         WITH_PLUGIN_SDL=1
33350       fi
33351     fi
33352   fi
33353 fi
33354
33355 if test "$wxUSE_SOUND" = "yes"; then
33356   $as_echo "#define wxUSE_SOUND 1" >>confdefs.h
33357
33358   SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
33359 fi
33360
33361 if test "$WXGTK2" = 1; then
33362
33363
33364 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
33365         if test -n "$ac_tool_prefix"; then
33366   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
33367 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
33368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
33369 $as_echo_n "checking for $ac_word... " >&6; }
33370 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
33371   $as_echo_n "(cached) " >&6
33372 else
33373   case $PKG_CONFIG in
33374   [\\/]* | ?:[\\/]*)
33375   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
33376   ;;
33377   *)
33378   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33379 for as_dir in $PATH
33380 do
33381   IFS=$as_save_IFS
33382   test -z "$as_dir" && as_dir=.
33383     for ac_exec_ext in '' $ac_executable_extensions; do
33384   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33385     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33386     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
33387     break 2
33388   fi
33389 done
33390   done
33391 IFS=$as_save_IFS
33392
33393   ;;
33394 esac
33395 fi
33396 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
33397 if test -n "$PKG_CONFIG"; then
33398   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
33399 $as_echo "$PKG_CONFIG" >&6; }
33400 else
33401   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33402 $as_echo "no" >&6; }
33403 fi
33404
33405
33406 fi
33407 if test -z "$ac_cv_path_PKG_CONFIG"; then
33408   ac_pt_PKG_CONFIG=$PKG_CONFIG
33409   # Extract the first word of "pkg-config", so it can be a program name with args.
33410 set dummy pkg-config; ac_word=$2
33411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
33412 $as_echo_n "checking for $ac_word... " >&6; }
33413 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
33414   $as_echo_n "(cached) " >&6
33415 else
33416   case $ac_pt_PKG_CONFIG in
33417   [\\/]* | ?:[\\/]*)
33418   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
33419   ;;
33420   *)
33421   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33422 for as_dir in $PATH
33423 do
33424   IFS=$as_save_IFS
33425   test -z "$as_dir" && as_dir=.
33426     for ac_exec_ext in '' $ac_executable_extensions; do
33427   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33428     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33429     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
33430     break 2
33431   fi
33432 done
33433   done
33434 IFS=$as_save_IFS
33435
33436   ;;
33437 esac
33438 fi
33439 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
33440 if test -n "$ac_pt_PKG_CONFIG"; then
33441   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
33442 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
33443 else
33444   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33445 $as_echo "no" >&6; }
33446 fi
33447
33448   if test "x$ac_pt_PKG_CONFIG" = x; then
33449     PKG_CONFIG=""
33450   else
33451     case $cross_compiling:$ac_tool_warned in
33452 yes:)
33453 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
33454 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
33455 ac_tool_warned=yes ;;
33456 esac
33457     PKG_CONFIG=$ac_pt_PKG_CONFIG
33458   fi
33459 else
33460   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
33461 fi
33462
33463 fi
33464 if test -n "$PKG_CONFIG"; then
33465         _pkg_min_version=0.9.0
33466         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
33467 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
33468         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
33469                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33470 $as_echo "yes" >&6; }
33471         else
33472                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33473 $as_echo "no" >&6; }
33474                 PKG_CONFIG=""
33475         fi
33476
33477 fi
33478
33479     if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
33480
33481         if test "$wxUSE_GTKPRINT" = "yes" ; then
33482
33483
33484 pkg_failed=no
33485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKPRINT" >&5
33486 $as_echo_n "checking for GTKPRINT... " >&6; }
33487
33488 if test -n "$PKG_CONFIG"; then
33489     if test -n "$GTKPRINT_CFLAGS"; then
33490         pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
33491     else
33492         if test -n "$PKG_CONFIG" && \
33493     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\""; } >&5
33494   ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
33495   ac_status=$?
33496   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33497   test $ac_status = 0; }; then
33498   pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
33499 else
33500   pkg_failed=yes
33501 fi
33502     fi
33503 else
33504         pkg_failed=untried
33505 fi
33506 if test -n "$PKG_CONFIG"; then
33507     if test -n "$GTKPRINT_LIBS"; then
33508         pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
33509     else
33510         if test -n "$PKG_CONFIG" && \
33511     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\""; } >&5
33512   ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
33513   ac_status=$?
33514   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33515   test $ac_status = 0; }; then
33516   pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
33517 else
33518   pkg_failed=yes
33519 fi
33520     fi
33521 else
33522         pkg_failed=untried
33523 fi
33524
33525
33526
33527 if test $pkg_failed = yes; then
33528
33529 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33530         _pkg_short_errors_supported=yes
33531 else
33532         _pkg_short_errors_supported=no
33533 fi
33534         if test $_pkg_short_errors_supported = yes; then
33535                 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
33536         else
33537                 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
33538         fi
33539         # Put the nasty error message in config.log where it belongs
33540         echo "$GTKPRINT_PKG_ERRORS" >&5
33541
33542
33543                         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
33544 $as_echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
33545                         wxUSE_GTKPRINT="no"
33546
33547
33548 elif test $pkg_failed = untried; then
33549
33550                         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
33551 $as_echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
33552                         wxUSE_GTKPRINT="no"
33553
33554
33555 else
33556         GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
33557         GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
33558         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33559 $as_echo "yes" >&6; }
33560
33561                         CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
33562                         CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
33563                         $as_echo "#define wxUSE_GTKPRINT 1" >>confdefs.h
33564
33565
33566 fi
33567         fi
33568
33569         if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
33570
33571
33572 pkg_failed=no
33573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBGNOMEPRINTUI" >&5
33574 $as_echo_n "checking for LIBGNOMEPRINTUI... " >&6; }
33575
33576 if test -n "$PKG_CONFIG"; then
33577     if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
33578         pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
33579     else
33580         if test -n "$PKG_CONFIG" && \
33581     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\""; } >&5
33582   ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
33583   ac_status=$?
33584   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33585   test $ac_status = 0; }; then
33586   pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
33587 else
33588   pkg_failed=yes
33589 fi
33590     fi
33591 else
33592         pkg_failed=untried
33593 fi
33594 if test -n "$PKG_CONFIG"; then
33595     if test -n "$LIBGNOMEPRINTUI_LIBS"; then
33596         pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
33597     else
33598         if test -n "$PKG_CONFIG" && \
33599     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\""; } >&5
33600   ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
33601   ac_status=$?
33602   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33603   test $ac_status = 0; }; then
33604   pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
33605 else
33606   pkg_failed=yes
33607 fi
33608     fi
33609 else
33610         pkg_failed=untried
33611 fi
33612
33613
33614
33615 if test $pkg_failed = yes; then
33616
33617 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33618         _pkg_short_errors_supported=yes
33619 else
33620         _pkg_short_errors_supported=no
33621 fi
33622         if test $_pkg_short_errors_supported = yes; then
33623                 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
33624         else
33625                 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
33626         fi
33627         # Put the nasty error message in config.log where it belongs
33628         echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
33629
33630
33631                         if test "$wxUSE_GTKPRINT" = yes; then
33632                             { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33633 $as_echo "no" >&6; }
33634                         else
33635                             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
33636 $as_echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
33637                         fi
33638                         wxUSE_LIBGNOMEPRINT="no"
33639
33640
33641 elif test $pkg_failed = untried; then
33642
33643                         if test "$wxUSE_GTKPRINT" = yes; then
33644                             { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33645 $as_echo "no" >&6; }
33646                         else
33647                             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
33648 $as_echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
33649                         fi
33650                         wxUSE_LIBGNOMEPRINT="no"
33651
33652
33653 else
33654         LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
33655         LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
33656         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33657 $as_echo "yes" >&6; }
33658
33659                         CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
33660                         CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
33661                         $as_echo "#define wxUSE_LIBGNOMEPRINT 1" >>confdefs.h
33662
33663
33664 fi
33665         fi
33666     fi
33667
33668     if test "$wxUSE_MIMETYPE" = "yes" ; then
33669         if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
33670
33671
33672 pkg_failed=no
33673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNOMEVFS" >&5
33674 $as_echo_n "checking for GNOMEVFS... " >&6; }
33675
33676 if test -n "$PKG_CONFIG"; then
33677     if test -n "$GNOMEVFS_CFLAGS"; then
33678         pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
33679     else
33680         if test -n "$PKG_CONFIG" && \
33681     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\""; } >&5
33682   ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
33683   ac_status=$?
33684   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33685   test $ac_status = 0; }; then
33686   pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
33687 else
33688   pkg_failed=yes
33689 fi
33690     fi
33691 else
33692         pkg_failed=untried
33693 fi
33694 if test -n "$PKG_CONFIG"; then
33695     if test -n "$GNOMEVFS_LIBS"; then
33696         pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
33697     else
33698         if test -n "$PKG_CONFIG" && \
33699     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\""; } >&5
33700   ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
33701   ac_status=$?
33702   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33703   test $ac_status = 0; }; then
33704   pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
33705 else
33706   pkg_failed=yes
33707 fi
33708     fi
33709 else
33710         pkg_failed=untried
33711 fi
33712
33713
33714
33715 if test $pkg_failed = yes; then
33716
33717 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33718         _pkg_short_errors_supported=yes
33719 else
33720         _pkg_short_errors_supported=no
33721 fi
33722         if test $_pkg_short_errors_supported = yes; then
33723                 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
33724         else
33725                 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
33726         fi
33727         # Put the nasty error message in config.log where it belongs
33728         echo "$GNOMEVFS_PKG_ERRORS" >&5
33729
33730
33731                         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
33732 $as_echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
33733                         wxUSE_LIBGNOMEVFS="no"
33734
33735
33736 elif test $pkg_failed = untried; then
33737
33738                         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
33739 $as_echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
33740                         wxUSE_LIBGNOMEVFS="no"
33741
33742
33743 else
33744         GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
33745         GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
33746         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33747 $as_echo "yes" >&6; }
33748
33749                         CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
33750                         CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
33751                         $as_echo "#define wxUSE_LIBGNOMEVFS 1" >>confdefs.h
33752
33753
33754 fi
33755         fi
33756     fi
33757
33758     if test "$wxUSE_LIBHILDON" = "yes" ; then
33759
33760 pkg_failed=no
33761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HILDON" >&5
33762 $as_echo_n "checking for HILDON... " >&6; }
33763
33764 if test -n "$PKG_CONFIG"; then
33765     if test -n "$HILDON_CFLAGS"; then
33766         pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
33767     else
33768         if test -n "$PKG_CONFIG" && \
33769     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\""; } >&5
33770   ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
33771   ac_status=$?
33772   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33773   test $ac_status = 0; }; then
33774   pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
33775 else
33776   pkg_failed=yes
33777 fi
33778     fi
33779 else
33780         pkg_failed=untried
33781 fi
33782 if test -n "$PKG_CONFIG"; then
33783     if test -n "$HILDON_LIBS"; then
33784         pkg_cv_HILDON_LIBS="$HILDON_LIBS"
33785     else
33786         if test -n "$PKG_CONFIG" && \
33787     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\""; } >&5
33788   ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
33789   ac_status=$?
33790   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33791   test $ac_status = 0; }; then
33792   pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
33793 else
33794   pkg_failed=yes
33795 fi
33796     fi
33797 else
33798         pkg_failed=untried
33799 fi
33800
33801
33802
33803 if test $pkg_failed = yes; then
33804
33805 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33806         _pkg_short_errors_supported=yes
33807 else
33808         _pkg_short_errors_supported=no
33809 fi
33810         if test $_pkg_short_errors_supported = yes; then
33811                 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
33812         else
33813                 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
33814         fi
33815         # Put the nasty error message in config.log where it belongs
33816         echo "$HILDON_PKG_ERRORS" >&5
33817
33818
33819                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_lgpl not found" >&5
33820 $as_echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
33821                         wxUSE_LIBHILDON="no"
33822                         ac_hildon_lgpl=0
33823
33824
33825 elif test $pkg_failed = untried; then
33826
33827                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_lgpl not found" >&5
33828 $as_echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
33829                         wxUSE_LIBHILDON="no"
33830                         ac_hildon_lgpl=0
33831
33832
33833 else
33834         HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
33835         HILDON_LIBS=$pkg_cv_HILDON_LIBS
33836         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33837 $as_echo "yes" >&6; }
33838
33839                 EXTRALIBS_HILDON="$HILDON_LIBS"
33840                 CFLAGS="$CFLAGS $HILDON_CFLAGS"
33841                 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
33842                 $as_echo "#define wxUSE_LIBHILDON 1" >>confdefs.h
33843
33844                 ac_hildon_lgpl=1
33845
33846 fi
33847
33848         if test "$ac_hildon_lgpl" = 0 ; then
33849
33850 pkg_failed=no
33851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HILDON2" >&5
33852 $as_echo_n "checking for HILDON2... " >&6; }
33853
33854 if test -n "$PKG_CONFIG"; then
33855     if test -n "$HILDON2_CFLAGS"; then
33856         pkg_cv_HILDON2_CFLAGS="$HILDON2_CFLAGS"
33857     else
33858         if test -n "$PKG_CONFIG" && \
33859     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\""; } >&5
33860   ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
33861   ac_status=$?
33862   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33863   test $ac_status = 0; }; then
33864   pkg_cv_HILDON2_CFLAGS=`$PKG_CONFIG --cflags "hildon-1 >= 1.99" 2>/dev/null`
33865 else
33866   pkg_failed=yes
33867 fi
33868     fi
33869 else
33870         pkg_failed=untried
33871 fi
33872 if test -n "$PKG_CONFIG"; then
33873     if test -n "$HILDON2_LIBS"; then
33874         pkg_cv_HILDON2_LIBS="$HILDON2_LIBS"
33875     else
33876         if test -n "$PKG_CONFIG" && \
33877     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\""; } >&5
33878   ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
33879   ac_status=$?
33880   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33881   test $ac_status = 0; }; then
33882   pkg_cv_HILDON2_LIBS=`$PKG_CONFIG --libs "hildon-1 >= 1.99" 2>/dev/null`
33883 else
33884   pkg_failed=yes
33885 fi
33886     fi
33887 else
33888         pkg_failed=untried
33889 fi
33890
33891
33892
33893 if test $pkg_failed = yes; then
33894
33895 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33896         _pkg_short_errors_supported=yes
33897 else
33898         _pkg_short_errors_supported=no
33899 fi
33900         if test $_pkg_short_errors_supported = yes; then
33901                 HILDON2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
33902         else
33903                 HILDON2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
33904         fi
33905         # Put the nasty error message in config.log where it belongs
33906         echo "$HILDON2_PKG_ERRORS" >&5
33907
33908
33909                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_1 not found" >&5
33910 $as_echo "$as_me: WARNING: libhildon_1 not found" >&2;}
33911                             wxUSE_LIBHILDON2="no"
33912
33913
33914 elif test $pkg_failed = untried; then
33915
33916                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_1 not found" >&5
33917 $as_echo "$as_me: WARNING: libhildon_1 not found" >&2;}
33918                             wxUSE_LIBHILDON2="no"
33919
33920
33921 else
33922         HILDON2_CFLAGS=$pkg_cv_HILDON2_CFLAGS
33923         HILDON2_LIBS=$pkg_cv_HILDON2_LIBS
33924         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33925 $as_echo "yes" >&6; }
33926
33927                     EXTRALIBS_HILDON="$HILDON2_LIBS"
33928                     CFLAGS="$CFLAGS $HILDON2_CFLAGS"
33929                     CXXFLAGS="$CXXFLAGS $HILDON2_CFLAGS"
33930                     $as_echo "#define wxUSE_LIBHILDON2 1" >>confdefs.h
33931
33932
33933 fi
33934         fi
33935     fi
33936 fi
33937
33938 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
33939   $as_echo "#define wxUSE_CMDLINE_PARSER 1" >>confdefs.h
33940
33941 fi
33942
33943 if test "$wxUSE_STOPWATCH" = "yes"; then
33944   $as_echo "#define wxUSE_STOPWATCH 1" >>confdefs.h
33945
33946 fi
33947
33948 if test "$wxUSE_DATETIME" = "yes"; then
33949   $as_echo "#define wxUSE_DATETIME 1" >>confdefs.h
33950
33951 fi
33952
33953 if test "$wxUSE_FILE" = "yes"; then
33954   $as_echo "#define wxUSE_FILE 1" >>confdefs.h
33955
33956 fi
33957
33958 if test "$wxUSE_FFILE" = "yes"; then
33959   $as_echo "#define wxUSE_FFILE 1" >>confdefs.h
33960
33961 fi
33962
33963 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
33964   if test "$wxUSE_STREAMS" != yes; then
33965     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxArchive requires wxStreams... disabled" >&5
33966 $as_echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
33967     wxUSE_ARCHIVE_STREAMS=no
33968   else
33969     $as_echo "#define wxUSE_ARCHIVE_STREAMS 1" >>confdefs.h
33970
33971   fi
33972 fi
33973
33974 if test "$wxUSE_ZIPSTREAM" = "yes"; then
33975   if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
33976     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxZip requires wxArchive... disabled" >&5
33977 $as_echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
33978   elif test "$wxUSE_ZLIB" = "no"; then
33979     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxZip requires wxZlib... disabled" >&5
33980 $as_echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
33981   else
33982     $as_echo "#define wxUSE_ZIPSTREAM 1" >>confdefs.h
33983
33984   fi
33985 fi
33986
33987 if test "$wxUSE_TARSTREAM" = "yes"; then
33988   if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
33989     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTar requires wxArchive... disabled" >&5
33990 $as_echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
33991   else
33992     $as_echo "#define wxUSE_TARSTREAM 1" >>confdefs.h
33993
33994   fi
33995 fi
33996
33997 if test "$wxUSE_FILE_HISTORY" = "yes"; then
33998   $as_echo "#define wxUSE_FILE_HISTORY 1" >>confdefs.h
33999
34000 fi
34001
34002 if test "$wxUSE_FILESYSTEM" = "yes"; then
34003   if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
34004     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
34005 $as_echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
34006     wxUSE_FILESYSTEM=no
34007   else
34008     $as_echo "#define wxUSE_FILESYSTEM 1" >>confdefs.h
34009
34010   fi
34011 fi
34012
34013 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
34014   if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
34015     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
34016 $as_echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
34017   else
34018     $as_echo "#define wxUSE_FS_ARCHIVE 1" >>confdefs.h
34019
34020   fi
34021 fi
34022
34023 if test "$wxUSE_FS_ZIP" = "yes"; then
34024   if test "$wxUSE_FS_ARCHIVE" != yes; then
34025     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
34026 $as_echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
34027   else
34028     $as_echo "#define wxUSE_FS_ZIP 1" >>confdefs.h
34029
34030   fi
34031 fi
34032
34033 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
34034   if test "$USE_UNIX" != 1; then
34035     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
34036 $as_echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
34037     wxUSE_ON_FATAL_EXCEPTION=no
34038   else
34039     $as_echo "#define wxUSE_ON_FATAL_EXCEPTION 1" >>confdefs.h
34040
34041   fi
34042 fi
34043
34044 if test "$wxUSE_STACKWALKER" = "yes"; then
34045     $as_echo "#define wxUSE_STACKWALKER 1" >>confdefs.h
34046
34047 fi
34048
34049 if test "$wxUSE_DEBUGREPORT" = "yes"; then
34050     if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
34051         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
34052 $as_echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
34053         wxUSE_DEBUGREPORT=no
34054     else
34055         $as_echo "#define wxUSE_DEBUGREPORT 1" >>confdefs.h
34056
34057         if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
34058             SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
34059         fi
34060     fi
34061 fi
34062
34063 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
34064   $as_echo "#define wxUSE_SNGLINST_CHECKER 1" >>confdefs.h
34065
34066 fi
34067
34068 if test "$wxUSE_BUSYINFO" = "yes"; then
34069   $as_echo "#define wxUSE_BUSYINFO 1" >>confdefs.h
34070
34071 fi
34072
34073 if test "$wxUSE_HOTKEY" = "yes"; then
34074   if test "$wxUSE_MSW" != 1 -a "$wxUSE_OSX_COCOA" != 1 -a "$wxUSE_OSX_CARBON" != 1; then
34075     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Hot keys not supported by the current toolkit, disabled" >&5
34076 $as_echo "$as_me: WARNING: Hot keys not supported by the current toolkit, disabled" >&2;}
34077     wxUSE_HOTKEY=no
34078   fi
34079 elif test "$wxUSE_HOTKEY" = "auto"; then
34080   if test "$wxUSE_MSW" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OSX_CARBON" = 1; then
34081     wxUSE_HOTKEY=yes
34082   fi
34083 fi
34084 if test "$wxUSE_HOTKEY" = "yes"; then
34085   $as_echo "#define wxUSE_HOTKEY 1" >>confdefs.h
34086
34087 fi
34088
34089 if test "$wxUSE_STD_CONTAINERS" = "yes"; then
34090   $as_echo "#define wxUSE_STD_CONTAINERS 1" >>confdefs.h
34091
34092 fi
34093
34094 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
34095   $as_echo "#define wxUSE_STD_IOSTREAM 1" >>confdefs.h
34096
34097 fi
34098
34099 if test "$wxUSE_STD_STRING" = "yes"; then
34100   $as_echo "#define wxUSE_STD_STRING 1" >>confdefs.h
34101
34102 fi
34103
34104 if test "$wxUSE_STD_STRING_CONV_IN_WXSTRING" = "yes"; then
34105   $as_echo "#define wxUSE_STD_STRING_CONV_IN_WXSTRING 1" >>confdefs.h
34106
34107 fi
34108
34109 if test "$wxUSE_STDPATHS" = "yes"; then
34110   $as_echo "#define wxUSE_STDPATHS 1" >>confdefs.h
34111
34112 fi
34113
34114 if test "$wxUSE_TEXTBUFFER" = "yes"; then
34115     $as_echo "#define wxUSE_TEXTBUFFER 1" >>confdefs.h
34116
34117 fi
34118
34119 if test "$wxUSE_TEXTFILE" = "yes"; then
34120   if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
34121     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
34122 $as_echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
34123   else
34124     $as_echo "#define wxUSE_TEXTFILE 1" >>confdefs.h
34125
34126   fi
34127 fi
34128
34129 if test "$wxUSE_CONFIG" = "yes" ; then
34130   if test "$wxUSE_TEXTFILE" != "yes"; then
34131     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxConfig requires wxTextFile... disabled" >&5
34132 $as_echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
34133   else
34134     $as_echo "#define wxUSE_CONFIG 1" >>confdefs.h
34135
34136     $as_echo "#define wxUSE_CONFIG_NATIVE 1" >>confdefs.h
34137
34138     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
34139   fi
34140 fi
34141
34142 if test "$wxUSE_INTL" = "yes" ; then
34143   if test "$wxUSE_FILE" != "yes"; then
34144     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: I18n code requires wxFile... disabled" >&5
34145 $as_echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
34146   else
34147     $as_echo "#define wxUSE_INTL 1" >>confdefs.h
34148
34149     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
34150     GUIDIST="$GUIDIST INTL_DIST"
34151   fi
34152 fi
34153
34154 if test "$wxUSE_XLOCALE" = "yes" ; then
34155     $as_echo "#define wxUSE_XLOCALE 1" >>confdefs.h
34156
34157     ac_fn_c_check_type "$LINENO" "locale_t" "ac_cv_type_locale_t" "#include <xlocale.h>
34158                     #include <locale.h>
34159 "
34160 if test "x$ac_cv_type_locale_t" = x""yes; then :
34161
34162 cat >>confdefs.h <<_ACEOF
34163 #define HAVE_LOCALE_T 1
34164 _ACEOF
34165
34166
34167 fi
34168
34169 fi
34170
34171 if test "$wxUSE_LOG" = "yes"; then
34172   $as_echo "#define wxUSE_LOG 1" >>confdefs.h
34173
34174
34175     if test "$wxUSE_LOGGUI" = "yes"; then
34176       $as_echo "#define wxUSE_LOGGUI 1" >>confdefs.h
34177
34178     fi
34179
34180     if test "$wxUSE_LOGWINDOW" = "yes"; then
34181       $as_echo "#define wxUSE_LOGWINDOW 1" >>confdefs.h
34182
34183     fi
34184
34185     if test "$wxUSE_LOGDIALOG" = "yes"; then
34186       $as_echo "#define wxUSE_LOG_DIALOG 1" >>confdefs.h
34187
34188     fi
34189
34190         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
34191 fi
34192
34193 if test "$wxUSE_LONGLONG" = "yes"; then
34194   $as_echo "#define wxUSE_LONGLONG 1" >>confdefs.h
34195
34196 fi
34197
34198 if test "$wxUSE_GEOMETRY" = "yes"; then
34199   $as_echo "#define wxUSE_GEOMETRY 1" >>confdefs.h
34200
34201 fi
34202
34203 if test "$wxUSE_BASE64" = "yes"; then
34204   $as_echo "#define wxUSE_BASE64 1" >>confdefs.h
34205
34206 fi
34207
34208 if test "$wxUSE_STREAMS" = "yes" ; then
34209   $as_echo "#define wxUSE_STREAMS 1" >>confdefs.h
34210
34211 fi
34212
34213 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
34214   $as_echo "#define wxUSE_PRINTF_POS_PARAMS 1" >>confdefs.h
34215
34216 fi
34217
34218 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
34219   $as_echo "#define wxUSE_OBJC_UNIQUIFYING 1" >>confdefs.h
34220
34221 fi
34222
34223
34224 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
34225     $as_echo "#define wxUSE_CONSOLE_EVENTLOOP 1" >>confdefs.h
34226
34227
34228     if test "$wxUSE_UNIX" = "yes"; then
34229         if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
34230             $as_echo "#define wxUSE_SELECT_DISPATCHER 1" >>confdefs.h
34231
34232         fi
34233
34234         if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
34235             for ac_header in sys/epoll.h
34236 do :
34237   ac_fn_c_check_header_compile "$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default
34238 "
34239 if test "x$ac_cv_header_sys_epoll_h" = x""yes; then :
34240   cat >>confdefs.h <<_ACEOF
34241 #define HAVE_SYS_EPOLL_H 1
34242 _ACEOF
34243
34244 fi
34245
34246 done
34247
34248             if test "$ac_cv_header_sys_epoll_h" = "yes"; then
34249                 $as_echo "#define wxUSE_EPOLL_DISPATCHER 1" >>confdefs.h
34250
34251             else
34252                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
34253 $as_echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
34254             fi
34255         fi
34256     fi
34257 fi
34258
34259
34260 for ac_func in gettimeofday ftime
34261 do :
34262   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34263 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34264 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
34265   cat >>confdefs.h <<_ACEOF
34266 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34267 _ACEOF
34268  break
34269 fi
34270 done
34271
34272
34273 if test "$ac_cv_func_gettimeofday" = "yes"; then
34274     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gettimeofday takes two arguments" >&5
34275 $as_echo_n "checking whether gettimeofday takes two arguments... " >&6; }
34276 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then :
34277   $as_echo_n "(cached) " >&6
34278 else
34279
34280                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34281 /* end confdefs.h.  */
34282
34283                 #include <sys/time.h>
34284                 #include <unistd.h>
34285
34286 int
34287 main ()
34288 {
34289
34290                 struct timeval tv;
34291                 gettimeofday(&tv, NULL);
34292
34293   ;
34294   return 0;
34295 }
34296 _ACEOF
34297 if ac_fn_c_try_compile "$LINENO"; then :
34298   wx_cv_func_gettimeofday_has_2_args=yes
34299 else
34300   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34301 /* end confdefs.h.  */
34302
34303                     #include <sys/time.h>
34304                     #include <unistd.h>
34305
34306 int
34307 main ()
34308 {
34309
34310                     struct timeval tv;
34311                     gettimeofday(&tv);
34312
34313   ;
34314   return 0;
34315 }
34316 _ACEOF
34317 if ac_fn_c_try_compile "$LINENO"; then :
34318   wx_cv_func_gettimeofday_has_2_args=no
34319 else
34320
34321                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: failed to determine number of gettimeofday() arguments" >&5
34322 $as_echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
34323                     wx_cv_func_gettimeofday_has_2_args=unknown
34324
34325
34326 fi
34327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34328
34329 fi
34330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34331
34332 fi
34333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_gettimeofday_has_2_args" >&5
34334 $as_echo "$wx_cv_func_gettimeofday_has_2_args" >&6; }
34335
34336     if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
34337         $as_echo "#define WX_GETTIMEOFDAY_NO_TZ 1" >>confdefs.h
34338
34339     fi
34340 fi
34341
34342 if test "$wxUSE_DATETIME" = "yes"; then
34343             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable in <time.h>" >&5
34344 $as_echo_n "checking for timezone variable in <time.h>... " >&6; }
34345 if test "${wx_cv_var_timezone+set}" = set; then :
34346   $as_echo_n "(cached) " >&6
34347 else
34348
34349                         ac_ext=cpp
34350 ac_cpp='$CXXCPP $CPPFLAGS'
34351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34354
34355                         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34356 /* end confdefs.h.  */
34357
34358                                 #include <time.h>
34359
34360 int
34361 main ()
34362 {
34363
34364                                 int tz;
34365                                 tz = timezone;
34366
34367   ;
34368   return 0;
34369 }
34370 _ACEOF
34371 if ac_fn_cxx_try_compile "$LINENO"; then :
34372
34373                                 wx_cv_var_timezone=timezone
34374
34375 else
34376
34377                                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34378 /* end confdefs.h.  */
34379
34380                                         #include <time.h>
34381
34382 int
34383 main ()
34384 {
34385
34386                                         int tz;
34387                                         tz = _timezone;
34388
34389   ;
34390   return 0;
34391 }
34392 _ACEOF
34393 if ac_fn_cxx_try_compile "$LINENO"; then :
34394
34395                                         wx_cv_var_timezone=_timezone
34396
34397 else
34398
34399                                         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34400 /* end confdefs.h.  */
34401
34402                                                 #include <time.h>
34403
34404 int
34405 main ()
34406 {
34407
34408                                                 int tz;
34409                                                 tz = __timezone;
34410
34411   ;
34412   return 0;
34413 }
34414 _ACEOF
34415 if ac_fn_cxx_try_compile "$LINENO"; then :
34416
34417                                                 wx_cv_var_timezone=__timezone
34418
34419 else
34420
34421                                                 if test "$USE_DOS" = 0 ; then
34422                                                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no timezone variable" >&5
34423 $as_echo "$as_me: WARNING: no timezone variable" >&2;}
34424                                                 fi
34425
34426
34427 fi
34428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34429
34430
34431 fi
34432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34433
34434
34435 fi
34436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34437                         ac_ext=c
34438 ac_cpp='$CPP $CPPFLAGS'
34439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34442
34443
34444
34445 fi
34446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_var_timezone" >&5
34447 $as_echo "$wx_cv_var_timezone" >&6; }
34448
34449         if test "x$wx_cv_var_timezone" != x ; then
34450         cat >>confdefs.h <<_ACEOF
34451 #define WX_TIMEZONE $wx_cv_var_timezone
34452 _ACEOF
34453
34454     fi
34455
34456         for ac_func in localtime
34457 do :
34458   ac_fn_c_check_func "$LINENO" "localtime" "ac_cv_func_localtime"
34459 if test "x$ac_cv_func_localtime" = x""yes; then :
34460   cat >>confdefs.h <<_ACEOF
34461 #define HAVE_LOCALTIME 1
34462 _ACEOF
34463
34464 fi
34465 done
34466
34467
34468     if test "$ac_cv_func_localtime" = "yes"; then
34469         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tm_gmtoff in struct tm" >&5
34470 $as_echo_n "checking for tm_gmtoff in struct tm... " >&6; }
34471 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then :
34472   $as_echo_n "(cached) " >&6
34473 else
34474
34475             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34476 /* end confdefs.h.  */
34477
34478                     #include <time.h>
34479
34480 int
34481 main ()
34482 {
34483
34484                     struct tm tm;
34485                     tm.tm_gmtoff++;
34486
34487   ;
34488   return 0;
34489 }
34490 _ACEOF
34491 if ac_fn_c_try_compile "$LINENO"; then :
34492
34493                     wx_cv_struct_tm_has_gmtoff=yes
34494
34495 else
34496   wx_cv_struct_tm_has_gmtoff=no
34497
34498 fi
34499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34500
34501 fi
34502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_struct_tm_has_gmtoff" >&5
34503 $as_echo "$wx_cv_struct_tm_has_gmtoff" >&6; }
34504     fi
34505
34506     if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
34507         $as_echo "#define WX_GMTOFF_IN_TM 1" >>confdefs.h
34508
34509     fi
34510
34511     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
34512 fi
34513
34514
34515 if test "$wxUSE_SOCKETS" = "yes"; then
34516         if test "$TOOLKIT" != "MSW"; then
34517                 ac_fn_c_check_func "$LINENO" "socket" "ac_cv_func_socket"
34518 if test "x$ac_cv_func_socket" = x""yes; then :
34519
34520 else
34521
34522                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
34523 $as_echo_n "checking for socket in -lsocket... " >&6; }
34524 if test "${ac_cv_lib_socket_socket+set}" = set; then :
34525   $as_echo_n "(cached) " >&6
34526 else
34527   ac_check_lib_save_LIBS=$LIBS
34528 LIBS="-lsocket  $LIBS"
34529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34530 /* end confdefs.h.  */
34531
34532 /* Override any GCC internal prototype to avoid an error.
34533    Use char because int might match the return type of a GCC
34534    builtin and then its argument prototype would still apply.  */
34535 #ifdef __cplusplus
34536 extern "C"
34537 #endif
34538 char socket ();
34539 int
34540 main ()
34541 {
34542 return socket ();
34543   ;
34544   return 0;
34545 }
34546 _ACEOF
34547 if ac_fn_c_try_link "$LINENO"; then :
34548   ac_cv_lib_socket_socket=yes
34549 else
34550   ac_cv_lib_socket_socket=no
34551 fi
34552 rm -f core conftest.err conftest.$ac_objext \
34553     conftest$ac_exeext conftest.$ac_ext
34554 LIBS=$ac_check_lib_save_LIBS
34555 fi
34556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
34557 $as_echo "$ac_cv_lib_socket_socket" >&6; }
34558 if test "x$ac_cv_lib_socket_socket" = x""yes; then :
34559   if test "$INET_LINK" != " -lsocket"; then
34560                         INET_LINK="$INET_LINK -lsocket"
34561                     fi
34562 else
34563
34564                         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: socket library not found - sockets will be disabled" >&5
34565 $as_echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
34566                         wxUSE_SOCKETS=no
34567
34568
34569 fi
34570
34571
34572
34573 fi
34574
34575     fi
34576 fi
34577
34578 if test "$wxUSE_SOCKETS" = "yes" ; then
34579                 if test "$TOOLKIT" != "MSW"; then
34580                                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking what is the type of the third argument of getsockname" >&5
34581 $as_echo_n "checking what is the type of the third argument of getsockname... " >&6; }
34582 if test "${wx_cv_type_getsockname3+set}" = set; then :
34583   $as_echo_n "(cached) " >&6
34584 else
34585
34586                 ac_ext=cpp
34587 ac_cpp='$CXXCPP $CPPFLAGS'
34588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34591
34592                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34593 /* end confdefs.h.  */
34594
34595                         #include <sys/types.h>
34596                         #include <sys/socket.h>
34597
34598 int
34599 main ()
34600 {
34601
34602                         socklen_t len;
34603                         getsockname(0, 0, &len);
34604
34605   ;
34606   return 0;
34607 }
34608 _ACEOF
34609 if ac_fn_cxx_try_compile "$LINENO"; then :
34610   wx_cv_type_getsockname3=socklen_t
34611 else
34612
34613                                                                                                                                                                         CFLAGS_OLD="$CFLAGS"
34614                         if test "$GCC" = yes ; then
34615                             CFLAGS="-Werror $CFLAGS"
34616                         fi
34617
34618                         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34619 /* end confdefs.h.  */
34620
34621                                 #include <sys/types.h>
34622                                 #include <sys/socket.h>
34623
34624 int
34625 main ()
34626 {
34627
34628                                 size_t len;
34629                                 getsockname(0, 0, &len);
34630
34631   ;
34632   return 0;
34633 }
34634 _ACEOF
34635 if ac_fn_cxx_try_compile "$LINENO"; then :
34636   wx_cv_type_getsockname3=size_t
34637 else
34638   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34639 /* end confdefs.h.  */
34640
34641                                     #include <sys/types.h>
34642                                     #include <sys/socket.h>
34643
34644 int
34645 main ()
34646 {
34647
34648                                     int len;
34649                                     getsockname(0, 0, &len);
34650
34651   ;
34652   return 0;
34653 }
34654 _ACEOF
34655 if ac_fn_cxx_try_compile "$LINENO"; then :
34656   wx_cv_type_getsockname3=int
34657 else
34658   wx_cv_type_getsockname3=unknown
34659
34660 fi
34661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34662
34663 fi
34664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34665
34666                         CFLAGS="$CFLAGS_OLD"
34667
34668
34669 fi
34670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34671                 ac_ext=c
34672 ac_cpp='$CPP $CPPFLAGS'
34673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34676
34677
34678 fi
34679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_getsockname3" >&5
34680 $as_echo "$wx_cv_type_getsockname3" >&6; }
34681
34682         if test "$wx_cv_type_getsockname3" = "unknown"; then
34683             wxUSE_SOCKETS=no
34684             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Couldn't find socklen_t synonym for this system" >&5
34685 $as_echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
34686         else
34687             cat >>confdefs.h <<_ACEOF
34688 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
34689 _ACEOF
34690
34691         fi
34692                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what is the type of the fifth argument of getsockopt" >&5
34693 $as_echo_n "checking what is the type of the fifth argument of getsockopt... " >&6; }
34694 if test "${wx_cv_type_getsockopt5+set}" = set; then :
34695   $as_echo_n "(cached) " >&6
34696 else
34697
34698                                                                                                 ac_ext=cpp
34699 ac_cpp='$CXXCPP $CPPFLAGS'
34700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34703
34704                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34705 /* end confdefs.h.  */
34706
34707                         #include <sys/types.h>
34708                         #include <sys/socket.h>
34709
34710 int
34711 main ()
34712 {
34713
34714                         socklen_t len;
34715                         getsockopt(0, 0, 0, 0, &len);
34716
34717   ;
34718   return 0;
34719 }
34720 _ACEOF
34721 if ac_fn_cxx_try_compile "$LINENO"; then :
34722   wx_cv_type_getsockopt5=socklen_t
34723 else
34724
34725                         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34726 /* end confdefs.h.  */
34727
34728                                 #include <sys/types.h>
34729                                 #include <sys/socket.h>
34730
34731 int
34732 main ()
34733 {
34734
34735                                 size_t len;
34736                                 getsockopt(0, 0, 0, 0, &len);
34737
34738   ;
34739   return 0;
34740 }
34741 _ACEOF
34742 if ac_fn_cxx_try_compile "$LINENO"; then :
34743   wx_cv_type_getsockopt5=size_t
34744 else
34745   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34746 /* end confdefs.h.  */
34747
34748                                     #include <sys/types.h>
34749                                     #include <sys/socket.h>
34750
34751 int
34752 main ()
34753 {
34754
34755                                     int len;
34756                                     getsockopt(0, 0, 0, 0, &len);
34757
34758   ;
34759   return 0;
34760 }
34761 _ACEOF
34762 if ac_fn_cxx_try_compile "$LINENO"; then :
34763   wx_cv_type_getsockopt5=int
34764 else
34765   wx_cv_type_getsockopt5=unknown
34766
34767 fi
34768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34769
34770 fi
34771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34772
34773
34774 fi
34775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34776                 ac_ext=c
34777 ac_cpp='$CPP $CPPFLAGS'
34778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34781
34782
34783 fi
34784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_getsockopt5" >&5
34785 $as_echo "$wx_cv_type_getsockopt5" >&6; }
34786
34787         if test "$wx_cv_type_getsockopt5" = "unknown"; then
34788             wxUSE_SOCKETS=no
34789             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Couldn't find socklen_t synonym for this system" >&5
34790 $as_echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
34791         else
34792             cat >>confdefs.h <<_ACEOF
34793 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
34794 _ACEOF
34795
34796         fi
34797     fi
34798 fi
34799
34800 if test "$wxUSE_SOCKETS" = "yes" ; then
34801     if test "$wxUSE_IPV6" = "yes"; then
34802         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have sockaddr_in6" >&5
34803 $as_echo_n "checking whether we have sockaddr_in6... " >&6; }
34804 if test "${wx_cv_type_sockaddr_in6+set}" = set; then :
34805   $as_echo_n "(cached) " >&6
34806 else
34807
34808                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34809 /* end confdefs.h.  */
34810
34811                         #include <sys/types.h>
34812                         #include <sys/socket.h>
34813                         #include <netinet/in.h>
34814
34815 int
34816 main ()
34817 {
34818
34819                         struct sockaddr_in6 sa6;
34820
34821   ;
34822   return 0;
34823 }
34824 _ACEOF
34825 if ac_fn_c_try_compile "$LINENO"; then :
34826   wx_cv_type_sockaddr_in6=yes
34827 else
34828   wx_cv_type_sockaddr_in6=no
34829
34830 fi
34831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34832
34833
34834 fi
34835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_sockaddr_in6" >&5
34836 $as_echo "$wx_cv_type_sockaddr_in6" >&6; }
34837
34838         if test "$wx_cv_type_sockaddr_in6"="yes"; then
34839             $as_echo "#define wxUSE_IPV6 1" >>confdefs.h
34840
34841         else
34842             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: IPv6 support not available... disabled" >&5
34843 $as_echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
34844         fi
34845     fi
34846
34847     $as_echo "#define wxUSE_SOCKETS 1" >>confdefs.h
34848
34849     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
34850 fi
34851
34852 if test "$wxUSE_PROTOCOL" = "yes"; then
34853     if test "$wxUSE_SOCKETS" != "yes"; then
34854         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Protocol classes require sockets... disabled" >&5
34855 $as_echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
34856         wxUSE_PROTOCOL=no
34857     fi
34858 fi
34859
34860 if test "$wxUSE_PROTOCOL" = "yes"; then
34861     $as_echo "#define wxUSE_PROTOCOL 1" >>confdefs.h
34862
34863
34864     if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
34865         $as_echo "#define wxUSE_PROTOCOL_HTTP 1" >>confdefs.h
34866
34867     fi
34868     if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
34869         $as_echo "#define wxUSE_PROTOCOL_FTP 1" >>confdefs.h
34870
34871     fi
34872     if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
34873         $as_echo "#define wxUSE_PROTOCOL_FILE 1" >>confdefs.h
34874
34875     fi
34876 else
34877     if test "$wxUSE_FS_INET" = "yes"; then
34878         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: HTTP filesystem require protocol classes... disabled" >&5
34879 $as_echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
34880         wxUSE_FS_INET="no"
34881     fi
34882 fi
34883
34884 if test "$wxUSE_URL" = "yes"; then
34885     if test "$wxUSE_PROTOCOL" != "yes"; then
34886         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxURL class requires wxProtocol... disabled" >&5
34887 $as_echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
34888         wxUSE_URL=no
34889     fi
34890     if test "$wxUSE_URL" = "yes"; then
34891         $as_echo "#define wxUSE_URL 1" >>confdefs.h
34892
34893     fi
34894 fi
34895
34896 if test "$wxUSE_VARIANT" = "yes"; then
34897     $as_echo "#define wxUSE_VARIANT 1" >>confdefs.h
34898
34899 fi
34900
34901 if test "$wxUSE_FS_INET" = "yes"; then
34902   $as_echo "#define wxUSE_FS_INET 1" >>confdefs.h
34903
34904 fi
34905
34906
34907 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
34908     wxUSE_JOYSTICK=no
34909
34910         if test "$TOOLKIT" = "MSW"; then
34911         wxUSE_JOYSTICK=yes
34912
34913         elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
34914         if test "$USE_DARWIN" = 1; then
34915                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking headers have declarations needed for joystick support" >&5
34916 $as_echo_n "checking headers have declarations needed for joystick support... " >&6; }
34917             ac_ext=cpp
34918 ac_cpp='$CXXCPP $CPPFLAGS'
34919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34922
34923             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34924 /* end confdefs.h.  */
34925  #include <IOKit/hid/IOHIDLib.h>
34926 int
34927 main ()
34928 {
34929  IOHIDQueueInterface *qi = NULL;
34930                               IOHIDCallbackFunction cb = NULL;
34931                               qi->setEventCallout(NULL, cb, NULL, NULL);
34932   ;
34933   return 0;
34934 }
34935 _ACEOF
34936 if ac_fn_cxx_try_compile "$LINENO"; then :
34937    wxUSE_JOYSTICK=yes
34938
34939 fi
34940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34941             ac_ext=c
34942 ac_cpp='$CPP $CPPFLAGS'
34943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34946
34947             { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_JOYSTICK" >&5
34948 $as_echo "$wxUSE_JOYSTICK" >&6; }
34949         fi
34950
34951         else
34952                                                         for ac_header in linux/joystick.h
34953 do :
34954   ac_fn_c_check_header_compile "$LINENO" "linux/joystick.h" "ac_cv_header_linux_joystick_h" "$ac_includes_default
34955 "
34956 if test "x$ac_cv_header_linux_joystick_h" = x""yes; then :
34957   cat >>confdefs.h <<_ACEOF
34958 #define HAVE_LINUX_JOYSTICK_H 1
34959 _ACEOF
34960  wxUSE_JOYSTICK=yes
34961 fi
34962
34963 done
34964
34965     fi
34966
34967     if test "$wxUSE_JOYSTICK" = "yes"; then
34968         $as_echo "#define wxUSE_JOYSTICK 1" >>confdefs.h
34969
34970         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
34971     else
34972         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Joystick not supported by this system... disabled" >&5
34973 $as_echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
34974     fi
34975 fi
34976
34977
34978
34979 if test "$wxUSE_FONTENUM" = "yes" ; then
34980   $as_echo "#define wxUSE_FONTENUM 1" >>confdefs.h
34981
34982 fi
34983
34984 if test "$wxUSE_FONTMAP" = "yes" ; then
34985   $as_echo "#define wxUSE_FONTMAP 1" >>confdefs.h
34986
34987 fi
34988
34989 if test "$wxUSE_UNICODE" = "yes" ; then
34990   $as_echo "#define wxUSE_UNICODE 1" >>confdefs.h
34991
34992
34993   if test "$USE_WIN32" != 1; then
34994       wxUSE_UNICODE_MSLU=no
34995   fi
34996
34997   if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
34998         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lunicows" >&5
34999 $as_echo_n "checking for main in -lunicows... " >&6; }
35000 if test "${ac_cv_lib_unicows_main+set}" = set; then :
35001   $as_echo_n "(cached) " >&6
35002 else
35003   ac_check_lib_save_LIBS=$LIBS
35004 LIBS="-lunicows  $LIBS"
35005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35006 /* end confdefs.h.  */
35007
35008
35009 int
35010 main ()
35011 {
35012 return main ();
35013   ;
35014   return 0;
35015 }
35016 _ACEOF
35017 if ac_fn_c_try_link "$LINENO"; then :
35018   ac_cv_lib_unicows_main=yes
35019 else
35020   ac_cv_lib_unicows_main=no
35021 fi
35022 rm -f core conftest.err conftest.$ac_objext \
35023     conftest$ac_exeext conftest.$ac_ext
35024 LIBS=$ac_check_lib_save_LIBS
35025 fi
35026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_unicows_main" >&5
35027 $as_echo "$ac_cv_lib_unicows_main" >&6; }
35028 if test "x$ac_cv_lib_unicows_main" = x""yes; then :
35029
35030                 $as_echo "#define wxUSE_UNICODE_MSLU 1" >>confdefs.h
35031
35032
35033 else
35034
35035                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
35036                              Applications will only run on Windows NT/2000/XP!" >&5
35037 $as_echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
35038                              Applications will only run on Windows NT/2000/XP!" >&2;}
35039                 wxUSE_UNICODE_MSLU=no
35040
35041 fi
35042
35043     fi
35044 fi
35045
35046 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
35047     $as_echo "#define wxUSE_UNICODE_UTF8 1" >>confdefs.h
35048
35049
35050     if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
35051         $as_echo "#define wxUSE_UTF8_LOCALE_ONLY 1" >>confdefs.h
35052
35053     fi
35054 fi
35055
35056
35057 if test "$wxUSE_CONSTRAINTS" = "yes"; then
35058     $as_echo "#define wxUSE_CONSTRAINTS 1" >>confdefs.h
35059
35060     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
35061 fi
35062
35063 if test "$wxUSE_MDI" = "yes"; then
35064     $as_echo "#define wxUSE_MDI 1" >>confdefs.h
35065
35066
35067     if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
35068         $as_echo "#define wxUSE_MDI_ARCHITECTURE 1" >>confdefs.h
35069
35070         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
35071     fi
35072 fi
35073
35074 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
35075     $as_echo "#define wxUSE_DOC_VIEW_ARCHITECTURE 1" >>confdefs.h
35076
35077     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
35078 fi
35079
35080 if test "$wxUSE_HELP" = "yes"; then
35081     $as_echo "#define wxUSE_HELP 1" >>confdefs.h
35082
35083     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
35084
35085     if test "$wxUSE_MSW" = 1; then
35086       if test "$wxUSE_MS_HTML_HELP" = "yes"; then
35087         $as_echo "#define wxUSE_MS_HTML_HELP 1" >>confdefs.h
35088
35089       fi
35090     fi
35091
35092     if test "$wxUSE_WXHTML_HELP" = "yes"; then
35093       if test "$wxUSE_HTML" = "yes"; then
35094         $as_echo "#define wxUSE_WXHTML_HELP 1" >>confdefs.h
35095
35096       else
35097         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
35098 $as_echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
35099         wxUSE_WXHTML_HELP=no
35100       fi
35101     fi
35102 fi
35103
35104 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
35105     $as_echo "#define wxUSE_PRINTING_ARCHITECTURE 1" >>confdefs.h
35106
35107     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
35108 fi
35109
35110 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
35111   $as_echo "#define wxUSE_POSTSCRIPT 1" >>confdefs.h
35112
35113 fi
35114
35115 $as_echo "#define wxUSE_AFM_FOR_POSTSCRIPT 1" >>confdefs.h
35116
35117
35118 if test "$wxUSE_SVG" = "yes"; then
35119     $as_echo "#define wxUSE_SVG 1" >>confdefs.h
35120
35121 fi
35122
35123
35124 if test "$wxUSE_METAFILE" = "yes"; then
35125     if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
35126         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxMetafile is not available on this system... disabled" >&5
35127 $as_echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
35128         wxUSE_METAFILE=no
35129     fi
35130 elif test "$wxUSE_METAFILE" = "auto"; then
35131     if test "$wxUSE_MSW" = 1 -o "$wxUSE_MAC" = 1 -o "$wxUSE_PM" = 1; then
35132         wxUSE_METAFILE=yes
35133     fi
35134 fi
35135
35136 if test "$wxUSE_METAFILE" = "yes"; then
35137     $as_echo "#define wxUSE_METAFILE 1" >>confdefs.h
35138
35139     if test "$wxUSE_MSW" = 1; then
35140                 $as_echo "#define wxUSE_ENH_METAFILE 1" >>confdefs.h
35141
35142     fi
35143 fi
35144
35145
35146 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ"       = "yes" \
35147                           -o "$wxUSE_CLIPBOARD"     = "yes" \
35148                           -o "$wxUSE_OLE"     = "yes" \
35149                           -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
35150     ac_fn_c_check_header_compile "$LINENO" "ole2.h" "ac_cv_header_ole2_h" "
35151 "
35152 if test "x$ac_cv_header_ole2_h" = x""yes; then :
35153
35154 fi
35155
35156
35157
35158     if test "$ac_cv_header_ole2_h" = "yes" ; then
35159         if test "$GCC" = yes ; then
35160             { $as_echo "$as_me:${as_lineno-$LINENO}: checking if g++ requires -fvtable-thunks" >&5
35161 $as_echo_n "checking if g++ requires -fvtable-thunks... " >&6; }
35162             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35163 /* end confdefs.h.  */
35164 #include <windows.h>
35165                             #include <ole2.h>
35166 int
35167 main ()
35168 {
35169
35170   ;
35171   return 0;
35172 }
35173 _ACEOF
35174 if ac_fn_c_try_compile "$LINENO"; then :
35175   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
35176 $as_echo "no" >&6; }
35177 else
35178   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35179 $as_echo "yes" >&6; }
35180                             WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
35181 fi
35182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35183             LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
35184             if test "$wxUSE_OLE" = "yes" ; then
35185                 $as_echo "#define wxUSE_OLE 1" >>confdefs.h
35186
35187                 $as_echo "#define wxUSE_OLE_AUTOMATION 1" >>confdefs.h
35188
35189                 $as_echo "#define wxUSE_ACTIVEX 1" >>confdefs.h
35190
35191                 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
35192             fi
35193         fi
35194
35195                 if test "$wxUSE_DATAOBJ" = "yes" ; then
35196             $as_echo "#define wxUSE_DATAOBJ 1" >>confdefs.h
35197
35198         fi
35199     else
35200         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Some features disabled because OLE headers not found" >&5
35201 $as_echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
35202
35203         wxUSE_CLIPBOARD=no
35204         wxUSE_DRAG_AND_DROP=no
35205         wxUSE_DATAOBJ=no
35206         wxUSE_OLE=no
35207     fi
35208 fi
35209
35210 if test "$wxUSE_IPC" = "yes"; then
35211     if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
35212         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
35213 $as_echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
35214         wxUSE_IPC=no
35215     fi
35216
35217     if test "$wxUSE_IPC" = "yes"; then
35218         $as_echo "#define wxUSE_IPC 1" >>confdefs.h
35219
35220         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
35221     fi
35222 fi
35223
35224 if test "$wxUSE_DATAOBJ" = "yes"; then
35225     $as_echo "#define wxUSE_DATAOBJ 1" >>confdefs.h
35226
35227 else
35228     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
35229 $as_echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
35230     wxUSE_CLIPBOARD=no
35231     wxUSE_DRAG_AND_DROP=no
35232 fi
35233
35234 if test "$wxUSE_CLIPBOARD" = "yes"; then
35235     if test "$wxUSE_DFB" = 1; then
35236         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
35237 $as_echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
35238         wxUSE_CLIPBOARD=no
35239     fi
35240
35241     if test "$wxUSE_CLIPBOARD" = "yes"; then
35242         $as_echo "#define wxUSE_CLIPBOARD 1" >>confdefs.h
35243
35244     fi
35245 fi
35246
35247 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
35248     if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_DFB" = 1; then
35249         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
35250 $as_echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
35251         wxUSE_DRAG_AND_DROP=no
35252     fi
35253
35254     if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
35255         $as_echo "#define wxUSE_DRAG_AND_DROP 1" >>confdefs.h
35256
35257     fi
35258
35259 fi
35260
35261 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
35262     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
35263 fi
35264
35265 if test "$wxUSE_CLIPBOARD" = "yes"; then
35266     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS clipboard"
35267 fi
35268
35269 if test "$wxUSE_SPLINES" = "yes" ; then
35270   $as_echo "#define wxUSE_SPLINES 1" >>confdefs.h
35271
35272 fi
35273
35274 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
35275   $as_echo "#define wxUSE_MOUSEWHEEL 1" >>confdefs.h
35276
35277 fi
35278
35279 if test "$wxUSE_UIACTIONSIMULATOR" = "yes" ; then
35280     $as_echo "#define wxUSE_UIACTIONSIMULATOR 1" >>confdefs.h
35281
35282     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS uiaction"
35283 fi
35284
35285 if test "$wxUSE_DC_TRANSFORM_MATRIX" = "yes" ; then
35286     $as_echo "#define wxUSE_DC_TRANSFORM_MATRIX 1" >>confdefs.h
35287
35288 fi
35289
35290
35291 USES_CONTROLS=0
35292 if test "$wxUSE_CONTROLS" = "yes"; then
35293   USES_CONTROLS=1
35294 fi
35295
35296 if test "$wxUSE_MARKUP" = "yes"; then
35297   $as_echo "#define wxUSE_MARKUP 1" >>confdefs.h
35298
35299 fi
35300
35301 if test "$wxUSE_ACCEL" = "yes"; then
35302   $as_echo "#define wxUSE_ACCEL 1" >>confdefs.h
35303
35304   USES_CONTROLS=1
35305 fi
35306
35307 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
35308   $as_echo "#define wxUSE_ANIMATIONCTRL 1" >>confdefs.h
35309
35310   USES_CONTROLS=1
35311   SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
35312 fi
35313
35314 if test "$wxUSE_BANNERWINDOW" = "yes"; then
35315   $as_echo "#define wxUSE_BANNERWINDOW 1" >>confdefs.h
35316
35317 fi
35318
35319 if test "$wxUSE_BUTTON" = "yes"; then
35320   $as_echo "#define wxUSE_BUTTON 1" >>confdefs.h
35321
35322   USES_CONTROLS=1
35323 fi
35324
35325 if test "$wxUSE_BMPBUTTON" = "yes"; then
35326   $as_echo "#define wxUSE_BMPBUTTON 1" >>confdefs.h
35327
35328   USES_CONTROLS=1
35329 fi
35330
35331 if test "$wxUSE_CALCTRL" = "yes"; then
35332   $as_echo "#define wxUSE_CALENDARCTRL 1" >>confdefs.h
35333
35334   USES_CONTROLS=1
35335   SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
35336 fi
35337
35338 if test "$wxUSE_CARET" = "yes"; then
35339   $as_echo "#define wxUSE_CARET 1" >>confdefs.h
35340
35341   USES_CONTROLS=1
35342   SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
35343 fi
35344
35345 if test "$wxUSE_COLLPANE" = "yes"; then
35346     $as_echo "#define wxUSE_COLLPANE 1" >>confdefs.h
35347
35348     USES_CONTROLS=1
35349     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
35350 fi
35351
35352 if test "$wxUSE_COMBOBOX" = "yes"; then
35353   $as_echo "#define wxUSE_COMBOBOX 1" >>confdefs.h
35354
35355   USES_CONTROLS=1
35356 fi
35357
35358 if test "$wxUSE_COMBOCTRL" = "yes"; then
35359   $as_echo "#define wxUSE_COMBOCTRL 1" >>confdefs.h
35360
35361   USES_CONTROLS=1
35362 fi
35363
35364 if test "$wxUSE_COMMANDLINKBUTTON" = "yes"; then
35365   $as_echo "#define wxUSE_COMMANDLINKBUTTON 1" >>confdefs.h
35366
35367   USES_CONTROLS=1
35368 fi
35369
35370 if test "$wxUSE_CHOICE" = "yes"; then
35371   $as_echo "#define wxUSE_CHOICE 1" >>confdefs.h
35372
35373   USES_CONTROLS=1
35374 fi
35375
35376 if test "$wxUSE_CHOICEBOOK" = "yes"; then
35377     $as_echo "#define wxUSE_CHOICEBOOK 1" >>confdefs.h
35378
35379     USES_CONTROLS=1
35380 fi
35381
35382 if test "$wxUSE_CHECKBOX" = "yes"; then
35383   $as_echo "#define wxUSE_CHECKBOX 1" >>confdefs.h
35384
35385   USES_CONTROLS=1
35386 fi
35387
35388 if test "$wxUSE_CHECKLST" = "yes"; then
35389   $as_echo "#define wxUSE_CHECKLISTBOX 1" >>confdefs.h
35390
35391   USES_CONTROLS=1
35392 fi
35393
35394 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
35395   $as_echo "#define wxUSE_COLOURPICKERCTRL 1" >>confdefs.h
35396
35397   USES_CONTROLS=1
35398 fi
35399
35400 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
35401   $as_echo "#define wxUSE_DATEPICKCTRL 1" >>confdefs.h
35402
35403   USES_CONTROLS=1
35404 fi
35405
35406 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
35407   $as_echo "#define wxUSE_DIRPICKERCTRL 1" >>confdefs.h
35408
35409   USES_CONTROLS=1
35410 fi
35411
35412 if test "$wxUSE_FILECTRL" = "yes"; then
35413   $as_echo "#define wxUSE_FILECTRL 1" >>confdefs.h
35414
35415   USES_CONTROLS=1
35416 fi
35417
35418 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
35419   $as_echo "#define wxUSE_FILEPICKERCTRL 1" >>confdefs.h
35420
35421   USES_CONTROLS=1
35422 fi
35423
35424 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
35425   $as_echo "#define wxUSE_FONTPICKERCTRL 1" >>confdefs.h
35426
35427   USES_CONTROLS=1
35428 fi
35429
35430 if test "$wxUSE_DISPLAY" = "yes"; then
35431     if test "$wxUSE_DFB" = 1; then
35432         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
35433 $as_echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
35434         wxUSE_DISPLAY=no
35435     else
35436         $as_echo "#define wxUSE_DISPLAY 1" >>confdefs.h
35437
35438         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
35439     fi
35440 fi
35441
35442 if test "$wxUSE_DETECT_SM" = "yes"; then
35443     $as_echo "#define wxUSE_DETECT_SM 1" >>confdefs.h
35444
35445 fi
35446
35447 if test "$wxUSE_GAUGE" = "yes"; then
35448   $as_echo "#define wxUSE_GAUGE 1" >>confdefs.h
35449
35450   USES_CONTROLS=1
35451 fi
35452
35453 if test "$wxUSE_GRID" = "yes"; then
35454   $as_echo "#define wxUSE_GRID 1" >>confdefs.h
35455
35456   USES_CONTROLS=1
35457   SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
35458 fi
35459
35460 if test "$wxUSE_HEADERCTRL" = "yes"; then
35461   $as_echo "#define wxUSE_HEADERCTRL 1" >>confdefs.h
35462
35463   USES_CONTROLS=1
35464 fi
35465
35466 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
35467   $as_echo "#define wxUSE_HYPERLINKCTRL 1" >>confdefs.h
35468
35469   USES_CONTROLS=1
35470 fi
35471
35472 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
35473   $as_echo "#define wxUSE_BITMAPCOMBOBOX 1" >>confdefs.h
35474
35475   USES_CONTROLS=1
35476 fi
35477
35478 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
35479   $as_echo "#define wxUSE_DATAVIEWCTRL 1" >>confdefs.h
35480
35481   USES_CONTROLS=1
35482   SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
35483 fi
35484
35485 if test "$wxUSE_IMAGLIST" = "yes"; then
35486     $as_echo "#define wxUSE_IMAGLIST 1" >>confdefs.h
35487
35488 fi
35489
35490 if test "$wxUSE_INFOBAR" = "yes"; then
35491     $as_echo "#define wxUSE_INFOBAR 1" >>confdefs.h
35492
35493 fi
35494
35495 if test "$wxUSE_LISTBOOK" = "yes"; then
35496     $as_echo "#define wxUSE_LISTBOOK 1" >>confdefs.h
35497
35498     USES_CONTROLS=1
35499 fi
35500
35501 if test "$wxUSE_LISTBOX" = "yes"; then
35502     $as_echo "#define wxUSE_LISTBOX 1" >>confdefs.h
35503
35504     USES_CONTROLS=1
35505 fi
35506
35507 if test "$wxUSE_LISTCTRL" = "yes"; then
35508     if test "$wxUSE_IMAGLIST" = "yes"; then
35509         $as_echo "#define wxUSE_LISTCTRL 1" >>confdefs.h
35510
35511         USES_CONTROLS=1
35512         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
35513     else
35514         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
35515 $as_echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
35516     fi
35517 fi
35518
35519 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
35520     $as_echo "#define wxUSE_EDITABLELISTBOX 1" >>confdefs.h
35521
35522     USES_CONTROLS=1
35523 fi
35524
35525 if test "$wxUSE_NOTEBOOK" = "yes"; then
35526     $as_echo "#define wxUSE_NOTEBOOK 1" >>confdefs.h
35527
35528     USES_CONTROLS=1
35529     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
35530 fi
35531
35532 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
35533     $as_echo "#define wxUSE_NOTIFICATION_MESSAGE 1" >>confdefs.h
35534
35535 fi
35536
35537 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
35538   $as_echo "#define wxUSE_ODCOMBOBOX 1" >>confdefs.h
35539
35540   USES_CONTROLS=1
35541   SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
35542 fi
35543
35544 if test "$wxUSE_RADIOBOX" = "yes"; then
35545     $as_echo "#define wxUSE_RADIOBOX 1" >>confdefs.h
35546
35547     USES_CONTROLS=1
35548 fi
35549
35550 if test "$wxUSE_RADIOBTN" = "yes"; then
35551     $as_echo "#define wxUSE_RADIOBTN 1" >>confdefs.h
35552
35553     USES_CONTROLS=1
35554 fi
35555
35556 if test "$wxUSE_REARRANGECTRL" = "yes"; then
35557     $as_echo "#define wxUSE_REARRANGECTRL 1" >>confdefs.h
35558
35559 fi
35560
35561 if test "$wxUSE_RICHMSGDLG" = "yes"; then
35562     $as_echo "#define wxUSE_RICHMSGDLG 1" >>confdefs.h
35563
35564 fi
35565
35566 if test "$wxUSE_RICHTOOLTIP" = "yes"; then
35567     $as_echo "#define wxUSE_RICHTOOLTIP 1" >>confdefs.h
35568
35569 fi
35570
35571 if test "$wxUSE_SASH" = "yes"; then
35572     $as_echo "#define wxUSE_SASH 1" >>confdefs.h
35573
35574     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
35575 fi
35576
35577 if test "$wxUSE_SCROLLBAR" = "yes"; then
35578     $as_echo "#define wxUSE_SCROLLBAR 1" >>confdefs.h
35579
35580     USES_CONTROLS=1
35581     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll"
35582 fi
35583
35584 if test "$wxUSE_SEARCHCTRL" = "yes"; then
35585     $as_echo "#define wxUSE_SEARCHCTRL 1" >>confdefs.h
35586
35587     USES_CONTROLS=1
35588 fi
35589
35590 if test "$wxUSE_SLIDER" = "yes"; then
35591     $as_echo "#define wxUSE_SLIDER 1" >>confdefs.h
35592
35593     USES_CONTROLS=1
35594 fi
35595
35596 if test "$wxUSE_SPINBTN" = "yes"; then
35597     $as_echo "#define wxUSE_SPINBTN 1" >>confdefs.h
35598
35599     USES_CONTROLS=1
35600 fi
35601
35602 if test "$wxUSE_SPINCTRL" = "yes"; then
35603     $as_echo "#define wxUSE_SPINCTRL 1" >>confdefs.h
35604
35605     USES_CONTROLS=1
35606 fi
35607
35608 if test "$wxUSE_SPLITTER" = "yes"; then
35609     $as_echo "#define wxUSE_SPLITTER 1" >>confdefs.h
35610
35611     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
35612 fi
35613
35614 if test "$wxUSE_STATBMP" = "yes"; then
35615     $as_echo "#define wxUSE_STATBMP 1" >>confdefs.h
35616
35617     USES_CONTROLS=1
35618 fi
35619
35620 if test "$wxUSE_STATBOX" = "yes"; then
35621     $as_echo "#define wxUSE_STATBOX 1" >>confdefs.h
35622
35623     USES_CONTROLS=1
35624 fi
35625
35626 if test "$wxUSE_STATTEXT" = "yes"; then
35627     $as_echo "#define wxUSE_STATTEXT 1" >>confdefs.h
35628
35629     USES_CONTROLS=1
35630 fi
35631
35632 if test "$wxUSE_STATLINE" = "yes"; then
35633     $as_echo "#define wxUSE_STATLINE 1" >>confdefs.h
35634
35635     USES_CONTROLS=1
35636 fi
35637
35638 if test "$wxUSE_STATUSBAR" = "yes"; then
35639         $as_echo "#define wxUSE_NATIVE_STATUSBAR 1" >>confdefs.h
35640
35641     $as_echo "#define wxUSE_STATUSBAR 1" >>confdefs.h
35642
35643     USES_CONTROLS=1
35644
35645     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
35646 fi
35647
35648 if test "$wxUSE_TEXTCTRL" = "yes"; then
35649     $as_echo "#define wxUSE_TEXTCTRL 1" >>confdefs.h
35650
35651     USES_CONTROLS=1
35652     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
35653
35654             $as_echo "#define wxUSE_RICHEDIT 1" >>confdefs.h
35655
35656     $as_echo "#define wxUSE_RICHEDIT2 1" >>confdefs.h
35657
35658 fi
35659
35660 if test "$wxUSE_TIMEPICKCTRL" = "yes"; then
35661   $as_echo "#define wxUSE_TIMEPICKCTRL 1" >>confdefs.h
35662
35663   USES_CONTROLS=1
35664 fi
35665
35666 if test "$wxUSE_TOGGLEBTN" = "yes"; then
35667     if test "$wxUSE_OLD_COCOA" = 1 ; then
35668         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
35669 $as_echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
35670         wxUSE_TOGGLEBTN=no
35671     fi
35672
35673     if test "$wxUSE_TOGGLEBTN" = "yes"; then
35674         $as_echo "#define wxUSE_TOGGLEBTN 1" >>confdefs.h
35675
35676         USES_CONTROLS=1
35677     fi
35678 fi
35679
35680 if test "$wxUSE_TOOLBAR" = "yes"; then
35681     $as_echo "#define wxUSE_TOOLBAR 1" >>confdefs.h
35682
35683     USES_CONTROLS=1
35684
35685     if test "$wxUSE_UNIVERSAL" = "yes"; then
35686         wxUSE_TOOLBAR_NATIVE="no"
35687     else
35688         wxUSE_TOOLBAR_NATIVE="yes"
35689         $as_echo "#define wxUSE_TOOLBAR_NATIVE 1" >>confdefs.h
35690
35691     fi
35692
35693     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
35694 fi
35695
35696 if test "$wxUSE_TOOLTIPS" = "yes"; then
35697     if test "$wxUSE_MOTIF" = 1; then
35698         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
35699 $as_echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
35700     else
35701         if test "$wxUSE_UNIVERSAL" = "yes"; then
35702             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
35703 $as_echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
35704         else
35705             $as_echo "#define wxUSE_TOOLTIPS 1" >>confdefs.h
35706
35707         fi
35708     fi
35709 fi
35710
35711 if test "$wxUSE_TREEBOOK" = "yes"; then
35712     $as_echo "#define wxUSE_TREEBOOK 1" >>confdefs.h
35713
35714     USES_CONTROLS=1
35715 fi
35716
35717 if test "$wxUSE_TOOLBOOK" = "yes"; then
35718     $as_echo "#define wxUSE_TOOLBOOK 1" >>confdefs.h
35719
35720     USES_CONTROLS=1
35721 fi
35722
35723 if test "$wxUSE_TREECTRL" = "yes"; then
35724     if test "$wxUSE_IMAGLIST" = "yes"; then
35725         $as_echo "#define wxUSE_TREECTRL 1" >>confdefs.h
35726
35727         USES_CONTROLS=1
35728         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
35729     else
35730         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
35731 $as_echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
35732     fi
35733 fi
35734
35735 if test "$wxUSE_TREELISTCTRL" = "yes"; then
35736     $as_echo "#define wxUSE_TREELISTCTRL 1" >>confdefs.h
35737
35738     USES_CONTROLS=1
35739     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treelist"
35740 fi
35741
35742 if test "$wxUSE_POPUPWIN" = "yes"; then
35743     if test "$wxUSE_OLD_COCOA" = 1 ; then
35744         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
35745 $as_echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
35746     else
35747         if test "$wxUSE_PM" = 1; then
35748             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
35749 $as_echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
35750         else
35751             $as_echo "#define wxUSE_POPUPWIN 1" >>confdefs.h
35752
35753             SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
35754
35755             USES_CONTROLS=1
35756         fi
35757     fi
35758 fi
35759
35760 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
35761     if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
35762         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Dialup manager not supported on this platform... disabled" >&5
35763 $as_echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
35764     else
35765         $as_echo "#define wxUSE_DIALUP_MANAGER 1" >>confdefs.h
35766
35767         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
35768     fi
35769 fi
35770
35771 if test "$wxUSE_TIPWINDOW" = "yes"; then
35772     if test "$wxUSE_PM" = 1; then
35773         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
35774 $as_echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
35775     else
35776         $as_echo "#define wxUSE_TIPWINDOW 1" >>confdefs.h
35777
35778     fi
35779 fi
35780
35781 if test "$USES_CONTROLS" = 1; then
35782     $as_echo "#define wxUSE_CONTROLS 1" >>confdefs.h
35783
35784 fi
35785
35786
35787 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
35788     $as_echo "#define wxUSE_ACCESSIBILITY 1" >>confdefs.h
35789
35790     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
35791 fi
35792
35793 if test "$wxUSE_ARTPROVIDER_STD" = "yes"; then
35794     $as_echo "#define wxUSE_ARTPROVIDER_STD 1" >>confdefs.h
35795
35796 fi
35797
35798 if test "$wxUSE_ARTPROVIDER_TANGO" = "auto"; then
35799             if test "$wxUSE_GTK" != 1; then
35800                 if test "$wxUSE_LIBPNG" != no -a \
35801                 "$wxUSE_IMAGE" = yes -a \
35802                 "$wxUSE_STREAMS" = yes; then
35803             wxUSE_ARTPROVIDER_TANGO="yes"
35804         fi
35805     fi
35806 fi
35807
35808 if test "$wxUSE_ARTPROVIDER_TANGO" = "yes"; then
35809     $as_echo "#define wxUSE_ARTPROVIDER_TANGO 1" >>confdefs.h
35810
35811 fi
35812
35813 if test "$wxUSE_DRAGIMAGE" = "yes"; then
35814     $as_echo "#define wxUSE_DRAGIMAGE 1" >>confdefs.h
35815
35816     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
35817 fi
35818
35819 if test "$wxUSE_EXCEPTIONS" = "yes"; then
35820     if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
35821         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
35822 $as_echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
35823     else
35824         $as_echo "#define wxUSE_EXCEPTIONS 1" >>confdefs.h
35825
35826         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
35827     fi
35828 fi
35829
35830 USE_HTML=0
35831 if test "$wxUSE_HTML" = "yes"; then
35832     $as_echo "#define wxUSE_HTML 1" >>confdefs.h
35833
35834     USE_HTML=1
35835     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
35836 fi
35837 if test "$wxUSE_WEBKIT" = "yes"; then
35838     if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
35839         old_CPPFLAGS="$CPPFLAGS"
35840         CPPFLAGS="-x objective-c++ $CPPFLAGS"
35841         ac_fn_c_check_header_compile "$LINENO" "WebKit/HIWebView.h" "ac_cv_header_WebKit_HIWebView_h" "
35842                            #include <Carbon/Carbon.h>
35843                            #include <WebKit/WebKit.h>
35844
35845 "
35846 if test "x$ac_cv_header_WebKit_HIWebView_h" = x""yes; then :
35847
35848                            $as_echo "#define wxUSE_WEBKIT 1" >>confdefs.h
35849
35850                            WEBKIT_LINK="-framework WebKit"
35851
35852 else
35853
35854                            { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: WebKit headers not found; disabling wxWebKit" >&5
35855 $as_echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
35856                            wxUSE_WEBKIT=no
35857
35858 fi
35859
35860
35861         CPPFLAGS="$old_CPPFLAGS"
35862     elif test "$wxUSE_OLD_COCOA" = 1; then
35863         $as_echo "#define wxUSE_WEBKIT 1" >>confdefs.h
35864
35865     else
35866         wxUSE_WEBKIT=no
35867     fi
35868     if test "$wxUSE_WEBKIT" = "yes"; then
35869         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
35870     fi
35871 fi
35872
35873 USE_XRC=0
35874 if test "$wxUSE_XRC" = "yes"; then
35875     if test "$wxUSE_XML" != "yes"; then
35876         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: XML library not built, XRC resources disabled" >&5
35877 $as_echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
35878         wxUSE_XRC=no
35879     else
35880         $as_echo "#define wxUSE_XRC 1" >>confdefs.h
35881
35882         USE_XRC=1
35883         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
35884     fi
35885 fi
35886
35887 USE_AUI=0
35888 if test "$wxUSE_AUI" = "yes"; then
35889    $as_echo "#define wxUSE_AUI 1" >>confdefs.h
35890
35891    USE_AUI=1
35892    SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
35893 fi
35894
35895 USE_PROPGRID=0
35896 if test "$wxUSE_PROPGRID" = "yes"; then
35897    $as_echo "#define wxUSE_PROPGRID 1" >>confdefs.h
35898
35899    USE_PROPGRID=1
35900    SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS propgrid"
35901 fi
35902
35903 USE_RIBBON=0
35904 if test "$wxUSE_RIBBON" = "yes"; then
35905    $as_echo "#define wxUSE_RIBBON 1" >>confdefs.h
35906
35907    USE_RIBBON=1
35908    SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ribbon"
35909 fi
35910
35911 USE_STC=0
35912 if test "$wxUSE_STC" = "yes"; then
35913    $as_echo "#define wxUSE_STC 1" >>confdefs.h
35914
35915    USE_STC=1
35916    SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
35917
35918       # Extract the first word of "python", so it can be a program name with args.
35919 set dummy python; ac_word=$2
35920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
35921 $as_echo_n "checking for $ac_word... " >&6; }
35922 if test "${ac_cv_path_PYTHON+set}" = set; then :
35923   $as_echo_n "(cached) " >&6
35924 else
35925   case $PYTHON in
35926   [\\/]* | ?:[\\/]*)
35927   ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
35928   ;;
35929   *)
35930   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35931 for as_dir in $PATH
35932 do
35933   IFS=$as_save_IFS
35934   test -z "$as_dir" && as_dir=.
35935     for ac_exec_ext in '' $ac_executable_extensions; do
35936   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
35937     ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
35938     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
35939     break 2
35940   fi
35941 done
35942   done
35943 IFS=$as_save_IFS
35944
35945   ;;
35946 esac
35947 fi
35948 PYTHON=$ac_cv_path_PYTHON
35949 if test -n "$PYTHON"; then
35950   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
35951 $as_echo "$PYTHON" >&6; }
35952 else
35953   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
35954 $as_echo "no" >&6; }
35955 fi
35956
35957
35958    if test "x$PYTHON" = "x"; then
35959      COND_PYTHON="#"
35960    fi
35961
35962 fi
35963
35964 if test "$wxUSE_MENUS" = "yes"; then
35965     $as_echo "#define wxUSE_MENUS 1" >>confdefs.h
35966
35967     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
35968 fi
35969
35970 if test "$wxUSE_MIMETYPE" = "yes"; then
35971     $as_echo "#define wxUSE_MIMETYPE 1" >>confdefs.h
35972
35973 fi
35974
35975 if test "$wxUSE_MINIFRAME" = "yes"; then
35976     $as_echo "#define wxUSE_MINIFRAME 1" >>confdefs.h
35977
35978 fi
35979
35980 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
35981     $as_echo "#define wxUSE_SYSTEM_OPTIONS 1" >>confdefs.h
35982
35983 fi
35984
35985 if test "$wxUSE_TASKBARICON" = "yes"; then
35986     $as_echo "#define wxUSE_TASKBARICON 1" >>confdefs.h
35987
35988                 $as_echo "#define wxUSE_TASKBARICON_BALLOONS 1" >>confdefs.h
35989
35990     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
35991 fi
35992
35993
35994 if test "$wxUSE_VALIDATORS" = "yes"; then
35995     $as_echo "#define wxUSE_VALIDATORS 1" >>confdefs.h
35996
35997     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
35998 fi
35999
36000 if test "$wxUSE_PALETTE" = "yes" ; then
36001     if test "$wxUSE_DFB" = 1; then
36002         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxPalette not yet supported under DFB... disabled" >&5
36003 $as_echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
36004         wxUSE_PALETTE=no
36005     else
36006         $as_echo "#define wxUSE_PALETTE 1" >>confdefs.h
36007
36008     fi
36009 fi
36010
36011 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
36012     LIBS=" -lunicows $LIBS"
36013 fi
36014
36015 USE_RICHTEXT=0
36016 if test "$wxUSE_RICHTEXT" = "yes"; then
36017     $as_echo "#define wxUSE_RICHTEXT 1" >>confdefs.h
36018
36019     USE_RICHTEXT=1
36020     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
36021 fi
36022
36023 if test "$wxUSE_WEBVIEW" = "yes"; then
36024     USE_WEBVIEW_WEBKIT=0
36025     if test "$wxUSE_WEBVIEW_WEBKIT" = "yes"; then
36026         if test "$wxUSE_GTK" = 1; then
36027
36028 pkg_failed=no
36029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
36030 $as_echo_n "checking for WEBKIT... " >&6; }
36031
36032 if test -n "$PKG_CONFIG"; then
36033     if test -n "$WEBKIT_CFLAGS"; then
36034         pkg_cv_WEBKIT_CFLAGS="$WEBKIT_CFLAGS"
36035     else
36036         if test -n "$PKG_CONFIG" && \
36037     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkit-1.0 >= 1.3.1\""; } >&5
36038   ($PKG_CONFIG --exists --print-errors "webkit-1.0 >= 1.3.1") 2>&5
36039   ac_status=$?
36040   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36041   test $ac_status = 0; }; then
36042   pkg_cv_WEBKIT_CFLAGS=`$PKG_CONFIG --cflags "webkit-1.0 >= 1.3.1" 2>/dev/null`
36043 else
36044   pkg_failed=yes
36045 fi
36046     fi
36047 else
36048         pkg_failed=untried
36049 fi
36050 if test -n "$PKG_CONFIG"; then
36051     if test -n "$WEBKIT_LIBS"; then
36052         pkg_cv_WEBKIT_LIBS="$WEBKIT_LIBS"
36053     else
36054         if test -n "$PKG_CONFIG" && \
36055     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkit-1.0 >= 1.3.1\""; } >&5
36056   ($PKG_CONFIG --exists --print-errors "webkit-1.0 >= 1.3.1") 2>&5
36057   ac_status=$?
36058   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36059   test $ac_status = 0; }; then
36060   pkg_cv_WEBKIT_LIBS=`$PKG_CONFIG --libs "webkit-1.0 >= 1.3.1" 2>/dev/null`
36061 else
36062   pkg_failed=yes
36063 fi
36064     fi
36065 else
36066         pkg_failed=untried
36067 fi
36068
36069
36070
36071 if test $pkg_failed = yes; then
36072
36073 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
36074         _pkg_short_errors_supported=yes
36075 else
36076         _pkg_short_errors_supported=no
36077 fi
36078         if test $_pkg_short_errors_supported = yes; then
36079                 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "webkit-1.0 >= 1.3.1"`
36080         else
36081                 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "webkit-1.0 >= 1.3.1"`
36082         fi
36083         # Put the nasty error message in config.log where it belongs
36084         echo "$WEBKIT_PKG_ERRORS" >&5
36085
36086
36087                                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: webkitgtk not found." >&5
36088 $as_echo "$as_me: WARNING: webkitgtk not found." >&2;}
36089
36090 elif test $pkg_failed = untried; then
36091
36092                                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: webkitgtk not found." >&5
36093 $as_echo "$as_me: WARNING: webkitgtk not found." >&2;}
36094
36095 else
36096         WEBKIT_CFLAGS=$pkg_cv_WEBKIT_CFLAGS
36097         WEBKIT_LIBS=$pkg_cv_WEBKIT_LIBS
36098         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36099 $as_echo "yes" >&6; }
36100
36101                                 USE_WEBVIEW_WEBKIT=1
36102                                 CPPFLAGS="$CPPFLAGS $WEBKIT_CFLAGS"
36103                                 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $WEBKIT_LIBS"
36104
36105 fi
36106         elif test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
36107                                     old_CPPFLAGS="$CPPFLAGS"
36108             CPPFLAGS="-x objective-c++ $CPPFLAGS"
36109             ac_fn_c_check_header_compile "$LINENO" "WebKit/HIWebView.h" "ac_cv_header_WebKit_HIWebView_h" "
36110                                 #include <Carbon/Carbon.h>
36111                                 #include <WebKit/WebKit.h>
36112
36113 "
36114 if test "x$ac_cv_header_WebKit_HIWebView_h" = x""yes; then :
36115
36116                                 USE_WEBVIEW_WEBKIT=1
36117                                 WEBKIT_LINK="-framework WebKit"
36118
36119 else
36120
36121                                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: WebKit headers not found" >&5
36122 $as_echo "$as_me: WARNING: WebKit headers not found" >&2;}
36123
36124 fi
36125
36126
36127             CPPFLAGS="$old_CPPFLAGS"
36128         fi
36129     fi
36130
36131     wxUSE_WEBVIEW="no"
36132     if test "$wxUSE_GTK" = 1 -o "$wxUSE_MAC" = 1; then
36133         if test "$USE_WEBVIEW_WEBKIT" = 1; then
36134             wxUSE_WEBVIEW="yes"
36135             $as_echo "#define wxUSE_WEBVIEW_WEBKIT 1" >>confdefs.h
36136
36137         else
36138             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: WebKit not available, disabling wxWebView" >&5
36139 $as_echo "$as_me: WARNING: WebKit not available, disabling wxWebView" >&2;}
36140         fi
36141     elif test "$wxUSE_MSW" = 1; then
36142         if test "$wxUSE_WEBVIEW_IE" = "yes"; then
36143                                     wxUSE_WEBVIEW="yes"
36144             $as_echo "#define wxUSE_WEBVIEW_IE 1" >>confdefs.h
36145
36146         fi
36147     fi
36148 fi
36149
36150 if test "$wxUSE_WEBVIEW" = "yes"; then
36151     USE_WEBVIEW=1
36152     $as_echo "#define wxUSE_WEBVIEW 1" >>confdefs.h
36153
36154     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS webview"
36155 else
36156     USE_WEBVIEW=0
36157 fi
36158
36159
36160 if test "$wxUSE_IMAGE" = "yes" ; then
36161     $as_echo "#define wxUSE_IMAGE 1" >>confdefs.h
36162
36163
36164     if test "$wxUSE_GIF" = "yes" ; then
36165       $as_echo "#define wxUSE_GIF 1" >>confdefs.h
36166
36167     fi
36168
36169     if test "$wxUSE_PCX" = "yes" ; then
36170       $as_echo "#define wxUSE_PCX 1" >>confdefs.h
36171
36172     fi
36173
36174     if test "$wxUSE_TGA" = "yes" ; then
36175       $as_echo "#define wxUSE_TGA 1" >>confdefs.h
36176
36177     fi
36178
36179     if test "$wxUSE_IFF" = "yes" ; then
36180       $as_echo "#define wxUSE_IFF 1" >>confdefs.h
36181
36182     fi
36183
36184     if test "$wxUSE_PNM" = "yes" ; then
36185       $as_echo "#define wxUSE_PNM 1" >>confdefs.h
36186
36187     fi
36188
36189     if test "$wxUSE_XPM" = "yes" ; then
36190       $as_echo "#define wxUSE_XPM 1" >>confdefs.h
36191
36192     fi
36193
36194     if test "$wxUSE_ICO_CUR" = "yes" ; then
36195       $as_echo "#define wxUSE_ICO_CUR 1" >>confdefs.h
36196
36197     fi
36198 fi
36199
36200
36201 if test "$wxUSE_ABOUTDLG" = "yes"; then
36202     $as_echo "#define wxUSE_ABOUTDLG 1" >>confdefs.h
36203
36204 fi
36205
36206 if test "$wxUSE_CHOICEDLG" = "yes"; then
36207     $as_echo "#define wxUSE_CHOICEDLG 1" >>confdefs.h
36208
36209 fi
36210
36211 if test "$wxUSE_COLOURDLG" = "yes"; then
36212     $as_echo "#define wxUSE_COLOURDLG 1" >>confdefs.h
36213
36214 fi
36215
36216 if test "$wxUSE_FILEDLG" = "yes"; then
36217     $as_echo "#define wxUSE_FILEDLG 1" >>confdefs.h
36218
36219 fi
36220
36221 if test "$wxUSE_FINDREPLDLG" = "yes"; then
36222     $as_echo "#define wxUSE_FINDREPLDLG 1" >>confdefs.h
36223
36224 fi
36225
36226 if test "$wxUSE_FONTDLG" = "yes"; then
36227     $as_echo "#define wxUSE_FONTDLG 1" >>confdefs.h
36228
36229 fi
36230
36231 if test "$wxUSE_DIRDLG" = "yes"; then
36232     if test "$wxUSE_TREECTRL" != "yes"; then
36233         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
36234 $as_echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
36235     else
36236         $as_echo "#define wxUSE_DIRDLG 1" >>confdefs.h
36237
36238     fi
36239 fi
36240
36241 if test "$wxUSE_MSGDLG" = "yes"; then
36242     $as_echo "#define wxUSE_MSGDLG 1" >>confdefs.h
36243
36244 fi
36245
36246 if test "$wxUSE_NUMBERDLG" = "yes"; then
36247     $as_echo "#define wxUSE_NUMBERDLG 1" >>confdefs.h
36248
36249 fi
36250
36251 if test "$wxUSE_PROGRESSDLG" = "yes"; then
36252     $as_echo "#define wxUSE_PROGRESSDLG 1" >>confdefs.h
36253
36254 fi
36255
36256 if test "$wxUSE_SPLASH" = "yes"; then
36257     $as_echo "#define wxUSE_SPLASH 1" >>confdefs.h
36258
36259     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
36260 fi
36261
36262 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
36263     $as_echo "#define wxUSE_STARTUP_TIPS 1" >>confdefs.h
36264
36265 fi
36266
36267 if test "$wxUSE_TEXTDLG" = "yes"; then
36268     $as_echo "#define wxUSE_TEXTDLG 1" >>confdefs.h
36269
36270 fi
36271
36272 if test "$wxUSE_WIZARDDLG" = "yes"; then
36273     $as_echo "#define wxUSE_WIZARDDLG 1" >>confdefs.h
36274
36275     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
36276 fi
36277
36278
36279 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
36280     if test "$wxUSE_OWNER_DRAWN" = "yes"; then
36281         $as_echo "#define wxUSE_OWNER_DRAWN 1" >>confdefs.h
36282
36283     fi
36284 fi
36285
36286
36287 if test "$wxUSE_MSW" = 1 ; then
36288
36289     if test "$wxUSE_DC_CACHEING" = "yes"; then
36290         $as_echo "#define wxUSE_DC_CACHEING 1" >>confdefs.h
36291
36292     fi
36293
36294     if test "$wxUSE_DIB" = "yes"; then
36295         $as_echo "#define wxUSE_WXDIB 1" >>confdefs.h
36296
36297     fi
36298
36299     if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
36300         $as_echo "#define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1" >>confdefs.h
36301
36302     fi
36303
36304     if test "$wxUSE_UXTHEME" = "yes"; then
36305         $as_echo "#define wxUSE_UXTHEME 1" >>confdefs.h
36306
36307     fi
36308
36309 fi
36310
36311 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
36312     $as_echo "#define wxUSE_AUTOID_MANAGEMENT 1" >>confdefs.h
36313
36314 fi
36315
36316 if test "$USE_WIN32" = 1 ; then
36317     if test "$wxUSE_INICONF" = "yes"; then
36318         $as_echo "#define wxUSE_INICONF 1" >>confdefs.h
36319
36320     fi
36321
36322     if test "$wxUSE_REGKEY" = "yes"; then
36323         $as_echo "#define wxUSE_REGKEY 1" >>confdefs.h
36324
36325     fi
36326 fi
36327
36328
36329 if test "$wxUSE_MAC" = 1; then
36330     wxUSE_GRAPHICS_CONTEXT="yes"
36331 fi
36332
36333 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
36334     wx_has_graphics=0
36335     if test "$wxUSE_MSW" = 1; then
36336         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GDI+ is available" >&5
36337 $as_echo_n "checking if GDI+ is available... " >&6; }
36338 if test "${wx_cv_lib_gdiplus+set}" = set; then :
36339   $as_echo_n "(cached) " >&6
36340 else
36341
36342                                                 ac_ext=cpp
36343 ac_cpp='$CXXCPP $CPPFLAGS'
36344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36347
36348                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36349 /* end confdefs.h.  */
36350 #include <windows.h>
36351                      #include <gdiplus.h>
36352 int
36353 main ()
36354 {
36355
36356                         using namespace Gdiplus;
36357
36358   ;
36359   return 0;
36360 }
36361 _ACEOF
36362 if ac_fn_cxx_try_compile "$LINENO"; then :
36363   wx_cv_lib_gdiplus=yes
36364 else
36365   wx_cv_lib_gdiplus=no
36366
36367 fi
36368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36369                 ac_ext=c
36370 ac_cpp='$CPP $CPPFLAGS'
36371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36374
36375
36376
36377 fi
36378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_gdiplus" >&5
36379 $as_echo "$wx_cv_lib_gdiplus" >&6; }
36380         if test "$wx_cv_lib_gdiplus" = "yes"; then
36381             wx_has_graphics=1
36382         fi
36383     elif test "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
36384
36385 pkg_failed=no
36386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CAIRO" >&5
36387 $as_echo_n "checking for CAIRO... " >&6; }
36388
36389 if test -n "$PKG_CONFIG"; then
36390     if test -n "$CAIRO_CFLAGS"; then
36391         pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
36392     else
36393         if test -n "$PKG_CONFIG" && \
36394     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo\""; } >&5
36395   ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
36396   ac_status=$?
36397   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36398   test $ac_status = 0; }; then
36399   pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
36400 else
36401   pkg_failed=yes
36402 fi
36403     fi
36404 else
36405         pkg_failed=untried
36406 fi
36407 if test -n "$PKG_CONFIG"; then
36408     if test -n "$CAIRO_LIBS"; then
36409         pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
36410     else
36411         if test -n "$PKG_CONFIG" && \
36412     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo\""; } >&5
36413   ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
36414   ac_status=$?
36415   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36416   test $ac_status = 0; }; then
36417   pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
36418 else
36419   pkg_failed=yes
36420 fi
36421     fi
36422 else
36423         pkg_failed=untried
36424 fi
36425
36426
36427
36428 if test $pkg_failed = yes; then
36429
36430 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
36431         _pkg_short_errors_supported=yes
36432 else
36433         _pkg_short_errors_supported=no
36434 fi
36435         if test $_pkg_short_errors_supported = yes; then
36436                 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
36437         else
36438                 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
36439         fi
36440         # Put the nasty error message in config.log where it belongs
36441         echo "$CAIRO_PKG_ERRORS" >&5
36442
36443         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cairo library not found" >&5
36444 $as_echo "$as_me: WARNING: Cairo library not found" >&2;}
36445
36446 elif test $pkg_failed = untried; then
36447         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cairo library not found" >&5
36448 $as_echo "$as_me: WARNING: Cairo library not found" >&2;}
36449
36450 else
36451         CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
36452         CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
36453         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36454 $as_echo "yes" >&6; }
36455         wx_has_graphics=1
36456 fi
36457         if test "$wx_has_graphics" = 1; then
36458                                                 save_LIBS="$LIBS"
36459             LIBS="$LIBS $CAIRO_LIBS"
36460             for ac_func in cairo_push_group
36461 do :
36462   ac_fn_c_check_func "$LINENO" "cairo_push_group" "ac_cv_func_cairo_push_group"
36463 if test "x$ac_cv_func_cairo_push_group" = x""yes; then :
36464   cat >>confdefs.h <<_ACEOF
36465 #define HAVE_CAIRO_PUSH_GROUP 1
36466 _ACEOF
36467
36468 fi
36469 done
36470
36471             LIBS="$save_LIBS"
36472             if test "$ac_cv_func_cairo_push_group" = "no"; then
36473                 wx_has_graphics=0
36474                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cairo library is too old and misses cairo_push_group()" >&5
36475 $as_echo "$as_me: WARNING: Cairo library is too old and misses cairo_push_group()" >&2;}
36476             else
36477                 $as_echo "#define wxUSE_CAIRO 1" >>confdefs.h
36478
36479
36480                                                 if test "$wxUSE_GTK" != 1; then
36481                     CPPFLAGS="$CAIRO_CFLAGS $CPPFLAGS"
36482                     GUI_TK_LIBRARY="$GUI_TK_LIBRARY $CAIRO_LIBS"
36483                 fi
36484             fi
36485         fi
36486     else
36487                 wx_has_graphics=1
36488     fi
36489
36490     if test "$wx_has_graphics" = 1; then
36491         $as_echo "#define wxUSE_GRAPHICS_CONTEXT 1" >>confdefs.h
36492
36493     else
36494         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxGraphicsContext won't be available" >&5
36495 $as_echo "$as_me: WARNING: wxGraphicsContext won't be available" >&2;}
36496     fi
36497 fi
36498
36499
36500 USE_MEDIA=0
36501
36502 if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
36503     USE_MEDIA=1
36504
36505                 if test "$wxUSE_GTK" = 1; then
36506         wxUSE_GSTREAMER="no"
36507
36508                                                                 GST_VERSION_MAJOR=0
36509         GST_VERSION_MINOR=10
36510         GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
36511
36512         if test "$wxUSE_GSTREAMER8" = "no"; then
36513
36514 pkg_failed=no
36515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST" >&5
36516 $as_echo_n "checking for GST... " >&6; }
36517
36518 if test -n "$PKG_CONFIG"; then
36519     if test -n "$GST_CFLAGS"; then
36520         pkg_cv_GST_CFLAGS="$GST_CFLAGS"
36521     else
36522         if test -n "$PKG_CONFIG" && \
36523     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION\""; } >&5
36524   ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION") 2>&5
36525   ac_status=$?
36526   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36527   test $ac_status = 0; }; then
36528   pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION" 2>/dev/null`
36529 else
36530   pkg_failed=yes
36531 fi
36532     fi
36533 else
36534         pkg_failed=untried
36535 fi
36536 if test -n "$PKG_CONFIG"; then
36537     if test -n "$GST_LIBS"; then
36538         pkg_cv_GST_LIBS="$GST_LIBS"
36539     else
36540         if test -n "$PKG_CONFIG" && \
36541     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION\""; } >&5
36542   ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION") 2>&5
36543   ac_status=$?
36544   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36545   test $ac_status = 0; }; then
36546   pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION" 2>/dev/null`
36547 else
36548   pkg_failed=yes
36549 fi
36550     fi
36551 else
36552         pkg_failed=untried
36553 fi
36554
36555
36556
36557 if test $pkg_failed = yes; then
36558
36559 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
36560         _pkg_short_errors_supported=yes
36561 else
36562         _pkg_short_errors_supported=no
36563 fi
36564         if test $_pkg_short_errors_supported = yes; then
36565                 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION"`
36566         else
36567                 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION"`
36568         fi
36569         # Put the nasty error message in config.log where it belongs
36570         echo "$GST_PKG_ERRORS" >&5
36571
36572
36573                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
36574 $as_echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
36575                     GST_VERSION_MINOR=8
36576
36577
36578 elif test $pkg_failed = untried; then
36579
36580                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
36581 $as_echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
36582                     GST_VERSION_MINOR=8
36583
36584
36585 else
36586         GST_CFLAGS=$pkg_cv_GST_CFLAGS
36587         GST_LIBS=$pkg_cv_GST_LIBS
36588         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36589 $as_echo "yes" >&6; }
36590
36591                     wxUSE_GSTREAMER="yes"
36592                     GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
36593
36594 fi
36595         else
36596                         GST_VERSION_MINOR=8
36597         fi
36598
36599         if test $GST_VERSION_MINOR = "8"; then
36600             GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
36601
36602 pkg_failed=no
36603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST" >&5
36604 $as_echo_n "checking for GST... " >&6; }
36605
36606 if test -n "$PKG_CONFIG"; then
36607     if test -n "$GST_CFLAGS"; then
36608         pkg_cv_GST_CFLAGS="$GST_CFLAGS"
36609     else
36610         if test -n "$PKG_CONFIG" && \
36611     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\""; } >&5
36612   ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
36613   ac_status=$?
36614   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36615   test $ac_status = 0; }; then
36616   pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
36617 else
36618   pkg_failed=yes
36619 fi
36620     fi
36621 else
36622         pkg_failed=untried
36623 fi
36624 if test -n "$PKG_CONFIG"; then
36625     if test -n "$GST_LIBS"; then
36626         pkg_cv_GST_LIBS="$GST_LIBS"
36627     else
36628         if test -n "$PKG_CONFIG" && \
36629     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\""; } >&5
36630   ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
36631   ac_status=$?
36632   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36633   test $ac_status = 0; }; then
36634   pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
36635 else
36636   pkg_failed=yes
36637 fi
36638     fi
36639 else
36640         pkg_failed=untried
36641 fi
36642
36643
36644
36645 if test $pkg_failed = yes; then
36646
36647 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
36648         _pkg_short_errors_supported=yes
36649 else
36650         _pkg_short_errors_supported=no
36651 fi
36652         if test $_pkg_short_errors_supported = yes; then
36653                 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
36654         else
36655                 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
36656         fi
36657         # Put the nasty error message in config.log where it belongs
36658         echo "$GST_PKG_ERRORS" >&5
36659
36660
36661                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.8/0.10 not available." >&5
36662 $as_echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
36663
36664 elif test $pkg_failed = untried; then
36665
36666                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.8/0.10 not available." >&5
36667 $as_echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
36668
36669 else
36670         GST_CFLAGS=$pkg_cv_GST_CFLAGS
36671         GST_LIBS=$pkg_cv_GST_LIBS
36672         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36673 $as_echo "yes" >&6; }
36674         wxUSE_GSTREAMER="yes"
36675 fi
36676         fi
36677
36678
36679         if test "$wxUSE_GSTREAMER" = "yes"; then
36680             CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
36681             EXTRALIBS_MEDIA="$GST_LIBS"
36682
36683             $as_echo "#define wxUSE_GSTREAMER 1" >>confdefs.h
36684
36685         else
36686             USE_MEDIA=0
36687         fi
36688     fi
36689
36690     if test $USE_MEDIA = 1; then
36691         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
36692         $as_echo "#define wxUSE_MEDIACTRL 1" >>confdefs.h
36693
36694     else
36695         if test "$wxUSE_MEDIACTRL" = "yes"; then
36696             as_fn_error $? "GStreamer not available" "$LINENO" 5
36697         else
36698                         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5
36699 $as_echo "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;}
36700         fi
36701     fi
36702 fi
36703
36704
36705 if test "$cross_compiling" != "no"; then
36706         OSINFO="\"$host\""
36707 else
36708         OSINFO=`uname -s -r -m`
36709     OSINFO="\"$OSINFO\""
36710 fi
36711
36712 cat >>confdefs.h <<_ACEOF
36713 #define WXWIN_OS_DESCRIPTION $OSINFO
36714 _ACEOF
36715
36716
36717
36718 if test "x$prefix" != "xNONE"; then
36719     wxPREFIX=$prefix
36720 else
36721     wxPREFIX=$ac_default_prefix
36722 fi
36723
36724 cat >>confdefs.h <<_ACEOF
36725 #define wxINSTALL_PREFIX "$wxPREFIX"
36726 _ACEOF
36727
36728
36729
36730
36731 STD_BASE_LIBS="base"
36732 STD_GUI_LIBS=""
36733 BUILT_WX_LIBS="base"
36734 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
36735
36736 if test "$wxUSE_SOCKETS" = "yes" ; then
36737     STD_BASE_LIBS="net $STD_BASE_LIBS"
36738     BUILT_WX_LIBS="net $BUILT_WX_LIBS"
36739 fi
36740 if test "$wxUSE_XML" = "yes" ; then
36741     STD_BASE_LIBS="xml $STD_BASE_LIBS"
36742     BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
36743 fi
36744
36745 if test "$wxUSE_GUI" = "yes"; then
36746     STD_GUI_LIBS="adv core"
36747     BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
36748
36749     if test "$wxUSE_DEBUGREPORT" = "yes" ; then
36750         STD_GUI_LIBS="qa $STD_GUI_LIBS"
36751         BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
36752     fi
36753     if test "$wxUSE_HTML" = "yes" ; then
36754         STD_GUI_LIBS="html $STD_GUI_LIBS"
36755         BUILT_WX_LIBS="html $BUILT_WX_LIBS"
36756     fi
36757     if test "$wxUSE_MEDIACTRL" = "yes" ; then
36758         BUILT_WX_LIBS="media $BUILT_WX_LIBS"
36759     fi
36760     if test "$wxUSE_OPENGL" = "yes" ; then
36761         BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
36762     fi
36763     if test "$wxUSE_AUI" = "yes" ; then
36764         BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
36765     fi
36766     if test "$wxUSE_PROPGRID" = "yes" ; then
36767         BUILT_WX_LIBS="propgrid $BUILT_WX_LIBS"
36768     fi
36769     if test "$wxUSE_RIBBON" = "yes" ; then
36770         BUILT_WX_LIBS="ribbon $BUILT_WX_LIBS"
36771     fi
36772     if test "$wxUSE_RICHTEXT" = "yes" ; then
36773         BUILT_WX_LIBS="richtext $BUILT_WX_LIBS"
36774     fi
36775     if test "$wxUSE_STC" = "yes" ; then
36776         BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
36777     fi
36778     if test "$wxUSE_WEBVIEW" = "yes" ; then
36779         STD_GUI_LIBS="webview $STD_GUI_LIBS"
36780         BUILT_WX_LIBS="webview $BUILT_WX_LIBS"
36781     fi
36782     if test "$wxUSE_XRC" = "yes" ; then
36783         STD_GUI_LIBS="xrc $STD_GUI_LIBS"
36784         BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
36785     fi
36786 fi
36787
36788
36789
36790
36791
36792
36793
36794 EXTRA_FRAMEWORKS=
36795 if test "$wxUSE_MAC" = 1 ; then
36796     if test "$USE_DARWIN" = 1; then
36797         if test "$wxUSE_OSX_IPHONE" = 1; then
36798             EXTRA_FRAMEWORKS="-framework IOKit -framework UIKit -framework CFNetwork -framework AudioToolbox -framework CoreFoundation -framework CoreGraphics -framework OpenGLES -framework Foundation -framework QuartzCore"
36799         else
36800             EXTRA_FRAMEWORKS="-framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL"
36801
36802
36803             if test "$cross_compiling" != "no"; then
36804                                                                                                 wx_cv_target_x86_64=no
36805             else
36806                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we target only x86_64" >&5
36807 $as_echo_n "checking if we target only x86_64... " >&6; }
36808 if test "${wx_cv_target_x86_64+set}" = set; then :
36809   $as_echo_n "(cached) " >&6
36810 else
36811   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36812 /* end confdefs.h.  */
36813 int main() { return 0; }
36814 _ACEOF
36815 if ac_fn_c_try_link "$LINENO"; then :
36816   if file conftest$ac_exeext|grep -q 'i386\|ppc'; then
36817                             wx_cv_target_x86_64=no
36818                         else
36819                             wx_cv_target_x86_64=yes
36820                         fi
36821
36822 fi
36823 rm -f core conftest.err conftest.$ac_objext \
36824     conftest$ac_exeext conftest.$ac_ext
36825
36826 fi
36827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_target_x86_64" >&5
36828 $as_echo "$wx_cv_target_x86_64" >&6; }
36829             fi
36830
36831             if test "$wx_cv_target_x86_64" != "yes"; then
36832                 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework QuickTime"
36833             fi
36834         fi
36835     fi
36836 fi
36837 if test "$wxUSE_OLD_COCOA" = 1 ; then
36838     EXTRA_FRAMEWORKS="-framework IOKit -framework Cocoa"
36839     if test "$wxUSE_MEDIACTRL" = "yes"; then
36840         EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework QuickTime"
36841     fi
36842 fi
36843 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1 ; then
36844     EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
36845 fi
36846
36847 LDFLAGS="$LDFLAGS $EXTRA_FRAMEWORKS"
36848 WXCONFIG_LDFLAGS="$WXCONFIG_LDFLAGS $EXTRA_FRAMEWORKS"
36849
36850 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
36851
36852 if test "$wxUSE_GUI" = "yes"; then
36853
36854
36855         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
36856                      erase event exec font image minimal render \
36857                      shaped svg taborder vscroll widgets wrapsizer"
36858
36859     if test "$wxUSE_MONOLITHIC" != "yes"; then
36860         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
36861     fi
36862     if test "$TOOLKIT" = "MSW"; then
36863         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
36864         if test "$wxUSE_UNIVERSAL" != "yes"; then
36865             SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg dll"
36866         fi
36867     fi
36868     if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
36869         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
36870     fi
36871 else
36872     SAMPLES_SUBDIRS="console"
36873     if test "$wxUSE_SOCKETS" = "yes" ; then
36874         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
36875     fi
36876     if test "$wxUSE_IPC" = "yes" ; then
36877         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
36878     fi
36879 fi
36880
36881
36882 if test "x$INTELCC" = "xyes" ; then
36883                                         CWARNINGS="-Wall -wd810,869,981,1418,1572,1684,2259"
36884 elif test "$GCC" = yes ; then
36885     CWARNINGS="-Wall -Wundef"
36886 fi
36887
36888 if test "x$INTELCXX" = "xyes" ; then
36889                                                                 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
36890 elif test "$GXX" = yes ; then
36891     CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
36892     { $as_echo "$as_me:${as_lineno-$LINENO}: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
36893 $as_echo_n "checking CXXWARNINGS for gcc -Woverloaded-virtual... " >&6; }
36894 if test "${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+set}" = set; then :
36895   $as_echo_n "(cached) " >&6
36896 else
36897   ac_cv_cxxflags_gcc_option__Woverloaded_virtual="no, unknown"
36898
36899  ac_ext=cpp
36900 ac_cpp='$CXXCPP $CPPFLAGS'
36901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36904
36905  ac_save_CXXFLAGS="$CXXFLAGS"
36906 for ac_arg in "-pedantic -Werror % -Woverloaded-virtual"     "-pedantic % -Woverloaded-virtual %% no, obsolete"     #
36907 do CXXFLAGS="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
36908    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36909 /* end confdefs.h.  */
36910
36911 int
36912 main ()
36913 {
36914 return 0;
36915   ;
36916   return 0;
36917 }
36918 _ACEOF
36919 if ac_fn_cxx_try_compile "$LINENO"; then :
36920   ac_cv_cxxflags_gcc_option__Woverloaded_virtual=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
36921 fi
36922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36923 done
36924  CXXFLAGS="$ac_save_CXXFLAGS"
36925  ac_ext=c
36926 ac_cpp='$CPP $CPPFLAGS'
36927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36930
36931
36932 fi
36933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
36934 $as_echo "$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
36935 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
36936      .ok|.ok,*)  ;;
36937    .|.no|.no,*)  ;;
36938    *)
36939    if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev/null
36940    then { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual"; } >&5
36941   (: CXXWARNINGS does contain $ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
36942   ac_status=$?
36943   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36944   test $ac_status = 0; }
36945    else { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\""; } >&5
36946   (: CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
36947   ac_status=$?
36948   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36949   test $ac_status = 0; }
36950                       CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
36951    fi
36952  ;;
36953 esac
36954
36955
36956                     if test "$wxUSE_MAC" = 1 ; then
36957         CXXWARNINGS="$CXXWARNINGS -Wno-deprecated-declarations"
36958     fi
36959 fi
36960
36961
36962 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
36963 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
36964
36965
36966 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
36967  -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
36968  -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
36969  $CPPFLAGS `
36970
36971 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
36972 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
36973 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
36974 OBJCFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
36975 OBJCXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
36976
36977 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
36978
36979
36980 if test "x$MWCC" = "xyes"; then
36981
36982             CC="$CC -cwd source -I-"
36983     CXX="$CXX -cwd source -I-"
36984 fi
36985
36986
36987 LIBS=`echo $LIBS`
36988 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
36989 EXTRALIBS_XML="$EXPAT_LINK"
36990 EXTRALIBS_HTML="$MSPACK_LINK"
36991 EXTRALIBS_MEDIA="$GST_LIBS"
36992 EXTRALIBS_STC="-lwxscintilla${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
36993 if test "$wxUSE_GUI" = "yes"; then
36994     EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
36995 fi
36996 if test "$wxUSE_OPENGL" = "yes"; then
36997     EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
36998 fi
36999
37000 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
37001
37002 WXCONFIG_LIBS="$LIBS"
37003
37004 if test "$wxUSE_REGEX" = "builtin" ; then
37005     wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
37006 fi
37007 if test "$wxUSE_EXPAT" = "builtin" ; then
37008     wxconfig_3rdparty="expat $wxconfig_3rdparty"
37009 fi
37010 if test "$wxUSE_LIBTIFF" = "builtin" ; then
37011     wxconfig_3rdparty="tiff $wxconfig_3rdparty"
37012 fi
37013 if test "$wxUSE_LIBJPEG" = "builtin" ; then
37014     wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
37015 fi
37016 if test "$wxUSE_LIBPNG" = "builtin" ; then
37017     wxconfig_3rdparty="png $wxconfig_3rdparty"
37018 fi
37019 if test "$wxUSE_ZLIB" = "builtin" ; then
37020     wxconfig_3rdparty="zlib $wxconfig_3rdparty"
37021 fi
37022
37023 for i in $wxconfig_3rdparty ; do
37024     WXCONFIG_LIBS="-lwx${i}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
37025 done
37026
37027
37028 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
37029     WXUNIV=1
37030
37031     case "$wxUNIV_THEMES" in
37032         ''|all)
37033             $as_echo "#define wxUSE_ALL_THEMES 1" >>confdefs.h
37034
37035             ;;
37036
37037         *)
37038             for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
37039                 cat >>confdefs.h <<_ACEOF
37040 #define wxUSE_THEME_$t 1
37041 _ACEOF
37042
37043             done
37044     esac
37045 else
37046     WXUNIV=0
37047 fi
37048
37049
37050
37051
37052
37053
37054
37055
37056 if test $wxUSE_MONOLITHIC = "yes" ; then
37057     MONOLITHIC=1
37058 else
37059     MONOLITHIC=0
37060 fi
37061
37062 if test $wxUSE_PLUGINS = "yes" ; then
37063     USE_PLUGINS=1
37064 else
37065     USE_PLUGINS=0
37066 fi
37067
37068 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
37069     USE_QA=1
37070 else
37071     USE_QA=0
37072 fi
37073
37074 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
37075     OFFICIAL_BUILD=1
37076 else
37077     OFFICIAL_BUILD=0
37078 fi
37079
37080
37081
37082
37083
37084
37085
37086
37087
37088
37089
37090
37091
37092
37093
37094
37095
37096
37097
37098
37099
37100
37101
37102
37103
37104
37105
37106 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
37107
37108
37109
37110
37111
37112
37113
37114
37115
37116
37117 case "$TOOLKIT" in
37118     GTK)
37119         TOOLKIT_DESC="GTK+"
37120         if test "$WXGTK2" = 1; then
37121             TOOLKIT_DESC="$TOOLKIT_DESC 2"
37122             if test "$wxUSE_GTKPRINT" = "yes" ; then
37123                 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
37124             fi
37125             if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
37126                 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
37127             fi
37128             if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
37129                 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
37130             fi
37131             if test "$wxUSE_LIBHILDON" = "yes"; then
37132                 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
37133             fi
37134             if test "$wxUSE_LIBHILDON2" = "yes"; then
37135                 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
37136             fi
37137
37138             if test "$TOOLKIT_EXTRA" != ""; then
37139                 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
37140             fi
37141         fi
37142         ;;
37143
37144     ?*)
37145         TOOLKIT_DESC=$TOOLKIT_LOWERCASE
37146         ;;
37147
37148     *)
37149         TOOLKIT_DESC="base only"
37150         ;;
37151 esac
37152
37153 if test "$wxUSE_WINE" = "yes"; then
37154     BAKEFILE_FORCE_PLATFORM=win32
37155 fi
37156
37157 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
37158 then
37159     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc precompiled header bug" >&5
37160 $as_echo_n "checking for gcc precompiled header bug... " >&6; }
37161 if test "${wx_cv_gcc_pch_bug+set}" = set; then :
37162   $as_echo_n "(cached) " >&6
37163 else
37164
37165             echo '#include <stdio.h>
37166                   const wchar_t test_var[] = L"awidetest";' > conftest.h
37167
37168             echo '#include "conftest.h"
37169                   int main()
37170                   {
37171                      printf("%ls", test_var);
37172                      return 0;
37173                   }' > conftest.cpp
37174
37175             wx_cv_gcc_pch_bug="pch not supported"
37176
37177             if $CXX conftest.h >/dev/null 2>&1
37178             then
37179                 wx_cv_gcc_pch_bug=
37180
37181                 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
37182                 then
37183                     if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
37184                         grep awidetest >/dev/null
37185                     then
37186                         wx_cv_gcc_pch_bug=no
37187                     else
37188                         wx_cv_gcc_pch_bug=yes
37189                     fi
37190                 fi
37191             fi
37192
37193             rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
37194
37195 fi
37196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_gcc_pch_bug" >&5
37197 $as_echo "$wx_cv_gcc_pch_bug" >&6; }
37198
37199     if test "$wx_cv_gcc_pch_bug" = yes; then
37200                         bk_use_pch=no
37201     fi
37202 fi
37203
37204 # Find a good install program.  We prefer a C program (faster),
37205 # so one script is as good as another.  But avoid the broken or
37206 # incompatible versions:
37207 # SysV /etc/install, /usr/sbin/install
37208 # SunOS /usr/etc/install
37209 # IRIX /sbin/install
37210 # AIX /bin/install
37211 # AmigaOS /C/install, which installs bootblocks on floppy discs
37212 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
37213 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
37214 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
37215 # OS/2's system install, which has a completely different semantic
37216 # ./install, which can be erroneously created by make from ./install.sh.
37217 # Reject install programs that cannot install multiple files.
37218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
37219 $as_echo_n "checking for a BSD-compatible install... " >&6; }
37220 if test -z "$INSTALL"; then
37221 if test "${ac_cv_path_install+set}" = set; then :
37222   $as_echo_n "(cached) " >&6
37223 else
37224   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37225 for as_dir in $PATH
37226 do
37227   IFS=$as_save_IFS
37228   test -z "$as_dir" && as_dir=.
37229     # Account for people who put trailing slashes in PATH elements.
37230 case $as_dir/ in #((
37231   ./ | .// | /[cC]/* | \
37232   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
37233   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
37234   /usr/ucb/* ) ;;
37235   *)
37236     # OSF1 and SCO ODT 3.0 have their own names for install.
37237     # Don't use installbsd from OSF since it installs stuff as root
37238     # by default.
37239     for ac_prog in ginstall scoinst install; do
37240       for ac_exec_ext in '' $ac_executable_extensions; do
37241         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
37242           if test $ac_prog = install &&
37243             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
37244             # AIX install.  It has an incompatible calling convention.
37245             :
37246           elif test $ac_prog = install &&
37247             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
37248             # program-specific install script used by HP pwplus--don't use.
37249             :
37250           else
37251             rm -rf conftest.one conftest.two conftest.dir
37252             echo one > conftest.one
37253             echo two > conftest.two
37254             mkdir conftest.dir
37255             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
37256               test -s conftest.one && test -s conftest.two &&
37257               test -s conftest.dir/conftest.one &&
37258               test -s conftest.dir/conftest.two
37259             then
37260               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
37261               break 3
37262             fi
37263           fi
37264         fi
37265       done
37266     done
37267     ;;
37268 esac
37269
37270   done
37271 IFS=$as_save_IFS
37272
37273 rm -rf conftest.one conftest.two conftest.dir
37274
37275 fi
37276   if test "${ac_cv_path_install+set}" = set; then
37277     INSTALL=$ac_cv_path_install
37278   else
37279     # As a last resort, use the slow shell script.  Don't cache a
37280     # value for INSTALL within a source directory, because that will
37281     # break other packages using the cache if that directory is
37282     # removed, or if the value is a relative name.
37283     INSTALL=$ac_install_sh
37284   fi
37285 fi
37286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
37287 $as_echo "$INSTALL" >&6; }
37288
37289 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
37290 # It thinks the first close brace ends the variable substitution.
37291 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
37292
37293 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
37294
37295 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
37296
37297
37298
37299
37300
37301
37302
37303     if test "x$BAKEFILE_HOST" = "x"; then
37304                if test "x${host}" = "x" ; then
37305                        as_fn_error $? "You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." "$LINENO" 5
37306                fi
37307
37308         BAKEFILE_HOST="${host}"
37309     fi
37310
37311     if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
37312
37313     if test -n "$ac_tool_prefix"; then
37314   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
37315 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
37316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
37317 $as_echo_n "checking for $ac_word... " >&6; }
37318 if test "${ac_cv_prog_RANLIB+set}" = set; then :
37319   $as_echo_n "(cached) " >&6
37320 else
37321   if test -n "$RANLIB"; then
37322   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
37323 else
37324 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37325 for as_dir in $PATH
37326 do
37327   IFS=$as_save_IFS
37328   test -z "$as_dir" && as_dir=.
37329     for ac_exec_ext in '' $ac_executable_extensions; do
37330   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
37331     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
37332     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
37333     break 2
37334   fi
37335 done
37336   done
37337 IFS=$as_save_IFS
37338
37339 fi
37340 fi
37341 RANLIB=$ac_cv_prog_RANLIB
37342 if test -n "$RANLIB"; then
37343   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
37344 $as_echo "$RANLIB" >&6; }
37345 else
37346   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37347 $as_echo "no" >&6; }
37348 fi
37349
37350
37351 fi
37352 if test -z "$ac_cv_prog_RANLIB"; then
37353   ac_ct_RANLIB=$RANLIB
37354   # Extract the first word of "ranlib", so it can be a program name with args.
37355 set dummy ranlib; ac_word=$2
37356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
37357 $as_echo_n "checking for $ac_word... " >&6; }
37358 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
37359   $as_echo_n "(cached) " >&6
37360 else
37361   if test -n "$ac_ct_RANLIB"; then
37362   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
37363 else
37364 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37365 for as_dir in $PATH
37366 do
37367   IFS=$as_save_IFS
37368   test -z "$as_dir" && as_dir=.
37369     for ac_exec_ext in '' $ac_executable_extensions; do
37370   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
37371     ac_cv_prog_ac_ct_RANLIB="ranlib"
37372     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
37373     break 2
37374   fi
37375 done
37376   done
37377 IFS=$as_save_IFS
37378
37379 fi
37380 fi
37381 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
37382 if test -n "$ac_ct_RANLIB"; then
37383   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
37384 $as_echo "$ac_ct_RANLIB" >&6; }
37385 else
37386   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37387 $as_echo "no" >&6; }
37388 fi
37389
37390   if test "x$ac_ct_RANLIB" = x; then
37391     RANLIB=":"
37392   else
37393     case $cross_compiling:$ac_tool_warned in
37394 yes:)
37395 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
37396 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
37397 ac_tool_warned=yes ;;
37398 esac
37399     RANLIB=$ac_ct_RANLIB
37400   fi
37401 else
37402   RANLIB="$ac_cv_prog_RANLIB"
37403 fi
37404
37405
37406     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
37407 $as_echo_n "checking whether ln -s works... " >&6; }
37408 LN_S=$as_ln_s
37409 if test "$LN_S" = "ln -s"; then
37410   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37411 $as_echo "yes" >&6; }
37412 else
37413   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
37414 $as_echo "no, using $LN_S" >&6; }
37415 fi
37416
37417
37418     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
37419 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
37420 set x ${MAKE-make}
37421 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
37422 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
37423   $as_echo_n "(cached) " >&6
37424 else
37425   cat >conftest.make <<\_ACEOF
37426 SHELL = /bin/sh
37427 all:
37428         @echo '@@@%%%=$(MAKE)=@@@%%%'
37429 _ACEOF
37430 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
37431 case `${MAKE-make} -f conftest.make 2>/dev/null` in
37432   *@@@%%%=?*=@@@%%%*)
37433     eval ac_cv_prog_make_${ac_make}_set=yes;;
37434   *)
37435     eval ac_cv_prog_make_${ac_make}_set=no;;
37436 esac
37437 rm -f conftest.make
37438 fi
37439 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
37440   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37441 $as_echo "yes" >&6; }
37442   SET_MAKE=
37443 else
37444   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37445 $as_echo "no" >&6; }
37446   SET_MAKE="MAKE=${MAKE-make}"
37447 fi
37448
37449
37450
37451     if test "x$SUNCXX" = "xyes"; then
37452                                 AR=$CXX
37453         AROPTIONS="-xar -o"
37454
37455     elif test "x$SGICC" = "xyes"; then
37456                 AR=$CXX
37457         AROPTIONS="-ar -o"
37458
37459     else
37460         if test -n "$ac_tool_prefix"; then
37461   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
37462 set dummy ${ac_tool_prefix}ar; ac_word=$2
37463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
37464 $as_echo_n "checking for $ac_word... " >&6; }
37465 if test "${ac_cv_prog_AR+set}" = set; then :
37466   $as_echo_n "(cached) " >&6
37467 else
37468   if test -n "$AR"; then
37469   ac_cv_prog_AR="$AR" # Let the user override the test.
37470 else
37471 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37472 for as_dir in $PATH
37473 do
37474   IFS=$as_save_IFS
37475   test -z "$as_dir" && as_dir=.
37476     for ac_exec_ext in '' $ac_executable_extensions; do
37477   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
37478     ac_cv_prog_AR="${ac_tool_prefix}ar"
37479     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
37480     break 2
37481   fi
37482 done
37483   done
37484 IFS=$as_save_IFS
37485
37486 fi
37487 fi
37488 AR=$ac_cv_prog_AR
37489 if test -n "$AR"; then
37490   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
37491 $as_echo "$AR" >&6; }
37492 else
37493   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37494 $as_echo "no" >&6; }
37495 fi
37496
37497
37498 fi
37499 if test -z "$ac_cv_prog_AR"; then
37500   ac_ct_AR=$AR
37501   # Extract the first word of "ar", so it can be a program name with args.
37502 set dummy ar; ac_word=$2
37503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
37504 $as_echo_n "checking for $ac_word... " >&6; }
37505 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
37506   $as_echo_n "(cached) " >&6
37507 else
37508   if test -n "$ac_ct_AR"; then
37509   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
37510 else
37511 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37512 for as_dir in $PATH
37513 do
37514   IFS=$as_save_IFS
37515   test -z "$as_dir" && as_dir=.
37516     for ac_exec_ext in '' $ac_executable_extensions; do
37517   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
37518     ac_cv_prog_ac_ct_AR="ar"
37519     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
37520     break 2
37521   fi
37522 done
37523   done
37524 IFS=$as_save_IFS
37525
37526 fi
37527 fi
37528 ac_ct_AR=$ac_cv_prog_ac_ct_AR
37529 if test -n "$ac_ct_AR"; then
37530   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
37531 $as_echo "$ac_ct_AR" >&6; }
37532 else
37533   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37534 $as_echo "no" >&6; }
37535 fi
37536
37537   if test "x$ac_ct_AR" = x; then
37538     AR="ar"
37539   else
37540     case $cross_compiling:$ac_tool_warned in
37541 yes:)
37542 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
37543 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
37544 ac_tool_warned=yes ;;
37545 esac
37546     AR=$ac_ct_AR
37547   fi
37548 else
37549   AR="$ac_cv_prog_AR"
37550 fi
37551
37552         AROPTIONS=rcu
37553     fi
37554
37555
37556     if test -n "$ac_tool_prefix"; then
37557   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
37558 set dummy ${ac_tool_prefix}strip; ac_word=$2
37559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
37560 $as_echo_n "checking for $ac_word... " >&6; }
37561 if test "${ac_cv_prog_STRIP+set}" = set; then :
37562   $as_echo_n "(cached) " >&6
37563 else
37564   if test -n "$STRIP"; then
37565   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
37566 else
37567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37568 for as_dir in $PATH
37569 do
37570   IFS=$as_save_IFS
37571   test -z "$as_dir" && as_dir=.
37572     for ac_exec_ext in '' $ac_executable_extensions; do
37573   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
37574     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
37575     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
37576     break 2
37577   fi
37578 done
37579   done
37580 IFS=$as_save_IFS
37581
37582 fi
37583 fi
37584 STRIP=$ac_cv_prog_STRIP
37585 if test -n "$STRIP"; then
37586   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
37587 $as_echo "$STRIP" >&6; }
37588 else
37589   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37590 $as_echo "no" >&6; }
37591 fi
37592
37593
37594 fi
37595 if test -z "$ac_cv_prog_STRIP"; then
37596   ac_ct_STRIP=$STRIP
37597   # Extract the first word of "strip", so it can be a program name with args.
37598 set dummy strip; ac_word=$2
37599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
37600 $as_echo_n "checking for $ac_word... " >&6; }
37601 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
37602   $as_echo_n "(cached) " >&6
37603 else
37604   if test -n "$ac_ct_STRIP"; then
37605   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
37606 else
37607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37608 for as_dir in $PATH
37609 do
37610   IFS=$as_save_IFS
37611   test -z "$as_dir" && as_dir=.
37612     for ac_exec_ext in '' $ac_executable_extensions; do
37613   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
37614     ac_cv_prog_ac_ct_STRIP="strip"
37615     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
37616     break 2
37617   fi
37618 done
37619   done
37620 IFS=$as_save_IFS
37621
37622 fi
37623 fi
37624 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
37625 if test -n "$ac_ct_STRIP"; then
37626   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
37627 $as_echo "$ac_ct_STRIP" >&6; }
37628 else
37629   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37630 $as_echo "no" >&6; }
37631 fi
37632
37633   if test "x$ac_ct_STRIP" = x; then
37634     STRIP=":"
37635   else
37636     case $cross_compiling:$ac_tool_warned in
37637 yes:)
37638 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
37639 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
37640 ac_tool_warned=yes ;;
37641 esac
37642     STRIP=$ac_ct_STRIP
37643   fi
37644 else
37645   STRIP="$ac_cv_prog_STRIP"
37646 fi
37647
37648     if test -n "$ac_tool_prefix"; then
37649   # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
37650 set dummy ${ac_tool_prefix}nm; ac_word=$2
37651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
37652 $as_echo_n "checking for $ac_word... " >&6; }
37653 if test "${ac_cv_prog_NM+set}" = set; then :
37654   $as_echo_n "(cached) " >&6
37655 else
37656   if test -n "$NM"; then
37657   ac_cv_prog_NM="$NM" # Let the user override the test.
37658 else
37659 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37660 for as_dir in $PATH
37661 do
37662   IFS=$as_save_IFS
37663   test -z "$as_dir" && as_dir=.
37664     for ac_exec_ext in '' $ac_executable_extensions; do
37665   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
37666     ac_cv_prog_NM="${ac_tool_prefix}nm"
37667     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
37668     break 2
37669   fi
37670 done
37671   done
37672 IFS=$as_save_IFS
37673
37674 fi
37675 fi
37676 NM=$ac_cv_prog_NM
37677 if test -n "$NM"; then
37678   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
37679 $as_echo "$NM" >&6; }
37680 else
37681   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37682 $as_echo "no" >&6; }
37683 fi
37684
37685
37686 fi
37687 if test -z "$ac_cv_prog_NM"; then
37688   ac_ct_NM=$NM
37689   # Extract the first word of "nm", so it can be a program name with args.
37690 set dummy nm; ac_word=$2
37691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
37692 $as_echo_n "checking for $ac_word... " >&6; }
37693 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then :
37694   $as_echo_n "(cached) " >&6
37695 else
37696   if test -n "$ac_ct_NM"; then
37697   ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
37698 else
37699 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37700 for as_dir in $PATH
37701 do
37702   IFS=$as_save_IFS
37703   test -z "$as_dir" && as_dir=.
37704     for ac_exec_ext in '' $ac_executable_extensions; do
37705   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
37706     ac_cv_prog_ac_ct_NM="nm"
37707     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
37708     break 2
37709   fi
37710 done
37711   done
37712 IFS=$as_save_IFS
37713
37714 fi
37715 fi
37716 ac_ct_NM=$ac_cv_prog_ac_ct_NM
37717 if test -n "$ac_ct_NM"; then
37718   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NM" >&5
37719 $as_echo "$ac_ct_NM" >&6; }
37720 else
37721   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37722 $as_echo "no" >&6; }
37723 fi
37724
37725   if test "x$ac_ct_NM" = x; then
37726     NM=":"
37727   else
37728     case $cross_compiling:$ac_tool_warned in
37729 yes:)
37730 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
37731 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
37732 ac_tool_warned=yes ;;
37733 esac
37734     NM=$ac_ct_NM
37735   fi
37736 else
37737   NM="$ac_cv_prog_NM"
37738 fi
37739
37740
37741         INSTALL_DIR="mkdir -p"
37742
37743
37744     LDFLAGS_GUI=
37745     case ${BAKEFILE_HOST} in
37746         *-*-cygwin* | *-*-mingw32* )
37747         LDFLAGS_GUI="-mwindows"
37748     esac
37749
37750
37751     fi
37752
37753         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if make is GNU make" >&5
37754 $as_echo_n "checking if make is GNU make... " >&6; }
37755 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then :
37756   $as_echo_n "(cached) " >&6
37757 else
37758
37759         if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
37760                 egrep -s GNU > /dev/null); then
37761             bakefile_cv_prog_makeisgnu="yes"
37762         else
37763             bakefile_cv_prog_makeisgnu="no"
37764         fi
37765
37766 fi
37767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_prog_makeisgnu" >&5
37768 $as_echo "$bakefile_cv_prog_makeisgnu" >&6; }
37769
37770     if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
37771         IF_GNU_MAKE=""
37772     else
37773         IF_GNU_MAKE="#"
37774     fi
37775
37776
37777
37778     PLATFORM_UNIX=0
37779     PLATFORM_WIN32=0
37780     PLATFORM_MSDOS=0
37781     PLATFORM_MAC=0
37782     PLATFORM_MACOS=0
37783     PLATFORM_MACOSX=0
37784     PLATFORM_OS2=0
37785     PLATFORM_BEOS=0
37786
37787     if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
37788         case "${BAKEFILE_HOST}" in
37789             *-*-mingw32* )
37790                 PLATFORM_WIN32=1
37791             ;;
37792             *-pc-msdosdjgpp )
37793                 PLATFORM_MSDOS=1
37794             ;;
37795             *-pc-os2_emx | *-pc-os2-emx )
37796                 PLATFORM_OS2=1
37797             ;;
37798             *-*-darwin* )
37799                 PLATFORM_MAC=1
37800                 PLATFORM_MACOSX=1
37801             ;;
37802             *-*-beos* )
37803                 PLATFORM_BEOS=1
37804             ;;
37805             powerpc-apple-macos* )
37806                 PLATFORM_MAC=1
37807                 PLATFORM_MACOS=1
37808             ;;
37809             * )
37810                 PLATFORM_UNIX=1
37811             ;;
37812         esac
37813     else
37814         case "$BAKEFILE_FORCE_PLATFORM" in
37815             win32 )
37816                 PLATFORM_WIN32=1
37817             ;;
37818             msdos )
37819                 PLATFORM_MSDOS=1
37820             ;;
37821             os2 )
37822                 PLATFORM_OS2=1
37823             ;;
37824             darwin )
37825                 PLATFORM_MAC=1
37826                 PLATFORM_MACOSX=1
37827             ;;
37828             unix )
37829                 PLATFORM_UNIX=1
37830             ;;
37831             beos )
37832                 PLATFORM_BEOS=1
37833             ;;
37834             * )
37835                 as_fn_error $? "Unknown platform: $BAKEFILE_FORCE_PLATFORM" "$LINENO" 5
37836             ;;
37837         esac
37838     fi
37839
37840
37841
37842
37843
37844
37845
37846
37847
37848
37849
37850     # Check whether --enable-omf was given.
37851 if test "${enable_omf+set}" = set; then :
37852   enableval=$enable_omf; bk_os2_use_omf="$enableval"
37853 fi
37854
37855
37856     case "${BAKEFILE_HOST}" in
37857       *-*-darwin* )
37858                         if test "x$GCC" = "xyes"; then
37859             CFLAGS="$CFLAGS -fno-common"
37860             CXXFLAGS="$CXXFLAGS -fno-common"
37861         fi
37862         if test "x$XLCC" = "xyes"; then
37863             CFLAGS="$CFLAGS -qnocommon"
37864             CXXFLAGS="$CXXFLAGS -qnocommon"
37865         fi
37866         ;;
37867
37868       *-pc-os2_emx | *-pc-os2-emx )
37869         if test "x$bk_os2_use_omf" = "xyes" ; then
37870             AR=emxomfar
37871             RANLIB=:
37872             LDFLAGS="-Zomf $LDFLAGS"
37873             CFLAGS="-Zomf $CFLAGS"
37874             CXXFLAGS="-Zomf $CXXFLAGS"
37875             OS2_LIBEXT="lib"
37876         else
37877             OS2_LIBEXT="a"
37878         fi
37879         ;;
37880
37881       i*86-*-beos* )
37882         LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
37883         ;;
37884     esac
37885
37886
37887     SO_SUFFIX="so"
37888     SO_SUFFIX_MODULE="so"
37889     EXEEXT=""
37890     LIBPREFIX="lib"
37891     LIBEXT=".a"
37892     DLLPREFIX="lib"
37893     DLLPREFIX_MODULE=""
37894     DLLIMP_SUFFIX=""
37895     dlldir="$libdir"
37896
37897     case "${BAKEFILE_HOST}" in
37898                         ia64-hp-hpux* )
37899         ;;
37900         *-hp-hpux* )
37901             SO_SUFFIX="sl"
37902             SO_SUFFIX_MODULE="sl"
37903         ;;
37904         *-*-aix* )
37905                                                                         SO_SUFFIX="a"
37906             SO_SUFFIX_MODULE="a"
37907         ;;
37908         *-*-cygwin* )
37909             SO_SUFFIX="dll"
37910             SO_SUFFIX_MODULE="dll"
37911             DLLIMP_SUFFIX="dll.a"
37912             EXEEXT=".exe"
37913             DLLPREFIX="cyg"
37914             dlldir="$bindir"
37915         ;;
37916         *-*-mingw32* )
37917             SO_SUFFIX="dll"
37918             SO_SUFFIX_MODULE="dll"
37919             DLLIMP_SUFFIX="dll.a"
37920             EXEEXT=".exe"
37921             DLLPREFIX=""
37922             dlldir="$bindir"
37923         ;;
37924         *-pc-msdosdjgpp )
37925             EXEEXT=".exe"
37926             DLLPREFIX=""
37927             dlldir="$bindir"
37928         ;;
37929         *-pc-os2_emx | *-pc-os2-emx )
37930             SO_SUFFIX="dll"
37931             SO_SUFFIX_MODULE="dll"
37932             DLLIMP_SUFFIX=$OS2_LIBEXT
37933             EXEEXT=".exe"
37934             DLLPREFIX=""
37935             LIBPREFIX=""
37936             LIBEXT=".$OS2_LIBEXT"
37937             dlldir="$bindir"
37938         ;;
37939         *-*-darwin* )
37940             SO_SUFFIX="dylib"
37941             SO_SUFFIX_MODULE="bundle"
37942         ;;
37943     esac
37944
37945     if test "x$DLLIMP_SUFFIX" = "x" ; then
37946         DLLIMP_SUFFIX="$SO_SUFFIX"
37947     fi
37948
37949
37950
37951
37952
37953
37954
37955
37956
37957
37958
37959
37960         PIC_FLAG=""
37961     if test "x$GCC" = "xyes"; then
37962                 PIC_FLAG="-fPIC"
37963     fi
37964
37965         SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
37966     SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
37967     WINDOWS_IMPLIB=0
37968
37969     case "${BAKEFILE_HOST}" in
37970       *-hp-hpux* )
37971                 if test "x$GCC" != "xyes"; then
37972                         LDFLAGS="$LDFLAGS -L/usr/lib"
37973
37974             SHARED_LD_CC="${CC} -b -o"
37975             SHARED_LD_CXX="${CXX} -b -o"
37976             PIC_FLAG="+Z"
37977         fi
37978       ;;
37979
37980       *-*-linux* )
37981                         if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
37982             PIC_FLAG="-KPIC"
37983         elif test "x$SUNCXX" = "xyes"; then
37984             SHARED_LD_CC="${CC} -G -o"
37985             SHARED_LD_CXX="${CXX} -G -o"
37986             PIC_FLAG="-KPIC"
37987         fi
37988       ;;
37989
37990       *-*-solaris2* )
37991         if test "x$SUNCXX" = xyes ; then
37992             SHARED_LD_CC="${CC} -G -o"
37993             SHARED_LD_CXX="${CXX} -G -o"
37994             PIC_FLAG="-KPIC"
37995         fi
37996       ;;
37997
37998       *-*-darwin* )
37999
38000 D='$'
38001 cat <<EOF >shared-ld-sh
38002 #!/bin/sh
38003 #-----------------------------------------------------------------------------
38004 #-- Name:        distrib/mac/shared-ld-sh
38005 #-- Purpose:     Link a mach-o dynamic shared library for Darwin / Mac OS X
38006 #-- Author:      Gilles Depeyrot
38007 #-- Copyright:   (c) 2002 Gilles Depeyrot
38008 #-- Licence:     any use permitted
38009 #-----------------------------------------------------------------------------
38010
38011 verbose=0
38012 args=""
38013 objects=""
38014 linking_flag="-dynamiclib"
38015 ldargs="-r -keep_private_externs -nostdlib"
38016
38017 if test "x${D}CXX" = "x"; then
38018     CXX="c++"
38019 fi
38020
38021 while test ${D}# -gt 0; do
38022     case ${D}1 in
38023
38024        -v)
38025         verbose=1
38026         ;;
38027
38028        -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
38029         # collect these options and values
38030         args="${D}{args} ${D}1 ${D}2"
38031         shift
38032         ;;
38033
38034        -arch|-isysroot)
38035         # collect these options and values
38036         ldargs="${D}{ldargs} ${D}1 ${D}2"
38037         shift
38038         ;;
38039
38040        -s|-Wl,*)
38041         # collect these load args
38042         ldargs="${D}{ldargs} ${D}1"
38043         ;;
38044
38045        -l*|-L*|-flat_namespace|-headerpad_max_install_names)
38046         # collect these options
38047         args="${D}{args} ${D}1"
38048         ;;
38049
38050        -dynamiclib|-bundle)
38051         linking_flag="${D}1"
38052         ;;
38053
38054        -*)
38055         echo "shared-ld: unhandled option '${D}1'"
38056         exit 1
38057         ;;
38058
38059         *.o | *.a | *.dylib)
38060         # collect object files
38061         objects="${D}{objects} ${D}1"
38062         ;;
38063
38064         *)
38065         echo "shared-ld: unhandled argument '${D}1'"
38066         exit 1
38067         ;;
38068
38069     esac
38070     shift
38071 done
38072
38073 status=0
38074
38075 #
38076 # Link one module containing all the others
38077 #
38078 if test ${D}{verbose} = 1; then
38079     echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
38080 fi
38081 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
38082 status=${D}?
38083
38084 #
38085 # Link the shared library from the single module created, but only if the
38086 # previous command didn't fail:
38087 #
38088 if test ${D}{status} = 0; then
38089     if test ${D}{verbose} = 1; then
38090         echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
38091     fi
38092     ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
38093     status=${D}?
38094 fi
38095
38096 #
38097 # Remove intermediate module
38098 #
38099 rm -f master.${D}${D}.o
38100
38101 exit ${D}status
38102 EOF
38103
38104         chmod +x shared-ld-sh
38105
38106         SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
38107         SHARED_LD_MODULE_CXX="CXX=\"\$(CXX)\" $SHARED_LD_MODULE_CC"
38108
38109
38110                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc 3.1 or later" >&5
38111 $as_echo_n "checking for gcc 3.1 or later... " >&6; }
38112 if test "${bakefile_cv_gcc31+set}" = set; then :
38113   $as_echo_n "(cached) " >&6
38114 else
38115
38116            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38117 /* end confdefs.h.  */
38118
38119 int
38120 main ()
38121 {
38122
38123                    #if (__GNUC__ < 3) || \
38124                        ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
38125                        This is old gcc
38126                    #endif
38127
38128   ;
38129   return 0;
38130 }
38131 _ACEOF
38132 if ac_fn_c_try_compile "$LINENO"; then :
38133
38134                    bakefile_cv_gcc31=yes
38135
38136 else
38137
38138                    bakefile_cv_gcc31=no
38139
38140
38141 fi
38142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38143
38144 fi
38145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_gcc31" >&5
38146 $as_echo "$bakefile_cv_gcc31" >&6; }
38147         if test "$bakefile_cv_gcc31" = "no"; then
38148                         SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
38149             SHARED_LD_CXX="$SHARED_LD_CC"
38150         else
38151                         SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
38152             SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
38153         fi
38154
38155         if test "x$GCC" == "xyes"; then
38156             PIC_FLAG="-dynamic -fPIC"
38157         fi
38158         if test "x$XLCC" = "xyes"; then
38159             PIC_FLAG="-dynamic -DPIC"
38160         fi
38161       ;;
38162
38163       *-*-aix* )
38164         if test "x$GCC" = "xyes"; then
38165                                                             PIC_FLAG=""
38166
38167                                                                                     case "${BAKEFILE_HOST}" in
38168                 *-*-aix5* )
38169                     LD_EXPFULL="-Wl,-bexpfull"
38170                     ;;
38171             esac
38172
38173             SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
38174             SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
38175         else
38176                                     # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
38177 set dummy makeC++SharedLib; ac_word=$2
38178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38179 $as_echo_n "checking for $ac_word... " >&6; }
38180 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then :
38181   $as_echo_n "(cached) " >&6
38182 else
38183   if test -n "$AIX_CXX_LD"; then
38184   ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
38185 else
38186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38187 for as_dir in $PATH
38188 do
38189   IFS=$as_save_IFS
38190   test -z "$as_dir" && as_dir=.
38191     for ac_exec_ext in '' $ac_executable_extensions; do
38192   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
38193     ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
38194     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38195     break 2
38196   fi
38197 done
38198   done
38199 IFS=$as_save_IFS
38200
38201   test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
38202 fi
38203 fi
38204 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
38205 if test -n "$AIX_CXX_LD"; then
38206   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AIX_CXX_LD" >&5
38207 $as_echo "$AIX_CXX_LD" >&6; }
38208 else
38209   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38210 $as_echo "no" >&6; }
38211 fi
38212
38213
38214             SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
38215             SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
38216         fi
38217       ;;
38218
38219       *-*-beos* )
38220                         SHARED_LD_CC="${LD} -nostart -o"
38221         SHARED_LD_CXX="${LD} -nostart -o"
38222       ;;
38223
38224       *-*-irix* )
38225                 if test "x$GCC" != "xyes"; then
38226             PIC_FLAG="-KPIC"
38227         fi
38228       ;;
38229
38230       *-*-cygwin* | *-*-mingw32* )
38231         PIC_FLAG=""
38232         SHARED_LD_CC="\$(CC) -shared -o"
38233         SHARED_LD_CXX="\$(CXX) -shared -o"
38234         WINDOWS_IMPLIB=1
38235       ;;
38236
38237       *-pc-os2_emx | *-pc-os2-emx )
38238         SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
38239         SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
38240         PIC_FLAG=""
38241
38242 D='$'
38243 cat <<EOF >dllar.sh
38244 #!/bin/sh
38245 #
38246 # dllar - a tool to build both a .dll and an .a file
38247 # from a set of object (.o) files for EMX/OS2.
38248 #
38249 #  Written by Andrew Zabolotny, bit@freya.etu.ru
38250 #  Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
38251 #
38252 #  This script will accept a set of files on the command line.
38253 #  All the public symbols from the .o files will be exported into
38254 #  a .DEF file, then linker will be run (through gcc) against them to
38255 #  build a shared library consisting of all given .o files. All libraries
38256 #  (.a) will be first decompressed into component .o files then act as
38257 #  described above. You can optionally give a description (-d "description")
38258 #  which will be put into .DLL. To see the list of accepted options (as well
38259 #  as command-line format) simply run this program without options. The .DLL
38260 #  is built to be imported by name (there is no guarantee that new versions
38261 #  of the library you build will have same ordinals for same symbols).
38262 #
38263 #  dllar is free software; you can redistribute it and/or modify
38264 #  it under the terms of the GNU General Public License as published by
38265 #  the Free Software Foundation; either version 2, or (at your option)
38266 #  any later version.
38267 #
38268 #  dllar is distributed in the hope that it will be useful,
38269 #  but WITHOUT ANY WARRANTY; without even the implied warranty of
38270 #  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
38271 #  GNU General Public License for more details.
38272 #
38273 #  You should have received a copy of the GNU General Public License
38274 #  along with dllar; see the file COPYING.  If not, write to the Free
38275 #  Software Foundation, 59 Temple Place - Suite 330, Boston, MA
38276 #  02111-1307, USA.
38277
38278 # To successfuly run this program you will need:
38279 #  - Current drive should have LFN support (HPFS, ext2, network, etc)
38280 #    (Sometimes dllar generates filenames which won't fit 8.3 scheme)
38281 #  - gcc
38282 #    (used to build the .dll)
38283 #  - emxexp
38284 #    (used to create .def file from .o files)
38285 #  - emximp
38286 #    (used to create .a file from .def file)
38287 #  - GNU text utilites (cat, sort, uniq)
38288 #    used to process emxexp output
38289 #  - GNU file utilities (mv, rm)
38290 #  - GNU sed
38291 #  - lxlite (optional, see flag below)
38292 #    (used for general .dll cleanup)
38293 #
38294
38295 flag_USE_LXLITE=1;
38296
38297 #
38298 # helper functions
38299 # basnam, variant of basename, which does _not_ remove the path, _iff_
38300 #                              second argument (suffix to remove) is given
38301 basnam(){
38302     case ${D}# in
38303     1)
38304         echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
38305         ;;
38306     2)
38307         echo ${D}1 | sed 's/'${D}2'${D}//'
38308         ;;
38309     *)
38310         echo "error in basnam ${D}*"
38311         exit 8
38312         ;;
38313     esac
38314 }
38315
38316 # Cleanup temporary files and output
38317 CleanUp() {
38318     cd ${D}curDir
38319     for i in ${D}inputFiles ; do
38320         case ${D}i in
38321         *!)
38322             rm -rf \`basnam ${D}i !\`
38323             ;;
38324         *)
38325             ;;
38326         esac
38327     done
38328
38329     # Kill result in case of failure as there is just to many stupid make/nmake
38330     # things out there which doesn't do this.
38331     if [ ${D}# -eq 0 ]; then
38332         rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
38333     fi
38334 }
38335
38336 # Print usage and exit script with rc=1.
38337 PrintHelp() {
38338  echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
38339  echo '       [-name-mangler-script script.sh]'
38340  echo '       [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
38341  echo '       [-ord[inals]] -ex[clude] "symbol(s)"'
38342  echo '       [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
38343  echo '       [*.o] [*.a]'
38344  echo '*> "output_file" should have no extension.'
38345  echo '   If it has the .o, .a or .dll extension, it is automatically removed.'
38346  echo '   The import library name is derived from this and is set to "name".a,'
38347  echo '   unless overridden by -import'
38348  echo '*> "importlib_name" should have no extension.'
38349  echo '   If it has the .o, or .a extension, it is automatically removed.'
38350  echo '   This name is used as the import library name and may be longer and'
38351  echo '   more descriptive than the DLL name which has to follow the old '
38352  echo '   8.3 convention of FAT.'
38353  echo '*> "script.sh may be given to override the output_file name by a'
38354  echo '   different name. It is mainly useful if the regular make process'
38355  echo '   of some package does not take into account OS/2 restriction of'
38356  echo '   DLL name lengths. It takes the importlib name as input and is'
38357  echo '   supposed to procude a shorter name as output. The script should'
38358  echo '   expect to get importlib_name without extension and should produce'
38359  echo '   a (max.) 8 letter name without extension.'
38360  echo '*> "cc" is used to use another GCC executable.   (default: gcc.exe)'
38361  echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
38362  echo '   These flags will be put at the start of GCC command line.'
38363  echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
38364  echo '*> -ex[clude] defines symbols which will not be exported. You can define'
38365  echo '   multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
38366  echo '   If the last character of a symbol is "*", all symbols beginning'
38367  echo '   with the prefix before "*" will be exclude, (see _GLOBAL* above).'
38368  echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
38369  echo '   TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
38370  echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
38371  echo '   C runtime DLLs.'
38372  echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
38373  echo '*> All other switches (for example -L./ or -lmylib) will be passed'
38374  echo '   unchanged to GCC at the end of command line.'
38375  echo '*> If you create a DLL from a library and you do not specify -o,'
38376  echo '   the basename for DLL and import library will be set to library name,'
38377  echo '   the initial library will be renamed to 'name'_s.a (_s for static)'
38378  echo '   i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
38379  echo '   library will be renamed into gcc_s.a.'
38380  echo '--------'
38381  echo 'Example:'
38382  echo '   dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
38383  echo '    -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
38384  CleanUp
38385  exit 1
38386 }
38387
38388 # Execute a command.
38389 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
38390 # @Uses    Whatever CleanUp() uses.
38391 doCommand() {
38392     echo "${D}*"
38393     eval ${D}*
38394     rcCmd=${D}?
38395
38396     if [ ${D}rcCmd -ne 0 ]; then
38397         echo "command failed, exit code="${D}rcCmd
38398         CleanUp
38399         exit ${D}rcCmd
38400     fi
38401 }
38402
38403 # main routine
38404 # setup globals
38405 cmdLine=${D}*
38406 outFile=""
38407 outimpFile=""
38408 inputFiles=""
38409 renameScript=""
38410 description=""
38411 CC=gcc.exe
38412 CFLAGS="-s -Zcrtdll"
38413 EXTRA_CFLAGS=""
38414 EXPORT_BY_ORDINALS=0
38415 exclude_symbols=""
38416 library_flags=""
38417 curDir=\`pwd\`
38418 curDirS=curDir
38419 case ${D}curDirS in
38420 */)
38421   ;;
38422 *)
38423   curDirS=${D}{curDirS}"/"
38424   ;;
38425 esac
38426 # Parse commandline
38427 libsToLink=0
38428 omfLinking=0
38429 while [ ${D}1 ]; do
38430     case ${D}1 in
38431     -ord*)
38432         EXPORT_BY_ORDINALS=1;
38433         ;;
38434     -o*)
38435         shift
38436         outFile=${D}1
38437         ;;
38438     -i*)
38439         shift
38440         outimpFile=${D}1
38441         ;;
38442     -name-mangler-script)
38443         shift
38444         renameScript=${D}1
38445         ;;
38446     -d*)
38447         shift
38448         description=${D}1
38449         ;;
38450     -f*)
38451         shift
38452         CFLAGS=${D}1
38453         ;;
38454     -c*)
38455         shift
38456         CC=${D}1
38457         ;;
38458     -h*)
38459         PrintHelp
38460         ;;
38461     -ex*)
38462         shift
38463         exclude_symbols=${D}{exclude_symbols}${D}1" "
38464         ;;
38465     -libf*)
38466         shift
38467         library_flags=${D}{library_flags}${D}1" "
38468         ;;
38469     -nocrt*)
38470         CFLAGS="-s"
38471         ;;
38472     -nolxl*)
38473         flag_USE_LXLITE=0
38474         ;;
38475     -* | /*)
38476         case ${D}1 in
38477         -L* | -l*)
38478             libsToLink=1
38479             ;;
38480         -Zomf)
38481             omfLinking=1
38482             ;;
38483         *)
38484             ;;
38485         esac
38486         EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
38487         ;;
38488     *.dll)
38489         EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
38490         if [ ${D}omfLinking -eq 1 ]; then
38491             EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
38492         else
38493             EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
38494         fi
38495         ;;
38496     *)
38497         found=0;
38498         if [ ${D}libsToLink -ne 0 ]; then
38499             EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
38500         else
38501             for file in ${D}1 ; do
38502                 if [ -f ${D}file ]; then
38503                     inputFiles="${D}{inputFiles} ${D}file"
38504                     found=1
38505                 fi
38506             done
38507             if [ ${D}found -eq 0 ]; then
38508                 echo "ERROR: No file(s) found: "${D}1
38509                 exit 8
38510             fi
38511         fi
38512       ;;
38513     esac
38514     shift
38515 done # iterate cmdline words
38516
38517 #
38518 if [ -z "${D}inputFiles" ]; then
38519     echo "dllar: no input files"
38520     PrintHelp
38521 fi
38522
38523 # Now extract all .o files from .a files
38524 newInputFiles=""
38525 for file in ${D}inputFiles ; do
38526     case ${D}file in
38527     *.a | *.lib)
38528         case ${D}file in
38529         *.a)
38530             suffix=".a"
38531             AR="ar"
38532             ;;
38533         *.lib)
38534             suffix=".lib"
38535             AR="emxomfar"
38536             EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
38537             ;;
38538         *)
38539             ;;
38540         esac
38541         dirname=\`basnam ${D}file ${D}suffix\`"_%"
38542         mkdir ${D}dirname
38543         if [ ${D}? -ne 0 ]; then
38544             echo "Failed to create subdirectory ./${D}dirname"
38545             CleanUp
38546             exit 8;
38547         fi
38548         # Append '!' to indicate archive
38549         newInputFiles="${D}newInputFiles ${D}{dirname}!"
38550         doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
38551         cd ${D}curDir
38552         found=0;
38553         for subfile in ${D}dirname/*.o* ; do
38554             if [ -f ${D}subfile ]; then
38555                 found=1
38556                 if [ -s ${D}subfile ]; then
38557                     # FIXME: This should be: is file size > 32 byte, _not_ > 0!
38558                     newInputFiles="${D}newInputFiles ${D}subfile"
38559                 fi
38560             fi
38561         done
38562         if [ ${D}found -eq 0 ]; then
38563             echo "WARNING: there are no files in archive \\'${D}file\\'"
38564         fi
38565         ;;
38566     *)
38567         newInputFiles="${D}{newInputFiles} ${D}file"
38568         ;;
38569     esac
38570 done
38571 inputFiles="${D}newInputFiles"
38572
38573 # Output filename(s).
38574 do_backup=0;
38575 if [ -z ${D}outFile ]; then
38576     do_backup=1;
38577     set outFile ${D}inputFiles; outFile=${D}2
38578 fi
38579
38580 # If it is an archive, remove the '!' and the '_%' suffixes
38581 case ${D}outFile in
38582 *_%!)
38583     outFile=\`basnam ${D}outFile _%!\`
38584     ;;
38585 *)
38586     ;;
38587 esac
38588 case ${D}outFile in
38589 *.dll)
38590     outFile=\`basnam ${D}outFile .dll\`
38591     ;;
38592 *.DLL)
38593     outFile=\`basnam ${D}outFile .DLL\`
38594     ;;
38595 *.o)
38596     outFile=\`basnam ${D}outFile .o\`
38597     ;;
38598 *.obj)
38599     outFile=\`basnam ${D}outFile .obj\`
38600     ;;
38601 *.a)
38602     outFile=\`basnam ${D}outFile .a\`
38603     ;;
38604 *.lib)
38605     outFile=\`basnam ${D}outFile .lib\`
38606     ;;
38607 *)
38608     ;;
38609 esac
38610 case ${D}outimpFile in
38611 *.a)
38612     outimpFile=\`basnam ${D}outimpFile .a\`
38613     ;;
38614 *.lib)
38615     outimpFile=\`basnam ${D}outimpFile .lib\`
38616     ;;
38617 *)
38618     ;;
38619 esac
38620 if [ -z ${D}outimpFile ]; then
38621     outimpFile=${D}outFile
38622 fi
38623 defFile="${D}{outFile}.def"
38624 arcFile="${D}{outimpFile}.a"
38625 arcFile2="${D}{outimpFile}.lib"
38626
38627 #create ${D}dllFile as something matching 8.3 restrictions,
38628 if [ -z ${D}renameScript ] ; then
38629     dllFile="${D}outFile"
38630 else
38631     dllFile=\`${D}renameScript ${D}outimpFile\`
38632 fi
38633
38634 if [ ${D}do_backup -ne 0 ] ; then
38635     if [ -f ${D}arcFile ] ; then
38636         doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
38637     fi
38638     if [ -f ${D}arcFile2 ] ; then
38639         doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
38640     fi
38641 fi
38642
38643 # Extract public symbols from all the object files.
38644 tmpdefFile=${D}{defFile}_%
38645 rm -f ${D}tmpdefFile
38646 for file in ${D}inputFiles ; do
38647     case ${D}file in
38648     *!)
38649         ;;
38650     *)
38651         doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
38652         ;;
38653     esac
38654 done
38655
38656 # Create the def file.
38657 rm -f ${D}defFile
38658 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
38659 dllFile="${D}{dllFile}.dll"
38660 if [ ! -z ${D}description ]; then
38661     echo "DESCRIPTION  \\"${D}{description}\\"" >> ${D}defFile
38662 fi
38663 echo "EXPORTS" >> ${D}defFile
38664
38665 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
38666 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
38667
38668 # Checks if the export is ok or not.
38669 for word in ${D}exclude_symbols; do
38670     grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
38671     mv ${D}{tmpdefFile}% ${D}tmpdefFile
38672 done
38673
38674
38675 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
38676     sed "=" < ${D}tmpdefFile | \\
38677     sed '
38678       N
38679       : loop
38680       s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
38681       t loop
38682     ' > ${D}{tmpdefFile}%
38683     grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
38684 else
38685     rm -f ${D}{tmpdefFile}%
38686 fi
38687 cat ${D}tmpdefFile >> ${D}defFile
38688 rm -f ${D}tmpdefFile
38689
38690 # Do linking, create implib, and apply lxlite.
38691 gccCmdl="";
38692 for file in ${D}inputFiles ; do
38693     case ${D}file in
38694     *!)
38695         ;;
38696     *)
38697         gccCmdl="${D}gccCmdl ${D}file"
38698         ;;
38699     esac
38700 done
38701 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
38702 touch "${D}{outFile}.dll"
38703
38704 doCommand "emximp -o ${D}arcFile ${D}defFile"
38705 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
38706     add_flags="";
38707     if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
38708         add_flags="-ynd"
38709     fi
38710     doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
38711 fi
38712 doCommand "emxomf -s -l ${D}arcFile"
38713
38714 # Successful exit.
38715 CleanUp 1
38716 exit 0
38717 EOF
38718
38719         chmod +x dllar.sh
38720       ;;
38721
38722       powerpc-apple-macos* | \
38723       *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
38724       *-*-mirbsd* | \
38725       *-*-sunos4* | \
38726       *-*-osf* | \
38727       *-*-dgux5* | \
38728       *-*-sysv5* | \
38729       *-pc-msdosdjgpp )
38730               ;;
38731
38732       *)
38733         as_fn_error $? "unknown system type $BAKEFILE_HOST." "$LINENO" 5
38734     esac
38735
38736     if test "x$PIC_FLAG" != "x" ; then
38737         PIC_FLAG="$PIC_FLAG -DPIC"
38738     fi
38739
38740     if test "x$SHARED_LD_MODULE_CC" = "x" ; then
38741         SHARED_LD_MODULE_CC="$SHARED_LD_CC"
38742     fi
38743     if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
38744         SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
38745     fi
38746
38747
38748
38749
38750
38751
38752
38753
38754
38755     USE_SOVERSION=0
38756     USE_SOVERLINUX=0
38757     USE_SOVERSOLARIS=0
38758     USE_SOVERCYGWIN=0
38759     USE_SOTWOSYMLINKS=0
38760     USE_MACVERSION=0
38761     SONAME_FLAG=
38762
38763     case "${BAKEFILE_HOST}" in
38764       *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
38765       *-*-k*bsd*-gnu | *-*-mirbsd* )
38766         if test "x$SUNCXX" = "xyes"; then
38767             SONAME_FLAG="-h "
38768         else
38769             SONAME_FLAG="-Wl,-soname,"
38770         fi
38771         USE_SOVERSION=1
38772         USE_SOVERLINUX=1
38773         USE_SOTWOSYMLINKS=1
38774       ;;
38775
38776       *-*-solaris2* )
38777         SONAME_FLAG="-h "
38778         USE_SOVERSION=1
38779         USE_SOVERSOLARIS=1
38780       ;;
38781
38782       *-*-darwin* )
38783         USE_MACVERSION=1
38784         USE_SOVERSION=1
38785         USE_SOTWOSYMLINKS=1
38786       ;;
38787
38788       *-*-cygwin* )
38789         USE_SOVERSION=1
38790         USE_SOVERCYGWIN=1
38791       ;;
38792     esac
38793
38794
38795
38796
38797
38798
38799
38800
38801
38802
38803     # Check whether --enable-dependency-tracking was given.
38804 if test "${enable_dependency_tracking+set}" = set; then :
38805   enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
38806 fi
38807
38808
38809     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dependency tracking method" >&5
38810 $as_echo_n "checking for dependency tracking method... " >&6; }
38811
38812     BK_DEPS=""
38813     if test "x$bk_use_trackdeps" = "xno" ; then
38814         DEPS_TRACKING=0
38815         { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5
38816 $as_echo "disabled" >&6; }
38817     else
38818         DEPS_TRACKING=1
38819
38820         if test "x$GCC" = "xyes"; then
38821             DEPSMODE=gcc
38822             DEPSFLAG="-MMD"
38823             { $as_echo "$as_me:${as_lineno-$LINENO}: result: gcc" >&5
38824 $as_echo "gcc" >&6; }
38825         elif test "x$MWCC" = "xyes"; then
38826             DEPSMODE=mwcc
38827             DEPSFLAG="-MM"
38828             { $as_echo "$as_me:${as_lineno-$LINENO}: result: mwcc" >&5
38829 $as_echo "mwcc" >&6; }
38830         elif test "x$SUNCC" = "xyes"; then
38831             DEPSMODE=unixcc
38832             DEPSFLAG="-xM1"
38833             { $as_echo "$as_me:${as_lineno-$LINENO}: result: Sun cc" >&5
38834 $as_echo "Sun cc" >&6; }
38835         elif test "x$SGICC" = "xyes"; then
38836             DEPSMODE=unixcc
38837             DEPSFLAG="-M"
38838             { $as_echo "$as_me:${as_lineno-$LINENO}: result: SGI cc" >&5
38839 $as_echo "SGI cc" >&6; }
38840         elif test "x$HPCC" = "xyes"; then
38841             DEPSMODE=unixcc
38842             DEPSFLAG="+make"
38843             { $as_echo "$as_me:${as_lineno-$LINENO}: result: HP cc" >&5
38844 $as_echo "HP cc" >&6; }
38845         elif test "x$COMPAQCC" = "xyes"; then
38846             DEPSMODE=gcc
38847             DEPSFLAG="-MD"
38848             { $as_echo "$as_me:${as_lineno-$LINENO}: result: Compaq cc" >&5
38849 $as_echo "Compaq cc" >&6; }
38850         else
38851             DEPS_TRACKING=0
38852             { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
38853 $as_echo "none" >&6; }
38854         fi
38855
38856         if test $DEPS_TRACKING = 1 ; then
38857
38858 D='$'
38859 cat <<EOF >bk-deps
38860 #!/bin/sh
38861
38862 # This script is part of Bakefile (http://www.bakefile.org) autoconf
38863 # script. It is used to track C/C++ files dependencies in portable way.
38864 #
38865 # Permission is given to use this file in any way.
38866
38867 DEPSMODE=${DEPSMODE}
38868 DEPSFLAG="${DEPSFLAG}"
38869 DEPSDIRBASE=.deps
38870
38871 if test ${D}DEPSMODE = gcc ; then
38872     ${D}* ${D}{DEPSFLAG}
38873     status=${D}?
38874
38875     # determine location of created files:
38876     while test ${D}# -gt 0; do
38877         case "${D}1" in
38878             -o )
38879                 shift
38880                 objfile=${D}1
38881             ;;
38882             -* )
38883             ;;
38884             * )
38885                 srcfile=${D}1
38886             ;;
38887         esac
38888         shift
38889     done
38890     objfilebase=\`basename ${D}objfile\`
38891     builddir=\`dirname ${D}objfile\`
38892     depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
38893     depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
38894     depsdir=${D}builddir/${D}DEPSDIRBASE
38895     mkdir -p ${D}depsdir
38896
38897     # if the compiler failed, we're done:
38898     if test ${D}{status} != 0 ; then
38899         rm -f ${D}depfile
38900         exit ${D}{status}
38901     fi
38902
38903     # move created file to the location we want it in:
38904     if test -f ${D}depfile ; then
38905         sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
38906         rm -f ${D}depfile
38907     else
38908         # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
38909         depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\`
38910         if test ! -f ${D}depfile ; then
38911             # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
38912             depfile="${D}objfile.d"
38913         fi
38914         if test -f ${D}depfile ; then
38915             sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
38916             rm -f ${D}depfile
38917         fi
38918     fi
38919     exit 0
38920
38921 elif test ${D}DEPSMODE = mwcc ; then
38922     ${D}* || exit ${D}?
38923     # Run mwcc again with -MM and redirect into the dep file we want
38924     # NOTE: We can't use shift here because we need ${D}* to be valid
38925     prevarg=
38926     for arg in ${D}* ; do
38927         if test "${D}prevarg" = "-o"; then
38928             objfile=${D}arg
38929         else
38930             case "${D}arg" in
38931                 -* )
38932                 ;;
38933                 * )
38934                     srcfile=${D}arg
38935                 ;;
38936             esac
38937         fi
38938         prevarg="${D}arg"
38939     done
38940
38941     objfilebase=\`basename ${D}objfile\`
38942     builddir=\`dirname ${D}objfile\`
38943     depsdir=${D}builddir/${D}DEPSDIRBASE
38944     mkdir -p ${D}depsdir
38945
38946     ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
38947     exit 0
38948
38949 elif test ${D}DEPSMODE = unixcc; then
38950     ${D}* || exit ${D}?
38951     # Run compiler again with deps flag and redirect into the dep file.
38952     # It doesn't work if the '-o FILE' option is used, but without it the
38953     # dependency file will contain the wrong name for the object. So it is
38954     # removed from the command line, and the dep file is fixed with sed.
38955     cmd=""
38956     while test ${D}# -gt 0; do
38957         case "${D}1" in
38958             -o )
38959                 shift
38960                 objfile=${D}1
38961             ;;
38962             * )
38963                 eval arg${D}#=\\${D}1
38964                 cmd="${D}cmd \\${D}arg${D}#"
38965             ;;
38966         esac
38967         shift
38968     done
38969
38970     objfilebase=\`basename ${D}objfile\`
38971     builddir=\`dirname ${D}objfile\`
38972     depsdir=${D}builddir/${D}DEPSDIRBASE
38973     mkdir -p ${D}depsdir
38974
38975     eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
38976     exit 0
38977
38978 else
38979     ${D}*
38980     exit ${D}?
38981 fi
38982 EOF
38983
38984             chmod +x bk-deps
38985                                     BK_DEPS="`pwd`/bk-deps"
38986         fi
38987     fi
38988
38989
38990
38991
38992
38993     case ${BAKEFILE_HOST} in
38994         *-*-cygwin* | *-*-mingw32* )
38995                         if test -n "$ac_tool_prefix"; then
38996   # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
38997 set dummy ${ac_tool_prefix}windres; ac_word=$2
38998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38999 $as_echo_n "checking for $ac_word... " >&6; }
39000 if test "${ac_cv_prog_WINDRES+set}" = set; then :
39001   $as_echo_n "(cached) " >&6
39002 else
39003   if test -n "$WINDRES"; then
39004   ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
39005 else
39006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39007 for as_dir in $PATH
39008 do
39009   IFS=$as_save_IFS
39010   test -z "$as_dir" && as_dir=.
39011     for ac_exec_ext in '' $ac_executable_extensions; do
39012   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
39013     ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
39014     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39015     break 2
39016   fi
39017 done
39018   done
39019 IFS=$as_save_IFS
39020
39021 fi
39022 fi
39023 WINDRES=$ac_cv_prog_WINDRES
39024 if test -n "$WINDRES"; then
39025   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5
39026 $as_echo "$WINDRES" >&6; }
39027 else
39028   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39029 $as_echo "no" >&6; }
39030 fi
39031
39032
39033 fi
39034 if test -z "$ac_cv_prog_WINDRES"; then
39035   ac_ct_WINDRES=$WINDRES
39036   # Extract the first word of "windres", so it can be a program name with args.
39037 set dummy windres; ac_word=$2
39038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39039 $as_echo_n "checking for $ac_word... " >&6; }
39040 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then :
39041   $as_echo_n "(cached) " >&6
39042 else
39043   if test -n "$ac_ct_WINDRES"; then
39044   ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
39045 else
39046 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39047 for as_dir in $PATH
39048 do
39049   IFS=$as_save_IFS
39050   test -z "$as_dir" && as_dir=.
39051     for ac_exec_ext in '' $ac_executable_extensions; do
39052   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
39053     ac_cv_prog_ac_ct_WINDRES="windres"
39054     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39055     break 2
39056   fi
39057 done
39058   done
39059 IFS=$as_save_IFS
39060
39061 fi
39062 fi
39063 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
39064 if test -n "$ac_ct_WINDRES"; then
39065   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_WINDRES" >&5
39066 $as_echo "$ac_ct_WINDRES" >&6; }
39067 else
39068   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39069 $as_echo "no" >&6; }
39070 fi
39071
39072   if test "x$ac_ct_WINDRES" = x; then
39073     WINDRES=""
39074   else
39075     case $cross_compiling:$ac_tool_warned in
39076 yes:)
39077 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
39078 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
39079 ac_tool_warned=yes ;;
39080 esac
39081     WINDRES=$ac_ct_WINDRES
39082   fi
39083 else
39084   WINDRES="$ac_cv_prog_WINDRES"
39085 fi
39086
39087          ;;
39088
39089       *-*-darwin* | powerpc-apple-macos* )
39090             # Extract the first word of "Rez", so it can be a program name with args.
39091 set dummy Rez; ac_word=$2
39092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39093 $as_echo_n "checking for $ac_word... " >&6; }
39094 if test "${ac_cv_prog_REZ+set}" = set; then :
39095   $as_echo_n "(cached) " >&6
39096 else
39097   if test -n "$REZ"; then
39098   ac_cv_prog_REZ="$REZ" # Let the user override the test.
39099 else
39100 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39101 for as_dir in $PATH
39102 do
39103   IFS=$as_save_IFS
39104   test -z "$as_dir" && as_dir=.
39105     for ac_exec_ext in '' $ac_executable_extensions; do
39106   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
39107     ac_cv_prog_REZ="Rez"
39108     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39109     break 2
39110   fi
39111 done
39112   done
39113 IFS=$as_save_IFS
39114
39115   test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
39116 fi
39117 fi
39118 REZ=$ac_cv_prog_REZ
39119 if test -n "$REZ"; then
39120   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $REZ" >&5
39121 $as_echo "$REZ" >&6; }
39122 else
39123   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39124 $as_echo "no" >&6; }
39125 fi
39126
39127
39128             # Extract the first word of "SetFile", so it can be a program name with args.
39129 set dummy SetFile; ac_word=$2
39130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39131 $as_echo_n "checking for $ac_word... " >&6; }
39132 if test "${ac_cv_prog_SETFILE+set}" = set; then :
39133   $as_echo_n "(cached) " >&6
39134 else
39135   if test -n "$SETFILE"; then
39136   ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
39137 else
39138 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39139 for as_dir in $PATH
39140 do
39141   IFS=$as_save_IFS
39142   test -z "$as_dir" && as_dir=.
39143     for ac_exec_ext in '' $ac_executable_extensions; do
39144   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
39145     ac_cv_prog_SETFILE="SetFile"
39146     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39147     break 2
39148   fi
39149 done
39150   done
39151 IFS=$as_save_IFS
39152
39153   test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
39154 fi
39155 fi
39156 SETFILE=$ac_cv_prog_SETFILE
39157 if test -n "$SETFILE"; then
39158   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SETFILE" >&5
39159 $as_echo "$SETFILE" >&6; }
39160 else
39161   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39162 $as_echo "no" >&6; }
39163 fi
39164
39165
39166         ;;
39167     esac
39168
39169
39170
39171
39172
39173
39174
39175
39176
39177     BAKEFILE_BAKEFILE_M4_VERSION="0.2.9"
39178
39179
39180 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.9"
39181
39182
39183
39184     # Check whether --enable-precomp-headers was given.
39185 if test "${enable_precomp_headers+set}" = set; then :
39186   enableval=$enable_precomp_headers; bk_use_pch="$enableval"
39187 fi
39188
39189
39190     GCC_PCH=0
39191     ICC_PCH=0
39192     USE_PCH=0
39193     BK_MAKE_PCH=""
39194
39195     case ${BAKEFILE_HOST} in
39196         *-*-cygwin* )
39197                                                 bk_use_pch="no"
39198             ;;
39199     esac
39200
39201     if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
39202         if test "x$GCC" = "xyes"; then
39203                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the compiler supports precompiled headers" >&5
39204 $as_echo_n "checking if the compiler supports precompiled headers... " >&6; }
39205             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39206 /* end confdefs.h.  */
39207
39208 int
39209 main ()
39210 {
39211
39212                     #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
39213                         There is no PCH support
39214                     #endif
39215                     #if (__GNUC__ < 3)
39216                         There is no PCH support
39217                     #endif
39218                     #if (__GNUC__ == 3) && \
39219                        ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
39220                        ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
39221                        ( defined(__INTEL_COMPILER) )
39222                         There is no PCH support
39223                     #endif
39224
39225   ;
39226   return 0;
39227 }
39228 _ACEOF
39229 if ac_fn_c_try_compile "$LINENO"; then :
39230
39231                     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39232 $as_echo "yes" >&6; }
39233                     GCC_PCH=1
39234
39235 else
39236
39237                     if test "$INTELCXX8" = "yes"; then
39238                         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39239 $as_echo "yes" >&6; }
39240                         ICC_PCH=1
39241                         if test "$INTELCXX10" = "yes"; then
39242                             ICC_PCH_CREATE_SWITCH="-pch-create"
39243                             ICC_PCH_USE_SWITCH="-pch-use"
39244                         else
39245                             ICC_PCH_CREATE_SWITCH="-create-pch"
39246                             ICC_PCH_USE_SWITCH="-use-pch"
39247                         fi
39248                     else
39249                         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39250 $as_echo "no" >&6; }
39251                     fi
39252
39253 fi
39254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39255             if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
39256                 USE_PCH=1
39257
39258 D='$'
39259 cat <<EOF >bk-make-pch
39260 #!/bin/sh
39261
39262 # This script is part of Bakefile (http://www.bakefile.org) autoconf
39263 # script. It is used to generated precompiled headers.
39264 #
39265 # Permission is given to use this file in any way.
39266
39267 outfile="${D}{1}"
39268 header="${D}{2}"
39269 shift
39270 shift
39271
39272 builddir=\`echo ${D}outfile | sed -e 's,/\\.pch/.*${D},,g'\`
39273
39274 compiler=""
39275 headerfile=""
39276
39277 while test ${D}{#} -gt 0; do
39278     add_to_cmdline=1
39279     case "${D}{1}" in
39280         -I* )
39281             incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
39282             if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
39283                 headerfile="${D}{incdir}/${D}{header}"
39284             fi
39285         ;;
39286         -use-pch|-use_pch|-pch-use )
39287             shift
39288             add_to_cmdline=0
39289         ;;
39290     esac
39291     if test ${D}add_to_cmdline = 1 ; then
39292         compiler="${D}{compiler} ${D}{1}"
39293     fi
39294     shift
39295 done
39296
39297 if test "x${D}{headerfile}" = "x" ; then
39298     echo "error: can't find header ${D}{header} in include paths" >&2
39299 else
39300     if test -f ${D}{outfile} ; then
39301         rm -f ${D}{outfile}
39302     else
39303         mkdir -p \`dirname ${D}{outfile}\`
39304     fi
39305     depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
39306     mkdir -p ${D}{builddir}/.deps
39307     if test "x${GCC_PCH}" = "x1" ; then
39308         # can do this because gcc is >= 3.4:
39309         ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
39310     elif test "x${ICC_PCH}" = "x1" ; then
39311         filename=pch_gen-${D}${D}
39312         file=${D}{filename}.c
39313         dfile=${D}{filename}.d
39314         cat > ${D}file <<EOT
39315 #include "${D}header"
39316 EOT
39317         # using -MF icc complains about differing command lines in creation/use
39318         ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
39319           sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
39320           rm -f ${D}file ${D}dfile ${D}{filename}.o
39321     fi
39322     exit ${D}{?}
39323 fi
39324 EOF
39325
39326                 chmod +x bk-make-pch
39327                                                                 BK_MAKE_PCH="`pwd`/bk-make-pch"
39328             fi
39329         fi
39330     fi
39331
39332
39333
39334
39335
39336
39337
39338     COND_BUILD_DEBUG="#"
39339     if test "x$BUILD" = "xdebug" ; then
39340         COND_BUILD_DEBUG=""
39341     fi
39342
39343     COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
39344     if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
39345         COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
39346     fi
39347
39348     COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
39349     if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
39350         COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
39351     fi
39352
39353     COND_BUILD_DEBUG_UNICODE_0="#"
39354     if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
39355         COND_BUILD_DEBUG_UNICODE_0=""
39356     fi
39357
39358     COND_BUILD_DEBUG_UNICODE_1="#"
39359     if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
39360         COND_BUILD_DEBUG_UNICODE_1=""
39361     fi
39362
39363     COND_BUILD_RELEASE="#"
39364     if test "x$BUILD" = "xrelease" ; then
39365         COND_BUILD_RELEASE=""
39366     fi
39367
39368     COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
39369     if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
39370         COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
39371     fi
39372
39373     COND_BUILD_RELEASE_UNICODE_0="#"
39374     if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
39375         COND_BUILD_RELEASE_UNICODE_0=""
39376     fi
39377
39378     COND_BUILD_RELEASE_UNICODE_1="#"
39379     if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
39380         COND_BUILD_RELEASE_UNICODE_1=""
39381     fi
39382
39383     COND_BUILD_debug="#"
39384     if test "x$BUILD" = "xdebug" ; then
39385         COND_BUILD_debug=""
39386     fi
39387
39388     COND_BUILD_debug_DEBUG_FLAG_default="#"
39389     if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
39390         COND_BUILD_debug_DEBUG_FLAG_default=""
39391     fi
39392
39393     COND_BUILD_debug_DEBUG_INFO_default="#"
39394     if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
39395         COND_BUILD_debug_DEBUG_INFO_default=""
39396     fi
39397
39398     COND_BUILD_debug_UNICODE_0="#"
39399     if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
39400         COND_BUILD_debug_UNICODE_0=""
39401     fi
39402
39403     COND_BUILD_debug_UNICODE_1="#"
39404     if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
39405         COND_BUILD_debug_UNICODE_1=""
39406     fi
39407
39408     COND_BUILD_release="#"
39409     if test "x$BUILD" = "xrelease" ; then
39410         COND_BUILD_release=""
39411     fi
39412
39413     COND_BUILD_release_DEBUG_INFO_default="#"
39414     if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
39415         COND_BUILD_release_DEBUG_INFO_default=""
39416     fi
39417
39418     COND_BUILD_release_UNICODE_0="#"
39419     if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
39420         COND_BUILD_release_UNICODE_0=""
39421     fi
39422
39423     COND_BUILD_release_UNICODE_1="#"
39424     if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
39425         COND_BUILD_release_UNICODE_1=""
39426     fi
39427
39428     COND_DEBUG_FLAG_0="#"
39429     if test "x$DEBUG_FLAG" = "x0" ; then
39430         COND_DEBUG_FLAG_0=""
39431     fi
39432
39433     COND_DEBUG_FLAG_1="#"
39434     if test "x$DEBUG_FLAG" = "x1" ; then
39435         COND_DEBUG_FLAG_1=""
39436     fi
39437
39438     COND_DEBUG_INFO_0="#"
39439     if test "x$DEBUG_INFO" = "x0" ; then
39440         COND_DEBUG_INFO_0=""
39441     fi
39442
39443     COND_DEBUG_INFO_1="#"
39444     if test "x$DEBUG_INFO" = "x1" ; then
39445         COND_DEBUG_INFO_1=""
39446     fi
39447
39448     COND_DEPS_TRACKING_0="#"
39449     if test "x$DEPS_TRACKING" = "x0" ; then
39450         COND_DEPS_TRACKING_0=""
39451     fi
39452
39453     COND_DEPS_TRACKING_1="#"
39454     if test "x$DEPS_TRACKING" = "x1" ; then
39455         COND_DEPS_TRACKING_1=""
39456     fi
39457
39458     COND_GCC_PCH_1="#"
39459     if test "x$GCC_PCH" = "x1" ; then
39460         COND_GCC_PCH_1=""
39461     fi
39462
39463     COND_ICC_PCH_1="#"
39464     if test "x$ICC_PCH" = "x1" ; then
39465         COND_ICC_PCH_1=""
39466     fi
39467
39468     COND_MONOLITHIC_0="#"
39469     if test "x$MONOLITHIC" = "x0" ; then
39470         COND_MONOLITHIC_0=""
39471     fi
39472
39473     COND_MONOLITHIC_0_SHARED_0="#"
39474     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
39475         COND_MONOLITHIC_0_SHARED_0=""
39476     fi
39477
39478     COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
39479     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
39480         COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
39481     fi
39482
39483     COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
39484     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
39485         COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
39486     fi
39487
39488     COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
39489     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
39490         COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
39491     fi
39492
39493     COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
39494     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
39495         COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
39496     fi
39497
39498     COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
39499     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
39500         COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
39501     fi
39502
39503     COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1="#"
39504     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_WEBVIEW" = "x1" ; then
39505         COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1=""
39506     fi
39507
39508     COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1="#"
39509     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
39510         COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1=""
39511     fi
39512
39513     COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1="#"
39514     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RIBBON" = "x1" ; then
39515         COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1=""
39516     fi
39517
39518     COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
39519     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
39520         COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
39521     fi
39522
39523     COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
39524     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
39525         COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
39526     fi
39527
39528     COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
39529     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
39530         COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
39531     fi
39532
39533     COND_MONOLITHIC_0_SHARED_1="#"
39534     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
39535         COND_MONOLITHIC_0_SHARED_1=""
39536     fi
39537
39538     COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
39539     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
39540         COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
39541     fi
39542
39543     COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
39544     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
39545         COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
39546     fi
39547
39548     COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
39549     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
39550         COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
39551     fi
39552
39553     COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
39554     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
39555         COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
39556     fi
39557
39558     COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
39559     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
39560         COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
39561     fi
39562
39563     COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1="#"
39564     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_WEBVIEW" = "x1" ; then
39565         COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1=""
39566     fi
39567
39568     COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1="#"
39569     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
39570         COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1=""
39571     fi
39572
39573     COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1="#"
39574     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RIBBON" = "x1" ; then
39575         COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1=""
39576     fi
39577
39578     COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
39579     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
39580         COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
39581     fi
39582
39583     COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
39584     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
39585         COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
39586     fi
39587
39588     COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
39589     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
39590         COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
39591     fi
39592
39593     COND_MONOLITHIC_0_USE_AUI_1="#"
39594     if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
39595         COND_MONOLITHIC_0_USE_AUI_1=""
39596     fi
39597
39598     COND_MONOLITHIC_0_USE_GUI_1="#"
39599     if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
39600         COND_MONOLITHIC_0_USE_GUI_1=""
39601     fi
39602
39603     COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
39604     if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
39605         COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
39606     fi
39607
39608     COND_MONOLITHIC_0_USE_HTML_1="#"
39609     if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
39610         COND_MONOLITHIC_0_USE_HTML_1=""
39611     fi
39612
39613     COND_MONOLITHIC_0_USE_MEDIA_1="#"
39614     if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
39615         COND_MONOLITHIC_0_USE_MEDIA_1=""
39616     fi
39617
39618     COND_MONOLITHIC_0_USE_PROPGRID_1="#"
39619     if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
39620         COND_MONOLITHIC_0_USE_PROPGRID_1=""
39621     fi
39622
39623     COND_MONOLITHIC_0_USE_QA_1="#"
39624     if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
39625         COND_MONOLITHIC_0_USE_QA_1=""
39626     fi
39627
39628     COND_MONOLITHIC_0_USE_RIBBON_1="#"
39629     if test "x$MONOLITHIC" = "x0" -a "x$USE_RIBBON" = "x1" ; then
39630         COND_MONOLITHIC_0_USE_RIBBON_1=""
39631     fi
39632
39633     COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
39634     if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
39635         COND_MONOLITHIC_0_USE_RICHTEXT_1=""
39636     fi
39637
39638     COND_MONOLITHIC_0_USE_STC_1="#"
39639     if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
39640         COND_MONOLITHIC_0_USE_STC_1=""
39641     fi
39642
39643     COND_MONOLITHIC_0_USE_WEBVIEW_1="#"
39644     if test "x$MONOLITHIC" = "x0" -a "x$USE_WEBVIEW" = "x1" ; then
39645         COND_MONOLITHIC_0_USE_WEBVIEW_1=""
39646     fi
39647
39648     COND_MONOLITHIC_0_USE_XRC_1="#"
39649     if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
39650         COND_MONOLITHIC_0_USE_XRC_1=""
39651     fi
39652
39653     COND_MONOLITHIC_1="#"
39654     if test "x$MONOLITHIC" = "x1" ; then
39655         COND_MONOLITHIC_1=""
39656     fi
39657
39658     COND_MONOLITHIC_1_SHARED_0="#"
39659     if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
39660         COND_MONOLITHIC_1_SHARED_0=""
39661     fi
39662
39663     COND_MONOLITHIC_1_SHARED_1="#"
39664     if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
39665         COND_MONOLITHIC_1_SHARED_1=""
39666     fi
39667
39668     COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
39669     if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
39670         COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
39671     fi
39672
39673     COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
39674     if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
39675         COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
39676     fi
39677
39678     COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
39679     if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
39680         COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
39681     fi
39682
39683     COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
39684     if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
39685         COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
39686     fi
39687
39688     COND_PLATFORM_MACOSX_1="#"
39689     if test "x$PLATFORM_MACOSX" = "x1" ; then
39690         COND_PLATFORM_MACOSX_1=""
39691     fi
39692
39693     COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0="#"
39694     if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
39695         COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0=""
39696     fi
39697
39698     COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0="#"
39699     if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
39700         COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0=""
39701     fi
39702
39703     COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
39704     if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
39705         COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1=""
39706     fi
39707
39708     COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0="#"
39709     if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39710         COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0=""
39711     fi
39712
39713     COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
39714     if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
39715         COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1=""
39716     fi
39717
39718     COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0="#"
39719     if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39720         COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0=""
39721     fi
39722
39723     COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1="#"
39724     if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
39725         COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1=""
39726     fi
39727
39728     COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0="#"
39729     if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39730         COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0=""
39731     fi
39732
39733     COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
39734     if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
39735         COND_PLATFORM_MACOSX_1_USE_GUI_1=""
39736     fi
39737
39738     COND_PLATFORM_MACOSX_1_USE_OPENGL_1="#"
39739     if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
39740         COND_PLATFORM_MACOSX_1_USE_OPENGL_1=""
39741     fi
39742
39743     COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
39744     if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
39745         COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
39746     fi
39747
39748     COND_PLATFORM_MACOS_1="#"
39749     if test "x$PLATFORM_MACOS" = "x1" ; then
39750         COND_PLATFORM_MACOS_1=""
39751     fi
39752
39753     COND_PLATFORM_MAC_0="#"
39754     if test "x$PLATFORM_MAC" = "x0" ; then
39755         COND_PLATFORM_MAC_0=""
39756     fi
39757
39758     COND_PLATFORM_MAC_1="#"
39759     if test "x$PLATFORM_MAC" = "x1" ; then
39760         COND_PLATFORM_MAC_1=""
39761     fi
39762
39763     COND_PLATFORM_MSDOS_0="#"
39764     if test "x$PLATFORM_MSDOS" = "x0" ; then
39765         COND_PLATFORM_MSDOS_0=""
39766     fi
39767
39768     COND_PLATFORM_MSDOS_1="#"
39769     if test "x$PLATFORM_MSDOS" = "x1" ; then
39770         COND_PLATFORM_MSDOS_1=""
39771     fi
39772
39773     COND_PLATFORM_OS2_1="#"
39774     if test "x$PLATFORM_OS2" = "x1" ; then
39775         COND_PLATFORM_OS2_1=""
39776     fi
39777
39778     COND_PLATFORM_UNIX_0="#"
39779     if test "x$PLATFORM_UNIX" = "x0" ; then
39780         COND_PLATFORM_UNIX_0=""
39781     fi
39782
39783     COND_PLATFORM_UNIX_1="#"
39784     if test "x$PLATFORM_UNIX" = "x1" ; then
39785         COND_PLATFORM_UNIX_1=""
39786     fi
39787
39788     COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
39789     if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
39790         COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
39791     fi
39792
39793     COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
39794     if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
39795         COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
39796     fi
39797
39798     COND_PLATFORM_UNIX_1_USE_GUI_1="#"
39799     if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
39800         COND_PLATFORM_UNIX_1_USE_GUI_1=""
39801     fi
39802
39803     COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
39804     if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
39805         COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
39806     fi
39807
39808     COND_PLATFORM_WIN32_0="#"
39809     if test "x$PLATFORM_WIN32" = "x0" ; then
39810         COND_PLATFORM_WIN32_0=""
39811     fi
39812
39813     COND_PLATFORM_WIN32_1="#"
39814     if test "x$PLATFORM_WIN32" = "x1" ; then
39815         COND_PLATFORM_WIN32_1=""
39816     fi
39817
39818     COND_PLATFORM_WIN32_1_SHARED_0="#"
39819     if test "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
39820         COND_PLATFORM_WIN32_1_SHARED_0=""
39821     fi
39822
39823     COND_SHARED_0="#"
39824     if test "x$SHARED" = "x0" ; then
39825         COND_SHARED_0=""
39826     fi
39827
39828     COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
39829     if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
39830         COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
39831     fi
39832
39833     COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
39834     if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
39835         COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
39836     fi
39837
39838     COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
39839     if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
39840         COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
39841     fi
39842
39843     COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
39844     if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
39845         COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
39846     fi
39847
39848     COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
39849     if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
39850         COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
39851     fi
39852
39853     COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
39854     if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
39855         COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin=""
39856     fi
39857
39858     COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
39859     if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
39860         COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
39861     fi
39862
39863     COND_SHARED_0_USE_STC_1="#"
39864     if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
39865         COND_SHARED_0_USE_STC_1=""
39866     fi
39867
39868     COND_SHARED_0_wxUSE_EXPAT_builtin="#"
39869     if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
39870         COND_SHARED_0_wxUSE_EXPAT_builtin=""
39871     fi
39872
39873     COND_SHARED_0_wxUSE_REGEX_builtin="#"
39874     if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
39875         COND_SHARED_0_wxUSE_REGEX_builtin=""
39876     fi
39877
39878     COND_SHARED_0_wxUSE_ZLIB_builtin="#"
39879     if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
39880         COND_SHARED_0_wxUSE_ZLIB_builtin=""
39881     fi
39882
39883     COND_SHARED_1="#"
39884     if test "x$SHARED" = "x1" ; then
39885         COND_SHARED_1=""
39886     fi
39887
39888     COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
39889     if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
39890         COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
39891     fi
39892
39893     COND_TOOLKIT_="#"
39894     if test "x$TOOLKIT" = "x" ; then
39895         COND_TOOLKIT_=""
39896     fi
39897
39898     COND_TOOLKIT_COCOA="#"
39899     if test "x$TOOLKIT" = "xCOCOA" ; then
39900         COND_TOOLKIT_COCOA=""
39901     fi
39902
39903     COND_TOOLKIT_COCOA_USE_GUI_1="#"
39904     if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
39905         COND_TOOLKIT_COCOA_USE_GUI_1=""
39906     fi
39907
39908     COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
39909     if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39910         COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
39911     fi
39912
39913     COND_TOOLKIT_DFB="#"
39914     if test "x$TOOLKIT" = "xDFB" ; then
39915         COND_TOOLKIT_DFB=""
39916     fi
39917
39918     COND_TOOLKIT_DFB_USE_GUI_1="#"
39919     if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
39920         COND_TOOLKIT_DFB_USE_GUI_1=""
39921     fi
39922
39923     COND_TOOLKIT_GTK="#"
39924     if test "x$TOOLKIT" = "xGTK" ; then
39925         COND_TOOLKIT_GTK=""
39926     fi
39927
39928     COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
39929     if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
39930         COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
39931     fi
39932
39933     COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
39934     if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
39935         COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
39936     fi
39937
39938     COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
39939     if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
39940         COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
39941     fi
39942
39943     COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
39944     if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39945         COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
39946     fi
39947
39948     COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
39949     if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
39950         COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
39951     fi
39952
39953     COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
39954     if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39955         COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
39956     fi
39957
39958     COND_TOOLKIT_GTK_USE_GUI_1="#"
39959     if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
39960         COND_TOOLKIT_GTK_USE_GUI_1=""
39961     fi
39962
39963     COND_TOOLKIT_MAC="#"
39964     if test "x$TOOLKIT" = "xMAC" ; then
39965         COND_TOOLKIT_MAC=""
39966     fi
39967
39968     COND_TOOLKIT_MOTIF="#"
39969     if test "x$TOOLKIT" = "xMOTIF" ; then
39970         COND_TOOLKIT_MOTIF=""
39971     fi
39972
39973     COND_TOOLKIT_MOTIF_USE_GUI_1="#"
39974     if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
39975         COND_TOOLKIT_MOTIF_USE_GUI_1=""
39976     fi
39977
39978     COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
39979     if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39980         COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
39981     fi
39982
39983     COND_TOOLKIT_MSW="#"
39984     if test "x$TOOLKIT" = "xMSW" ; then
39985         COND_TOOLKIT_MSW=""
39986     fi
39987
39988     COND_TOOLKIT_MSW_USE_GUI_1="#"
39989     if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
39990         COND_TOOLKIT_MSW_USE_GUI_1=""
39991     fi
39992
39993     COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
39994     if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39995         COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
39996     fi
39997
39998     COND_TOOLKIT_MSW_WXUNIV_0="#"
39999     if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
40000         COND_TOOLKIT_MSW_WXUNIV_0=""
40001     fi
40002
40003     COND_TOOLKIT_OSX_CARBON="#"
40004     if test "x$TOOLKIT" = "xOSX_CARBON" ; then
40005         COND_TOOLKIT_OSX_CARBON=""
40006     fi
40007
40008     COND_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
40009     if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
40010         COND_TOOLKIT_OSX_CARBON_USE_GUI_1=""
40011     fi
40012
40013     COND_TOOLKIT_OSX_COCOA="#"
40014     if test "x$TOOLKIT" = "xOSX_COCOA" ; then
40015         COND_TOOLKIT_OSX_COCOA=""
40016     fi
40017
40018     COND_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
40019     if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
40020         COND_TOOLKIT_OSX_COCOA_USE_GUI_1=""
40021     fi
40022
40023     COND_TOOLKIT_OSX_IPHONE="#"
40024     if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
40025         COND_TOOLKIT_OSX_IPHONE=""
40026     fi
40027
40028     COND_TOOLKIT_OSX_IPHONE_USE_GUI_1="#"
40029     if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
40030         COND_TOOLKIT_OSX_IPHONE_USE_GUI_1=""
40031     fi
40032
40033     COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0="#"
40034     if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40035         COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0=""
40036     fi
40037
40038     COND_TOOLKIT_PM="#"
40039     if test "x$TOOLKIT" = "xPM" ; then
40040         COND_TOOLKIT_PM=""
40041     fi
40042
40043     COND_TOOLKIT_PM_USE_GUI_1="#"
40044     if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
40045         COND_TOOLKIT_PM_USE_GUI_1=""
40046     fi
40047
40048     COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
40049     if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40050         COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
40051     fi
40052
40053     COND_TOOLKIT_WINCE="#"
40054     if test "x$TOOLKIT" = "xWINCE" ; then
40055         COND_TOOLKIT_WINCE=""
40056     fi
40057
40058     COND_TOOLKIT_WINCE_USE_GUI_1="#"
40059     if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
40060         COND_TOOLKIT_WINCE_USE_GUI_1=""
40061     fi
40062
40063     COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
40064     if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40065         COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
40066     fi
40067
40068     COND_TOOLKIT_WINCE_WXUNIV_0="#"
40069     if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
40070         COND_TOOLKIT_WINCE_WXUNIV_0=""
40071     fi
40072
40073     COND_TOOLKIT_X11="#"
40074     if test "x$TOOLKIT" = "xX11" ; then
40075         COND_TOOLKIT_X11=""
40076     fi
40077
40078     COND_TOOLKIT_X11_USE_GUI_1="#"
40079     if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
40080         COND_TOOLKIT_X11_USE_GUI_1=""
40081     fi
40082
40083     COND_UNICODE_1="#"
40084     if test "x$UNICODE" = "x1" ; then
40085         COND_UNICODE_1=""
40086     fi
40087
40088     COND_USE_CAIRO_1="#"
40089     if test "x$USE_CAIRO" = "x1" ; then
40090         COND_USE_CAIRO_1=""
40091     fi
40092
40093     COND_USE_EXCEPTIONS_0="#"
40094     if test "x$USE_EXCEPTIONS" = "x0" ; then
40095         COND_USE_EXCEPTIONS_0=""
40096     fi
40097
40098     COND_USE_EXCEPTIONS_1="#"
40099     if test "x$USE_EXCEPTIONS" = "x1" ; then
40100         COND_USE_EXCEPTIONS_1=""
40101     fi
40102
40103     COND_USE_GUI_0="#"
40104     if test "x$USE_GUI" = "x0" ; then
40105         COND_USE_GUI_0=""
40106     fi
40107
40108     COND_USE_GUI_1="#"
40109     if test "x$USE_GUI" = "x1" ; then
40110         COND_USE_GUI_1=""
40111     fi
40112
40113     COND_USE_GUI_1_USE_OPENGL_1="#"
40114     if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40115         COND_USE_GUI_1_USE_OPENGL_1=""
40116     fi
40117
40118     COND_USE_GUI_1_WXUNIV_0="#"
40119     if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40120         COND_USE_GUI_1_WXUNIV_0=""
40121     fi
40122
40123     COND_USE_GUI_1_WXUNIV_1="#"
40124     if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
40125         COND_USE_GUI_1_WXUNIV_1=""
40126     fi
40127
40128     COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
40129     if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40130         COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
40131     fi
40132
40133     COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
40134     if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40135         COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
40136     fi
40137
40138     COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
40139     if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40140         COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
40141     fi
40142
40143     COND_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
40144     if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40145         COND_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
40146     fi
40147
40148     COND_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
40149     if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40150         COND_USE_GUI_1_wxUSE_LIBPNG_builtin=""
40151     fi
40152
40153     COND_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
40154     if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40155         COND_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
40156     fi
40157
40158     COND_USE_OPENGL_1="#"
40159     if test "x$USE_OPENGL" = "x1" ; then
40160         COND_USE_OPENGL_1=""
40161     fi
40162
40163     COND_USE_PCH_1="#"
40164     if test "x$USE_PCH" = "x1" ; then
40165         COND_USE_PCH_1=""
40166     fi
40167
40168     COND_USE_PLUGINS_0="#"
40169     if test "x$USE_PLUGINS" = "x0" ; then
40170         COND_USE_PLUGINS_0=""
40171     fi
40172
40173     COND_USE_RTTI_0="#"
40174     if test "x$USE_RTTI" = "x0" ; then
40175         COND_USE_RTTI_0=""
40176     fi
40177
40178     COND_USE_RTTI_1="#"
40179     if test "x$USE_RTTI" = "x1" ; then
40180         COND_USE_RTTI_1=""
40181     fi
40182
40183     COND_USE_SOTWOSYMLINKS_1="#"
40184     if test "x$USE_SOTWOSYMLINKS" = "x1" ; then
40185         COND_USE_SOTWOSYMLINKS_1=""
40186     fi
40187
40188     COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
40189     if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
40190         COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
40191     fi
40192
40193     COND_USE_SOVERLINUX_1="#"
40194     if test "x$USE_SOVERLINUX" = "x1" ; then
40195         COND_USE_SOVERLINUX_1=""
40196     fi
40197
40198     COND_USE_SOVERSION_0="#"
40199     if test "x$USE_SOVERSION" = "x0" ; then
40200         COND_USE_SOVERSION_0=""
40201     fi
40202
40203     COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1="#"
40204     if test "x$USE_SOVERSION" = "x1" -a "x$USE_SOVERSOLARIS" = "x1" ; then
40205         COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1=""
40206     fi
40207
40208     COND_USE_SOVERSOLARIS_1="#"
40209     if test "x$USE_SOVERSOLARIS" = "x1" ; then
40210         COND_USE_SOVERSOLARIS_1=""
40211     fi
40212
40213     COND_USE_STC_1="#"
40214     if test "x$USE_STC" = "x1" ; then
40215         COND_USE_STC_1=""
40216     fi
40217
40218     COND_USE_THREADS_0="#"
40219     if test "x$USE_THREADS" = "x0" ; then
40220         COND_USE_THREADS_0=""
40221     fi
40222
40223     COND_USE_THREADS_1="#"
40224     if test "x$USE_THREADS" = "x1" ; then
40225         COND_USE_THREADS_1=""
40226     fi
40227
40228     COND_USE_XRC_1="#"
40229     if test "x$USE_XRC" = "x1" ; then
40230         COND_USE_XRC_1=""
40231     fi
40232
40233     COND_WINDOWS_IMPLIB_1="#"
40234     if test "x$WINDOWS_IMPLIB" = "x1" ; then
40235         COND_WINDOWS_IMPLIB_1=""
40236     fi
40237
40238     COND_WITH_PLUGIN_SDL_1="#"
40239     if test "x$WITH_PLUGIN_SDL" = "x1" ; then
40240         COND_WITH_PLUGIN_SDL_1=""
40241     fi
40242
40243     COND_WXUNIV_0="#"
40244     if test "x$WXUNIV" = "x0" ; then
40245         COND_WXUNIV_0=""
40246     fi
40247
40248     COND_WXUNIV_1="#"
40249     if test "x$WXUNIV" = "x1" ; then
40250         COND_WXUNIV_1=""
40251     fi
40252
40253     COND_WXUSE_EXPAT_BUILTIN="#"
40254     if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
40255         COND_WXUSE_EXPAT_BUILTIN=""
40256     fi
40257
40258     COND_WXUSE_LIBJPEG_BUILTIN="#"
40259     if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40260         COND_WXUSE_LIBJPEG_BUILTIN=""
40261     fi
40262
40263     COND_WXUSE_LIBPNG_BUILTIN="#"
40264     if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40265         COND_WXUSE_LIBPNG_BUILTIN=""
40266     fi
40267
40268     COND_WXUSE_LIBTIFF_BUILTIN="#"
40269     if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40270         COND_WXUSE_LIBTIFF_BUILTIN=""
40271     fi
40272
40273     COND_WXUSE_REGEX_BUILTIN="#"
40274     if test "x$wxUSE_REGEX" = "xbuiltin" ; then
40275         COND_WXUSE_REGEX_BUILTIN=""
40276     fi
40277
40278     COND_WXUSE_ZLIB_BUILTIN="#"
40279     if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
40280         COND_WXUSE_ZLIB_BUILTIN=""
40281     fi
40282
40283     COND_wxUSE_EXPAT_builtin="#"
40284     if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
40285         COND_wxUSE_EXPAT_builtin=""
40286     fi
40287
40288     COND_wxUSE_LIBJPEG_builtin="#"
40289     if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40290         COND_wxUSE_LIBJPEG_builtin=""
40291     fi
40292
40293     COND_wxUSE_LIBPNG_builtin="#"
40294     if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40295         COND_wxUSE_LIBPNG_builtin=""
40296     fi
40297
40298     COND_wxUSE_LIBTIFF_builtin="#"
40299     if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40300         COND_wxUSE_LIBTIFF_builtin=""
40301     fi
40302
40303     COND_wxUSE_REGEX_builtin="#"
40304     if test "x$wxUSE_REGEX" = "xbuiltin" ; then
40305         COND_wxUSE_REGEX_builtin=""
40306     fi
40307
40308     COND_wxUSE_ZLIB_builtin="#"
40309     if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
40310         COND_wxUSE_ZLIB_builtin=""
40311     fi
40312
40313
40314
40315     if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
40316         as_fn_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)?" "$LINENO" 5
40317     fi
40318
40319     if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
40320         as_fn_error $? "Versions of Bakefile used to generate makefiles ($BAKEFILE_AUTOCONF_INC_M4_VERSION) and configure ($BAKEFILE_BAKEFILE_M4_VERSION) do not match." "$LINENO" 5
40321     fi
40322
40323
40324 case ${INSTALL} in
40325   /* ) # Absolute
40326      ;;
40327   ?:* ) # Drive letter, considered as absolute.
40328      ;;
40329   *)
40330      INSTALL=`pwd`/${INSTALL} ;;
40331 esac
40332
40333 if test "$wxUSE_GUI" = "yes"; then
40334
40335 if test "$wxUSE_MSW" = 1 ; then
40336     if test "x$WINDRES" = "x"; then
40337         as_fn_error $? "Required windres program not found" "$LINENO" 5
40338     fi
40339
40340     RESCOMP="$WINDRES"
40341 fi
40342
40343 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
40344             WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
40345     WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
40346
40347         LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
40348
40349     # Extract the first word of "DeRez", so it can be a program name with args.
40350 set dummy DeRez; ac_word=$2
40351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
40352 $as_echo_n "checking for $ac_word... " >&6; }
40353 if test "${ac_cv_prog_DEREZ+set}" = set; then :
40354   $as_echo_n "(cached) " >&6
40355 else
40356   if test -n "$DEREZ"; then
40357   ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
40358 else
40359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40360 for as_dir in $PATH
40361 do
40362   IFS=$as_save_IFS
40363   test -z "$as_dir" && as_dir=.
40364     for ac_exec_ext in '' $ac_executable_extensions; do
40365   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
40366     ac_cv_prog_DEREZ="DeRez"
40367     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
40368     break 2
40369   fi
40370 done
40371   done
40372 IFS=$as_save_IFS
40373
40374   test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
40375 fi
40376 fi
40377 DEREZ=$ac_cv_prog_DEREZ
40378 if test -n "$DEREZ"; then
40379   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DEREZ" >&5
40380 $as_echo "$DEREZ" >&6; }
40381 else
40382   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40383 $as_echo "no" >&6; }
40384 fi
40385
40386
40387
40388     MACSETFILE="\$(SETFILE)"
40389
40390             if test "$wxUSE_OSX_CARBON" = 1; then
40391         POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
40392         RESCOMP="$REZ"
40393         WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
40394     else
40395         POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
40396         RESCOMP="cat /dev/null \| $REZ"
40397         WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
40398     fi
40399
40400 else
40401         MACSETFILE="@true"
40402
40403     if test "$wxUSE_PM" = 1; then
40404         RESCOMP="emxbind"
40405         WXCONFIG_RESFLAGS="-ep"
40406
40407                 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
40408     else
40409         POSTLINK_COMMAND="@true"
40410     fi
40411 fi
40412
40413 fi
40414
40415
40416 if test $GCC_PCH = 1
40417 then
40418     if test "$wx_cv_gcc_pch_bug" = yes; then
40419         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** Precompiled header support is broken on this compiler" >&5
40420 $as_echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
40421         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** --enable-precomp-headers is not recommended" >&5
40422 $as_echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
40423         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
40424 $as_echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
40425     fi
40426
40427     # Our WX_PRECOMP flag does not make sense for any language except C++ because
40428     # the headers that benefit from precompilation are mostly C++ headers.
40429     CXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
40430     # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
40431     #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
40432 fi
40433
40434
40435 if test "$wxUSE_MAC" = 1 ; then
40436     if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
40437         sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
40438         mv temp bk-deps
40439         chmod +x bk-deps
40440     fi
40441 fi
40442
40443 if test "$wxUSE_SHARED" = "yes"; then
40444                 case "${host}" in
40445       *-pc-os2_emx | *-pc-os2-emx )
40446         SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
40447         SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
40448         cp -p ${srcdir}/src/os2/dllnames.sh .
40449         cp -p ${srcdir}/src/os2/dllar.sh .
40450       ;;
40451     esac
40452 fi
40453 if test "$wxUSE_OMF" = "yes"; then
40454     case "${host}" in
40455       *-pc-os2_emx | *-pc-os2-emx )
40456         LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
40457         LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
40458         WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
40459       ;;
40460     esac
40461 fi
40462
40463 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
40464
40465
40466 case "${host}" in
40467     *-*-solaris2* )
40468                         if test "$GCC" = yes; then
40469             CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//g'`
40470             LIBS=`echo $LIBS | sed 's/-mt//g'`
40471             EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//g'`
40472         fi
40473         ;;
40474
40475     *-*-linux* )
40476                         if test "x$SUNCXX" = xyes; then
40477             CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//g'`
40478             LIBS=`echo $LIBS | sed 's/-pthread//g'`
40479             EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//g'`
40480         fi
40481         ;;
40482 esac
40483
40484 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
40485 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
40486 OBJCFLAGS="$OBJCFLAGS $CFLAGS_VISIBILITY"
40487 OBJCXXFLAGS="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
40488
40489 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
40490
40491
40492
40493
40494
40495
40496
40497
40498
40499
40500
40501
40502
40503
40504
40505
40506
40507
40508
40509
40510
40511
40512
40513
40514
40515
40516
40517
40518
40519
40520
40521
40522
40523
40524
40525
40526
40527
40528
40529
40530
40531
40532
40533
40534
40535
40536
40537
40538
40539
40540
40541
40542
40543
40544
40545
40546
40547
40548
40549
40550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
40551 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
40552 set x ${MAKE-make}
40553 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
40554 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
40555   $as_echo_n "(cached) " >&6
40556 else
40557   cat >conftest.make <<\_ACEOF
40558 SHELL = /bin/sh
40559 all:
40560         @echo '@@@%%%=$(MAKE)=@@@%%%'
40561 _ACEOF
40562 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
40563 case `${MAKE-make} -f conftest.make 2>/dev/null` in
40564   *@@@%%%=?*=@@@%%%*)
40565     eval ac_cv_prog_make_${ac_make}_set=yes;;
40566   *)
40567     eval ac_cv_prog_make_${ac_make}_set=no;;
40568 esac
40569 rm -f conftest.make
40570 fi
40571 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
40572   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40573 $as_echo "yes" >&6; }
40574   SET_MAKE=
40575 else
40576   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40577 $as_echo "no" >&6; }
40578   SET_MAKE="MAKE=${MAKE-make}"
40579 fi
40580
40581
40582
40583 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
40584
40585
40586 if test "$USE_WIN32" = 1; then
40587     ac_config_commands="$ac_config_commands rcdefs.h"
40588
40589 fi
40590
40591 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
40592
40593
40594 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
40595
40596
40597 ac_config_files="$ac_config_files utils/ifacecheck/rungccxml.sh"
40598
40599
40600 if test "$wx_cv_version_script" = "yes"; then
40601     ac_config_files="$ac_config_files version-script"
40602
40603 fi
40604 ac_config_files="$ac_config_files Makefile"
40605
40606
40607 ac_config_commands="$ac_config_commands wx-config"
40608
40609
40610
40611 if test "$wxWITH_SUBDIRS" != "no"; then
40612 if test "$wxUSE_GUI" = "yes"; then
40613     SUBDIRS="samples demos utils"
40614 else
40615             SUBDIRS="samples utils"
40616 fi
40617
40618
40619
40620 # Check whether --with-cppunit-prefix was given.
40621 if test "${with_cppunit_prefix+set}" = set; then :
40622   withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
40623 else
40624   cppunit_config_prefix=""
40625 fi
40626
40627
40628 # Check whether --with-cppunit-exec-prefix was given.
40629 if test "${with_cppunit_exec_prefix+set}" = set; then :
40630   withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
40631 else
40632   cppunit_config_exec_prefix=""
40633 fi
40634
40635
40636   if test x$cppunit_config_exec_prefix != x ; then
40637      cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
40638      if test x${CPPUNIT_CONFIG+set} != xset ; then
40639         CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
40640      fi
40641   fi
40642   if test x$cppunit_config_prefix != x ; then
40643      cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
40644      if test x${CPPUNIT_CONFIG+set} != xset ; then
40645         CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
40646      fi
40647   fi
40648
40649   # Extract the first word of "cppunit-config", so it can be a program name with args.
40650 set dummy cppunit-config; ac_word=$2
40651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
40652 $as_echo_n "checking for $ac_word... " >&6; }
40653 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then :
40654   $as_echo_n "(cached) " >&6
40655 else
40656   case $CPPUNIT_CONFIG in
40657   [\\/]* | ?:[\\/]*)
40658   ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
40659   ;;
40660   *)
40661   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40662 for as_dir in $PATH
40663 do
40664   IFS=$as_save_IFS
40665   test -z "$as_dir" && as_dir=.
40666     for ac_exec_ext in '' $ac_executable_extensions; do
40667   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
40668     ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
40669     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
40670     break 2
40671   fi
40672 done
40673   done
40674 IFS=$as_save_IFS
40675
40676   test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
40677   ;;
40678 esac
40679 fi
40680 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
40681 if test -n "$CPPUNIT_CONFIG"; then
40682   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPUNIT_CONFIG" >&5
40683 $as_echo "$CPPUNIT_CONFIG" >&6; }
40684 else
40685   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40686 $as_echo "no" >&6; }
40687 fi
40688
40689
40690   cppunit_version_min=1.8.0
40691
40692   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Cppunit - version >= $cppunit_version_min" >&5
40693 $as_echo_n "checking for Cppunit - version >= $cppunit_version_min... " >&6; }
40694   no_cppunit=""
40695   if test "$CPPUNIT_CONFIG" = "no" ; then
40696     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40697 $as_echo "no" >&6; }
40698     no_cppunit=yes
40699   else
40700     CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
40701     CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
40702     cppunit_version=`$CPPUNIT_CONFIG --version`
40703
40704     cppunit_major_version=`echo $cppunit_version | \
40705            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
40706     cppunit_minor_version=`echo $cppunit_version | \
40707            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
40708     cppunit_micro_version=`echo $cppunit_version | \
40709            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
40710
40711     cppunit_major_min=`echo $cppunit_version_min | \
40712            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
40713     cppunit_minor_min=`echo $cppunit_version_min | \
40714            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
40715     cppunit_micro_min=`echo $cppunit_version_min | \
40716            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
40717
40718     cppunit_version_proper=`expr \
40719         $cppunit_major_version \> $cppunit_major_min \| \
40720         $cppunit_major_version \= $cppunit_major_min \& \
40721         $cppunit_minor_version \> $cppunit_minor_min \| \
40722         $cppunit_major_version \= $cppunit_major_min \& \
40723         $cppunit_minor_version \= $cppunit_minor_min \& \
40724         $cppunit_micro_version \>= $cppunit_micro_min `
40725
40726     if test "$cppunit_version_proper" = "1" ; then
40727       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
40728 $as_echo "$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
40729     else
40730       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40731 $as_echo "no" >&6; }
40732       no_cppunit=yes
40733     fi
40734   fi
40735
40736   if test "x$no_cppunit" = x ; then
40737      SUBDIRS="$SUBDIRS tests"
40738   else
40739      CPPUNIT_CFLAGS=""
40740      CPPUNIT_LIBS=""
40741      :
40742   fi
40743
40744
40745
40746
40747
40748 for subdir in $SUBDIRS; do
40749     if test -d ${srcdir}/${subdir} ; then
40750         if test "$wxUSE_GUI" = "yes"; then
40751             if test ${subdir} = "samples"; then
40752                                                 makefiles="samples/Makefile.in $makefiles"
40753                 for sample in $SAMPLES_SUBDIRS; do
40754                     if test -d $srcdir/samples/$sample; then
40755                         makefiles="samples/$sample/Makefile.in $makefiles"
40756                     fi
40757                 done
40758             else
40759                                                                 disabled_var=DISABLED_`echo $subdir | tr '[a-z]' '[A-Z]'`
40760                 eval "disabled=\$$disabled_var"
40761                 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
40762                 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
40763             fi
40764         else
40765                                     if test ${subdir} = "samples"; then
40766                                                 makefiles="samples/Makefile.in $makefiles"
40767                 for sample in `echo $SAMPLES_SUBDIRS`; do
40768                     if test -d $srcdir/samples/$sample; then
40769                         makefiles="samples/$sample/Makefile.in $makefiles"
40770                     fi
40771                 done
40772             elif test ${subdir} = "utils"; then
40773                 makefiles=""
40774                 for util in ifacecheck ; do
40775                     if test -d $srcdir/utils/$util ; then
40776                         makefiles="utils/$util/src/Makefile.in \
40777                                    $makefiles"
40778                     fi
40779                 done
40780             else
40781                                 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
40782             fi
40783         fi
40784
40785         for mkin in $makefiles ; do
40786             mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
40787             ac_config_files="$ac_config_files $mk"
40788
40789         done
40790     fi
40791 done
40792 fi
40793 cat >confcache <<\_ACEOF
40794 # This file is a shell script that caches the results of configure
40795 # tests run on this system so they can be shared between configure
40796 # scripts and configure runs, see configure's option --config-cache.
40797 # It is not useful on other systems.  If it contains results you don't
40798 # want to keep, you may remove or edit it.
40799 #
40800 # config.status only pays attention to the cache file if you give it
40801 # the --recheck option to rerun configure.
40802 #
40803 # `ac_cv_env_foo' variables (set or unset) will be overridden when
40804 # loading this file, other *unset* `ac_cv_foo' will be assigned the
40805 # following values.
40806
40807 _ACEOF
40808
40809 # The following way of writing the cache mishandles newlines in values,
40810 # but we know of no workaround that is simple, portable, and efficient.
40811 # So, we kill variables containing newlines.
40812 # Ultrix sh set writes to stderr and can't be redirected directly,
40813 # and sets the high bit in the cache file unless we assign to the vars.
40814 (
40815   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
40816     eval ac_val=\$$ac_var
40817     case $ac_val in #(
40818     *${as_nl}*)
40819       case $ac_var in #(
40820       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
40821 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
40822       esac
40823       case $ac_var in #(
40824       _ | IFS | as_nl) ;; #(
40825       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
40826       *) { eval $ac_var=; unset $ac_var;} ;;
40827       esac ;;
40828     esac
40829   done
40830
40831   (set) 2>&1 |
40832     case $as_nl`(ac_space=' '; set) 2>&1` in #(
40833     *${as_nl}ac_space=\ *)
40834       # `set' does not quote correctly, so add quotes: double-quote
40835       # substitution turns \\\\ into \\, and sed turns \\ into \.
40836       sed -n \
40837         "s/'/'\\\\''/g;
40838           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
40839       ;; #(
40840     *)
40841       # `set' quotes correctly as required by POSIX, so do not add quotes.
40842       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
40843       ;;
40844     esac |
40845     sort
40846 ) |
40847   sed '
40848      /^ac_cv_env_/b end
40849      t clear
40850      :clear
40851      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
40852      t end
40853      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
40854      :end' >>confcache
40855 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
40856   if test -w "$cache_file"; then
40857     test "x$cache_file" != "x/dev/null" &&
40858       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
40859 $as_echo "$as_me: updating cache $cache_file" >&6;}
40860     cat confcache >$cache_file
40861   else
40862     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
40863 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
40864   fi
40865 fi
40866 rm -f confcache
40867
40868 test "x$prefix" = xNONE && prefix=$ac_default_prefix
40869 # Let make expand exec_prefix.
40870 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
40871
40872 DEFS=-DHAVE_CONFIG_H
40873
40874 ac_libobjs=
40875 ac_ltlibobjs=
40876 U=
40877 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
40878   # 1. Remove the extension, and $U if already installed.
40879   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
40880   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
40881   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
40882   #    will be set to the directory where LIBOBJS objects are built.
40883   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
40884   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
40885 done
40886 LIBOBJS=$ac_libobjs
40887
40888 LTLIBOBJS=$ac_ltlibobjs
40889
40890
40891
40892 : ${CONFIG_STATUS=./config.status}
40893 ac_write_fail=0
40894 ac_clean_files_save=$ac_clean_files
40895 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
40896 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
40897 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
40898 as_write_fail=0
40899 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
40900 #! $SHELL
40901 # Generated by $as_me.
40902 # Run this file to recreate the current configuration.
40903 # Compiler output produced by configure, useful for debugging
40904 # configure, is in config.log if it exists.
40905
40906 debug=false
40907 ac_cs_recheck=false
40908 ac_cs_silent=false
40909
40910 SHELL=\${CONFIG_SHELL-$SHELL}
40911 export SHELL
40912 _ASEOF
40913 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
40914 ## -------------------- ##
40915 ## M4sh Initialization. ##
40916 ## -------------------- ##
40917
40918 # Be more Bourne compatible
40919 DUALCASE=1; export DUALCASE # for MKS sh
40920 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
40921   emulate sh
40922   NULLCMD=:
40923   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
40924   # is contrary to our usage.  Disable this feature.
40925   alias -g '${1+"$@"}'='"$@"'
40926   setopt NO_GLOB_SUBST
40927 else
40928   case `(set -o) 2>/dev/null` in #(
40929   *posix*) :
40930     set -o posix ;; #(
40931   *) :
40932      ;;
40933 esac
40934 fi
40935
40936
40937 as_nl='
40938 '
40939 export as_nl
40940 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40941 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
40942 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40943 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
40944 # Prefer a ksh shell builtin over an external printf program on Solaris,
40945 # but without wasting forks for bash or zsh.
40946 if test -z "$BASH_VERSION$ZSH_VERSION" \
40947     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
40948   as_echo='print -r --'
40949   as_echo_n='print -rn --'
40950 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
40951   as_echo='printf %s\n'
40952   as_echo_n='printf %s'
40953 else
40954   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
40955     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
40956     as_echo_n='/usr/ucb/echo -n'
40957   else
40958     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
40959     as_echo_n_body='eval
40960       arg=$1;
40961       case $arg in #(
40962       *"$as_nl"*)
40963         expr "X$arg" : "X\\(.*\\)$as_nl";
40964         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
40965       esac;
40966       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
40967     '
40968     export as_echo_n_body
40969     as_echo_n='sh -c $as_echo_n_body as_echo'
40970   fi
40971   export as_echo_body
40972   as_echo='sh -c $as_echo_body as_echo'
40973 fi
40974
40975 # The user is always right.
40976 if test "${PATH_SEPARATOR+set}" != set; then
40977   PATH_SEPARATOR=:
40978   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
40979     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
40980       PATH_SEPARATOR=';'
40981   }
40982 fi
40983
40984
40985 # IFS
40986 # We need space, tab and new line, in precisely that order.  Quoting is
40987 # there to prevent editors from complaining about space-tab.
40988 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
40989 # splitting by setting IFS to empty value.)
40990 IFS=" ""        $as_nl"
40991
40992 # Find who we are.  Look in the path if we contain no directory separator.
40993 case $0 in #((
40994   *[\\/]* ) as_myself=$0 ;;
40995   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40996 for as_dir in $PATH
40997 do
40998   IFS=$as_save_IFS
40999   test -z "$as_dir" && as_dir=.
41000     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
41001   done
41002 IFS=$as_save_IFS
41003
41004      ;;
41005 esac
41006 # We did not find ourselves, most probably we were run as `sh COMMAND'
41007 # in which case we are not to be found in the path.
41008 if test "x$as_myself" = x; then
41009   as_myself=$0
41010 fi
41011 if test ! -f "$as_myself"; then
41012   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
41013   exit 1
41014 fi
41015
41016 # Unset variables that we do not need and which cause bugs (e.g. in
41017 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
41018 # suppresses any "Segmentation fault" message there.  '((' could
41019 # trigger a bug in pdksh 5.2.14.
41020 for as_var in BASH_ENV ENV MAIL MAILPATH
41021 do eval test x\${$as_var+set} = xset \
41022   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
41023 done
41024 PS1='$ '
41025 PS2='> '
41026 PS4='+ '
41027
41028 # NLS nuisances.
41029 LC_ALL=C
41030 export LC_ALL
41031 LANGUAGE=C
41032 export LANGUAGE
41033
41034 # CDPATH.
41035 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
41036
41037
41038 # as_fn_error STATUS ERROR [LINENO LOG_FD]
41039 # ----------------------------------------
41040 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
41041 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
41042 # script with STATUS, using 1 if that was 0.
41043 as_fn_error ()
41044 {
41045   as_status=$1; test $as_status -eq 0 && as_status=1
41046   if test "$4"; then
41047     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
41048     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
41049   fi
41050   $as_echo "$as_me: error: $2" >&2
41051   as_fn_exit $as_status
41052 } # as_fn_error
41053
41054
41055 # as_fn_set_status STATUS
41056 # -----------------------
41057 # Set $? to STATUS, without forking.
41058 as_fn_set_status ()
41059 {
41060   return $1
41061 } # as_fn_set_status
41062
41063 # as_fn_exit STATUS
41064 # -----------------
41065 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
41066 as_fn_exit ()
41067 {
41068   set +e
41069   as_fn_set_status $1
41070   exit $1
41071 } # as_fn_exit
41072
41073 # as_fn_unset VAR
41074 # ---------------
41075 # Portably unset VAR.
41076 as_fn_unset ()
41077 {
41078   { eval $1=; unset $1;}
41079 }
41080 as_unset=as_fn_unset
41081 # as_fn_append VAR VALUE
41082 # ----------------------
41083 # Append the text in VALUE to the end of the definition contained in VAR. Take
41084 # advantage of any shell optimizations that allow amortized linear growth over
41085 # repeated appends, instead of the typical quadratic growth present in naive
41086 # implementations.
41087 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
41088   eval 'as_fn_append ()
41089   {
41090     eval $1+=\$2
41091   }'
41092 else
41093   as_fn_append ()
41094   {
41095     eval $1=\$$1\$2
41096   }
41097 fi # as_fn_append
41098
41099 # as_fn_arith ARG...
41100 # ------------------
41101 # Perform arithmetic evaluation on the ARGs, and store the result in the
41102 # global $as_val. Take advantage of shells that can avoid forks. The arguments
41103 # must be portable across $(()) and expr.
41104 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
41105   eval 'as_fn_arith ()
41106   {
41107     as_val=$(( $* ))
41108   }'
41109 else
41110   as_fn_arith ()
41111   {
41112     as_val=`expr "$@" || test $? -eq 1`
41113   }
41114 fi # as_fn_arith
41115
41116
41117 if expr a : '\(a\)' >/dev/null 2>&1 &&
41118    test "X`expr 00001 : '.*\(...\)'`" = X001; then
41119   as_expr=expr
41120 else
41121   as_expr=false
41122 fi
41123
41124 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
41125   as_basename=basename
41126 else
41127   as_basename=false
41128 fi
41129
41130 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
41131   as_dirname=dirname
41132 else
41133   as_dirname=false
41134 fi
41135
41136 as_me=`$as_basename -- "$0" ||
41137 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
41138          X"$0" : 'X\(//\)$' \| \
41139          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
41140 $as_echo X/"$0" |
41141     sed '/^.*\/\([^/][^/]*\)\/*$/{
41142             s//\1/
41143             q
41144           }
41145           /^X\/\(\/\/\)$/{
41146             s//\1/
41147             q
41148           }
41149           /^X\/\(\/\).*/{
41150             s//\1/
41151             q
41152           }
41153           s/.*/./; q'`
41154
41155 # Avoid depending upon Character Ranges.
41156 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
41157 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
41158 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
41159 as_cr_digits='0123456789'
41160 as_cr_alnum=$as_cr_Letters$as_cr_digits
41161
41162 ECHO_C= ECHO_N= ECHO_T=
41163 case `echo -n x` in #(((((
41164 -n*)
41165   case `echo 'xy\c'` in
41166   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
41167   xy)  ECHO_C='\c';;
41168   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
41169        ECHO_T=' ';;
41170   esac;;
41171 *)
41172   ECHO_N='-n';;
41173 esac
41174
41175 rm -f conf$$ conf$$.exe conf$$.file
41176 if test -d conf$$.dir; then
41177   rm -f conf$$.dir/conf$$.file
41178 else
41179   rm -f conf$$.dir
41180   mkdir conf$$.dir 2>/dev/null
41181 fi
41182 if (echo >conf$$.file) 2>/dev/null; then
41183   if ln -s conf$$.file conf$$ 2>/dev/null; then
41184     as_ln_s='ln -s'
41185     # ... but there are two gotchas:
41186     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
41187     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
41188     # In both cases, we have to default to `cp -p'.
41189     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
41190       as_ln_s='cp -p'
41191   elif ln conf$$.file conf$$ 2>/dev/null; then
41192     as_ln_s=ln
41193   else
41194     as_ln_s='cp -p'
41195   fi
41196 else
41197   as_ln_s='cp -p'
41198 fi
41199 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
41200 rmdir conf$$.dir 2>/dev/null
41201
41202
41203 # as_fn_mkdir_p
41204 # -------------
41205 # Create "$as_dir" as a directory, including parents if necessary.
41206 as_fn_mkdir_p ()
41207 {
41208
41209   case $as_dir in #(
41210   -*) as_dir=./$as_dir;;
41211   esac
41212   test -d "$as_dir" || eval $as_mkdir_p || {
41213     as_dirs=
41214     while :; do
41215       case $as_dir in #(
41216       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
41217       *) as_qdir=$as_dir;;
41218       esac
41219       as_dirs="'$as_qdir' $as_dirs"
41220       as_dir=`$as_dirname -- "$as_dir" ||
41221 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
41222          X"$as_dir" : 'X\(//\)[^/]' \| \
41223          X"$as_dir" : 'X\(//\)$' \| \
41224          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
41225 $as_echo X"$as_dir" |
41226     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
41227             s//\1/
41228             q
41229           }
41230           /^X\(\/\/\)[^/].*/{
41231             s//\1/
41232             q
41233           }
41234           /^X\(\/\/\)$/{
41235             s//\1/
41236             q
41237           }
41238           /^X\(\/\).*/{
41239             s//\1/
41240             q
41241           }
41242           s/.*/./; q'`
41243       test -d "$as_dir" && break
41244     done
41245     test -z "$as_dirs" || eval "mkdir $as_dirs"
41246   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
41247
41248
41249 } # as_fn_mkdir_p
41250 if mkdir -p . 2>/dev/null; then
41251   as_mkdir_p='mkdir -p "$as_dir"'
41252 else
41253   test -d ./-p && rmdir ./-p
41254   as_mkdir_p=false
41255 fi
41256
41257 if test -x / >/dev/null 2>&1; then
41258   as_test_x='test -x'
41259 else
41260   if ls -dL / >/dev/null 2>&1; then
41261     as_ls_L_option=L
41262   else
41263     as_ls_L_option=
41264   fi
41265   as_test_x='
41266     eval sh -c '\''
41267       if test -d "$1"; then
41268         test -d "$1/.";
41269       else
41270         case $1 in #(
41271         -*)set "./$1";;
41272         esac;
41273         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
41274         ???[sx]*):;;*)false;;esac;fi
41275     '\'' sh
41276   '
41277 fi
41278 as_executable_p=$as_test_x
41279
41280 # Sed expression to map a string onto a valid CPP name.
41281 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
41282
41283 # Sed expression to map a string onto a valid variable name.
41284 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
41285
41286
41287 exec 6>&1
41288 ## ----------------------------------- ##
41289 ## Main body of $CONFIG_STATUS script. ##
41290 ## ----------------------------------- ##
41291 _ASEOF
41292 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
41293
41294 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
41295 # Save the log message, to keep $0 and so on meaningful, and to
41296 # report actual input values of CONFIG_FILES etc. instead of their
41297 # values after options handling.
41298 ac_log="
41299 This file was extended by wxWidgets $as_me 2.9.4, which was
41300 generated by GNU Autoconf 2.67.  Invocation command line was
41301
41302   CONFIG_FILES    = $CONFIG_FILES
41303   CONFIG_HEADERS  = $CONFIG_HEADERS
41304   CONFIG_LINKS    = $CONFIG_LINKS
41305   CONFIG_COMMANDS = $CONFIG_COMMANDS
41306   $ $0 $@
41307
41308 on `(hostname || uname -n) 2>/dev/null | sed 1q`
41309 "
41310
41311 _ACEOF
41312
41313 case $ac_config_files in *"
41314 "*) set x $ac_config_files; shift; ac_config_files=$*;;
41315 esac
41316
41317 case $ac_config_headers in *"
41318 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
41319 esac
41320
41321
41322 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
41323 # Files that config.status was made for.
41324 config_files="$ac_config_files"
41325 config_headers="$ac_config_headers"
41326 config_commands="$ac_config_commands"
41327
41328 _ACEOF
41329
41330 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
41331 ac_cs_usage="\
41332 \`$as_me' instantiates files and other configuration actions
41333 from templates according to the current configuration.  Unless the files
41334 and actions are specified as TAGs, all are instantiated by default.
41335
41336 Usage: $0 [OPTION]... [TAG]...
41337
41338   -h, --help       print this help, then exit
41339   -V, --version    print version number and configuration settings, then exit
41340       --config     print configuration, then exit
41341   -q, --quiet, --silent
41342                    do not print progress messages
41343   -d, --debug      don't remove temporary files
41344       --recheck    update $as_me by reconfiguring in the same conditions
41345       --file=FILE[:TEMPLATE]
41346                    instantiate the configuration file FILE
41347       --header=FILE[:TEMPLATE]
41348                    instantiate the configuration header FILE
41349
41350 Configuration files:
41351 $config_files
41352
41353 Configuration headers:
41354 $config_headers
41355
41356 Configuration commands:
41357 $config_commands
41358
41359 Report bugs to <wx-dev@lists.wxwidgets.org>."
41360
41361 _ACEOF
41362 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
41363 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
41364 ac_cs_version="\\
41365 wxWidgets config.status 2.9.4
41366 configured by $0, generated by GNU Autoconf 2.67,
41367   with options \\"\$ac_cs_config\\"
41368
41369 Copyright (C) 2010 Free Software Foundation, Inc.
41370 This config.status script is free software; the Free Software Foundation
41371 gives unlimited permission to copy, distribute and modify it."
41372
41373 ac_pwd='$ac_pwd'
41374 srcdir='$srcdir'
41375 INSTALL='$INSTALL'
41376 test -n "\$AWK" || AWK=awk
41377 _ACEOF
41378
41379 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
41380 # The default lists apply if the user does not specify any file.
41381 ac_need_defaults=:
41382 while test $# != 0
41383 do
41384   case $1 in
41385   --*=?*)
41386     ac_option=`expr "X$1" : 'X\([^=]*\)='`
41387     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
41388     ac_shift=:
41389     ;;
41390   --*=)
41391     ac_option=`expr "X$1" : 'X\([^=]*\)='`
41392     ac_optarg=
41393     ac_shift=:
41394     ;;
41395   *)
41396     ac_option=$1
41397     ac_optarg=$2
41398     ac_shift=shift
41399     ;;
41400   esac
41401
41402   case $ac_option in
41403   # Handling of the options.
41404   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
41405     ac_cs_recheck=: ;;
41406   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
41407     $as_echo "$ac_cs_version"; exit ;;
41408   --config | --confi | --conf | --con | --co | --c )
41409     $as_echo "$ac_cs_config"; exit ;;
41410   --debug | --debu | --deb | --de | --d | -d )
41411     debug=: ;;
41412   --file | --fil | --fi | --f )
41413     $ac_shift
41414     case $ac_optarg in
41415     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
41416     '') as_fn_error $? "missing file argument" ;;
41417     esac
41418     as_fn_append CONFIG_FILES " '$ac_optarg'"
41419     ac_need_defaults=false;;
41420   --header | --heade | --head | --hea )
41421     $ac_shift
41422     case $ac_optarg in
41423     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
41424     esac
41425     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
41426     ac_need_defaults=false;;
41427   --he | --h)
41428     # Conflict between --help and --header
41429     as_fn_error $? "ambiguous option: \`$1'
41430 Try \`$0 --help' for more information.";;
41431   --help | --hel | -h )
41432     $as_echo "$ac_cs_usage"; exit ;;
41433   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
41434   | -silent | --silent | --silen | --sile | --sil | --si | --s)
41435     ac_cs_silent=: ;;
41436
41437   # This is an error.
41438   -*) as_fn_error $? "unrecognized option: \`$1'
41439 Try \`$0 --help' for more information." ;;
41440
41441   *) as_fn_append ac_config_targets " $1"
41442      ac_need_defaults=false ;;
41443
41444   esac
41445   shift
41446 done
41447
41448 ac_configure_extra_args=
41449
41450 if $ac_cs_silent; then
41451   exec 6>/dev/null
41452   ac_configure_extra_args="$ac_configure_extra_args --silent"
41453 fi
41454
41455 _ACEOF
41456 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
41457 if \$ac_cs_recheck; then
41458   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
41459   shift
41460   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
41461   CONFIG_SHELL='$SHELL'
41462   export CONFIG_SHELL
41463   exec "\$@"
41464 fi
41465
41466 _ACEOF
41467 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
41468 exec 5>>config.log
41469 {
41470   echo
41471   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
41472 ## Running $as_me. ##
41473 _ASBOX
41474   $as_echo "$ac_log"
41475 } >&5
41476
41477 _ACEOF
41478 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
41479 #
41480 # INIT-COMMANDS
41481 #
41482
41483             CPP="$CPP"
41484             infile="$srcdir/include/wx/msw/genrcdefs.h"
41485             outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
41486
41487
41488  TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
41489  TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
41490  TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
41491                      LN_S="${LN_S}"
41492
41493
41494 _ACEOF
41495
41496 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
41497
41498 # Handling of arguments.
41499 for ac_config_target in $ac_config_targets
41500 do
41501   case $ac_config_target in
41502     "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
41503     "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
41504     "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
41505     "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
41506     "utils/ifacecheck/rungccxml.sh") CONFIG_FILES="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
41507     "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
41508     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
41509     "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
41510     "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
41511
41512   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
41513   esac
41514 done
41515
41516
41517 # If the user did not use the arguments to specify the items to instantiate,
41518 # then the envvar interface is used.  Set only those that are not.
41519 # We use the long form for the default assignment because of an extremely
41520 # bizarre bug on SunOS 4.1.3.
41521 if $ac_need_defaults; then
41522   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
41523   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
41524   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
41525 fi
41526
41527 # Have a temporary directory for convenience.  Make it in the build tree
41528 # simply because there is no reason against having it here, and in addition,
41529 # creating and moving files from /tmp can sometimes cause problems.
41530 # Hook for its removal unless debugging.
41531 # Note that there is a small window in which the directory will not be cleaned:
41532 # after its creation but before its name has been assigned to `$tmp'.
41533 $debug ||
41534 {
41535   tmp=
41536   trap 'exit_status=$?
41537   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
41538 ' 0
41539   trap 'as_fn_exit 1' 1 2 13 15
41540 }
41541 # Create a (secure) tmp directory for tmp files.
41542
41543 {
41544   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
41545   test -n "$tmp" && test -d "$tmp"
41546 }  ||
41547 {
41548   tmp=./conf$$-$RANDOM
41549   (umask 077 && mkdir "$tmp")
41550 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
41551
41552 # Set up the scripts for CONFIG_FILES section.
41553 # No need to generate them if there are no CONFIG_FILES.
41554 # This happens for instance with `./config.status config.h'.
41555 if test -n "$CONFIG_FILES"; then
41556
41557
41558 ac_cr=`echo X | tr X '\015'`
41559 # On cygwin, bash can eat \r inside `` if the user requested igncr.
41560 # But we know of no other shell where ac_cr would be empty at this
41561 # point, so we can use a bashism as a fallback.
41562 if test "x$ac_cr" = x; then
41563   eval ac_cr=\$\'\\r\'
41564 fi
41565 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
41566 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
41567   ac_cs_awk_cr='\\r'
41568 else
41569   ac_cs_awk_cr=$ac_cr
41570 fi
41571
41572 echo 'BEGIN {' >"$tmp/subs1.awk" &&
41573 _ACEOF
41574
41575
41576 {
41577   echo "cat >conf$$subs.awk <<_ACEOF" &&
41578   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
41579   echo "_ACEOF"
41580 } >conf$$subs.sh ||
41581   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
41582 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
41583 ac_delim='%!_!# '
41584 for ac_last_try in false false false false false :; do
41585   . ./conf$$subs.sh ||
41586     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
41587
41588   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
41589   if test $ac_delim_n = $ac_delim_num; then
41590     break
41591   elif $ac_last_try; then
41592     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
41593   else
41594     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
41595   fi
41596 done
41597 rm -f conf$$subs.sh
41598
41599 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
41600 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
41601 _ACEOF
41602 sed -n '
41603 h
41604 s/^/S["/; s/!.*/"]=/
41605 p
41606 g
41607 s/^[^!]*!//
41608 :repl
41609 t repl
41610 s/'"$ac_delim"'$//
41611 t delim
41612 :nl
41613 h
41614 s/\(.\{148\}\)..*/\1/
41615 t more1
41616 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
41617 p
41618 n
41619 b repl
41620 :more1
41621 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
41622 p
41623 g
41624 s/.\{148\}//
41625 t nl
41626 :delim
41627 h
41628 s/\(.\{148\}\)..*/\1/
41629 t more2
41630 s/["\\]/\\&/g; s/^/"/; s/$/"/
41631 p
41632 b
41633 :more2
41634 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
41635 p
41636 g
41637 s/.\{148\}//
41638 t delim
41639 ' <conf$$subs.awk | sed '
41640 /^[^""]/{
41641   N
41642   s/\n//
41643 }
41644 ' >>$CONFIG_STATUS || ac_write_fail=1
41645 rm -f conf$$subs.awk
41646 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
41647 _ACAWK
41648 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
41649   for (key in S) S_is_set[key] = 1
41650   FS = "\a"
41651
41652 }
41653 {
41654   line = $ 0
41655   nfields = split(line, field, "@")
41656   substed = 0
41657   len = length(field[1])
41658   for (i = 2; i < nfields; i++) {
41659     key = field[i]
41660     keylen = length(key)
41661     if (S_is_set[key]) {
41662       value = S[key]
41663       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
41664       len += length(value) + length(field[++i])
41665       substed = 1
41666     } else
41667       len += 1 + keylen
41668   }
41669
41670   print line
41671 }
41672
41673 _ACAWK
41674 _ACEOF
41675 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
41676 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
41677   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
41678 else
41679   cat
41680 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
41681   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
41682 _ACEOF
41683
41684 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
41685 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
41686 # trailing colons and then remove the whole line if VPATH becomes empty
41687 # (actually we leave an empty line to preserve line numbers).
41688 if test "x$srcdir" = x.; then
41689   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
41690 h
41691 s///
41692 s/^/:/
41693 s/[      ]*$/:/
41694 s/:\$(srcdir):/:/g
41695 s/:\${srcdir}:/:/g
41696 s/:@srcdir@:/:/g
41697 s/^:*//
41698 s/:*$//
41699 x
41700 s/\(=[   ]*\).*/\1/
41701 G
41702 s/\n//
41703 s/^[^=]*=[       ]*$//
41704 }'
41705 fi
41706
41707 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
41708 fi # test -n "$CONFIG_FILES"
41709
41710 # Set up the scripts for CONFIG_HEADERS section.
41711 # No need to generate them if there are no CONFIG_HEADERS.
41712 # This happens for instance with `./config.status Makefile'.
41713 if test -n "$CONFIG_HEADERS"; then
41714 cat >"$tmp/defines.awk" <<\_ACAWK ||
41715 BEGIN {
41716 _ACEOF
41717
41718 # Transform confdefs.h into an awk script `defines.awk', embedded as
41719 # here-document in config.status, that substitutes the proper values into
41720 # config.h.in to produce config.h.
41721
41722 # Create a delimiter string that does not exist in confdefs.h, to ease
41723 # handling of long lines.
41724 ac_delim='%!_!# '
41725 for ac_last_try in false false :; do
41726   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
41727   if test -z "$ac_t"; then
41728     break
41729   elif $ac_last_try; then
41730     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
41731   else
41732     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
41733   fi
41734 done
41735
41736 # For the awk script, D is an array of macro values keyed by name,
41737 # likewise P contains macro parameters if any.  Preserve backslash
41738 # newline sequences.
41739
41740 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
41741 sed -n '
41742 s/.\{148\}/&'"$ac_delim"'/g
41743 t rset
41744 :rset
41745 s/^[     ]*#[    ]*define[       ][      ]*/ /
41746 t def
41747 d
41748 :def
41749 s/\\$//
41750 t bsnl
41751 s/["\\]/\\&/g
41752 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
41753 D["\1"]=" \3"/p
41754 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
41755 d
41756 :bsnl
41757 s/["\\]/\\&/g
41758 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
41759 D["\1"]=" \3\\\\\\n"\\/p
41760 t cont
41761 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
41762 t cont
41763 d
41764 :cont
41765 n
41766 s/.\{148\}/&'"$ac_delim"'/g
41767 t clear
41768 :clear
41769 s/\\$//
41770 t bsnlc
41771 s/["\\]/\\&/g; s/^/"/; s/$/"/p
41772 d
41773 :bsnlc
41774 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
41775 b cont
41776 ' <confdefs.h | sed '
41777 s/'"$ac_delim"'/"\\\
41778 "/g' >>$CONFIG_STATUS || ac_write_fail=1
41779
41780 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
41781   for (key in D) D_is_set[key] = 1
41782   FS = "\a"
41783 }
41784 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
41785   line = \$ 0
41786   split(line, arg, " ")
41787   if (arg[1] == "#") {
41788     defundef = arg[2]
41789     mac1 = arg[3]
41790   } else {
41791     defundef = substr(arg[1], 2)
41792     mac1 = arg[2]
41793   }
41794   split(mac1, mac2, "(") #)
41795   macro = mac2[1]
41796   prefix = substr(line, 1, index(line, defundef) - 1)
41797   if (D_is_set[macro]) {
41798     # Preserve the white space surrounding the "#".
41799     print prefix "define", macro P[macro] D[macro]
41800     next
41801   } else {
41802     # Replace #undef with comments.  This is necessary, for example,
41803     # in the case of _POSIX_SOURCE, which is predefined and required
41804     # on some systems where configure will not decide to define it.
41805     if (defundef == "undef") {
41806       print "/*", prefix defundef, macro, "*/"
41807       next
41808     }
41809   }
41810 }
41811 { print }
41812 _ACAWK
41813 _ACEOF
41814 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
41815   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
41816 fi # test -n "$CONFIG_HEADERS"
41817
41818
41819 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
41820 shift
41821 for ac_tag
41822 do
41823   case $ac_tag in
41824   :[FHLC]) ac_mode=$ac_tag; continue;;
41825   esac
41826   case $ac_mode$ac_tag in
41827   :[FHL]*:*);;
41828   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
41829   :[FH]-) ac_tag=-:-;;
41830   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
41831   esac
41832   ac_save_IFS=$IFS
41833   IFS=:
41834   set x $ac_tag
41835   IFS=$ac_save_IFS
41836   shift
41837   ac_file=$1
41838   shift
41839
41840   case $ac_mode in
41841   :L) ac_source=$1;;
41842   :[FH])
41843     ac_file_inputs=
41844     for ac_f
41845     do
41846       case $ac_f in
41847       -) ac_f="$tmp/stdin";;
41848       *) # Look for the file first in the build tree, then in the source tree
41849          # (if the path is not absolute).  The absolute path cannot be DOS-style,
41850          # because $ac_f cannot contain `:'.
41851          test -f "$ac_f" ||
41852            case $ac_f in
41853            [\\/$]*) false;;
41854            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
41855            esac ||
41856            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
41857       esac
41858       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
41859       as_fn_append ac_file_inputs " '$ac_f'"
41860     done
41861
41862     # Let's still pretend it is `configure' which instantiates (i.e., don't
41863     # use $as_me), people would be surprised to read:
41864     #    /* config.h.  Generated by config.status.  */
41865     configure_input='Generated from '`
41866           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
41867         `' by configure.'
41868     if test x"$ac_file" != x-; then
41869       configure_input="$ac_file.  $configure_input"
41870       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
41871 $as_echo "$as_me: creating $ac_file" >&6;}
41872     fi
41873     # Neutralize special characters interpreted by sed in replacement strings.
41874     case $configure_input in #(
41875     *\&* | *\|* | *\\* )
41876        ac_sed_conf_input=`$as_echo "$configure_input" |
41877        sed 's/[\\\\&|]/\\\\&/g'`;; #(
41878     *) ac_sed_conf_input=$configure_input;;
41879     esac
41880
41881     case $ac_tag in
41882     *:-:* | *:-) cat >"$tmp/stdin" \
41883       || as_fn_error $? "could not create $ac_file" "$LINENO" 5  ;;
41884     esac
41885     ;;
41886   esac
41887
41888   ac_dir=`$as_dirname -- "$ac_file" ||
41889 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
41890          X"$ac_file" : 'X\(//\)[^/]' \| \
41891          X"$ac_file" : 'X\(//\)$' \| \
41892          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
41893 $as_echo X"$ac_file" |
41894     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
41895             s//\1/
41896             q
41897           }
41898           /^X\(\/\/\)[^/].*/{
41899             s//\1/
41900             q
41901           }
41902           /^X\(\/\/\)$/{
41903             s//\1/
41904             q
41905           }
41906           /^X\(\/\).*/{
41907             s//\1/
41908             q
41909           }
41910           s/.*/./; q'`
41911   as_dir="$ac_dir"; as_fn_mkdir_p
41912   ac_builddir=.
41913
41914 case "$ac_dir" in
41915 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
41916 *)
41917   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
41918   # A ".." for each directory in $ac_dir_suffix.
41919   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
41920   case $ac_top_builddir_sub in
41921   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
41922   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
41923   esac ;;
41924 esac
41925 ac_abs_top_builddir=$ac_pwd
41926 ac_abs_builddir=$ac_pwd$ac_dir_suffix
41927 # for backward compatibility:
41928 ac_top_builddir=$ac_top_build_prefix
41929
41930 case $srcdir in
41931   .)  # We are building in place.
41932     ac_srcdir=.
41933     ac_top_srcdir=$ac_top_builddir_sub
41934     ac_abs_top_srcdir=$ac_pwd ;;
41935   [\\/]* | ?:[\\/]* )  # Absolute name.
41936     ac_srcdir=$srcdir$ac_dir_suffix;
41937     ac_top_srcdir=$srcdir
41938     ac_abs_top_srcdir=$srcdir ;;
41939   *) # Relative name.
41940     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
41941     ac_top_srcdir=$ac_top_build_prefix$srcdir
41942     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
41943 esac
41944 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
41945
41946
41947   case $ac_mode in
41948   :F)
41949   #
41950   # CONFIG_FILE
41951   #
41952
41953   case $INSTALL in
41954   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
41955   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
41956   esac
41957 _ACEOF
41958
41959 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
41960 # If the template does not know about datarootdir, expand it.
41961 # FIXME: This hack should be removed a few years after 2.60.
41962 ac_datarootdir_hack=; ac_datarootdir_seen=
41963 ac_sed_dataroot='
41964 /datarootdir/ {
41965   p
41966   q
41967 }
41968 /@datadir@/p
41969 /@docdir@/p
41970 /@infodir@/p
41971 /@localedir@/p
41972 /@mandir@/p'
41973 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
41974 *datarootdir*) ac_datarootdir_seen=yes;;
41975 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
41976   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
41977 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
41978 _ACEOF
41979 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
41980   ac_datarootdir_hack='
41981   s&@datadir@&$datadir&g
41982   s&@docdir@&$docdir&g
41983   s&@infodir@&$infodir&g
41984   s&@localedir@&$localedir&g
41985   s&@mandir@&$mandir&g
41986   s&\\\${datarootdir}&$datarootdir&g' ;;
41987 esac
41988 _ACEOF
41989
41990 # Neutralize VPATH when `$srcdir' = `.'.
41991 # Shell code in configure.ac might set extrasub.
41992 # FIXME: do we really want to maintain this feature?
41993 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
41994 ac_sed_extra="$ac_vpsub
41995 $extrasub
41996 _ACEOF
41997 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
41998 :t
41999 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
42000 s|@configure_input@|$ac_sed_conf_input|;t t
42001 s&@top_builddir@&$ac_top_builddir_sub&;t t
42002 s&@top_build_prefix@&$ac_top_build_prefix&;t t
42003 s&@srcdir@&$ac_srcdir&;t t
42004 s&@abs_srcdir@&$ac_abs_srcdir&;t t
42005 s&@top_srcdir@&$ac_top_srcdir&;t t
42006 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
42007 s&@builddir@&$ac_builddir&;t t
42008 s&@abs_builddir@&$ac_abs_builddir&;t t
42009 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
42010 s&@INSTALL@&$ac_INSTALL&;t t
42011 $ac_datarootdir_hack
42012 "
42013 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
42014   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
42015
42016 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
42017   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
42018   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
42019   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
42020 which seems to be undefined.  Please make sure it is defined" >&5
42021 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
42022 which seems to be undefined.  Please make sure it is defined" >&2;}
42023
42024   rm -f "$tmp/stdin"
42025   case $ac_file in
42026   -) cat "$tmp/out" && rm -f "$tmp/out";;
42027   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
42028   esac \
42029   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
42030  ;;
42031   :H)
42032   #
42033   # CONFIG_HEADER
42034   #
42035   if test x"$ac_file" != x-; then
42036     {
42037       $as_echo "/* $configure_input  */" \
42038       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
42039     } >"$tmp/config.h" \
42040       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
42041     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
42042       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
42043 $as_echo "$as_me: $ac_file is unchanged" >&6;}
42044     else
42045       rm -f "$ac_file"
42046       mv "$tmp/config.h" "$ac_file" \
42047         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
42048     fi
42049   else
42050     $as_echo "/* $configure_input  */" \
42051       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
42052       || as_fn_error $? "could not create -" "$LINENO" 5
42053   fi
42054  ;;
42055
42056   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
42057 $as_echo "$as_me: executing $ac_file commands" >&6;}
42058  ;;
42059   esac
42060
42061
42062   case $ac_file$ac_mode in
42063     "rcdefs.h":C)
42064             mkdir -p $outdir &&
42065             $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
42066          ;;
42067     "lib/wx/config/${TOOLCHAIN_FULLNAME}":F)  chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME}  ;;
42068     "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F)  chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}  ;;
42069     "utils/ifacecheck/rungccxml.sh":F)  chmod +x utils/ifacecheck/rungccxml.sh  ;;
42070     "wx-config":C)  rm -f wx-config
42071                      ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
42072                     ;;
42073
42074   esac
42075 done # for ac_tag
42076
42077
42078 as_fn_exit 0
42079 _ACEOF
42080 ac_clean_files=$ac_clean_files_save
42081
42082 test $ac_write_fail = 0 ||
42083   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
42084
42085
42086 # configure is writing to config.log, and then calls config.status.
42087 # config.status does its own redirection, appending to config.log.
42088 # Unfortunately, on DOS this fails, as config.log is still kept open
42089 # by configure, so config.status won't be able to write to it; its
42090 # output is simply discarded.  So we exec the FD to /dev/null,
42091 # effectively closing config.log, so it can be properly (re)opened and
42092 # appended to by config.status.  When coming back to configure, we
42093 # need to make the FD available again.
42094 if test "$no_create" != yes; then
42095   ac_cs_success=:
42096   ac_config_status_args=
42097   test "$silent" = yes &&
42098     ac_config_status_args="$ac_config_status_args --quiet"
42099   exec 5>/dev/null
42100   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
42101   exec 5>>config.log
42102   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
42103   # would make configure fail if this is the last instruction.
42104   $ac_cs_success || as_fn_exit 1
42105 fi
42106
42107 #
42108 # CONFIG_SUBDIRS section.
42109 #
42110 if test "$no_recursion" != yes; then
42111
42112   # Remove --cache-file, --srcdir, and --disable-option-checking arguments
42113   # so they do not pile up.
42114   ac_sub_configure_args=
42115   ac_prev=
42116   eval "set x $ac_configure_args"
42117   shift
42118   for ac_arg
42119   do
42120     if test -n "$ac_prev"; then
42121       ac_prev=
42122       continue
42123     fi
42124     case $ac_arg in
42125     -cache-file | --cache-file | --cache-fil | --cache-fi \
42126     | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
42127       ac_prev=cache_file ;;
42128     -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
42129     | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
42130     | --c=*)
42131       ;;
42132     --config-cache | -C)
42133       ;;
42134     -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
42135       ac_prev=srcdir ;;
42136     -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
42137       ;;
42138     -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
42139       ac_prev=prefix ;;
42140     -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
42141       ;;
42142     --disable-option-checking)
42143       ;;
42144     *)
42145       case $ac_arg in
42146       *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
42147       esac
42148       as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
42149     esac
42150   done
42151
42152   # Always prepend --prefix to ensure using the same prefix
42153   # in subdir configurations.
42154   ac_arg="--prefix=$prefix"
42155   case $ac_arg in
42156   *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
42157   esac
42158   ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
42159
42160   # Pass --silent
42161   if test "$silent" = yes; then
42162     ac_sub_configure_args="--silent $ac_sub_configure_args"
42163   fi
42164
42165   # Always prepend --disable-option-checking to silence warnings, since
42166   # different subdirs can have different --enable and --with options.
42167   ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
42168
42169   ac_popdir=`pwd`
42170   for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
42171
42172     # Do not complain, so a configure script can configure whichever
42173     # parts of a large source tree are present.
42174     test -d "$srcdir/$ac_dir" || continue
42175
42176     ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
42177     $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
42178     $as_echo "$ac_msg" >&6
42179     as_dir="$ac_dir"; as_fn_mkdir_p
42180     ac_builddir=.
42181
42182 case "$ac_dir" in
42183 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
42184 *)
42185   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
42186   # A ".." for each directory in $ac_dir_suffix.
42187   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
42188   case $ac_top_builddir_sub in
42189   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
42190   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
42191   esac ;;
42192 esac
42193 ac_abs_top_builddir=$ac_pwd
42194 ac_abs_builddir=$ac_pwd$ac_dir_suffix
42195 # for backward compatibility:
42196 ac_top_builddir=$ac_top_build_prefix
42197
42198 case $srcdir in
42199   .)  # We are building in place.
42200     ac_srcdir=.
42201     ac_top_srcdir=$ac_top_builddir_sub
42202     ac_abs_top_srcdir=$ac_pwd ;;
42203   [\\/]* | ?:[\\/]* )  # Absolute name.
42204     ac_srcdir=$srcdir$ac_dir_suffix;
42205     ac_top_srcdir=$srcdir
42206     ac_abs_top_srcdir=$srcdir ;;
42207   *) # Relative name.
42208     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
42209     ac_top_srcdir=$ac_top_build_prefix$srcdir
42210     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
42211 esac
42212 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
42213
42214
42215     cd "$ac_dir"
42216
42217     # Check for guested configure; otherwise get Cygnus style configure.
42218     if test -f "$ac_srcdir/configure.gnu"; then
42219       ac_sub_configure=$ac_srcdir/configure.gnu
42220     elif test -f "$ac_srcdir/configure"; then
42221       ac_sub_configure=$ac_srcdir/configure
42222     elif test -f "$ac_srcdir/configure.in"; then
42223       # This should be Cygnus configure.
42224       ac_sub_configure=$ac_aux_dir/configure
42225     else
42226       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
42227 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
42228       ac_sub_configure=
42229     fi
42230
42231     # The recursion is here.
42232     if test -n "$ac_sub_configure"; then
42233       # Make the cache file name correct relative to the subdirectory.
42234       case $cache_file in
42235       [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
42236       *) # Relative name.
42237         ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
42238       esac
42239
42240       { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
42241 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
42242       # The eval makes quoting arguments work.
42243       eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
42244            --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
42245         as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
42246     fi
42247
42248     cd "$ac_popdir"
42249   done
42250 fi
42251 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
42252   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
42253 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
42254 fi
42255
42256
42257 echo
42258 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
42259 echo ""
42260 echo "  Which GUI toolkit should wxWidgets use?                 ${TOOLKIT_DESC}"
42261 echo "  Should wxWidgets be compiled into single library?       ${wxUSE_MONOLITHIC:-yes}"
42262 echo "  Should wxWidgets be linked as a shared library?         ${wxUSE_SHARED:-no}"
42263 echo $ECHO_N "  Should wxWidgets support Unicode?                       ${wxUSE_UNICODE:-no}$ECHO_C"
42264 if test "$wxUSE_UNICODE" = "yes"; then
42265     if test "$wxUSE_UNICODE_UTF8" = "yes"; then
42266         echo " (using UTF-8)"
42267     else
42268         echo " (using wchar_t)"
42269     fi
42270 else
42271     echo
42272 fi
42273
42274 echo "  What level of wxWidgets compatibility should be enabled?"
42275 echo "                                       wxWidgets 2.6      ${WXWIN_COMPATIBILITY_2_6:-no}"
42276 echo "                                       wxWidgets 2.8      ${WXWIN_COMPATIBILITY_2_8:-yes}"
42277
42278 echo "  Which libraries should wxWidgets use?"
42279 echo "                                       STL                ${wxUSE_STL}"
42280 echo "                                       jpeg               ${wxUSE_LIBJPEG-none}"
42281 echo "                                       png                ${wxUSE_LIBPNG-none}"
42282 echo "                                       regex              ${wxUSE_REGEX}"
42283 echo "                                       tiff               ${wxUSE_LIBTIFF-none}"
42284 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
42285 echo "                                       xpm                ${wxUSE_LIBXPM-none}"
42286 fi
42287 echo "                                       zlib               ${wxUSE_ZLIB}"
42288 echo "                                       expat              ${wxUSE_EXPAT}"
42289 echo "                                       libmspack          ${wxUSE_LIBMSPACK}"
42290 echo "                                       sdl                ${wxUSE_LIBSDL}"
42291
42292 echo ""
42293